@charset "UTF-8";
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}
html { line-height: 1;
    font-size: 10px;
}
ol, ul { list-style: none; }
table { border-collapse: collapse; border-spacing: 0; }
caption, th, td {
    text-align: left;
    font-weight: normal;
    vertical-align: middle;
}
q, blockquote { quotes: none; }
q:before, q:after, blockquote:before, blockquote:after { content: ""; content: none; }
a { text-decoration: none; color: inherit; }
a img { border: none; vertical-align: bottom; }
a:focus { outline: none; }
a:hover { text-decoration: underline; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
    display: block;
}
input, textarea, select, button {
    font-size: 1.5rem;
    font-family: inherit;
}

h1, h2, h3, h4, h5, h6, strong{
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    font-size: 1rem;
    vertical-align: baseline;
}
.sp{ display: none !important; }
.pc{ display: block !important; }

img{ max-width: 100%; vertical-align: bottom;}

ruby rt{ font-size: 1.4rem;}

.clearfix{display:inline-block;min-height:1%;}
.clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden;line-height:0;}
* html .clearfix{height:1%;}
.clearfix{display:block;}

/*
===================*/
html { overflow-y: scroll; }
body {
    font-weight: normal;
    text-align: left;
    line-height: 1.5;
    word-break: normal;
    word-wrap: break-word;
    -webkit-text-size-adjust: 100%;
    overflow: hidden;
    font-feature-settings: 'palt' ;
    letter-spacing: 1px;

}


html,body {
    overflow-x: hidden;
  }

a:hover {
    text-decoration:none; 
}



/* ここまでリセットcss */


.o-header_logo {
    margin: 0 auto;
    left: 50%;
    transform: translate(-50%,-50%);
}


body {
    font-family:  "ヒラギノ角ゴ ProN W3", HiraKakuProN-W3, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, Verdana, Helvetica, Arial, sans-serif;
}


html{
    position: relative;
    scroll-behavior: smooth;
}

h1{
    margin-top: 0;
}

h1 img{
    width: 100vw;
}


.flowting{
    position: fixed;
    margin: 0 auto;
    width: 100vw;
    background-color: rgba(255,255,255,0.8);
    padding: 40px;
    text-align: center;
    bottom: 0;
    transition: bottom 0.75s ease-out; /* トランジションの追加 */
    z-index: 5;
}

.flowting.hidden {
    bottom: -100%; /* 下に隠す */
}


.flowting img{
    width: 420px;
    margin: 0 auto;
}


.con{
    width: 850px;
    margin: 0 auto;
}

.sec_1{
    margin: 0 auto 60px;
}

.con_back{
    width: 100vw;
    background-color: #FDF6D3;
}

.con_1_flex{
    display: flex;
    justify-content: space-between;
}

.con_1_flex img{
    width: 410px;
    height: 175px;
}

.sec_2{
    margin-bottom: 50px;
}


.sec_2 img{
    width: 100%;
}

.sec_2_con{
    background-color: #FFF;
}

.sec_2_1{
    font-size: 20px;
    padding: 50px 96px 30px;
    text-align: center;
    font-weight: bold;
}

.sec_2_2{
    font-size: 16px;
    padding: 0 0 30px 96px;
}

.sec_2_3{
    padding: 0 150px 30px;
}

.sec_2_4{
    padding: 0 96px 60px;
}

.sec_2_5{
    font-size: 20px;
    padding: 0 0 30px 165px;
    text-decoration:underline;
}

.sec_2_6{
    font-size: 16px;
    padding: 0 0 60px 165px;
}

.sec_2_7{
    font-size: 16px;
    padding: 0 50px 50px 50px;
}

.sec_3{
    margin-bottom: 50px;
}


.sec_3_con{
    background-color: #FFF;
    padding: 50px 50px 0;
}


.sec_3_qa{
    margin-bottom: 50px;
    border-bottom: 1px solid #6E6E6E;
}

.sec_3_qa_2{
    padding-bottom: 50px;
    border-bottom: 0px solid #6E6E6E;
}

.sec_3_q{
    border: solid 2px #218ED3;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 20px;
    display: flex;
    margin-bottom: 10px;
}

.sec_3_q p{
    color: #218ED3;
    font-weight: bold;
}

.sec_3_q img{
    width: 50px;
    height: 30px;
    margin-right: 20px;
    border-right: 2px solid #218ED3;
    padding-right: 15px;
}

.sec_3_a{
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 16px;
    display: flex;
    margin-bottom: 30px;
}

.sec_3_a_link{
    color: #180BE4;
    text-decoration:underline;
}

.sec_3_a_link:hover{
    color: #180BE4;
    text-decoration:underline;
}


