@charset "UTF-8";
/* =========================================================
   eme-ami LP
   大きさの基準：PC＝デザイン幅1280pxで 1rem=10px／スマホ＝デザイン幅370pxで 1rem=10px（main.jsで画面幅に合わせて計算）
   ========================================================= */
:root {
  --ink: #231815;
  --yellow: #ffe961;
  --teal: #48b19e;
  --green: #00b89c;
  --pink-bg: #ebbcb5;
  --pink: #e8327c;
  --orange: #f05a29;
  --cream: #eeeeee;
  --brown: #b98a3c;
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --round: "M PLUS Rounded 1c", var(--font);
}
html { font-size: calc(100vw / 128); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (min-width: 1600px) { html { font-size: 12.5px; } }
@media (max-width: 767px) { html { font-size: calc(100vw / 37); } }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: var(--ink); font-size: 1.6rem; line-height: 1.8; background: #fff; overflow-x: hidden; font-feature-settings: "palt"; letter-spacing: .02em; }
img { max-width: 100%; height: auto; vertical-align: top; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
.sp { display: none; }
@media (max-width: 767px) { .sp { display: inline; } .pc { display: none; } }
.u-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.inner { position: relative; width: 90rem; margin: 0 auto; }
@media (max-width: 767px) { .inner { width: auto; margin: 0 2rem; } }
section { position: relative; }

/* ---------- KV ---------- */
.kv { height: 82.6rem; background: var(--yellow); overflow: hidden; }
.kv__in { position: relative; width: 128rem; height: 100%; margin: 0 auto; }
.kv__logo { position: absolute; left: 90rem; top: 49.3rem; width: 14.9rem; z-index: 3; }
.kv__catch { position: absolute; left: 23.1rem; top: 2.5rem; width: 81.5rem; z-index: 3; }
.kv__ribbon { position: absolute; left: 19.4rem; top: 23.2rem; width: 89.2rem; z-index: 3; }
.kv__catch img, .kv__ribbon img { width: 100%; }
.kv__cat { position: absolute; left: 0; bottom: 0; width: 128rem; z-index: 2; }
.kv__cat picture { display: block; }
.kv__cat img { width: 100%; }
.kv__lead { position: absolute; left: 0; right: 0; top: 71.4rem; z-index: 4; text-align: center; color: var(--green); font-weight: 700; font-size: 2.1rem; line-height: 1.8; letter-spacing: .04em; }
@media (max-width: 767px) {
  .kv { height: 60.4rem; }
  .kv__logo { left: 1.2rem; top: 1.2rem; width: 8.4rem; }
  .kv__catch { left: .3rem; top: 4.6rem; width: 36.5rem; }
  .kv__ribbon { left: 3.4rem; top: 17.5rem; width: 30rem; }
  .kv__cat { left: -.54rem; width: 37.94rem; }
  .kv__lead { top: 49.6rem; font-size: 1.3rem; line-height: 1.55; }
  .kv__lead br:not(.sp) { display: block; content: ""; margin-top: 1rem; }
}

/* ---------- お悩み（緑の帯・下がV字） ---------- */
.worry { background: var(--teal); padding: 5.6rem 0 12rem; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6rem), 50% 100%, 0 calc(100% - 6rem)); margin-bottom: -6rem; z-index: 2; }
.worry__ttl { text-align: center; color: var(--ink); font-size: 2.6rem; font-weight: 700; line-height: 1.6; letter-spacing: .06em; }
.worry__list { display: flex; justify-content: center; gap: 4rem; margin-top: 4rem; }
.worry__item { position: relative; display: flex; align-items: center; justify-content: center; width: 19rem; height: 20.9rem; padding-top: 3.4rem; color: #fff; text-align: center; font-size: 1.7rem; font-weight: 500; line-height: 1.75;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 110'%3E%3Cpath fill='%231d0f17' d='M50 17c6 0 12 1 17.5 3L82 2l5 30a45 45 0 1 1-74 0L18 2l14.5 18C38 18 44 17 50 17z'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 767px) {
  .worry { padding: 4rem 0 9rem; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3.2rem), 50% 100%, 0 calc(100% - 3.2rem)); margin-bottom: -3.2rem; }
  .worry__ttl { font-size: 1.6rem; letter-spacing: .02em; }
  .worry__list { flex-wrap: wrap; gap: 1.2rem 1.6rem; margin-top: 2.4rem; }
  .worry__item { width: 15rem; height: 16.5rem; padding-top: 2.6rem; font-size: 1.3rem; line-height: 1.6; }
  .worry__item:nth-child(3) { margin-top: -2rem; }
}

/* ---------- パートナー・選ばれる5つの理由（ピンクの方眼） ---------- */
.partner { overflow-x: clip; padding: 15.6rem 0 14rem; background-color: var(--pink-bg);
  background-image: linear-gradient(rgba(255, 255, 255, .32) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .32) 1px, transparent 1px);
  background-size: 2.2rem 2.2rem; background-position: center top; }
