/*************全ページ共通のCSS*************/
/*************初期設定*************/
html {
    font-size: 10px;
    font-family: sans-serif;
}

body {
    font-size: 1.4rem;
    color: #444;
    line-height: 1.6;
}

@media screen and (min-width: 768px) {
    html {
        font-size: 10px;
    }

    body {
        font-size: 1.4rem;
    }
}

.ja {
    font-family: 'Sawarabi Mincho', "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.en {
    font-family: 'Tangerine', cursive;
}

h1,h2,h3 ,h4 {
    font-weight: inherit;
}

.myButton {
    background: #7DC9C6;
    font-weight: bold;
    color: #fff;
    display: inline-flex;
    text-align: center;
    padding: 0 50px;
    height: 50px;
    font-size: 2rem;
}

.paragraph {
    line-height: 1.6;
}

.c {
    color: #7DC9C6;
    /*color: #9efffc;*/
}

.hamburger.show {
    background: url("/img/hamClose.svg") center center;
    background-size: contain;
}

.header {
    height: auto;
    padding: 15px 0;
    background: #fff;
}

.logo {
    width: 76px;
    height: 60px;
    background: url(/img/logo.svg) center center no-repeat;
    background-size: contain;
}

.myGlobalNav {
    background: #FFF;
}

.myGlobalNav .inner {
    height: 100%;
    display: flex;
    align-items: center;
}

.myGlobalNav li {
    font-size: 1.6rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.myGlobalNav li:last-of-type {
    margin-bottom: 0;
}

.myMenuContainer {
    width: 100%;
}

.myImg {
    padding-top: 55%;
    overflow: hidden;
    height: 0;
}

.copyRights {
    background: #5F9997;
    color: #fff;
    text-align: center;
    padding: 40px 0;
}

@media screen and (min-width: 768px) {

    .logo {
        width: 100px;
        height: 65px;
        background-size: contain;
    }

    .header .inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .myGlobalNav {
        position: relative;
        width: auto;
        min-height: unset;
        opacity: 1;
        height: auto;
        background: none;
        padding: 0 0 0 100px;
    }

    .myGlobalNav ul {
        display: flex;
        flex-wrap: wrap;
    }

    .myGlobalNav li {
        display: block;
        line-height: 2;
        font-size: 1.4rem;
        margin: 0 0 0 20px;
        padding: 0;
        border-bottom: 0;
        font-weight: normal;
    }
}

/*************追加分*************/
.header {
    height: 60px;
    padding: 0;
}

.header .inner {
    display: flex;
    align-items: center;
    height: 100%;
    flex-direction : row-reverse;
    justify-content: space-between;
}

.mbLogo {
    line-height: 0;
}

.mbLogo span {
    font-size: 3.3rem;
    margin: 0 0 0 5px;
}

.hamburger {
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1;
    background: url(/img/ham.svg) center center no-repeat;
    background-size: contain;
}

.contact p.bold,
.access p.bold {
    margin: 0 0 10px;
}

.access, .contact {
    margin: 0 0 20px;
    line-height: 1.6;
}

.myGoogleMap {
    margin: 20px 0;
}

.footer {
    margin: 100px 0 0;
}

.footerInfo {
    border-top: 1px solid #7DC9C6;
    padding: 50px 0 0;
    margin: 0 0 50px;
}

.tel {
    font-size: 2.2rem;
    margin: 0 0 20px;
}

.tel i {
    margin: 0 10px 0 0;
}

.footer .contact p a {
    text-decoration: none;
}

.sns .fab {
    margin: 0 1rem 0 0;
}

.myGoogleMap {
    height: 250px;
}

.myNewsList li {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.myNewsList li:last-of-type {
    border-bottom: 0;
}

.myNewsTitle {
    margin: 10px 0 0;
}

.myNewsList {
    margin: 0 0 50px;
}

.myPage {
    align-items: center;
}

.myPage a {
    width: auto;
}

.myPage i {
    font-size: 2rem;
}

.myPage a i {
    font-size: 2rem;
    text-decoration: none;
}

.myPage p {
    margin: 0 !important;
}

.myPage .myButton {
    width: 200px;
}

@media screen and (min-width: 768px) {
    .header {
        height: 90px;
    }

    .header .inner {
        flex-direction: inherit;
        justify-content: center;
    }

    .logoContainer {
        position: absolute;
        left: 7%;
        top: 50%;
        transform: translate(0,-50%);
        width: auto;
    }

    .myGlobalNav li {
        transition: 0.5s;
    }

    .myGlobalNav li:hover {
        color: #7DC9C6;
    }

    .footer {
        margin: 200px 0 0;
    }
    .footerInfo {
        border-top: 1px solid #7DC9C6;
        padding: 100px 0 0;
        display: flex;
        justify-content: space-between;
    }

    .contact {
        width: 30rem;
    }

    .footer .contact ul {
        font-size: 1.8rem;
    }

    .access {
        width: calc(100% - 30rem);
    }

    .myGoogleMap {
        height: auto;
    }

    .myAccessContainer {
        margin: 20px 0 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .myGoogleMap,
    .myBuilding {
        width: calc(50% - 20px);
        margin: 0;
    }
}

@media screen and (min-width: 768px) and (max-width: 1000px) {
    .header .inner {
        justify-content: flex-end;
    }
}
