/* ========================================
   Giselle - 共通スタイルシート
   ======================================== */

:root {
  --color-primary: #c8847a;
  --color-primary-light: #e8b4b0;
  --color-primary-dark: #9e5e56;
  --color-accent: #d4a0a0;
  --color-bg: #fdf8f7;
  --color-bg-light: #fff9f8;
  --color-bg-section: #f9f0ef;
  --color-text: #3d2b2b;
  --color-text-light: #7a5a5a;
  --color-text-sub: #a07070;
  --color-white: #ffffff;
  --color-border: #e8d5d3;
  --font-base: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --font-accent: 'DM Serif Display', 'Cormorant Garamond', Georgia, serif;
  --font-num: 'Cormorant Garamond', Georgia, serif;
  --shadow-soft: 0 4px 24px rgba(180, 100, 90, 0.10);
  --shadow-card: 0 2px 16px rgba(180, 100, 90, 0.08);
  --radius: 0px;
  --radius-sm: 0px;
  --max-width: 1080px;
  --transition: all 0.3s ease;
}

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

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

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background: 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;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4 {
  line-height: 1.4;
  font-weight: 500;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title .en {
  display: block;
  font-family: var(--font-accent);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title .ja {
  display: block;
  font-family: 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'Yu Mincho', YuMincho, 'Noto Serif JP', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.05em;
}

.section-title .ja span {
  color: var(--color-primary);
}

/* ========================================
   Layout
   ======================================== */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section--bg {
  background: var(--color-bg-section);
}

/* ========================================
   Header / Navigation
   ======================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 248, 247, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.header__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header__logo-main {
  font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--color-primary-dark);
  line-height: 1.1;
}
.header__logo-sub {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: var(--color-text-sub);
  line-height: 1.4;
  text-transform: lowercase;
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav a {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-primary);
  transition: var(--transition);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav a:hover,
.nav a.active {
  color: var(--color-primary);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-text);
  transition: var(--transition);
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--color-bg-light);
  border-bottom: 1px solid var(--color-border);
  z-index: 999;
  padding: 20px;
  flex-direction: column;
  gap: 0;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  padding: 14px 0;
  font-size: 0.9rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  letter-spacing: 0.05em;
}

.mobile-nav a:last-child {
  border-bottom: none;
}

/* ========================================
   CTA Button
   ======================================== */

.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #c8847a 0%, #b06860 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 18px 40px;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(180, 90, 80, 0.45), 0 2px 6px rgba(180, 90, 80, 0.25);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.12) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn-line:hover::after {
  transform: translateX(100%);
}

.btn-line:hover {
  background: linear-gradient(135deg, #b06860 0%, #9e5e56 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(180, 90, 80, 0.55), 0 4px 10px rgba(180, 90, 80, 0.30);
  color: #fff;
}

.btn-line svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.btn-line--large {
  font-size: 1.15rem;
  padding: 22px 52px;
  letter-spacing: 0.1em;
  box-shadow: 0 8px 28px rgba(180, 90, 80, 0.50), 0 3px 8px rgba(180, 90, 80, 0.28);
  animation: btn-pulse 2.8s ease-in-out infinite;
}

@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(180, 90, 80, 0.50), 0 3px 8px rgba(180, 90, 80, 0.28); }
  50% { box-shadow: 0 10px 36px rgba(180, 90, 80, 0.65), 0 4px 12px rgba(180, 90, 80, 0.35); }
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 12px 28px;
  border-radius: 50px;
  border: 1.5px solid var(--color-primary);
  transition: var(--transition);
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ========================================
   CTA Section (floating & page)
   ======================================== */

.cta-float {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  width: calc(100% - 40px);
  max-width: 400px;
  display: none;
}

.cta-float .btn-line {
  width: 100%;
  font-size: 1rem;
  padding: 18px 20px;
  box-shadow: 0 8px 32px rgba(200, 132, 122, 0.50);
}

.cta-section {
  background: linear-gradient(135deg, #f8e8e6 0%, #fdf4f3 50%, #f0dedd 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-section__inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

.cta-section__title {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.cta-section__sub {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 32px;
  line-height: 1.8;
}

.cta-section__note {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--color-text-sub);
}

/* ========================================
   Footer
   ======================================== */

.footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.75);
  padding: 48px 0 24px;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.footer__logo {
  text-align: center;
  margin-bottom: 32px;
}

.footer__logo-main {
  font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.9);
  line-height: 1.1;
}
.footer__logo-sub {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  text-transform: lowercase;
  margin-top: 4px;
}

.footer__info {
  text-align: center;
  font-size: 0.82rem;
  line-height: 2;
  color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.footer__nav a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
}

.footer__nav a:hover {
  color: var(--color-primary-light);
}

.footer__copy {
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
}

/* ========================================
   Features Zigzag
   ======================================== */

.features-section {
  background: var(--color-bg);
}
.features-zigzag {
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.fz-item {
  position: relative;
  height: 320px;
}
.fz-item--odd .fz-bg {
  position: absolute;
  top: 0;
  bottom: 60px;
  left: 0;
  right: 15%;
  background: #eedbd7;
  border-radius: var(--radius);
}
.fz-item--even .fz-bg {
  position: absolute;
  top: 0;
  bottom: 60px;
  left: 15%;
  right: 0;
  background: #eedbd7;
  border-radius: var(--radius);
}
.fz-item--odd .fz-card {
  position: absolute;
  top: 40%;
  bottom: 0;
  left: 0;
  width: 52%;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(180,100,90,0.10);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}
.fz-item--even .fz-card {
  position: absolute;
  top: 40%;
  bottom: 0;
  right: 0;
  width: 52%;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(180,100,90,0.10);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}
.fz-item--odd .fz-photo {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 46%;
  border-radius: var(--radius);
  overflow: hidden;
  z-index: 3;
  box-shadow: 0 6px 28px rgba(100,60,50,0.15);
}
.fz-item--even .fz-photo {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 46%;
  border-radius: var(--radius);
  overflow: hidden;
  z-index: 3;
  box-shadow: 0 6px 28px rgba(100,60,50,0.15);
}
.fz-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fz-card__label {
  font-size: 0.75rem;
  color: var(--color-primary);
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-family: var(--font-accent);
}
.fz-card__label::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: var(--color-primary-light);
}
.fz-card__num {
  font-size: 1.4rem;
  color: var(--color-text);
  font-style: italic;
  font-family: var(--font-accent);
}
.fz-card__title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 8px;
}
.fz-card__text {
  font-size: 0.82rem;
  color: var(--color-text-light);
  line-height: 1.9;
  margin-bottom: 8px;
}
.fz-card__note {
  font-size: 0.75rem;
  color: var(--color-primary);
}
@media (max-width: 768px) {
  .features-zigzag {
    gap: 40px;
  }
  .fz-item--odd,
  .fz-item--even {
    height: auto;
    display: flex;
    flex-direction: column;
  }
  /* 背景ブロックはスマホでは非表示 */
  .fz-item--odd .fz-bg,
  .fz-item--even .fz-bg {
    display: none;
  }
  /* 写真を常に上に表示（oddはDOM順がcard→photoなのでorderで入れ替え） */
  .fz-item--odd .fz-photo {
    order: -1;
  }
  .fz-item--odd .fz-photo,
  .fz-item--even .fz-photo {
    position: relative;
    inset: auto;
    width: 100%;
    height: 240px;
    box-shadow: none;
  }
  .fz-item--odd .fz-card,
  .fz-item--even .fz-card {
    position: relative;
    inset: auto;
    width: 100%;
    padding: 24px 20px;
    box-shadow: 0 2px 16px rgba(180,100,90,0.10);
  }
}

