@charset "UTF-8";
/* ==============================================
   guide.css  —  /guide ガイドページ固有スタイル
   common.css と合わせて読み込む
   デザイン語彙は LP（lp.css）に準拠
   ============================================== */

:root {
  --step-line:  #d1fae5;
  --navy:       rgb(11 27 43);    /* LP Hero と同じ深いネイビー */
}

/* ── アニメーション ── */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.4); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Hero（LP と同じ Navy + ノイズ + グロウ）── */
.guide-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--navy);
  color: #fff;
  padding: 80px 20px 72px;
  text-align: center;
}
/* ノイズテクスチャ（LP と同じ）*/
.guide-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
}
/* ティール グロウ（背景に光を落とす）*/
.guide-hero::after {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(33,196,166,.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.guide-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  animation: fade-up .6s ease both;
}
/* バッジ（LP の hero__badge と同じ語彙）*/
.guide-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(8px);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: rgba(255,255,255,.7);
  margin-bottom: 32px;
  text-transform: uppercase;
}
.guide-hero__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #21c4a6;
  animation: pulse-dot 2s infinite;
}
.guide-hero__title {
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
/* アクセント文字はセリフ+ティール（LP と同じ）*/
.guide-hero__title .accent {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: #21c4a6;
  text-shadow: 0 0 40px rgba(33,196,166,.4);
}
.guide-hero__sub {
  font-size: 1rem;
  color: rgba(255,255,255,.6);
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto;
}

/* ── Container ── */
.guide-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── 入口ページ 目的選択 ── */
.guide-select {
  padding: 64px 0;
  text-align: center;
}
.guide-select__title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.guide-select__sub {
  color: var(--ink-sub);
  margin-bottom: 48px;
  font-size: .95rem;
}
.guide-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}
.guide-card {
  display: block;
  text-decoration: none;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 28px 20px;
  text-align: center;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  color: var(--ink);
}
.guide-card:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(33,196,166,.15);
}
.guide-card--hot {
  border-color: var(--teal);
  background: var(--teal-light);
  box-shadow: 0 4px 16px rgba(33,196,166,.12);
}
.guide-card__icon { font-size: 2.2rem; margin-bottom: 12px; }
.guide-card__title {
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.guide-card__desc { font-size: .8rem; color: var(--ink-sub); line-height: 1.5; }
.guide-card__badge {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 10px;
  margin-bottom: 10px;
}

/* ── タイムライン ── */
.guide-timeline {
  background: var(--teal-light);
  border-radius: 16px;
  padding: 24px 24px;
  margin: 40px 0;
  border: 1px solid rgba(33,196,166,.2);
}
.guide-timeline__title {
  font-size: .8rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.guide-timeline__track {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.guide-timeline__item {
  font-size: .85rem;
  font-weight: 600;
  color: var(--teal-dark);
  white-space: nowrap;
}
.guide-timeline__arrow {
  color: var(--teal);
  font-size: .9rem;
  margin: 0 4px;
}
.guide-timeline__note {
  font-size: .78rem;
  color: var(--ink-sub);
  margin-top: 10px;
}

/* ── STEPリスト ── */
.guide-steps { margin: 56px 0; }
.guide-steps__title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.guide-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0 20px;
  position: relative;
}
.guide-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 52px;
  bottom: -8px;
  width: 2px;
  background: linear-gradient(to bottom, #21c4a6, rgba(33,196,166,.15));
}
.guide-step__num {
  width: 52px;
  height: 52px;
  background: var(--navy);
  color: #21c4a6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .95rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  border: 1.5px solid rgba(33,196,166,.3);
  box-shadow: 0 0 16px rgba(33,196,166,.15);
}
.guide-step__body { padding: 0 0 44px 0; }
.guide-step__header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
  padding-top: 12px;
}
.guide-step__title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.guide-step__time {
  font-size: .75rem;
  color: var(--ink-sub);
  background: var(--bg);
  padding: 2px 10px;
  border-radius: 10px;
  white-space: nowrap;
}
.guide-step__desc {
  font-size: .9rem;
  color: var(--ink-sub);
  margin-bottom: 14px;
  line-height: 1.65;
}
.guide-step__op {
  background: var(--bg);
  border-left: 3px solid var(--teal);
  border-radius: 0 10px 10px 0;
  padding: 12px 16px;
  font-size: .87rem;
  margin-bottom: 12px;
  line-height: 1.6;
}
.guide-step__op-label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.guide-step__op code {
  background: rgba(33,196,166,.12);
  color: var(--teal-dark);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: .85em;
}
.guide-step__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.guide-step__link {
  font-size: .82rem;
  color: var(--teal-dark);
  text-decoration: none;
  border: 1px solid rgba(33,196,166,.4);
  padding: 5px 14px;
  border-radius: 20px;
  transition: background .2s, color .2s, border-color .2s;
  background: rgba(33,196,166,.04);
}
.guide-step__link:hover {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.guide-step__link--tool {
  background: var(--teal-light);
  border-color: rgba(33,196,166,.5);
}

/* ── 注意・補足ボックス ── */
.guide-note {
  background: #fff8e1;
  border-left: 4px solid #f59e0b;
  border-radius: 0 10px 10px 0;
  padding: 14px 16px;
  font-size: .87rem;
  margin: 16px 0;
  color: #92400e;
  line-height: 1.6;
}
.guide-check {
  background: var(--teal-light);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 24px 0;
  border: 1px solid rgba(33,196,166,.2);
}
.guide-check__title {
  font-size: .85rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 12px;
}
.guide-check__item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: .9rem;
  margin-bottom: 6px;
}
.guide-check__item::before { content: '✅'; flex-shrink: 0; }

/* ── 料金比較表 ── */
.guide-compare {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: .9rem;
  border-radius: 12px;
  overflow: hidden;
}
.guide-compare th {
  background: var(--navy);
  color: rgba(255,255,255,.8);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .03em;
}
.guide-compare td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.guide-compare tr:nth-child(even) td { background: var(--bg); }
.guide-compare .highlight td {
  background: var(--teal-light);
  font-weight: 700;
  color: var(--teal-dark);
}

/* ── CTA（LP の btn-brand グロウを踏襲）── */
.guide-cta {
  background: var(--navy);
  border-radius: 24px;
  padding: 48px 32px;
  text-align: center;
  color: #fff;
  margin: 56px 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(33,196,166,.15);
}
/* CTAのグロウ背景 */
.guide-cta::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(33,196,166,.15) 0%, transparent 70%);
  pointer-events: none;
}
.guide-cta__title {
  position: relative;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.guide-cta__sub {
  position: relative;
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 28px;
  line-height: 1.7;
}
.guide-cta__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: var(--navy);
  font-size: .95rem;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 0 32px rgba(33,196,166,.35);
  letter-spacing: -0.01em;
}
.guide-cta__btn:hover {
  background: #17a08a;
  transform: translateY(-2px);
  box-shadow: 0 0 48px rgba(33,196,166,.45);
}
.guide-cta__note {
  position: relative;
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  margin-top: 14px;
}

