/* ============================================
   伊藤こうしろう公式サイト
   トーン: 明朝×黄緑×生成り のエディトリアル
   ============================================ */
:root {
  --ai: #3e6b21;
  --ai-deep: #1c3312;
  --ai-ink: #1e2a18;
  --paper: #f5f6ec;
  --white: #ffffff;
  --ink: #23252b;
  --ink-2: #6a6e78;
  --line: #dee3cf;
  --gold: #7a9a2e;
  --green: #8cc63f;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --font-en: "Montserrat", sans-serif;
  --header-h: 76px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
/* 親テーマ(Lightning/Bootstrap)の要素セレクタに勝つための保険リセット */
body.ks-front h1, body.ks-front h2, body.ks-front h3, body.ks-front h4,
body.ks-front p, body.ks-front ul, body.ks-front ol, body.ks-front dl,
body.ks-front dd, body.ks-front table, body.ks-front figure {
  margin: 0; padding: 0;
}
body.ks-front ul, body.ks-front ol { list-style: none; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-serif);
  color: var(--ink);
  background: var(--white);
  line-height: 2;
  font-size: 15.5px;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ai-ink); }
ul, ol { list-style: none; }

.ks-container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.ks-container.narrow { max-width: 860px; }

/* ---------- ヘッダー ---------- */
.ks-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(245, 246, 236, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.ks-header.is-scrolled { background: rgba(255, 255, 255, .92); border-bottom-color: var(--line); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); transition: height .3s;
}
.ks-header.is-scrolled .header-inner { height: 62px; }
.ks-brand { text-decoration: none; line-height: 1.35; }
.brand-role { display: block; font-size: 10.5px; letter-spacing: .28em; color: var(--ink-2); }
.brand-name { font-size: 21px; font-weight: 700; color: var(--ai-ink); letter-spacing: .12em; }
.gnav { display: flex; align-items: center; gap: 30px; }
.gnav a {
  text-decoration: none; font-size: 13.5px; font-weight: 600; color: var(--ink);
  letter-spacing: .14em; padding: 6px 0; position: relative;
}
.gnav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--ai); transition: right .35s var(--ease-out);
}
.gnav a:not(.nav-cta):hover::after { right: 0; }
.gnav .nav-cta {
  background: var(--ai); color: #fff; padding: 10px 24px; border-radius: 3px;
  font-weight: 600; transition: background .25s;
}
.gnav .nav-cta:hover { background: var(--ai-deep); }
.nav-toggle { display: none; }

