/* ============================================================
   イオリ｜非エンジニア向けAIコンサル
   ------------------------------------------------------------
   このファイルは「見た目」を決めるところです。
   色を変えたいときは、いちばん下の「色の設定」だけ触れば全体が変わります。
   ============================================================ */

/* 日本語を文節の切れ目で改行する。Chrome以外では無視されるだけなので安全 */
body { word-break: auto-phrase; }


/* ------------------------------------------------------------
   色の設定（ここだけ変えれば、サイト全体の色が変わります）
   ------------------------------------------------------------ */
:root {
  --bg:        #FBF8F3;   /* 背景の生成り色 */
  --bg-alt:    #F4EFE6;   /* 1段濃い生成り（交互に敷く帯） */
  --surface:   #FFFFFF;   /* カードなどの白 */
  --ink:       #16263F;   /* 文字の濃紺 */
  --ink-soft:  #56617A;   /* 補足文の色 */
  --ink-faint: #8A93A6;   /* いちばん薄い文字 */
  --accent:    #0F6A66;   /* アクセントの深い青緑（1色だけ使う） */
  --accent-dk: #0A4E4B;   /* 押したときなど、濃いほう */
  --accent-bg: #E7F0EF;   /* アクセントのごく薄い背景 */
  --line:      #E4DDD0;   /* 罫線 */
  --line-soft: #EFEAE0;

  --radius: 14px;
  --radius-s: 10px;
  --shadow: 0 1px 2px rgba(22, 38, 63, .05), 0 8px 24px rgba(22, 38, 63, .05);

  --wrap: 1080px;
  --wrap-narrow: 760px;
}


/* ------------------------------------------------------------
   全体の土台
   ------------------------------------------------------------ */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP",
               "Yu Gothic Medium", "Meiryo", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); }

/* キーボード操作のとき、いまどこにいるかを分かるようにする */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* 本文へスキップ（ふだんは見えません） */
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 200;
}
.skip:focus { left: 8px; top: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: var(--wrap-narrow); }

/* アイコン（線画）の共通設定 */
.ic {
  width: 26px; height: 26px; flex: 0 0 auto;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.ic-s { width: 17px; height: 17px; }


/* ------------------------------------------------------------
   ヘッダー
   ------------------------------------------------------------ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 243, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 68px;
}
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.3; }
.brand-name { font-size: 18px; font-weight: 700; letter-spacing: .04em; }
.brand-role { font-size: 11.5px; color: var(--ink-soft); letter-spacing: .04em; }

.nav { display: flex; gap: 26px; }
.nav a {
  color: var(--ink-soft); text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 4px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* スマホ用のメニューボタン。パソコンでは隠します */
.navbtn {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 10px; padding: 7px; color: var(--ink); cursor: pointer;
}


/* ------------------------------------------------------------
   ボタン
   ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 700; font-family: inherit;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s;
}
.btn-lg { padding: 17px 34px; font-size: 16px; }

.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--accent-dk); transform: translateY(-1px); }

.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); }
.btn-light:hover { background: rgba(255,255,255,.24); }

/* 準備中のボタン。押せないことが見て分かるようにしています */
.btn.is-wip {
  background: var(--surface); color: var(--ink-faint);
  border: 1.5px dashed var(--ink-faint); box-shadow: none; cursor: not-allowed;
}
.btn.is-wip:hover { transform: none; background: var(--surface); }
.wip-tag {
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  background: var(--ink-faint); color: #fff; padding: 2px 8px; border-radius: 999px;
}


/* ------------------------------------------------------------
   1. ヒーロー
   ------------------------------------------------------------ */
.hero { padding: 72px 0 84px; }
.hero-inner {
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: 56px; align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  margin: 0 0 22px; padding: 6px 14px 6px 11px;
  background: var(--accent-bg); color: var(--accent);
  border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
}

.hero-h1 {
  margin: 0 0 24px;
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.42; letter-spacing: -.01em; font-weight: 700;
}
.hero-h1 em {
  font-style: normal; color: var(--accent);
  background: linear-gradient(transparent 68%, var(--accent-bg) 68%);
}

.hero-lead { margin: 0 0 30px; color: var(--ink-soft); font-size: 15.5px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 18px 0 0; font-size: 13px; color: var(--ink-faint); }

.hero-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow);
}


