/* Dr. Shu Office LLC — site-new draft 2026-08-17 */
:root {
  --navy: #16304f;
  --navy-deep: #0e2038;
  --accent: #2e6da4;
  --gold: #b08d3f;
  --ink: #24303c;
  --ink-soft: #5a6875;
  --line: #dde4ea;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --max: 1080px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
/* scroll-behavior: smooth は「index.html#company」のような
   別ページからのアンカー着地を潰すため使わない（読み込み時のジャンプが無効化される） */
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { opacity: .85; }

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

/* header */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 36px; width: auto; }
.brand-name { font-weight: 700; color: var(--navy); font-size: .88rem; letter-spacing: .02em; line-height: 1.2; white-space: nowrap; }
.brand-name small { display: block; font-size: .68rem; font-weight: 500; color: var(--ink-soft); letter-spacing: .06em; }
nav ul { display: flex; gap: 16px; list-style: none; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
nav a { color: var(--ink); font-size: .84rem; font-weight: 500; }
nav a.cta {
  background: var(--navy); color: #fff; padding: 7px 14px; border-radius: 4px; white-space: nowrap;
}

/* hero */
.hero {
  position: relative; color: #fff;
  background: linear-gradient(rgba(14,32,56,.50), rgba(14,32,56,.50)), url(../img/hero.jpg) center/cover no-repeat;
  padding: 110px 24px 120px;
}
.hero-inner { max-width: var(--max); margin: 0 auto; }
.hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 700; line-height: 1.5;
  letter-spacing: .03em;
}
.hero p.lead { margin-top: 20px; font-size: clamp(.95rem, 2vw, 1.1rem); max-width: 640px; opacity: .92; }
.hero .en { display: block; margin-top: 14px; font-size: .98rem; letter-spacing: .03em; color: #e3ebf3; font-weight: 500; }
.hero .btns { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 4px; font-weight: 600; font-size: .95rem;
}
.btn-primary { background: var(--gold); color: #fff; }
.btn-ghost { border: 1px solid rgba(255,255,255,.7); color: #fff; }

/* sections */
section { padding: 76px 0; scroll-margin-top: 84px; }
section.alt { background: var(--bg-alt); }
.sec-label { color: var(--gold); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
h2 { color: var(--navy); font-size: 1.7rem; margin: 6px 0 28px; line-height: 1.4; }
h3 { color: var(--navy); font-size: 1.12rem; margin-bottom: 10px; }
p + p { margin-top: 1em; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }

/* service cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 22px; margin-top: 8px; }
.card {
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy);
  border-radius: 6px; padding: 26px 24px;
}
.card ul { list-style: none; margin-top: 8px; }
.card li { padding-left: 1.2em; position: relative; font-size: .93rem; margin-top: 7px; color: var(--ink-soft); }
.card li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* profile */
.profile { display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: start; }
.profile .photo {
  width: 200px; aspect-ratio: 4/5; background: var(--line); border-radius: 6px;
  display: flex; align-items: center; justify-content: center; color: var(--ink-soft); font-size: .8rem;
  overflow: hidden;
}
.profile .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
.profile .title { color: var(--ink-soft); font-size: .9rem; margin-bottom: 14px; }
.en-note { color: var(--ink-soft); font-size: .88rem; margin-top: 18px; border-left: 3px solid var(--line); padding-left: 14px; }

/* company table */
table.company { width: 100%; border-collapse: collapse; max-width: 720px; }
table.company th, table.company td { text-align: left; padding: 13px 10px; border-bottom: 1px solid var(--line); font-size: .95rem; vertical-align: top; }
table.company th { width: 9em; color: var(--navy); font-weight: 600; white-space: nowrap; }

/* CTA band */
.cta-band { background: var(--navy-deep); color: #fff; text-align: center; padding: 64px 24px; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 560px; margin: 0 auto 28px; opacity: .9; }

/* footer */
footer { background: var(--navy); color: #cfd9e4; padding: 44px 24px 30px; font-size: .88rem; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer a { color: #cfd9e4; }
.copyright { margin-top: 26px; text-align: center; font-size: .78rem; opacity: .7; }

/* page header (sub pages) */
.page-head { background: var(--navy-deep); color: #fff; padding: 64px 24px; }
.page-head h1 { font-size: 1.8rem; }
.page-head .en { color: #9fb2c6; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; }

/* training table */
table.spec { width: 100%; border-collapse: collapse; margin-top: 18px; max-width: 560px; }
table.spec th, table.spec td { border: 1px solid var(--line); padding: 10px 14px; font-size: .93rem; text-align: left; }
table.spec th { background: var(--bg-alt); color: var(--navy); width: 8em; }

@media (max-width: 800px) {
  .two-col, .profile { grid-template-columns: 1fr; }
  header { position: static; }
  .header-inner { flex-direction: column; gap: 8px; padding: 12px 16px; }
  .brand img { height: 34px; }
  nav ul { gap: 6px 14px; justify-content: center; }
  nav a { font-size: .82rem; }
  nav a.cta { padding: 5px 12px; }
  section { padding: 56px 0; }
  .hero { padding: 64px 24px 72px; }
}

/* コンサルタント陣（2026-08-25：体制の裏付け確認済みのため掲載） */
ul.consultants {
  list-style: none; margin: 14px 0 0; padding: 14px 18px;
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: 4px; display: flex; flex-wrap: wrap; gap: 6px 22px;
}
ul.consultants li { font-size: .93rem; color: var(--navy); font-weight: 500; }
ul.consultants li::before { content: "●"; color: var(--gold); font-size: .7em; margin-right: 6px; vertical-align: middle; }

/* 事業部カード（2026-08-28 4事業部構成） */
.divisions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 20px; margin-top: 10px; }
.div-card {
  background:#fff; border:1px solid var(--line); border-radius:6px; padding:24px 22px;
  display:flex; flex-direction:column;
}
.div-card .num {
  display:inline-block; width:30px; height:30px; line-height:30px; text-align:center;
  background:var(--navy); color:#fff; border-radius:50%; font-size:.85rem; font-weight:700; margin-bottom:10px;
}
.div-card h3 { font-size:1.05rem; line-height:1.5; margin-bottom:8px; }
.div-card p { font-size:.92rem; color:var(--ink-soft); flex:1; }
.div-card .more { margin-top:14px; font-size:.9rem; font-weight:600; }

/* 事業部ページの担当体制 */
.team-box {
  background:#fff; border:1px solid var(--line); border-left:3px solid var(--gold);
  border-radius:4px; padding:18px 20px; margin:18px 0 6px;
}
.team-box h4 { color:var(--navy); font-size:.95rem; margin-bottom:8px; }
.team-box ul { list-style:none; }
.team-box li { font-size:.93rem; color:var(--ink-soft); padding-left:1.1em; position:relative; margin-top:5px; }
.team-box li::before { content:"—"; position:absolute; left:0; color:var(--gold); }

/* 特徴リスト */
ul.feature { list-style:none; margin-top:12px; }
ul.feature li { padding-left:1.5em; position:relative; margin-top:10px; font-size:.96rem; }
ul.feature li::before { content:"✓"; position:absolute; left:0; color:var(--gold); font-weight:700; }

/* 事業部の問い合わせ帯 */
.div-contact {
  background:var(--bg-alt); border-radius:6px; padding:20px 24px; margin-top:32px; text-align:center;
}
.div-contact p { font-size:.95rem; margin-bottom:6px; }
.div-contact a.mail { font-size:1.15rem; font-weight:700; }

/* div-card は <a> なので色と装飾をリセット */
a.div-card { color: var(--ink); transition: box-shadow .18s, transform .18s; }
a.div-card:hover { opacity: 1; box-shadow: 0 6px 18px rgba(22,48,79,.12); transform: translateY(-2px); }
a.div-card h3 { color: var(--navy); }
a.div-card .more { color: var(--accent); }
.page-head h1 { line-height: 1.45; }


/* コンサルタント一覧（2026-08-31 田邊さん依頼：枠→表） */
.clist-title { font-size: 1rem; color: var(--navy); margin: 16px 0 0; font-weight: 700; }
table.consultant-list { width: 100%; border-collapse: collapse; max-width: 440px; margin-top: 10px; }
table.consultant-list td {
  border: 1px solid var(--line); padding: 11px 16px; background: #fff;
  font-size: .95rem; color: var(--navy); font-weight: 500;
}


/* heroリード内のリンク（2026-09-01 田邊さん依頼：4つの事業部へ飛ばす） */
.hero p.lead a { color: #e6c169; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.hero p.lead a:hover { color: #fff; }


/* About Us 英文＋コンサルタント一覧の日英併記（2026-09-02 田邊さん依頼） */
.en-head { font-size: 1rem; color: var(--navy); margin: 26px 0 8px; font-weight: 700; letter-spacing: .04em; }
.en-body { font-size: .92rem; color: var(--ink-soft); line-height: 1.85; margin-bottom: 8px; }
table.consultant-list { max-width: 100%; }
table.consultant-list td.en-cell { color: var(--ink-soft); font-weight: 400; font-size: .9rem; white-space: normal; }


/* ── 2026-09-02 構造変更：Divisional Structure / company.html / お問い合わせフォーム ── */
.hero p.lead + p.lead { margin-top: 12px; }
.div-ord { display: inline-block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 8px; }
.div-points { margin: 6px 0 14px 1.15em; font-size: .93rem; color: var(--ink); }
.div-points li { margin-bottom: 4px; }
.divisions-en { margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); }
.divisions-en .en-head { margin-top: 0; }
.div-en { margin-top: 18px; }
.div-en h4 { font-size: .95rem; color: var(--navy); margin-bottom: 4px; }
.div-en ul { margin: 0 0 0 1.15em; font-size: .9rem; color: var(--ink-soft); line-height: 1.75; }
.div-contact .btn { margin-top: 6px; }
.contact-wrap { max-width: 720px; }
.contact-form { margin-top: 28px; display: grid; gap: 16px; }
.contact-form label { display: block; font-size: .92rem; font-weight: 600; color: var(--navy); }
.contact-form .req { font-size: .72rem; color: #fff; background: var(--gold); padding: 1px 7px; border-radius: 3px; margin-left: 6px; font-weight: 600; }
.contact-form input[type=text], .contact-form input[type=email], .contact-form input[type=tel],
.contact-form select, .contact-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 12px; font: inherit; font-size: .95rem;
  border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--ink);
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.contact-form .botcheck { display: none; }
.contact-form button { justify-self: start; border: 0; cursor: pointer; font: inherit; }
.contact-alt { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-alt .note { font-size: .88rem; color: var(--ink-soft); }
@media (min-width: 1000px) { nav ul { flex-wrap: nowrap; } nav a { white-space: nowrap; } }
@media (max-width: 1000px) { .brand-name { display: none; } }
@media (max-width: 720px) { nav ul { gap: 10px 14px; } .header-inner { flex-wrap: wrap; } }


/* ── 2026-09-03 Shuさん提供の写真・組織図 ── */
figure.page-photo { margin: 0 0 34px; border-radius: 6px; overflow: hidden; }
figure.page-photo img { width: 100%; height: auto; display: block; }
figure.org-chart { margin: 40px 0 0; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
figure.org-chart img { width: 100%; height: auto; display: block; }
@media (max-width: 720px) { figure.org-chart { padding: 10px; } }


/* ── 2026-09-04 Shuさん修正指示（HP,260904-1.docx）── */

/* 左上ロゴを外し、社名を日英横並びで大きく */
.brand { gap: 10px; flex-wrap: nowrap; align-items: baseline; }
.brand-ja { font-weight: 700; color: var(--navy); font-size: 1.12rem; letter-spacing: .02em; line-height: 1.25; white-space: nowrap; }
.brand-en { font-weight: 600; color: var(--ink-soft); font-size: 1.02rem; letter-spacing: .04em; line-height: 1.25; white-space: nowrap; }

/* ナビ全項目を四角＋青背景＋斜体に（従来はお問い合わせのみ） */
nav ul { gap: 8px; }
nav a {
  display: inline-block; background: var(--navy); color: #fff; font-style: italic;
  padding: 7px 13px; border-radius: 4px; font-size: .78rem; font-weight: 600;
  white-space: nowrap; letter-spacing: .01em;
}
nav a:hover { background: var(--accent); opacity: 1; }

/* タグラインを上下2分割・センタリング、英文を大きく */
.hero-tagline { text-align: center; }
.hero-tagline h1 { letter-spacing: .04em; }
.hero-tagline .en { margin-top: 18px; font-size: clamp(1rem, 2.2vw, 1.32rem); line-height: 1.6; color: #eef3f8; }
.hero p.lead { margin-left: auto; margin-right: auto; }
.hero p.lead.en-lead { font-size: .95rem; color: #dde7f1; }

/* 見出しの斜体（ABOUT US / DIVISINAL STRUCTURE の小ラベルは削除済み） */
h2.ital { font-style: italic; }

/* 事業部の序数：上付き＋文字を大きく */
.div-ord { font-size: 1.02rem; letter-spacing: .06em; text-transform: none; }
.div-ord sup { font-size: .6em; }
.div-en-ord { color: var(--gold); font-weight: 700; }
.div-en-ord sup { font-size: .65em; }
.page-head .en sup { font-size: .6em; }
.go-detail { margin-top: 6px; font-size: .88rem; }
.go-detail a { font-weight: 600; }

/* ナビが5つとも箱になったので、狭い幅では折り返す */
@media (max-width: 1100px) {
  .header-inner { flex-wrap: wrap; }
  nav ul { justify-content: flex-start; }
}
@media (max-width: 1000px) { .brand-ja, .brand-en { display: inline; } }
@media (max-width: 560px) {
  .brand-ja { font-size: 1rem; }
  .brand-en { font-size: .9rem; }
  nav a { font-size: .72rem; padding: 6px 10px; }
}

/* 固定ヘッダーの下にアンカー先が潜らないようにする */
section[id], div[id], h2[id], h3[id] { scroll-margin-top: 96px; }

/* モバイル：固定ヘッダーが画面を占有しすぎないよう詰める */
@media (max-width: 720px) {
  .header-inner { padding: 9px 16px; gap: 8px; }
  nav ul { gap: 6px; }
  nav a { font-size: .68rem; padding: 5px 9px; letter-spacing: 0; }
  .brand-ja { font-size: .92rem; }
  .brand-en { font-size: .84rem; }
  section[id], div[id], h2[id], h3[id] { scroll-margin-top: 130px; }
}

/* モバイル：タグは常時見せたいので、折り返さず1行の横スクロールにする */
@media (max-width: 720px) {
  .header-inner { flex-direction: column; align-items: stretch; }
  nav { width: 100%; }
  nav ul {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding-bottom: 2px; scrollbar-width: none;
  }
  nav ul::-webkit-scrollbar { display: none; }
  section[id], div[id], h2[id], h3[id] { scroll-margin-top: 96px; }
}


/* ── 2026-09-10 全面再編（260910最終.docx）── */

/* 文字を大きく。英語は同じpxだと小さく見えるので日本語より1段大きく（Shuさん指示） */
body { font-size: 17px; line-height: 1.95; }
.en-body { font-size: 1.06rem; color: var(--ink); line-height: 1.85; }
table.consultant-list td { font-size: 1.02rem; }
table.consultant-list td.en-cell { font-size: 1.02rem; color: var(--ink); }
table.company th, table.company td { font-size: 1.04rem; }
table.company .en-cell { color: var(--ink-soft); font-size: 1.02rem; }
table.company .go { font-weight: 700; margin-left: 4px; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.2rem; }
.profile .title { font-size: 1rem; }
.page-head .en { font-size: 1.05rem; }
.two-col p { font-size: 1.04rem; }

/* Home：社名＋タグライン（センタリング） */
.hero-brand { text-align: center; font-size: clamp(1.05rem, 2.4vw, 1.45rem); font-weight: 700; letter-spacing: .04em; color: #fff; margin-bottom: 26px; }
.hero-brand .sep { opacity: .55; margin: 0 .35em; }
.hero-tagline h1 { font-size: clamp(1.5rem, 3.6vw, 2.35rem); }
.hero-tagline .en { font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 600; letter-spacing: .02em; }

/* Home：Our Tasks（7件） */
.task-list { list-style: none; margin-top: 8px; }
.task-item {
  padding: 22px 0 20px; border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr auto; column-gap: 24px; align-items: end;
}
.task-item:first-child { border-top: 1px solid var(--line); }
.task-ja { grid-column: 1; font-size: 1.12rem; font-weight: 700; color: var(--navy); line-height: 1.6; }
.task-en { grid-column: 1; font-size: 1.22rem; font-weight: 600; color: var(--ink); line-height: 1.55; margin-top: 5px; }
.task-detail {
  grid-column: 2; grid-row: 1 / span 2; align-self: center; white-space: nowrap;
  font-weight: 700; font-size: 1rem; color: var(--gold); padding: 8px 14px;
  border: 1px solid var(--gold); border-radius: 4px;
}
.task-detail:hover { background: var(--gold); color: #fff; opacity: 1; }
@media (max-width: 640px) {
  .task-item { grid-template-columns: 1fr; }
  .task-detail { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 10px; }
}

/* Details of Tasks（1ページに7セクション） */
section[id^="task"] { padding: 64px 24px; }
.task-h.ja { font-size: 1.55rem; line-height: 1.5; margin-bottom: 6px; }
.task-h.en { font-size: 1.42rem; color: var(--gold); font-weight: 600; line-height: 1.42; margin-bottom: 26px; }
.task-body p { font-size: 1.04rem; margin-bottom: 14px; }
.task-body.en { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); }
.task-body.en p { color: var(--ink); }
.back-home { margin-top: 18px; font-size: .95rem; }
.back-home a { font-weight: 600; }
section[id^="task"] figure.page-photo { margin: 0 0 30px; max-width: 760px; }
section[id^="task"], section#about, section#tasks { scroll-margin-top: 96px; }
/* 英文本文は日本語より一段大きく（詳細度で負けていたのを是正） */
.task-body.en p, .two-col p.en-body, .profile p.en-body { font-size: 1.12rem; }

/* ── 2026-09-10b Shuさん提供の絵（DSOバナー帯は除去して使用）── */
figure.tasks-overview { margin: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
figure.tasks-overview img { width: 100%; height: auto; display: block; }
section.overview { padding: 40px 24px 0; }
.profile .photo { aspect-ratio: 4/5; }

/* 2026-09-11 hero画像を新しい絵（ホームNEW）に差し替え。DSOロゴ・タグラインが焼き込まれた上部帯は
   タスク画像と同じ理由（文字の二重表示を避ける）で切り落とし済み。写真部分のみなので特別な位置調整は不要 */
@media (max-width: 640px) {
  .hero { background-color: #0e2038; }
}
