@charset "utf-8";
html {
    font-size: 62.5%;
}
body {
    font-size: 1.0rem;
    font-weight: bold;
    font-family: 游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN","Hiragino Mincho Pro",HGS明朝E,メイリオ,Meiryo,serif;
}
.kaku {
    font-family: "Hiragino Kaku Gothic ProN","メイリオ", sans-serif;
}
.mincho {
    font-family: 游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN","Hiragino Mincho Pro",HGS明朝E,メイリオ,Meiryo,serif;
}
a {
    transition: .3s ease;
    text-decoration: none;
}
a:hover {
    text-decoration: none;
    opacity: 0.7;
}
img {
    max-width: 100%;
    height: auto;
}
ul{
    padding: 0;
    list-style: none;
    margin-bottom: 0;
}
.spOnly {
    display: none;
}
.ofi {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    font-family: 'object-fit: cover;';
}
.nav {
    display: none;
}
.navBtnWrap {
    display: none;
}
.container {
    position: relative;
    padding-top: 80px;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
    transition: .3s ease;
    background: #fff;
    padding: 20px 2em;
}
.top header {
    background: none;
}
.top header.scroll {
    background: #fff;
}
.top header.scroll ul a {
    color: #333;
}
/* header h1 {
    margin-left: 2em;
} */
.top header.scroll .logoWhite {
    display: none;
}
.top header .logoColor {
    display: none;
}
.top header.scroll .logoColor {
    display: block;
}
header ul {
    display: flex;
}
header li {
    margin: 0 1.5em;
}
header ul a {
    font-size: 1.6rem;
    color: #333;
}
.top header ul a {
    color: #fff;
}
.commonTelBtn a {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #0878C0;
    padding: 1em;
    color: #fff;
}
.commonTelTxt {
    font-size: 1.4rem;
    background: #fff;
    color: #0878c0;
    padding: 5px 10px;
    border-radius: 25px;
    margin-bottom: 6px;
}
.commonTelNum {
    font-size: 3rem;
    font-weight: bold;
    position: relative;
    padding-left: 35px;
}
.commonTelNum:before {
    content: "";
    position: absolute;
    top: 3px;
    left: 0;
    width: 25px;
    height: 21px;
    background: url(../img/common/tel.svg) no-repeat;
    background-size: 25px auto;
}
.commonBtn1 {
    text-align: center;
}
.commonBtn1 a {
    font-size: 1.4rem;
    color: #0878c0;
    background: #fff;
    border: 1px solid #fff;
    padding: 0.6em 2em;
    display: inline-block;
}
.commonBtn1 a:hover {
    background: #0878c0;
    color: #fff;
    opacity: 1;
}
.flexBox {
    display: flex;
}
.commonContact {
    padding: 80px 0;
}
.commonContactBtn {
    width: 800px;
    margin: 0 auto;
    text-align: center;
}
.commonContactBtn a {
    display: block;
    background: #0878c0;
    color: #fff;
    font-size: 3.2rem;
    font-weight: bold;
    padding: 35px 0;
}
.commonContactBtn a span {
    display: inline-block;
    position: relative;
    padding-left: 50px;
}
.commonContactBtn a span:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 38px;
    height: 28px;
    background: url(../img/common/mail.svg) no-repeat;
    background-size: 38px auto;
}

