/* エコビルド パッシーナ モデルハウスLP（STUDIO書き出しからのコード化）
   基準は 640px 以下（フル幅）。641px 以上は中央 480px の本文カラム、841px 以上でフォーム等の文字級数を上げ、
   1141px 以上で左に固定レール（ロゴ・ナビ・予約カード）＋本文カラムを右寄せ（右余白 200px）にする */

:root {
  --ink: #242424;
  --sub: #474747;
  --mute: #cccaca;
  --gold: #aca08d;
  --paper: #f5f5f5;
  --slider-gray: #707070;
  --serif: "Noto Serif JP", serif;
  --sans: "Noto Sans JP", sans-serif;
  --ease: cubic-bezier(0.4, 0.4, 0, 1);

  --fv-top: 100px;
  --fv-gap: 32px;
  --fv-head-gap: 16px;
  --fv-logo-mb: 40px;
  --fs-fv-title: 32px;
  --ls-fv-title: 1.6px;
  --fs-fv-place: 16px;
  --ls-fv-place: 0.8px;
  --fs-concept-ttl: 24px;
  --ls-concept-ttl: 1.2px;
  --fs-mitem-ttl: 20px;
  --lh-mitem-ttl: 24px;
  --ls-mitem-ttl: 0.4px;
  --fs-btn: 16px;
  --ls-btn: 0.8px;
  --fs-kv: 14px;
  --ls-kv: 0.7px;
  --fs-card-ttl: 18px;
  --ls-card-ttl: 0.9px;
  --fs-tel-label: 20px;
  --fs-tel-num: 40px;
  --fs-tel-note: 12px;
  --lh-tel-note: 16.8px;
  --ls-tel-note: 0.24px;

  --fs-req: 13px;
  --ls-req: 0;
  --fs-lab: 16px;
  --ls-lab: 0;
  --mb-lab: 16px;
  --mt-pick: 8px;
  --fs-hint: 12px;
  --lh-hint: 18px;
  --ls-hint: 0;
  --fs-lead: 13px;
  --lh-lead: 26px;
  --lh-body: 18px;
  --mb-area: 16px;
  --mt-privacy: 24px;
  --fs-priv: 13px;
  --lh-priv: 23.4px;
  --ls-priv: 0.65px;
  --mt-agree: 20px;
  --mt-submit: 30px;
  --radius-input: 4px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
p,
dt,
dd {
  overflow-wrap: anywhere;
  word-break: break-word;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

[hidden] {
  display: none !important;
}

/* ---------- 背景・レール・ヘッダー ---------- */

.bg {
  display: none;
  position: fixed;
  inset: 0;
  background: #eee url("img/bg-page.webp") 50% 50% / cover no-repeat;
}

.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 55px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.header__logo img {
  width: 45px;
  height: 40px;
}

.header__menu-btn {
  width: 44px;
  height: 23px;
  padding: 5px 10px 3px;
}

.header__bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.header__bars span {
  display: block;
  height: 1px;
  background: var(--ink);
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: #6f6a6a;
  opacity: 1;
  transition: opacity 0.3s var(--ease);
}

.menu.is-closing {
  opacity: 0;
}

.menu__bar {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 55px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 40px;
}

.menu__close svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.4;
}

.menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.menu__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.menu__list a {
  display: block;
  color: #fff;
  font-size: 16px;
  line-height: 22.4px;
}

.fixedcta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  display: block;
}

.fixedcta img {
  width: 100%;
  height: auto;
}

.rail {
  display: none;
}

/* ---------- 本文カラム ---------- */

.frame {
  position: relative;
  background: #fff;
}

.sec-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sec-head__en {
  color: var(--mute);
  font-size: 32px;
  letter-spacing: 3.2px;
  line-height: 32px;
}

.sec-head__jp {
  color: var(--sub);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.8px;
  line-height: 16px;
}

/* FV */

.fv {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: #fff;
}

.fv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("img/fv-sp.webp") 50% 100% / cover no-repeat;
}

