/* ============================================
   ウォッシャブルフォーマル お手入れガイド
   style.css
   ============================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300&family=Zen+Kaku+Gothic+New:wght@300;400&display=swap');

/* ── カラー変数 ── */
:root {
  --bg:              #ffffff;
  --bg-soft:         #f7f8fa;
  --navy:            #1c2b45;
  --navy-mid:        #2e4166;
  --charcoal:        #444c5a;
  --charcoal-light:  #6b7585;
  --blue:            #4a90c4;
  --blue-light:      #6aaed6;
  --divider:         rgba(28, 43, 69, 0.12);
  --divider-blue:    rgba(74, 144, 196, 0.3);
}

/* ── リセット ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ── ベース ── */
body {
  background: var(--bg);
  color: var(--charcoal);
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

/* 游明朝スタック */
.mincho,
.hero-title,
.section-heading,
.step-title {
  font-family: 'Yu Mincho', '游明朝', 'YuMincho', 'Hiragino Mincho ProN', 'Noto Serif JP', Georgia, serif;
}


/* ─────────── HERO ─────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* 薄いグリッド線 */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(28,43,69,0.04) 79px, rgba(28,43,69,0.04) 80px),
    repeating-linear-gradient(0deg,  transparent, transparent 79px, rgba(28,43,69,0.04) 79px, rgba(28,43,69,0.04) 80px);
  pointer-events: none;
}

/* 左側装飾ライン */
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--navy), transparent);
}

.hero-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.35em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.2s forwards;
}

.hero-title {
  font-size: clamp(30px, 5.5vw, 58px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.14em;
  color: var(--navy);
  margin-bottom: 0;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.4s forwards;
}

.hero-title em {
  font-style: normal;
  color: var(--blue);
}

.hero-divider {
  width: 48px;
  height: 1px;
  background: var(--blue);
  margin: 36px auto;
  opacity: 0;
  animation: fadeIn 1s ease 0.6s forwards;
}

.hero-sub {
  font-size: clamp(13px, 1.8vw, 15px);
  color: var(--charcoal-light);
  max-width: 440px;
  line-height: 2.1;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.7s forwards;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  animation: fadeIn 1s ease 1.2s forwards;
}

.scroll-hint span {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--charcoal-light);
  text-transform: uppercase;
}

.scroll-arrow {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}


/* ─────────── INTRO ─────────── */
.intro {
  background: var(--bg-soft);
  padding: 88px 24px;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

.intro-inner {
  max-width: 660px;
  margin: 0 auto;
}

.section-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--blue);
  text-transform: uppercase;
  display: block;
  margin-bottom: 18px;
}

.section-heading {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 28px;
  line-height: 1.65;
}

.intro-text {
  font-size: 14px;
  color: var(--charcoal);
  line-height: 2.3;
}


/* ─────────── STEPS ─────────── */
.steps {
  background: var(--bg);
  padding: 88px 24px 100px;
}

.steps-inner {
  max-width: 700px;
  margin: 0 auto;
}

.steps-header {
  text-align: center;
  margin-bottom: 72px;
}

.steps-header .section-heading {
  margin-bottom: 0;
}

/* step item */
.step-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 0 32px;
  margin-bottom: 60px;
  position: relative;
}

.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 29px;
  top: 60px;
  bottom: -60px;
  width: 1px;
  background: linear-gradient(to bottom, var(--divider-blue), var(--divider));
}

.step-num {
  width: 60px;
  height: 60px;
  border: 1.5px solid var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 300;
  color: var(--navy);
  background: var(--bg);
  position: relative;
  z-index: 1;
}

.step-content {
  padding-top: 14px;
}

.step-title {
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 10px;
}

.step-text {
  font-size: 13.5px;
  color: var(--charcoal);
  line-height: 2.2;
}

/* Point box */
.step-point {
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(74, 144, 196, 0.06);
  border-left: 2.5px solid var(--blue);
  font-size: 13px;
  color: var(--navy-mid);
  line-height: 2;
}

.step-point strong {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue);
  margin-right: 10px;
}

/* Caution box */
.caution-box {
  margin-top: 16px;
  padding: 16px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--divider);
  border-radius: 2px;
}

.caution-box p {
  font-size: 12.5px;
  color: var(--charcoal-light);
  line-height: 2.2;
  padding-left: 16px;
  position: relative;
}

.caution-box p::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 12px;
}


/* ─────────── FOOTER ─────────── */
.footer-note {
  background: var(--navy);
  padding: 72px 24px;
  text-align: center;
}

.footer-note p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 480px;
  margin: 0 auto;
  line-height: 2.3;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.35em;
  color: var(--blue-light);
  text-transform: uppercase;
  display: block;
  margin-top: 32px;
}


/* ─────────── FOOTER 発行元 ─────────── */
.footer-divider {
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 48px auto 40px;
}

.footer-company {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-logo-img {
  display: block;
  width: 180px;
  height: 52px;
  object-fit: contain;
}

/* ロゴ画像がない場合のダミー枠 */
.footer-logo-dummy {
  display: none;
  width: 180px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  align-items: center;
  justify-content: center;
}

.footer-logo-dummy span {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
}

.footer-company-name {
  font-family: 'Yu Mincho', '游明朝', 'YuMincho', 'Hiragino Mincho ProN', 'Noto Serif JP', Georgia, serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.85);
}

.footer-company-note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.08em;
  line-height: 1.8;
}

/* ─────────── アニメーション ─────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}


/* ─────────── NAV DOTS ─────────── */
.nav-dots {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 100;
}

.nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--divider);
  border: 1px solid var(--charcoal-light);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, border-color 0.3s;
}

.nav-dot.active {
  background: var(--blue);
  border-color: var(--blue);
  transform: scale(1.5);
}


/* ─────────── レスポンシブ ─────────── */
@media (max-width: 600px) {
  .nav-dots { display: none; }
  .step-item { grid-template-columns: 48px 1fr; gap: 0 20px; }
  .step-num  { width: 48px; height: 48px; font-size: 16px; }
  .step-item:not(:last-child)::after { left: 23px; }
}
