@charset "UTF-8";

/* =====================
   ベース
===================== */
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  background: #fff;
}

picture {
  display: block;
}

/* =====================
   LP全体
===================== */
.lp {
  max-width: 750px;
  width: 100%;
  margin: 0 auto;
}

.lp img {
  width: 100%;
  display: block;
}

/* =====================
   FV
===================== */
.fv {
  position: relative;
}

.fv-cta {
  position: absolute;
  left: 50%;
  top: 28.5%;
  width: 88%;
  transform: translateX(-50%);
  z-index: 10;
  cursor: pointer;
  transition: 0.4s;
  animation: fuwafuwa 2s linear infinite;
}

.fv-cta:hover {
  opacity: 0.7;
}

/* =====================
   Reason
===================== */
.reason {
  position: relative;
}

.reason-cta {
  position: absolute;
  bottom: 74%;
  left: 50%;
  width: 97%;
  transform: translateX(-50%);
  z-index: 10;
  cursor: pointer;
  transition: 0.4s;
  animation: fuwafuwa 2s linear infinite;
}

.reason-cta:hover {
  opacity: 0.7;
}

/* =====================
   Offer
===================== */
.offer {
  position: relative;
}

.offer-cta {
  position: absolute;
  bottom: 7%;
  left: 50%;
  width: 88%;
  transform: translateX(-50%);
  z-index: 10;
  cursor: pointer;
  transition: 0.4s;
  animation: fuwafuwa 2s linear infinite;
}

.offer-cta:hover {
  opacity: 0.7;
}

/* =====================
   タブ
===================== */
.schedule-tab {
  background: #ffe391;
  padding: 40px 0 0; /* ←これ重要（下を0に） */
}

.tab-header {
  width: 92.5%;
  margin: 0 auto;
}

.tab-content-wrap {
  position: relative;
  width: 100%;
}

.tab-content {
  opacity: 0;
  transform: translateY(10px);
  transition: 0.4s ease;
  position: absolute;
  width: 100%;
  pointer-events: none;
}

.tab-content.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  pointer-events: auto;
}

.tab-buttons {
  display: flex;
  align-items: flex-end;
}

.tab-button {
  width: 50%;
  height: 74px;
  padding: 0 10px;
  border: none;
  color: #fff;
  font-size: 3rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.tab-button.active {
  height: 88px;
  z-index: 2;
}

.tab-button:first-child {
  background: #203bd6;
  border-radius: 18px 18px 0 0;
}

.tab-button:last-child {
  background: #00a892;
  border-radius: 18px 18px 0 0;
}

/* =====================
   お客様の声
===================== */
.voice {
  width: 100%;
  overflow: hidden;
}

.voice-scroll {
  display: flex;
  gap: 16px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 20px 20px;
  box-sizing: border-box;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.voice-card {
  flex: 0 0 80%;
  min-width: 80%;
  scroll-snap-align: center;
}

.voice-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* スクロールバーを見せる */
.voice-scroll::-webkit-scrollbar {
  height: 8px;
}

.voice-scroll::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 999px;
}

.voice-scroll::-webkit-scrollbar-track {
  background: #f3f3f3;
}

/* =====================
   FAQ
===================== */
.faq {
  padding: 40px 0;
  background: #fff;
}

.faq-heading {
  text-align: center;
  color: #2f5f93;
  margin-bottom: 40px;
}

.faq-heading p {
  font-size: 3rem;
  margin-bottom: 0;
}

.faq-heading h2 {
  font-size: 4.6rem;
  font-weight: 800;
  margin-top: 0;
}

.faq-heading span {
  display: block;
  width: 60px;
  height: 3px;
  background: #2f5f93;
  margin: 24px auto 0;
}

.faq-box {
  width: 90%;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
}

.faq-question {
  position: relative;
  list-style: none;
  background: #2f65a8;
  color: #fff;
  font-size: 2.6rem;
  padding: 20px 40px;
  font-weight: 700;
  cursor: pointer;
}

.faq-item[open] .faq-question::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 36px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 4rem;
  font-weight: 700;
  transition: 0.3s ease;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  background: #f3f6fb;
  color: #2f5f93;
  font-size: 2.8rem;
  padding: 36px;
  font-weight: 590;
  animation: faqOpen 0.35s ease;
}


.faq-answer p {
  margin: 0;
}

/* =====================
   フッター
===================== */
.footer {
  background: #121b35;
  color: #b8c0d0;
  text-align: center;
  font-size: 2.2rem;
  max-width: 750px;
  margin: 0 auto;
}

.footer-links {
  background: #1d2a52;
  padding: 14px;
}

.footer-links a {
  color: #b8c0d0;
  text-decoration: none;
}

.footer-links span {
  margin: 0 8px;
}

.footer-copy {
  padding: 20px;
  font-size: 2.2rem;
  font-weight: 700;
}

/* =====================
   アニメーション
===================== */
@keyframes fuwafuwa {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* =====================
   SP
===================== */
@media screen and (max-width: 750px) {
  html {
    font-size: calc(1000 / 750 * 1vw);
  }
}

@keyframes faqOpen {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}