/* ========================================
   わが家のマイスター
   ======================================== */

:root {
  --ink: #241916;
  --ink-70: rgba(36, 25, 22, .7);
  --ink-08: rgba(36, 25, 22, .08);
  --line: rgba(36, 25, 22, .12);
  --line-dash: rgba(36, 25, 22, .18);
  --red: #e8340c;
  --red-shadow: #a8240a;
  --cream: #fef3e9;
  --gray: #f2f1ef;
  --gray-2: #f0f0f0;
  --btn-shadow: #d6d6d6;
  --white: #fff;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-num: "Barlow", "Noto Sans JP", sans-serif;
  --content: 1080px;
  --header-h: 80px;
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --k: 1px;
}

@media (max-width: 1023px) {
  :root {
    --k: calc(min(100vw, 480px) / 390);
    --header-h: 0px;
  }
}

/* SPの見た目は幅480pxまで。それより広い画面では中央に置く */
@media (min-width: 481px) and (max-width: 1023px) {
  html {
    background: var(--gray);
  }

  body {
    max-width: calc(390 * var(--k));
    margin-inline: auto;
    box-shadow: 0 0 32px rgba(36, 25, 22, .08);
  }

  .fixed-cta {
    max-width: calc(390 * var(--k));
    margin-inline: auto;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-jp);
  font-weight: 500;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  line-break: strict;
  overflow-wrap: anywhere;
  word-break: normal;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

[hidden] {
  display: none !important;
}

em {
  font-style: normal;
}

.num {
  font-family: var(--font-num);
}

.ph {
  display: inline-block;
}

.halt {
  font-feature-settings: "halt" 1;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

@media (min-width: 1024px) {
  .sp-only {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .pc-only {
    display: none !important;
  }
}

/* ===== 区画の見出し ===== */
.sec-head {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(6 * var(--k));
  padding-top: calc(26 * var(--k));
  text-align: center;
}

.sec-head__en {
  position: absolute;
  top: calc(-10 * var(--k));
  left: 50%;
  translate: -50% 0;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: calc(72 * var(--k));
  line-height: 1;
  letter-spacing: .04em;
  color: var(--ink-08);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.sec-head__title {
  position: relative;
  font-weight: 900;
  font-size: calc(24 * var(--k));
  line-height: 1.45;
  font-feature-settings: "halt" 1;
}

.sec-head__title em {
  color: var(--red);
}

.sec-head__bar {
  display: block;
  width: calc(40 * var(--k));
  height: calc(4 * var(--k));
  background: var(--red);
}

/* ===== ボタン ===== */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(10 * var(--k));
  width: 100%;
  border-radius: calc(4 * var(--k));
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  transition: translate .15s var(--ease-out), box-shadow .15s var(--ease-out), filter .15s;
}

.btn__icon {
  flex: none;
  width: calc(24 * var(--k));
  height: calc(24 * var(--k));
}

.btn__arrow {
  flex: none;
  width: calc(22 * var(--k));
  height: calc(22 * var(--k));
}

/* 赤い相談ボタン */
.btn--primary {
  min-height: calc(60 * var(--k));
  padding: calc(8 * var(--k)) calc(16 * var(--k));
  background: var(--red);
  color: var(--white);
  font-size: calc(18 * var(--k));
  letter-spacing: .04em;
  box-shadow: 0 calc(4 * var(--k)) 0 var(--red-shadow);
}

/* 白い枠のボタン（事例を見る など） */
.btn--ghost {
  min-height: calc(52 * var(--k));
  padding: calc(8 * var(--k)) calc(16 * var(--k));
  background: var(--white);
  border: calc(1.5 * var(--k)) solid var(--ink);
  font-size: calc(16 * var(--k));
  letter-spacing: .04em;
  box-shadow: 0 calc(4 * var(--k)) 0 var(--btn-shadow);
}

.btn--ghost .btn__icon {
  width: calc(20 * var(--k));
  height: calc(20 * var(--k));
}

@media (hover: hover) {
  .btn--primary:hover,
  .btn--ghost:hover {
    translate: 0 calc(2 * var(--k));
    box-shadow: 0 calc(2 * var(--k)) 0 var(--red-shadow);
  }

  .btn--ghost:hover {
    box-shadow: 0 calc(2 * var(--k)) 0 var(--btn-shadow);
  }
}

@media (min-width: 1024px) {
  .sec-head__en {
    font-size: 160px;
    top: -64px;
    letter-spacing: .04em;
  }

  .sec-head__title {
    font-size: 36px;
  }
}

/* ===== 表示アニメーション ===== */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    translate: 0 calc(24 * var(--k));
    transition: opacity .7s var(--ease-out), translate .7s var(--ease-out);
  }

  .js [data-reveal].is-shown {
    opacity: 1;
    translate: 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ===== ヘッダー（PC・画面上部に固定） ===== */
.site-header {
  display: none;
}

@media (min-width: 1024px) {
  body {
    padding-top: var(--header-h);
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 70;
    display: block;
    height: var(--header-h);
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  }

  .site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1200px, 100% - 80px);
    height: 100%;
    margin: 0 auto;
  }

  .site-header__brand {
    display: flex;
    align-items: center;
    gap: 18px;
  }

  .site-header__logo {
    display: block;
    flex: none;
    width: 180px;
  }

  .site-header__logo img {
    width: 100%;
  }

  .site-header__tagline {
    color: #020a18;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
  }

  .site-header__cta {
    display: flex;
    gap: 12px;
  }

  .site-header .btn {
    width: auto;
    min-height: 52px;
    gap: 6px;
    padding: 0 22px;
    font-size: 16px;
    letter-spacing: .02em;
    white-space: nowrap;
  }

  .site-header .btn__icon {
    width: 20px;
    height: 20px;
  }

  .site-header .btn__arrow {
    width: 18px;
    height: 18px;
  }

  .site-header .btn--ghost .btn__arrow {
    rotate: 90deg;
  }

  @media (hover: hover) {
    .site-header__logo {
      transition: opacity .15s;
    }

    .site-header__logo:hover {
      opacity: .75;
    }
  }
}

/* ===== FV ===== */
.fv {
  position: relative;
  background: var(--white);
}

/* スマホの上部（ロゴ） */
.fv-head {
  display: flex;
  align-items: center;
  gap: calc(20 * var(--k));
  height: calc(56 * var(--k));
  padding: 0 calc(16 * var(--k));
}

.fv-head__logo {
  display: block;
  flex: none;
  width: calc(124 * var(--k));
}

.fv-head__logo img {
  width: 100%;
}

.fv-head__tagline {
  color: #020a18;
  font-size: calc(13 * var(--k));
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}

/* 写真とキャッチ */
.fv-hero {
  position: relative;
  isolation: isolate;
  height: calc(560 * var(--k));
  overflow: hidden;
}

.fv-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  height: calc(298 * var(--k));
  background: linear-gradient(180deg, rgba(255, 255, 255, .96) 44.483%, rgba(255, 255, 255, .8) 57.103%, rgba(255, 255, 255, 0) 65.517%);
  pointer-events: none;
}

.fv-hero__photo {
  position: absolute;
  top: calc(123 * var(--k));
  left: 0;
  width: 100%;
  height: calc(431 * var(--k));
}

.fv-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fv-hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
}

.fv-copy {
  position: absolute;
  top: calc(14 * var(--k));
  left: calc(16 * var(--k));
  right: calc(16 * var(--k));
}

.fv-tags {
  display: flex;
  align-items: flex-start;
  gap: calc(6 * var(--k));
}

.fv-tag {
  padding: calc(4 * var(--k)) calc(8 * var(--k));
  border: calc(1 * var(--k)) solid var(--ink);
  font-size: calc(13 * var(--k));
  font-weight: 700;
  line-height: calc(16 * var(--k));
  letter-spacing: .02em;
  white-space: nowrap;
}

.fv-tag--dark {
  border: 0;
  background: var(--ink);
  color: var(--white);
}

.fv-lead {
  margin-top: calc(8 * var(--k));
  color: #353c3f;
  font-size: calc(13 * var(--k));
  font-weight: 900;
  line-height: 1.5;
  white-space: nowrap;
}

.fv-title {
  position: relative;
  height: calc(85 * var(--k));
  margin-top: calc(6 * var(--k));
  font-size: calc(29 * var(--k));
  font-weight: 900;
  line-height: 1.25;
  white-space: nowrap;
}

.fv-title__line {
  position: absolute;
  top: calc(8 * var(--k));
  left: 0;
  display: block;
  letter-spacing: calc(.66 * var(--k));
  font-feature-settings: "halt" 1;
}

.fv-title__line em {
  color: var(--red);
  font-size: calc(33 * var(--k));
}

.fv-title__dot {
  position: relative;
}

.fv-title__dot::before {
  content: "";
  position: absolute;
  top: calc(-2.7 * var(--k));
  left: 50%;
  width: calc(6 * var(--k));
  height: calc(6 * var(--k));
  translate: -50% 0;
  background: url(../image/fv-dot.svg) center / contain no-repeat;
}

.fv-title__line--2 {
  top: calc(47 * var(--k));
  z-index: 0;
  letter-spacing: .02em;
  font-feature-settings: normal;
}

.fv-title__line--2::before {
  content: "";
  position: absolute;
  top: calc(22 * var(--k));
  left: calc(-2 * var(--k));
  right: calc(-2 * var(--k));
  z-index: -1;
  height: calc(12 * var(--k));
  background: #fbd9d0;
}

/* 3Dパース */
.fv-pers {
  position: absolute;
  top: calc(175 * var(--k));
  right: calc(15 * var(--k));
  width: calc(192 * var(--k));
  padding-left: calc(6 * var(--k));
}

.fv-pers__ribbon {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: calc(6 * var(--k));
  padding: calc(6 * var(--k)) calc(14 * var(--k)) calc(6 * var(--k)) calc(12 * var(--k));
  background: var(--red);
  color: var(--white);
  font-size: calc(13 * var(--k));
  font-weight: 700;
  line-height: calc(16 * var(--k));
  white-space: nowrap;
}

.fv-pers__ribbon::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: calc(6 * var(--k));
  height: calc(6 * var(--k));
  background: url(../image/fv-fold.svg) center / contain no-repeat;
}

.fv-pers__ribbon-em {
  font-size: calc(15 * var(--k));
  font-weight: 900;
  line-height: calc(19 * var(--k));
  letter-spacing: calc(.3 * var(--k));
}

.fv-pers__ribbon-em .num {
  font-size: calc(16 * var(--k));
  font-weight: 700;
}

.fv-pers__photo,
.fv-before {
  position: relative;
  box-shadow: 0 calc(2 * var(--k)) calc(3 * var(--k)) rgba(0, 0, 0, .25);
}

.fv-pers__photo {
  height: calc(107 * var(--k));
}

.fv-pers__photo img,
.fv-before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fv-pers__photo::after,
.fv-before::after {
  content: "";
  position: absolute;
  inset: 0;
  border: calc(3 * var(--k)) solid var(--white);
  pointer-events: none;
}

/* Before */
.fv-before {
  position: absolute;
  top: calc(175 * var(--k));
  left: calc(17 * var(--k));
  width: calc(120 * var(--k));
  height: calc(89 * var(--k));
}

.fv-before__chip,
.fv-after__chip {
  padding: calc(3 * var(--k)) calc(8 * var(--k));
  color: var(--white);
  font-family: var(--font-num);
  font-size: calc(14 * var(--k));
  font-weight: 700;
  line-height: calc(17 * var(--k));
  letter-spacing: .04em;
}

.fv-before__chip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  background: var(--ink);
}

