/* flusco works LP ── 紹介用ペライチ（大川仁志_AIとITに強い社外役員パートナー.png）の見た目に揃える。
   紺の明朝の見出し、細い罫、薄い青灰のパネル。配色の追加はロゴの4色の細い帯だけ。
   CSP で style-src 'self' にしているので、HTML に style 属性や <style> を書かないこと。 */

:root {
  --navy: #1b3358;
  --navy-deep: #13284a;
  --ink: #1f2430;
  --muted: #5a6577;
  --line: #d5dce8;
  --panel: #f2f5fa;
  --bg: #ffffff;
  --danger: #b3261e;
  --ok: #1e7a4d;
  --c-red: #e8705a; --c-blue: #4d9be0; --c-yellow: #f4b63f; --c-green: #5aaa78;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(19, 40, 74, .10);
  --gothic: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", Meiryo, system-ui, sans-serif;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--gothic); color: var(--ink); background: var(--bg); line-height: 1.85; font-size: 16px;
       -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-wrap: anywhere; line-break: strict; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
/* 行末に一言だけ落ちるのを防ぐ。対応していないブラウザでは何も起きない */
h1, h2, h3, .hero-sub, .slogan, .notecard-body strong { text-wrap: balance; word-break: auto-phrase; }
p, li { text-wrap: pretty; }
.lead, .checks li, .contact-text p { word-break: auto-phrase; }
.nb { white-space: nowrap; }
.eyebrow span, .hero-sub span span { display: inline-block; }
ul, ol { list-style: none; }
.mincho { font-family: var(--serif); font-weight: 700; }
.wrap { width: 100%; max-width: 1080px; margin-inline: auto; padding-inline: 22px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--c-blue); outline-offset: 2px; border-radius: 4px; }

/* ロゴの4色の帯 */
.brandbar { display: flex; height: 3px; }
.brandbar i { flex: 1; }
.brandbar i:nth-child(1) { background: var(--c-red); }
.brandbar i:nth-child(2) { background: var(--c-yellow); }
.brandbar i:nth-child(3) { background: var(--c-blue); }
.brandbar i:nth-child(4) { background: var(--c-green); }

