@charset "UTF-8";
/* =========================================================
   STUDIO NAGAYU トップ（meo-dash.com 風デザイン案）
   PC 1100px〜／タブレット 768〜1099px／SP 〜767px
   章の余白は az-ken.com を参考にした基準：上下 PC140／TB112／SP88、見出し→中身 56／44／32
   ========================================================= */
:root {
  --bg: #f6fbff;
  --navy: #0f2a6b;
  --ink: #23324f;
  --text: #4b5567;
  --blue: #1565d8;
  --blue-2: #2b8ef0;
  --cyan: #29b6e3;
  --cyan-2: #8fdcf2;
  --line: #d9e8f7;
  --red-1: #e9504b;
  --red-2: #d42a37;
  --yellow: #ffc21a;
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --en: "Montserrat", "Noto Sans JP", sans-serif;
  --wrap: 1200px;
  --pad: 40px;
  --sec: 140px;
  --head-gap: 56px;
  --gap: 32px;
  --r: 20px;
  --shadow: 0 10px 30px rgba(20, 70, 140, .08);
  --hh: 96px;
}
@media (max-width: 1099px) { :root { --pad: 32px; --sec: 112px; --head-gap: 44px; --gap: 24px; --hh: 76px; } }
@media (max-width: 767px) { :root { --pad: 20px; --sec: 88px; --head-gap: 32px; --gap: 16px; --r: 16px; --hh: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.8; line-break: strict; text-autospace: normal; overflow-x: clip; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { flex: none; }
h1, h2, h3, h4, .btn, .medal span { word-break: keep-all; font-feature-settings: "palt" 1; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { position: relative; z-index: 1; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.wrap--narrow { --wrap: 1000px; }
.center { text-align: center; }
main { overflow-x: clip; }
section { position: relative; isolation: isolate; }
/* 白地のイラストを水色の地になじませる */
.ill { mix-blend-mode: multiply; }

/* ---------- 斜めの角丸の帯（meo-dash の飾り） ---------- */
.stripe { position: absolute; z-index: -1; display: block; height: 34px; border-radius: 999px; transform: rotate(-45deg); pointer-events: none; }
.stripe::before, .stripe::after { content: ""; position: absolute; height: 100%; border-radius: inherit; }
.stripe--h1 { right: -120px; top: 40px; width: 520px; background: linear-gradient(90deg, #1565d8, #2b8ef0); }
.stripe--h1::before { left: 120px; top: 60px; width: 380px; background: var(--cyan); }
.stripe--h1::after { left: 40px; top: -60px; width: 260px; background: var(--cyan-2); }
.stripe--h2 { right: -60px; top: 520px; width: 260px; height: 26px; background: var(--cyan); opacity: .85; }
.stripe--h3 { left: -170px; top: 640px; width: 420px; background: linear-gradient(90deg, #0f2a6b, #1565d8); }
.stripe--h3::before { left: 80px; top: 56px; width: 300px; background: var(--blue-2); }
.stripe--h4 { left: -60px; top: 560px; width: 160px; height: 22px; background: var(--cyan-2); }
.stripe--i1 { right: -150px; top: 30%; width: 360px; background: linear-gradient(90deg, #2b8ef0, #8fdcf2); opacity: .9; }
.stripe--i2 { right: -40px; top: calc(30% + 80px); width: 200px; height: 22px; background: var(--blue); }
.stripe--c1 { left: -180px; top: 18%; width: 440px; background: linear-gradient(90deg, #0f2a6b, #1565d8); }
.stripe--c1::before { left: 60px; top: 56px; width: 320px; background: var(--cyan); }
.stripe--c2 { right: -160px; bottom: 10%; width: 460px; background: linear-gradient(90deg, #29b6e3, #8fdcf2); }
.stripe--c2::before { left: -60px; top: -56px; width: 280px; background: var(--blue-2); }
.stripe--r1 { left: -150px; top: 22%; width: 380px; background: linear-gradient(90deg, #1565d8, #2b8ef0); }
.stripe--r2 { right: -120px; bottom: 16%; width: 320px; background: var(--cyan-2); }
.stripe--w1 { left: -140px; top: 12%; width: 340px; background: linear-gradient(90deg, #29b6e3, #8fdcf2); opacity: .9; }

/* ---------- 共通の部品 ---------- */
.card { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); }
.panel { position: relative; background: #fff; border-radius: 32px; box-shadow: var(--shadow); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 60px; padding: 0 30px 0 36px; border-radius: 999px; font-weight: 700; font-size: 17px; letter-spacing: .06em; line-height: 1.3; transition: transform .25s, box-shadow .25s, background-color .25s; }
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn--yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 8px 20px rgba(255, 176, 0, .35); }
.btn--ghost { background: #fff; color: var(--navy); border: 2px solid #ffd35c; box-shadow: 0 8px 20px rgba(20, 70, 140, .08); }
.btn--blue { background: linear-gradient(90deg, #1565d8, #2b8ef0); color: #fff; box-shadow: 0 8px 18px rgba(21, 101, 216, .28); }
.btn--red { background: linear-gradient(90deg, var(--red-1), var(--red-2)); color: #fff; box-shadow: 0 8px 20px rgba(212, 42, 55, .3); }
.btn--sm { min-height: 46px; padding: 0 22px 0 28px; font-size: 15px; }
.btn--xs { min-height: 40px; padding: 0 18px 0 22px; font-size: 14px; }
.btn--sm svg, .btn--xs svg { width: 16px; height: 16px; }

/* セクション見出し：マップピン＋日本語＋小さな英字 */
.head { text-align: center; margin-bottom: var(--head-gap); }
.head__pin { display: block; width: 30px; height: 38px; margin: 0 auto 14px; color: var(--blue); }
.head__title { color: var(--navy); font-weight: 900; font-size: 38px; line-height: 1.4; letter-spacing: .04em; }
.head__en { margin-top: 6px; font-family: var(--en); font-weight: 600; font-size: 17px; color: var(--blue); letter-spacing: .06em; }
.head__lead { margin-top: 22px; font-size: 18px; color: var(--ink); }
.head--left { text-align: left; }
.head--left .head__pin { margin-left: 0; }
.subhead { position: relative; margin-bottom: 22px; padding-left: 16px; color: var(--navy); font-weight: 700; font-size: 20px; line-height: 1.4; }
.subhead::before { content: ""; position: absolute; left: 0; top: .15em; bottom: .15em; width: 4px; border-radius: 4px; background: var(--blue); }

.sec { padding: var(--sec) 0; }

/* ---------- ヘッダー ---------- */
.header { position: fixed; z-index: 50; inset: 0 0 auto; padding: 16px 20px 0; pointer-events: none; }
.header__bar { pointer-events: auto; display: flex; align-items: center; gap: 24px; max-width: 1400px; height: 72px; margin: 0 auto; padding: 0 16px 0 28px; background: rgba(255, 255, 255, .96); border-radius: 999px; box-shadow: 0 8px 26px rgba(20, 70, 140, .1); backdrop-filter: blur(6px); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); }
.logo__mark { width: 62px; height: 26px; }
.logo__text { font-family: var(--en); font-weight: 600; font-size: 21px; letter-spacing: .02em; white-space: nowrap; }
.logo__text b { color: var(--blue); font-weight: 600; }
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: 26px; }
.gnav a { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 14.5px; color: var(--navy); white-space: nowrap; transition: color .2s; }
.gnav a:hover { color: var(--blue); }
.gnav svg { width: 14px; height: 14px; }
.header__btns { display: flex; gap: 10px; }
.hbtn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 14px; color: #fff; white-space: nowrap; transition: filter .2s; }
.hbtn:hover { filter: brightness(1.08); }
.hbtn svg { width: 15px; height: 15px; }
.hbtn--blue { background: linear-gradient(90deg, #1565d8, #2b8ef0); }
.hbtn--red { background: linear-gradient(90deg, var(--red-1), var(--red-2)); }
.hbtn--sp, .burger, .spnav { display: none; }

/* ---------- FV ---------- */
.hero { padding: calc(var(--hh) + 64px) 0 0; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 24px; }
.hero__tag { color: var(--navy); font-weight: 700; font-size: 18px; letter-spacing: .06em; }
.hero__title { margin-top: 18px; color: var(--navy); font-weight: 900; font-size: clamp(44px, 4.1vw, 60px); line-height: 1.32; letter-spacing: .03em; }
.hero__title em { font-style: normal; color: var(--blue); }
.hero__lead { margin-top: 22px; font-size: 17px; line-height: 1.9; color: var(--ink); }
.medals { display: flex; gap: 26px; margin-top: 34px; }
.medal { position: relative; width: 118px; height: 118px; padding-bottom: 6px; }
.medal::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #fff; border: 7px solid var(--blue); box-shadow: 0 0 0 3px #fff, 0 0 0 5px #b9d6f6, var(--shadow); }
.medal::after { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -24px; width: 76px; height: 50px; transform: translateX(-50%); background: linear-gradient(180deg, #ffcf3a, #f2a900); clip-path: polygon(0 0, 100% 0, 100% 100%, 79% 82%, 58% 100%, 58% 30%, 42% 30%, 42% 100%, 21% 82%, 0 100%); }
.medal { isolation: isolate; }
.medal span { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--navy); font-weight: 900; font-size: 15px; line-height: 1.3; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 52px; }
.hero__art { margin-right: -60px; }
.hero__art img { width: 100%; }
.newsbar { display: flex; align-items: center; gap: 28px; margin-top: 48px; padding: 18px 32px; background: #fff; border-radius: 999px; box-shadow: var(--shadow); }
.newsbar__label { padding-right: 28px; border-right: 1px solid var(--line); font-family: var(--en); font-weight: 700; font-size: 18px; color: var(--blue); letter-spacing: .06em; }
.newsbar__item { display: flex; gap: 22px; min-width: 0; color: var(--ink); font-size: 15px; }
.newsbar__item time { font-family: var(--en); font-weight: 500; color: var(--text); }
.newsbar__item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.newsbar__item:hover span { color: var(--blue); }
.newsbar__all { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-weight: 700; font-size: 14px; color: var(--blue); white-space: nowrap; }
.newsbar__all svg { width: 16px; height: 16px; }

/* ---------- 課題 ---------- */
.issues__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.issue { padding: 28px 30px 34px; }
.issue__img { display: grid; place-items: center; height: 170px; }
.issue__img img { max-height: 100%; width: auto; }
.issue__title { margin-top: 18px; color: var(--navy); font-weight: 700; font-size: 20px; line-height: 1.5; }
.num { margin-right: 10px; font-family: var(--en); font-weight: 700; color: var(--blue); }
.issue__text { margin-top: 12px; font-size: 16px; line-height: 1.8; }

/* ---------- サービス ---------- */
.svc-main { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.svc { overflow: hidden; display: flex; flex-direction: column; }
.svc__img { aspect-ratio: 16 / 10; overflow: hidden; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.svc:hover .svc__img img { transform: scale(1.04); }
.svc__body { display: flex; flex-direction: column; flex: 1; padding: 24px 28px 30px; }
.svc__title { color: var(--navy); font-weight: 900; font-size: 21px; line-height: 1.45; }
.svc__text { margin-top: 8px; font-size: 15.5px; }
.svc__body .btn { align-self: center; margin-top: auto; }
.svc__text + .btn { margin-top: 20px; }
.service .subhead:nth-of-type(2) { margin-top: 64px; }
.svc-sub { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.sub { display: block; overflow: hidden; height: 100%; background: #fff; border-radius: 14px; box-shadow: var(--shadow); }
.sub__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.sub__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sub:hover .sub__img img { transform: scale(1.05); }
.sub__name { display: block; padding: 12px 10px 14px; text-align: center; color: var(--navy); font-weight: 700; font-size: 15px; line-height: 1.45; word-break: keep-all; }
.more-link { margin-top: 28px; text-align: right; }
.more-link a { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 700; font-size: 16px; }
.more-link svg { width: 18px; height: 18px; transition: transform .2s; }
.more-link a:hover svg { transform: translateX(4px); }

/* ---------- 比較 ---------- */
.compare__grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 48px; align-items: center; }
.compare__phone { position: relative; }
.compare__phone img { width: 100%; }
.tag { position: absolute; left: 13%; padding: 3px 12px; border-radius: 999px; font-weight: 700; font-size: 13px; color: #fff; line-height: 1.6; }
.tag--ad { top: 21.5%; background: #ef6b7a; }
.tag--map { top: 39%; background: var(--blue); }
.tag--hp { top: 67%; background: var(--blue); }
.compare__list { display: grid; gap: 20px; }
.cmp { display: grid; grid-template-columns: 110px minmax(0, 1fr); align-items: center; gap: 24px; padding: 24px 32px 24px 24px; background: #fff; border: 2px solid #dbe7f4; border-radius: var(--r); box-shadow: var(--shadow); }
.cmp__icon { width: 96px; margin: 0 auto; }
.cmp__body { padding-left: 24px; border-left: 1px solid var(--line); }
.cmp__title { color: var(--navy); font-weight: 900; font-size: 21px; line-height: 1.45; }
.cmp__text { margin-top: 6px; font-size: 15.5px; line-height: 1.75; }
.rates { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.rates li { display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px; border-radius: 999px; background: #eef6fd; color: var(--navy); font-weight: 700; font-size: 14px; }
.r { position: relative; display: inline-block; width: 18px; height: 18px; }
.r--one { border-radius: 50%; border: 2.5px solid var(--cyan); }
.r--dbl { border-radius: 50%; border: 2.5px solid var(--cyan); }
.r--dbl::after { content: ""; position: absolute; inset: 2.5px; border-radius: 50%; border: 2px solid var(--cyan); }
.r--tri { width: 18px; height: 16px; background: linear-gradient(var(--yellow), var(--yellow)); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.r--tri::after { content: ""; position: absolute; inset: 5px 4.5px 2.5px; background: #eef6fd; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.rates-note { margin-top: 18px; text-align: right; font-size: 13px; color: #6a7385; }

/* ---------- STUDIO NAGAYUとは ---------- */
.about__panel { padding: 72px 72px 64px; }
.about__bld { position: absolute; left: -36px; top: -72px; width: 230px; }
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.about__text p { font-size: 17px; line-height: 2; color: var(--ink); }
.about__text p + p { margin-top: 16px; }
.about__photo { overflow: hidden; border-radius: var(--r); aspect-ratio: 16 / 9; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__panel > .center { margin-top: 48px; }

/* ---------- 選ばれる理由 ---------- */
.reason__town { max-width: 760px; margin: calc(var(--head-gap) * -0.4) auto 8px; }
.reason__slider { position: relative; }
.reason__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.rsn { position: relative; padding: 50px 26px 32px; text-align: center; }
.rsn__no { position: absolute; left: 50%; top: -22px; transform: translateX(-50%); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #2b8ef0, #1565d8); color: #fff; font-family: var(--en); font-weight: 700; font-size: 19px; box-shadow: 0 6px 14px rgba(21, 101, 216, .3); }
.rsn__title { color: var(--navy); font-weight: 900; font-size: 19px; line-height: 1.55; }
.rsn__text { margin-top: 14px; text-align: left; font-size: 15.5px; line-height: 1.85; }
.arrow { display: none; }

/* ---------- 流れ ---------- */
.flow__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 36px; counter-reset: s; }
.step { position: relative; padding: 46px 16px 28px; text-align: center; }
.step + .step::before { content: ""; position: absolute; left: -32px; top: 50%; width: 28px; border-top: 3px dotted #9cc6f2; }
.step__no { position: absolute; left: 50%; top: -20px; transform: translateX(-50%); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #2b8ef0, #1565d8); color: #fff; font-family: var(--en); font-weight: 700; font-size: 18px; }
.step__icon { display: block; width: 56px; height: 56px; margin: 0 auto; color: var(--blue); }
.step__title { margin-top: 14px; color: var(--navy); font-weight: 900; font-size: 19px; }
.step__text { margin-top: 8px; font-size: 15px; line-height: 1.7; }

/* ---------- 実績 ---------- */
.works__list { display: grid; gap: var(--gap); }
.work { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 40px; align-items: center; padding: 24px 40px 24px 24px; }
.work__img { overflow: hidden; border-radius: 14px; aspect-ratio: 16 / 10; }
.work__img img { width: 100%; height: 100%; object-fit: cover; }
.chip { display: inline-block; padding: 3px 14px; border-radius: 6px; background: #d9f2fb; color: var(--navy); font-weight: 700; font-size: 14px; }
.work__title { margin-top: 12px; color: var(--navy); font-weight: 900; font-size: 22px; line-height: 1.55; }
.work__client { margin-top: 10px; font-size: 15px; }
.work__body .btn { margin-top: 18px; }
.sample-note { margin-top: 14px; text-align: right; font-size: 13px; color: #6a7385; }
.works .center { margin-top: 40px; }

/* ---------- FAQ ---------- */
.faq__list { display: grid; gap: 14px; }
.qa { background: #fff; border-radius: 14px; box-shadow: var(--shadow); }
.qa__q { display: flex; align-items: center; gap: 18px; width: 100%; padding: 20px 28px; text-align: left; }
.qa__mark { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #2b8ef0, #1565d8); color: #fff; font-family: var(--en); font-weight: 700; font-size: 17px; }
.qa__text { flex: 1; color: var(--navy); font-weight: 700; font-size: 18px; line-height: 1.6; }
.qa__pm { position: relative; flex: none; width: 22px; height: 22px; }
.qa__pm::before, .qa__pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2.6px; border-radius: 2px; background: var(--blue); transform: translate(-50%, -50%); transition: transform .3s; }
.qa__pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa__q[aria-expanded="true"] .qa__pm::after { transform: translate(-50%, -50%) rotate(0); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.qa__q[aria-expanded="true"] + .qa__a, .qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa__inner { overflow: hidden; }
.qa__inner p { margin: 0 28px 24px 84px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.85; }

/* ---------- お知らせ ---------- */
.news { background: #eef5fc; }
.news__grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
.news .head { margin-bottom: 0; }
.news__list { display: grid; gap: 14px; }
.nrow { display: flex; align-items: center; gap: 28px; padding: 22px 26px 22px 32px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); color: var(--ink); transition: color .2s; }
.nrow time { flex: none; font-family: var(--en); font-weight: 600; font-size: 15px; color: var(--navy); }
.nrow span { flex: 1; font-size: 16px; }
.nrow:hover { color: var(--blue); }
.circle-arrow { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #eef6fd; color: var(--blue); }
.circle-arrow svg { width: 15px; height: 15px; }

/* ---------- 相談 ---------- */
.cta { padding: 160px 0; background: url(../assets/img/map-bg.webp) center / cover, #eef1f4; }
.cta__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 56px; }
.cta__title { color: var(--navy); font-weight: 900; font-size: 34px; line-height: 1.5; letter-spacing: .03em; }
.cta__text { margin-top: 18px; font-size: 17px; color: var(--ink); }
.cta__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.cta__photo { overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 3; }
.cta__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- フッター ---------- */
.footer { position: relative; overflow: hidden; padding: 88px 0 28px; background: linear-gradient(180deg, #9fe2f5, #7fd6f0); color: var(--navy); }
.fwave { position: absolute; z-index: 0; height: 64px; border-radius: 999px; background: rgba(255, 255, 255, .45); }
.fwave--1 { left: -80px; top: 150px; width: 520px; }
.fwave--2 { left: 120px; top: 240px; width: 360px; height: 40px; background: rgba(255, 255, 255, .3); }
.fwave--3 { right: -120px; top: 40px; width: 420px; transform: rotate(-35deg); background: rgba(255, 255, 255, .3); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.logo--footer .logo__mark { width: 70px; height: 30px; }
.logo--footer .logo__text { font-size: 26px; }
.footer__tag { margin-top: 10px; font-weight: 700; font-size: 15px; }
.footer__addr { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 15px; }
.footer__addr svg { width: 18px; height: 18px; color: var(--navy); }
.footer__nav { padding-left: 48px; border-left: 1px solid rgba(15, 42, 107, .25); }
.footer__nav ul { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 64px; }
.footer__nav a { position: relative; padding-left: 16px; font-weight: 500; font-size: 15px; }
.footer__nav a::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-top: 2px solid var(--navy); border-right: 2px solid var(--navy); transform: rotate(45deg); }
.footer__nav a:hover { text-decoration: underline; }
.footer__copy { position: relative; z-index: 1; margin-top: 56px; text-align: center; font-family: var(--en); font-size: 13px; }
.totop { position: absolute; z-index: 1; right: 40px; top: 40px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--navy); box-shadow: var(--shadow); transition: transform .2s; }
.totop:hover { transform: translateY(-3px); }
.totop svg { width: 22px; height: 22px; }

/* ---------- 出現アニメーション ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   中間幅（1100〜1279px）：ナビを詰める
   ========================================================= */
@media (min-width: 1100px) and (max-width: 1399px) {
  .gnav ul { gap: 16px; }
  .gnav a { font-size: 13.5px; }
  .hbtn--blue { display: none; }
  .header__bar { gap: 18px; }
}

/* =========================================================
   タブレット（768〜1099px）
   ========================================================= */
@media (max-width: 1099px) {
  .header { padding: 10px 14px 0; }
  .header__bar { height: 60px; gap: 10px; padding: 0 8px 0 20px; }
  .gnav, .header__btns { display: none; }
  .hbtn--sp { display: inline-flex; margin-left: auto; height: 40px; padding: 0 18px; font-size: 14px; }
  .burger { display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; }
  .burger span { display: block; width: 24px; height: 2.6px; border-radius: 2px; background: var(--navy); transition: transform .3s, opacity .3s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.6px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.6px) rotate(-45deg); }
  .spnav { pointer-events: auto; position: fixed; inset: calc(var(--hh) + 4px) 14px auto; display: block; padding: 18px 24px 26px; background: #fff; border-radius: 24px; box-shadow: 0 20px 40px rgba(20, 70, 140, .18); }
  .spnav[hidden] { display: none; }
  .spnav li a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 700; font-size: 16px; }
  .spnav .btn { display: flex; width: 100%; margin-top: 14px; }
  .spnav .btn:first-of-type { margin-top: 22px; }

  .hero { padding-top: calc(var(--hh) + 48px); }
  .hero__grid { grid-template-columns: 1fr; gap: 8px; }
  .hero__title { font-size: 50px; }
  .hero__art { max-width: 680px; margin: 0 auto; }
  .hero__btns { margin-top: 44px; }
  .newsbar { margin-top: 32px; }
  .head__title { font-size: 32px; }
  .issues__list { grid-template-columns: repeat(3, 1fr); }
  .issue { padding: 22px 18px 26px; }
  .issue__img { height: 120px; }
  .issue__title { font-size: 17px; }
  .issue__text { font-size: 15px; }
  .svc-main { grid-template-columns: repeat(3, 1fr); }
  .svc__body { padding: 18px 18px 24px; }
  .svc__title { font-size: 18px; }
  .svc__text { font-size: 14.5px; }
  .svc-sub { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .compare__grid { grid-template-columns: 240px minmax(0, 1fr); gap: 32px; }
  .cmp { grid-template-columns: 76px minmax(0, 1fr); gap: 16px; padding: 20px 22px 20px 18px; }
  .cmp__icon { width: 70px; }
  .cmp__body { padding-left: 16px; }
  .cmp__title { font-size: 18px; }
  .about__panel { padding: 64px 40px 52px; }
  .about__bld { width: 170px; left: -20px; top: -60px; }
  .about__grid { grid-template-columns: 1fr; gap: 32px; }
  .reason__list { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .flow__list { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .step { padding: 40px 8px 22px; }
  .step + .step::before { left: -18px; width: 16px; }
  .step__icon { width: 44px; height: 44px; }
  .step__title { font-size: 16px; }
  .step__text { font-size: 13.5px; }
  .work { grid-template-columns: 300px minmax(0, 1fr); gap: 28px; padding: 20px 28px 20px 20px; }
  .work__title { font-size: 19px; }
  .news__grid { grid-template-columns: 1fr; gap: 28px; }
  .cta { padding: 128px 0; }
  .cta__panel { padding: 44px 40px; gap: 32px; }
  .cta__title { font-size: 28px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__nav { padding-left: 0; border-left: 0; }
}

/* =========================================================
   SP（〜767px）：390px幅で本文16px
   ========================================================= */
@media (max-width: 767px) {
  .header { padding: 8px 10px 0; }
  .header__bar { height: 56px; padding: 0 4px 0 16px; }
  .logo__mark { width: 46px; height: 20px; }
  .logo__text { font-size: 16px; }
  .hbtn--sp { height: 36px; padding: 0 14px; font-size: 13px; }
  .spnav { inset: calc(var(--hh) + 4px) 10px auto; max-height: calc(100dvh - var(--hh) - 20px); overflow-y: auto; }
  .btn { min-height: 56px; font-size: 16px; }

  .stripe { height: 22px; }
  .stripe--h1 { right: -200px; top: 20px; width: 360px; }
  .stripe--h1::before { top: 40px; left: 90px; width: 240px; }
  .stripe--h1::after { top: -40px; width: 160px; }
  .stripe--h3 { left: -230px; top: auto; bottom: 260px; width: 380px; }
  .stripe--h3::before { top: 36px; width: 220px; }
  .stripe--h2, .stripe--h4, .stripe--i2 { display: none; }
  .stripe--i1, .stripe--c1, .stripe--c2, .stripe--r1, .stripe--r2, .stripe--w1 { width: 260px; }
  .stripe--c1::before, .stripe--c2::before { top: 36px; width: 180px; }
  .stripe--i1, .stripe--r2, .stripe--c2 { right: -200px; }
  .stripe--c1, .stripe--r1, .stripe--w1 { left: -200px; }

  .hero { padding-top: calc(var(--hh) + 32px); }
  .hero__tag { font-size: 14px; }
  .hero__title { margin-top: 12px; font-size: 38px; line-height: 1.35; }
  .hero__lead { margin-top: 16px; font-size: 16px; }
  .medals { justify-content: center; gap: 16px; margin-top: 28px; }
  .medal { width: 98px; height: 98px; }
  .medal::before { border-width: 6px; }
  .medal::after { width: 60px; height: 38px; bottom: -22px; }
  .medal span { font-size: 13px; }
  .hero__art { margin: 24px -20px 0; }
  .hero__btns { flex-direction: column; gap: 12px; margin-top: 8px; }
  .hero__btns .btn { width: 100%; }
  .hero__grid { display: flex; flex-direction: column; }
  .hero__body { display: contents; }
  .hero__tag { order: 1; } .hero__title { order: 2; } .hero__lead { order: 3; } .medals { order: 4; } .hero__art { order: 5; } .hero__btns { order: 6; }
  .newsbar { flex-wrap: wrap; gap: 4px 14px; margin-top: 24px; padding: 14px 18px; border-radius: 16px; }
  .newsbar__label { padding-right: 14px; font-size: 15px; }
  .newsbar__item { flex-direction: column; gap: 0; flex: 1 1 100%; order: 3; font-size: 15px; }
  .newsbar__item span { white-space: normal; }
  .newsbar__all { font-size: 13px; }

  .head__pin { width: 24px; height: 30px; margin-bottom: 10px; }
  .head__title { font-size: 26px; line-height: 1.45; }
  .head__en { font-size: 15px; }
  .head__lead { margin-top: 14px; font-size: 16px; }
  .subhead { font-size: 18px; margin-bottom: 16px; }

  .issues__list { grid-template-columns: 1fr; }
  .issue { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 16px; align-items: center; padding: 16px 18px; }
  .issue__img { grid-row: 1 / 3; height: 96px; }
  .issue__title { margin-top: 0; font-size: 17px; }
  .issue__text { margin-top: 4px; font-size: 15px; line-height: 1.7; }
  .num { display: block; margin: 0; }

  .svc-main { grid-template-columns: 1fr; }
  .svc { flex-direction: row; }
  .svc__img { flex: none; width: 44%; aspect-ratio: auto; }
  .svc__body { padding: 16px 16px 18px; }
  .svc__title { font-size: 17px; }
  .svc__text { font-size: 14.5px; }
  .svc__text + .btn { margin-top: 12px; }
  .svc__body .btn { align-self: flex-start; }
  .service .subhead:nth-of-type(2) { margin-top: 44px; }
  .svc-sub { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sub__name { padding: 10px 6px 12px; font-size: 14px; }
  .more-link { text-align: center; }

  .compare__grid { grid-template-columns: 1fr; gap: 28px; }
  .compare__phone { width: 230px; margin: 0 auto; }
  .tag { font-size: 12px; }
  .cmp { grid-template-columns: 1fr; padding: 20px; }
  .cmp__icon { width: 60px; position: absolute; }
  .cmp { position: relative; }
  .cmp__body { padding-left: 0; border-left: 0; }
  .cmp__title { padding-left: 74px; min-height: 60px; display: flex; align-items: center; font-size: 18px; }
  .cmp__text { margin-top: 10px; font-size: 15px; }
  .rates li { font-size: 13px; padding: 3px 12px; }
  .rates-note { text-align: left; }

  .about__panel { padding: 72px 20px 36px; border-radius: 24px; }
  .about__bld { width: 120px; left: -6px; top: -50px; }
  .about__text p { font-size: 16px; line-height: 1.9; }
  .about__panel > .center { margin-top: 32px; }

  .reason__town { margin: -8px -10px 8px; }
  .reason__slider { margin: 0 calc(var(--pad) * -1); }
  .reason__list { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 30px var(--pad) 12px; scrollbar-width: none; }
  .reason__list::-webkit-scrollbar { display: none; }
  .rsn { flex: none; width: 78%; scroll-snap-align: center; padding: 44px 20px 26px; }
  .rsn__title { font-size: 18px; }
  .rsn__text { font-size: 15px; }
  .arrow { display: grid; place-items: center; position: absolute; z-index: 2; top: 50%; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--blue); box-shadow: var(--shadow); }
  .arrow svg { width: 18px; height: 18px; }
  .arrow--prev { left: 6px; } .arrow--prev svg { transform: scaleX(-1); }
  .arrow--next { right: 6px; }

  .flow__list { grid-template-columns: 1fr; gap: 22px; }
  .step { display: grid; grid-template-columns: 44px 48px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 16px 18px; text-align: left; }
  .step + .step::before { left: 39px; top: -20px; width: 0; height: 18px; border-top: 0; border-left: 3px dotted #9cc6f2; }
  .step__no { position: static; transform: none; grid-row: 1 / 3; }
  .step__icon { grid-row: 1 / 3; grid-column: 2; width: 42px; height: 42px; margin: 0; }
  .step__title { margin-top: 0; font-size: 17px; }
  .step__text { margin-top: 0; font-size: 14.5px; }
  .step__text br { display: none; }

  .work { grid-template-columns: 1fr; gap: 16px; padding: 14px 14px 22px; }
  .work__body { padding: 0 8px; }
  .work__title { font-size: 18px; }
  .work__title br { display: none; }

  .qa__q { gap: 12px; padding: 16px 16px; }
  .qa__mark { width: 32px; height: 32px; font-size: 15px; }
  .qa__text { font-size: 16px; }
  .qa__inner p { margin: 0 16px 18px; font-size: 15px; }

  .news__grid { gap: 20px; }
  .news .head--left { text-align: center; }
  .news .head--left .head__pin { margin-left: auto; }
  .nrow { flex-wrap: wrap; gap: 4px 12px; padding: 16px 18px; }
  .nrow span { flex: 1 1 100%; order: 3; font-size: 15px; }
  .nrow .circle-arrow { margin-left: auto; width: 28px; height: 28px; }

  .cta { padding: 100px 0; }
  .cta__panel { grid-template-columns: 1fr; padding: 32px 20px 20px; gap: 24px; border-radius: 24px; }
  .cta__title { font-size: 23px; }
  .cta__text { font-size: 15px; }
  .cta__text br { display: none; }
  .cta__btns { flex-direction: column; }
  .cta__btns .btn { width: 100%; }

  .footer { padding: 64px 0 24px; }
  .logo--footer .logo__text { font-size: 21px; }
  .footer__brand { text-align: center; }
  .footer__addr { justify-content: center; }
  .footer__nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
  .totop { right: 16px; top: 16px; width: 44px; height: 44px; }
  .footer__copy { margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ===== 調整（1回目） ===== */
/* イラストの白地を水色の地になじませる：章の背景を水色にして、multiply の相手を作る */
.hero, .issues, .service, .compare, .about, .reason, .flow, .works, .faq { background-color: var(--bg); }
.issue__img img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
@media (min-width: 1100px) {
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
  .hero__title { font-size: clamp(44px, 3.9vw, 58px); }
  .stripe--h3 { top: 780px; }
}
.fwave--1 { top: 250px; }
.fwave--2 { top: 330px; }
/* .wrap の z-index があると、そこで重なりが閉じて multiply が地色に届かない */
.wrap { z-index: auto; }
.issue__img img { height: 170px; width: auto; }
@media (max-width: 1099px) { .issue__img img { height: 120px; } }
@media (max-width: 767px) { .issue__img img { height: 96px; } }
/* ビルのイラストは白いパネルの内側の左上に（白地がパネルになじむ） */
.about__bld { left: 28px; top: 24px; width: 200px; }
@media (max-width: 1099px) { .about__bld { left: 16px; top: 16px; width: 150px; } }
@media (max-width: 767px) { .about__bld { position: static; width: 120px; margin: -48px auto 0; } .about__panel { padding-top: 40px; } }
.issue__img { height: 190px; } .issue__img img { height: 190px; }
@media (max-width: 1099px) { .issue__img { height: 130px; } .issue__img img { height: 130px; } }
@media (max-width: 767px) { .issue__img { height: 96px; } .issue__img img { height: 96px; } }
/* FAQの質問は長いので普通に折り返す */
.qa__q h3, .qa__text { word-break: normal; overflow-wrap: anywhere; }
@media (max-width: 767px) {
  .hero__title { font-size: min(31px, calc(31 * 100vw / 390)); letter-spacing: .01em; }
  .stripe--h3 { display: none; }
  .cmp__icon { left: 20px; top: 20px; }
  .footer__nav a { font-size: 14px; }
  .footer__nav ul { gap: 12px 12px; }
}
/* 文節（<wbr>）で折り返す */
.hero__lead, .head__lead, .issue__text, .svc__text, .cmp__text, .about__text p, .rsn__text, .cta__text, .step__text, .work__title, .qa__text { word-break: keep-all; overflow-wrap: normal; }
@media (max-width: 767px) { .arrow { display: none; } .hero__lead br { display: none; } }
@media (min-width: 1100px) and (max-width: 1399px) {
  .header__bar { padding: 0 12px 0 20px; gap: 14px; }
  .logo__mark { width: 50px; height: 22px; }
  .logo__text { font-size: 18px; }
  .gnav ul { gap: 13px; }
  .gnav a { font-size: 13px; }
  .hbtn { padding: 0 14px; font-size: 13px; }
}
.sub__name { word-break: normal; overflow-wrap: anywhere; }
@media (max-width: 380px) {
  .header__bar { padding: 0 2px 0 12px; gap: 6px; }
  .logo__mark { width: 36px; height: 16px; }
  .logo__text { font-size: 14px; }
  .hbtn--sp { padding: 0 10px; font-size: 12px; }
  .burger { width: 40px; }
  .medals { gap: 8px; }
  .medal { width: min(98px, 27vw); height: min(98px, 27vw); }
  .medal span { font-size: 12px; }
  .svc { flex-direction: column; }
  .svc__img { width: 100%; aspect-ratio: 16 / 9; }
}

/* ===== メガメニュー（PC：「サービス」にマウスを乗せる・キーボードで移動すると開く） ===== */
.mega { display: none; }
@media (min-width: 1100px) {
  .has-mega { position: static; }
  .has-mega > a svg { transition: transform .25s; }
  .has-mega:hover > a, .has-mega:focus-within > a { color: var(--blue); }
  .has-mega:hover > a svg, .has-mega:focus-within > a svg { transform: rotate(180deg); }
  .mega { display: block; position: absolute; left: 0; right: 0; top: calc(100% + 12px); max-width: 1400px; margin: 0 auto; padding: 0 20px;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
  .mega::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 24px; }
  .has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
  .mega__inner { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; padding: 36px 44px 40px; background: #fff; border-radius: 28px; box-shadow: 0 24px 50px rgba(20, 70, 140, .16); }
  .mega__en { font-family: var(--en); font-weight: 700; font-size: 34px; color: var(--navy); letter-spacing: .04em; line-height: 1.2; }
  .mega__ja { margin-top: 4px; font-weight: 700; font-size: 15px; color: var(--blue); }
  .mega__all { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; padding: 10px 18px; border-radius: 999px; background: #eef6fd; color: var(--blue); font-weight: 700; font-size: 14px; }
  .mega__all svg { width: 16px; height: 16px; }
  .mega__label { position: relative; padding-left: 12px; margin-bottom: 12px; color: var(--navy); font-weight: 700; font-size: 14px; }
  .mega__label::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 3px; border-radius: 3px; background: var(--blue); }
  .mega__label + ul + .mega__label { margin-top: 22px; }
  .mega__main { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .mega__sub { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .mega a { display: block; color: var(--navy); font-weight: 700; font-size: 14.5px; line-height: 1.45; }
  .mega__sub a { font-size: 13px; }
  .mega__img { display: block; overflow: hidden; margin-bottom: 8px; border-radius: 12px; aspect-ratio: 16 / 9; }
  .mega__sub .mega__img { border-radius: 10px; aspect-ratio: 4 / 3; }
  .mega__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
  .mega a:hover { color: var(--blue); }
  .mega a:hover img { transform: scale(1.05); }
}
@media (min-width: 1100px) and (max-width: 1399px) { .mega__inner { grid-template-columns: 180px minmax(0, 1fr); gap: 28px; padding: 28px 32px 32px; } .mega__en { font-size: 28px; } }
/* SPメニューの事業の小項目 */
.spnav__sub { margin: -4px 0 6px; padding-left: 14px; }
.spnav .spnav__sub li a { padding: 9px 4px; border-bottom: 0; font-weight: 500; font-size: 14.5px; color: var(--ink); }
.spnav .spnav__sub li a::before { content: "– "; color: var(--blue); }
@media (min-width: 1100px) { .mega__main { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mega__sub { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
/* ヘッダーのナビの指定（横並び・改行なし）がメガメニューの中に効かないように */
@media (min-width: 1100px) {
  .gnav .mega__main { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .gnav .mega__sub { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
  .gnav .mega a { display: block; gap: 0; white-space: normal; font-size: 14.5px; }
  .gnav .mega__sub a { font-size: 13px; }
  .gnav .mega__all { display: inline-flex; gap: 8px; font-size: 14px; }
  .gnav .mega__all svg { width: 16px; height: 16px; }
}

/* ===== FVを画面の高さいっぱい（100vh）に。お知らせの帯は画面の下端に置く ===== */
.hero { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; padding-bottom: 40px; }
.hero__grid { flex: 1; align-content: center; }
.hero > .wrap:last-child { width: 100%; }
@media (max-width: 767px) { .hero { padding-bottom: 28px; } }
/* 背の低いPC画面（〜820px）でもFVが1画面に収まるように詰める */
@media (min-width: 1100px) and (max-height: 880px) {
  .hero { padding-top: calc(var(--hh) + 20px); padding-bottom: 24px; }
  .hero__tag { font-size: 16px; }
  .hero__title { margin-top: 10px; font-size: clamp(40px, 6.4vh, 54px); }
  .hero__lead { margin-top: 14px; font-size: 16px; line-height: 1.8; }
  .medals { margin-top: 20px; gap: 22px; }
  .medal { width: 92px; height: 92px; }
  .medal::after { width: 60px; height: 40px; bottom: -20px; }
  .medal span { font-size: 13px; }
  .hero__btns { margin-top: 36px; }
  .hero__art img { max-height: calc(100svh - 260px); width: auto; margin: 0 auto; }
  .newsbar { margin-top: 20px; padding: 12px 28px; }
}
/* 比較：リアルなスマホ画像（compare-phone-v2）に合わせたラベル位置 */
.tag { left: 12%; }
.tag--ad { top: 17%; }
.tag--map { top: 31%; }
.tag--hp { top: 78%; }
.compare__grid { grid-template-columns: 300px minmax(0, 1fr); gap: 64px; }
.tag { left: -4%; box-shadow: 0 4px 10px rgba(20, 70, 140, .18); }
.tag--ad { top: 17%; } .tag--map { top: 31%; } .tag--hp { top: 78.5%; }
@media (max-width: 1099px) { .compare__grid { grid-template-columns: 220px minmax(0, 1fr); gap: 36px; } }
@media (max-width: 767px) { .compare__grid { grid-template-columns: 1fr; } .compare__phone { width: 200px; } }
/* 正面のスマホ画像（compare-phone-v3）に合わせたラベル位置 */
.tag { left: -3%; }
.tag--ad { top: 17.5%; } .tag--map { top: 31.5%; } .tag--hp { top: 79%; }
