@charset "utf-8";

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #FBFAF4;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.7;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

ul, ol {
  list-style: none;
}

/* Layout */
.l-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.l-header {
  border-bottom: 1px solid #eee;
  padding: 20px 0;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.l-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1441px;
  padding: 0 20px;
}

.l-header__logo {
  flex-shrink: 0;
}

.l-header__logo img {
  width: 163px;
  height: auto;
}

.l-header__content {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 36px;
}

.l-header__utility {
  display: flex;
  align-items: center;
  gap: 27px;
}

.l-header__sns {
  display: flex;
  gap: 15px;
}

.l-header__sns-link {
  color: #816700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.l-header__search-form {
  position: relative;
  width: 200px;
  height: 45px;
}

.l-header__search-input {
  width: 100%;
  height: 100%;
  border-radius: 60px;
  border: 1px solid #816700;
  padding: 0 45px 0 20px;
  outline: none;
  font-size: 16px;
  background-color: #fff;
}

.l-header__search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: none;
  border: none;
  color: #816700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
}

.l-header__lang {
  position: relative;
  display: flex;
  align-items: center;
  background-color: #e3e1c6;
  border-radius: 60px;
  padding: 0;
  height: 45px;
  color: #816700;
  font-size: 14px;
  cursor: pointer;
  overflow: hidden;
}

.l-header__lang::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 9px;
  background-image: url('../img/arrow_down.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  pointer-events: none;
  z-index: 0;
}

.l-header__lang-select {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  padding: 0 40px 0 20px;
  font-family: 'Forum', sans-serif;
  font-size: 14px;
  color: #816700;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  z-index: 1;
}

