@charset "UTF-8";
/* ==========================================================
   アオバ株式会社 コーポレートサイト
   ========================================================== */

:root {
  --aqua: #35b8e8;
  --aqua-deep: #0e8fcb;
  --sky: #e2f5fd;
  --mint: #bfecd2;
  --mint-deep: #4fc292;
  --mint-pale: #ebf9f0;
  --navy: #0b2f4a;
  --navy-soft: #3d5d74;
  --yellow: #ffd84a;
  --white: #fff;
  --font-ja: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", var(--font-ja);
  --font-en: "Barlow Condensed", "Arial Narrow", sans-serif;
  --wave-h: clamp(36px, 6vw, 96px);
  --ease: cubic-bezier(.2, .9, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ja);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.9;
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.sp { display: none; }

.container { width: min(1160px, 100% - 48px); margin-inline: auto; position: relative; z-index: 2; }
.container--narrow { width: min(860px, 100% - 48px); }
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.section--sky { background: var(--sky); padding-bottom: calc(clamp(80px, 11vw, 150px) + var(--wave-h)); }
.section--mint { background: var(--mint-pale); border-radius: clamp(32px, 6vw, 80px) clamp(32px, 6vw, 80px) 0 0; }
.section--navy { background: var(--navy); color: var(--white); border-radius: clamp(32px, 6vw, 80px); margin-inline: clamp(8px, 2vw, 32px); }

/* ---------- スクロール表示 ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(48px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 60px; padding: 10px 14px 10px 30px;
  border-radius: 999px; font-family: var(--font-round); font-weight: 700; font-size: 16px; line-height: 1.3;
  transition: transform .35s var(--ease), box-shadow .35s, background-color .3s, color .3s;
}
.btn:hover { transform: translateY(-4px) scale(1.03); }
.btn__arrow {
  width: 40px; height: 40px; border-radius: 50%; flex: none; position: relative;
  background: var(--white); transition: transform .35s var(--ease);
}
.btn__arrow::before {
  content: ""; position: absolute; inset: 0; margin: auto; width: 9px; height: 9px;
  border-top: 3px solid var(--aqua-deep); border-right: 3px solid var(--aqua-deep);
  transform: translateX(-2px) rotate(45deg);
}
.btn:hover .btn__arrow { transform: translateX(5px) rotate(360deg); }
.btn--primary { background: var(--navy); color: var(--white); box-shadow: 0 10px 0 -2px rgba(11, 47, 74, .18); }
.btn--primary:hover { background: var(--aqua-deep); }
.btn--ghost { background: var(--white); color: var(--navy); box-shadow: 0 10px 0 -2px rgba(14, 143, 203, .18); }
.btn--ghost .btn__arrow { background: var(--aqua); }
.btn--ghost .btn__arrow::before { border-color: var(--white); }
.btn--tel {
  padding: 8px 24px; min-height: 52px; gap: 8px;
  background: var(--yellow); color: var(--navy);
  font-family: var(--font-en); font-style: italic; font-weight: 800; font-size: 24px; letter-spacing: .02em;
}
.btn--tel svg { width: 20px; height: 20px; fill: currentColor; animation: ring 2.4s infinite; transform-origin: 50% 50%; }
@keyframes ring { 0%, 60%, 100% { transform: rotate(0); } 65%, 75%, 85% { transform: rotate(-16deg); } 70%, 80%, 90% { transform: rotate(16deg); } }

/* ---------- ローディング ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(160deg, var(--aqua), var(--mint-deep));
  transition: clip-path 1s cubic-bezier(.7, 0, .2, 1), visibility 0s 1s;
  clip-path: circle(150% at 50% 50%);
}
.js .is-loaded .loader { clip-path: circle(0% at 50% 50%); visibility: hidden; }
.loader__drop { animation: bob 1.2s ease-in-out infinite; }
.loader__fill { animation: fill 1.3s ease-in-out forwards; }
@keyframes fill { from { transform: translateY(120px); } to { transform: translateY(0); } }
.loader__text { font-family: var(--font-en); font-style: italic; font-weight: 800; font-size: 34px; letter-spacing: .2em; color: var(--white); padding-left: .2em; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- 配管ゲージ ---------- */
.pipe {
  position: fixed; right: 16px; top: 50%; z-index: 40;
  width: 10px; height: 200px; margin-top: -100px;
  border-radius: 99px; background: rgba(11, 47, 74, .12); overflow: hidden;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7);
}
.pipe__water { width: 100%; height: 0; border-radius: 99px; background: linear-gradient(var(--aqua), var(--mint-deep)); }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed; top: 14px; left: 50%; z-index: 100;
  width: min(1320px, 100% - 28px); transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 12px 10px 22px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border-radius: 999px; box-shadow: 0 8px 30px rgba(11, 47, 74, .1);
  transition: transform .5s var(--ease);
}
.header.is-hidden { transform: translate(-50%, -140%); }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo__img { width: auto; height: 40px; transition: transform .5s var(--ease); }
.logo:hover .logo__img { transform: scale(1.06) rotate(-2deg); }
.gnav { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.gnav ul { display: flex; gap: clamp(10px, 1.8vw, 26px); }
.gnav li a { display: block; text-align: center; font-family: var(--font-round); font-weight: 700; font-size: 13px; line-height: 1.3; position: relative; padding: 4px 2px; }
.gnav li a span { display: block; font-family: var(--font-en); font-style: italic; font-weight: 800; font-size: 17px; letter-spacing: .06em; color: var(--aqua-deep); }
.gnav li a::after {
  content: ""; position: absolute; left: 50%; bottom: -5px; width: 8px; height: 8px; margin-left: -4px;
  border-radius: 0 50% 50% 50%; background: var(--aqua); transform: rotate(45deg) scale(0); transition: transform .3s var(--ease);
}
.gnav li a:hover::after { transform: rotate(45deg) scale(1); }
.burger { display: none; }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  padding: 130px 0 calc(var(--wave-h) + clamp(90px, 14vw, 190px));
  background: linear-gradient(160deg, #e6f8ff 0%, #c5ecfb 48%, #cdf2dc 100%);
  display: flex; align-items: center;
}
.hero__inner {
  width: min(1240px, 100% - 48px); margin-inline: auto; position: relative; z-index: 3;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 24px;
}
.hero__copy { min-width: 0; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font-family: var(--font-round); font-weight: 700; font-size: clamp(13px, 1.3vw, 16px);
}
.hero__tag span { background: var(--navy); color: var(--white); padding: 2px 14px; border-radius: 99px; }
.hero__title { font-family: var(--font-round); font-weight: 900; font-size: clamp(38px, 6.4vw, 92px); line-height: 1.22; letter-spacing: .02em; }
.hero__line { display: block; overflow: hidden; padding: .06em 0; white-space: nowrap; }
.hero__line--accent { color: var(--aqua-deep); }
.hero__line .char { display: inline-block; }
.js .hero__line .char { transform: translateY(115%) rotate(10deg); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 45ms + 250ms); }
.js .is-loaded .hero__line .char { transform: none; }
.hero__lead { margin-top: 26px; font-size: clamp(15px, 1.5vw, 18px); font-weight: 700; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.js .hero__tag, .js .hero__lead, .js .hero__btns { opacity: 0; transform: translateY(24px); transition: opacity .8s 1.1s, transform .8s 1.1s var(--ease); }
.js .is-loaded .hero__tag, .js .is-loaded .hero__lead, .js .is-loaded .hero__btns { opacity: 1; transform: none; }
.js .is-loaded .hero__tag { transition-delay: .2s; }

.hero__visual { position: relative; aspect-ratio: 5 / 4; width: min(100%, 600px); justify-self: center; }
.hero__blob {
  position: absolute; inset: 5% 2%; z-index: 1;
  background: #5f8fbb url(../img/water-heart.jpg) right center / auto 100% no-repeat;
  border: 8px solid var(--white);
  border-radius: 58% 42% 38% 62% / 52% 46% 54% 48%;
  animation: blob 12s ease-in-out infinite; box-shadow: 0 30px 60px rgba(14, 143, 203, .28);
}
@keyframes blob {
  0%, 100% { border-radius: 58% 42% 38% 62% / 52% 46% 54% 48%; }
  33% { border-radius: 40% 60% 60% 40% / 44% 58% 42% 56%; }
  66% { border-radius: 52% 48% 44% 56% / 60% 40% 60% 40%; }
}
.js .hero__blob { transform: scale(.4); opacity: 0; transition: transform 1.2s .7s cubic-bezier(.3, 1.6, .4, 1), opacity .5s .7s; }
.js .is-loaded .hero__blob { transform: none; opacity: 1; }
/* 画像のまわりに広がる波紋 */
.hero__ring { position: absolute; inset: 5% 2%; border-radius: 50%; border: 3px solid var(--white); opacity: 0; animation: ring-out 3.6s ease-out infinite; }
.hero__ring + .hero__ring { animation-delay: 1.8s; }
@keyframes ring-out { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.28); opacity: 0; } }

