/*==============================================================

共通設定

==============================================================*/

body {
    background-color: #58bb55;
}


.section,
section img {
    width: 750px;
    margin: 0 auto;
    display: block;
}


.relative {
    position: relative;
    display: block;
}

.absolute {
    position: absolute;
}

.yellow {
    color: #fbf90c;
}

.marker {
    background: linear-gradient(transparent 60%, #fff176 60%);
    /* #fff176 = 黄(薄め) */
    /* 文章が複数行に折り返しても下線のように途切れず塗られる */
    padding: 0 2px;
}

/*==============================================================

スクロールしたら画像が出てくる設定

==============================================================*/

/* 最初は透明＆下に 40px ずらす */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s ease, transform .8s ease;
}

[data-reveal].is-shown {
    /* 交差したら */
    opacity: 1;
    transform: translateY(0);
}

/* 交差後 0.8s で transform をリセット  -------------------- */
[data-reveal].is-shown {
    transform: none;
    /* translateY を解除して GPU レイヤーから戻す */
}

/*==============================================================

CTA設定

==============================================================*/
.wd-80-cta {
    width: 85%;
    ;
    left: 50%;
    /* ← 中央基準 */
    transform: translateX(-50%);
    position: absolute;
    /* 既に付いているはず */
}

/* ────── 質問エリア用 CTA を中央に配置 ────── */
.cta-under {
    /* ❶ ラッパー section */
    text-align: center;
    /* 中央寄せの基点 */
    margin: 40px 0 10px;
    /* タイトルと少し余白を取る */
}

.cta-under .cta-wrap {
    /* ❷ <a> を行内ブロック化して中央へ */
    display: inline-block;
}

.cta-under__canvas {
    /* ❸ 2つ目だけ absolute を外す */
    position: static !important;
    /* ← 既存の absolute を打ち消す */
    display: block;
    width: 85%;
    /* 1つ目と同じ見た目 */
    max-width: 750px;
    /* PC でもハミ出さない */
    margin: 0 auto;
    /* 左右 auto でド真ん中 */
    height: auto;
    /* アスペクト比維持 */
}


/*==============================================================

画像スライダー設定

==============================================================*/
.slider-area {
    background-color: #58bb55;
    max-width: 750px;
    margin: 0 auto;
    /* ← 追加！中央配置 */
    padding-bottom: 7px;
}

.slider-container {
    position: relative;
    width: 80%;
    max-width: 600px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 10px;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
}

.slide img {
    width: 100%;
    display: #000;
    border-radius: 10px;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
	line-height: 1;
    border: none;
    width: 40px;
    /* ←ボタンのサイズを固定 */
    height: 40px;
    /* ←ボタンのサイズを固定 */
    font-size: 20px;
    /* ←アイコンサイズ調整 */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
}


.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/*==============================================================

マージン設定

==============================================================*/

.mt-170 {
    margin-top: 173%;
}

.mt-3 {
    margin-top: 1%;
}

/*==============================================================

占い師紹介設定

==============================================================*/
.teller_info {
    background-color: #58bb55;
}



/*==============================================================

占い師タイトル設定

==============================================================*/
.title {
    width: 80%;
}

.sab-title {
    width: 50%;
    padding-top: 3%;
    padding-bottom: 3%;
}


/*==============================================================

占い師説明プルダウン設定

==============================================================*/
/* ───────── アコーディオン ───────── */
.accordion {
    max-width: 750px;
    margin: 0 auto;
}

.accordion__text {
    font-family:
    "Hiragino Kaku Gothic ProN",   /* macOS 新 ‐ 推奨 */
    "Hiragino Sans",               /* iOS / macOS 共通 */
    "Yu Gothic", "YuGothic",       /* Windows10/11 */
    "Noto Sans JP",                /* Android & Web フォールバック */
    Arial,                         /* 非日英混在時の安全策 */
    sans-serif;        

    color: #58bb55;
    font-weight: bold;
    line-height: 1.8;

    background: #fff;
    /* 白箱 */
    padding: 20px 22px;
    border-radius: 12px;
    line-height: 1.8;

    margin-bottom: 24px;

}

