/*
  飯島建設 オープンハウスLP（iikenhouse-openhouse）
  SP（640px以下）を基準に書き、641px以上でPC幅の値に上げる。
  - 641px以上 … 本文480px中央カラム。FV・各余白をPC値に
  - 641〜840px … フォームだけタブレット用の値（元デザインどおり）
  - 1141px以上 … 左右に固定レール（メニュー／予約バナー）
*/

:root {
  --ink: #242424;
  --text: #333;
  --white: #fff;
  --paper: #edeff2;
  --gray: #e6e6e6;
  --slate: #6d757d;
  --dark: #333;
  --line: #b6c4d1;
  --rule: #798692;
  --field-line: #d5d5d5;
  --ph: #d5d5d5;
  --ph-select: #aeaeae;
  --f-en: "Outfit", sans-serif;
  --f-mincho: "Shippori Mincho", serif;
  --f-old: "Zen Old Mincho", serif;
  --f-gothic: "Zen Kaku Gothic New", sans-serif;
  --frame-w: 480px;
  --sec-gap: 40px;
  --gutter: 24px;
  --fs-lab: 16px;
  --fs-tag: 13px;
  --form-gap: 16px;
  --tel-w: 253.44px;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--text);
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
}

.frame,
.frame *,
.frame *::before,
.frame *::after,
.header,
.header *,
.menu,
.menu *,
.rail,
.rail *,
.spbar,
.spbar * {
  box-sizing: border-box;
}

:where(.frame, .rail, .menu, .spbar, .header) img {
  display: block;
  max-width: 100%;
  height: auto;
}

:where(.frame) :where(p, h1, h2, h3, ul, dl, dd, figure) {
  margin: 0;
  padding: 0;
}

:where(.frame) ul {
  list-style: none;
}

:where(.frame) a {
  color: inherit;
  text-decoration: none;
}

.frame,
.menu,
.rail,
.header {
  -webkit-font-smoothing: antialiased;
  word-spacing: 1px;
}

.frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--frame-w);
  margin: 0 auto;
  background: var(--white);
  overflow-x: clip;
}

/* ---------- 共通：ボタン ---------- */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  height: 48px;
  padding: 0 40px;
  background: var(--white);
  box-shadow: 0 4px 4px 0 rgba(115, 123, 132, 0.25);
  color: var(--text);
  font-family: var(--f-old);
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 48px;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 0.3s ease-in-out,
    color 0.3s ease-in-out;
}

.btn--dark {
  background: var(--ink);
  color: var(--white);
}

.btn--cta {
  width: 320px;
  height: 64px;
  padding: 8px 40px;
}

/* ---------- 共通：セクション見出し ---------- */
.sec-hd {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.sec-hd__txt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.sec-hd__en {
  color: var(--ink);
  font-family: var(--f-en);
  font-size: 24px;
  letter-spacing: 1.2px;
  line-height: 32px;
}

.sec-hd__ja {
  color: var(--ink);
  font-family: var(--f-gothic);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.56px;
  line-height: 14px;
}

.sec-hd__line {
  display: block;
  width: 80px;
  height: 1px;
  background: var(--line);
}

.sec-hd--dark .sec-hd__en {
  color: var(--white);
}

.sec-hd--dark .sec-hd__ja {
  color: var(--line);
}

/* ---------- ヘッダー（SPのみ） ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 56px;
  padding: 14px 24px;
  background: rgba(36, 36, 36, 0.3);
  -webkit-backdrop-filter: blur(26px);
  backdrop-filter: blur(26px);
}

.header__logo {
  display: block;
  width: 127px;
  height: 41px;
}

.header__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 28px;
  padding: 10px 10px 8px;
  border: 0;
  background: none;
  cursor: pointer;
}

.header__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 24px;
  height: 18px;
}

.header__bars i {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
}

/* ---------- SPメニュー ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0.4, 0, 1);
}

.menu[hidden] {
  display: none;
}

.menu.is-open {
  opacity: 1;
}

.menu__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.16)),
    url("img/menu-bg.webp") center / cover no-repeat;
}

.menu__bar {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 56px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(26px);
  backdrop-filter: blur(26px);
}

.menu__logo {
  display: block;
  width: 127px;
  height: 41px;
}

.menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 6px;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu__nav {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.menu__link {
  color: var(--white);
  font-family: var(--f-mincho);
  font-size: 16px;
  letter-spacing: 0.8px;
  line-height: 16px;
  text-decoration: none;
}

.menu__cta {
  background: #eee;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

/* ---------- SP下部固定バー ---------- */
.spbar {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 5;
  width: 100%;
}

/* ---------- 固定背景＋左右レール（641px以上） ---------- */
.bg {
  display: none;
}

/* ---------- FV ---------- */
.fv__title {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 40vh;
  background: url("img/fv-title-bg.webp") center / cover no-repeat;
  animation: fv-fade 1s linear both;
}

.fv__title-img {
  width: 75%;
  margin-bottom: 14px;
}

.fv__title-img img {
  width: 100%;
  height: auto;
}

.fv__slides {
  position: relative;
  height: 60vh;
  overflow: hidden;
}

.fv__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s linear;
}

