/* ========================================
   Reset / Base
======================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: #fefbf7;
  color: #333;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Yu Gothic",
    YuGothic,
    Meiryo,
    sans-serif;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}


/* ========================================
   LP全体
======================================== */

.lp-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  overflow: hidden;
}


/* ========================================
   共通セクション
======================================== */

.lp-section {
  width: 100%;
  margin: 0;
  padding: 0;
}

.section-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
}


/* ========================================
   LP画像
======================================== */

.lp-section picture {
  display: block;
  width: 100%;
}

.lp-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}


/* ========================================
   CTA
======================================== */

.cta-section {
  padding: 40px 20px;
  text-align: center;
  background: #fefbf7;
}

.cta-button {
  display: block;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

.cta-button img {
  display: block;
  width: 100%;
  height: auto;
}


/* ========================================
   Google Map
======================================== */

.map-section {
  background: #fefbf7;
}

.map-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.map-placeholder iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========================================
   Googleフォーム
======================================== */

.form-section {
  background:#fefbf7;
}

.form-title {
  margin: 0 0 30px;
  text-align: center;
  font-size: 32px;
  line-height: 1.4;
}

.google-form {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.google-form iframe {
  display: block;
  width: 100%;
  border: 0;
}

.form-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 500px;
  padding: 40px 20px;
  background: #fff;
  border: 2px dashed #bbb;
  color: #777;
  font-size: 18px;
  text-align: center;
}


/* ========================================
   Tablet
======================================== */

@media screen and (max-width: 1024px) {

  .section-inner {
    padding: 50px 30px;
  }

  .cta-section {
    padding: 35px 20px;
  }

  .form-title {
    font-size: 28px;
  }

}


/* ========================================
   Smartphone
======================================== */

@media screen and (max-width: 767px) {

  body {
    background: #fff;
  }

  .lp-wrapper {
    width: 100%;
    max-width: none;
  }

  .section-inner {
    width: 100%;
    padding: 40px 20px;
  }

  .lp-image {
    width: 100%;
  }

  .cta-section {
    padding: 25px 15px;
  }

  .cta-button {
    max-width: 100%;
  }

  .form-title {
    margin-bottom: 20px;
    font-size: 24px;
  }

  .map-placeholder {
    min-height: 300px;
    font-size: 15px;
  }

  .form-placeholder {
    min-height: 400px;
    padding: 30px 15px;
    font-size: 15px;
  }

}


/* ========================================
   Small Smartphone
======================================== */

@media screen and (max-width: 480px) {

  .section-inner {
    padding: 30px 15px;
  }

  .cta-section {
    padding: 20px 12px;
  }

  .form-title {
    font-size: 22px;
  }

}

/* ========================================
   ページトップへ戻るボタン
======================================== */

.page-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 72px;
  height: 72px;

  background: #07594f;
  color: #fff;

  border: 2px solid #d9ad55;
  border-radius: 50%;

  font-size: 24px;
  font-weight: bold;
  line-height: 1;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);

  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    background 0.2s ease;
}

.page-top span {
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.page-top:hover {
  transform: translateY(-4px);
  background: #06483f;
}


/* スマホ */
@media screen and (max-width: 767px) {

  .page-top {
    right: 15px;
    bottom: 15px;

    width: 58px;
    height: 58px;

    font-size: 20px;
  }

  .page-top span {
    font-size: 9px;
  }

}