@charset "UTF-8";

/******************************************************************************
*
* [共通]グローバルナビゲーション共通項目
*
******************************************************************************/

/*------------------------------
* コンテナ
------------------------------*/

.main_header {
    background: #ffffff;
    /*box-shadow: 0px 10px 10px -5px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;*/
}

.main_header.page_single_header {
    /*トップページ以外のナビで付与されるクラス*/
}

/*------------------------------
* ロゴ
------------------------------*/

.mts_main_logo {
    text-align: left;
    display: flex;
    align-items: center;
}

.mts_main_logo img {
    display: block;
    width: auto;
    height: 40px;
}

/*------------------------------
* ナビゲーション本体
------------------------------*/

/*SPメニュー非表示*/

.mts__sp__nav {
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
}

/*ナビの全体コンテナ*/

.mts_navigation {
    position: relative;
}

/*第1階層のリスト*/

.navi-in > ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    text-align: center;
}

.navi-in > ul > li {
    display: block;
    height: 70px;
    line-height: 70px;
    box-sizing: border-box;
    padding: 0 15px;
    position: relative;
}

.navi-in > ul > li::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 0;
    height: 2px;
    background: #ea7c87;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
}

.navi-in > ul > li:hover::after {
    width: 100%;
}

.navi-in ul li a {
    color: #000;
    text-decoration: none;
    display: block;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
}

/*第2階層以降のリスト*/

.navi-in > ul li ul.sub-menu {
    display: none;
    position: absolute;
    left: 0;
    margin: 0;
    min-width: 180px;
    list-style: none;
    padding: 0;
    z-index: 99;
    text-align: left;
}

.navi-in > ul li ul.sub-menu li {
    display: block;
    width: auto;
    height: 45px;
    line-height: 45px;
    box-sizing: border-box;
    position: relative;
}

.navi-in > ul ul.sub-menu a {
    padding-left: 16px;
    padding-right: 16px;
    background: #1a1a1a;
    color: #fff;
    font-size: 11px;
    font-weight: normal;
}

.navi-in > ul ul.sub-menu li.menu-item-has-children > a::after {
    /*孫メニューがあれば*/
    font-family: "Font Awesome 5 Free";
    content: "\f054";
    font-weight: bold;
    padding-right: 4px;
    position: absolute;
    right: 3px;
    top: 0;
    font-size: 10px;
}

.navi-in > ul ul.sub-menu ul {
    /*孫メニューの位置調整*/
    position: relative;
    top: -45px;
    left: 180px;
}

/*ホバー効果*/

.navi-in a:hover > ul {
    display: block;
}

.navi-in > ul.menu-header li:hover > ul {
    display: block;
}

.navi-in > ul > li > a:hover {
    color: #ea7c87;
}

.navi-in > ul .sub-menu a:hover {
    background: #ea7c87;
}

/*PC時SPのアイコン非表示*/

.navi-in .fas {
    display: none;
}

/*------------------------------
* 開閉アイコン
------------------------------*/

.menu-trigger,
.menu-trigger span {
    display: inline-block;
    transition: all .4s;
    box-sizing: border-box;
}

.menu-trigger {
    width: 35px;
    height: 30px;
    z-index: 9999;
    position: absolute;
    right: 0;
}

.menu-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ea7c87;
}

.menu-trigger span:nth-of-type(1) {
    top: 5px;
}

.menu-trigger span:nth-of-type(2) {
    /*中央配置、動かさないこと*/
    top: 50%;
    left: 50%;
    -webkit-transform: translate3d(-50%, -50%, 0);
    transform: translate3d(-50%, -50%, 0);
}

.menu-trigger span:nth-of-type(3) {
    bottom: 5px;
}

.menu-trigger.active span:nth-of-type(1) {
    -webkit-transform: translateY(9px) rotate(-315deg) scale(.8);
    transform: translateY(9px) rotate(-315deg) scale(.8);
}

.menu-trigger.active span:nth-of-type(2) {
    width: 60px;
    height: 60px;
    background-color: transparent;
    border-radius: 50%;
}

.menu-trigger.active span:nth-of-type(3) {
    -webkit-transform: translateY(-9px) rotate(315deg) scale(.8);
    transform: translateY(-9px) rotate(315deg) scale(.8);
}

