

/*######################################################################
共通設定
######################################################################*/

:root {
    --width__main-content: min(100%, 1000px);
    --color__accent: #FF7BAC;
}

/* コンテンツ全体の調整 */
body {
    width: 375px;
    /* width: min(100%, 1440px); */
    margin-inline: auto;
    font-family: "Noto Sans JP", serif;
    color: #535353;

    &.page { /* bodyが .page というクラス名を持っているときだけ */
        margin: 0 auto;
    }
}


h1, h2 {
    margin: 0;
}

p, a, ul, ol, table {
    /* 400-768 */
    /* font-size: clamp(0.875rem, 0.739rem + 0.543vw, 1rem); */
}

/* imgタグの調整 */
img {
    vertical-align: top;
    width: 100%;
}

.sp {
    display: none;
}

@media (max-width: 767px) {
    .pc {
        display: none;

    }
 }


/* 折り返し */
/* PC版でのみ表示 */
.pc {
    display: inline; /* PCでは表示 */
}

@media (max-width: 767px) {
    .pc {
        display: none; /* SPでは非表示 */
    }
}
/* SP版でのみ表示 */
.sp {
    display: none; /* PCでは非表示 */
}

@media (max-width: 767px) {
    .sp {
        display: inline; /* SPでは表示 */
    }
}

span.strong {
    font-weight: bold; /* 太字にする */
    font-size: 1em;  /* 強調のためにサイズを若干大きく（任意） */
}

/*------------------------------------------------------------
スクロールアニメーション
------------------------------------------------------------*/

/* フェードイン */
.fadein {
    opacity: 0;
    animation: fadein 1s ease-in forwards;
}

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fadein-scrollin {
    opacity: 0;
    transform: translate(0, 0);
    transition: all 1.5s;


    &.scrollin-left {
        transform: translate(-30px, 0);
    }

    &.scrollin-right {
        transform: translate(30px, 0);
    }

    &.scrollin-bottom {
        transform: translate(0, 30px);
    }

    &.scrollin {
        opacity: 1;
        transform: translate(0, 0);
    }
}

/*######################################################################
コンテンツ
######################################################################*/
html { scroll-behavior: smooth;}

/*------------------------------------------------------------
header
------------------------------------------------------------*/
.site-header {
    display: flex;
    justify-content: space-between;
    place-items: center;
    width: min(100%, 375px);
    padding: 0;
    margin-inline: auto;
}

/*------------------------------------------------------------
cta
------------------------------------------------------------*/
.cta {
    position: relative;
}

.cta01__btn {
    position: absolute;
    width: 86%;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
}
.cta05__btn {
    position: absolute;
    width: 96%;
    top: 80%;
    left: 50%;
    transform: translateX(-50%);
}

/*------------------------------------------------------------
faq
------------------------------------------------------------*/
.faq {
    background-color: rgba(233, 209, 237, 0.28);
    padding: 30px 15px;
}

.faq_h2 {
    width: 36%;
    margin: 0 auto 8%;
}

/* アコーディオン：外枠 */
.custom-accordion {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
  }
  
  /* 各アコーディオン項目 */
  .accordion-item {
    /* margin-bottom: 12px; */
  }
  
  /* タイトルボタン */
  .accordion-toggle {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding: 14px 9px;
    font-size: 14px;
    background-color: #fff;
    border: none;
    outline: none;
    cursor: pointer;
    text-align: left;
  }
  
  /* Qアイコンとテキストのセット（左寄せ） */
  .left-content {
    display: flex;
    align-items: flex-start;
  }
  
  /* Qアイコン */
  .q-icon {
    display: inline-block;
    width: 11px;
    height: 15px;
    margin-right: 6px;
    background-image: url('../images/q-icon.webp');
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
  }
  
  /* プラス・マイナスアイコン */
  .icon-right {
    display: inline-block;
    width: 8px;
    height: 5px;
    background-image: url('../images/plus-icon.webp');
    background-size: contain;
    background-repeat: no-repeat;
    margin-top: 6px;
    flex-shrink: 0;
  }
  
  /* 切り替え：マイナスアイコン */
  .accordion-toggle[aria-expanded="true"] .icon-right {
    background-image: url('../images/minus-icon.webp');
  }
  
  /* パネル本体：ふわっと動かすための初期設定 */
  .accordion-panel {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: height 0.6s ease, opacity 0.4s ease;
    background-color: #fff;
  }
  
  /* 開いているとき */
  .accordion-panel.open {
    opacity: 1;
  }
  
  /* 回答ボックス（ここにパディング） */
  .answer-box {
    display: flex;
    align-items: flex-start;
    padding: 0 23px 14px 9px;
    font-size: 14px;
    color: #535353;
    text-align: justify;
    /* border-top: 1px solid #aaaaaa; */
  }
  
  .answer-text {
    flex: 1;
}



  /* Aアイコン */
  .answer-box .a-icon {
    display: inline-block;
    width: 10px;
    height: 12px;
    background-image: url('../images/a-icon.webp');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 6px;
    margin-top: 4px;
    flex-shrink: 0;
  }