.fv-arrow {
  position: absolute;
  top: calc(240 * var(--k));
  left: calc(101 * var(--k));
  width: calc(51 * var(--k));
  height: calc(40 * var(--k));
}

/* After */
.fv-after {
  position: absolute;
  top: calc(523 * var(--k));
  left: calc(17 * var(--k));
  display: flex;
  align-items: center;
  gap: calc(8 * var(--k));
  padding-right: calc(12 * var(--k));
  background: rgba(36, 25, 22, .78);
  color: var(--white);
  font-size: calc(13 * var(--k));
  font-weight: 700;
  line-height: calc(16 * var(--k));
  white-space: nowrap;
}

.fv-after__chip {
  background: var(--red);
}

/* 特典とボタン */
.fv-cta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(6 * var(--k));
  padding: calc(6 * var(--k)) calc(16 * var(--k)) calc(12 * var(--k));
  background: var(--white);
}

.fv-gift {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(366 * var(--k));
}

.fv-gift__terms {
  display: flex;
  align-items: center;
  gap: calc(2 * var(--k));
  padding: calc(5 * var(--k)) calc(14 * var(--k));
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: calc(13 * var(--k));
  font-weight: 900;
  line-height: calc(16 * var(--k));
  white-space: nowrap;
}

.fv-gift__chip {
  padding: calc(1 * var(--k)) calc(6 * var(--k));
  border-radius: calc(1 * var(--k));
  background: var(--white);
  color: var(--ink);
}

.fv-gift__row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: calc(4 * var(--k));
  padding: calc(6 * var(--k)) 0;
}

.fv-gift__sparkle {
  flex: none;
  width: calc(16 * var(--k));
  height: calc(22 * var(--k));
}

.fv-gift__sparkle--left {
  scale: -1 1;
}

.fv-gift__prize {
  display: flex;
  align-items: baseline;
  gap: calc(2 * var(--k));
  height: calc(20 * var(--k));
  color: var(--ink);
  font-size: calc(13 * var(--k));
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.fv-gift__label {
  align-self: center;
  margin-right: calc(4 * var(--k));
  padding: calc(2 * var(--k)) calc(6 * var(--k));
  border-radius: calc(2 * var(--k));
  background: var(--red);
  color: var(--white);
  font-weight: 900;
  line-height: calc(16 * var(--k));
  letter-spacing: .02em;
}

.fv-gift__amount {
  position: relative;
  z-index: 0;
  color: var(--red);
  font-weight: 900;
  letter-spacing: -.01em;
}

.fv-gift__amount::before {
  content: "";
  position: absolute;
  left: calc(-2 * var(--k));
  right: calc(-1 * var(--k));
  bottom: calc(-4 * var(--k));
  z-index: -1;
  height: calc(8 * var(--k));
  background: rgba(255, 219, 64, .85);
}

.fv-gift__num {
  font-family: var(--font-num);
  font-size: calc(26 * var(--k));
  font-weight: 700;
  line-height: .7;
}

.fv-gift__box {
  position: absolute;
  pointer-events: none;
}

.fv-gift__box--1 {
  top: calc(-2.4 * var(--k));
  left: calc(6.6 * var(--k));
  width: calc(25.08 * var(--k));
  rotate: -8deg;
}

.fv-gift__box--2 {
  top: calc(9.3 * var(--k));
  left: calc(24.4 * var(--k));
  width: calc(17.92 * var(--k));
  rotate: 6deg;
}

.fv-gift__box--3 {
  top: calc(4.9 * var(--k));
  left: calc(324.1 * var(--k));
  width: calc(21.5 * var(--k));
  rotate: 10deg;
}

.fv-btns {
  display: flex;
  flex-direction: column;
  gap: calc(10 * var(--k));
  width: 100%;
}

.fv-btns .btn {
  gap: calc(6 * var(--k));
}

.fv-btns .btn__icon {
  width: calc(20 * var(--k));
  height: calc(20 * var(--k));
}

.fv-btns .btn--ghost .btn__arrow {
  rotate: 90deg;
}

.fv-notes {
  width: 100%;
  color: rgba(36, 25, 22, .8);
  font-size: calc(12 * var(--k));
  font-weight: 500;
  line-height: 1.5;
}

@media (min-width: 1024px) {
  .fv {
    height: 720px;
    overflow: hidden;
  }

  .fv-hero {
    position: absolute;
    inset: 0;
    height: auto;
  }

  .fv-hero::before {
    bottom: 0;
    height: auto;
    background: linear-gradient(90deg,
      rgba(255, 255, 255, .97) calc(50% - min(600px, 50% - 40px) - 120px),
      rgba(255, 255, 255, .9) calc(50% - min(600px, 50% - 40px) + 345px),
      rgba(255, 255, 255, 0) calc(50% - min(600px, 50% - 40px) + 567px));
  }

  .fv-hero__photo {
    top: 0;
    width: calc(100% * 1707 / 1440);
    height: 100%;
  }

  .fv-hero__inner {
    width: min(1200px, 100% - 80px);
    margin: 0 auto;
  }

  .fv-copy {
    top: 68px;
    left: 0;
    right: auto;
    width: 537px;
  }

  .fv-tags {
    gap: 9px;
  }

  .fv-tag {
    padding: 6px 12px;
    border-width: 1.5px;
    font-size: 19.5px;
    line-height: 23px;
  }

  .fv-tag--dark {
    border: 0;
  }

  .fv-lead {
    margin-top: 12px;
    font-size: 19.5px;
  }

  .fv-title {
    height: 127.5px;
    margin-top: 9px;
    font-size: 55.852px;
  }

  .fv-title__line {
    top: 14.56px;
    left: .85px;
    letter-spacing: 1.2711px;
  }

  .fv-title__line em {
    font-size: 63.556px;
  }

  .fv-title__dot::before {
    top: -5.3px;
    width: 11.556px;
    height: 11.556px;
  }

  .fv-title__line--2 {
    top: 89.67px;
    letter-spacing: 1.117px;
  }

  .fv-title__line--2::before {
    top: 42.37px;
    left: -3.85px;
    right: -5.3px;
    height: 23.11px;
  }

  .fv-pers {
    top: 56px;
    right: 0;
    width: 307.2px;
    padding-left: 9.6px;
  }

  .fv-pers__ribbon {
    gap: 9.6px;
    padding: 9.6px 22.4px 9.6px 19.2px;
    font-size: 20.8px;
    line-height: 25px;
  }

  .fv-pers__ribbon::after {
    width: 9.6px;
    height: 9.6px;
  }

  .fv-pers__ribbon-em {
    font-size: 24px;
    line-height: 31px;
    letter-spacing: .48px;
  }

  .fv-pers__ribbon-em .num {
    font-size: 25.6px;
  }

  .fv-pers__photo,
  .fv-before {
    box-shadow: 0 3.2px 4.8px rgba(0, 0, 0, .25);
  }

  .fv-pers__photo {
    height: 171.2px;
  }

  .fv-pers__photo::after,
  .fv-before::after {
    border-width: 4.8px;
  }

  .fv-before {
    top: 529.6px;
    left: auto;
    right: 0;
    width: 192px;
    height: 142.4px;
  }

  .fv-before__chip,
  .fv-after__chip {
    padding: 4.8px 12.8px;
    font-size: 22.4px;
    line-height: 27px;
  }

  .fv-arrow {
    top: 519.6px;
    left: auto;
    right: 204px;
    width: 81.6px;
    height: 64px;
    rotate: 180deg;
  }

  .fv-after {
    top: 460px;
    left: auto;
    right: -2px;
    gap: 9.6px;
    padding-right: 14.4px;
    font-size: 15.6px;
    line-height: 19px;
  }

  .fv-after__chip {
    padding: 3.6px 9.6px;
    font-size: 16.8px;
    line-height: 20px;
  }

  .fv-cta {
    position: absolute;
    top: 356px;
    left: calc(50% - min(600px, 50% - 40px));
    align-items: flex-start;
    gap: 26px;
    width: 644px;
    padding: 10px 0 12px;
    background: none;
  }

  .fv-gift {
    justify-content: flex-end;
    width: 536.6px;
    height: 81.2px;
    padding: 0 10px 10px;
    border-radius: 5px;
    background: var(--white);
  }

  .fv-gift__terms {
    margin-top: -14.8px;
    gap: 2.4px;
    padding: 6px 16.8px;
    font-size: 15.6px;
    line-height: 19px;
  }

  .fv-gift__chip {
    padding: 1.2px 7.2px;
    border-radius: 1.2px;
  }

  .fv-gift__row {
    gap: 4.8px;
    margin-top: 4.2px;
    padding: 7.2px 0;
  }

  .fv-gift__sparkle {
    width: 19.2px;
    height: 26.4px;
  }

  .fv-gift__prize {
    gap: 4px;
    height: 34px;
    font-size: 18px;
  }

  .fv-gift__label {
    align-self: flex-end;
    margin-right: 3.2px;
    padding: 2.4px 7.2px;
    border-radius: 2.4px;
    font-size: 15.6px;
    line-height: 19px;
  }

  .fv-gift__amount {
    font-size: 20px;
  }

  .fv-gift__amount::before {
    left: -4px;
    right: -4px;
    bottom: -6px;
    height: 13px;
  }

  .fv-gift__num {
    font-size: 48px;
  }

  .fv-gift__box--1 {
    top: -17.65px;
    left: 54.95px;
    width: 30.1px;
  }

  .fv-gift__box--2 {
    top: -3.6px;
    left: 76.3px;
    width: 21.5px;
  }

  .fv-gift__box--3 {
    top: -8.94px;
    left: 435.89px;
    width: 25.8px;
  }

  .fv-btns {
    gap: 14px;
    width: 462px;
  }

  .fv-btns .btn--ghost {
    min-height: 42px;
  }

  .fv-btns .btn__icon {
    width: 32px;
    height: 32px;
  }

  .fv-btns .btn__arrow {
    width: 20px;
    height: 20px;
  }

  .fv-notes {
    font-size: 12px;
    text-shadow: 0 0 10px var(--white);
    white-space: nowrap;
  }
}

/* ===== お悩み ===== */
.worry {
  padding: calc(48 * var(--k)) calc(16 * var(--k)) calc(40 * var(--k));
  background: var(--white);
}

.worry__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(24 * var(--k));
}

.worry__inner > .sec-head {
  width: 100%;
}

.worry-paper {
  position: relative;
  width: 100%;
  padding: calc(16 * var(--k));
  background: var(--white);
}

.worry-paper::before {
  content: "";
  position: absolute;
  top: calc(5 * var(--k));
  left: calc(6 * var(--k));
  right: calc(6 * var(--k));
  bottom: calc(7 * var(--k));
  background: url(../image/worry-frame.svg) center / 100% 100% no-repeat;
  pointer-events: none;
}

.worry-item {
  display: flex;
  align-items: center;
  gap: calc(12 * var(--k));
  padding: calc(14 * var(--k)) 0;
  border-bottom: calc(1 * var(--k)) dashed var(--line-dash);
}

.worry-item:last-child {
  border-bottom: 0;
}

.worry-item__photo {
  position: relative;
  display: block;
  flex: none;
  width: calc(80 * var(--k));
  height: calc(80 * var(--k));
  border-radius: 50%;
  overflow: hidden;
}

.worry-item__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.worry-item__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border: calc(1 * var(--k)) solid rgba(36, 25, 22, .15);
  border-radius: inherit;
}

.worry-item__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: calc(2 * var(--k));
  min-width: 0;
}

.worry-item__num {
  display: flex;
  align-items: flex-end;
  gap: calc(4 * var(--k));
  color: var(--red);
  font-family: var(--font-num);
  font-weight: 700;
}

