main *,
main *::before,
main *::after{ box-sizing: border-box;}
html {
    color: #333; }
body{
    font-family: "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
    font-weight: 300;
}
.page{ overflow: hidden;}

a {
    color: #00388C; }
a[href^="tel:"] {
    pointer-events: none; }

button{
    border: 0;
    outline: 0;
}

p { margin-bottom: 1em;line-height: 1.7;font-size: 16px; text-align: left;}

img {
    max-width: 100%;
    height: auto; }

.mb10{ margin-bottom: 10px !important;}
.mb20{ margin-bottom: 20px !important;}
.mb30{ margin-bottom: 30px !important;}
.mb40{ margin-bottom: 40px !important;}
.mb50{ margin-bottom: 50px !important;}
.mb60{ margin-bottom: 60px !important;}
.mb70{ margin-bottom: 70px !important;}
.mb80{ margin-bottom: 80px !important;}
.pt0{padding-top: 0 !important;}
.pb0{padding-bottom: 0 !important;}

.txt_s{ font-size: .85em;}
.txt_l{ font-size: 1.3em;}

.txt_orange{ color: #EE764E;}
.txt_fanvy{ color: #1c236d;}

section h2{
    font-size: 30px;
    letter-spacing: .15em;
    font-weight: normal;
    line-height: 1.7;
    text-align: center;
}
section h2:not(.bd_none){ color: #1c236d;}
section h2:not(.bd_none)::after{
    content: "";
    display: block;
    border-bottom: 3px solid #1c236d;
    width: 115px;
    margin: 20px auto 55px;
}
section h3{
    text-align: center;
    font-size: 23px;
}
.normal{
    font-size: 1em;
    font-weight: normal;
    text-align: left;
    margin: 0;
    padding: 0;
    letter-spacing: 0;
}

.marker{ background: linear-gradient(rgba(0,0,0,0) 30%, rgba(215,186,65,.2) 30%);}

section .inner{
    width: 96%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 90px 0;
}

#bread {
    width: 100%;
    max-width: 1000px;
    padding: 10px 50px;
    margin: 0 auto;
    text-align: left;
    font-size: 12px;
    box-sizing: border-box;
}
#bread a{ text-decoration: none;}
#bread a:after {
    content: ">";
    margin: 0 .5em; }

p.lead {
    text-align: center;
    font-size: 1rem;
    line-height: 1.8;
}

.txt_free {
    font-size: 1.2em;
    color: #ea5520;
}

.bg-gray{ background-color: #F0F0EF;}
.bg-beige { background-color: #f3f3f2;}
.bg-school{ background-color: #EEF1F6;}

.disc li{
    list-style: disc outside;
    margin-left: 1.5em;
}

.table01{
    width: 100%;
    font-size: 1rem;
    border-top: 1px solid #707070;
    border-right: 1px solid #707070;
}
.table01 th,
.table01 td{
    padding: 40px;
    border-bottom: 1px solid #707070;
    border-left: 1px solid #707070;
}
.table01 th{
    background: #F7F7F7;
    color: #1c236d;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}
.table01 td{
    background: #fff;
    text-align: left;
}
.table01 td p{ font-size: 14px;}

.table01 h3{
    text-align: left;
    font-size: 1.2em;
}
.table01 li + li{ margin-top: 10px;}



/* 1000px以上のモニター */
@media screen and (min-width: 1000px) {
    .sp {display: none;}
    .tab {display: none;}
    .pc {display: block;}
    .br_pc:before {
        content: "\A" ;
        white-space: pre ;
    }
    .br_tab:before,
    .br_sp:before {
        content: none;
    }
}

@media screen and (max-width: 999px) {
    #bread {
        display: none;
    }
    main {
        margin-top: 87px;
    }
/*    .anchor{
        padding-top: 100px;
        margin-top: -100px;
    }*/

}

/* タブレット */
@media screen and (min-width: 600px) and (max-width: 999px) {
    .sp {display: none;}
    .pc {display: none;}
    .tab {display: block;}
    .br_tab:before {
        content: "\A" ;
        white-space: pre ;
    }
    .br_pc:before,
    .br_sp:before {
        content: none;
    }

    section .inner {
        padding: 50px 0;
    }
}

/* 599px以下（スマホ） */
@media screen and (max-width: 599px) {
    body{ font-size: 14px;}
    
    .tab {display: none;}
    .pc {display: none;}
    .sp {display: block;}
    .br_pc:before,
    .br_tab:before{
        content: none;
    }
    .br_sp:before {
        content: "\A" ;
        white-space: pre ;
    }
    
    p.lead{ text-align: left;}

    section .inner {
        width: 100%;
        padding: 40px 15px;
    }
    section h2 {
        font-size: 26px;
        letter-spacing: 0;
        line-height: 1.3;
    }
    section h2:not(.bd_none)::after {
        width: 80px;
        margin: 15px auto 30px;
    }
    section h3{ font-size: 1.2rem}

    .table01{ font-size: 1em;}
    .table01 th,
    .table01 td{ display: block;}
    .table01 th{ padding: 5px 20px;}
    .table01 td{ padding: 15px;}
}

@media screen and (min-width: 600px) {
    .wrap_photo{
        display: flex;
        align-items: flex-start;
    }
    .wrap_photo > img{
        width: 30%;
        flex: 0 0 30%;
        margin-left: 35px;
    }
    .wrap_photo.reverse{ flex-direction: row-reverse;}
    .wrap_photo.reverse > img{ margin: 0 35px 0 0;}

}

.line {
    position: relative;
    color: #1c236d;
    font-size: 23px;
    font-weight: normal;
    text-align: center;
    margin: 3em 0 1.5em;
    border-top: 1px solid;
    line-height: 1;
}
.line > span{
    background: #fff;
    padding: 0 .5em;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -.5em);
    white-space: nowrap;
}
@media screen and (max-width: 599px){
    .line {
        font-size: 16px;
        margin-top: 30px;
        letter-spacing: 0;
    }
}

.btn{
    display: block;
    background: #e10f40 url(/images/common/arrow02.svg) 98% 50%/20px no-repeat;
    border-radius: 5px;
    box-shadow: 0 1px 0 #792232;
    padding: 10px 30px;
    max-width: 420px;
    width: 100%;
    font-size: 18px;
    margin: 0 auto;
}
.btn:link,
.btn:visited,
.btn:active,
.btn:hover{
    color: #fff;
    text-decoration: none;
}
@media screen and (min-width: 1000px){
    .wrap_btn .btn{ font-size: 18px;}
}
@media screen and (min-width: 600px){
    .wrap_btn{
        display: flex;
        justify-content: space-between;
    }
    .wrap_btn .btn{
        background-size: 25px;
        padding: 10px 35px;
        width: 48%;
    }
}
@media screen and (max-width: 599px){
    .btn{ font-size: 15px;}
    .btn + .btn{ margin-top: 30px;}
}

/* クローズ対応 */
.closing{
    background: #fff;
    padding: 10px 20px;
    border: 2px solid #d7063a;
    border-radius: 5px;
    margin-bottom: 3em;
}
.closing h2 {
    color: #d7063a;
    font-size: 20px;
    text-align: left;
    margin-bottom: 0;
}
.closing h2::after{ content: none;}
.closing p {
    font-size: 18px;
    text-align: left;
    margin-bottom: 0;
    color: #000;
    letter-spacing: 0;
}

.btn.close{
    background: #e0e0e0;
    box-shadow: 0 1px 0 #888;
    pointer-events: none;
}



/* ==========================================================================
   mv
   ========================================================================== */
   .mv {
    background: #fff url(/co-mmit/img/mv.png) center/cover no-repeat;
    padding-top: 39%;
    position: relative;
}
.mv .inner{
    height: 100%;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}
h1{
    color: transparent;
    position: absolute;
    top: 0;
}
@media screen and (min-width: 1280px) {
    .mv{ background-size: contain;}
}
@media screen and (min-width: 1000px) {
    .mv{ padding-top: 500px;}
}
@media screen and (max-width: 599px) {
    .mv{
        padding-top: 77.8%;
        background-image: url(/co-mmit/img/mv_sp.png);
    }
}

/* ==========================================================================
   whats
   ========================================================================== */
.whats .inner > * + *{ margin-top: 35px;}


/* ==========================================================================
   mycommit
   ========================================================================== */
.mycommit .wrap_box .ttl{
    content: "";
    display: block;
    padding-top: 11.5%;
    background-color: #fff;
    background-position: center top;
    background-size: contain;
    background-repeat: no-repeat;
}
.mycommit .wrap_box.kabu{ background-color: #5e76a7;}
.mycommit .wrap_box.kabu .ttl{ background-image: url(/co-mmit/img/portrait/ttl_kabu.png);}
.mycommit .wrap_box.fudo{ background-color: #44a1c5;}
.mycommit .wrap_box.fudo .ttl{ background-image: url(/co-mmit/img/portrait/ttl_fudo.png);}
.mycommit .wrap_box.fx{ background-color: #c36380;}
.mycommit .wrap_box.fx .ttl{ background-image: url(/co-mmit/img/portrait/ttl_fx.png);}
.mycommit .wrap_box.mf{ background-color: #8a9f55;}
.mycommit .wrap_box.mf .ttl{ background-image: url(/co-mmit/img/portrait/ttl_mutualfund.png);}

.mycommit .box{ padding: 10px;}
.mycommit .box .photo{
    padding-top: 75%;
    position: relative;
}
.mycommit .box .photo > img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}
.mycommit .box .txt_commit{
    text-align: left;
}
.mycommit .box .txt_commit dt{
    color: #fff;
    margin-top: 5px;
}
.mycommit .box .txt_commit dd{
    background-color: #fff;
    padding: 5px;
}
@media screen and (min-width: 600px){
    .mycommit .list_commit{
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
        gap: 35px;
    }
}
@media screen and (max-width: 599px){
    .mycommit .wrap_box + .wrap_box{ margin-top: 22px;}
}


/* ==========================================================================
   .app
   ========================================================================== */
.box_checklist{
    background-color: #fff;
    padding: 20px 35px;
    text-align: left;
    margin-bottom: 50px;
    position: relative;
}
.box_checklist .ttl{
    color: #1c236d;
    font-size: 20px;
    text-align: left;
    margin-bottom: 2em;
    display: flex;
    align-items: center;
}
.box_checklist .ttl .icn_requied{
    display: inline-block;
    background: #C6272E;
    border-radius: 5px;
    color: #fff;
    font-size: .8em;
    line-height: 1;
    padding: 3px 10px;
    margin-right: 1em;
    flex: 0 0 auto;
}

.box_checklist .txt_error{
    display: none;
    font-weight: bold;
    color: #C6272E;
    border: 1px solid;
    background-color: #fff;
    padding: 10px;
    position: absolute;
    top: 38px;
    left: 18px;
    z-index: 1;
}
.box_checklist .txt_error.active{ display: block;}
.box_checklist .txt_error::before{
    content: "";
    border: 8px solid transparent;
    border-top: 16px solid #C6272E;
    position: absolute;
    bottom: -25px;
    left: 1.3em;
}
.box_checklist .txt_error::after {
    content: "";
    border: 8px solid transparent;
    border-top: 16px solid #fff;
    position: absolute;
    bottom: -23px;
    left: 1.3em;
}
.box_checklist .txt_error .icn{
    width: 25px;
    height: 25px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    background-color: #C6272E;
    color: #fff;
    line-height: 1;
    margin-right: 1em;
}
.box_checklist .txt_error .icn::before{ content: "！";}

.checklist{
    font-size: 16px;
}
.checklist li + li{ margin-top: 20px;}
.checklist input{ display: none;}
.checklist label{
    display: inline-block;
    padding-left: 45px;
    position: relative;
}
.checklist label::before{
    content: "";
    width: 25px;
    height: 25px;
    border: 1px solid #707070;
    background: #fff;
    position: absolute;
    left: 0;
    top: 2px;
}
.checklist input:checked + label::after{
    content: "";
    width: 22px;
    height: 12px;
    border-left: 3px solid #C6272E;
    border-bottom: 3px solid #C6272E;
    transform: rotate(-45deg);
    position: absolute;
    left: 1px;
    top: 5px;
}

.app .btn.disabled{ opacity: .5;}
@media screen and (max-width: 730px) {
    .box_checklist .ttl .icn_requied{
        align-self: flex-start;
        margin-top: .5em;
    }
}
@media screen and (max-width: 599px) {
    .box_checklist{
        padding: 20px 15px;
        margin-bottom: 40px;
    }
    .box_checklist .ttl{
        font-size: 16px;
        margin-bottom: 1em;
    }
    .box_checklist .txt_error{
        top: 5px;
        left: -3px;
        max-width: 80%;
    }
    .checklist label{ padding-left: 35px;}
}