.sec_3_a p{
    color: #000;
}

.sec_3_a img{
    width: 51px;
    height: 30px;
    margin-right: 20px;
    border-right: 2px solid #218ED3;
    padding-right: 18px;
}

.sec_4{
    padding-bottom: 50px;
}

.sec_5{
    padding-bottom: 250px;
}

.sec_4_con,.sec_5_con{
    background-color: #FFF;
    padding: 45px 50px;
}

.sec_4_con h2,.sec_5_con h2{
    font-size: 20px;
    padding-bottom: 30px;
    border-bottom: solid 1px #000;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.sec_4_con li,.sec_5_con li{
    font-size: 16px;
    margin-bottom: 16px;
}

.blue{
    color: #218ED3;
}


@media screen and (max-width: 950px) {
    .pc{ display: none !important; }
    .sp{ display: block !important; }




    html{
        position: relative;
        scroll-behavior: smooth;
    }
    
    h1{
        margin-top: 0;
    }
    
    h1 img{
        width: 100vw;
    }
    
    
    .flowting{
        position: fixed;
        margin: 0 auto;
        width: 100vw;
        background-color: rgba(255,255,255,0.8);
        padding: 5vw;
        text-align: center;
        bottom: 0;
        transition: bottom 0.3s ease-out; /* トランジションの追加 */
    }
    
    .flowting.hidden {
        bottom: -100%; /* 下に隠す */
    }
    
    
    .flowting img{
        width: 90vw;
        margin: 0 auto;
    }
    
    
    .con{
        width: 100%;
        margin: 0 auto;
    }
    
    .sec_1{
        margin: 0 auto ;
        padding: 5vw 0 8vw;
        background-color: #FDF6D3;
    }
    
    .con_back{
        width: 100vw;
        background-color: #FFF;
    }
    
    .con_1_flex{
        display: flex;
        justify-content: space-between;
    }
    
    .con_1_flex img{
        width: 45vw;
        height: auto;
    }

    .sec_1_btn_1_l{
        margin-left: 3vw;
    }

    .sec_1_btn_1_r{
        margin-right: 3vw;
    }
    
    .sec_2{
        margin-bottom: 50px;
        padding-bottom: 0;
    }
    
    .sec_2 img{
        width: 100vw;
    }

    .sec_2_con{
        background-color: #FFF;
    }
    
    .sec_2_1{
        font-size: 4.5vw;
        padding: 8vw 0 5vw;
        text-align: center;
        font-weight: bold;
    }
    
    .sec_2_2{
        font-size: 3.5vw;
        padding: 0 6vw 15vw;
    }
    
    .sec_2_3{
        padding: 0 5vw 5vw;
    }
    
    .sec_2_4{
        padding: 0 10vw 10vw;
    }

    .sec_2_5{
        font-size: 4.5vw;
        padding: 0 5vw 5vw;
        text-decoration: underline;
        text-align: center;
        font-weight: bold;
    }

    .sec_2_6{
        font-size: 3.5vw;
        padding: 0 10vw 10vw;
    }

    .sec_2_7{
        padding: 0 5vw 5vw;
    }

    .sec_2_7_con_sp{
        max-width: 245vw!important;
        width: 245vw!important;
        padding-right: 5vw;
    }

    .scroll_sp{
        padding: 0;
    }

    .sec_3{
        padding-bottom: 0;
    }

    .sec_3_bar_sp{
        width: 100vw;
    }

    .sec_3_con{
        width: 100vw;
        background-color: #FFF;
        padding: 10vw 5vw;
    }

    .sec_3_qa{
        margin-bottom: 10vw;
        border-bottom: 1px solid #6E6E6E;
    }

    .sec_3_qa_2{
    padding-bottom: 0;
    border-bottom: 0px solid #6E6E6E;
    }

    .sec_3_q{
        border: solid 2px #218ED3;
        padding: 4.5vw 4vw;
        border-radius: 10px;
        font-size: 4.5vw;
        display: flex;
        margin-bottom: 10px;
    }

    .sec_3_q p{
        color: #218ED3;
        font-weight: bold;
    }

    .sec_3_q img{
        width: 15vw;
        height: 8vw;
        margin-right: 3vw;
        border-right: 2px solid #218ED3;
        padding-right: 2vw;
    }

    .sec_3_a{
        padding: 4.5vw 4vw;
        border-radius: 10px;
        font-size: 3.5vw;
        display: flex;
        margin-bottom: 30px;
    }

    .sec_3_a p{
        color: #000;
    }

    .sec_3_a img{
        width: 16vw;
        height: 8vw;
        margin-right: 3vw;
        border-right: 2px solid #218ED3;
        padding-right: 2vw;
    }

    .sec_4{
        padding-bottom: 0;
    }

    .sec_5{
        padding-bottom: 0;
    }

    .sec_4_con,.sec_5_con{
        background-color: #FFF;
        padding: 10vw 5vw;
    }

    .sec_4_con h2,.sec_5_con h2{
        font-size: 4.5vw;
        padding-bottom: 8vw;
        border-bottom: solid 1px #000;
        margin-bottom: 8vw;
        text-align: center;
        font-weight: bold;
    }

    .sec_4_con li,.sec_5_con li{
        font-size: 3.5vw;
        margin-bottom: 4vw;
    }

    .blue{
        color: #218ED3;
    }


    .scroll_up.on {
        transform: translateY(0);
        opacity: 1.0;
    }

    .scroll_up {
        transition: 0.8s ease-in-out;
        transform: translateY(30px);
        opacity: 0;
    }

    .scroll {
        /* overflow: auto; */
        object-fit: contain;
        width: calc(100% + 9%);
        margin: 0 5% 0 0;
        height: 120vw;
    }

    .scroll-hint-icon-wrap {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        max-height: 100%;
        pointer-events: none;
    }   

}