.worry-item__label {
  font-size: calc(13 * var(--k));
  line-height: calc(16 * var(--k));
  letter-spacing: .1em;
}

.worry-item__digit {
  font-size: calc(24 * var(--k));
  line-height: 1;
}

.worry-item__text {
  font-size: calc(15 * var(--k));
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
}

.worry-item__text em {
  color: var(--red);
  font-weight: 900;
}

@media (min-width: 1024px) {
  .worry {
    padding: 80px 0 40px;
  }

  .worry__inner {
    gap: 48px;
    width: min(var(--content), 100% - 80px);
    margin: 0 auto;
  }

  .worry-paper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 0;
  }

  .worry-paper::before {
    content: none;
  }

  .worry-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
  }

  .worry-item,
  .worry-item:last-child {
    align-items: stretch;
    gap: 36px;
    padding: 0 36px 0 0;
    border: 1px solid #e3ded9;
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 4px 14px rgba(51, 31, 20, .08);
    overflow: hidden;
  }

  .worry-item__photo {
    width: 240px;
    height: auto;
    min-height: 142px;
    border-radius: 0;
  }

  .worry-item__photo img {
    position: absolute;
    inset: 0;
  }

  .worry-item__photo::after {
    border-width: 1.875px;
  }

  .worry-item__body {
    flex-direction: row;
    align-items: center;
    gap: 28px;
    padding: 32px 0;
  }

  .worry-item__num {
    flex: none;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 76px;
  }

  .worry-item__label {
    font-size: 15px;
    line-height: 18px;
  }

  .worry-item__digit {
    font-size: 60px;
  }

  .worry-item__text {
    font-size: 24px;
  }

  .worry-next {
    width: 31.18px;
    height: 18px;
    margin-top: 6px;
    rotate: 180deg;
  }
}

/* ===== ブランド紹介 ===== */
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(16 * var(--k));
  padding-bottom: calc(44 * var(--k));
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.brand__notch {
  width: 100%;
  height: calc(28 * var(--k));
}

.brand__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(16 * var(--k));
  width: 100%;
  padding: calc(8 * var(--k)) calc(16 * var(--k)) 0;
}

.brand__lead {
  font-size: calc(15 * var(--k));
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .06em;
}

.brand__plate {
  width: calc(300 * var(--k));
}

.brand__title {
  font-size: calc(30 * var(--k));
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: .02em;
}

.brand__bar {
  display: block;
  width: calc(40 * var(--k));
  height: calc(4 * var(--k));
  background: var(--red);
}

.brand__text {
  font-size: calc(16 * var(--k));
  font-weight: 700;
  line-height: 1.6;
}

.brand__num {
  font-family: var(--font-num);
  font-size: calc(17.5 * var(--k));
  font-weight: 600;
}

@media (min-width: 1024px) {
  .brand {
    gap: 16px;
    padding-bottom: 72px;
  }

  .brand__notch {
    height: 70px;
  }

  .brand__inner {
    gap: 24px;
    padding: 8px 16px 0;
  }

  .brand__lead {
    font-size: 20px;
  }

  .brand__plate {
    width: 546px;
  }

  .brand__title {
    font-size: 52px;
  }

  .brand__text {
    font-size: 20px;
  }

  .brand__num {
    font-size: 20px;
  }
}

/* ===== 事例 ===== */
.case-section {
  background: var(--cream);
  padding: calc(48 * var(--k)) 0 calc(40 * var(--k));
}

.case-section__inner {
  display: flex;
  flex-direction: column;
  gap: calc(12 * var(--k));
}

.case-head {
  padding: calc(26 * var(--k)) calc(16 * var(--k)) calc(12 * var(--k));
}

/* 事例1件（SPは白い帯の中にカード・開いた中身・ボタンを縦に並べる） */
.case-item {
  display: flex;
  flex-direction: column;
  gap: calc(16 * var(--k));
  padding: calc(24 * var(--k)) calc(16 * var(--k)) calc(28 * var(--k));
  background: var(--white);
}

.case-card,
.case-card__body {
  display: contents;
}

.case-card__label { order: 1; }
.case-card__title { order: 2; }
.case-card__photo { order: 3; }
.case-card__conds { order: 4; }
.case-card__consult { order: 5; }
.case-toggle { order: 6; }
.case-detail { order: 7; }
.case-card__cta { order: 8; }

/* ラベル */
.case-card__label {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--k));
}

.case-card__ribbon {
  position: relative;
  flex: none;
  width: calc(150 * var(--k));
  height: calc(32.91 * var(--k));
}

.case-card__ribbon img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 99.73%;
}

.case-card__no {
  position: absolute;
  left: calc(74 * var(--k));
  top: calc(3 * var(--k));
  translate: -50% 0;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: calc(20 * var(--k));
  line-height: 1.2;
  letter-spacing: .08em;
  color: var(--red);
  white-space: nowrap;
}

.case-card__ribbon--house {
  width: calc(170 * var(--k));
  height: calc(37.3 * var(--k));
}

.case-card__ribbon--house img {
  height: 98.15%;
}

.case-card__ribbon--house .case-card__no {
  left: calc(37 * var(--k));
  top: calc(8 * var(--k));
  translate: none;
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: calc(16 * var(--k));
  letter-spacing: 0;
}

.case-card__type {
  padding: calc(4 * var(--k)) calc(10 * var(--k));
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  font-size: calc(13 * var(--k));
  line-height: 1.4;
  letter-spacing: .02em;
}

/* 見出し */
.case-card__title {
  font-weight: 900;
  font-size: calc(20 * var(--k));
  line-height: 1.5;
}

.case-card__mark {
  text-decoration: underline var(--red) calc(4 * var(--k));
  text-decoration-skip-ink: none;
}

.case-card__mark--num {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: calc(21.5 * var(--k));
}

/* 写真 */
.case-card__photo {
  position: relative;
  width: 100%;
  height: calc(232 * var(--k));
  overflow: hidden;
}

.case-card__after {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card__chip-after,
.case-card__chip-before {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  color: var(--white);
  font-family: var(--font-num);
  font-weight: 700;
  font-size: calc(14 * var(--k));
  line-height: 1.4;
}

.case-card__chip-after {
  padding: calc(3 * var(--k)) calc(10 * var(--k));
  background: var(--red);
  letter-spacing: .06em;
}

.case-card__chip-before {
  padding: calc(1 * var(--k)) calc(6 * var(--k));
  background: var(--ink);
  letter-spacing: .04em;
}

.case-card__before {
  position: absolute;
  left: calc(10 * var(--k));
  bottom: calc(10 * var(--k));
  width: calc(128 * var(--k));
  height: calc(88 * var(--k));
}

.case-card__before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card__before::after {
  content: "";
  position: absolute;
  inset: 0;
  border: calc(3 * var(--k)) solid var(--white);
}

/* 条件 */
.case-card__conds {
  display: flex;
  flex-wrap: wrap;
  gap: calc(6 * var(--k));
}

.case-card__conds li {
  padding: calc(3 * var(--k)) calc(8 * var(--k));
  border: calc(1 * var(--k)) solid var(--ink);
  border-radius: calc(2 * var(--k));
  font-weight: 700;
  font-size: calc(13 * var(--k));
  line-height: 1.4;
  letter-spacing: .02em;
}

.case-n {
  font-family: var(--font-num);
  font-weight: 600;
  font-size: calc(14 * var(--k));
}

/* ご相談 */
.case-card__consult {
  display: flex;
  align-items: center;
  gap: calc(12 * var(--k));
  padding: calc(14 * var(--k));
  background: var(--gray-2);
}

.case-card__hand {
  flex: none;
  width: calc(46 * var(--k));
  height: calc(29.45 * var(--k));
}

.case-card__consult-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: calc(4 * var(--k));
}

.case-card__consult-label {
  color: var(--red);
  font-weight: 900;
  font-size: calc(13 * var(--k));
  line-height: 1.3;
  letter-spacing: .06em;
}

.case-card__quote {
  font-weight: 700;
  font-size: calc(16 * var(--k));
  line-height: 1.6;
  font-feature-settings: "halt" 1;
}

/* 開閉ボタン */
.case-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(10 * var(--k));
  width: 100%;
  padding: calc(14 * var(--k)) calc(16 * var(--k));
  border: calc(1 * var(--k)) solid var(--ink);
  border-radius: calc(4 * var(--k));
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  font-size: calc(15 * var(--k));
  line-height: 1.3;
  letter-spacing: .02em;
  transition: background-color .2s ease, color .2s ease;
}

.case-toggle__icon {
  flex: none;
  width: calc(22 * var(--k));
  height: calc(22 * var(--k));
  background: url("../image/case-plus.svg") center / contain no-repeat;
}

.case-toggle[aria-expanded="true"] {
  background: var(--ink);
  color: var(--white);
}

.case-toggle[aria-expanded="true"] .case-toggle__icon {
  background-image: url("../image/case-minus-white.svg");
}

@media (hover: hover) {
  .case-toggle:hover {
    background: var(--gray);
  }
}

@media (hover: hover) and (max-width: 1023px) {
  .case-toggle[aria-expanded="true"]:hover {
    background: var(--ink);
    opacity: .88;
  }
}

/* 開いた中身（高さを動かして開閉する） */
.case-detail {
  margin-top: calc(-16 * var(--k));
  overflow: hidden;
}

.case-detail.is-moving {
  transition: height .45s var(--ease-out);
}

.case-detail__inner {
  display: flex;
  flex-direction: column;
  gap: calc(20 * var(--k));
  margin-top: calc(16 * var(--k));
  padding: calc(24 * var(--k)) calc(16 * var(--k)) calc(20 * var(--k));
  border: calc(1.5 * var(--k)) solid var(--red);
  border-radius: calc(12 * var(--k));
  background: var(--white);
}

@media (prefers-reduced-motion: no-preference) {
  .case-detail__inner {
    transition: opacity .45s var(--ease-out), translate .45s var(--ease-out);
  }

  .case-detail:not(.case-detail--static):not(.is-open) .case-detail__inner {
    opacity: 0;
    translate: 0 calc(10 * var(--k));
  }
}

.case-detail__summary {
  display: flex;
  flex-direction: column;
  gap: calc(20 * var(--k));
}

.case-detail__worry {
  display: flex;
  flex-direction: column;
  gap: calc(12 * var(--k));
}

.case-detail__head {
  display: flex;
  align-items: center;
  gap: calc(8 * var(--k));
  font-weight: 900;
  font-size: calc(17 * var(--k));
  line-height: 1.4;
}

.case-detail__head::before {
  content: "";
  flex: none;
  width: calc(4 * var(--k));
  height: calc(20 * var(--k));
  border-radius: calc(2 * var(--k));
  background: var(--red);
}

.case-detail__bubble {
  padding: calc(12 * var(--k)) calc(14 * var(--k));
  border-radius: calc(10 * var(--k));
  background: var(--gray);
  font-size: calc(14 * var(--k));
  line-height: 1.7;
}

.case-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: calc(6 * var(--k));
}

.case-detail__tags li {
  padding: calc(4 * var(--k)) calc(10 * var(--k));
  border: calc(1.2 * var(--k)) solid var(--ink);
  border-radius: calc(2 * var(--k));
  background: var(--white);
  font-weight: 700;
  font-size: calc(13 * var(--k));
  line-height: 1.5;
}

.case-detail__point {
  display: flex;
  flex-direction: column;
  gap: calc(8 * var(--k));
  padding: calc(16 * var(--k));
  border: calc(1.5 * var(--k)) solid var(--red);
  border-radius: calc(6 * var(--k));
}

.case-detail__point-title {
  color: var(--red);
  font-weight: 900;
  font-size: calc(17 * var(--k));
  line-height: 1.18;
}

