:root {
  --navy-950: #061a2b;
  --navy-900: #08233a;
  --navy-800: #0d304b;
  --ink: #172636;
  --muted: #52606d;
  --paper: #f5f3ee;
  --paper-warm: #ebe7de;
  --line: #d9d4c9;
  --gold: #b99051;
  --gold-deep: #77582b;
  --gold-light: #d8bb80;
  --white: #fff;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", "IPAexMincho", "IPAMincho", serif;
  --sans: "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  --max: 1180px;
  --text: 42rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.82;
  -webkit-font-smoothing: antialiased;
}
main { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
/* 日本語の折り返し（10/31 Kengo の指摘「02｜」だけが1行目に残る・「のPMO」だけの行）: keep-all を使わず文字の間で折り返す・最後の行を短くしない */
p, h1, h2, h3, li { word-break: normal; line-break: strict; overflow-wrap: anywhere; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
/* 番号つきの見出し: 番号は本文から切り離さず、2行目は本文の頭にそろえる */
h3.numbered { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; }
h3.numbered .num { white-space: nowrap; }
/* 行頭「・」の箇条: 2行目を「・」の後ろにそろえる（ぶら下げ字下げ） */
p.dot, li.dot { padding-left: 1em; text-indent: -1em; }
/* 1〜2行の箇条は行の長さをそろえ、最後の行に1〜2字だけ残さない */
li, p.dot, .value-card p { text-wrap: balance; }
/* 見出しと箇条は文節で折り返す（「意／思決定」のような語の途中の改行を避ける。対応していないブラウザは上の normal のまま） */
h1, h2, h3, li, p.dot, .value-card p { word-break: auto-phrase; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: .025em; }

.site-header {
  position: relative;
  z-index: 10;
  color: var(--white);
  background: var(--navy-950);
  border-bottom: 1px solid rgba(216, 187, 128, .32);
}
.header-inner {
  width: min(calc(100% - 48px), var(--max));
  margin: auto;
  padding: 15px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; white-space: nowrap; }
.brand img { width: 46px; height: 46px; border-radius: 50%; }
.brand span { color: var(--gold-light); font-family: var(--serif); letter-spacing: .08em; }
.nav { display: flex; align-items: center; justify-content: flex-end; gap: 6px 18px; flex-wrap: wrap; }
.nav a { padding: 5px 0; border-bottom: 1px solid transparent; font-size: 13px; font-weight: 700; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-light); border-color: var(--gold-light); }

.wide, .narrow { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.narrow { max-width: var(--text); }
.section { padding: 104px 0; }
.section-tint { background: var(--paper); }
.copy-gap { display: block; height: 1.1rem; }
.eyebrow {
  margin: 0 0 22px !important;
  color: var(--gold-deep);
  font-family: var(--sans);
  font-size: 12px !important;
  font-weight: 800;
  line-height: 1.4 !important;
  letter-spacing: .2em;
}
.section-title { max-width: 24em; margin: 0 0 48px; color: var(--navy-900); font-size: clamp(29px, 3vw, 44px); line-height: 1.45; }

.hero-home picture, .hero-home img { width: 100%; }
.hero-home img { height: auto; }
.hero-intro { padding: 86px 0 92px; color: var(--white); background: var(--navy-900); border-top: 1px solid rgba(216, 187, 128, .38); }
.hero-intro h1, .hero-intro .hero-intro-title { margin: 0 0 34px; color: var(--gold-light); font-size: clamp(27px, 4vw, 48px); line-height: 1.28; }
.lead-copy p { margin: 0; font-size: 17px; }

.mission { background: var(--white); }
.mission h2 { margin: 0; color: var(--navy-900); font-size: clamp(30px, 3.5vw, 47px); line-height: 1.48; }
.mission p, .page-hero p, .section > .narrow > p, .profile-layout p, .contact-band p, .portfolio-heading p { margin: 0; max-width: var(--text); }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card, .support-card, .portfolio-card, .strength-card, .value-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: 0 18px 50px rgba(6, 26, 43, .07);
}
.service-card { border-top: 3px solid var(--gold); }
.service-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { padding: 30px; }
.card-body h3, .support-card h2, .value-card h3 { margin: 0; color: var(--navy-900); font-size: 21px; line-height: 1.58; }
.card-body p, .support-card p, .value-card p { margin: 0; font-size: 15px; }
.minor-heading { margin-top: 2px !important; color: var(--gold-deep); font-size: 13px !important; font-weight: 800; }

.strength-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.strength-card { position: relative; padding: 36px; border-top: 3px solid var(--gold); }
.strength-card h3 { margin: 0 0 16px; color: var(--navy-900); font-size: 21px; line-height: 1.58; }
.strength-card p { margin: 0; }

.products { color: var(--white); background: var(--navy-950); border-block: 1px solid rgba(216, 187, 128, .28); }
.products h2 { margin: 0; color: var(--gold-light); font-size: clamp(31px, 4vw, 52px); }
.products p { margin: 0; }
.profile-teaser { background: var(--paper-warm); }
.profile-layout { display: grid; grid-template-columns: minmax(260px, .75fr) minmax(0, 1fr); gap: clamp(38px, 7vw, 92px); align-items: center; }
.profile-layout > img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 3px; box-shadow: 18px 18px 0 rgba(185, 144, 81, .15); }
.profile-layout h1, .profile-layout h2 { margin: 0; color: var(--navy-900); font-size: clamp(30px, 4vw, 50px); line-height: 1.46; }
.text-link { display: inline-block; margin-top: 28px; color: var(--navy-900); font-weight: 800; text-underline-offset: 6px; }

