/* =====================================================
  SHIFT LP - style.css
  © 2026 Katagiri Kensetsu Co., Ltd.
===================================================== */

/* =====================================================
  1. リセット
===================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

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

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

ul,
ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  background: none;
  border: none;
}

/* =====================================================
  2. CSS 変数
===================================================== */
:root {
  --color-bg-outer: #AAA39A;
  --color-bg-content: #CECBC3;
  --color-text-main: #414141;
  --color-bg-shop: #6A6A6A;
  --color-bg-cta: #924E27;
  --color-text-light: #FFFFFF;
  --color-cta-yellow: #E8E07A;
  --content-width: 768px;
}

/* =====================================================
  3. ベース
===================================================== */
body {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  color: var(--color-text-main);
  background: var(--color-bg-outer);
  font-size: 15px;
  line-height: 1.8;
}

.mob {
  display: none;
}

/* =====================================================
  4. ページレイアウト（3カラム）
===================================================== */
.lp-wrapper {
  display: flex;
  align-items: flex-start;
  min-height: 100vh;
}

/* ── 左カラム（PC固定追従） ── */
.col-left {
  flex: 1;
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--color-bg-outer);
  display: flex;
  align-items: center;
  justify-content: center;
}

.col-left__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  padding: 1rem;
}

.col-left__shift-logo {
  width: min(200px, 75%);
  height: auto;
}

.col-left__logo {
  width: min(250px, 80%);
  height: auto;
}

/* ── 中央コンテンツ（768px固定） ── */
.col-main {
  width: var(--content-width);
  flex-shrink: 0;
  background: var(--color-bg-content);
}

/* ── 右カラム（PC固定追従） ── */
.col-right {
  flex: 1;
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--color-bg-outer);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.col-right__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem;
  padding-top: 60vh;
  /* ← この値を変えると上下位置が変わります（例: 40vh=上め / 70vh=下め） */
}

/* 来場予約ボタン（円形・右カラム） */
.cta-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid #fff;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.6;
  letter-spacing: 0.05em;
  transition: background 0.3s, color 0.3s;
}

.cta-circle:hover {
  background: #fff;
  color: var(--color-text-main);
}

/* =====================================================
  5. Section 1: TOP
===================================================== */
.sec-top {
  position: relative;
  padding: 0 2rem;
}

/* SP用ロゴバー（PC非表示） */
.sec-top__sp-logobar {
  display: none;
}

/* メイン画像 */
.sec-top__visual {
  position: relative;
  height: 95vh;
  background: var(--color-bg-content);
}

/* pictureにheightを明示しないとimg height:100%が効かない */
.sec-top__visual picture {
  display: block;
  height: 100%;
}

.sec-top__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* テキストオーバーレイ */
.sec-top__overlay {
  position: absolute;
  bottom: 5%;
  left: 5%;
  right: 5%;
  color: var(--color-text-light);
}