.fv__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: fv-zoom 4s ease-out both;
}

.fv__slide:first-child img {
  object-position: center bottom;
}

.fv__slide.is-prev {
  z-index: 1;
  opacity: 1;
}

.fv__slide.is-active {
  z-index: 2;
  opacity: 1;
}

@keyframes fv-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fv-zoom {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1);
  }
}

/* ---------- 予約バナー（FV直下・会社概要下） ---------- */
.cta {
  padding: 40px;
  background: center / cover no-repeat;
}

.cta--fv {
  background-image: url("img/cta-bg-fv.webp");
}

.cta--company {
  background-image: url("img/cta-bg-company.webp");
}

.cta--company .btn {
  font-family: var(--f-mincho);
}

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

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

/* ---------- コンセプト ---------- */
.concept {
  padding: 80px 24px;
  background: var(--white) url("img/concept-bg.webp") center / cover no-repeat;
}

.concept__in {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

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

.concept__catch {
  color: var(--ink);
  font-family: var(--f-mincho);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 36px;
  text-align: center;
}

/* 1行固定（入りきらない幅では文字を小さく） */
.concept__catch--one {
  white-space: nowrap;
  font-size: min(20px, calc((min(100vw, var(--frame-w)) - 48px) / 20));
}

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

.concept__text {
  width: 100%;
  color: var(--ink);
  font-family: var(--f-gothic);
  font-size: 16px;
  letter-spacing: 0.64px;
  line-height: 32px;
  text-align: center;
}

/* ---------- 完成見学会のご紹介 ---------- */
.open {
  padding: 80px 0 0;
  background: var(--paper);
}

.open__in {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.open__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  width: 100%;
  padding: 0 24px 56px;
}

.points {
  display: flex;
  flex-direction: column;
  gap: 56px;
  width: 100%;
}

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

/* 写真＋縦書きラベル（ラベルは写真の外側の余白に配置） */
.point__ph {
  position: relative;
  width: 100%;
  padding-right: 32px;
}

.point--right .point__ph {
  padding-right: 0;
  padding-left: 32px;
}

.point__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 820 / 512;
  object-fit: cover;
}

.point__lbl {
  position: absolute;
  top: 0;
  right: 0;
  color: var(--white);
  font-family: var(--f-en);
  font-size: 30px;
  font-weight: 200;
  letter-spacing: .08em;
  line-height: 1;
  writing-mode: vertical-rl;
  text-shadow: 0 0 1px rgba(0, 0, 0, .08);
}

.point--right .point__lbl {
  right: auto;
  left: 0;
}

.point__txt {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.point__ttl {
  color: var(--ink);
  font-family: var(--f-mincho);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.9px;
  line-height: 30px;
}

/* 1行固定の行（--n：文字数の目安。入りきらない幅では文字を小さく） */
.point__ttl-one {
  white-space: nowrap;
  letter-spacing: .02em;
  font-size: min(18px, calc((min(100vw, var(--frame-w)) - 48px) / (var(--n) * 1.03)));
}

.point__desc {
  color: var(--ink);
  font-family: var(--f-gothic);
  font-size: 14px;
  line-height: 25.2px;
}

.spec {
  width: 100%;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.spec__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: fit-content;
  margin: 0;
  padding: 0 10px;
}

.spec__row {
  display: grid;
  grid-template-columns: 8px 114px auto;
  align-items: center;
  color: var(--ink);
  font-family: var(--f-gothic);
  font-size: 14px;
  letter-spacing: 0.84px;
  line-height: 28px;
}

.spec__label {
  margin-left: 24px;
}

.spec__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
}

