/* =========================================================
   株式会社デイズワールド  — 明るく・楽しく・よく動く
   ========================================================= */
:root {
  --bg: #FFF8EC;
  --bg2: #FFF1DC;
  --ink: #3A2E39;
  --ink2: #6B5A66;
  --line: #5B3F4E;
  --mon: #FF6B6B;
  --tue: #FF9A3C;
  --wed: #FFC93C;
  --thu: #3DD6B5;
  --fri: #4DA8FF;
  --sat: #9B7BFF;
  --sun: #FF8FB8;
  --white: #fff;
  --r: 28px;
  --jp: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --en: "Fredoka", "Zen Maru Gothic", sans-serif;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--jp); font-weight: 500; font-size: 16px; line-height: 1.9;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.en { font-family: var(--en); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { width: min(1180px, 100% - 40px); margin: 0 auto; position: relative; }
.pc-only { display: inline; }
@media (max-width: 767px) { .pc-only { display: none; } }

/* ---------- 共通パーツ ---------- */
.btn {
  --c: var(--mon);
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.8em; border-radius: 999px;
  background: var(--c); color: #fff; font-weight: 900; letter-spacing: .04em;
  border: 3px solid var(--line); box-shadow: 0 6px 0 var(--line);
  transition: transform .25s var(--spring), box-shadow .25s var(--spring);
  position: relative; white-space: nowrap;
}
.btn:hover { transform: translateY(-3px) rotate(-1.5deg); box-shadow: 0 9px 0 var(--line); }
.btn:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--line); transition-duration: .08s; }
.btn .arw { display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: #fff; color: var(--c); font-size: .8em; transition: transform .3s var(--spring); }
.btn:hover .arw { transform: translateX(4px) rotate(360deg); }
.btn--white { --c: #fff; color: var(--ink); }
.btn--white .arw { background: var(--mon); color: #fff; }
.btn--yellow { --c: var(--wed); color: var(--ink); }
.btn--yellow .arw { background: var(--ink); color: var(--wed); }

.sec { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.sec-head { text-align: center; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head .en-title {
  font-family: var(--en); font-weight: 700; font-size: clamp(15px, 1.6vw, 18px);
  letter-spacing: .25em; color: var(--mon); display: inline-flex; gap: .5em; align-items: center;
}
.sec-head .en-title i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.sec-head h2 {
  margin: .3em 0 0; font-weight: 900; font-size: clamp(28px, 4.4vw, 50px); line-height: 1.35; letter-spacing: .02em;
}
.sec-head p { margin: 1.1em auto 0; max-width: 40em; color: var(--ink2); }
.mark { background: linear-gradient(transparent 58%, var(--wed) 58%, var(--wed) 92%, transparent 92%); padding: 0 .1em; }

/* 1文字ずつ弾む見出し */
.split .ch { display: inline-block; opacity: 0; transform: translateY(.7em) scale(.6) rotate(-8deg); }
.split.in .ch { animation: chPop .7s var(--spring) forwards; animation-delay: calc(var(--i) * 38ms); }
@keyframes chPop { to { opacity: 1; transform: none; } }

/* スクロールで出てくる */
.rv { opacity: 0; transform: translateY(40px) scale(.97); transition: opacity .9s var(--out), transform 1s var(--spring); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.rv-pop { opacity: 0; transform: scale(.4) rotate(-10deg); transition: opacity .5s, transform .8s var(--spring); transition-delay: var(--d, 0s); }
.rv-pop.in { opacity: 1; transform: none; }

/* 波の区切り */
.wave { display: block; width: 100%; height: clamp(40px, 6vw, 90px); }
.wave path { animation: waveMove 7s ease-in-out infinite alternate; }
@keyframes waveMove { to { transform: translateX(-4%); } }

/* ---------- ローディング ---------- */
#loader {
  position: fixed; inset: 0; z-index: 1000; background: var(--bg);
  display: grid; place-items: center; overflow: hidden;
  clip-path: circle(150% at 50% 50%);
}
#loader::before {
  content: ""; position: absolute; inset: -20%;
  background-image: radial-gradient(circle, rgba(91, 63, 78, .09) 2px, transparent 2.5px);
  background-size: 34px 34px; animation: dotDrift 12s linear infinite;
}
@keyframes dotDrift { to { transform: translate(34px, 34px); } }
.ld-stage { position: relative; width: 320px; height: 320px; }
.ld-ball {
  position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%; background: var(--c); border: 3px solid var(--line);
  box-shadow: inset -6px -8px 0 rgba(0, 0, 0, .12), inset 6px 6px 0 rgba(255, 255, 255, .45);
  transform: translate(var(--x), -60vh); opacity: 0;
}
.ld-ball::after { content: ""; position: absolute; left: 9px; top: 7px; width: 10px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .8); }
.ld-ball .d { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 10px; font: 700 12px var(--en); color: var(--ink2); letter-spacing: .08em; opacity: 0; transition: opacity .3s; }
.ld-flower { position: absolute; inset: 0; }
.ld-face {
  position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px;
  transform: scale(0); z-index: 2;
}
.ld-logo {
  position: absolute; left: 0; right: 0; top: calc(100% + 10px); text-align: center;
  font: 700 40px/1 var(--en); letter-spacing: .02em; white-space: nowrap;
}
.ld-logo span { display: inline-block; opacity: 0; transform: translateY(30px) scale(.4); }
.ld-logo small { display: block; margin-top: 12px; font: 700 13px var(--jp); letter-spacing: .5em; color: var(--ink2); opacity: 0; }
.ld-skip {
  position: absolute; right: 22px; bottom: 22px; z-index: 3;
  background: #fff; border: 2.5px solid var(--line); border-radius: 999px; padding: 6px 16px;
  font: 700 13px var(--en); letter-spacing: .12em; box-shadow: 0 3px 0 var(--line);
}
.ld-bar { position: absolute; left: 50%; bottom: 50px; width: 180px; height: 10px; margin-left: -90px; border-radius: 99px; border: 2.5px solid var(--line); background: #fff; overflow: hidden; }
.ld-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--mon), var(--tue), var(--wed), var(--thu), var(--fri), var(--sat), var(--sun)); }

/* ---------- ヘッダー ---------- */
.hdr {
  position: fixed; z-index: 100; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1240px, 100% - 24px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 10px 8px 20px; border-radius: 999px;
  background: rgba(255, 255, 255, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 2.5px solid var(--line); box-shadow: 0 5px 0 rgba(91, 63, 78, .18);
  transition: transform .5s var(--spring), padding .3s;
}
.hdr.hide { transform: translate(-50%, -140%); }
.logo { display: flex; align-items: center; gap: 10px; line-height: 1; }
.logo svg { width: 44px; height: 44px; flex: none; transition: transform .8s var(--spring); }
.logo:hover svg { transform: rotate(360deg) scale(1.1); }
.logo b { font: 700 22px var(--en); letter-spacing: .01em; display: block; }
.logo small { font-size: 10px; letter-spacing: .32em; color: var(--ink2); font-weight: 700; display: block; margin-top: 4px; }
.gnav { display: flex; align-items: center; gap: 4px; }
.gnav a { padding: 8px 13px; border-radius: 999px; font-weight: 700; font-size: 14.5px; position: relative; transition: background .25s, color .25s; }
.gnav a::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--mon)); transform: translateX(-50%) scale(0); transition: transform .35s var(--spring); }
.gnav a:hover::after { transform: translateX(-50%) scale(1); }
.gnav a:hover { color: var(--c, var(--mon)); }
.gnav .btn { padding: .6em 1.3em; font-size: 14px; margin-left: 6px; box-shadow: 0 4px 0 var(--line); color: #fff; }
.gnav .btn::after { display: none; }
.gnav .btn:hover { color: #fff; }
.burger { display: none; width: 50px; height: 50px; border-radius: 50%; border: 2.5px solid var(--line); background: var(--wed); position: relative; }
.burger i { position: absolute; left: 13px; right: 13px; height: 3px; border-radius: 3px; background: var(--line); transition: transform .4s var(--spring), opacity .2s; }
.burger i:nth-child(1) { top: 16px; } .burger i:nth-child(2) { top: 22.5px; } .burger i:nth-child(3) { top: 29px; }
body.menu-open .burger i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .burger i:nth-child(2) { opacity: 0; }
body.menu-open .burger i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.spmenu {
  position: fixed; inset: 0; z-index: 90; background: var(--wed);
  clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .7s cubic-bezier(.7, 0, .2, 1);
  display: flex; flex-direction: column; justify-content: center; padding: 90px 32px 40px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .5) 2px, transparent 2.5px); background-size: 26px 26px;
}
body.menu-open .spmenu { clip-path: circle(150% at calc(100% - 40px) 40px); }
.spmenu a { display: flex; align-items: baseline; gap: 14px; font-size: 24px; font-weight: 900; padding: 10px 0; border-bottom: 2.5px dashed rgba(91, 63, 78, .3); opacity: 0; transform: translateX(40px); transition: .5s var(--spring); }
.spmenu a small { font: 700 12px var(--en); letter-spacing: .2em; color: var(--line); opacity: .7; }
body.menu-open .spmenu a { opacity: 1; transform: none; transition-delay: calc(.15s + var(--i) * 60ms); }
@media (max-width: 1080px) {
  .gnav { display: none; }
  .burger { display: block; }
}