.hero__badge {
  position: absolute; z-index: 2; padding: 6px 18px; border-radius: 99px;
  background: var(--white); font-family: var(--font-round); font-weight: 700; font-size: clamp(12px, 1.2vw, 15px);
  box-shadow: 0 8px 20px rgba(11, 47, 74, .12); animation: float 5s ease-in-out infinite; white-space: nowrap;
}
.hero__badge::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 0 50% 50% 50%; background: var(--aqua); transform: rotate(45deg); }
.hero__badge--1 { top: 12%; left: -2%; --r: -8deg; }
.hero__badge--2 { top: 22%; right: -2%; --r: 7deg; animation-delay: -1.5s; }
.hero__badge--2::before { background: var(--mint-deep); }
.hero__badge--3 { bottom: 20%; left: 2%; --r: 5deg; animation-delay: -3s; background: var(--yellow); }
.hero__badge--3::before { background: var(--navy); }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-14px) rotate(var(--r, 0deg)); } }

/* 泡 */
.hero__bubbles { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero__bubbles i {
  position: absolute; bottom: -80px; left: var(--x, 10%); width: var(--s, 30px); height: var(--s, 30px);
  border-radius: 50%; border: 2px solid rgba(255, 255, 255, .9);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .9), rgba(255, 255, 255, .12) 60%);
  animation: rise var(--d, 12s) linear infinite; animation-delay: var(--dl, 0s);
}
.hero__bubbles i:nth-child(1) { --x: 4%; --s: 26px; --d: 13s; }
.hero__bubbles i:nth-child(2) { --x: 14%; --s: 54px; --d: 17s; --dl: -4s; }
.hero__bubbles i:nth-child(3) { --x: 27%; --s: 18px; --d: 10s; --dl: -7s; }
.hero__bubbles i:nth-child(4) { --x: 40%; --s: 38px; --d: 15s; --dl: -2s; }
.hero__bubbles i:nth-child(5) { --x: 52%; --s: 22px; --d: 11s; --dl: -9s; }
.hero__bubbles i:nth-child(6) { --x: 63%; --s: 64px; --d: 19s; --dl: -11s; }
.hero__bubbles i:nth-child(7) { --x: 74%; --s: 20px; --d: 12s; --dl: -3s; }
.hero__bubbles i:nth-child(8) { --x: 84%; --s: 44px; --d: 16s; --dl: -6s; }
.hero__bubbles i:nth-child(9) { --x: 93%; --s: 28px; --d: 14s; --dl: -12s; }
.hero__bubbles i:nth-child(10) { --x: 47%; --s: 14px; --d: 9s; --dl: -5s; }
@keyframes rise {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translate(30px, -60vh); }
  100% { transform: translate(-20px, -125vh); opacity: .6; }
}

