@charset "utf-8";

/* ========== LP Styles ========== */

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
}

.main-content {
  width: 100%;
}

.image-section {
  width: 100%;
  margin-bottom: 0;
}

.image-section picture,
.image-section .image-wrapper {
  display: block;
  width: 100%;
}

.image-section img {
  width: 100%;
  height: auto;
  display: block;
}

.image-wrapper--sp-only {
  max-width: 480px;
  margin: 0 auto;
  background-color: #F9E6EC;
}

@media screen and (max-width: 767px) {
  .image-wrapper--sp-only {
    max-width: 100%;
  }
}

.image-wrapper--overlay {
  position: relative;
}

.image-wrapper--overlay img:not(:first-child) {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transform: scale(0.88) translateY(16px);
  transition: opacity 0.55s ease, transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.image-wrapper--overlay.is-animated img:nth-child(2) {
  opacity: 1;
  transform: scale(1) translateY(0);
  transition-delay: 0.08s;
}

.image-wrapper--overlay.is-animated img:nth-child(3) {
  opacity: 1;
  transform: scale(1) translateY(0);
  transition-delay: 0.22s;
}

.image-wrapper--overlay.is-animated img:nth-child(4) {
  opacity: 1;
  transform: scale(1) translateY(0);
  transition-delay: 0.38s;
}

.image-wrapper--overlay.is-animated img:nth-child(5) {
  opacity: 1;
  transform: scale(1) translateY(0);
  transition-delay: 0.56s;
}

/* section-9用：その場でフェードイン */
#section-9 .image-wrapper--overlay img:not(:first-child) {
  transform: none;
}

.image-wrapper--overlay img.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease;
}

#section-5 .image-wrapper--overlay.is-animated img:nth-child(3) {
  opacity: 1;
  transform: scale(1) translateY(0);
  transition-delay: 0.85s;
}

.image-section--cta {
  position: relative;
}

.cta-btn {
  position: absolute;
  display: block;
  z-index: 100;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  animation: pulse 2.4s linear infinite;
}

.cta-btn__img {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes pulse {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.02); }
}

@keyframes pulse-sp {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

@keyframes pulse-pop {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.03); }
}

@keyframes pulse-pop-sp {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

@media screen and (max-width: 767px) {
  .cta-btn {
    bottom: 20px;
    left: 20px;
    right: 20px;
    width: auto;
    max-width: calc(100% - 40px);
    transform: none;
    animation: pulse-sp 2.4s linear infinite;
  }
}

@media screen and (min-width: 768px) {
  .image-section--cta:has(.image-wrapper--sp-only) .cta-btn {
    left: 50%;
    right: auto;
    width: auto;
    max-width: calc(480px - 40px);
    transform: translateX(-50%);
    animation: pulse 2.4s linear infinite;
  }
}

#section-1 .image-wrapper--overlay img:not(:first-child) {
  transform: scale(0.72) translateY(32px);
  transition: opacity 0.4s ease, transform 0.8s cubic-bezier(0.34, 1.95, 0.64, 1);
}

#section-1 .image-wrapper--overlay.is-animated img:nth-child(2) {
  opacity: 1;
  transform: scale(1) translateY(0);
  transition-delay: 0.1s;
}

#section-1 .image-wrapper--overlay.is-animated img:nth-child(3) {
  opacity: 1;
  transform: scale(1) translateY(0);
  transition-delay: 0.3s;
}

#section-1 .image-wrapper--overlay.is-animated img:nth-child(4) {
  opacity: 1;
  transform: scale(1) translateY(0);
  transition-delay: 0.52s;
}

#section-1 .cta-btn {
  opacity: 0;
  transform: translateX(-50%) scale(0.65) translateY(28px);
  transition: opacity 0.5s ease, transform 0.75s cubic-bezier(0.34, 1.8, 0.64, 1);
  animation: none;
}

#section-1 .cta-btn.is-btn-visible {
  opacity: 1;
  transform: translateX(-50%) scale(1) translateY(0);
}

#section-1 .cta-btn.is-btn-pulsing {
  animation: pulse-pop 2.2s linear infinite;
}