.contact-band { padding: 100px 0; color: var(--white); background: linear-gradient(135deg, var(--navy-900), var(--navy-950)); border-top: 1px solid rgba(216, 187, 128, .32); }
.contact-band h2 { margin: 0; color: var(--white); font-size: clamp(28px, 3.6vw, 45px); line-height: 1.52; }
.contact-band .eyebrow { color: var(--gold-light); }
.button { display: inline-flex; margin-top: 38px; padding: 14px 36px; color: var(--navy-950); background: var(--gold-light); border: 1px solid var(--gold-light); font-weight: 800; text-decoration: none; }
.button:hover { color: var(--white); background: transparent; }

.page-hero { padding: 88px 0; color: var(--white); background: var(--navy-900); border-bottom: 1px solid rgba(216, 187, 128, .3); }
.page-hero h1 { margin: 0; color: var(--white); font-size: clamp(34px, 5vw, 58px); line-height: 1.4; }
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero-media { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: clamp(36px, 6vw, 78px); align-items: center; }
.page-hero-media h1 { font-size: clamp(34px, 4vw, 50px); }
.page-hero-media > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid rgba(216, 187, 128, .34); box-shadow: 18px 18px 0 rgba(6, 26, 43, .35); }
.page-hero-copy p { margin: 0; }
.nowrap { white-space: nowrap; }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.support-card { padding: 35px; border-left: 3px solid var(--gold); }

.portfolio { color: var(--white); background: var(--navy-900); }
.portfolio .eyebrow { color: var(--gold-light); }
.portfolio-heading { margin-bottom: 46px; }
.portfolio-heading h2 { margin: 0 0 10px; font-size: clamp(34px, 4vw, 52px); }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.portfolio-card { color: var(--ink); box-shadow: none; }
.portfolio-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.portfolio-card .issue, .portfolio-card .support { margin-top: 18px; padding: 16px 0 0 14px; border-top: 1px solid var(--line); }
.portfolio-card .issue { border-left: 3px solid var(--navy-800); }
.portfolio-card .support { border-left: 3px solid var(--gold); }