.menu-trigger {
    /*一時非表示*/
    display: none;
}

/*------------------------------
* メニュー展開時スクロール禁止
------------------------------*/

.scroll_stop {
    overflow: hidden;
}

/*------------------------------
* ナビゲーションCTAボタン
------------------------------*/

.mts_main_navi_ctabutton {
    display: inline-block;
}

.mts_main_navi_ctabutton a {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 14px;
    background: #fff;
    color: #ea7c87;
    border: solid 2px #ea7c87;
    border-radius: 50px;
    -webkit- border-radius: 50px;
    -moz- border-radius: 50px;
}

.mts_main_navi_ctabutton a:last-child {
    margin-left: 5px;
}

/*------------------------------
* 追従設定
------------------------------*/

.mts__flex__nav {
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
}

.main_header_fixed {
    /*表示*/
    width: 100%;
    height: auto;
    overflow: inherit;
    /*位置調整*/
    position: fixed;
    top: -100px;
    left: 0;
    right: 0;
    z-index: 999999;
    /*デザイン調整*/
    background: #fff;
    box-shadow: 0 32px 30px -30px rgba(53, 47, 47, 0.15);
    -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .1);
    opacity: 0;
    /*アニメーション*/
    animation-name: navAnimation;
    animation-duration: 0.7s;
    animation-fill-mode: forwards;
}

.main_header_fixed .mts_site_info {
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
}

@keyframes navAnimation {
    0% {
        top: -100%;
        opacity: 0;
    }

    90% {
        top: 0;
        opacity: 0.8;
    }

    100% {
        top: 0;
        opacity: 1;
    }
}

/******************************************************************************
* グローバルナビゲーション[デザイン]
* mts_navigationクラスはロゴとナビ部分のみを内包するクラス
******************************************************************************/

/*------------------------------
* デザイン01・通常デザイン
------------------------------*/

.mts_navigation01 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
    position: relative;
}

/*ロゴ */

.mts_navigation01 .mts_main_logo {
    width: 20%;
    max-height: 70px;
}

/*ナビ*/

.mts_navigation01 .mts_main_navi_wrap {
    width: 75%;
}

/*ボタン有りデザイン*/