/* ---------- ヒーロー ---------- */
.hero { position: relative; min-height: 100svh; padding: 130px 0 40px; overflow: hidden; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%; animation: blob 14s ease-in-out infinite alternate; opacity: .55; filter: blur(2px); }
.blob.b1 { width: 46vw; height: 46vw; right: -8vw; top: -6vw; background: #FFE08A; }
.blob.b2 { width: 30vw; height: 30vw; left: -10vw; bottom: -8vw; background: #FFC7DA; animation-duration: 18s; }
.blob.b3 { width: 18vw; height: 18vw; left: 38vw; top: 8vh; background: #BFF2E3; animation-duration: 11s; }
@keyframes blob {
  50% { border-radius: 60% 40% 35% 65% / 55% 60% 40% 45%; transform: rotate(40deg) scale(1.06); }
  100% { border-radius: 35% 65% 50% 50% / 40% 45% 55% 60%; transform: rotate(-20deg) scale(.96); }
}
.confetti-bg .cf { position: absolute; will-change: transform; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 30px; width: min(1280px, 100% - 40px); margin: 0 auto; position: relative; z-index: 2; }
.hero-copy .tag {
  display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 2.5px solid var(--line);
  border-radius: 999px; padding: 6px 16px 6px 8px; font-weight: 700; font-size: 14px; box-shadow: 0 4px 0 var(--line);
}
.hero-copy .tag .dots { display: inline-flex; gap: 3px; }
.hero-copy .tag .dots i { width: 9px; height: 9px; border-radius: 50%; animation: dotHop 1.6s var(--spring) infinite; animation-delay: calc(var(--i) * .1s); }
@keyframes dotHop { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-5px); } }
.hero h1 { margin: 22px 0 0; font-weight: 900; font-size: clamp(42px, 6.6vw, 92px); line-height: 1.18; letter-spacing: .01em; }
.hero h1 .l { display: block; white-space: nowrap; }
.hero h1 .wk { position: relative; display: inline-block; }
.hero h1 .wk .ch { background: linear-gradient(180deg, var(--mon), var(--sun)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .wk svg { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .35em; overflow: visible; }
.hero h1 .wk svg path { stroke-dasharray: 600; stroke-dashoffset: 600; }
.hero h1.in .wk svg path { transition: stroke-dashoffset 1.2s .9s var(--out); stroke-dashoffset: 0; }
.hero-lead { margin: 26px 0 0; font-size: clamp(15px, 1.4vw, 18px); font-weight: 700; color: var(--ink2); max-width: 30em; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 34px; }
.hero-visual { position: relative; aspect-ratio: 1; width: 112%; max-width: 720px; justify-self: center; }
.planet-wrap { position: absolute; inset: 1%; }
.planet { width: 100%; height: 100%; animation: spin 70s linear infinite; filter: drop-shadow(0 18px 0 rgba(91, 63, 78, .12)); }
.planet img { width: 100%; height: 100%; object-fit: contain; }
@keyframes spin { to { transform: rotate(-360deg); } }
.orbit { position: absolute; inset: -2%; border: 2.5px dashed rgba(91, 63, 78, .25); border-radius: 50%; animation: spin 90s linear infinite reverse; }
.cloud { position: absolute; width: 22%; animation: cloudFloat 7s ease-in-out infinite alternate; z-index: 3; }
.cloud.c1 { left: -6%; top: 16%; } .cloud.c2 { right: -4%; top: 58%; width: 17%; animation-delay: -3s; }
@keyframes cloudFloat { to { transform: translate(18px, -10px); } }
.bubble {
  position: absolute; z-index: 4; width: 25%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 5px solid #fff; outline: 2.5px solid var(--line); box-shadow: 0 8px 0 rgba(91, 63, 78, .2);
  animation: bob 5s ease-in-out infinite; animation-delay: var(--d, 0s);
}
.bubble img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--out); }
.bubble:hover img { transform: scale(1.12); }
.bubble.p1 { left: -4%; top: 52%; --d: -1s; }
.bubble.p2 { right: -2%; top: 4%; width: 22%; --d: -2.5s; }
.bubble.p3 { right: 6%; bottom: -2%; width: 20%; --d: -.5s; }
.bubble.p4 { left: 8%; top: -1%; width: 17%; --d: -3.5s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-16px) rotate(2deg); } }
.sticker {
  position: absolute; z-index: 5; font: 700 clamp(13px, 1.3vw, 17px) var(--en); letter-spacing: .06em;
  padding: 6px 14px; border-radius: 12px; border: 2.5px solid var(--line); box-shadow: 0 4px 0 var(--line);
  animation: wiggle 2.6s ease-in-out infinite;
}
.sticker.s1 { left: 12%; top: 46%; background: var(--wed); transform: rotate(-8deg); }
.sticker.s2 { right: 2%; top: 30%; background: var(--thu); color: #fff; animation-delay: -1.3s; }
@keyframes wiggle { 0%, 100% { rotate: -6deg; } 50% { rotate: 6deg; } }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3; font: 700 12px var(--en); letter-spacing: .3em; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.scroll-cue i { width: 26px; height: 40px; border: 2.5px solid var(--line); border-radius: 20px; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--mon); animation: cue 1.6s var(--out) infinite; }
@keyframes cue { to { transform: translateY(16px); opacity: 0; } }
@media (max-width: 900px) {
  .hero-visual { width: 100%; }
  .hero { padding-top: 110px; min-height: auto; }
  .hero-in { grid-template-columns: 1fr; gap: 10px; }
  .hero-visual { max-width: 480px; order: -1; width: 92%; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .scroll-cue { display: none; }
}

/* ---------- 流れる帯 ---------- */
.marquee { position: relative; z-index: 3; padding: 30px 0; overflow: hidden; }
.mq { display: flex; width: max-content; border-top: 3px solid var(--line); border-bottom: 3px solid var(--line); }
.mq.a { background: var(--mon); color: #fff; transform: rotate(-2.5deg); margin: 0 -40px; }
.mq.b { background: var(--wed); transform: rotate(1.8deg); margin: 18px -40px 0; }
.mq .row { display: flex; align-items: center; gap: 28px; padding: 12px 14px; white-space: nowrap; font: 700 clamp(20px, 2.6vw, 32px) var(--en); letter-spacing: .05em; animation: mq 26s linear infinite; }
.mq.b .row { animation-direction: reverse; font-family: var(--jp); font-weight: 900; font-size: clamp(16px, 2vw, 24px); }
.mq .row svg { width: 1.05em; height: 1.05em; flex: none; }
@keyframes mq { to { transform: translateX(-100%); } }

/* ---------- 私たちについて ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.polas { position: relative; aspect-ratio: 1 / .95; }
.pola { position: absolute; background: #fff; padding: 10px 10px 42px; border: 2.5px solid var(--line); border-radius: 10px; box-shadow: 0 8px 0 rgba(91, 63, 78, .18); transition: transform .5s var(--spring); }
.pola img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.pola figcaption { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font: 700 16px var(--en); color: var(--ink2); }
.pola::before { content: ""; position: absolute; top: -12px; left: 50%; width: 90px; height: 24px; margin-left: -45px; background: var(--tape, rgba(255, 201, 60, .75)); transform: rotate(-4deg); border-radius: 3px; }
.pola:hover { transform: rotate(0) scale(1.04) !important; z-index: 5; }
.pola.q1 { width: 58%; left: 0; top: 4%; transform: rotate(-6deg); }
.pola.q2 { width: 52%; right: 0; top: 0; transform: rotate(5deg); --tape: rgba(61, 214, 181, .7); }
.pola.q3 { width: 56%; left: 22%; bottom: 0; transform: rotate(-2deg); --tape: rgba(255, 143, 184, .75); }
.about-txt h2 { font-size: clamp(26px, 3.4vw, 42px); font-weight: 900; line-height: 1.45; margin: .3em 0 .7em; }
.about-txt p { margin: 0 0 1.2em; }
.week-dots { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.week-dots span { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font: 700 13px var(--en); color: #fff; border: 2.5px solid var(--line); background: var(--c); box-shadow: 0 4px 0 var(--line); transition: transform .4s var(--spring); }
.week-dots span:hover { transform: translateY(-8px) rotate(12deg); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- 事業内容 ---------- */
.biz { background: var(--bg2); }
.biz-main { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 3vw, 40px); }
.bcard {
  --c: var(--mon);
  position: relative; background: #fff; border: 3px solid var(--line); border-radius: var(--r);
  box-shadow: 8px 10px 0 var(--c); padding: 18px 18px 30px; transform-style: preserve-3d;
  transition: transform .5s var(--spring), box-shadow .5s var(--spring);
}
.bcard:hover { box-shadow: 12px 16px 0 var(--c); }
.bcard .ph { border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; border: 2.5px solid var(--line); }
.bcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--out); }
.bcard:hover .ph img { transform: scale(1.08); }
.bcard .ic { position: absolute; right: 14px; top: -70px; width: 130px; transform: translateZ(40px); animation: bob 4.5s ease-in-out infinite; pointer-events: none; }
.bcard .lbl { display: inline-block; margin: 22px 12px 0; font: 700 14px var(--en); letter-spacing: .2em; color: #fff; background: var(--c); border: 2.5px solid var(--line); padding: 2px 14px; border-radius: 999px; }
.bcard h3 { margin: 10px 12px 0; font-size: clamp(24px, 2.6vw, 32px); font-weight: 900; }
.bcard p { margin: 10px 12px 0; color: var(--ink2); }
.bcard ul { list-style: none; padding: 0; margin: 16px 12px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bcard li { font-size: 13.5px; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: var(--bg); border: 2px solid rgba(91, 63, 78, .25); }
.bcard.school { --c: var(--fri); }
.biz-sub { margin-top: clamp(60px, 7vw, 90px); }
.biz-sub h3 { text-align: center; font-size: clamp(20px, 2.2vw, 26px); font-weight: 900; margin: 0 0 30px; }
.biz-sub h3 span { background: linear-gradient(transparent 60%, #BFF2E3 60%); padding: 0 .2em; }
.minis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mini {
  --c: var(--thu);
  background: #fff; border: 2.5px solid var(--line); border-radius: 24px; padding: 14px 16px 22px; text-align: center;
  box-shadow: 0 6px 0 var(--c); transition: transform .4s var(--spring);
}
.mini:hover { transform: translateY(-8px) rotate(-1.5deg); }
.mini img { width: 52%; margin-top: 8px !important; margin-bottom: 10px !important; margin: 0 auto; transition: transform .6s var(--spring); }
.mini:hover img { transform: scale(1.12) rotate(-6deg); }
.mini b { display: block; font-size: 17px; font-weight: 900; }
.mini span { display: block; font-size: 13px; color: var(--ink2); line-height: 1.7; margin-top: 4px; }
@media (max-width: 900px) {
  .biz-main { grid-template-columns: 1fr; gap: 80px; margin-top: 30px; }
  .minis { grid-template-columns: repeat(2, 1fr); }
  .bcard .ic { width: 120px; top: -50px; }
}

/* ---------- ある1週間（横スクロール） ---------- */
.week { background: var(--ink); color: #fff; overflow: hidden; padding-bottom: 0; }
.week .sec-head h2 { color: #fff; }
.week .sec-head p { color: rgba(255, 255, 255, .75); }
.week .sec-head .en-title { color: var(--wed); }
.week-track { display: flex; gap: 26px; padding: 10px 6vw 90px; width: max-content; }
.day {
  --c: var(--mon);
  width: clamp(270px, 26vw, 360px); flex: none; background: #fff; color: var(--ink); border-radius: var(--r);
  border: 3px solid var(--c); overflow: hidden; position: relative; transition: transform .5s var(--spring);
}
.day:hover { transform: translateY(-10px) rotate(-1deg); }
.day .ph { aspect-ratio: 4 / 3; overflow: hidden; }
.day .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--out); }
.day:hover .ph img { transform: scale(1.08); }
.day .dnum { position: absolute; left: 14px; top: 14px; width: 66px; height: 66px; border-radius: 50%; background: var(--c); border: 3px solid #fff; color: #fff; display: grid; place-items: center; text-align: center; line-height: 1; }
.day .dnum b { font: 700 20px var(--en); display: block; }
.day .dnum small { font-size: 12px; font-weight: 900; }
.day .body { padding: 18px 22px 24px; }
.day h3 { margin: 0; font-size: 20px; font-weight: 900; }
.day p { margin: 6px 0 0; font-size: 14px; color: var(--ink2); line-height: 1.8; }
.week-note { position: absolute; right: 6vw; bottom: 34px; font-size: 12px; color: rgba(255, 255, 255, .6); }
.week-bar { position: absolute; left: 6vw; right: 6vw; bottom: 50px; height: 6px; background: rgba(255, 255, 255, .15); border-radius: 9px; }
.week-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 9px; background: linear-gradient(90deg, var(--mon), var(--tue), var(--wed), var(--thu), var(--fri), var(--sat), var(--sun)); }
@media (max-width: 900px) {
  .week-scroller { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .week-scroller::-webkit-scrollbar { display: none; }
  .day { scroll-snap-align: center; width: 78vw; }
  .week-bar { display: none; }
}

/* ---------- 参加のしかた ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 60px); position: relative; }
.steps svg.path { position: absolute; left: 10%; right: 10%; top: 62px; width: 80%; height: 60px; overflow: visible; z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; }
.step .num {
  width: 124px; height: 124px; margin: 0 auto; border-radius: 50%; background: var(--c); border: 3px solid var(--line);
  display: grid; place-items: center; box-shadow: 0 7px 0 var(--line); position: relative;
}
.step .num img { width: 66%; }
.step .num b { position: absolute; top: -8px; right: -8px; width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 2.5px solid var(--line); display: grid; place-items: center; font: 700 18px var(--en); }
.step h3 { font-size: 21px; font-weight: 900; margin: 22px 0 6px; }
.step p { margin: 0; color: var(--ink2); font-size: 15px; }
@media (max-width: 767px) { .steps { grid-template-columns: 1fr; gap: 44px; } .steps svg.path { display: none; } }

/* ---------- ギャラリー ---------- */
.gallery { background: var(--bg2); overflow: hidden; }
.g-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; height: clamp(560px, 70vw, 860px); overflow: hidden; border-radius: var(--r); position: relative; }
.g-cols::before, .g-cols::after { content: ""; position: absolute; left: 0; right: 0; height: 90px; z-index: 2; pointer-events: none; }
.g-cols::before { top: 0; background: linear-gradient(var(--bg2), transparent); }
.g-cols::after { bottom: 0; background: linear-gradient(transparent, var(--bg2)); }
.g-col { display: flex; flex-direction: column; gap: 16px; will-change: transform; }
.g-col figure { margin: 0; border-radius: 20px; overflow: hidden; border: 2.5px solid var(--line); position: relative; }
.g-col figure img { width: 100%; aspect-ratio: var(--ar, 3 / 4); object-fit: cover; transition: transform .8s var(--out); }
.g-col figure:hover img { transform: scale(1.1); }
.g-col figure figcaption { position: absolute; left: 10px; bottom: 10px; background: #fff; border: 2px solid var(--line); border-radius: 99px; padding: 0 12px; font-size: 12.5px; font-weight: 700; transform: translateY(150%); transition: transform .4s var(--spring); }
.g-col figure:hover figcaption { transform: none; }
@media (max-width: 767px) { .g-cols { grid-template-columns: repeat(2, 1fr); } .g-col:nth-child(n+3) { display: none; } }

/* ---------- お知らせ ---------- */
.news-list { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; }
.news-list li a { display: grid; grid-template-columns: auto auto 1fr auto; gap: 18px; align-items: center; padding: 22px 26px; margin-bottom: 14px; background: #fff; border: 2.5px solid var(--line); border-radius: 22px; transition: transform .35s var(--spring), box-shadow .35s; }
.news-list li a:hover { transform: translateX(8px); box-shadow: -6px 6px 0 var(--wed); }
.news-list time { font: 600 15px var(--en); color: var(--ink2); }
.news-list .cat { font-size: 12px; font-weight: 900; padding: 2px 12px; border-radius: 99px; color: #fff; background: var(--c, var(--mon)); }
.news-list .go { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; transition: transform .4s var(--spring), background .3s; }
.news-list li a:hover .go { transform: rotate(-45deg); background: var(--wed); }
@media (max-width: 600px) { .news-list li a { grid-template-columns: auto 1fr; gap: 6px 12px; } .news-list .ttl { grid-column: 1 / -1; } .news-list .go { display: none; } }

/* ---------- 会社概要 ---------- */
.company-card { max-width: 920px; margin: 0 auto; background: #fff; border: 3px solid var(--line); border-radius: var(--r); padding: clamp(18px, 4vw, 50px); box-shadow: 10px 12px 0 var(--thu); position: relative; }
.company-card .ic { position: absolute; right: -30px; top: -70px; width: 120px; animation: bob 5s ease-in-out infinite; }
.company-card dl { margin: 0; display: grid; grid-template-columns: 180px 1fr; }
.company-card dt, .company-card dd { padding: 18px 8px; border-bottom: 2px dashed rgba(91, 63, 78, .22); margin: 0; }
.company-card dt { font-weight: 900; display: flex; align-items: center; gap: 10px; }
.company-card dt::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--mon)); flex: none; }
.company-card dl > :nth-last-child(-n+2) { border-bottom: 0; }
.company-card .biz-list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.company-card .biz-list li { font-size: 13.5px; background: var(--bg); border-radius: 99px; padding: 1px 12px; border: 1.5px solid rgba(91, 63, 78, .2); }
.rep-img { height: 1.55em; width: auto; display: inline-block; vertical-align: middle; }
.company-card a.lnk { color: var(--fri); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; word-break: break-all; }
@media (max-width: 640px) { .company-card dl { grid-template-columns: 1fr; } .company-card dt { border-bottom: 0; padding-bottom: 0; } .company-card .ic { width: 100px; right: -6px; top: -58px; } }

/* ---------- お問い合わせ ---------- */
.contact { background: var(--wed); overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255, 255, 255, .55) 2.5px, transparent 3px); background-size: 30px 30px; }
.contact-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; position: relative; }
.contact .mini-planet { width: min(360px, 80%); margin: 30px auto 0; animation: spin 40s linear infinite; }
.contact h2 { font-size: clamp(30px, 4.4vw, 54px); font-weight: 900; line-height: 1.3; margin: .2em 0 .5em; }
.form { background: #fff; border: 3px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3.5vw, 42px); box-shadow: 10px 12px 0 var(--line); }
.form label { display: block; font-weight: 900; font-size: 14.5px; margin-bottom: 18px; }
.form label em { font-style: normal; font-size: 11px; color: #fff; background: var(--mon); border-radius: 6px; padding: 1px 7px; margin-left: 6px; vertical-align: 2px; }
.form input, .form textarea, .form select {
  display: block; width: 100%; margin-top: 7px; padding: 13px 16px; font: 500 16px var(--jp); color: var(--ink);
  background: var(--bg); border: 2.5px solid rgba(91, 63, 78, .3); border-radius: 16px; outline: none; transition: border-color .2s, box-shadow .3s var(--spring), transform .3s var(--spring);
}
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--fri); box-shadow: 0 5px 0 var(--fri); transform: translateY(-2px); background: #fff; }
.form .kinds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.form .kinds label { margin: 0; font-weight: 700; font-size: 14px; }
.form .kinds input { display: none; }
.form .kinds span { display: inline-block; padding: 6px 16px; border-radius: 99px; border: 2.5px solid rgba(91, 63, 78, .3); cursor: pointer; transition: .3s var(--spring); }
.form .kinds input:checked + span { background: var(--c); color: #fff; border-color: var(--line); transform: scale(1.06); box-shadow: 0 3px 0 var(--line); }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.toast { position: fixed; left: 50%; bottom: 30px; z-index: 300; transform: translate(-50%, 150%); background: var(--ink); color: #fff; padding: 14px 26px; border-radius: 99px; font-weight: 700; transition: transform .5s var(--spring); }
.toast.show { transform: translate(-50%, 0); }
@media (max-width: 900px) { .contact-in { grid-template-columns: 1fr; } .contact .mini-planet { display: none; } .contact-copy { text-align: center; } }

/* ---------- フッター ---------- */
.ftr { background: var(--ink); color: #fff; padding: 20px 0 30px; position: relative; }
.ftr .wave-top { position: absolute; left: 0; right: 0; bottom: 100%; }
.ftr-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; padding: 40px 0 30px; border-bottom: 1.5px solid rgba(255, 255, 255, .15); }
.ftr .logo small { color: rgba(255, 255, 255, .6); }
.ftr address { font-style: normal; font-size: 14px; color: rgba(255, 255, 255, .75); margin-top: 16px; }
.ftr nav { display: grid; grid-template-columns: repeat(2, auto); gap: 6px 40px; font-size: 14.5px; font-weight: 700; }
.ftr nav a:hover { color: var(--wed); }
.ftr .copy { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: rgba(255, 255, 255, .55); padding-top: 22px; }
.ftr .copy a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 小物：進捗バー・カーソル・風船 ---------- */
.progress { position: fixed; left: 0; top: 0; height: 5px; width: 100%; z-index: 200; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--mon), var(--tue), var(--wed), var(--thu), var(--fri), var(--sat), var(--sun)); }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 80; width: 64px; background: none; border: 0; padding: 0; opacity: 0; transform: translateY(40px); transition: opacity .4s, transform .5s var(--spring); }
.to-top.show { opacity: 1; transform: none; }
.to-top svg { width: 100%; animation: bob 3.5s ease-in-out infinite; overflow: visible; }
.to-top.fly { transition: transform 1.3s cubic-bezier(.5, 0, .8, .4), opacity 1.3s; transform: translateY(-110vh) rotate(-10deg); opacity: 1; }
.to-top .t { font: 700 11px var(--en); }
.fx-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 250; }
.cursor-dot { position: fixed; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--mon); pointer-events: none; z-index: 400; mix-blend-mode: multiply; transition: width .3s var(--spring), height .3s var(--spring), margin .3s var(--spring), background .3s; }
.cursor-dot.big { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: rgba(255, 201, 60, .55); }
@media (hover: none), (max-width: 900px) { .cursor-dot { display: none; } }

