/* Kitefield, Inc. — 共通スタイル */
:root {
  --white: #FFFFFF;
  --gray: #F6F6F7;
  --navy: #152632;
  --blue: #534DFF;
  --blue-dark: #3F39E6;
  --blue-soft: #EEEDFF;
  --sub: #727888;
  --sub2: #9EA2AD;
  --line: rgba(21, 38, 50, .1);
  --mint: #CCEFD1;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "Meiryo", sans-serif;
  --font-en: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 56px);
  --sec: clamp(88px, 12vw, 160px);
  --ease: cubic-bezier(.7, 0, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--navy); font-family: var(--font); font-size: 16px; line-height: 1.9; letter-spacing: .03em; }
main { display: block; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(100% - var(--pad) * 2, var(--wrap)); margin-inline: auto; }

h1, h2, h3, .catch { word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; line-break: strict; margin: 0; font-weight: 700; line-height: 1.45; letter-spacing: .04em; }
.nobr { display: inline-block; }
p { margin: 0 0 1em; text-wrap: pretty; line-break: strict; }
p:last-child { margin-bottom: 0; }
.txt { max-width: 36em; color: #2C3A45; }

.en { display: block; font-family: var(--font-en); font-weight: 600; font-size: 14px; letter-spacing: .04em; color: var(--navy); margin-bottom: 18px; }
.en::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--blue); margin-right: 12px; vertical-align: 1px; }
.h2 { font-size: clamp(26px, 3.6vw, 40px); }
.lead-big { font-size: clamp(22px, 3vw, 34px); font-weight: 700; line-height: 1.7; letter-spacing: .04em; }

