/* となりのAI係さん LP
   配色A：白＋紺＋ラベンダー（2026-10-29） */

:root {
  --navy: #2C3366;        /* 文字の強調・ボタン */
  --navy-deep: #141A3A;   /* 最後の帯（アイコンの濃紺に寄せる） */
  --text: #1E2340;        /* 本文 */
  --text-sub: #4A4F73;    /* 補足 */
  --lavender: #8C8FD9;    /* 飾りの線だけ（文字には使わない） */
  --tint: #F1F0FB;        /* 区切りの帯 */
  --line: #DCDBF0;
  --white: #FFFFFF;

  --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --radius: 14px;
  --max: 1040px;
  --narrow: 720px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-text-size-adjust: 100%;
}

/* 日本語を文節で折り返す（対応ブラウザのみ） */
h1, h2, h3, .hero-lead, .section-closing, .contact-lead, .assure-list li, .btn, .contact-btn {
  word-break: auto-phrase;
  text-wrap: pretty;
}

img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; color: var(--navy); }

a { color: var(--navy); }
/* Tabキーで選んだときの枠。白・薄紫の背景では紺、濃紺の帯では白にして見えやすくする */
a:focus-visible, .btn:focus-visible, .contact-btn:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}
.section-dark a:focus-visible { outline-color: var(--white); }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}
.container.narrow { max-width: calc(var(--narrow) + 32px); }

.pc-only { display: none; }
@media (min-width: 768px) {
  .pc-only { display: inline; }
  .container { padding: 0 24px; }
  .container.narrow { max-width: calc(var(--narrow) + 48px); }
}

/* ボタン */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  text-align: center;
  transition: background-color .2s, transform .2s;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { background: #1F2550; transform: translateY(-1px); }
.btn-large {
  padding: 16px 36px;
  font-size: 18px;
  line-height: 1.5;
}
.btn-note {
  display: block;
  font-size: 14px;
  font-weight: 400;
  opacity: .9;
  margin-top: 2px;
}
.btn-small {
  padding: 8px 16px;
  font-size: 14px;
  background: var(--navy);
  color: var(--white);
}

/* ヘッダー */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand-icon { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.brand-name { font-weight: 700; font-size: 16px; }

/* ファーストビュー */
.hero {
  padding: 64px 0 72px;
  background: var(--white);
  border-bottom: 4px solid var(--lavender);
}
.hero-inner { text-align: center; }
.hero-label {
  display: inline-block;
  font-size: 14px;
  color: var(--navy);
  background: var(--tint);
  border-radius: 999px;
  padding: 4px 16px;
  margin-bottom: 20px;
}
.hero-title {
  font-size: 26px;
  line-height: 1.6;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--text);
}
.hero-lead {
  max-width: 600px;
  margin: 0 auto 32px;
  color: var(--text-sub);
}
@media (min-width: 768px) {
  .hero { padding: 96px 0 104px; }
  .hero-title { font-size: 36px; }
  .hero-lead { font-size: 17px; }
}

/* セクション共通 */
.section { padding: 64px 0; }
.section-tint { background: var(--tint); }
@media (min-width: 768px) { .section { padding: 88px 0; } }

.section-title {
  font-size: 22px;
  line-height: 1.6;
  font-weight: 700;
  text-align: center;
  margin: 0 0 36px;
}
.section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--lavender);
  border-radius: 2px;
  margin: 14px auto 0;
}
@media (min-width: 768px) { .section-title { font-size: 28px; } }

.section-closing {
  text-align: center;
  margin-top: 32px;
  font-weight: 500;
}
.small-note { font-size: 14px; color: var(--text-sub); }

/* お悩み */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  position: relative;
  background: var(--white);
  border-radius: 10px;
  padding: 14px 16px 14px 48px;
  line-height: 1.7;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 17px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--lavender);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 21px;
  width: 6px;
  height: 10px;
  border: solid var(--navy);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ChatGPT枠 */
.note-box {
  border: 1px solid var(--line);
  border-left: 4px solid var(--lavender);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 20px;
  background: var(--white);
}
.note-box-title {
  font-size: 20px;
  line-height: 1.6;
  margin: 0 0 16px;
}
.note-box-scene {
  color: var(--text-sub);
  background: var(--tint);
  border-radius: 10px;
  padding: 14px 16px;
}
.text-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
}
@media (min-width: 768px) {
  .note-box { padding: 36px 40px; }
  .note-box-title { font-size: 22px; }
}

/* 自己紹介 */
.profile-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.profile-icon {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--lavender);
}
.profile-name { font-weight: 700; font-size: 18px; margin: 0; }
.profile-name span { color: var(--lavender); margin: 0 2px; }
.profile-icon-note { margin: -6px 0 0; }
.profile-body {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
}
.profile-subtitle {
  font-size: 18px;
  line-height: 1.6;
  margin: 32px 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--lavender);
}
@media (min-width: 768px) { .profile-body { padding: 40px; } }

/* お手伝いできること */
.help-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 768px) { .help-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.help-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  background: var(--white);
}
.help-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: .1em;
}
.help-num::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--lavender);
  vertical-align: middle;
  margin-left: 8px;
}
.help-title { font-size: 18px; line-height: 1.6; margin: 0 0 10px; }
.help-card p:last-child { color: var(--text-sub); }

/* 作ったもの */
.narrow-text { max-width: var(--narrow); margin: 0 auto 40px; }

