html {
  scroll-behavior: smooth;
}

:root {
  --brown: #231815;
  --gold: #b9a371;
  --white: #ffffff;
}

.Daimei {
  font-family: "Shippori Mincho B1", serif;
  font-size: 36px;
  color: var(--gold);
  text-align: right;
  margin-bottom: 12px;
  line-height: 1.3;
}

.Daimei2 {
  font-family: "Shippori Mincho B1", serif;
  font-size: 16px;
  color: var(--white);
  margin-bottom: 30px;
  text-align: right;
  line-height: 1.6;
}

body, h1, h2, h3, p, a, li, span {
  font-family: "dnp-shuei-shogo-mincho-std", serif;
}

p, li, .faqAnswer, .setupDesc {
  letter-spacing: 0.08em;
  line-height: 1.9;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--brown);
  color: var(--white);
  font-family: sans-serif;
  overflow-x: hidden;
}

main {
  position: relative;
  z-index: 2;
}

section:not(.top) {
  position: relative;
  z-index: 10; /* TOP画像の上に後続セクションを重ねて通過させるための設定 */
  background-color: var(--brown);
}

.logo {
  height: 60px;
  width: 170px;
}

.section-inner {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.AlltitleArea {
  margin-bottom: 30px;
  padding-top: 50px;
}

.AlltitleArea p {
  color: var(--gold);
  margin: 0 0 5px 0;
  line-height: 1.6;
  letter-spacing: 0.20em;
}

.AlltitleArea h1 {
  color: var(--white);
  font-size: 20px;
  margin: 10px 0 0 0;
  letter-spacing: 0.20em;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1000;
}

.headWrapper {
  max-width: 1100px;
  margin: 0 auto;
  height: 80px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.pc-nav {
  margin-left: 30px;
  margin-right: auto;
}

.pc-nav ul {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pc-nav ul:hover a {
  filter: blur(3px); /* ホバーした時に「他のメニュー」を一括でぼかす演出 */
  opacity: 0.4;
}

.pc-nav a {
  position: relative;
  display: inline-block;
  color: var(--white);
  text-decoration: none;
  font-size: 12px;
  padding: 4px 8px;
  transition: filter 0.3s ease, opacity 0.3s ease, color 0.3s ease;
}

.pc-nav ul a:hover {
  filter: blur(0);
  opacity: 1;
  color: var(--gold);
}

.pc-nav a::before {
  content: '';
  position: absolute;
  inset: -2px -6px;
  border: 1.5px solid var(--gold);
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transform: scale(1.2);
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s ease; /* 枠線が中央から弾んで広がるアニメーションの軌道設定 */
}

.pc-nav a:hover::before {
  opacity: 1;
  transform: scale(1);
}

#hamburger {
  background: transparent;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
}

#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: var(--brown);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), visibility 1s ease; /* 読み込み完了後にじわ〜っと綺麗に消すためのディレイ設定 */
  opacity: 1;
  visibility: visible;
}

#loader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

#loader .header-logo-wrapper {
  animation: logoFadeIn 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.2s;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-family: "Shippori Mincho B1", serif;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0.15em;
  opacity: 0;
  transform: translateY(15px);
}

#loader .header-logo-wrapper .logo-text {
  color: var(--white);
}

#loader .header-logo-wrapper .logo-plus {
  color: var(--gold);
  margin-left: 6px;
  font-size: 46px;
  filter: drop-shadow(0 0 8px rgba(185, 163, 113, 0.8));
}

.loader-sub {
  font-size: 11px;
  letter-spacing: 0.4em;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 15px;
  opacity: 0;
  animation: logoFadeIn 1s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.8s;
}

@keyframes logoFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

header .header-logo-wrapper {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-family: "Shippori Mincho B1", serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(-30px) scale(1.1);
  animation: logoDropIn 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.2s; /* ページ表示時にロゴが上から「しゅぽっ」と弾んで着地する演出 */
}

.header-logo-wrapper .logo-text {
  color: var(--white);
}