/* 電子公告ページ */
.plain { padding: 150px 0 100px; min-height: 70vh; }
.plain h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 900; }
.plain .box { background: #fff; border: 3px solid var(--line); border-radius: var(--r); padding: 30px; box-shadow: 8px 10px 0 var(--wed); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .rv, .rv-pop, .split .ch { opacity: 1; transform: none; }
}

/* ---------- スマホ微調整 ---------- */
@media (max-width: 600px) {
  .hero h1 { font-size: 9.2vw; }
  .hero-lead { font-size: 14.5px; }
  .sec-head h2 { font-size: max(22px, 6.3vw); }
  .mini { padding: 12px 10px 18px; }
  .mini b { font-size: 15px; }
  .mini span br { display: none; }
  .week-dots { gap: 7px; }
  .week-dots span { width: 40px; height: 40px; font-size: 11px; }
  .to-top { width: 48px; right: 12px; bottom: 12px; }
}

/* =========================================================
   v2: 固定ページ・共通パーツ
   ========================================================= */
.en-title { font-family: var(--en); font-weight: 700; font-size: clamp(15px, 1.6vw, 18px); letter-spacing: .25em; color: var(--mon); display: inline-flex; gap: .5em; align-items: center; }
.en-title i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.btn--blue { --c: var(--fri); }
.btn--big { font-size: clamp(16px, 1.6vw, 20px); padding: 1.1em 2.2em; }
.center-btn { text-align: center; margin-top: 44px; }
.about-txt .more { margin-top: 30px; }
.gnav a[aria-current="page"] { color: var(--c, var(--mon)); }
.gnav a[aria-current="page"]::after { transform: translateX(-50%) scale(1); }
.spmenu a[aria-current="page"] { color: var(--mon); }

