/* Dejima Note ホームページ
   色・文字のルールは .claude/skills/aozora-brand と knowledge/色のルール.md に合わせる */
:root {
  --brand-grad: linear-gradient(120deg, #2f7fc8 0%, #2fa3c2 60%, #3dbdaa 100%);
  --brand-grad-deep: linear-gradient(120deg, #2a6fb5 0%, #1a7a92 60%, #1f7f72 100%); /* 白い文字をのせる帯用（読みやすさのため濃いめ） */
  --text-teal: #1a7a92; /* 青緑の文字用（白地でも読める濃さ） */
  --brand-blue: #2f7fc8;
  --brand-teal: #2fa3c2;
  --brand-mint: #3dbdaa;
  --accent-coral: #ef7f5a;
  --accent-yellow: #ffd27a;
  --cream: #fff6cf;
  --heading: #1f3a5f;
  --text: #22303c;
  --text-sub: #536476;
  --box-blue: #2f6fb0;
  --box-blue-bg: #eaf3fc;
  --line: #d6e4f0;
  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  font-family: "BIZ UDPGothic", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text); background: #fff; line-height: 1.85; font-size: 16px;
  word-break: auto-phrase; line-break: strict; overflow-wrap: anywhere;
}
h1, h2, h3, p, li, dd, dt, summary { text-wrap: pretty; }
img { max-width: 100%; height: auto; }
a { color: var(--box-blue); }
.nb { display: inline-block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; background: #fff; padding: 8px 12px; z-index: 100; border-radius: 6px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--heading); outline-offset: 3px; }
.contact :focus-visible { outline-color: var(--accent-yellow); }
.contact .form-card :focus-visible { outline-color: var(--heading); }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(214,228,240,.7);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 20px; color: var(--heading); text-decoration: none; letter-spacing: .01em; }
.logo svg { width: 28px; height: 19px; }
.head-right { display: flex; align-items: center; gap: 6px; }
.gnav { display: none; }
.gnav a.link { color: var(--heading); text-decoration: none; font-size: 15px; }
.gnav a.link:hover { color: var(--brand-blue); }
.menu-btn { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-content: center; gap: 5px; padding: 0; }
.menu-btn span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--heading); transition: transform .2s, opacity .2s; }
.site-header.open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.open .menu-btn span:nth-child(2) { opacity: 0; }
.site-header.open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 767px) {
  .site-header.open .gnav { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; padding: 4px 16px 12px; border-bottom: 1px solid var(--line); box-shadow: 0 8px 18px rgba(31,58,95,.10); }
  .site-header.open .gnav a.link { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .site-header.open .gnav a.link:last-child { border-bottom: 0; }
}
.head-btn {
  font-size: 14px; font-weight: 700; color: var(--box-blue); text-decoration: none;
  border: 1.5px solid var(--box-blue); border-radius: 999px; padding: 6px 14px; background: #fff;
}
.head-btn:hover { background: var(--box-blue-bg); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--box-blue); color: #fff; text-decoration: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 18px; padding: 15px 28px; border-radius: 999px;
  transition: background .15s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover { background: #255d96; }
.btn:hover svg { transform: translateX(3px); }

/* ---------- 最初の画面 ---------- */
.fv { position: relative; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.fv .inner { position: relative; z-index: 2; max-width: var(--wrap); margin: 0 auto; padding: 22px 20px 40px; width: 100%; }
.eyebrow {
  display: inline-block; font-size: 14px; font-weight: 700; color: var(--text-teal);
  border-bottom: 2px solid var(--brand-mint); padding-bottom: 2px; margin-bottom: 16px;
}
.fv h1 { font-size: clamp(30px, 8.4vw, 52px); line-height: 1.45; color: var(--heading); font-weight: 700; }
.fv h1 .em { color: var(--brand-blue); }
.fv .sub { margin-top: 14px; font-size: clamp(17px, 4.4vw, 22px); color: var(--heading); }
.fv .lead { margin-top: 20px; }
.fv .lead strong { color: var(--heading); }
.cta { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.note { font-size: 14px; color: var(--text-sub); }
.note::before { content: "●"; color: var(--accent-coral); font-size: 10px; margin-right: 6px; vertical-align: 2px; }

.hero-img { display: block; position: relative; order: -1; }
.hero-img img { display: block; width: 100%; height: 190px; object-fit: cover; object-position: 50% 58%; }
.hero-img::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40px;
  background: linear-gradient(rgba(255,255,255,0), #fff);
}

/* ---------- セクション共通 ---------- */
.section { padding: 64px 0; }
.section.tint { background: #f4f9fd; }
.sec-label { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--text-teal); text-transform: uppercase; }
.sec-title { font-size: clamp(24px, 6.2vw, 34px); line-height: 1.5; color: var(--heading); margin: 6px 0 20px; }
.sec-lead { max-width: 40em; color: var(--text); }

/* お悩み */
.worries { list-style: none; padding: 0; display: grid; gap: 10px; margin-top: 8px; }
.worries li {
  position: relative; padding: 12px 14px 12px 44px; background: #fff;
  border: 1px solid var(--line); border-radius: 10px;
}
.worries li::before {
  content: ""; position: absolute; left: 14px; top: 17px; width: 18px; height: 18px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='8.5' fill='none' stroke='%232fa3c2' stroke-width='1.6'/%3E%3Cpath d='M6 10.2l2.6 2.6L14 7.4' fill='none' stroke='%232fa3c2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.worries-close { margin-top: 22px; font-weight: 700; color: var(--heading); }

/* サービスの流れ（縦のタイムライン） */
.steps { list-style: none; padding: 0; margin-top: 28px; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(var(--brand-blue), var(--brand-mint));
}
.step { position: relative; padding: 0 0 34px 64px; }
.step:last-child { padding-bottom: 0; }
.step-num {
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 18px; color: #fff;
  background: var(--brand-grad); box-shadow: 0 0 0 6px #fff;
}
.step h3 { font-size: 20px; color: var(--heading); line-height: 1.5; padding-top: 6px; }
.step .tag { display: inline-block; font-size: 13px; color: var(--box-blue); background: var(--box-blue-bg); border-radius: 4px; padding: 1px 8px; margin-left: 6px; vertical-align: 3px; }
.step p { margin-top: 8px; }
.step .em-line { font-weight: 700; color: var(--heading); }
.step .step-price { margin-top: 6px; font-weight: 700; color: var(--heading); }
.do-list { margin-top: 14px; padding: 16px 18px 16px 18px; background: var(--box-blue-bg); border-radius: 10px; list-style: none; }
.do-list-title { font-weight: 700; color: var(--box-blue); margin-bottom: 6px; }
.do-list ul { list-style: none; padding: 0; }
.do-list li { position: relative; padding-left: 18px; margin-top: 6px; }
.do-list li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-teal); }
.security-note { margin-top: 32px; padding: 20px 22px; border-radius: 12px; background: #fff1e3; border-top: 4px solid #f0913c; }
.security-title { font-size: 18px; font-weight: 700; color: #b8492a; margin-bottom: 6px; line-height: 1.5; }
.security-note ul { margin: 10px 0; padding-left: 1.2em; }
.security-note li { margin-top: 4px; }
.security-note li::marker { color: #f0913c; }

/* たとえば */
.block-title { display: flex; align-items: center; gap: 10px; font-size: 19px; color: var(--heading); line-height: 1.5; margin-top: 28px; }
.block-title::before { content: ""; flex: none; width: 6px; height: 1.2em; border-radius: 3px; background: var(--brand-grad); }
.fields { display: grid; gap: 14px; margin-top: 14px; }
.ex-zone { margin-top: 40px; padding: 4px 16px 20px; border-radius: 16px; background: #e4eff9; }
.ex-intro .block-title { margin-top: 18px; }
.ex-intro p { margin-top: 4px; font-size: 15px; color: var(--text-sub); }
.ex-tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 2px 0 2px; }
.ex-tags span { font-size: 12px; font-weight: 700; line-height: 1.6; border-radius: 4px; padding: 0 7px; background: #eaf3fc; color: #1f5f99; }
.ex-tags span.t2 { background: #e2f3f8; color: #1d6f86; }
.ex-tags span.t3 { background: #e3f5f0; color: #1f7a6c; }
.field-col { background: #fff; border-radius: 12px; padding: 18px 20px; border-top: 3px solid var(--brand-teal); }
.field-col:nth-child(1) { border-top-color: var(--brand-blue); }
.field-col:nth-child(3) { border-top-color: var(--brand-mint); }
.field-col h4 { font-size: 17px; color: var(--heading); margin-bottom: 6px; }
.field-col ul { list-style: none; padding: 0; }
.field-col li { position: relative; padding-left: 16px; margin-top: 4px; font-size: 15px; }
.field-col li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-teal); }
.examples { display: grid; gap: 0; margin-top: 36px; border-top: 1px solid var(--line); }
.example { padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; gap: 14px; }
.example .ex-no { font-size: 13px; font-weight: 700; color: var(--text-teal); letter-spacing: .08em; }
.example h3 { font-size: 19px; color: var(--heading); line-height: 1.5; margin: 2px 0 4px; }
.ex-flow { list-style: none; padding: 0; counter-reset: flow; display: grid; gap: 8px; }
.ex-flow li { counter-increment: flow; position: relative; padding: 10px 14px 10px 44px; background: #fff; border-radius: 10px; font-size: 15px; color: var(--text-sub); }
.ex-flow li::before { content: counter(flow); position: absolute; left: 12px; top: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-grad); color: #fff; font-size: 13px; font-weight: 700; text-align: center; line-height: 22px; }
.ex-flow b { display: block; color: var(--heading); font-size: 16px; }
.ex-ba { display: grid; gap: 8px; }
.ex-ba p { padding: 10px 14px; border-radius: 10px; background: #eef2f6; font-size: 15px; }
.ex-ba p + p { background: var(--box-blue-bg); border: 1.5px solid var(--brand-teal); font-weight: 700; color: var(--heading); }
.ex-ba span { display: block; font-size: 12px; font-weight: 700; color: var(--text-sub); }
.ex-ba p + p span { color: var(--text-teal); }
.ex-small { font-size: 14px; color: var(--text-sub); }
.ex-cards { display: grid; gap: 16px; margin-top: 18px; }
.ex-card { display: grid; grid-template-columns: 112px 1fr; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--text); transition: box-shadow .2s, transform .2s; }
.ex-card:hover { box-shadow: 0 6px 18px rgba(31,58,95,.10); transform: translateY(-2px); }
.ex-card img { display: block; width: calc(100% - 12px); height: auto; margin: 14px 0 0 12px; border-radius: 8px; border: 1px solid var(--line); background: #f3f9fd; }
.ex-card-body { display: grid; gap: 2px; padding: 12px 14px; }
.ex-card .ex-no { font-size: 13px; font-weight: 700; color: var(--text-teal); letter-spacing: .08em; }
.ex-card-title { font-size: 16px; font-weight: 700; color: var(--heading); line-height: 1.5; }
.ex-card-text { font-size: 14px; color: var(--text-sub); }
.ex-card-more { margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--box-blue); }
.ex-more { margin-top: 24px; text-align: center; }
.btn-sub { display: inline-block; font-weight: 700; color: var(--box-blue); text-decoration: none; border: 1.5px solid var(--box-blue); border-radius: 999px; padding: 12px 26px; background: #fff; }
.btn-sub:hover { background: var(--box-blue-bg); }
.breadcrumb { font-size: 13px; color: var(--text-sub); margin-bottom: 16px; }
.ex-cta { margin-top: 40px; padding: 24px 22px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); text-align: center; display: grid; gap: 10px; justify-items: center; }
.ex-cta-title { font-size: 19px; font-weight: 700; color: var(--heading); }
.ex-fig { position: relative; margin: 0; }
.ex-fig img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); background: #f3f9fd; }
.ex-fig figcaption { position: absolute; right: 8px; bottom: 8px; font-size: 11px; color: #fff; background: rgba(31,58,95,.6); border-radius: 4px; padding: 1px 6px; }
.ex-note { margin-top: 18px; font-size: 14px; color: var(--text-sub); }

/* 大切にしていること */
.values { list-style: none; padding: 0; margin-top: 24px; display: grid; gap: 26px; counter-reset: v; }
.values li { position: relative; padding-left: 64px; counter-increment: v; }
.values li::before {
  content: counter(v, decimal-leading-zero); position: absolute; left: 0; top: -4px;
  font-size: 34px; font-weight: 700; line-height: 1; letter-spacing: -.02em;
  background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.values h3 { font-size: 19px; color: var(--heading); line-height: 1.5; }
.values p { margin-top: 6px; }

/* 運営者 */
.profile { display: grid; gap: 28px; margin-top: 8px; }
.profile-name { font-size: 26px; font-weight: 700; color: var(--heading); }
.profile-role { color: var(--text-sub); font-size: 15px; }
.profile-why { margin-top: 14px; }
.profile-head { display: flex; align-items: center; gap: 16px; }
.profile-avatar { width: 96px; height: 96px; border-radius: 50%; flex-shrink: 0; border: 3px solid #fff; box-shadow: 0 2px 10px rgba(31,58,95,.12); }
.career { list-style: none; padding: 0; border-left: 2px solid var(--line); }
.career li { position: relative; padding: 0 0 18px 20px; }
.career li::before { content: ""; position: absolute; left: -7px; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--brand-teal); }
.career .when { display: block; font-weight: 700; color: var(--heading); }
.quals { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.quals li { font-size: 14px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; background: #fff; }
.sub-title { font-size: 15px; font-weight: 700; color: var(--text-teal); margin-bottom: 8px; }

/* 料金 */
.prices { margin-top: 20px; border-top: 2px solid var(--heading); }
.price-row { display: grid; gap: 2px; padding: 16px 2px; border-bottom: 1px solid var(--line); }
.price-row dt { font-weight: 700; color: var(--heading); }
.price-row dt small { display: block; font-weight: 400; font-size: 14px; color: var(--text-sub); }
.price-row dd { font-size: 20px; font-weight: 700; color: var(--box-blue); }
.price-row dd .free { color: var(--text-teal); }
.price-note { margin-top: 12px; font-size: 14px; color: var(--text-sub); }
.price-tag { display: inline-block; font-size: 12px; font-weight: 700; color: #fff; background: #c7402b; border-radius: 4px; padding: 0 8px; margin-right: 10px; vertical-align: 3px; }
.price-old { font-size: 16px; font-weight: 400; color: var(--text-sub); text-decoration: line-through; text-decoration-color: #e5533d; text-decoration-thickness: 2px; margin-right: 10px; }
.price-now { color: #d1402b; font-size: 22px; }
.price-sub { display: block; font-size: 13px; font-weight: 400; color: var(--text-sub); }
.monitor {
  margin-top: 32px; padding: 24px 20px; border-radius: 14px; background: #fff;
  border: 2px solid var(--brand-teal); position: relative;
}
.monitor h3 { font-size: 20px; color: var(--heading); line-height: 1.5; }
.monitor h3::before { content: "●"; color: var(--accent-coral); font-size: 12px; margin-right: 8px; vertical-align: 3px; }
.monitor p { margin-top: 10px; }
.monitor ul { margin-top: 12px; padding-left: 1.2em; }
.monitor li { margin-top: 6px; }

/* HP制作 */
.extra { display: grid; gap: 10px; padding: 24px 20px; border-radius: 14px; background: var(--box-blue-bg); }
.extra h2 { font-size: 20px; color: var(--heading); line-height: 1.5; }

/* よくある質問 */
.faq { margin-top: 20px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 34px; position: relative;
  font-weight: 700; color: var(--heading);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 4px; top: 16px; font-size: 18px; color: var(--brand-blue); }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 24px; width: 10px; height: 10px;
  border-right: 2px solid var(--brand-teal); border-bottom: 2px solid var(--brand-teal);
  transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(225deg); top: 28px; }
.faq .answer { padding: 0 8px 20px 34px; position: relative; }
.faq .answer::before { content: "A"; position: absolute; left: 4px; top: -2px; font-size: 18px; font-weight: 700; color: var(--brand-mint); }

/* 無料相談 */
.contact { background: var(--brand-grad-deep); color: #fff; padding: 64px 0; }
.contact .sec-label { color: var(--cream); }
.contact .sec-title { color: #fff; }
.contact .sec-lead { color: #fff; }
.form-card { margin-top: 24px; background: #fff; color: var(--text); border-radius: 16px; padding: 24px 20px; max-width: 640px; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 700; color: var(--heading); }
.req, .opt { font-size: 12px; font-weight: 700; border-radius: 4px; padding: 1px 6px; margin-left: 6px; vertical-align: 2px; }
.req { color: #fff; background: #b8492a; }
.opt { color: var(--text-sub); background: #eef2f6; }
.hp-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.field input, .field textarea {
  font: inherit; font-size: 16px; color: var(--text); width: 100%;
  border: 1.5px solid #b9cbdc; border-radius: 10px; padding: 12px 14px; background: #fff;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--brand-blue); outline: 3px solid rgba(47,127,200,.2); outline-offset: 0; }
.form-foot { font-size: 14px; color: var(--text-sub); margin-bottom: 16px; }
.form-msg { margin-top: 14px; font-weight: 700; color: var(--box-blue); }
.form-msg:empty { display: none; }
.field-hint { font-size: 13px; color: var(--text-sub); margin: 0 0 6px; }
.ex-cta-links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; font-size: 14px; }

/* LINEからのお問い合わせ（2026-12-03） */
.line-box { margin-top: 24px; max-width: 640px; background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.45); border-radius: 16px; padding: 18px 20px; }
.line-lead { font-weight: 700; color: #fff; }
.btn-line { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; background: #fff; color: var(--heading); font-weight: 700; text-decoration: none; border-radius: 999px; padding: 12px 22px 12px 14px; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.btn-line svg { width: 28px; height: 28px; flex: none; }
.btn-line:hover { background: #effaf3; }
.line-note { font-size: 13px; color: var(--cream); margin-top: 10px; }
.line-dialog:not([open]) { display: none; }
.line-dialog { margin: auto; border: none; border-radius: 16px; padding: 28px 32px 24px; width: min(340px, calc(100% - 32px)); text-align: center; color: var(--heading); box-shadow: 0 12px 40px rgba(15,40,70,.25); }
.line-dialog::backdrop { background: rgba(15,30,50,.55); }
.line-dialog-close { position: absolute; top: 8px; right: 10px; width: 40px; height: 40px; border: none; background: none; font-size: 28px; line-height: 1; color: var(--text-sub); cursor: pointer; border-radius: 8px; }
.line-dialog-close:hover { background: #eef2f6; }
.line-dialog-title { font-weight: 700; font-size: 18px; }
.line-dialog img { display: block; width: 180px; height: 180px; margin: 14px auto 10px; }
.line-dialog-lead { font-size: 14px; font-weight: 700; line-height: 1.6; }
.line-dialog .line-id { margin-top: 12px; font-size: 15px; background: #f4f9fd; border-radius: 8px; padding: 8px 10px; }
.line-dialog .line-id b { font-size: 18px; letter-spacing: .02em; }
.line-dialog-note { margin-top: 6px; font-size: 13px; color: var(--text-sub); line-height: 1.6; }
.form-lead { margin-top: 28px; font-weight: 700; color: #fff; }
.form-lead + .form-card { margin-top: 12px; }

/* フッター */
.site-footer { background: #f4f9fd; padding: 36px 0 28px; font-size: 14px; color: var(--text-sub); }
.site-footer .logo { font-size: 18px; }
.foot-info { margin-top: 8px; }
.foot-links { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; font-size: 14px; }
.foot-links a { color: var(--text-sub); }
.copy { margin-top: 18px; font-size: 13px; }

/* ---------- PC ---------- */
@media (min-width: 768px) {
  .ex-zone { padding: 6px 28px 28px; }
  .wrap { padding: 0 40px; }
  .head-right { gap: 22px; }
  .gnav { display: flex; align-items: center; gap: 22px; }
  .menu-btn { display: none; }
  .fv { min-height: calc(100svh - 64px); flex-direction: row; align-items: center; background: linear-gradient(180deg, #fff 0%, #f3f9fd 100%); }
  .fv .inner { padding: 56px 40px; }
  .fv .inner > * { max-width: 520px; }
  .fv h1 { font-size: clamp(36px, 4.2vw, 52px); }
  .fv .lead { font-size: 17px; }
  .hero-img {
    position: absolute; z-index: 0; margin: 0;
    right: 0; top: 50%; transform: translateY(-50%);
    width: 66%; aspect-ratio: 16 / 9;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32%), linear-gradient(transparent 0, #000 14%, #000 86%, transparent 100%);
    -webkit-mask-composite: source-in;
            mask-image: linear-gradient(90deg, transparent 0, #000 32%), linear-gradient(transparent 0, #000 14%, #000 86%, transparent 100%);
            mask-composite: intersect;
  }
  .hero-img img { height: 100%; }
  .hero-img::after { display: none; }

  .section, .contact { padding: 96px 0; }
  .worries { grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .fields { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .ex-cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .ex-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .ex-card img { width: 100%; margin: 0; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .ex-card-body { gap: 4px; padding: 16px 18px 18px; }
  .ex-card-title { font-size: 17px; }
  .ex-card-text { font-size: 15px; }
  .example { grid-template-columns: 1fr 1.25fr; column-gap: 40px; row-gap: 14px; padding: 36px 0; align-items: start; }
  .example .ex-head { grid-column: 1; grid-row: 1; }
  .example .ex-fig { grid-column: 1; grid-row: 2 / span 3; }
  .example .ex-flow { grid-column: 2; grid-row: 1 / span 2; }
  .example .ex-ba { grid-column: 2; grid-row: 3; }
  .example .ex-small { grid-column: 2; grid-row: 4; }
  .values { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .values li { padding-left: 0; padding-top: 52px; }
  .profile { grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
  .profile-avatar { width: 120px; height: 120px; }
  .price-row { grid-template-columns: 1fr auto; align-items: center; gap: 24px; }
  .price-row dd { text-align: right; }
  .monitor { padding: 32px 36px; }
  .extra { grid-template-columns: 1fr 1.6fr; gap: 32px; align-items: center; padding: 32px 36px; }
  .form-card { padding: 36px 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn svg, .faq summary::after { transition: none; }
}

/* とても狭いスマホ（幅360px未満）：ヘッダーが折り返さないように */
.logo, .head-btn { white-space: nowrap; }
@media (max-width: 359px) {
  .logo { font-size: 17px; gap: 6px; }
  .head-right { gap: 6px; }
  .head-btn { font-size: 13px; padding: 5px 10px; }
}