.fv__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  height: 100%;
}

.fv__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--fv-gap);
  width: 100%;
  margin-top: var(--fv-top);
}

.fv__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--fv-head-gap);
}

.fv__ttl {
  color: #fff;
  font-family: var(--serif);
  font-size: var(--fs-fv-title);
  font-weight: 400;
  letter-spacing: var(--ls-fv-title);
  line-height: 40px;
}

.fv__place {
  color: #fff;
  font-family: var(--serif);
  font-size: var(--fs-fv-place);
  font-weight: 500;
  letter-spacing: var(--ls-fv-place);
  line-height: 16px;
}

.fv__pic {
  display: block;
  width: 70%;
  max-width: 374px;
}

@media (max-width: 320px) {
  .fv__pic {
    width: 80%;
  }
}

.fv__date {
  width: 100%;
  height: auto;
}

.fv__logo {
  width: 108px;
  height: 33px;
  margin-bottom: var(--fv-logo-mb);
}

/* コンセプト */

.concept__in {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 80px 24px;
}

.concept__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.concept__ttl {
  font-size: var(--fs-concept-ttl);
  font-weight: 300;
  letter-spacing: var(--ls-concept-ttl);
  line-height: var(--fs-concept-ttl);
}

.concept__img {
  width: 100%;
}

.concept__txt {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.concept__txt p {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.32px;
  line-height: 32px;
}

/* モデルハウスのご紹介 */

.model {
  position: relative;
  background: var(--paper);
}

.model::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("img/bg-model.webp") 50% 50% / cover no-repeat;
}

.model__in {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 80px 24px;
}

.model__content {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.model__body {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.model__main {
  width: 100%;
}

.model__list {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.mitem {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mitem__num {
  width: 59px;
  height: auto;
}

.mitem__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mitem__ttl {
  font-size: var(--fs-mitem-ttl);
  font-weight: 300;
  letter-spacing: var(--ls-mitem-ttl);
  line-height: var(--lh-mitem-ttl);
}

.mitem__img {
  width: 100%;
}

.mitem__txt {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.7px;
  line-height: 28px;
}

.cta-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  border-radius: 8px;
  background: var(--ink);
}

.cta-card--end {
  margin: 40px 0;
}

.cta-card__img {
  width: 100%;
}

.cta-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 52px;
  padding: 14px 0;
  border-radius: 40px;
  background: var(--gold);
  color: #fff;
  font-size: var(--fs-btn);
  letter-spacing: var(--ls-btn);
  line-height: 20px;
}

.cta-card__btn svg {
  flex: none;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
}

.spec {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.spec__main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.plan,
.spec__main > section,
.spec > section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.spec__ttl {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 0.48px;
  line-height: 28.8px;
}

.plan__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.plan__btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 16px;
  border: 1px solid #808080;
  background: #fff;
}

.plan__img {
  width: 100%;
}

.plan__zoom {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--gold);
}

.plan__zoom img {
  width: 14px;
  height: 14px;
}

.kv {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kv__row {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.8px;
  line-height: 1;
}

.kv__row dt {
  flex: none;
  width: 68px;
}

.kv__row dd:first-of-type {
  flex: none;
}

.kv--access {
  gap: 8px;
}

.kv--access .kv__row {
  align-items: flex-start;
  font-size: var(--fs-kv);
  letter-spacing: var(--ls-kv);
}

.kv--access .kv__row:first-child {
  line-height: 1.3;
}

.spec__line {
  height: 1px;
  margin: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.2);
}

.map {
  height: 240px;
  overflow: hidden;
}

.map iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* 設計思想・お約束のスライダー */

.philosophy {
  padding-top: 80px;
  background: #fff;
}

.philosophy__head,
.promise__head {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 0 24px;
}

.philosophy__lead,
.promise__lead {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.32px;
  line-height: 32px;
}

.slider {
  position: relative;
  margin-top: 40px;
  overflow: hidden;
  padding-bottom: var(--slider-pb, 48px);
}

.philosophy .slider {
  --track-h: 537px;
  margin-bottom: 48px;
}

.slider__track {
  display: grid;
  grid-template-rows: var(--track-h, auto);
}

.slider__slide {
  display: flex;
  grid-area: 1 / 1;
  align-items: stretch;
  justify-content: center;
}

.slider__slide:not(:first-child) {
  display: none;
}

.slider.is-ready .slider__slide {
  display: flex;
  transition: transform 0.6s var(--ease);
}

.slider__nav {
  position: absolute;
  top: var(--nav-top, 233px);
  right: 24px;
  left: 24px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.slider__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--slider-gray);
  border-radius: 50%;
  background: var(--slider-gray);
  pointer-events: auto;
}