/* 流れる文字 */
.marquee { overflow: hidden; white-space: nowrap; pointer-events: none; }
.marquee__track { display: inline-flex; animation: marquee 40s linear infinite; }
.marquee__track--rev { animation-direction: reverse; animation-duration: 30s; }
.marquee__track span { padding-right: .6em; }
@keyframes marquee { to { transform: translateX(-50%); } }
.hero__marquee {
  position: absolute; left: 0; right: 0; bottom: calc(var(--wave-h) * .55); z-index: 2;
  font-family: var(--font-en); font-style: italic; font-weight: 800; line-height: 1;
  font-size: clamp(70px, 13vw, 200px); color: rgba(255, 255, 255, .75);
}

/* 波 */
.wave { position: absolute; left: 0; right: 0; height: var(--wave-h); overflow: hidden; z-index: 3; pointer-events: none; }
.wave svg { position: absolute; left: 0; top: 0; width: 200%; height: 100%; max-width: none; animation: wave 14s linear infinite; }
.wave svg:nth-child(2) { animation-duration: 9s; animation-direction: reverse; opacity: .5; top: -8px; }
@keyframes wave { to { transform: translateX(-50%); } }
.wave--bottom { bottom: -1px; }
.wave--bottom path { fill: var(--white); }
.wave--top { bottom: calc(100% - 1px); }
.wave--top path { fill: var(--sky); }
.wave--white-fill { top: -1px; bottom: auto; }
.wave--white-fill path { fill: var(--white); }

/* ---------- お知らせ ---------- */
.news { padding: 20px 0 0; position: relative; z-index: 4; }
.news__inner {
  width: min(1000px, 100% - 48px); margin-inline: auto;
  display: flex; align-items: center; gap: clamp(16px, 4vw, 48px);
  padding: 22px clamp(20px, 4vw, 44px); border-radius: 28px;
  background: var(--white); border: 3px solid var(--sky);
}
.news__head { font-family: var(--font-en); font-style: italic; font-weight: 800; font-size: 40px; line-height: 1; color: var(--aqua); flex: none; }
.news__head small { display: block; font-family: var(--font-round); font-style: normal; font-size: 12px; color: var(--navy); margin-top: 6px; }
.news__list { flex: 1; }
.news__list li { display: flex; gap: 18px; padding: 8px 0; line-height: 1.6; }
.news__list li + li { border-top: 2px dotted var(--sky); }
.news__list time { font-family: var(--font-en); font-style: italic; font-weight: 700; font-size: 18px; color: var(--aqua-deep); flex: none; min-width: 88px; }

/* ---------- 見出し ---------- */
.heading { margin-bottom: clamp(40px, 6vw, 72px); }
.heading--center { text-align: center; }
.heading__en {
  font-family: var(--font-en); font-style: italic; font-weight: 800; line-height: .9; letter-spacing: .01em;
  font-size: clamp(60px, 10vw, 136px); color: var(--aqua);
  background: linear-gradient(100deg, var(--aqua) 20%, var(--mint-deep) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  padding-right: .1em; display: inline-block;
}
.heading__ja { font-family: var(--font-round); font-weight: 900; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.5; margin-top: 10px; display: flex; align-items: center; gap: 12px; }
.heading--center .heading__ja { justify-content: center; }
.heading__ja::before { content: ""; width: 14px; height: 14px; flex: none; border-radius: 0 50% 50% 50%; background: var(--aqua); transform: rotate(45deg); }
.heading__lead { margin-top: 22px; font-weight: 700; font-size: clamp(15px, 1.5vw, 18px); }
.heading--light .heading__ja { color: var(--white); }

/* ---------- メッセージ ---------- */
.message { overflow: hidden; }
.ring-text { position: absolute; top: 4%; right: -140px; width: clamp(300px, 40vw, 560px); opacity: .5; animation: spin 40s linear infinite; z-index: 0; }
.ring-text text { font-family: var(--font-en); font-style: italic; font-weight: 800; font-size: 27px; letter-spacing: .12em; fill: var(--mint); }
@keyframes spin { to { transform: rotate(360deg); } }
.message__catch { text-align: center; font-family: var(--font-round); font-weight: 900; font-size: clamp(26px, 4.4vw, 52px); line-height: 1.55; }
.message__body { margin-top: 36px; text-align: center; font-size: clamp(15px, 1.5vw, 18px); line-height: 2.2; }
.message__body p + p { margin-top: 1.2em; }
.philosophy { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 32px); margin-top: clamp(48px, 7vw, 80px); }
.philosophy li {
  position: relative; padding: 44px 28px 36px; text-align: center; border-radius: 36px;
  background: var(--sky); font-family: var(--font-round); font-weight: 700; font-size: clamp(16px, 1.8vw, 20px); line-height: 1.9;
  transition: transform .5s var(--ease), opacity .9s var(--ease) !important;
}
.philosophy li:nth-child(2) { background: var(--mint-pale); }
.philosophy li.is-in:hover { transform: translateY(-8px) rotate(-1deg); }
.philosophy__num {
  position: absolute; top: -26px; left: 50%; transform: translateX(-50%);
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--aqua); color: var(--white); font-family: var(--font-en); font-style: italic; font-weight: 800; font-size: 26px; line-height: 1;
}
.philosophy li:nth-child(2) .philosophy__num { background: var(--mint-deep); }
.philosophy strong { color: var(--aqua-deep); font-weight: 900; }
.philosophy em { font-style: normal; font-weight: 900; font-size: 1.35em; background: linear-gradient(transparent 62%, var(--yellow) 62%); padding: 0 .1em; }

