@charset "utf-8";

#head_wrap {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    margin: 0 auto;
    line-height: 1;
    z-index: 999;
    text-decoration: none;
    padding: 0;
    background: #00285B;
}
  
/**#head_wrap a {
    text-decoration: none;
}**/
  
#head_wrap .inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1340px;
    width: 100%;
    height: 80px;
    margin: 0 auto;
    padding: 0;
    position: relative;
}
  
#head_wrap .inner nav#global-nav {
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /** width: 990px; **/
    width: 860px;
}

/** ▼▼▼▼▼▼▼▼▼▼ about ▼▼▼▼▼▼▼▼▼▼ **/
#head_wrap .inner #global-nav ul.head_about {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /** width: 515px; **/
    width: 385px;
    height: 40px;
    margin: 0;
    padding: 0;
}
  
#head_wrap .inner #global-nav ul.head_about li a.tel {
    display: flex;
    align-items: center;
    font-family: "Roboto", sans-serif;
    font-size: 1.92em;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    letter-spacing: 0.02em;
    line-height: 100%;
    color: #FFFFFF;
}
  
#head_wrap .inner #global-nav ul.head_about li a.tel:before {
    content: "";
    display: block;
    width: 32px;
    height: 32px;
    margin: 0 10px 0 0;
    border-radius: 50%;
    background: #b81c22 url(../toyonaga_images/icn_tel.svg) no-repeat center center;
}
  
#head_wrap .inner #global-nav ul.head_about li span {
    margin-left: 42px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 0.85em;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    letter-spacing: 0;
    line-height: 100%;
}
  
#head_wrap .inner #global-nav ul.head_about li a.ask {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 40px;
    border-radius: 20px;
    background: #FFFFFF;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.14em;
    font-weight: 700;
    font-optical-sizing: auto;
    font-style: normal;
    color: #00285b;
    transition: .3s;
}
  
#head_wrap .inner #global-nav ul.head_about a.ask:hover {
    background: #993322;
    color: #FFFFFF;
}
  
/**#head_wrap .inner ul.head_about li:nth-child(2) {
    padding: 0 0 0 50px;
    font-size: 0.75em;
    line-height: 160%;
}**/

#head_wrap .inner #global-nav ul.head_about li:nth-child(1) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    /**width: 270px;**/
    height: 46px;
}

#head_wrap .inner #global-nav ul.head_about li:nth-child(2) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /** width: 270px; **/
    width: 130px;
}
/** ▲▲▲▲▲▲▲▲▲▲ about ▲▲▲▲▲▲▲▲▲▲ **/
  
@media (max-width: 750px) {
    #head_wrap .inner {
        min-width: 390px;
    }
}
  
/**#head_wrap .inner:after {
    content: "";
    clear: both;
    display: block;
}**/
  
#head_wrap .logo {
    /**float: left;**/
    height: 60px;
    margin-left: 38px;
}
  
#head_wrap .logo img {
    width: auto;
    height: 60px;
}
  
/**#global-nav {
    position: absolute;
    right: 0;
    top: 0;
}**/
  
/**#global-nav ul {
    list-style: none;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 550px;
    margin: 0;
    padding: 0;
}**/

/** ▼▼▼▼▼▼▼▼▼▼ g_nav ▼▼▼▼▼▼▼▼▼▼ **/
#global-nav ul {
    /**position: relative;
    top: 35px;**/
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 450px;
    list-style: none;
}

/**#global-nav ul li {
    display: flex;
    width: 40px;
    height: 190px;
    transition: .3s;
    list-style: none;
    clip-path: polygon(0 0,100% 0,100% 95%,50% 100%,0 95%);
    background: #B5452C;
}**/

#global-nav ul li a {
    display: block;
    transition: .3s;
    /**transform: scale(1);**/
    display: flex;
    align-items: center;
    justify-content: space-between;
    /**width: 40px;
    height: 190px;**/
    padding: 0;
    list-style: none;
    /**clip-path: polygon(0 0,100% 0,100% 95%,50% 100%,0 95%);
    background: #B5452C;**/
    font-family: "Zen Old Mincho", serif;
    font-size: 0.85em;
    font-weight: 900;
    font-style: normal;
    color: #FFFFFF;
}
  