.header-logo-wrapper .logo-plus {
  color: var(--gold);
  margin-left: 2px;
  font-size: 26px;
  filter: drop-shadow(0 0 6px rgba(185, 163, 113, 0.7));
}

@keyframes logoDropIn {
  0% {
    opacity: 0;
    transform: translateY(-30px) scale(1.1);
  }
  50% {
    opacity: 1;
    transform: translateY(4px) scale(0.96, 1.04);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.top {
  position: sticky; /* スクロールしてもTOP画像を画面に固定しておく設定 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  padding-top: 0;
  overflow: hidden;
}

.topSlider {
  width: 100%;
  height: 100%;
  position: relative;
}

.topSlider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
  pointer-events: none;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-pagination {
  z-index: 20;
  bottom: 30px !important;
}

.swiper-pagination-bullet {
  background: var(--gold) !important;
}

.topWrapper {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
  pointer-events: none;
}

.topText {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: auto;
}

.point {
  text-align: center;
  padding-top: 60px;
}

.featuresWrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding-bottom: 50px;
}

.featuresCard {
  width: 200px;
  height: 250px;
  padding: 40px 20px;
  text-align: center;
  color: var(--white);
  position: relative;
  box-sizing: border-box;
  transition: 0.3s;
}

.featuresCard h1 {
  color: var(--gold);
  margin-bottom: 7px;
  margin-top: 17px;
  font-size: 15px;
}

.featuresCard ul {
  font-size: 12px;
  list-style: none;
  padding: 0;
}

.icon {
  height: 100px;
  display: block;
  margin: 0 auto;
  width: auto;
}

section.about {
  position: relative;
  z-index: 10;
  padding: 120px 0;
  background-color: var(--brown);
  overflow: hidden;
}

.aboutBgText {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(100px, 15vw, 200px); /* 画面サイズに合わせて破綻せず自動縮小する可変文字サイズ */
  font-family: "Shippori Mincho B1", serif;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.04);
  letter-spacing: 0.1em;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}

.aboutInner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.aboutTitleArea {
  margin-bottom: 35px;
}

.aboutSub {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.25em;
  margin-bottom: 12px;
  display: block;
}

.aboutTitleArea h2 {
  font-family: "Shippori Mincho B1", serif;
  font-size: 32px;
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #b9a371 0%, #fefcf0 50%, #b9a371 100%); /* 文字の背後にグラデーションを敷く */
  -webkit-background-clip: text; /* 敷いたグラデ背景を文字の形にくり抜く設定 */
  background-clip: text;
  -webkit-text-fill-color: transparent; /* 元の文字色を消して背後のグラデを透かす設定 */
  display: inline-block; /* グラデーションの適用幅を文字の長さぴったりに合わせる設定 */
}

.aboutDesc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 2.2;
  letter-spacing: 0.08em;
  margin: 0 auto;
  max-width: 680px;
}

.money {
  text-align: center;
  padding: 50px 0;
}

.money-slider-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 30px 0;
  margin: 0 auto;
  overflow: hidden;
}

.moneySwiper {
  width: 100%;
  padding: 40px 0;
}

.moneySwiper .swiper-slide {
  width: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  transition: transform 0.4s ease;
}

.planCard {
  width: 250px;
  min-height: 310px;
  height: auto;
  padding: 20px 15px 15px;
  text-align: center;
  color: var(--white);
  background-color: #2c1f1b;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid transparent;
  border-radius: 8px;
  opacity: 0.6;
  transition: all 0.4s ease;
}

.moneySwiper .swiper-slide-active .planCard {
  transform: scale(1.1); /* スライダーで真ん中に来たアクティブなカードだけを拡大 */
  border: 4px double var(--gold);
  background-color: var(--brown);
  opacity: 1;
}

.planCard h1 {
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 10px;
  margin-top: 10px;
}

.price {
  color: var(--white);
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
  white-space: nowrap;
}

.price p {
  display: inline;
}

.price span {
  font-size: 18px;
}

.planCard ul {
  list-style: none;
  margin-bottom: 20px;
  padding: 0;
}