.accordion__text:last-child {
    margin-bottom: 0;
}

.accordion__item+.accordion__item {
    /* ボタン間の余白 */
    margin-top: 20px;
}

/* ボタン本体 */
.accordion__button {
    position: relative;
    width: 100%;
    padding: 0;
    /* 画像をそのまま表示 */
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

/* ───────── ▼ 三角アイコン ───────── */
.accordion__icon {
    position: absolute;
    top: 50%;
    right: 12.5%;
    width: 26px;
    height: 26px;
    /* 大きさはお好みで */
    pointer-events: none;
    /* クリックを邪魔しない */

    /* ▼ 下向き三角を clip-path で描画 */
    background: #58bb55;
    /* ← 色を変えたい時はここ */
    clip-path: polygon(50% 100%, 0 0, 100% 0);

    transform: translateY(-50%) rotate(0deg);
    /* ▼ が初期状態 */
    transition: transform .3s ease;
}

/* 展開時に ▲（上向き）へ反転 */
.accordion__button[aria-expanded="true"] .accordion__icon {
    transform: translateY(-50%) rotate(180deg);
}


@media (max-width: 750px) {
    .accordion__icon {
        right: 15%;
        width: 15px;
        height: 15px;
    }
}

/* SP レスポンシブ */
@media (max-width: 750px) {
    .accordion__panel {
        font-size: 14px;
    }
}

.accordion__panel {
    padding: 18px 12px;
}

.accordion__text {
    padding: 18px 18px;
    font-size: 14px;
}


/*==============================================================

フォーム設定

==============================================================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.form-container {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    background-color: white;

    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-image: url(../img/7Memberregistration__BG.jpg);

}

.form-group {
    margin-bottom: 20px;
}

label {
    font-weight: bold;
    display: block;
    margin-bottom: 13px;
    margin-top: 43px;
    color: #fff;
    text-align: left;
    margin-left: 8%;
    font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Sans", "Arial", sans-serif;

}

.required {
    background-color: #58bb55;
    /* 必須ラベルの背景色 */
    padding: 2px 4px;
    border-radius: 4px;
    font-size: 12px;
    margin-left: 5px;
    font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Sans", "Arial", sans-serif;
}


input[type="email"],
input[type="password"] {
    width: 85%;
    padding: 10px;
    border: 1px solid #fff;
    border-radius: 4px;
    font-size: 16px;
}

.Memberregistration-form__container {
    margin: 0 auto;
    text-align: center;
}


.note {
    font-size: 14px;
    color: #ffff;
    margin-top: 4px;
    margin-right: 55%;
    font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Sans", "Arial", sans-serif;
}


input[type="checkbox"] {
    margin-right: 5px;
}

.form-group label input[type="checkbox"] {
    display: inline-block;
}

form .form-group:last-child {
    margin-top: 20px;
}

/*==============================================================

フッター設定

==============================================================*/

footer {
    color: #fff;
    display: block;
    clear: both;
    list-style-type: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
    text-align: center;
    font-size: 12px;
    padding-top: 2%;
    padding-bottom: 2%;
    font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Sans", "Arial", sans-serif;

}


@media only screen and (max-width: 750px) {

    /*==============================================================

共通設定

==============================================================*/

    .section,
    section img {
        width: 100%;
    }

    .introduction-text {
        font-size: 15px;
        width: 350px;
    }

    .form-container {
        height: 686px;
    }

    .note {
        margin-right: 27%;
    }

    .btn_canvas {
        width: 100%;
    }


    /*==============================================================

フッター設定

==============================================================*/

    .footer {
        font-size: 10px;
    }

    .next {
        right: 4px;
    }

    .prev {
        left: 4px;
    }

    .prev,
    .next {
        width: 30px;
        height: 30px;
		line-height: 1;
    }
}