@charset "UTF-8";
body {
    color: #666666;
    font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    width: 100%;
}

a img.blight {
    transition: opacity 0.2s linear;
    -webkit-transition: opacity 0.2s linear;
    -moz-transition: opacity 0.2s linear;
}

a:hover img.blight {
    opacity: 0.7;
    filter: alpha(opacity=70);
    -moz-opacity: 0.7;
}

a {
    text-decoration: none;
    color: #000;
    transition: opacity 0.2s linear;
    -webkit-transition: opacity 0.2s linear;
    -moz-transition: opacity 0.2s linear;
}

a:hover {
    text-decoration: none;
    opacity: 0.7;
    filter: alpha(opacity=70);
    -moz-opacity: 0.7;
}

.pcnone {
    display: none!important;
}

.spnone {
    display: block!important;
}

img {
    max-width: 100%;
}

.s-mt-10 {
    margin-top: 10px;
}

.s-mt-20 {
    margin-top: 20px;
}

.s-mt-30 {
    margin-top: 30px;
}

.s-mt-40 {
    margin-top: 40px;
}

.s-mt-50 {
    margin-top: 50px;
}

.s-mt-60 {
    margin-top: 60px;
}

.wrapper {
    width: 100%;
    margin: 0 auto;
}

header {
    padding: 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    margin: 0.5em 0;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 134px;
    width: 30%;
}

.gnav a {
    display: block;
    padding: 10px;
}

.gnav a img,
.contact a img {
    width: 300px;
}

#sec1 .main {
    padding: 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url("../img/kv.png");
    background-repeat: no-repeat;
    padding-bottom: calc(100%*1050/800);
    /* calc(100*ImageHeight/ImageWidth)% */
    background-size: 100% auto;
}

#sec1 .main ul {
    display: none;
}

#sec2,
#sec3,
#sec4,
#sec5,
#sec6,
#sec7,
#sec8,
#sec9,
#footer {
    margin-right: 3%;
    margin-left: 3%;
    text-align: center;
}

.cv .contact {
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.cv .contact a {
    display: block;
    padding: 10px;
}

#footer {
    padding: 30px 0;
}

.info {
    display: block;
    text-align: center;
}

#footer .info p {
    color: #002c7a;
    font-size: 10px;
}

@media screen and (min-width: 768px) {
    /* デスクトップ用CSS */
    .wrapper {
        width: auto;
        max-width: 800px;
        margin: 0 auto;
        padding: 0 20px;
    }
    .p-mt-10 {
        margin-top: 10px;
    }
    .p-mt-20 {
        margin-top: 20px;
    }
    .p-mt-30 {
        margin-top: 30px;
    }
    .p-mt-40 {
        margin-top: 40px;
    }
    .p-mt-50 {
        margin-top: 50px;
    }
    .p-mt-60 {
        margin-top: 60px;
    }
    header {
        padding: 1em 0;
        flex-direction: row;
    }
    .logo {
        margin: 0 auto 0 0;
    }
    .gnav {
        display: flex;
    }
    .gnav li a {
        padding: 10px 22px;
        display: block;
    }
    .gnav li:last-of-type a {
        padding: 10px 0px;
        display: block;
    }
    .flex-container {
        display: flex;
    }
    .flex-container {
        justify-content: center;
        align-items: center;
    }
    .contact a img {
        width: 600px;
    }
    #sec4 .bg .flex-container div:first-child {
        margin-right: 50px;
    }
    #sec5 .flex-container div:first-child {
        margin-right: 50px;
    }
    #sec7 .flex-container div:first-child {
        margin-right: 20px;
    }
    #sec8 .flex-container div:first-child {
        margin-right: 20px;
    }
    #sec1 .main {
        position: relative;
    }
    #sec1 .main ul {
        display: flex;
    }
    .contact {
        display: flex;
    }
    #sec1 .main .contact a {
        display: block;
        padding: 10px 22px;
    }
    #sec1 .main .contact {
        position: absolute;
        bottom: 250px;
    }
    #sec2,
    #sec3,
    #sec4,
    #sec5,
    #sec6,
    #sec7,
    #sec8,
    #sec9 {
        margin-right: 0;
        margin-left: 0;
    }
    .cv .contact {
        justify-content: center;
        flex-direction: row;
    }
    #footer {
        padding: 30px 0;
    }
    .info {
        display: flex;
        justify-content: space-around;
        align-items: flex-end;
        flex-direction: row;
    }
    #footer .info p {
        color: #002c7a;
        font-size: 10px;
    }
}