.slider__btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 80%;
  padding: 32px 24px;
  border: 1px solid var(--ink);
  background: var(--paper);
}

.card__ttl {
  font-size: var(--fs-card-ttl);
  font-weight: 400;
  letter-spacing: var(--ls-card-ttl);
  line-height: 1;
}

.card__img {
  width: 308px;
}

.card__txt {
  align-self: stretch;
  font-size: 14px;
  font-weight: 300;
  line-height: 25.2px;
}

.gallery {
  height: 150px;
  overflow: hidden;
}

.gallery__track {
  display: flex;
  width: max-content;
  animation: gallery-loop 26.667s linear infinite;
}

.gallery__track li {
  flex: none;
  width: 200px;
  height: 150px;
  background: #f0f0f0;
}

.gallery__track img {
  width: 200px;
  height: 150px;
  object-fit: cover;
}

@keyframes gallery-loop {
  to {
    transform: translateX(-800px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery__track {
    animation: none;
  }
}

/* お問い合わせフォーム */

.entry {
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding: 80px 24px;
  background: rgba(245, 245, 245, 0.933);
}

.entry__form {
  width: 100%;
}

.entry__form .wpcf7-form-control-wrap {
  position: relative;
  display: block;
}

.field {
  margin-top: 40px;
}

.field:first-child {
  margin-top: 0;
}

.field__lab {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: var(--mb-lab);
  font-size: var(--fs-lab);
  letter-spacing: var(--ls-lab);
  line-height: var(--fs-lab);
}

.field--date .field__lab {
  margin-bottom: 16px;
}

.field--area .field__lab {
  margin-bottom: var(--mb-area);
  font-size: 16px;
  line-height: 22.4px;
}

.req,
.opt {
  display: block;
  padding: 6px 18px;
  background: var(--ink);
  color: #fff;
  font-size: var(--fs-req);
  letter-spacing: var(--ls-req);
  line-height: var(--fs-req);
}

.opt {
  background: #b4b4b4;
}

.input {
  display: block;
  width: 100%;
  height: 50px;
  padding: 15px 16px;
  border: 0;
  border-radius: var(--radius-input);
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 22.4px;
  appearance: none;
}

.input::placeholder {
  color: #c6c6c6;
  opacity: 1;
}

.input--pick {
  padding: 15px 10px;
  border: 1px solid #eee;
  border-radius: 0;
  color: #333;
  font-family: "Shippori Mincho", serif;
}

.input--pick::placeholder {
  color: #d5d5d5;
}

.input--select {
  height: 54px;
  margin-top: var(--mt-pick);
}

.entry__form [data-name^="your-date"]::after,
.entry__form [data-name^="your-time"]::after {
  content: "";
  position: absolute;
  top: 0;
  right: 11px;
  bottom: 0;
  width: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bdbdbd' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") 50% 50% / 20px no-repeat;
  pointer-events: none;
}

.input--area {
  height: 144px;
  padding: 5px 16px 0;
  line-height: 24px;
  resize: none;
}

.field__note {
  margin-top: 16px;
  font-size: var(--fs-hint);
  letter-spacing: var(--ls-hint);
  line-height: var(--lh-hint);
}

/* 日時欄の注記だけ元どおり字間 0.05em（ドメイン受信の注記は字間なし） */
.field--date .field__note {
  letter-spacing: 0.05em;
}

.field__note--lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
}

.field__note--body {
  margin-top: 0;
  font-size: var(--fs-hint);
  line-height: var(--lh-body);
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.field-group .field {
  margin-top: 0;
}

.privacy-box {
  height: 220px;
  margin-top: var(--mt-privacy);
  padding: 16px 26px;
  overflow-y: auto;
  background: #fff;
  font-size: var(--fs-priv);
  letter-spacing: var(--ls-priv);
  line-height: var(--lh-priv);
}

.privacy-box h3 {
  margin: 10px 0;
  font-size: inherit;
  font-weight: 400;
}

.privacy-box p {
  margin: 10px 0;
}

.agree {
  margin-top: var(--mt-agree);
  font-size: var(--fs-req);
  line-height: var(--fs-req);
  text-align: center;
}

/* CF7 はチェックボックスを inline-block（左余白1em）で包むので、余白を消して中央に置く */
.agree .wpcf7-list-item {
  margin: 0;
}

.agree label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.agree input {
  flex: none;
  margin: 0;
}

.entry__form .wpcf7-submit,
.entry__form input[type="submit"] {
  display: block;
  width: 100%;
  height: 56px;
  margin-top: var(--mt-submit);
  padding: 18px 15px;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  font-family: var(--sans);
  font-size: 20px;
  letter-spacing: 4px;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
}

.entry__form .wpcf7-spinner {
  display: none;
}

.entry__form .wpcf7-form.submitting .wpcf7-spinner {
  display: inline-block;
}

/* CF7標準のエラー表示は消す（validationEngine のメッセージだけ見せる）。送信失敗（failed / aborted）の表示は残す */
.entry__form .wpcf7-not-valid-tip {
  display: none !important;
}

.entry__form .wpcf7-form.invalid .wpcf7-response-output,
.entry__form .wpcf7-form.unaccepted .wpcf7-response-output {
  display: none !important;
}

.entry__form br {
  display: none;
}

.privacy-box br,
.field__note br {
  display: inline;
}

.tel-card {
  display: block;
  border-radius: 10px;
  background: linear-gradient(135deg, #707070 0%, #9b9898 100%);
  color: #fff;
}

.tel-card__in {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 40px 0;
}

.tel-card__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding-bottom: 16px;
  border-bottom: 1px solid #fff;
  font-size: var(--fs-tel-label);
  font-weight: 300;
  line-height: 24px;
}

.tel-card__label img {
  width: 20px;
  height: 20px;
}

.tel-card__num {
  margin-top: 8px;
  font-family: Roboto, sans-serif;
  font-size: var(--fs-tel-num);
  line-height: var(--fs-tel-num);
}

.tel-card__note {
  font-size: var(--fs-tel-note);
  letter-spacing: var(--ls-tel-note);
  line-height: var(--lh-tel-note);
  text-align: left;
}

/* 見学会でのお約束 */

.promise {
  padding: 80px 0;
  background: #fff;
}

.promise .slider {
  --nav-top: 118px;
  --track-h: 350px;
}

.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 80%;
  padding: 24px;
  border: 1px solid var(--ink);
  background: #efefef;
}

.pcard__slash {
  position: absolute;
  top: var(--slash-top, 35px);
  left: var(--slash-left, 24.5px);
  width: 32px;
  height: 1px;
  transform: rotate(-45deg);
}

.pcard__head {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: var(--pcard-gap, 12px);
  margin-top: var(--pcard-mt, 35px);
  padding-bottom: 24px;
  border-bottom: 1px solid #919191;
}

.pcard__icon {
  flex: none;
}

.pcard__hd {
  display: flex;
  flex-direction: column;
  gap: var(--pcard-gap, 12px);
  font-size: 14px;
  letter-spacing: 0.7px;
}

.pcard__no {
  line-height: 14px;
}

.pcard__ttl {
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
}

.pcard__txt {
  font-size: 14px;
  font-weight: 300;
  line-height: 22.4px;
}

/* 会社概要 */

.company {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 80px 24px;
  background: var(--paper);
}

.company__list {
  border-bottom: 1px solid var(--mute);
}

.company__row {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 32px 0;
  border-top: 1px solid var(--mute);
  font-size: 14px;
  line-height: 19.6px;
}

.company__row dt {
  flex: none;
  width: 80px;
}

.company__row--multi dd {
  line-height: 28px;
}

/* フッター */

.footer {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 80px 24px 160px;
  background: #858585;
  color: #fff;
}

.footer__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer__logo {
  width: 80px;
  height: 40px;
  margin-bottom: 8px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 40px 24px 40px 0;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

.footer__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer__list a {
  display: block;
  padding-left: 20px;
  font-size: 16px;
  line-height: 22.4px;
}

.footer__copy {
  font-size: 12px;
  letter-spacing: 0.6px;
  line-height: 16.8px;
}

.footer__top {
  display: flex;
  justify-content: flex-end;
}

.footer__top img {
  width: 50px;
  height: 50px;
}

/* 間取り図モーダル */

.modal {
  position: fixed;
  inset: 0;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s var(--ease);
}

.modal.is-closing {
  opacity: 0;
}

.modal__base {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.16);
  cursor: default;
}

.modal__box {
  position: relative;
  width: min(900px, calc(100% - 40px));
}

.modal__close {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 0 8px auto;
  border-radius: 50%;
  background: #fff;
}

.modal__close svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #333;
  stroke-width: 2;
}