.access {
  width: 100%;
}

.access__ttl {
  margin-bottom: 14px;
  color: var(--ink);
  font-family: var(--f-mincho);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 30px;
}

.access__map {
  height: 240px;
  margin-bottom: 16px;
  overflow: hidden;
}

.access__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.access__info {
  display: flex;
  justify-content: center;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.access__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: fit-content;
}

.access__row {
  display: flex;
  align-items: center;
  color: var(--ink);
  font-family: var(--f-gothic);
  font-size: 14px;
  letter-spacing: 0.84px;
  line-height: 28px;
}

.access__label {
  display: flex;
  flex: 0 0 73px;
  align-items: center;
  gap: 8px;
}

.access__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 2px;
}

.access__val {
  display: flex;
  align-items: center;
}

/* 時間：幅が足りないときは枠の区切りでだけ改行 */
.access__slot {
  white-space: nowrap;
}

.access__val::before {
  content: "";
  flex: none;
  align-self: center;
  width: 1px;
  height: 13px;
  margin: -3px 14px 0 13px;
  background: rgba(39, 37, 36, 0.4);
}

/* ---------- WEB予約限定特典 ---------- */
.bonus {
  margin-top: 80px;
}

.bonus__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bonus__badge {
  position: relative;
  z-index: 1;
  margin-bottom: -20px;
  padding: 24px;
  background: var(--dark);
  color: var(--white);
  font-family: var(--f-mincho);
  font-size: 20px;
  letter-spacing: 2px;
  line-height: 20px;
}

.bonus__main {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 40px 24px;
  background: url("img/bonus-bg.webp") center / cover no-repeat;
}

.bonus__main img {
  width: 90%;
  height: auto;
}

.bonus__acc {
  display: flex;
  flex-direction: column;
  background: var(--slate);
}

.acc {
  margin: 24px 24px 10px;
  border: 1px solid var(--white);
  background: var(--slate);
}

.acc--terms {
  margin: 10px 24px 24px;
}

.acc__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  border: 0;
  background: none;
  color: var(--white);
  cursor: pointer;
}

.acc__lead {
  font-family: var(--f-old);
  font-size: 14px;
  font-weight: 500;
  line-height: 25.2px;
  text-align: center;
}

.acc__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
}

.acc__label {
  font-family: var(--f-mincho);
  font-size: 14px;
  font-weight: 500;
  line-height: 25.2px;
}

.acc__icon {
  flex: none;
}

.acc.is-closed .acc__icon {
  transform: rotate(180deg);
}

.acc__panel {
  padding: 0 24px 20px;
}

.acc__panel[hidden] {
  display: none;
}

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

.conds__item {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--white);
  color: var(--white);
  font-family: var(--f-old);
  font-size: 14px;
  letter-spacing: 0.7px;
  line-height: 25.2px;
}

.conds__item img {
  flex: none;
}

.conds__item span {
  flex: 1;
  padding-bottom: 14px;
}

.acc__terms {
  color: var(--white);
  font-family: var(--f-mincho);
  font-size: 14px;
  line-height: 25.2px;
}

/* ---------- ご見学予約フォーム ---------- */
.entry {
  padding: 80px 24px;
  background: var(--gray);
}

.entry__in {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.entry__form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.entry__form .wpcf7 {
  width: 100%;
}

.form__body > * + * {
  margin-top: 24px;
}

.form__row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.form__row--area {
  margin-bottom: 0;
}

.form__tag {
  padding: 6px 18px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--f-mincho);
  font-size: var(--fs-tag);
  line-height: var(--fs-tag);
}

.form__tag--opt {
  background: #b4b4b4;
}

.form__lab {
  color: var(--ink);
  font-family: var(--f-mincho);
  font-size: var(--fs-lab);
  line-height: var(--fs-lab);
}

.form__row--area .form__lab {
  line-height: 22.4px;
}

.form__pair {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: var(--form-gap);
}

.form__body .wpcf7-form-control-wrap {
  display: block;
}

