/* 株式会社琵琶丸 共通スタイル */
:root {
  --ground: #F7F5F0;
  --sand: #EDEAE2;
  --white: #FFFFFF;
  --ink: #1F2433;
  --text: #444A59;
  --muted: #555B6B;
  --line: #E4E0D6;
  --navy: #26335A;
  --navy-dark: #1A2340;
  --gold: #D4B46A;
  --gold-text: #8A6D2B;
  --photo: #E4E0D6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--navy-dark); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

.serif { font-family: 'Noto Serif JP', serif; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.bg-white { background: var(--white); }
.bg-sand { background: var(--sand); }
.bg-navy { background: var(--navy); color: var(--white); }

/* ヘッダー */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); }
.logo .name { font-family: 'Noto Serif JP', serif; font-size: 21px; font-weight: 700; color: var(--navy); }
.logo .en { font-size: 11px; letter-spacing: 0.18em; color: var(--muted); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; font-size: 14px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 0; }
.nav a:hover { color: var(--navy); text-decoration: underline; }
.nav a.current { color: var(--navy); font-weight: 700; }
.nav a.nav-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--navy); color: var(--white); text-decoration: none; }
.nav a.nav-cta:hover { background: var(--navy-dark); }

/* 見出しまわり */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: var(--gold-text); margin-bottom: 8px; }
.bg-navy .eyebrow { color: #E2CC93; }
.h2 { font-family: 'Noto Serif JP', serif; font-size: 32px; line-height: 1.5; color: var(--navy); margin-bottom: 16px; }
.bg-navy .h2 { color: var(--white); }
.lead { color: var(--text); max-width: 720px; margin-bottom: 40px; }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); color: var(--white); }
.btn-outline { border: 1.5px solid var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--white); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #E2CC93; color: var(--ink); }
.btn-ghost { border: 1px solid #8C96B5; color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: none; }
.more:hover { text-decoration: underline; }

/* 写真枠（写真がなくても色の面として表示） */
.photo { background-color: var(--photo); background-size: cover; background-position: center; border-radius: 16px; }

/* レイアウト */
.row { display: flex; flex-wrap: wrap; gap: 24px; }
.col { flex: 1 1 280px; min-width: 0; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }

/* カード */
.card { background: var(--white); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 19px; color: var(--navy); line-height: 1.5; }
.card p { font-size: 15px; color: var(--text); }
.card-label { font-size: 13px; font-weight: 700; color: var(--gold-text); }
a.card { text-decoration: none; color: var(--ink); border: 1px solid transparent; transition: border-color .15s; }
a.card:hover { border-color: var(--navy); color: var(--ink); }
a.card .more { margin-top: auto; color: var(--navy); }

/* トップ：ヒーロー */
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 80px; padding-bottom: 88px; }
.hero-text { flex: 1 1 460px; min-width: 0; }
.hero-tag { font-size: 13px; font-weight: 500; letter-spacing: 0.08em; color: var(--gold-text); margin-bottom: 20px; }
.hero h1 { font-family: 'Noto Serif JP', serif; font-size: 50px; line-height: 1.4; color: var(--navy); margin-bottom: 24px; }
.hero-text p { font-size: 17px; color: var(--text); margin-bottom: 36px; }
.hero-photo { flex: 1 1 380px; min-width: 0; height: 440px; background-image: url(images/hero.jpg); }

/* トップ：事業カード */
.biz { flex: 1 1 400px; min-width: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; background: var(--white); }
.biz .photo { height: 220px; border-radius: 0; }
.biz-body { padding: 32px; display: flex; flex-direction: column; gap: 16px; flex-grow: 1; }
.biz-body h3 { font-size: 24px; line-height: 1.5; }
.biz-catch { font-family: 'Noto Serif JP', serif; font-size: 19px; color: var(--navy); }
.biz-body ul { margin: 0; padding-left: 20px; color: var(--text); }
.for-whom { padding: 14px 18px; border-radius: 10px; background: var(--ground); font-size: 14px; }
.biz .more { margin-top: auto; }
.photo-arms { background-image: url(images/arms.jpg); }
.photo-mirai { background-image: url(images/mirai.jpg); }

/* トップ：あゆみ */
.facts { padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 24px; }
.fact { flex: 1 1 200px; border-left: 2px solid var(--navy); padding: 4px 0 4px 20px; }
.fact .num { font-family: 'Noto Serif JP', serif; font-size: 34px; line-height: 1.3; color: var(--navy); }
.fact .label { font-size: 14px; color: var(--muted); }

/* トップ：ごあいさつ */
.greeting .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.greeting-photo { flex: 1 1 340px; min-width: 0; height: 380px; background-image: url(images/greeting.jpg); }
.greeting-text { flex: 1 1 480px; min-width: 0; }
.greeting-text p { color: var(--text); margin-bottom: 16px; }
.greeting-text .sign { color: var(--ink); font-size: 14px; margin-top: 24px; }

