/* =========================================
   IREVIA Corporate Site
   ========================================= */
:root {
  --orange: #f07a1a;
  --orange-dark: #e2600c;
  --yellow: #fbbf3c;
  --yellow-light: #fde3a7;
  --bg: #fffaf3;
  --navy: #1d2340;
  --text: #3a3d4f;
  --line: #f1e3cf;
  --header-h: 72px;
  --font: "Noto Sans JP", sans-serif;
  --font-en: "Montserrat", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
.container { width: min(1120px, 100% - 48px); margin-inline: auto; }
.accent { color: var(--orange); }
.arrow { display: inline-block; transition: transform .25s; }
a:hover .arrow { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 40px; border-radius: 999px;
  font-weight: 700; font-size: 15px; color: var(--navy);
  transition: transform .25s, box-shadow .25s;
}
.btn--yellow { background: linear-gradient(90deg, #fcc84a, #f9b12a); box-shadow: 0 6px 18px rgba(240,140,20,.25); }
.btn--yellow:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(240,140,20,.35); }
.btn--sm { padding: 10px 24px; font-size: 13px; }
.link-more { color: var(--orange); font-weight: 700; font-size: 13px; white-space: nowrap; }

/* ---------- Section label ---------- */
.sec-label {
  position: relative; padding-left: 16px;
  font-weight: 700; color: var(--navy); font-size: 16px; line-height: 1.5;
}
.sec-label::before {
  content: ""; position: absolute; left: 0; top: 2px; bottom: 2px;
  width: 4px; border-radius: 2px; background: linear-gradient(var(--yellow), var(--orange));
}
.sec-label .en { display: block; font-family: var(--font-en); color: var(--orange); font-size: 11px; letter-spacing: .08em; font-weight: 600; }
.sec-label--lg { font-size: 22px; }

/* ---------- Logo ---------- */
.logo { display: flex; align-items: center; gap: 8px; color: #fff; }
.logo__mark { width: 48px; height: 48px; padding: 3px; border-radius: 50%; background: #fff; object-fit: contain; box-shadow: 0 2px 10px rgba(150,60,0,.3); transition: transform .4s; }
.logo:hover .logo__mark { transform: rotate(-12deg) scale(1.08); }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font-family: var(--font-en); font-size: 24px; letter-spacing: .12em; font-weight: 500; }
.logo__sub { font-size: 10px; letter-spacing: .3em; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  background: linear-gradient(90deg, var(--orange-dark), #f38a22 60%, #f59a2a);
  box-shadow: 0 2px 12px rgba(200,80,0,.2);
}
.header__inner { height: 100%; width: min(1280px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.gnav { display: flex; align-items: center; gap: 36px; }
.gnav ul { display: flex; gap: 30px; }
.gnav ul a, .fnav a { display: flex; flex-direction: column; align-items: center; color: #fff; font-size: 13px; font-weight: 500; line-height: 1.4; }
.gnav ul a span, .fnav a span { font-family: var(--font-en); font-size: 9px; letter-spacing: .08em; opacity: .85; }
.gnav ul a:hover { opacity: .75; }
.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; padding-top: var(--header-h);
  background: radial-gradient(circle at 15% 90%, #ffe9c2 0, transparent 35%), linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 46% 54%; min-height: 640px; max-width: 1440px; margin-inline: auto; }
.hero__text { position: relative; z-index: 2; padding: 40px 0 60px max(24px, calc((100vw - 1120px) / 2)); }
.hero__logo { position: relative; width: 250px; margin: 0 0 18px 10px; }
.hero__logo img { width: 100%; filter: drop-shadow(0 8px 20px rgba(200,150,40,.25)); }
/* ロゴに光が走る */
.hero__logo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,.95) 50%, transparent 60%) 150% 0 / 250% 100% no-repeat;
  -webkit-mask: url(../images/logo/irevia-logo.png) center / contain no-repeat; mask: url(../images/logo/irevia-logo.png) center / contain no-repeat;
  animation: logoShine 5s ease-in-out 2.8s infinite; }
@keyframes logoShine { 0% { background-position: 150% 0; } 35%, 100% { background-position: -50% 0; } }
.hero__title { font-size: clamp(40px, 5.6vw, 76px); font-weight: 900; color: var(--navy); line-height: 1.25; letter-spacing: .02em; white-space: nowrap; }
.hero__title .accent { background: linear-gradient(90deg, #f9a825, var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(18px, 2vw, 24px); font-weight: 700; color: var(--navy); margin: 18px 0 20px; }
.hero__desc { font-size: 14px; line-height: 1.9; color: var(--text); }
.hero__visual { position: relative; }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%); mask-image: linear-gradient(90deg, transparent 0, #000 18%); }
.hero__deco { position: absolute; border-radius: 50%; pointer-events: none; z-index: 1; }
.hero__deco--1 { width: 900px; height: 900px; left: -280px; top: -220px; border: 2px solid rgba(251,191,60,.45); }
.hero__deco--2 { width: 220px; height: 220px; left: -110px; bottom: -60px; background: radial-gradient(circle, #fcd27a, transparent 70%); opacity: .7; }

/* ---------- Mission ---------- */
.mission { position: relative; padding: 70px 0 60px; overflow: hidden; }
.mission::after { content: ""; position: absolute; left: -10%; right: 40%; bottom: 10px; height: 120px; border-bottom: 2px solid rgba(251,191,60,.5); border-radius: 0 0 50% 50%; pointer-events: none; }
.mission__inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.mission__title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 900; color: var(--navy); line-height: 1.45; margin: 28px 0 24px; }
.mission__text p:last-child { font-size: 14px; }
.mission__visual { position: relative; }
.mission__visual img { width: 100%; border-radius: 48% 0 0 0 / 70% 0 0 0; }
.mission__catch { margin-top: 18px; text-align: right; font-weight: 700; color: var(--navy); font-size: 16px; line-height: 1.7; position: relative; }
.mission__catch::after { content: ""; display: block; width: 28px; height: 3px; background: var(--yellow); margin: 10px 0 0 auto; }

/* ---------- Values ---------- */
.values { padding-top: 20px; }
.values__list { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 20px; }
.values__lead { margin-top: 14px; font-size: 14px; }
.value { padding: 10px 30px 36px; }
.value + .value { border-left: 1px solid var(--line); }
.value:first-child { padding-left: 0; }
.value .value__num { font-family: "Playfair Display", serif; font-style: italic; font-size: 64px; line-height: 1; margin-bottom: -18px; opacity: .35; }
.value__num.n1 { color: #fcd9b3; opacity: 1; }
.value__num.n2 { color: #f6a77a; opacity: .7; }
.value__num.n3 { color: #fbd36a; opacity: .8; }
.value__num.n4 { color: #f3b86a; opacity: .8; }
.value .value__en { position: relative; font-family: "Montserrat", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .15em; color: var(--orange); margin-bottom: 4px; }
.value h3 { position: relative; font-size: 20px; font-weight: 900; color: var(--navy); margin-bottom: 12px; }
.value p { font-size: 13px; line-height: 1.8; }
.marquee { padding: 30px 0 20px; overflow: hidden; transform: skewY(-2deg); }
.marquee__row { overflow: hidden; }
.marquee__row--rev { margin-top: 6px; background: linear-gradient(90deg, var(--orange), var(--yellow)); }
.marquee__track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee__row--rev .marquee__track { animation-direction: reverse; animation-duration: 40s; }
.marquee__track span { padding: 0 .5em; white-space: nowrap; }
.marquee__row:not(.marquee__row--rev) span { font-family: "Playfair Display", serif; font-style: italic; font-size: clamp(56px, 9vw, 120px); line-height: 1.15;
  color: transparent; -webkit-text-stroke: 1.5px #f6b067; }
.marquee__row:not(.marquee__row--rev) span:nth-child(odd) { color: #fde3c4; -webkit-text-stroke: 0; }
.marquee__row--rev span { font-size: 18px; font-weight: 900; letter-spacing: .1em; color: #fff; padding: 12px 1.5em; }
.marquee__row--rev span::before { content: "●"; font-size: 8px; vertical-align: middle; margin-right: 3em; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Business ---------- */
.business { padding: 60px 0 50px; }
.business__head { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: start; margin-bottom: 30px; }
.business__lead { font-size: 14px; }
.biz-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.biz a { display: block; background: #fff; box-shadow: 0 4px 16px rgba(180,120,40,.12); height: 100%; transition: transform .25s, box-shadow .25s; }
.biz a:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(180,120,40,.2); }
.biz img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.biz__body { position: relative; padding: 22px 26px 26px; }
.biz .biz__en { font-family: var(--font-en); font-size: 11px; font-weight: 600; letter-spacing: .1em; color: var(--orange); }
.biz h3 { font-size: 22px; font-weight: 900; color: var(--navy); margin-bottom: 4px; }
.biz p { font-size: 14px; line-height: 1.7; padding-right: 40px; }
.biz .arrow { position: absolute; right: 24px; bottom: 26px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--yellow), var(--orange)); font-weight: 700; }

/* ---------- Strength ---------- */
.strength { position: relative; padding: 30px 0 80px; overflow: hidden; }
.strength::before { content: ""; position: absolute; right: -200px; top: -60px; width: 500px; height: 220px; border-top: 2px solid rgba(251,191,60,.5); border-radius: 50%; }
.strength__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.str { position: relative; text-align: center; padding: 30px 20px 50px; }
.str::before { content: ""; position: absolute; inset: 40px 0 0; border: 1.5px solid #fbd88a; border-radius: 50%; transform: rotate(-8deg); z-index: -1; }
.str__icon { width: 96px; height: 96px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; color: var(--orange-dark); background: radial-gradient(circle, #fde0c4 0, #feeedd 70%); }
.str:nth-child(3) .str__icon { background: radial-gradient(circle, #fde7a8 0, #fff1cc 70%); }
.str__icon svg { width: 48px; height: 48px; }
.str h3 { font-size: 20px; font-weight: 900; color: var(--navy); margin-bottom: 10px; }
.str p { font-size: 13px; }

/* ---------- Recruit ---------- */
.recruit { position: relative; display: grid; place-items: center; min-height: 420px; background: #fff; overflow: hidden; }
.recruit__bg { position: absolute; inset: 0; filter: blur(50px); opacity: .75; }
.blob { position: absolute; border-radius: 50%; }
.blob.b1 { width: 420px; height: 420px; left: 5%; top: -120px; background: #fcd27a; animation: blob1 14s ease-in-out infinite; }
.blob.b2 { width: 360px; height: 360px; right: 8%; bottom: -140px; background: #f8a35a; animation: blob2 17s ease-in-out infinite; }
.blob.b3 { width: 260px; height: 260px; left: 45%; top: 30%; background: #fde3a7; animation: blob1 11s ease-in-out infinite reverse; }
@keyframes blob1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(120px,60px) scale(1.2); } }
@keyframes blob2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-140px,-50px) scale(.85); } }
.recruit__big { position: absolute; left: 0; right: 0; top: 50%; translate: 0 -50%; overflow: hidden; pointer-events: none; }
.recruit__big .marquee__track { animation-duration: 36s; }
.recruit__big span { font-family: var(--font-en); font-weight: 600; font-size: clamp(64px, 11vw, 160px); line-height: 1; padding: 0 .3em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(240,122,26,.35); }
.recruit__text { position: relative; padding: 50px 24px; text-align: center; background: rgba(255,255,255,.55); backdrop-filter: blur(6px); border-radius: 24px; }
.recruit__text .sec-label { display: inline-block; text-align: left; }
.recruit__text h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 900; color: var(--navy); line-height: 1.45; margin: 14px 0 10px; }
.recruit__text p:not(.sec-label) { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 18px; }

/* ---------- News ---------- */
.news { padding: 50px 0 60px; }
.news__inner { display: grid; grid-template-columns: 200px 1fr auto; gap: 30px; align-items: center; }
.news__list { max-width: 560px; }
.news__list li { display: flex; align-items: center; gap: 18px; padding: 10px 0; border-bottom: 1px solid #e8e2d8; font-size: 13px; }
.news__list time { font-family: var(--font-en); color: var(--navy); font-size: 12px; white-space: nowrap; }
.tag { flex-shrink: 0; min-width: 84px; text-align: center; font-size: 10px; padding: 2px 10px; border-radius: 999px; background: #f6efe4; color: var(--navy); }
.news__list a:hover { color: var(--orange); }

/* ---------- Footer ---------- */
.footer { color: #fff; background: radial-gradient(circle at 10% 0, #f59a2a 0, transparent 50%), linear-gradient(180deg, #ec6c12, #e05a0c); }
.footer__inner { width: min(1200px, 100% - 48px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 40px 0 30px; }
.footer__logo img { width: 170px; filter: drop-shadow(0 4px 12px rgba(120,40,0,.3)); }
.fnav ul { display: flex; gap: 30px; }
.footer__right { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.sns { display: flex; gap: 18px; }
.sns svg { width: 22px; height: 22px; }
.sns a:hover { opacity: .75; }
.footer__bottom { width: min(1200px, 100% - 48px); margin-inline: auto; display: flex; justify-content: space-between; align-items: center; padding: 16px 0 24px; font-size: 11px; }
.footer__bottom ul { display: flex; }
.footer__bottom li + li::before { content: "|"; margin: 0 12px; opacity: .6; }

/* ---------- Fade-in animation ---------- */
.fade { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.fade.is-show { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade { opacity: 1; transform: none; transition: none; } }

/* =========================================
   Tablet
   ========================================= */
@media (max-width: 1080px) {
  .gnav ul { gap: 18px; }
  .gnav { gap: 20px; }
  .fnav { display: none; }
  .values__list { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .value:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* =========================================
   Smartphone
   ========================================= */
@media (max-width: 860px) {
  :root { --header-h: 60px; }
  .logo__mark { width: 40px; height: 40px; }
  .footer__logo img { width: 140px; }
  .logo__name { font-size: 20px; }

  .menu-btn { display: block; position: relative; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
  .menu-btn span { position: absolute; left: 10px; width: 24px; height: 2px; background: #fff; transition: .3s; }
  .menu-btn span:nth-child(1) { top: 14px; }
  .menu-btn span:nth-child(2) { top: 21px; }
  .menu-btn span:nth-child(3) { top: 28px; }
  .menu-btn.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
  .menu-btn.is-open span:nth-child(2) { opacity: 0; }
  .menu-btn.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

  .gnav { position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; gap: 24px; padding: 24px 24px 32px;
    background: linear-gradient(180deg, #f07a1a, #e2600c); transform: translateY(-120%); transition: transform .35s; z-index: -1; }
  .gnav.is-open { transform: none; }
  .gnav ul { flex-direction: column; gap: 0; width: 100%; }
  .gnav ul a { flex-direction: row; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.25); font-size: 15px; }

  .hero__inner { grid-template-columns: 1fr; min-height: 0; }
  .hero__visual { order: -1; height: 360px; }
  .hero__visual img { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
  .hero__text { padding: 0 24px 50px; margin-top: -40px; }
  .hero__logo { width: 150px; margin: 0 0 10px; }
  .hero__desc br { display: none; }

  .mission { padding: 50px 0 40px; }
  .mission__inner { grid-template-columns: 1fr; }
  .mission__text br, .business__lead br, .biz p br { display: none; }

  .values__list { grid-template-columns: 1fr; }
  .value, .value:first-child { padding: 20px 0; }
  .value + .value { border-left: 0; border-top: 1px solid var(--line); }
  .marquee__row--rev span { font-size: 14px; }

  .business__head { grid-template-columns: 1fr; gap: 14px; }
  .biz-list { grid-template-columns: 1fr; gap: 16px; }

  .strength__list { grid-template-columns: 1fr; gap: 0; }

  .recruit { min-height: 360px; padding: 40px 16px; }
  .recruit__text { padding: 36px 20px; }
  .scroll-down { display: none; }

  .news__inner { grid-template-columns: 1fr; gap: 16px; }
  .news__list li { flex-wrap: wrap; gap: 6px 12px; }
  .news__list a { width: 100%; }
  .news__more { justify-self: end; }

  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__right { align-items: flex-start; }
  .footer__bottom { flex-direction: column; gap: 10px; align-items: flex-start; }
}

/* =========================================
   Animation (JS連動)
   ========================================= */
/* スクロール進捗バー */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 200;
  background: linear-gradient(90deg, var(--yellow), #fff); transform-origin: left; transform: scaleX(0); }

/* ヘッダー：スクロールで縮む／下スクロールで隠れる */
.header { transition: transform .4s ease, height .3s ease, box-shadow .3s; }
.header.is-scrolled { height: 60px; box-shadow: 0 4px 20px rgba(200,80,0,.3); }
.header.is-hidden { transform: translateY(-100%); }
.header.menu-open { transform: none; }

/* オープニング */
.hero__title .line { display: block; }
.js .js-intro { opacity: 0; transform: translateY(30px); filter: blur(6px); }
.js .is-loaded .js-intro { opacity: 1; transform: none; filter: blur(0);
  transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1), filter 1s; }
.js .js-intro-visual { opacity: 0; clip-path: inset(0 0 0 100%); }
.js .is-loaded .js-intro-visual { opacity: 1; clip-path: inset(0 0 0 0); transition: clip-path 1.4s cubic-bezier(.7,0,.2,1), opacity .4s; }
.hero__visual { overflow: hidden; }
.is-loaded .hero__visual img { animation: heroZoom 8s ease-out forwards; }
@keyframes heroZoom { from { scale: 1.2; } to { scale: 1.08; } }

/* フェードのバリエーション */
.fade--left  { transform: translateX(-60px); }
.fade--right { transform: translateX(60px); }
.fade--zoom  { transform: scale(.94); }

/* マーカー線 */
.marker { background-image: linear-gradient(transparent 62%, rgba(251,191,60,.45) 62%); background-repeat: no-repeat;
  background-size: 0 100%; transition: background-size 1.2s cubic-bezier(.7,0,.2,1) .5s; }
.is-show .marker { background-size: 100% 100%; }

/* 強みアイコン：ポップ＆ふわふわ */
.str.is-show .str__icon { animation: pop .7s cubic-bezier(.3,1.6,.5,1) both, float 4s ease-in-out .7s infinite; }
.str:nth-child(2).is-show .str__icon { animation-delay: .15s, 1s; }
.str:nth-child(3).is-show .str__icon { animation-delay: .3s, 1.3s; }
@keyframes pop { from { transform: scale(0) rotate(-20deg); } to { transform: scale(1) rotate(0); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* 事業カード 3Dチルト */
.biz { perspective: 800px; }
.biz a { transform-style: preserve-3d; will-change: transform; }
.biz img { transition: transform .6s; }
.biz a:hover img { transform: scale(1.06); }
.biz a { overflow: hidden; }

/* ボタン：マグネット＆波紋 */
.btn { position: relative; overflow: hidden; }
.ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.6); transform: scale(0); animation: ripple .6s ease-out; pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ページトップボタン */
.pagetop { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-size: 20px; font-weight: 700;
  background: linear-gradient(135deg, var(--yellow), var(--orange)); box-shadow: 0 6px 18px rgba(240,120,20,.4);
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: .4s; }
.pagetop.is-show { opacity: 1; transform: none; pointer-events: auto; }
.pagetop:hover { transform: translateY(-4px); }

/* ヒーロー：1文字ずつ跳ねて登場 */
.js-split .char { display: inline-block; }
.js .js-split .char { opacity: 0; transform: translateY(.6em) rotate(8deg); }
.js .is-loaded .js-split .char { animation: charIn .8s cubic-bezier(.2,1.4,.4,1) forwards; animation-delay: calc(.4s + var(--i) * .07s); }
@keyframes charIn { to { opacity: 1; transform: none; } }
.hero__title .accent:has(.char) { background: none; color: var(--orange); }
.hero__title .accent .char { background: linear-gradient(180deg, #f9b12a, var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.is-loaded .hero__title .accent .char { animation: charIn .8s cubic-bezier(.2,1.4,.4,1) forwards, wiggle 5s ease-in-out infinite; animation-delay: calc(.4s + var(--i) * .07s), calc(2.4s + var(--i) * .12s); }
@keyframes wiggle { 0%,85%,100% { transform: none; } 90% { transform: translateY(-10px); } 95% { transform: translateY(2px); } }

/* ヒーロー：つながる点のネットワーク・回転する軌道・コピー */
.hero__visual::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(251,191,60,.35), rgba(240,122,26,.15) 60%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%); mask-image: linear-gradient(90deg, transparent 0, #000 18%); }
.hero__net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero__orbit { position: absolute; right: 8%; top: 50%; width: 460px; height: 460px; translate: 0 -50%; z-index: 1; pointer-events: none; }
.hero__orbit span { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed rgba(255,255,255,.7); animation: spin 40s linear infinite; }
.hero__orbit span:nth-child(2) { inset: 70px; border: 1.5px solid rgba(251,191,60,.8); border-left-color: transparent; border-bottom-color: transparent; animation-duration: 12s; animation-direction: reverse; }
.hero__orbit span::after { content: ""; position: absolute; top: 50%; left: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 16px 4px rgba(251,191,60,.8); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__copy { position: absolute; right: 6%; bottom: 10%; z-index: 2; font-family: "Playfair Display", serif; font-style: italic; font-size: clamp(28px, 3.6vw, 52px);
  color: #fff; text-shadow: 0 4px 20px rgba(200,90,0,.45); rotate: -8deg; animation: floatY 6s ease-in-out infinite; }
@keyframes floatY { 0%,100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.hero__deco--1 { animation: pulse 8s ease-in-out infinite; }
.hero__deco--2 { animation: floatY 7s ease-in-out infinite; }
@keyframes pulse { 0%,100% { scale: 1; opacity: 1; } 50% { scale: 1.04; opacity: .6; } }

/* スクロール案内 */
.scroll-down { position: absolute; left: 24px; bottom: 18px; z-index: 3; font-family: var(--font-en); font-size: 10px; letter-spacing: .3em; color: var(--orange); padding-bottom: 54px; writing-mode: vertical-rl; }
.scroll-down::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 46px; background: var(--orange); transform-origin: top; animation: scrollLine 2s cubic-bezier(.7,0,.3,1) infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* 見出しのバーが伸びる */
.js .sec-label::before { transform: scaleY(0); transform-origin: top; transition: transform .7s cubic-bezier(.7,0,.2,1) .2s; }
.js .is-show .sec-label::before, .js .sec-label.is-show::before { transform: none; }

/* 画像がオレンジの幕から現れる */
.img-reveal { position: relative; display: block; overflow: hidden; border-radius: 48% 0 0 0 / 70% 0 0 0; }
.img-reveal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, var(--yellow), var(--orange)); transform-origin: right; transition: transform 1.2s cubic-bezier(.7,0,.2,1) .3s; }
.is-show .img-reveal::after { transform: scaleX(0); }

/* お知らせが順番にスライド */
.news__list li { opacity: 0; transform: translateX(40px); transition: opacity .6s, transform .6s cubic-bezier(.2,.7,.2,1); }
.news__list li:nth-child(2) { transition-delay: .12s; }
.news__list li:nth-child(3) { transition-delay: .24s; }
.news__list.is-show li { opacity: 1; transform: none; }

/* 事業カードの写真に光が走る */
.biz a { position: relative; }
.biz a::after { content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent); transform: skewX(-20deg); }
.biz a:hover::after { animation: shine .8s ease; }
@keyframes shine { to { left: 125%; } }

/* フッター上の波 */
.footer { position: relative; }
.footer__wave { position: relative; height: 60px; overflow: hidden; background: var(--bg); }
.footer__wave svg { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; fill: #ec6c12; animation: wave 12s linear infinite; }
.footer__wave svg:first-child { opacity: .4; fill: #f59a2a; animation-duration: 18s; animation-direction: reverse; }
@keyframes wave { to { transform: translateX(-50%); } }

/* マウスについてくる円 */
.cursor { position: fixed; left: 0; top: 0; z-index: 300; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%;
  border: 1.5px solid var(--orange); pointer-events: none; opacity: 0; transition: width .25s, height .25s, margin .25s, background .25s, opacity .3s; }
.cursor.is-active { opacity: 1; }
.cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(251,191,60,.25); border-color: transparent; }
@media (hover: none) { .cursor { display: none; } }

@media (max-width: 860px) {
  .hero__orbit { width: 260px; height: 260px; }
  .hero__orbit span:nth-child(2) { inset: 40px; }
  .hero__copy { bottom: 22%; }
}

@media (prefers-reduced-motion: reduce) {
  .js .js-intro, .js .js-intro-visual { opacity: 1; transform: none; filter: none; clip-path: none; }
  .js .js-split .char { opacity: 1; transform: none; }
  .is-loaded .hero__visual img, .str.is-show .str__icon,
  .marquee__track, .blob, .hero__orbit span, .hero__copy, .hero__deco, .footer__wave svg, .scroll-down::after,
  .is-loaded .js-split .char, .is-loaded .hero__title .accent .char { animation: none; }
  .news__list li { opacity: 1; transform: none; }
  .img-reveal::after { display: none; }
  .cursor { display: none; }
}

/* =========================================
   下層ページ共通
   ========================================= */
.gnav ul a.is-current { position: relative; }
.gnav ul a.is-current::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--yellow-light); }

/* ページタイトル */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 70px) 0 110px; color: #fff;
  background: radial-gradient(circle at 85% 20%, #fcc84a 0, transparent 45%), linear-gradient(120deg, var(--orange-dark), #f38a22 60%, #f7a83a); }
.page-hero::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -70px; height: 120px; background: var(--bg); border-radius: 50% 50% 0 0; z-index: 1; }
.page-hero .js-net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.page-hero__ring { position: absolute; right: -60px; top: 45%; width: 420px; height: 420px; margin-top: -210px; border: 2px dashed rgba(255,255,255,.5); border-radius: 50%; animation: spin 50s linear infinite; }
.page-hero__ring::after { content: ""; position: absolute; top: 50%; left: -8px; width: 16px; height: 16px; border-radius: 50%; background: var(--yellow-light); box-shadow: 0 0 18px 6px rgba(255,255,255,.6); }
.page-hero__inner { position: relative; z-index: 2; }
.page-hero__en { font-family: "Playfair Display", serif; font-style: italic; font-size: clamp(56px, 9vw, 120px); line-height: 1; }
.page-hero__title { display: flex; align-items: center; gap: 14px; margin-top: 14px; font-size: clamp(20px, 2.4vw, 28px); font-weight: 900; }
.page-hero__title::before { content: ""; width: 40px; height: 3px; background: var(--yellow-light); }
.page-hero__lead { margin-top: 18px; font-size: 15px; max-width: 640px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; font-size: 12px; opacity: .9; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; }
.breadcrumb a:hover { text-decoration: underline; }

/* セクション */
.sub { padding: 80px 0; }
.sub--white { background: #fff; }
.sub-head { margin-bottom: 44px; }
.sub-head h2 { margin-top: 16px; font-size: clamp(24px, 3vw, 36px); font-weight: 900; color: var(--navy); line-height: 1.5; }
.sub-head__desc { margin-top: 14px; font-size: 14px; }
.sub-head--center { text-align: center; }
.sub-head--center .sec-label { display: inline-block; text-align: left; }

/* チェック付きリスト */
.check-list { display: grid; gap: 10px; margin-top: 22px; }
.check-list li { position: relative; padding-left: 30px; font-size: 14px; font-weight: 500; color: var(--navy); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11px; line-height: 1; color: #fff; background: linear-gradient(135deg, var(--yellow), var(--orange)); }

/* 表（会社概要・募集要項） */
.info-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(180,120,40,.08); }
.info-table th, .info-table td { padding: 20px 28px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 14px; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table th { width: 220px; font-weight: 700; color: var(--navy); background: #fff6ea; }
.note { margin-top: 14px; font-size: 12px; color: #8a8d9c; }

/* 下部の導線 */
.cta-band { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 80px; }
.cta-band a { position: relative; overflow: hidden; display: block; padding: 44px 40px; border-radius: 24px; color: #fff;
  background: linear-gradient(120deg, var(--orange-dark), #f59a2a); transition: transform .3s, box-shadow .3s; }
.cta-band a:nth-child(2) { background: linear-gradient(120deg, var(--navy), #3a4170); }
.cta-band a::before { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); transition: transform .6s; }
.cta-band a:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(200,90,0,.25); }
.cta-band a:hover::before { transform: scale(1.4); }
.cta-band__en { font-family: "Playfair Display", serif; font-style: italic; font-size: 40px; line-height: 1.1; }
.cta-band__jp { margin-top: 6px; font-weight: 700; }
.cta-band .arrow { position: absolute; right: 36px; bottom: 40px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.2); }

/* ---------- 私たちについて ---------- */
.message { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.img-reveal--soft { border-radius: 0 120px 0 120px; }
.img-reveal--soft img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.message__body p + p { margin-top: 1.2em; }
.message__body p { font-size: 15px; }
.message__sign { margin-top: 30px; text-align: right; color: var(--navy); font-weight: 700; font-size: 13px; }
.message__sign span { display: block; font-size: 22px; letter-spacing: .1em; }

.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mvv__item { position: relative; overflow: hidden; padding: 40px 32px; border-radius: 24px; background: #fff; box-shadow: 0 6px 24px rgba(180,120,40,.1); transition: transform .3s, box-shadow .3s; }
.mvv__item:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(180,120,40,.18); }
.mvv__item::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, #fde3a7, transparent 70%); transition: transform .5s; }
.mvv__item:hover::after { transform: scale(1.6); }
.mvv__item .mvv__en { font-family: "Playfair Display", serif; font-style: italic; font-size: 34px; font-weight: 600; color: var(--orange); line-height: 1.2; }
.mvv__item h3 { margin: 4px 0 14px; font-size: 13px; color: #8a8d9c; font-weight: 700; }
.mvv__item p { position: relative; z-index: 1; font-size: 18px; font-weight: 900; color: var(--navy); line-height: 1.6; }
.mvv__item .mvv__desc { margin-top: 18px; font-size: 13px; font-weight: 400; color: inherit; line-height: 1.9; }

/* ---------- 事業紹介 ---------- */
.biz-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.biz-nav a { padding: 10px 22px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 13px; font-weight: 700; transition: background .25s, color .25s, transform .25s; }
.biz-nav a:hover { background: var(--orange); color: #fff; transform: translateY(-2px); }
.biz-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: 60px 0; }
.biz-detail:nth-child(even) .biz-detail__img { order: 2; }
.biz-detail__img { position: relative; isolation: isolate; }
.biz-detail__img::before { content: ""; position: absolute; inset: 20px -20px -20px 20px; z-index: -1; border-radius: 24px; border: 2px solid var(--yellow); transition: inset .4s; }
.biz-detail:nth-child(even) .biz-detail__img::before { inset: 20px 20px -20px -20px; }
.biz-detail__img:hover::before { inset: 0; }
.biz-detail__img .img-reveal { border-radius: 24px; }
.biz-detail__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s; }
.biz-detail__img:hover img { transform: scale(1.05); }
.biz-detail__num { font-family: "Playfair Display", serif; font-style: italic; font-size: 80px; line-height: 1; color: #fcd9b3; }
.biz-detail__en { font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--orange); }
.biz-detail h2 { margin: 4px 0 6px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 900; color: var(--navy); }
.biz-detail__catch { margin-bottom: 16px; font-size: 16px; font-weight: 700; color: var(--orange); }
.biz-detail__text { font-size: 14px; }

/* ---------- 私たちの強み ---------- */
/* IT × 人材 の重なる円 */
.venn { position: relative; display: flex; justify-content: center; align-items: center; padding: 10px 0; }
.venn__circle { --s: 360px; width: var(--s); height: var(--s); border-radius: 50%; display: flex; flex-direction: column; justify-content: center;
  font-size: 26px; font-weight: 900; color: var(--navy); line-height: 1.4; mix-blend-mode: multiply; transition: scale .4s; }
.venn__circle:hover { scale: 1.04; }
.venn__circle small { font-family: var(--font-en); font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--orange-dark); }
.venn__circle span { margin-top: 10px; font-size: 13px; font-weight: 500; line-height: 1.7; }
.venn__circle--it { align-items: flex-start; padding-left: 60px; margin-right: -50px; background: radial-gradient(circle at 30% 30%, #fff3d6, #fcd27a); animation: vennL 6s ease-in-out infinite; }
.venn__circle--hr { align-items: flex-end; text-align: right; padding-right: 60px; margin-left: -50px; background: radial-gradient(circle at 70% 30%, #fde0c4, #f8a35a); animation: vennR 6s ease-in-out infinite; }
@keyframes vennL { 0%,100% { translate: 0 0; } 50% { translate: -16px 0; } }
@keyframes vennR { 0%,100% { translate: 0 0; } 50% { translate: 16px 0; } }
.venn__center { position: absolute; left: 50%; top: 50%; width: 140px; height: 140px; margin: -70px 0 0 -70px; border-radius: 50%; display: grid; place-content: center; text-align: center; color: var(--navy);
  background: #fff; border: 3px solid #f3d58a; box-shadow: 0 14px 40px rgba(240,122,26,.4); animation: beat 4s ease-in-out infinite; }
.venn__center img { width: 64px; margin: 0 auto 2px; }
.venn__center b { font-family: var(--font-en); font-size: 16px; font-weight: 600; letter-spacing: .12em; }
@keyframes beat { 0%,100% { scale: 1; } 50% { scale: 1.06; } }

.str-detail { display: grid; grid-template-columns: 220px 1fr; gap: 50px; padding: 56px 0; border-top: 1px solid var(--line); }
.str-detail:last-child { border-bottom: 1px solid var(--line); }
.str-detail__side { text-align: center; }
.str-detail .str-detail__num { font-family: "Playfair Display", serif; font-style: italic; font-size: 72px; line-height: 1; color: #fcd9b3; }
.str-detail .str__icon { margin-top: -20px; }
.str-detail.is-show .str__icon { animation: pop .7s cubic-bezier(.3,1.6,.5,1) both, float 4s ease-in-out .7s infinite; }
.str-detail h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 900; color: var(--navy); }
.str-detail__catch { margin: 6px 0 16px; font-size: 16px; font-weight: 700; color: var(--orange); }
.str-detail p { font-size: 14px; }

/* ---------- 採用情報 ---------- */
.recruit-msg { text-align: center; }
.recruit-msg h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 900; color: var(--navy); line-height: 1.5; }
.recruit-msg p { margin-top: 24px; font-size: 15px; }
.persona { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.persona__item { padding: 40px 30px; border-radius: 24px; background: var(--bg); text-align: center; transition: transform .3s; }
.persona__item:hover { transform: translateY(-6px) rotate(-1deg); }
.persona__item .persona__num { text-align: center; font-family: "Playfair Display", serif; font-style: italic; font-size: 56px; line-height: 1; color: var(--orange); }
.persona__item h3 { margin: 10px 0 12px; font-size: 19px; font-weight: 900; color: var(--navy); }
.persona__item p { font-size: 13px; text-align: left; }

.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.flow::before { content: ""; position: absolute; left: 10%; right: 10%; top: 40px; height: 2px; background: linear-gradient(90deg, var(--yellow), var(--orange));
  transform: scaleX(0); transform-origin: left; transition: transform 1.6s cubic-bezier(.7,0,.2,1) .2s; }
.flow.is-show::before { transform: none; }
.flow li { position: relative; text-align: center; }
.flow__circle { width: 80px; height: 80px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-content: center; background: #fff; border: 2px solid var(--yellow);
  font-family: var(--font-en); font-size: 11px; font-weight: 600; color: var(--orange); line-height: 1.2; }
.flow__circle b { font-size: 22px; }
.flow li:last-child .flow__circle { background: linear-gradient(135deg, var(--yellow), var(--orange)); color: #fff; border: 0; }
.flow h3 { font-size: 15px; font-weight: 900; color: var(--navy); }
.flow p { margin-top: 6px; font-size: 12px; }
.entry { text-align: center; padding: 70px 24px; border-radius: 32px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(circle at 20% 0, #fcc84a 0, transparent 50%), linear-gradient(120deg, var(--orange-dark), #f59a2a); }
.entry h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 900; }
.entry p { margin: 12px 0 28px; }

/* ---------- お知らせ ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter button { padding: 8px 22px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .25s, color .25s; }
.filter button[aria-pressed="true"], .filter button:hover { background: var(--orange); color: #fff; border-color: transparent; }
.news-page { border-top: 1px solid #e8e2d8; }
.news-page li { border-bottom: 1px solid #e8e2d8; animation: newsIn .5s ease both; }
@keyframes newsIn { from { opacity: 0; transform: translateY(10px); } }
.news-page summary { display: grid; grid-template-columns: 110px 110px 1fr 24px; gap: 16px; align-items: center; padding: 22px 4px; cursor: pointer; list-style: none; font-size: 14px; }
.news-page summary::-webkit-details-marker { display: none; }
.news-page summary:hover .news-page__title { color: var(--orange); }
.news-page time { font-family: var(--font-en); font-size: 13px; color: var(--navy); }
.news-page__title { font-weight: 700; color: var(--navy); transition: color .25s; }
.news-page__icon { position: relative; width: 24px; height: 24px; border-radius: 50%; background: #f6efe4; }
.news-page__icon::before, .news-page__icon::after { content: ""; position: absolute; left: 7px; right: 7px; top: 11px; height: 2px; background: var(--orange); transition: transform .3s; }
.news-page__icon::after { transform: rotate(90deg); }
.news-page details[open] .news-page__icon::after { transform: rotate(0); }
.news-page__body { padding: 0 4px 26px 252px; font-size: 14px; }
.news-page details[open] .news-page__body { animation: newsIn .4s ease; }
.news-page__body a { color: var(--orange); font-weight: 700; }

/* ---------- 下層ページ：スマホ ---------- */
@media (max-width: 860px) {
  .gnav ul a.is-current::after { display: none; }
  .gnav ul a.is-current { color: var(--yellow-light); }
  .page-hero { padding: calc(var(--header-h) + 50px) 0 90px; }
  .page-hero__ring { width: 240px; height: 240px; margin-top: -120px; right: -100px; }
  .sub { padding: 60px 0; }
  .info-table th, .info-table td { display: block; width: auto; padding: 14px 18px; }
  .info-table th { border-bottom: 0; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band a { padding: 34px 28px; }
  .message, .biz-detail, .str-detail { grid-template-columns: 1fr; gap: 30px; }
  .biz-detail:nth-child(even) .biz-detail__img { order: 0; }
  .biz-detail { padding: 40px 0; }
  .mvv, .persona { grid-template-columns: 1fr; }
  .venn { flex-direction: column; }
  .venn__circle { --s: 250px; font-size: 20px; animation: none; }
  .venn__circle--it { align-items: center; text-align: center; padding: 0 0 50px; margin: 0 0 -45px; }
  .venn__circle--hr { align-items: center; text-align: center; padding: 50px 0 0; margin: -45px 0 0; }
  .venn__circle span { display: none; }
  .venn__center { width: 100px; height: 100px; margin: -50px 0 0 -50px; }
  .venn__center img { width: 44px; }
  .venn__center b { font-size: 13px; }
  .str-detail { gap: 10px; padding: 40px 0; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow::before { left: 39px; right: auto; top: 40px; bottom: 40px; width: 2px; height: auto; transform: scaleY(0); transform-origin: top; background: linear-gradient(var(--yellow), var(--orange)); }
  .flow.is-show::before { transform: none; }
  .flow li { display: grid; grid-template-columns: 80px 1fr; column-gap: 18px; text-align: left; padding-bottom: 18px; }
  .flow__circle { grid-row: span 2; margin: 0; }
  .flow h3 { align-self: end; }
  .news-page summary { grid-template-columns: auto 1fr 24px; gap: 6px 12px; }
  .news-page summary .tag { justify-self: start; }
  .news-page__title { grid-column: 1 / 3; }
  .news-page__icon { grid-row: 1 / 3; grid-column: 3; }
  .news-page__body { padding-left: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero__ring, .venn__circle, .venn__center, .news-page li { animation: none; }
  .flow::before { transform: none; transition: none; }
}

/* =========================================
   ロゴ
   ========================================= */
/* オープニング：ロゴが浮かび上がってから幕が上がる */
.splash { display: none; }
.js .splash { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; background: var(--bg);
  animation: splashOut .9s cubic-bezier(.7,0,.2,1) 4s forwards; }
.splash img { width: min(300px, 60vw); opacity: 0; animation: splashLogo 1.4s cubic-bezier(.2,.7,.2,1) .1s forwards; }
.splash.is-done { animation: splashOut .9s cubic-bezier(.7,0,.2,1) forwards; }
@keyframes splashLogo { from { opacity: 0; transform: scale(.85); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes splashOut { to { transform: translateY(-100%); visibility: hidden; } }

/* 下層ページタイトルの大きなロゴマーク */
.page-hero__mark { position: absolute; right: 150px; top: 45%; width: 220px; margin-top: -110px; z-index: 1;
  filter: drop-shadow(0 10px 30px rgba(120,40,0,.35)); animation: floatY 6s ease-in-out infinite; }
.page-hero__ring { right: 50px; }

/* ロゴに込めた想い */
.brand { position: relative; overflow: hidden; padding: 100px 0; color: #fff; background: var(--navy); }
.brand__glow { position: absolute; left: 10%; top: 50%; width: 600px; height: 600px; margin-top: -300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(243,213,138,.35), transparent 65%); animation: beat 6s ease-in-out infinite; }
.brand__inner { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.brand__logo img { width: min(380px, 100%); margin: 0 auto; filter: drop-shadow(0 10px 40px rgba(243,213,138,.35)); }
.sec-label--light { color: #fff; }
.sec-label--light .en { color: #f3d58a; }
.sec-label--light::before { background: linear-gradient(#f3d58a, #c9a24a); }
.brand h2 { margin: 18px 0 20px; font-size: clamp(24px, 3vw, 36px); font-weight: 900; line-height: 1.5; }
.brand__text p:not(.sec-label) { font-size: 15px; opacity: .9; }
.brand__text p + p { margin-top: 1em; }

@media (max-width: 1080px) {
  .page-hero__mark { right: 40px; width: 160px; margin-top: -80px; }
}
@media (max-width: 860px) {
  .page-hero__mark { right: -10px; top: auto; bottom: 70px; width: 110px; margin: 0; opacity: .9; }
  .page-hero__ring { right: -100px; }
  .brand { padding: 70px 0; }
  .brand__inner { grid-template-columns: 1fr; gap: 30px; }
  .brand__logo img { width: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .splash { display: none; }
  .hero__logo::after, .page-hero__mark, .brand__glow { animation: none; }
}


/* =========================================
   Contact form
   ========================================= */
.contact { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.contact__text { margin-top: 20px; font-size: 14px; }
.contact__mail { margin-top: 28px; padding: 20px 24px; background: #fff; border-left: 4px solid var(--orange); }
.contact__mail-label { font-size: 12px; color: var(--orange); font-weight: 700; }
.contact__mail-address { font-family: var(--font-en); font-size: 20px; color: var(--navy); font-weight: 600; user-select: all; }
.contact-form { background: #fff; padding: 40px; box-shadow: 0 8px 30px rgba(180,120,40,.1); display: grid; gap: 22px; }
.contact-form__hp { position: absolute; left: -9999px; }
.form-row { display: grid; gap: 8px; }
.form-row > label { font-weight: 700; color: var(--navy); font-size: 14px; display: flex; align-items: center; gap: 8px; }
.req { font-size: 10px; color: #fff; background: var(--orange); padding: 1px 8px; border-radius: 999px; font-weight: 700; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--text);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 6px; background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240,122,26,.15); background: #fff; }
.form-row--check label { font-weight: 500; }
.form-row--check input { width: 18px; height: 18px; accent-color: var(--orange); }
.form-submit { text-align: center; margin-top: 6px; }
.form-submit .btn { border: 0; cursor: pointer; font-family: inherit; min-width: 240px; }
.thanks { text-align: center; display: grid; gap: 32px; justify-items: center; }
@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; gap: 32px; }
  .contact-form { padding: 28px 20px; }
}


/* =========================================
   Privacy policy
   ========================================= */
.policy { max-width: 820px; display: grid; gap: 32px; }
.policy__lead { font-size: 15px; }
.policy__item h2 { font-size: 18px; font-weight: 900; color: var(--navy); padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.policy__item p { font-size: 14px; }
.policy__date { text-align: right; font-size: 13px; }
.policy-link { color: var(--orange); text-decoration: underline; }
