
.headline{
    max-width: 1440px;
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    margin: auto;
    padding: 20px 0;
}

.logo{
    max-width: 260px;   
    padding-left: 20px;
}
.logo img{
    width: 100%;
}
.headcta{
    max-width: 360px;   
    padding-right: 20px;
}
.headcta img{
        width: 100%;
}
.fv{
    max-width: 1440px;
    width: 90%;
    margin: auto;
}
@media screen and (min-width: 769px) {
.sp-only {display: none;}
}
@media screen and (max-width: 768px) {
  .pc-only {display: none;}
  .fv{width: 100%;
    margin: auto;}
}

/* レイアウトのベース */
.kv-wrap{
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  line-height: 0; /* 画像の下にできる隙間対策 */
}
.kv-bg{
  width: 100%;
  height: auto;
  display: block;
}

/* ボタンの配置（中央下あたり） */
.kv-btn{
  position: absolute;
  left: 50%;
  bottom: 13%;        /* 好みで微調整 */
  transform: translateX(-50%);
  display: inline-block;
}
.kv-btn img{
  display: inline-block; /* ← 中央寄せのためにブロック化 */
  max-width: 640px;
  width: 100%; /* ← レスポンシブ対応 */
  animation: zoomInOut 1s ease-in-out infinite; /* ← 追加！ */
  transform-origin: center center; /* 拡大の基準を中央に */
}

/* スマホ向け位置・サイズ調整 */
@media (max-width: 768px){
  .kv-btn{
    bottom: 5%;
  }
  .kv-btn img{
    width: min(80vw, 420px);
  }
}


.cta_back {
  max-width: 1440px;
  width: 90%;
  margin: 0 auto;
  background: url("../image/cta_back.webp");
  background-size: cover; /* ← これ重要！ 画像を縦横比維持で全体にフィット */
  padding: 24px 0; /* ← 上下に余白をつくる */
  text-align: center; /* ← ボタン中央寄せ */
}

.cta_back2 {
  max-width: 1440px;
  width: 90%;
  margin: 0 auto;
  background: url("../image/cta_back2.webp") top center;
  background-size: cover; /* ← これ重要！ 画像を縦横比維持で全体にフィット */
  background-repeat: no-repeat;
  padding: 24px 0 200px; /* ← 上下に余白をつくる */
  text-align: center; /* ← ボタン中央寄せ */
}

.cta_back4 {
  max-width: 1440px;
  width: 90%;
  margin: 0 auto;
  background: url("../image/cta_back4.webp") top center;
  background-size: cover; /* ← これ重要！ 画像を縦横比維持で全体にフィット */
  background-repeat: no-repeat;
  padding: 24px 0 200px; /* ← 上下に余白をつくる */
  text-align: center; /* ← ボタン中央寄せ */
}


@media screen and (max-width: 768px) {
.cta_back2 { 
  width: 100%;
  margin: -1px auto;
  background: url("../image/cta_back2_sp.webp") top center;
  background-size: contain; /* ← これ重要！ 画像を縦横比維持で全体にフィット */
  background-repeat: no-repeat;
  padding: 0px 20px 80px; /* ← 上下に余白をつくる */
  text-align: center; /* ← ボタン中央寄せ */}


.cta_back4 { 
  width: 100%;
  margin: -1px auto;
  background: url("../image/cta_back4_sp.webp") top center;
  background-size: contain; /* ← これ重要！ 画像を縦横比維持で全体にフィット */
  background-repeat: no-repeat;
  padding: 0px 20px 0px; /* ← 上下に余白をつくる */
  text-align: center; /* ← ボタン中央寄せ */
min-height: 100px; /* ← 画像の高さに合わせて調整してみてください */}
}

.cta_back3 {
  max-width: 1440px;
  width: 90%;
  margin: 0 auto;
  padding: 24px 0; /* ← 上下に余白をつくる */
  text-align: center; /* ← ボタン中央寄せ */
}




.cta {
  display: inline-block; /* ← 中央寄せのためにブロック化 */
  max-width: 640px;
  width: 100%; /* ← レスポンシブ対応 */
  animation: zoomInOut 1s ease-in-out infinite; /* ← 追加！ */
  transform-origin: center center; /* 拡大の基準を中央に */
}