/*------------------------------------------------------------
contact
------------------------------------------------------------*/
.contact {
    background-color: rgba(227, 244, 255, 0.27);
    padding-bottom: 7%;
}

.contact_h2 {
    width: 89%;
    margin: 9% auto 0%;
}

/* フォーム */
.form-area {
    margin-top: 30px;
}

/* フォーム全体 */
.wpcf7-form {
    width: 92%;
    margin: auto;
    /* padding: 5px 15px; */
    font-size: 13px;
    color: #535353;
    /* background-color: #fff; */
}

.wpcf7-form p {
    /* margin-top: 12px; */
}

/* 入力フィールド */
.wpcf7 input, .wpcf7 textarea {
    width: 100%;
    padding: 5px 13px;
    margin-top: 5px;
    border-radius: 5px;
    box-shadow: 0 0 6px rgba(151, 151, 151, 0.23);
    border: none;
}

/* プレースホルダーの文字色 */
.wpcf7 input::placeholder, 
.wpcf7 textarea::placeholder {
    color: #c7c4c5;
    /* font-family: Shippori Mincho; */
    font-size: 11px;
}

.wpcf7-submit {
    background: url('../images/btn_submit.webp') no-repeat center center !important;
    box-shadow: none !important;
    background-size: contain !important;
   /*  width: 348px !important; 画像の幅に合わせる */
    height: 48px !important; /* 画像の高さに合わせる */
    border: none !important;
    cursor: pointer !important;
    text-indent: -9999px !important; /* 文字を非表示 */
    overflow: hidden !important;
    display: inline-block !important;
    /* margin: 10px 0 !important; */
    /* margin-left: -13px !important; */
    padding: 0;
}

.wpcf7-submit:hover {
    opacity: 0.6 !important;
}

/* エラーメッセージのデザイン */
.wpcf7-response-output {
    color: #e60000;
    border: 1px solid #e60000;
    padding: 10px;
    margin-top: 10px;
    background: #ffe6e6;
}

/* 必須 */
.required {
    font-size: 10px;
    background-color: #e60012;
    padding: 0px 8px;
    margin-left: 8px;
    color: #fff;
}

span.wpcf7-spinner {
    display: none !important;
}


/*------------------------------------------------------------
footer
------------------------------------------------------------*/
.footer {
    background-color: #CB93D4;
    padding: 0.4rem 0 1.2rem;
}

.footer__nav {
    font-size: 14px;
    letter-spacing: 0.8px;
    color: #fff;
    
    ul {
        display: flex;
        justify-content: center;
        list-style: none;
        margin: 0;
        padding: 0;

        li:not(:last-child)::after {
            content: "　";
        }
    }

    a {
        text-decoration: none;
        transition: 0.2s;
        font-size: 10px !important;
        /* font-weight: 600; */

        &:hover {
            color: lightgray;
        }
    }
}

 .copyright__p {
    text-align: center;
    /* font-weight: 700; */
    letter-spacing: 0.6px;
    font-size: 10px !important;
    margin: 0.2rem 0 0 0;
    color: #fff;
}

/*------------------------------------------------------------
追従
------------------------------------------------------------*/
.follow__btn {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;

    display: none;

    width: 100%;
    max-width: 375px;
    padding: 10px 15px;

    box-sizing: border-box;
    background-color: #535353;
}


/* 追従内側 */
.follow__btn .cta__btn {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}


/* CTAエリア */
.follow__btn .cta__area {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ボタン */
.follow__btn .cta__area-btn {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    margin-left: 50%;
}


/* リンク */
.follow__btn .cta__area-btn a {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}


/* ボタン画像 */
.follow__btn .cta__area-btn img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
}