/* =========================================================
   DDPARK 2026 — 共通スタイル
   色・文字は「はじめてのAI活用講座」のスライドとそろえています
   ========================================================= */

:root {
  /* 色 */
  --navy: #1E2940;        /* 見出し・線 */
  --ink: #2E3650;         /* 本文 */
  --muted: #5A6172;       /* 補足 */
  --cream: #F7F2E8;       /* 背景 */
  --paper: #FFFDF7;       /* カード */
  --sand: #EFE6D4;        /* 背景2 */
  --teal: #41B79C;        /* ブランド色（ロゴ） */
  --teal-dark: #1E7F6A;   /* ボタン・リンク（白文字でも読める濃さ） */
  --mint: #CDE5E1;
  --yellow: #F2C14E;
  --yellow-soft: #FBE7A6;

  /* 文字 */
  --font-body: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  --font-display: "Dela Gothic One", "Hiragino Sans", sans-serif;
  --font-hand: "Yomogi", "Zen Maru Gothic", cursive;

  /* かたち */
  --radius: 14px;
  --line: 3px solid var(--navy);
  --shadow: 6px 6px 0 var(--navy);
  --shadow-yellow: 6px 6px 0 var(--yellow);
  --container: 1120px;
  --gutter: 24px;
}

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: 0.02em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--teal-dark); outline-offset: 3px; }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 公開前に埋める場所（下書き用の目印） */
.todo {
  display: inline-block;
  padding: 0 8px;
  border: 2px dashed #C0392B;
  border-radius: 6px;
  background: #FFF4E5;
  color: #A93226;
  font-size: 0.85em;
  font-weight: 700;
  line-height: 1.6;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 232, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--navy);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.site-logo img { height: 34px; width: auto; }