/* ------------------------------------------------------------
   セクションの共通
   ------------------------------------------------------------ */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }

.kicker {
  margin: 0 0 10px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .14em; color: var(--accent);
}
.h2 {
  margin: 0 0 40px;
  font-size: clamp(22px, 3vw, 30px); line-height: 1.5; font-weight: 700;
}
.p { margin: 0 0 18px; color: var(--ink-soft); }
.p strong { color: var(--ink); }


/* ------------------------------------------------------------
   カード（お悩み・できること）
   ------------------------------------------------------------ */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px 26px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.card-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 13px;
  background: var(--accent-bg); color: var(--accent); margin-bottom: 18px;
}
.card-t { margin: 0 0 10px; font-size: 16.5px; line-height: 1.6; font-weight: 700; }
.card-d { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.8; }

/* 主なご相談のカードだけ、少し目立たせます */
.card-main { border-color: var(--accent); border-width: 1.5px; }
.card-tag {
  display: inline-block; margin: 0 0 8px; padding: 3px 10px;
  background: var(--accent); color: #fff; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
}


/* ------------------------------------------------------------
   3. わたしについて
   ------------------------------------------------------------ */
.about { display: grid; grid-template-columns: 260px 1fr; gap: 52px; align-items: start; }

/* プロフィールのアイコン。丸く切り抜いて表示します */
.about-media { text-align: center; }
.avatar {
  width: 220px; height: 220px; margin: 0 auto 16px;
  border-radius: 50%; object-fit: cover;
  border: 6px solid var(--surface);
  box-shadow: 0 2px 4px rgba(22,38,63,.06), 0 14px 32px rgba(22,38,63,.10);
}
.avatar-name { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: .04em; }
.avatar-role { margin: 3px 0 0; font-size: 12.5px; color: var(--ink-soft); }

.checks { list-style: none; margin: 8px 0 30px; padding: 0; display: grid; gap: 12px; }
.checks li {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: 15px; color: var(--ink);
}
.checks .ic { color: var(--accent); margin-top: 6px; }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fact {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-s); padding: 18px 20px;
}
.fact-t { margin: 0 0 5px; font-size: 14.5px; font-weight: 700; }
.fact-d { margin: 0; font-size: 13px; color: var(--ink-soft); line-height: 1.75; }
.fact-d a { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; text-decoration: none; }
.fact-d a:hover { text-decoration: underline; }


/* ------------------------------------------------------------
   5. 進め方
   ------------------------------------------------------------ */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.step {
  position: relative; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px 26px;
}
.step-n {
  position: absolute; top: -17px; left: 24px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700;
}
.step-t { margin: 8px 0 9px; font-size: 17px; font-weight: 700; }
.step-d { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.8; }


/* ------------------------------------------------------------
   6. 料金
   ------------------------------------------------------------ */
/* 料金カード。2つ並べて、右側（コース）を主役にしています */
.prices { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; align-items: start; }

.price {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px;
  box-shadow: var(--shadow);
}
.price-main { border: 2px solid var(--accent); }
.price-t2 { margin: 2px 0 12px; font-size: 17px; line-height: 1.5; font-weight: 700; }
.price-lead { margin: 0 0 16px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.8; }
.price-lead b { color: var(--ink); }

/* コースの3ステップ */
.price-steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 9px; }
.price-steps li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: var(--ink-soft); line-height: 1.7;
}
.price-steps li b { color: var(--ink); white-space: nowrap; margin-right: 2px; }
.price-steps span {
  flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-bg); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; margin-top: 3px;
}

.price-proof {
  margin: 16px 0 0; padding: 12px 14px;
  background: var(--accent-bg); border-radius: var(--radius-s);
  font-size: 13px; color: var(--ink); line-height: 1.75;
}
.price-name { margin: 0 0 6px; font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: .08em; }
.price-num { margin: 0 0 16px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-t { font-size: 15px; color: var(--ink-soft); }
.price-num strong { font-size: clamp(38px, 6vw, 52px); line-height: 1; letter-spacing: -.02em; }
.price-y { font-size: 18px; font-weight: 700; }

.price-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.price-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; }
.price-list .ic { color: var(--accent); margin-top: 5px; }