#global-nav ul li a:hover {
    color: #993322;
}
  
@media (max-width: 750px) {
    #global-nav ul {
        display: block;
        margin-right: 0px;
        width: 100%;
    }
}
  
#global-nav ul li:last-child {
    border-right: none;
}
  
#global-nav ul li a {
    transition: all .3s ease 0s;
    box-sizing: border-box;
}
/** ▲▲▲▲▲▲▲▲▲▲ g_nav ▲▲▲▲▲▲▲▲▲▲ **/
  
/* Fixed */
/**#head_wrap.fixed {
    margin-top: 0;
    top: 0;
    position: fixed;
    height: 100px;
    transition: .3s;
    z-index: 9999;
}**/
  
#head_wrap.fixed #head_wrap .inner {
    height: 100px;
    transition: .3s;
}

/**#head_wrap.fixed #global-nav ul {
  margin: 16px 0 0 0;
  transition: .3s;
}**/

/**#head_wrap.fixed #global-nav ul li ul.h_contact li a {
  height: 80px;
}**/

/**#head_wrap.fixed .logo {
    height: 70px;
    transition: .3s;
}
  
#head_wrap.fixed .logo img {
    width: auto;
    height: 70px;
    transition: .3s;
}**/
  
/**#head_wrap.fixed #global-nav ul li a {
    padding: 0;
}**/

/**#head_wrap.fixed #global-nav ul li ul li ul li a {
  padding: 0 20px 0 0;
}**/

/** ▼▼▼▼▼▼▼▼▼▼ Toggle Button ▼▼▼▼▼▼▼▼▼▼ **/
#nav-toggle {
    display: none;
    position: absolute;
    /**top: 10px;**/
    right: 10px;
    width: 50px;
    height: 50px;
    /**border-radius: 50%;
    background: #D4AF37;**/
    cursor: pointer;
    z-index: 101;
}
  
#nav-toggle div {
    position: relative;
}
/** ▲▲▲▲▲▲▲▲▲▲ Toggle Button ▲▲▲▲▲▲▲▲▲▲ **/

/**#switching {
    display: none;
}**/
  
