/* 案内ページ（portfolio/guide/）専用のスタイル。
   デザインは Canva「サーバー・ドメインのご準備について｜00:01x」（CANVA_DESIGN.md 参照）。
   共通部分（ヘッダー・フッター・ボタン等）は ../top/style.css を使う */

/* ===== 共通の土台（../top/style.css が読めない開き方でも崩れないように、同じ値をここにも持たせる） ===== */
:root {
  --bg: #fbfaf7;
  --surface: #f3f1ec;
  --surface-2: #e6e3dc;
  --text: #161614;
  --muted: #6b6862;
  --line: #e3e0d9;
  --accent: #f04e1f;
  --font-en: "Space Grotesk", "Noto Sans JP", sans-serif;
  --font-ja: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --header-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ja);
  line-height: 1.8;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  word-break: auto-phrase;
}
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 247, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-family: var(--font-en); font-weight: 700; font-size: 1.2rem; text-decoration: none; letter-spacing: 0.01em; }
.logo span { color: var(--accent); }
.site-nav { display: flex; gap: 28px; font-family: var(--font-en); font-size: 0.85rem; letter-spacing: 0.12em; }
.site-nav a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.site-nav a:hover { color: var(--text); }
.site-nav a.site-nav__cta { color: var(--accent); }

.site-footer { padding: 72px 0 40px; border-top: 1px solid var(--line); }
.site-footer__big { font-family: var(--font-en); font-weight: 700; font-size: clamp(3rem, 12vw, 8rem); line-height: 1; letter-spacing: -0.04em; color: var(--surface-2); }
.site-footer__big span { color: rgba(240, 78, 31, 0.35); }
.site-footer__meta { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 0.78rem; color: var(--muted); }
@media (max-width: 640px) {
  .site-nav { gap: 12px; font-size: 0.7rem; letter-spacing: 0.06em; }
}

/* ===== このページの色 ===== */
.guide {
  --g-text: #3a3a3a;      /* 本文・見出し */
  --g-sub: #555555;       /* 補足の本文 */
  --g-note: #6b6b6b;      /* 注記 */
  --g-peach: #fde6dc;     /* 淡いピーチ（カード背景） */
  --g-peach-line: #f6b9a3;
  --g-beige: #f3f0ea;     /* グレージュのカード */
  --g-card-line: #e6e1d8; /* 白カードの枠線 */
  --g-dark: #3a3a3a;      /* 相談エリアの背景 */
  color: var(--g-text);
}

.g-wrap { width: min(720px, 100% - 32px); margin-inline: auto; } /* Canva（幅800・左右70px余白）と同じ文字の並び幅 */

