/* =================================================
   COMPONENTS.CSS — Buttons · Cards · Nav · Parts
   ================================================= */

/* -----------------------------------------------
   LOGO
----------------------------------------------- */
.site-logo,
.footer-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  gap: 3px;
}

.logo-en {
  font-family: var(--font-serif-en);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--green);
}

.logo-ja {
  font-family: var(--font-serif-ja);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--stone);
}

.footer-logo .logo-en {
  color: rgba(255, 255, 255, 0.9);
}

.footer-logo .logo-ja {
  color: rgba(255, 255, 255, 0.45);
}

/* -----------------------------------------------
   BUTTONS
----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-serif-ja);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.4;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast),
              transform var(--t-fast), box-shadow var(--t-fast),
              border-color var(--t-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--amber);
  color: #fff;
  border-color: var(--amber);
}

.btn-primary:hover {
  background: #bf7030;
  border-color: #bf7030;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 129, 58, 0.38);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-header {
  padding: 9px 18px;
  font-size: 13px;
}

.btn-lg {
  padding: 17px 36px;
  font-size: 16px;
}

.btn-xl {
  padding: 19px 48px;
  font-size: 17px;
  letter-spacing: 0.08em;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Text link style */
.btn-text-link {
  font-family: var(--font-serif-ja);
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 2px;
  transition: color var(--t-fast), border-color var(--t-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-text-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}

.arrow-down {
  display: inline-block;
  transition: transform var(--t-fast);
}

.btn-text-link:hover .arrow-down {
  transform: translateY(3px);
}

/* -----------------------------------------------
   LANGUAGE DROPDOWN (shutto)
----------------------------------------------- */
.translation-menu {
  position: relative;
}

.dropbtn {
  background: none;
  border: 1px solid rgba(58, 92, 58, 0.3);
  color: var(--stone);
  font-family: var(--font-serif-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 8px 12px;
  cursor: pointer;
  transition: border-color var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}

.dropbtn:hover {
  border-color: var(--green);
  color: var(--green);
}

.dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--cream);
  border: 1px solid rgba(58, 92, 58, 0.12);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.1);
  min-width: 150px;
  z-index: 200;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content,
.dropdown.is-open .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 10px 16px;
  font-family: var(--font-sans-ja);
  font-size: 13px;
  font-weight: 300;
  color: var(--brown);
  transition: background var(--t-fast);
}

.dropdown-content a:hover {
  background: var(--beige);
}

/* -----------------------------------------------
   SECTION LABELS & HEADINGS
----------------------------------------------- */
.section-num {
  display: block;
  font-family: var(--font-serif-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--amber);
  margin-bottom: 10px;
}

.section-h2 {
  font-family: var(--font-serif-ja);
  font-size: clamp(22px, 3.5vw, 40px);
  font-weight: 400;
  color: var(--brown);
  line-height: 1.3;
}

.section-bestrate .section-h2,
.section-final-cta .section-h2 {
  color: #fff;
}

.section-bestrate .section-num {
  color: rgba(232, 223, 200, 0.8);
}

/* LLMO Entity Definition */
.entity-definition {
  margin-top: var(--sp-sm);
  font-family: var(--font-sans-ja);
  font-size: 13px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.8;
  max-width: 640px;
}

/* -----------------------------------------------
   FV COMPONENTS
----------------------------------------------- */
/* モバイルではH1の改行タグを無効化して自然な折り返しに任せる */
@media (max-width: 479px) {
  .fv-h1-br { display: none; }
}

.fv-eyebrow {
  margin-bottom: 14px;
}

.fv-eyebrow-en {
  font-family: var(--font-serif-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--amber);
}

.fv-h1 {
  font-family: var(--font-serif-ja);
  font-size: clamp(28px, 5.5vw, 66px);
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 18px;
}

.fv-sub {
  font-family: var(--font-serif-ja);
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.9;
  margin-bottom: var(--sp-md);
}

.fv-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  align-items: center;
}

/* Scroll Indicator */
.scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.35);
  transform-origin: top;
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%   { transform: scaleY(0); opacity: 1; transform-origin: top; }
  49%  { transform: scaleY(1); opacity: 1; transform-origin: top; }
  50%  { transform: scaleY(1); opacity: 1; transform-origin: bottom; }
  100% { transform: scaleY(0); opacity: 0; transform-origin: bottom; }
}

.scroll-text {
  font-family: var(--font-serif-en);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.45);
  writing-mode: vertical-rl;
}