.planCard li {
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--white);
}

.money-prev,
.money-next {
  color: var(--gold) !important;
  width: 40px;
  height: 40px;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent !important;
  border: none !important;
  border-radius: 0;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.money-prev:hover,
.money-next:hover {
  transform: translateY(-50%) scale(1.3);
  color: #d4c28a !important;
}

.money-prev::after,
.money-next::after {
  font-family: serif !important;
  font-size: 28px !important;
  font-weight: bold;
}

.money-prev::after {
  content: "◀" !important;
}

.money-next::after {
  content: "▶" !important;
}

.money-prev {
  left: 20px !important;
}

.money-next {
  right: 20px !important;
}

.setup {
  padding: 100px 0;
}

.setupWrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

.setupText {
  width: 45%;
}

.setupSub {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.2em;
  margin-bottom: 8px;
  margin-top: 15px;
}

.setupText h2 {
  color: var(--white);
  font-size: 22px;
  line-height: 1.5;
  margin-bottom: 20px;
  text-align: left;
}

.partImagePreview {
  width: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 15px 0 20px 0;
}

.partImagePreview img {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
  object-fit: contain;
  margin-left: 20%;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 10px rgba(185, 163, 113, 0.2));
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.setupDesc {
  color: #cccccc;
  line-height: 1.8;
  font-size: 14px;
  margin-bottom: 20px;
}

.setupList {
  list-style: none;
  padding: 0;
}

.setupList li {
  color: var(--white);
  font-size: 13px;
  margin-bottom: 8px;
  position: relative;
  padding-left: 24px;
}

.setupList li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
}

.setupImage {
  width: 50%;
}

.setupImage img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.spotWrapper {
  position: relative;
  display: block;
  width: 100%;
}

.spotPin {
  position: absolute;
  z-index: 10;
  cursor: pointer;
}

.pinCircle {
  display: block;
  width: 16px;
  height: 16px;
  background-color: #ff6b00;
  border: 2px solid var(--white);
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease;
  animation: orangePulse 2s infinite; /* ピンから波紋が広がり続ける演出の適用 */
}

@keyframes orangePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 107, 0, 0); /* 15pxまで円状に影を広げてフェードアウトさせる */
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
  }
}

.spotPin:hover .pinCircle {
  transform: scale(1.3);
  background-color: var(--gold);
}

.spotPin.active .pinCircle {
  background-color: var(--white);
  border-color: var(--gold);
  transform: scale(1.3);
  animation: none;
  box-shadow: 0 0 15px var(--gold);
}

.how {
  text-align: center;
  padding: 50px 0;
}

.flowWrapper {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.flowCard {
  width: 200px;
  text-align: center;
  color: var(--white);
}

.flowCard h2 {
  color: var(--gold);
  font-size: 18px;
  margin: 10px 0 5px;
}

.flowCard p {
  font-size: 12px;
  color: #ccc;
}

.flowCard img {
  width: 80px;
  height: auto;
}

.access .AccesstitleArea {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.access .AccesstitleArea > p:first-child {
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 0.2em;
  margin-bottom: 6px;
}

.access .AccesstitleArea h2 {
  color: var(--white);
  font-size: 25px;
  font-weight: normal;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
}

.accessInfoText {
  color: var(--white);
}

.accessInfoText span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 5px;
}

.accessInfoText p {
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}

.accessInfoText small {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  display: block;
  margin-top: 6px;
}

.accessBtnArea {
  margin-top: 50px;
}

.mapdayo {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 320px;
  min-height: 52px;
  padding: 12px 20px;
  border: 1px solid var(--gold);
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s ease, transform 0.2s ease;
}

.planCard .mapdayo {
  margin-top: auto;
  max-width: 100%;
}

.mapdayo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--gold);
  z-index: -1;
  transform: scaleX(0); /* 通常時はX軸（横幅）のサイズを0にして隠しておく */
  transform-origin: left; /* ホバーした時に左側を起点にして右へ伸ばす設定 */
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.mapdayo:hover {
  color: var(--brown);
  font-weight: 600;
}