.case-detail__point-text {
  font-size: calc(14 * var(--k));
  line-height: 1.7;
}

.case-detail__rule {
  width: 100%;
  height: calc(1 * var(--k));
  border: 0;
  background: var(--gray);
}

/* マイスターの提案 */
.case-detail__plans {
  display: flex;
  flex-direction: column;
  gap: calc(14 * var(--k));
}

.case-detail__staff {
  color: #6b625f;
  font-size: calc(13 * var(--k));
  line-height: 1.5;
}

.case-detail__plan-list {
  display: flex;
  flex-direction: column;
  gap: calc(14 * var(--k));
}

.case-plan {
  display: flex;
  flex-direction: column;
  gap: calc(8 * var(--k));
}

.case-plan + .case-plan {
  padding-top: calc(14 * var(--k));
}

.case-plan__head {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--k));
}

.case-plan__no {
  flex: none;
  color: var(--red);
  font-family: var(--font-num);
  font-weight: 700;
  font-size: calc(30 * var(--k));
  line-height: 1;
}

.case-plan__title {
  flex: 1;
  font-weight: 900;
  font-size: calc(16 * var(--k));
  line-height: 1.4;
}

.case-plan__img {
  width: 100%;
  height: calc(180 * var(--k));
  border-radius: calc(6 * var(--k));
  object-fit: cover;
}

.case-plan__text {
  font-size: calc(14 * var(--k));
  line-height: 1.7;
}

/* Before／After */
.case-detail__ba,
.case-detail__ba-list {
  display: flex;
  flex-direction: column;
  gap: calc(16 * var(--k));
}

.case-ba {
  display: flex;
  flex-direction: column;
  gap: calc(8 * var(--k));
}

.case-ba__pics {
  display: flex;
  gap: calc(8 * var(--k));
}

.case-ba__pic {
  position: relative;
  flex: 1;
  height: calc(200 * var(--k));
  border-radius: calc(6 * var(--k));
  overflow: hidden;
}

.case-ba__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-ba__chip {
  position: absolute;
  left: 0;
  top: 0;
  padding: calc(2 * var(--k)) calc(8 * var(--k));
  border-radius: calc(6 * var(--k)) 0 calc(6 * var(--k)) 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-num);
  font-weight: 700;
  font-size: calc(14 * var(--k));
  line-height: 1.4;
}

.case-ba__pic--after .case-ba__chip {
  background: var(--red);
}

.case-ba__cap {
  font-weight: 900;
  font-size: calc(13 * var(--k));
  line-height: 1.6;
}

/* 工事の内容・工期 */
.case-detail__work {
  display: flex;
  flex-direction: column;
  gap: calc(12 * var(--k));
}

.case-detail__period {
  display: flex;
  flex-direction: column;
  gap: calc(2 * var(--k));
  padding: calc(12 * var(--k)) calc(14 * var(--k));
  border-radius: calc(8 * var(--k));
  background: var(--ink);
  color: var(--white);
}

.case-detail__period-label {
  font-weight: 700;
  font-size: calc(13 * var(--k));
  line-height: 1.5;
}

.case-detail__period-value {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: calc(28 * var(--k));
  line-height: 1.3;
}

.case-detail__works {
  display: flex;
  flex-wrap: wrap;
  gap: calc(6 * var(--k));
}

.case-detail__works li {
  padding: calc(4 * var(--k)) calc(10 * var(--k));
  border-radius: calc(999 * var(--k));
  background: var(--gray);
  font-weight: 700;
  font-size: calc(13 * var(--k));
  line-height: 1.5;
}

.case-detail__note {
  color: #6b625f;
  font-size: calc(13 * var(--k));
  line-height: 1.5;
}

/* 閉じる */
.case-close {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(8 * var(--k));
  width: 100%;
  padding: calc(14 * var(--k)) 0;
  border: calc(1.5 * var(--k)) solid var(--red);
  border-radius: calc(999 * var(--k));
  background: var(--white);
  color: var(--red);
  font-weight: 700;
  font-size: calc(15 * var(--k));
  line-height: 1.4;
  transition: background-color .2s ease;
}

.case-close__icon {
  position: relative;
  flex: none;
  width: calc(22 * var(--k));
  height: calc(22 * var(--k));
  border-radius: 50%;
  background: var(--red);
}

.case-close__icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(10 * var(--k));
  height: calc(2 * var(--k));
  translate: -50% -50%;
  background: var(--white);
}

@media (hover: hover) {
  .case-close:hover {
    background: var(--cream);
  }
}

/* 工事後の点検・保証 */
.case-care {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: calc(14 * var(--k));
  padding: calc(24 * var(--k)) calc(22 * var(--k));
}

.case-care__frame {
  position: absolute;
  inset: calc(8 * var(--k));
  border: calc(22 * var(--k)) solid transparent;
  border-image: url("../image/case-frame-sp.svg") 22 repeat;
  pointer-events: none;
}

.case-care__title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(8 * var(--k));
  font-weight: 900;
  font-size: calc(18 * var(--k));
  line-height: 1.4;
}

.case-care__icon {
  flex: none;
  width: calc(40 * var(--k));
  height: calc(21.63 * var(--k));
}

.case-care__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: calc(14 * var(--k));
}

.case-care__list {
  display: flex;
  gap: calc(6 * var(--k));
}

.case-care__item {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: calc(4 * var(--k));
  padding: calc(14 * var(--k)) calc(12 * var(--k));
  background: var(--white);
}

.case-care__label {
  font-weight: 700;
  font-size: calc(13 * var(--k));
  line-height: 1.3;
}

.case-care__num {
  display: flex;
  align-items: flex-end;
  gap: calc(2 * var(--k));
  color: var(--red);
}

.case-care__big {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: calc(32.5 * var(--k));
  line-height: 1.1;
}

.case-care__pre {
  font-weight: 900;
  font-size: calc(30 * var(--k));
  line-height: 1.1;
}

.case-care__unit {
  font-weight: 900;
  font-size: calc(14 * var(--k));
  line-height: 1.5;
}

.case-care__sub {
  color: rgba(36, 25, 22, .8);
  font-size: calc(13 * var(--k));
  line-height: 1.3;
}

.case-care__note {
  color: rgba(36, 25, 22, .8);
  font-size: calc(12 * var(--k));
  line-height: 1.5;
  text-align: center;
}

.case-care__note-num {
  font-family: var(--font-num);
  font-weight: 500;
  font-size: calc(12.96 * var(--k));
}

/* 家全体の事例（帯を押すと実例が開く） */
.case-house {
  padding: 0 calc(16 * var(--k)) calc(28 * var(--k));
}

.case-band {
  position: relative;
  display: block;
  width: 100%;
  height: calc(150 * var(--k));
  border-radius: calc(4 * var(--k));
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  text-align: left;
}

.case-band[hidden] {
  display: none;
}

.case-band__pic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, rgba(35, 24, 21, .88), rgba(35, 24, 21, .2) 75%, rgba(35, 24, 21, 0));
}

.case-band__text {
  position: absolute;
  left: calc(16 * var(--k));
  top: calc(22 * var(--k));
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(6 * var(--k));
}

.case-band__more {
  font-weight: 900;
  font-size: calc(13 * var(--k));
  line-height: 1.3;
  letter-spacing: .04em;
}

.case-band__title {
  font-weight: 900;
  font-size: calc(20 * var(--k));
  line-height: 1.4;
}

.case-band__cond {
  font-weight: 700;
  font-size: calc(13 * var(--k));
  line-height: 1.4;
}

.case-band__pill {
  display: flex;
  align-items: center;
  gap: calc(6 * var(--k));
  padding: calc(6 * var(--k)) calc(12 * var(--k));
  border-radius: calc(20 * var(--k));
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
  font-size: calc(13 * var(--k));
  line-height: 1.3;
  transition: translate .15s var(--ease-out);
}

.case-band__pill img {
  width: calc(14 * var(--k));
  height: calc(14 * var(--k));
}

@media (hover: hover) {
  .case-band:hover .case-band__pill {
    translate: calc(4 * var(--k)) 0;
  }
}

.case-house__open {
  overflow: hidden;
}

.case-house__open.is-moving {
  transition: height .45s var(--ease-out);
}

.case-item--house {
  gap: calc(14 * var(--k));
  padding: 0;
  background: none;
}

.case-item--house .case-detail {
  margin-top: calc(6 * var(--k));
}

.case-item--house .case-detail__inner {
  margin-top: 0;
}