/* ---------- 業務案内 ---------- */
.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.card {
  grid-column: span 2; position: relative; padding: 36px 28px 34px; border-radius: 32px; background: var(--white);
  box-shadow: 0 12px 0 -4px rgba(53, 184, 232, .25); overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s, opacity .9s var(--ease) !important;
}
.card:nth-child(4), .card:nth-child(5) { grid-column: span 3; }
.card::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -70%; height: 70%;
  background: var(--sky); border-radius: 45% 55% 0 0 / 30% 30% 0 0; transition: transform .7s var(--ease); z-index: 0;
}
.card.is-in:hover { transform: translateY(-10px); box-shadow: 0 22px 0 -6px rgba(53, 184, 232, .3); }
.card:hover::after { transform: translateY(-60%); }
.card > * { position: relative; z-index: 1; }
.card__icon { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--sky); transition: transform .5s var(--ease), background-color .3s; }
.card:hover .card__icon { transform: rotate(-10deg) scale(1.1); background: var(--white); }
.card__icon svg { width: 50px; height: 50px; fill: none; stroke: var(--navy); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.card__icon .drip { fill: var(--aqua); stroke: none; animation: drip 1.8s ease-in infinite; }
@keyframes drip { 0% { transform: translateY(-6px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(8px); opacity: 0; } }
.card__icon .wavy { stroke: var(--aqua); }
.card__en { margin-top: 20px; font-family: var(--font-en); font-style: italic; font-weight: 800; font-size: 18px; letter-spacing: .1em; color: var(--aqua); line-height: 1.2; }
.card__title { font-family: var(--font-round); font-weight: 900; font-size: clamp(19px, 2vw, 24px); line-height: 1.5; margin-top: 4px; }
.card__text { margin-top: 12px; font-size: 15px; line-height: 1.85; }
.card--accent { background: var(--navy); color: var(--white); box-shadow: 0 12px 0 -4px rgba(11, 47, 74, .3); }
.card--accent::after { background: var(--aqua-deep); }
.card--accent .card__icon { background: var(--yellow); }
.card--accent:hover .card__icon { background: var(--yellow); }
.card--accent .card__en { color: var(--yellow); }
.card__link { display: inline-block; margin-top: 14px; font-family: var(--font-en); font-style: italic; font-weight: 800; font-size: 38px; line-height: 1; color: var(--yellow); letter-spacing: .02em; }

/* ---------- 強み ---------- */
.strength { overflow: hidden; padding-bottom: 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 24px); }
.stats li { padding: 26px 16px 22px; border-radius: 28px; text-align: center; border: 3px solid var(--sky); background: var(--white); }
.stats li:nth-child(even) { border-color: var(--mint); }
.stats__label { font-family: var(--font-round); font-weight: 700; font-size: 14px; }
.stats__num { display: flex; align-items: baseline; justify-content: center; gap: 4px; margin-top: 4px; line-height: 1; }
.stats__num b { font-family: var(--font-en); font-style: italic; font-weight: 800; font-size: clamp(54px, 7vw, 92px); color: var(--aqua-deep); padding-right: .06em; }
.stats li:nth-child(even) .stats__num b { color: var(--mint-deep); }
.stats__num span { font-family: var(--font-round); font-weight: 900; font-size: 18px; }
.stats__num i { font-style: normal; font-weight: 900; font-size: 22px; margin: 0 6px; color: var(--navy-soft); }
.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 64px); margin-top: clamp(56px, 8vw, 96px); }
.reason { display: flex; gap: 20px; align-items: flex-start; }
.reason__num {
  flex: none; font-family: var(--font-en); font-style: italic; font-weight: 800; font-size: clamp(60px, 7vw, 96px); line-height: .85;
  color: transparent; -webkit-text-stroke: 2px var(--aqua); padding-right: .08em; transition: color .4s;
}
.reason:hover .reason__num { color: var(--aqua); }
.reason h3 { font-family: var(--font-round); font-weight: 900; font-size: clamp(19px, 2.1vw, 25px); line-height: 1.5; }
.reason p { margin-top: 10px; font-size: 15px; }
.shout {
  margin-top: clamp(70px, 9vw, 120px); padding: 18px 0; background: var(--yellow); color: var(--navy);
  transform: rotate(-2deg) scale(1.04); transform-origin: 50% 50%; margin-bottom: clamp(60px, 8vw, 110px);
  font-family: var(--font-round); font-weight: 900; font-size: clamp(22px, 3.4vw, 44px); line-height: 1.3;
  border-block: 6px solid var(--navy);
}
.shout span:nth-child(even) { font-family: var(--font-en); font-style: italic; font-weight: 800; font-size: 1.2em; }

