/* =========================================================
   株式会社VisionaryX 公式サイト
   色: 水色（海・空）と緑（山・田んぼ）。ロゴの砂色を差し色に
   ========================================================= */
:root {
  --sky: #2a9fd6;
  --sky-deep: #136f9e;
  --sky-pale: #e9f6fc;
  --leaf: #3b9a5c;
  --leaf-deep: #23683d;
  --leaf-pale: #edf6ee;
  --sand: #aca28a;            /* ロゴの色 */
  --ink: #1d3436;
  --ink-soft: #52696b;
  --paper: #fbfdfb;
  --white: #ffffff;
  --line: #d6e5e3;
  --grad: linear-gradient(120deg, var(--sky) 0%, #34a59a 50%, var(--leaf) 100%);
  --grad-soft: linear-gradient(160deg, var(--sky-pale) 0%, var(--leaf-pale) 100%);
  --radius: 18px;
  --shadow: 0 18px 40px -22px rgba(19, 70, 80, .35);
  --en: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --serif: "Shippori Mincho", "Yu Mincho", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --wrap: 1120px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  letter-spacing: .04em;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-deep); }
a:hover { color: var(--leaf-deep); }
p { margin: 0 0 1.2em; }
h1, h2, h3, h4 { line-height: 1.5; margin: 0; font-weight: 700; }
/* 見出しは文節で折り返す（対応ブラウザのみ。非対応でも普通に折り返す） */
h1, h2, h3, .sec-title, .statement__main, .msg__quote, .values li, .cta__title, .lead-serif { word-break: auto-phrase; text-wrap: balance; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 999; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s, box-shadow .35s;
}
.header.is-solid, .page .header { background: rgba(255,255,255,.96); box-shadow: 0 6px 24px -18px rgba(0,0,0,.4); }
.header__inner { width: min(1240px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 44px; height: 44px; object-fit: contain; background: rgba(255,255,255,.92); border-radius: 10px; padding: 4px; }
.brand__name { font-family: var(--en); font-weight: 600; font-size: 19px; letter-spacing: .06em; line-height: 1.1; }
.brand__name small { display: block; font-family: var(--sans); font-weight: 500; font-size: 10.5px; letter-spacing: .12em; color: var(--ink-soft); margin-top: 3px; }
.home .header:not(.is-solid) .brand__name, .home .header:not(.is-solid) .gnav a { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.home .header:not(.is-solid) .brand__name small { color: rgba(255,255,255,.85); }

.gnav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.gnav a {
  display: block; padding: 8px 12px; text-decoration: none; color: var(--ink);
  font-size: 14px; font-weight: 500; position: relative;
}
.gnav a span { display: block; font-family: var(--en); font-size: 9.5px; letter-spacing: .18em; opacity: .65; line-height: 1.2; }
.gnav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); }
.gnav .gnav__cta a { background: var(--grad); color: #fff !important; border-radius: 999px; padding: 10px 20px; text-shadow: none !important; margin-left: 6px; }
.gnav .gnav__cta a::after { display: none; }
.gnav .gnav__cta a span { opacity: .85; }

.menu-btn { display: none; width: 48px; height: 48px; border: 0; background: rgba(255,255,255,.92); border-radius: 50%; cursor: pointer; position: relative; box-shadow: 0 4px 14px -8px rgba(0,0,0,.4); }
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
.menu-btn span:nth-child(1) { top: 17px; } .menu-btn span:nth-child(2) { top: 23px; } .menu-btn span:nth-child(3) { top: 29px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .menu-btn { display: block; z-index: 120; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 17px; }
  .gnav {
    position: fixed; inset: 0; z-index: 110; background: var(--grad);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .menu-open .gnav { opacity: 1; visibility: visible; }
  .gnav ul { flex-direction: column; gap: 6px; }
  .gnav a, .home .header:not(.is-solid) .gnav a { color: #fff; font-size: 18px; text-align: center; padding: 10px 20px; text-shadow: none; }
  .gnav .gnav__cta a { background: #fff; color: var(--sky-deep) !important; margin: 14px 0 0; }
  .menu-open { overflow: hidden; }
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; justify-content: center;
  padding: 15px 30px; border-radius: 999px; text-decoration: none; font-weight: 700;
  font-size: 15px; letter-spacing: .08em; border: 0; cursor: pointer; font-family: inherit;
  background: var(--grad); color: #fff; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, opacity .25s;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 22px 40px -20px rgba(19,70,80,.55); }
.btn::after { content: "→"; font-family: var(--en); transition: transform .25s; }
.btn:hover::after { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--sky-deep); border: 1.5px solid currentColor; box-shadow: none; }
.btn--ghost:hover { color: var(--leaf-deep); }
.btn--white { background: #fff; color: var(--sky-deep); }
.btn--white:hover { color: var(--leaf-deep); }
.btn--ext::after { content: "↗"; }
.btn[aria-disabled="true"] { background: #cfdcdb; color: #5e7374; box-shadow: none; cursor: default; pointer-events: none; }
.btn[aria-disabled="true"]::after { content: ""; }

/* ---------- 見出し ---------- */
.sec { padding: 120px 0; position: relative; }
.sec--tint { background: var(--grad-soft); }
.sec--sky { background: var(--sky-pale); }
.sec-head { margin-bottom: 56px; }
.sec-head--center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--en); font-weight: 600; font-size: 13px; letter-spacing: .28em; color: var(--sky-deep);
  margin-bottom: 18px; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--grad); }
.sec-head--center .eyebrow::after { content: ""; width: 34px; height: 2px; background: var(--grad); }
.sec-title { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 40px); letter-spacing: .06em; line-height: 1.55; }
.sec-lead { margin-top: 22px; color: var(--ink-soft); max-width: 720px; }
.sec-head--center .sec-lead { margin-inline: auto; }
.nw { display: inline-block; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- ヒーロー（トップ） ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; color: #fff; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.08); transition: opacity 1.8s ease, transform 8s linear; }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,40,58,.45) 0%, rgba(8,40,58,.15) 40%, rgba(10,50,35,.55) 100%); }
.hero__body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 18vh; }
.hero__en { font-family: var(--en); font-weight: 600; font-size: clamp(38px, 7.4vw, 104px); line-height: 1.02; letter-spacing: .01em; margin: 0 0 26px; text-shadow: 0 4px 30px rgba(0,0,0,.25); }
.hero__title { font-family: var(--serif); font-size: clamp(22px, 3vw, 36px); letter-spacing: .12em; font-weight: 700; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.hero__sub { margin-top: 14px; font-size: clamp(14px, 1.4vw, 17px); letter-spacing: .12em; opacity: .95; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.hero__dots { position: absolute; z-index: 3; right: 32px; bottom: 120px; display: flex; flex-direction: column; gap: 10px; }
.hero__dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 1.5px solid #fff; background: transparent; cursor: pointer; }
.hero__dots button.is-active { background: #fff; }
.hero__scroll { position: absolute; z-index: 3; left: 50%; bottom: 72px; transform: translateX(-50%); font-family: var(--en); font-size: 11px; letter-spacing: .3em; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__scroll::after { content: ""; width: 1px; height: 46px; background: linear-gradient(#fff, transparent); animation: drip 2s infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero__wave { position: absolute; z-index: 2; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; }
.hero__wave path { fill: var(--paper); }

/* お知らせの帯 */
.ticker { position: relative; z-index: 5; margin-top: -40px; }
.ticker__inner { background: #fff; border-radius: 999px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 18px; padding: 14px 18px 14px 28px; }
.ticker__label { font-family: var(--en); font-weight: 600; font-size: 12px; letter-spacing: .25em; color: var(--sky-deep); flex: none; }
.ticker a:not(.ticker__more) { flex: 1; min-width: 0; display: flex; gap: 16px; align-items: center; text-decoration: none; color: var(--ink); }
.ticker time { font-family: var(--en); font-size: 13px; color: var(--ink-soft); flex: none; }
.ticker__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticker__more { flex: none; font-size: 13px; text-decoration: none; padding: 6px 16px; border-radius: 999px; background: var(--sky-pale); }

/* ---------- 下層ページの見出し ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + 90px) 0 110px; color: #fff; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(110deg, rgba(19,111,158,.88) 0%, rgba(35,104,61,.72) 100%); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero__en { font-family: var(--en); font-weight: 600; font-size: clamp(40px, 7vw, 84px); line-height: 1; letter-spacing: .02em; }
.page-hero__ja { margin-top: 14px; font-size: 16px; letter-spacing: .2em; font-weight: 500; }
.page-hero svg { position: absolute; z-index: 2; left: 0; bottom: -1px; width: 100%; height: 60px; }
.page-hero svg path { fill: var(--paper); }
.crumbs { font-size: 12.5px; padding: 18px 0 0; color: var(--ink-soft); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--ink-soft); }

/* ---------- 想い（トップ ABOUT） ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.about__text p { color: var(--ink-soft); }
.about .sec-title { font-size: clamp(23px, 2.7vw, 34px); }
.about__text .lead-serif { font-family: var(--serif); font-size: clamp(19px, 2vw, 23px); color: var(--ink); line-height: 1.9; }
.about__visual { position: relative; }
.about__visual img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about__visual img + img { position: absolute; width: 46%; aspect-ratio: 1; left: -14%; bottom: -10%; border: 6px solid var(--paper); }

/* 7つの循環 */
.cycle { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 64px 0 0; padding: 0; counter-reset: c; }
.cycle li { flex: 1 1 108px; max-width: 160px; }
.cycle li { list-style: none; text-align: center; background: #fff; border-radius: var(--radius); padding: 22px 8px 18px; box-shadow: 0 10px 30px -24px rgba(0,0,0,.4); border-top: 3px solid transparent; border-image: var(--grad) 1; border-image-slice: 1 0 0 0; }
.cycle li::before { counter-increment: c; content: "0" counter(c); display: block; font-family: var(--en); font-size: 11px; letter-spacing: .2em; color: var(--sky-deep); margin-bottom: 6px; }
.cycle b { display: block; font-size: 15px; line-height: 1.5; }
.cycle span { display: block; font-size: 11px; color: var(--ink-soft); margin-top: 4px; font-family: var(--en); letter-spacing: .08em; }
.cycle-note { text-align: center; color: var(--ink-soft); margin-top: 26px; font-size: 14px; }

/* ---------- WHY ---------- */
.why { display: grid; gap: 34px; }
.why__item { display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.why__item:nth-child(even) { grid-template-columns: 1.15fr 1fr; }
.why__item:nth-child(even) .why__img { order: 2; }
.why__img { min-height: 340px; background-size: cover; background-position: center; }
.why__body { padding: 52px 52px 44px; }
.why__num { font-family: var(--en); font-weight: 600; font-size: 13px; letter-spacing: .25em; color: var(--leaf); }
.why__q { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); margin: 8px 0 20px; }
.why__body p { color: var(--ink-soft); font-size: 15px; }
.why__body p:last-child { margin-bottom: 0; }

/* ---------- 事業カード ---------- */
.biz { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.biz__card { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .3s; }
.biz__card:hover { transform: translateY(-4px); color: var(--ink); }
.biz__img { aspect-ratio: 16 / 9; overflow: hidden; }
.biz__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.biz__card:hover .biz__img img { transform: scale(1.05); }
.biz__body { padding: 30px 32px 34px; flex: 1; display: flex; flex-direction: column; }
.biz__no { font-family: var(--en); font-size: 12px; letter-spacing: .25em; color: var(--sky-deep); }
.biz__en { font-family: var(--en); font-weight: 600; font-size: 22px; letter-spacing: .04em; line-height: 1.25; margin: 6px 0 4px; }
.biz__ja { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.biz__body p { color: var(--ink-soft); font-size: 14.5px; flex: 1; }
.biz__more { font-size: 14px; font-weight: 700; color: var(--sky-deep); display: inline-flex; gap: 8px; align-items: center; }
.biz__more::after { content: "→"; font-family: var(--en); }
.tag { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: var(--leaf-pale); color: var(--leaf-deep); letter-spacing: .08em; }
.tag--soon { background: #fff4e0; color: #8a5a00; }

/* ---------- メッセージ抜粋 ---------- */
.msg { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: center; }
.msg__photo { border-radius: 50% 50% var(--radius) var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.msg__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.msg__quote { font-family: var(--serif); font-size: clamp(19px, 2.1vw, 25px); line-height: 2; margin: 0 0 26px; }
.msg__name { font-size: 14px; color: var(--ink-soft); margin-bottom: 30px; }
.msg__name b { display: block; font-size: 20px; color: var(--ink); font-family: var(--serif); letter-spacing: .15em; }

/* ---------- 流れる文字 ---------- */
.marquee { overflow: hidden; padding: 44px 0; background: var(--paper); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--en); font-weight: 600; font-size: clamp(40px, 6vw, 80px); white-space: nowrap; padding-right: 60px; color: transparent; -webkit-text-stroke: 1px #9fcfc1; letter-spacing: .02em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- お知らせ ---------- */
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a { display: grid; grid-template-columns: 120px 110px 1fr 24px; gap: 18px; align-items: center; padding: 22px 6px; text-decoration: none; color: var(--ink); transition: background .25s; }
.news-list a:hover { background: rgba(42,159,214,.06); color: var(--ink); }
.news-list time { font-family: var(--en); font-size: 14px; color: var(--ink-soft); letter-spacing: .06em; }
.news-list .cat { font-size: 11.5px; text-align: center; padding: 3px 0; border-radius: 999px; border: 1px solid var(--sky); color: var(--sky-deep); }
.news-list .cat--column { border-color: var(--leaf); color: var(--leaf-deep); }
.news-list .cat--event { border-color: #d38b2a; color: #93590d; }
.news-list .cat--report { border-color: var(--sand); color: #6f6650; }
.news-list a::after { content: "→"; font-family: var(--en); color: var(--sky-deep); }
.news-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.news-filter button { font-family: inherit; font-size: 14px; padding: 8px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); }
.news-filter button[aria-pressed="true"] { background: var(--grad); color: #fff; border-color: transparent; }
.news-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 34px -26px rgba(0,0,0,.45); text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: transform .3s; }
.news-card:hover { transform: translateY(-4px); color: var(--ink); }
.news-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.news-card div { padding: 20px 22px 24px; }
.news-card .meta { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--ink-soft); margin-bottom: 8px; font-family: var(--en); }
.news-card h3 { font-size: 16px; line-height: 1.7; }
.news-card[hidden] { display: none; }

/* 記事 */
.article { padding: 70px 0 100px; }
.article__meta { display: flex; gap: 14px; align-items: center; font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; font-family: var(--en); }
.article h1 { font-family: var(--serif); font-size: clamp(24px, 3.2vw, 34px); line-height: 1.6; margin-bottom: 30px; }
.article__eyecatch { border-radius: var(--radius); margin-bottom: 44px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.article__eyecatch--contain { object-fit: contain; background: var(--grad-soft); aspect-ratio: auto; max-height: 820px; }
.news-card img.contain { object-fit: contain; background: var(--grad-soft); }
.ai-wrap { position: relative; }
.ai-note { position: absolute; right: 10px; bottom: 10px; font-size: 11px; color: #fff; background: rgba(0,0,0,.45); padding: 2px 10px; border-radius: 999px; letter-spacing: .05em; }
.article__caption { font-size: 12.5px; color: var(--ink-soft); margin: -34px 0 40px; text-align: right; }
.article__body { font-size: 16.5px; line-height: 2.05; }
.article__body h2 { font-family: var(--serif); font-size: 23px; margin: 56px 0 20px; padding: 0 0 12px; border-bottom: 2px solid transparent; border-image: var(--grad) 1; }
.article__body h3 { font-size: 18px; margin: 36px 0 12px; color: var(--sky-deep); }
.article__body ul, .article__body ol { padding-left: 1.4em; margin: 0 0 1.4em; }
.article__body li { margin-bottom: .4em; }
.article__body blockquote { margin: 30px 0; padding: 22px 28px; background: var(--grad-soft); border-radius: 12px; font-family: var(--serif); font-size: 18px; }
.article__body blockquote p:last-child { margin: 0; }
.article__body table { width: 100%; border-collapse: collapse; margin: 0 0 1.6em; font-size: 15px; }
.article__body th, .article__body td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.article__body th { background: var(--sky-pale); width: 30%; }
.article__body .note { font-size: 13.5px; color: var(--ink-soft); }
.article__body figure { margin: 34px 0; }
.article__body figure img { border-radius: 12px; }
.article__body figcaption { font-size: 13px; color: var(--ink-soft); margin-top: 8px; }
.article__cta { margin-top: 56px; padding: 36px; border-radius: var(--radius); background: var(--grad-soft); text-align: center; }
.article__cta p { margin-bottom: 18px; }
.article__nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 50px; flex-wrap: wrap; }
.author { display: flex; gap: 20px; align-items: center; margin-top: 50px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.author img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: none; }
.author p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.author b { color: var(--ink); font-size: 16px; }

/* ---------- 下層：共通の部品 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--rev .split__img { order: 2; }
.split__img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__body p { color: var(--ink-soft); }

.statement { text-align: center; }
.statement__item { padding: 46px 20px; border-bottom: 1px solid var(--line); }
.statement__item:last-child { border-bottom: 0; }
.statement__label { font-family: var(--en); font-weight: 600; letter-spacing: .3em; font-size: 13px; color: var(--sky-deep); }
.statement__label small { display: block; font-family: var(--sans); letter-spacing: .15em; color: var(--ink-soft); font-weight: 500; margin-top: 4px; }
.statement__main { font-family: var(--serif); font-size: clamp(24px, 3.4vw, 38px); margin: 14px 0 12px; letter-spacing: .08em; }
.statement__item p { color: var(--ink-soft); max-width: 680px; margin: 0 auto; }

.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.values li { background: #fff; border-radius: var(--radius); padding: 30px 18px; text-align: center; box-shadow: 0 12px 30px -24px rgba(0,0,0,.4); font-family: var(--serif); font-size: 17px; line-height: 1.7; }
.values li::before { content: attr(data-n); display: block; font-family: var(--en); font-size: 28px; font-weight: 600; margin-bottom: 8px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 34px -28px rgba(0,0,0,.45); }
.table th, .table td { padding: 22px 28px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.table th { width: 200px; background: var(--sky-pale); font-weight: 700; white-space: nowrap; }
.table ul { margin: 0; padding-left: 1.2em; }
.map { margin-top: 30px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 7; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.step-row { display: flex; gap: 0; justify-content: center; align-items: stretch; flex-wrap: wrap; margin-top: 10px; }
.step-row li { list-style: none; flex: 1 1 160px; max-width: 220px; text-align: center; padding: 18px 12px; position: relative; }
.step-row li + li::before { content: ""; position: absolute; left: -6px; top: 34px; width: 12px; height: 12px; border-top: 2px solid var(--sky); border-right: 2px solid var(--sky); transform: rotate(45deg); }
.step-row b { display: block; font-family: var(--en); color: var(--sky-deep); font-size: 13px; letter-spacing: .2em; }
.step-row span { font-size: 15px; font-weight: 700; }

/* 事業ページ */
.biz-detail { padding: 110px 0; scroll-margin-top: var(--header-h); }
.biz-detail:nth-child(even) { background: var(--grad-soft); }
.biz-detail__head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
.biz-detail__no { font-family: var(--en); font-weight: 600; font-size: 56px; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.biz-detail__en { font-family: var(--en); font-weight: 600; letter-spacing: .2em; font-size: 13px; color: var(--sky-deep); }
.biz-detail h2 { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 24px; }
.biz-detail h3 { font-size: 17px; margin: 28px 0 10px; }
.checks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 8px; color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--leaf); border-bottom: 2px solid var(--leaf); transform: rotate(-45deg); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0 30px; }
.facts div { background: #fff; border-radius: 14px; padding: 16px 18px; border: 1px solid var(--line); }
.facts dt { font-size: 12px; color: var(--ink-soft); letter-spacing: .1em; }
.facts dd { margin: 4px 0 0; font-weight: 700; }
.btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.biz-index { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 10px; }
.biz-index a { display: block; padding: 18px 16px; border-radius: 14px; background: #fff; text-decoration: none; color: var(--ink); box-shadow: 0 10px 30px -24px rgba(0,0,0,.45); font-weight: 700; font-size: 15px; }
.biz-index a span { display: block; font-family: var(--en); font-size: 11px; letter-spacing: .2em; color: var(--sky-deep); font-weight: 600; }

/* 代表挨拶 */
.letter { font-size: 17px; line-height: 2.15; }
.letter p { margin-bottom: 1.6em; }
.letter .big { font-family: var(--serif); font-size: clamp(21px, 2.4vw, 27px); line-height: 1.9; color: var(--ink); }
.letter__sign { text-align: right; margin-top: 40px; }
.letter__sign img { width: 150px; margin-left: auto; margin-bottom: 8px; }
.letter__sign b { font-family: var(--serif); font-size: 22px; letter-spacing: .2em; }
.profile { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
.profile img { border-radius: var(--radius); box-shadow: var(--shadow); }
.profile__name { font-family: var(--serif); font-size: 30px; letter-spacing: .2em; }
.profile__kana { font-family: var(--en); font-size: 13px; letter-spacing: .25em; color: var(--ink-soft); margin-bottom: 8px; }
.profile__role { color: var(--ink-soft); margin-bottom: 24px; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 18px 24px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .6em; width: 12px; height: 12px; border-radius: 50%; background: var(--grad); }

/* お問い合わせ */
.form { background: #fff; border-radius: var(--radius); padding: 48px; box-shadow: var(--shadow); }
.field { margin-bottom: 26px; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 8px; font-size: 15px; }
.req { display: inline-block; font-size: 11px; background: #d9534f; color: #fff; border-radius: 4px; padding: 1px 7px; margin-left: 8px; vertical-align: 2px; }
.opt { display: inline-block; font-size: 11px; background: #a8b8b9; color: #fff; border-radius: 4px; padding: 1px 7px; margin-left: 8px; vertical-align: 2px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
  width: 100%; font: inherit; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px rgba(42,159,214,.15); }
.field textarea { min-height: 200px; resize: vertical; }
.field fieldset { border: 0; padding: 0; margin: 0; }
.radios { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.radios label { display: flex; gap: 10px; align-items: center; font-weight: 500; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; margin: 0; }
.radios input { accent-color: var(--sky-deep); }
.radios label:has(input:checked) { border-color: var(--sky); background: var(--sky-pale); }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.agree input { margin-top: 6px; accent-color: var(--sky-deep); }
.hp { position: absolute; left: -9999px; }
.form__msg { margin-top: 20px; padding: 18px 20px; border-radius: 10px; display: none; }
.form__msg.is-ok { display: block; background: var(--leaf-pale); color: var(--leaf-deep); }
.form__msg.is-ng { display: block; background: #fdecea; color: #a12a20; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 60px; }
.contact-cards div { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: 0 12px 30px -24px rgba(0,0,0,.45); }
.contact-cards h3 { font-size: 16px; margin-bottom: 8px; }
.contact-cards p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* ---------- CTA・フッター ---------- */
.cta { position: relative; padding: 130px 0 120px; color: #fff; text-align: center; overflow: hidden; }
.cta__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(120deg, rgba(19,111,158,.9), rgba(35,104,61,.82)); }
.cta .wrap { position: relative; z-index: 2; }
.cta__en { font-family: var(--en); font-weight: 600; letter-spacing: .3em; font-size: 13px; opacity: .9; }
.cta__title { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 42px); margin: 16px 0 18px; letter-spacing: .08em; }
.cta p { opacity: .92; }
.cta .btns { justify-content: center; margin-top: 30px; }

.mountains { display: block; width: 100%; height: 90px; margin-bottom: -1px; }
.footer { background: #12302f; color: #d7e4e2; padding: 70px 0 30px; font-size: 14px; }
.footer a { color: #d7e4e2; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; }
.footer__logo { width: 120px; background: #fff; border-radius: 14px; padding: 10px; margin-bottom: 18px; }
.footer__name { font-weight: 700; font-size: 16px; color: #fff; margin-bottom: 6px; }
.footer h2 { font-family: var(--en); font-size: 12px; letter-spacing: .3em; color: #8fc9bb; margin-bottom: 14px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer__copy { border-top: 1px solid rgba(255,255,255,.12); margin-top: 50px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: #9db3b1; padding-right: 70px; }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 50px; height: 50px; border-radius: 50%; background: var(--grad); color: #fff; border: 0; cursor: pointer; font-family: var(--en); font-size: 18px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.to-top.is-show { opacity: 1; visibility: visible; }

/* ---------- 出てくる動き ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track, .hero__scroll::after { animation: none; }
  .hero__slide { transition: opacity .01s; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 画面幅ごとの調整 ---------- */
@media (max-width: 1080px) {
  .values { grid-template-columns: repeat(3, 1fr); }
  .biz-index { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .sec { padding: 84px 0; }
  .sec-head { margin-bottom: 40px; }
  .about, .split, .msg, .profile { grid-template-columns: 1fr; gap: 40px; }
  .split--rev .split__img { order: 0; }
  .about__visual { max-width: 460px; margin-inline: auto; padding-left: 10%; }
  .why__item, .why__item:nth-child(even) { grid-template-columns: 1fr; }
  .why__item:nth-child(even) .why__img { order: 0; }
  .why__img { min-height: 220px; }
  .why__body { padding: 34px 26px 30px; }
  .biz { grid-template-columns: 1fr; }
  .msg__photo { max-width: 320px; margin-inline: auto; }
  .news-cards { grid-template-columns: 1fr; }
  .news-list a { grid-template-columns: 1fr auto; grid-template-areas: "date cat" "title title"; gap: 6px 12px; }
  .news-list time { grid-area: date; }
  .news-list .cat { grid-area: cat; padding: 2px 12px; }
  .news-list .title { grid-area: title; }
  .news-list a::after { display: none; }
  .facts { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .profile img { max-width: 300px; }
  .biz-detail { padding: 80px 0; }
}
@media (max-width: 600px) {
  br.pc { display: none; }
  .statement__main { font-size: 23px; }
  .values li { font-size: 15px; padding: 24px 12px; }
  .sec-title { font-size: 24px; }
  body { font-size: 15px; }
  .wrap, .wrap--narrow { width: calc(100% - 32px); }
  .hero__body { bottom: 22vh; }
  .hero__dots { right: 16px; bottom: 100px; }
  .ticker { margin-top: -30px; }
  .ticker__inner { border-radius: 18px; padding: 14px 16px; flex-wrap: wrap; gap: 6px 12px; }
  .ticker a { flex-basis: 100%; order: 3; gap: 10px; }
  .ticker__more { margin-left: auto; }
  .cycle li { flex-basis: 40%; max-width: none; }
  .values { grid-template-columns: 1fr 1fr; }
  .values li:last-child { grid-column: 1 / -1; }
  .table th, .table td { display: block; width: 100%; padding: 14px 18px; }
  .table th { border-bottom: 0; }
  .form { padding: 28px 20px; }
  .radios { grid-template-columns: 1fr; }
  .biz__body { padding: 24px 22px 28px; }
  .biz-index { grid-template-columns: 1fr 1fr; }
  .map { aspect-ratio: 4 / 3; }
  .btn { padding: 14px 24px; }
  .page-hero { padding: calc(var(--header-h) + 60px) 0 80px; }
  .article__body { font-size: 15.5px; }
  .about__visual img + img { left: -8%; }
}