@media screen and (max-width: 767px) {
  #section-1 .cta-btn {
    transform: scale(0.65) translateY(28px);
    animation: none;
  }

  #section-1 .cta-btn.is-btn-visible {
    transform: scale(1) translateY(0);
  }

  #section-1 .cta-btn.is-btn-pulsing {
    animation: pulse-pop-sp 2.2s linear infinite;
  }
}

@media screen and (min-width: 768px) {
  #section-1 .cta-btn.is-btn-pulsing {
    animation: pulse-pop 2.2s linear infinite;
  }
}

.image-section--slides {
  background-color: transparent;
}

.image-section--slides .image-wrapper--sp-only {
  background-color: #F9E6EC;
  padding: 0 20px;
}

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

.image-section--slides .swiper-pagination {
  position: static;
  margin-top: 15px;
  padding-bottom: 10px;
}

.image-section--slides .swiper-pagination-bullet-active {
  background: #ff69b4;
  opacity: 1;
}

.cta-only-link {
  display: block;
  width: 100%;
  padding: 0 20px;
  background-color: #F9E6EC;
  transition: opacity 0.3s ease;
  animation: pulse-sp 2.4s linear infinite;
}

.cta-only-link:hover {
  opacity: 0.8;
}

.cta-only-img {
  width: 100%;
  height: auto;
  display: block;
}

.fixed-cta-btn {
  position: fixed;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: 100%;
  max-width: 480px;
  z-index: 1000;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease;
  opacity: 0;
  pointer-events: none;
  padding: 0 20px;
  box-sizing: border-box;
}

.fixed-cta-btn.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.fixed-cta-btn__img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
  animation: pulse-sp 2.4s linear infinite;
}

@media screen and (max-width: 767px) {
  .fixed-cta-btn {
    max-width: 100%;
  }
}

/* ========== Contact / Form Styles ========== */

.logo-wrap a {
    width: 120px;
    display: inline-block;
    height: auto;
    margin-bottom: 20px;
}

.form-container {
    min-height: 70vh;
    width: 100%;
    max-width: 768px;
    margin: 50px auto;
    margin-top: 20px;
    padding: 0 16px;
}

.contact-form__radio-option {
    margin-top: 20px;
}

.form-ttl {
    width: 100%;
    margin: 0 auto;
    font-size: 24px;
    padding: 0 8px;
    text-align: center;
    border-bottom: 2px solid #EA5E55;
}

.text-red {
    color: #EA5E55;
    margin-bottom: 40px;
}

.contact-form__input::placeholder {
    font-size: 12px;
}

.form-disc__wrap {
    margin-top: 20px;
}

.wpcf7-list-item {
    margin-left: 0;
    margin-top: 20px;
}

.contact-form__label {
    display: flex;
    margin-top: 20px;
}

.contact-form__required {
    color: #EB212D;
}

.contact-form__input {
    margin-top: 8px;
    background: #EEEEEE;
    width: 100%;
    border: 1px solid #555;
    padding: 8px;
}

.wpcf7-select,
.wpcf7-date {
    width: 100%;
    padding: 12px 8px;
    background: #EEEEEE;
    border: 1px solid #555;
    min-height: 3em;
}

.contact-form__submit {
    display: block;
    width: 343px;
    background: #EA5E55;
    margin: 0 auto;
    text-align: center;
    color: white;
    padding: 10px 40px;
    font-weight: bold;
    margin-top: 40px;
    cursor: pointer;
    transition: .3s;
}

.contact-form__submit:hover {
    opacity: .8;
}

.wpcf7-list-item-label {
    white-space: pre-line;
}

.wpcf7-radio label {
    cursor: pointer;
}

input[type=radio] {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #000;
    position: relative;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

input[type=radio]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #DC4F09;
    transform: translate(-50%, -50%);
}

.thanks-text {
    margin-top: 40px;
    text-align: center;
    font-size: 16px;
    line-height: 1.9;
}

.thanks-top {
    display: block;
    width: fit-content;
    margin: 40px auto 60px;
    padding: 12px 32px;
    background: #EA5E55;
    color: white;
    font-weight: bold;
    text-decoration: none;
    transition: opacity 0.2s;
}

.thanks-top:hover {
    opacity: 0.8;
}

.page-footer {
    text-align: center;
    background: #F14C8E;
    padding: 16px 0;
    color: white;
    font-size: 12px;
}
