*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "maru-maru-gothic-blr-stdn", sans-serif;
    font-weight: 400;
    font-style: normal;
    scroll-behavior: smooth;
    color: #62595a;
}

html {
    background-color: #f8f8f8;
}

img {
    width: 100%;
    vertical-align: bottom;
}

body {
    max-width: 500px;
    margin: 0 auto;
    background-color: #fee5eb;
}

/*cta*/
    .cta02 {
        width: 90%;
        margin: 0 auto;
        padding-top: 5%;
        display: block;
    }

    .cta_top{
        width: 40%;
        padding-bottom: 2%;
    }


/*ヘッダー*/
    .header {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        position: fixed;
        top: 0;
        z-index: 999;
        background: linear-gradient(90deg, #ffb5c8, #ff6f90);
        height: 9%;
    }

    .header_inner {
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 100%;
    }

    .header_logo {
        background-color: #fff;
        padding: 0 3%;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .header_logo img {
        width: 42px;
        height: 42px;
    }

/*ヘッダーcta*/
    .header_btn {
        background: #5ac9dd;
        padding: 1% 2%;
        border-radius: 6px;
        color: #fff;
        font-size: 12px;
        text-decoration: none;
        font-weight: bold;
        border-bottom: 4px solid #57a1af;
        margin-right: 17%;
        transition: .3s;
    }

    .header_btn:hover {
        opacity: .8;
    }

    
    @media screen and (min-width: 500px) {
        .header_btn {
            font-size: 15px;
        }
    }

/*メニュー（右スライド）*/
    .overlay {
        position: fixed;
        top: 0;
        right: -120%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, #ffb5c8, #ff6f90);
        transition: right 0.4s ease;
        z-index: 9000;
        padding-top: 10%;
    }

    .overlay.active {
        right: 0;
    }

    .overlay-nav {
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: center;
    }

    .overlay-nav li {
        margin: 22px 0;
    }

    .overlay-nav a {
        color: #fff;
        font-size: 22px;
        text-decoration: none;
        font-weight: bold;
    }

/*ハンバーガーボタン*/
    /* ▼ PC（500px以上）… bodyの右端に寄せる */
    .menu {
        width: 24px;
        height: 18px;
        position: fixed;
        top: 3%;

        /* 画面中央 → body幅(500px)の半分 → 右端 → 余白20px */
        right: calc(50% - 500px / 2 + 30px);

        cursor: pointer;
        z-index: 20000;
    }

/* ハンバーガー線 */
    .menu span {
        position: absolute;
        left: 0;
        width: 36px;
        height: 4px;
        background: #fff;
        border-radius: 2px;
        transition: 0.4s;
    }

    /* 上線 */
    .menu span:nth-child(1) {
        top: 0;
    }

    /* 下線 */
    .menu span:nth-child(2) {
        bottom: 0;
    }

    /* ×変形 */
    .menu.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 7px;
    }

    .menu.active span:nth-child(2) {
        transform: rotate(-45deg);
        bottom: 7px;
    }

    /* ▼ SP（500px以下）… 画面右端に固定 */
    @media (max-width: 500px) {
        .menu {
            right: 7%;
            top: 3%;
        }
    }


/*fv*/
    #fv {
        padding-top: 14%;
        background: linear-gradient(90deg, #ffb5c8, #ff6f90);
        position: relative;
    }

    .fv_txt {
        position: absolute;
        top: 66%;
        left: 7%;
        width: 86%
    }

    .fv_btn {
        width: 90%;
        position: absolute;
        bottom: 4%;
        left: 50%;
        transform: translateX(-50%);
    }


/*こんなことが学べます*/
    #topics_wrapper {
        scroll-margin-top: 50px; 
    }

    .topics {
        background-color: #fff;
        padding-bottom: 10%;
    }

    .topic {
        width: 90%;
        margin: 0 auto;
        padding-bottom: 3%;
    }

    .topics_bottom {
        padding-top: 5%;
        text-align: center;
    }

    .topics_bottom_txt{
        width: 80%;
    }

    .topics_bottom_cta img{
        width: 90%;
        padding-top: 3%;
    }



/*モーダル*/
    .modal {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.65);
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 99999;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .modal.active {
        display: flex;
    }
    
    .modal-inner {
        position: relative;
        max-width: 80%;
    }
    
    .modal-inner img {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .modal .close {
        position: absolute;
        top: -10px;
        right: -5px;
        width: 35px;        
        height: auto;
        cursor: pointer;
    }

/*参加者の声*/
    #voice_wrapper {
        scroll-margin-top: 40px; 
    }