/* ---------- お客様別 ---------- */
.tabs__nav { display: flex; justify-content: center; gap: 8px; padding: 8px; width: fit-content; max-width: 100%; margin: 0 auto clamp(32px, 5vw, 56px); border-radius: 999px; background: var(--white); }
.tabs__btn { padding: 14px clamp(18px, 3vw, 40px); border-radius: 999px; font-family: var(--font-round); font-weight: 700; font-size: clamp(14px, 1.6vw, 18px); line-height: 1.3; transition: background-color .3s, color .3s, transform .3s var(--ease); }
.tabs__btn:hover { transform: scale(1.04); }
.tabs__btn.is-active { background: var(--mint-deep); color: var(--white); }
.tabs__panel[hidden] { display: none; }
.tabs__panel { animation: panel .6s var(--ease); }
@keyframes panel { from { opacity: 0; transform: translateY(24px); } }
.bubbles-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 16px; }
.bubbles-list li {
  position: relative; padding: 14px 26px; border-radius: 999px; background: var(--white);
  font-family: var(--font-round); font-weight: 700; font-size: clamp(14px, 1.6vw, 18px); line-height: 1.4;
  box-shadow: 0 8px 0 -3px rgba(79, 194, 146, .3); animation: float 4.5s ease-in-out infinite;
}
.bubbles-list li:nth-child(2n) { animation-delay: -1.5s; --r: 1.5deg; }
.bubbles-list li:nth-child(3n) { animation-delay: -3s; --r: -1.5deg; }
.bubbles-list li::after { content: ""; position: absolute; left: 34px; bottom: -9px; width: 18px; height: 18px; background: var(--white); border-radius: 0 0 4px 0; transform: rotate(45deg) skew(12deg, 12deg); }
.voice { margin: clamp(40px, 6vw, 64px) auto 0; max-width: 820px; padding: clamp(28px, 4vw, 44px); border-radius: 36px; background: var(--white); text-align: center; border: 3px dashed var(--mint); }
.voice__quote { font-family: var(--font-round); font-weight: 900; font-size: clamp(24px, 3.6vw, 40px); line-height: 1.4; color: var(--mint-deep); }
.voice__text { margin-top: 14px; font-size: 15px; text-align: left; }

/* ---------- 大切にしていること ---------- */
.values { overflow: hidden; }
.values::before {
  content: "SAFETY FIRST"; position: absolute; right: -2%; bottom: -4%; z-index: 0;
  font-family: var(--font-en); font-style: italic; font-weight: 800; font-size: clamp(90px, 18vw, 280px); line-height: .8; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .09);
}
.values__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3.4vw, 48px); }
.values__list li { padding-top: 26px; border-top: 5px solid var(--aqua); position: relative; }
.values__list li:nth-child(2) { border-color: var(--mint-deep); }
.values__list li:nth-child(3) { border-color: var(--yellow); }
.values__en { font-family: var(--font-en); font-style: italic; font-weight: 800; font-size: 20px; letter-spacing: .12em; color: var(--aqua); line-height: 1.2; }
.values__list li:nth-child(2) .values__en { color: var(--mint-deep); }
.values__list li:nth-child(3) .values__en { color: var(--yellow); }
.values__list h3 { font-family: var(--font-round); font-weight: 900; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.4; margin-top: 6px; }
.values__list li > p:last-child { margin-top: 14px; font-size: 15px; color: rgba(255, 255, 255, .9); }