.partner__ttl { width: 65.8rem; margin: 0 auto; }
.partner__ttl img { width: 100%; }
.partner__lead { margin-top: 2rem; text-align: center; font-size: 2rem; line-height: 1.8; }
.partner__lead em { font-style: normal; font-weight: 700; -webkit-text-emphasis: filled dot; text-emphasis: filled dot; -webkit-text-emphasis-position: over right; text-emphasis-position: over right; }
.reason__ttl { width: 26.8rem; margin: 8rem auto 1.6rem; }
.reason__ttl img { width: 100%; }
.reason { display: grid; gap: .9rem; }
.reason__item { position: relative; display: flex; min-height: 15rem; background: #fff; border: 1px solid var(--ink); }
.reason__img { position: relative; flex: 0 0 14.3rem; border-right: 1px solid var(--ink); }
.reason__ph { position: absolute; inset: 0; overflow: hidden; }
.reason__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reason__img::after { content: ""; position: absolute; right: -.9rem; top: 50%; width: 1.6rem; height: 1.6rem; margin-top: -.8rem; background: #fff; border-top: 1px solid var(--ink); border-right: 1px solid var(--ink); transform: rotate(45deg) scale(.7, .7); }
.reason__body { flex: 1; padding: 2.3rem 3rem 2.2rem 3.3rem; }
.reason__label { position: absolute; right: -1px; top: -1px; padding: .1rem 1.4rem; background: var(--green); color: #fff; font-size: 1.8rem; font-weight: 700; line-height: 1.5; }
.reason__name { display: flex; align-items: center; color: var(--green); font-size: 2.5rem; font-weight: 700; line-height: 1.4; }
.reason__dots { margin-right: 1.4rem; color: var(--ink); font-size: 1.5rem; letter-spacing: -.05em; }
.reason__txt { margin-top: 1.2rem; font-size: 1.8rem; line-height: 1.6; }
.reason__item:nth-child(3) .reason__img img { object-position: 22% 50%; }
.reason__item:nth-child(5) .reason__img img { object-position: 50% 30%; }
.partner__about { margin-top: 3.6rem; text-align: center; font-family: var(--round); font-weight: 800; font-size: 2rem; line-height: 1.85; letter-spacing: 0; white-space: nowrap; }
.cta { margin-top: 4.4rem; text-align: center; }
.cta__link { display: inline-block; width: 32.5rem; transition: transform .3s; }
.cta__link img { width: 100%; }
.cta__link:hover { transform: translateY(-.4rem) scale(1.03); }
.partner__deco { position: absolute; right: 3.7rem; bottom: 0; width: 18.9rem; }
@media (max-width: 767px) {
  .partner { padding: 8.4rem 0 9rem; background-size: 1.8rem 1.8rem; }
  .partner__ttl { width: 31.2rem; }
  .partner__lead { font-size: 1.6rem; line-height: 1.6; }
  .reason__ttl { width: 27rem; margin: 5.6rem auto 2rem; }
  .reason { gap: 3.6rem; }
  .reason__item { display: block; min-height: 0; background: none; border: 0; }
  .reason__img { height: 18.5rem; border: 1px solid var(--ink); background: #fff; }
  .reason__img::after { display: none; }
  .reason__body { padding: 0; text-align: center; }
  .reason__name { position: absolute; left: 0; right: 0; top: 13.6rem; justify-content: center; font-size: 2rem; text-shadow: 0 0 .4rem #fff, 0 0 .8rem #fff; }
  .reason__dots { position: absolute; left: 1rem; top: -12.4rem; display: flex; flex-direction: column; font-size: 1.3rem; line-height: 1.05; letter-spacing: 0; text-shadow: none; }
  .reason__dots { writing-mode: vertical-rl; }
  .reason__label { position: static; display: block; margin: .8rem .8rem 0; padding: .3rem .4rem; font-size: 1.45rem; }
  .reason__txt { margin-top: .9rem; font-size: 1.5rem; line-height: 1.6; }
  .reason__txt br { display: none; }
  .partner__about { margin-top: 4rem; font-size: 1.4rem; line-height: 1.75; white-space: normal; }
  .reason__name { text-shadow: 0 0 .3rem #fff, 0 0 .6rem #fff, 0 0 1rem #fff, 0 0 1.4rem rgba(255, 255, 255, .9); }
  .plan__note img { display: none; }
  .plan__note::after { content: attr(data-sp); display: block; text-align: center; font-family: var(--round); font-weight: 800; font-size: 1.4rem; line-height: 1.75; }
  .msg__head { font-size: 1.5rem; }
  .form__ttl { font-size: 2rem; -webkit-text-stroke-width: .3rem; }
  .cta { margin-top: 3rem; }
  .cta__link { width: 30rem; }
  .partner__deco { right: 1.2rem; width: 11rem; }
}

/* ---------- プラン（オレンジ） ---------- */
.plan { padding: 8.9rem 0 8rem; background: var(--orange); overflow: hidden; }
.plan__ttl { width: 30.8rem; margin: 0 auto; }
.plan__ttl img { width: 100%; }
.plan__list { display: flex; justify-content: space-between; margin-top: 5.6rem; }
.plan__card { width: 29rem; display: flex; flex-direction: column; }
.plan__catch { height: 2.6rem; margin-bottom: 1rem; text-align: center; }
.plan__catch img { height: 100%; width: auto; }
.plan__box { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; padding: 2.4rem 3rem 2.6rem; background: #fff; }
.plan__pop { position: absolute; top: 2.3rem; left: 0; right: 0; width: fit-content; margin: 0 auto; padding: 0 1.6rem; background: var(--yellow); font-size: 1.5rem; font-weight: 700; line-height: 1.6; clip-path: polygon(0 0, 100% 0, 96% 50%, 100% 100%, 0 100%, 4% 50%); white-space: nowrap; }
.plan__card:nth-child(2) .plan__for { margin-top: 2.4rem; }
.plan__for { text-align: center; font-size: 1.7rem; font-weight: 700; line-height: 1.45; min-height: 4.9rem; display: flex; align-items: flex-end; }
.plan__name { width: 21rem; margin-top: 1.1rem; }
.plan__name img { width: 100%; }
.plan__items { align-self: stretch; margin-top: 2.4rem; font-size: 1.65rem; font-weight: 500; line-height: 1.5; }
.plan__items li { position: relative; padding-left: 2.2rem; margin-bottom: .4rem; }
.plan__items li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 400; }
.plan__items small { display: block; font-size: 1.2rem; font-weight: 700; letter-spacing: 0; }
.plan__price { margin-top: auto; padding-top: 2rem; display: flex; align-items: center; justify-content: center; }
.plan__price { width: 21rem; height: 5rem; padding-top: 0; border: 1px solid var(--ink); box-sizing: content-box; margin-top: auto; }
.plan__items { margin-bottom: 2rem; }
.plan__num { font-family: "Barlow", sans-serif; font-weight: 700; font-size: 3.9rem; letter-spacing: -.01em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__yen { display: flex; flex-direction: column; align-items: center; margin-left: .1rem; font-size: 1.9rem; font-weight: 700; line-height: 1; }
.plan__yen small { font-size: .8rem; margin-bottom: .1rem; }
.plan__note { width: 82rem; margin: 3.6rem auto 0; }
.plan__note img { width: 100%; }
.plan__cat { position: absolute; right: 4.5rem; bottom: 0; width: 8.1rem; transform-origin: 50% 100%; }
@media (max-width: 767px) {
  .plan { padding: 6rem 0 14rem; }
  .plan__ttl { width: 22rem; }
  .plan__list { flex-direction: column; gap: 3.2rem; margin-top: 3.6rem; }
  .plan__card { width: auto; }
  .plan__catch { height: 2.2rem; }
  .plan__box { padding: 2.2rem 2.4rem 2.4rem; }
  .plan__for { min-height: 0; font-size: 1.5rem; }
  .plan__card:nth-child(2) .plan__for { margin-top: 2.2rem; }
  .plan__pop { top: 1.6rem; font-size: 1.3rem; }
  .plan__name { width: 19rem; }
  .plan__items { font-size: 1.5rem; margin-top: 1.8rem; padding: 0 1rem; }
  .plan__price { width: 21rem; height: 4.6rem; }
  .plan__num { font-size: 3.4rem; }
  .plan__note { width: auto; margin-top: 3rem; }
  .plan__cat { right: 2rem; width: 5.4rem; }
}

/* ---------- 比較（グレー） ---------- */
.cmp { padding: 7rem 0 7.6rem; background: var(--cream); }
.cmp__ttl { width: 38rem; margin: 0 auto; }
.cmp__ttl img { width: 100%; }
.cmp__lead { margin-top: 1.2rem; text-align: center; font-size: 2rem; }
.cmp__wrap { position: relative; width: 89.5rem; margin: 6.6rem auto 0; }
.cmp__dog { position: absolute; left: 57.8rem; top: -5.4rem; width: 7.7rem; z-index: 2; }
.cmp__table { position: relative; width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--ink); box-shadow: .6rem .6rem 0 var(--ink); font-size: 1.8rem; line-height: 1.4; }
.cmp__table th, .cmp__table td { padding: 1rem 2.4rem; font-weight: 400; text-align: left; }
.cmp__table thead th { padding-top: 2rem; padding-bottom: 1.2rem; font-weight: 700; font-size: 2.3rem; }
.cmp__table .c-gen { width: 34.5rem; padding-left: 5.3rem; }
.cmp__table .c-item { width: 21rem; text-align: center; background: #fde861; }
.cmp__table .c-eme { font-weight: 700; padding-left: 3.6rem; }
.cmp__table thead .c-item { border-radius: 1.2rem 1.2rem 0 0; font-size: 2.5rem; }
.cmp__table thead .c-gen { text-align: center; padding-left: 2.4rem; }
.cmp__table thead .c-eme { text-align: center; }
.cmp__table thead .c-eme img { width: 12.4rem; }
.cmp__table tbody tr:last-child .c-item { border-radius: 0 0 1.2rem 1.2rem; }
.cmp__table tbody td { background-image: linear-gradient(90deg, #ccc 50%, transparent 50%); background-size: .6rem 2px; background-repeat: repeat-x; background-position: left bottom; }
.cmp__table tbody tr:last-child td, .cmp__table tbody tr:last-child th { padding-bottom: 1.6rem; }
.cmp__table tbody .c-item { background-color: #fde861; background-image: linear-gradient(90deg, #fff 50%, transparent 50%); background-size: .6rem 2px; background-repeat: repeat-x; background-position: left bottom; }
.cmp__table tbody tr:last-child .c-item { background-image: none; }
.cmp__table .c-gen, .cmp__table .c-eme { position: relative; }
@media (max-width: 767px) {
  .cmp { padding: 5.6rem 0 6rem; }
  .cmp__ttl { width: 28rem; }
  .cmp__lead { font-size: 1.5rem; line-height: 1.6; }
  /* スマホもPCと同じ表の組み方で、左右にスクロールして見る（下にスクロールバー） */
  .cmp__hint { display: block; margin-top: 2.4rem; text-align: center; font-size: 1.2rem; color: #777; }
  .cmp__wrap { width: auto; margin: 0 -2rem; }
  .cmp__scroll { overflow-x: auto; padding: 5.6rem 2rem 1.8rem; -webkit-overflow-scrolling: touch; scrollbar-color: #999 #ddd; }
  .cmp__scroll::-webkit-scrollbar { height: .6rem; }
  .cmp__scroll::-webkit-scrollbar-track { background: #ddd; border-radius: 1rem; margin: 0 2rem; }
  .cmp__scroll::-webkit-scrollbar-thumb { background: #999; border-radius: 1rem; }
  .cmp__table { width: 64rem; font-size: 1.35rem; box-shadow: .4rem .4rem 0 var(--ink); }
  .cmp__table th, .cmp__table td { padding: .8rem 1.4rem; }
  .cmp__table thead th { padding-top: 1.6rem; padding-bottom: 1rem; font-size: 1.6rem; }
  .cmp__table thead .c-item { font-size: 1.7rem; }
  .cmp__table .c-gen { width: 24rem; padding-left: 2.4rem; }
  .cmp__table .c-item { width: 15rem; }
  .cmp__table .c-eme { padding-left: 2rem; }
  .cmp__table thead .c-eme img { width: 9rem; }
  .cmp__dog { left: 43rem; top: 1.6rem; width: 5.6rem; }
}
.cmp__scroll { position: relative; }

/* ---------- メッセージ ---------- */
.msg { padding: 7rem 0 8.4rem; background: #fff; }
.msg .inner { padding-left: .7rem; }
.msg__ttl { width: 33.1rem; }
.msg__ttl img { width: 100%; }
.msg__head { margin-top: 4rem; font-size: 2rem; font-weight: 700; line-height: 1.5; }
.msg__body { margin-top: 3.2rem; padding-left: .5rem; font-size: 1.6rem; line-height: 1.65; }
.msg__body p + p, .msg__body ul, .msg__body ul + p { margin-top: 2.6rem; }
.msg__body ul + p { margin-top: 1rem; }
.msg__body li::before { content: "・"; }
.msg__photo { position: absolute; right: -1rem; bottom: -3.4rem; width: 15.1rem; }
@media (max-width: 767px) {
  .msg { padding: 5.6rem 0 30rem; }
  .msg .inner { padding-left: 0; position: static; }
  .msg__ttl { width: 22rem; }
  .msg__head { margin-top: 2.6rem; font-size: 1.6rem; }
  .msg__body { margin-top: 2rem; padding-left: 0; font-size: 1.4rem; line-height: 1.75; }
  .msg__body br { display: none; }
  .msg__body li { padding-left: 1.4rem; text-indent: -1.4rem; }
  .msg__photo { right: auto; left: 50%; bottom: 3rem; width: 16rem; margin-left: -8rem; }
}

/* ---------- フォーム ---------- */
.form { padding: 8rem 0 10rem; background: #f5f5f5; }
.form .inner { width: 72rem; }
.form__ttl { display: flex; align-items: center; justify-content: center; gap: 1.4rem; color: #fff; font-family: var(--round); font-weight: 800; font-size: 3.4rem; letter-spacing: .04em; -webkit-text-stroke: .5rem var(--brown); paint-order: stroke fill; }
.form__ttl img { width: 6rem; }
.form__steps { position: relative; display: flex; justify-content: space-between; margin: 4rem 4rem 0; font-size: 1.4rem; color: #bbb; text-align: center; }
.form__steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 1rem; height: 1px; background: #ccc; }
.form__steps li { position: relative; width: 10rem; }
.form__steps span { display: block; width: 2rem; height: 2rem; margin: 0 auto .4rem; border-radius: 50%; background: #ccc; color: #fff; font-size: 1.2rem; line-height: 2rem; font-weight: 700; }
.form__steps .is-current { color: var(--ink); font-weight: 700; }
.form__steps .is-current span { background: var(--ink); }
.form__body, .form__confirm, .form__thanks { margin-top: 4rem; }
.form__row { margin-bottom: 2.8rem; }
.form__row > label, .form__label { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1rem; font-size: 1.6rem; font-weight: 700; }
.form__row b, .form__row i { padding: 0 .6rem; font-size: 1.3rem; font-style: normal; line-height: 1.6; }
.form__row b { background: var(--ink); color: #fff; font-weight: 700; }
.form__row i { background: #e5e5e5; font-weight: 500; }
.form__row input[type="text"], .form__row input[type="email"], .form__row input[type="tel"], .form__row textarea { width: 100%; padding: 1.2rem 1.4rem; border: 1px solid #ccc; border-radius: .3rem; background: #fff; font: inherit; font-size: 1.6rem; color: var(--ink); }
.form__row input:focus, .form__row textarea:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); }
.form__row ::placeholder { color: #aaa; }
.form__note { font-size: 1.4rem; color: #555; }
.form__note a { color: var(--brown); }
.form__check { display: inline-flex; align-items: center; gap: .8rem; margin-top: 1rem; font-size: 1.6rem; cursor: pointer; }
.form__check input { width: 1.8rem; height: 1.8rem; accent-color: var(--pink); }
.form__err { color: #d0254a; font-size: 1.3rem; margin-top: .4rem; min-height: 0; }
.form__btns { display: flex; justify-content: center; gap: 2rem; margin-top: 4rem; }
.form__btn { min-width: 24rem; padding: 1.5rem 3rem; border: 0; border-radius: 10rem; background: #b0124a; color: #fff; font: inherit; font-size: 1.7rem; font-weight: 700; cursor: pointer; transition: transform .25s, background .25s; }
.form__btn:hover { transform: translateY(-.2rem); background: #c81c58; }
.form__btn--back { background: #888; }
.form__btn--back:hover { background: #999; }
.form__dl { display: grid; grid-template-columns: 20rem 1fr; border-top: 1px solid #ddd; font-size: 1.6rem; }
.form__dl dt, .form__dl dd { padding: 1.6rem 1rem; border-bottom: 1px solid #ddd; }
.form__dl dt { font-weight: 700; }
.form__dl dd { white-space: pre-wrap; word-break: break-all; }
.form__thanks { text-align: center; font-size: 1.6rem; line-height: 1.9; }
.form__thanks-ttl { margin-bottom: 1.6rem; font-size: 2.4rem; font-weight: 700; color: var(--pink); }
@media (max-width: 767px) {
  .form { padding: 5.6rem 0 7rem; }
  .form .inner { width: auto; }
  .form__row input[type="text"], .form__row input[type="email"], .form__row input[type="tel"], .form__row textarea { font-size: max(16px, 1.6rem); } /* iPhoneで入力時に拡大されないよう16px以上 */
  .form__ttl { font-size: 2.2rem; gap: .8rem; -webkit-text-stroke-width: .4rem; }
  .form__ttl img { width: 4rem; }
  .form__steps { margin: 3rem 0 0; font-size: 1.2rem; }
  .form__dl { grid-template-columns: 1fr; }
  .form__dl dt { padding-bottom: 0; border-bottom: 0; }
  .form__btns { flex-direction: column-reverse; align-items: center; gap: 1.4rem; }
  .form__btn { min-width: 26rem; }
}

/* ---------- フッター ---------- */
.ft { padding: 7rem 0 4.4rem; text-align: center; background: #fff; }
.ft__logo { width: 14.4rem; }
.ft__company { margin-top: 2.4rem; font-weight: 700; font-size: 1.5rem; }
.ft__company a { color: var(--brown); }
.ft__copy { margin-top: .6rem; font-size: 1.1rem; }

/* =========================================================
   修正2（2026-10-01 隊長指示）
   ========================================================= */
/* KV：「かわいい♡」と「だけじゃ届かない。」を別々に。猫の耳は茶色の帯の上にかかる */
.kv__catch { left: 0; top: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }
.kv__catch picture { position: absolute; display: block; }
.kv__catch picture img { width: 100%; }
.kv__catch-a { left: 23rem; top: 2.4rem; width: 41rem; }
.kv__catch-b { left: 53.7rem; top: 14.6rem; width: 51rem; }
.kv__ribbon { z-index: 2; }
.kv__cat { z-index: 3; bottom: -1px; }
.kv__lead { z-index: 5; }
@media (max-width: 767px) {
  .kv__catch { left: 0; top: 0; width: 100%; }
  .kv__catch-a { left: .2rem; top: 4.5rem; width: 22.2rem; }
  .kv__catch-b { left: 11.5rem; top: 12.4rem; width: 25.4rem; }
}

/* 選ばれる理由：吹き出しの矢印の部分まで写真を入れる（黒い線は外側の形で描く） */
.reason__img { flex: 0 0 15.3rem; margin-right: -1rem; border-right: 0; background: var(--ink); z-index: 1;
  clip-path: polygon(0 0, 14.3rem 0, 14.3rem calc(50% - .9rem), 15.3rem 50%, 14.3rem calc(50% + .9rem), 14.3rem 100%, 0 100%); }
.reason__img::after { display: none; }
.reason__ph { clip-path: polygon(0 0, calc(14.3rem - 1px) 0, calc(14.3rem - 1px) calc(50% - .9rem), calc(15.3rem - 1.6px) 50%, calc(14.3rem - 1px) calc(50% + .9rem), calc(14.3rem - 1px) 100%, 0 100%); }
.reason__body { padding-left: 3.3rem; }
.reason__dots { display: inline-flex; gap: .25rem; margin-right: 1.4rem; }
.reason__dots i { display: block; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: #fff; border: 1px solid var(--ink); }
.reason__dots i.on { background: var(--ink); }
/* 下の説明文は、上の文章と同じフォントに */
.partner__about { font-family: var(--font); font-weight: 500; letter-spacing: .02em; }
@media (max-width: 767px) {
  .reason__img { flex: none; margin-right: 0; background: #fff; clip-path: none; }
  .reason__ph { clip-path: none; }
  .reason__dots { flex-direction: column; writing-mode: horizontal-tb; gap: .3rem; left: 1rem; top: -12.6rem; }
  .reason__dots i { width: 1.1rem; height: 1.1rem; }
  .reason__name { text-shadow: 0 0 .25rem rgba(255, 255, 255, .75), 0 0 .5rem rgba(255, 255, 255, .45); }
}

/* 相談ボタン：大きく。猫はボタンとは別に動く */
.cta__link { position: relative; display: block; width: 42rem; margin: 0 auto; aspect-ratio: 325 / 126; transition: none; }
.cta__link:hover { transform: none; }
.cta__btn { position: absolute; left: 0; top: 15.1%; width: 100%; transition: transform .3s; }
.cta__cat { position: absolute; left: 5.85%; top: 0; width: 25.2%; transform-origin: 55% 75%; }
.cta__link:hover .cta__btn { transform: translateY(-.3rem) scale(1.02); }
@media (max-width: 767px) { .cta__link { width: 33rem; } }

/* 魚・プランの猫：下の色の部分から浮かないように */
.partner__deco, .plan__cat { bottom: -1px; }

/* フォームの見出し：元のフォントの画像＋茶色の猫 */
.form__ttl { display: flex; align-items: flex-end; justify-content: center; gap: .6rem; -webkit-text-stroke: 0; }
.form__cat { width: 6.6rem; flex: none; }
.form__ttl-txt { width: 46rem; margin-bottom: 2.2rem; }
@media (max-width: 767px) { .form__cat { width: 4.6rem; } .form__ttl-txt { width: 26rem; margin-bottom: 1.4rem; } }
/* フォームのボタン：サイトの相談ボタンと同じピンク＋黒い影 */
.form__btn { background: var(--pink); box-shadow: .4rem .4rem 0 var(--ink); }
.form__btn:hover { background: #f0478d; transform: translate(.2rem, .2rem); box-shadow: .2rem .2rem 0 var(--ink); }
.form__btn--back { background: #fff; color: var(--ink); border: 1px solid var(--ink); }
.form__btn--back:hover { background: #f3f3f3; }

/* メッセージ：スマホでは最後の一文の横（右下）に写真 */
@media (max-width: 767px) {
  .msg { padding-bottom: 5.6rem; }
  .msg .inner { position: relative; }
  .msg__body br { display: inline; }
  .msg__body p + p, .msg__body ul, .msg__body ul + p { margin-top: 1.8rem; }
  .msg__last { min-height: 17rem; padding-right: 15rem; }
  .msg__photo { left: auto; right: -1rem; bottom: -1rem; width: 14rem; margin-left: 0; }
}
@media (min-width: 768px) { .msg__last { margin-top: 1rem !important; } }

/* フッター：ロゴと文字を横に並べ、黄色の帯に */
.ft { padding: 5.6rem 0; background: var(--yellow); }
.ft__in { display: flex; align-items: center; justify-content: center; gap: 4.8rem; }
.ft__logo { width: 10rem; }
.ft__txt { text-align: left; }
.ft__company { margin-top: 0; font-size: 1.6rem; }
.ft__company a { color: var(--ink); text-decoration-color: var(--brown); text-underline-offset: .3em; }
.ft__copy { margin-top: .8rem; font-size: 1.2rem; }
@media (max-width: 767px) {
  .ft { padding: 4.4rem 0 3.6rem; }
  .ft__in { flex-direction: column; gap: 1.8rem; }
  .ft__logo { width: 9rem; }
  .ft__txt { text-align: center; }
  .ft__copy { font-size: 1rem; }
}

/* スマホ：お悩み3つを横並びに。「eme-amiは〜」の見出しを緑のV字にかける */
@media (max-width: 767px) {
  .worry { padding-bottom: 6.4rem; }
  .worry__list { flex-wrap: nowrap; justify-content: space-between; gap: 0; margin-top: 2rem; }
  .worry__item { width: 10.9rem; height: 12rem; padding-top: 2.1rem; font-size: 1.02rem; line-height: 1.45; letter-spacing: 0; }
  .worry__item:nth-child(3) { margin-top: 0; }
  .partner { padding-top: 1.2rem; }
  .partner__ttl { position: relative; z-index: 3; }
}

/* スマホ：プランは横にスライド。「“整えて〜”」はカードのすぐ上に */
@media (max-width: 767px) {
  .plan__list { flex-direction: row; gap: 1.4rem; margin: 3.2rem -2rem 0; padding: 0 3.4rem 2rem; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-color: rgba(255,255,255,.9) rgba(255,255,255,.3); }
  .plan__list::-webkit-scrollbar { height: .6rem; }
  .plan__list::-webkit-scrollbar-track { background: rgba(255, 255, 255, .3); border-radius: 1rem; margin: 0 3.4rem; }
  .plan__list::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .9); border-radius: 1rem; }
  .plan__card { flex: 0 0 28rem; scroll-snap-align: center; }
  .plan__catch { margin-bottom: .3rem; height: 2rem; }
  .plan { padding-bottom: 12rem; }
}
@media (max-width: 767px) { .kv__in { width: auto; } }
html { overflow-x: clip; }
/* 前のルール（.cta__link img・.form__ttl img）より優先させる */
.cta__link .cta__btn { width: 100%; }
.cta__link .cta__cat { width: 25.2%; }
.form__ttl .form__cat { width: 6.6rem; }
.form__ttl .form__ttl-txt { width: 46rem; }
@media (max-width: 767px) { .form__ttl .form__cat { width: 4.6rem; } .form__ttl .form__ttl-txt { width: 26rem; } }
@media (max-width: 767px) { .reason__name { z-index: 2; } .reason__label { font-size: 1.38rem; letter-spacing: 0; } }

/* =========================================================
   修正3（ハンバーガー・相談ボタン・スマホのプラン/比較・フォーム見出し）
   ========================================================= */
/* ハンバーガー：右上の角から欠けた黒い丸 */
.hb { position: fixed; right: 0; top: 0; z-index: 60; width: 11rem; height: 11rem; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hb__bg { position: absolute; right: -3.4rem; top: -3.4rem; width: 13rem; height: 13rem; border-radius: 50%; background: var(--ink); transition: transform .5s cubic-bezier(.2, .9, .3, 1.2); }
.hb:hover .hb__bg { transform: scale(1.06); }
.hb__line { position: absolute; height: .4rem; border-radius: 1rem; background: #fff; transition: transform .4s, width .4s, left .4s; }
.hb__line:nth-of-type(2) { left: 3.4rem; top: 3.9rem; width: 4.8rem; }
.hb__line:nth-of-type(3) { left: 4.2rem; top: 5.6rem; width: 4rem; }
html.is-nav-open .hb__line:nth-of-type(2) { left: 3.6rem; width: 4.4rem; transform: translateY(.85rem) rotate(45deg); }
html.is-nav-open .hb__line:nth-of-type(3) { left: 3.6rem; width: 4.4rem; transform: translateY(-.85rem) rotate(-45deg); }
@media (max-width: 767px) {
  .hb { width: 7rem; height: 7rem; }
  .hb__bg { right: -2.4rem; top: -2.4rem; width: 8.6rem; height: 8.6rem; }
  .hb__line { height: .3rem; }
  .hb__line:nth-of-type(2) { left: 1.9rem; top: 2.3rem; width: 3.4rem; }
  .hb__line:nth-of-type(3) { left: 2.5rem; top: 3.5rem; width: 2.8rem; }
  html.is-nav-open .hb__line:nth-of-type(2) { left: 2rem; width: 3.2rem; transform: translateY(.6rem) rotate(45deg); }
  html.is-nav-open .hb__line:nth-of-type(3) { left: 2rem; width: 3.2rem; transform: translateY(-.6rem) rotate(-45deg); }
}
/* メニュー：右上の丸から広がる黄色の画面 */
.gnav { position: fixed; inset: 0; z-index: 55; background: var(--yellow); clip-path: circle(0 at calc(100% - 3rem) 3rem); visibility: hidden; transition: clip-path .6s cubic-bezier(.7, 0, .2, 1), visibility 0s .6s; overflow-y: auto; }
html.is-nav-open .gnav { clip-path: circle(150% at calc(100% - 3rem) 3rem); visibility: visible; transition: clip-path .7s cubic-bezier(.7, 0, .2, 1), visibility 0s; }
.gnav__in { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8rem 2rem; }
.gnav__logo { width: 18rem; }
.gnav__list { margin-top: 4rem; text-align: center; }
.gnav__list li + li { margin-top: 2.2rem; }
.gnav__list a { font-family: var(--round); font-weight: 800; font-size: 2.6rem; text-decoration: none; color: var(--ink); background: linear-gradient(var(--pink), var(--pink)) 0 100% / 0 .4rem no-repeat; transition: background-size .3s; }
.gnav__list a:hover { background-size: 100% .4rem; }
.gnav__cta { display: inline-block; margin-top: 4.4rem; padding: 1.6rem 5rem; border-radius: 10rem; background: var(--pink); color: #fff; font-weight: 700; font-size: 2rem; text-decoration: none; box-shadow: .4rem .4rem 0 var(--ink); }
html.is-nav-open .gnav__list li, html.is-nav-open .gnav__logo, html.is-nav-open .gnav__cta { animation: navIn .6s cubic-bezier(.2, .9, .3, 1) both; }
html.is-nav-open .gnav__list li:nth-child(1) { animation-delay: .25s; } html.is-nav-open .gnav__list li:nth-child(2) { animation-delay: .3s; } html.is-nav-open .gnav__list li:nth-child(3) { animation-delay: .35s; }
html.is-nav-open .gnav__list li:nth-child(4) { animation-delay: .4s; } html.is-nav-open .gnav__list li:nth-child(5) { animation-delay: .45s; } html.is-nav-open .gnav__cta { animation-delay: .5s; } html.is-nav-open .gnav__logo { animation-delay: .2s; }
@keyframes navIn { from { opacity: 0; transform: translateY(2rem); } }
html.is-nav-open { overflow: hidden; }
@media (max-width: 767px) { .gnav__logo { width: 14rem; } .gnav__list a { font-size: 2rem; } .gnav__cta { font-size: 1.6rem; padding: 1.4rem 4rem; } }

/* 相談ボタン：PCは右下に横型でずっと表示／スマホは右端に縦型で、途中から表示 */
.float { position: fixed; right: 2.4rem; bottom: 2.4rem; z-index: 50; display: block; padding: 1.7rem 4.4rem; border-radius: 10rem; background: var(--pink); color: #fff; font-weight: 700; font-size: 1.9rem; letter-spacing: .06em; text-decoration: none; box-shadow: .4rem .4rem 0 var(--ink);
  transition: opacity .4s, transform .5s cubic-bezier(.2, .9, .3, 1.2), box-shadow .25s; opacity: 0; transform: translateY(2rem); pointer-events: none; }
.float.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.float:hover { transform: translate(.2rem, .2rem); box-shadow: .2rem .2rem 0 var(--ink); }
html.is-nav-open .float { opacity: 0; pointer-events: none; }
@media (max-width: 767px) {
  .float { right: 0; bottom: auto; top: 50%; padding: 2rem 1rem 2rem 1.2rem; border-radius: 3rem 0 0 3rem; writing-mode: vertical-rl; font-size: 1.6rem; letter-spacing: .12em; box-shadow: -.4rem .3rem 0 var(--ink); transform: translate(100%, -50%); }
  .float.is-shown { transform: translate(0, -50%); }
  .float:hover { transform: translate(0, -50%); box-shadow: -.4rem .3rem 0 var(--ink); }
}

/* スマホ：プランのカード（左に縦向きのプラン名）＋スライドの位置のバー */
.plan__bar { display: none; }
@media (max-width: 767px) {
  .plan__list { scrollbar-width: none; padding-bottom: .4rem; }
  .plan__list::-webkit-scrollbar { display: none; }
  .plan__card { flex: 0 0 31rem; }
  .plan__box { display: grid; grid-template-columns: 3.6rem 1fr; gap: 0 1.4rem; align-items: start; padding: 1.4rem 1.6rem 1.8rem; }
  .plan__pop { position: static; grid-column: 1 / -1; justify-self: center; margin: 0 0 .4rem; font-size: 1.2rem; }
  .plan__for, .plan__card:nth-child(2) .plan__for { grid-column: 1 / -1; margin-top: 0; padding-bottom: .9rem; border-bottom: 1px solid var(--ink); justify-content: center; font-size: 1.4rem; }
  .plan__for br { display: none; }
  .plan__name { grid-column: 1; grid-row: span 2; position: relative; width: 3.6rem; height: 100%; min-height: 22rem; margin-top: 1.4rem; }
  .plan__name img { position: absolute; left: 50%; top: 50%; width: 21rem; max-width: none; transform: translate(-50%, -50%) rotate(-90deg); }
  .plan__items { grid-column: 2; margin: 1.4rem 0 1.2rem; padding: 0; font-size: 1.4rem; }
  .plan__price { grid-column: 2; width: auto; height: 4.4rem; margin: 0; }
  .plan__num { font-size: 3rem; }
  .plan__bar { display: block; position: relative; height: .5rem; margin: 1.6rem 3rem 0; border-radius: 1rem; background: rgba(255, 255, 255, .35); overflow: hidden; }
  .plan__bar span { display: block; height: 100%; border-radius: 1rem; background: #fff; transition: transform .1s linear; }
}

/* スマホ：比較は項目ごとに「項目名 → 他社 → eme-ami」を縦に並べる（横スクロールなし） */
.cmp__legend { display: none; }
@media (max-width: 767px) {
  .cmp__legend { display: block; margin: 5rem 0 1rem auto; width: fit-content; font-size: 1.3rem; font-weight: 700; line-height: 2.2; }
  .cmp__legend img { width: 8.4rem; vertical-align: middle; }
  .ic-gen, .ic-eme { display: inline-block; vertical-align: middle; width: 2.2rem; height: 2.2rem; margin-right: .6rem; }
  .ic-gen { border-radius: 50%; background: var(--ink); color: #fff; font-size: 1.2rem; line-height: 2.2rem; text-align: center; font-weight: 700; }
  .ic-eme { background: url("../img/favicon.png") center / contain no-repeat; }
  .cmp__wrap { margin: 0; }
  .cmp__scroll { overflow: visible; padding: 0; }
  .cmp__dog { left: -.6rem; top: -8.6rem; width: 7.4rem; }
  .cmp__table { display: block; width: auto; box-shadow: .5rem .5rem 0 var(--ink); }
  .cmp__table thead { display: none; }
  .cmp__table tbody, .cmp__table tr { display: block; }
  .cmp__table tr { padding: 1.6rem 1.4rem 1.4rem; text-align: center; background: linear-gradient(90deg, #ccc 50%, transparent 50%) left bottom / .6rem 2px repeat-x; }
  .cmp__table tr:last-child { background: none; }
  .cmp__table th, .cmp__table td, .cmp__table .c-gen, .cmp__table .c-eme { display: block; width: auto; padding: 0 0 0 3rem; position: relative; text-align: center; background: none !important; font-size: 1.4rem; line-height: 1.6; }
  .cmp__table tbody .c-item { display: inline-block; padding: .2rem 1.8rem; margin-bottom: .8rem; border-radius: 10rem !important; background: #fde861 !important; font-weight: 700; }
  .cmp__table .c-gen::before, .cmp__table .c-eme::before { content: ""; position: absolute; left: 0; top: .1rem; width: 2.2rem; height: 2.2rem; }
  .cmp__table .c-gen::before { content: "他"; border-radius: 50%; background: var(--ink); color: #fff; font-size: 1.2rem; line-height: 2.2rem; font-weight: 700; }
  .cmp__table .c-eme::before { background: url("../img/favicon.png") center / contain no-repeat; }
  .cmp__table .c-eme { margin-top: .4rem; color: var(--ink); font-weight: 700; }
  .cmp__table tbody tr:last-child td, .cmp__table tbody tr:last-child th { padding-bottom: 0; }
}

/* フォームの見出し（イラレのデザイン） */
.form__ttl picture { display: block; width: 58.3rem; margin: 0 auto; }
.form__ttl picture img { width: 100%; }
@media (max-width: 767px) { .form__ttl picture { width: 30rem; } }

/* デバッグ指摘の調整 */
.form__btn { transition: transform .25s, background .25s, box-shadow .25s; }
@media (max-width: 767px) {
  .kv__ribbon { top: 20.6rem; } /* 猫の耳が帯にかかるように */
  .kv__catch-b { left: 11rem; width: 25rem; }
  .msg__body { word-break: auto-phrase; }
}
@media (max-width: 767px) {
  .cmp__table tr { display: flex; flex-direction: column; align-items: center; }
  .cmp__table tbody .c-item { order: -1; padding-left: 1.8rem; }
  .cmp__table .c-gen, .cmp__table .c-eme { align-self: stretch; }
  .plan__for, .plan__card:nth-child(2) .plan__for { font-size: 1.3rem; letter-spacing: 0; white-space: nowrap; }
}
@media (max-width: 767px) { .cmp__table tbody .c-item { white-space: nowrap; } }

/* =========================================================
   修正4
   ========================================================= */
/* PC：左上に追従するロゴ */
.hd-logo { position: fixed; left: 2.8rem; top: 2.2rem; z-index: 52; width: 15rem; visibility: hidden; transform-origin: 0 0; }
.hd-logo img { width: 100%; }
.hd-logo.is-shown { visibility: visible; }
html.is-nav-open .hd-logo { z-index: 58; }
@media (max-width: 767px) { .hd-logo { display: none; } }

/* 「揺」だけ揺れる */
.kv__ribbon { position: absolute; }
.kv__ribbon picture:first-child { display: block; }
.kv__yure { position: absolute; display: block; left: 11.857%; top: 11.11%; width: 5.034%; transform-origin: 50% 60%; }
.kv__ribbon .kv__yure img { width: 100%; }
@media (max-width: 767px) { .kv__yure { left: 31.13%; top: 4.11%; width: 8.28%; } }

/* メニュー：左側を少し開けて、うしろを暗く。文字は本文と同じフォント */
.gnav { left: auto; width: calc(100% - 26rem); box-shadow: -2rem 0 0 0 transparent; }
html.is-nav-open::after { content: ""; position: fixed; inset: 0; z-index: 54; background: rgba(35, 24, 21, .45); }
.gnav__list a { font-family: var(--font); font-weight: 700; }
.gnav__cta { display: block; margin-top: 4.4rem; padding: 0; border-radius: 0; background: none; box-shadow: none; width: 36rem; }
@media (max-width: 767px) { .gnav { width: calc(100% - 5.6rem); } .gnav__cta { width: 28rem; } }

/* 右下の相談ボタン：PCは猫入り */
.float { padding: 0; border-radius: 0; background: none; box-shadow: none; width: 30rem; }
.float:hover { box-shadow: none; transform: none; }
.float__img { position: relative; display: block; aspect-ratio: 325 / 126; }
.float__btn { position: absolute; left: 0; top: 15.1%; width: 100%; filter: drop-shadow(0 .3rem .6rem rgba(0, 0, 0, .18)); transition: transform .3s; }
.float__cat { position: absolute; left: 5.85%; top: 0; width: 25.2%; transform-origin: 55% 75%; }
.float:hover .float__btn { transform: translateY(-.3rem) scale(1.02); }
.float__txt { display: none; }
@media (max-width: 767px) {
  .float { width: auto; right: -1rem; top: 62%; padding: 1.6rem .7rem 1.6rem .8rem; padding-right: 1.7rem; border-radius: 2.4rem 0 0 2.4rem; background: var(--pink); box-shadow: -.3rem .3rem 0 var(--ink); font-size: 1.3rem; letter-spacing: .1em; }
  .float:hover { box-shadow: -.3rem .3rem 0 var(--ink); transform: translate(0, -50%); }
  .float__img { display: none; }
  .float__txt { display: inline; }
  /* ハンバーガーは右に寄せて小さく */
  .hb { width: 5.8rem; height: 5.8rem; }
  .hb__bg { right: -2.6rem; top: -2.6rem; width: 7.8rem; height: 7.8rem; }
  .hb__line { height: .25rem; }
  .hb__line:nth-of-type(2) { left: 1.5rem; top: 1.75rem; width: 2.8rem; }
  .hb__line:nth-of-type(3) { left: 2rem; top: 2.75rem; width: 2.3rem; }
  html.is-nav-open .hb__line:nth-of-type(2) { left: 1.6rem; width: 2.6rem; transform: translateY(.5rem) rotate(45deg); }
  html.is-nav-open .hb__line:nth-of-type(3) { left: 1.6rem; width: 2.6rem; transform: translateY(-.5rem) rotate(-45deg); }
}

/* プラン（PC）：「人気」の下の余白をつめ、黒い帯の高さをそろえる */
@media (min-width: 768px) {
  .plan__card:nth-child(2) .plan__for { margin-top: 0; }
  .plan__pop { top: 2.2rem; }
}

/* フッターのメニュー */
.ft__nav { display: flex; flex-wrap: wrap; gap: .4rem 2.4rem; margin-bottom: 1.4rem; font-size: 1.4rem; font-weight: 700; }
.ft__nav a { text-decoration: none; }
.ft__nav a:hover { text-decoration: underline; }
@media (max-width: 767px) { .ft__nav { justify-content: center; gap: .6rem 1.6rem; font-size: 1.2rem; } }

/* スマホの調整 */
@media (max-width: 767px) {
  .worry__list { justify-content: center; gap: .3rem; }
  /* プラン：黒い帯の上を、✓の行の上にそろえる */
  .plan__name { height: 21rem; min-height: 0; align-self: start; margin-top: 1.6rem; }
  .plan__items { margin-top: 1.6rem; }
  .plan__list { touch-action: pan-x pan-y; cursor: grab; }
  .plan__list.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
  .plan__list.is-drag img { pointer-events: none; }
  .plan__note::after { display: none; }
  .plan__note picture, .plan__note img { display: block; width: 30rem; margin: 0 auto; }
  /* 比較：犬は表のふちに乗せ、表を短く */
  .cmp__dog { top: -6.4rem; }
  .cmp__table tr { padding: 1.1rem 1.2rem 1rem; }
  .cmp__table tbody .c-item { margin-bottom: .4rem; padding-top: .1rem; padding-bottom: .1rem; }
  .cmp__table th, .cmp__table td, .cmp__table .c-gen, .cmp__table .c-eme { line-height: 1.45; font-size: 1.35rem; }
  .cmp__table .c-eme { margin-top: .1rem; }
  .cmp__table .c-gen::before, .cmp__table .c-eme::before { width: 1.9rem; height: 1.9rem; line-height: 1.9rem; font-size: 1.05rem; top: 0; }
}

/* 修正5 */
.ft__in { align-items: flex-end; } /* ロゴの下と©の下をそろえる */
@media (max-width: 767px) {
  .ft__in { align-items: center; }
  .ft__nav { display: none; }
  /* 選ばれる理由：文は写真と同じ幅で中央そろえ、「。」で改行 */
  .reason__body { padding: 0; }
  .reason__txt br { display: inline; }
  .reason__txt br.pc { display: none; }
  /* 比較：文字を中央に、バッジは文字のすぐ左に */
  .cmp__table th, .cmp__table td, .cmp__table .c-gen, .cmp__table .c-eme { padding-left: 0; }
  .cmp__table .c-gen::before, .cmp__table .c-eme::before { position: static; display: inline-block; vertical-align: -.45rem; margin-right: .6rem; }
  /* メッセージ：写真を少し小さく、ひざが最後の一文の高さに来るように */
  .msg__last { min-height: 13.6rem; padding-right: 13rem; display: flex; flex-direction: column; justify-content: flex-end; }
  .msg__photo { width: 12.5rem; right: -.6rem; bottom: -4.4rem; }
}
@media (max-width: 767px) { .cmp__table .c-gen::before, .cmp__table .c-eme::before { vertical-align: middle; position: relative; top: -.15rem; } .cmp__dog { top: -5rem; } }
@media (min-width: 768px) { .ft__txt { position: relative; top: .5rem; } }
/* 修正6（スマホ） */
@media (max-width: 767px) {
  .reason__txt { letter-spacing: 0; }
  /* 比較：「他」とeme-amiのバッジを縦一列にそろえ、文字はその右から */
  .cmp__table .c-gen, .cmp__table .c-eme { text-align: left; padding-left: 6.6rem; }
  .cmp__table .c-gen::before, .cmp__table .c-eme::before { position: absolute; left: 4.1rem; top: .1rem; margin: 0; }
}
/* 修正7（スマホ） */
@media (max-width: 767px) {
  .reason__img { border-right: 1px solid var(--ink); } /* 写真の枠の右側 */
  .reason__txt { font-size: 1.35rem; }
  .partner__about { font-weight: 700; }
  /* 比較：文字は中央、バッジは縦一列のまま */
  .cmp__table .c-gen, .cmp__table .c-eme { text-align: center; padding-left: 0; }
  .cmp__table .c-gen::before, .cmp__table .c-eme::before { left: 2.8rem; text-align: center; text-indent: 0; }
  /* メッセージ：最後の一文の前のすき間をつめ、写真は小さく「是非お気軽に〜」の横に頭がかかる位置に */
  .msg__last { min-height: 0; display: block; padding-right: 12rem; }
  .msg__photo { width: 11rem; right: -.6rem; bottom: -4rem; }
}
html.is-nav-open .hd-logo { pointer-events: none; } /* メニューを開いている間は押せないように */

/* ===== 2026-10-07 隊長の確認を受けて ===== */
/* メニューとフッターのロゴ：押すとページの先頭へ */
.gnav__home, .ft__home { display: block; flex-shrink: 0; line-height: 0; }
.gnav__home { -webkit-tap-highlight-color: transparent; }
/* スマホのメニューの文字を少し小さく */
@media (max-width: 767px) { .gnav__list a { font-size: 1.7rem; } .gnav__list li + li { margin-top: 2rem; } }
/* PCの比較表：最後の行の下の点線は、枠と重なるので消す */
.cmp__table tbody tr:last-child td, .cmp__table tbody tr:last-child th { background-image: none; }
/* フッターの黄色い帯：上をギザギザに */
.ft { position: relative; }
.ft::before { content: ""; position: absolute; left: 0; right: 0; top: -1.1rem; height: 1.2rem; background: linear-gradient(-45deg, var(--yellow) .8rem, transparent 0) 0 100% / 2.2rem 1.2rem repeat-x, linear-gradient(45deg, var(--yellow) .8rem, transparent 0) 0 100% / 2.2rem 1.2rem repeat-x; pointer-events: none; }
@media (max-width: 767px) { .ft::before { top: -.9rem; height: 1rem; background-size: 1.6rem 1rem, 1.6rem 1rem; } }
/* ページの外側（上下に引っぱったときや、ブラウザとのすき間）を、最初と最後の帯と同じ黄色に */
html { background: var(--yellow); }

/* ===== 完了ページ（/thanks/） ===== */
.form--thanks { min-height: calc(100vh - 20rem); padding-top: 12rem; }
.thanks__logo { text-align: center; }
.thanks__logo img { width: 18rem; }
.form--thanks .form__steps { margin-top: 4rem; }
.thanks__note { margin-top: 2.4rem; font-size: 1.4rem; opacity: .8; }
.form--thanks .form__btns { margin-top: 4.8rem; }
.form--thanks .form__btn { display: inline-block; text-decoration: none; text-align: center; }
@media (max-width: 767px) { .form--thanks { padding-top: 8rem; } .thanks__logo img { width: 14rem; } .thanks__note { font-size: 1.25rem; text-align: left; } }