.profile-hero { padding-block: 88px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { padding: 30px; border-top: 3px solid var(--gold); }
.value-card h3 { margin-bottom: 20px; }
.value-card p { padding: 9px 0; border-top: 1px solid var(--line); }
.skills { padding-top: 0; }
.skill-list { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.skill-list li { padding: 11px 18px; color: var(--navy-900); background: var(--paper); border: 1px solid #c9bfae; border-radius: 999px; font-weight: 700; }

.company-list { margin: 0; border-top: 1px solid var(--line); }
.company-row { display: grid; grid-template-columns: minmax(150px, .32fr) 1fr; gap: 28px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.company-row dt, .company-row dd { margin: 0; }
.company-row dt { color: var(--navy-900); font-family: var(--serif); font-size: 20px; font-weight: 600; }
.company-row dd { white-space: pre-line; }

.faq-groups { display: grid; gap: 64px; }
.faq-group > h2 { margin: 0 0 28px; color: var(--navy-900); font-size: clamp(26px, 3vw, 38px); }
.faq-item { padding: 28px 30px; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold); box-shadow: 0 12px 36px rgba(6, 26, 43, .06); }
.faq-item + .faq-item { margin-top: 18px; }
.faq-item h3 { margin: 0 0 15px; color: var(--navy-900); font-size: 20px; line-height: 1.55; }
.faq-item p { margin: 0; }
.faq-item p + p { margin-top: 8px; }

.contact-form { max-width: 760px; }
.form-field { display: grid; gap: 8px; margin-bottom: 24px; }
.form-field label { color: var(--navy-900); font-family: var(--serif); font-size: 18px; font-weight: 600; }
.form-field input, .form-field textarea { width: 100%; padding: 14px 16px; color: var(--ink); background: var(--white); border: 1px solid #aaa59c; border-radius: 2px; font: inherit; }
.form-field textarea { min-height: 180px; resize: vertical; }
.form-button { margin-top: 4px; padding: 14px 42px; color: var(--white); background: var(--navy-900); border: 1px solid var(--navy-900); font: inherit; font-weight: 800; cursor: default; }
.english-panel { padding: 36px; color: var(--white); background: var(--navy-900); border-left: 3px solid var(--gold); }
.english-panel h3 { margin: 0 0 16px; color: var(--gold-light); font-size: 25px; }
.english-panel h3:not(:first-child) { margin-top: 30px; }
.english-panel p { margin: 0; }

.product-intro { text-align: center; }
.product-intro p { max-width: var(--text); margin-inline: auto; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.product-card { padding: 34px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); box-shadow: 0 18px 50px rgba(6, 26, 43, .07); }
.product-card h3 { margin: 0 0 24px; color: var(--navy-900); font-size: 24px; }
.cover-placeholder { display: grid; place-items: center; width: min(100%, 360px); aspect-ratio: 725 / 1024; margin: 0 auto 28px; padding: 28px; color: var(--muted); background: #efefec; border: 2px solid #a9a8a4; text-align: center; }
.product-card p { margin: 0; }
.product-card p + p { margin-top: 12px; }
.recommend-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.recommend-list li { padding: 18px 20px 18px 42px; position: relative; background: var(--paper); border: 1px solid var(--line); }
.recommend-list li::before { content: ""; position: absolute; left: 20px; top: 1.15em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature-list p { margin: 0; padding: 24px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); white-space: pre-line; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button-row .button { margin-top: 0; }

.site-footer { padding: 42px 0; color: var(--white); background: #03111d; }
.footer-inner { width: min(calc(100% - 48px), var(--max)); margin: auto; }
.site-footer .nav { justify-content: center; }
.site-footer .nav a { color: #d7dee4; }
.copyright { margin: 28px 0 0; color: #aeb9c2; font-size: 13px; text-align: center; }

@media (max-width: 900px) {
  .header-inner { align-items: flex-start; flex-direction: column; gap: 10px; }
  .nav { justify-content: flex-start; }
  .service-grid, .value-grid, .support-grid, .strength-grid, .portfolio-grid { grid-template-columns: 1fr; }
  .profile-layout { grid-template-columns: 1fr; }
  .page-hero-media, .product-grid, .feature-list { grid-template-columns: 1fr; }
  .page-hero-media > img { max-width: 720px; }
  .profile-layout > img { max-width: 560px; }
  .section { padding: 78px 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner, .wide, .narrow, .footer-inner { width: 100%; padding-left: 20px; padding-right: 20px; }
  .header-inner { padding-top: 11px; padding-bottom: 13px; }
  .brand img { width: 40px; height: 40px; }
  .brand span { font-size: 15px; }
  .nav { gap: 2px 14px; }
  .nav a { font-size: 12px; }
  .hero-intro { padding: 60px 0 66px; }
  .hero-intro h1, .hero-intro .hero-intro-title { font-size: 28px; }
  .lead-copy p { font-size: 16px; }
  .section { padding: 66px 0; }
  .section-title { margin-bottom: 34px; }
  .service-grid { gap: 18px; }
  .card-body, .support-card, .strength-card, .value-card { padding: 24px; }
  .contact-band { padding: 72px 0; }
  .page-hero { padding: 72px 0 66px; }
  .page-hero-media { gap: 34px; }
  .profile-hero { padding-top: 56px; }
  .company-row { grid-template-columns: 1fr; gap: 8px; }
  .faq-groups { gap: 48px; }
  .faq-item, .product-card, .english-panel { padding: 23px 20px; }
  .recommend-list { grid-template-columns: 1fr; }
  .portfolio-grid { gap: 18px; }
  .site-footer { padding: 35px 0; }
  .copy-gap { height: .82rem; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* v4（11/01）: 見出しは文節の塊（.ph）で折り返す。iPhone の Safari は auto-phrase が効かないため、塊の中では折り返さない */
h1, h2, h3, dt, .faq-item h3 { word-break: auto-phrase; }
.ph { white-space: nowrap; }

/* v4（11/01）: 短いページでもフッターを画面の下に（会社概要の PC でフッターの下が白く空いていた） */
body { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }

/* v4（11/01）: スマホ幅（767px 以下）はナビをメニューのボタンで開く（v3 は2段のナビが画面の上を大きく使っていた） */
.menu-toggle { display: none; }
@media (max-width: 767px) {
  .site-header .header-inner { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; color: var(--gold-light); background: transparent; border: 1px solid rgba(216,187,128,.55); border-radius: 4px; font: 700 13px/1 var(--sans, sans-serif); cursor: pointer; }
  .menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 1px; }
  .menu-bars { position: relative; }
  .menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
  .menu-bars::before { top: -6px; } .menu-bars::after { top: 6px; }
  .menu-open .menu-bars { background: transparent; }
  .menu-open .menu-bars::before { top: 0; transform: rotate(45deg); }
  .menu-open .menu-bars::after { top: 0; transform: rotate(-45deg); }
  .site-header .nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-top: 8px; }
  .site-header.menu-open .nav { display: flex; }
  .site-header .nav a { padding: 13px 2px; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .site-header .nav a[aria-current="page"] { border-color: rgba(216,187,128,.6); }
}

/* v4（11/01）: 文節の塊（.ph・折り返さない）がグリッドの列の最小幅を押し広げ、main の overflow:hidden で FAQ の右が切れた。グリッド・フレックスの子は縮めてよい */
:where(.faq-groups, .service-grid, .value-grid, .support-grid, .strength-grid, .portfolio-grid, .product-grid, .feature-list, .page-hero-media, .profile-layout, .recommend-list, .company-row) > * { min-width: 0; }

/* v5（11/01・Kengo の直し1）: フッターのナビと著作権の行を真ん中に（v4 は左寄せ）。768〜900px のヘッダーも、ブランドとナビを真ん中にそろえる（v4 はナビだけ左寄せで右が空いた） */
@media (min-width: 768px) and (max-width: 900px) {
  .header-inner { align-items: center; }
  .site-header .nav { justify-content: center; }
}
@media (max-width: 767px) { .site-footer .nav { justify-content: center; } }

/* v5（11/01・Kengo の直し6）: 同じ白の段が続く所（代表紹介の「事業への想い」→「プロフィール」）は、上の段の下の余白だけにし、PC はその余白も 64px に（v4 は 104＋104px。スマホと同じくらいの空きにそろえる） */
.section-follow { padding-top: 0; }
@media (min-width: 641px) { .section:has(+ .section-follow) { padding-bottom: 64px; } }

/* v5（11/01・Kengo の直し7）: 冊子の表紙（PRODUCT と トップの PRODUCTS） */
.cover-image { width: min(100%, 360px); height: auto; margin: 0 auto 28px; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(6, 26, 43, .12); }
.product-covers { display: flex; justify-content: center; gap: 24px; margin: 28px 0; }
.product-covers a { display: block; width: min(44%, 200px); }
.product-covers img { width: 100%; height: auto; border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(6, 26, 43, .12); }

/* v5（11/01・工事係の8）: FAQ の分類の見出しは、1行目を詰めて折り返す（balance だと「PM／PMO・」だけの短い1行目になった） */
.faq-group > h2 { text-wrap: wrap; }

/* v5.1（11/01）: トップの画像の文 */
/* Akari さんの焼き込みの配置（横長: 左から 6.4%・上から 24%／縦長: 左 8%・上 10%）に合わせ、大きさは画像の幅（＝画面の幅）に比べて決める */
.hero-home { position: relative; overflow: hidden; }
.hero-copy { position: absolute; left: 6.4%; top: 23.5%; width: 29vw; color: #f6f1e7; text-shadow: 0 2px 18px rgba(6, 26, 43, .55); }
.hero-company { margin: 0; color: var(--gold-light); font-family: var(--serif); font-size: max(12px, 1.35vw); line-height: 1.4; letter-spacing: .14em; }
.hero-title { margin: 2.6vw 0 0; color: #f6f1e7; font-family: var(--serif); font-size: 4.1vw; font-weight: 500; line-height: 1.34; letter-spacing: 0; }
.hero-title .ph { display: block; }
.hero-sub { margin: 2.6vw 0 0; font-family: var(--serif); font-size: max(13px, 1.3vw); line-height: 1.7; letter-spacing: .06em; width: max-content; max-width: 34vw; }
@media (max-width: 1023px) { .hero-copy { top: 20%; } }
@media (max-width: 767px) {
  .hero-copy { left: 8%; top: 10%; width: 84%; }
  .hero-title { letter-spacing: .02em; }
  .hero-company { font-size: max(12px, 2.9vw); }
  .hero-title { margin-top: 3.4vw; font-size: 7.2vw; }
  .hero-sub { margin-top: 3.4vw; font-size: clamp(15px, 2.9vw, 22px); max-width: none; }
  .hero-sub .ph:first-child { display: block; }
}

/* v5.2（11/02）: 支援の例は6件（PC 2列×3段）。06 は COMING SOON の札＋相談の入口。05 を中央に1枚だけ置く形はやめた */
.portfolio-card { position: relative; display: flex; flex-direction: column; }
.portfolio-card .card-body { flex: 1; display: flex; flex-direction: column; }
.portfolio-card.soon img { filter: saturate(.85); }
.soon-badge { position: absolute; top: 18px; left: 18px; margin: 0; padding: 6px 14px; color: var(--navy-950); background: var(--gold-light); font-size: 13px; font-weight: 800; letter-spacing: .14em; }
.soon-button { align-self: flex-start; margin-top: auto; }
.portfolio-card.soon .support { margin-bottom: 28px; }
