header#masthead {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    flex-direction: column;
    width: 100%;
    position: fixed;
    top: 0;
    width: 100%;
    left: 0;
    right: 0;
    margin: auto;
    filter: drop-shadow(0px -1px 5px #ccc);
    z-index: 999;
}

header#masthead > .header_ {
    display: flex;
    max-width: 1280px;
    width: 95%;
    margin: auto;
    align-items: center;
}

header#masthead > .header_ > h1 {
    margin-right: auto;
}

header#masthead > .header_ > .tel {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin: auto 0 0;
    margin-right: 1em;
    font-size: 24px;
    line-height: 1.2;
}

header#masthead > .header_ > .tel > span {
    font-size: 16px;
}

header#masthead > .menu {
    margin: 0.5em;
}

header#masthead > .menu > ul {
    display: flex;
    margin: 0;
    justify-content: center;
}

header#masthead > .header_ > ul.cta_btn {
    display: flex;
    margin: auto 0 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}

header#masthead > .header_ > ul.cta_btn > li {
    margin-right: .25em;
}

header#masthead > .header_ > ul.cta_btn > li > a {
    display: block;
}

header#masthead > .header_ > ul.cta_btn > li > a > img {
    height: 38px;
    object-fit: contain;
}

header#masthead > .menu > ul > li {
    margin-right: 1em;
    font-size: 13px;
}

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

header#masthead > .menu > ul > li {
    font-size: calc((16px/2) + (16 - (16/2))*(100vw - 375px)/(1903 - 375));
}

}

header#masthead > .menu > ul > li:last-child {
    margin-right: 0;
}

header#masthead > .header_ > ul.cta_btn > li:last-child {
    margin-right: 0;
}

header#masthead > .header_ > h1 img {
    height: 50px;
    object-fit: contain;
    width: 100%;
}

/*-article {
    padding-bottom: 0;
}-*/

.top_img {
    padding-top: 0;
}

img.pc_cta_btn {
    width: 300px;
    display: block;
    margin: auto 0;
}


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

img.pc_cta_btn {
    display: none;
}

header#masthead > .header_ > h1 img {
    height: 60px;
    object-fit: contain;
}

header#masthead {
    height: 60px;
}

header#masthead > .menu > ul {
    flex-direction: column;
    margin: 0;
    padding: 0 1em;
}

header#masthead > .menu {
    background: #fff;
    position: fixed;
    right: 0;
    top: 60px;
    width: 80%;
    transform: translate(100%, 0);
    transition: .5s;
    margin: 0;
}

header#masthead > .menu.open {
    transform: translate(0, 0);
}

header#masthead > .header_ > h1 img {
    height: 40px;
    object-fit: contain;
}

header#masthead > .menu > ul > li {
    font-size: 12px;
    margin: 0;
}

header#masthead > .menu > ul > li:last-child > a {
    border: none;
}

header#masthead > .menu > ul > li > a {
    padding: 0.8em 0.5em;
    border-bottom: solid 1px #B0B0B0;
    display: block;
    position: relative;
}

header#masthead > .menu > ul > li > a::after {
    content: "";
    background: url(/wp/wp-content/uploads/2021/07/ya_bl.webp) no-repeat;
    background-size: contain;
    width: 0.5em;
    height: 1em;
    position: absolute;
    right: 0.5em;
    top: 50%;
    transform: translate(0, -50%);
}

header#masthead > .menu > .header_sns {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1em 0;
    background: #F0F2F3;
}

header#masthead > .menu > .header_sns > .label {
    color: #F1345F;
    font-size: calc((16px/2) + (16 - (16/2))*(100vw - 375px)/(750 - 375));
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: lighter;
    margin-right: 1em;
    letter-spacing: 2px;
}

header#masthead > .menu > .header_sns > a > img {
    max-height: 40px;
    object-fit: contain;
    width: 100%;
}

header#masthead > .menu > .header_sns > a:nth-child(2) {
    margin-right: 0.25em;
}

header#masthead > .header_ > .menu_btn {
    display: block;
}

header#masthead > .header_ > .menu_btn > img {
    max-height: 28px;
    object-fit: contain;
}

header#masthead > .header_ > .menu_btn > img.close {
    display: none;
}

header#masthead > .header_ > .menu_btn.open > img.open {
    display: none;
}

header#masthead > .header_ > .menu_btn.open > img.close {
    display: block;
}

}


header#masthead:has(li.p_txt) > .header_ > ul.cta_btn > li.p_txt {
    width: 100%;
    font-size: 12px;
}

header#masthead:has(li.p_txt) > .header_ > ul.cta_btn {
    width: 570px;
}

header#masthead:has(li.p_txt) > .header_ > ul.cta_btn > li > a > img {
    height: 30px;
}

@media screen and (max-width:750px) {
    header#masthead:has(li.p_txt) > .header_ > ul.cta_btn > li.p_txt {
        font-size: calc((12px/2) + (12 - (12/2))*(100vw - 375px)/(750 - 375));
    }
    header#masthead:has(li.p_txt) > .header_ > ul.cta_btn {
        width: calc((570px/2) + (570 - (570/2))*(100vw - 375px)/(750 - 375));
    }
    header#masthead:has(li.p_txt) > .header_ > ul.cta_btn > li > a > img {
        height: calc((30px/2) + (30 - (30/2))*(100vw - 375px)/(750 - 375));
    }
}