/*嬉しい特典*/
    .benefits_wrapper {
        background-color:#ff6999;
        text-align: center;
        padding-bottom: 10%;
    }

    .benefits_ttl {
        width: 80%;
        padding-bottom: 5%;
    }

    .benefits {
        width: 90%;
        margin: 0 auto;
    }

    .benefits img {
        padding-bottom: 5%;
    }

/*講師のご紹介*/
    #profile_wrapper {
        position: relative;
        padding-bottom: 10%;
    }

    .achievements {
        display: flex;
        width: 80%;
        position: absolute;
        top: 41%;
        left: 10%;
    }

    .achievements img {
        width: 50%;
        padding: 1%;
    }


/*セミナー会場のご案内*/
    #map_wrapper {
        position: relative;
        scroll-margin-top: 30px; 
    }
    
    .ggl_map {
        background-color: #fff;
        width: 90%;
        position: absolute;
        top: 56%;
        left: 5%;
        text-align: center;
        padding: 5%;
    }

    .ggl_map iframe {
        width: 100%;
    }

    .ggl_map table {
        text-align: left;
        font-size: 12px;
    }

    .ggl_map table th,
    .ggl_map table td{
        line-height: 1;
    }

/*セミナー参加までの流れ*/
    #flow_wrapper {
        width: 90%;
        margin: 0 auto;
        text-align: center;
        padding-bottom: 10%;
    }


/*よくあるご質問*/
    #qa_wrapper {
        scroll-margin-top: 50px; 
    }

    .qa {
        background-color: #fff;
        padding: 0 5% 10%;
        margin: 0 auto;
    }

    /* アコーディオン全体 */
    .qa_item {
        width: 100%;
        border-radius: 12px;
        overflow: hidden;
        border: 2px solid #f8b3c7;
        margin-bottom: 15px;
    }
    
    /* Q 質問部分（ピンク帯） */
    .question {
        background: linear-gradient(90deg, #ff8ba2, #ff6f90);
        border-radius: 8px;
        padding: 3% 5%;
        display: flex;
        align-items: center;
        cursor: pointer;
        position: relative;
        color: #fff;
        line-height: 1.5;
    }
    
    /* Q アイコン */
    .qa_icon {
        width: 30px;
        height: 30px;
        margin-right: 10px;
    }
    
    /* 質問テキスト */
    .question span {
        font-size: 15px;
        font-weight: 700;
        color: #fff;
    }
    
    /* ▲ 矢印（右側） */
    .qa_arrow {
        margin-left: auto;
        width: 0;
        height: 0;
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-top: 9px solid #fff;
        transition: 0.3s;
    }
    
    /* 開いた時の矢印反転（▲→▼） */
    .question.open .qa_arrow {
        transform: rotate(180deg);
    }
    
    /* 回答部分 */
    .answer {
        background: #fff;
        padding: 18px;
        display: none;
        color: #555;
        line-height: 1.5;
        font-size: 15px;
    }

    .answer.open {
        display: block;
      }

    .question.open {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

/*ご予約フォーム*/
    #form_wrapper {
        background-color: #ff6999;
    }

    .form {
        width: 90%;
        padding: 30px 20px;
        background: #fff;
        border-radius: 20px;
        margin: 5% auto 0;
    }
    
    /* 共通 */
    .form_item {
        margin-bottom: 5%;
    }
    
    .form_item label {
        color: #444;
        font-weight: bold;
        font-size: 16px;
    }
    
    .req {
        background: #ff4e78;
        color: #fff;
        padding: 2px 6px;
        border-radius: 4px;
        font-size: 12px;
        margin-left: 4px;
    }
    
    /* テキスト系 */
    input[type="text"],
    input[type="tel"],
    input[type="email"],
    select {
        width: 100%;
        padding:  2% 2%;
        margin-top: 1%;
        border: none;
        border-radius: 8px;
        background: #ffe2ea;
        font-size: 16px!important;
        color: #444;
    }
    
    input::placeholder {
        color: #f5a7bb;
    }
    
    select {
        appearance: none;
        background: #ffe2ea;
        color: #f5a7bb;
    }
  
    input,
    select,
    textarea {
        background-color: #ffe2ea !important;
        color: #444;
    }

    /* input/select の背景色が変わらないよう統一 */
input,
select,
textarea {
    background-color: #ffe2ea !important;
    color: #444;
}

/* フォーカス時の変化防止 + 入力後の文字色 */
    input:focus,
    select:focus,
    textarea:focus {
        background-color: #ffe2ea !important;
        color: #62595a !important;
        outline: none;
        border: none;
        box-shadow: none;
    }

    select {
        color: #f5a7bb;
    }

    select option {
        color: #62595a;
    }

    select:valid {
        color: #62595a;
    }

    input::placeholder {
        color: #f5a7bb;
    }

    input:-webkit-autofill,
    input:-webkit-autofill:focus,
    select:-webkit-autofill,
    textarea:-webkit-autofill {
        -webkit-box-shadow: 0 0 0 1000px #ffe2ea inset !important;
        box-shadow: 0 0 0 1000px #ffe2ea inset !important;
        -webkit-text-fill-color: #62595a !important;
    }

  /*プライバシーポリシー*/
    .privacy {
        text-align: center;
    }

  .privacy_box{
        width: 100%;
        margin: 0 auto;
        height: 100px;
        overflow-y: scroll;
        border: solid 1px #62595a;
        border-radius: 4px;
        font-size: 15px;
        text-align: left;
        line-height: 1.2;
        padding: 3%
  }
  
  /* 同意チェック */
  .agree {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        margin-bottom: 25px;
        padding-top: 3%;
  }
  
  .agree input {
        margin-right: 8px;
  }
  
  /* 送信ボタン */
    .submit-btn {
        width: 85%;
        margin: 0 auto 5%;
        padding: 3% 5% 3% 10%;
        background-color: #ff6999;
        border: none;
        border-radius: 14px;
        font-size: 18px;
        color: #fff;
        font-weight: bold;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 6px 0 #de3169;
    }
    
    .submit-btn .submit_arrow {
        margin-left: 5%;
        font-size: 20px;
        color: #fff;
    }
    
    .submit-btn:active {
        transform: translateY(3px);
        box-shadow: 0 3px 0 #e84590;
    }



/*フッター*/
    footer {
        background-color: #ff6999;
        padding: 10% 0;
    }
    
    .footer_flex {
        width: 70%;
        margin: 0 auto;
        display: flex;
    }

    .footer_logo {
        width: 20%;
        height: 20%;
        background-color: #fff;
        padding: 3%;
    }

    .footer_table {
        width: 80%;
    }

    .footer_table th,
    .footer_table td{
        color: #fff;
        font-size: 10px;
        vertical-align: text-top;
        line-height: 1.2;
    }

    .footer_table th {
        width: 30%;
    }

    .footer_table th span{
        background-color: #fff;
        color:#ff6999;
    }

/*アニメーション*/
    .kira {
        position: relative;
        display: inline-block;
        overflow: hidden;
    }

    .kira::before {
        content: "";
        position: absolute;
        top: 0;
        left: -120%;
        width: 60%;
        height: 100%;
      
        background: linear-gradient(
            120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.6) 50%,
            rgba(255, 255, 255, 0) 100%
        );
      
        transform: skewX(-20deg);
        pointer-events: none;
        animation: kirakira 2.2s infinite;
      }

    @keyframes kirakira {
        0% { left: -120%; }
        50% { left: 130%; }
        100% { left: 130%; }
    }
    