.form__input {
  display: block;
  width: 100%;
  margin: 0;
  background-color: var(--white);
  color: var(--ink);
  font-family: var(--f-mincho);
  font-size: 16px;
  line-height: 22.4px;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 4px;
}

.form__input::placeholder {
  color: var(--ph);
}

.form__input--date,
.form__input--select {
  padding: 15px 10px;
  border: 1px solid var(--field-line);
  border-radius: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z' fill='%23242424'/%3E%3C/svg%3E");
  background-position: right 11px center;
  background-repeat: no-repeat;
  background-size: 20px 20px;
}

.form__input--date {
  height: 50px;
  cursor: pointer;
}

.form__input--select {
  height: 54.4px;
}

.form__input--select.is-empty {
  color: var(--ph-select);
}

.form__input--text {
  height: 48px;
  padding: 0 16px;
  border: 0;
  color: var(--text);
}

.form__input--area {
  height: 144px;
  padding: 14px 16px 0;
  border: 0;
  line-height: 25.6px;
  resize: none;
}

.form__privacy {
  margin-top: 24px;
}

.privacy-box {
  height: 108px;
  padding: 14px 30px 14px 30px;
  overflow: auto;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-gothic);
  font-size: 13px;
  letter-spacing: 0.65px;
  line-height: 23.4px;
}

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

.privacy-box p {
  margin: 0;
}

.privacy-box a {
  color: #007cff;
}

.form__agree {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  color: var(--ink);
  font-family: var(--f-mincho);
  font-size: 13px;
  line-height: 13px;
}

.form__agree .wpcf7-form-control-wrap,
.form__agree .wpcf7-acceptance,
.form__agree .wpcf7-list-item {
  display: contents;
  margin: 0;
}

.form__agree label {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.form__agree input {
  margin: -2px 0 0;
}

.form__submit {
  display: block;
  width: 100%;
  height: 52px;
  margin: 30px auto 0;
  padding: 0 0 2px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-family: var(--f-mincho);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2.8px;
  text-align: center;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.form__submit:hover {
  border-color: #112222;
  background: var(--white);
  color: #112222;
}

.form__note {
  margin-top: 32px;
  color: var(--ink);
  font-family: var(--f-mincho);
  font-size: 12px;
  line-height: 19.2px;
}

.wpcf7-spinner {
  position: absolute;
}

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

.wpcf7 form .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 12px 16px;
  font-family: var(--f-gothic);
  font-size: 13px;
}

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

/* ---------- 電話予約バナー ---------- */
.tel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 40px 24px;
  background: url("img/tel-bg.webp") center / cover no-repeat;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  color: var(--white);
  transition: opacity 0.3s ease-in-out;
}

.tel:hover {
  opacity: 0.5;
}

.tel__in {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: var(--tel-w);
}

.tel__ttl {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mincho);
  font-size: 20px;
  letter-spacing: 1px;
  line-height: 36px;
}

.tel__line {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 8px;
  background: var(--white);
}

.tel__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.tel__num {
  font-family: var(--f-mincho);
  font-size: 40px;
  letter-spacing: 2px;
  line-height: 40px;
}

.tel__time {
  font-family: var(--f-gothic);
  font-size: 12px;
  letter-spacing: 0.6px;
  line-height: 22px;
}

/* ---------- 見学会でのお約束 ---------- */
.promise {
  margin-top: 80px;
  padding: 10px 0;
  background: var(--dark);
}

.promise__in {
  padding: 70px 0 40px;
  border-top: 1px solid var(--white);
  border-bottom: 1px solid var(--white);
}

.promise__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.promise__lead {
  color: var(--white);
  font-family: var(--f-gothic);
  font-size: 16px;
  letter-spacing: 0.8px;
  line-height: 32px;
  text-align: center;
}

.slider {
  position: relative;
  margin: 40px 0;
  overflow: hidden;
}

