@charset "utf-8";
/* CSS Document */

@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&display=swap');

body{
    margin: 0;
    padding: 0;
    position: relative;
    font-family: "Noto Sans JP";
    font-size: 16px;
    overflow: auto;
    background: url(../images/back_flower.png), linear-gradient(180deg, #fff 10%, #aadcff 80%);
    background-position: 10% calc(100% - 190px);
    background-size: 780px;
    background-repeat: repeat-x;
    z-index: -999;
}
.scrollbox{
    width: 100vw;
    height: 100vh;
    display: contents;
}
header{
    height: 100px;
    width: 100%;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color:#36a2ce;
    box-shadow: 3px 3px 3px rgba(0, 76, 109, .5);
}
#wrap{
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: -5;
    pointer-events: auto;
}
footer{
    position: relative;
    height: 200px;
    display: flex;
    flex-flow: nowrap;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    font-size: 14px;
    color: #36a2ce;
}
#hosting{
    margin: 0 70px;
}
.hs-upper{
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 10px;
}
#operations{
    padding: 0 70px;
    border-left: 2px solid #36a2ce;
}
.op-upper{
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 18px;
}
.op-upper p{
    margin: 0;
}
.op-upper img{
    width: 210px;
    margin-left: 20px;
}

nav{
    width: 300px;
}
main{
    width: 780px;
    display: flex;
    flex-direction: column;
    z-index: -10;
    pointer-events: auto;
}