/*フェードイン*/
    .fade-target {
        opacity: 0;
        transform: translateY(30px);
        transition: 0.8s ease-out;
    }
    
    .fade-target.show {
        opacity: 1;
        transform: translateY(0);
    }


/*確認画面*/
    .reserve_wrapper {
    background-color: #ff6999;
    padding: 7% 0;
    }

    .reserve_box {
        margin: 5%;
        background-color: #fff;
        padding: 5%;
        border-radius: 20px;
    }

    .reserve_top {
        font-size: 12px;
        padding-top: 3%;
    }

    .reserve_box h1 {
        font-weight: bold;
        text-align: center;
        line-height: 1;
    }

    .reserve_box h1 span {
        color:#ff6999;
        font-size: 26px;
    }

    .reserve_box p {
        line-height: 1.3;
    }

    .reserve_box form {
        padding-top: 5%;
    }

    .confirm-item {
        line-height: 1.3;
        padding-bottom: 3%;
    }

    .confirm-item h3 {
        background-color: #ffacc7;
        color: #fff;
        padding: 0 1%;
        border-radius: 2px;
        margin-bottom: 1%;
    }

    .reserve_box .submit-btn {
        margin-top: 5%;
    }

    .back_btn {
        width: 85%;
        margin: 0 auto 5%;
        padding: 3% 5% 3% 10%;
        background-color: #808080;
        border: none;
        border-radius: 14px;
        font-size: 18px;
        color: #fff;
        font-weight: bold;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 6px 0 #4e4e4e;
    }

    .back_btn a{
        text-decoration: none;
        color: #fff;
    }


/*サンクスページ*/
    .taC {
        text-align: center;
    }

    .reserve_wrapper .txt_box {
        font-size: 13px;
        padding-top: 5%;
    }

    .finish_back {
        margin-top: 5%;
    }

/*住所の自動検出を無効か*/
    .mask-address::before {
        content: attr(data-text);
    }