/* 各ページ共通 */
body {
  font-family: "Noto Serif JP", serif;
}
main {
  position: relative;
  min-height: 100vh;
  background-image: url("/wp-content/themes/ikemen/title/sengokueien/images/common/background.webp");
  background-size: 100% auto;
  background-position: center;
  background-repeat: repeat;
  overflow: hidden;
}
img {
  width: 100%;
  height: auto;
}
p {
  font-size: 14px;
  color: #452d15;
  line-height: 1.5;
}
.l-container {
  margin: 60px 0 100px;
  position: relative;
  z-index: 999;
}
.title-container {
  max-width: 90%;
  margin: 0px auto 15px;
}
.title {
  margin-bottom: 20px;
}
.title .title-img {
  display: inline-block;
  padding: 0;
}
.title .title-img img {
  width: auto;
  height: 32px;
}
.icon {
  position: relative;
}
.icon::before {
  content: "";
  position: absolute;
  top: calc((100% - 90px) / 2);
  left: -50px;
  width: 91px;
  height: 88px;
  background-image: url("/wp-content/themes/ikemen/title/sengokueien/images/common/title_icon.webp");
  background-size: contain;
  background-repeat: no-repeat;
}
.breadcrumb {
  font-size: 14px;
  margin: 0 auto;
}
.breadcrumb a {
  text-decoration: none;
}
.bg-deco-right {
  width: 50%;
  position: absolute;
  right: 0;
  top: 400px;
  z-index: -10;
}
.bg-deco-left {
  width: 41%;
  position: absolute;
  left: 0;
  top: 1000px;
  z-index: -10;
}
.img-shadow {
  box-shadow: 3px 3px #ecc7a2;
}
.link-btn ul {
  width: 95%;
  margin: 0 auto;
}
.link-btn li:not(:last-child) {
  margin-bottom: 20px;
}
.movie {
  line-height: 1;
}
.movie iframe {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
}
.sub-head {
  font-size: 18px;
  color: #db6143;
  font-weight: bold;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}
.sub-icon {
  width: 27px;
  margin-right: 5px;
}

/* ナビcss */
.gradation {
  background: linear-gradient(
    90deg,
    rgba(219, 97, 67, 1) 0%,
    rgba(227, 183, 116, 1) 53%,
    rgba(227, 183, 116, 1) 100%
  );
  -webkit-background-clip: text;
  color: transparent;
}
.nav-menu hr {
  color: rgba(0, 0, 0, 0);
  background: linear-gradient(
    90deg,
    rgba(219, 97, 67, 1) 0%,
    rgba(227, 183, 116, 1) 53%,
    rgba(227, 183, 116, 1) 100%
  );
  height: 1px;
  border: none;
}
.hamburger-container {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
}

/* ハンバーガーアイコン */
.hamburger {
  background-color: #db5f3c;
  color: #fbe1b5;
  border: none;
  padding: 0px;
  width: 55px;
  height: 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.hamburger .line {
  width: 30px;
  height: 1px;
  background-color: #fbe1b5;
  margin: 4px 0;
  transition: all 0.3s ease;
}

.hamburger .label {
  font-size: 10px;
  margin-top: 0px;
  color: #fbe1b5;
}

/* ナビメニュー全体 */
.nav-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  z-index: 1500;
  padding: 60px 30px 100px;
  box-sizing: border-box;
  overflow-y: auto;
}

/* 表示状態 */
.nav-menu.active {
  transform: translateX(0%);
  opacity: 1;
}

/* 閉じるボタン */
.close-button {
  background-color: #db5f3c;
  color: #fbe1b5;
  border: none;
  padding: 16px;
  width: 55px;
  height: 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: absolute;
  top: 0;
  right: 0;
}

.close-line {
  position: absolute;
  width: 30px;
  height: 1px;
  background-color: #fbe1b5;
  top: 40%;
  left: 50%;
  transform-origin: center;
}

.line1 {
  transform: translate(-50%, -50%) rotate(45deg);
}