/* 見出し類 */
h1{
    text-align: center;
    width: 865px;
    position: relative;
    top: 7px;
}
h1 img{
    max-height: 100%;
    width: auto;
}
h1 a{
    display: block;
    width: 100%;
    height: 100%;
}
h2,h3,h4,h5,h6{
    width: 100%;
    word-break: break-all;
    text-wrap: wrap;
    margin: 0 0 1rem 0;
}
h2{
    width: 90%;
    margin: 2rem auto 1rem;
    padding: 0 1rem;
    background-image: linear-gradient(90deg, #1a5caa 80%, transparent);
    font-size: 32px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 1px;
}
h2::before{
    content:'';
    border-left: 5px solid #fff;
    margin-right: 16px;
}
h3{
    display: inline-flex;
    align-items: center;
    font-size: 28px;
    font-weight: 500;
    color: #004c6d;
    line-height: 15px;
}
h3::before{
    content:'';
    display: block;
    width: 20px;
    height: 20px;
    margin: 0 1rem 0 0;
    background-color: #004c6d;
    border-radius: 100vh;
}
h4{
    width: 100%;
    font-size: 24px;
    font-weight: 700;
    color: #004c6d;
    display: block;
    border-bottom: 5px double #004c6d;
}
h5{
    padding: 2px 0.8rem 4px;
    font-size: 18px;
    font-weight: 700;
    background-image: linear-gradient(90deg, #36a2ce 70%, transparent);
    color: #fff;
    letter-spacing: 1px;
}


/* 文字・段落の基本装飾 */
p{ 
    margin: auto 0.5rem;
    text-align: justify;
    word-break: break-all;
    text-wrap: wrap;
}
.red{
    color: #d24717;
}
.bold{
    font-weight: 800;
}
.stronger{
    font-size: larger;
}
.little{
    font-size: smaller;
}
.indent_01{
    text-indent: 1rem;
}
/* 迷惑メール対策 */
.at::after{
    content: '@';
}

/* 段落ボックス */

.tbox_01{
    margin-bottom: 64px;
    padding: 0;
}
.tbox_02{
    margin-bottom: 32px;
    padding: 0;
}
.tbox_03{
    margin-bottom: 24px;
    padding: 0;
}

/* リンクとボタン */
a{
    cursor: pointer;
    font-weight: bold;
    text-decoration: underline;
    color: #36a2ce;
}
a:hover{
    color: #d24717;
}
.btnBox{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
a.btn{
    display: table-cell;
    width: 60%;
    height: 100%;
    padding: 0.5rem 1rem;
    vertical-align: middle;
    text-align: center;
    /* padding: 6px 20px; */
    height: 100%;
    color: #fff;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    background-image: linear-gradient(180deg, #1a5caa 20%, #36a2ce 50%);
    transition: 0.15s all;
}
a.btn:hover{
    background-image: linear-gradient(180deg, #1a5caa 50%, #36a2ce 100%);
    box-shadow: 3px 3px 3px rgba(0, 76, 109, .5);
}
footer a{
    color: #36a2ce;
    font-weight: 400;
}

/* レスポンシブ切り替え */

.tb_on{
    display: none;
}
.sp_on{
    display: none;
}
body.scrollStop{
    overflow: hidden;
    position: sticky;
    -webkit-overflow-scrolling: touch;
}
main.scrollStop,
h1.scrollStop{
    pointer-events: none;
}
footer.scrollStop{
        z-index: -1;
}
@media screen and (min-width:2000px){
    body{
        height: fit-content;
    }
}
@media screen and (max-width:1200px){
    main{
        width: 100%;
    }
}

@media screen and (max-width:1060px){
    .tb_on{
        display: block;
    }
    #wrap{
        max-width: 100vw;
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow-x: hidden;
        z-index: 0;
    }
    header{
        width: 100%;
        height: 10vw;
        margin: 0 auto;
        box-shadow: none;
    }

    .op-upper img{
    width: 15vw;
    margin-left: 20px;
    }
    h1{
        margin-right: 10vw;
        width: fit-content;
        max-width: 80%;
    }
    #main-bg{
        width: 90%;
        margin: 50px auto;
        min-height: 80vh;
        border-radius: 8px;
        box-shadow: 6px 6px 5px rgba(99, 130, 91, .4);
    }
    h2{
        font-size: clamp(20px, 3vw, 32px);
    }
    h3{
        font-size: clamp(16px, 2.6vw, 28px);
    }
    h4{
        font-size: clamp(14px, 2.3vw, 24px);
    }
    h5,h6{
        font-size: clamp(12px, 1.7vw, 18px);
    }
}

@media screen and (max-width:780px){
    .sp_none{
        display: none;
    }
    .sp_on{
        display: block;
    }
    body{
        font-size: clamp(12px, 1.5vw, 16px);
    }    
    header{
        padding: 5px;
    }
    .head_right{
        margin: 0;
        min-width: 20px;
    }
    h1{
        width: fit-content;
        max-width: 85%;
    }
    footer{
        height: auto;
        padding: 20px 0;
        flex-flow: column;
    }
    #hosting{
        margin: 20px 0px;
    }
    .hs-upper{
        font-weight: 500;
        font-size: 3vw;
        margin-bottom: 10px;
    }
    #operations{
        padding: 20px 0;
        border-left: none;
        border-top: 2px solid #36a2ce;
    }
    .op-upper{
        display: flex;
        margin-bottom: 10px;
        font-weight: 500;
        font-size: 3vw;
    }
    .op-upper img{
        max-width: auto;
        width: 35vw;
        margin-left: 20px;
    }
    #main-bg{
        width: 90%;
        margin: 30px auto 50px;
        min-height: 80vh;
    }
    h2{
    margin-bottom: 5vw;
    }
    .tbox_01{
        margin-bottom: 48px;
        padding: 0;
    }
    .tbox_02{
        margin-bottom: 24px;
        padding: 0;
    }
    .tbox_03{
        margin-bottom: 16px;
        padding: 0;
    }
}
@media screen and (max-width:412px){

    header{
        padding: 0;
    }
    h1{
        max-width: 70%;
        margin-bottom: 1vw;
    }
    h1 img{
         margin-bottom: 1vw;
    }
    
    .op-upper img{
        width: 50vw;
        margin-left: 20px;
    }
}