/*-----------
共通設定
-----------*/
/* fontサイズ */
html {
    /* ルートのフォントサイズを10pxに設定しておく */
    font-size: 62.5%;
}

body {
    color: #333;
    /* bodyのフォントサイズを1.2em（12pxと同等のサイズ）に設定 */
    font-size: 1.2em;
    font-family: "MS Pゴシック",
    "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;

    /* スマホのテキストサイズ自動制御を上書き */
    text-size-adjust: 100%;
    　　-webkit-text-size-adjust: 100%; /*Chrome,Safari*/
    　　-ms-text-size-adjust: 100%; /*EgdeMobile*/
    　　-moz-text-size-adjust: 100%; /*firefox*/
}


/* aタグのテキストにアンダーラインを入れる */
.with_underline {
    text-decoration: underline;
}

/* aタグのテキストを青色にしアンダーラインを入れる */
.with_blue_underline {
    text-decoration: underline;
    color: darkblue;
}

/* クリアフィックス */
.clearfix:after {
    content: "";
    display: block;
    clear: both;
}

/* 画像の共通処理 */
img {
    max-width: 100%;
    vertical-align: middle;
}

/* PCスマホ切り替え */
.pc_only {
    display: block;
}

.sp_only {
    display: none;
}

@media screen and (max-width: 640px) {
    /* PCスマホ切り替え */
    .pc_only {
        display: none;
    }

    .sp_only {
        display: block;
    }
}

/* ヘッダーナビ */
.navbar-fixed-top {
    background-color: #fff;
    height: 100px;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 8;
}

@media screen and (max-width: 640px) {
    /* ヘッダーナビ */
    .navbar-fixed-top {
        height: 60px;
    }
}

.navbar__items {
    display: flex;
    position: relative;
}

#navbar-left-area {
    flex-basis: 210px;
}

#navbar-left-area .top_logo {
    position: absolute;
    width: 180px;
    top: 30px;
    left: 0;
    z-index: 10;
    transition: 0.3s;
}

#navbar-left-area a:hover {
    opacity: 0.6;
}

@media screen and (max-width: 768px) {
    #navbar-left-area {
        flex-basis: 170px;
    }

    #navbar-left-area .top_logo {
        position: absolute;
        width: 120px;
        top: 30px;
        left: 30px;
        z-index: 10;
        transition: 0.3s;
    }
}

#navbar-right-area {
    flex-basis: calc(100% - 210px);
    display: block;
    background: none;
    position: relative;
    color: #000;
    z-index: 9;
}

#navbar-right-area ul {
    position: absolute;
    top: 30px;
    right: 50px;
    display: flex;
}

#navbar-right-area ul li {
    display: list-item;
}

#navbar-right-area ul li.reserve_link {
    margin-top: -40px;
}

#navbar-right-area ul li + li {
    margin-left: 22px;
}

#navbar-right-area ul li a {
    font-family: "Roboto", sans-serif;
    font-size: 20px;
    padding: 0 5px;
    transition: 0.2s ease-out;
}

@media screen and (max-width: 1024px) {
    #navbar-right-area ul {
        right: 20px;
    }

    #navbar-right-area ul li a {
        font-size: 16px;
    }

    #navbar-right-area ul li + li {
        margin-left: 10px;
    }
}

@media screen and (max-width: 768px) {
    #navbar-right-area {
        flex-basis: calc(100% - 170px);
    }

    #navbar-right-area ul li a {
        font-size: 12px;
    }

    #navbar-right-area ul li + li {
        margin-left: 4px;
    }
}

#navbar-right-area ul li a:hover {
    color: #96d6d0;
}

@media screen and (max-width: 640px) {
    /* SPのナビゲーション */
    .navbar-top-area_sp {
        width: 100%;
        height: 60px;
        padding: 8px 0 0 0;
        position: relative;
    }

    #menu_btn {
        display: block;
        width: 44px;
        height: 44px;
        background-image: url("../img/hamburger_menu_open_button_ol.svg");
        background-repeat: no-repeat;
        position: absolute;
        left: 8px;
        top: 5px;
        cursor: pointer;
    }

    html.sb-active:not(.sb-static),
    html.sb-active:not(.sb-static) body #menu_btn {
        background-image: url("../img/hamburger_menu_close_button_ol.svg");
        background-repeat: no-repeat;
    }

    .navbar-center {
        top: 5px;
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: absolute;
        left: 20%;
        width: 60%;
        text-align: center;
    }
}

/* メインコンテンツ部分 */
#main-area {
    position: unset;
}

/* ベースとなるセクション設定 */
.base_section {
    margin-bottom: 140px;
}


/* 両端をpaddingした中身のエリア */
.container {
    width: 1020px;
    height: 128px;
    padding: 8px 8px 0 8px;
    box-sizing: border-box;
    margin: 0 auto;
    display: table;
}

@media screen and (max-width: 640px) {
    /*-----------
    共通設定
    -----------*/
    /* レイアウト */
    .container {
        width: 100%;
    }
}

/* トップへ飛ぶボタン */
#button-to-the-top .page-top {
    position: fixed;
    bottom: 40px;
    right: 55px;
    outline: none;
    z-index: 10;
}

#button-to-the-top .page-top a {
    text-indent: -9999px;
    width: 66px;
    height: 66px;
    display: block;
    background: url("../img/go-to-the-top.png") no-repeat;
}

#button-to-the-top .page-top a:hover {
    background: url("../img/go-to-the-top-on.png") no-repeat;
}

@media screen and (max-width: 640px) {
    /* トップへ飛ぶボタン */
    #button-to-the-top .page-top {
        right: calc((100% - 66px) / 2);
    }
}

/* フッター部分 */
#footer {
    width: 100%;
    margin-top: 100px;
    background-color: #a3a3a3;
    clear: both;
    height: 200px;
}

#footer .footer-nav {
    width: 1280px;
    margin: 0 auto;
    padding: 40px 10px 25px 17px;
    box-sizing: border-box;
    font-size: 1.1rem;
}

#footer .footer-nav ul {
    float: left;
}

#footer .footer-nav ul li {
    padding-right: 24px;
    float: left;
}

#footer .footer-nav ul li a {
    color: #ffffff;
}

#footer .footer-nav ul.sns_icons {
    padding: 30px 0;
    float: none;
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
}

#footer .footer-nav p {
    color: #fff;
    float: right;
    font-size: 1.0rem;
    font-weight: normal;
}

@media screen and (max-width: 640px) {
    /* フッター部分 */
    #footer {
        height: auto;
    }

    #footer .footer-nav {
        width: 100%;
        margin: 0 auto;
        padding: 30px 20px 140px;
        box-sizing: border-box;
        font-size: 1.1rem;
    }

    #footer .footer-nav ul {
        float: none;
    }

    #footer .footer-nav ul li {
        width: 46%;
        padding-right: 2%;
        float: left;
        margin-bottom: 10px;
    }

    #footer .footer-nav ul li a {
        color: #ffffff;
    }

    #footer .footer-nav ul.sns_icons li {
        width: 60px;
    }

    #footer .footer-nav p {
        color: #fff;
        float: right;
        font-size: 1.0rem;
        font-weight: normal;
        text-align: center;
        margin: 30px 0;
    }
}