/* ===== PC ===== */
@media (min-width: 1024px) {
  .case-section {
    padding: 80px 0;
  }

  .case-section__inner {
    width: var(--content);
    margin: 0 auto;
    gap: 28px;
  }

  .case-head {
    padding: 26px 16px 12px;
  }

  .case-item {
    gap: 16px;
    padding: 0;
    background: none;
  }

  .case-card {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 28px 40px 28px 28px;
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 6px 18px rgba(77, 46, 26, .08);
  }

  .case-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding-top: 4px;
  }

  .case-card__photo {
    order: 0;
    flex: none;
    width: 520px;
    height: 421px;
    border-radius: 10px;
  }

  .case-item--03 .case-card__photo,
  .case-item--house .case-card__photo {
    height: 425px;
  }

  .case-card__chip-after {
    padding: 4.19px 13.966px;
    font-size: 19.553px;
  }

  .case-card__chip-before {
    padding: 1.484px 8.906px;
    font-size: 20.78px;
  }

  .case-card__before {
    left: 14px;
    bottom: 14px;
    width: 190px;
    height: 130.625px;
  }

  .case-card__before::after {
    border-width: 4.453px;
  }

  .case-card__ba {
    position: absolute;
    left: 210px;
    bottom: 140.62px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50.196px;
    height: 64px;
  }

  .case-card__ba img {
    flex: none;
    width: 64px;
    height: 50.196px;
    max-width: none;
    rotate: -90deg;
  }

  .case-card__no {
    top: 4px;
  }

  .case-item--02 .case-card__no {
    left: 75.5px;
  }

  .case-card__no--house {
    left: 33px;
    top: 3px;
    translate: none;
    font-size: 24px;
  }

  .case-card__type {
    font-size: 15px;
  }

  .case-card__title {
    font-size: 26px;
  }

  .case-card__mark--num {
    font-size: inherit;
  }

  .case-card__conds li {
    font-size: 15px;
  }

  .case-n {
    font-size: inherit;
  }

  .case-card__conds--house .case-n {
    font-family: inherit;
    font-weight: inherit;
  }

  .case-card__consult {
    padding: 12px 14px;
  }

  .case-card__consult-label {
    font-size: 16px;
  }

  .case-card__quote {
    font-size: 20px;
  }

  .case-toggle {
    padding: 10px 16px;
    font-size: 16px;
  }

  .case-toggle[aria-expanded="true"] {
    background: var(--white);
    color: var(--ink);
  }

  .case-toggle[aria-expanded="true"] .case-toggle__icon {
    background-image: url("../image/case-minus.svg");
  }

  @media (hover: hover) {
    .case-toggle[aria-expanded="true"]:hover {
      background: var(--gray);
    }
  }

  .case-card__cta {
    font-size: 22px;
  }

  /* 開いた中身：上段は「お悩み」と「工事の内容」を左右に並べる */
  .case-detail {
    margin-top: -16px;
  }

  .case-detail__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px 48px;
    margin-top: 16px;
    padding: 48px 56px 40px;
    border-radius: 16px;
  }

  .case-detail__inner > * {
    grid-column: 1 / -1;
  }

  .case-detail__summary,
  .case-detail__worry {
    gap: 14px;
  }

  .case-detail__summary {
    grid-column: 1;
    grid-row: 1;
  }

  .case-detail__work {
    grid-column: 2;
    grid-row: 1;
    gap: 14px;
  }

  .case-detail__period {
    align-self: flex-start;
    padding: 12px 20px;
  }

  .case-detail__head {
    font-size: 20px;
  }

  .case-detail__head--sub {
    font-size: 17px;
  }

  .case-detail__bubble {
    font-size: 16px;
  }

  .case-detail__plans {
    gap: 24px;
  }

  .case-detail__plan-list {
    flex-direction: row;
    gap: 32px;
  }

  .case-plan {
    flex: 1;
    gap: 12px;
    min-width: 0;
  }

  .case-plan + .case-plan {
    padding-top: 0;
  }

  .case-plan__title {
    font-size: 17px;
  }

  .case-plan__img {
    height: 200px;
  }

  .case-plan__text {
    font-size: 15px;
  }

  .case-detail__ba-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 32px;
  }

  .case-ba__pic {
    height: 280px;
  }

  .case-ba__cap {
    font-size: 15px;
  }

  .case-close {
    width: 360px;
    margin: 0 auto;
    font-size: 16px;
  }

  /* 点検・保証 */
  .case-care {
    flex-direction: row;
    align-items: center;
    gap: 40px;
    padding: 36px 56px;
  }

  .case-care__frame {
    inset: 8px;
    border-width: 22px;
    border-image-source: url("../image/case-frame-pc.svg");
  }

  .case-care__title {
    flex: none;
    font-size: 24px;
  }

  .case-care__body {
    flex: 1;
    gap: 10px;
  }

  .case-care__list {
    gap: 16px;
  }

  .case-care__label,
  .case-care__sub,
  .case-care__unit {
    font-size: 15px;
  }

  .case-care__big,
  .case-care__pre {
    font-size: 40px;
  }

  .case-care__note {
    font-size: 13px;
  }

  .case-care__note-num {
    font-size: 15px;
  }

  /* 家全体の帯 */
  .case-house {
    padding: 0;
  }

  .case-band {
    height: 200px;
    border-radius: 16px;
    filter: drop-shadow(0 8px 10px rgba(51, 26, 13, .18));
  }

  .case-band::before {
    display: none;
  }

  .case-band__pic img {
    left: auto;
    right: 0;
    width: 555px;
  }

  .case-band__cut {
    position: absolute;
    left: 514.5px;
    top: -.5px;
    z-index: 1;
    width: 111.23px;
    height: 201px;
    max-width: none;
  }

  .case-band__text {
    left: 56px;
    top: 20px;
    gap: 10px;
  }

  .case-band__more {
    font-size: 15px;
  }

  .case-band__title {
    font-size: 30px;
  }

  .case-band__cond {
    padding: 3px 10px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 4px;
    font-size: 14px;
  }

  .case-band__pill {
    gap: 8px;
    padding: 10px 18px 10px 22px;
    border-radius: 24px;
    background: #e8330d;
    color: var(--white);
    font-size: 17px;
    box-shadow: 0 3px 0 #9e2105;
  }

  .case-band__arrow {
    position: absolute;
    left: 980px;
    top: 65px;
    z-index: 2;
    width: 76px;
    height: 76px;
    max-width: none;
    transition: translate .15s var(--ease-out);
  }

  @media (hover: hover) {
    .case-band:hover .case-band__pill {
      translate: none;
    }

    .case-band:hover .case-band__arrow {
      translate: 4px 0;
    }
  }

  .case-item--house .case-detail {
    margin-top: 0;
  }
}

/* ===== POINT（ウチの場合） ===== */
.point {
  background: var(--white);
  padding: calc(48 * var(--k)) calc(16 * var(--k)) calc(44 * var(--k));
}

.point__inner {
  display: flex;
  flex-direction: column;
  gap: calc(24 * var(--k));
}

.point-problem,
.point-problem__intro {
  display: flex;
  flex-direction: column;
  gap: calc(24 * var(--k));
}

/* POINT 01・02 の見出し */
.point-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(6 * var(--k));
}

.point-heading__label {
  display: flex;
  align-items: center;
  gap: calc(8 * var(--k));
}

.point-heading__finger {
  flex: none;
  width: calc(44 * var(--k));
  height: calc(21.706 * var(--k));
}

.point-heading__chip {
  padding: calc(2 * var(--k)) calc(8 * var(--k));
  background: var(--red);
  color: var(--white);
  font-family: var(--font-num);
  font-weight: 700;
  font-size: calc(14 * var(--k));
  line-height: 1.4;
  letter-spacing: .06em;
}

.point-heading__num {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: calc(24 * var(--k));
  line-height: 1.1;
  color: var(--red);
}

.point-heading__title {
  font-weight: 900;
  font-size: calc(20 * var(--k));
  line-height: 1.5;
}

.point-problem__lead {
  font-size: calc(15 * var(--k));
  line-height: 1.75;
}

.point-problem__lead em {
  color: var(--red);
}

/* わが家の悩みチェック */
.point-check {
  display: flex;
  flex-direction: column;
  gap: calc(12 * var(--k));
  padding: calc(20 * var(--k)) calc(14 * var(--k)) calc(16 * var(--k));
  background: var(--gray-2);
}

.point-check__title {
  font-weight: 900;
  font-size: calc(18 * var(--k));
  line-height: 1.5;
  text-align: center;
}

.point-check__list {
  display: flex;
  flex-direction: column;
  gap: calc(8 * var(--k));
}

.point-check__item {
  display: flex;
  align-items: center;
  gap: calc(8 * var(--k));
  min-height: calc(46 * var(--k));
  padding: calc(4 * var(--k)) calc(10 * var(--k));
  background: var(--white);
  border: 1px solid rgba(36, 25, 22, .25);
  font-weight: 700;
  font-size: calc(13 * var(--k));
  line-height: 1.4;
}

.point-check__item::before {
  content: "";
  flex: none;
  width: calc(20 * var(--k));
  height: calc(20 * var(--k));
  background: url("../image/point-check.svg") no-repeat center / contain;
}

/* 解決方法リスト */
.point-solution {
  display: grid;
  grid-template-columns: calc(120 * var(--k)) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: calc(14 * var(--k));
  row-gap: calc(6 * var(--k));
  padding: calc(16 * var(--k)) 0;
  border-bottom: 1px solid rgba(36, 25, 22, .15);
}

.point-solution__img {
  grid-row: 1 / span 2;
  width: 100%;
  height: calc(96 * var(--k));
  object-fit: cover;
  border-radius: calc(2 * var(--k));
}

.point-solution__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(6 * var(--k));
}

.point-solution__meta {
  display: flex;
  align-items: center;
}

.point-solution__num {
  display: none;
}

.point-solution__worry {
  padding: calc(2 * var(--k)) calc(6 * var(--k));
  background: var(--gray-2);
  font-weight: 700;
  font-size: calc(13 * var(--k));
  line-height: 1.4;
}

.point-solution__title {
  display: flex;
  align-items: center;
  gap: calc(6 * var(--k));
  font-weight: 900;
  font-size: calc(17 * var(--k));
  line-height: 1.4;
}

.point-solution__title::before {
  content: "";
  flex: none;
  width: calc(12 * var(--k));
  height: calc(14 * var(--k));
  background: url("../image/point-triangle.svg") no-repeat center / contain;
}

.point-solution__text {
  font-size: calc(13 * var(--k));
  line-height: 1.55;
  color: rgba(36, 25, 22, .85);
}

/* 3D・VR体験 */
.point-3d {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(14 * var(--k));
  padding: calc(22 * var(--k)) calc(16 * var(--k)) calc(20 * var(--k));
  background: var(--white);
  border: calc(1.5 * var(--k)) solid var(--ink);
}

.point-3d__body {
  display: contents;
}

.point-3d__title {
  font-weight: 900;
  font-size: calc(24 * var(--k));
  line-height: 1.4;
  text-align: center;
}

.point-3d__title em {
  color: var(--red);
}

.point-3d__figure {
  order: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(14 * var(--k));
  width: 100%;
}

.point-3d__img {
  width: 100%;
  height: calc(190 * var(--k));
  object-fit: cover;
  border-radius: calc(4 * var(--k));
}

.point-3d__note {
  font-size: calc(12 * var(--k));
  line-height: 1.2;
}

.point-3d__text {
  order: 2;
  align-self: stretch;
  font-weight: 700;
  font-size: calc(15 * var(--k));
  line-height: 1.7;
}

/* 括弧の前後の空きだけ詰めて、「では、」までを1行に収める */
.point-3d__paren {
  font-feature-settings: "palt";
}

@media (min-width: 1024px) {
  .point {
    padding: 80px 0;
  }

  .point__inner {
    align-items: center;
    gap: 40px;
    width: var(--content);
    margin: 0 auto;
  }

  .point-problem {
    gap: 36px;
    width: 100%;
  }

  .point-problem__intro {
    align-items: center;
    gap: 20px;
    text-align: center;
  }

  .point-heading {
    align-items: center;
  }

  .point-heading__chip {
    font-size: 15px;
  }

  .point-heading__num {
    font-size: 36px;
  }

  .point-heading__title {
    font-size: 32px;
  }

  .point-problem__lead {
    font-size: 18px;
  }

  .point-check {
    gap: 20px;
    padding: 32px 56px 36px;
  }

  .point-check__title {
    font-size: 26px;
  }

  .point-check__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .point-check__item {
    min-height: 0;
    padding: 12px 10px;
    font-size: 18px;
  }

  .point-solutions {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
  }

  .point-solution {
    display: flex;
    align-items: center;
    gap: 36px;
    padding: 16px 32px 16px 16px;
    border: 0;
    border-radius: 10px;
  }

  .point-solution:nth-child(even) {
    background: #f8f4f0;
  }

  .point-solution__img {
    flex: none;
    width: 200px;
    height: 150px;
    border-radius: 8px;
  }

  .point-solution__head {
    flex: none;
    gap: 8px;
    width: 330px;
  }

  .point-solution__meta {
    gap: 10px;
  }

  .point-solution__num {
    display: block;
    font-family: var(--font-num);
    font-weight: 700;
    font-size: 30px;
    line-height: 1.2;
    color: var(--red);
  }

  .point-solution__worry {
    font-size: 15px;
  }

  .point-solution__title {
    font-size: 24px;
  }

  .point-solution__text {
    flex: 1;
    font-size: 17px;
  }

  .point-3d {
    flex-direction: row;
    gap: 56px;
    width: 100%;
    padding: 44px 64px;
    border-width: 1.5px;
  }

  .point-3d__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 16px;
  }

  .point-3d__title {
    font-size: 32px;
    text-align: left;
  }

  .point-3d__figure {
    flex: none;
    gap: 10px;
    width: 500px;
  }

  .point-3d__img {
    height: 290px;
  }

  .point-3d__text {
    font-size: 18px;
  }

  .point__cta {
    width: 480px;
  }
}

/* ===== FLOW（ご相談時の流れ） ===== */
.flow {
  background: var(--cream);
  padding: calc(48 * var(--k)) calc(16 * var(--k)) calc(44 * var(--k));
}

.flow__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(28 * var(--k));
}

.flow-free {
  padding: calc(5 * var(--k)) calc(16 * var(--k));
  background: var(--red);
  border-radius: calc(20 * var(--k));
  color: var(--white);
  font-weight: 900;
  font-size: calc(15 * var(--k));
  line-height: 1.4;
  letter-spacing: .04em;
}

/* 当日の流れ STEP 01〜04 */
.flow-steps {
  display: flex;
  flex-direction: column;
  gap: calc(12 * var(--k));
  width: 100%;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: calc(14 * var(--k));
  background: var(--white);
}

