@charset "utf-8";

/*--------------------------------
reset
--------------------------------*/
html,body,div,p,img,iframe,a,span,blockquote,q,address,cite,
pre,code,em,small,strong,b,i,
header,article,section,nav,figure,figcaption,hgroup,menu,aside,footer,time,
h1,h2,h3,h4,h5,h6,
ul,ol,li,dl,dt,dd,
table,tbody,thead,tfoot,th,tr,td,
form,fieldset,legend,label,select,input,textarea,button{
    margin: 0;
    padding: 0;
    border: 0;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    vertical-align: baseline;
}
header,article,section,nav,figure,figcaption,hgroup,menu,aside,footer{
    display: block;
}
ul li{
    list-style-type: none;
}
h1,h2,h3,h4,h5,h6{
    font-weight: 500;
}
body{
    line-height: 1;
}
a{
    text-decoration: none;
}
img{
    vertical-align: middle;
}
table{
    border-collapse: collapse;
    border-spacing: 0;
}
select,option,input:not([type=checkbox]):not([type=radio]),textarea,button{
    font: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
}
blockquote::before,blockquote::after,q::before,q::after{
    content: '';
    content: none;
}
[type=submit],[type=button],[type=reset],[type=file],button{
    cursor: pointer;
}
:focus{
    outline: none;
}

/*--------------------------------
base
--------------------------------*/
body{
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.4;
    font-size: 16px;
    color: #1a1a1a;
}
h1,h2,h3,h4,h5,h6{
    line-height: 1.3;
    font-weight: bold;
}
img{
    width: 100%;
    max-width: 100%;
    height: auto;
}
.h2,
.h3{
    text-align: center;
    font-style: italic;
}
.h2 {
    margin-bottom: 8%;
    font-size: 32px;
}
.h2 .sub-text,
.h2 .main-text{
    display: block;
    line-height: 1;
}
.h2 .sub-text {
    margin-bottom: 2%;
    font-size: 16px;
    font-weight: normal;
}
.h3{
    margin-bottom: 4%;
    font-size: 24px;
}
.white-bg{
    background: url(../images/white-bg-icon.webp) no-repeat top left / 50%;
}
.gray-bg{
    background: url(../images/gray-bg-icon.webp) no-repeat top right / 50%, #f1f0f6;
}
.closing .btn::before,
.closing .btn::after{
    margin: auto;
    content: "";
    position: absolute;
}

/*--------------------------------
contents
--------------------------------*/
.header{
    height: 547px;
    background: url(../images/hero-bg.webp) no-repeat left 52% center / cover;
    position: relative;
}
.header .inner {
    margin: auto;
    max-width: 768px;
    height: 100%;
    position: relative;
}
.header .sub-text,
.header .main-text{
    position: absolute;
}
.header .main-text{
    width: 59%;
    max-width: 250px;
    display: flex;
    justify-content: end;
    align-items: center;
    top: 0;
    right: 4%;
    bottom: 0;
}
.about,
.closing{
    padding: 8%;
}
.about .text-box {
    margin-bottom: 8%;
}
.about .text{
    margin-bottom: 4%;
    text-align: center;
}
.about .img-box,
.closing .img-box{
    margin: 0 8%;
    text-align: center;
}
.features,
.application{
    padding: 8% 0;
}
.features .item{
    margin-bottom: 8%;
}
.features .item:last-child{
    margin-bottom: 0;
}
.features .img-box,
.application .img-box{
    margin-bottom: 8%;
}
.features .text-box,
.application .text-box{
    padding: 0 8%;
    text-align: center;
}
.application .text-box .text{
    margin-bottom: 8%;
}
.application .badge-box{
    display: flex;
    align-items: center;
    column-gap: 4%;
}
.application .badge-box a{
    flex: 1;
}
.closing .img-box{
    margin-bottom: 12%;
}
.closing .btn {
    padding: 12px 48px 12px 12px;
    display: block;
    background: #2675a6;
    border-radius: 4px;
    position: relative;
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: white;
}
.closing .btn::before,
.closing .btn::after{
    top: 0;
    bottom: 0;
}
.closing .btn::before{
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 4px;
    right: 12px;
}
.closing .btn::after{
    height: 0;
    border: solid 12px transparent;
    border-left: solid 22px #2675a6;
    right: 7px;
}
.footer {
    padding: 8px;
    background: #1a1a1a;
}
.footer .text{
    text-align: center;
    font-size: 14px;
    color: white;
}

/*--------------------------------
media query tablet
--------------------------------*/
@media screen and (min-width:600px){
    body{
        font-size: 20px;
    }
    .h2 {
        font-size: 40px;
    }
    .h2 .sub-text {
        font-size: 20px;
    }
    .h3 {
        font-size: 28px;
    }
    .header {
        height: 600px;
    }
    .header .main-text {
        width: 46%;
        max-width: 320px;
        right: 8%;
    }
    .closing .btn {
        font-size: 40px;
    }
    .closing .btn::before {
        width: 50px;
        height: 50px;
    }
    .closing .btn::after {
        border: solid 14px transparent;
        border-left: solid 24px #2675a6;
        right: 8px;
    }
}

/*--------------------------------
media query pc
--------------------------------*/
@media screen and (min-width:769px){
    body{
        font-size: 22px;
    }
    .h2 {
        font-size: 46px;
    }
    .h2 .sub-text {
        font-size: 20px;
    }
    .h3 {
        font-size: 28px;
    }
    .inner{
        margin: auto;
        max-width: 1200px;
    }
    .flex{
        display: flex;
        align-items: center;
        column-gap: 4%;
    }
    .white-bg {
        background: url(../images/white-bg-icon.webp) no-repeat top left / 314px;
    }
    .gray-bg{
        background: url(../images/gray-bg-icon.webp) no-repeat top right / 314px, #f1f0f6;
    }
    .flex .text-box,
    .flex .img-box{
        margin: 0;
        padding: 0;
        flex: 1;
    }
    .features .item:nth-child(even),
    .application .item{
        padding-right: 4%;
    }
    .features .item:nth-child(odd){
        padding-left: 4%;
    }
    .features .item:nth-child(odd) .img-box {
        order: 1;
    }
    .closing .grid{
        display: grid;
        grid-template-rows: 1fr 1fr;
        grid-template-columns: 1fr 1fr;
        row-gap: 8%;
        column-gap: 4%;
    }
    .closing .grid .text-box{
        grid-row: 1 / 2;
        grid-column: 1 / 2;
        display: flex;
        justify-content: center;
        align-items: end;
    }
    .closing .text-box .h2{
        margin: 0;
    }
    .closing .grid .img-box{
        margin: 0;
        grid-row: 1 / 3;
        grid-column: 2 / 3;
    }
    .closing .grid .btn-box{
        grid-row: 2 / 3;
        grid-column: 1 / 2;
    }
    .footer {
        padding: 16px;
    }
}
@media screen and (min-width:1025px){
    body{
        font-size: 24px;
    }
    .h2 {
        font-size: 56px;
    }
    .h2 .sub-text {
        font-size: 20px;
    }
    .h3 {
        font-size: 38px;
    }
}
@media screen and (min-width: 1440px){
    .header{
        background: url(../images/hero-bg.webp) no-repeat left 52% center / 1440px, #e3e2e9;
    }
}