/* ===== esu consulting ===== */
:root {
  /* カラー（ここを変えると全体に反映） */
  --color-base: #80766B;      /* ベース／ロゴ色 */
  --color-tint: #E8EDEF;      /* 淡い背景 */
  --color-navy: #00335D;      /* 濃紺アクセント */
  --color-orange: #CF831F;    /* オレンジアクセント */
  --color-text: #666666;      /* 本文（K60%相当） */
  --color-white: #ffffff;
  --color-line: #d9dedf;

  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  --container: 1080px;
  --narrow: 760px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; font-family: var(--font); color: var(--color-text); background: var(--color-white); line-height: 1.9; font-size: 16px; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-navy); }
a:hover { text-decoration: none; }
h1, h2, h3 { color: var(--color-base); line-height: 1.5; font-weight: 700; margin: 0 0 .6em; }
h1 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); }
h2 { font-size: clamp(1.35rem, 3.2vw, 1.75rem); }
h3 { font-size: 1.1rem; color: var(--color-navy); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.4em; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.narrow { width: min(100% - 32px, var(--narrow)); margin-inline: auto; }
.center { text-align: center; }
.small { font-size: .875rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--color-navy); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--color-orange); outline-offset: 2px; }

/* ----- ヘッダー ----- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--color-base); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); }
.brand img { height: 32px; width: auto; display: block; }
.global-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.global-nav a:not(.btn) { display: block; padding: 8px 12px; color: #fff; text-decoration: none; font-size: .9rem; font-weight: 600; border-bottom: 2px solid transparent; }
.global-nav a:not(.btn):hover, .global-nav a[aria-current="page"]:not(.btn) { color: #fff; border-bottom-color: var(--color-orange); }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 6px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (min-width: 861px) { .global-nav li:last-child { margin-left: 14px; } }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .global-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--color-base); display: none; }
  .global-nav.is-open { display: block; }
  .global-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; }
  .global-nav li { border-bottom: 1px solid rgba(255,255,255,.25); }
  .global-nav a:not(.btn) { padding: 14px 4px; border-bottom: 0; }
  .global-nav li:last-child { border: 0; padding-top: 16px; }
  .global-nav .btn { width: 100%; }
}

/* ----- ボタン ----- */
.btn { display: inline-block; padding: 14px 32px; border-radius: 2px; text-decoration: none; font-weight: 700; text-align: center; border: 2px solid transparent; transition: background .2s, color .2s; line-height: 1.4; }
.btn-sm { padding: 8px 18px; font-size: .9rem; }
.btn-primary { background: var(--color-navy); color: #fff; }
.site-header .btn-primary { background: var(--color-orange); }
.site-header .btn-primary:hover { background: #b87218; }
.btn-light { border-color: #fff; color: #fff; background: transparent; }
.btn-light:hover { background: #fff; color: var(--color-base); }
.btn-primary:hover { background: #00203c; }
.btn-ghost { border-color: var(--color-base); color: var(--color-base); background: transparent; }
.btn-ghost:hover { background: var(--color-base); color: #fff; }
.btn-accent { background: var(--color-orange); color: #fff; }
.btn-accent:hover { background: #b87218; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ----- ヒーロー（MV：画面いっぱいの画像＋文字） ----- */
.hero { position: relative; display: flex; align-items: center; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); color: #fff; overflow: hidden; background: #2b2926; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(30,27,24,.78) 0%, rgba(30,27,24,.5) 55%, rgba(30,27,24,.25) 100%); }
.hero-inner { position: relative; z-index: 2; padding: 64px 0; }
.hero-text { max-width: 620px; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 6vw, 3.6rem); margin-bottom: .5em; }
.eyebrow { color: #fff; font-size: .95rem; font-weight: 700; letter-spacing: .12em; margin-bottom: 1.2em; padding-bottom: .7em; position: relative; display: inline-block; }
.eyebrow::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 2px; background: var(--color-orange); }
.lead { font-size: 1.05rem; }
.hero .lead { color: rgba(255,255,255,.92); }
.hero .lead span { display: inline-block; }
@media (min-width: 701px) { .hero .lead span { display: block; } }
.hero .btn-row { margin-top: 28px; }
@media (max-width: 700px) { .hero::before { background: rgba(30,27,24,.62); } }
/* ----- ページ見出し ----- */
.page-head { background: var(--color-tint); padding: clamp(32px, 6vw, 64px) 0; }
.page-head h1 { margin-bottom: .3em; }
.page-head .lead { margin: 0; }
.page-head-visual { position: relative; display: flex; align-items: center; min-height: clamp(240px, 32vw, 360px); padding: 56px 0; overflow: hidden; background: #2b2926; color: #fff; }
.page-head-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.page-head-visual::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(30,27,24,.78) 0%, rgba(30,27,24,.5) 60%, rgba(30,27,24,.3) 100%); }
.page-head-inner { position: relative; z-index: 2; }
.page-head-visual h1 { color: #fff; }
.page-head-visual .lead { color: rgba(255,255,255,.92); }
@media (max-width: 700px) { .page-head-visual::before { background: rgba(30,27,24,.62); } }.article-date { color: var(--color-base); margin-bottom: .4em; }

/* ----- セクション ----- */
.section { padding: clamp(48px, 8vw, 88px) 0; }
.section-tint { background: var(--color-tint); }
.section-head { text-align: center; margin-bottom: 40px; }
.label { color: var(--color-orange); font-size: .8rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; margin-bottom: .4em; }
.more { margin-top: 32px; text-align: center; }
.link-arrow { color: var(--color-navy); font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: " →"; }
.link-back::after { content: ""; }
.link-back::before { content: "← "; }
.note-center { text-align: center; margin-top: 32px; }
.group-title { border-bottom: 2px solid var(--color-base); padding-bottom: 8px; margin: 48px 0 24px; }
.group-title:first-child { margin-top: 0; }

/* ----- 課題リスト（吹き出し） ----- */
.issues { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 32px; }
.issues li { display: flex; align-items: center; gap: 18px; }
.issue-icon { flex: none; width: 68px; height: 68px; border-radius: 50%; background: var(--color-base); color: #fff; display: grid; place-items: center; }
.issue-icon svg { width: 36px; height: 36px; }
.bubble { position: relative; flex: 1; margin: 0; background: #fff; padding: 20px 24px; border-radius: 18px; color: var(--color-navy); font-weight: 700; line-height: 1.6; box-shadow: 0 2px 0 rgba(128,118,107,.25); }
.bubble::before { content: ""; position: absolute; left: -10px; top: 50%; width: 20px; height: 20px; background: #fff; transform: translateY(-50%) rotate(45deg); border-radius: 3px; }
@media (max-width: 800px) { .issues { grid-template-columns: 1fr; gap: 20px; } .issue-icon { width: 56px; height: 56px; } .issue-icon svg { width: 30px; height: 30px; } }
/* ----- アイコン付きカード ----- */
.card-icon { display: flex; align-items: flex-start; gap: 20px; }
.card-ico { flex: none; width: 60px; height: 60px; border-radius: 50%; background: var(--color-navy); color: #fff; display: grid; place-items: center; }
.card-ico svg { width: 32px; height: 32px; }
.card-icon h3 { margin-top: 4px; }

/* ----- 選ばれる理由（資料と同デザイン） ----- */
.strengths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.strength { background: #fff; overflow: hidden; box-shadow: 0 2px 14px rgba(60,50,40,.12); padding-bottom: 24px; text-align: center; }
.strength img { width: 100%; aspect-ratio: 396 / 240; object-fit: cover; }
.strength h3 { margin: 20px 16px 12px; font-size: 1.15rem; line-height: 1.5; }
.strength p { margin: 0 20px; text-align: left; font-size: .9rem; line-height: 1.8; }
.strength.is-navy h3, .strength.is-navy p { color: var(--color-navy); }
.strength.is-orange h3, .strength.is-orange p { color: var(--color-orange); }
@media (max-width: 1000px) { .strengths { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .strengths { grid-template-columns: 1fr; } }

/* ----- ご相談から実現までの流れ（資料と同デザイン） ----- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flow-step { position: relative; isolation: isolate; margin-top: 24px; padding: 40px 54px 28px 24px; display: flex; flex-direction: column; }
.flow-step::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 50%, calc(100% - 40px) 100%, 0 100%); }
.flow-badge { position: absolute; top: 0; left: calc(50% - 20px); transform: translate(-50%, -50%); z-index: 2; color: #fff; font-weight: 700; font-size: .85rem; padding: 6px 22px; border-radius: 999px; white-space: nowrap; }
.flow-badge b { font-size: 1.2rem; margin-left: 2px; }
.flow-step h3 { text-align: center; font-size: 1.1rem; line-height: 1.5; margin: 8px 0 12px; }
.flow-step p { font-size: .88rem; line-height: 1.8; margin: 0 0 12px; }
.flow-step img { margin: auto auto 0; padding-top: 12px; max-width: 100%; height: auto; }
.flow-note { background: #ebeaed; color: var(--color-text); border-radius: 6px; padding: 10px 12px; font-size: .78rem !important; }
.flow-step.is-navy h3, .flow-step.is-navy > p:not(.flow-note) { color: var(--color-navy); }
.flow-step.is-orange h3, .flow-step.is-orange > p:not(.flow-note) { color: var(--color-orange); }
.flow-step.is-navy .flow-badge { background: var(--color-navy); }
.flow-step.is-orange .flow-badge { background: var(--color-orange); }
@media (max-width: 1000px) { .flow { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; gap: 28px; } .flow-step { padding: 40px 24px 24px; } .flow-step::before { clip-path: none; border-radius: 10px; } .flow-badge { left: 50%; } }

/* ----- 実績カード ----- */
.works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.work { display: grid; grid-template-columns: 40% 1fr; background: #fff; box-shadow: 0 2px 14px rgba(60,50,40,.12); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.work:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(60,50,40,.16); }
.work img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; }
.work-body { padding: 22px 24px; border-left: 4px solid var(--color-orange); }
.work:nth-child(odd) .work-body { border-left-color: var(--color-navy); }
.work .tag { margin-bottom: .4em; color: var(--color-base); }
.work h3 { font-size: 1rem; line-height: 1.6; margin-bottom: .5em; }
.work p:last-child { margin: 0; font-size: .88rem; line-height: 1.8; }
@media (max-width: 900px) { .works-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .work { grid-template-columns: 1fr; } .work img { height: auto; aspect-ratio: 16 / 9; min-height: 0; } .work-body { border-left: 0; border-top: 4px solid var(--color-orange); } .work:nth-child(odd) .work-body { border-top-color: var(--color-navy); } }
/* ----- サービス内容（プランカード） ----- */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: #fff; border: 1px solid #b9b0a6; border-radius: 22px; overflow: hidden; box-shadow: 0 2px 8px rgba(60,50,40,.12); }
.plan-head { background: #e2ded9; text-align: center; padding: 22px 20px 26px; }
.plan-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 12px; }
.pill { display: inline-flex; align-items: center; gap: 10px; background: #2c4a6e; color: #fff; font-weight: 700; font-size: .9rem; line-height: 1; padding: 4px 20px 4px 4px; border-radius: 999px; }
.pill i { flex: none; display: grid; place-items: center; width: 34px; height: 34px; background: #fff; color: #2c4a6e; border-radius: 50%; }
.pill i svg { width: 20px; height: 20px; }.plan-lead { margin: 0 0 14px; font-size: .9rem; }
.plan-head h3 { margin: 0; color: #2c4a6e; font-size: clamp(1.5rem, 3.2vw, 2rem); font-weight: 500; line-height: 1.4; }
.plan-body, .plan > .plan-list { padding: 24px 28px 28px; }
.plan-body { padding: 0; }
.plan-include { text-align: center; color: #2c4a6e; font-weight: 700; margin: 22px 20px 0; }
.plus { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 8px; background: #2c4a6e; color: #fff; border-radius: 50%; font-size: 1rem; line-height: 1; vertical-align: middle; }
.plan-list { list-style: none; margin: 0; padding: 24px 32px 30px; }
.plan-list li { position: relative; padding-left: 1.6em; margin-bottom: .9em; color: #4f4f4f; }
.plan-list li:last-child { margin-bottom: 0; }
.plan-list li::before { content: ""; position: absolute; left: 0; top: .65em; width: 10px; height: 10px; background: #f0b987; border-radius: 50%; }
.plan-body .plan-list { padding-top: 16px; }
@media (max-width: 800px) { .plans { grid-template-columns: 1fr; } }

.service-intro { margin: 0 auto 40px; text-align: left; }
.service-intro p { margin: 0; text-wrap: pretty; }

/* ----- 合同会社esuとの連携 ----- */
.collab-text { margin-inline: auto; }
.collab-text p { margin-bottom: 1.1em; }
.collab-diagram { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; max-width: 760px; margin: 48px auto 0; padding: 36px 32px 28px; border: 1px solid #eceeef; box-shadow: 0 6px 28px rgba(60,50,40,.09); }
.collab-box { text-align: center; padding: 8px 12px; }
.collab-ico { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--color-navy); color: #fff; margin-bottom: 12px; }
.is-esu .collab-ico { background: #B0B9C2; }
.collab-ico svg { width: 28px; height: 28px; }
.collab-brand { display: block; width: auto; height: 80px; margin: 0 auto 10px; object-fit: contain; }
.collab-name { margin: 0 0 6px; font-weight: 700; font-size: 1.1rem; color: var(--color-navy); }
.collab-role { margin: 0; font-size: .82rem; line-height: 1.8; }
.collab-plus { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #B0B9C2; color: #fff; font-size: 1.6rem; line-height: 1; font-weight: 700; }
.collab-result { grid-column: 1 / -1; margin: 12px 0 0; text-align: center; }
.collab-result span { display: flex; align-items: center; gap: 20px; color: var(--color-base); font-weight: 700; font-size: 1.05rem; letter-spacing: .1em; }
.collab-result span::before, .collab-result span::after { content: ""; flex: 1; height: 1px; background: var(--color-line); }.collab-points { margin: 88px auto 0; max-width: 760px; }
.collab-points-title { font-weight: 700; color: var(--color-navy); text-align: center; margin: 0 0 24px; }
.collab-points-title::after { content: ""; display: block; width: 40px; height: 2px; background: var(--color-orange); margin: 12px auto 0; }
.point-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.point-list li { position: relative; flex: 0 0 calc((100% - 32px) / 3); background: var(--color-tint); padding: 36px 16px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pt-num { position: absolute; top: 10px; left: 14px; font-weight: 700; font-size: .85rem; letter-spacing: .08em; color: var(--color-orange); }
.point-list i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--color-navy); }
.point-list i svg { width: 26px; height: 26px; }
.pt-text { font-size: .92rem; line-height: 1.7; color: var(--color-navy); font-weight: 700; }
@media (max-width: 700px) { .point-list li { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 420px) { .point-list li { flex-basis: 100%; } }
.collab-note { max-width: 760px; margin: 20px auto 0; font-size: .85rem; line-height: 1.8; text-align: center; text-wrap: balance; }
.collab-note + .collab-card { margin-top: 32px; }.collab-card { display: flex; align-items: center; gap: 24px; max-width: 760px; margin: 40px auto 0; padding: 20px; border: 1px solid var(--color-line); text-decoration: none; color: var(--color-text); transition: box-shadow .2s, border-color .2s; }
.collab-card:hover { border-color: #B0B9C2; box-shadow: 0 4px 16px rgba(60,50,40,.12); }
.collab-logo { flex: none; width: 120px; height: 120px; background: #B0B9C2; display: block; }
.collab-logo img { width: 100%; height: 100%; object-fit: cover; }
.collab-body { display: flex; flex-direction: column; gap: 4px; font-size: .92rem; line-height: 1.8; }
.collab-body strong { font-size: 1.15rem; color: var(--color-navy); }
.collab-tag { align-self: flex-start; font-size: .75rem; font-weight: 700; color: #fff; background: var(--color-base); padding: 2px 10px; letter-spacing: .05em; }
.collab-link { align-self: flex-start; margin-top: 6px; }
.collab-link::after { content: " ↗"; }
@media (max-width: 640px) { .collab-diagram { grid-template-columns: 1fr; } .collab-plus { margin-inline: auto; } .collab-card { flex-direction: column; align-items: flex-start; } .collab-logo { width: 96px; height: 96px; } }
/* ----- 大切にしていること ----- */
.philosophy { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: center; }
.philosophy-lead { font-size: clamp(1.15rem, 2.6vw, 1.4rem); font-weight: 700; color: var(--color-navy); line-height: 1.5; }
.philosophy-visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .philosophy { grid-template-columns: 1fr; gap: 32px; } .philosophy-visual { order: -1; } }

/* ----- カード ----- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .grid-2 { grid-template-columns: 1fr; } }
.card { background: #fff; padding: 28px; border: 1px solid var(--color-line); }
.section:not(.section-tint) .card { background: var(--color-tint); border-color: transparent; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card-plan img { margin: -28px -28px 20px; max-width: calc(100% + 56px); width: calc(100% + 56px); }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; color: var(--color-orange); letter-spacing: .05em; margin-bottom: .3em; }

.check { list-style: none; padding: 0; margin: 0; }
.check li { padding-left: 1.6em; position: relative; margin-bottom: .4em; }
.check li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 10px; height: 5px; border-left: 2px solid var(--color-orange); border-bottom: 2px solid var(--color-orange); transform: rotate(-45deg) translateY(-50%); }
.conditions { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; padding: 0; margin: 32px 0; font-weight: 700; color: var(--color-navy); }
.conditions li::before { content: "● "; color: var(--color-orange); font-size: .7em; }
.conditions li:last-child { flex-basis: 100%; text-align: center; font-weight: 400; color: var(--color-text); font-size: .95rem; }
.conditions li:last-child::before { content: none; }

/* ----- ステップ ----- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { counter-increment: step; background: #fff; padding: 24px 20px; border-top: 3px solid var(--color-base); }
.section:not(.section-tint) .steps li { background: var(--color-tint); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; color: var(--color-orange); font-weight: 700; font-size: 1.4rem; line-height: 1; margin-bottom: 8px; }
.steps strong { display: block; color: var(--color-navy); }
.steps span { font-size: .9rem; }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.section-sub { max-width: 720px; margin: 0 auto; }
@media (max-width: 1000px) { .steps-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .steps, .steps-4 { grid-template-columns: 1fr; } }

/* ----- プロフィール ----- */
.profile-brief { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: center; }
.profile-photo img { width: 240px; height: 240px; border-radius: 50%; object-fit: cover; object-position: 45% 40%; background: var(--color-tint); }
.profile-name { font-size: clamp(1.7rem, 4vw, 2.1rem); color: var(--color-base); margin-bottom: .5em; letter-spacing: .08em; }
.profile-brief .small { font-size: 1rem; font-weight: 700; color: var(--color-navy); letter-spacing: .08em; margin-bottom: .3em; }
.profile-brief .more { text-align: left; margin-top: 20px; }
@media (max-width: 700px) { .profile-brief { grid-template-columns: 1fr; text-align: center; } .profile-photo img { margin-inline: auto; width: 180px; height: 180px; } .profile-brief .more { text-align: center; } }

/* ----- 実績 ----- */
.case { display: grid; grid-template-columns: 300px 1fr; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--color-line); }
.case img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--color-tint); }
.case dl { margin: 0; }
.case dt { font-weight: 700; color: var(--color-base); font-size: .85rem; margin-top: .6em; }
.case dd { margin: 0; }
@media (max-width: 700px) { .case { grid-template-columns: 1fr; } }

/* ----- 実績ページ ----- */
.works-index-section { padding: 48px 0 16px; }
.works-index { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.works-index-col { background: #fff; border: 1px solid var(--color-line); border-top: 4px solid var(--color-navy); box-shadow: 0 2px 14px rgba(60,50,40,.08); }
.works-index-col.is-orange { border-top-color: var(--color-orange); }
.works-index-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; text-decoration: none; color: var(--color-navy); font-weight: 700; font-size: 1.1rem; border-bottom: 1px solid var(--color-line); }
.works-index ul { list-style: none; margin: 0; padding: 4px 8px; }
.works-index li + li { border-top: 1px solid #eceeef; }
.works-index li a { display: flex; align-items: center; gap: 14px; padding: 10px 12px; text-decoration: none; color: var(--color-text); transition: background .2s; }
.works-index li a:hover { background: var(--color-tint); }
.works-index li img { flex: none; width: 56px; height: 56px; object-fit: cover; }
.wi-text { flex: 1; display: flex; flex-direction: column; gap: 2px; line-height: 1.5; }
.wi-text b { font-size: .92rem; color: var(--color-navy); }
.wi-text small { font-size: .78rem; }
.wi-arrow { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--color-tint); position: relative; transition: background .2s; }
.wi-arrow::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; border-right: 2px solid var(--color-navy); border-bottom: 2px solid var(--color-navy); transform: translate(-50%, -65%) rotate(45deg); }
.works-index li a:hover .wi-arrow { background: #fff; }
@media (max-width: 800px) { .works-index { grid-template-columns: 1fr; gap: 20px; } }
.case-full { padding: 0 0 48px; margin-bottom: 48px; border-bottom: 1px solid var(--color-line); }
.case-full:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.case-head { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.case-head img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.case-head .tag { margin-bottom: .4em; color: var(--color-base); }
.case-head h3 { font-size: 1.15rem; line-height: 1.6; margin-bottom: .7em; }
.case-summary { margin: 0; font-size: .95rem; }
@media (max-width: 700px) { .case-head { grid-template-columns: 1fr; gap: 16px; } }
.case-more { margin-top: 20px; }
.case-more summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--color-navy); font-weight: 700; font-size: .92rem; padding: 8px 18px; border: 1px solid var(--color-navy); }
.case-more summary::-webkit-details-marker { display: none; }
.case-more summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.case-more[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.case-more summary:hover { background: var(--color-navy); color: #fff; }
.case-more .more-close, .case-more[open] .more-open { display: none; }
.case-more[open] .more-close { display: inline; }
.case-body { padding-top: 8px; }
.case-body h4 { font-size: 1rem; color: var(--color-base); border-left: 4px solid var(--color-orange); padding-left: 10px; margin: 1.8em 0 .7em; }
.case-body p { margin-bottom: 1em; }
.case-body .check { margin: 0 0 1em; }
/* ----- ページ上部へ戻るボタン（実績ページ） ----- */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 52px; height: 52px; display: grid; place-items: center; background: var(--color-navy); box-shadow: 0 4px 14px rgba(0,0,0,.25); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility .25s, background .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: #00203c; }
.to-top span { width: 12px; height: 12px; border-left: 2.5px solid #fff; border-top: 2.5px solid #fff; transform: translateY(3px) rotate(45deg); }
@media (max-width: 700px) { .to-top { right: 14px; bottom: 14px; width: 46px; height: 46px; } }

.profile-text p { margin-bottom: 1.1em; text-wrap: pretty; }
.profile-text p:last-child { margin-bottom: 0; }

.profile-wide { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; max-width: 960px; margin: 0 auto; }
.profile-wide-text p { margin-bottom: 1.1em; text-wrap: pretty; }
.profile-role { font-weight: 700; color: var(--color-navy); letter-spacing: .08em; margin-bottom: .2em !important; }
.profile-wide-text .profile-name { font-weight: 700; line-height: 1.5; font-size: clamp(1.7rem, 4vw, 2.1rem); color: var(--color-base); letter-spacing: .08em; margin: 0 0 .8em; }
.profile-more { margin: 1.6em 0 0 !important; }
.profile-wide-text h2 { margin-top: 2.2em; }
.profile-wide-text .profile-name + h2 { margin-top: 1.6em; }
.profile-wide-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 800px) { .profile-wide { grid-template-columns: 1fr; gap: 32px; } .profile-wide-photo { order: -1; max-width: 260px; margin-inline: auto; } }

/* ----- 会社概要テーブル ----- */
.table { margin: 0; border-top: 1px solid var(--color-line); }
.table > div { display: grid; grid-template-columns: 160px 1fr; border-bottom: 1px solid var(--color-line); padding: 18px 8px; gap: 16px; }
.table dt { font-weight: 700; color: var(--color-base); }
.table dd { margin: 0; }
@media (max-width: 600px) { .table > div { grid-template-columns: 1fr; gap: 2px; } }

.about-lead { margin: 0 0 .5em; font-weight: 700; color: var(--color-navy); }
.about-list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.about-list li { font-size: .88rem; background: var(--color-tint); padding: 4px 12px; }
.about-list li.about-etc { background: none; padding: 4px 2px; }

/* ----- お知らせ ----- */
.news-list { border-top: 1px solid var(--color-line); }
.news-item { display: flex; gap: 24px; padding: 18px 8px; border-bottom: 1px solid var(--color-line); text-decoration: none; color: var(--color-text); }
.news-item:hover .news-title { color: var(--color-navy); text-decoration: underline; }
.news-item time { color: var(--color-base); font-weight: 700; white-space: nowrap; }
@media (max-width: 600px) { .news-item { flex-direction: column; gap: 2px; } }
.empty { text-align: center; }
.article-eyecatch { margin: 0 0 32px; }

/* ----- 本文（Markdown記事・プライバシー） ----- */
.prose h2 { font-size: 1.25rem; border-left: 4px solid var(--color-orange); padding-left: 12px; margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose figure { margin: 1.5em 0; }
.prose img { height: auto; }

/* ----- 問い合わせ ----- */
.form-wrap { margin: 32px 0 16px; }
.form-wrap iframe { display: block; width: 100%; border: 0; }
.contact-box { margin-top: 48px; padding: 24px; background: var(--color-tint); text-align: center; }
.contact-box p { margin: 0; }
.contact-tel { font-size: 1.5rem; font-weight: 700; letter-spacing: .05em; margin: .2em 0 .1em !important; }
.contact-tel a { color: var(--color-navy); text-decoration: none; }
.contact-hours { font-size: .9rem; }

/* ----- CTA ----- */
.cta { background: var(--color-navy); color: #fff; text-align: center; padding: clamp(48px, 7vw, 72px) 0; }
.cta h2 { color: #fff; }

/* ----- フッター ----- */
.site-footer { background: var(--color-base); color: #fff; padding-top: 48px; font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 20px; }
.footer-info { list-style: none; margin: 0; padding: 0; }
.footer-info li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; line-height: 1.7; }
.footer-info svg { flex: none; width: 20px; height: 20px; margin-top: 3px; }
.footer-info a { color: #fff; text-decoration: none; }
.footer-info a:hover { text-decoration: underline; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 6px 32px; }
.footer-links a { color: #fff; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.copyright { text-align: center; margin: 40px 0 0; padding: 18px 16px; font-size: .8rem; border-top: 1px solid rgba(255,255,255,.25); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
