/* =========================================
   DESIGN SYSTEM : HOPE TOWN SYNC (v2 Modular)
   ========================================= */

/* 1. TOKENS (Variables) */
:root {
  /* Color Palette - Base Theme: Urban x Indigenous */
  --color-primary: #8C2123;
  /* Deep Accent (Wine/Earth Red) */
  --color-primary-dark: #661819;

  --color-black: #0F0F0F;
  --color-white: #FFFFFF;
  --color-bg: #F5F4F0;
  --color-text-main: #2A2826;
  --color-text-sub: #5C5855;

  --color-decorative: #A89078;
  /* Earthy metallic/taupe */

  /* Typography */
  --font-heading: 'Noto Serif JP', serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --font-en: 'Cinzel', serif;

  /* Layout */
  --container-width: 1200px;
  --spacing-section: clamp(6rem, 10vw, 12rem);
  --spacing-inner: clamp(3rem, 5vw, 6rem);
}

/* 2. RESET & GLOBAL */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* 3. LAYOUT COMPONENTS (l-) */
.l-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.l-main {
  padding-top: var(--spacing-section);
  padding-bottom: var(--spacing-section);
}

/* 4. UI COMPONENTS (c-) */

/* Section Header */
.c-section-header {
  text-align: center;
  margin-bottom: var(--spacing-inner);
}

.c-section-header__en {
  display: block;
  font-family: var(--font-en);
  color: var(--color-decorative);
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}

.c-section-header__jp {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--color-black);
}

/* Button */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 3rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  transition: all 0.4s ease;
  position: relative;
  border-radius: 2px;
  border: 1px solid transparent;
}

.c-btn__arrow {
  margin-left: 1rem;
  transition: transform 0.3s ease;
}

.c-btn:hover .c-btn__arrow {
  transform: translateX(5px);
}

.c-btn--primary {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.c-btn--primary:hover {
  background-color: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}

.c-btn--solid {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.c-btn--solid:hover {
  background-color: var(--color-primary-dark);
}

.c-btn--large {
  padding: 1.3rem 4rem;
  font-size: 1.2rem;
}

/* Hero Section */
.c-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-black);
}

.c-hero__visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.c-hero__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
  z-index: 2;
}

.c-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-hero__content-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.c-hero__content {
  max-width: 800px;
  margin: 0 auto;
  color: var(--color-white);
}

.c-hero__concept {
  font-family: var(--font-en);
  font-size: 1rem;
  letter-spacing: 0.25em;
  color: var(--color-decorative);
  margin-bottom: 2rem;
}

.c-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 2.5rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.05em;
}

.c-hero__message {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 2.2;
  margin-bottom: 3.5rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}

.c-hero__message p {
  margin-bottom: 1.5rem;
}

.c-hero__message .hl {
  color: var(--color-decorative);
  font-weight: 700;
  font-size: 1.1em;
  border-bottom: 1px solid var(--color-decorative);
  padding-bottom: 2px;
}

/* Scroll Indicator */
.c-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--color-white);
  gap: 12px;
}

.c-scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  font-family: var(--font-en);
}

.c-scroll-indicator .line {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.c-scroll-indicator .line::before {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  animation: scrollDown 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollDown {
  0% {
    top: -100%;
  }

  100% {
    top: 100%;
  }
}

/* Feature Component */
.c-feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-inner);
}

.c-feature {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .c-feature {
    flex-direction: row;
    gap: 6rem;
  }

  .c-feature--reverse {
    flex-direction: row-reverse;
  }

  .c-feature__visual {
    flex: 1.2;
  }

  .c-feature__content {
    flex: 1;
  }
}

.c-feature__visual {
  width: 100%;
}

.c-feature__visual img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
  transition: transform 1.2s ease;
}

.c-feature:hover .c-feature__visual img {
  transform: scale(1.02);
}

.c-feature__number {
  font-family: var(--font-en);
  font-size: 5rem;
  color: var(--color-decorative);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.c-feature__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 1.5rem;
  color: var(--color-black);
  line-height: 1.5;
}

.c-feature__desc {
  color: var(--color-text-sub);
  font-size: 1.1rem;
  line-height: 2;
}

/* Closing Component */
.c-closing {
  position: relative;
  padding: 10rem 0;
  color: var(--color-white);
  text-align: center;
}

.c-closing__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.c-closing__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-closing__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.85);
  z-index: 2;
}

.c-closing__content {
  position: relative;
  z-index: 3;
}

.c-closing__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-bottom: 2.5rem;
  font-weight: 700;
  line-height: 1.4;
}

.c-closing__text {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 3rem;
  line-height: 2;
}

.c-closing__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.c-closing__note {
  font-size: 0.85rem;
  opacity: 0.6;
  letter-spacing: 0.05em;
}

/* Footer Component */
.c-footer {
  background: var(--color-black);
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 4rem 0;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* =========================================
   FAQ
   ========================================= */
.faq {
  padding: var(--spacing-section) 0;
  background-color: var(--color-white);
}

.faq__list {
  border-top: 1px solid rgba(15, 15, 15, 0.1);
}

.faq__item {
  border-bottom: 1px solid rgba(15, 15, 15, 0.1);
}

.faq__question {
  width: 100%;
  text-align: left;
  padding: 2.5rem 0;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-black);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faq__question:hover {
  color: var(--color-primary);
}

.faq__icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-text-main);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.faq__icon::before {
  width: 100%;
  height: 2px;
}

.faq__icon::after {
  height: 100%;
  width: 2px;
}

.faq__question[aria-expanded="true"] .faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq__answer {
  height: 0;
  overflow: hidden;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq__answer-inner {
  padding-bottom: 2.5rem;
  padding-right: 2rem;
  font-size: 1rem;
  color: var(--color-text-sub);
  line-height: 2;
}

/* Utilities */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}