/* ---------- ボタン ---------- */
.ks-btn {
  display: inline-flex; align-items: center; gap: 14px; justify-content: space-between;
  text-decoration: none; font-family: var(--font-serif); font-weight: 600; font-size: 14.5px;
  letter-spacing: .12em; padding: 15px 26px 15px 30px; border-radius: 3px;
  transition: background .3s, color .3s, border-color .3s;
}
.ks-btn .arrow {
  width: 26px; height: 1px; background: currentColor; position: relative; flex-shrink: 0;
  transition: width .3s var(--ease-out);
}
.ks-btn .arrow::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: 8px; height: 1px;
  background: currentColor; transform-origin: right bottom; transform: rotate(-38deg);
}
.ks-btn:hover .arrow { width: 38px; }
.ks-btn-primary { background: var(--ai); color: #fff; }
.ks-btn-primary:hover { background: var(--ai-deep); }
.ks-btn-ghost { border: 1px solid var(--ai-ink); color: var(--ai-ink); background: transparent; }
.ks-btn-ghost:hover { background: var(--ai-ink); color: #fff; }
.ks-btn-outline { border: 1px solid var(--ai-ink); color: var(--ai-ink); background: transparent; }
.ks-btn-outline:hover { background: var(--ai-ink); color: #fff; }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 24px) 0 0;
  background: #cfe3ee url("../images/hero-bg.webp") center 30% / cover no-repeat;
  overflow: hidden;
}
/* テキストの可読性を守る生成りのベール */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: linear-gradient(90deg,
    rgba(245, 246, 236, .95) 0%,
    rgba(245, 246, 236, .84) 30%,
    rgba(245, 246, 236, .30) 58%,
    rgba(245, 246, 236, 0) 74%);
}
/* 青海波テクスチャ（右上・左下にさりげなく） */
.hero-pattern {
  display: none;
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='28'%3E%3Cg fill='%23f5f6ec' stroke='%23e1e6ca' stroke-width='1'%3E%3Ccircle cx='28' cy='28' r='26'/%3E%3Ccircle cx='28' cy='28' r='18'/%3E%3Ccircle cx='28' cy='28' r='10'/%3E%3Ccircle cx='0' cy='42' r='26'/%3E%3Ccircle cx='0' cy='42' r='18'/%3E%3Ccircle cx='0' cy='42' r='10'/%3E%3Ccircle cx='56' cy='42' r='26'/%3E%3Ccircle cx='56' cy='42' r='18'/%3E%3Ccircle cx='56' cy='42' r='10'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(560px 380px at 88% 6%, #000 0%, transparent 72%), radial-gradient(480px 340px at 4% 96%, #000 0%, transparent 72%);
  mask-image: radial-gradient(560px 380px at 88% 6%, #000 0%, transparent 72%), radial-gradient(480px 340px at 4% 96%, #000 0%, transparent 72%);
  opacity: .8;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 24px; align-items: end;
  min-height: min(78vh, 760px);
}
.hero-text { padding: 48px 0 96px; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 12.5px; font-weight: 600; letter-spacing: .22em; color: var(--ink-2);
}
.hero-eyebrow .party {
  background: #8cc63f; color: #1c3312; font-size: 10.5px; padding: 3px 12px;
  border-radius: 2px; letter-spacing: .18em; font-weight: 600;
}
.hero-name {
  font-size: clamp(38px, 4.6vw, 58px); font-weight: 900; color: var(--ai-ink);
  letter-spacing: .14em; margin: 18px 0 26px; line-height: 1.3;
}
.hero-kanji {
  display: block; font-family: var(--font-en); font-size: 11.5px; font-weight: 600;
  color: var(--gold); letter-spacing: .34em; margin-top: 12px;
}
.hero-sub { font-size: 15px; color: var(--ink-2); line-height: 2.2; margin-bottom: 40px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* 写真＋短冊 */
.hero-visual {
  position: relative; align-self: end; min-height: 480px;
  display: flex; align-items: flex-start; justify-content: flex-end; gap: 20px;
  padding-bottom: 0;
}
.hero-visual picture { display: contents; }
.hero-photo {
  width: min(400px, 72%); margin: 0; position: relative; z-index: 2;
  filter: drop-shadow(0 16px 28px rgba(15, 30, 10, .38));
  will-change: transform;
}
.hero-photo-frame { display: none; }
.hero-tanzaku {
  position: static; z-index: 3; margin-top: 4%; order: -1;
  display: flex; gap: 12px; align-items: flex-start;
}
.tz {
  writing-mode: vertical-rl; text-orientation: mixed;
  background: var(--ai-deep); color: #fff;
  font-size: clamp(17px, 1.6vw, 22px); font-weight: 700; letter-spacing: .26em;
  padding: 22px 11px 26px; line-height: 1;
  border: 1px solid rgba(245, 246, 236, .28);
  box-shadow: 0 14px 34px rgba(8, 16, 5, .55);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .35);
  clip-path: inset(0 0 100% 0);
}
.tz-2 { margin-top: 38px; background: #9ad84a; color: #16261a; border-color: rgba(22, 38, 26, .4); text-shadow: none; }
.tz-3 { margin-top: 76px; }
body.is-loaded .tz { animation: tzReveal .9s var(--ease-out) forwards; }
body.is-loaded .tz-2 { animation-delay: .25s; }
body.is-loaded .tz-3 { animation-delay: .5s; }
@keyframes tzReveal { to { clip-path: inset(0 0 0 0); } }

/* ロード時のテキスト立ち上がり */
.hero-eyebrow, .hero-name, .hero-sub, .hero-cta {
  opacity: 0; transform: translateY(26px);
}
body.is-loaded .hero-eyebrow, body.is-loaded .hero-name,
body.is-loaded .hero-sub, body.is-loaded .hero-cta {
  animation: riseIn .9s var(--ease-out) forwards;
}
body.is-loaded .hero-name { animation-delay: .12s; }
body.is-loaded .hero-sub { animation-delay: .24s; }
body.is-loaded .hero-cta { animation-delay: .36s; }
@keyframes riseIn { to { opacity: 1; transform: none; } }

/* マーキー */
.hero-marquee {
  position: relative; z-index: 1; overflow: hidden;
  padding: 10px 0 18px;
}
.marquee-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee-track span {
  font-family: var(--font-en); font-weight: 700; font-size: clamp(40px, 5vw, 64px);
  letter-spacing: .06em; white-space: nowrap; color: rgba(245, 246, 236, .12);
  -webkit-text-stroke: 1.5px rgba(245, 246, 236, .92);
  paint-order: stroke fill;
  text-shadow: 0 2px 12px rgba(8, 16, 5, .45);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 信頼バー ---------- */
.trust-band { background: var(--ai-deep); color: #fff; }
.trust-bar { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-bar li {
  padding: 34px 16px; text-align: center;
  display: flex; flex-direction: column; gap: 4px;
  border-left: 1px solid rgba(255, 255, 255, .14);
}
.trust-bar li:first-child { border-left: none; }
.trust-bar .num {
  font-family: var(--font-en); font-weight: 600; font-size: 38px; color: #fff;
  font-variant-numeric: tabular-nums; line-height: 1.2;
}
.trust-bar .num small { font-family: var(--font-serif); font-size: 13px; font-weight: 600; margin-left: 4px; color: rgba(255,255,255,.85); }
.trust-bar .label { font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .7); letter-spacing: .12em; }

/* ---------- セクション共通 ---------- */
.ks-section { padding: 130px 0 110px; }
.sec-head { margin-bottom: 56px; }
.sec-eyebrow {
  font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .34em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
.sec-head h2 {
  font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; color: var(--ai-ink);
  letter-spacing: .12em; line-height: 1.5; text-wrap: balance;
}
.sec-lead { margin-top: 18px; color: var(--ink-2); max-width: 44em; font-size: 14.5px; }

/* ---------- メッセージ ---------- */
.message { background: var(--white); }
.message-grid { display: grid; grid-template-columns: auto 1fr; gap: 64px; align-items: start; }
.message-tate {
  writing-mode: vertical-rl; text-orientation: mixed;
  font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; color: var(--ai);
  letter-spacing: .34em; line-height: 1.8;
  border-right: 1px solid var(--line); padding-right: 28px;
  min-height: 340px;
}
.message-body { max-width: 620px; }
.message-body p { margin-bottom: 1.6em; }
.message-sign { text-align: right; font-weight: 700; color: var(--ai-ink); letter-spacing: .18em; margin-top: 2.2em; }
.message-more { margin-top: 2.4em; }

/* メッセージ写真 */
.message-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; align-items: start; }
.message-photos figure { margin: 0; display: flex; flex-direction: column; }
.message-photos img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block;
  border: 1px solid var(--line); box-shadow: 0 10px 26px rgba(23, 42, 15, .1);
}
.message-photos figcaption { font-size: 11.5px; color: var(--ink-2); letter-spacing: .12em; margin-top: 10px; }

/* ---------- 活動アルバム（フォトカルーセル） ---------- */
.album { background: var(--white); overflow: hidden; }
.album-swiper { width: 100%; padding: 10px 0 52px; overflow: hidden; }
.album-swiper .swiper-slide { width: 340px; height: auto; }
.album-card { display: block; }
.album-card img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(23, 42, 15, .14);
}
.album-card figcaption {
  font-size: 12px; color: var(--ink-2); letter-spacing: .1em; margin-top: 10px;
  display: flex; align-items: center; gap: 10px;
}
.album-card figcaption::before { content: ""; width: 18px; height: 1px; background: var(--gold); }
.album-swiper .swiper-pagination-bullet { background: rgba(30, 42, 24, .3); opacity: 1; }
.album-swiper .swiper-pagination-bullet-active { background: var(--ai); }

/* ---------- 政策 ---------- */
.policy { background: var(--paper); }
.policy-list { border-top: 1px solid var(--line); }
.policy-row {
  display: grid; grid-template-columns: 300px 1fr; gap: 40px;
  padding: 52px 8px; border-bottom: 1px solid var(--line);
}
.policy-num {
  font-family: var(--font-en); font-weight: 500; font-size: 15px; color: var(--gold);
  letter-spacing: .2em; display: block; margin-bottom: 10px;
}
.policy-head h3 {
  font-size: clamp(21px, 2.2vw, 26px); font-weight: 700; color: var(--ai-ink);
  letter-spacing: .1em; line-height: 1.7;
}
.policy-steps { display: grid; gap: 22px; }
.policy-step dt {
  font-size: 12px; font-weight: 600; color: var(--ai); letter-spacing: .26em;
  margin-bottom: 6px; display: flex; align-items: center; gap: 12px;
}
.policy-step dt::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.policy-step dd { font-size: 14.5px; color: var(--ink); }
.policy-links li { margin-bottom: 6px; padding-left: 1.2em; position: relative; }
.policy-links li::before { content: "―"; color: var(--gold); position: absolute; left: 0; top: 0; }
.policy-links a { color: var(--ai-ink); font-weight: 600; text-decoration-color: rgba(62, 107, 33, .35); text-underline-offset: 4px; }
.policy-links a:hover { color: var(--ai); }

/* ---------- IT経営者の視点 ---------- */
.itview { background: var(--ai-deep); position: relative; overflow: hidden; }
.itview::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='28'%3E%3Cg fill='%231c3312' stroke='%232d4a1c' stroke-width='1'%3E%3Ccircle cx='28' cy='28' r='26'/%3E%3Ccircle cx='28' cy='28' r='18'/%3E%3Ccircle cx='28' cy='28' r='10'/%3E%3Ccircle cx='0' cy='42' r='26'/%3E%3Ccircle cx='0' cy='42' r='18'/%3E%3Ccircle cx='0' cy='42' r='10'/%3E%3Ccircle cx='56' cy='42' r='26'/%3E%3Ccircle cx='56' cy='42' r='18'/%3E%3Ccircle cx='56' cy='42' r='10'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(620px 420px at 94% 4%, #000 0%, transparent 74%);
  mask-image: radial-gradient(620px 420px at 94% 4%, #000 0%, transparent 74%);
  opacity: .6;
}
.itview .ks-container { position: relative; z-index: 1; }
.itview .sec-head h2 { color: #fff; }
.itview .sec-lead { color: rgba(255, 255, 255, .72); }
/* coverflowカルーセル（Swiper） */
.itview-swiper { width: 100%; padding: 10px 0 56px; overflow: hidden; }
.itview-swiper .swiper-slide { width: 320px; height: auto; }
.itview-card {
  position: relative; display: block; height: 100%; min-height: 250px;
  background: #22391a; border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 6px; padding: 28px 22px 46px; text-decoration: none;
  transition: background .3s, border-color .3s;
}
.itview-swiper .swiper-slide-active .itview-card { background: #2b4a1e; border-color: rgba(140, 198, 63, .55); }
.itview-card:hover { background: #2f5122; border-color: rgba(255, 255, 255, .34); }
.itview-swiper .swiper-pagination-bullet { background: rgba(255, 255, 255, .45); opacity: 1; }
.itview-swiper .swiper-pagination-bullet-active { background: #8cc63f; }
.itview-nav { display: flex; justify-content: center; gap: 14px; margin-top: 4px; }
.itview-nav button {
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #cfe89a;
  font-size: 16px; font-family: var(--font-en);
  transition: background .25s, border-color .25s;
}
.itview-nav button:hover { background: rgba(140, 198, 63, .18); border-color: #8cc63f; }
.itview-3d .swiper-slide-shadow-left, .itview-3d .swiper-slide-shadow-right { background: none; }
.swiper-3d .swiper-slide-shadow-left, .swiper-3d .swiper-slide-shadow-right { background-image: none; background: none; }
.itview-tag {
  display: inline-block; font-size: 11px; font-weight: 600; color: #cfe89a;
  border: 1px solid rgba(207, 232, 154, .5); border-radius: 2px; padding: 3px 10px;
  margin-bottom: 14px; letter-spacing: .14em;
}
.itview-card h3 { color: #fff; font-size: 17px; font-weight: 700; margin-bottom: 12px; line-height: 1.7; letter-spacing: .06em; }
.itview-card p { color: rgba(255, 255, 255, .68); font-size: 13px; line-height: 1.95; }
.card-arrow {
  position: absolute; right: 20px; bottom: 14px;
  color: #cfe89a; font-size: 16px; transition: transform .3s var(--ease-out);
}
.itview-card:hover .card-arrow { transform: translateX(6px); }

/* ---------- 実績タイムライン ---------- */
.results { background: var(--white); }
.timeline { max-width: 860px; margin: 0 auto; position: relative; padding-left: 20px; }
.timeline::before {
  content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px;
  background: var(--line);
}
.timeline li { position: relative; padding: 0 0 30px 32px; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 10px; width: 11px; height: 11px;
  background: var(--paper); border: 1px solid var(--ai);
  transform: rotate(45deg);
}
.tl-date {
  font-weight: 600; font-size: 13px; color: var(--gold);
  letter-spacing: .18em; display: block; margin-bottom: 4px;
}
.tl-body a {
  font-size: 16.5px; font-weight: 600; color: var(--ai-ink); line-height: 1.9;
  text-decoration-color: rgba(62, 107, 33, .3); text-underline-offset: 5px;
}
.tl-body a:hover { color: var(--ai); }
.results-more { text-align: center; margin-top: 44px; }

/* ---------- 学び ---------- */
.learning { background: var(--paper); }
.learning-list { border-top: 1px solid var(--line); }
.learning-list li {
  display: flex; gap: 28px; align-items: baseline;
  padding: 20px 8px; border-bottom: 1px solid var(--line);
}
.ll-date { font-family: var(--font-en); font-size: 12.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.learning-list a { font-weight: 600; font-size: 15px; text-decoration-color: rgba(32,59,133,.3); text-underline-offset: 4px; }
.learning-list a:hover { color: var(--ai); }
.learning-more { margin-top: 24px; text-align: right; }
.learning-more a { font-weight: 600; text-decoration: none; color: var(--ai); letter-spacing: .1em; }

/* ---------- ブログ ---------- */
.blog { background: var(--white); border-top: 1px solid var(--line); }
.blog-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.blog-tabs .tab {
  text-decoration: none; font-size: 13px; font-weight: 600; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 20px;
  letter-spacing: .1em; transition: all .25s;
}
.blog-tabs .tab:hover, .blog-tabs .tab.is-active { background: var(--ai-ink); border-color: var(--ai-ink); color: #fff; }
.blog-list { border-top: 1px solid var(--line); }
.blog-list li { border-bottom: 1px solid var(--line); }
.blog-list a {
  display: grid; grid-template-columns: 128px 1fr auto; gap: 22px; align-items: center;
  padding: 16px 8px; text-decoration: none; transition: background .25s;
  position: relative;
}
.blog-list a::after {
  content: "→"; color: var(--gold); font-size: 15px; justify-self: end;
  transition: transform .3s var(--ease-out);
}
.blog-list a:hover { background: var(--paper); }
.blog-list a:hover::after { transform: translateX(6px); }
.bl-thumb {
  display: block; overflow: hidden; border: 1px solid var(--line); background: var(--paper);
}
.bl-thumb img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.blog-list a:hover .bl-thumb img { transform: scale(1.05); }
.bl-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bl-meta { display: flex; align-items: center; gap: 12px; }
.blog-list time { font-family: var(--font-en); font-size: 13px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.bl-cat {
  font-size: 11px; font-weight: 600; color: var(--ai); border: 1px solid rgba(62, 107, 33, .4);
  border-radius: 2px; padding: 2px 8px; text-align: center; white-space: nowrap; letter-spacing: .08em;
}
.bl-title { font-size: 14.5px; font-weight: 500; color: var(--ink); line-height: 1.9; }
.blog-list a:hover .bl-title { color: var(--ai-ink); }
.blog-more { text-align: center; margin-top: 40px; }

/* ---------- プロフィール ---------- */
.profile { background: var(--paper); }
.profile-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.profile-photo img { width: 100%; object-fit: cover; aspect-ratio: 3/4; }
.profile-facts { width: 100%; margin-top: 24px; border-collapse: collapse; background: var(--white); }
.profile-facts th, .profile-facts td { padding: 12px 18px; font-size: 13.5px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.profile-facts tr:last-child th, .profile-facts tr:last-child td { border-bottom: none; }
.profile-facts th { color: var(--ink-2); font-weight: 600; white-space: nowrap; width: 7em; letter-spacing: .1em; }
.profile-facts .fact-roles li { position: relative; padding-left: 1em; margin-bottom: 5px; line-height: 1.6; }
.profile-facts .fact-roles li:last-child { margin-bottom: 0; }
.profile-facts .fact-roles li::before { content: "―"; position: absolute; left: 0; color: var(--gold); }
.career { border-top: 1px solid var(--line); }
.career li { display: flex; gap: 26px; padding: 14px 4px; border-bottom: 1px solid var(--line); align-items: baseline; }
.career .c-date { font-family: var(--font-en); font-weight: 600; font-size: 13px; color: var(--ink-2); white-space: nowrap; min-width: 7.5em; font-variant-numeric: tabular-nums; letter-spacing: .05em; }
.career .c-body { font-size: 14.5px; }
.career .is-now .c-body { font-weight: 700; color: var(--ai-ink); }
.career .is-now .c-date { color: var(--gold); }
.profile-more { margin-top: 30px; text-align: right; }
.profile-more a { font-weight: 600; text-decoration: none; color: var(--ai); letter-spacing: .1em; }

/* ---------- つながる ---------- */
.connect { background: var(--white); }
.connect-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.connect-card {
  border: 1px solid var(--line); border-radius: 4px; padding: 32px 24px;
  text-decoration: none; transition: transform .35s var(--ease-out), box-shadow .35s, border-color .3s;
  display: flex; flex-direction: column; gap: 14px; background: var(--white);
}
.connect-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(23, 42, 15, .12); border-color: var(--ai); }
.connect-card h3 { font-size: 17.5px; font-weight: 700; color: var(--ai-ink); letter-spacing: .1em; }
.connect-card p { font-size: 13px; color: var(--ink-2); flex: 1; line-height: 1.95; }
.cc-btn {
  align-self: flex-start; font-size: 12.5px; font-weight: 600; color: #fff;
  background: var(--ai); border-radius: 2px; padding: 9px 22px; letter-spacing: .14em;
}
.connect-card.line .cc-btn { background: #06c755; }
.connect-tel { margin-top: 40px; text-align: center; font-size: 14px; color: var(--ink-2); letter-spacing: .1em; }
.connect-tel a { font-family: var(--font-en); font-weight: 600; font-size: 19px; color: var(--ai-ink); text-decoration: none; letter-spacing: .06em; }

/* ---------- 追従CTA ---------- */
.float-cta {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--ai); color: #fff; text-decoration: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  box-shadow: 0 12px 30px rgba(23, 42, 15, .35);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .4s, transform .4s var(--ease-out), background .25s;
}
.float-cta.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.float-cta:hover { background: var(--ai-deep); }
.fc-label { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-align: center; line-height: 1.5; }
.fc-arrow { font-size: 13px; color: #cfe89a; }

/* ---------- フッター ---------- */
.ks-footer { background: var(--ai-ink); color: #fff; padding: 64px 0 30px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.fb-role { font-size: 11px; color: rgba(255, 255, 255, .55); letter-spacing: .24em; }
.fb-name { font-size: 20px; font-weight: 700; letter-spacing: .16em; margin-top: 4px; }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { color: rgba(255, 255, 255, .78); text-decoration: none; font-size: 13px; letter-spacing: .12em; }
.footer-nav a:hover { color: #fff; }
.copyright { text-align: center; font-size: 11.5px; color: rgba(255, 255, 255, .45); margin-top: 48px; letter-spacing: .1em; }

/* ---------- スクロールリビール ---------- */
.ks-fade {
  opacity: 0; transform: translateY(34px); filter: blur(6px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.ks-fade.is-in { opacity: 1; transform: none; filter: blur(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ks-fade { opacity: 1; transform: none; filter: none; transition: none; }
  .hero-eyebrow, .hero-name, .hero-sub, .hero-cta { opacity: 1; transform: none; animation: none !important; }
  .tz { clip-path: none; animation: none !important; }
  .marquee-track { animation: none; }
  .hero-photo { transform: none !important; }
  .ks-btn:hover .arrow, .connect-card:hover { transform: none; }
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 1020px) {
  .connect-grid { grid-template-columns: repeat(2, 1fr); }
  .policy-row { grid-template-columns: 1fr; gap: 20px; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-photo { max-width: 440px; }
}
@media (max-width: 780px) {
  body { font-size: 15px; }
  .hero::before {
    background: linear-gradient(180deg,
      rgba(245, 246, 236, .95) 0%,
      rgba(245, 246, 236, .82) 40%,
      rgba(245, 246, 236, .32) 62%,
      rgba(245, 246, 236, 0) 82%);
  }
  .hero-inner { display: flex; flex-direction: column; gap: 0; min-height: 0; }
  .hero-visual { order: 1; min-height: 0; margin-top: 10px; display: flex; flex-direction: column; align-items: center; }
  .hero-text { order: 0; padding: 30px 0 8px; }
  .hero-photo { width: min(340px, 100%); margin: 0 auto; }
  .hero-photo-frame { display: none; }
  .hero-tanzaku {
    position: static; order: 1; margin: 22px 0 0; gap: 14px;
    justify-content: center; align-items: stretch; width: 100%;
  }
  .tz {
    font-size: 16px; padding: 18px 9px 20px; letter-spacing: .22em;
    box-shadow: 4px 5px 16px rgba(23, 42, 15, .22);
  }
  .tz-2, .tz-3 { margin-top: 0; }
  .hero-sub br { display: none; }
  .hero-cta { flex-direction: column; }
  .hero-cta .ks-btn { width: 100%; }
  .marquee-track span { font-size: 34px; }
  .trust-bar { grid-template-columns: 1fr; }
  .trust-bar li { flex-direction: row; justify-content: space-between; align-items: center; padding: 16px 22px; border-left: none; border-top: 1px solid rgba(255,255,255,.14); }
  .trust-bar li:first-child { border-top: none; }
  .trust-bar .num { font-size: 27px; }
  .ks-section { padding: 84px 0 72px; }
  .message-grid { grid-template-columns: 1fr; gap: 32px; }
  .message-tate {
    writing-mode: horizontal-tb; min-height: 0; border-right: none;
    border-left: 3px solid var(--ai); padding: 4px 0 4px 18px; letter-spacing: .18em;
  }
  .connect-grid { grid-template-columns: 1fr; }
  .itview-swiper .swiper-slide { width: 280px; }
  .album-swiper .swiper-slide { width: 260px; }
  .blog-list a { grid-template-columns: 96px 1fr; gap: 14px; }
  .blog-list a::after { content: none; }
  .message-photos { gap: 12px; }
  .float-cta { width: 78px; height: 78px; right: 16px; bottom: 16px; }
  .fc-label { font-size: 10px; }

  .gnav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: var(--paper);
    flex-direction: column; align-items: stretch; gap: 0; padding: 14px 28px 24px;
    border-bottom: 1px solid var(--line); box-shadow: 0 24px 44px rgba(23, 42, 15, .14);
    display: none;
  }
  .gnav.is-open { display: flex; }
  .gnav a { padding: 15px 4px; border-bottom: 1px solid var(--line); letter-spacing: .2em; }
  .gnav a:not(.nav-cta)::after { content: none; }
  .gnav .nav-cta { margin-top: 16px; text-align: center; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 46px; height: 46px; padding: 11px; background: none; border: none; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 1px; background: var(--ai-ink); transition: transform .3s, opacity .3s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============================================
   自己紹介ページ (myself)
   ============================================ */
/* ページヒーロー */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 56px) 0 60px;
  background: #cfe3ee url("../images/hero-bg.webp") center 26% / cover no-repeat;
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(245, 246, 236, .92) 0%,
    rgba(245, 246, 236, .80) 45%,
    rgba(245, 246, 236, .62) 100%);
}
.page-hero-inner { position: relative; z-index: 1; }
.breadcrumb {
  display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-2);
  letter-spacing: .1em; margin-bottom: 22px;
}
.breadcrumb a { color: var(--ink-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--ai); }
.breadcrumb span { color: var(--gold); }
.page-hero h1 {
  font-size: clamp(30px, 4vw, 46px); font-weight: 900; color: var(--ai-ink);
  letter-spacing: .14em; line-height: 1.4;
}
.page-hero .en {
  font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .34em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
.page-hero .lead { margin-top: 18px; color: var(--ink); font-size: 15px; max-width: 40em; line-height: 2.1; }

/* ストーリー本文 */
.story { background: var(--white); padding: 96px 0 100px; }
.story-intro {
  display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start;
  max-width: 1000px; margin: 0 auto 80px; padding: 0 28px;
}
.story-intro .lede p { margin-bottom: 1.5em; font-size: 16px; }
.story-intro .lede .big {
  font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; color: var(--ai-ink);
  letter-spacing: .06em; line-height: 1.9; margin-bottom: 1em;
}
.story-portrait { position: relative; }
.story-portrait img { width: 100%; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(23,42,15,.16); }
.story-portrait figcaption {
  font-size: 12px; color: var(--ink-2); letter-spacing: .1em; margin-top: 10px;
  display: flex; align-items: center; gap: 10px;
}
.story-portrait figcaption::before { content: ""; width: 18px; height: 1px; background: var(--gold); }

.chapter { max-width: 720px; margin: 0 auto; padding: 0 28px; }
.chapter + .chapter { margin-top: 72px; }
.chapter-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.chapter-num { font-family: var(--font-en); font-size: 15px; font-weight: 600; color: var(--gold); letter-spacing: .12em; }
.chapter-head h2 { font-size: clamp(20px, 2.4vw, 27px); font-weight: 700; color: var(--ai-ink); letter-spacing: .08em; line-height: 1.6; }
.chapter-body p { margin-bottom: 1.5em; font-size: 15.5px; }
.chapter-body p:last-child { margin-bottom: 0; }
.chapter-body .em { font-weight: 700; color: var(--ai-ink); }

.story-figure { max-width: 860px; margin: 56px auto; padding: 0 28px; }
.story-figure img { width: 100%; border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(23,42,15,.14); }
.story-figure.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.story-figure figcaption { font-size: 12px; color: var(--ink-2); letter-spacing: .1em; margin-top: 10px; }

.pullquote {
  max-width: 760px; margin: 56px auto; padding: 40px 44px; position: relative;
  background: var(--ai-deep); color: #fff; border-radius: 4px;
}
.pullquote p {
  font-size: clamp(19px, 2.4vw, 25px); font-weight: 700; letter-spacing: .08em;
  line-height: 2; text-wrap: balance;
}
.pullquote .mark {
  font-family: var(--font-en); font-size: 64px; line-height: 1; color: rgba(140,198,63,.5);
  position: absolute; top: 14px; left: 20px;
}

/* 締めのメッセージ */
.story-closing { max-width: 720px; margin: 80px auto 0; padding: 44px 28px 0; border-top: 2px solid var(--gold); text-align: center; }
.story-closing .big {
  font-size: clamp(22px, 3vw, 30px); font-weight: 900; color: var(--ai-ink);
  letter-spacing: .1em; line-height: 1.8; margin-bottom: .8em; text-wrap: balance;
}
.story-closing p { color: var(--ink-2); }
.story-closing .sign { margin-top: 1.6em; font-weight: 700; color: var(--ai-ink); letter-spacing: .16em; }

@media (max-width: 780px) {
  .page-hero { padding: calc(var(--header-h) + 32px) 0 40px; }
  .story { padding: 64px 0 72px; }
  .story-intro { grid-template-columns: 1fr; gap: 28px; margin-bottom: 56px; }
  .story-portrait { max-width: 320px; margin: 0 auto; }
  .chapter + .chapter { margin-top: 56px; }
  .story-figure.two { grid-template-columns: 1fr; }
  .pullquote { padding: 32px 26px; }
}