/* ========================================
   Steps Section
   ======================================== */

.steps-section {
  background: var(--color-white);
}
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
}
.step-item {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--color-border);
}
.step-item:last-child {
  border-bottom: none;
}
.step-item--even {
  grid-template-columns: 1.6fr 1fr;
}
.step-item--even .step-photo {
  order: 2;
}
.step-item--even .step-body {
  order: 1;
}
.step-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
}
.step-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}
.step-photo:hover img {
  transform: scale(1.03);
}
.step-num {
  font-family: var(--font-accent);
  font-size: 2.4rem;
  color: var(--color-primary-light);
  font-style: italic;
  line-height: 1;
  margin-bottom: 8px;
}
.step-title {
  font-family: 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'Yu Mincho', YuMincho, 'Noto Serif JP', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
.step-text {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 2;
}
@media (max-width: 768px) {
  .step-item,
  .step-item--even {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 36px 0;
  }
  .step-item--even .step-photo {
    order: 0;
  }
  .step-item--even .step-body {
    order: 1;
  }
}

/* ========================================
   Owner Section
   ======================================== */

.owner-section { background: var(--color-white); }
.owner-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
}
.owner-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.owner-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.owner-message__concept {
  font-family: 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'Yu Mincho', YuMincho, 'Noto Serif JP', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.owner-message__text {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 2.1;
  margin-bottom: 28px;
}
.owner-message__text strong {
  color: var(--color-primary-dark);
}
.owner-message__name {
  font-size: 0.82rem;
  color: var(--color-text-sub);
  letter-spacing: 0.1em;
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
}
@media (max-width: 768px) {
  .owner-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 480px;
  }
}

