@charset "utf-8";

@font-face {
    font-family: 'NotoSansJP-Regular';
    src: url('./NotoSansJP-Regular.otf') format('opentype');
}

@font-face {
    font-family: 'NotoSansJP-Bold';
    src: url('./NotoSansJP-Bold.otf') format('opentype');
}

body {
    background-color: #ebe3c7;
    font-family: 'NotoSansJP-Regular', serif;
}

img {
    width: 100%;
}

.topImgArea {
    background-image: url('../img/cmg_top.jpg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    padding-bottom: 80px;
}

.topImgArea header {
    background-color: rgba(255, 255, 255, 0.6);
    padding-top: 30px;
    padding-bottom: 25px;
    position: relative;
}

.innerHead {
    display: flex;
    flex-wrap: wrap;
}

.innerHead nav {
    /* width: 30rem; */
    margin-left: auto;
}

.innerHeadTxt {
    margin-left: 2rem;
}

.topImgArea header h1 {
    width: 32%;
}

.topImgArea header h1 img {
    width: 100%;
}

.topBlueBox {
    background-color: rgba(0, 96, 176, 0.6);
    padding-top: 120px;
    padding-bottom: 100px;
    color: #fff;
    text-align: center;
    font-size: 1.3rem;
}

.topBlueBox h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.topBlueBox p {
    line-height: 2;
}

.bannerArea {
    width: 55%;
    min-width: 1050px;
    margin: 0 auto;
    margin-bottom: 50px;
}

.articleArea {
    width: 50%;
    margin: 0 auto;
    min-width: 970px;
}

.whiteArea {
    background-color: #fff;
    padding-bottom: 100px;
    padding-top: 50px;
}

.whiteArea h2,
.beigeArea h2 {
    text-align: center;
    font-size: 2rem;
    padding: 0.8rem 0;
    background-color: #005bac;
    color: #fff;
    margin-bottom: 2rem;
}

.whiteAreaTxt,
.beigeAreaTxt {
    color: #005bac;
    text-align: center;
    font-size: 1.3rem;
    line-height: 2;
    margin-bottom: 5rem;
}

.whiteArea .articleArea > figure {
    width: 50%;
    margin: 0 auto;
    margin-bottom: 8rem;
}

.beigeArea {
    padding-top: 5rem;
}

.cmGallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.cmGallery figure {
    width: 45%;
    text-align: center;
}

.beigeArea .cmGallery figure {
    margin-bottom: 3rem;
}

.beigeAreaTxt {
}

.cmGallery figure img {
    cursor: pointer;
}

.cmGallery figure figcaption {
    margin-top: 2rem;
    line-height: 2rem;
    font-size: 1.2rem;
}

footer {
    text-align: center;
    padding-bottom: 2rem;
}

.footerBanner {
    width: 40%;
    margin: 3rem auto;
    min-width: 800px;
}

.footerBanner a:hover {
    opacity: 0.8;
}

.footerBanner img {
    width: 100%;
}

small {
    font-size: 75%;
}

.compLogo {
    width: 15%;
    margin: 0 auto;
    margin-bottom: 1.5rem;
}

.compLogo img {
    width: 100%;
}

/*　ハンバーガーメニューボタン　*/
.hamburger {
    display: none;
    position: absolute;
    z-index: 3;
    right: 10px;
    top: 20px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    text-align: center;
}
.hamburger span {
    display: block;
    position: absolute;
    width: 33px;
    height: 3px;
    left: 6px;
    background: #000;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}
.hamburger span:nth-child(1) {
    top: 10px;
}
.hamburger span:nth-child(2) {
    top: 17.4px;
}
.hamburger span:nth-child(3) {
    top: 25px;
}

/* スマホメニューを開いてる時のボタン */
.hamburger.active span:nth-child(1) {
    top: 16px;
    left: 6px;
    background: #fff;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
    top: 16px;
    background: #fff;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* メニュー背景　*/
nav.globalMenuSp {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    color: #fff;
    background: rgba(0, 96, 176, 0.6);
    text-align: center;
    height: 100%;
    width: 100%;
    transform: translateX(100%);
    transition: all 0.6s;
}

nav.globalMenuSp ul {
    margin: 0 auto;
    padding: 5em;
    width: 100%;
}

nav.globalMenuSp ul li {
    list-style-type: none;
    padding: 0;
    width: 100%;
    transition: 0.4s all;
}
nav.globalMenuSp ul li:last-child {
    padding-bottom: 0;
}
nav.globalMenuSp ul li:hover {
    background: #ddd;
}

nav.globalMenuSp ul li a {
    display: block;
    color: #fff;
    padding: 1em 0;
    text-decoration: none;
}

/* クリックでjQueryで追加・削除 */
nav.globalMenuSp.active {
    opacity: 100;
    display: block;
    transform: translateX(0%);
}

@media screen and (max-width: 1100px) {
    .articleArea {
        min-width: auto;
        width: 90%;
    }

    .bannerArea {
        min-width: auto;
        width: 95%;
    }

    .cmGallery figure {
        width: 80%;
        margin: 0 auto;
        margin-bottom: 3rem;
    }

    .compLogo {
        width: 40%;
    }

    .footerBanner {
        min-width: auto;
    }

    .footerBanner {
        width: 90%;
    }
}

@media screen and (max-width: 768px) {
    .topBlueBox h2 {
        font-size: 1.3rem;
    }

    .topBlueBox {
        font-size: 0.7rem;
        padding: 50px 0;
    }

    .topImgArea {
        padding-bottom: 45px;
    }

    .topImgArea header h1 {
        width: 70%;
    }

    .whiteArea {
        padding-top: 30px;
        padding-bottom: 50px;
    }

    .bannerArea {
        margin-bottom: 30px;
    }

    .whiteArea h2,
    .beigeArea h2 {
        font-size: 1.3rem;
    }

    .whiteAreaTxt,
    .beigeAreaTxt {
        font-size: 0.7rem;
        margin-bottom: 3rem;
    }

    .whiteArea .articleArea > figure {
        width: 90%;
        margin-bottom: 3rem;
    }

    .cmGallery figure figcaption {
        margin-top: 1rem;
        font-size: 0.7rem;
        line-height: 1.5;
    }

    .beigeArea .cmGallery figure {
        margin-bottom: 0;
        padding-bottom: 3rem;
    }

    #naiso .cmGallery figure:nth-child(even) {
        border-bottom: 2px solid #005bac;
        margin-bottom: 3.5rem;
    }

    .topLinkAreaNav {
        display: none;
    }

    .hamburger {
        display: block;
    }
}
