@charset "utf-8";

/* ===================================
   レイアウト（Layout）
   ヘッダー、フッター、共通レイアウト
   =================================== */

/* -----------------------------------
   セクション共通
   ----------------------------------- */
.section-inner {
  width: 90%;
  max-width: var(--content-width);
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 50px;
  color: #333;
}

.l-contents-inner {
  width: 93%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 60px 0 120px;
}
.l-contents-flex {
  display: flex;
  gap: 60px;
}

/* -----------------------------------
   ページサブヘッダー
   ----------------------------------- */
.page-sub-header {
  background: #8b5a8c;
  padding: 1.0625rem 0 1.25rem;
}

.page-sub-header-inner {
  width: 90%;
  max-width: var(--content-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-sub-title {
  color: white;
  font-size: 1.75rem;
  font-weight: 400;
  margin: 0;
  letter-spacing: 0.05em;
  line-height: 1.3;
  position: relative;
}
.page-sub-title::before {
  /* content: ""; */
  width: 150%;
  height: 1px;
  background-color: #fff;
  position: absolute;
  bottom: 0.3125rem;
  left: 0;
}
.page-sub-title-en {
  display: block;
  font-family: "Bodoni Moda", serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
  .page-sub-header {
    padding: calc(40 * (100vw / 780)) 0;
    order: 2;
  }

  .page-sub-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .page-sub-title {
    font-size: calc(40 * (100vw / 780));
    letter-spacing: 0.08em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .page-sub-title::before {
    content: none;
  }
  .page-sub-title-en {
    font-size: calc(22 * (100vw / 780));
    margin-bottom: 0;
    order: 2;
  }
  .sp-order-change {
    display: flex;
    flex-direction: column;
  }
  .breadcrumb-section {
    order: 1;
  }
  .l-contents-flex {
    flex-direction: column;
    gap: 50px;
    flex-flow: column-reverse;
  }
  .l-contents-detail dl dt {
    padding-left: calc(30 * (100vw / 780));
  }
  .l-contents-detail dl dt::before {
    font-size: calc(24 * (100vw / 780)) !important;
    top: calc(2 * (100vw / 780)) !important;
  }
}

/* -----------------------------------
   ヘッダー
   ----------------------------------- */
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.header.is-fixed {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(15px) !important;
  z-index: 1000 !important;
}

.header-inner {
  width: 93%;
  max-width: var(--content-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  transition: height 0.3s ease;
}

.header-logo {
  line-height: 1;
}

.header-logo img {
  width: clamp(224px, calc(136px + 22vw), 379px);
}

.header-logo a {
  display: block;
  line-height: 0;
}

.header-logo a:hover {
  opacity: 0.8;
}

/* ヘッダーメニュー */
.header-item {
  margin: 0;
  display: flex;
  list-style: none;
  gap: 30px;
  position: relative;
}

.header-item > li {
  position: relative;
}

.header-item_main {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: clamp(14px, calc(8px + 0.5vw), 16px);
  font-weight: bold;
  color: #333;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  padding: 10px 0;
}

.header-item_main:hover {
  color: var(--preset--color--main);
}

/* ドロップダウンコンテナ */
.header-item_detail_container {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 100;
  pointer-events: none;
}

.header-item > li:hover .header-item_detail_container {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ドロップダウンメニュー */
.header-item_detail {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #855d84;
  padding: 15px;
  list-style: none;
  width: auto;
  backdrop-filter: blur(10px);
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.header.is-fixed .header-item_detail {
  background-color: #fff;
}

.header-item_detail li {
  position: relative;
}

.header-item_detail li a {
  display: block;
  padding-right: 15px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--preset--color--main);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.header-item_detail li a:hover {
  color: #000;
}

.header-item_detail li::before {
  content: "›";
  position: absolute;
  right: 0;
  opacity: 1;
  transition: all 0.3s ease;
  color: var(--preset--color--main);
  font-size: 1.5rem;
  line-height: 1;
  top: 50%;
  transform: translateY(-50%);
}

.header-item_detail li a:hover::before {
  color: #000;
}

/* Q&Aなどサブメニューがない項目 */
.header-item > li:last-child .header-item_main {
  padding-right: 0;
}

/* ターゲット向けナビ */
.target-nav-list {
  display: flex;
  list-style: none;
  gap: 15px;
  justify-content: flex-end;
  margin: 0;
}

.target-nav-list li a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #55416e;
}

.target-nav-list li a:hover {
  opacity: 0.7;
}

.target-nav-item.instagram img,
.target-nav-item.x img {
  width: 20px;
  height: 23px;
  display: block;
}

/* ユーティリティナビ */
.utility-nav-list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 20px;
}

.utility-nav-list li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.75rem;
  color: #666;
}

.utility-nav-list .icon-search,
.utility-nav-list .icon-access,
.utility-nav-list .icon-recruit,
.utility-nav-list .icon-document,
.utility-nav-list .icon-menu {
  width: 24px;
  height: 24px;
  margin-bottom: 3px;
  background-size: contain;
}

/* -----------------------------------
   フッター
   ----------------------------------- */
.footer {
  background: #fff;
}

/* フッター上部（リンクとソーシャル） */
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-top-group {
  display: flex;
  align-items: center;
}

.footer-top-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 30px;
}

.footer-top-links {
  display: flex;
  list-style: none;
  gap: 1.5vw;
}

.footer-top-links a {
  padding-right: 1.5vw;
  font-size: 0.875rem;
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
  text-wrap-mode: nowrap;
}

.footer-btn-contact {
  background-color: #d8c2d8;
  box-shadow: 0 0 0 1px #ab7eab;
}

.footer-btn-contact:hover {
  background-color: #d8b6d8;
}

.footer-btn-access {
  background-color: #f3d9d9;
  box-shadow: 0 0 0 1px #f0abab;
}

.footer-btn-access:hover {
  background-color: #f1cccc;
}

.footer-top-links a:hover {
  color: #8b4b8c;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  display: inline-block;
  width: 17px;
  height: 17px;
  line-height: 1;
}

.footer-social img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* フッターメイン */
.footer-main {
  padding: 40px 0;
}

.footer-main-inner {
  width: 93%;
  max-width: var(--content-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.footer-info {
  flex: 1;
}

.footer-logo {
  margin-bottom: 25px;
}

.footer-logo img {
  width: 397px;
  height: auto;
}

.footer-address {
  font-style: normal;
  line-height: 1.8;
  color: #333;
  font-size: 0.875rem;
}

.footer-buttons {
  margin-left: auto;
  display: flex;
  gap: 15px;
}

.footer-buttons .c-btn {
  width: 200px;
  height: 65px;
  color: #000;
}

.footer-buttons .c-btn::after {
  width: 23px;
  height: 11px;
  background-image: url(/wp/wp-content/themes/otsuma/assets/images/common/btn-footer-arrow.png);
}

/* フッターボトム */
.footer-bottom-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  border-top: 1px solid #000;
}

.copyright {
  font-family: "Bodoni Moda", serif;
  font-size: 0.625rem;
  color: #000;
  margin: 0;
}

/* -----------------------------------
   レスポンシブ（レイアウト）
   ----------------------------------- */

/* PC Only */
@media (min-width: 768px) {
  .mobile-menu-overlay,
  .hamburger-btn {
    display: none;
  }
}

@media (max-width: 1024px) {
  .header-inner {
    height: 75px;
  }

  .header-item {
    gap: 20px;
  }

  .header-item_main {
    font-size: 0.75rem;
    padding: 8px 10px;
    text-wrap-mode: nowrap;
  }

  .header-item_detail {
    min-width: 200px;
  }

  .footer-main-inner {
    width: 93%;
    padding: 0;
    gap: 30px;
    align-items: center;
  }
}

@media (max-width: 767px) {
  .header-inner {
    width: 90%;
    height: calc(130 * (100vw / 780));
  }

  .header-logo img {
    width: calc(462 * (100vw / 780));
  }

  .global-nav {
    display: none;
  }

  .header-item {
    display: none;
  }

  .utility-nav-list {
    gap: 10px;
  }

  /* ハンバーガーメニューボタン */
  .hamburger-btn {
    display: flex;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: calc(38 * (100vw / 780));
    height: calc(40 * (100vw / 780));
    position: relative;
    z-index: 1001;
  }

  .hamburger-btn span {
    display: block;
    width: calc(38 * (100vw / 780));
    height: calc(4 * (100vw / 780));
    background: #7e457c;
    margin: calc(5 * (100vw / 780)) 0;
    transition: 0.3s;
  }

  .hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }

  .hamburger-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -2px);
  }

  /* モバイルメニューオーバーレイ */
  .mobile-menu-overlay {
    position: fixed;
    top: calc(130 * (100vw / 780));
    left: 0;
    width: 100%;
    height: calc(100vh - calc(130 * (100vw / 780)));
    background: #8b6090;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* モバイルメニュー */
  .mobile-menu {
    position: fixed;
    top: calc(130 * (100vw / 780));
    right: 0;
    width: 100%;
    height: calc(100vh - calc(130 * (100vw / 780)));
    background: #8b6090;
    padding: 20px 40px;
    transition: 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
  }

  .mobile-menu-overlay.active .mobile-menu {
    transform: translateX(0);
  }

  /* 閉じるボタン */
  .mobile-menu-close {
    align-self: flex-end;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    margin-bottom: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
  }

  .mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  /* モバイルメニューロゴ */
  .mobile-menu-logo {
    margin-bottom: 30px;
  }

  .mobile-menu-logo img {
    width: 100%;
    max-width: 200px;
  }

  /* モバイルメニューリスト */
  .mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-menu-list > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .mobile-menu-list li a {
    display: block;
    padding: 20px 0;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
  }

  .mobile-menu-list li a:hover {
    opacity: 0.7;
  }

  /* アコーディオンメニュー */
  .mobile-menu-item.has-submenu {
    position: relative;
  }

  .mobile-menu-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    text-align: left;
  }

  .mobile-menu-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
  }

  .mobile-menu-item.active .mobile-menu-arrow {
    transform: rotate(45deg);
  }

  .mobile-menu-social {
    margin-top: 60px;
  }

  /* サブメニュー */
  .mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
  }

  .mobile-menu-item.active .mobile-submenu {
    max-height: 500px;
    margin-bottom: 20px;
    padding: 10px 0;
  }

  .mobile-submenu li a {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .mobile-submenu li a:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
  }

  /* モバイルメニューサブセクション */
  .mobile-menu-sub {
    margin-top: 60px;
  }

  .mobile-menu-sub-links {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 20px;
    justify-content: center;
  }

  .mobile-menu-sub-links a {
    color: #fff;
    font-size: 0.875rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
    width: 40%;
    text-align: center;
  }

  .mobile-menu-sub-links a:hover {
    opacity: 1;
  }

  /* モバイルメニューソーシャル */
  .mobile-menu-social {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .mobile-menu-social > a {
    color: #fff;
    font-size: 0.875rem;
    text-decoration: none;
  }

  .mobile-menu-social-icons {
    display: flex;
    gap: 15px;
  }

  .mobile-menu-social-icons a {
    display: block;
    width: 24px;
    height: 24px;
  }

  .mobile-menu-social-icons img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
  }

  .mobile-menu-list li a {
    font-size: 16px;
    font-weight: 400;
  }

  /* フッター */
  .footer-logo {
    margin-bottom: calc(20 * (100vw / 780));
  }

  .footer-logo img {
    width: calc(461 * (100vw / 780));
  }

  .footer-top {
    width: 100%;
  }

  .footer-info {
    width: 100%;
    text-align: left;
    padding-left: calc(56 * (100vw / 780));
  }

  .footer-top-inner {
    width: 100%;
    flex-direction: column;
    gap: 15px;
    padding: 0 calc(40 * (100vw / 780));
  }

  .footer-top-group {
    padding: 0 calc(40 * (100vw / 780));
    order: 2;
    background-color: #f3f3f3;
    flex-direction: column;
  }

  .footer-buttons {
    order: 1;
    width: 100%;
    justify-content: center;
  }

  .footer-top-links {
    padding-top: 15px;
    gap: 5px 15px;
    flex-wrap: wrap;
    text-align: left;
  }

  .footer-main {
    padding-top: calc(30 * (100vw / 780));
    padding-bottom: 0;
  }

  .footer-main-inner {
    width: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .footer-social {
    margin-top: calc(30 * (100vw / 780));
    justify-content: center;
  }

  .footer-top-links a {
    font-size: calc(24 * (100vw / 780));
    padding-right: calc(20 * (100vw / 780));
  }

  .footer-bottom {
    background-color: #f3f3f3;
  }

  .footer-bottom-inner {
    border: none;
  }

  .footer-social a {
    width: calc(60 * (100vw / 780));
    height: calc(60 * (100vw / 780));
  }

  .footer-buttons .c-btn {
    width: calc(316 * (100vw / 780));
    height: calc(90 * (100vw / 780));
    font-size: calc(25 * (100vw / 780));
  }

  .footer-address {
    font-size: calc(24 * (100vw / 780));
  }

  .l-contents-inner {
    width: 84%;
    padding: calc(60 * (100vw / 780)) 0 calc(100 * (100vw / 780));
  }
}

.l-contents-main {
  flex: 1;
  font-feature-settings: "palt";
}