.flow-step:nth-child(even) {
  flex-direction: row-reverse;
}

.flow-step__img {
  flex: none;
  width: calc(150 * var(--k));
  height: calc(112 * var(--k));
  object-fit: cover;
}

.flow-step__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(4 * var(--k));
  min-width: 0;
  padding: calc(12 * var(--k)) calc(8 * var(--k)) calc(12 * var(--k)) 0;
}

.flow-step:nth-child(even) .flow-step__body {
  padding: calc(12 * var(--k)) 0 calc(12 * var(--k)) calc(14 * var(--k));
}

.flow-step__label {
  display: flex;
  align-items: center;
  gap: calc(6 * var(--k));
  font-family: var(--font-num);
  font-weight: 700;
  color: var(--red);
}

.flow-step__en {
  font-size: calc(14 * var(--k));
  line-height: 1.2;
  letter-spacing: .08em;
}

.flow-step__num {
  font-size: calc(26 * var(--k));
  line-height: 1;
}

.flow-step__title {
  font-weight: 900;
  font-size: calc(16 * var(--k));
  line-height: 1.5;
}

.flow-step__title em,
.flow-step__note {
  color: var(--red);
}

.flow-step__note {
  font-weight: 700;
  font-size: calc(13 * var(--k));
  line-height: 1.5;
}

/* マイスターのお約束 */
.flow-promise {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: calc(104 * var(--k)) calc(26 * var(--k)) calc(26 * var(--k));
}

.flow-promise__frame {
  position: absolute;
  inset: calc(6 * var(--k));
  pointer-events: none;
  --frame-c: calc(34 * var(--k));
  --frame-t: calc(15 * var(--k));
  background:
    url("../image/flow-frame-tl.svg") left top / var(--frame-c) var(--frame-c) no-repeat,
    url("../image/flow-frame-tr.svg") right top / var(--frame-c) var(--frame-c) no-repeat,
    url("../image/flow-frame-bl.svg") left bottom / var(--frame-c) var(--frame-c) no-repeat,
    url("../image/flow-frame-br.svg") right bottom / var(--frame-c) var(--frame-c) no-repeat;
}

.flow-promise__frame::before,
.flow-promise__frame::after {
  content: "";
  position: absolute;
}

.flow-promise__frame::before {
  inset: 0 var(--frame-c);
  background:
    url("../image/flow-frame-top.svg") left top / var(--frame-t) var(--frame-c) repeat-x,
    url("../image/flow-frame-bottom.svg") left bottom / var(--frame-t) var(--frame-c) repeat-x;
}

.flow-promise__frame::after {
  inset: var(--frame-c) 0;
  background:
    url("../image/flow-frame-left.svg") left top / var(--frame-c) var(--frame-t) repeat-y,
    url("../image/flow-frame-right.svg") right top / var(--frame-c) var(--frame-t) repeat-y;
}

.flow-promise__title {
  position: absolute;
  top: calc(38 * var(--k));
  left: 50%;
  translate: -50% 0;
  width: calc(273 * var(--k));
  height: calc(41.24 * var(--k));
  padding-top: calc(13 * var(--k));
  background: url("../image/flow-ribbon.svg") no-repeat center top / 100% 100%;
  font-weight: 900;
  font-size: calc(16 * var(--k));
  line-height: 1;
  letter-spacing: .04em;
  text-align: center;
  white-space: nowrap;
}

.flow-promise__list {
  width: 100%;
}

.flow-promise__item {
  display: flex;
  align-items: flex-start;
  gap: calc(10 * var(--k));
  padding: calc(10 * var(--k)) 0;
  border-top: 1px solid var(--line-dash);
  font-weight: 700;
  font-size: calc(15 * var(--k));
  line-height: 1.6;
}

.flow-promise__item:last-child {
  border-bottom: 1px solid var(--line-dash);
}

.flow-promise__item::before {
  content: "";
  flex: none;
  width: calc(22 * var(--k));
  height: calc(22 * var(--k));
  background: url("../image/flow-check.svg") no-repeat center / contain;
}

.flow-promise__sign {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: calc(10 * var(--k));
  width: 100%;
  padding-top: calc(18 * var(--k));
}

.flow-promise__illust {
  flex: none;
  width: calc(44 * var(--k));
  height: calc(78.305 * var(--k));
}

.flow-promise__name {
  font-weight: 700;
  font-size: calc(14 * var(--k));
  line-height: 1.3;
}

.flow-promise__stamp {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: calc(52 * var(--k));
  height: calc(52 * var(--k));
  margin: calc(4.84 * var(--k));
  rotate: 12deg;
  background:
    url("../image/flow-stamp-outer-sp.svg") center / calc(51 * var(--k)) calc(51 * var(--k)) no-repeat,
    url("../image/flow-stamp-inner-sp.svg") center / calc(39 * var(--k)) calc(39 * var(--k)) no-repeat;
  color: var(--red);
  font-weight: 900;
  font-size: calc(15 * var(--k));
  line-height: 1.1;
  white-space: nowrap;
}

/* その後の進み方 */
.flow-after {
  display: flex;
  flex-direction: column;
  gap: calc(28 * var(--k));
  width: 100%;
}

.flow-after__title {
  font-weight: 900;
  font-size: calc(18 * var(--k));
  line-height: 1.5;
  letter-spacing: .02em;
  text-align: center;
}

.flow-after__list {
  padding: calc(20 * var(--k)) calc(18 * var(--k));
  background: var(--white);
}

.flow-after__item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: calc(12 * var(--k));
}

.flow-after__item:not(:last-child)::before {
  content: "";
  position: absolute;
  top: calc(28 * var(--k));
  bottom: 0;
  left: calc(13 * var(--k));
  width: calc(2 * var(--k));
  background: rgba(36, 25, 22, .25);
}

.flow-after__no {
  flex: none;
  width: calc(28 * var(--k));
  height: calc(28 * var(--k));
  padding-top: calc(5 * var(--k));
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-num);
  font-weight: 600;
  font-size: calc(15 * var(--k));
  line-height: 1.2;
  text-align: center;
}

.flow-after__item:first-child .flow-after__no {
  background: var(--red);
}

.flow-after__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: calc(2 * var(--k));
  min-width: 0;
  padding: calc(3 * var(--k)) 0 calc(18 * var(--k));
}

.flow-after__item:last-child .flow-after__body {
  padding-bottom: 0;
}

.flow-after__name {
  font-weight: 900;
  font-size: calc(16 * var(--k));
  line-height: 1.4;
}

.flow-after__text {
  font-size: calc(13 * var(--k));
  line-height: 1.55;
  color: rgba(36, 25, 22, .8);
}

.flow-after__digit {
  font-family: var(--font-num);
  font-weight: 500;
  font-size: calc(14 * var(--k));
}

/* わが家のマイスター */
.flow-meister {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(16 * var(--k));
  width: 100%;
  padding: calc(20 * var(--k)) 0;
  background: var(--white);
}

.flow-meister__img {
  width: calc(180 * var(--k));
  height: calc(180 * var(--k));
  object-fit: cover;
}

.flow-meister__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(10 * var(--k));
}

.flow-meister__label span {
  display: block;
  padding: calc(2 * var(--k)) calc(8 * var(--k));
  background: var(--red);
  color: var(--white);
  font-weight: 900;
  font-size: calc(16 * var(--k));
  line-height: 1.4;
  letter-spacing: .02em;
  white-space: nowrap;
}

.flow-meister__text {
  font-weight: 700;
  font-size: calc(14 * var(--k));
  line-height: 1.65;
  text-align: center;
}

@media (min-width: 1024px) {
  .flow {
    padding: 80px 0;
  }

  .flow__inner {
    gap: 36px;
    width: var(--content);
    margin: 0 auto;
  }

  .flow-free {
    font-size: 16px;
  }

  .flow-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }

  .flow-step,
  .flow-step:nth-child(even) {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 390px;
  }

  .flow-step__img {
    width: 100%;
    height: 170px;
  }

  .flow-step__body,
  .flow-step:nth-child(even) .flow-step__body {
    flex: none;
    gap: 10px;
    padding: 18px 14px 22px 16px;
  }

  .flow-step__label {
    gap: 6.638px;
  }

  .flow-step__en {
    font-size: 16.596px;
  }

  .flow-step__num {
    font-size: 39.83px;
  }

  .flow-step__title {
    font-size: 19px;
  }

  .flow-after {
    order: 1;
    gap: 20px;
  }

  .flow-after__title {
    font-size: 28px;
  }

  .flow-after__list {
    display: flex;
    flex-wrap: wrap;
    gap: 28px 24px;
    padding: 36px 48px;
  }

  .flow-after__item {
    width: 250px;
  }

  .flow-after__item:nth-child(3n) {
    width: 436px;
  }

  .flow-after__item:not(:last-child)::before {
    content: none;
  }

  .flow-after__no {
    padding-top: 5.38px;
    font-size: 18px;
  }

  .flow-after__name {
    font-size: 20px;
  }

  .flow-after__text {
    font-size: 15px;
  }

  .flow-after__digit {
    font-size: 15px;
    line-height: 1;
  }

  .flow-promise {
    order: 2;
    justify-content: center;
    min-height: 378px;
    margin: 20px 0;
    padding: 96px 80px 24px;
  }

  .flow-promise__frame {
    inset: 6px 6px 0;
  }

  .flow-promise__title {
    top: 41.57px;
    width: 404.57px;
    height: 61.11px;
    padding-top: 19.27px;
    font-size: 26.675px;
  }

  .flow-promise__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 32px;
  }

  .flow-promise__item {
    font-size: 19px;
  }

  .flow-promise__item:nth-child(3) {
    border-bottom: 1px solid var(--line-dash);
  }

  .flow-promise__sign {
    justify-content: center;
  }

  .flow-promise__name {
    font-size: 18px;
  }

  .flow-promise__stamp {
    width: 61.635px;
    height: 61.635px;
    margin: 5.73px;
    background:
      url("../image/flow-stamp-outer-pc.svg") center / 59.89px 59.89px no-repeat,
      url("../image/flow-stamp-inner-pc.svg") center / 46.04px 46.04px no-repeat;
    font-size: 19px;
  }

  .flow-meister {
    order: 3;
    flex-direction: row;
    gap: 32px;
    padding: 0;
  }

  .flow-meister__img {
    flex: none;
    width: 200px;
    height: 200px;
  }

  .flow-meister__body {
    flex: 1;
    flex-direction: row;
    gap: 40px;
    padding-right: 48px;
  }

  .flow-meister__label {
    flex: none;
    width: 250px;
  }

  .flow-meister__label span {
    display: inline-block;
    font-size: 26px;
  }

  .flow-meister__text {
    flex: 1;
    font-size: 21px;
    text-align: left;
  }
}

/* ===== よくあるご質問 ===== */
.faq-section {
  padding: calc(48 * var(--k)) calc(16 * var(--k)) calc(44 * var(--k));
  background: var(--white);
}

.faq-inner {
  display: flex;
  flex-direction: column;
  gap: calc(24 * var(--k));
}

.faq-head__meister,
.faq-head__book {
  position: absolute;
  pointer-events: none;
}

.faq-head__meister {
  top: 0;
  left: calc(50% - 152 * var(--k));
  width: calc(44 * var(--k));
  height: calc(69 * var(--k));
}

.faq-head__book {
  top: calc(18.8 * var(--k));
  left: calc(50% + 102 * var(--k));
  width: calc(64 * var(--k));
  height: calc(30.66 * var(--k));
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  padding: calc(16 * var(--k)) 0;
  border-bottom: calc(1 * var(--k)) solid rgba(36, 25, 22, .2);
}

