/* =========================================================
   CTA キャンペーン画像内に予約ボタンを配置
========================================================= */

.cta01_02 {
  position: relative !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  overflow: hidden !important;
}

/* キャンペーン画像 */
.cta01_02 > img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}


/* =========================================================
   予約ボタン
========================================================= */

.cta01_02 .ctaBtn {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  bottom: 15% !important;
  width: 80% !important;
  max-width: 600px !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 10 !important;
}

.cta01_02 .ctaBtn img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}


/* =========================================================
   スマホ
========================================================= */

@media screen and (max-width: 768px) {

  .cta01_02 .ctaBtn {
    width: 82% !important;
    bottom: 15% !important;
  }

}


/* =========================================================
   小さいスマホ
========================================================= */

@media screen and (max-width: 480px) {

  .cta01_02 .ctaBtn {
    width: 84% !important;
    bottom: 14% !important;
  }

}


/* =========================================================
   KOS STUDIO 内装写真スライダー
========================================================= */

.kos-interior-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;

  /* KOS LPに合わせた淡いアイボリー */
  background: #f7f5f1;

  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
}


/* =========================================================
   スライダー本体
========================================================= */

.kos-interior-track {
  display: flex;
  width: max-content;

  margin: 0 !important;
  padding: 0 !important;

  animation: kosInteriorSlide 24s linear infinite;
  will-change: transform;
}


/* =========================================================
   各画像
========================================================= */

.kos-interior-item {
  flex: 0 0 100vw;
  width: 100vw;

  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
}

.kos-interior-item img {
  display: block;
  width: 100%;
  height: auto;

  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;

  vertical-align: top;
}


/* =========================================================
   スライダー アニメーション
========================================================= */

@keyframes kosInteriorSlide {

  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-200vw);
  }

}


/* =========================================================
   PC
========================================================= */

@media screen and (min-width: 769px) {

  .kos-interior-track {
    animation-duration: 28s;
  }

}


/* =========================================================
   スマホ
   → 内装写真を大きく見せる
========================================================= */

@media screen and (max-width: 768px) {

  .kos-interior-track {
    animation-duration: 24s;
  }

  .kos-interior-item {
    flex: 0 0 200vw;
    width: 200vw;
  }

  .kos-interior-item img {
    width: 200vw;
    max-width: none;
  }

}


/* =========================================================
   小さいスマホ
   → さらに少し大胆に見せる
========================================================= */

@media screen and (max-width: 480px) {

  .kos-interior-track {
    animation-duration: 20s;
  }

  .kos-interior-item {
    flex: 0 0 200vw;
    width: 200vw;
  }

  .kos-interior-item img {
    width: 200vw;
    max-width: none;
  }

}


/* =========================================================
   動きを減らす設定
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .kos-interior-track {
    animation: none;
  }

}

/* =========================================================
   KOS 体験予約 フローティングバナー
========================================================= */

.kos-floating-trial {
  position: fixed !important;

  left: 50% !important;
  bottom: 0 !important;

  transform: translateX(-50%) !important;

  width: 100% !important;
  max-width: 750px !important;

  margin: 0 !important;
  padding: 0 !important;

  display: block !important;

  z-index: 9999 !important;

  line-height: 0 !important;

  text-decoration: none !important;

  filter: drop-shadow(0 -3px 10px rgba(0, 0, 0, 0.08));

  /* 表示・非表示 */
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}


/* =========================================================
   通常CTA表示中はフローティングを非表示
========================================================= */

.kos-floating-trial.is-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}


/* =========================================================
   バナー画像
========================================================= */

.kos-floating-trial img {
  display: block !important;

  width: 100% !important;
  height: auto !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
}


/* =========================================================
   スマホ
========================================================= */

@media screen and (max-width: 768px) {

  .kos-floating-trial {
    width: 100% !important;

    padding-bottom: env(safe-area-inset-bottom) !important;
  }

}


/* =========================================================
   小さいスマホ
========================================================= */

@media screen and (max-width: 480px) {

  .kos-floating-trial {
    width: 100% !important;
  }

}

/* =========================================================
   KOS｜予約完了後 LINE誘導モーダル
========================================================= */

/* スクロール停止 */
body.kos-modal-open {
  overflow: hidden;
}


/* =========================
   モーダル本体
========================= */