.line2 {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.close-button .label {
  margin-top: 30px;
  width: 55px;
  font-size: 10px;
  color: #fbe1b5;
}

/* メニューリスト */
.nav-menu ul {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.nav-menu li {
  margin: 0;
  font-size: 18px;
  color: #d6c4af;
}

.nav-menu li.section {
  padding: 5px 0px 5px;
}

.nav-menu li.main {
  color: #e95c3e;
  font-weight: bold;
}

.nav-menu li.main a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.nav-menu .menu-market-link {
  margin-top: 30px;
}

.nav-menu li.sub {
  color: #473738;
  font-size: 15px;
  font-weight: bold;
  padding: 5px 0;
}

.sub[data-target="tgl-news"] {
  display: none;
  transition: transform 0.6 ease;
}

.sub[data-target="tgl-camp"] {
  display: none;
  transition: transform 0.6 ease;
}

/* 回転アニメーション */
.arrow {
  display: inline-block;
  transition: transform 0.6s ease;
}

/* 開いた状態で矢印を回転 */
.toggle-btn-news.open .arrow {
  transform: rotate(180deg);
}

/* 開いた状態で矢印を回転 */
.toggle-btn-camp.open .arrow {
  transform: rotate(180deg);
}

.pc-menu {
  display: none;
}

@media screen and (min-width: 768px) {
  header {
    width: 100vw;
    display: block;
    position: fixed;
    z-index: 1000;
    background-color: #fff;
  }

  .pc-menu {
    width: 100%;
    height: 72px;
    display: flex;
    flex-direction: row;
    flex: wrap;
    flex-grow: 2;
    margin: auto;
    padding: 0 1.5em;
    align-items: center;
    justify-content: space-between;
  }
  .pc-menu h1 {
    height: 72px;
  }
  .pc-menu .logo {
    width: 50%;
    padding-top: 3px;
  }

  .pc-menu nav {
    width: 85%;
    display: block;
  }

  .pc-menu ul {
    display: flex;
    flex-direction: row;
    gap: 33px;
    justify-content: right;
    margin-right: 1em;
  }

  .pc-menu li {
    font-size: 1.1em;
  }

  .pc-menu .arrow-pc {
    font-size: 10px;
  }

  .sub-wrapper {
    background-color: #fff;
    position: absolute;
    top: 50px;
    padding: 20px 0.5em 5px;
    display: none;
  }
  .sub-wrapper li {
    margin: 5px 0;
    padding: 5px;
  }
  .sub-wrapper hr {
    width: 95%;
    color: rgba(0, 0, 0, 0);
    background: linear-gradient(
      90deg,
      rgba(219, 97, 67, 1) 0%,
      rgba(227, 183, 116, 1) 53%,
      rgba(227, 183, 116, 1) 100%
    );
    height: 1px;
    border: none;
  }

  /* 初期状態の sub メニュー（非表示 + アニメ用） */
  li.sub-pc {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
  }

  /* ▼矢印の基本スタイル */
  .arrow-pc {
    display: inline-block;
    transition: transform 0.3s ease;
  }

  /* ▼矢印を回転させる */
  .menu-wrapper:hover .arrow-pc {
    transform: rotate(180deg);
  }

  .hamburger {
    display: none;
  }
  p {
    font-size: 16px;
    line-height: 1.67;
  }
  .l-container {
    margin: 160px 0 150px;
  }
  .title-container {
    max-width: 1060px;
    width: 100%;
    margin: 80px auto 25px;
  }
  .title {
    margin-bottom: 30px;
  }
  .title .title-img img {
    width: auto;
    height: 46px;
  }
  .icon::before {
    top: -30px;
    left: -64px;
    width: 103px;
    height: 99px;
    background-image: url("/wp-content/themes/ikemen/title/sengokueien/images/common/title_icon.webp");
  }
  .bg-deco-right {
    width: 26%;
  }
  .bg-deco-left {
    width: 23%;
    top: 1300px;
  }
  .img-shadow {
    box-shadow: 4px 4px #ecc7a2;
  }
  .link-btn ul {
    display: flex;
    justify-content: center;
    gap: 35px;
  }
  .link-btn li {
    width: 378px;
  }
  .link-btn li:not(:last-child) {
    margin-bottom: 0;
  }
  .sub-head {
    font-size: 25px;
  }
  .sub-icon {
    width: 32px;
  }
}
