/* 株式会社PathHack コーポレートサイト。色はロゴの紺とティール */
:root {
  --ink: #1b2733;
  --sub: #4f5d69;
  --muted: #8a959e;
  --line: #e2e7eb;
  --bg: #ffffff;
  --gray: #f6f7f9;
  --navy: #1f6a9e;
  --navy-dark: #164e76;
  --deep: #14324a;
  --tint: #e9f1f7;
  --teal: #2e9e9b;
  --w: 1120px;
  --en: "Montserrat", "Noto Sans JP", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.9; letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 40px; position: relative; z-index: 1; }

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(0,0,0,.05); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 80px; padding: 0 32px; }
.brand img { height: 38px; width: auto; }
.gnav { display: flex; align-items: center; gap: 30px; }
.gnav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; position: relative; padding: 4px 0; }
.gnav a:not(.nav-contact)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--navy); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); }
.gnav .nav-contact { background: var(--navy); color: #fff; padding: 14px 28px; font-weight: 700; margin-left: 6px; transition: background .2s; }
.gnav .nav-contact:hover { background: var(--navy-dark); }
.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
.menu-btn span:nth-child(1) { top: 15px; } .menu-btn span:nth-child(2) { top: 21px; } .menu-btn span:nth-child(3) { top: 27px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- ボタン ---------- */
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; min-width: 260px; background: var(--navy); color: #fff; text-decoration: none; font-weight: 700; padding: 18px 26px; transition: background .2s; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.btn::after { content: ""; width: 18px; height: 9px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 9'%3E%3Cpath d='M0 4.5h16M12.5 1l4 3.5-4 3.5' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 9'%3E%3Cpath d='M0 4.5h16M12.5 1l4 3.5-4 3.5' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat center / contain; transition: transform .2s; }
.btn:hover { background: var(--navy-dark); color: #fff; }
.btn:hover::after { transform: translateX(4px); }
.btn.ghost { background: #fff; color: var(--navy); border: 1px solid var(--navy); }
.btn.ghost:hover { background: var(--tint); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 40px; }
.center { text-align: center; }
.center .btn-row { justify-content: center; }
.text-link { display: inline-flex; align-items: center; gap: 48px; color: var(--ink); text-decoration: none; font-weight: 700; padding: 10px 8px; border-bottom: 1px solid var(--ink); }
.text-link::after { content: "→"; font-weight: 400; transition: transform .2s; }
.text-link:hover::after { transform: translateX(4px); }

/* ---------- ヒーロー ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; max-height: 1000px; overflow: hidden; color: #fff; }
.hero .photo { position: absolute; inset: 0; overflow: hidden; background: #2a3640; }
.hero .photo .bg { position: absolute; inset: -60px; background: url(hero.jpg) right center / cover no-repeat; filter: blur(30px) brightness(.85); }
.hero .photo .fg { position: absolute; left: 0; top: 0; height: 100%; width: auto; max-width: none; -webkit-mask-image: linear-gradient(90deg, #000 72%, transparent 100%); mask-image: linear-gradient(90deg, #000 72%, transparent 100%); }
@media (max-aspect-ratio: 3/2) { .hero .photo .fg { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; -webkit-mask-image: none; mask-image: none; } }
.hero .photo::after { z-index: 1; content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,30,48,0) 35%, rgba(10,30,48,.72) 100%), linear-gradient(90deg, rgba(10,30,48,.45) 0%, rgba(10,30,48,0) 60%); }
.hero .swoosh { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .copy { position: absolute; left: 0; right: 0; bottom: 72px; }
.hero .copy .wrap { max-width: none; padding: 0 56px; }
.hero h1 { font-size: clamp(36px, 5.2vw, 72px); line-height: 1.3; font-weight: 900; letter-spacing: .04em; margin: 0 0 24px; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero p { font-size: 17px; font-weight: 500; line-height: 1.9; margin: 0; max-width: 680px; text-shadow: 0 1px 12px rgba(0,0,0,.3); }
.hero .btn { margin-top: 36px; }

/* ---------- セクション共通 ---------- */
.sec { position: relative; padding: 140px 0; overflow: hidden; }
.sec.gray { background: var(--gray); }
.sec.grid { background-color: var(--gray); background-image: linear-gradient(rgba(27,39,51,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(27,39,51,.045) 1px, transparent 1px); background-size: 48px 48px; }
.watermark { position: absolute; top: 40px; left: -8px; font-family: var(--en); font-weight: 800; font-size: clamp(80px, 13vw, 190px); line-height: 1; letter-spacing: .02em; color: rgba(27,39,51,.04); white-space: nowrap; pointer-events: none; user-select: none; z-index: 0; }
.sec.white .watermark, .sec:not(.gray):not(.grid) .watermark { color: rgba(27,39,51,.035); }
.watermark.right { left: auto; right: -8px; }
.label { display: flex; align-items: center; gap: 10px; font-family: var(--en); font-weight: 600; font-size: 15px; letter-spacing: .1em; color: var(--navy); margin: 0 0 14px; }
.label::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--navy); }
.center .label { justify-content: center; }
.sec h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.45; font-weight: 900; margin: 0 0 28px; letter-spacing: .05em; }
.sec .intro { font-size: 16px; color: var(--sub); max-width: 760px; }
.center .intro { margin-left: auto; margin-right: auto; }
p { margin: 0 0 1em; }

/* ---------- MISSION ---------- */
.mission .quote { font-size: clamp(28px, 3.8vw, 46px); font-weight: 900; line-height: 1.5; color: var(--navy); margin: 0 0 40px; position: relative; display: inline-block; padding: 0 .4em; }
.mission .quote::before, .mission .quote::after { font-family: Georgia, serif; font-size: 1.6em; line-height: 0; color: var(--teal); opacity: .55; position: absolute; }
.mission .quote::before { content: "\201C"; left: -.35em; top: .45em; }
.mission .quote::after { content: "\201D"; right: -.4em; bottom: -.05em; }
@media (max-width: 480px) { .mission .quote { font-size: 25px; } }
.mission .body { max-width: 700px; font-size: 16px; color: var(--ink); }
.mission .swoosh-bg { position: absolute; right: -80px; top: 60px; width: 560px; height: auto; opacity: .12; z-index: 0; }

/* ---------- 事業ボード ---------- */
.board { display: grid; grid-template-columns: 96px 1fr; gap: 16px 20px; margin-top: 56px; }
.board .rail { background: var(--navy); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px 6px; }
.board .rail.dark { background: var(--deep); }
.board .rail .n { font-family: var(--en); font-size: 13px; font-weight: 600; opacity: .8; }
.board .rail .ja { font-size: 20px; font-weight: 900; line-height: 1.4; margin: 4px 0; }
.board .rail .en { font-family: var(--en); font-size: 11px; font-weight: 600; letter-spacing: .08em; opacity: .8; }
.board .rail-arrow { grid-column: 1; height: 0; position: relative; }
.board .panels { display: grid; gap: 16px; }
.panel { background: var(--tint); padding: 32px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px 40px; }
.panel.dark-tint { background: #e6ebef; }
.panel h3 { font-size: 24px; font-weight: 900; margin: 0; line-height: 1.45; }
.panel .sub { font-size: 14px; color: var(--sub); font-weight: 500; margin-top: 4px; }
.panel .desc { border-left: 3px solid var(--navy); padding-left: 20px; font-size: 15px; line-height: 1.85; margin: 0; }
.panel .cards { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.mini { background: #fff; padding: 18px 18px 20px; }
.mini .head { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.mini .ico { width: 30px; height: 30px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; flex: none; }
.mini .ico svg { width: 16px; height: 16px; stroke: var(--navy); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.chips li { font-size: 12px; line-height: 1.5; border: 1px solid var(--line); padding: 4px 8px; color: var(--sub); }
.panel .link { grid-column: 1 / -1; display: flex; gap: 12px; flex-wrap: wrap; }
.panel .link a { font-size: 14px; font-weight: 700; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.panel .link a::after { content: "→"; font-weight: 400; }
.panel .price { font-size: 14px; color: var(--sub); }
.panel .price b { color: var(--ink); font-size: 18px; }

/* ---------- 強み ---------- */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.point { background: var(--gray); border-top: 3px solid var(--navy); padding: 36px 30px 34px; position: relative; }
.point .num { font-family: var(--en); font-weight: 800; font-size: 44px; line-height: 1; color: var(--tint); position: absolute; right: 22px; top: 20px; }
.point h3 { font-size: 20px; font-weight: 900; line-height: 1.55; margin: 0 0 14px; position: relative; }
.point p { font-size: 15px; color: var(--sub); margin: 0; }

/* ---------- メッセージ（トップ） ---------- */
.msg-teaser { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.msg-teaser .photo { position: relative; }
.msg-teaser .photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% center; }
.msg-teaser .photo::before { content: ""; position: absolute; left: -20px; bottom: -20px; width: 70%; height: 70%; background: var(--tint); z-index: -1; }
.msg-teaser h2 { font-size: clamp(26px, 3vw, 36px); }
.msg-teaser .sign { margin-top: 28px; font-size: 14px; color: var(--sub); }
.msg-teaser .sign b { display: block; font-size: 20px; color: var(--ink); margin-top: 2px; }

/* ---------- お知らせ ---------- */
.news { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.news li { border-bottom: 1px solid var(--line); padding: 26px 24px; }
.news .meta { display: flex; align-items: center; gap: 16px; margin-bottom: 6px; }
.news time { font-family: var(--en); font-size: 14px; color: var(--sub); }
.news .cat { font-size: 12px; color: var(--navy); border: 1px solid var(--navy); border-radius: 999px; padding: 1px 12px; font-weight: 500; }
.news .ttl { font-weight: 500; }

/* ---------- お問い合わせ帯 ---------- */
.contact-band { position: relative; padding: 80px 0; overflow: hidden; }
.contact-band::before { content: ""; position: absolute; inset: 0; background: url(board.jpg) center / cover no-repeat; filter: blur(2px); transform: scale(1.04); }
.contact-band::after { content: ""; position: absolute; inset: 0; background: rgba(22,78,118,.82); }
.contact-band .box { position: relative; z-index: 1; background: #fff; max-width: 1040px; margin: 0 auto; padding: 56px 40px; text-align: center; }
.contact-band .label { justify-content: center; }
.contact-band h2 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 900; margin: 0 0 12px; }
.contact-band p { color: var(--sub); font-size: 15px; margin: 0 0 30px; }

/* ---------- 下層ページ見出し ---------- */
.page-head { position: relative; padding: 110px 0 90px; background-color: var(--gray); background-image: linear-gradient(rgba(27,39,51,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(27,39,51,.045) 1px, transparent 1px); background-size: 48px 48px; overflow: hidden; }
.page-head .watermark { top: auto; bottom: -18px; }
.page-head h1 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 900; margin: 0; letter-spacing: .06em; }
.page-head .swoosh-bg { position: absolute; right: -40px; top: -40px; width: 420px; opacity: .14; }
.crumb { font-size: 13px; color: var(--muted); margin-top: 18px; }
.crumb a { color: var(--muted); text-decoration: none; }

/* ---------- 事業内容ページ ---------- */
.biz-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.biz-detail.rev .text { order: 2; }
.biz-detail .photo { position: relative; }
.biz-detail .photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.biz-detail .photo .tag { position: absolute; left: 0; top: 0; background: var(--navy); color: #fff; font-family: var(--en); font-weight: 700; font-size: 14px; padding: 10px 18px; letter-spacing: .1em; }
.biz-detail .art { aspect-ratio: 3 / 2; background: var(--tint); position: relative; overflow: hidden; display: grid; place-items: center; }
.biz-detail .art svg.big { width: 38%; height: auto; stroke: var(--navy); fill: none; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; position: relative; z-index: 1; }
.biz-detail .art .swoosh-bg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .25; }
.biz-detail .art .tag { position: absolute; left: 0; top: 0; background: var(--navy); color: #fff; font-family: var(--en); font-weight: 700; font-size: 14px; padding: 10px 18px; letter-spacing: .1em; z-index: 2; }
.biz-detail h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 20px; }
.biz-detail .kicker { font-size: 14px; color: var(--navy); font-weight: 700; margin-bottom: 8px; }
.check { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.check li { position: relative; padding-left: 26px; font-weight: 500; font-size: 15px; }
.check li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.spec { margin-top: 24px; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 100px 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec dt { font-weight: 700; } .spec dd { margin: 0; }
.biz-detail .btn { margin-top: 32px; }

/* ---------- メッセージページ ---------- */
.message { display: grid; grid-template-columns: 4fr 7fr; gap: 80px; align-items: start; }
.message .photo { position: sticky; top: 120px; }
.message .photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.message .photo::before { content: ""; position: absolute; left: -20px; bottom: -20px; width: 70%; height: 70%; background: var(--tint); z-index: -1; }
.message h2 { font-size: clamp(26px, 3vw, 36px); }
.message .body p { margin-bottom: 1.6em; }
.message .sign { margin-top: 48px; text-align: right; }
.message .sign .role { font-size: 14px; color: var(--sub); display: block; }
.message .sign .name { font-size: 26px; font-weight: 900; letter-spacing: .12em; }

/* ---------- 会社概要 ---------- */
.info { width: 100%; border-collapse: collapse; background: #fff; }
.info th, .info td { text-align: left; vertical-align: top; padding: 26px 32px; border-bottom: 1px solid var(--line); }
.info tr:first-child th, .info tr:first-child td { border-top: 1px solid var(--line); }
.info th { width: 240px; font-weight: 700; position: relative; }
.info th::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--navy); }
.info td ul { margin: 0; padding-left: 1.2em; }

/* ---------- フォーム ---------- */
.form { max-width: 820px; margin: 0 auto; background: #fff; padding: 56px; }
.form .field { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.form .field:first-of-type { border-top: 1px solid var(--line); }
.form label.k { font-weight: 700; padding-top: 12px; display: flex; gap: 10px; align-items: center; }
.form .req { background: var(--navy); color: #fff; font-size: 11px; padding: 1px 8px; font-weight: 700; }
.form .opt { background: #b6c0c8; color: #fff; font-size: 11px; padding: 1px 8px; font-weight: 700; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--gray);
  border: 1px solid transparent; padding: 13px 16px;
}
.form textarea { min-height: 220px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy); background: #fff; }
.form .agree { display: flex; gap: 10px; align-items: center; justify-content: center; margin: 32px 0 28px; }
.form .hp { position: absolute; left: -9999px; }
.form .submit { text-align: center; }

/* ---------- フッター ---------- */
.site-footer { background: #fff; padding: 80px 0 40px; font-size: 14px; }
.site-footer .top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.site-footer .brand img { height: 40px; margin-bottom: 18px; }
.site-footer .co { color: var(--sub); line-height: 1.9; }
.site-footer .co b { color: var(--ink); font-weight: 700; }
.site-footer .fnav { display: grid; grid-template-columns: repeat(2, auto); gap: 14px 72px; align-content: start; }
.site-footer .fnav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.site-footer .fnav a:hover { color: var(--navy); }
.site-footer .fnav a.ext::after { content: "↗"; font-size: 11px; margin-left: 4px; color: var(--muted); }
.site-footer .bottom { display: flex; justify-content: flex-end; gap: 32px; flex-wrap: wrap; padding-top: 28px; color: var(--sub); font-size: 13px; }
.site-footer .bottom a { color: var(--sub); text-decoration: none; }

/* ---------- ふわっと表示 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- タブレット・スマホ ---------- */
@media (max-width: 1020px) {
  .gnav { gap: 20px; }
  .gnav a { font-size: 14px; }
  .points { grid-template-columns: 1fr; }
  .panel { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .wrap { padding: 0 20px; }
  .site-header .bar { height: 64px; padding: 0 12px 0 20px; }
  .brand img { height: 30px; }
  .menu-btn { display: block; }
  .gnav { display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 32px; overflow-y: auto; }
  .gnav.open { display: flex; }
  .gnav a { padding: 18px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .gnav a::after { display: none; }
  .gnav .nav-contact { margin: 24px 0 0; text-align: center; border: 0; }

  .hero { min-height: 560px; }
  .hero .copy { bottom: 48px; }
  .hero .copy .wrap { padding: 0 20px; }
  .hero p { font-size: 15px; }
  .hero p br { display: none; }
  .sec { padding: 88px 0; }
  .watermark { top: 24px; }
  .board { grid-template-columns: 1fr; gap: 12px; }
  .board .rail { flex-direction: row; gap: 12px; padding: 14px 18px; justify-content: flex-start; }
  .board .rail .ja { font-size: 17px; margin: 0; }
  .panel { padding: 24px 18px; }
  .panel h3 { font-size: 21px; }
  .msg-teaser, .message, .biz-detail { grid-template-columns: 1fr; gap: 40px; }
  .biz-detail.rev .text { order: 0; }
  .message .photo { position: relative; top: 0; max-width: 320px; }
  .msg-teaser .photo { max-width: 360px; }
  .check { grid-template-columns: 1fr; }
  .page-head { padding: 64px 0 56px; }
  .info th, .info td { display: block; width: 100%; padding: 14px 16px; }
  .info th { border-bottom: 0; padding-bottom: 0; color: var(--navy); }
  .info th::after { display: none; }
  .info tr:first-child td { border-top: 0; }
  .form { padding: 28px 18px; }
  .form .field { grid-template-columns: 1fr; gap: 8px; }
  .form label.k { padding-top: 0; }
  .contact-band { padding: 48px 0; }
  .contact-band .wrap { padding: 0 16px; }
  .contact-band .box { padding: 40px 20px; }
  .btn { min-width: 0; width: 100%; }
  .btn-row { flex-direction: column; }
  .site-footer .fnav { gap: 14px 40px; }
  .site-footer .bottom { justify-content: flex-start; }
  .news li { padding: 20px 4px; }
}
.biz-detail .art svg.illust { width: 88%; height: auto; position: relative; z-index: 1; }

/* ---------- 経営メンバー ---------- */
.members { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.member { background: var(--gray); display: grid; grid-template-rows: auto 1fr; }
.member .ph img, .member .ph.noimg { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 25%; }
.member .ph.noimg { background: var(--tint); display: grid; place-items: center; }
.member .ph.noimg span { font-family: var(--en); font-weight: 800; font-size: 72px; color: #fff; width: 128px; height: 128px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; }
.member .tx { padding: 28px 30px 32px; }
.member .role { display: inline-block; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 10px; }
.member h3 { font-size: 24px; font-weight: 900; margin: 10px 0 12px; letter-spacing: .08em; }
.member h3 small { display: block; font-family: var(--en); font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .12em; margin-top: 2px; }
.member p { font-size: 15px; color: var(--sub); margin: 0; }
.more-link { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 700; text-decoration: none; padding-top: 14px; border-top: 1px solid var(--line); }
.more-link::before { content: "▸ "; }
@media (max-width: 860px) { .members { grid-template-columns: 1fr; } .member .tx { padding: 22px 20px 26px; } }

/* ---------- 事業カード（2×2） ---------- */
.biz-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 56px; }
.biz-card { display: flex; flex-direction: column; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 1px 0 var(--line); transition: transform .25s, box-shadow .25s; }
.biz-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(20,50,74,.10); color: var(--ink); }
.biz-card .img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--tint); }
.biz-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.biz-card:hover .img img { transform: scale(1.04); }
.biz-card .illust-bg { width: 100%; height: 100%; display: grid; place-items: center; }
.biz-card .illust-bg svg { width: 78%; height: auto; }
.biz-card .cat { position: absolute; left: 0; top: 0; z-index: 1; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; padding: 6px 16px; }
.biz-card .body { padding: 28px 32px 30px; display: flex; flex-direction: column; flex: 1; }
.biz-card .no { font-family: var(--en); font-weight: 800; font-size: 15px; color: var(--navy); letter-spacing: .08em; }
.biz-card h3 { font-size: 22px; font-weight: 900; line-height: 1.5; margin: 4px 0 12px; }
.biz-card p { font-size: 15px; color: var(--sub); margin: 0 0 20px; }
.biz-card .go { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--navy); display: inline-flex; gap: 10px; align-items: center; }
.biz-card .go::after { content: "→"; font-weight: 400; transition: transform .2s; }
.biz-card:hover .go::after { transform: translateX(4px); }
@media (max-width: 860px) { .biz-cards { grid-template-columns: 1fr; gap: 20px; } .biz-card .body { padding: 22px 20px 24px; } .biz-card h3 { font-size: 20px; } }
section[id] { scroll-margin-top: 80px; }

/* ---------- 事業パネル（縦帯なし） ---------- */
.board-plain { display: grid; margin-top: 56px; gap: 20px; }
.panel .pno { display: block; font-family: var(--en); font-weight: 800; font-size: 15px; color: var(--navy); letter-spacing: .08em; margin-bottom: 4px; }

/* ---------- 読みやすさ調整（2026-10-31） ---------- */
:root { --sub: #3e4c58; --muted: #6b7782; }
body { font-size: 17px; line-height: 1.95; }
.watermark { color: rgba(27,39,51,.028); }
.sec.white .watermark, .sec:not(.gray):not(.grid) .watermark { color: rgba(27,39,51,.025); }
.sec.grid { background-image: linear-gradient(rgba(27,39,51,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(27,39,51,.03) 1px, transparent 1px); }
.sec .intro { font-size: 17px; color: var(--sub); }
/* ヒーロー：文字の下をしっかり暗く */
.hero .photo::after { background: linear-gradient(180deg, rgba(10,30,48,0) 30%, rgba(10,30,48,.8) 100%), linear-gradient(90deg, rgba(10,30,48,.7) 0%, rgba(10,30,48,.35) 45%, rgba(10,30,48,0) 70%); }
.hero p { font-size: 18px; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
/* 事業パネル */
.panel { padding: 40px; gap: 24px 48px; }
.panel h3 { font-size: 26px; }
.panel .sub { font-size: 15px; color: var(--sub); }
.panel .desc { font-size: 16px; line-height: 1.95; color: var(--ink); }
.panel .cards { gap: 12px; }
.mini { padding: 20px 20px 22px; }
.mini .head { font-size: 16px; }
.chips li { font-size: 13.5px; color: var(--ink); background: #f7f9fb; border-color: #dbe3e9; padding: 4px 10px; }
.panel .price { font-size: 15px; }
.panel .link a { font-size: 15px; }
/* 本文系 */
.point p, .biz-card p, .member p, .msg-teaser p, .mission .body { font-size: 16px; color: var(--sub); }
.mission .body { color: var(--ink); }
.check li { font-size: 16px; }
.news .ttl { font-size: 16px; }
.site-footer { font-size: 15px; }
@media (max-width: 860px) {
  body { font-size: 16px; }
  .panel { padding: 26px 18px; }
  .panel h3 { font-size: 22px; }
  .hero p { font-size: 15px; }
  .hero .photo::after { background: linear-gradient(180deg, rgba(10,30,48,.1) 20%, rgba(10,30,48,.85) 100%); }
}
@media (max-width: 860px) {
  .panel .cards { grid-template-columns: 1fr 1fr; gap: 8px; }
  .mini { padding: 14px 12px 16px; }
  .mini .head { font-size: 15px; gap: 8px; }
  .mini .ico { width: 26px; height: 26px; }
  .chips li { font-size: 12.5px; padding: 3px 7px; }
}

/* 2026-10-31 修正：人物を右へ／小カードは説明文に／お問い合わせ帯の写真を外す */
.hero .photo .bg { background-position: left center; }
.hero .photo .fg { left: auto; right: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }
@media (max-aspect-ratio: 3/2) { .hero .photo .fg { right: 0; object-position: 70% center; -webkit-mask-image: none; mask-image: none; } }
.mini p { margin: 0; font-size: 14.5px; line-height: 1.8; color: var(--sub); }
.contact-band { background: #fff; border-top: 1px solid var(--line); }
.contact-band::before, .contact-band::after { content: none; }
.contact-band .box { background: var(--tint); }
@media (max-width: 768px) {
  .panel .cards { grid-template-columns: 1fr; }
  .mini p { font-size: 14px; }
}

/* 2026-10-31 修正2：ヒーロー左は無地の紺／事業パネルは「左=事業の説明・右=やること一覧」 */
.hero .photo { background: #0f2638; }
.hero .photo .bg { display: none; }
.hero .photo .fg { left: auto; right: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%); mask-image: linear-gradient(90deg, transparent 0%, #000 35%); }
@media (min-aspect-ratio: 2/1) { .hero .photo .fg { right: 6%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 88%, transparent 100%); } }
@media (max-aspect-ratio: 3/2) { .hero .photo .fg { -webkit-mask-image: none; mask-image: none; } }
/* スマホ・タブレット：写真を切り抜かず全体を小さく見せ、文字は写真の下に置く */
@media (max-width: 860px) {
  .hero { height: auto; min-height: 0; max-height: none; background: #0f2638; }
  .hero .photo { position: relative; inset: auto; aspect-ratio: 1537 / 1023; }
  .hero .photo .fg { position: absolute; inset: 0; left: 0; right: auto; width: 100%; height: 100%; object-fit: cover; object-position: center; -webkit-mask-image: none; mask-image: none; }
  .hero .photo::after { background: linear-gradient(180deg, rgba(15,38,56,0) 65%, rgba(15,38,56,1) 100%); }
  .hero .swoosh { display: none; }
  .hero .copy { position: relative; bottom: auto; padding: 8px 0 48px; }
  .hero h1, .hero p { text-shadow: none; }
}
@media (max-width: 400px) { .hero h1 { font-size: 32px; letter-spacing: .02em; } }
@media (max-width: 340px) { .hero h1 { font-size: 27px; } }

.panel { background: #fff; border: 1px solid #d9e2e9; border-top: 4px solid var(--navy); padding: 44px 48px; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); grid-template-rows: auto auto 1fr; gap: 0 64px; align-items: start; }
.panel > div:first-child { grid-column: 1; grid-row: 1; }
.panel .desc { grid-column: 1; grid-row: 2; border-left: 0; padding-left: 0; margin-top: 20px; font-size: 16px; line-height: 2; color: var(--ink); }
.panel .link { grid-column: 1; grid-row: 3; margin-top: 24px; }
.panel .cards { grid-column: 2; grid-row: 1 / span 3; display: block; border-top: 1px solid var(--line); }
.mini { background: none; padding: 20px 0; border-bottom: 1px solid var(--line); }
.mini .head { font-size: 17px; margin-bottom: 6px; }
.mini p { font-size: 15.5px; line-height: 1.85; color: var(--ink); padding-left: 40px; }
@media (max-width: 900px) {
  .panel { grid-template-columns: 1fr; padding: 28px 20px; }
  .panel > div:first-child, .panel .desc, .panel .link, .panel .cards { grid-column: 1; grid-row: auto; }
  .panel .cards { margin-top: 24px; }
  .panel .link { order: 9; }
  .mini { padding: 16px 0; }
  .mini p { padding-left: 0; font-size: 15px; }
}

/* 2026-10-31 代表写真：人物が中央に来る切り抜き（ceo_tall 2:3／ceo_wide 16:10） */
.msg-teaser .photo img, .message .photo img { aspect-ratio: 2 / 3; object-position: center; }
.msg-teaser .photo, .message .photo { max-width: 380px; margin-inline: auto; }
.member .ph img { object-position: center; }

/* 2026-10-31 経営メンバー：写真は縦長で小さめ（拡大して粗くならないように）・写真左／文章右 */
.members { grid-template-columns: 1fr; gap: 20px; max-width: 880px; }
.member { grid-template-columns: 220px 1fr; grid-template-rows: auto; }
.member .ph img, .member .ph.noimg { aspect-ratio: 2 / 3; height: 100%; max-height: 330px; object-position: center; }
.member .tx { padding: 32px 36px; align-self: center; }
@media (max-width: 600px) {
  .member { grid-template-columns: 120px 1fr; }
  .member .ph img, .member .ph.noimg { max-height: 180px; }
  .member .tx { padding: 16px 16px 18px; }
  .member h3 { font-size: 20px; }
  .member p { font-size: 14.5px; }
}

/* 2026-10-31 CMS化：お知らせのリンク・記事ページ */
.news li { padding: 0; }
.news li a { display: block; padding: 26px 24px; color: inherit; text-decoration: none; }
.news li a:hover .ttl { color: var(--navy); text-decoration: underline; }
.empty { color: var(--sub); margin-top: 40px; }
.news-wrap .news { margin-top: 0; }
.article { max-width: 820px; }
.article .meta { display: flex; align-items: center; gap: 16px; }
.article .meta time { font-family: var(--en); font-size: 14px; color: var(--sub); }
.article .meta .cat { font-size: 12px; color: var(--navy); border: 1px solid var(--navy); border-radius: 999px; padding: 1px 12px; }
.article h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; line-height: 1.5; margin: 14px 0 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.article-body p { margin: 0 0 1.4em; }
.article-body ul { margin: 0 0 1.4em; padding-left: 1.4em; }
.article .back { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
@media (max-width: 600px) { .news li a { padding: 20px 4px; } }