.faq-q {
  font-size: inherit;
  font-weight: inherit;
}

.faq-q__btn {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--k));
  width: 100%;
  margin: calc(-16 * var(--k)) 0;
  padding: calc(16 * var(--k)) 0;
  text-align: left;
}

.faq-q__mark {
  flex: none;
  width: calc(15 * var(--k));
  font-family: var(--font-num);
  font-weight: 700;
  font-size: calc(24 * var(--k));
  line-height: 1.1;
  color: var(--red);
}

.faq-q__text {
  flex: 1;
  min-width: 0;
  font-weight: 900;
  font-size: calc(16 * var(--k));
  line-height: 1.5;
  transition: color .2s;
}

.faq-q__icon {
  display: none;
  position: relative;
  flex: none;
  width: calc(24 * var(--k));
  height: calc(24 * var(--k));
}

.js .faq-q__icon {
  display: block;
}

.faq-q__icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.faq-q__btn[aria-expanded="true"] .faq-q__icon-plus,
.faq-q__btn[aria-expanded="false"] .faq-q__icon-minus {
  display: none;
}

/* 開閉：閉じた答えは高さ0にして読み上げ・フォーカスの対象から外す */
.faq-panel {
  display: grid;
  grid-template-rows: 1fr;
}

.js .faq-panel {
  transition: grid-template-rows .35s var(--ease-out), visibility 0s linear 0s;
}

.js .faq-item:not(.is-open) .faq-panel {
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows .35s var(--ease-out), visibility 0s linear .35s;
}

.faq-panel__inner {
  min-height: 0;
  overflow: hidden;
}

.faq-a {
  display: flex;
  align-items: flex-start;
  gap: calc(10 * var(--k));
  margin-top: calc(12 * var(--k));
  padding: calc(14 * var(--k)) calc(12 * var(--k));
  background: var(--gray-2);
}

.faq-a__mark {
  flex: none;
  width: calc(17 * var(--k));
  font-family: var(--font-num);
  font-weight: 700;
  font-size: calc(24 * var(--k));
  line-height: 1.1;
}

