@charset "utf-8";
/* CSS Document */

@import url(https://fonts.googleapis.com/css2?family=M+PLUS+1p&family=Noto+Sans+JP:wght@100..900&display=swap);
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p&family=Noto+Sans+JP:wght@100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Zen+Maru+Gothic:wght@300;400;500;700;900&display=swap');

body{
    margin: 0;
    padding: 0;
    color: #000;
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    scroll-behavior: smooth;
    position: relative;
}
#mainWrap{
    margin: 0 auto;
    padding: 0;
}
#mainWrap > .wrap{
    max-width: 1200px;
    margin: 0 auto;
    background-image: url(../img/sub_bg_illust.png);
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
}
main{
    width: calc(100% - 240px);
    min-height: 500px;
}
#mainBox{
    background-color: rgba(255, 255, 255, .8);
    width: 100%;
    height: 100%;
    border-radius: 10px;
    padding: 30px 20px;
}
ul{
    padding-inline-start: 0;
}
/* ヘッダー、フッター */
header,footer{
    width: 100vw;
    margin: 0 auto;
}
header{
    position: absolute;
    top: 0;
    margin: 0;
    padding: 0;
    height: 0;
    display: flex;
    justify-content: flex-end;
}
footer{
    position: relative;
    height: 200px;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background-color: #1e2c5e;
}
footer .leftbox,
footer .rightbox{
    height: 130px;
    border-left: 1px solid #fff;
    padding: 10px 30px;
}
footer .rightbox{
    border-right: 1px solid #fff;
}
footer .jim{
    width: fit-content;
    height: 34px;
    padding: 4px 1em;
    font-weight: 700;
    font-size: 18px;
    background-color: #fff;
    color: #1e2c5e;
}
footer p{
    margin-top: 14px;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 20px;
}

/* 見出し類 */
#logo{
    width: 570px;
    display: flex;
    align-items: center;
}
h1{
    width: 100%;
    padding: 0;
    font-size: 15px;
}
h1 img{
    display: block;
    margin: 0;
    height: 100%;
}