.sec-top__heading {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.sec-top__sub {
  font-size: 0.95rem;
  font-weight: bold;
  letter-spacing: 0.04em;
  line-height: 1.8;
}

/* SP用CTAバー（PC非表示） */
.sec-top__sp-cta-bar {
  display: none;
}

/* =====================================================
  6. Section 2: TOPUNDER（開業も住まいも両方叶える）
===================================================== */
.sec-topunder {
  background: var(--color-bg-content);
  padding: 4rem 2rem;
}

/* 上部ブロック：画像右寄せ → テキスト中央（縦積み） */
.sec-topunder__upper {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  margin-bottom: 3.5rem;
}

.sec-topunder__upper-img {
  width: clamp(300px, 70%, 540px);
  align-self: flex-end;
  /* 右寄せ */
  order: -1;
  /* 画像を上に */
  margin-right: -2rem;
  /* セクションのpaddingを打ち消してエッジにべた付け */
}

.sec-topunder__upper-img img {
  width: 100%;
  height: auto;
  display: block;
}

.sec-topunder__upper-text {
  max-width: clamp(280px, 75%, 560px);
  margin: 0 auto 5rem;
  /* 中央寄せ・左詰め */
}

/* 下部ブロック：画像左寄せ → テキスト中央（縦積み） */
.sec-topunder__lower {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.sec-topunder__lower-img {
  width: clamp(300px, 70%, 540px);
  align-self: flex-start;
  /* 左寄せ */
  margin-left: -2rem;
  /* セクションのpaddingを打ち消してエッジにべた付け */
}

.sec-topunder__lower-img img {
  width: 100%;
  height: auto;
  display: block;
}

.sec-topunder__lower-text {
  max-width: clamp(280px, 75%, 560px);
  margin: 0 auto 5rem;
  /* 中央寄せ・左詰め */
}

.sec-topunder__heading {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 3rem;
  line-height: 1.5;
}

.sec-topunder__upper-text p,
.sec-topunder__lower-text p {
  font-size: 0.85rem;
  line-height: 2.2;
  letter-spacing: 0.04em;
    font-weight: 700;
}

.sec-topunder__upper-text p+p,
.sec-topunder__lower-text p+p {
  margin-top: 2rem;
}

/* =====================================================
  7. Section 3: TOPUNDER2（スタックスクロール）
===================================================== */
.sec-topunder2 {
  position: relative;
  /* overflow: hidden は設定しない（stickyのため） */
}

/* 共通スタックパネル */
.stack-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

/* z-index 順（直接の子として機能） */
.stack-panel:nth-child(1) {
  z-index: 1;
}

.stack-panel:nth-child(2) {
  z-index: 2;
}

.stack-panel:nth-child(3) {
  z-index: 3;
}

.stack-panel:nth-child(4) {
  z-index: 4;
}

/* ── イントロパネル ── */
.stack-panel--intro {
  background: var(--color-bg-content);
  display: flex;
  flex-direction: column;
}

.stack-panel--intro .stack-panel__image {
  overflow: hidden;
}

.stack-panel--intro .stack-panel__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stack-panel__intro-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 0;
  margin-left: auto;
  margin-right: auto;
  background: var(--color-bg-content);
  text-align: left;
}

.stack-panel__intro-text p {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 2.2;
  letter-spacing: 0.06em;
  color: var(--color-text-main);
  font-weight: bold;
}

/* ── 時刻スライドパネル ── */
.stack-panel--time {
  position: sticky;
  top: 0;
  height: 150vh;
  /* 100vh表示 + 50vh分スクロール余裕。増やすと各画像が長く留まる */
  overflow: hidden;
}

.stack-panel__bg-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  /* パネルが150vhでも画像は100vhに固定 */
  display: block;
}

.stack-panel__bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* テキストオーバーレイ */
/* パネルが150vhでもviewport(100vh)内に収めるため bottom: calc(150vh - 100vh + 8vh) = 58vh */
.stack-panel__overlay {
  position: absolute;
  bottom: 58vh;
  left: 6%;
  right: 6%;
  color: var(--color-text-light);
  z-index: 2;
}

/* 暗いオーバーレイ */
.stack-panel--time::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  /* 画像と同じく100vhに固定 */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.15) 50%, transparent 100%);
  z-index: 1;
}