.l-header__utility-nav {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.l-header__utility-nav li a {
  color: #555;
  font-size: 14px;
  text-decoration: none;
  font-family: 'Noto Sans JP', sans-serif;
}

.l-header__nav ul {
  display: flex;
  gap: 48px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.l-header__nav li a {
  color: #000;
  font-size: 17px;
  text-decoration: none;
  font-family: 'Zen Old Mincho', serif;
  letter-spacing: 0.05em;
}

/* Footer */
.l-footer {
  background-color: #e3e1c6;
  color: #000;
  padding: 60px 0 20px;
  margin-top: 60px;
  position: relative;
}

.l-footer__pc {
  display: block;
}

.l-footer__sp {
  display: none;
}

.l-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.l-footer__logo {
  width: 263px;
  flex-shrink: 0;
}

.l-footer__logo img {
  width: 100%;
  height: auto;
}

.l-footer__nav {
  display: flex;
  gap: 60px;
}

.l-footer__nav-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.l-footer__nav-col a {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.05em;
  color: #000;
  text-decoration: none;
}

.l-footer__nav-col--sm a {
  font-size: 12px;
  font-weight: 400;
}

.l-footer__sns {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.l-footer__sns-link {
  color: #816700;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.l-footer__copyright {
  margin-top: 20px;
  font-size: 13px;
  font-family: 'Zen Old Mincho', serif;
  text-align: center;
}

@media (max-width: 960px) {
  .l-footer__inner {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .l-footer__nav {
    flex-direction: column;
    gap: 30px;
    text-align: center;
    order: 2;
  }
  
  .l-footer__logo {
    margin-bottom: 0;
    order: 1;
  }

  .l-footer__sns {
    position: static;
    transform: none;
    margin-top: 20px;
    order: 3;
  }
}

/* Main Content (Spot Template) */
.l-main {
  padding: 0 0 60px;
}

.c-page-title {
  background-color: #fff;
  padding: 60px 0;
  margin-bottom: 40px;
  text-align: center;
  width: 100%;
}

.c-page-title__category {
  display: block;
  font-family: 'Zen Old Mincho', serif;
  font-size: 14px;
  color: #816700;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.c-page-title h1 {
  font-family: 'Zen Old Mincho', serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #000;
}

.detail__content {
  max-width: 800px;
  margin: 0 auto;
}

.detail__header-info {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}

.detail__category {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-family: 'Zen Old Mincho', serif;
}

.detail__category-icon {
  font-size: 10px;
}

.detail__tag {
  border: 1px solid #000;
  border-radius: 50px;
  padding: 2px 15px;
  font-size: 14px;
  font-family: 'Zen Old Mincho', serif;
}

.detail__main-image {
  width: 100%;
  margin-bottom: 40px;
}

.detail__catch {
  font-size: 26px;
  color: #816700;
  font-weight: 700;
  margin-bottom: 30px;
  font-family: 'Noto Sans JP', sans-serif;
}

.detail__description {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 40px;
  font-family: 'Noto Sans JP', sans-serif;
}

.detail__sub-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.detail__info-section {
  margin-bottom: 60px;
}

.detail__info-title {
  font-size: 18px;
  color: #816700;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: 'Noto Sans JP', sans-serif;
}

.detail__info-image {
  margin-bottom: 40px;
}

.detail__info-image figcaption {
  margin-top: 10px;
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
}

.detail__info-box {
  background-color: #fff;
  border: 3px solid #d9d9d9;
  padding: 40px;
}

.detail__info-list {
  border-top: none;
}

.detail__info-row {
  display: flex;
  border-bottom: 1px solid #f1bee2; /* 薄いピンクのような色 */
  padding: 15px 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 18px;
}

.detail__info-row:last-child {
  border-bottom: none;
}

.detail__info-row dt {
  width: 150px;
  font-weight: 700;
  color: #816700;
}

.detail__map {
  margin-bottom: 60px;
  width: 100%;
  height: 562px;
}

.detail__section-title {
  font-size: 18px;
  color: #816700;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: 'Noto Sans JP', sans-serif;
  text-align: center;
}

.p-related-spots {
  margin-bottom: 60px;
  position: relative;
  width: 100%; /* ブラウザ幅いっぱい */
  margin-left: auto;
  margin-right: auto;
  background-color: #FBFAF4; /* 背景色が必要な場合 */
  padding: 40px 0; /* 上下の余白 */
}

.p-related-spots__slider {
  width: 100%;
  padding: 0 0 50px; /* 下部にページネーション用のスペース確保 */
}

.p-related-spots .swiper-wrapper {
  transition-timing-function: linear;
}

.p-related-spots .swiper-pagination {
  bottom: 0;
  display: flex;
  justify-content: center;
}

.p-related-spots .swiper-pagination-bullet {
  width: 120px;
  height: 3px;
  background-color: #fff;
  opacity: 1;
  border-radius: 0;
  margin: 0 !important; /* 余白なし */
}

.p-related-spots .swiper-pagination-bullet-active {
  background-color: #816700;
}

.p-related-spot-card {
  display: block;
  background-color: #fff;
  text-decoration: none;
  color: #000;
  transition: opacity 0.3s;
  height: 100%;
}

.p-related-spot-card:hover {
  opacity: 0.8;
}

.p-related-spot-card__image {
  width: 100%;
  aspect-ratio: 361/203;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* マスク画像は一旦削除し、背景画像として表示 */
}

/* imgタグは非表示にするか削除 */
.p-related-spot-card__image img {
  display: none;
}

.p-related-spot-card__content {
  padding: 16px 9px;
}

.p-related-spot-card__title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.p-related-spot-card__category {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-family: 'Noto Sans JP', sans-serif;
}

.p-related-spot-card__category-icon {
  font-size: 10px;
  color: #816700; /* カテゴリの色、必要に応じて変更 */
}

/* 矢印ボタンのスタイル削除 */
/* .swiper-button-next,
.swiper-button-prev {
  color: #816700;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 24px;
} */

@media (max-width: 768px) {
  .p-related-spots__slider {
    padding: 0 30px;
  }
}

.p-faq-list {
  margin-bottom: 40px;
}

.p-faq-item {
  background-color: #fff;
  border: 1px solid #d9d9d9;
  padding: 20px 30px;
  margin-bottom: 20px;
}

.p-faq-item__head {
  display: flex;
  align-items: center;
  gap: 30px;
  cursor: pointer;
}

.p-faq-item__q {
  font-family: 'Zen Old Mincho', serif;
  font-size: 40px;
  color: #816700;
  line-height: 1;
}

.p-faq-item__text {
  flex: 1;
  font-weight: 700;
  font-size: 18px;
  font-family: 'Noto Sans JP', sans-serif;
}

.p-faq-item__toggle {
  width: 10px;
  height: 9px;
  background-image: url('../img/arrow_down.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transition: transform 0.3s ease;
}

.p-faq-item.is-open .p-faq-item__toggle {
  transform: rotate(180deg);
}

.p-faq-item__toggle ion-icon {
  display: none;
}

.p-faq-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out;
  padding-top: 0;
  border-top: none;
  margin-top: 0;
  overflow: hidden;
}

.p-faq-item.is-open .p-faq-item__body {
  grid-template-rows: 1fr;
  /* display: block; は削除 */
}

.p-faq-item__answer {
  display: flex;
  gap: 30px;
  overflow: hidden;
  min-height: 0;
  position: relative;
  padding-top: 0; /* 初期状態は0 */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-out, visibility 0.3s, padding-top 0.3s ease-out;
}

.p-faq-item.is-open .p-faq-item__answer {
  opacity: 1;
  visibility: visible;
  padding-top: 41px; /* 開いたときに適用 */
}

.p-faq-item__answer::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #d9d9d9;
}

.p-faq-item__a {
  font-family: 'Zen Old Mincho', serif;
  font-size: 40px;
  color: #000;
  line-height: 1;
}

.p-faq-item__answer-text {
  flex: 1;
  font-size: 16px;
  line-height: 1.8;
  font-family: 'Noto Sans JP', sans-serif;
}

.c-btn-area {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 60px;
}

.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 17px;
  transition: opacity 0.3s;
}

.c-btn--gold {
  background-color: #e3e1c6;
  border: 1px solid #d9d9d9;
  color: #000;
  border-radius: 100px;
  width: 375px;
  height: 60px;
  position: relative;
  padding-right: 20px; /* 矢印分の余白 */
}

.c-btn--gold::after {
  content: "";
  display: block;
  width: 8px;
  height: 15px;
  background-image: url('../img/arrow_right.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.c-btn:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .detail__map {
    height: 300px;
  }

  .c-btn--gold {
    width: 100%;
    max-width: 375px;
  }
}

.detail__info-row dd {
  flex: 1;
}

.detail__info-row dd a {
  color: #0f65d5;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .l-header {
    height: auto;
    padding: 10px 0;
  }

  .l-header__inner {
    flex-direction: column;
    gap: 20px;
  }

  .l-header__content {
    align-items: center;
    width: 100%;
  }

  .l-header__utility {
    flex-wrap: wrap;
    justify-content: center;
  }

  .l-header__nav {
    display: none; /* Mobile menu needed */
  }

  .detail__content {
    padding: 0 20px;
  }
  
  .detail__sub-images {
    grid-template-columns: 1fr;
  }

  .detail__info-row {
    flex-direction: column;
    gap: 5px;
  }

  .detail__info-row dt {
    width: 100%;
  }
}

/* Breadcrumb */
.topicpath {
  margin-bottom: 40px;
  font-size: 14px;
}

.topicpath ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topicpath li::after {
  content: ">";
  margin-left: 10px;
}

.topicpath li:last-child::after {
  content: none;
}

/* Responsive Header & Footer */
.l-header__hamburger {
  display: none;
  width: 50px;
  height: 14px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 100;
  padding: 0;
}

.l-header__hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #816700;
  transition: all 0.3s;
}