/* 左上：AI講座のマーク（仮。img/service-logo/ai-lecture.svg を上書きすれば差しかわる） */
.site-logo { display: flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; }
.site-logo img.site-logo__mark { width: 40px; height: 40px; }
.site-logo__text { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.site-logo__name { font-family: var(--font-display); font-size: 21px; white-space: nowrap; }
.site-logo__by { font-size: 10px; font-weight: 700; letter-spacing: 0.16em; color: var(--teal-dark); white-space: nowrap; }
.site-nav ul { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.site-nav a:hover { background: var(--mint); }
.site-nav .btn { margin-left: 8px; padding: 8px 18px; font-size: 15px; }
.nav-toggle { display: none; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--navy);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { color: var(--navy); transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--navy); }
.btn--primary { background: var(--teal-dark); color: #FFFFFF; }
.btn--primary:hover { color: #FFFFFF; }
.btn--yellow { background: var(--yellow); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- 見出し ---------- */
.eyebrow {
  font-family: var(--font-hand);
  font-size: 20px;
  color: var(--teal-dark);
  letter-spacing: 0.06em;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.35;
  color: var(--navy);
}
.hl { background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%); }
.section-head { display: grid; gap: 8px; margin-bottom: 48px; }
.section-head--center { text-align: center; justify-items: center; }
.section-lead { max-width: 720px; color: var(--muted); }

/* ---------- セクション ---------- */
.section { padding: 96px 0; }
.section--paper { background: var(--paper); border-block: 2px solid var(--navy); }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); color: #E9EDF5; }
.section--navy .section-title { color: #FFFFFF; }
.section--navy .eyebrow { color: var(--yellow); }

/* ---------- ヒーロー（トップ） ---------- */
.hero { padding: 72px 0 96px; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 5.2vw, 62px);
  line-height: 1.3;
  color: var(--navy);
  margin: 12px 0 24px;
}
.hero__lead { font-size: 18px; margin-bottom: 32px; max-width: 34em; }
.hero__visual { position: relative; min-height: 440px; }
.hero__circle {
  position: absolute; inset: 20px 0 0 30px;
  border-radius: 50%;
  background: var(--yellow-soft);
}
.note {
  position: absolute;
  width: 230px;
  padding: 20px 24px;
  border: var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--navy);
  text-decoration: none;
  transition: transform 0.2s;
}
.note:hover { color: var(--navy); transform: rotate(0deg) scale(1.04) !important; }
.note__name { display: block; font-family: var(--font-display); font-size: 28px; line-height: 1.2; }
.note__sub { display: block; font-family: var(--font-hand); font-size: 17px; margin-top: 4px; }
.note--1 { top: 10px; left: 40px; background: var(--yellow); transform: rotate(-6deg); }
.note--2 { top: 120px; right: 0; background: var(--mint); transform: rotate(4deg); }
.note--3 { top: 240px; left: 10px; background: var(--paper); transform: rotate(-3deg); }
.note--4 { top: 330px; right: 30px; background: #F6D3C8; transform: rotate(5deg); }

/* ---------- お悩み ---------- */
.worries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.worry {
  position: relative;
  padding: 24px 22px;
  border: var(--line);
  border-radius: 18px;
  background: var(--paper);
  font-family: var(--font-hand);
  font-size: 18px;
  line-height: 1.6;
  color: var(--navy);
}
.worry::after {
  content: "";
  position: absolute;
  bottom: -14px; left: 32px;
  width: 22px; height: 22px;
  background: var(--paper);
  border-right: var(--line);
  border-bottom: var(--line);
  transform: rotate(45deg);
}
.worries-answer { margin-top: 48px; text-align: center; font-size: 20px; font-weight: 700; color: var(--navy); }

/* ---------- カード ---------- */
.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.card--mint { background: var(--mint); }
.card--yellow { background: var(--yellow-soft); }
.card__title { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.35; color: var(--navy); }
.card__sub { font-family: var(--font-hand); font-size: 18px; color: var(--teal-dark); }
.card__foot { margin-top: auto; padding-top: 8px; }
.tag {
  align-self: flex-start;
  padding: 2px 14px;
  border: 2px solid var(--navy);
  border-radius: 999px;
  background: var(--yellow);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}
.check-list { display: grid; gap: 6px; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before {
  content: "";
  position: absolute; left: 2px; top: 0.55em;
  width: 14px; height: 8px;
  border-left: 3px solid var(--teal-dark);
  border-bottom: 3px solid var(--teal-dark);
  transform: rotate(-45deg);
}
.price { font-weight: 700; color: var(--navy); }

.grid { display: grid; gap: 32px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- 進め方 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 28px 24px 24px; border: var(--line); border-radius: var(--radius); background: var(--paper); }
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid; place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 12px;
  border: var(--line);
  border-radius: 50%;
  background: var(--yellow);
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--navy);
}
.step:nth-child(even)::before { background: var(--mint); }
.steps--5 { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.steps--5 .step { padding: 24px 18px 20px; }
.step__title { font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.step p { font-size: 15px; line-height: 1.75; }
.promise {
  margin-top: 40px;
  padding: 20px 28px;
  border-radius: 8px;
  background: var(--yellow-soft);
  font-family: var(--font-hand);
  font-size: 20px;
  color: var(--navy);
  transform: rotate(-1deg);
  text-align: center;
}

/* ---------- プラン（料金） ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 12px; padding: 32px 28px; border: var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.plan--featured { background: var(--yellow-soft); }
.plan__name { font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.35; color: var(--navy); }
.plan__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.plan__meta span { padding: 0 12px; border-radius: 999px; background: var(--navy); color: #FFFFFF; font-size: 13px; font-weight: 700; line-height: 1.9; }
.plan__price { font-size: 22px; font-weight: 900; color: var(--navy); }
/* 2026-11-11：料金を入れた。「円（税別）」などは小さく、だれ向けの料金かは上に小さく */
.plan__price small { font-size: 14px; font-weight: 700; }
.plan__price-for { display: block; font-size: 13px; font-weight: 700; color: var(--muted); }
.plan__note { font-size: 14px; color: var(--muted); }

/* ---------- 作例 ---------- */
.samples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sample {
  display: grid; place-items: center;
  aspect-ratio: 4 / 3;
  border: 3px dashed var(--navy);
  border-radius: var(--radius);
  background: var(--sand);
  color: var(--muted);
  font-family: var(--font-hand);
  font-size: 18px;
  text-align: center;
  padding: 16px;
}

/* ---------- リンクバナー ---------- */
.link-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.link-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 28px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  color: var(--navy);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.link-card:hover { color: var(--navy); transform: translate(2px, 2px); box-shadow: 4px 4px 0 var(--navy); }
.link-card__title { font-family: var(--font-display); font-size: 22px; line-height: 1.4; }
.link-card__more { margin-top: auto; font-weight: 700; color: var(--teal-dark); }

/* ---------- プロフィール ---------- */
.profile { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: center; }
.profile__badge {
  display: grid; place-items: center;
  aspect-ratio: 1;
  border: var(--line);
  border-radius: 50%;
  background: var(--mint);
  box-shadow: var(--shadow);
  text-align: center;
}
.profile__badge strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 40px; color: var(--navy); line-height: 1.2; }
.profile__badge span { font-family: var(--font-hand); font-size: 18px; color: var(--navy); }
.profile__name { font-size: 24px; font-weight: 900; color: var(--navy); margin-bottom: 12px; }
.profile__name small { font-size: 16px; font-weight: 500; color: var(--muted); margin-left: 8px; }
.profile p + p { margin-top: 12px; }

/* ---------- 自社事業 ---------- */
.own { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; padding: 40px; border: var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.own img { width: 100%; max-width: 360px; }

/* ---------- お問い合わせ ---------- */
.contact-box { display: grid; gap: 28px; justify-items: center; text-align: center; }
.contact-box .btn-row { justify-content: center; }
.contact-note { font-size: 15px; color: #C9D2E3; max-width: 640px; }
.section--navy .btn { box-shadow: 4px 4px 0 var(--yellow); }
.section--navy .btn:hover { box-shadow: 2px 2px 0 var(--yellow); }

/* ---------- 会社情報 ---------- */
.company { display: grid; grid-template-columns: 180px 1fr; border-top: 2px solid var(--navy); }
.company dt, .company dd { padding: 18px 8px; border-bottom: 1px solid #CFC6B3; }
.company dt { font-weight: 700; color: var(--navy); }

/* ---------- よくある質問 ---------- */
.faq { display: grid; gap: 16px; max-width: 860px; margin-inline: auto; }
.faq details { border: var(--line); border-radius: var(--radius); background: var(--paper); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 56px 20px 24px;
  position: relative;
  font-weight: 700;
  color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q."; font-family: var(--font-display); color: var(--teal-dark); margin-right: 10px; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 700; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 24px 22px 24px; }

/* ---------- 下層ページのヒーロー ---------- */
.page-hero { padding: 56px 0 72px; border-bottom: 2px solid var(--navy); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb li + li::before { content: "／"; margin-right: 8px; }
.page-hero__inner { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: center; }
.page-hero__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.3; color: var(--navy); margin: 8px 0 20px; }
.page-hero__lead { font-size: 18px; max-width: 36em; }
.page-hero__sticker {
  justify-self: center;
  padding: 28px 32px;
  border: var(--line);
  border-radius: 8px;
  background: var(--yellow);
  box-shadow: var(--shadow);
  font-family: var(--font-hand);
  font-size: 22px;
  line-height: 1.6;
  color: var(--navy);
  transform: rotate(4deg);
}

/* ---------- CTA帯 ---------- */
.cta-band { padding: 72px 0; background: var(--teal); border-block: 2px solid var(--navy); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(22px, 3vw, 32px); color: var(--navy); line-height: 1.4; }

/* ---------- フッター ---------- */
.site-footer { padding: 56px 0 32px; background: var(--navy); color: #C9D2E3; font-size: 15px; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.site-footer__brand img { height: 30px; width: auto; background: var(--paper); padding: 6px 10px; border-radius: 6px; box-sizing: content-box; }
.site-footer__brand p { margin-top: 12px; }
.site-footer nav ul { display: grid; grid-template-columns: repeat(2, auto); gap: 6px 32px; }
.site-footer a { color: #E9EDF5; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.copyright { margin-top: 40px; padding-top: 20px; border-top: 1px solid #3A4560; font-size: 13px; text-align: center; }

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 960px) {
  .hero__inner, .page-hero__inner { grid-template-columns: 1fr; }
  .hero__visual { min-height: 400px; max-width: 520px; width: 100%; margin-inline: auto; }
  .worries { grid-template-columns: repeat(2, 1fr); }
  .steps, .steps--5 { grid-template-columns: repeat(2, 1fr); }
  .grid--3, .plans, .samples, .link-cards { grid-template-columns: 1fr 1fr; }
  .profile { grid-template-columns: 200px 1fr; gap: 32px; }
  .own { grid-template-columns: 1fr; }

  .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px;
    border: var(--line);
    border-radius: 999px;
    background: var(--paper);
    font-family: var(--font-body);
    font-size: 15px; font-weight: 700;
    color: var(--navy);
    cursor: pointer;
  }
  .nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
    display: block; width: 18px; height: 2px; background: var(--navy); position: relative;
  }
  .nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bar::before { top: -6px; }
  .nav-toggle__bar::after { top: 6px; }
  .site-nav {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    padding: 16px var(--gutter) 24px;
    background: var(--cream);
    border-bottom: 2px solid var(--navy);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .site-nav a { padding: 12px 16px; font-size: 17px; }
  .site-nav .btn { margin: 8px 0 0; justify-content: center; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .hero { padding: 40px 0 72px; }
  .hero__visual { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero__circle { display: none; }
  .note { position: static; width: auto; transform: none !important; padding: 16px; }
  .note__name { font-size: 20px; }
  .note__sub { font-size: 15px; }
  .worries, .steps, .steps--5, .grid--2, .grid--3, .plans, .samples, .link-cards { grid-template-columns: 1fr; }
  .profile { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .profile__badge { width: 200px; }
  .company { grid-template-columns: 1fr; }
  .company dt { padding-bottom: 0; border-bottom: none; }
  .card, .plan, .own { padding: 24px; }
  .btn { width: 100%; }
  .site-nav .btn { width: auto; }
  .page-hero__sticker { font-size: 17px; padding: 16px 24px; transform: rotate(2deg); }
}