.slider__track {
  display: flex;
  align-items: flex-start;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.slider__track::-webkit-scrollbar {
  display: none;
}

.slider__item {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.card__img {
  position: relative;
  width: 100%;
}

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

.card__num {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: var(--white);
  font-family: var(--f-en);
  font-size: 40px;
  font-weight: 200;
  letter-spacing: 2px;
  line-height: 40px;
}

.card__txt {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 75%;
}

.card__ttl {
  color: var(--white);
  font-family: var(--f-mincho);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.9px;
  line-height: 32.4px;
  text-align: center;
}

.card__desc {
  color: var(--white);
  font-family: var(--f-gothic);
  font-size: 14px;
  letter-spacing: 0.7px;
  line-height: 21px;
}

.slider__nav {
  position: absolute;
  right: 0;
  bottom: 72px;
  left: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.slider__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--white);
  cursor: pointer;
  pointer-events: auto;
  transition: color 0.3s;
}

.slider__btn svg {
  flex: none;
}

.slider__btn:hover {
  color: #9b9b9b;
}

/* ---------- 会社概要 ---------- */
.company {
  padding: 80px 24px 100px;
  background: url("img/company-bg.webp") center / cover no-repeat;
}

.company__in {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.company__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.company__row {
  display: flex;
  gap: 32px;
  padding: 0 0 24px;
  border-bottom: 1px solid var(--white);
  color: var(--white);
  font-family: var(--f-gothic);
  font-size: 14px;
  line-height: 19.6px;
}

.company__row:first-child {
  padding-top: 24px;
}

.company__row dt {
  flex: 0 0 106px;
  letter-spacing: 0.08em;
}

.company__row dd {
  flex: 1;
  letter-spacing: 0.08em;
}

.company__row--multi dd,
.company__row--addr dd {
  letter-spacing: 0.05em;
}

/* ---------- フッター ---------- */
.footer {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 64px 24px 80px;
  background: #919191;
}

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

.footer__logo-link {
  display: block;
}

.footer__logo {
  width: 229px;
  height: auto;
}

.footer__menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
  padding: 32px 0;
  border-top: 1px solid var(--white);
  border-bottom: 1px solid var(--white);
}

.footer__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer__link {
  position: relative;
  display: block;
  color: var(--white);
  font-family: var(--f-mincho);
  font-size: 13px;
  letter-spacing: 0.65px;
  line-height: 26px;
}

.footer__col + .footer__col .footer__link {
  font-size: 14px;
  letter-spacing: 0.7px;
  line-height: 28px;
}

.footer__copy {
  margin-top: 8px;
  color: #fffefb;
  font-family: var(--f-mincho);
  font-size: 10px;
  letter-spacing: 0.5px;
  line-height: 22px;
}

.footer__top {
  align-self: flex-end;
  display: block;
  width: 50px;
  height: 50px;
}

/* ---------- 641px以上：PC・タブレット ---------- */
@media (min-width: 641px) {
  :root {
    --sec-gap: 56px;
    --fs-tag: 14px;
    --form-gap: 16px;
    --tel-w: 342px;
  }

  body {
    background: #eee;
  }

  @supports (margin-left: round(down, 1.5px, 1px)) {
    .frame {
      margin-left: round(down, calc((100% - var(--frame-w)) / 2), 1px);
    }
  }

  .header,
  .menu,
  .spbar {
    display: none;
  }

  .bg {
    position: fixed;
    inset: 0 0 auto;
    z-index: 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 100vh;
    background: #eee url("img/bg-fixed.webp") center / cover no-repeat;
  }

  .rail {
    display: none;
  }

  .fv__title {
    align-items: center;
  }

  .fv__title-img {
    width: 80%;
    margin-bottom: 0;
  }

  .fv__slide img {
    animation: none;
  }

  .btn:hover {
    background: #b4b4b4;
    color: var(--white);
  }

  .btn--dark:hover {
    background: var(--white);
    color: var(--ink);
  }

  .concept__in {
    gap: 40px;
  }

  .open__in {
    gap: 40px;
  }

  .points {
    gap: 40px;
  }

  .spec__list {
    gap: 8px;
  }

  .access__info {
    padding: 24px;
  }

  .access__list {
    width: 100%;
  }

  .bonus__badge {
    margin-bottom: -40px;
  }

  .bonus__main {
    height: 480px;
    padding: 30px 24px;
  }

  .bonus__main img {
    width: 100%;
  }

  .acc__lead,
  .acc__label {
    font-size: 16px;
    line-height: 28.8px;
  }

  .conds {
    gap: 8px;
  }

  .conds__item span {
    flex: 0 0 auto;
    padding-bottom: 0;
    line-height: 48px;
  }

  .form__privacy {
    margin-top: 32px;
  }

  .form__agree {
    margin-top: 32px;
    font-size: 16px;
    line-height: 16px;
  }

  .form__row--area {
    margin-bottom: 10px;
  }

  .form__input--text,
  .form__input--area {
    border-radius: 0;
  }

  .form__submit {
    width: 300px;
    margin-top: 44px;
  }

  .form__note {
    font-size: 14px;
    line-height: 22.4px;
  }

  .privacy-box {
    font-size: 14px;
    letter-spacing: 0.7px;
    line-height: 21px;
  }

  .tel {
    padding: 40px;
  }

  .tel__ttl {
    font-size: 24px;
    letter-spacing: 1.2px;
  }

  .tel__line {
    margin-top: 7px;
  }

  .tel__num {
    font-size: 48px;
    letter-spacing: 2.4px;
    line-height: 48px;
  }

  .tel__time {
    font-size: 14px;
    letter-spacing: 0.7px;
  }

  .promise__in {
    padding-bottom: 70px;
  }

  .slider__track {
    align-items: center;
  }

  .slider__nav {
    right: 9.6px;
    bottom: 32px;
    left: 12px;
  }

  .card__ttl {
    font-family: var(--f-old);
  }

  .company {
    padding: 80px 24px;
  }

  .company__row--multi dd {
    flex: 0 0 auto;
  }

  .footer {
    padding: 64px 24px 32px;
  }

  .footer__nav {
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
  }

  .footer__col {
    align-items: flex-start;
    gap: 16px;
  }

  .footer__link {
    font-size: 16px;
    letter-spacing: 0.8px;
    line-height: 32px;
  }

  .footer__col + .footer__col .footer__link {
    font-size: 16px;
    letter-spacing: 0.8px;
    line-height: 32px;
  }

  .footer__link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 1px;
    background: var(--white);
    transform: scaleX(0);
    transition: transform 0.3s;
  }

  .footer__link:hover::after {
    transform: scaleX(1);
  }

  .footer__link {
    padding-bottom: 1px;
  }

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

/* ---------- 641〜840px：フォームだけタブレット値 ---------- */
@media (min-width: 641px) and (max-width: 840px) {
  :root {
    --fs-lab: 14px;
    --fs-tag: 13px;
    --form-gap: 30px;
    --tel-w: 298.67px;
  }

  .form__pair {
    gap: 30px;
  }

  .form__privacy {
    margin-top: 32px;
  }

  .form__agree {
    margin-top: 20px;
    font-size: 14px;
    line-height: 14px;
  }

  .form__submit {
    margin-top: 30px;
  }

  .form__note {
    font-size: 12px;
    line-height: 19.2px;
  }

  .tel__num {
    font-size: 40px;
    letter-spacing: 2px;
    line-height: 40px;
  }

  .form__field--tel .form__row {
    gap: 48px;
  }

  .footer__copy {
    font-size: 13px;
    letter-spacing: 0.65px;
  }

  .company__row:first-child {
    padding-top: 24px;
  }
}

/* ---------- 1141px以上：左右レール ---------- */
@media (min-width: 1141px) {
  .rail {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: center;
    width: 33.33%;
  }

  .rail--l {
    justify-content: flex-start;
  }

  .rail__in {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 80px;
  }

  .rail__logo {
    display: block;
    width: 229px;
    margin-bottom: 40px;
  }

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

  .rail__link {
    position: relative;
    display: block;
    padding-bottom: 1px;
    color: var(--white);
    font-family: var(--f-mincho);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.8px;
    line-height: 30px;
    text-decoration: none;
    transition: opacity 0.3s;
  }

  .rail__link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.8);
    transform: scaleX(0);
    transition: transform 0.3s;
  }

  .rail__link:hover {
    opacity: 0.8;
  }

  .rail__link:hover::after {
    transform: scaleX(1);
  }

  .rail--r {
    justify-content: flex-end;
    height: 100vh;
    margin-bottom: 40px;
  }

  .rail__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 351px;
    height: 362px;
    padding: 24px;
    background: url("img/rail-banner-bg.webp") center / cover no-repeat;
  }

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

@media (prefers-reduced-motion: reduce) {
  .fv__title,
  .fv__slide img {
    animation: none;
  }
}