.modal__body {
  position: relative;
  padding: 16px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.modal__body img {
  width: 100%;
}

/* ---------- 641px 以上：中央 480px のカラム ---------- */

@media (min-width: 641px) {
  .fv__pic {
    width: 80%;
    max-width: none;
  }

  .modal__close {
    width: 50px;
    height: 50px;
  }

  .modal__close svg {
    width: 32px;
    height: 32px;
  }

  :root {
    --fv-top: 140px;
    --fv-gap: 48px;
    --fv-head-gap: 32px;
    --fv-logo-mb: 32px;
    --fs-fv-title: 48px;
    --ls-fv-title: 2.4px;
    --fs-fv-place: 20px;
    --ls-fv-place: 1px;
    --fs-concept-ttl: 28px;
    --ls-concept-ttl: 1.4px;
    --fs-mitem-ttl: 24px;
    --lh-mitem-ttl: 28.8px;
    --ls-mitem-ttl: 0.48px;
    --fs-btn: 20px;
    --ls-btn: 1px;
    --fs-kv: 16px;
    --ls-kv: 0.8px;
    --fs-card-ttl: 20px;
    --ls-card-ttl: 1px;
    --fs-tel-label: 24px;
    --fs-tel-num: 48px;
    --fs-tel-note: 14px;
    --lh-tel-note: 19.6px;
    --ls-tel-note: 0.28px;
    --slider-pb: 64px;
    --nav-top: 234px;

    --fs-lab: 14px;
    --ls-lab: 0.7px;
    --lh-body: 21.6px;
    --mb-lab: 30px;
    --mt-pick: 30px;
    --mb-area: 41px;
    --mt-agree: 20px;
    --mt-submit: 30px;
    --mt-privacy: 40px;
    --fs-priv: 14px;
    --lh-priv: 21px;
    --ls-priv: 0.7px;
    --radius-input: 0;
  }

  .bg {
    display: block;
  }

  .header,
  .fixedcta,
  .menu {
    display: none !important;
  }

  .frame {
    width: 480px;
    margin: 0 auto;
  }

  .fv::before {
    background-image: url("img/fv-pc.webp");
    background-position: 50% 50%;
  }

  .cta-card__btn {
    justify-content: flex-end;
    gap: 56px;
    padding: 14px 16px 14px 0;
  }

  .cta-card--end {
    margin: 40px 23px;
  }

  .kv--access .kv__row {
    align-items: center;
  }

  .plan__zoom {
    width: 48px;
    height: 47px;
    padding: 10px 10px 10px 11px;
  }

  .plan__zoom img {
    width: 27px;
    height: 27px;
  }

  .slider__nav {
    right: 14px;
    left: 10px;
  }

  .slider__btn {
    width: 40px;
    height: 40px;
  }

  .slider__btn svg {
    width: 20px;
    height: 20px;
  }

  .card {
    width: 365px;
    padding: 20px;
  }

  .slider__slide {
    padding: 0 12px;
  }

  .philosophy .slider {
    --track-h: 503px;
  }

  .promise .slider {
    --nav-top: 118px;
    --track-h: 315px;
  }

  .promise .slider__nav {
    right: 24px;
    left: 24px;
  }

  .pcard {
    --slash-top: 11px;
    --slash-left: 21.5px;
    --pcard-gap: 16px;
    --pcard-mt: 15px;
    width: 319px;
    padding: 20px;
  }

  .footer {
    padding-bottom: 80px;
  }

  .footer__logo {
    margin-bottom: 8px;
  }
}

/* ---------- 841px 以上 ---------- */

@media (min-width: 841px) {
  :root {
    --slider-pb: 0px;
    --fs-req: 14px;
    --ls-req: 0.7px;
    --fs-lab: 16px;
    --ls-lab: 0.8px;
    --mb-lab: 16px;
    --mt-pick: 8px;
    --fs-hint: 14px;
    --lh-hint: 21px;
    --fs-lead: 14px;
    --lh-lead: 28px;
    --lh-body: 25.2px;
    --mb-area: 26px;
    --mt-agree: 32px;
    --mt-submit: 40px;
  }

  .slider__slide {
    padding: 0;
  }

  .card {
    width: 80%;
    padding: 32px 24px;
  }

  .pcard {
    --slash-top: 31px;
    --slash-left: 24.5px;
    width: 70%;
    padding: 40px 24px;
  }
}

/* ---------- 1141px 以上：左レール＋右寄せカラム ---------- */

@media (min-width: 1141px) {
  .frame {
    margin: 0 200px 0 auto;
  }

  .rail {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    height: 100vh;
  }

  .rail__inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 434px;
  }

  .rail__logo {
    align-self: center;
  }

  .rail__logo img {
    width: 80px;
    height: 40px;
  }

  .rail__nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 40px 0;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
  }

  .rail__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .rail__list a {
    display: block;
    padding-left: 20px;
    color: #fff;
    font-family: var(--serif);
    font-size: 16px;
    font-weight: 500;
    line-height: 22.4px;
  }
}

/* ホバー（元STUDIOと同じ。ボタン類は641px以上のみ、SPメニューの線は全幅） */

.menu__list a,
.rail__list a {
  position: relative;
}

.menu__list a::before,
.rail__list a::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 16px;
  height: 1px;
  background: #fff;
  opacity: 0;
  rotate: 126deg;
}

.menu__list a::before {
  left: -20px;
}

.rail__list a::before {
  left: 0;
}

.menu__list a:hover::before,
.rail__list a:hover::before {
  opacity: 1;
}

@media (min-width: 641px) {
  .cta-card:hover .cta-card__btn {
    background: #fff;
    color: var(--gold);
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
  }

  .cta-card:hover .cta-card__btn svg {
    stroke: var(--gold);
  }

  .slider__btn:hover {
    background: #fff;
  }

  .slider__btn:hover svg {
    stroke: var(--slider-gray);
  }

  .entry__form .wpcf7-submit:hover,
  .entry__form input[type="submit"]:hover {
    border: 1px solid #112222;
    background: #fff;
    color: #112222;
  }

  .tel-card:hover {
    opacity: 0.75;
    transition: opacity 0.3s ease-in-out;
  }
}