/* ボタン（参考サイトの丸いボタン → 角ばった形） */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 12px 26px; font-weight: 700; font-size: 15px; text-decoration: none; letter-spacing: .06em; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; position: relative; }
.btn .arw { width: 18px; height: 1px; background: currentColor; position: relative; transition: width .25s var(--ease); }
.btn .arw::after { content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .arw { width: 28px; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .in { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo svg { width: 30px; height: 30px; }
.logo b { font-family: var(--font-en); font-size: 20px; letter-spacing: .01em; }
.gnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.gnav a { display: block; padding: 10px 12px; text-decoration: none; font-size: 14px; font-weight: 600; position: relative; }
.gnav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.head-cta { min-height: 44px; padding: 8px 18px; font-size: 14px; }
.menu-btn { display: none; }
@media (max-width: 980px) {
  .gnav, .site-header .head-cta { display: none; }
  .menu-btn { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 48px; height: 48px; border: 1px solid var(--line); background: #fff; cursor: pointer; padding: 0; }
  .menu-btn i { width: 20px; height: 2px; background: var(--navy); transition: transform .2s, opacity .2s; }
  .menu-btn[aria-expanded="true"] i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .gnav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--pad) 24px; }
  .gnav.open ul { flex-direction: column; }
  .gnav.open a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .gnav.open a::after { display: none; }
}

/* ===== トップの最初の画面 ===== */
.hero { position: relative; overflow: hidden; }
.hero .in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; min-height: min(calc(100svh - 72px), 820px); padding-block: 48px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 68px); line-height: 1.32; letter-spacing: .02em; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .ln > span { display: inline-block; transform: translateY(105%); animation: lineup .9s var(--ease) forwards; }
.hero h1 .ln:nth-child(1) > span { animation-delay: .5s; }
.hero h1 .ln:nth-child(2) > span { animation-delay: .62s; }
.hero h1 .ln:nth-child(3) > span { animation-delay: .74s; }
.hero h1 .blue { color: var(--blue); }
@keyframes lineup { to { transform: none; } }
.hero .sub { font-family: var(--font-en); font-weight: 600; color: var(--sub2); letter-spacing: .06em; margin: 18px 0 0; opacity: 0; animation: fade .8s ease 1.2s forwards; }
.hero .lead { margin: 22px 0 32px; color: #2C3A45; max-width: 30em; opacity: 0; animation: fade .8s ease 1.35s forwards; }
.hero .btns { opacity: 0; animation: fade .8s ease 1.5s forwards; }
@keyframes fade { to { opacity: 1; } }

/* 写真：縦の帯7本が、上下から交互に開いて現れる（シャッター） */
.shutter { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.shutter img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; transform: scale(1.08); animation: settle 1.8s var(--ease) .3s forwards; }
.shutter .slats { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(7, 1fr); }
.shutter .slats i { background: var(--blue); transform-origin: top; animation: open .8s var(--ease) forwards; }
.shutter .slats i:nth-child(even) { transform-origin: bottom; }
.shutter .slats i:nth-child(1) { animation-delay: .25s; }
.shutter .slats i:nth-child(2) { animation-delay: .32s; }
.shutter .slats i:nth-child(3) { animation-delay: .39s; }
.shutter .slats i:nth-child(4) { animation-delay: .46s; }
.shutter .slats i:nth-child(5) { animation-delay: .53s; }
.shutter .slats i:nth-child(6) { animation-delay: .60s; }
.shutter .slats i:nth-child(7) { animation-delay: .67s; }
@keyframes open { to { transform: scaleY(0); } }
@keyframes settle { to { transform: none; } }
.shutter figcaption { position: absolute; left: 0; bottom: 0; background: #fff; padding: 10px 16px; font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--sub); }

/* 網の目の線（点と点を結ぶ線が描かれ、光の点が流れる） */
.net { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.net .ln { fill: none; stroke: var(--blue); stroke-width: 1; opacity: .35; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.2s var(--ease) forwards; }
.net .ln:nth-of-type(2) { animation-delay: .3s; }
.net .ln:nth-of-type(3) { animation-delay: .6s; }
.net .ln:nth-of-type(4) { animation-delay: .9s; }
.net .nd { fill: #fff; stroke: var(--blue); stroke-width: 1.5; opacity: 0; animation: fade .4s ease forwards; }
.net .nd:nth-of-type(1) { animation-delay: 1.2s; } .net .nd:nth-of-type(2) { animation-delay: 1.4s; } .net .nd:nth-of-type(3) { animation-delay: 1.6s; } .net .nd:nth-of-type(4) { animation-delay: 1.8s; } .net .nd:nth-of-type(5) { animation-delay: 2s; } .net .nd:nth-of-type(6) { animation-delay: 2.2s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.pulse { position: absolute; left: 0; top: 0; z-index: 1; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 6px rgba(83,77,255,.15), 0 0 18px 4px rgba(83,77,255,.45); opacity: 0; will-change: transform; }
@media (max-width: 860px) {
  .hero .in { grid-template-columns: 1fr; min-height: 0; padding-block: 36px 56px; }
  .shutter { aspect-ratio: 16 / 11; order: -1; }
}

/* 数字の帯 */
.stats { border-block: 1px solid var(--line); }
.stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.stats li { padding: 30px 24px; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; }
.stats b { display: block; font-family: var(--font-en); font-size: clamp(30px, 4vw, 44px); font-weight: 600; letter-spacing: -.01em; line-height: 1.1; }
.stats b small { font-size: 15px; margin-left: 4px; font-family: var(--font); }
.stats span { font-size: 13px; color: var(--sub); }
@media (max-width: 640px) { .stats ul { grid-template-columns: 1fr; } .stats li { border-left: 0; border-top: 1px solid var(--line); padding: 20px 0; } .stats li:first-child { border-top: 0; } }

.sec { padding-block: var(--sec); }
.bg-gray { background: var(--gray); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy .en { color: #fff; }
.bg-navy .txt { color: #D7DCE2; }

/* ミッション */
.mission { display: grid; grid-template-columns: 240px 1fr; gap: 40px; }
@media (max-width: 760px) { .mission { grid-template-columns: 1fr; gap: 8px; } }

/* 機能：番号＋写真を左右交互、細い線で区切る */
.feats { margin-top: 56px; border-top: 1px solid var(--line); }
.feat { display: grid; grid-template-columns: 80px 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: 48px; border-bottom: 1px solid var(--line); }
.feat .no { font-family: var(--font-en); font-size: 14px; font-weight: 600; color: var(--blue); align-self: start; padding-top: 6px; }
.feat:nth-child(even) figure { order: -1; grid-column: 2; }
.feat:nth-child(even) .body { grid-column: 3; }
.feat figure { margin: 0; overflow: hidden; }
.feat figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .9s var(--ease); }
.feat:hover figure img { transform: scale(1.04); }
.feat h3 { font-size: clamp(20px, 2.2vw, 26px); margin-bottom: 14px; }
@media (max-width: 860px) { .feat { grid-template-columns: 1fr; padding-block: 36px; } .feat:nth-child(even) figure, .feat:nth-child(even) .body { grid-column: auto; order: 0; } }

/* ニュースの表 */
.news { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.news li { border-bottom: 1px solid var(--line); }
.news a, .news .row { display: grid; grid-template-columns: 120px 120px 1fr 24px; gap: 20px; align-items: center; padding: 24px 4px; text-decoration: none; }
.news time { font-family: var(--font-en); font-size: 14px; color: var(--sub); }
.news .tag { justify-self: start; font-size: 12px; font-weight: 600; background: var(--mint); padding: 2px 10px; }
.news .tag.b { background: var(--blue-soft); color: var(--blue); }
.news .ttl { font-weight: 600; }
@media (max-width: 680px) { .news a, .news .row { grid-template-columns: auto 1fr; gap: 6px 14px; } .news .ttl { grid-column: 1 / -1; } }
.more { margin-top: 32px; display: flex; justify-content: flex-end; }

/* 採用の帯 */
.join { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.join figure { margin: 0; }
.join figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.join .nums { display: flex; gap: 32px; margin: 28px 0 32px; flex-wrap: wrap; }
.join .nums b { display: block; font-family: var(--font-en); font-size: 34px; font-weight: 600; line-height: 1.1; }
.join .nums span { font-size: 12px; color: #AEB6C0; }
.bg-navy .btn-line { border-color: #fff; color: #fff; }
.bg-navy .btn-line:hover { background: #fff; color: var(--navy); }
@media (max-width: 860px) { .join { grid-template-columns: 1fr; } }

/* 最後のよびかけ */
.cta { text-align: left; }
.cta .box { background: var(--blue); color: #fff; padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta .box::before { content: ""; position: absolute; right: -40px; top: -40px; width: 240px; height: 240px; border: 1px solid rgba(255,255,255,.25); }
.cta .box::after { content: ""; position: absolute; right: 40px; top: 40px; width: 240px; height: 240px; border: 1px solid rgba(255,255,255,.15); }
.cta h2 { font-size: clamp(24px, 3.2vw, 36px); color: #fff; }
.cta p { color: #E4E3FF; margin-top: 12px; }
.cta .btn { background: #fff; color: var(--blue); position: relative; z-index: 1; }
.cta .btn:hover { background: var(--navy); color: #fff; }
@media (max-width: 760px) { .cta .box { grid-template-columns: 1fr; } }

/* 下層：最初の画面 */
.page-head { padding-top: clamp(56px, 8vw, 96px); padding-bottom: 32px; }
.page-head .in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.page-head h1 { font-size: clamp(30px, 4.6vw, 54px); }
.page-head .en { margin-bottom: 12px; }
.page-head .lead { color: var(--sub); margin: 0; }
.page-head .band { margin-top: 48px; height: clamp(200px, 30vw, 380px); position: relative; overflow: hidden; }
.page-head .band img { width: 100%; height: 100%; object-fit: cover; }
.page-head .band .slats { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(7, 1fr); }
.page-head .band .slats i { background: var(--blue); transform-origin: top; animation: open .8s var(--ease) forwards; }
.page-head .band .slats i:nth-child(even) { transform-origin: bottom; }
.page-head .band .slats i:nth-child(n) { animation-delay: calc(var(--i, 0) * 60ms + .2s); }
@media (max-width: 760px) { .page-head .in { grid-template-columns: 1fr; gap: 12px; } }

/* 2列 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split figure { margin: 0; }
.split figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }

/* 料金 */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 48px; border: 1px solid var(--line); }
.plan { padding: 32px 28px; border-left: 1px solid var(--line); background: #fff; }
.plan:first-child { border-left: 0; }
.plan.pick { background: var(--navy); color: #fff; }
.plan h3 { font-family: var(--font-en); font-size: 20px; }
.plan .price { font-family: var(--font-en); font-size: 34px; font-weight: 600; margin: 12px 0 4px; }
.plan .price small { font-family: var(--font); font-size: 13px; font-weight: 500; }
.plan ul { margin: 16px 0 0; padding-left: 1.2em; font-size: 14.5px; }
.plan p { font-size: 14px; color: var(--sub); }
.plan.pick p { color: #C9D0D8; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } .plan { border-left: 0; border-top: 1px solid var(--line); } .plan:first-child { border-top: 0; } }
.kari { display: inline-block; font-size: 11px; font-weight: 700; color: var(--blue); border: 1px solid var(--blue); padding: 0 5px; margin-left: 6px; vertical-align: 2px; line-height: 1.6; letter-spacing: 0; font-family: var(--font); }
.bg-navy .kari, .plan.pick .kari, .cta .kari { color: #fff; border-color: #fff; }

/* 流れ */
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: st; border-top: 2px solid var(--navy); }
.steps li { padding: 24px 22px 0 0; counter-increment: st; }
.steps li::before { content: "STEP " counter(st, decimal-leading-zero); display: block; font-family: var(--font-en); font-weight: 600; color: var(--blue); font-size: 13px; margin-bottom: 8px; }
.steps b { display: block; font-size: 18px; margin-bottom: 6px; }
.steps p { font-size: 14.5px; color: #2C3A45; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; gap: 24px 20px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* メンバー */
.members { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 48px; }
.member figure { margin: 0 0 16px; overflow: hidden; }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(.15); transition: transform .8s var(--ease), filter .4s; }
.member:hover img { transform: scale(1.04); filter: none; }
.member .role { font-size: 12px; color: var(--blue); font-weight: 600; }
.member b { display: block; font-size: 18px; }
.member small { display: block; font-family: var(--font-en); color: var(--sub2); font-size: 12px; letter-spacing: .06em; }
.member p { font-size: 14px; color: #2C3A45; margin-top: 10px; }
@media (max-width: 960px) { .members { grid-template-columns: 1fr 1fr; } }

/* 表 */
.info { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.info th, .info td { text-align: left; padding: 20px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info th { width: 10em; color: var(--sub); font-weight: 600; font-size: 14px; }
@media (max-width: 560px) { .info th, .info td { display: block; width: auto; padding: 4px 0; } .info th { padding-top: 16px; border: 0; } }
.map iframe { display: block; width: 100%; height: 360px; border: 0; filter: grayscale(1) contrast(1.05); }

/* 募集の行 */
.jobs { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.jobs li { display: grid; grid-template-columns: 1fr auto auto; gap: 20px; align-items: center; padding: 24px 4px; border-bottom: 1px solid var(--line); }
.jobs b { font-size: 18px; }
.jobs span { font-size: 13px; color: var(--sub); }
@media (max-width: 640px) { .jobs li { grid-template-columns: 1fr; gap: 4px; } }

/* よくある質問 */
.faq { margin-top: 36px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 22px 48px 22px 4px; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 1.5px solid var(--blue); border-bottom: 1.5px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 4px 22px; color: #2C3A45; }

/* フッター */
.site-footer { background: var(--navy); color: #C9D0D8; padding: 64px 0 110px; }
.site-footer .in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer p, .site-footer li { font-size: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { text-decoration: none; display: inline-block; padding: 6px 0; }
.site-footer a:hover { color: #fff; }
.copy { grid-column: 1 / -1; font-size: 12px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; }
@media (min-width: 981px) { .site-footer { padding-bottom: 40px; } }
@media (max-width: 760px) { .site-footer .in { grid-template-columns: 1fr; } }

.sp-bar { display: none; }
@media (max-width: 980px) {
  .sp-bar { display: grid; grid-template-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.95); border-top: 1px solid var(--line); }
  .sp-bar .btn { min-height: 50px; }
}

/* スクロールで現れる：下から切り抜きで */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-img img { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease), transform .9s var(--ease); }
.rv-img.in img { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  .rv-img img { clip-path: none; }
  .hero h1 .ln > span, .shutter img { transform: none; }
  .hero .sub, .hero .lead, .hero .btns, .net .nd { opacity: 1; }
  .shutter .slats, .page-head .band .slats, .pulse { display: none; }
  .net .ln { stroke-dashoffset: 0; }
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 14px; border: 1px solid var(--navy); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.vals { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .vals { grid-template-columns: 1fr; } }
.vals li::before { content: counter(st, decimal-leading-zero); }

/* ===== 2026-10-18 修正 ===== */
/* 経営メンバー：顔写真の代わりにイニシャルの印 */
.member .ini { display: grid; place-items: center; width: 100%; aspect-ratio: 1 / 1; max-width: 160px; margin-bottom: 18px; border: 1px solid var(--line); background: var(--gray); font-family: var(--font-en); font-weight: 600; font-size: 40px; letter-spacing: .04em; color: var(--blue); position: relative; }
.member .ini::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 22px; height: 22px; background: var(--blue); }
/* 最初の画面：文字の範囲に網の目の線や光の点が重ならないよう、文字の後ろに白い面を敷く */
.hero .in > div:first-child { position: relative; z-index: 2; background: #fff; box-shadow: 0 0 0 28px #fff; }
.shutter img { object-position: 50% 40%; }
.ceo { margin: 0; } .ph-wait { aspect-ratio: 4 / 5; max-width: 420px; display: grid; place-items: center; text-align: center; background: var(--gray); border: 1px dashed var(--sub2); color: var(--sub); font-weight: 600; padding: 24px; line-height: 1.8; } .ph-wait small { font-weight: 400; font-size: 12px; } .shutter img { object-position: 40% 50%; }
.ph-wait { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.ceo img { width: 100%; max-width: 440px; aspect-ratio: 4 / 5; object-fit: cover; }

/* ===== 2026-10-18 修正6：線を前面に（文字を避けて通す）・演出を大胆に ===== */
.hero .in > div:first-child { background: none; box-shadow: none; }
.net { z-index: 4; }
.net .ln { stroke-width: 1.6; opacity: .7; vector-effect: non-scaling-stroke; stroke-dasharray: 260; stroke-dashoffset: 260; }
.net .nd { display: none; }
.pulse { z-index: 5; width: 12px; height: 12px; margin: -6px 0 0 -6px; }
/* 背景で、青い光の形がゆっくり形を変えながら動く */
.blobs { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.blobs i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .45; animation: blob 18s ease-in-out infinite alternate; }
.blobs i:nth-child(1) { width: 46vw; height: 46vw; left: -12vw; top: -18vw; background: #C9C6FF; }
.blobs i:nth-child(2) { width: 34vw; height: 34vw; right: 18vw; bottom: -16vw; background: #BFE3FF; animation-duration: 22s; }
.blobs i:nth-child(3) { width: 26vw; height: 26vw; right: -8vw; top: 6vw; background: #DCD9FF; animation-duration: 26s; }
@keyframes blob { 0% { transform: translate(0,0) scale(1); border-radius: 50% 46% 54% 48%; } 50% { transform: translate(6vw,3vw) scale(1.15); border-radius: 40% 60% 45% 55%; } 100% { transform: translate(-4vw,5vw) scale(.92); border-radius: 58% 42% 50% 50%; } }
.hero .in { z-index: 2; }
/* 大きな英字が横に流れる帯 */
.bigrun { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; background: #fff; }
.bigrun .track { display: flex; width: max-content; animation: run 30s linear infinite; }
.bigrun span { white-space: nowrap; font-family: var(--font-en); font-weight: 700; font-size: clamp(36px, 6vw, 84px); letter-spacing: -.01em; color: transparent; -webkit-text-stroke: 1.5px var(--blue); padding-right: .3em; }
@keyframes run { to { transform: translateX(-50%); } }
/* ボタンの上を光が走る */
.btn { overflow: hidden; }
.btn::before { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); transition: left .6s ease; pointer-events: none; }
.btn:hover::before { left: 130%; }
/* 写真がマウスに合わせて傾く */
.feat figure { transition: transform .25s ease; transform-style: preserve-3d; will-change: transform; }
@media (max-width: 860px) { .net, .pulse { display: none; } .blobs i { filter: blur(40px); opacity: .35; } .bigrun .track { animation-duration: 22s; } }
@media (prefers-reduced-motion: reduce) { .blobs i, .bigrun .track { animation: none !important; } .net .ln { stroke-dashoffset: 0; } }


/* ===== 改行と文の切り方（日本語の折り返しを整える） ===== */
body {
  word-break: auto-phrase;      /* 言葉のかたまりで折り返し、言葉の途中で切らない（対応ブラウザー） */
  line-break: strict;           /* 句読点や「ー」を行の頭に置かない */
}
h1, h2, h3, h4 { text-wrap: balance; }   /* 複数行のとき行の長さをそろえる */
p, li, dd, td, figcaption, blockquote { text-wrap: pretty; }   /* 最後の行に1〜2文字だけ残るのを防ぐ */
.nobr { display: inline-block; }
@media (max-width: 767px) { .pc-only { display: none; } }