/* 事業カード（リンク化） */
a.bcard { display: block; }
.bcard .go { display: inline-flex; align-items: center; gap: 8px; margin: 18px 12px 0; font-weight: 900; color: var(--c); }
.bcard .go .arw { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--c); color: #fff; border: 2px solid var(--line); transition: transform .4s var(--spring); }
.bcard:hover .go .arw { transform: translateX(6px); }
a.mini { display: block; }

/* 会社概要・お問い合わせの入口 */
.links-sec { padding-top: 20px; }
.link-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.lcard { --c: var(--mon); position: relative; display: grid; grid-template-columns: 44% 1fr; align-items: center; gap: 22px; background: #fff; border: 3px solid var(--line); border-radius: var(--r); padding: 14px; box-shadow: 8px 10px 0 var(--c); transition: transform .5s var(--spring), box-shadow .5s var(--spring); }
.lcard:hover { box-shadow: 12px 15px 0 var(--c); }
.lcard .ph { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; border: 2.5px solid var(--line); }
.lcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--out); }
.lcard:hover .ph img { transform: scale(1.08); }
.lcard .txt .en { display: block; font: 700 13px var(--en); letter-spacing: .25em; color: var(--c); }
.lcard .txt b { display: block; font-size: clamp(22px, 2.4vw, 28px); font-weight: 900; }
.lcard .txt span:last-child { font-size: 14px; color: var(--ink2); }
.lcard .go { position: absolute; right: 18px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; background: var(--c); color: #fff; border: 2.5px solid var(--line); display: grid; place-items: center; font-weight: 900; transition: transform .4s var(--spring); }
.lcard:hover .go { transform: rotate(-45deg) scale(1.1); }
@media (max-width: 800px) { .link-cards { grid-template-columns: 1fr; } }

/* 共通のお問い合わせ帯 */
.cta-band { background: var(--wed); position: relative; overflow: hidden; padding: clamp(70px, 9vw, 120px) 0; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255, 255, 255, .55) 2.5px, transparent 3px); background-size: 30px 30px; }
.cta-in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(20px, 4vw, 60px); position: relative; }
.cta-planet { width: clamp(150px, 18vw, 260px); animation: spin 40s linear infinite; }
.cta-copy .en-title { color: var(--line); }
.cta-copy h2 { font-size: clamp(26px, 3.2vw, 42px); white-space: nowrap; font-weight: 900; line-height: 1.35; margin: .2em 0 .3em; }
.cta-copy p { margin: 0; }
@media (max-width: 900px) { .cta-in { grid-template-columns: 1fr; text-align: center; justify-items: center; } .cta-planet { width: 160px; } }