/* ---------- 社風 ---------- */
.stickers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 36px); }
.sticker {
  padding: 40px 28px 36px; border-radius: 40px; text-align: center;
  transition: transform .5s cubic-bezier(.3, 1.6, .4, 1), opacity .9s var(--ease) !important;
}
.sticker.is-in { transform: rotate(var(--rot, 0deg)); }
.sticker.is-in:hover { transform: rotate(0) translateY(-12px) scale(1.03); }
.sticker--blue { background: var(--sky); --rot: -2.5deg; }
.sticker--green { background: var(--mint-pale); --rot: 1.5deg; margin-top: 36px; }
.sticker--yellow { background: #fff6cf; --rot: -1.5deg; }
.sticker__emoji { width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 50%; background: var(--white); display: grid; place-items: center; }
.sticker__emoji svg { width: 56px; height: 56px; fill: none; stroke: var(--navy); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.sticker:hover .sticker__emoji svg { transform: scale(1.15) rotate(8deg); }
.sticker h3 { font-family: var(--font-round); font-weight: 900; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.45; }
.sticker p { margin-top: 14px; font-size: 15px; text-align: left; }

/* ---------- 採用 ---------- */
.recruit__grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 32px; }
.recruit__catch { font-family: var(--font-round); font-weight: 900; font-size: clamp(28px, 4.6vw, 58px); line-height: 1.45; }
.recruit__catch span { background: linear-gradient(transparent 64%, var(--yellow) 64%); padding: 0 .08em; }
.recruit__text { margin-top: 24px; font-size: clamp(15px, 1.5vw, 17px); max-width: 34em; }
.recruit__tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 36px; }
.recruit__tags li { padding: 6px 18px; border-radius: 99px; background: var(--white); font-family: var(--font-round); font-weight: 700; font-size: 14px; border: 2px solid var(--aqua); transition: transform .3s var(--ease), background-color .3s, color .3s; }
.recruit__tags li:hover { transform: translateY(-4px) rotate(-3deg); background: var(--aqua); color: var(--white); }
.recruit__tags li::before { content: "#"; color: var(--aqua-deep); margin-right: 3px; }
.recruit__tags li:hover::before { color: var(--white); }
.mascot { width: min(100%, 360px); margin-inline: auto; overflow: visible; }
.mascot__body, .mascot__arm, .mascot__eyes, .mascot__shadow { transform-box: fill-box; }
.mascot__body { animation: bob 2.6s ease-in-out infinite; }
.mascot__shadow { transform-origin: 50% 50%; animation: shadow 2.6s ease-in-out infinite; }
@keyframes shadow { 50% { transform: scale(.82); } }
.mascot__arm { transform-origin: 0% 100%; animation: wave-arm 1.4s ease-in-out infinite; }
@keyframes wave-arm { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-14deg); } }
.mascot__eyes { transform-origin: 50% 50%; animation: blink 4s infinite; }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }

/* ---------- 会社概要 ---------- */
.company__grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.outline > div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding: 18px 4px; border-bottom: 2px dotted #b9dff0; line-height: 1.7; }
.outline > div:first-child { border-top: 2px dotted #b9dff0; }
.outline dt { font-family: var(--font-round); font-weight: 700; color: var(--aqua-deep); }
.history { padding: clamp(24px, 3.4vw, 40px); border-radius: 36px; background: var(--sky); }
.history__title { font-family: var(--font-round); font-weight: 900; font-size: 22px; margin-bottom: 18px; }
.history ol { position: relative; padding-left: 26px; }
.history ol::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 6px; border-radius: 6px; background: linear-gradient(var(--aqua), var(--mint-deep)); }
.history li { position: relative; padding: 8px 0 14px; display: grid; grid-template-columns: 64px 1fr; gap: 10px; line-height: 1.6; font-size: 15px; }
.history li::before { content: ""; position: absolute; left: -26px; top: 16px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 4px solid var(--aqua-deep); }
.history time { font-family: var(--font-en); font-style: italic; font-weight: 800; font-size: 26px; line-height: 1.1; color: var(--aqua-deep); }
.map { margin-top: clamp(40px, 6vw, 72px); border-radius: 36px; overflow: hidden; border: 4px solid var(--sky); }
.map iframe { display: block; width: 100%; height: clamp(280px, 36vw, 420px); border: 0; }

/* ---------- お問い合わせ ---------- */
.contact {
  position: relative; overflow: hidden; text-align: center; color: var(--white);
  padding: calc(var(--wave-h) + clamp(70px, 9vw, 120px)) 0 clamp(80px, 10vw, 130px);
  background: linear-gradient(150deg, var(--aqua-deep) 0%, var(--aqua) 55%, var(--mint-deep) 120%);
}
.contact__bubbles i { border-color: rgba(255, 255, 255, .5); }
.contact__en { font-family: var(--font-en); font-style: italic; font-weight: 800; font-size: clamp(60px, 10vw, 130px); line-height: .9; color: rgba(255, 255, 255, .35); }
.contact__title { font-family: var(--font-round); font-weight: 900; font-size: clamp(26px, 4.2vw, 50px); line-height: 1.5; margin-top: -.15em; position: relative; }
.contact__lead { margin-top: 18px; font-weight: 700; }
.contact__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 40px; }
.contact__tel, .contact__mail {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: min(100%, 360px); padding: 20px 36px; border-radius: 36px; background: var(--white); color: var(--navy);
  box-shadow: 0 12px 0 -3px rgba(11, 47, 74, .25); transition: transform .4s var(--ease), box-shadow .4s;
}
.contact__tel:hover, .contact__mail:hover { transform: translateY(-8px) scale(1.03); box-shadow: 0 20px 0 -5px rgba(11, 47, 74, .25); }
.contact__tel { background: var(--yellow); }
.contact__btns small { font-family: var(--font-round); font-weight: 700; font-size: 14px; }
.contact__btns span { display: flex; align-items: center; gap: 10px; font-family: var(--font-en); font-style: italic; font-weight: 800; line-height: 1.2; }
.contact__tel span { font-size: clamp(38px, 5.4vw, 56px); }
.contact__tel svg { width: .7em; height: .7em; fill: currentColor; animation: ring 2.4s infinite; }
.contact__mail span { font-family: var(--font-round); font-style: normal; font-weight: 900; font-size: clamp(20px, 2.4vw, 26px); padding: 8px 0; }
.contact__mail .btn__arrow { background: var(--aqua); }
.contact__mail .btn__arrow::before { border-color: var(--white); }
.contact__mail:hover .btn__arrow { transform: translateX(5px) rotate(360deg); }