.time-label {
  display: block;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.time-subtitle {
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.time-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}

.stack-panel__overlay p {
  font-size: clamp(0.78rem, 1.6vw, 0.9rem);
  line-height: 2;
  letter-spacing: 0.04em;
}

/* 最後のtimeパネル（PM 7:00）は他パネルと同じ150vh（50vh分の余裕でフルカバー後に移行） */
.sec-topunder2>.stack-panel--time:last-child {
  height: 150vh;
}

.sec-topunder2>.stack-panel--time:last-child .stack-panel__overlay {
  bottom: 58vh;
  /* 150vhパネルなので他パネルと同じ58vhオフセット（150vh - 100vh + 8vh） */
}

/* =====================================================
  8. Section 4: SHIFT（スライダー）
===================================================== */
.sec-shift {
  background: #fff;
  padding: 2rem 0 0;
}

/* ヘッダーエリア */
.sec-shift__header {
  text-align: center;
  padding: 2rem 2rem 3rem;
}

.shift-logo {
  margin: 0 auto 3rem;
  height: 100px;
  width: auto;
}

.shift-hr {
  border-top: 1px solid var(--color-text-main);
}

.shift-brand-block {
  margin: 5rem auto;
}

.shift-brand-logo {
  margin: 0 auto;
  height: 200px;
  width: auto;
}

.shift-body {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  letter-spacing: 0.05em;
  line-height: 1.9;
  text-align: left;
  display: flex;
  justify-content: center;
  font-weight: bold;
}

/* ── スライダーラッパー（padding用） ── */
.shift-slider-outer {
  padding: 0 5rem 1.5rem;
}

/* ── CSS-only カルーセルスライダー ── */
.css-carousel-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.css-carousel-slider img {
  width: 100%;
  height: auto;
  vertical-align: top;
  display: block;
}

/* slide-wrap-main：高さ参照用（JS制御に切り替えたため非表示） */
.css-carousel-slider .slide-wrap-main {
  width: 100%;
  position: relative;
  z-index: 1;
  visibility: hidden;
}

/* slide-wrap：JSで制御するスライドトラック */
.css-carousel-slider .slide-wrap {
  width: 400%;
  /* 4枚分 */
  position: absolute;
  display: flex;
  top: 0;
  left: 0;
  z-index: 2;
  transform: translateX(0);
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.css-carousel-slider .slide {
  flex-shrink: 0;
}

/* slide-wrap-main（表示フレーム）内は100%幅 */
.slide-wrap-main .slide {
  width: 100%;
}

/* slide-wrap（4枚横並び 400%幅）内は25% = 1枚分がcarousel幅と同じ */
.slide-wrap .slide {
  width: 25%;
}

/* スライダーアニメーション（3枚ループ用） */
@keyframes css-carousel-slider {
  0% {
    transform: translateX(0);
  }

  28% {
    transform: translateX(calc(1 / 4 * -100%));
  }

  35% {
    transform: translateX(calc(1 / 4 * -100%));
  }

  63% {
    transform: translateX(calc(2 / 4 * -100%));
  }

  70% {
    transform: translateX(calc(2 / 4 * -100%));
  }

  95% {
    transform: translateX(calc(3 / 4 * -100%));
  }

  100% {
    transform: translateX(calc(3 / 4 * -100%));
  }
}

@keyframes css-carousel-slider-main {
  0% {
    transform: translateX(100%);
  }

  70% {
    transform: translateX(100%);
  }

  95% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(0%);
  }
}

/* ドットインジケーター */
.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 32px 0;
  background: #fff;
  position: relative;
  z-index: 5;
}

.dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(65, 65, 65, 0.25);
  transition: background 0.3s;
  display: block;
  cursor: pointer;
}

.dot.active {
  background: var(--color-text-main);
}

/* =====================================================
  9. Section 5: BENEFIT（ベネフィット）
===================================================== */
.sec-benefit {
  background: #D0D0D0;
  padding: 4rem 3rem;
}

.sec-benefit__heading {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 0.2em;
  margin: 3rem 0 5rem;
  color: var(--color-text-main);
}

/* 各POINTカード */
.benefit-item {
  background: #fff;
  padding: 0 2rem 2rem;
  margin-bottom: 1.5rem;
  border-radius: 2px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 1rem;
  align-items: end;
  /* バッジ・タイトルの下端を揃える */
}

.benefit-item:last-child {
  margin-bottom: 0;
}