.mts_navigation01 .mts_main_navi {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.mts_navigation01 .mts_main_navi .mts_main_navi_ctabutton {}

/*------------------------------
* デザイン02・ロゴとメニューを縦並べ
------------------------------*/

.mts_navigation02 {
    padding: 20px 0 0;
}

/*.mts_navigation02::before {
    content: "";
    display: block;
    width: 150px;
    height: 140.5px;
    background-image: url(../images/nav_parts.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom 20px right 0;
    position: absolute;
    right: 0;
    top: 0;
}*/

/*ロゴ */

.mts_navigation02 .mts_main_logo h1 {
    text-align: center;
    margin: 0 auto 10px;
}

.mts_navigation02 .mts_main_logo img {
    height: 60px;
}

/*ナビ*/

.mts_navigation02 .navi-in > ul {
    justify-content: center;
}

/*ボタン有りデザイン*/

.mts_navigation02 .mts_main_navi {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mts_navigation02 .mts_main_navi .mts_main_navi_ctabutton {
    margin-left: 10px;
}

/*------------------------------
* デザイン03・メニュー部分に枠
------------------------------*/

.mts_navigation03 {
    padding: 0;
    /*全幅にする場合
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    box-sizing: border-box;*/
}

/*ロゴ */

.mts_navigation03 .mts_main_logo {
    position: relative;
}

.mts_navigation03 .mts_main_logo h1 {
    margin: auto;
    text-align: center;
    padding: 20px 0;
    max-height: 70px;
    position: relative;
}

/*ナビ*/

.mts_navigation03 .mts_main_navi {
    border-top: solid 1px rgba(60, 63, 69, 0.7);
    background: #151b28;
}

.mts_navigation03 .navi-in a {
    color: #fff;
}

.mts_navigation03 .navi-in > ul {
    justify-content: center;
}

.mts_navigation03 .navi-in > ul > li {
    border-right: solid 1px rgba(60, 63, 69, 0.7);
}

.mts_navigation03 .navi-in > ul > li:last-child {
    border-right-width: 0;
}

/*第1階層のリスト*/

.mts_navigation03 .navi-in > ul > li {
    height: 50px;
    line-height: 50px;
}

/*ボタン有りデザイン*/

.mts_navigation03 .mts_nav5_btn {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    -webkit- transform: translateY(-50%);
    /*全幅にする場合
    right: 15px;*/
}

.mts_navigation03 .mts_nav5_btn_sp {
    display: none;
}

/*------------------------------
* デザイン04・ヒーローエリアと同化
------------------------------*/

/*ファーストビューと同化する場合、main_header_d_assimilationクラスを付与*/
.main_header.page_front_header.main_header_d_assimilation {
    background: none;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 99;
}

/*以下デザイン01と共通*/

.mts_navigation04 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

/*ロゴ */

.mts_navigation04 .mts_main_logo {
    width: 20%;
    max-height: 70px;
}

/*ナビ*/

.mts_navigation04 .mts_main_navi_wrap {
    width: 75%;
}

/*ボタン有りデザイン*/

.mts_navigation04 .mts_main_navi {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.mts_navigation04 .mts_main_navi .mts_main_navi_ctabutton {
    margin-left: 10px;
}

/*------------------------------
* デザイン05・ハンバーガーあり
------------------------------*/

.mts_navigation05 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
    position: relative;
}

/*ロゴ */

.mts_navigation05 .mts_main_logo {
    width: 20%;
    max-height: 70px;
}

/*ボタン有りデザイン*/

.mts_navigation05 .mts_main_navi {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.mts_navigation05 .mts_main_navi .mts_main_navi_ctabutton {
    margin-left: 10px;
}

/*ハンバーガーメニュー*/

.mts_navigation05 .menu-trigger.menu-trigger-d5 {
    display: block;
    cursor: pointer;
}

.mts_main_navi_wrap.mmnw_d5 {
    display: none;
    background: #000;
}

.mts_main_navi_wrap.mmnw_d5 .mts_main_navi {
    display: flex;
    justify-content: center;
    align-items: center;
}

/*------------------------------
* サブテキスト
------------------------------*/

.navi-in > ul > li > a > .mts_menu_subtxt {
    display: block;
    line-height: 1;
    font-weight: 400;
    font-size: 10px;
    transform: scale(0.9);
    position: absolute;
    bottom: 13px;
    left: 0;
    right: 0;
    opacity: 0.5;
}

.mts_navigation03 .navi-in > ul > li > a > .mts_menu_subtxt {
    bottom: 5px;
}

/*メインメニュー以外非表示*/

.navi-in > ul li ul.sub-menu .mts_menu_subtxt,
.mts_site_info_sub_menu .mts_menu_subtxt,
.mts_common_footer_nav .mts_menu_subtxt {
    display: block;
    width: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    opacity: 0;
}

/*980px以下*/

@media only screen and (max-width: 980px) {
    .navi-in > ul > li > a > .mts_menu_subtxt {
        width: 0;
        height: 0;
        overflow: hidden;
        margin: 0;
        padding: 0;
        opacity: 0;
    }
}

/******************************************************************************
* グローバルナビゲーション[SP調整]
******************************************************************************/

/*------------------------------
* SP用スライドナビゲーション
------------------------------*/

.mts_slide_navigation {}

.slide_nav {
    height: 50px;
    position: relative;
}

.slide_nav .mts_menu_subtxt {
    display: block;
    font-size: 10px;
    line-height: 8px;
    transform: scale(0.8);
    position: absolute;
    bottom: 7px;
    left: 0;
    right: 0;
    text-align: center;
}

/*第1階層のリスト*/

.slide_nav > ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    text-align: center;
    background: #ccc;
    /*横スクロール*/
    height: 50px;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.slide_nav > ul > li {
    display: table-cell;
    height: 50px;
    line-height: 50px;
    box-sizing: border-box;
    border-right: solid 1px #fff;
}

.slide_nav > ul > li a {
    display: block;
    padding: 0 20px;
    position: relative;
}

.slide_nav > ul > li:last-child {
    border-right-width: 0;
}

.slide_nav > ul > li .fas {
    font-size: 10px;
    position: absolute;
    top: 50%;
    right: 5px;
    transform: scale(0.8) translateY(-50%);
    -webkit- transform: scale(0.8) translateY(-50%);
    opacity: 0;
}

.slide_nav > ul > li i.msn_icon {
    font-size: 10px;
    margin-left: 5px;
}

.slide_nav > ul > li i.msn_icon::before {
    font-family: "Font Awesome 5 Free";
    content: "\f0d7";
    font-weight: bold;
}

.slide_nav ul li a {
    color: #000;
    text-decoration: none;
    display: block;
    font-size: 11px;
}

/*第2階層以降のリスト*/

.slide_nav > ul li ul.sub-menu {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    margin: 0;
    width: 100%;
    list-style: none;
    padding: 0;
    z-index: 99;
    text-align: left;
}

.slide_nav > ul li ul.sub-menu li {
    display: block;
    width: auto;
    line-height: 50px;
    box-sizing: border-box;
    border-bottom: solid 1px #666;
    position: relative;
}

.slide_nav > ul li ul.sub-menu li:last-child {
    border-bottom-width: 0;
}

.slide_nav > ul ul.sub-menu a {
    padding-left: 16px;
    padding-right: 16px;
    background: #1a1a1a;
    color: #fff;
    font-size: 11px;
    font-weight: normal;
}

/*サブのサブは非表示*/

.slide_nav > ul ul.sub-menu ul {
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
}

.slide_nav ul.sub-menu i {
    opacity: 0;
}

/*矢印*/

.mts_slide_navigation.overwidth {
    position: relative;
}

.mts_slide_navigation.overwidth::before,
.mts_slide_navigation.overwidth::after {
    content: "";
    display: block;
    width: 15px;
    height: 100%;
    line-height: 50px;
    position: absolute;
    top: 0;
    z-index: 2;
    background: rgba(255, 255, 255, 0.5);
    font-family: "Font Awesome 5 Free";
    font-size: 12px;
    text-align: center;
    color: #000;
    font-weight: bold;
}

.mts_slide_navigation.overwidth::before {
    content: "\f053";
    left: 0;
}

.mts_slide_navigation.overwidth::after {
    content: "\f054";
    right: 0;
}

.mts_slide_navigation.overwidth .slide_nav > ul > li:first-child a {
    padding-left: 35px
}

.mts_slide_navigation.overwidth .slide_nav > ul > li:last-child a {
    padding-right: 35px
}

/*iphone対策*/

.slide_nav > ul.menu-header a {
    cursor: pointer;
}

/*------------------------------
* SP対応
------------------------------*/

/*1100px以下*/

@media only screen and (max-width: 1100px) {
    .main_header .wrap {
        width: 100%;
    }
}

/*980px以下*/

@media only screen and (max-width: 980px) {

    /*トップバー*/

    .mts_site_info .mts_site_info_wrap {
        display: block;
    }

    .mts_site_info .mts_site_info_wrap .mts_site_info_description {
        width: 100%;
    }

    .mts_site_info .mts_site_info_wrap .mts_site_info_description p {
        font-size: 10px;
        padding: 0.5em 1em;
    }

    .mts_site_info .mts_site_info_wrap .mts_site_info_sns {
        width: 0;
        height: 0;
        overflow: hidden;
        opacity: 0;
    }

    /*PCメニューの非表示とSPメニュー表示*/

    .mts__normal__nav {
        width: 0;
        height: 0;
        overflow: hidden;
        opacity: 0;
    }

    .mts__sp__nav {
        width: 100%;
        height: auto;
        overflow: visible;
        opacity: 1;
    }

    /*ロゴ*/

    .mts_navigation .mts_main_logo {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        margin-top: 0;
        text-align: center;
    }

    .mts_navigation .mts_main_logo img {
        width: 120px;
        height: auto;
        margin: 0 auto;
    }

    .mts_navigation .mts_main_logo h1 {
        width: 90%;
        width: -webkit-calc(100% - 100px);
        width: calc(100% - 100px);
        margin: 0 auto;
    }

    /*ハンバーガーメニュー表示*/

    .mts_navigation .menu-trigger {
        display: block;
    }

    /*ナビゲーション(コンテナ)*/

    .mts_main_navi {
        margin-top: 32px;
        overflow: scroll;
    }

    /*ナビゲーション(第1階層)*/

    .navi-in > ul {
        display: block;
        text-align: left;
    }

    .navi-in > ul li,
    .navi-in > ul > li {
        line-height: 1.7;
        height: auto;
    }

    .navi-in > ul > li {
        padding: 0;
    }

    .navi-in > ul > li:hover::after {
        width: 0;
    }

    .navi-in ul li a {
        display: block;
        padding: 0 41px 0 20px;
        line-height: 41px;
        /*2行にはみ出しそうなら抜粋*/
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .navi-in > ul > li > a {
        border-bottom: solid 1px #f1f1f1;
    }

    .navi-in > ul > li:last-child > a {
        border-bottom-width: 0;
    }

    /*ナビゲーション(第2階層以降)*/

    .navi-in > ul li ul.sub-menu {
        display: none;
        position: relative;
        left: inherit;
        width: 100%;
    }

    .navi-in > ul li ul.sub-menu li {
        width: 100%;
        height: auto;
        line-height: 41px;
    }

    .navi-in > ul ul.sub-menu a {
        padding: 0 41px 0 20px;
        background: #000;
    }

    .navi-in > ul ul.sub-menu > li > a {
        border-bottom: solid 1px #444;
    }

    .mts_main_navi_wrap .mts_main_navi,
    .navi-in > ul.menu-header li:hover > ul {
        display: none;
    }

    .navi-in > ul ul.sub-menu li.menu-item-has-children > a::after {
        /*PC孫メニューのアイコン削除*/
        content: "";
        display: none;
    }

    .navi-in > ul ul.sub-menu ul {
        /*孫メニューの位置調整*/
        top: inherit;
        left: inherit;
    }

    .navi-in .fas {
        /*子リストがあればアイコン表示*/
        display: block;
        width: 42px;
        height: 42px;
        line-height: 42px;
        text-align: center;
        /*background: #004eff;*/
        color: #fff;
        position: absolute;
        top: 0;
        right: 0;
        font-size: 12px;
        margin-top: -1px
    }

    /*追従設定*/

    .main_header_fixed {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9999999999;
    }

    /*全デザイン共通*/

    .mts_navigation {
        display: block;
        min-height: 0px;
        padding: 16px 0;
    }

    .mts_navigation .mts_main_logo {
        text-align: center;
    }

    .mts_navigation .mts_main_logo,
    .mts_navigation .mts_main_navi_wrap {
        width: 100%;
    }

    /*デザイン3*/

    .mts_navigation03 .mts_main_logo h1 {
        padding: 0;
    }

    .mts_navigation03 .mts_main_navi {
        background: #fff;
    }

    .mts_navigation03 .navi-in a {
        color: #000;
    }

    .mts_navigation03 .navi-in > ul > li {
        border-right-width: 0;
    }

    .mts_navigation03 .navi-in > ul > li {
        height: auto;
        line-height: 41px;
    }

    /*ボタン有りデザイン*/

    .mts_navigation01 .mts_main_navi .mts_main_navi_ctabutton,
    .mts_navigation02 .mts_main_navi .mts_main_navi_ctabutton {
        margin-left: 0;
        text-align: center;
    }

    .mts_main_navi_ctabutton {
        display: block;
        margin-top: 15px;
    }

    .mts_navigation03 .mts_nav5_btn {
        display: none;
    }

    .mts_navigation03 .mts_nav5_btn_sp {
        display: block;
        margin-top: 15px;
    }

    /*画像版*/

    .mts_main_navi_ctabutton_imgver {
        display: block;
        max-width: 100%;
        width: 100%;
        margin-top: 15px;
        margin-left: 0;
    }

    /*デザイン04*/

    .main_header.page_front_header.main_header_d_assimilation {
        /*背景の再設定とと浮動化の解除*/
        background: #151b28;
        position: relative;
    }
}


/******************************************************************************
* 一言コメント
******************************************************************************/

.mts_top_comment {
    text-align: center;
    background: #004eff;
    position: relative;
}

.mts_top_comment .mts_top_comment_inner {
    position: relative;
    z-index: 2;
}

.mts_top_comment .mts_top_comment_txt {
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    line-height: 2;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    padding: 5px 15px;
    box-sizing: border-box;
}

.mts_top_comment a {
    display: block;
}

.mts_top_comment a:hover .mts_top_comment_txt {
    opacity: 0.7;
}