.price-note {
  margin: 20px 0 0; font-size: 13px; color: var(--ink-soft);
}


/* ------------------------------------------------------------
   7. 対応エリア・時間
   ------------------------------------------------------------ */
.table { margin: 0; border-top: 1px solid var(--line); }
.tr { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 22px 4px; border-bottom: 1px solid var(--line); }
.tr dt { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15px; }
.tr dt .ic { color: var(--accent); }
.tr dd { margin: 0; color: var(--ink-soft); font-size: 15px; }


/* ------------------------------------------------------------
   8. よくある質問
   ------------------------------------------------------------ */
.faq { display: grid; gap: 12px; }
.qa { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; }

.q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: none; border: 0; cursor: pointer;
  padding: 20px 22px; text-align: left;
  font-family: inherit; font-size: 15.5px; font-weight: 700; color: var(--ink); line-height: 1.6;
}
.q:hover { color: var(--accent); }

/* 開いているかどうかを示す、プラスとマイナスの印 */
.q-mark { position: relative; width: 16px; height: 16px; flex: 0 0 auto; }
.q-mark::before, .q-mark::after {
  content: ""; position: absolute; background: var(--accent);
  transition: transform .25s;
}
.q-mark::before { top: 7px; left: 0; width: 16px; height: 2px; }
.q-mark::after  { top: 0; left: 7px; width: 2px; height: 16px; }
.q[aria-expanded="true"] .q-mark::after { transform: rotate(90deg); opacity: 0; }

.a { display: none; padding: 0 22px 22px; }
.a p { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.85; }
.qa.is-open .a { display: block; }


/* ------------------------------------------------------------
   9. お問い合わせ
   ------------------------------------------------------------ */
.cta { background: var(--ink); color: #fff; padding: 80px 0; }
.cta-inner { text-align: center; }
.h2-light { color: #fff; margin-bottom: 18px; }
.cta-lead { margin: 0 auto 32px; max-width: 560px; color: rgba(255,255,255,.78); font-size: 15.5px; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* 暗い背景の上では、準備中のボタンも見えるように色を変えます */
.cta .btn.is-wip {
  background: rgba(255,255,255,.06); color: rgba(255,255,255,.6);
  border-color: rgba(255,255,255,.35);
}
.cta .wip-tag { background: rgba(255,255,255,.28); color: #fff; }

.cta-note { margin: 26px 0 0; font-size: 13px; color: rgba(255,255,255,.55); }


/* ------------------------------------------------------------
   フッター
   ------------------------------------------------------------ */
.footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
.footer .brand-name { margin: 0; }
.footer-role { margin: 2px 0 0; font-size: 12.5px; color: var(--ink-soft); }
.footer-meta { text-align: right; }
.footer-meta p { margin: 0 0 4px; font-size: 13px; color: var(--ink-soft); }
.footer-meta a { font-weight: 700; }
.credit { margin-top: 10px !important; font-size: 11.5px !important; color: var(--ink-faint) !important; }


/* ------------------------------------------------------------
   画面が狭いとき（タブレット）
   ------------------------------------------------------------ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-media { order: 2; }
  .about { grid-template-columns: 1fr; gap: 26px; }
  .about-media { text-align: left; }
  .avatar { margin-left: 0; width: 150px; height: 150px; }
  .cards-3, .steps { grid-template-columns: 1fr; }
  .prices { grid-template-columns: 1fr; }
  .step { padding-top: 34px; }
  .tr { grid-template-columns: 1fr; gap: 6px; }
}

/* ------------------------------------------------------------
   画面が狭いとき（スマートフォン）
   ------------------------------------------------------------ */
@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 20px; }
  .hero { padding: 48px 0 56px; }
  .section { padding: 60px 0; }
  .h2 { margin-bottom: 28px; }

  /* メニューを、ボタンを押したときだけ出す形にします */
  .navbtn { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line-soft); }

  .hero-cta .btn, .cta-btns .btn { width: 100%; }
  .facts { grid-template-columns: 1fr; }
  .price { padding: 26px 22px; }
  .footer-inner { flex-direction: column; }
  .footer-meta { text-align: left; }
}

/* 動きを減らす設定にしている方には、動かしません */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