h2, h3, h4, h5{
    margin-bottom: 1em;
    letter-spacing: 1px;
}
h2{
    color: #fff;
    background-color: rgba(31, 44, 92, .8);
    font-size: 1.8em;
    margin-bottom: 1em;
    position: relative;
    border-radius: 10px 10px 0 0;
    padding: .5em 1em;
}
h2::before{
    content: '';
    width: 2em;
    height: 2em;
    position: absolute;
    top: .3em;
    left: .5em;
    border-radius: 50%;
    mix-blend-mode: overlay;
    background: #bbdbfb;
    opacity: .8;
}
h2::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 10px;
    background: repeating-linear-gradient(-45deg, #fff, #fff 2px, transparent 2px, transparent 4px);
    background: -webkit-repeating-linear-gradient(-45deg, #fff, #fff 2px, transparent 2px, transparent 4px);
}
h3{
    padding: .5em .8em .6em 2.5em;
    position: relative;
    font-size: 1.2em;
    color: #fff;
    background-color:#0d65a4;
    border-radius: 100vh 0 0 100vh;
}
h3::before{
    content: '';
    width: 16px;
    height: 16px;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 1em;
    transform: translate(0, -50%);
    border-radius: 100vh;
}
h4{
    padding: .5em .7em;
    border-left: 5px solid #0d65a4;
    border-bottom: 3px solid #d2d2d2;
    background-color: #f2f2f2;
    color: #1e2c5e;
    font-size: 1.1em;
}
h5{
    color: #1e2c5e;
    position: relative;
    font-size: 1.1em;
    padding-left: 1.5em;
    border-bottom: 2px solid #0d65a4;
}
h5::before,
h5::after {
    content: '';
    display: inline-block;
    position: absolute;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border: 2px solid #0d65a4;
}
h5::before {
    top: calc(50% - 3px);
    left: 0;
}
h5::after {
    top: calc(50% + 3px);
    left: 5px;
}
h6{
    width: 70%;
    margin-bottom: 1rem;
    padding: 2px 0.5em;
    font-size: 0.9em;
    color: #1e2c5e;
    background: linear-gradient(90deg, #d1bada 50%,  transparent);
}

/* 文字・段落の基本装飾 */
#mainBox div,
#mainBox p{
    padding: 0 .8em;
}
p{
    text-align: justify;
    word-break: break-word;
    letter-spacing: 0.5px;
    line-height: 1.6em;
}
.bold{
    font-weight: bold;
}
.red{
    color: #c65d5d;
}
.gray{
    color: #a9a9a9;
}
.blue{
    color: #25396c;
}
.indent{
    text-indent: 1em;
}
.indent02{
    padding: 1em;
    text-indent: -1em;
}
.center{
    text-align: center;
}
.deleteLine{
    text-decoration: line-through 2px #f00;
}
.backwhite{
    background-color: #fff;
    border-radius: 8px;
}
.__2linebox{
    display: grid;
    gap: 1em;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
}

/* 迷惑メール対策 */
.at::after{
    content: '@'
}


/* 段落ボックス */

.tbox_01{
    margin-bottom: 48px;
    padding: 0;
}
.tbox_02{
    margin-bottom: 36px;
    padding: 0; 
}
.tbox_03{
    margin-bottom: 24px;
    padding: 0;
}

/* リンクとかボタン */
a{
    color: #c65d5d;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 700;
    overflow-wrap: anywhere;
}
a:hover{
    cursor: pointer;
    opacity: .7;
}
a button:hover{
    cursor: pointer;
    opacity: .8;
}
a button.btnOff{
    background-color: #888;
    box-shadow: none;
    pointer-events: none;
    color: #000;
}
footer a{
    color: #fff;
}

/* レスポンシブ切り替え */

.tb_on{
    display: none;
}
.sp_on{
    display: none;
}
.spp_on{
    display: none;
}
body.scrollStop{
    overflow: hidden;
    position: sticky;
    -webkit-overflow-scrolling: touch;
}
main.scrollStop{
    pointer-events: none;
}

@media screen and (max-width:1060px){
    body{
        background-color: #1e2c5e;
    }
    #mainWrap > .wrap{
        width: 100vw;
        background-position: top left;
    }
    .tb_on{
        display: block;
    }
    .tb_none{
        display: none;
    }
    main{
        width: 100%;
        min-height: 85vh;
    }
    header{
        height: 100px;
        z-index: 100;
    }
    h1{
        padding: 10px;
    }
    #mainBox div,
    #mainBox p{
        padding: 0 0.5em;
    }

}

@media screen and (max-width:780px){
    .sp_on{
        display: block;
    }
    .sp_none{
        display: none;
    }
    #mainWrap > .wrap{
        margin: 0 auto;
        position: relative;
        display: flex;
        background-position: 50% 0;
    }
    a .sp_on{
        height: 100%;
    }
    footer{
        height: 30vw;
        flex-flow: column;
    }
    footer .leftbox,
    footer .rightbox{
        width: 90%;
        border-left: none;
        padding: 10px 30px;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
    }
    footer .rightbox{
        border-right: none;
        border-top: 1px solid #fff;
    }
    footer .jim{
        height: 5vw;
        padding: 0 1em;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 3vw;
    }
    footer p{
        margin-top: 0;
        margin-left: 10px;
        font-size: 2vw;
        line-height: 1.2em;
    }
    .__2linebox{
        gap: 0.9rem 6px;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
}

@media screen and (max-width:430px){
    .spp_on{
        display: block;
    }
    #mainWrap > .wrap{
        background-position: 45% 0;
    }
    footer{
        height: 50vw;
        flex-flow: column;
        margin-bottom: 30px;
    }
    footer .leftbox,
    footer .rightbox{
        width: 90%;
        border-left: none;
        padding: 10px 30px;
        display: flex;
        flex-flow: column;
        justify-content: space-evenly;
        align-items: center;
    }
    footer .jim{
        width: 80%;
        height: 6vw;
        padding: 0 1em;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 4vw;
    }
    footer p{
        margin-top: 6px;
        margin-left: none;
        font-size: 3vw;
        line-height: 1.2em;
    }
    main{
        min-height: 80vh;
    }
    h1{
        padding: auto 6px;
    }
    h2{
        font-size: 1.5em;
        margin-bottom: 1em;
        position: relative;
        border-radius: 10px 10px 0 0;
        padding: .5em 1em;
    }
}
