/* ========================================
   リセット・ベース
   ======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ========================================
                     MV（メインビジュアル）
                     PC: 横1200 / SP: 横600・端末で出し分け
                     ======================================== */
.mv {
  width: 100%;
  overflow: hidden;
}

.mv picture,
.mv img {
  display: block;
  width: 100%;
}

/* PC: 最大幅1200pxで中央表示
@media (min-width: 769px) {
  .mv img {
    max-width: 1200px;
    margin: 0 auto;
  }
} */

/* SP: 最大幅600px、画面より大きい場合は横幅いっぱい */

.mv img {
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

/* ========================================
                     お客様の声（Q&A）
                     ======================================== */
.voice-section {
  background: #fff;
  padding: 40px 20px 60px;
}

.voice-inner {
  max-width: 600px;
  margin: 0 auto;
}

.voice-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.voice-block:last-child {
  margin-bottom: 0;
}

.voice-icon {
  flex-shrink: 0;
  width: 64px;
  line-height: 0;
}

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

.voice-text {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 24px;
  line-height: 2;
  color: #616161;
  font-weight: bold;
}

.voice-q {
  margin-top: 1.5rem;
  border-top: 1px solid #ddd;
  padding-top: 1.5rem;
}

.voice-q .voice-text {
  font-size: 22px;
  line-height: 1.5;
}


.voice-a .voice-text {
  color: #332f58;
}

.voice-text .highlight {
  background: #ffeb3b;
  padding: 0 2px;
  font-weight: inherit;
}

@media (max-width: 599px) {
  .voice-section {
    padding: 24px 16px 40px;
  }

  .voice-block {
    gap: 12px;
    margin-bottom: 20px;
  }

  .voice-icon {
    width: 52px;
  }

}

/* ========================================
                     先生の言葉
                     ======================================== */
.message-section {
  background: #fff;
  padding: 40px 20px 60px;
}

.message-inner {
  max-width: 600px;
  margin: 0 auto;
}



.message-intro {
  margin: 0 0 32px;
  font-size: 24px;
  line-height: 2;
  color: #616161;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.8;
}

.message-intro .highlight {
  background: #ffeb3b;
  padding: 0 2px;
}

.message-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 30px;
  font-weight: bold;
  color: #332f58;
  line-height: 1.4;
  margin-top: 1.5rem;
  border-top: 1px solid #ddd;
  padding-top: 1.5rem;
}

.message-heading-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #d86a4a;
}

.message-text {
  margin: 0 0 28px;
  font-size: 24px;
  line-height: 2;
  color: #332f58;
  font-weight: 500;
}

.message-text:last-of-type {
  margin-bottom: 0;
}

.message-text .highlight,
.voice-accordion-section .highlight {
  background: #ffeb3b;
  padding: 0 2px;
}

@media (max-width: 599px) {
  .message-section {
    padding: 24px 16px 40px;
  }

  .message-heading-icon {
    width: 8px;
    height: 8px;
  }


  .message-heading {
    font-size: 26px;
  }

  .message-text {
    font-size: 20px;
  }
}

/* ========================================
                     コンテンツ画像（MV以降）
                     横600・画面より大きい場合は横幅いっぱい
                     ======================================== */
.content-images {
  max-width: 600px;
  margin: 0 auto;
}

.content-images .img-wrap {
  margin: 0;
  line-height: 0;
}

.content-images .img-wrap img {
  display: block;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

/* 画面幅が600px未満（スマホ等）のときは横幅100%で画面に収める */
@media (max-width: 599px) {
  .content-images {
    max-width: 100%;
    padding: 0;
  }

  .content-images .img-wrap img {
    max-width: 100%;
  }
}

/* ========================================
                     お客様の声（メッセージ下・開閉式3件）
                     ======================================== */
.voice-accordion-section {
  background: #fff;
  padding: 40px 20px 60px;
}

.voice-accordion-inner {
  max-width: 600px;
  margin: 0 auto;
}

.voice-accordion-title {
  margin: 0 0 24px;
  font-size: 30px;
  font-weight: bold;
  color: #332f58;
  text-align: center;
}

.voice-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.voice-accordion-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

.voice-accordion-summary {
  display: flex;
  flex-direction: column;
  padding: 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.voice-accordion-summary::-webkit-details-marker {
  display: none;
}

.voice-accordion-img {
  display: block;
  line-height: 0;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

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

.voice-accordion-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  background: #f8f8f8;
}

.voice-accordion-summary-row::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.voice-accordion-item[open] .voice-accordion-summary-row::after {
  transform: rotate(-135deg);
}

.voice-accordion-summary-text {
  flex: 1;
  min-width: 0;
}

.voice-accordion-body {
  padding: 20px;
  font-size: 22px;
  line-height: 1.8;
  color: #333;
  background: #fff;
  border-top: 1px solid #eee;
}

.voice-accordion-body p {
  margin: 0 0 1em;
}

.voice-accordion-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 599px) {
  .voice-accordion-section {
    padding: 24px 16px 40px;
  }

  .voice-accordion-title {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .voice-accordion-summary-row {
    padding: 14px 16px;
    font-size: 18px;
  }

  .voice-accordion-body {
    padding: 16px;
    font-size: 18px;
  }
}

/* ========================================
                  よくある質問
                  ======================================== */
.faq-section {
  background: #fafafa;
  padding: 48px 20px 64px;
}

.faq-inner {
  max-width: 600px;
  margin: 0 auto;
}

.faq-title {
  margin: 0 0 28px;
  font-size: 30px;
  font-weight: bold;
  color: #333;
  text-align: center;
}

.faq-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-item {
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-q {
  margin: 0;
  padding: 16px 20px;
  font-size: 20px;
  font-weight: bold;
  color: #333;
  background: #fff;
  border-left: 4px solid #33e5d6;
}

.faq-a {
  margin: 0;
  padding: 18px 20px;
  font-size: 20px;
  line-height: 1.8;
  color: #333;
  background: #fff;
  border-top: 1px solid #eee;
}

.faq-a p {
  margin: 0;
}

.faq-highlight {
  background: #f8f1e5;
  padding: 0 3px;
}

@media (max-width: 599px) {
  .faq-section {
    padding: 32px 16px 48px;
  }

  .faq-title {
    /* font-size: 18px; */
    /* margin-bottom: 22px; */
  }

  .faq-q {
    /* padding: 14px 16px; */
    /* font-size: 14px; */
  }

  .faq-a {
    /* padding: 14px 16px; */
    /* font-size: 13px; */
  }
}


/* ========================================
                     フロートCTA
                     ======================================== */

/* PC: 右下に固定 */
.float-cta-pc {
  display: none;
}

@media (min-width: 769px) {
  .float-cta-pc {
    display: block;
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 100;
  }

  .float-cta-pc a {
    display: block;
  }

  .float-cta-pc img {
    display: block;
    max-width: 300px;
  }

  .float-cta-sp {
    display: none;
  }
}

/* SP: 下部固定・横並び */
.float-cta-sp {
  display: none;
}

@media (max-width: 768px) {
  .float-cta-sp {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  }

  .float-cta-sp .float-cta-sp-link {
    /* display: flex; */
    /* flex: 1 1 0; */
    min-width: 0;
    justify-content: center;
    align-items: center;
    padding: 5px 0 12px 0;
    box-sizing: border-box;
  }

  .float-cta-sp .float-cta-sp-link img {
    max-height: 60px;
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  .float-cta-pc {
    display: none;
  }
}