/* ---------- フッター ---------- */
.footer { background: var(--navy); color: var(--white); padding: 40px 0 24px; overflow: hidden; }
.footer__marquee { font-family: var(--font-en); font-style: italic; font-weight: 800; font-size: clamp(60px, 10vw, 150px); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .22); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; margin-top: 40px; }
.footer__name { font-family: var(--font-round); font-weight: 900; font-size: 24px; }
.footer__addr { margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 24px; max-width: 520px; align-content: start; font-size: 14px; font-weight: 700; }
.footer__nav a { position: relative; padding-left: 14px; transition: color .3s; }
.footer__nav a::before { content: ""; position: absolute; left: 0; top: .75em; width: 7px; height: 7px; border-radius: 0 50% 50% 50%; background: var(--aqua); transform: rotate(45deg); }
.footer__nav a:hover { color: var(--aqua); }
.footer__copy { margin-top: 40px; text-align: center; color: rgba(255, 255, 255, .7); font-size: 12px; }

/* ---------- ページ先頭へ ---------- */
.totop { position: fixed; right: 40px; bottom: 24px; z-index: 50; width: 56px; opacity: 0; transform: translateY(30px) scale(.6); pointer-events: none; transition: opacity .4s, transform .5s cubic-bezier(.3, 1.6, .4, 1); filter: drop-shadow(0 6px 10px rgba(11, 47, 74, .25)); }
.totop.is-show { opacity: 1; transform: none; pointer-events: auto; }
.totop.is-show:hover { transform: translateY(-8px); }
.totop path:first-child { fill: var(--aqua); }
.totop__arrow { fill: none; stroke: var(--white); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- クリックで広がる波紋 ---------- */
.click-ripple {
  position: fixed; z-index: 999; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%;
  border: 3px solid var(--aqua); pointer-events: none; animation: click-ripple .8s ease-out forwards;
}
.click-ripple::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--mint-deep); animation: click-ripple .8s .12s ease-out forwards; opacity: 0; }
@keyframes click-ripple { 0% { transform: scale(.3); opacity: .9; } 100% { transform: scale(5); opacity: 0; } }

/* ==========================================================
   レスポンシブ
   ========================================================== */