/* 会社概要 */
.company { max-width: 880px; }
.company dl { margin: 0; border-top: 1px solid var(--line); }
.company dl > div { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.company dt { flex: 0 0 140px; font-weight: 700; }
.company dd { margin: 0; flex: 1 1 300px; }

/* お問い合わせ帯 */
.contact .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding-top: 80px; padding-bottom: 80px; }
.contact h2 { font-family: 'Noto Serif JP', serif; font-size: 30px; line-height: 1.5; margin-bottom: 8px; }
.contact p { color: #E8EAF0; }
.contact-center .wrap { flex-direction: column; text-align: center; justify-content: center; gap: 18px; }

/* 未来プロジェクト：ヒーロー */
.mirai-hero .wrap { padding-top: 72px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.mirai-hero h1 { font-family: 'Noto Serif JP', serif; font-size: 44px; line-height: 1.45; }
.mirai-hero p { font-size: 17px; max-width: 660px; color: #E8EAF0; }
.pill { display: inline-block; background: rgba(255,255,255,0.08); border: 1px solid #8C96B5; border-radius: 999px; padding: 8px 18px; font-size: 14px; }

/* 未来プロジェクト：動画・記事 */
.video-card { display: flex; flex-direction: column; gap: 10px; }
.video-box { width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--navy); color: var(--white); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.video-box .big { font-family: 'Noto Serif JP', serif; font-size: 22px; line-height: 1.5; }
.video-box .small { font-size: 13px; color: #E2CC93; letter-spacing: 0.08em; }
.video-box iframe { width: 100%; height: 100%; border: 0; }
.video-card h3 { font-size: 17px; color: var(--navy); }
.video-card p { font-size: 14px; color: var(--text); }

.panel { background: var(--white); border-radius: 16px; padding: 48px 32px; display: flex; flex-direction: column; gap: 18px; }
.step { font-family: 'Noto Serif JP', serif; font-size: 15px; font-weight: 700; color: var(--gold-text); }
.support { border-top: 1px solid #D6D1C4; padding-top: 24px; margin-top: 28px; }
.support-title { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.support h4 { margin: 0 0 4px; font-size: 15px; }
.support p { font-size: 14px; color: var(--text); }
.card-accent { border: 2px solid var(--gold) !important; }
.merit-num { font-family: 'Noto Serif JP', serif; font-size: 34px; color: var(--gold-text); line-height: 1; }

/* プラン */
.plan-main { background: var(--white); border: 2px solid var(--gold); border-radius: 18px; overflow: hidden; margin-bottom: 20px; }
.plan-head { background: var(--navy); color: var(--white); padding: 22px 28px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.plan-head .title { font-family: 'Noto Serif JP', serif; font-size: 24px; font-weight: 700; }
.plan-badge { background: var(--gold); color: var(--ink); font-weight: 700; font-size: 14px; padding: 6px 16px; border-radius: 999px; }
.plan-body { padding: 32px 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.plan-body ul { margin: 0; padding-left: 20px; font-size: 15px; }
.price-note { font-size: 14px; color: var(--muted); }
.price { font-size: 44px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.price small { font-size: 18px; }
.price-sub { font-size: 28px; font-weight: 700; color: var(--navy); }
.price-sub small { font-size: 15px; }
.fineprint { font-size: 13px; color: var(--muted); margin-top: 20px; }

.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.flow > div { border-top: 3px solid var(--navy); padding-top: 14px; }
.flow strong { display: block; color: var(--navy); }
.flow span { font-size: 14px; color: var(--text); }

/* フッター */
.site-footer { background: var(--navy-dark); color: #D7DCE1; font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-top: 48px; padding-bottom: 40px; }
.site-footer .f-name { font-family: 'Noto Serif JP', serif; font-size: 18px; color: var(--white); margin-bottom: 4px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: #D7DCE1; }
.site-footer a:hover { color: var(--white); }
.copy { flex: 1 1 100%; font-size: 12px; color: #AEB6BF; }

/* スマホ */
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero .wrap { padding-top: 48px; padding-bottom: 56px; gap: 32px; }
  .hero h1 { font-size: 34px; }
  .hero-photo { height: 260px; }
  .mirai-hero h1 { font-size: 32px; }
  .h2 { font-size: 25px; }
  .contact h2 { font-size: 24px; }
  .greeting-photo { height: 260px; }
  .biz-body, .card { padding: 24px; }
  .panel { padding: 32px 22px; }
  .price { font-size: 34px; }
  .nav { gap: 2px 16px; font-size: 13px; }
}

/* ロゴ・アイコン */
.logo { align-items: center; }
.logo-mark { height: 36px; width: auto; }
.icon { width: 52px; height: 52px; border-radius: 50%; background: var(--ground); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; flex: none; margin-bottom: 4px; }
.icon svg { width: 26px; height: 26px; }
@media (max-width: 640px) { .logo-mark { height: 30px; } }

/* インタビュー一覧 */
.iv-list { display: flex; flex-direction: column; gap: 20px; }
.iv { display: flex; flex-wrap: wrap; background: var(--white); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.iv-visual { flex: 0 1 320px; min-width: 0; min-height: 200px; background: var(--navy); color: var(--white); padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.iv-kind { font-size: 13px; color: #E2CC93; letter-spacing: 0.06em; }
.iv-name { font-family: 'Noto Serif JP', serif; font-size: 24px; line-height: 1.4; font-weight: 700; }
.iv-body { flex: 1 1 360px; min-width: 0; padding: 28px 32px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.iv-body h3 { font-size: 20px; color: var(--navy); line-height: 1.5; }
.iv-body p { font-size: 15px; color: var(--text); }
.iv-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.iv-links .btn { min-height: 46px; padding: 0 22px; font-size: 15px; }
.status { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; letter-spacing: 0.04em; }
.status-open { background: #E3EBDD; color: #2A5130; }
.status-soon { background: var(--sand); color: var(--muted); }
.iv-soon .iv-visual { background: #5A6383; }
.iv-soon .iv-body h3 { color: var(--muted); font-size: 17px; }
@media (max-width: 640px) {
  .iv-visual { flex-basis: 100%; min-height: 140px; padding: 22px; }
  .iv-name { font-size: 21px; }
  .iv-body { padding: 22px; }
}

/* インタビューページ：白×ブルーグリーンの配色（若い世代向け） */
.theme-fresh {
  --navy: #006F86;
  --navy-dark: #00586B;
  --gold-text: #006F86;
  --sand: #E9F3F5;
  --ground: #F2F5F5;
  --text: #46505E;
  --muted: #5B6573;
  --line: #D6E5E8;
  background: #F2F5F5;
}
.theme-fresh .h2, .theme-fresh h1, .theme-fresh .iv-name { font-family: 'Noto Sans JP', sans-serif; font-weight: 700; }
.iv-hero { background: #E9F3F5; }
.iv-hero .wrap { padding-top: 72px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.iv-hero .eyebrow { color: #006F86; }
.iv-hero h1 { font-size: 46px; line-height: 1.4; color: #0B3A45; }
.iv-hero h1 span { color: #006F86; }
.iv-hero p { font-size: 17px; max-width: 660px; color: #46505E; }
.theme-fresh .iv { border-color: #D6E5E8; box-shadow: 0 2px 10px rgba(0, 111, 134, 0.06); }
.theme-fresh .iv-visual { background: #006F86; }
.theme-fresh .iv-kind { color: #CDEBF1; }
.theme-fresh .iv-soon .iv-visual { background: #D5EAEE; color: #0B3A45; }
.theme-fresh .iv-soon .iv-kind { color: #006F86; }
.theme-fresh .status-open { background: #DDF3E8; color: #1D6B45; }
.theme-fresh .status-soon { background: #EEF2F7; color: #5B6573; }
.theme-fresh .panel { background: #E9F3F5; }
@media (max-width: 640px) { .iv-hero h1 { font-size: 32px; } }

/* 動画サムネイル */
.thumb { position: relative; display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background-color: #00586B; background-position: center; background-size: 100% auto; background-repeat: no-repeat; margin-bottom: auto; }
.thumb .play { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.92); color: #006F86; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0,0,0,0.2); transition: transform .15s; }
.thumb:hover .play, .thumb:focus-visible .play { transform: scale(1.08); }
.thumb .play svg { width: 22px; height: 22px; margin-left: 3px; }
.thumb-label { position: absolute; left: 10px; bottom: 8px; font-size: 12px; font-weight: 700; color: #FFFFFF; background: rgba(0,0,0,0.55); padding: 2px 10px; border-radius: 999px; }
.iv-visual.has-thumb { gap: 10px; justify-content: flex-start; padding: 22px; }
@media (max-width: 640px) { .iv-visual.has-thumb { padding: 18px; } }

/* 取材協力の募集 */
.recruit { display: flex; flex-wrap: wrap; background: #006F86; color: #FFFFFF; border-radius: 20px; overflow: hidden; box-shadow: 0 8px 28px rgba(0, 111, 134, 0.22); }
.recruit-text { flex: 1 1 460px; min-width: 0; padding: 48px 44px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.recruit-badge { display: inline-block; background: #FFD666; color: #3A2E00; font-size: 13px; font-weight: 700; padding: 5px 16px; border-radius: 999px; letter-spacing: 0.04em; }
.recruit h2 { font-size: 34px; line-height: 1.45; font-weight: 700; }
.recruit p { color: #E3F2F5; max-width: 560px; }
.recruit-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 20px; width: 100%; }
.recruit-list li { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.recruit-list svg { width: 20px; height: 20px; flex: none; color: #FFD666; }
.recruit .btn-row { margin-top: 6px; }
.btn-white { background: #FFFFFF; color: #006F86; }
.btn-white:hover { background: #E9F3F5; color: #00586B; }
.btn-line { border: 1.5px solid rgba(255,255,255,0.8); color: #FFFFFF; }
.btn-line:hover { background: rgba(255,255,255,0.1); color: #FFFFFF; }
.recruit-photo { flex: 1 1 360px; min-width: 0; min-height: 320px; border-radius: 0; background-image: url(images/hero.jpg); }
@media (max-width: 640px) {
  .recruit-text { padding: 32px 24px; }
  .recruit h2 { font-size: 26px; }
  .recruit-photo { min-height: 220px; order: -1; }
}
.btn-bg-white { background: #FFFFFF; }

/* 人物・企業インタビュー：肩書き・業種を目立たせる */
#person .iv-kind, #company .iv-kind { align-self: flex-start; font-size: 15px; font-weight: 700; letter-spacing: 0.02em; line-height: 1.5; padding: 5px 14px; border-radius: 6px; background: #FFFFFF; color: #006F86; }
#person .iv-soon .iv-kind, #company .iv-soon .iv-kind { background: #006F86; color: #FFFFFF; }
#person .iv-name, #company .iv-name { font-size: 26px; }
@media (max-width: 640px) { #person .iv-kind, #company .iv-kind { font-size: 14px; } #person .iv-name, #company .iv-name { font-size: 22px; } }
.iv-hero .iv-sub { font-size: 22px; font-weight: 700; color: #0B3A45; margin-top: -8px; }
@media (max-width: 640px) { .iv-hero .iv-sub { font-size: 18px; } }
.iv-hero h1.iv-title { display: flex; flex-direction: column; gap: 4px; line-height: 1.1; }
.iv-title .en { font-family: 'Noto Sans JP', sans-serif; font-size: 64px; font-weight: 700; letter-spacing: 0.08em; color: #006F86; }
.iv-title .ja { font-size: 18px; font-weight: 700; letter-spacing: 0.2em; color: #0B3A45; }
.iv-hero .iv-sub { margin-top: 4px; }
@media (max-width: 640px) { .iv-title .en { font-size: 44px; } .iv-title .ja { font-size: 15px; } }

/* アームズ：写真2枚を横並び */
.photo-pair { display: flex; gap: 4px; height: 220px; }
.photo-pair .photo { flex: 1 1 0; min-width: 0; height: 100%; border-radius: 0; }
.photo-care { background-image: url(images/arms-care.jpg); background-position: 55% 40%; }

/* あゆみ：小さめに */
.facts { padding-top: 40px; padding-bottom: 40px; gap: 16px; }
.fact { padding: 2px 0 2px 16px; }
.fact .num { font-size: 24px; }
.fact .label { font-size: 13px; }

/* あゆみ：タイムライン */
.history { padding-top: 48px; padding-bottom: 48px; }
.timeline { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--line); }
.timeline li { position: relative; padding-top: 28px; padding-right: 12px; display: flex; flex-direction: column; gap: 2px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--ground); border: 3px solid var(--navy); box-sizing: border-box; }
.timeline .t-now::before { background: var(--gold); border-color: var(--gold); }
.t-year { font-family: 'Noto Serif JP', serif; font-size: 24px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.t-now .t-year { font-family: 'Noto Sans JP', sans-serif; font-size: 18px; letter-spacing: 0.12em; color: var(--gold-text); padding-top: 4px; }
.t-label { font-size: 14px; color: var(--muted); }
@media (max-width: 640px) {
  .timeline { grid-template-columns: 1fr; gap: 18px; }
  .timeline::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; }
  .timeline li { padding-top: 0; padding-left: 32px; flex-direction: row; align-items: baseline; gap: 12px; }
  .timeline li::before { top: 6px; }
}

/* メッセージ：大事な言葉のマーカー */
mark.src { background: linear-gradient(transparent 55%, #FFE58A 55%); color: inherit; padding: 0 1px; }

/* 未来プロジェクト：これまでの活動 */
.support { margin-top: 40px; padding-top: 36px; }
.support .support-title { font-family: 'Noto Serif JP', serif; font-size: 24px; color: var(--navy); margin: 0; }
.support-sub { font-size: 14px; color: var(--muted); margin: 4px 0 24px; }
.acts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.act { display: flex; flex-direction: column; background: var(--white); border-radius: 14px; overflow: hidden; }
.act-media { display: flex; gap: 3px; height: 180px; background: var(--sand); }
.act-media img { flex: 1 1 0; min-width: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.act-media img.pos-top { object-position: center 25%; }
.act-noimg { flex: 1; display: flex; align-items: center; justify-content: center; background: #E4E7EE; color: var(--navy); }
.act-noimg svg { width: 44px; height: 44px; }
.act-text { min-width: 0; padding: 18px 20px 22px; }
.act-text h4 { margin: 0 0 6px; font-size: 16px; color: var(--navy); line-height: 1.5; }
.act-text p { font-size: 14px; color: var(--text); }
@media (max-width: 640px) { .act-media { height: 200px; } }

/* 創設パートナー：特別感 */
.founding { position: relative; margin: 48px 0 24px; background: var(--white); border: 2px solid #C9A24E; border-radius: 18px; box-shadow: 0 10px 30px rgba(38, 51, 90, 0.14); }
.founding-ribbon { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); background: linear-gradient(180deg, #F3DE9E 0%, #D4B46A 55%, #B8913F 100%); color: #3A2A08; font-family: 'Noto Serif JP', serif; font-weight: 700; font-size: 17px; letter-spacing: 0.18em; padding: 8px 40px; border-radius: 4px; box-shadow: 0 3px 8px rgba(0,0,0,0.18); white-space: nowrap; z-index: 2; }
.founding-ribbon::before, .founding-ribbon::after { content: ""; position: absolute; top: 10px; width: 18px; height: 100%; background: #A8823A; z-index: -1; }
.founding-ribbon::before { left: -12px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 40% 50%); }
.founding-ribbon::after { right: -12px; clip-path: polygon(0 0, 100% 0, 60% 50%, 100% 100%, 0 100%); }
.founding-head { background: var(--navy); color: var(--white); border-radius: 16px 16px 0 0; padding: 44px 32px 30px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.founding-seal { width: 104px; height: 104px; flex: none; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #3A2A08; font-family: 'Noto Serif JP', serif; font-weight: 700; line-height: 1.1; background: radial-gradient(circle at 35% 30%, #FBEFC4 0%, #E3C67E 45%, #B8913F 100%); box-shadow: 0 0 0 4px #E8CF8E, 0 0 0 6px #A8823A, 0 4px 12px rgba(0,0,0,0.3); }
.founding-seal .s1 { font-size: 15px; letter-spacing: 0.1em; }
.founding-seal .s2 { font-size: 34px; }
.founding-seal small { font-size: 15px; margin-left: 2px; }
.founding-en { font-size: 12px; letter-spacing: 0.32em; color: #E2CC93; margin-bottom: 4px; }
.founding-title { font-family: 'Noto Serif JP', serif; font-size: 36px; line-height: 1.3; }
.founding-body { padding: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 28px; align-items: center; }
.founding-catch { font-family: 'Noto Serif JP', serif; font-size: 18px; font-weight: 700; color: var(--gold-text); margin-bottom: 8px; }
.founding-lead { color: var(--text); margin-top: 8px; }
.founding-list { list-style: none; margin: 0; padding: 20px 24px; border: 1px solid #E3D3A8; border-radius: 12px; background: #FCF9F0; display: flex; flex-direction: column; gap: 8px; }
.founding-list li { position: relative; padding-left: 26px; font-size: 15px; }
.founding-list li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F3DE9E, #B8913F); }
.founding-about { margin: 0 32px 32px; padding: 24px; border-radius: 12px; background: var(--ground); display: flex; gap: 20px; align-items: flex-start; }
.founding-laurel { flex: none; width: 96px; height: 96px; }
.founding-laurel svg { width: 100%; height: 100%; }
.founding-about h4 { margin: 0 0 8px; font-family: 'Noto Serif JP', serif; font-size: 19px; color: var(--navy); }
.founding-about p { font-size: 14px; color: var(--text); }
.founding-note { margin-top: 10px; padding: 10px 14px; border-radius: 8px; background: #F3ECDA; color: var(--ink) !important; }
@media (max-width: 640px) {
  .founding-ribbon { font-size: 15px; padding: 7px 28px; }
  .founding-head { padding: 40px 20px 24px; gap: 16px; }
  .founding-seal { width: 84px; height: 84px; }
  .founding-seal .s2 { font-size: 27px; }
  .founding-title { font-size: 28px; }
  .founding-body { padding: 24px 20px; }
  .founding-about { margin: 0 20px 20px; flex-direction: column; gap: 10px; padding: 20px; }
}
.grid-two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }

/* 琵琶丸メンバー：深い緑のコミュニティページ */
.theme-member {
  --navy: #2F5233;
  --navy-dark: #223D26;
  --gold-text: #7A6420;
  --sand: #EEF0E8;
  --ground: #F7F7F2;
  --line: #DDE0D4;
  background: #F7F7F2;
}
.mb-hero { background: #EEF0E8; }
.mb-hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 72px; padding-bottom: 80px; }
.mb-hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.mb-hero h1 { font-family: 'Noto Serif JP', serif; font-size: 46px; line-height: 1.35; color: #2F5233; }
.mb-hero h1 span { font-size: 0.62em; color: #1F2433; }
.mb-hero-text > p { font-size: 17px; color: var(--text); max-width: 560px; }
.mb-hero-photo { flex: 1 1 400px; min-width: 0; height: 380px; background-image: url(images/act-event.jpg); box-shadow: 0 10px 28px rgba(47, 82, 51, 0.18); }
.mb-about { max-width: 820px; }
.mb-about > p { margin-bottom: 14px; }
.mb-mark { background: linear-gradient(transparent 55%, #FFE58A 55%); color: inherit; }
.mb-fit { margin-top: 10px; padding: 18px 22px; border-radius: 12px; background: #EEF0E8; color: var(--ink); }
.mb-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; margin-top: 28px; }
.mb-benefit { background: var(--white); border-radius: 14px; padding: 24px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.mb-ic { width: 64px; height: 64px; border-radius: 50%; background: #EEF0E8; color: #2F5233; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 2px #D8CFA8; }
.mb-ic svg { width: 28px; height: 28px; }
.mb-benefit p { font-size: 15px; font-weight: 500; line-height: 1.6; }
.mb-price-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px; align-items: stretch; }
.mb-price { background: #2F5233; color: #FFFFFF; border-radius: 18px; padding: 40px 36px; display: flex; flex-direction: column; gap: 12px; }
.mb-price-label { font-family: 'Noto Serif JP', serif; font-size: 20px; font-weight: 700; }
.mb-price-num { font-size: 56px; font-weight: 700; line-height: 1.1; }
.mb-price-num small { font-size: 18px; margin-left: 6px; }
.mb-price-badge { align-self: flex-start; background: #F1DFA6; color: #3A2E00; font-size: 13px; font-weight: 700; padding: 4px 14px; border-radius: 999px; }
.mb-price-notes { margin: 6px 0 0; padding-left: 20px; color: #E4ECE3; font-size: 15px; }
.mb-price-fine { font-size: 13px; color: #C9D6C8; margin-top: auto; padding-top: 8px; }
.mb-included { background: var(--white); border-radius: 18px; padding: 36px; }
.mb-included h3 { font-family: 'Noto Serif JP', serif; font-size: 22px; color: #2F5233; margin-bottom: 18px; }
.mb-included ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.mb-included li { position: relative; padding-left: 30px; font-weight: 500; }
.mb-included li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 18px; height: 18px; border-radius: 50%; background: #2F5233; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='black'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' stroke='white' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat, linear-gradient(#000,#000); -webkit-mask-composite: source-in; }
.mb-visitor { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.mb-visit { display: flex; align-items: center; gap: 20px; background: var(--white); border: 1.5px solid #D8CFA8; border-radius: 16px; padding: 22px 24px; }
.mb-visit-when { flex: none; min-width: 84px; text-align: center; font-family: 'Noto Serif JP', serif; font-size: 20px; font-weight: 700; color: #2F5233; }
.mb-visit strong { display: block; font-size: 17px; }
.mb-visit p { font-size: 14px; color: var(--text); }
.mb-sub { font-family: 'Noto Serif JP', serif; font-size: 24px; color: #2F5233; margin: 64px 0 24px; }
.mb-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; position: relative; }
.mb-flow li { background: var(--white); border-radius: 14px; padding: 24px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mb-step { width: 40px; height: 40px; border-radius: 50%; background: #2F5233; color: #FFFFFF; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.mb-flow strong { font-size: 16px; color: #2F5233; }
.mb-flow p { font-size: 13px; color: var(--text); line-height: 1.7; }
.mb-rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 32px; }
.mb-rules h3 { font-size: 19px; color: #2F5233; margin-bottom: 14px; }
.mb-rules p { font-size: 14px; color: var(--text); margin-bottom: 10px; }
.mb-rules ul { margin: 0; padding-left: 20px; font-size: 14px; color: var(--text); display: flex; flex-direction: column; gap: 6px; }
.mb-rules-note { margin-top: 12px; font-size: 13px !important; }
.mb-cta { background: #2F5233; color: #FFFFFF; }
.mb-cta .wrap { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.mb-cta h2 { font-family: 'Noto Serif JP', serif; font-size: 30px; line-height: 1.6; }
.mb-cta .btn-row { justify-content: center; }
.mb-cta .btn-ghost { border-color: rgba(255,255,255,0.7); }
.mb-cta-note { font-size: 14px; color: #D3E0D2; }
@media (max-width: 900px) { .mb-flow { grid-template-columns: 1fr; } .mb-flow li { flex-direction: row; text-align: left; flex-wrap: wrap; column-gap: 14px; } .mb-flow p { flex-basis: 100%; padding-left: 54px; margin-top: -6px; } }
@media (max-width: 640px) {
  .mb-hero .wrap { padding-top: 48px; padding-bottom: 56px; gap: 32px; }
  .mb-hero h1 { font-size: 32px; }
  .mb-hero-photo { height: 240px; }
  .mb-price { padding: 32px 24px; }
  .mb-price-num { font-size: 44px; }
  .mb-included { padding: 28px 24px; }
  .mb-visit { flex-direction: column; align-items: flex-start; gap: 6px; }
  .mb-visit-when { text-align: left; min-width: 0; }
  .mb-cta h2 { font-size: 22px; }
}

/* お問い合わせ */
.ct-hero .wrap { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 16px; }
.ct-hero h1 { font-family: 'Noto Serif JP', serif; font-size: 40px; }
.ct-hero p { color: #E8EAF0; max-width: 680px; }
.ct-wrap { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.ct-form { flex: 1 1 560px; min-width: 0; background: var(--white); border-radius: 16px; padding: 36px; display: flex; flex-direction: column; gap: 22px; }
.ct-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 22px; }
.ct-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ct-field label { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.req, .opt { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.req { background: #B5452E; color: #FFFFFF; }
.opt { background: var(--sand); color: var(--muted); }
.ct-field input, .ct-field select, .ct-field textarea { font: inherit; font-size: 16px; width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid #CFCABD; border-radius: 8px; background: #FFFFFF; color: var(--ink); }
.ct-field textarea { resize: vertical; min-height: 160px; }
.ct-field input:focus, .ct-field select:focus, .ct-field textarea:focus { outline: 3px solid rgba(38, 51, 90, 0.25); border-color: var(--navy); }
.ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); }
.ct-agree input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--navy); }
.ct-submit { align-self: center; min-width: 240px; border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 16px; }
.ct-side { flex: 1 1 260px; min-width: 0; background: var(--sand); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.ct-side h2 { font-size: 18px; color: var(--navy); }
.ct-side p { font-size: 14px; color: var(--text); }
.ct-mail span { font-weight: 700; color: var(--ink); font-size: 16px; user-select: all; }
.ct-done { max-width: 720px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; padding-top: 24px; padding-bottom: 24px; }
.ct-done p { color: var(--text); }
@media (max-width: 640px) { .ct-form { padding: 24px 20px; } .ct-hero h1 { font-size: 30px; } .ct-submit { width: 100%; min-width: 0; } }

/* 未来プロジェクト：爽やかな配色 */
.theme-mirai {
  --sand: #EDF3F4;
  --ground: #F6F9F9;
  --gold-text: #00708A;
  --line: #DCE6E8;
  background: #F6F9F9;
}
.theme-mirai .card-accent { border-color: #00708A !important; }
.theme-mirai .founding-catch { color: #8A6D2B; }
.theme-mirai .icon { background: #EDF3F4; }
.mr-hero { background: linear-gradient(180deg, #FFFFFF 0%, #EDF3F4 100%); }
.mr-hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 72px; padding-bottom: 80px; }
.mr-hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.mr-hero h1 { font-family: 'Noto Serif JP', serif; font-size: 46px; line-height: 1.4; color: var(--navy); }
.mr-hero h1 span { color: #00708A; }
.mr-hero-lead { font-size: 19px; font-weight: 700; color: var(--ink); }
.mr-hero-text > p:not(.eyebrow):not(.mr-hero-lead) { color: var(--text); max-width: 600px; }
.mr-pill { display: inline-block; background: #FFFFFF; border: 1.5px solid #C9A24E; color: #6E5520; font-weight: 700; font-size: 14px; border-radius: 999px; padding: 7px 18px; }
.mr-hero-photo { flex: 1 1 400px; min-width: 0; height: 420px; border-radius: 20px; background-image: url(images/hero.jpg); box-shadow: 0 12px 30px rgba(0, 112, 138, 0.16); }
.mr-contact { background: #00708A; color: #FFFFFF; }
.mr-contact p { color: #DDF0F4; }
.mr-contact .btn-white { color: #00708A; }
@media (max-width: 640px) {
  .mr-hero .wrap { padding-top: 44px; padding-bottom: 56px; gap: 28px; }
  .mr-hero h1 { font-size: 32px; }
  .mr-hero-photo { height: 240px; }
}
.theme-mirai .video-box { background-color: #00708A; background-size: cover; background-position: center; }
.mr-hero-photo { background-image: url(images/mirai-hero.jpg); background-position: center 60%; }
.recruit-photo { background-image: url(images/interview-recruit.jpg); background-position: center 55%; }
.act-media img[src*="act-meet"] { object-position: 45% 40%; }
.hero-tag { font-size: 12px; letter-spacing: 0.06em; }
.hero-text p:last-child { margin-bottom: 0; }

/* トップ：写真に文字を重ねるヒーロー */
.hero-full { position: relative; min-height: 640px; display: flex; align-items: flex-end; color: #FFFFFF;
  background-color: #1A2340;
  background-image: linear-gradient(90deg, rgba(20, 28, 52, 0.88) 0%, rgba(20, 28, 52, 0.78) 32%, rgba(20, 28, 52, 0.35) 55%, rgba(20, 28, 52, 0) 78%),
                    linear-gradient(0deg, rgba(20, 28, 52, 0.7) 0%, rgba(20, 28, 52, 0) 55%),
                    url(images/hero-wide.jpg);
  background-size: cover; background-position: 75% center; }
.hero-full-inner { width: 100%; padding-top: 120px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 14px; }
.hero-full .hero-tag { color: #E2CC93; margin: 0; text-shadow: 0 1px 6px rgba(0,0,0,0.35); }
.hero-full h1 { font-family: 'Noto Serif JP', serif; font-weight: 700; font-size: 60px; line-height: 1.35; letter-spacing: 0.04em; text-shadow: 0 2px 18px rgba(0,0,0,0.35); }
.hero-full-lead { font-size: 20px; font-weight: 700; text-shadow: 0 1px 8px rgba(0,0,0,0.4); }
.hero-full-text { font-size: 15px; color: #E8EBF2; max-width: 560px; text-shadow: 0 1px 8px rgba(0,0,0,0.45); }
@media (max-width: 640px) {
  .hero-full { min-height: 520px; background-position: 70% center;
    background-image: linear-gradient(0deg, rgba(20, 28, 52, 0.88) 0%, rgba(20, 28, 52, 0.55) 50%, rgba(20, 28, 52, 0.15) 100%), url(images/hero-wide.jpg); }
  .hero-full-inner { padding-bottom: 44px; }
  .hero-full h1 { font-size: 36px; }
  .hero-full-lead { font-size: 17px; }
}

/* トップ：余白＋波線＋写真モザイク */
.hero-mosaic { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: 640px; background: #FFFFFF; position: relative; overflow: hidden; }
.hero-mosaic::before { content: ""; position: absolute; left: -10%; right: 30%; top: 34%; height: 62%; background: url(images/wave.svg) center / 100% 100% no-repeat; pointer-events: none; }
.hm-text { position: relative; z-index: 1; padding: 96px 40px 80px max(20px, calc((100vw - 1120px) / 2 + 20px)); display: flex; flex-direction: column; gap: 22px; }
.hm-tag { font-size: 12px; letter-spacing: 0.08em; color: var(--gold-text); }
.hero-mosaic h1 { font-family: 'Noto Serif JP', serif; font-weight: 500; font-size: 52px; line-height: 1.6; letter-spacing: 0.16em; color: var(--navy); }
.hm-en { font-size: 12px; letter-spacing: 0.24em; line-height: 2; color: #9AA0B4; }
.hm-lead { font-size: 15px; color: var(--text); max-width: 440px; margin-top: auto; background: rgba(255,255,255,0.75); }
.hm-scroll { position: absolute; left: max(8px, calc((100vw - 1120px) / 2 - 24px)); bottom: 0; writing-mode: vertical-rl; font-size: 10px; letter-spacing: 0.3em; color: #8A90A6; padding-bottom: 90px; }
.hm-scroll::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 80px; background: #8A90A6; }
.hm-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.15fr 1fr; gap: 4px; }
.hm-p { background-size: cover; background-position: center; min-height: 0; }
.hm-p1 { grid-column: 1 / 3; background-image: url(images/mosaic-interview.jpg); background-position: center 40%; }
.hm-p2 { background-image: url(images/arms-care.jpg); background-position: 55% 40%; }
.hm-p3 { background-image: url(images/mosaic-event.jpg); }
@media (max-width: 900px) {
  .hero-mosaic { grid-template-columns: 1fr; min-height: 0; }
  .hero-mosaic::before { left: -20%; right: -20%; top: 18%; height: 34%; }
  .hm-text { padding: 56px 20px 40px; gap: 16px; }
  .hero-mosaic h1 { font-size: 34px; letter-spacing: 0.12em; }
  .hm-lead { margin-top: 8px; }
  .hm-scroll { display: none; }
  .hm-photos { height: 420px; }
}
.hero-mosaic h1 { font-size: clamp(30px, 3.5vw, 46px); letter-spacing: 0.12em; display: flex; flex-direction: column; }
.hero-mosaic h1 span { white-space: nowrap; }
.hm-photos { position: relative; z-index: 1; }
/* トップヒーロー：未来プロジェクトに寄せた配色 */
.hero-mosaic { background: linear-gradient(180deg, #FFFFFF 0%, #EDF3F4 100%); }
.hero-mosaic h1 { font-weight: 700; font-size: clamp(34px, 4.2vw, 56px); letter-spacing: 0.08em; line-height: 1.5; }
.hero-mosaic h1 .hm-accent { color: #00708A; }
.hm-tag { color: #00708A; font-weight: 700; }
.hm-en { color: #7F9AA2; }
.hm-lead { background: transparent; }
.hm-lead::first-line { font-weight: 700; color: var(--ink); }
.hm-scroll, .hm-scroll::after { color: #7F9AA2; }
.hm-scroll::after { background: #7F9AA2; }
.hm-photos { padding: 0; }
/* トップ写真：4枚（上1＋下3） */
.hm-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 1.25fr 1fr; }
.hm-p1 { grid-column: 1 / 4; }
.hm-p4 { background-image: url(images/mosaic-gym.jpg); background-position: center 30%; }
.hm-p2 { background-image: url(images/mosaic-care.jpg); background-position: center 30%; }