.mapdayo:hover::before {
  transform: scaleX(1); /* ホバー時に横幅のスケールを100%にして塗りつぶす */
}

.mapdayo:active {
  transform: scale(0.96);
}

.faq {
  text-align: center;
  padding: 60px 0;
}

.faqWrapper {
  background-color: #2c1f1b;
  padding: 20px 40px;
  max-width: 800px;
  margin: 0 auto;
  box-sizing: border-box;
}

.faqItem {
  border: none;
  border-bottom: 1px solid rgba(185, 163, 113, 0.4);
  background: transparent;
}

.faqItem:last-child {
  border-bottom: none;
}

.faqQuestion {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  color: var(--white);
  cursor: pointer;
  position: relative;
}

.faqicon {
  display: block !important;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--gold);
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faqItem.active .faqicon {
  transform: rotate(180deg);
}

.faqAnswer {
  text-align: left;
  max-height: 0; /* 通常時は高さを0にして完全に隠す設定 */
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease; /* JSでのクラス付与に合わせて滑らかに高さを広げる設定 */
  color: rgba(255, 255, 255, 0.9);
  padding: 0;
}

.faqItem.active .faqAnswer {
  max-height: 200px;
  padding-bottom: 20px;
}

.footer {
  background-color: var(--brown);
  padding: 60px 0 40px;
  position: relative;
  z-index: 10;
}

.footerInner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footerLogo {
  width: 100px;
  height: auto;
  margin-bottom: 16px;
}

.footerAddress {
  font-size: 11px;
  color: #666666;
  letter-spacing: 0.05em;
  line-height: 1.8;
}

.footerRight {
  text-align: right;
}

.footerSns {
  margin-bottom: 24px;
}

.footerSns a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #cccccc;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.15em;
  transition: color 0.3s ease;
}

.footerSns a:hover {
  color: #d4af37;
}

.instaIcon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: invert(80%) sepia(20%) saturate(300%) hue-rotate(1deg) brightness(90%) contrast(85%);
}

.copyright {
  font-size: 10px;
  color: #444444;
  letter-spacing: 0.1em;
}

@media screen and (max-width: 768px) {
  section.about {
    padding: 80px 0;
  }

  .aboutTitleArea h2 {
    font-size: 22px;
    line-height: 1.5;
  }

  .aboutDesc {
    font-size: 13px;
    line-height: 2.0;
    text-align: justify;
  }

  .section-inner {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .pc-nav {
    display: none;
  }

  .headWrapper {
    justify-content: space-between;
  }

  .topWrapper {
    padding: 0 20px;
    justify-content: center;
  }

  .topText {
    text-align: center;
    align-items: center;
  }

  .featuresWrapper {
    flex-wrap: wrap;
    gap: 30px 10px;
  }

  .featuresCard {
    width: calc(50% - 10px); /* スマホ画面でカードをきれいに2カラム（横並び2つ）にする計算式 */
    height: auto;
    padding: 20px 10px;
  }

  .setupWrapper {
    flex-direction: column-reverse; /* スマホの時だけ画像とテキストの上下の並び順をひっくり返す設定 */
    gap: 30px;
  }

  .setupText,
  .setupImage {
    width: 100%;
  }

  .partImagePreview {
    justify-content: center;
  }

  .partImagePreview img {
    margin-left: 0;
  }

  .flowWrapper {
    flex-direction: column;
    align-items: center;
  }

  .accessInfoText p {
    font-size: 14px;
    margin-bottom: 28px;
  }

  .mapdayo {
    display: inline-flex;
    padding: 12px 16px;
    max-width: 100%;
  }

  .footerInner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .footerRight {
    text-align: left;
  }

  .money-slider-container {
    max-width: 100%;
  }

  .money-prev {
    left: 5px !important;
  }

  .money-next {
    right: 5px !important;
  }

  .money-prev::after,
  .money-next::after {
    font-size: 20px !important;
  }
}