/* ── 関連ガイドリンク ── */
.guide-related {
  border-top: 1px solid var(--border);
  padding: 40px 0 0;
  margin-top: 48px;
}
.guide-related__title {
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink-sub);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
}
.guide-related__list { display: flex; flex-wrap: wrap; gap: 10px; }
.guide-related__item {
  display: block;
  text-decoration: none;
  color: var(--teal-dark);
  font-size: .85rem;
  font-weight: 600;
  border: 1.5px solid rgba(33,196,166,.35);
  padding: 8px 18px;
  border-radius: 20px;
  background: rgba(33,196,166,.04);
  transition: background .2s, color .2s, border-color .2s;
}
.guide-related__item:hover {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

/* ── レスポンシブ ── */
@media (max-width: 640px) {
  .guide-hero { padding: 60px 20px 52px; }
  .guide-cards { grid-template-columns: 1fr 1fr; }
  .guide-step { grid-template-columns: 40px 1fr; gap: 0 12px; }
  .guide-step__num { width: 40px; height: 40px; font-size: .85rem; }
  .guide-step:not(:last-child)::before { left: 19px; top: 40px; }
  .guide-step__header { flex-direction: column; gap: 6px; }
  .guide-step__time { align-self: flex-start; }
  .guide-cta { padding: 36px 24px; border-radius: 18px; }
  .guide-cta__title { font-size: 1.2rem; }
}
