@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@100;300&family=Open+Sans+Condensed:wght@300&family=Quicksand:wght@300&family=Sawarabi+Gothic&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Sawarabi+Mincho');
@import url('https://fonts.googleapis.com/css2?family=Sacramento&display=swap');

#Gothic {
    font-family: "游ゴシック体","Yu Gothic",YuGothic,"ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,sans-serif;
}

#Mincho {
    font-family: 'Sawarabi Mincho', sans-serif;
}

#Numbers {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-family: 'Open Sans Condensed', sans-serif;
    font-family: 'Quicksand', sans-serif;
}

#Noto {
    font-family: 'Noto Sans JP', sans-serif;
}

.header {
    height: 100px;
    width: 100%;
    background: #fff;
    margin: 4px 0;
}

.header-inner {
    height: 100px;
    width: 74%;
    box-sizing: border-box;
    margin: 0 auto;
}

.header-inner-top {
    height: 60px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
}

.header-inner-bottom {
    padding: 0 6px;
}

.header-inner-top-left {
    height: 60px;
    width: auto;
    box-sizing: border-box;
    color: #323232;
    
    /* 複数行テキスト上下中央 */
    display: flex; /* 子要素をflexboxで揃える */
    flex-direction: column; /* 子要素をflexboxにより縦方向に揃える */
    justify-content: center; /* 子要素をflexboxにより中央に配置する */
    align-items: left;  /* 子要素をflexboxにより中央に配置する */
}

.header-inner-top-right {
    height: 60px;
    width: auto;
    box-sizing: border-box;
    margin-left: auto;

    /* 複数行テキスト上下中央 */
    display: flex; /* 子要素をflexboxで揃える */
    flex-direction: column; /* 子要素をflexboxにより縦方向に揃える */
    justify-content: center; /* 子要素をflexboxにより中央に配置する */
    align-items: left;  /* 子要素をflexboxにより中央に配置する */
}

a.link-home:visited, a.link-home:link, a.link-home:active {
    color: #323232;
    text-decoration: none;
}

h1.title {
    font-size: 1.2em;
    margin: 0;
}

h2.subtitle {
    font-size: 0.9em;
    font-weight: 200;
    margin: 0;
}

h3.phone-number {
    font-size: 0.9em;
    font-weight: 200;
    display: inline;
}

h4.address {
    font-size: 0.9em;
    font-weight: 100;
    margin: 0;
}

i.fa-phone {
    line-height: 0.9em;
    font-size: 14px;
    color: #b5c1de;
}

ul.header-innner-nav {
    text-align: center;
    display: flex;
    border-right: 1px solid #bfbfbf;
    margin: 0 auto;
    padding: 0;
}

li.header-innner-list {
    flex: 1;
    line-height: 40px;
    float: left;
    list-style: none;
    border-left: 1px solid #bfbfbf;
    padding: 0 12px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
}

a.header-innner-link:visited, a.header-innner-link:link, a.header-innner-link:active {
    font-size: 1em;
    text-decoration: none;
    color: #4c4c4c;
    display: inline-block;
    position: relative;
}

a.header-innner-link::after {
    height: 1px;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    content: '';
    background: #4c4c4c;
    transform: scale(0, 1);
    transform-origin: center top;
    transition: transform .3s;
}

a.header-innner-link:hover::after {
    transform: scale(1, 1);
}

a.header-innner-link:hover {
    color: #bfbfbf;
}

/* モバイルメニューを隠しておく */
@media screen and (min-width: 601px) {
    
    nav.globalMenuSp, .text-box2, .home4-bottombox, #bottom, .mobile-header-title, .mobile-header-titlebox {
        display: none;
    }
}


/* スマートフォン */
@media screen and (max-width: 600px) {

    .header {
        display: none;
    }

    /*　ハンバーガーボタン　*/
    .hamburger {
        height: 42px;
        width: 42px;
        display: block;
        position: fixed;
        z-index: 3;
        cursor: pointer;
        text-align: center;
        top: 16px;
        right: 16px;
    }

    .hamburger span {
        height: 2px ;
        width: 30px;
        display: block;
        position: absolute;
        background-color: rgba(0,0,0,0.9);
        left: 6px;
        -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: 20px;
    }

    .hamburger span:nth-child(3) {
        top: 30px;
    }

    /* ナビ開いてる時のボタン */
    .hamburger.active span:nth-child(1) {
        top: 16px;
        left: 6px;
        -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;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    nav.globalMenuSp {
        width: 100%;
        color: #fff;
        position: fixed;
        z-index: 2;
        top: 0;
        left: 0;
        text-align: center;
        transform: translateX(100%);
        transition: all 0.6s;
    }

    nav.globalMenuSp ul {
        width: 100%;
        background-color: rgba(0,0,0,0.6);
        margin: 0 auto;
        padding: 0;
    }

    nav.globalMenuSp ul li {
        width: 98%;
        list-style-type: none;
        border-bottom: 1px solid #fff;
        margin: 0 auto;
        padding: 0;
    }

    nav.globalMenuSp ul li:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }

    nav.globalMenuSp ul li:hover{
        background-color: rgba(255,255,255,0.6);
    }

    nav.globalMenuSp ul li a {
        display: block;
        font-size: 0.8em;
        color: #fff;
        text-decoration :none;
        padding: 2em 0;
    }

    /* このクラスを、jQueryで付与・削除する */
    nav.globalMenuSp.active {
        transform: translateX(0%);
    }

    .mobile-header-titlebox {
        height: 74px;
        width: 100%;
        box-sizing: border-box;
        padding-left: 16px;

        /* 複数行テキスト上下中央 */
        display: flex; /* 子要素をflexboxで揃える */
        flex-direction: column; /* 子要素をflexboxにより縦方向に揃える */
        justify-content: center; /* 子要素をflexboxにより中央に配置する */
        align-items: left;  /* 子要素をflexboxにより中央に配置する */
    }

    h6.mobile-header-subtitle, h5.mobile-header-title {
        margin: 0;
    }

    h5.mobile-header-title {
        font-size: 1em;
    }

    h6.mobile-header-subtitle {
        font-size: 0.8em;
    }
}


/* タブレット */
@media screen and (min-width: 601px) and (max-width: 1024px)  {

    .header-inner {
        height: 100px;
        width: 84%;
    }

    a.header-innner-link:visited, a.header-innner-link:link, a.header-innner-link:active {
        font-size: 0.8em;
    }
}