.faq-a__body {
  flex: 1;
  min-width: 0;
  font-weight: 500;
  font-size: calc(14 * var(--k));
  line-height: calc(25 * var(--k));
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.faq-example {
  display: flex;
  align-items: center;
  gap: calc(12 * var(--k));
  margin-top: calc(12 * var(--k));
  padding-top: calc(2 * var(--k));
}

.faq-example__img {
  flex: none;
  width: calc(120 * var(--k));
  height: calc(90 * var(--k));
  object-fit: cover;
}

.faq-example__text {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(4 * var(--k));
  min-width: 0;
}

.faq-example__chip {
  padding: calc(1 * var(--k)) calc(6 * var(--k));
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  font-size: calc(13 * var(--k));
  line-height: 1.4;
  letter-spacing: .02em;
}

.faq-example__desc {
  font-weight: 700;
  font-size: calc(13 * var(--k));
  line-height: 1.6;
}

.faq-example__num {
  font-family: var(--font-num);
  font-weight: 600;
  font-size: calc(14 * var(--k));
}

@media (hover: hover) {
  .faq-q__btn:hover .faq-q__text {
    color: var(--red);
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .faq-panel,
  .js .faq-item:not(.is-open) .faq-panel {
    transition: none;
  }
}

@media (min-width: 1024px) {
  .faq-section {
    padding: 80px 0;
  }

  .faq-inner {
    width: var(--content);
    margin: 0 auto;
    gap: 40px;
  }

  .faq-head__meister {
    top: 3.5px;
    left: calc(50% - 212px);
    width: 44px;
    height: 69px;
  }

  .faq-head__book {
    top: 22.7px;
    left: calc(50% + 168px);
    width: 64px;
    height: 30.66px;
  }

  .faq-item {
    padding: 16px 0;
    border-bottom-width: 1px;
  }

  .faq-q__btn {
    gap: 10px;
    margin: -16px 0;
    padding: 16px 0;
  }

  .faq-q__mark {
    width: 22px;
    font-size: 36px;
  }

  .faq-q__text {
    font-size: 18px;
  }

  .faq-q__icon {
    width: 24px;
    height: 24px;
  }

  .faq-a {
    gap: 10px;
    margin-top: 12px;
    padding: 20px 24px;
  }

  .faq-a__mark {
    width: 25px;
    font-size: 36px;
  }

  .faq-a__body {
    font-size: 15px;
    line-height: 26px;
  }

  .faq-example {
    gap: 12px;
    margin-top: 12px;
    padding-top: 2px;
  }

  .faq-example__img {
    width: 168px;
    height: 126px;
  }

  .faq-example__text {
    gap: 4px;
  }

  .faq-example__chip {
    padding: 1px 6px;
    font-size: 15px;
  }

  .faq-example__desc,
  .faq-example__num {
    font-size: 15px;
  }
}

/* ===== 近くの店舗と、会えるマイスター ===== */
.shop {
  background: var(--cream);
  padding: calc(48 * var(--k)) calc(16 * var(--k)) calc(44 * var(--k));
}

.shop__inner {
  display: flex;
  flex-direction: column;
  gap: calc(20 * var(--k));
}

.shop-meisters {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: calc(6 * var(--k));
}

.shop-meisters img {
  flex: none;
  width: calc(52 * var(--k));
}

.shop-lead {
  font-weight: 900;
  font-size: calc(15 * var(--k));
  line-height: 1.5;
  letter-spacing: .02em;
  text-align: center;
}

/* 地域タブ */
.shop-tabs {
  display: flex;
}

.shop-tab {
  flex: 1 1 0;
  min-width: 0;
  padding: calc(12 * var(--k)) 0;
  background: var(--white);
  border: 1px solid var(--ink);
  font-weight: 900;
  font-size: calc(14 * var(--k));
  line-height: 1.3;
  color: var(--ink);
  white-space: nowrap;
  transition: background-color .2s, color .2s;
}

.shop-tab[aria-selected="true"] {
  background: var(--ink);
  color: var(--white);
  cursor: default;
}

@media (hover: hover) {
  .shop-tab[aria-selected="false"]:hover {
    background: var(--gray);
  }
}

/* 市区町村 */
.shop-city {
  display: flex;
  flex-direction: column;
  gap: calc(6 * var(--k));
}

.shop-city[hidden] {
  display: none;
}

.shop-city__label {
  align-self: flex-start;
  font-weight: 700;
  font-size: calc(13 * var(--k));
  line-height: 1.5;
}

.shop-city__box {
  position: relative;
  display: flex;
  align-items: center;
  height: calc(53 * var(--k));
  padding: 0 calc(44 * var(--k)) 0 calc(14 * var(--k));
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: calc(4 * var(--k));
}

.shop-city__box:has(:focus-visible) {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.shop-city__value {
  overflow: hidden;
  font-weight: 700;
  font-size: calc(15 * var(--k));
  line-height: 1.5;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* 押すと端末の選択画面が開く本体。文字を16pxにして、iPhoneで画面が拡大されないようにする */
.shop-city__select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  font: 700 16px/1.5 var(--font-jp);
  color: var(--ink);
  opacity: 0;
  cursor: pointer;
  appearance: none;
}

.shop-city__select:focus-visible {
  outline: 0;
}

.shop-city__arrow {
  position: absolute;
  top: 50%;
  right: calc(15 * var(--k));
  width: calc(14 * var(--k));
  height: calc(9 * var(--k));
  translate: 0 -50%;
  pointer-events: none;
}

/* 店舗の一覧 */
.shop-list {
  display: flex;
  flex-direction: column;
  gap: calc(20 * var(--k));
}

.shop-card {
  display: flex;
  flex-direction: column;
  gap: calc(12 * var(--k));
  padding: calc(18 * var(--k)) calc(16 * var(--k));
  background: var(--white);
  border: 1px solid var(--line);
}

.shop-card[hidden],
.shop-more[hidden] {
  display: none;
}

.shop-card__head {
  display: flex;
  flex-direction: column;
  gap: calc(12 * var(--k));
}

.shop-card__name {
  display: flex;
  align-items: center;
  gap: calc(8 * var(--k));
  font-weight: 900;
  font-size: calc(20 * var(--k));
  line-height: 1.3;
}

.shop-card__name::before {
  content: "";
  flex: none;
  width: calc(4 * var(--k));
  height: calc(22 * var(--k));
  background: var(--red);
}

.shop-card__name a {
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

@media (hover: hover) {
  .shop-card__name a:hover {
    text-decoration-line: underline;
  }
}

.shop-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: calc(6 * var(--k));
}

.shop-card__chip {
  padding: calc(2 * var(--k)) calc(8 * var(--k));
  background: var(--gray-2);
  border-radius: calc(20 * var(--k));
  font-weight: 700;
  font-size: calc(13 * var(--k));
  line-height: 1.4;
}

.shop-card__chip--vr {
  background: none;
  border: 1px solid var(--red);
  font-family: var(--font-num);
  font-weight: 600;
  font-size: calc(14 * var(--k));
  color: var(--red);
}

.shop-card__info {
  display: flex;
  flex-direction: column;
  gap: calc(6 * var(--k));
}

.shop-card__row {
  display: flex;
  align-items: flex-start;
  gap: calc(12 * var(--k));
}

.shop-card__row dt {
  flex: none;
  width: calc(64 * var(--k));
  font-weight: 700;
  font-size: calc(13 * var(--k));
  line-height: 1.5;
  color: var(--ink-70);
}

.shop-card__row dd {
  flex: 1 1 0;
  min-width: 0;
  font-weight: 500;
  font-size: calc(14 * var(--k));
  line-height: 1.6;
}

.shop-card__row .num {
  font-weight: 500;
  font-size: calc(15 * var(--k));
  line-height: 1.6;
}

.shop-card__note {
  display: block;
  font-size: calc(12 * var(--k));
  line-height: 1.6;
}

.shop-card__reserve {
  display: flex;
  flex-direction: column;
  gap: calc(12 * var(--k));
}

.shop-card__tel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: calc(8 * var(--k));
}

.shop-card__tel-lead {
  font-weight: 700;
  font-size: calc(13 * var(--k));
  line-height: 1.5;
}

.shop-card__tel-num {
  font-weight: 700;
  font-size: calc(21.5 * var(--k));
  line-height: 1.3;
  letter-spacing: .02em;
  white-space: nowrap;
}

/* ほかの店舗を見る */
.shop-more {
  font-size: calc(15 * var(--k));
}

.shop-more .btn__icon {
  width: calc(24 * var(--k));
  height: calc(24 * var(--k));
}

.shop-note {
  font-weight: 700;
  font-size: calc(13 * var(--k));
  line-height: 1.7;
  text-align: center;
}

/* 表示し直した店舗をふわっと出す */
@media (prefers-reduced-motion: no-preference) {
  .shop-card.is-enter {
    animation: shop-enter .45s var(--ease-out) both;
  }
}

@keyframes shop-enter {
  from {
    opacity: 0;
    translate: 0 calc(12 * var(--k));
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

/* JavaScript が動かない環境では、全店舗をそのまま並べる */
html:not(.js) .shop-tabs,
html:not(.js) .shop-city,
html:not(.js) .shop-more {
  display: none;
}

html:not(.js) .shop-panel[hidden] {
  display: block;
}

html:not(.js) .shop-card[hidden] {
  display: flex;
}

@media (min-width: 1024px) {
  .shop {
    padding: 80px 0;
  }

  .shop__inner {
    align-items: center;
    width: var(--content);
    margin: 0 auto;
    gap: 28px;
  }

  .shop-meisters {
    gap: 8.4px;
  }

  .shop-meisters img {
    width: 72.8px;
  }

  .shop-lead {
    font-size: 16px;
  }

  .shop-tabs,
  .shop-city {
    width: 720px;
  }

  .shop-tab {
    padding: 12px 0;
    font-size: 15px;
  }

  .shop-city__label {
    font-size: 15px;
  }

  .shop-city__box {
    height: 54px;
    padding: 0 44px 0 14px;
    border-radius: 4px;
  }

  .shop-city__value {
    font-size: 16px;
  }

  .shop-city__arrow {
    right: 15px;
    width: 14px;
    height: 9px;
  }

  .shop-panel {
    width: 100%;
  }

  .shop-list {
    gap: 16px;
  }

  .shop-card {
    flex-direction: row;
    align-items: center;
    gap: 40px;
    padding: 28px 40px;
  }

  .shop-card__head {
    flex: none;
    width: 280px;
    gap: 12px;
  }

  .shop-card__name {
    gap: 8px;
    font-size: 24px;
  }

  .shop-card--space .shop-card__name {
    font-size: 20px;
  }

  .shop-card__name::before {
    width: 4px;
    height: 22px;
  }

  .shop-card__chips {
    gap: 6px;
  }

  .shop-card__chip {
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 15px;
  }

  .shop-card__chip--vr {
    font-size: 15px;
  }

  .shop-card__info {
    flex: 1 1 0;
    min-width: 0;
    gap: 6px;
  }

  .shop-card__row {
    gap: 12px;
  }

  .shop-card__row dt {
    width: 64px;
    font-size: 16px;
  }

  .shop-card__row dd,
  .shop-card__row .num {
    font-size: 16px;
  }

  .shop-card__note {
    font-size: 13px;
  }

  .shop-card__reserve {
    flex: none;
    width: 300px;
    gap: 10px;
  }

  .shop-card__tel {
    column-gap: 8px;
  }

  .shop-card__tel-lead {
    font-size: 15px;
  }

  .shop-card__tel-num {
    font-size: 26px;
  }

  .shop-more {
    width: 480px;
    font-size: 15px;
  }

  .shop-more .btn__icon {
    width: 24px;
    height: 24px;
  }

  .shop-note {
    font-size: 15px;
  }
}

/* 電話番号と店名は、見た目を変えずに押せる範囲を上下に広げる */
.shop-card__tel-num,
.shop-card__name a {
  position: relative;
}

.shop-card__tel-num::after,
.shop-card__name a::after {
  content: "";
  position: absolute;
  inset: calc(-8 * var(--k)) calc(-6 * var(--k));
}

/* ===== 見積依頼・家族や友人に送る ===== */
.contact-section {
  padding: calc(48 * var(--k)) calc(16 * var(--k)) calc(44 * var(--k));
  background: var(--white);
}

.contact-inner {
  display: flex;
  flex-direction: column;
  gap: calc(20 * var(--k));
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: calc(20 * var(--k));
}

.contact-box {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: calc(10 * var(--k));
  padding: calc(24 * var(--k)) calc(22 * var(--k));
  background: var(--cream);
}

/* 飾り枠：四隅は1枚ずつ置き、辺は短い柄をくり返して箱の大きさに合わせる */
.contact-frame {
  position: absolute;
  inset: calc(6 * var(--k));
  background:
    url("../image/contact-frame-tl.svg") left top / calc(22 * var(--k)) calc(22 * var(--k)) no-repeat,
    url("../image/contact-frame-tr.svg") right top / calc(22 * var(--k)) calc(22 * var(--k)) no-repeat,
    url("../image/contact-frame-bl.svg") left bottom / calc(22 * var(--k)) calc(22 * var(--k)) no-repeat,
    url("../image/contact-frame-br.svg") right bottom / calc(22 * var(--k)) calc(22 * var(--k)) no-repeat;
  pointer-events: none;
}

.contact-frame::before,
.contact-frame::after {
  content: "";
  position: absolute;
}

.contact-frame::before {
  inset: 0 calc(22 * var(--k));
  background:
    url("../image/contact-frame-top-sp.svg") left top / calc(9 * var(--k)) calc(22 * var(--k)) repeat-x,
    url("../image/contact-frame-bottom-sp.svg") left bottom / calc(9 * var(--k)) calc(22 * var(--k)) repeat-x;
}

.contact-frame::after {
  inset: calc(22 * var(--k)) 0;
  background:
    url("../image/contact-frame-left-sp.svg") left top / calc(22 * var(--k)) calc(9 * var(--k)) repeat-y,
    url("../image/contact-frame-right-sp.svg") right top / calc(22 * var(--k)) calc(9 * var(--k)) repeat-y;
}

.contact-box__main {
  display: flex;
  flex-direction: column;
  gap: calc(10 * var(--k));
}

.contact-box__head {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--k));
}

.contact-box__title {
  font-weight: 900;
  font-size: calc(18 * var(--k));
  line-height: 1.5;
}

.contact-box__deco {
  flex: none;
}

.contact-box__deco--estimate {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(36.15 * var(--k));
  height: calc(14 * var(--k));
}

.contact-box__deco--estimate img {
  flex: none;
  width: calc(14 * var(--k));
  height: calc(36.15 * var(--k));
  max-width: none;
  rotate: 90deg;
}

.contact-box__deco--share {
  width: calc(50 * var(--k));
  height: calc(24.67 * var(--k));
}

.contact-box__text {
  font-weight: 500;
  font-size: calc(14 * var(--k));
  line-height: calc(24 * var(--k));
}

.contact-estimate {
  font-size: calc(15 * var(--k));
}

.contact-estimate .btn__icon {
  width: calc(24 * var(--k));
  height: calc(24 * var(--k));
}

.contact-share {
  display: flex;
  align-items: flex-start;
  gap: calc(8 * var(--k));
}

.contact-share__btn {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: calc(14 * var(--k)) calc(8 * var(--k));
  border-radius: calc(4 * var(--k));
  font-weight: 900;
  font-size: calc(15 * var(--k));
  line-height: 1.5;
  text-align: center;
  transition: opacity .2s;
}

.contact-share__btn--line {
  background: #06c755;
  color: var(--white);
}

.contact-share__en {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: calc(16 * var(--k));
}

.contact-share__btn--mail {
  background: var(--white);
  border: calc(1.5 * var(--k)) solid var(--ink);
}

@media (hover: hover) {
  .contact-share__btn:hover {
    opacity: .75;
  }
}

@media (min-width: 1024px) {
  .contact-section {
    padding: 80px 0 96px;
  }

  .contact-inner {
    width: var(--content);
    margin: 0 auto;
    gap: 40px;
  }

  .contact-list {
    gap: 24px;
  }

  .contact-box {
    flex-direction: row;
    align-items: center;
    gap: 40px;
    padding: 40px 64px;
  }

  .contact-frame {
    inset: 6px;
    background-size: 22px 22px;
  }

  .contact-frame::before {
    inset: 0 22px;
    background-image: url("../image/contact-frame-top.svg"), url("../image/contact-frame-bottom.svg");
    background-size: 15px 22px;
  }

  .contact-frame::after {
    inset: 22px 0;
    background-image: url("../image/contact-frame-left.svg"), url("../image/contact-frame-right.svg");
    background-size: 22px 15px;
  }

  .contact-box__main {
    flex: 1;
    min-width: 0;
    gap: 10px;
  }

  .contact-box__head {
    gap: 10px;
  }

  .contact-box__title {
    font-size: 28px;
  }

  .contact-box__deco--estimate {
    width: 36.15px;
    height: 14px;
  }

  .contact-box__deco--estimate img {
    width: 14px;
    height: 36.15px;
  }

  .contact-box__deco--share {
    width: 50px;
    height: 24.67px;
  }

  .contact-box__text {
    font-size: 17px;
    line-height: 29px;
  }

  .contact-estimate {
    flex: none;
    width: 440px;
    font-size: 15px;
  }

  .contact-estimate .btn__icon {
    width: 24px;
    height: 24px;
  }

  .contact-share {
    flex: none;
    width: 440px;
    gap: 8px;
  }

  .contact-share__btn {
    padding: 14px 8px;
    border-radius: 4px;
    font-size: 16px;
  }

  .contact-share__en {
    font-size: 18px;
  }

  .contact-share__btn--mail {
    border-width: 1.5px;
  }
}

/* ===== フッター ===== */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(16 * var(--k));
  padding: calc(32 * var(--k)) calc(16 * var(--k)) calc(calc(98 * var(--k)) + env(safe-area-inset-bottom));
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.site-footer__logo {
  display: block;
  width: calc(263.49 * var(--k));
}

.site-footer__logo img {
  width: 100%;
}

.site-footer__sns {
  display: flex;
  font-family: var(--font-num);
  font-size: calc(15 * var(--k));
  font-weight: 600;
  line-height: 1.5;
}

.site-footer__copy {
  color: rgba(255, 255, 255, .75);
  font-size: calc(13 * var(--k));
  font-weight: 500;
  line-height: 1.5;
}

.site-footer__copy small {
  font-size: inherit;
}

.site-footer__copy-en {
  font-family: var(--font-num);
  font-size: calc(14 * var(--k));
  font-weight: 500;
}

@media (hover: hover) {
  .site-footer__logo,
  .site-footer__sns a {
    transition: opacity .15s;
  }

  .site-footer__logo:hover,
  .site-footer__sns a:hover {
    opacity: .75;
  }
}

@media (min-width: 1024px) {
  .site-footer {
    gap: 16px;
    padding: 56px 16px 48px;
  }

  .site-footer__logo {
    width: 263.49px;
  }

  .site-footer__sns {
    font-size: 16px;
  }

  .site-footer__copy,
  .site-footer__copy-en {
    font-size: 15px;
  }
}

/* ===== 画面下の追従ボタン ===== */
.fixed-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: calc(8 * var(--k)) calc(16 * var(--k)) calc(calc(8 * var(--k)) + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 calc(-2 * var(--k)) calc(10 * var(--k)) rgba(0, 0, 0, .12);
  visibility: hidden;
  translate: 0 110%;
  transition: translate .35s var(--ease-out), visibility 0s linear .35s;
}

.fixed-cta.is-visible {
  visibility: visible;
  translate: 0 0;
  transition: translate .35s var(--ease-out), visibility 0s;
}

.fixed-cta__btns {
  display: flex;
  gap: calc(8 * var(--k));
  padding-bottom: calc(4 * var(--k));
}

.fixed-cta .btn {
  flex: 1 1 0;
  gap: calc(6 * var(--k));
  min-height: calc(62 * var(--k));
  padding: 0 calc(2 * var(--k)) 0 calc(8 * var(--k));
  font-size: calc(16 * var(--k));
  letter-spacing: .02em;
}

.fixed-cta .btn--primary {
  line-height: 1.2;
  text-align: left;
}

.fixed-cta .btn__icon {
  width: calc(20 * var(--k));
  height: calc(20 * var(--k));
}

.fixed-cta .btn__arrow {
  width: calc(18 * var(--k));
  height: calc(18 * var(--k));
}

.fixed-cta .btn--ghost .btn__arrow {
  rotate: 90deg;
}

@media (prefers-reduced-motion: reduce) {
  .fixed-cta,
  .fixed-cta.is-visible {
    transition: none;
  }
}

@media (min-width: 1024px) {
  .fixed-cta {
    display: none;
  }
}

/* Instagram は、見た目を変えずに押せる範囲を上下に広げる */
.site-footer__sns a {
  position: relative;
}

.site-footer__sns a::after {
  content: "";
  position: absolute;
  inset: calc(-11 * var(--k)) calc(-8 * var(--k));
}
