header *{
    transition: 300ms;
}

header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    z-index: 999;
}
/*
■■■■■■■■■■■■■■■■■■■■■■■■■■■■
非スクロール時
■■■■■■■■■■■■■■■■■■■■■■■■■■■■
*/
header.max > .inner{
    height: 100px;
    max-height: 100px;
}
header.max > .inner > .header-flex{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

header.max .header-left{
    height: 100%;
}
header.max .header-logo-place{
    display: inline-block;
    padding-top: 16px;
    padding-left: 32px;
    padding-right: 32px;
    padding-bottom: 16px;
    height: 100%;
}
header.max .header-logo{
    display: block;
    width: 288px;
    height: 68px;
    background-image: url('../img/common/logo-h.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position-x: left;
    transition: 0ms;
}

header.max .header-right{
    width: 976px;
    height: 100%;
}
header.max .header-right-up{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 40px;
}
header.max .headerAttention{
    display: flex;
    align-items: center;
    padding-top: 6px;
    height: 100%;
}
header.max .headerTelNum{
    color: #009966;
    padding-right: 12px;
    font-size: 1rem;
}
header.max .headerTelNum::before{
    margin-right: 8px;
}
header.max .headerTelNum > .fa-phone-alt{
    margin-right: 8px;
}
header.max .headerTelNum > .string{
    font-weight: bold;
}
header.max .headerHours{
    font-size: 0.75rem;
    color: #666;
    padding-left: 12px;
    border-left: 1px solid #ccc;
    padding-right: 12px;
}
header.max .headerButton{
    display: flex;
    align-items: flex-start;
    height: 100%;
    gap: 8px;
}
header.max .headerButtonBrochure{
    display: flex;
    position: relative;
    width: 200px;
    height: 100%;
    align-items: center;
    justify-content: center;
    background-color: #194A7B;
    color: #fff;
    font-weight: bold;
}
header.max .headerButtonBrochure > .fa-file-pdf{
    color: #fff;
    margin-right: 6px;
}
header.max .headerButtonBrochure::after{
    content: "";
    border-color: rgba(255,255,255,0.5) #fff #fff rgba(255,255,255,0.5);
    border-style: solid;
    border-width: 0 0 16px 16px;
    bottom: 0;
    position: absolute;
    right: 0;
}

header.max .headerButtonContact{
    display: flex;
    position: relative;
    width: 200px;
    height: 100%;
    align-items: center;
    justify-content: center;
    background-color: #dc3545;
    color: #fff;
    font-weight: bold;
}
header.max .headerButtonContact > .fa-envelope{
    color: #FFF;
    margin-right: 6px;
}
header.max .headerButtonContact::after{
    content: "";
    border-color: rgba(255,255,255,0.5) #fff #fff rgba(255,255,255,0.5);
    border-style: solid;
    border-width: 0 0 16px 16px;
    bottom: 0;
    position: absolute;
    right: 0;
}

header.max .header-right-bottom{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 60px;
}

header.max .headerNavi{
    display: flex;
    justify-content: center;
}

header.max .headerNaviItem{
    padding-right: 40px;
    padding-left: 40px;
    border-left: 0px solid #ccc;
    text-align: center;
    font-weight: 500;
    color: #333;
}
header.max .headerNaviItem:first-child{
    border-left: none;
}

header.max .header-right-bottom.min{
    display: none;
}
header.max .header-right-bottom.max{
    display: flex;
} 

.headerMargin{
    height: 100px;
}


/*
■■■■■■■■■■■■■■■■■■■■■■■■■■■■
ページスクロール時
■■■■■■■■■■■■■■■■■■■■■■■■■■■■
*/
.headerMargin.min{
    height: 100px;
    max-height: 100px;
}

header.min > .inner{
    height: 60px;
}
header.min > .inner > .header-flex{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

header.min .header-left{
    height: 100%;
}
header.min .header-logo-place{
    display: inline-block;
    padding-top: 8px;
    padding-left: 32px;
    padding-right: 32px;
    padding-bottom: 8px;
    height: 100%;
    background-color: #FFF;
}
header.min .header-logo{
    display: block;
    width: 200px;
    height: 44px;
    background-image: url('../img/common/logo-w.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position-x: left;
    transition: 0ms;
}

header.min .header-right{
    display: flex;
    width: 1100px;
    height: 100%;
    justify-content: flex-end;
}
header.min .header-right-up{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    border-radius: 8px;
    background-color: #009966;
}
header.min .headerAttention{
    display: block;
    height: 100%;
}
header.min .headerTelNum{
    padding-top: 4px;
    color: #fff;
    padding-right: 12px;
    font-size: 1rem;
    padding-left: 12px;
}
header.min .headerTelNum::before{
    margin-right: 8px;
}
header.min .headerTelNum > .fa-phone-alt{
    margin-right: 8px;
}
header.min .headerTelNum > .string{
    font-weight: bold;
}
header.min .headerHours{
    font-size: 0.75rem;
    padding-left: 12px;
    border-left: 0px solid #ccc;
    padding-right: 12px;
    transition: 0ms;
    color: #fff;
}
header.min .headerButton{
    display: block;
    align-items: flex-start;
    height: 100%;
    gap: 8px;
}
header.min .headerButtonBrochure{
    display: flex;
    position: relative;
    width: 200px;
    height: 100%;
    align-items: center;
    justify-content: center;
    background-color: #194A7B;
    color: #fff;
    font-weight: bold;
    margin-left: 8px;
}
header.min .headerButtonBrochure > .fa-file-pdf{
    color: #fff;
    margin-right: 6px;
}
header.min .headerButtonBrochure::after{
    content: "";
    border-color: rgba(255,255,255,0.5) #fff #fff rgba(255,255,255,0.5);
    border-style: solid;
    border-width: 0 0 16px 16px;
    bottom: 0;
    position: absolute;
    right: 0;
}

header.min .headerButtonContact{
    display: flex;
    position: relative;
    width: 200px;
    height: 50%;
    align-items: center;
    justify-content: center;
    background-color: #dc3545;
    color: #fff;
    font-weight: bold;
}
header.min .headerButtonContact > .fa-envelope{
    color: #FFF;
    margin-right: 6px;
}
header.min .headerButtonContact::after{
    content: "";
    border-color: rgba(255,255,255,0.5) #fff #fff rgba(255,255,255,0.5);
    border-style: solid;
    border-width: 0 0 16px 16px;
    bottom: 0;
    position: absolute;
    right: 0;
}

header.min .header-right-bottom{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 60px;
}

header.min .headerNavi{
    display: flex;
    justify-content: center;
}

header.min .headerNaviItem{
    padding-right: 32px;
    padding-left: 32px;
    border-left: 0px solid #ccc;
    text-align: center;
    font-weight: 500;
    color: #333;
}
header.min .headerNaviItem:first-child{
    border-left: none;
}

header.min .header-right-bottom.min{
    display: flex;
}
header.min .header-right-bottom.max{
    display: none;
} 