/* ========================================
   Page Hero (sub pages)
   ======================================== */

.page-hero {
  padding: 120px 0 60px;
  text-align: center;
  background: linear-gradient(180deg, #f9eeec 0%, var(--color-bg) 100%);
  margin-top: 64px;
}

.page-hero__en {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.page-hero__title {
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--color-text);
  letter-spacing: 0.1em;
}

/* ========================================
   Cards
   ======================================== */

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

/* ========================================
   Divider
   ======================================== */

.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 auto 48px;
  max-width: 200px;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-primary-light);
}

.divider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .section-title .ja {
    font-size: 1.3rem;
  }

  .nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .cta-float {
    display: block;
  }

  .page-hero {
    padding: 100px 0 48px;
  }

  .page-hero__title {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .btn-line--large {
    font-size: 1rem;
    padding: 18px 32px;
  }
}

/* ========================================
   Number / Price Font (Cormorant Garamond)
   ======================================== */

.trial-price-box__price,
.hero__price-badge .price,
.hero__price-badge .original,
.voice__rating-num,
.cta-section__price strong,
.hero__rating-num,
.step-num,
.fz-card__num {
  font-family: var(--font-num);
  font-weight: 400;
}

/* ========================================
   Mobile text wrapping fixes
   ======================================== */

@media (max-width: 600px) {
  /* セクションタイトル */
  .section-title .ja {
    font-size: clamp(1.05rem, 4.5vw, 1.3rem);
    letter-spacing: 0.04em;
  }

  /* お悩みリード文 */
  .worries__lead {
    font-size: 0.82rem;
    letter-spacing: 0.03em;
  }

  /* 初回体験メニュー名 */
  .trial-info__name {
    font-size: 1.1rem;
  }

  /* FAQ question */
  .faq-item summary {
    font-size: 0.82rem;
    padding: 16px 18px;
    white-space: normal;
  }

  /* インラインCTA */
  .inline-cta p {
    font-size: 0.82rem;
    line-height: 1.8;
  }

  /* クロージングCTA */
  .cta-section__title {
    font-size: 1.2rem;
  }
  .cta-section__sub {
    font-size: 0.82rem;
  }
  .cta-section__price {
    font-size: 0.82rem;
  }
  .cta-section__note {
    font-size: 0.75rem;
    line-height: 2;
  }

  /* フッター */
  .footer__info {
    font-size: 0.75rem;
    line-height: 2.2;
  }
}
