@charset "UTF-8";

/* ============================================
   Fixed Header
   ============================================ */

.fixed-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 800px;
  width: 100%;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: opacity 0.1s ease-out;
}

.fixed-header img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   Global Styles
   ============================================ */

/* Common CTA Button Animation */
.kansei-googlecalender {
  position: absolute;
  left: 9.5%;
  animation: bound 2.8s infinite ease-in-out;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
  transition: filter 0.3s ease;
}

@keyframes bound {
  0% {
    transform: translateY(0);
  }
  10% {
    transform: translateY(-15px);
  }
  20% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-10px);
  }
  40% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(0);
  }
  70% {
    transform: translateY(-3px);
  }
  80% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(0);
  }
}

.kansei-googlecalender a {
  transition: 0.3s;
}

.kansei-googlecalender a img {
  width: 82.5vw;
  max-width: 660px;
}

/* Main Wrapper */
.wrap {
  max-width: 800px;
  margin: 0 auto;
}

/* Hover Effects (PC Only) */
@media (any-hover: hover) {
  .kansei-googlecalender a:hover {
    opacity: 0.7;
  }

  .kansei-googlecalender:hover {
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
  }
}

/* PC Adjustments */
@media (min-width: 800px) {
  .kansei-googlecalender a img {
    width: 660px;
  }
}

/* ============================================
   Sections
   ============================================ */

/* FV (First View)
***************************************************************/
.fv {
  position: relative;
  margin-top: 16.27vw;
}

@media (min-width: 800px) {
  .fv {
    margin-top: 130px;
  }
}

.fv img[src*="botanarea"] {
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
}

/* FV専用CTAボタン位置 */
.kansei-googlecalender--fv {
  bottom: 15vw;
}

@media (min-width: 800px) {
  .kansei-googlecalender--fv {
    bottom: 120px;
  }
}

/* Chapter1 - 物件概要
***************************************************************/
.chapter1 {
  position: relative;
}

/* Chapter2 - 悩み共感
***************************************************************/
.chapter2 {
  position: relative;
}

.chapter2 img[src*="botanarea"] {
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
}

/* Chapter2専用CTAボタン位置 */
.kansei-googlecalender--chapter2 {
  bottom: 16vw;
}

@media (min-width: 800px) {
  .kansei-googlecalender--chapter2 {
    bottom: 128px;
  }
}

/* Chapter3 - 見学会で得られること
***************************************************************/
.chapter3 {
  position: relative;
}

/* Chapter4 - お客様の声
***************************************************************/
.chapter4 {
  position: relative;
}

.chapter4 img[src*="botanarea"] {
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
}

/* Chapter4専用CTAボタン位置 */
.kansei-googlecalender--chapter4 {
  bottom: 5vw;
}

@media (min-width: 800px) {
  .kansei-googlecalender--chapter4 {
    bottom: 40px;
  }
}

/* Chapter5 - 5つの見どころ
***************************************************************/
.chapter5 {
  position: relative;
}

.chapter5 img[src*="botanarea"] {
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
}

/* Chapter5専用CTAボタン位置 */
.kansei-googlecalender--chapter5 {
  bottom: 8vw;
}

@media (min-width: 800px) {
  .kansei-googlecalender--chapter5 {
    bottom: 64px;
  }
}

/* Chapter6 - スタッフ紹介
***************************************************************/
.chapter6 {
  position: relative;
}

/* Chapter7 - アクセス情報 (地図画像)
***************************************************************/
.chapter7 {
  position: relative;
}

.chapter7 .map-image {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 86.25vw;
  height: 85vw;
  top: 27vw;
  object-fit: cover;
  border-radius: 4px;
}

@media (min-width: 800px) {
  .chapter7 .map-image {
    width: 690px;
    height: 680px;
    top: 216px;
  }
}

/* Chapter8 - FAQ
***************************************************************/
.chapter8 {
  position: relative;
}

/* Chapter9 - クロージング
***************************************************************/
.chapter9 {
  position: relative;
}

.chapter9 img[src*="botanarea"] {
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
}

/* Chapter9専用CTAボタン位置 */
.kansei-googlecalender--chapter9 {
  bottom: 7vw;
}

@media (min-width: 800px) {
  .kansei-googlecalender--chapter9 {
    bottom: 56px;
  }
}

/* Company Footer
***************************************************************/
.company {
  position: relative;
}

.company .links {
  position: absolute;
  bottom: 28.75vw;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7.5vw;
}

.links a {
  position: relative;
  display: inline-block;
}

/* Divider between links */
.links a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -3.5vw;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 100%;
  background-color: #fff;
}

.links a img {
  width: 100%;
  scale: 1.05;
  transition: 0.3s;
}

@media (min-width: 800px) {
  .company .links {
    bottom: 230px;
    gap: 60px;
  }

  .links a:not(:last-child)::after {
    right: -28px;
  }
}

/* Hover effect for footer links (PC Only) */
@media (any-hover: hover) {
  .links a:hover img {
    opacity: 0.8;
  }
}

/* ============================================
   Sticky Footer CTA (Mobile Only)
   ============================================ */

.sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
  align-items: center;
  justify-content: center;
  height: 72px;
  width: 100%;
  padding: 0 18px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(to bottom, #AF3603 0%, #B45023 30%, #AF3603 100%);
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  animation: none;
}

.sticky-cta::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  pointer-events: none;
}

/* Show on mobile only */
@media (max-width: 959px) {
  .sticky-cta {
    display: flex;
  }
}

.sticky-cta:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.66);
  outline-offset: 3px;
}

.sticky-cta.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.sticky-cta.is-dim {
  opacity: 0.6;
}

.sticky-cta__label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}

.sticky-cta__main {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.sticky-cta__sub {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  opacity: 0.95;
  letter-spacing: 0.03em;
}

.sticky-cta__arrow {
  position: absolute;
  right: 40px;
  width: 32px;
  height: auto;
}

/* iOS Safe Area Support */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .sticky-cta {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* ============================================
   Scroll Control for All CTA Buttons (Mobile Only)
   ============================================ */

@media (max-width: 959px) {
  .scroll-cta {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .scroll-cta.visible {
    opacity: 1;
    pointer-events: auto;
  }
}
