@charset "utf-8";


/* 基本的なスタイル */
body {
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
    line-height: 1.6;
    color: #333;
    /* background-color: #f0f0f0; */
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
/* --- レイアウト --- */
.main-content {
    background-color: #fff;
}

.wrapper {
    width: 750px; /* PCでの最大幅 */
    margin: 0 auto;
    position: relative; /* ボタンなどを重ねるための基準 */
}

/* --- 画像・ボタン --- */
.wrapper img {
    display: block; /* 画像下の余白を消す */
}

.cta-button {
    display: block;
    width: 90%;
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.3s;
}
.cta-button._bottom {
    top: auto;
    bottom: 1% !important;
}
.cta-button-top {
    display: block;
    width: 90%;
    position: absolute;
    bottom: 13%;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.3s;
}
.cta-button:hover {
    opacity: 0.8;
}

/* --- フローティングバナー --- */
.floating-banner {
    position: fixed;
    bottom: 0; left: 0;
    width: 100%;
    padding-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  }
  .floating-banner img {
    max-width: 100%;
    height: auto;
  }


/* --- フッター --- */
footer {
    padding: 30px 15px;
    background-color: #755480;
    text-align: center;
    color: #fff;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links li {
    font-size: 14px;
}
.footer-links li a{
    color: #fff;
    text-decoration: none;
}
.copyright {
    font-size: 12px;
}

/* よくある質問 */
.faq {
    max-width: 672px; /* PCでの最大幅 */
    width: 90%;
    margin-inline: auto;
    margin-top: 32px;
    margin-bottom: 32px;
}
.faq-title {
    text-align: center;
    font-size: 2em; /* 「よくある質問」の文字サイズ */
    margin-bottom: 30px;
    color: #9E6BB0;
    font-family: "Zen Old Mincho", serif;
    font-weight: 500;
    line-height: 1.4;
    font-size: 32px;
}

/* 上に追加した「FAQ」用のスタイル */
.faq-title .faq-subtitle {
    display: block;
    font-size: 0.5em;
    letter-spacing: 0.1em;
    margin-bottom: 0.5em;
    color: #9A9A9A;
}

/* --- FAQアイテムのスタイル --- */
.faq-item {
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid transparent; 
    /* 枠線色の変化を滑らかにする */
    transition: border-color 0.4s ease-out; 
}
.faq-item.active {
    border-color: #9876A4;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 40px 28px 40px 32px;
    text-align: left;
    
    /* 色の指定 */
    background-color: #9876A4;
    color: #fff;

    border: none;
    cursor: pointer;
    font-size: 24px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
}

.faq-question-text {
    flex-grow: 1;
    padding-right: 20px;
}

.faq-answer {
    /* 色の指定 */
    color: #9876A4;
    
    background-color: #fff;
    padding: 0 32px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.faq-answer p {
    padding: 48px 0;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-size: 24px;
}

/* --- プラス・マイナスボタンのスタイル --- */
.faq-toggle-icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0; /* アイコンが縮まないようにする */
}

/* プラス・マイナス記号の「横棒」 */
.faq-toggle-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #fff;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    transition: transform 0.3s ease-in-out;
}

/* プラス記号の「縦棒」 */
.faq-toggle-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #fff;
    top: 50%;
    left: 0;
    transform: translateY(-50%) rotate(90deg);
    transition: transform 0.3s ease-in-out;
}
.faq-question.active .faq-toggle-icon::after {
    transform: translateY(-50%) rotate(0deg); /* 縦棒を回転させて横棒に重ねる */
}




/* ===============================================
   レスポンシブ設定（画面幅が900px以下の場合）
   =============================================== */
@media screen and (max-width: 900px) {
    .wrapper {
        width: 100%; /* 横幅を画面いっぱいに */
    }

    .footer-links {
        flex-direction: column; /* 縦並びにする */
        gap: 15px;
    }



    .faq-question {
        font-size: 18px;
    }
    .faq-answer p {
        font-size: 18px;
    }
      .pc-only {
    display: none;
  }
}

/* ===============================================
   ローディング画面のスタイル
   =============================================== */
   #loader-bg {
    display: none; /* JSで表示を制御 */
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #fff;
    z-index: 9999;
  }
  #loader {
    display: none; /* JSで表示を制御 */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #333;
    font-size: 1.2em;
  }