.kos-line-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;

  display: flex;
  align-items: center;
  justify-content: center;

  visibility: hidden;
  opacity: 0;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}


/* 表示状態 */

.kos-line-modal.is-active {
  visibility: visible;
  opacity: 1;
}


/* =========================
   背景
========================= */

.kos-line-overlay {
  position: absolute;
  inset: 0;

  background: rgba(35, 35, 30, 0.55);

  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}


/* =========================
   モーダルカード
========================= */

.kos-line-modal-inner {
  position: relative;
  z-index: 2;

  width: calc(100% - 40px);
  max-width: 430px;

  max-height: calc(100vh - 40px);
  overflow-y: auto;

  background: #f7f6f2;

  box-sizing: border-box;

  padding: 46px 30px 30px;

  border-radius: 2px;

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.18);

  transform: translateY(15px);

  transition:
    transform 0.35s ease;
}


.kos-line-modal.is-active .kos-line-modal-inner {
  transform: translateY(0);
}


/* =========================
   閉じるボタン
========================= */

.kos-line-close {
  position: absolute;

  top: 12px;
  right: 14px;

  width: 36px;
  height: 36px;

  border: none;
  background: transparent;

  color: #555;

  font-size: 28px;
  font-weight: 300;

  line-height: 36px;

  cursor: pointer;

  padding: 0;
}


/* =========================
   コンテンツ
========================= */

.kos-line-content {
  text-align: center;
}


/* THANK YOU */

.kos-line-thanks {
  margin: 0 0 13px;

  font-family:
    "Times New Roman",
    "Hiragino Mincho ProN",
    serif;

  font-size: 11px;

  letter-spacing: 0.22em;

  color: #8b8a82;
}


/* タイトル */

.kos-line-title {
  margin: 0 0 24px;

  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    serif;

  font-size: 21px;

  font-weight: 400;

  letter-spacing: 0.08em;

  line-height: 1.7;

  color: #383833;
}


/* 本文 */

.kos-line-text {
  margin: 0;

  font-size: 13px;

  line-height: 2;

  letter-spacing: 0.05em;

  color: #55554f;
}


.kos-line-text strong {
  font-weight: 500;

  color: #383833;
}


/* 区切り */

.kos-line-divider {
  width: 35px;
  height: 1px;

  margin: 25px auto;

  background: #b5b3aa;
}


/* LINE見出し */

.kos-line-subtitle {
  margin: 0 0 12px;

  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    serif;

  font-size: 16px;

  line-height: 1.8;

  letter-spacing: 0.06em;

  color: #383833;
}


/* LINE説明 */

.kos-line-description {
  margin: 0 0 24px;

  font-size: 12px;

  line-height: 1.9;

  letter-spacing: 0.04em;

  color: #77766f;
}


/* =========================
   LINEボタン
========================= */

.kos-line-button {
  position: relative;

  display: flex;

  align-items: center;
  justify-content: center;

  width: 100%;

  min-height: 58px;

  box-sizing: border-box;

  padding: 12px 45px 12px 20px;

  background: #3d3d37;

  color: #fff;

  text-decoration: none;

  border-radius: 1px;

  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}


.kos-line-button:hover {
  opacity: 0.88;
}


.kos-line-button:active {
  transform: scale(0.98);
}


/* ボタン文字 */

.kos-line-button-main {
  font-size: 13px;

  letter-spacing: 0.07em;

  line-height: 1.5;
}


/* 矢印 */

.kos-line-button-arrow {
  position: absolute;

  right: 18px;

  font-size: 18px;

  font-weight: 300;
}


/* =========================
   あとで登録する
========================= */

.kos-line-later {
  display: block;

  margin: 18px auto 0;

  padding: 4px 10px;

  border: none;

  background: transparent;

  color: #88877f;

  font-size: 11px;

  letter-spacing: 0.05em;

  text-decoration: underline;
  text-underline-offset: 3px;

  cursor: pointer;
}


/* =========================
   スマホ調整
========================= */

@media screen and (max-width: 480px) {

  .kos-line-modal-inner {
    width: calc(100% - 30px);

    padding:
      40px
      23px
      25px;
  }


  .kos-line-title {
    font-size: 19px;
  }


  .kos-line-text {
    font-size: 12px;
  }


  .kos-line-subtitle {
    font-size: 15px;
  }


  .kos-line-button {
    min-height: 56px;
  }

}