/* commonHero */
.commonHero {
    position: relative;
    height: 250px;
}
.commonHero h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 36;
    -webkit-transform: translateY(-50%) translateX(-50%);
    transform: translateY(-50%) translateX(-50%);
    color: #fff;
    font-size: 2.4rem;
}
/* footer */
footer {
    background: #0878c0;
}
.footerInner {
    padding: 60px 0 10px;
    text-align: center;
}
.footerInner ul {
    width: 610px;
    margin: 0 auto 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.footerInner li {
    margin: 0 2em 10px;
    text-align: center;
}
.footerInner a {
    font-size: 1.4rem;
    color: #fff;
}
.copy {
    font-size: 1.2rem;
    color: #fff;
}
@media screen and (max-width: 835px) {
    .spOnly {
        display: block !important;
    }
    .pcOnly {
        display: none !important;
    }
    header nav {
        display: none;
    }
    header {
        padding: 10px 1em;
    }
    header h1 {
        margin-left: 0;
    }
    header h1 img {
        width: 80%;
    }
    .commonTelBtn {
        display: none;
    }
    .footerInner ul {
        width: auto;
    }
    .commonContact {
        padding: 10px 0 60px;
    }
    .commonContactBtn {
        width: 94%;
    }
    .commonContactBtn a {
        font-size: 1.8rem;
        padding: 30px 0;
    }
    .commonContactBtn a span:before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 26px;
        height: 19px;
        background: url(../img/common/mail.svg) no-repeat;
        background-size: 26px auto;
    }
    .footerInner li {
        width: 50%;
        margin: 0 0 10px;
        text-align: center;
    }
    /* navBtn */
    .navBtnWrap {
        display: block;
        position: fixed;
        top: 1.2em;
        right: 5%;
        z-index: 10001;
    }
    .navBtn {
        height: 21px;
        width: 45px;
        transition: opacity .25s ease;
        display: block;
    }
    .navBtn:hover {
        opacity: .7;
    }
    .navBtn.active .bar1 {
        transform: translateY(9px) translateX(0) rotate(45deg);
        background: #0878c0;
        width: 68%;
        left: 1.4em;
    }
    .navBtn.active .bar2 {
        opacity: 0;
        background: #0878c0;
    }
    .navBtn.active .bar3 {
        transform: translateY(-9px) translateX(0) rotate(-45deg);
        background: #0878c0;
    }
    .navBtnWrap span {
        font-size: 0.8rem;
        display: block;
        text-align: right;
        margin-top: 5px;
        color: #0878c0;
        font-weight: bold;
    }
    .navBtn i {
        background: #0878c0;
        border: none;
        height: 2px;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        transition: all .35s ease;
        cursor: pointer;
    }
    .navBtn i:nth-of-type(2) {
        top: 9px;
        width: 88%;
        right: 0;
        left: inherit;
    }
    .navBtn i:nth-of-type(3) {
        top: 18px;
        width: 68%;
        left: inherit;
        right: 0;
    }
    /* nav */
    .nav {
        position: fixed;
        background: #fff;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100%;
        opacity: 0;
        visibility: hidden;
        transition: opacity .5s, visibility .5s;
        overflow: hidden;
        z-index: 10000;
        display: block;
    }
    .nav.open {
        opacity: .9;
        visibility: visible;
    }
    .nav nav {
        width: 100%;
        margin-top: 7em;
    }
    .nav ul {
        margin: 0 auto;
        text-align: left;
        width: 100%;
    }
    .nav li {
        transform: translateY(100%);
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), opacity .5s;
        transition-delay: .5s;
        border-bottom: 1px solid #fff;
    }
    .nav.open li {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }
    .nav.open li:nth-child(1) {
        transition-delay: .5s;
    }
    .nav.open li:nth-child(2) {
        transition-delay: .6s;
    }
    .nav.open li:nth-child(3) {
        transition-delay: .7s;
    }
    .nav.open li:nth-child(4) {
        transition-delay: .8s;
    }
    .nav.open li:nth-child(5) {
        transition-delay: .9s;
    }
    .nav.open li:nth-child(6) {
        transition-delay: 1s;
    }
    .nav.open li:nth-child(7) {
        transition-delay: 1.1s;
    }
    .nav.open li:nth-child(8) {
        transition-delay: 1.2s;
    }
    .nav.open li:nth-child(9) {
        transition-delay: 1.3s;
    }
    .nav li a {
        display: block;
        padding: 20px 20px 20px 50px;
        font-size: 1.8rem;
        color: #fff;
        background: #0878c0;
        position: relative;
    }
    .nav li a:before {
        position: absolute;
        top: 0;
        bottom: 0;
        margin: auto 0;
        left: 20px;
        content: '';
        width: 12px;
        height: 12px;
        display: inline-block;
        border: 1px solid;
        border-color: #fff #fff transparent transparent;
        transform: rotate(45deg);
        transition: all .2s;
    }
    .commonHero {
        position: relative;
        height: 180px;
    }
    .container {
        position: relative;
        padding-top: 60px;
    }
}