/* ページ見出し */
.page-hero { --c: var(--mon); --tint: color-mix(in srgb, var(--c) 16%, #FFF8EC); position: relative; padding: 140px 0 50px; background: var(--tint); overflow: hidden; }
.ph-bg { position: absolute; inset: 0; pointer-events: none; }
.page-hero .blob.b1 { background: color-mix(in srgb, var(--c) 35%, #fff); width: 40vw; height: 40vw; right: -10vw; top: -14vw; opacity: .7; }
.page-hero .blob.b2 { background: #fff; width: 22vw; height: 22vw; left: -8vw; bottom: -10vw; opacity: .7; }
.ph-in { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; position: relative; z-index: 2; }
.crumb { font-size: 13px; font-weight: 700; color: var(--ink2); display: flex; gap: 8px; flex-wrap: wrap; }
.crumb a { text-decoration: underline; text-underline-offset: 3px; }
.ph-en { display: block; margin-top: 22px; font: 700 clamp(15px, 1.6vw, 18px) var(--en); letter-spacing: .3em; color: color-mix(in srgb, var(--c) 80%, #000); }
.page-hero h1 { margin: .15em 0 .35em; font-size: clamp(34px, 5.4vw, 68px); font-weight: 900; line-height: 1.2; }
.page-hero p { margin: 0; max-width: 32em; font-weight: 700; color: var(--ink2); }
.ph-visual { position: relative; min-height: 120px; }
.ph-photo { border-radius: 42% 58% 55% 45% / 50% 45% 55% 50%; overflow: hidden; border: 4px solid var(--line); box-shadow: 10px 12px 0 var(--c); aspect-ratio: 4 / 3; animation: blobShape 12s ease-in-out infinite alternate; }
.ph-photo img { width: 100%; height: 100%; object-fit: cover; }
@keyframes blobShape { to { border-radius: 58% 42% 45% 55% / 45% 55% 45% 55%; } }
.ph-icon { position: absolute; width: clamp(90px, 11vw, 150px); left: -30px; bottom: -30px; animation: bob 4s ease-in-out infinite; z-index: 3; }
.ph-visual:not(:has(.ph-photo)) .ph-icon { position: static; display: block; margin-left: auto; width: clamp(110px, 14vw, 190px); }
.ph-wave { display: block; margin-top: -2px; }
.ph-wave-wrap { background: var(--tint); }
@media (max-width: 900px) {
  .page-hero { padding-top: 110px; }
  .ph-in { grid-template-columns: 1fr; gap: 26px; }
  .ph-visual { max-width: 460px; width: 88%; margin: 0 auto; }
  .ph-icon { left: -14px; bottom: -20px; }
  .ph-visual:not(:has(.ph-photo)) { display: none; }
}

/* 私たちについて：メッセージ */
.msg-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.msg-photo { margin: 0; position: relative; }
.msg-photo img { border-radius: var(--r); border: 3px solid var(--line); box-shadow: -10px 12px 0 var(--mon); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.msg-photo .sticker { left: auto; right: -14px; top: 20px; }
.msg-txt h2, .origin-txt h2, .intro2 h2, .forbiz h2 { font-size: clamp(26px, 3.4vw, 42px); font-weight: 900; line-height: 1.45; margin: .3em 0 .7em; }
.sign { margin-top: 28px; font-weight: 700; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.sign .rep-img { height: 2em; }
@media (max-width: 900px) { .msg-grid { grid-template-columns: 1fr; } .msg-photo { max-width: 420px; margin: 0 auto; } }

/* 名前とロゴ */
.origin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.big-flower { width: min(440px, 100%); margin: 0 auto; display: block; overflow: visible; }
.big-flower .spinner { transform-origin: 200px 200px; animation: spin 40s linear infinite; }
.big-flower .petals ellipse { opacity: 0; }
.origin.in .big-flower .petals ellipse { animation: petalIn .7s var(--spring) forwards; }
.big-flower .dlabels text { opacity: 0; }
.origin.in .big-flower .dlabels text { animation: petalIn .5s forwards; }
.big-flower .pface { transform-origin: 200px 200px; transform: scale(0); }
.origin.in .big-flower .pface { animation: faceIn .8s 1s var(--spring) forwards; }
@keyframes petalIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes faceIn { to { transform: scale(1); } }
.day-legend { list-style: none; padding: 0; margin: 24px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.day-legend li { width: 44px; height: 44px; border-radius: 50%; background: var(--c); color: #fff; font-weight: 900; display: grid; place-items: center; border: 2.5px solid var(--line); box-shadow: 0 4px 0 var(--line); transition: transform .4s var(--spring); }
.day-legend li:hover { transform: translateY(-8px) rotate(12deg); }
@media (max-width: 900px) { .origin-grid { grid-template-columns: 1fr; } .big-flower { width: 300px; } }

/* 大切にしていること */
.values { background: var(--bg2); }
.vcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.vcard { --c: var(--mon); background: #fff; border: 3px solid var(--line); border-radius: var(--r); padding: 30px 26px; box-shadow: 0 8px 0 var(--c); position: relative; text-align: center; transition: transform .4s var(--spring); }
.vcard:hover { transform: translateY(-8px) rotate(-1deg); }
.vcard .vnum { position: absolute; left: 18px; top: 12px; font: 700 40px var(--en); color: var(--c); }
.vcard img { width: 110px; margin: 6px auto 8px; }
.vcard h3 { font-size: 22px; font-weight: 900; margin: 0 0 8px; }
.vcard p { margin: 0; color: var(--ink2); font-size: 15px; text-align: left; }
@media (max-width: 900px) { .vcards { grid-template-columns: 1fr; } }

/* 事業一覧（横長カード） */
.svc-grid, .company-links { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.company-links { max-width: 920px; margin: 50px auto 0; }
.svc { --c: var(--mon); position: relative; display: flex; align-items: center; gap: 18px; background: #fff; border: 2.5px solid var(--line); border-radius: 24px; padding: 16px 60px 16px 16px; box-shadow: 0 6px 0 var(--c); transition: transform .4s var(--spring); }
a.svc:hover { transform: translateY(-5px); }
.svc img { width: 84px; flex: none; background: color-mix(in srgb, var(--c) 18%, #fff); border-radius: 50%; padding: 8px; }
.svc b { display: block; font-size: 18px; font-weight: 900; }
.svc span { font-size: 13.5px; color: var(--ink2); line-height: 1.7; }
.svc .go { position: absolute; right: 16px; top: 50%; margin-top: -18px; width: 36px; height: 36px; border-radius: 50%; background: var(--c); color: #fff; border: 2px solid var(--line); display: grid; place-items: center; font-weight: 900; }
@media (max-width: 800px) { .svc-grid, .company-links { grid-template-columns: 1fr; } }

/* イベント・スクール */
.intro2-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(20px, 5vw, 70px); align-items: start; }
@media (max-width: 800px) { .intro2-grid { grid-template-columns: 1fr; } }
.kinds-sec { padding-top: 0; }
.kcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.kcard { --c: var(--mon); background: #fff; border: 3px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: 6px 8px 0 var(--c); transition: transform .45s var(--spring), box-shadow .45s var(--spring); }
.kcard:hover { transform: translateY(-8px) rotate(-.8deg); box-shadow: 9px 13px 0 var(--c); }
.kcard .ph { aspect-ratio: 3 / 2; overflow: hidden; border-bottom: 3px solid var(--line); }
.kcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--out); }
.kcard:hover .ph img { transform: scale(1.08); }
.kcard .body { padding: 18px 22px 24px; }
.ktag { display: inline-block; font-size: 12px; font-weight: 900; color: #fff; background: var(--c); border-radius: 99px; padding: 1px 12px; border: 2px solid var(--line); }
.kcard h3 { margin: 10px 0 6px; font-size: 20px; font-weight: 900; }
.kcard p { margin: 0; font-size: 14.5px; color: var(--ink2); line-height: 1.8; }
@media (max-width: 1000px) { .kcards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .kcards { grid-template-columns: 1fr; } }
.forbiz { background: var(--bg2); }
.forbiz-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.forbiz-photo { position: relative; }
.forbiz-photo > img:first-child { border-radius: var(--r); border: 3px solid var(--line); box-shadow: 10px 12px 0 var(--sat); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.forbiz-photo .ic { position: absolute; width: 130px; right: -30px; bottom: -30px; animation: bob 4.5s ease-in-out infinite; }
.flow { list-style: none; padding: 0; margin: 26px 0 30px; counter-reset: f; }
.flow li { counter-increment: f; position: relative; padding: 10px 0 10px 64px; margin-bottom: 6px; }
.flow li::before { content: counter(f); position: absolute; left: 0; top: 6px; width: 44px; height: 44px; border-radius: 50%; background: var(--c); color: #fff; font: 700 20px var(--en); display: grid; place-items: center; border: 2.5px solid var(--line); }
.flow li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 52px; bottom: -12px; border-left: 3px dotted rgba(91, 63, 78, .35); }
.flow b { display: block; font-size: 17px; font-weight: 900; }
.flow span { font-size: 14px; color: var(--ink2); }
@media (max-width: 900px) { .forbiz-grid { grid-template-columns: 1fr; } .forbiz-photo { max-width: 420px; margin: 0 auto; } .forbiz-photo .ic { right: -10px; width: 100px; } }
.ways { background: var(--bg2); }
.way-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.way { --c: var(--mon); position: relative; background: #fff; border: 3px solid var(--line); border-radius: var(--r); padding: 16px 16px 28px; box-shadow: 8px 10px 0 var(--c); transition: transform .5s var(--spring); }
.way .ph { border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; border: 2.5px solid var(--line); }
.way .ph img { width: 100%; height: 100%; object-fit: cover; }
.way .ic { position: absolute; width: 110px; right: 12px; top: -44px; animation: bob 4.5s ease-in-out infinite; }
.way h3 { margin: 20px 12px 8px; font-size: 24px; font-weight: 900; }
.way ul { margin: 0 12px; padding: 0; list-style: none; }
.way li { position: relative; padding-left: 28px; margin: 6px 0; font-size: 15px; }
.way li::before { content: "✓"; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--c); color: #fff; font-size: 12px; font-weight: 900; display: grid; place-items: center; line-height: 1; }
@media (max-width: 800px) { .way-cards { grid-template-columns: 1fr; gap: 60px; } }

/* よくある質問 */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 2.5px solid var(--line); border-radius: 22px; margin-bottom: 14px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 64px; font-weight: 900; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 18px; top: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--fri); color: #fff; font: 700 17px var(--en); display: grid; place-items: center; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; margin-top: -16px; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-weight: 900; transition: transform .4s var(--spring), background .3s; }
.faq details[open] summary::after { transform: rotate(135deg); background: var(--wed); }
.faq details p { margin: 0; padding: 0 26px 22px 64px; color: var(--ink2); }
.faq details[open] p { animation: faqIn .5s var(--out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } }

/* ギャラリー一覧 */
.g-filter { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.g-filter button { background: #fff; border: 2.5px solid var(--line); border-radius: 99px; padding: 8px 22px; font-weight: 900; transition: .35s var(--spring); }
.g-filter button:hover { transform: translateY(-3px); }
.g-filter button.is-on { background: var(--c); color: #fff; box-shadow: 0 4px 0 var(--line); }
.masonry { columns: 3 280px; column-gap: 20px; }
.gi { break-inside: avoid; margin: 0 0 20px; background: #fff; border: 2.5px solid var(--line); border-radius: 22px; overflow: hidden; }
.gi.hide { display: none; }
.gi-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.gi-btn img { width: 100%; transition: transform .8s var(--out); }
.gi:nth-child(3n+1) .gi-btn img { aspect-ratio: 4 / 5; object-fit: cover; }
.gi:hover .gi-btn img { transform: scale(1.06); }
.gi figcaption { padding: 10px 14px; font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.gi .cat, .post-meta .cat { font-size: 11px; font-weight: 900; padding: 1px 10px; border-radius: 99px; color: #fff; background: var(--c); }
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(58, 46, 57, .9); display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-height: 80vh; margin: 0 auto; border-radius: 18px; border: 4px solid #fff; animation: lbIn .5s var(--spring); }
@keyframes lbIn { from { transform: scale(.85); opacity: 0; } }
.lightbox figcaption { color: #fff; font-weight: 700; margin-top: 12px; }
.lightbox button { width: 54px; height: 54px; border-radius: 50%; border: 2.5px solid var(--line); background: #fff; font-size: 28px; font-weight: 900; line-height: 1; display: grid; place-items: center; }
.lb-close { position: absolute; right: 18px; top: 18px; background: var(--wed) !important; }
@media (max-width: 640px) { .lightbox { grid-template-columns: 44px 1fr 44px; padding: 8px; } .lightbox button { width: 40px; height: 40px; font-size: 22px; } }

/* お知らせ */
.news-list li.hide { display: none; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.pager span, .pager a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 2.5px solid var(--line); font: 700 16px var(--en); background: #fff; }
.pager .is-on { background: var(--sat); color: #fff; }
.single-wrap { max-width: 820px; }
.post { background: #fff; border: 3px solid var(--line); border-radius: var(--r); padding: clamp(24px, 5vw, 56px); box-shadow: 8px 10px 0 var(--sat); }
.post-meta { display: flex; gap: 12px; align-items: center; font: 600 15px var(--en); color: var(--ink2); }
.post h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 900; margin: .4em 0 .8em; line-height: 1.45; }
.post h3 { font-size: 20px; font-weight: 900; margin: 1.6em 0 .6em; padding-left: 14px; border-left: 6px solid var(--wed); }
.post-eye { margin: 0 0 1.5em; }
.post-eye img { border-radius: 18px; border: 2.5px solid var(--line); }
.post-nav { text-align: center; margin-top: 40px; }

/* お問い合わせページ */
.contact-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(26px, 4vw, 50px); align-items: start; }
.side-card { --c: var(--wed); background: #fff; border: 2.5px solid var(--line); border-radius: 24px; padding: 22px 24px; margin-bottom: 20px; box-shadow: 0 6px 0 var(--c); }
.side-card h2 { font-size: 18px; font-weight: 900; margin: 0 0 6px; }
.side-card p { margin: 0 0 8px; font-size: 14.5px; color: var(--ink2); }
.side-card a { display: block; font-weight: 700; color: var(--fri); font-size: 14.5px; }
.side-planet { width: 220px; margin: 20px auto 0; animation: spin 40s linear infinite; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form .agree { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.form .agree input { width: 22px; height: 22px; margin: 0; accent-color: var(--mon); display: inline-block; }
.form .agree a { color: var(--fri); text-decoration: underline; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-side { order: 2; } .side-planet { display: none; } }
@media (max-width: 600px) { .form-2 { grid-template-columns: 1fr; } }

/* 文書ページ */
.doc { max-width: 860px; }
.doc h2 { font-size: 20px; font-weight: 900; margin: 2em 0 .5em; padding-left: 14px; border-left: 6px solid var(--thu); }
.doc .doc-date { margin-top: 3em; color: var(--ink2); text-align: right; }
.doc .box { background: #fff; border: 3px solid var(--line); border-radius: var(--r); padding: 30px; box-shadow: 8px 10px 0 var(--wed); }
.doc .muted { color: var(--ink2); margin-bottom: 0; }
.company-card .sub { font-size: 13px; color: var(--ink2); }

/* フッター追加 */
.ftr-cta { margin-top: 20px; padding: .7em 1.5em; font-size: 14px; }
.ftr .copy-links { display: flex; gap: 18px; }

/* ページ切り替え（花がくるっと） */
.pt { position: fixed; inset: 0; z-index: 900; pointer-events: none; background: var(--wed); clip-path: circle(0 at var(--x, 50%) var(--y, 50%)); display: grid; place-items: center; }
.pt-mark { width: 120px; height: 120px; transform: scale(0) rotate(-180deg); }
.pt.on { pointer-events: auto; clip-path: circle(150% at var(--x, 50%) var(--y, 50%)); transition: clip-path .55s cubic-bezier(.7, 0, .3, 1); }
.pt.on .pt-mark { transform: none; transition: transform .5s .1s var(--spring); }
.pt.enter { clip-path: circle(150% at 50% 50%); }
.pt.enter .pt-mark { transform: none; }
.pt.enter.go { clip-path: circle(0 at 50% 50%); transition: clip-path .7s cubic-bezier(.7, 0, .3, 1); }
.pt.enter.go .pt-mark { transform: scale(0) rotate(180deg); transition: transform .4s; }

.toast { visibility: hidden; }
.toast.show { visibility: visible; }
.sp-only { display: none; }
@media (max-width: 600px) { .sp-only { display: inline; } .cta-copy h2 { white-space: normal; } }

/* ---------- トップのギャラリー：縦に流れ続ける ---------- */
.g-cols.loop .g-col { gap: 0; }
.g-cols.loop .g-col figure { margin-bottom: 16px; }
.g-cols.loop .g-col.up { animation: gUp var(--dur, 48s) linear infinite; }
.g-cols.loop .g-col.down { animation: gDown var(--dur, 48s) linear infinite; }
@keyframes gUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes gDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
@media (max-width: 767px) {
  .g-cols.loop { grid-template-columns: repeat(3, 1fr); gap: 10px; height: 520px; }
  .g-cols.loop .g-col:nth-child(3) { display: flex; }
  .g-cols.loop .g-col figure { margin-bottom: 10px; border-radius: 14px; }
  .g-cols.loop .g-col figure figcaption { display: none; }
}
@media (prefers-reduced-motion: reduce) { .g-cols.loop .g-col { animation: none !important; } }

/* ---------- WordPress用 ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { background: #fff; border: 3px solid var(--line); border-radius: var(--r); padding: 26px 28px; margin-bottom: 22px; }
.notice--ok { box-shadow: 8px 10px 0 var(--thu); text-align: center; }
.notice--ok h2 { font-size: 24px; font-weight: 900; margin: 0 0 8px; }
.notice--ok .btn { margin-top: 14px; }
.notice--err { border-color: var(--mon); color: #c0392b; font-weight: 700; box-shadow: 0 5px 0 var(--mon); }
.news-empty { padding: 20px; text-align: center; color: var(--ink2); }
.post-body > * { max-width: 100%; }
.post-body h2 { font-size: 22px; font-weight: 900; margin: 1.8em 0 .6em; padding-left: 14px; border-left: 6px solid var(--thu); }
.post-body h3 { font-size: 19px; font-weight: 900; margin: 1.6em 0 .6em; padding-left: 14px; border-left: 6px solid var(--wed); }
.post-body img { border-radius: 16px; height: auto; }
.post-body a { color: var(--fri); text-decoration: underline; }
.pager .page-numbers { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 2.5px solid var(--line); font: 700 16px var(--en); background: #fff; }
.pager .page-numbers.current { background: var(--sat); color: #fff; }
.pager .page-numbers.dots { border: 0; background: none; }
.rep-txt { font-weight: 900; font-size: 1.1em; }
.admin-bar .hdr { top: 46px; }
@media (min-width: 783px) { .admin-bar .hdr { top: 46px; } }
.ph-visual:empty { display: none; }
.ph-in:has(> .ph-visual:empty) { grid-template-columns: 1fr; }