@media (max-width: 1080px) {
  .pipe { display: none; }
  .totop { right: 16px; }
  .burger {
    display: grid; place-content: center; gap: 6px; width: 52px; height: 52px; border-radius: 50%;
    background: var(--navy); position: relative; z-index: 2; flex: none;
  }
  .burger span { display: block; width: 22px; height: 3px; border-radius: 3px; background: var(--white); transition: transform .4s var(--ease), opacity .3s; }
  .is-menu-open .burger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .is-menu-open .burger span:nth-child(2) { opacity: 0; }
  .is-menu-open .burger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .logo { position: relative; z-index: 2; }
  .gnav {
    position: fixed; top: -14px; left: 50%; width: 100vw; height: 100vh; height: 100dvh; margin-left: -50vw;
    flex-direction: column; justify-content: center; gap: 32px; padding: 90px 24px 40px;
    background: linear-gradient(160deg, #e6f8ff, #cdf2dc); overflow-y: auto;
    clip-path: circle(0 at calc(100% - 50px) 50px); visibility: hidden;
    transition: clip-path .7s cubic-bezier(.7, 0, .2, 1), visibility 0s .7s;
  }
  .is-menu-open .gnav { clip-path: circle(150% at calc(100% - 50px) 50px); visibility: visible; transition-delay: 0s; }
  .gnav ul { flex-direction: column; gap: 14px; }
  .gnav li a { font-size: 15px; }
  .gnav li a span { font-size: 34px; }
  .header { backdrop-filter: none; }
}

@media (max-width: 860px) {
  .sp { display: inline; }
  .pc { display: none; }
  .hero { padding-top: 110px; }
  .hero__inner { grid-template-columns: 1fr; gap: 8px; }
  .hero__visual { width: min(86%, 420px); order: 2; margin-top: 12px; }
  .hero__badge--1 { left: -6%; }
  .hero__badge--2 { right: -6%; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card, .card:nth-child(4), .card:nth-child(5) { grid-column: span 1; }
  .card:nth-child(5) { grid-column: 1 / -1; }
  .stats { grid-template-columns: 1fr 1fr; }
  .reasons { grid-template-columns: 1fr; }
  .values__list { grid-template-columns: 1fr; }
  .stickers { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .sticker--green { margin-top: 0; }
  .recruit__grid { grid-template-columns: 1fr; }
  .recruit__visual { order: -1; }
  .mascot { width: 200px; }
  .company__grid { grid-template-columns: 1fr; }
  .news__inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .news__head { display: flex; align-items: baseline; gap: 10px; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .container, .container--narrow, .hero__inner, .news__inner { width: calc(100% - 36px); }
  .header { padding-left: 16px; }
  .logo__img { height: 32px; }
  .hero__title { font-size: min(9.4vw, 38px); }
  .btn { min-height: 54px; font-size: 15px; padding-left: 22px; }
  .hero__btns { gap: 12px; }
  .philosophy { grid-template-columns: 1fr; gap: 44px; }
  .cards { grid-template-columns: 1fr; }
  .card:nth-child(5) { grid-column: auto; }
  .outline > div { grid-template-columns: 1fr; gap: 2px; padding: 14px 4px; }
  .news__list li { flex-direction: column; gap: 0; }
  .tabs__nav { border-radius: 28px; }
  .tabs__btn { padding: 12px 14px; }
  .bubbles-list li { padding: 12px 20px; }
  .section--navy { margin-inline: 0; }
  .message__body br { display: none; }
}

/* 動きを減らす設定の利用者には、アニメーションを止める */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero__bubbles, .click-ripple { display: none; }
}

/* ==========================================================
   お問い合わせフォーム（contact.php）
   ========================================================== */
.page-head {
  position: relative; overflow: hidden;
  padding: clamp(130px, 16vw, 190px) 0 calc(var(--wave-h) + clamp(30px, 5vw, 60px));
  background: linear-gradient(160deg, #e6f8ff 0%, #c5ecfb 48%, #cdf2dc 100%);
}
.form-section { padding: clamp(40px, 6vw, 72px) 0 clamp(80px, 11vw, 140px); }

/* 入力・確認・完了の進み具合 */
.steps { display: flex; justify-content: center; gap: clamp(28px, 7vw, 80px); margin-bottom: clamp(36px, 6vw, 60px); }
.steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--font-round); font-weight: 700; font-size: 15px; line-height: 1.2; color: #8fa7b6; }
.steps li span {
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50% 50% 50% 50% / 62% 62% 42% 42%;
  background: var(--sky); color: #8fa7b6; font-family: var(--font-en); font-style: italic; font-weight: 800; font-size: 28px; line-height: 1; padding-right: 3px;
  transition: transform .5s var(--ease);
}
.steps li + li::before { content: ""; position: absolute; top: 26px; right: calc(100% + 6px); width: clamp(16px, 5vw, 68px); border-top: 4px dotted #b9dff0; }
.steps li.is-done { color: var(--mint-deep); }
.steps li.is-done span { background: var(--mint); color: var(--white); }
.steps li.is-current { color: var(--navy); }
.steps li.is-current span { background: var(--aqua); color: var(--white); animation: bob 2s ease-in-out infinite; box-shadow: 0 8px 0 -3px rgba(53, 184, 232, .3); }

.form-lead { text-align: center; margin-bottom: clamp(28px, 4vw, 44px); }
.form-lead a, .complete__text a { color: var(--aqua-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.form-alert { margin-bottom: 28px; padding: 14px 20px; border-radius: 18px; background: #fff0f0; color: #c22a2a; font-weight: 700; text-align: center; border: 2px solid #f3b9b9; }

.form, .confirm { padding: clamp(24px, 5vw, 56px); border-radius: clamp(28px, 4vw, 44px); background: var(--sky); }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field + .field { margin-top: 26px; }
.field label { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-family: var(--font-round); font-weight: 700; font-size: 17px; }
.field label em { font-style: normal; font-size: 12px; line-height: 1; padding: 5px 10px; border-radius: 99px; background: var(--aqua-deep); color: var(--white); }
.field input, .field textarea {
  display: block; width: 100%; padding: 14px 18px; border-radius: 16px; border: 3px solid transparent; background: var(--white);
  font: inherit; font-size: 16px; line-height: 1.7; color: var(--navy);
  box-shadow: 0 5px 0 -1px rgba(14, 143, 203, .14); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 180px; }
.field input::placeholder, .field textarea::placeholder { color: #a5b9c6; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--aqua); box-shadow: 0 0 0 5px rgba(53, 184, 232, .2); transform: translateY(-2px); }
.field.has-error input, .field.has-error textarea { border-color: #e06a6a; background: #fffafa; }
.field__error { margin-top: 8px; color: #c22a2a; font-weight: 700; font-size: 14px; line-height: 1.6; }
.form__btns { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; margin-top: clamp(32px, 5vw, 48px); }
.form__btns .btn { border: 0; cursor: pointer; }
.btn--back { padding: 10px 34px; background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 3px #b9dff0; }
.btn--back:hover { background: var(--sky); }
.btn:disabled { opacity: .6; pointer-events: none; }

.confirm > div { display: grid; grid-template-columns: 11em 1fr; gap: 12px; padding: 18px 4px; border-bottom: 2px dotted #a9d6ea; line-height: 1.8; }
.confirm > div:first-child { padding-top: 0; }
.confirm > div:last-child { border-bottom: 0; padding-bottom: 0; }
.confirm dt { font-family: var(--font-round); font-weight: 700; color: var(--aqua-deep); }
.confirm dd { overflow-wrap: anywhere; }

.complete { text-align: center; }
.complete .mascot { width: 200px; }
.complete__title { margin-top: 12px; font-family: var(--font-round); font-weight: 900; font-size: clamp(24px, 3.6vw, 38px); line-height: 1.5; }
.complete__text { margin: 18px 0 36px; }

@media (max-width: 560px) {
  .confirm > div { grid-template-columns: 1fr; gap: 2px; }
  .form__btns { flex-direction: column-reverse; }
  .form__btns form, .form__btns .btn { width: 100%; }
  .form-lead { text-align: left; }
  .form-lead br { display: none; }
}