/* POINTバッジ */
.benefit-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.15em;
  background: #1a1a1a;
  color: #fff;
  padding: 1.5em 0.9em 0.6em;
  /* 上を大きくしてバッジを高く */
  border-radius: 2px;
  flex-shrink: 0;
  justify-content: center;
}

.badge-point {
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.1em;
}

.badge-num {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  position: relative;
  top: -0.15em;
}

.benefit-sub {
  padding-left: 1rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-text-main);
}

.benefit-content {
  grid-column: 1 / -1;
  /* バッジ・タイトル行の下、カード全幅 */
  margin-top: 1rem;
}

.benefit-content p {
  font-size: 0.85rem;
  line-height: 1.9;
  color: var(--color-text-main);
}

/* =====================================================
  10. Section 6: MERIT（メリット）
===================================================== */
.sec-merit {
  background: #D0D0D0;
}

.sec-merit__inner {
  padding: 4rem 2rem;
}

.sec-merit__heading {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 0.12em;
  margin-bottom: 3rem;
  padding: 0.5rem 1rem;
  border: 3px solid var(--color-text-main);
  display: inline-block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

/* メリットアイテム */

.merit-item:last-of-type {
  margin-bottom: 3rem;
}

/* タイトル・本文カード（白・真円） */
.merit-content {
  position: relative;
  /* バッジの基準 */
  background: #fff;
  border-radius: 50%;
  width: clamp(280px, 100%, 420px);
  aspect-ratio: 1;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 3.5rem;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  overflow: visible;
}

/* 1・3番（h2が先頭にいるのでnth-child 2,4）：左寄せ */
.merit-item:nth-child(2) .merit-content,
.merit-item:nth-child(4) .merit-content {
  margin-left: 0;
  margin-right: auto;
}

/* 2・4番（nth-child 3,5）：右寄せ */
.merit-item:nth-child(3) .merit-content,
.merit-item:nth-child(5) .merit-content {
  margin-left: auto;
  margin-right: 0;
}

/* 番号バッジ（黒丸・円の左上に重なる） */
.merit-badge {
  position: absolute;
  top: 15px;
  /* バッジ半径分上にはみ出す */
  left: 25px;
  /* 円の左上あたり */
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #414141;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  z-index: 1;
}

.merit-title {
  width: 100%;
  font-size: clamp(1.2rem,2vw,1.7rem);
  font-weight: 700;
  margin-bottom: 0.8rem;
  line-height: 1.6;
  color: var(--color-text-main);
  text-align: center;
}

.merit-content p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--color-text-main);
}