/* -----------------------------------------------
   VALUE COMPONENTS
----------------------------------------------- */
.value-img-01 { background: linear-gradient(135deg, #2a3820 0%, #1a2512 100%); }
.value-img-02 { background: linear-gradient(135deg, #3a1a05 0%, #1a0a02 100%); }
.value-img-03 { background: linear-gradient(135deg, #1e2d18 0%, #0e1a0a 100%); }

.value-img-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.value-img-wrap:hover .value-img-photo {
  transform: scale(1.04);
}

.value-num-deco {
  position: absolute;
  font-family: var(--font-serif-en);
  font-size: clamp(72px, 14vw, 150px);
  font-weight: 900;
  color: rgba(58, 92, 58, 0.07);
  line-height: 1;
  bottom: -16px;
  right: -8px;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}

@media (max-width: 767px) {
  .value-num-deco {
    font-size: 80px;
    bottom: -12px;
    right: -6px;
  }
}

.value-title {
  font-family: var(--font-serif-ja);
  font-size: clamp(19px, 2.5vw, 26px);
  font-weight: 400;
  color: var(--brown);
  margin-bottom: var(--sp-sm);
}

.value-body {
  font-family: var(--font-sans-ja);
  font-size: 14px;
  color: var(--stone);
  line-height: 2;
  margin-bottom: var(--sp-md);
}

.pull-quote {
  font-family: var(--font-serif-ja);
  font-weight: 300;
  font-size: clamp(15px, 1.8vw, 19px);
  color: var(--green);
  border-left: 3px solid var(--amber);
  padding-left: var(--sp-sm);
  line-height: 1.65;
  font-style: normal;
}

/* -----------------------------------------------
   FOR WHO CARDS
----------------------------------------------- */
.for-card {
  background: var(--cream);
  padding: var(--sp-md);
  border-top: 3px solid var(--amber);
  transition: box-shadow var(--t-mid), transform var(--t-mid);
}

.for-card:hover {
  box-shadow: 0 6px 24px rgba(44, 32, 24, 0.1);
  transform: translateY(-2px);
}

@media (min-width: 600px) {
  .for-card--family {
    grid-column: 1 / -1;
    display: flex;
    gap: var(--sp-lg);
    align-items: flex-start;
  }

  .for-card--family .for-card-left {
    flex: 0 0 28%;
  }

  .for-card--family .for-highlights {
    flex: 1;
    margin-top: 0;
    columns: 2;
    column-gap: var(--sp-md);
  }
}

.for-icon {
  font-size: 26px;
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}

.for-title {
  font-family: var(--font-serif-ja);
  font-size: 17px;
  font-weight: 400;
  color: var(--brown);
  margin-bottom: 8px;
}

.for-body {
  font-family: var(--font-sans-ja);
  font-size: 13px;
  color: var(--stone);
  line-height: 1.85;
}

.for-highlights {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.for-highlights li {
  font-family: var(--font-sans-ja);
  font-size: 12px;
  color: var(--stone);
  padding-left: 14px;
  position: relative;
  line-height: 1.6;
}

.for-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--amber);
  font-size: 11px;
}

.for-link {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-sans-ja);
  font-size: 12px;
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--t-fast);
}

.for-link:hover {
  opacity: 0.7;
}

/* -----------------------------------------------
   RESORT EXPERIENCE
----------------------------------------------- */
.resort-lead {
  font-family: var(--font-sans-ja);
  font-size: 14px;
  color: var(--stone);
  text-align: center;
  margin-top: 10px;
  line-height: 1.85;
}

.resort-slide-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, #2a3820 0%, #1a2512 100%);
}

/* ベルトコンベア式: 一定速度で流れ続けるためlinearに上書き */
.resort-swiper .swiper-wrapper {
  transition-timing-function: linear;
}

.resort-block {
  padding: var(--sp-md);
  background: transparent;
  border-right: 1px solid rgba(58, 92, 58, 0.15);
  border-bottom: 1px solid rgba(58, 92, 58, 0.15);
}

.resort-block-num {
  display: block;
  font-family: var(--font-serif-en);
  font-size: 32px;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.resort-block-title {
  font-family: var(--font-serif-ja);
  font-size: 14px;
  font-weight: 400;
  color: var(--brown);
  margin-bottom: 8px;
}

.resort-block-body {
  font-family: var(--font-sans-ja);
  font-size: 12px;
  color: var(--stone);
  line-height: 1.75;
}
.resort-block-link {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-sans-ja);
  font-size: 11px;
  color: var(--amber);
  text-decoration: none;
  letter-spacing: 0.03em;
}
.resort-block-link:hover {
  text-decoration: underline;
}

/* -----------------------------------------------
   PLAN CARDS
----------------------------------------------- */
.plans-sub-heading {
  font-family: var(--font-serif-ja);
  font-size: 19px;
  font-weight: 400;
  color: var(--brown);
  margin-bottom: var(--sp-md);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.plans-sub-label {
  font-family: var(--font-sans-ja);
  font-size: 11px;
  font-weight: 300;
  color: var(--stone);
  background: var(--beige);
  padding: 4px 10px;
  border-radius: 1px;
}

.plan-card {
  background: var(--cream);
  overflow: hidden;
  transition: box-shadow var(--t-mid);
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  box-shadow: 0 10px 36px rgba(44, 32, 24, 0.13);
}

.plan-card-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

/* Placeholder gradient backgrounds per type */
.plan-card-img--deluxe   { background: linear-gradient(135deg, #2a3820 0%, #1a2512 100%); }
.plan-card-img--fireplace { background: linear-gradient(135deg, #3a2510 0%, #1a1005 100%); }
.plan-card-img--japanese  { background: linear-gradient(135deg, #1e2d18 0%, #0e1a0a 100%); }

.plan-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.plan-card:hover .plan-card-photo {
  transform: scale(1.04);
}

.plan-card-body {
  padding: var(--sp-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.plan-name {
  font-family: var(--font-serif-ja);
  font-size: 17px;
  font-weight: 400;
  color: var(--brown);
  margin-bottom: 8px;
}

.plan-capacity {
  font-family: var(--font-sans-ja);
  font-size: 12px;
  font-weight: 300;
  color: var(--stone);
  margin-bottom: 8px;
}

.plan-capacity strong {
  font-weight: 400;
  color: var(--green);
}

.plan-price {
  font-family: var(--font-serif-en);
  font-size: 27px;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 10px;
  line-height: 1;
}

.plan-price-from {
  font-family: var(--font-sans-ja);
  font-size: 12px;
  font-weight: 300;
  color: var(--stone);
}

.plan-features {
  font-family: var(--font-sans-ja);
  font-size: 13px;
  color: var(--stone);
  line-height: 1.75;
  margin-bottom: var(--sp-md);
  flex: 1;
}

.plan-note {
  font-family: var(--font-sans-ja);
  font-size: 11px;
  color: var(--stone);
  margin-top: var(--sp-sm);
  padding-left: 1em;
  text-indent: -1em;
}

/* -----------------------------------------------
   TOPIC PLAN SECTION — 写真主役2パネル
----------------------------------------------- */

/* 写真パネル */
.plans-topic-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s var(--ease-out);
}

.plans-topic-visual:hover .plans-topic-photo {
  transform: scale(1.04);
}

/* プレースホルダー時の装飾テキスト */
.plans-topic-visual-deco {
  position: absolute;
  bottom: var(--sp-md);
  left: var(--sp-md);
  font-family: var(--font-serif-en);
  font-size: clamp(40px, 8vw, 80px);
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}

/* コンテンツパネルのセパレーター装飾 */
.plans-topic-content::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--amber);
  margin-bottom: var(--sp-sm);
}

.plans-topic-badge {
  display: inline-block;
  font-family: var(--font-serif-en);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--amber);
  border: 1px solid var(--amber);
  padding: 4px 12px;
  margin-bottom: 14px;
}

.plans-topic-heading {
  font-family: var(--font-serif-ja);
  font-size: clamp(17px, 2.5vw, 22px);
  font-weight: 400;
  color: var(--brown);
  margin-bottom: var(--sp-sm);
}

.plans-topic-body {
  font-family: var(--font-sans-ja);
  font-size: 14px;
  color: var(--stone);
  line-height: 1.9;
}

.plan-card--topic .plan-card-body {
  background: var(--cream);
  flex-direction: row;
  align-items: center;
  gap: var(--sp-md);
  padding: 16px var(--sp-md);
}

.plan-card--topic .plan-card-body .plan-name {
  font-size: 14px;
  margin-bottom: 4px;
}

.plan-card--topic .plan-card-body .plan-capacity {
  margin-bottom: 0;
}

.plan-card--topic .plan-card-body .plan-price {
  font-size: 22px;
  margin-bottom: 0;
  white-space: nowrap;
}

.plan-card--topic .plan-card-left {
  flex: 1;
  min-width: 160px;
}

.plan-card--topic .plan-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

/* -----------------------------------------------
   APPENDIX: SPRING KIDS DISCOUNT
----------------------------------------------- */
.plans-appendix {
  margin-top: var(--sp-lg);
}

.plans-appendix-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  flex-wrap: wrap;
  background: linear-gradient(100deg, rgba(232, 223, 200, 0.55) 0%, rgba(253, 249, 242, 0.8) 100%);
  border: 1.5px solid var(--amber);
  border-left-width: 5px;
  padding: 18px var(--sp-md);
}

.plans-appendix-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

.plans-appendix-label {
  display: inline-block;
  font-family: var(--font-sans-ja);
  font-size: 12px;
  font-weight: 400;
  color: var(--brown);
  letter-spacing: 0.04em;
}

.plans-appendix-discount {
  font-family: var(--font-serif-en);
  font-size: 11px;
  color: var(--stone);
  letter-spacing: 0.04em;
}

.plans-appendix-discount strong {
  font-family: var(--font-serif-en);
  font-size: 22px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0;
}

.plans-appendix-text {
  font-family: var(--font-sans-ja);
  font-size: 13px;
  color: var(--stone);
  line-height: 1.75;
  border-left: 1px solid rgba(212, 129, 58, 0.25);
  padding-left: var(--sp-md);
}

@media (max-width: 599px) {
  .plans-appendix-text {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(212, 129, 58, 0.2);
    padding-top: 12px;
    width: 100%;
  }
}

.plans-appendix-inner .btn {
  margin-left: auto;
  padding: 10px 22px;
  font-size: 13px;
  flex-shrink: 0;
}

@media (max-width: 599px) {
  .plans-appendix-inner .btn {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
}

/* -----------------------------------------------
   BEST RATE SECTION
----------------------------------------------- */
.bestrate-wrap {
  position: relative;
  text-align: center;
  padding: var(--sp-md) 0;
}

.bestrate-deco {
  font-family: var(--font-serif-en);
  font-size: clamp(40px, 10vw, 110px);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  letter-spacing: 0.05em;
}

.bestrate-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 560px;
  margin: var(--sp-md) auto 0;
  text-align: left;
}

.bestrate-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-family: var(--font-sans-ja);
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.bestrate-icon {
  font-family: var(--font-serif-en);
  font-weight: 700;
  color: var(--amber);
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1.8;
}

.bestrate-cta {
  margin-top: var(--sp-lg);
  text-align: center;
}

/* -----------------------------------------------
   FAQ COMPONENTS
----------------------------------------------- */
.faq-item {
  border-top: 1px solid rgba(58, 92, 58, 0.12);
  padding: var(--sp-md) 0;
}

.faq-item:last-child {
  border-bottom: 1px solid rgba(58, 92, 58, 0.12);
}

.faq-q {
  font-family: var(--font-serif-ja);
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 400;
  color: var(--brown);
  margin-bottom: 12px;
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.faq-q::before {
  content: 'Q.';
  font-family: var(--font-serif-en);
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  flex-shrink: 0;
  line-height: inherit;
}

.faq-a {
  font-family: var(--font-sans-ja);
  font-size: 14px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.95;
  padding-left: 24px;
}

.faq-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--t-fast);
}

.faq-link:hover {
  opacity: 0.7;
}

/* -----------------------------------------------
   FINAL CTA
----------------------------------------------- */
.final-cta-deco {
  display: block;
  font-family: var(--font-accent-en);
  font-style: italic;
  font-size: clamp(13px, 1.8vw, 17px);
  color: var(--amber);
  letter-spacing: 0.18em;
  margin-bottom: 18px;
}

.final-cta-h2 {
  font-family: var(--font-serif-ja);
  font-size: clamp(22px, 3.8vw, 46px);
  font-weight: 400;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.35;
}

.final-cta-sub {
  font-family: var(--font-sans-ja);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--sp-lg);
  letter-spacing: 0.06em;
}

/* decorative bg text */
.final-cta-bg::before {
  content: 'COTTAGE';
  font-family: var(--font-serif-en);
  font-size: clamp(60px, 18vw, 200px);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  bottom: 20px;
  right: -20px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.05em;
}

/* -----------------------------------------------
   STICKY BAR COMPONENTS
----------------------------------------------- */
.sticky-bar-text {
  font-family: var(--font-serif-ja);
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

@media (max-width: 479px) {
  .sticky-bar-text {
    display: none;
  }
}

/* -----------------------------------------------
   FOOTER COMPONENTS
----------------------------------------------- */
.footer-address {
  font-family: var(--font-sans-ja);
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.38);
}

.footer-copy {
  font-family: var(--font-serif-en);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.25);
}