.l-header__hamburger span:nth-of-type(1) { top: 0; }
.l-header__hamburger span:nth-of-type(2) { top: 50%; transform: translateY(-50%); }
.l-header__hamburger span:nth-of-type(3) { bottom: 0; }

.l-header__hamburger.is-active span:nth-of-type(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.l-header__hamburger.is-active span:nth-of-type(2) {
  opacity: 0;
}
.l-header__hamburger.is-active span:nth-of-type(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

@media (max-width: 768px) {
  /* Header */
  .l-header {
    height: 80px;
    padding: 0;
  }

  .l-header__inner {
    padding: 0 20px;
    justify-content: center; /* Center logo */
    position: relative;
    height: 100%;
  }

  .l-header__logo img {
    width: 120px;
  }

  .l-header__hamburger {
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }

  .l-header__content {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #FBFAF4;
    z-index: 90;
    padding: 100px 20px 40px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .l-header.is-active .l-header__content {
    opacity: 1;
    visibility: visible;
    display: flex; /* Ensure flex layout when active */
  }

  .l-header__utility {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .l-header__sns {
    justify-content: center;
  }

  .l-header__search-form {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .l-header__lang {
    margin: 0 auto;
  }

  .l-header__utility-nav {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .l-header__nav {
    display: block;
    width: 100%;
  }

  .l-header__nav ul {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  /* Footer */
  .l-footer {
    padding: 40px 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .l-footer__pc {
    display: none;
  }

  .l-footer__sp {
    display: block;
    width: 100%;
    padding: 0 20px;
  }

  .l-footer__sp-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .l-footer__sp-nav li {
    border-bottom: 1px solid #d9d9d9;
  }
  
  .l-footer__sp-nav li:first-child {
    border-top: 1px solid #d9d9d9;
  }

  .l-footer__sp-nav li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    text-decoration: none;
    color: #000;
  }

  .l-footer__sp-nav .en {
    font-family: 'Forum', sans-serif;
    font-size: 25px;
    color: #816700;
    letter-spacing: 0.03em;
  }

  .l-footer__sp-nav .ja {
    font-family: 'Zen Old Mincho', serif;
    font-size: 13px;
    font-weight: 500;
  }

  .l-footer__sp-contact {
    margin-top: 40px;
    text-align: center;
  }

  .l-footer__sp-contact .c-btn--gold {
    border-color: #816700;
  }

  .l-footer__sp-contact .c-btn--gold::after {
    background-image: url('../img/mail.svg');
    width: 25px;
    height: 18px;
  }

  .l-footer__sp-subnav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 30px;
  }

  .l-footer__sp-subnav a {
    font-family: 'Zen Old Mincho', serif;
    font-size: 12px;
    color: #000;
    text-decoration: none;
  }

  .l-footer__logo {
    order: 2; /* Logo second */
    width: 200px;
    margin: 40px auto 20px;
  }

  .l-footer__copyright {
    order: 3; /* Copyright last */
    margin-top: 10px;
  }
}