/* タブわけ */

.tab_contents {
	width: 100%;
	padding: 30px;
	margin: 20px auto;
}

.tab_wrap {
	padding: 50px;
	margin: 50px auto;
}

/*タブボタンデザイン*/
.tab_lab1, .tab_lab2 {
    position: relative;
    width: 220px;
    height: 55px;
    background: #A2A2A2;
    color: #fff;
    font-size: 18px;
    border-radius: 10px 10px 0 0;
    display: inline-flex;
    justify-content:center;
    align-items:center; 
    text-align: center;
    line-height: 0;
    cursor: pointer;
}

 .tab_lab1_ p{
    position: absolute;    
}

.tab_lab2_ p{
    position: absolute;
    line-height: 1;
} 

/*タブにチェック入ったとき*/
#tab1:checked~.tab_lab1 {
	background: #515BAE;
}
#tab2:checked~.tab_lab2 {
	background: #B82996;
}

/*タブボタンとボックス連動*/
#tab1:checked~.panels #area1 {
	display: block;
    border: solid 2px #515BAE;
}
#tab2:checked~.panels #area2 {
	display: block;
    border: solid 2px #B82996;
}

/*チェックボックスとボックス非表示*/
input[name="check"] {
	display: none;
}
.panel {
	padding: 20px 50px 40px;
	display: none;
}


.panels{
    position: relative;
    top: -4px;
}

.panels_p1{
    font-size: 18px;
    position: absolute;
    top: -110px;
    left: 0px;
    color:#515BAE;
}

.panels_p2{
    font-size: 18px;
    position: absolute;
    top: -110px;
    left: 0px;
    color:#B82996;
}






@media screen and (max-width: 950px) {
    .pc{ display: none !important; }
    .sp{ display: block !important; }



    /* タブわけ */

    .tab_contents {
        width: 100%;
        padding: 30px;
        margin: 20px auto;
    }

    .tab_wrap {
        padding: 5vw;
        margin: 50px auto 0;
    }


    /*タブボタンデザイン*/
    .tab_lab1, .tab_lab2 {
        width: 44vw;
        height: 12vw;
        background: #A2A2A2;
        color: #fff;
        font-size: 3.5vw;
        border-radius: 10px 10px 0 0;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        line-height: 1.2;
    }


    /*タブにチェック入ったとき*/
    #tab1:checked~.tab_lab1 {
        background: #515BAE;
    }
    #tab2:checked~.tab_lab2 {
        background: #B82996;
    }

    /*タブボタンとボックス連動*/
    #tab1:checked~.panels #area1 {
        display: block;
        border: solid 2px #515BAE;
    }
    #tab2:checked~.panels #area2 {
        display: block;
        border: solid 2px #B82996;
    }

    /*チェックボックスとボックス非表示*/
    input[name="check"] {
        display: none;
    }
    .panel {
        padding: 7vw 4vw 10vw;
        display: none;
    }


    .panels{
        width: 100vw;
        position: relative;
    }

    .panels_p1{
        font-size: 3.5vw;
        position: absolute;
        top: -20vw;
        left: 0px;
        color: #515BAE;
    }

    .panels_p2{
        font-size: 3.5vw;
        position: absolute;
        top: -20vw;
        left: 0px;
        color:#B82996;
    }

    .sec_2_7_copy_sp{
        width: 85vw!important;
        margin-bottom: 5vw;
    }

    .o-footer{
        position: relative;
    }


}