/* ───────── ボタン ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 28px;
       border: 1.5px solid var(--navy); border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; font-size: 16px;
       letter-spacing: .06em; text-decoration: none; cursor: pointer; font-family: inherit; line-height: 1.3;
       transition: background .2s, transform .2s, box-shadow .2s; }
.btn:hover { background: var(--navy-deep); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(19, 40, 74, .22); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--panel); box-shadow: none; }
.btn-small { min-height: 40px; padding: 6px 18px; font-size: 14px; }

/* ───────── ヘッダー ───────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(8px);
               -webkit-backdrop-filter: saturate(1.4) blur(8px); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 2px 14px rgba(19, 40, 74, .10); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; }
.logo img { width: auto; height: 38px; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.nav a:not(.btn) { text-decoration: none; color: var(--ink); padding: 6px 2px; }
.nav a:not(.btn):hover { color: var(--navy); text-decoration: underline; text-underline-offset: 6px; }
.nav a.btn { color: #fff; }

/* ───────── ヒーロー ───────── */
.hero { background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 78%); padding: 34px 0 44px; overflow: hidden; }
.hero-grid { display: grid; gap: 22px; grid-template-areas: "head" "photo" "body"; }
.hero-head { grid-area: head; }
.hero-photo { grid-area: photo; }
.hero-body { grid-area: body; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: .08em; color: var(--ink); padding-bottom: 9px; border-bottom: 1px solid var(--navy); margin-bottom: 18px; }
h1 { font-size: clamp(28px, 9.2vw, 60px); line-height: 1.22; color: var(--navy); letter-spacing: .02em; }
.hero-sub { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: clamp(14.5px, 3.9vw, 19px); color: var(--navy); font-weight: 600; letter-spacing: .05em; line-height: 1.5; }
.hero-sub i { flex: none; width: 34px; border-top: 1.5px solid var(--navy); }
.lead { font-size: clamp(15.5px, 4.1vw, 18px); line-height: 1.95; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.actions .btn { flex: 1 1 200px; }

.hero-photo { position: relative; justify-self: center; width: min(100%, 360px); }
.hero-photo picture { display: block; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 622 / 700; background: #eef0f2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.hand { position: absolute; top: 14px; right: -6px; transform: rotate(-9deg); font-family: "Klee One", "Hiragino Maru Gothic ProN", cursive; font-weight: 600;
        font-size: 19px; line-height: 1.35; color: var(--navy); background: rgba(255, 255, 255, .86); padding: 5px 12px; border-radius: 10px; letter-spacing: .06em; }
.hero-photo figcaption { position: absolute; right: 12px; bottom: 12px; background: rgba(255, 255, 255, .88); color: var(--ink); font-size: 12px; line-height: 1.7;
        padding: 8px 12px; border-radius: 10px; letter-spacing: .06em; }

/* ───────── セクション共通 ───────── */
.section { padding: 56px 0; }
.section-tint { background: var(--panel); }
.shead { display: flex; align-items: center; gap: 14px; color: var(--navy); margin-bottom: 26px; }
.shead h2 { font-size: clamp(23px, 6vw, 30px); letter-spacing: .05em; line-height: 1.35; flex: none; }
.shead i { flex: 1; border-top: 1.5px solid var(--navy); min-width: 20px; }
.shead em { font-style: normal; font-family: "Helvetica Neue", Arial, sans-serif; font-size: 11px; letter-spacing: .3em; flex: none; }

/* ───────── 4つのポイント ───────── */
.points { display: grid; gap: 16px; }
.point { background: var(--panel); border-radius: var(--radius); padding: 24px 22px 26px; }
.point-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.chip { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 18px; font-family: "Helvetica Neue", Arial, sans-serif; }
.icon { width: 44px; height: 44px; color: var(--navy); opacity: .9; }
.point h3 { font-size: 18px; line-height: 1.55; color: var(--navy); margin-bottom: 10px; letter-spacing: .02em; }
.point p { font-size: 15px; color: #333b49; }

/* ───────── こんな方に ／ プロフィール ───────── */
.two-col { display: grid; gap: 48px; }
.checks li { position: relative; padding: 15px 0 15px 44px; border-bottom: 1px solid var(--line); font-size: 16.5px; line-height: 1.6; font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: 13px; width: 30px; height: 30px; border-radius: 50%; background: var(--navy)
   url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.4 10.4l3 3 6.2-6.6' fill='none' stroke='%23fff' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.slogan { margin-top: 26px; text-align: center; color: var(--navy); font-weight: 700; letter-spacing: .08em; font-size: 16px; }
.pname { font-size: 30px; letter-spacing: .14em; line-height: 1.3; }
.pname small { font-family: var(--gothic); font-weight: 400; font-size: 13px; letter-spacing: .1em; color: var(--muted); margin-left: 12px; }
.prole { margin-top: 4px; font-weight: 700; color: var(--navy); letter-spacing: .04em; font-size: 15px; }
.timeline { margin-top: 20px; position: relative; padding-left: 4px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 12px; bottom: 12px; border-left: 1.5px solid #9fb0c9; }
.timeline li { position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 6px; padding: 6px 0 6px 26px; font-size: 14.5px; line-height: 1.75; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 3px var(--panel); }
.timeline time { font-family: "Helvetica Neue", Arial, sans-serif; font-weight: 700; color: var(--navy); letter-spacing: .04em; }

/* ───────── note ───────── */
.section-note { padding: 44px 0; }
.notecard { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 22px 22px; border: 1.5px solid var(--line); border-radius: var(--radius);
            text-decoration: none; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.notecard:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-2px); }
.notecard-label { font-family: "Helvetica Neue", Arial, sans-serif; font-weight: 700; font-size: 20px; letter-spacing: .02em; color: #fff; background: var(--ink); border-radius: 10px; padding: 8px 14px; line-height: 1; }
.notecard-body strong { display: block; font-size: 18px; color: var(--navy); line-height: 1.5; letter-spacing: .03em; }
.notecard-body span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; line-height: 1.75; }
.notecard-arrow svg { width: 26px; height: 26px; color: var(--navy); }

/* ───────── お問い合わせ ───────── */
.section-contact { background: var(--navy); color: #fff; padding: 60px 0 64px; }
.contact-grid { display: grid; gap: 30px; }
.kicker { font-family: "Helvetica Neue", Arial, sans-serif; font-size: 12px; letter-spacing: .34em; opacity: .8; margin-bottom: 10px; }
.contact-text h2 { font-size: clamp(27px, 7.2vw, 38px); line-height: 1.4; letter-spacing: .04em; margin-bottom: 18px; }
.contact-text p { font-size: 15.5px; line-height: 2; opacity: .96; }
.contact-text p + p { margin-top: 8px; }
.contact-text .fine { font-size: 13.5px; opacity: .82; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .25); }
.contact-text .talk { font-family: var(--serif); letter-spacing: .14em; margin-top: 18px; opacity: .9; }
.contact-form { background: #fff; color: var(--ink); border-radius: 18px; padding: 26px 22px 28px; box-shadow: 0 18px 40px rgba(0, 0, 0, .22); }
.field { margin-bottom: 16px; }
.field label { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; margin-bottom: 6px; letter-spacing: .03em; }
.field label b { font-size: 11px; font-weight: 700; color: #fff; background: var(--danger); border-radius: 4px; padding: 1px 6px; letter-spacing: .08em; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fbfcfe; border: 1.5px solid #c3cddc; border-radius: 10px;
        padding: 12px 14px; line-height: 1.6; transition: border-color .15s, box-shadow .15s, background .15s; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%231b3358' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(77, 155, 224, .22); }
.field ::placeholder { color: #8d97a8; font-size: 14.5px; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--danger); background: #fff8f7; }
.err { color: var(--danger); font-size: 13px; margin-top: 5px; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacy { font-size: 12.5px; color: var(--muted); line-height: 1.75; margin: 4px 0 16px; }
.btn-submit { width: 100%; position: relative; }
.btn-submit[disabled] { opacity: .75; cursor: progress; transform: none; box-shadow: none; }
.btn-submit.is-sending .btn-label::after { content: ""; display: inline-block; width: 15px; height: 15px; margin-left: 10px; vertical-align: -2px; border: 2.2px solid rgba(255, 255, 255, .45);
        border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #fdf0ee; border: 1px solid #f1c4bf; color: #7d1a14; font-size: 14px; line-height: 1.8; }
.form-status a { color: inherit; font-weight: 700; }
.noscript { margin-top: 12px; font-size: 13.5px; color: var(--danger); }
.sent { text-align: center; padding: 34px 8px 26px; animation: pop .45s ease-out both; }
.sent:focus { outline: none; }
.sent svg { width: 68px; height: 68px; margin: 0 auto 14px; color: var(--ok); }
.sent h3 { font-size: 26px; color: var(--navy); letter-spacing: .1em; margin-bottom: 10px; }
.sent p { font-size: 15px; line-height: 1.95; color: #333b49; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

/* ───────── フッター ───────── */
.site-footer { background: #fff; padding-top: 38px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding-bottom: 30px; }
.footer-logo { width: 150px; }
.footer-text { font-size: 14px; line-height: 1.9; color: var(--ink); }
.footer-links { display: flex; gap: 20px; justify-content: center; margin-top: 6px; }
.footer-links a { font-weight: 600; text-underline-offset: 5px; }
.copyright { text-align: center; font-size: 12px; color: var(--muted); padding: 14px 0 18px; letter-spacing: .08em; font-family: "Helvetica Neue", Arial, sans-serif; }

/* ───────── 現れる動き（JS が html に .js を付けた時だけ隠す。動きを減らす設定の人には出さない） ───────── */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .notecard { transition: none; }
  .sent { animation: none; }
}

/* ───────── 小さい画面：ナビを絞る ───────── */
@media (max-width: 640px) {
  .nav a:not(.btn) { display: none; }
  .shead-long em { display: none; }
  .logo img { height: 34px; }
  .notecard { grid-template-columns: 1fr auto; }
  .notecard-label { grid-column: 1 / -1; justify-self: start; font-size: 17px; }
}

/* ───────── 広い画面 ───────── */
@media (min-width: 860px) {
  body { font-size: 16.5px; }
  .wrap { padding-inline: 32px; }
  .header-inner { min-height: 70px; }
  .logo img { height: 44px; }
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); grid-template-areas: "head photo" "body photo"; column-gap: 56px; row-gap: 26px; align-items: start; }
  .hero-head { align-self: end; padding-top: 18px; }
  h1 { font-size: clamp(40px, 4.9vw, 56px); }
  .hero-photo { width: 100%; max-width: 420px; justify-self: end; grid-row: 1 / span 2; align-self: center; }
  .hero-photo picture { aspect-ratio: 622 / 760; }
  .hand { font-size: 23px; top: 22px; right: -18px; }
  .hero-photo figcaption { font-size: 13px; right: 16px; bottom: 16px; }
  .actions .btn { flex: 0 0 auto; min-width: 210px; }
  .section { padding: 84px 0; }
  .shead { margin-bottom: 36px; }
  .points { grid-template-columns: 1fr 1fr; gap: 22px; }
  .point { padding: 30px 30px 32px; }
  .point h3 { font-size: 19.5px; }
  .two-col { grid-template-columns: 1fr 1.12fr; gap: 64px; align-items: start; }
  .section-note { padding: 64px 0; }
  .notecard { padding: 28px 32px; gap: 26px; }
  .notecard-body strong { font-size: 21px; }
  .section-contact { padding: 88px 0 96px; }
  .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
  .contact-text { position: sticky; top: 110px; }
  .contact-form { padding: 36px 36px 38px; }
  .footer-inner { flex-direction: row; justify-content: center; gap: 34px; text-align: left; }
  .footer-links { justify-content: flex-start; }
}