.work {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  margin-bottom: 24px;
  display: grid;
  gap: 24px;
}
@media (min-width: 900px) {
  .work { grid-template-columns: 1fr 1fr; padding: 40px; gap: 40px; align-items: start; }
}
.work-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .1em;
  margin-bottom: 4px;
}
.work-title { font-size: 20px; line-height: 1.5; margin: 0 0 14px; }
.work-sub {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-sub);
  margin-top: 4px;
}
.dot-list { margin: 0 0 16px; padding-left: 1.2em; color: var(--text-sub); }
.dot-list li { margin-bottom: 4px; line-height: 1.7; }
.dot-list li::marker { color: var(--lavender); }
.price {
  border-top: 1px dashed var(--line);
  padding-top: 14px;
  margin-top: 8px;
}

.work-shots { display: grid; gap: 12px; align-items: start; }
.shots-3 { grid-template-columns: repeat(3, 1fr); }
.shots-2 { grid-template-columns: repeat(2, 1fr); }
.shots-1 { grid-template-columns: 1fr; }
.work-shots figure { margin: 0; }
.zoom-link { display: block; cursor: zoom-in; }

/* 折り返しで切れてほしくない言葉のかたまり（iPhoneのSafari向け） */
.nobr { display: inline-block; }

/* レポート見本の拡大表示 */
.zoom-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(20, 26, 58, .94);
  flex-direction: column;
  justify-content: center;
  padding: 64px 0 24px;
}
.zoom-overlay:target { display: flex; }
.zoom-scroll {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 16px;
}
.zoom-scroll img {
  /* 画面の約2倍の幅（レポート1ページ分がほぼ1画面）。実物の1220pxより大きくはしない */
  width: min(200vw, 1220px);
  max-width: none;
  height: auto;
  border-radius: 8px;
  margin: 0 auto;
}
.zoom-close {
  position: absolute;
  top: 14px;
  right: 16px;
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
}
.zoom-overlay a.zoom-close:focus-visible { outline-color: var(--white); }
.zoom-hint {
  color: #EEF0FF;
  font-size: 14px;
  text-align: center;
  margin: 12px 0 0;
}
@media (min-width: 1260px) {
  .zoom-hint { display: none; }
}

/* クイズのスタート画面を、答えの画面と同じ高さの枠にそろえる。
   余った下の部分は、画面の一番下と同じ色で埋める */
.work-shots img.fit-tall {
  aspect-ratio: 1000 / 1640;
  object-fit: contain;
  object-position: top;
  background: linear-gradient(to right, #F3ECF8, #EFEDFB);
}

/* スマホでは画面写真を横スワイプにして大きく見せる */
@media (max-width: 599px) {
  .shots-3, .shots-2 {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    margin: 0 -20px;
    padding: 0 20px 8px;
  }
  .shots-3 figure, .shots-2 figure {
    flex: 0 0 72%;
    scroll-snap-align: center;
  }
  .work .swipe-hint { display: block; }
}
.swipe-hint {
  display: none;
  font-size: 13px;
  color: var(--text-sub);
  text-align: right;
  margin: -16px 0 0;
}
.work-shots img {
  border-radius: 10px;
  border: 1px solid var(--line);
}
.work-shots figcaption {
  font-size: 13px;
  color: var(--text-sub);
  text-align: center;
  margin-top: 6px;
  line-height: 1.5;
}

/* ご相談の流れ */
.steps { list-style: none; margin: 0; padding: 0; }
.step {
  display: flex;
  gap: 16px;
  position: relative;
  padding-bottom: 28px;
}
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 52px;
  bottom: 4px;
  width: 2px;
  background: var(--line);
}
.step-num {
  flex: 0 0 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  box-shadow: 0 0 0 4px var(--tint);
}
.step-title { font-size: 18px; line-height: 1.6; margin: 8px 0 6px; }
.step p { color: var(--text-sub); }

/* 無料相談の案内（最後の帯だけ濃紺） */
.section-dark {
  background: var(--navy-deep);
  color: #EEF0FF;
}
.section-dark .section-title { color: var(--white); }
.section-dark strong { color: var(--white); }
.contact-lead { text-align: center; margin-bottom: 32px; }

.contact-buttons { display: grid; gap: 12px; margin-bottom: 32px; }
.contact-btn {
  display: block;
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: center;
  transition: transform .2s, background-color .2s;
}
.contact-btn:hover { background: var(--tint); transform: translateY(-1px); }
.contact-btn-label { display: block; font-weight: 700; font-size: 17px; }
.contact-btn-note { display: block; font-size: 14px; color: var(--text-sub); margin-top: 2px; }

.assure-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 36px;
  max-width: 520px;
}
.assure-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 6px;
  line-height: 1.7;
}
.assure-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 6px;
  height: 11px;
  border: solid #B9BCF2;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.signature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.signature-icon { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.signature p { margin: 0; font-weight: 500; }

/* フッター */
.site-footer {
  background: var(--navy-deep);
  color: #B9BCD8;
  text-align: center;
  font-size: 13px;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.site-footer p { margin: 0; }
.site-footer a { color: #DDE0F5; }
.footer-links { margin-bottom: 6px !important; }

/* 特定商取引法に基づく表記 */
.legal-list { margin: 0; border-top: 1px solid var(--line); }
.legal-list dt {
  font-weight: 700;
  color: var(--navy);
  padding-top: 18px;
}
.legal-list dd {
  margin: 4px 0 0;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.legal-sub { margin: 0; padding-left: 1.2em; }
.legal-sub li { margin-bottom: 4px; }
.legal-sub li::marker { color: var(--lavender); }
@media (min-width: 768px) {
  .legal-list { display: grid; grid-template-columns: 200px 1fr; }
  .legal-list dt { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); }
  .legal-list dd { margin: 0; padding: 18px 0; }
}