@media screen and (max-width: 768px) {
  .cta {
  display: inline-block; /* ← 中央寄せのためにブロック化 */
  width: 90%; /* ← レスポンシブ対応 */
  animation: zoomInOut 1s ease-in-out infinite; /* ← 追加！ */
  transform-origin: center center; /* 拡大の基準を中央に */
}
}

.cta img {
  width: 100%; /* ← ボタン画像を親幅に合わせる */
  height: auto;
  display: block;
}

/* ズームイン・アウトのアニメーション */
@keyframes zoomInOut {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05); /* ← 拡大（5%） */
  }
  100% {
    transform: scale(1);
  }
}

.container{
    max-width: 1440px;
    width: 90%;
    margin: auto;
}

@media screen and (max-width: 768px) {
 .container {width: 100%;
    margin: auto;}
}


/* スライダー全体 */
.slider-wrapper {
        max-width: 1440px;
        width: 90%;
    margin: auto;
  display: flex; /* スライドのグループを横並び */
  overflow: hidden; /* はみ出たスライドを隠す */
}
/* スライド3枚のグループ */
.slider {
  animation: scroll-left 35s infinite linear .5s both;
  display: flex; /* スライド3枚を横並び */
}
/* スライド */
.slide {
  width: calc(100vw / 10); /* 3はスライドの枚数 */
}
/* スライドの画像 */
.slide img {
  display: block;
  width: 100%;
  margin: 30px 20px;
  padding: 0 20px;
}
/* CSSアニメーション */
@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}



.faq{
  max-width: 1440px;
  width: 90%;
  margin: 0 auto;
  background: url("../image/05.webp");
  background-size: cover; /* ← これ重要！ 画像を縦横比維持で全体にフィット */
  padding: 24px 0; /* ← 上下に余白をつくる */
}

.faq-title{
margin: 80px auto;
max-width: 360px;
}

@media screen and (max-width: 768px) {
 .faq{ width: 100%;
    margin: auto;}
.faq-title{ width:50%;
    margin: 0 auto 30px;}
    .slider{display: none;}
}

.faq-title img{
    width: 100%;
}

.faq-wrap {
    background-color: #fff;
    border-radius: 20px;
    border: #313131 thin solid;
  max-width: 900px;
  padding: 60px 100px 100px;
  margin: 40px auto;
  font-family: "Noto Sans JP", sans-serif;
}

@media screen and (max-width: 768px) {
    .faq-wrap{ width:80%;
      border-radius: 10px;
       padding: 3% 4% 4%;
    margin: auto;}
}

.faq-item {
  border-bottom: 1px solid #eee;
}

/* 質問部分（クリックできる帯） */
.faq-question {
  position: relative; /* ← 三角を絶対配置するために追加 */
  width: 100%;
  background-color: #fbf8e9;
  border: none;
  padding: 20px 50px; /* ← 左右に余白を広めにとる（アイコン分） */
  font-size: 2.0rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center; /* ← テキスト中央寄せ！ */
  display: block; /* ← flexをやめてblockに戻す */
  transition: background 0.3s ease;
  margin:30px auto 0;
}

@media screen and (max-width: 768px) {
    .faq-question {
      font-size: 1.4rem;
    }
}


.faq-question:hover {
  background-color: #fff3d6;
}

/* ▼塗りつぶし三角アイコン（閉じているとき） */
.faq-icon {
 position: absolute;
  right: 20px; /* ← 右端に配置 */
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 18px solid #f9db04; /* ▼三角 */
  transition: transform 0.3s ease;
}

/* ▲開いているときのアイコン */
.faq-item.active .faq-icon {
    transform: translateY(-50%) rotate(180deg);
}

/* 回答部分 */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 20px;
    font-size: 1.8rem;
    line-height: 3rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 20px;
}

@media screen and (max-width: 768px) {
    .faq-answer {
     font-size: 1.4rem;
    line-height: 2.4rem;
    }
}

.footer{
    max-width: 1440px;
    width: 90%;
    background-color: #313131;
    margin: auto;
    padding: 20px 0 0;
    line-height: 2.2em;
}



.container{
    color: #fff;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .footer{width: 100%;}
    .container{
    font-size: 0.6em;
}
}