@media (max-width: 750px) {
    #head_wrap {
        top: 0;
        position: fixed;
        margin-top: 0;
        width: 100%;
        height: 50px;
        padding: 0;
        /* Fixed reset */
    }

    #head_wrap .inner {
        width: 100%;
        height: 50px;
        padding: 0;
    }

    #head_wrap.fixed {
        height: 50px;
        padding-top: 0;
        background: transparent;
        background: #00285B;
    }
  
    #head_wrap.fixed .inner {
        height: 50px;
    }

    #mobile-head {
        width: 100%;
        height: 50px;
        z-index: 999;
        /**position: relative;**/
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #head_wrap.fixed .logo,
    #head_wrap .logo {
        /**position: absolute;
        left: 15px;
        top: 10px;**/
        height: 40px;
        margin: 0 0 0 15px;
    }

    #head_wrap.fixed .logo img,
    #head_wrap .logo img {
        width: auto;
        height: 40px;
    }

    /** ▼▼▼▼▼▼▼▼▼▼ g_nav ▼▼▼▼▼▼▼▼▼▼ **/
    #head_wrap .inner nav#global-nav {
        /**position: absolute;
        right: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;**/
        width: 100%;
    }


    #global-nav {
        position: absolute;
        /* 開いてないときは画面外に配置 */
        top: -800px;
        /**display: flex;
        align-items: flex-start;**/
        flex-wrap: wrap;
        background: #FFFFFF;
        width: 100%;
        /*height: 100vh;*/
        padding: 20px 0 20px 0;
        /**text-align: center;**/
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
    }

    #global-nav ul {
        list-style: none;
        position: static;
        right: 0;
        bottom: 0;
        margin-top: 20px;
    }

    #global-nav ul li {
        float: none;
        position: static;
        text-align: center;
        padding: 10px 0;
    }

    #global-nav ul li a {
        display: inline-block;
        margin: 0 auto;
        text-align: center;
        font-size: 2.3em;
        color: #00285b;
    }

    /**#global-nav ul li ul {
        justify-content: center;
        width: 100%;
    }

    #global-nav ul li ul li {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    #global-nav ul li ul li ul {
        width: 100%;
    }**/
  
    /**#global-nav ul {
        position: static;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        margin: 0;
    }
  
    #global-nav ul li {
        width: 85%;
    }

    #global-nav ul li a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: 32px;
        margin: 5px 0;
        padding: 0 0 0 17px;
        list-style: none;
        clip-path: polygon(0 0,100% 0,100% 100%,0 100%);
        font-size: 20px;
        color: #00285b;
        background: #B5452C url(../images/icn_down.svg) no-repeat center right 16px;
    }**/

    #global-nav ul li a img {
        max-width: initial;
        max-height: 14px;
    }

    /** ▼▼▼▼▼▼▼▼▼▼ about ▼▼▼▼▼▼▼▼▼▼ **/
    #head_wrap .inner #global-nav ul.head_about {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        width: 85%;
        /**height: 136px;**/
        height: 250px;
        margin: 24px auto 50px auto;
        padding: 0;
    }

    #head_wrap .inner #global-nav ul.head_about li {
        font-family: "Noto Sans JP", sans-serif;
        font-size: 1.14em;
        font-optical-sizing: auto;
        font-weight: 400;
        font-style: normal;
        letter-spacing: 0.1em;
        line-height: 200%;
        color: #000000;
    }

    #head_wrap .inner #global-nav ul.head_about li a.tel {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        font-family: "Roboto", sans-serif;
        font-size: 2.12em;
        font-optical-sizing: auto;
        font-weight: 700;
        font-style: normal;
        font-variation-settings: "wdth" 100;
        letter-spacing: 0.02em;
        line-height: 100%;
        color: #000000;
        height: initial;
        margin: 0;
        padding: 0;
        background: none;
    }
  
    #head_wrap .inner #global-nav ul.head_about li a.tel:before {
        content: "";
        display: block;
        width: 40px;
        height: 40px;
        margin: 0 10px 0 0;
        border-radius: 50%;
        background: #b81d22 url(../toyonaga_images/icn_tel.svg) no-repeat center center;
    }

    #head_wrap .inner #global-nav ul.head_about li a.ask {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 40px;
        border-radius: 20px;
        background: #00285b;
        font-weight: 700;
        color: #FFFFFF;
        margin: 20px 10px 0 10px;
        padding: 0;
        font-size: 1.5em;
        /**transition: .3s;**/
    }

    /**#head_wrap .inner #global-nav ul.head_about a.ask:hover {
        background: #FFFFFF;
        color: #B5452C;
    }**/

    #head_wrap .inner #global-nav ul.head_about li:nth-child(2) {
        width: 80%;
        margin: 0;
        padding: 0;
        font-size: 0.8em;
        line-height: 160%;
    }

    #head_wrap .inner #global-nav ul.head_about li:nth-child(4) {
        font-size: 0.8em;
        line-height: 200%;
        text-align: left;
        margin: 20px 0 0 0;
        padding: 0;
    }
    /** ▲▲▲▲▲▲▲▲▲▲ about ▲▲▲▲▲▲▲▲▲▲ **/
  
    /**#global-nav ul li.bocrm_logo {
        width: 90%;
        padding: 20px 0 30px 0;
    }
  
    #global-nav ul li a:after {
        content:"";
        background: none;
        margin: 0;
    }**/
  
    /**#global-nav ul li a {
        color: #003F87;
        font-size: 1.2em;
        line-height: 400%;
        background: none;
        padding: 0;
    }**/

    /**#global-nav ul li ul li ul.sw {
        display: none;
        flex-direction: column;
        justify-content: space-between;
        margin: 0;
    }

    #global-nav ul li ul li ul.sw li a {
        font-size: 2em;
        line-height: 200%;
        text-align: left;
        margin: 0;
    }**/

    /**#global-nav ul li ul.h_contact {
        width: 100%;
    }

    #global-nav ul li ul.h_contact li a:after {
        content:"";
        background: none;
        margin: 0;
        height: 20px;
    }

    #global-nav ul li ul.h_contact li {
        width: 100%;
    }

    #global-nav ul li ul.h_contact li a {
        width: 80%;
        height: 60px !important;
        border-radius: 30px;
        font-size: 1.2em;
    }**/

    /**#global-nav ul li ul.smartwill {
        width: 75.7%;
        margin: 55px auto 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        list-style: none;
        color: #FFFFFF;
        font-family: "Noto Serif JP", serif;
        font-weight: 400;
        font-style: normal;
        font-size: 0.95em;
        line-height: 100%;
    }

    #global-nav ul li ul.smartwill li:nth-child(1) {
        width: 100%;
    }

    #global-nav ul li ul.smartwill li:nth-child(2) {
        margin: 40px 0 0 0;
        flex-direction: column;
    }

    #global-nav ul li ul.smartwill li span.address {
        margin: 20px 0 0 0!important;
        font-family: "Noto Sans JP", sans-serif;
        font-size: 0.75em;
        font-weight: 200;
        font-style: normal;
        text-align: left;
        line-height: 150%;
        display: inline-block;
        width: 100%;
        margin: 20px 0 0 0;
    }

    #global-nav ul li ul.smartwill li span.number {
        margin: -15px 0 0 0!important;
        font-family: "Noto Sans JP", sans-serif;
        font-size: 0.8em;
        font-weight: 700;
        font-style: normal;
        text-align: left;
        letter-spacing: 0.1em;
    }**/
    /** ▲▲▲▲▲▲▲▲▲▲ g_nav ▲▲▲▲▲▲▲▲▲▲ **/

    /**#switching {
        position: absolute;
        top: 0;
        right: 61px;
        display: flex;
        flex-direction: column;
        align-items: center;
        list-style: none;
    }

    #switching li {
        width: 60px;
        height: 30px;
        background: #FFC74C;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #switching li a {
        font-size: 0.7em;
        font-weight: 500;
        color: #777777;
    }

    #switching li:nth-child(2) {
        height: 29px;
        border-top: #FFFFFF 1px solid;
        background: #FFAF00;
    }

    #switching li:nth-child(2) a {
        color: #222222;
    }**/

    /** ▼▼▼▼▼▼▼▼▼▼ Toggle Button ▼▼▼▼▼▼▼▼▼▼ **/
    #nav-toggle {
        display: block;
    }

    /* #nav-toggle 切り替えアニメーション */
    #nav-toggle span {
        display: block;
        position: absolute;
        height: 4px;
        width: 30px;
        background: #FFFFFF;
        left: 10px;
        -webkit-transition: .35s ease-in-out;
        -moz-transition: .35s ease-in-out;
        transition: .35s ease-in-out;
    }

    #nav-toggle span:nth-child(1) {
        top: 13px;
    }

    #nav-toggle span:nth-child(2) {
        top: 23px;
    }

    #nav-toggle span:nth-child(3) {
        top: 33px;
    }

    .open #nav-toggle span:nth-child(1) {
        top: 25px;
        -webkit-transform: rotate(315deg);
        -moz-transform: rotate(315deg);
        transform: rotate(315deg);
    }

    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }

    .open #nav-toggle span:nth-child(3) {
        top: 25px;
        -webkit-transform: rotate(-315deg);
        -moz-transform: rotate(-315deg);
        transform: rotate(-315deg);
    }
    /** ▲▲▲▲▲▲▲▲▲▲ Toggle Button ▲▲▲▲▲▲▲▲▲▲ **/

    /* #global-nav スライドアニメーション */
    .open #global-nav {
    /* #global-nav top + #mobile-head height */
        -moz-transform: translateY(850px);
        -webkit-transform: translateY(10px);
        transform: translateY(850px);
    }
}