@charset "utf-8";
.header-bg{
    background-image: url(../design/images/top.webp);
    background-size: 500px;
    background-position: right 60px bottom;
}
.gridline{
    margin-bottom: 0;
}
.fusen li{
    width: 80%;
}
@media screen and (max-width: 768px) {
    .header-bg{
        background-position: center bottom;
    }
    .gridline .half:nth-child(2) p{
        padding: 0;
        margin: 0;
    }
    .fusen li{
        width: 100%;
    }
}
@media screen and (max-width: 376px)  {
    .header-bg {
        background-size: 470px;
    }
    .gridline{
        margin-bottom: 0;
    }
}
/* btn */
p.ar .btn {
    color: #005C8A;
    padding: 10px 50px 10px 30px;
    background-color: white;
    border: 1px solid #005C8A;
    position: relative;
    border-radius: 50px;
    transition: all .5s;
    font-weight: 400;
}
p.ar .btn::after{
    position: absolute;
    content: '→';
    right: 20px;
    top: 50%;
    margin-top: -13px;
    font-weight: bold;
    transition: all .3s;
}
p.ar .btn:hover{
    color: white;
    background-color: #005C8A;
}
p.ar .btn:hover::after{
    right: 15px;
}
h3{
    font-size: 24px;
    font-weight: normal;
}
.fusen.flex{
    align-items: center;
    height: 100%;
}
.box01,
.box02,
.box03{
    padding-top: 100px;
}
/* BOX01 */
.box01 .box01-01{
    padding: 50px 0;
}
.box01 > .flex:first-of-type{
    margin-top: 50px;
}
.box01 > .flex:first-of-type figure{
    background: linear-gradient(45deg, rgba(249,247,246,1) 0%,  rgba(244,244,242,1)100%);
    height: 400px;
    display: flex;
    align-items: center;
}
.box01 div.half{
    display: flex;
    flex-flow: column;
    justify-content: center;
}
.box01 > .flex:last-of-type{
    flex-flow: row-reverse;
}
.box01 > .flex:first-of-type div.half{
    margin-left: auto;
}

.box01 > .flex:last-of-type div.half{
    margin-right: auto;
}
.box01 h3,
.box01 p{
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width: 768px) {
    .box01{
        padding: 0 10px;
    }
    .box01 h2 + p{
        padding: 0;
    }
    .box01 h3, .box01 p{
        width: 100%;
    }
    .box01 > .flex:last-of-type div.half,
    .box01 > .flex:first-of-type div.half{
        padding: 0 10px 50px;
    }
    .box01 > .flex:last-of-type div.half p.ar{
        text-align: center;
    }
}
@media screen and (max-width: 376px)  {
    .box01 {
        padding-bottom: 0;
    }
    .box01 > .flex:first-of-type div.half,
    .box01 > .flex:last-of-type div.half{
        padding: 0 10px;
    }
    .box01 > .flex:last-of-type div.half{
        margin-bottom: 50px;
    }
}
@media screen and (max-width: 376px) {
    .imd{
        margin-bottom: 100px;
    }
}