/* コストシミュレーション */
.merit-simulation {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.merit-simulation__img {
  width: 100%;
  padding: 3rem 3rem 1rem;
  box-sizing: border-box;
}

.merit-simulation img {
  width: 100%;
  height: auto;
  display: block;
}

.merit-note {
  font-size: 0.8rem;
  color: #414141;
  line-height: 1.7;
  width: 80%;
}

/* =====================================================
  11. Section 7: SHOP（ずっとお店じゃなくてもいい）
===================================================== */
.sec-shop {
  background: var(--color-bg-shop);
  color: var(--color-text-light);
  padding: 4rem 0;
}

.sec-shop__img-wrap {
  width: 100%;
  padding: 2rem;
  box-sizing: border-box;
}

.sec-shop__img {
  width: 100%;
  height: auto;
  display: block;
}

.sec-shop__text {
  padding: 3rem 2rem 0;
}

.sec-shop__quote {
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.05em;
  line-height: 1.6;
  margin: 5rem 0;
}

.sec-shop__body {
  margin-bottom: 2rem;
}

.sec-shop__body p {
  font-size: 0.9rem;
  line-height: 2.2;
  letter-spacing: 0.04em;
}

.sec-shop__em {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.04em;
}

/* =====================================================
  12. Section 8: CARD + フッター
===================================================== */
.sec-card {
  background: var(--color-bg-content);
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: left;
  flex-direction: column;
}

.sec-card__banner {
  width: 100%;
  height: auto;
  display: block;
}

/* フッターエリア */
.lp-footer {
  background: #fff;
  padding: 2.5rem 2rem 3rem;
  text-align: center;
}

/* 注釈リスト */
.lp-footer__notes {
  list-style: none;
  margin: 1rem auto;
  text-align: left;
  padding: 0 0.5rem;
}

.lp-footer__notes li {
  font-size: clamp(0.7rem,1.5vw,0.9rem);
  color: var(--color-text-main);
  line-height: 1.8;
  margin-bottom: 0.3rem;
}

/* 来場予約ボタン */
.btn-cta {
  display: block;
  width: 100%;
  max-width: 350px;
  margin: 0 auto 5rem;
  padding: 2rem 2.5rem;
  background: var(--color-bg-cta);
  color: var(--color-text-light);
  font-size: clamp(1.2rem,2vw,1.5rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-align: center;
  border-radius: 1rem;
  transition: opacity 0.3s;
}

.btn-cta:hover {
  opacity: 0.85;
}

.btn-cta__shift-logo {
  display: block;
  height: 120px;
  margin: 0 auto 2.5rem;
}

/* ロゴエリア */
.lp-footer__logo-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.lp-footer__logo {
  height: 80px;
  width: auto;
  margin: 0 auto;
}

.lp-footer__copy {
  font-size: 0.75rem;
  color: var(--color-text-main);
  letter-spacing: 0.06em;
}

/* =====================================================
  13. Section 9: CONTACT（お問い合わせ）
===================================================== */
.sec-contact {
  background: var(--color-bg-content);
  padding: 4rem 0;
}

.sec-contact__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.sec-contact__header {
  text-align: center;
  margin-bottom: 3rem;
}

.sec-contact__en {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.38em;
  color: var(--color-bg-cta);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.sec-contact__ja {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-text-main);
}

/* フォーム全体 */
.contact-form {
  background: #fff;
  padding: 3rem 2.5rem;
}

/* ブロック（ご来場予約 / 入力事項） */
.cf-block {
  margin-bottom: 0.5rem;
}

.cf-block__title {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.6rem 1rem;
  background: var(--color-text-main);
  color: #fff;
}

.cf-block__note {
  font-size: 0.78rem;
  line-height: 1.9;
  color: #777;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(65, 65, 65, 0.12);
}

.cf-block__notes {
  list-style: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(65, 65, 65, 0.12);
}

.cf-block__notes li {
  font-size: 0.78rem;
  line-height: 1.9;
  color: #777;
  padding-left: 1em;
  text-indent: -1em;
}

/* 各フォーム行 */
.cf-row {
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid rgba(65, 65, 65, 0.12);
  padding: 1rem 0;
  gap: 1.2rem;
}

.cf-row__label {
  width: 28%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 0.3rem;
}

.cf-row__label-text {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.cf-row__body {
  flex: 1;
}

/* 必須・任意タグ */
.cf-tag {
  display: inline-block;
  font-size: 0.67rem;
  letter-spacing: 0.06em;
  padding: 0.1em 0.55em;
  line-height: 1.7;
}

.cf-tag--req {
  background: var(--color-bg-cta);
  color: #fff;
}

.cf-tag--opt {
  background: rgba(65, 65, 65, 0.15);
  color: var(--color-text-main);
}

/* 入力フィールド共通 */
.cf-input,
.cf-select,
.cf-textarea {
  width: 100%;
  background: #faf9f7;
  border: 1px solid rgba(65, 65, 65, 0.18);
  padding: 0.6rem 0.85rem;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 0.88rem;
  color: var(--color-text-main);
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  transition: border-color 0.2s, background 0.2s;
}

.cf-input:focus,
.cf-select:focus,
.cf-textarea:focus {
  outline: none;
  border-color: var(--color-bg-cta);
  background: #fff;
}

.cf-input::placeholder,
.cf-textarea::placeholder {
  color: #bbb;
  font-size: 0.82rem;
}

/* 半幅バリアント */
.cf-input--half {
  max-width: 50%;
}

.cf-select--half {
  max-width: 50%;
}

/* セレクト用矢印 */
.cf-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%23414141' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.2rem;
  cursor: pointer;
}

/* テキストエリア */
.cf-textarea {
  resize: vertical;
  min-height: 90px;
}

/* 小注釈 */
.cf-note {
  margin-top: 0.45rem;
  font-size: 0.73rem;
  color: #999;
  line-height: 1.7;
}

/* ラジオボタン */
.cf-radio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 2rem;
}

.cf-radio {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  cursor: pointer;
}

.cf-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cf-radio__mark {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border: 1.5px solid rgba(65, 65, 65, 0.35);
  border-radius: 50%;
  background: #fff;
  margin-top: 0.22em;
  position: relative;
  transition: border-color 0.2s;
}

.cf-radio__mark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-bg-cta);
  transition: transform 0.2s;
}

