/* ながらAlchemy コーポレートサイト 共通CSS（外部CDNなし・システムフォント） */
:root {
  --ink: #1d2433;
  --ink-soft: #4a5468;
  --line: #dfe3ea;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --brand: #1f5f8b;
  --brand-dark: #154566;
  --accent: #c9822b;
  --tbd-bg: #fff3b0;
  --tbd-ink: #6b4e00;
  --radius: 10px;
  --wrap: 1080px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { line-height: 1.45; }
h1 { font-size: clamp(1.55rem, 4.2vw, 2.3rem); margin: 0 0 .6em; }
h2 { font-size: clamp(1.25rem, 3vw, 1.6rem); margin: 0 0 .8em; padding-bottom: .35em; border-bottom: 2px solid var(--line); }
h3 { font-size: 1.1rem; margin: 1.4em 0 .4em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

/* ヘッダー */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.logo { font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; letter-spacing: .02em; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.logo-mark { width: 32px; height: 32px; flex: none; display: block; }
.nav-btn { display: none; cursor: pointer; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-size: .9rem; background: #fff; color: var(--ink); }
.nav-btn:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.gnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px 18px; flex-wrap: wrap; }
.gnav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.gnav a:hover, .gnav a[aria-current="page"] { color: var(--brand); }
.gnav .nav-cta a { background: var(--brand); color: #fff; padding: 6px 14px; border-radius: 999px; }
@media (max-width: 760px) {
  .site-header .wrap { flex-wrap: wrap; }
  /* JSが動くときだけ折りたたむ（動かないときはメニューを常に表示） */
  .js .nav-btn { display: inline-block; }
  .js .gnav { display: none; position: absolute; top: 60px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); }
  .js .gnav.open { display: block; }
  .gnav { width: 100%; }
  .gnav ul { flex-direction: column; padding: 8px 16px 16px; gap: 0; }
  .gnav li { border-bottom: 1px solid var(--line); }
  .gnav a { display: block; padding: 12px 0; }
  .gnav .nav-cta { border: 0; padding-top: 12px; }
  .gnav .nav-cta a { display: inline-block; padding: 8px 18px; }
}

/* パンくず */
.breadcrumb { font-size: .85rem; color: var(--ink-soft); padding: 12px 16px 0; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb li + li::before { content: "›"; margin: 0 6px 0 2px; }
.breadcrumb a { color: var(--ink-soft); }

/* セクション */
main section { padding: 44px 0; }
main section.alt { background: var(--bg-soft); }
.hero { padding: 56px 0 48px; background: linear-gradient(180deg, #eef4f9 0%, #fff 100%); }
.hero .lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 46em; }
.page-head { padding: 28px 0 8px; }
.page-head .lead { color: var(--ink-soft); max-width: 46em; }

/* ボタン */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; text-decoration: none; font-weight: 600; border: 2px solid var(--brand); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--brand); }

/* カード */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; }
.card h3 { margin-top: 0; }
.card .more { font-size: .92rem; }
.tag { display: inline-block; font-size: .78rem; padding: 2px 10px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-soft); margin-bottom: 8px; }
.tag-self { background: #eaf3ea; border-color: #b9d6b9; color: #2f5e2f; }

/* 段階・ステップ */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 12px; }
.steps > li { counter-increment: step; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 16px 60px; position: relative; background: #fff; }
.steps > li::before { content: counter(step); position: absolute; left: 16px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.steps h3 { margin: 0 0 .3em; }

/* 表 */
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
th { background: var(--bg-soft); white-space: nowrap; }
@media (max-width: 560px) {
  table.stack, table.stack tbody, table.stack tr, table.stack th, table.stack td { display: block; width: 100%; }
  table.stack tr { margin-bottom: 10px; }
  table.stack th { white-space: normal; border-bottom: 0; }
}

/* やること・やらないこと */
.do-dont { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.do-dont .box { border-radius: var(--radius); padding: 18px 20px; border: 1px solid var(--line); }
.do-dont .do { background: #f0f6fb; }
.do-dont .dont { background: #fbf3ef; }
.do-dont h3 { margin-top: 0; }
ul.check, ul.cross { padding-left: 1.3em; margin: 0; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: .6em 0 0; }

/* 写真・動画の置き場所 */
.media-slot { border: 2px dashed #c8ced8; border-radius: var(--radius); background: var(--bg-soft); min-height: 180px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; color: var(--ink-soft); }

/* 相談の誘導帯 */
.cta-band { background: var(--brand); color: #fff; text-align: center; }
.cta-band h2 { border-color: rgba(255,255,255,.3); }
.cta-band p { color: #e6eef5; }
.cta-band .btn-primary { background: #fff; color: var(--brand); border-color: #fff; }

/* 未確定の仮置き（黄色。公開前に差し替える） */
.tbd { background: var(--tbd-bg); color: var(--tbd-ink); padding: 1px 6px; border-radius: 4px; font-weight: 600; font-size: .92em; border: 1px dashed #d6b400; }
.tbd-block { display: block; padding: 12px 14px; margin: 8px 0 14px; }

/* フォーム */
.form-grid { display: grid; gap: 16px; max-width: 640px; }
.form-grid label { display: block; font-weight: 600; margin-bottom: 4px; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; padding: 10px 12px; border: 1px solid #c5ccd6; border-radius: 6px; font: inherit; }
.form-grid textarea { min-height: 160px; }
.req { color: #b3261e; font-size: .8rem; margin-left: 6px; }

/* フッター */
.site-footer { background: #1d2433; color: #cfd6e2; padding: 36px 0 24px; font-size: .92rem; margin-top: 0; }
.site-footer a { color: #e8edf5; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.site-footer h2 { font-size: 1rem; border: 0; padding: 0; margin: 0 0 8px; color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 4px 0; }
.copy { margin-top: 24px; font-size: .82rem; color: #9aa4b5; }

.note { font-size: .88rem; color: var(--ink-soft); }
.narrow { max-width: 760px; }

/* ===== デザイン改修（2026-11-23）：画像ヒーロー・フェード・図 ===== */
:root { --navy: #0d1b2a; }

/* 画像ヒーロー：暗色オーバーレイ（左を濃く）＋下端を背景色へフェード */
.hero-img, .page-head.has-img {
  position: relative; isolation: isolate; color: #fff; overflow: hidden;
  background: var(--navy);
}
.hero-img::before, .page-head.has-img::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: var(--img); background-size: cover; background-position: center;
  filter: blur(4px); transform: scale(1.06);   /* 画面内の数字が読めないようにぼかす */
}
.hero-img::before { filter: blur(9px); }
.hero-img::after, .page-head.has-img::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13,27,42,0) 74%, var(--bg) 100%),
    linear-gradient(90deg, rgba(13,27,42,.92) 0%, rgba(13,27,42,.84) 45%, rgba(13,27,42,.70) 100%);
}
.hero-img { padding: 88px 0 150px; }
.page-head.has-img { padding: 48px 0 110px; margin-bottom: 0; }
.hero-img h1, .page-head.has-img h1 { color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.hero-img .lead, .page-head.has-img .lead { color: #e3ebf4; }
.hero-img .btn-ghost, .page-head.has-img .btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.hero-img .btn-primary, .page-head.has-img .btn-primary { background: #fff; color: var(--brand-dark); border-color: #fff; }
.photo-note { position: absolute; right: 12px; bottom: 10px; font-size: .72rem; color: #5b6578; z-index: 1; }
@media (max-width: 560px) {
  .hero-img { padding: 56px 0 120px; }
  .hero-img::after, .page-head.has-img::after {
    background:
      linear-gradient(180deg, rgba(13,27,42,0) 80%, var(--bg) 100%),
      linear-gradient(180deg, rgba(13,27,42,.90), rgba(13,27,42,.84));
  }
}

/* セクションの切り替わりを淡いグラデーションに */
main section.alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 18%, var(--bg-soft) 82%, var(--bg) 100%); }

/* 事業カードの写真 */
.card-photo { display: block; max-width: none; width: calc(100% + 40px); margin: -20px -20px 14px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.figure-photo { margin: 0 0 16px; }
.figure-photo img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--radius); display: block; }
.figure-photo figcaption { font-size: .75rem; color: var(--ink-soft); margin-top: 4px; text-align: right; }

/* 図：横並びのフロー（スマホは縦） */
.flow { list-style: none; margin: 8px 0 20px; padding: 0; display: flex; gap: 0; align-items: stretch; }
.flow > li { flex: 1 1 0; position: relative; background: #fff; border: 2px solid var(--brand); border-radius: var(--radius); padding: 14px 12px; text-align: center; margin-right: 26px; }
.flow > li:last-child { margin-right: 0; }
.flow > li::after { content: ""; position: absolute; right: -21px; top: 50%; transform: translateY(-50%); border: 9px solid transparent; border-left: 12px solid var(--brand); }
.flow > li:last-child::after { display: none; }
.flow .num { display: inline-block; font-size: .75rem; font-weight: 700; color: #fff; background: var(--brand); border-radius: 999px; padding: 1px 10px; margin-bottom: 6px; }
.flow strong { display: block; font-size: 1.05rem; }
.flow small { display: block; color: var(--ink-soft); font-size: .82rem; line-height: 1.6; margin-top: 4px; }
.flow .us { border-color: var(--brand); }
.flow .you { border-color: var(--accent); background: #fdf7ef; }
.flow .you::after { border-left-color: var(--accent); }
.flow .you .num { background: var(--accent); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .85rem; color: var(--ink-soft); margin: 0 0 8px; }
.legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.legend .l-us::before { background: var(--brand); }
.legend .l-you::before { background: var(--accent); }
@media (max-width: 760px) {
  .flow { flex-direction: column; }
  .flow > li { margin: 0 0 26px; text-align: left; }
  .flow > li:last-child { margin-bottom: 0; }
  .flow > li::after { right: auto; left: 28px; top: auto; bottom: -23px; transform: none; border: 9px solid transparent; border-top: 12px solid var(--brand); }
  .flow .you::after { border-top-color: var(--accent); border-left-color: transparent; }
}

/* 図：サイクル（SVG） */
.cycle { max-width: 520px; margin: 0 auto 12px; }
.cycle svg { width: 100%; height: auto; display: block; }

/* 図：含まれるものの内訳 */
.breakdown { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 8px 0 16px; }
.breakdown > div { border-radius: var(--radius); padding: 14px 12px; border: 2px solid var(--brand); background: #f0f6fb; }
.breakdown > div strong { display: block; }
.breakdown > div small { color: var(--ink-soft); font-size: .82rem; }
.breakdown > div.pending { border: 2px dashed #d6b400; background: #fffbe6; }

/* 押せない送信ボタン */
.btn:disabled, .btn[aria-disabled="true"] { background: #c4cad3; border-color: #c4cad3; color: #5b6578; cursor: not-allowed; }

/* 代表の写真・経歴 */
.rep-photo-wrap { display: flex; justify-content: center; align-items: flex-start; }
.rep-photo { width: 100%; max-width: 280px; aspect-ratio: 483 / 640; object-fit: cover; border-radius: var(--radius); display: block; }
ul.career { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--brand); }
ul.career li { position: relative; padding: 6px 0 6px 20px; }
ul.career li::before { content: ""; position: absolute; left: -8px; top: 16px; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }

/* 迷惑送信よけの見えない入力欄 */
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 理念と約束 */
.core { font-size: clamp(1.15rem, 3.4vw, 1.45rem); font-weight: 700; color: var(--brand-dark); margin: 0 0 .6em; }
.why { display: block; font-size: .88rem; color: var(--ink-soft); margin: 2px 0 8px; }
blockquote.quote { margin: 0 0 12px; padding: 14px 18px; border-left: 4px solid var(--brand); background: #fff; border-radius: 0 var(--radius) var(--radius) 0; }
blockquote.quote p { margin: 0 0 .6em; }
blockquote.quote footer { font-size: .88rem; color: var(--ink-soft); }