/* ===== イラスト共通（SVG の線・塗り） ===== */
.il-s { fill: none; stroke: var(--text); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.il-s--thin { stroke-width: 2; }
.il-w, .il-w.il-s { fill: #fff; }
.il-sur, .il-sur.il-s { fill: var(--surface); }
.il-soft { fill: #fde6dc; }
.il-soft-a, .il-soft-a.il-s { fill: #fcd3c3; }
.il-a { fill: var(--accent); }
.il-ink { fill: var(--text); }
.il-a-s { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.il-a-s--thin { stroke-width: 2.5; }
.il-w-s { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.il-dash { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 7; }
.il-text { font-family: var(--font-en); font-weight: 700; font-size: 11px; fill: var(--text); letter-spacing: 0.02em; }
.il-text--sm { font-size: 12px; }
.il-yen { font-family: var(--font-en); font-weight: 700; font-size: 18px; fill: var(--accent); text-anchor: middle; }

/* ===== ヒーロー ===== */
.g-hero__band { background: var(--accent); padding: 88px 0; }
.g-hero__en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(3.2rem, 11vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--g-text);
}
.g-hero__title {
  margin-top: 36px;
  color: #fff;
  font-weight: 900;
  font-size: clamp(1.9rem, 5.5vw, 2.75rem);
  line-height: 1.35;
  letter-spacing: 0.03em;
}
.g-hero__lead { padding: 48px 0 8px; font-size: clamp(1.05rem, 2.6vw, 1.375rem); line-height: 1.6; }

/* ===== セクション共通 ===== */
.g-section { padding: 64px 0; }
.g-section:last-of-type { padding-bottom: 96px; }

.g-head { margin: 0 0 20px; }
.g-head__en {
  display: block;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--g-text);
}
.g-head__ja { display: block; margin-top: 6px; font-size: clamp(1.15rem, 3vw, 1.5rem); font-weight: 700; color: var(--accent); }
.g-desc { margin: 0 0 28px; font-size: 1rem; color: var(--g-text); }

.g-stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.g-label { display: flex; align-items: center; gap: 10px; font-family: var(--font-en); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; color: var(--accent); }
.g-card-title { margin: 6px 0 8px; font-size: clamp(1.15rem, 2.8vw, 1.375rem); font-weight: 700; line-height: 1.5; color: var(--g-text); }
.g-card-text { font-size: clamp(0.95rem, 2.2vw, 1.0625rem); line-height: 1.7; color: var(--g-sub); }
.g-badge {
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-ja);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}
.g-note { margin-top: 18px; font-size: 0.85rem; color: var(--g-note); }

/* ===== Basics：ピーチのカードを縦に2枚 ===== */
.basics { display: grid; gap: 20px; }
.basic { padding: 28px 32px 30px; background: var(--g-peach); border-radius: 24px; }
.basic__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.basic__title { margin-top: 4px; font-size: clamp(1.5rem, 4vw, 1.875rem); font-weight: 700; line-height: 1.3; }
.basic__art { flex: none; width: 180px; height: auto; margin-top: -8px; }
.basic__text { margin-top: 14px; font-size: clamp(0.95rem, 2.2vw, 1.0625rem); line-height: 1.7; color: var(--g-text); }
.basic__cost { margin-top: 14px; font-weight: 700; font-size: 0.95rem; }

/* ===== Why：白いカードを縦に3枚 ===== */
.reason {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  background: #fff;
  border: 2px solid var(--g-card-line);
  border-radius: 24px;
}
.reason__icon { flex: none; width: 64px; height: 64px; }

/* ===== Flow：STEP カード ===== */
.g-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px 28px;
  background: var(--g-beige);
  border: 2px solid transparent;
  border-radius: 20px;
}
.g-step--you { background: var(--g-peach); border-color: var(--g-peach-line); }
.g-step__icon { width: 52px; height: 52px; }

/* ===== Support ===== */
.support { padding: 28px 32px; border-radius: 24px; }
.support--us { background: #fff; border: 2px solid var(--accent); }
.support--you { background: var(--g-beige); }
.support__title { font-size: clamp(1.15rem, 2.8vw, 1.375rem); font-weight: 700; margin-bottom: 16px; }
.support--us .support__title { color: var(--accent); }
.check { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: clamp(0.98rem, 2.4vw, 1.125rem); line-height: 1.7; }
.check li { position: relative; padding-left: 32px; }
.check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--accent);
}
.check li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: calc(0.3em + 6px);
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.support--you .check li::before { background: #dcd6cb; }
.support--you .check li::after { border-color: var(--g-text); }

/* ===== FAQ ===== */
.faq { display: grid; gap: 10px; }
.faq__item { background: var(--g-beige); border-radius: 16px; }
.faq__item summary {
  position: relative;
  padding: 20px 52px 20px 24px;
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.1875rem);
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before { content: "Q. "; }
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -7px;
  border-right: 2px solid var(--g-note);
  border-bottom: 2px solid var(--g-note);
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__item p { padding: 0 24px 22px; font-size: clamp(0.95rem, 2.2vw, 1.0625rem); line-height: 1.6; color: var(--g-sub); }

/* ===== 相談への誘導 ===== */
.g-cta { padding: 88px 0 96px; background: var(--g-dark); text-align: center; }
.g-cta__en { font-family: var(--font-en); font-weight: 700; font-size: clamp(2.6rem, 8vw, 4rem); line-height: 1.1; color: #fff; letter-spacing: -0.01em; }
.g-cta__text { margin: 16px 0 32px; color: #e0ddd6; font-size: clamp(0.95rem, 2.4vw, 1.125rem); }
.g-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, background-color 0.2s;
}
.g-cta__btn:hover { transform: translateY(-2px); background: #d8431a; }

/* ===== スマホ ===== */
@media (max-width: 640px) {
  .g-hero__band { padding: 72px 0 52px; }
  .g-hero__title { margin-top: 24px; }
  .g-hero__lead { padding-top: 32px; }
  .g-section { padding: 48px 0; }
  .basic { padding: 22px 20px 24px; }
  .basic__top { flex-direction: column-reverse; }
  .basic__art { width: 100%; max-width: 220px; margin: 0 auto 4px; }
  .reason { padding: 20px; align-items: flex-start; }
  .reason__icon { width: 48px; height: 48px; }
  .g-step { grid-template-columns: 40px 1fr; gap: 14px; padding: 20px; }
  .g-step__icon { width: 40px; height: 40px; }
  .support { padding: 22px 20px; }
  .faq__item summary { padding: 18px 44px 18px 18px; }
  .faq__item summary::after { right: 18px; }
  .faq__item p { padding: 0 18px 20px; }
  .g-cta { padding: 64px 0 72px; }
}

/* ===== Canva に合わせる：アイコンなしのカード、FAQ は開いたまま ===== */
.reason { display: block; }
.g-step { display: block; }
.faq__item summary { cursor: default; pointer-events: none; padding-right: 24px; }
.faq__item summary::after { content: none; }
@media (max-width: 640px) {
  .reason, .g-step { padding: 20px; }
  .faq__item summary { padding-right: 18px; }
}

/* メニューが4つあるので、とても狭い画面では詰める（top/style.css と同じ） */
@media (max-width: 400px) {
  .site-nav { gap: 9px; font-size: 0.64rem; letter-spacing: 0.03em; }
}