.cf-radio input[type="radio"]:checked ~ .cf-radio__mark {
  border-color: var(--color-bg-cta);
}

.cf-radio input[type="radio"]:checked ~ .cf-radio__mark::after {
  transform: translate(-50%, -50%) scale(1);
}

.cf-radio__txt {
  font-size: 0.87rem;
  line-height: 1.5;
}

.cf-radio__txt em {
  display: block;
  font-style: normal;
  font-size: 0.73rem;
  color: #aaa;
  margin-top: 0.1em;
}

/* 日程調整グリッド */
.cf-schedule {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.cf-schedule__item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.cf-schedule__lbl {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text-main);
}

/* プライバシーポリシー */
.cf-privacy {
  padding: 2rem 0 1.2rem;
  text-align: center;
  border-top: 1px solid rgba(65, 65, 65, 0.12);
}

.cf-privacy__text {
  font-size: 0.82rem;
  line-height: 2;
  margin-bottom: 1.2rem;
  color: var(--color-text-main);
}

.cf-privacy__link {
  color: var(--color-bg-cta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cf-privacy__link:hover {
  opacity: 0.75;
}

/* チェックボックス */
.cf-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.87rem;
  letter-spacing: 0.04em;
}

.cf-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cf-checkbox__box {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  border: 1.5px solid rgba(65, 65, 65, 0.35);
  background: #fff;
  position: relative;
  transition: border-color 0.2s;
}

.cf-checkbox input[type="checkbox"]:checked ~ .cf-checkbox__box {
  border-color: var(--color-bg-cta);
}

.cf-checkbox input[type="checkbox"]:checked ~ .cf-checkbox__box::after {
  content: '';
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 4px;
  height: 9px;
  border-right: 1.8px solid var(--color-bg-cta);
  border-bottom: 1.8px solid var(--color-bg-cta);
  margin-top: -1px;
}

.cf-checkbox__txt {
  letter-spacing: 0.04em;
}

/* 送信ボタン */
.cf-foot {
  text-align: center;
  padding: 2rem 0 0.5rem;
}

.cf-submit {
  display: inline-block;
  width: 100%;
  max-width: 300px;
  background: var(--color-bg-cta);
  color: var(--color-text-light);
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  padding: 1rem 2rem;
  cursor: pointer;
  transition: opacity 0.3s;
  border: none;
}

.cf-submit:hover {
  opacity: 0.82;
}


.wpcf7-spinner {
	width: 100%;
}
.wpcf7-spinner::before {
	left: inherit;
	margin: 0 auto;
}


/* =====================================================
    . Thanksページ
===================================================== */
.page-id-3166 .sec-contact {
    height: 100vh;
}


/* =====================================================
  14. SP レスポンシブ（max-width: 767px）
===================================================== */
@media (max-width: 767px) {

  /* ── レイアウト ── */
  .mob {
    display: flex;
  }

  .lp-wrapper {
    display: block;
  }

  .col-left,
  .col-right {
    display: none;
  }

  .col-main {
    width: 100%;
  }

  /* ── Section 1: TOP ── */
  .sec-top {
    padding: 0 1rem 3rem;
    /* SPはpaddingなし */
  }

  .sec-top__sp-logobar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 2rem;
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
  }

  .sp-logo-shift-img {
    height: clamp(32px, 4.5vw, 28px);
    width: auto;
    display: block;
  }

  .sp-logo-katagiri-img {
    height: clamp(10px, 4vw, 28px);
    width: auto;
    display: block;
    padding-left: 1rem;
  }

  .shift-bar {
    font-weight: 400;
  }

  .sp-logo-brand {
    font-size: 0.6rem;
    color: #fff;
    letter-spacing: 0.03em;
    line-height: 1.5;
    text-align: right;
  }

  .sp-logo-feat {
    font-size: 0.5rem;
    display: block;
  }

  /* SP: pictureにheight:100%を指定済みのため#000背景は不要 */
  .sec-top__visual {
    background: var(--color-bg-content);
    height: 95vh;       /* 旧ブラウザ用フォールバック */
    height: 100svh;     /* 常に表示される高さ（アドレスバー含む） */
  }

  .sec-top__img {
    object-fit: cover;
    object-position: center center;
  }

  .sec-top__overlay {
    bottom: calc(4rem + 2rem);
    /* 4rem=CTAバー高さ + 2rem=余白 */
    left: 4%;
    right: 4%;
  }

  .sec-top__heading {
    font-size: 1.4rem;
  }

  .sec-top__sub {
    font-size: 0.6rem;
  }

  /* SP来場予約バー（画面下部固定追従） */
  .sec-top__sp-cta-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100vw;
    padding: 0.5rem 0.8rem;
    background: var(--color-cta-yellow);
    color: var(--color-text-main);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-align: center;
    z-index: 100;
  }

  /* 固定CTAバーに隠れないようにフッター下余白を確保 */
  .lp-footer {
    padding-bottom: 5rem;
  }

  /* ── Section 2: TOPUNDER ── */
  .sec-topunder {
    padding: 3rem 1rem;
  }

  .sec-topunder__upper {
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .sec-topunder__upper-img {
    width: 75%;
    max-width: 75%;
    align-self: flex-end;
    margin-right: -1rem;
    /* 右paddingを打ち消して端にべた付け */
    order: -1;
  }

  .sec-topunder__upper-text {
    max-width: 100%;
    margin: 2rem auto;
    text-align: left;
  }

  .sec-topunder__lower {
    flex-direction: column;
    gap: 1.5rem;
  }

  .sec-topunder__lower-img {
    width: 75%;
    max-width: 75%;
    align-self: flex-start;
    margin-left: -1rem;
    /* 左paddingを打ち消して端にべた付け */
  }

  .sec-topunder__lower-text {
    max-width: 100%;
    margin: 5rem auto;
    text-align: left;
  }

  .sec-topunder__heading {
    font-size: 1.15rem;
  }

  .sec-topunder__upper-text p,
  .sec-topunder__lower-text p {
    font-size: 0.8rem;

  }

  /* ── Section 3: TOPUNDER2 ── */
  .stack-panel {
    height: 100vh;
  }

  .stack-panel--time {
    height: 100vh;
    /* SP：余裕不要 */
  }

  .stack-panel__overlay {
    bottom: calc(30% + 5rem); /* 15% + 固定CTAバー分 */
  }

  .sec-topunder2>.stack-panel--time:last-child {
    height: 100vh; /* SP：余裕不要（PC側の150vhを上書き） */
  }

  .sec-topunder2>.stack-panel--time:last-child .stack-panel__overlay {
    bottom: calc(15% + 5rem); /* last-childも同様 */
  }

  .stack-panel--intro {
    flex-direction: column;
  }

  .stack-panel__intro-text {
    padding: 2rem 0;
  }

  .stack-panel__intro-text p {
    font-size: 0.95rem;
  }

  .time-label {
    font-size: 1.4rem;
  }

  .time-subtitle {
    font-size: 0.82rem;
  }

  .stack-panel__overlay p {
    font-size: 0.78rem;
  }

  /* ── Section 4: SHIFT ── */
  .sec-shift {
    padding: 3rem 0 0;
  }

  .sec-shift__header {
    padding: 1.5rem 1.2rem 2.5rem;
  }

  .shift-logo {
    height: clamp(55px, 14vw, 80px);
    margin-bottom: 1.2rem;
  }

  .shift-brand-logo {
    height: clamp(80px, 25vw, 130px);
  }

  .shift-body {
    font-size: clamp(1rem, 2vw, 1.3rem);
  }

  .shift-slider-outer {
    padding: 0 1rem 1rem;
  }

  .slider-dots {
    padding: 1rem;
  }

  /* ── Section 5: BENEFIT ── */
  .sec-benefit {
    padding: 3rem 1rem;
  }
  .sec-benefit__heading {
    font-size: 1.3rem;
  }
  .benefit-item {
    display: block;
    padding: 0 1rem 1.5rem;
  }
  .benefit-badge {
    display: inline-flex;
    margin-bottom: 0.6rem;
  }
  .benefit-sub {
    padding-left: 0;
    margin-bottom: 0.6rem;
    display: block;
  }
  .benefit-content {
    margin-top: 0;
  }

  /* ── Section 6: MERIT ── */
  .sec-merit__inner {
    padding: 3rem 1rem;
  }

  .sec-merit__heading {
    font-size: 1.3rem;
    letter-spacing: 0.08em;
  }

  .merit-badge {
    top: 0;
    left: 10px;
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }

  .merit-content {
  margin: 0 auto 3rem;
}

.merit-content p {
  font-size: 0.8rem;
  line-height: 1.9;
  color: var(--color-text-main);
}

.merit-simulation__img{
padding: 0;
}

  /* ── Section 7: SHOP ── */
  .sec-shop__text {
    padding: 2rem 1.2rem 0;
  }

  .sec-shop__quote {
    font-size: 1rem;
    margin: 3rem 0;
  }

  .sec-shop__body p {
    font-size: 0.85rem;
  }

  /* ── Section 8: CARD + フッター ── */
  .lp-footer {
    padding: 2rem 1.2rem 2.5rem;
  }

  .btn-cta {
    max-width: 280px;
  }

  .btn-cta__shift-logo {
  height: 80px;
}

  .lp-footer__logo {
    width: 200px;
    height: auto;
  }

  .lp-footer__copy{
    margin:1rem 0 3rem;
  }

  /* SPフッターのロゴ縦積み（超大型） */
  .lp-footer__logo-area {
    gap: 1.2rem;
  }

  /* ── Section 9: CONTACT ── */
  .sec-contact {
    padding: 3rem 0;
  }

  .sec-contact__inner {
    padding: 0 1.2rem;
  }

  .sec-contact__header {
    margin-bottom: 2rem;
  }

  .sec-contact__ja {
    font-size: 1.4rem;
  }

  .contact-form {
    padding: 1.8rem 1.2rem;
  }

  /* SP: 行を縦積みに */
  .cf-row {
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.9rem 0;
  }

  .cf-row__label {
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0;
  }

  /* SP: ラジオ1列 */
  .cf-radio-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  /* SP: 日程1列 */
  .cf-schedule {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  /* SP: 半幅無効化 */
  .cf-input--half,
  .cf-select--half {
    max-width: 100%;
  }

  .cf-submit {
    max-width: 100%;
    width: 100%;
  }
}