/* ===========================================================
   D-MS奈良 LP  style.css
   =========================================================== */
:root {
  --navy: #153c8f;
  --blue: #1d4fbf;
  --sky: #e6edfb;
  --red: #ff7a00;
  --red-dark: #d96400;
  --yellow: #ffd23f;
  --text: #1b2533;
  --muted: #5b6676;
  --line: #d6dee8;
  --bg: #f4f7fb;
  --white: #fff;
  --font: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-num: "Oswald", "Zen Kaku Gothic New", sans-serif;
  --header-h: 72px;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--white); font-size: 16px; line-height: 1.85; font-weight: 500; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* 仮の内容の目印（本番前に外す） */
mark.tbd { background: linear-gradient(transparent 55%, #fff27a 55%); color: inherit; padding: 0 2px; }
.preview-note { background: #fff27a; color: #4a3d00; font-size: 12px; text-align: center; padding: 4px 8px; line-height: 1.5; }
.preview-note mark.tbd { background: none; font-weight: 700; }

.num { font-family: var(--font-num); font-weight: 600; letter-spacing: .01em; }

/* ---------- ボタン ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; border: 0; border-radius: 999px; padding: .8em 1.6em; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s, background-color .2s; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 4px 0 var(--red-dark); }
.btn--red:hover { background: var(--red-dark); }
.btn--red:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--red-dark); }
.btn--block { display: flex; width: 100%; font-size: 1.1rem; padding: 1em; }

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.site-header__inner { max-width: 1240px; margin: 0 auto; height: var(--header-h); padding: 0 20px; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex-shrink: 0; }
.logo__mark svg { width: 40px; height: 40px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__name { font-size: 1.35rem; font-weight: 900; letter-spacing: .02em; }
.logo__sub { font-size: .7rem; color: var(--muted); font-weight: 500; }
.gnav { display: flex; gap: 20px; margin-left: auto; font-size: .9rem; font-weight: 700; }
.gnav a { color: var(--text); text-decoration: none; position: relative; padding: 4px 0; }
.gnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.gnav a:hover::after { transform: scaleX(1); }
.header-tel { display: flex; flex-direction: column; text-decoration: none; color: var(--navy); line-height: 1.2; }
.header-tel__label { font-size: .7rem; color: var(--muted); }
.header-tel__num { font-family: var(--font-num); font-size: 1.5rem; font-weight: 700; }
.header-cta { padding: .6em 1.3em; font-size: .9rem; }

@media (max-width: 1100px) { .gnav { display: none; } .header-tel { margin-left: auto; } }
@media (max-width: 640px) {
  :root { --header-h: 60px; }
  .logo__mark svg { width: 34px; height: 34px; }
  .logo__name { font-size: 1.15rem; }
  .header-tel__label { display: none; }
  .header-tel__num { font-size: 1.1rem; }
  .header-cta { display: none; }
}

/* ---------- ファーストビュー ---------- */
.hero { background: linear-gradient(160deg, #eaf1fa 0%, #fff 60%); overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; right: -10%; top: -30%; width: 60%; aspect-ratio: 1; background: var(--navy); border-radius: 50%; opacity: .04; }
.hero__inner { max-width: 1240px; margin: 0 auto; padding: 56px 20px 64px; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; position: relative; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.hero__tags li { background: var(--navy); color: #fff; font-size: .85rem; font-weight: 700; border-radius: 999px; padding: 2px 14px; }
.hero__lead { margin-bottom: 8px; }
.hero__lead span { display: inline-block; background: #fff; border: 2px solid var(--navy); color: var(--navy); font-weight: 900; font-size: 1.1rem; padding: 2px 14px; border-radius: 6px; }
.hero__title { font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.3; font-weight: 900; color: var(--navy); letter-spacing: .01em; margin-bottom: 28px; }
.hero__line { display: block; }
.hero__title em { font-style: normal; color: var(--red); }
.hero__points { display: flex; gap: 14px; }
.hero__points li { width: 128px; aspect-ratio: 1; border-radius: 50%; background: var(--navy); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1.35; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--navy); }
.hero__points b { font-size: 1.25rem; color: var(--yellow); font-weight: 900; }
.hero__points span { font-size: .78rem; }
.hero__visual { position: relative; }
.hero__photo { position: relative; }
.hero__illust { width: 100%; max-width: 480px; margin: 0 auto; }
.hero__photo-note { font-size: .75rem; text-align: center; color: var(--muted); }
.hero__badge { position: absolute; left: 0; bottom: 30px; width: 124px; font-size: .95rem; aspect-ratio: 1; border-radius: 50%; background: var(--red); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 900; line-height: 1.3; transform: rotate(-8deg); box-shadow: 0 6px 18px rgba(255,122,0,.3); }

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; padding: 28px 16px 40px; gap: 8px; }
  .hero__visual { order: -1; width: 100%; max-width: 210px; margin: 0 auto 14px; }
  .photo--hero { box-shadow: 0 0 0 5px #fff, 0 10px 24px rgba(21,60,143,.15); }
  .photo--hero .photo__label { font-size: .62rem; bottom: 8px; }
  .hero__badge { width: 86px; font-size: .68rem; bottom: auto; top: 6px; left: auto; right: -34px; }
  .hero__title { text-align: center; }
  .hero__lead { text-align: center; }
  .hero__points { justify-content: center; gap: 8px; }
  .hero__points li { width: 31%; max-width: 116px; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--navy); }
  .hero__points b { font-size: 1rem; }
  .hero__points span { font-size: .68rem; }
}

/* ---------- 電話CTA ---------- */
.cta { background: var(--navy); color: #fff; padding: 36px 16px; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 14px, transparent 14px 28px); }
.cta__inner { max-width: 960px; margin: 0 auto; text-align: center; }
.cta__catch { margin-bottom: 18px; }
.cta__catch span { display: inline-block; background: var(--yellow); color: var(--navy); font-weight: 900; padding: 4px 18px; border-radius: 999px; font-size: 1.05rem; position: relative; }
.cta__catch span::after { content: ""; position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); border: 8px solid transparent; border-top-color: var(--yellow); border-bottom: 0; }
.cta__btns { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.cta-tel { display: flex; align-items: center; justify-content: center; gap: 14px; background: #fff; color: var(--red); border-radius: 14px; padding: 14px 20px; text-decoration: none; box-shadow: 0 5px 0 #c7d2e0; transition: transform .15s; }
.cta-tel:active { transform: translateY(3px); }
.cta-tel__icon { width: 44px; height: 44px; background: var(--red); color: #fff; border-radius: 50%; padding: 10px; flex-shrink: 0; }
.cta-tel__body { display: flex; flex-direction: column; text-align: left; line-height: 1.25; }
.cta-tel__num { font-family: var(--font-num); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; }
.cta-tel__time { font-size: .8rem; color: var(--muted); }
.cta-form { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--red); color: #fff; border-radius: 14px; padding: 14px 20px; text-decoration: none; font-weight: 900; font-size: 1.1rem; box-shadow: 0 5px 0 var(--red-dark); line-height: 1.4; transition: transform .15s; }
.cta-form small { font-size: .78rem; font-weight: 500; opacity: .9; }
.cta-form:active { transform: translateY(3px); }
@media (max-width: 720px) { .cta__btns { grid-template-columns: 1fr; } .cta__catch span { font-size: .9rem; } }

/* ---------- セクション共通 ---------- */
.sec { padding: 88px 20px; }
.sec:nth-of-type(even) { background: var(--bg); }
.sec__inner { max-width: 1100px; margin: 0 auto; }
.sec__inner--narrow { max-width: 760px; }
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head__en { font-family: var(--font-num); color: var(--red); font-size: 1.05rem; font-weight: 600; letter-spacing: .12em; line-height: 1; margin-bottom: 10px; }
.sec-head__sub { color: var(--navy); font-weight: 700; margin-bottom: 4px; }
.sec-head__title { font-size: clamp(1.55rem, 3.2vw, 2.3rem); font-weight: 900; color: var(--navy); line-height: 1.45; }
.sec-head__title::after { content: ""; display: block; width: 48px; height: 4px; background: var(--red); border-radius: 2px; margin: 18px auto 0; transform-origin: center; }
@media (max-width: 640px) { .sec { padding: 60px 16px; } .sec-head { margin-bottom: 32px; } }

/* ---------- お悩み ---------- */
.worry__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 900px; margin: 0 auto; }
.worry__list li { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 16px 18px 16px 54px; position: relative; font-weight: 700; }
.worry__list li::before { content: ""; position: absolute; left: 18px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 6px; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5 9-10' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.worry__list b { color: var(--red); }
.worry__answer { text-align: center; margin-top: 44px; font-size: clamp(1.25rem, 2.6vw, 1.75rem); font-weight: 900; color: var(--navy); line-height: 1.6; }
.worry__answer span { display: inline-block; }
.worry__answer strong { color: var(--red); background: linear-gradient(transparent 62%, var(--yellow) 62%); }
@media (max-width: 720px) { .worry__list { grid-template-columns: 1fr; } }

/* ---------- 選ばれる理由 ---------- */
.reason__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reason-card { background: #fff; border-radius: var(--radius); padding: 22px 20px 24px; border-top: 5px solid var(--navy); box-shadow: 0 2px 0 var(--line); position: relative; }
.reason-card__no { font-weight: 900; color: var(--red); font-size: .9rem; display: flex; align-items: baseline; gap: 4px; }
.reason-card__no span { font-family: var(--font-num); font-size: 2.4rem; line-height: 1; }
.reason-card__icon { color: var(--navy); width: 56px; height: 56px; position: absolute; right: 18px; top: 22px; opacity: .9; }
.reason-card__title { font-size: 1.15rem; font-weight: 900; color: var(--navy); margin: 12px 0 8px; line-height: 1.5; }
.reason-card p:last-child { font-size: .93rem; color: var(--muted); }
@media (max-width: 860px) { .reason__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* ---------- サービス ---------- */
.service__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-item { border: 2px solid var(--line); border-radius: var(--radius); padding: 26px 26px 24px; background: #fff; }
.service-item h3 { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; font-weight: 900; color: var(--navy); margin-bottom: 10px; }
.service-item__icon { width: 48px; height: 48px; flex-shrink: 0; background: var(--sky); color: var(--red); border-radius: 50%; padding: 9px; }
.service-item p { color: var(--muted); font-size: .95rem; }
@media (max-width: 720px) { .service__grid { grid-template-columns: 1fr; } }

/* ---------- 法定点検 ---------- */
.law__lead { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.law__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.law-box { background: #fff; border-radius: var(--radius); padding: 26px 22px; text-align: center; border: 2px solid var(--navy); }
.law-box--report { border-color: var(--red); }
.law-box__label { display: inline-block; background: var(--navy); color: #fff; font-weight: 900; border-radius: 999px; padding: 2px 16px; font-size: .95rem; }
.law-box--report .law-box__label { background: var(--red); }
.law-box__cycle { font-weight: 900; color: var(--navy); font-size: 1.15rem; margin: 10px 0 8px; }
.law-box__cycle .num { font-size: 3rem; line-height: 1; color: var(--red); margin: 0 2px; }
.law-box p:last-child { font-size: .9rem; color: var(--muted); text-align: left; }
.law__note { text-align: center; margin-top: 28px; font-weight: 700; color: var(--navy); }
@media (max-width: 800px) { .law__grid { grid-template-columns: 1fr; } }

/* ---------- 料金 ---------- */
.price__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 2px solid var(--navy); text-align: center; padding-bottom: 22px; }
.price-card__title { background: var(--navy); color: #fff; font-size: 1.05rem; font-weight: 900; padding: 12px 10px; }
.price-card__ex { font-size: .85rem; color: var(--muted); margin: 14px 10px 6px; }
.price-card__price { color: var(--red); font-weight: 900; font-size: 1.1rem; }
.price-card__price .num { font-size: 2.8rem; line-height: 1.1; }
.price-card__price small { display: block; color: var(--muted); font-size: .78rem; font-weight: 500; }
.price__notes { margin-top: 24px; font-size: .88rem; color: var(--muted); }
.price__notes li { padding-left: 1.1em; text-indent: -1.1em; }
.price__notes li::before { content: "※"; }
@media (max-width: 800px) { .price__grid { grid-template-columns: 1fr; } }

/* ---------- 流れ ---------- */
.flow__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.flow-step { background: #fff; border-radius: var(--radius); padding: 22px 18px; position: relative; border: 2px solid var(--line); }
.flow-step:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 50%; margin-top: -10px; border: 10px solid transparent; border-left-color: var(--red); border-right: 0; z-index: 1; }
.flow-step__no { font-family: var(--font-num); color: var(--red); font-size: 2rem; font-weight: 700; line-height: 1; margin-bottom: 8px; }
.flow-step__no span { font-size: .8rem; letter-spacing: .1em; margin-right: 4px; color: var(--navy); }
.flow-step h3 { font-size: 1.05rem; font-weight: 900; color: var(--navy); margin-bottom: 6px; }
.flow-step p { font-size: .88rem; color: var(--muted); }
@media (max-width: 1000px) {
  .flow__list { grid-template-columns: 1fr; gap: 22px; }
  .flow-step { display: grid; grid-template-columns: 76px 1fr; column-gap: 12px; }
  .flow-step__no { grid-row: span 2; align-self: center; text-align: center; }
  .flow-step__no span { display: block; margin: 0 0 2px; }
  .flow-step:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -16px; margin: 0 0 0 -10px; border: 10px solid transparent; border-top-color: var(--red); border-bottom: 0; }
}

/* ---------- お客様の声 ---------- */
.voice__tbd { text-align: center; font-size: .85rem; margin-bottom: 20px; }
.voice__list { display: grid; gap: 20px; max-width: 900px; margin: 0 auto; }
.voice-card { display: grid; grid-template-columns: 80px 1fr; gap: 20px; background: #fff; border-radius: var(--radius); padding: 24px; border: 2px solid var(--line); }
.voice-card__face svg { width: 80px; height: 80px; }
.voice-card__who { font-size: .85rem; color: var(--muted); }
.voice-card h3 { font-size: 1.1rem; font-weight: 900; color: var(--navy); margin: 2px 0 6px; }
@media (max-width: 560px) { .voice-card { grid-template-columns: 56px 1fr; gap: 14px; padding: 18px; } .voice-card__face svg { width: 56px; height: 56px; } }

/* ---------- 対応エリア ---------- */
.area__main { text-align: center; font-weight: 700; font-size: 1.1rem; max-width: 760px; margin: 0 auto 32px; }
.area__main strong { color: var(--red); font-size: 1.25em; }
.area__groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.area-group { background: #fff; border-radius: var(--radius); border: 2px solid var(--line); padding: 20px 22px; }
.area-group--main { grid-column: 1 / -1; border-color: var(--navy); }
.area-group__pref { display: inline-block; font-size: 1rem; font-weight: 900; color: #fff; background: var(--navy); padding: 2px 14px; border-radius: 6px; margin-bottom: 10px; }
.area-group--main .area-group__pref { background: var(--red); }
.area-group__cities { font-size: .93rem; line-height: 1.9; }
.area__note { text-align: center; margin-top: 22px; font-size: .9rem; color: var(--muted); }
@media (max-width: 720px) { .area__groups { grid-template-columns: 1fr; } }

/* ---------- お知らせ ---------- */
.news__list { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 16px; padding: 18px 6px; border-bottom: 1px solid var(--line); }
.news-item__date { font-family: var(--font-num); color: var(--muted); font-size: .95rem; }
.news-item__cat { font-size: .78rem; font-weight: 700; color: #fff; background: var(--navy); border-radius: 4px; padding: 1px 10px; min-width: 5.5em; text-align: center; }
.news-item__cat--holiday { background: var(--red); }
.news-item__cat--info { background: var(--blue); }
.news-item__title { font-weight: 700; }
@media (max-width: 560px) { .news-item { grid-template-columns: auto 1fr; gap: 6px 12px; } .news-item__title { grid-column: 1 / -1; } }

/* ---------- FAQ ---------- */
.faq__list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border-radius: var(--radius); border: 2px solid var(--line); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 58px; font-weight: 900; color: var(--navy); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q"; position: absolute; left: 18px; top: 14px; font-family: var(--font-num); color: #fff; background: var(--navy); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 1rem; line-height: 1; }
.faq-item summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(45deg); transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-item__a { padding: 0 22px 20px 58px; position: relative; }
.faq-item__a::before { content: "A"; position: absolute; left: 18px; top: 0; font-family: var(--font-num); color: #fff; background: var(--red); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 1rem; line-height: 1; }
.faq-item[open] .faq-item__a { animation: faqOpen .3s ease; }
@keyframes faqOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- 事業者情報 ---------- */
.company__body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: start; }
.company__table { background: #fff; border-radius: var(--radius); border: 2px solid var(--line); overflow: hidden; }
.company__table > div { display: grid; grid-template-columns: 7em 1fr; border-bottom: 1px solid var(--line); }
.company__table > div:last-child { border-bottom: 0; }
.company__table dt { background: var(--sky); color: var(--navy); font-weight: 900; padding: 14px 16px; }
.company__table dd { padding: 14px 16px; }
.company__map { border-radius: var(--radius); overflow: hidden; border: 2px solid var(--line); aspect-ratio: 4 / 3; background: var(--sky); }
.company__map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 860px) { .company__body { grid-template-columns: 1fr; } .company__table > div { grid-template-columns: 5.5em 1fr; } }

/* ---------- お問い合わせ ---------- */
.contact { background: var(--navy) !important; color: #fff; }
.contact .sec-head__title { color: #fff; }
.contact .sec-head__en { color: var(--yellow); }
.contact__lead { text-align: center; max-width: 720px; margin: 0 auto 20px; }
.contact__tel { display: flex; align-items: center; justify-content: center; gap: 12px; width: fit-content; margin: 0 auto 32px; color: #fff; text-decoration: none; }
.contact__tel span { background: var(--yellow); color: var(--navy); font-weight: 900; border-radius: 4px; padding: 0 10px; font-size: .9rem; }
.contact__tel b { font-family: var(--font-num); font-size: 2.2rem; }
.form { max-width: 760px; margin: 0 auto; background: #fff; color: var(--text); border-radius: var(--radius); padding: 36px; }
.form__row { margin-bottom: 18px; }
.form__row label { display: block; font-weight: 900; color: var(--navy); margin-bottom: 6px; }
.req { display: inline-block; background: var(--red); color: #fff; font-size: .7rem; border-radius: 3px; padding: 0 6px; margin-left: 8px; vertical-align: 2px; }
.form input, .form select, .form textarea { width: 100%; border: 2px solid var(--line); border-radius: 8px; padding: 12px 14px; background: #fbfcfe; font-size: 16px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue); outline: none; background: #fff; }
.form [aria-invalid="true"] { border-color: var(--red); background: #fff5f4; }
.form__privacy { font-size: .85rem; text-align: center; margin: 4px 0 16px; }
.form__msg { margin-top: 14px; text-align: center; font-weight: 700; }
.form__msg.is-error { color: var(--red); }
.form__msg.is-ok { color: var(--blue); }
@media (max-width: 560px) { .form { padding: 22px 16px; } .contact__tel b { font-size: 1.7rem; } }

.contact mark.tbd { background: none; color: var(--yellow); border-bottom: 2px dashed var(--yellow); }

/* ---------- 個人情報 ---------- */
.privacy { padding-top: 56px; padding-bottom: 56px; }
.privacy__title { font-size: 1.1rem; font-weight: 900; color: var(--navy); margin-bottom: 10px; }
.privacy p { font-size: .85rem; color: var(--muted); }

/* ---------- フッター ---------- */
.site-footer { background: #0e2a66; color: #c9d4e3; text-align: center; padding: 36px 16px 30px; }
.site-footer__name { font-size: 1.3rem; font-weight: 900; color: #fff; }
.site-footer__addr { font-size: .85rem; margin: 4px 0 10px; }

/* ---------- スマホ固定ボタン・トップへ ---------- */
.fixed-bar { display: none; }
@media (max-width: 720px) {
  body { padding-bottom: 64px; }
  .fixed-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: 64px; box-shadow: 0 -2px 10px rgba(21,60,143,.15); transform: translateY(100%); transition: transform .3s; }
  .fixed-bar.is-show { transform: none; }
  .fixed-bar a { display: flex; align-items: center; justify-content: center; font-weight: 900; text-decoration: none; color: #fff; font-size: 1.05rem; }
  .fixed-bar__tel { background: var(--navy); }
  .fixed-bar__form { background: var(--red); }
}
.to-top { position: fixed; right: 16px; bottom: 20px; z-index: 55; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.to-top svg { width: 24px; }
.to-top.is-show { opacity: 1; pointer-events: auto; }
@media (max-width: 720px) { .to-top { bottom: 76px; width: 42px; height: 42px; } }


/* ---------- 人物写真の枠（写真が届いたら img に差し替え） ---------- */
.photo { position: relative; overflow: hidden; background: linear-gradient(160deg, #dfe8f3 0%, #c9d7e8 100%); display: flex; align-items: flex-end; justify-content: center; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo__ph { width: 78%; height: auto; }
.photo__label { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); width: max-content; max-width: 90%; background: rgba(255,255,255,.92); color: var(--navy); font-size: .75rem; font-weight: 700; line-height: 1.5; padding: 4px 10px; border-radius: 4px; text-align: center; border: 1px dashed var(--navy); }
.photo--hero { aspect-ratio: 4 / 5; border-radius: 200px 200px 16px 16px; max-width: 440px; margin: 0 auto; box-shadow: 0 0 0 8px #fff, 0 16px 40px rgba(21,60,143,.18); }
.photo--hero .photo__label { top: auto; bottom: 16px; font-size: .8rem; }
.photo--card { aspect-ratio: 16 / 10; border-radius: 8px; margin: 14px 0 4px; }
.photo--card .photo__ph { width: 46%; }
.photo--card .photo__label { font-size: .68rem; top: auto; bottom: 8px; }


/* ファーストビューの設備アイコン */
.hero__icons { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero__icons li { display: flex; flex-direction: column; align-items: center; width: 84px; text-align: center; }
.hero-icon__circle { width: 84px; height: 84px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--blue), 0 6px 14px rgba(29,79,191,.25); }
.hero__icons li:nth-child(2) .hero-icon__circle { background: var(--red); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--red), 0 6px 14px rgba(255,122,0,.25); }
.hero__icons li:nth-child(3) .hero-icon__circle { background: #1b9a4b; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #1b9a4b, 0 6px 14px rgba(27,154,75,.25); }
.hero-icon__circle svg { width: 50px; height: 50px; }
.hero-icon__label { margin-top: 10px; font-size: .85rem; font-weight: 900; color: var(--navy); line-height: 1.3; }
@media (max-width: 860px) {
  .hero__text { display: flex; flex-direction: column; }
  .hero__icons { order: 5; }
  .hero__points { order: 6; }
  .hero__lead { align-self: center; }
  .hero__icons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 8px; justify-items: center; max-width: 330px; margin: 0 auto 20px; }
  .hero__icons li { width: auto; }
  .hero-icon__circle { width: 72px; height: 72px; }
  .hero-icon__circle svg { width: 42px; height: 42px; }
  .hero-icon__label { font-size: .78rem; margin-top: 8px; }
}
/* 3つの丸を大きく */
.hero__points li { width: 156px; }
.hero__points b { font-size: 1.6rem; }
.hero__points span { font-size: .9rem; }
@media (max-width: 860px) { .hero__points li { width: 32%; max-width: 124px; } .hero__points b { font-size: 1.15rem; } .hero__points span { font-size: .72rem; } }

/* ファーストビューの D-MS 表記 */
.hero__brand { display: flex; flex-wrap: wrap; gap: 4px 14px; font-family: var(--font-num); font-size: 1.05rem; color: var(--muted); letter-spacing: .04em; margin-bottom: 14px; }
.hero__brand b { color: var(--red); font-size: 1.5em; font-weight: 700; margin-right: 1px; }
@media (max-width: 860px) { .hero__brand { justify-content: center; font-size: .95rem; } }

/* ---------- D-MSの名前 ---------- */
.concept { background: #fff !important; }
.concept__lead { text-align: center; max-width: 760px; margin: 0 auto 44px; font-size: 1.05rem; }
.concept__lead b { font-family: var(--font-num); color: var(--navy); letter-spacing: .03em; font-size: 1.1em; }
.concept__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.concept-item { padding: 0 28px; position: relative; text-align: center; }
.concept-item + .concept-item { border-left: 2px dashed var(--line); }
.concept-item__letter { font-family: var(--font-num); font-weight: 700; font-size: 7.5rem; line-height: 1; color: var(--navy); }
.concept-item:nth-child(2) .concept-item__letter { color: var(--red); }
.concept-item__word { font-family: var(--font-num); font-size: 1.15rem; letter-spacing: .08em; color: var(--muted); margin: 4px 0 12px; }
.concept-item__title { display: inline-block; font-size: 1.35rem; font-weight: 900; color: #fff; background: var(--navy); border-radius: 999px; padding: 2px 22px; margin-bottom: 14px; }
.concept-item:nth-child(2) .concept-item__title { background: var(--red); }
.concept-item p:last-child { text-align: left; color: var(--muted); font-size: .95rem; }
@media (max-width: 800px) {
  .concept__list { grid-template-columns: 1fr; gap: 28px; }
  .concept-item { display: grid; grid-template-columns: 92px 1fr; column-gap: 16px; text-align: left; padding: 0 0 28px; }
  .concept-item + .concept-item { border-left: 0; }
  .concept-item:not(:last-child) { border-bottom: 2px dashed var(--line); }
  .concept-item__letter { grid-row: span 3; font-size: 5.5rem; text-align: center; }
  .concept-item__word { margin: 0 0 4px; }
  .concept-item__title { justify-self: start; font-size: 1.15rem; margin-bottom: 8px; }
  .concept-item p:last-child { grid-column: 2; }
}
/* 大きな文字が下からせり上がる */
.js .concept-item__letter { clip-path: inset(100% 0 0 0); transform: translateY(30%); transition: clip-path .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * 180ms + .1s); }
.js .concept-item.is-in .concept-item__letter { clip-path: inset(0 0 0 0); transform: none; }
.js .hero__brand span { opacity: 0; }
.js.is-loaded .hero__brand span { animation: fadeUp .5s both; }
.js.is-loaded .hero__brand span:nth-child(1) { animation-delay: .1s; }
.js.is-loaded .hero__brand span:nth-child(2) { animation-delay: .22s; }
.js.is-loaded .hero__brand span:nth-child(3) { animation-delay: .34s; }
.js .photo--hero { opacity: 0; }
.js.is-loaded .photo--hero { animation: photoIn .9s .2s cubic-bezier(.2,.7,.2,1) both; }
@keyframes photoIn { from { opacity: 0; transform: translateY(30px) scale(.96); } to { opacity: 1; transform: none; } }

/* ===========================================================
   アニメーション
   - JSが動くときだけ html.js が付き、そのときだけ初期状態を隠す
   - motion-always：端末の「動きを減らす」設定でも止めない（施主方針）
   =========================================================== */

/* 見出し：1文字ずつ下から */
.js .js-split .char { display: inline-block; opacity: 0; transform: translateY(.6em); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i) * 35ms); }
.js .js-split.is-in .char { opacity: 1; transform: none; }
.js .sec-head__title::after { transform: scaleX(0); transition: transform .6s .3s cubic-bezier(.2,.7,.2,1); }
.js .sec-head.is-in .sec-head__title::after { transform: scaleX(1); }
.js .sec-head__en { opacity: 0; transform: translateX(-12px); transition: opacity .5s, transform .5s; }
.js .sec-head.is-in .sec-head__en { opacity: 1; transform: none; }

/* カラム：順番に下から */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * 110ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* 料金・回数の数字をポンと */
.js .is-in .num { animation: pop .6s cubic-bezier(.3,1.6,.5,1) both; animation-delay: calc(var(--d, 0) * 110ms + .25s); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.law-box__cycle .num, .price-card__price .num { display: inline-block; }

/* ファーストビュー（読み込み時の1回だけ） */
.js .hero__icons li, .js .hero__lead, .js .hero__line, .js .hero__points li, .js .hero__badge { opacity: 0; }
.js.is-loaded .hero__icons li { animation: popIn .5s cubic-bezier(.3,1.5,.5,1) both; animation-delay: calc(var(--i, 0) * 70ms + .1s); }
.js.is-loaded .hero__lead { animation: fadeUp .5s .3s both; }
.js.is-loaded .hero__line { animation: lineIn .7s cubic-bezier(.2,.7,.2,1) both; }
.js.is-loaded .hero__line:nth-child(1) { animation-delay: .4s; }
.js.is-loaded .hero__line:nth-child(2) { animation-delay: .55s; }
.js.is-loaded .hero__line:nth-child(3) { animation-delay: .7s; }
.js.is-loaded .hero__points li { animation: popIn .6s cubic-bezier(.3,1.5,.5,1) both; }
.js.is-loaded .hero__points li:nth-child(1) { animation-delay: 1s; }
.js.is-loaded .hero__points li:nth-child(2) { animation-delay: 1.12s; }
.js.is-loaded .hero__points li:nth-child(3) { animation-delay: 1.24s; }
.js.is-loaded .hero__badge { animation: badgeIn .6s 1.4s cubic-bezier(.3,1.5,.5,1) both; }
.hero__check { stroke-dasharray: 60; stroke-dashoffset: 60; }
.js.is-loaded .hero__check { animation: draw .6s 1.1s ease forwards; }
.no-js .hero__check, html:not(.js) .hero__check { stroke-dashoffset: 0; }
.hero__wave { animation: wave 1.6s ease-in-out infinite; transform-origin: 300px 118px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes lineIn { from { opacity: 0; transform: translateY(100%); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
@keyframes popIn { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }
@keyframes badgeIn { from { opacity: 0; transform: rotate(-30deg) scale(.4); } to { opacity: 1; transform: rotate(-8deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes wave { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }

/* 施主方針で motion-always のときは止めない。外す場合は body から class を消すと、下の指定で動きを止める */
@media (prefers-reduced-motion: reduce) {
  body:not(.motion-always) *, body:not(.motion-always) *::before, body:not(.motion-always) *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html:has(body:not(.motion-always)) { scroll-behavior: auto; }
}

/* ===========================================================
   第3版：参考サイトの並び順に合わせた追加分
   =========================================================== */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cta__note { margin-top: 12px; font-size: .82rem; opacity: .85; }

/* ---------- 2. このページからのお申し込み限定 ---------- */
.campaign { background: linear-gradient(180deg, #fff 0%, #eef4fb 100%); padding: 56px 20px 48px; text-align: center; border-top: 1px solid var(--line); }
.campaign__inner { max-width: 760px; margin: 0 auto; }
.campaign__catch { color: var(--blue); font-weight: 900; font-size: clamp(1.25rem, 3vw, 1.7rem); line-height: 1.5; margin-bottom: 22px; }
.campaign__catch span { display: block; }
.campaign__catch b { color: var(--red); font-size: 1.15em; }
.campaign__brand { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #fff; border-radius: 12px; padding: 14px 20px; box-shadow: 0 4px 0 var(--line); margin-bottom: 20px; flex-wrap: wrap; }
.campaign__logo { display: flex; align-items: center; gap: 10px; font-weight: 900; color: var(--navy); font-size: 1.3rem; text-align: left; line-height: 1.2; }
.campaign__logo svg { width: 42px; height: 42px; }
.campaign__logo small { display: block; font-family: var(--font-num); font-weight: 500; font-size: .7rem; color: var(--muted); letter-spacing: .04em; }
.campaign__tel { display: flex; flex-direction: column; align-items: flex-end; color: var(--navy); text-decoration: none; line-height: 1.2; }
.campaign__tel small { font-size: .72rem; color: var(--muted); }
.campaign__tel b { font-family: var(--font-num); font-size: 1.8rem; }
.campaign__offer { display: flex; align-items: center; justify-content: center; gap: 18px; background: var(--navy); border-radius: 14px; padding: 18px 20px; color: #fff; }
.campaign__web { width: 92px; height: 92px; border-radius: 50%; background: var(--yellow); color: var(--navy); font-weight: 900; font-size: 1.15rem; line-height: 1.2; display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 0 0 4px var(--navy), 0 0 0 6px var(--yellow); }
.campaign__deal { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; font-weight: 900; }
.campaign__deal > span { font-size: 1.1rem; }
.campaign__deal b { font-size: 2.4rem; color: var(--yellow); }
.campaign__deal .num { font-size: 4rem; display: inline-block; }
.campaign__deal mark.tbd { background: none; color: inherit; border-bottom: 3px dashed var(--yellow); }
.campaign__ribbon { display: inline-block; background: var(--red); color: #fff; font-weight: 900; padding: 8px 28px; margin-top: -8px; position: relative; font-size: 1.05rem; clip-path: polygon(0 0, 100% 0, 96% 50%, 100% 100%, 0 100%, 4% 50%); }
.campaign__ribbon mark.tbd { background: none; color: #fff; }
.campaign__dms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 26px 0 16px; }
.campaign__dms li { background: #fff; border-radius: 10px; padding: 12px 8px; border: 2px solid var(--line); display: flex; flex-direction: column; align-items: center; line-height: 1.3; }
.campaign__dms b { font-family: var(--font-num); font-size: 2.6rem; color: var(--navy); line-height: 1; }
.campaign__dms li:nth-child(2) b { color: var(--red); }
.campaign__dms span { font-family: var(--font-num); color: var(--muted); font-size: .85rem; letter-spacing: .04em; }
.campaign__dms em { font-style: normal; font-weight: 900; color: var(--navy); margin-top: 4px; }
.campaign__foot { font-weight: 700; color: var(--navy); }
@media (max-width: 600px) {
  .campaign { padding: 40px 16px 36px; }
  .campaign__brand { justify-content: center; }
  .campaign__tel { align-items: center; }
  .campaign__web { width: 74px; height: 74px; font-size: .95rem; }
  .campaign__deal b { font-size: 1.8rem; } .campaign__deal .num { font-size: 3rem; }
  .campaign__dms b { font-size: 2rem; } .campaign__dms em { font-size: .85rem; }
}

/* ---------- 4. 理由（写真入り） ---------- */
.reason-card .photo--card { margin: 10px 0 14px; }
.reason-card__title { margin: 6px 0 0; }

/* ---------- 6. 料金（6枚） ---------- */
.price__grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.price-card { padding-bottom: 20px; text-align: left; transition: transform .25s, box-shadow .25s; }
.price-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(21,60,143,.12); }
.price-card__title { text-align: center; }
.price-card__media { position: relative; margin: 14px 14px 10px; }
.photo--thing { aspect-ratio: 16 / 10; border-radius: 8px; align-items: center; }
.photo__icon svg { width: 76px; height: 76px; }
.photo--thing .photo__label { top: auto; bottom: 8px; font-size: .68rem; }
.price-card__time { position: absolute; right: -6px; top: -8px; width: 70px; height: 70px; border-radius: 50%; background: var(--red); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; font-size: .68rem; font-weight: 700; box-shadow: 0 0 0 3px #fff; }
.price-card__time b { font-family: var(--font-num); font-size: 1.5rem; }
.price-card__time mark.tbd { background: none; color: #fff; }
.price-card__desc { font-size: .9rem; color: var(--muted); margin: 0 16px 8px; }
.price-card__price { text-align: center; }
@media (max-width: 900px) { .price__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 560px) { .price__grid { grid-template-columns: 1fr; } }

/* ---------- 7. 比較 ---------- */
.compare__tbd { text-align: center; font-size: .85rem; margin-bottom: 16px; }
.compare__wrap { max-width: 900px; margin: 0 auto; overflow-x: auto; }
.compare__table { width: 100%; border-collapse: separate; border-spacing: 6px 0; text-align: center; min-width: 560px; }
.compare__table thead th { padding: 14px 8px; font-weight: 900; font-size: 1.05rem; color: var(--navy); }
.compare__table thead th.is-us { background: var(--blue); color: #fff; border-radius: 12px 12px 0 0; font-size: 1.2rem; }
.compare__table tbody th { background: var(--navy); color: #fff; font-weight: 900; padding: 12px 10px; width: 7.5em; border-bottom: 6px solid var(--bg); }
.compare__table td { background: #fff; padding: 14px 8px 16px; font-size: .9rem; line-height: 1.5; font-weight: 700; border-bottom: 6px solid var(--bg); }
.compare__table td.is-us { background: #eaf2fc; color: var(--blue); outline: 3px solid var(--blue); outline-offset: -3px; font-size: 1rem; }
.mark { display: block; width: 44px; height: 44px; margin: 0 auto 6px; position: relative; }
.mark--best::before, .mark--best::after { content: ""; position: absolute; inset: 0; border: 4px solid var(--red); border-radius: 50%; }
.mark--best::after { inset: 9px; }
.mark--good::before { content: ""; position: absolute; inset: 2px; border: 4px solid var(--red); border-radius: 50%; }
.mark--tri::before { content: ""; position: absolute; inset: 4px 2px; background: var(--muted); clip-path: polygon(50% 0, 100% 100%, 0 100%, 50% 0, 50% 18%, 14% 88%, 86% 88%, 50% 18%); }
@media (max-width: 600px) { .compare__table tbody th { width: 5em; font-size: .85rem; } .mark { width: 34px; height: 34px; } .compare__table td { font-size: .8rem; } }

/* ---------- 8. 流れ（4つ＋お支払い） ---------- */
.flow__list { grid-template-columns: repeat(4, 1fr); }
.flow__pay { margin-top: 28px; background: #fff; border: 2px solid var(--navy); border-radius: var(--radius); display: flex; align-items: center; gap: 18px; padding: 16px 22px; }
.flow__pay-title { background: var(--navy); color: #fff; font-weight: 900; border-radius: 999px; padding: 4px 18px; flex-shrink: 0; }
@media (max-width: 600px) { .flow__pay { flex-direction: column; align-items: flex-start; gap: 8px; } }

/* ---------- 10. お客様の声（3つ） ---------- */
.voice-card { display: block; position: relative; padding: 26px 26px 24px; }
.voice-card__no { font-family: var(--font-num); color: var(--blue); font-weight: 700; letter-spacing: .06em; font-size: 1rem; line-height: 1; }
.voice-card__no span { font-size: 2rem; }
.voice-card__head { display: flex; align-items: center; gap: 14px; margin: 10px 0 12px; padding-bottom: 12px; border-bottom: 2px dotted var(--line); }
.voice-card__head .voice-card__face svg { width: 64px; height: 64px; }
.voice-card__who { font-weight: 900; color: var(--navy); font-size: 1rem; }

/* ---------- 11. 対応エリア（地図） ---------- */
.area__map { max-width: 620px; margin: 0 auto 36px; }
.area-map { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 10px 30px rgba(21,60,143,.15); }
.map-label { font-family: var(--font); }

/* ===========================================================
   第3版：動きを増やす
   =========================================================== */
/* 押せるものは浮き上がる */
.cta-tel, .cta-form, .btn, .campaign__tel { transition: transform .2s, box-shadow .2s; }
.cta-tel:hover, .cta-form:hover { transform: translateY(-3px); }
.reason-card, .service-item, .voice-card, .flow-step, .area-group { transition: transform .25s, box-shadow .25s; }
.reason-card:hover, .voice-card:hover, .flow-step:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(21,60,143,.12); }

/* ずっと続く小さな動き */
.js.is-loaded .hero__icons li .hero-icon__circle { animation: floatY 3s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .25s + 1.2s); }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.js.is-loaded .hero__badge { animation: badgeIn .6s 1.4s cubic-bezier(.3,1.5,.5,1) both, wobble 4s 2.2s ease-in-out infinite; }
@keyframes wobble { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(4deg) scale(1.05); } }
.cta-tel__icon { animation: ring 2.4s ease-in-out infinite; transform-origin: 50% 50%; }
@keyframes ring { 0%, 60%, 100% { transform: rotate(0); } 64% { transform: rotate(-18deg); } 68% { transform: rotate(16deg); } 72% { transform: rotate(-14deg); } 76% { transform: rotate(10deg); } 80% { transform: rotate(0); } }
.cta-form, .btn--red, .fixed-bar__form { position: relative; overflow: hidden; }
.cta-form::after, .btn--red::after, .fixed-bar__form::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); animation: shine 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes shine { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
.cta-tel { animation: pulseBox 2.4s ease-in-out infinite; }
@keyframes pulseBox { 0%, 100% { box-shadow: 0 5px 0 #c7d2e0, 0 0 0 0 rgba(255,210,63,.6); } 50% { box-shadow: 0 5px 0 #c7d2e0, 0 0 0 8px rgba(255,210,63,0); } }
.cta__catch span { animation: bob 2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* キャンペーン */
.js .campaign__web { transform: rotate(-200deg) scale(0); transition: transform .8s cubic-bezier(.3,1.4,.5,1) .2s; }
.js .campaign__offer.is-in .campaign__web { transform: none; }
.js .campaign__offer .campaign__deal b { display: inline-block; transform: scale(2.2); opacity: 0; transition: transform .5s cubic-bezier(.3,1.6,.5,1) .7s, opacity .3s .7s; }
.js .campaign__offer.is-in .campaign__deal b { transform: none; opacity: 1; }
.campaign__offer.is-in .campaign__deal .num { animation: none; }
.js .campaign__dms li b { transform: rotateY(90deg); transition: transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * 150ms + .2s); }
.js .campaign__dms li.is-in b { transform: none; }

/* 理由の写真がめくれるように出る */
.js .reason-card .photo--card { clip-path: inset(0 100% 0 0); transition: clip-path .8s cubic-bezier(.7,0,.2,1); transition-delay: calc(var(--d, 0) * 110ms + .25s); }
.js .reason-card.is-in .photo--card { clip-path: inset(0 0 0 0); }
.js .reason-card__no span { display: inline-block; transform: scale(0) rotate(-90deg); transition: transform .5s cubic-bezier(.3,1.6,.5,1); transition-delay: calc(var(--d, 0) * 110ms + .4s); }
.js .reason-card.is-in .reason-card__no span { transform: none; }

/* 料金：時間のバッジがポン */
.js .price-card__time { transform: scale(0); transition: transform .5s cubic-bezier(.3,1.6,.5,1); transition-delay: calc(var(--d, 0) * 110ms + .45s); }
.js .price-card.is-in .price-card__time { transform: none; }

/* 比較：行ごとに出て、◎がポン */
.js .compare__table tbody tr { opacity: 0; transform: translateX(-30px); transition: opacity .5s, transform .5s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--r, 0) * 120ms); }
.js .compare__wrap.is-in tbody tr { opacity: 1; transform: none; }
.js .compare__table .mark { transform: scale(0); transition: transform .45s cubic-bezier(.3,1.7,.5,1); transition-delay: calc(var(--r, 0) * 120ms + .35s); }
.js .compare__wrap.is-in .mark { transform: none; }
.compare__wrap.is-in td.is-us { animation: usGlow 2.6s 1.4s ease-in-out infinite; }
@keyframes usGlow { 0%, 100% { background: #eaf2fc; } 50% { background: #d6e6fa; } }

/* 流れ：矢印が動く */
.flow-step:not(:last-child)::after { animation: arrowX 1.4s ease-in-out infinite; }
@keyframes arrowX { 0%, 100% { translate: 0 0; } 50% { translate: 5px 0; } }
@media (max-width: 1000px) { .flow-step:not(:last-child)::after { animation-name: arrowY; } }
@keyframes arrowY { 0%, 100% { translate: 0 0; } 50% { translate: 0 5px; } }

/* お客様の声：左右から */
.js .voice-card:nth-child(odd)[data-reveal] { transform: translateX(-50px); }
.js .voice-card:nth-child(even)[data-reveal] { transform: translateX(50px); }
.js .voice-card[data-reveal].is-in { transform: none; }

/* 地図：府県が順に色づき、円が描かれ、都市がポン */
.js .area__map .map-pref { opacity: 0; transition: opacity .6s; }
.js .area__map.is-in .map-pref { opacity: 1; }
.js .area__map.is-in .map-pref--nara { transition-delay: .1s; }
.js .area__map.is-in .map-pref--kyoto, .js .area__map.is-in .map-pref--osaka { transition-delay: .3s; }
.js .area__map.is-in .map-pref--mie, .js .area__map.is-in .map-pref--shiga { transition-delay: .45s; }
.js .area__map.is-in .map-pref--hyogo, .js .area__map.is-in .map-pref--wakayama { transition-delay: .6s; }
.js .area__map .map-ring { stroke-dashoffset: 1100; transform-origin: center; transform-box: fill-box; transform: scale(.2); opacity: 0; transition: transform 1s cubic-bezier(.2,.7,.2,1) .7s, opacity .4s .7s; }
.js .area__map.is-in .map-ring { transform: none; opacity: 1; animation: ringDash 18s linear infinite; }
@keyframes ringDash { to { stroke-dashoffset: 0; } }
.js .area__map .map-city { opacity: 0; transform-box: fill-box; transform-origin: center; transform: translateY(-10px); transition: opacity .4s, transform .4s cubic-bezier(.3,1.6,.5,1); }
.js .area__map.is-in .map-city { opacity: 1; transform: none; }
.js .area__map .map-labels, .js .area__map .map-radius, .js .area__map .map-base__tag { opacity: 0; transition: opacity .6s 1.5s; }
.js .area__map.is-in .map-labels, .js .area__map.is-in .map-radius, .js .area__map.is-in .map-base__tag { opacity: 1; }
.map-pulse { transform-box: fill-box; transform-origin: center; animation: mapPulse 2s ease-out infinite; }
@keyframes mapPulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }

/* 横はみ出し防止（動きの初期位置で横スクロールが出ないように） */
html, body { overflow-x: clip; }
@media (max-width: 600px) {
  .compare__table { min-width: 0; border-spacing: 3px 0; }
  .compare__table thead th { font-size: .78rem; padding: 10px 2px; }
  .compare__table thead th.is-us { font-size: .9rem; }
  .compare__table tbody th { width: 4.6em; font-size: .75rem; padding: 8px 4px; }
  .compare__table td, .compare__table td.is-us { font-size: .7rem; padding: 10px 2px 12px; }
  .mark { width: 28px; height: 28px; }
  .mark--best::before, .mark--best::after, .mark--good::before { border-width: 3px; }
  .mark--best::after { inset: 6px; }
  .campaign__tel b { font-size: 1.5rem; }
}

/* ===========================================================
   背景に色を入れる
   =========================================================== */
.hero { background: radial-gradient(circle at 85% 30%, #cfe1f7 0, rgba(207,225,247,0) 45%), linear-gradient(160deg, #dbe9f8 0%, #f3f8fe 55%, #fff 100%); }
.hero::before { opacity: .07; background: var(--blue); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: repeating-linear-gradient(-45deg, rgba(29,79,191,.07) 0 10px, transparent 10px 20px); pointer-events: none; }

.campaign { background: linear-gradient(180deg, #eaf3fd 0%, #d7e8fa 100%); }

/* 水玉の地模様 */
.reason, .flow, .area { background-color: #e6f0fb !important; background-image: radial-gradient(rgba(29,79,191,.12) 1.5px, transparent 1.6px); background-size: 18px 18px; }
.reason { background-image: radial-gradient(rgba(29,79,191,.12) 1.5px, transparent 1.6px), linear-gradient(180deg, #dbe9f8, #eef5fd); background-size: 18px 18px, 100% 100%; }

/* 料金：参考サイトと同じく青い背景 */
.price { background: linear-gradient(160deg, #1d4fbf 0%, #3a6fe0 60%, #1d4fbf 100%) !important; position: relative; }
.price::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 16px, transparent 16px 32px); pointer-events: none; }
.price .sec__inner { position: relative; }
.price .sec-head__title, .price .sec-head__sub { color: #fff; }
.price .sec-head__en { color: var(--yellow); }
.price .sec-head__title::after { background: var(--yellow); }
.price .price-card { border-color: #fff; box-shadow: 0 6px 0 rgba(10,33,64,.25); }
.price .price__notes { color: #e5efff; }

/* 比較：白地に淡い斜線 */
.compare { background: repeating-linear-gradient(-45deg, #f3f8fe 0 14px, #ffffff 14px 28px) !important; }

/* お客様の声：やわらかい水色 */
.voice { background: linear-gradient(180deg, #f6fafe 0%, #e3eefa 100%) !important; }
.voice-card { box-shadow: 0 6px 0 rgba(29,79,191,.12); border-color: #cbd8f2; }

/* 対応エリア */
.area { background-image: radial-gradient(rgba(29,79,191,.12) 1.5px, transparent 1.6px), linear-gradient(180deg, #e6f0fb, #d3e4f7); background-size: 18px 18px, 100% 100%; }

/* お知らせ・FAQ・事業者情報 */
.news { background: #fff !important; }
.faq { background: linear-gradient(180deg, #eef5fd, #dfeaf8) !important; }
.company { background: #f4f8fd !important; }

/* セクション見出しの英字を大きく薄く背景に敷く */
.sec-head { position: relative; }
.sec-head__en { position: relative; z-index: 1; }

/* カードに色の縁 */
.reason-card { border-top-color: var(--red); }
.flow-step { border-color: #bcd2ec; box-shadow: 0 5px 0 rgba(29,79,191,.12); }
.area-group { box-shadow: 0 5px 0 rgba(29,79,191,.1); }
.faq-item { border-color: #c7d8ee; }

/* ===========================================================
   第4版：電話受付なし（フォーム・メールのみ）
   =========================================================== */
.header-mail { display: flex; flex-direction: column; text-decoration: none; color: var(--navy); line-height: 1.3; }
.header-mail__label { font-size: .7rem; color: var(--muted); }
.header-mail__num { font-weight: 900; font-size: .9rem; }
@media (max-width: 1100px) { .header-mail { margin-left: auto; } }
@media (max-width: 640px) { .header-mail { display: none; } .header-cta { display: inline-flex; margin-left: auto; font-size: .8rem; padding: .5em 1em; } }

.cta__btns { grid-template-columns: 1.2fr 1fr; }
.cta-form--main { flex-direction: row; gap: 14px; font-size: 1.35rem; padding: 18px 20px; }
.cta-form--main > span { display: flex; flex-direction: column; text-align: left; line-height: 1.35; }
.cta-form__icon { width: 46px; height: 46px; flex-shrink: 0; background: #fff; color: var(--red); border-radius: 50%; padding: 10px; animation: ring 2.6s ease-in-out infinite; }
.cta-mail { display: flex; align-items: center; justify-content: center; gap: 12px; background: #fff; color: var(--navy); border-radius: 14px; padding: 14px 18px; text-decoration: none; box-shadow: 0 5px 0 #c7d2e0; transition: transform .2s; }
.cta-mail:hover { transform: translateY(-3px); }
.cta-mail__icon { width: 42px; height: 42px; flex-shrink: 0; background: var(--navy); color: #fff; border-radius: 50%; padding: 9px; }
.cta-mail__body { display: flex; flex-direction: column; text-align: left; line-height: 1.4; }
.cta-mail__label { font-weight: 900; }
.cta-mail__addr { font-size: .85rem; word-break: break-all; }
@media (max-width: 720px) { .cta-form--main { font-size: 1.15rem; } }

.campaign__tel b { font-family: var(--font); font-size: 1.15rem; font-weight: 900; color: #fff; background: var(--red); border-radius: 999px; padding: 6px 18px; margin-top: 4px; box-shadow: 0 3px 0 var(--red-dark); }

.contact__mail { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 0 auto 32px; }
.contact__mail span { background: var(--yellow); color: var(--navy); font-weight: 900; border-radius: 4px; padding: 0 10px; font-size: .9rem; }
.contact__mail b { font-size: 1.2rem; }
.opt { display: inline-block; background: var(--muted); color: #fff; font-size: .7rem; border-radius: 3px; padding: 0 6px; margin-left: 8px; vertical-align: 2px; }
.form__help { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.company__table small { color: var(--muted); }
.fixed-bar a { font-size: .95rem; }
@media (max-width: 720px) {
  .cta__btns { grid-template-columns: 1fr; }
  .cta__catch span { font-size: .85rem; padding: 4px 14px; }
}

/* ===========================================================
   第5版：人物写真（背景透過）
   =========================================================== */
.hero__visual { align-self: end; }
.hero__inner { padding-bottom: 0; }
.hero__text { padding-bottom: 56px; }
.hero-staff { position: relative; max-width: 500px; margin: 0 auto; aspect-ratio: 720 / 900; }
.hero-staff__bg { position: absolute; left: 6%; right: 6%; top: 10%; bottom: 0; border-radius: 240px 240px 0 0; background: linear-gradient(180deg, #3a6fe0 0%, #1d4fbf 70%, #153c8f 100%); }
.hero-staff__bg::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(135deg, rgba(255,255,255,.07) 0 14px, transparent 14px 28px); }
.hero-staff__ring { position: absolute; left: 0; right: 0; top: 4%; aspect-ratio: 1; border-radius: 50%; border: 3px dashed rgba(29,79,191,.35); }
.hero-staff__img { position: relative; width: 100%; height: auto; display: block; filter: drop-shadow(0 12px 20px rgba(10,33,64,.25)); }
.hero-staff__bubble { position: absolute; left: -14%; top: 14%; background: #fff; color: var(--navy); font-weight: 900; line-height: 1.5; padding: 12px 18px; border-radius: 14px; box-shadow: 0 6px 18px rgba(21,60,143,.18); font-size: .95rem; border: 2px solid var(--navy); }
.hero-staff__bubble span { display: block; }
.hero-staff__bubble span:last-child { color: var(--red); }
.hero-staff__bubble::after { content: ""; position: absolute; right: -12px; top: 50%; margin-top: -8px; border: 8px solid transparent; border-left: 12px solid var(--navy); border-right: 0; }
.hero__badge { z-index: 2; left: auto; right: -10px; bottom: 90px; }
@media (max-width: 1100px) { .hero-staff__bubble { left: -4%; font-size: .85rem; } }
@media (max-width: 860px) {
  .hero__text { padding-bottom: 40px; }
  .hero__visual { max-width: 300px; margin: 0 auto; order: -1; }
  .hero-staff__bubble { left: -22%; top: 6%; font-size: .72rem; padding: 8px 10px; }
  .hero__badge { right: -26px; top: auto; bottom: 40px; }
}

/* 読み込み時：写真が下からせり上がる */
.js .hero-staff__img { opacity: 0; transform: translateY(40px); }
.js.is-loaded .hero-staff__img { animation: staffIn .9s .2s cubic-bezier(.2,.7,.2,1) both; }
.js .hero-staff__bg { transform: scaleY(0); transform-origin: bottom; }
.js.is-loaded .hero-staff__bg { animation: bgUp .7s cubic-bezier(.2,.7,.2,1) both; }
.js .hero-staff__bubble { opacity: 0; }
.js.is-loaded .hero-staff__bubble { animation: popIn .5s 1.1s cubic-bezier(.3,1.5,.5,1) both, bob 3s 2s ease-in-out infinite; }
.hero-staff__ring { animation: spin 40s linear infinite; }
@keyframes staffIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes bgUp { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* 理由カードの人物写真 */
.reason-photo { position: relative; aspect-ratio: 16 / 10; border-radius: 8px; margin: 10px 0 14px; overflow: hidden; background: linear-gradient(160deg, #dbe9f8 0%, #b9d3f0 100%); }
.reason-photo::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: #fff; opacity: .55; right: -10%; bottom: -30%; }
.reason-photo img { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); height: 112%; width: auto; max-width: none; }
.reason-photo--b { background: linear-gradient(160deg, #dff3e6 0%, #b5e0c3 100%); }
.reason-photo--b img { height: 108%; left: 46%; }
.js .reason-card .reason-photo { clip-path: inset(0 100% 0 0); transition: clip-path .8s cubic-bezier(.7,0,.2,1); transition-delay: calc(var(--d, 0) * 110ms + .25s); }
.js .reason-card.is-in .reason-photo { clip-path: inset(0 0 0 0); }
.js .reason-photo img { transform: translate(-50%, 20%); transition: transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * 110ms + .55s); }
.js .reason-card.is-in .reason-photo img { transform: translate(-50%, 0); }
.reason-card:hover .reason-photo img { transform: translate(-50%, -3%) scale(1.03); }

/* お問い合わせ直前の写真 */
.contact .sec__inner { position: relative; }
.contact__staff { position: relative; width: 220px; margin: -10px auto 10px; }
.contact__staff img { width: 100%; height: auto; display: block; }
.contact__bubble { position: absolute; left: -70%; top: 26%; background: var(--yellow); color: var(--navy); font-weight: 900; border-radius: 999px; padding: 6px 16px; white-space: nowrap; font-size: .95rem; animation: bob 2.4s ease-in-out infinite; }
@media (min-width: 1000px) {
  .contact__staff { position: absolute; right: 0; top: 40px; width: 260px; margin: 0; }
  .contact__bubble { left: -40%; top: 10%; }
}

/* ===========================================================
   第5版：ロゴ（赤色表示灯をハイフンに）
   =========================================================== */
.logo { gap: 0; }
.brand { display: inline-flex; flex-direction: column; line-height: 1; color: var(--navy); }
.brand__row { display: flex; align-items: center; gap: 8px; }
.brand__word { display: inline-flex; align-items: center; font-family: var(--font-num); font-weight: 700; font-size: 2.1rem; letter-spacing: .02em; line-height: .9; }
.brand__lamp { position: relative; width: .62em; height: .62em; margin: 0 .1em; border-radius: 50%; background: radial-gradient(circle at 35% 32%, #ff8a7a 0 14%, #ff3b2f 30%, #c4140c 72%, #8f0d07 100%); box-shadow: 0 0 0 .07em #fff, 0 0 0 .13em var(--navy); flex-shrink: 0; }
.brand__lamp i { position: absolute; inset: -.26em; border-radius: 50%; border: .05em solid rgba(232,37,27,.55); animation: lampGlow 2.2s ease-out infinite; }
@keyframes lampGlow { from { transform: scale(.75); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.brand__area { display: inline-grid; place-items: center; font-family: var(--font); font-weight: 900; font-size: .78rem; letter-spacing: .1em; writing-mode: vertical-rl; background: var(--navy); color: #fff; border-radius: 4px; padding: 6px 3px; line-height: 1; height: 2.05rem; }
.brand__tag { font-family: var(--font-num); font-weight: 500; font-size: .66rem; letter-spacing: .08em; color: var(--muted); margin-top: 6px; padding-top: 5px; border-top: 2px solid var(--red); align-self: flex-start; }
.brand--light, .brand--light .brand__word { color: #fff; }
.brand--light .brand__area { background: #fff; color: var(--navy); }
.brand--light .brand__tag { color: #c9d4e3; }
.brand--light .brand__lamp { box-shadow: 0 0 0 .07em var(--navy), 0 0 0 .13em #fff; }
@media (max-width: 640px) {
  .brand__word { font-size: 1.65rem; }
  .brand__area { height: 1.65rem; font-size: .66rem; padding: 4px 2px; }
  .brand__tag { font-size: .56rem; margin-top: 4px; padding-top: 3px; }
}
.campaign__logo { display: block; }
.campaign__logo .brand__word { font-size: 2.3rem; }
.site-footer__name { display: flex; justify-content: center; margin-bottom: 6px; }
.site-footer__name .brand { align-items: center; }
.site-footer__name .brand__tag { align-self: center; }

/* 読み込み時にランプが点灯 */
.js .site-header .brand__lamp { animation: lampOn .9s .3s steps(1) both; }
@keyframes lampOn { 0% { filter: grayscale(1) brightness(.8); } 30% { filter: none; } 45% { filter: grayscale(1) brightness(.8); } 60%, 100% { filter: none; } }

/* ヒーロー写真の背景：服の青と分かれる色に */
.hero-staff__bg { background: linear-gradient(180deg, #ffffff 0%, #eaf2fc 55%, #cfe0f5 100%); box-shadow: inset 0 0 0 3px #fff, 0 14px 40px rgba(21,60,143,.15); }
.hero-staff__bg::after { background: radial-gradient(rgba(29,79,191,.13) 1.6px, transparent 1.7px); background-size: 16px 16px; }
.hero-staff__bg::before { content: ""; position: absolute; left: 12%; right: 12%; bottom: 0; height: 46%; background: var(--yellow); border-radius: 50% 50% 0 0 / 30% 30% 0 0; opacity: .9; }
.hero-staff__ring { border-color: rgba(255,122,0,.35); }
@media (max-width: 860px) {
  .hero__visual { max-width: 280px; }
  .hero-staff__bubble { left: 50%; top: auto; bottom: -14px; transform: translateX(-50%); width: max-content; z-index: 3; font-size: .78rem; text-align: center; }
  .hero-staff__bubble::after { display: none; }
  .js.is-loaded .hero-staff__bubble { animation: fadeUp .5s 1.1s both; }
  .hero__badge { bottom: 70px; right: -20px; }
  .hero__text { padding-top: 26px; }
}

/* ロゴ修正：ランプはハイフン形、奈良は横書き */
.brand__lamp { width: .5em; height: .2em; border-radius: 999px; margin: 0 .09em; transform: translateY(.04em); background: linear-gradient(180deg, #ff6a5c 0%, #ff2a1f 45%, #b50f08 100%); box-shadow: 0 0 .25em rgba(255,42,31,.75), 0 0 0 .04em rgba(21,60,143,.25); }
.brand__lamp i { inset: -.12em -.1em; border-radius: 999px; border: none; background: rgba(255,59,47,.35); filter: blur(.06em); animation: lampGlow2 2.2s ease-in-out infinite; }
@keyframes lampGlow2 { 0%, 100% { opacity: .2; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.25); } }
.brand--light .brand__lamp { box-shadow: 0 0 .3em rgba(255,42,31,.9); }
.brand__row { gap: 10px; }
.brand__area { writing-mode: horizontal-tb; height: auto; font-size: 1.5rem; letter-spacing: .06em; padding: 0 0 0 10px; background: none; color: var(--navy); border-radius: 0; border-left: 2px solid var(--line); line-height: 1.1; }
.brand--light .brand__area { background: none; color: #fff; border-left-color: rgba(255,255,255,.3); }
@media (max-width: 640px) { .brand__area { font-size: 1.15rem; padding: 0 0 0 8px; height: auto; } }
.campaign__logo .brand__area { font-size: 1.7rem; }

/* お客様の声（サンプル文） */
.voice-card__sample { position: absolute; right: 18px; top: 18px; font-size: .75rem; font-weight: 900; }
.voice-card__title { font-size: 1.1rem; font-weight: 900; color: var(--navy); margin-bottom: 8px; line-height: 1.5; background: linear-gradient(transparent 70%, rgba(255,210,63,.5) 70%); display: inline; }
.voice-card__text { margin-top: 10px; font-size: .95rem; color: var(--text); }
.reason-photo--c { background: linear-gradient(160deg, #fff4d6 0%, #ffe39a 100%); }
.reason-photo--c img { height: 118%; left: 52%; }
.reason-photo--c img { left: auto; right: 0; height: 120%; transform: none; }
.js .reason-photo--c img { transform: translateY(20%); }
.js .reason-card.is-in .reason-photo--c img { transform: none; }
.reason-card:hover .reason-photo--c img { transform: translateY(-3%) scale(1.03); }


/* ===========================================================
   第8版：ロゴB（ロイヤルブルー×オレンジ）
   =========================================================== */
:root { --navy: #153c8f; --blue: #1d4fbf; --red: #ff7a00; --red-dark: #d96400; --sky: #e6edfb; --text: #18243d; }
.brand-logo { display: block; height: 52px; width: auto; }
.logo { display: flex; align-items: center; }
@media (max-width: 640px) { .brand-logo { height: 42px; } }
.campaign__logo .brand-logo { height: 64px; }
.site-footer__name .brand-logo { height: 56px; margin: 0 auto; }
@media (max-width: 600px) { .campaign__logo .brand-logo { height: 50px; } }
/* ロゴの電波がゆっくり光る */
.brand-logo .logo-w1 { animation: logoWave 2.4s ease-in-out infinite; }
.brand-logo .logo-w2 { animation: logoWave 2.4s .35s ease-in-out infinite; }
@keyframes logoWave { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
/* 小さい文字のオレンジは読みやすい濃さに */
.sec-head__en { color: #e86a00; }
.hero__brand b { color: var(--red); }
.hero__title em { color: #f06c00; }
.btn--red, .cta-form, .fixed-bar__form { background: var(--red); }
.btn--red:hover { background: var(--red-dark); }
.campaign__logo svg.brand-logo { width: auto; height: 64px; }
@media (max-width: 600px) { .campaign__logo svg.brand-logo { height: 50px; } }

/* TOPボタン（作り直し） */
.to-top { right: 20px; bottom: 24px; width: 64px; height: 64px; border: 0; cursor: pointer; background: var(--red); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; box-shadow: 0 4px 0 var(--red-dark), 0 8px 18px rgba(21,60,143,.25); transform: translateY(20px); transition: opacity .3s, transform .3s, background-color .2s; font-family: var(--font-num); font-weight: 700; font-size: .8rem; letter-spacing: .08em; line-height: 1; }
.to-top svg { width: 24px; height: 24px; margin-bottom: 1px; }
.to-top.is-show { transform: none; }
.to-top:hover { background: var(--red-dark); }
.to-top:hover svg { animation: topUp .6s ease-in-out infinite alternate; }
@keyframes topUp { from { transform: translateY(2px); } to { transform: translateY(-3px); } }
.to-top:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--red-dark); }
@media (max-width: 720px) { .to-top { width: 54px; height: 54px; right: 12px; bottom: 76px; font-size: .7rem; } .to-top svg { width: 20px; height: 20px; } }
.logo { cursor: pointer; }

/* ===========================================================
   第10版：写真追加・D-MSの訳
   =========================================================== */
.campaign__dms small { display: block; font-size: .75rem; color: var(--muted); font-weight: 700; margin-top: 2px; line-height: 1.4; }
.campaign__dms em { font-size: 1.15rem; }

/* 料金カードの写真 */
.price-photo { position: relative; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: linear-gradient(160deg, #e6edfb 0%, #c8d7f5 100%); }
.price-photo::before { content: ""; position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; background: #fff; opacity: .6; left: -10%; bottom: -30%; }
.price-photo img { position: absolute; left: 50%; bottom: 0; height: 104%; width: auto; max-width: none; transform: translateX(-50%); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.price-card:hover .price-photo img { transform: translateX(-50%) scale(1.05); }
.js .price-card .price-photo img { opacity: 0; transform: translate(-50%, 18%); transition: opacity .6s, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * 110ms + .3s); }
.js .price-card.is-in .price-photo img { opacity: 1; transform: translateX(-50%); }

/* 流れの写真 */
.flow-photo { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: linear-gradient(160deg, #fff3e3 0%, #ffd9ad 100%); width: 120px; margin: 4px auto 12px; position: relative; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--red); }
.flow-photo img { position: absolute; left: 50%; bottom: -4%; width: 118%; max-width: none; height: auto; transform: translateX(-50%); }
.flow-step:nth-child(even) .flow-photo { background: linear-gradient(160deg, #e6edfb 0%, #c8d7f5 100%); box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--blue); }
.flow-step h3 { text-align: center; }
.js .flow-step .flow-photo { transform: scale(.4) rotate(-20deg); opacity: 0; transition: transform .6s cubic-bezier(.3,1.5,.5,1), opacity .4s; transition-delay: calc(var(--d, 0) * 110ms + .2s); }
.js .flow-step.is-in .flow-photo { transform: none; opacity: 1; }
@media (max-width: 1000px) {
  .flow-step { grid-template-columns: 70px 92px 1fr; }
  .flow-step__no { grid-row: span 2; }
  .flow-photo { grid-row: span 2; width: 84px; margin: 0; align-self: center; }
  .flow-step h3 { text-align: left; }
  .flow-step p:last-child { grid-column: 3; }
}
@media (max-width: 420px) {
  .flow-step { grid-template-columns: 56px 72px 1fr; column-gap: 10px; }
  .flow-photo { width: 70px; }
}

/* お問い合わせの写真 */
.contact__staff img { border-radius: 50%; background: linear-gradient(160deg, #ffffff 0%, #ffe1bd 100%); }
@media (max-width: 1000px) { .flow__list { grid-template-columns: 1fr; } }
.cta-mail__addr a, .contact__mail a, .company__table a { color: inherit; }
.contact__mail b a { color: #fff; text-decoration-color: var(--yellow); }
