/* header-footer.css - ヘッダー / フッター */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--c-text-invert);
    z-index: 100
}

.header .header_inner {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 60px
}

@media only screen and (max-width: 768px) {
    .header .header_inner {
            height: 50px
        }
}

.header .header_inner .header_site_logo {
    flex: 0 0 204px;
    padding: 0 1.5rem
}

@media only screen and (max-width: 1000px) {
    .header .header_inner .header_site_logo {
            flex: 0 0 180px
        }
}

.header .header_inner .header_navi {
    flex: 1 1 100%;
    max-width: 100%
}

@media only screen and (max-width: 768px) {
    .header .header_inner .header_navi {
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            display: none
        }
}

.header .header_inner .header_navi .header_navi_inner {
    display: flex;
    justify-content: space-between;
    align-items: center
}

@media only screen and (max-width: 768px) {
    .header .header_inner .header_navi .header_navi_inner {
            display: block;
            padding: 0 0 0;
            background-color: var(--c-brand-50)
        }
}

.header .header_inner .header_navi .header_globalnavi {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700
}

@media only screen and (max-width: 768px) {
    .header .header_inner .header_navi .header_globalnavi {
            display: block;
            font-size:var(--fs-base)
        }
}

.header .header_inner .header_navi .header_globalnavi>li {
    margin: 0 20px;
    position: relative
}

@media only screen and (max-width: 1000px) {
    .header .header_inner .header_navi .header_globalnavi>li {
            margin: 0 10px
        }
}

@media only screen and (max-width: 768px) {
    .header .header_inner .header_navi .header_globalnavi>li {
            margin: 0;
            border-bottom: 1px solid var(--c-brand-800)
        }
    .header .header_inner .header_navi .header_globalnavi>li:last-child {
            border-bottom: 0
        }
}

.header .header_inner .header_navi .header_globalnavi>li:has(ul)>a {
    padding-right: 15px;
    position: relative
}

@media only screen and (max-width: 768px) {
    .header .header_inner .header_navi .header_globalnavi>li:has(ul)>a {
            padding-right: 45px
        }
}

.header .header_inner .header_navi .header_globalnavi>li:has(ul)>a::before {
    content: " ";
    display: block;
    width: 10px;
    height: 6px;
    background: url("../img/common/pulldown_arrow.svg") center no-repeat;
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -3px
}

@media only screen and (max-width: 768px) {
    .header .header_inner .header_navi .header_globalnavi>li:has(ul)>a::before,
        .header .header_inner .header_navi .header_globalnavi>li:has(ul)>a::after {
            content: " ";
            display: block;
            border-radius: 2px;
            background-color: var(--c-brand-800);
            position: absolute;
            margin: 0
        }
    .header .header_inner .header_navi .header_globalnavi>li:has(ul)>a::before {
            width: 14px;
            height: 2px;
            top: 25px;
            right: 20px
        }
    .header .header_inner .header_navi .header_globalnavi>li:has(ul)>a::after {
            width: 2px;
            height: 14px;
            top: 19px;
            right: 26px
        }
}

.header .header_inner .header_navi .header_globalnavi>li.is-opened:has(ul)>a {
    color: var(--c-brand-800)
}

.header .header_inner .header_navi .header_globalnavi>li.is-opened:has(ul)>a::before {
    transform: rotate(180deg)
}

@media only screen and (max-width: 768px) {
    .header .header_inner .header_navi .header_globalnavi>li.is-opened:has(ul)>a::before {
            transform: rotate(0)
        }
}

@media only screen and (max-width: 768px) {
    .header .header_inner .header_navi .header_globalnavi>li.is-opened:has(ul)>a::after {
            display: none
        }
}

.header .header_inner .header_navi .header_globalnavi>li>a {
    padding: 5px 0
}

@media only screen and (max-width: 768px) {
    .header .header_inner .header_navi .header_globalnavi>li>a {
            display: block;
            padding: 15px 40px 15px 20px
        }
}

.header .header_inner .header_navi .header_globalnavi>li a {
    text-decoration: none;
    opacity: 1
}

.header .header_inner .header_navi .header_globalnavi>li a:hover {
    color: var(--c-brand-800)
}

.header .header_inner .header_navi .header_globalnavi>li ul {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    min-width: 150px;
    transform: translate(-50%, 0);
    padding: 15px 20px;
    background-color: var(--c-brand-50);
    border-radius:var(--r-sp);
    white-space: nowrap;
    font-size:var(--fs-small);
    display: none
}

@media only screen and (max-width: 768px) {
    .header .header_inner .header_navi .header_globalnavi>li ul {
            position: relative;
            top: 0;
            left: 0;
            transform: translate(0);
            padding: 0;
            border-radius: 0
        }
}

.header .header_inner .header_navi .header_globalnavi>li ul li {
    margin-bottom: 5px
}

@media only screen and (max-width: 768px) {
    .header .header_inner .header_navi .header_globalnavi>li ul li {
            margin: 0;
            border-top: 1px solid var(--c-brand-300)
        }
    .header .header_inner .header_navi .header_globalnavi>li ul li a {
            display: block;
            padding: 10px 20px 10px 40px
        }
}

.header .header_inner .header_navi .header_globalnavi>li ul li:last-child {
    margin-bottom: 0
}

.header .header_inner .header_navi .header_btns {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    font-size: 1.5rem
}

@media only screen and (max-width: 768px) {
    .header .header_inner .header_navi .header_btns li {
            width: 50%
        }
}

.header .header_inner .header_navi .header_btns li a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    padding: 5px 30px 5px;
    text-decoration: none;
    color: var(--c-text-invert)
}

@media only screen and (max-width: 1000px) {
    .header .header_inner .header_navi .header_btns li a {
            padding: 5px 10px
        }
}

@media only screen and (max-width: 768px) {
    .header .header_inner .header_navi .header_btns li a {
            width: 100%
        }
}

.header .header_inner .header_navi .header_btns li a span {
    display: inline-block;
    padding-left: 28px;
    position: relative
}

@media only screen and (max-width: 1000px) {
    .header .header_inner .header_navi .header_btns li a span {
            padding-left: 22px
        }
}

@media only screen and (max-width: 768px) {
    .header .header_inner .header_navi .header_btns li a span {
            padding-left: 28px
        }
}

.header .header_inner .header_navi .header_btns li a span::before {
    content: " ";
    display: block;
    width: 26px;
    height: 26px;
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -13px
}

.header .header_inner .header_navi .header_btns li.header_btns_request a {
    background-color: var(--c-brand-300)
}

.header .header_inner .header_navi .header_btns li.header_btns_request a span::before {
    background: url("../img/common/icon_document.svg") 0 center no-repeat
}

.header .header_inner .header_navi .header_btns li.header_btns_contact a {
    background-color: var(--c-brand-800)
}

.header .header_inner .header_navi .header_btns li.header_btns_contact a span::before {
    background: url("../img/common/icon_mail.svg") 0 center no-repeat
}

.header .header_menu {
    display: none;
    width: 60px;
    height: 60px;
    z-index: 60;
    position: absolute;
    top: 0;
    right: 0
}

@media only screen and (max-width: 768px) {
    .header .header_menu {
            display: block;
            height: 50px;
            width: 50px
        }
}

.header .header_menu .bar {
    display: block;
    width: 24px;
    height: 2px;
    position: absolute;
    top: 50%;
    left: 13px;
    background-color: var(--c-text)
}

.header .header_menu .bar::before,
.header .header_menu .bar::after {
    content: " ";
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--c-text);
    position: absolute;
    left: 0;
    transition: all .3s ease-out
}

.header .header_menu .bar::before {
    top: -5px
}

.header .header_menu .bar::after {
    bottom: -5px
}

body.is-opened .header {
    position: absolute
}

body.is-opened .header .header_menu .bar {
    background-color: rgba(0, 0, 0, 0)
}

body.is-opened .header .header_menu .bar::before {
    top: 0;
    transform: rotate(45deg)
}

body.is-opened .header .header_menu .bar::after {
    bottom: 0;
    transform: rotate(-45deg)
}

body.is-opened .site_wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100svw;
    z-index: 5;
    overflow: hidden
}

.footer {
    padding: 6rem 0 3rem;
    background-color: var(--c-brand-50)
}

@media only screen and (max-width: 768px) {
    .footer {
            padding: 3rem 0 1.5rem
        }
}

.footer .footer_column {
    display: flex;
    justify-content: space-between;
    align-items: flex-start
}

@media only screen and (max-width: 768px) {
    .footer .footer_column {
            display: block
        }
}

.footer .footer_column .footer_sitemap {
    order: 2;
    flex: 1 1 100%;
    max-width: 100%;
    margin-left: 20px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    font-size: 1.48rem
}

@media only screen and (max-width: 768px) {
    .footer .footer_column .footer_sitemap {
            margin: 0 0 3rem;
            display: block;
            font-size:var(--fs-small)
        }
}

.footer .footer_column .footer_sitemap .footer_sitemap_cel {
    width: 35%;
    margin-right: 4rem;
    max-width: 230px
}

@media only screen and (max-width: 768px) {
    .footer .footer_column .footer_sitemap .footer_sitemap_cel {
            width: auto;
            max-width: inherit;
            margin: 0
        }
}

.footer .footer_column .footer_sitemap .footer_sitemap_cel:last-child {
    margin-right: 0
}

@media only screen and (max-width: 768px) {
    .footer .footer_column .footer_sitemap .footer_sitemap_cel:last-child {
            margin-bottom: 0
        }
}

.footer .footer_column .footer_sitemap .footer_sitemap_cel dt {
    font-weight: 700;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--c-brand-300)
}

@media only screen and (max-width: 768px) {
    .footer .footer_column .footer_sitemap .footer_sitemap_cel dt {
            margin: 0;
            position: relative;
            cursor: pointer
        }
    .footer .footer_column .footer_sitemap .footer_sitemap_cel dt::before,
        .footer .footer_column .footer_sitemap .footer_sitemap_cel dt::after {
            content: " ";
            display: block;
            border-radius: 2px;
            background-color: var(--c-brand-800);
            position: absolute
        }
    .footer .footer_column .footer_sitemap .footer_sitemap_cel dt::before {
            width: 14px;
            height: 2px;
            top: 19px;
            right: 10px
        }
    .footer .footer_column .footer_sitemap .footer_sitemap_cel dt::after {
            width: 2px;
            height: 14px;
            top: 13px;
            right: 16px
        }
    .footer .footer_column .footer_sitemap .footer_sitemap_cel dt.is-opened::after {
            display: none
        }
}

.footer .footer_column .footer_sitemap .footer_sitemap_cel dt span {
    display: inline-block;
    position: relative;
    padding-bottom: 1.5rem
}

@media only screen and (max-width: 768px) {
    .footer .footer_column .footer_sitemap .footer_sitemap_cel dt span {
            padding: 1rem 0
        }
}

.footer .footer_column .footer_sitemap .footer_sitemap_cel dt span::after {
    content: " ";
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--c-brand-800);
    position: absolute;
    bottom: -1px;
    left: 0
}

.footer .footer_column .footer_sitemap .footer_sitemap_cel dd {
    font-weight: 400
}

@media only screen and (max-width: 768px) {
    .footer .footer_column .footer_sitemap .footer_sitemap_cel dd {
            display: none;
            padding: 1rem 0 1.5rem
        }
}

.footer .footer_column .footer_sitemap .footer_sitemap_cel dd+dt {
    margin-top: 4rem
}

@media only screen and (max-width: 768px) {
    .footer .footer_column .footer_sitemap .footer_sitemap_cel dd+dt {
            margin-top: 0
        }
}

.footer .footer_column .footer_sitemap .footer_sitemap_cel dd li {
    margin-bottom: 3px
}

@media only screen and (max-width: 768px) {
    .footer .footer_column .footer_sitemap .footer_sitemap_cel dd li {
            margin-bottom: .2rem
        }
}

.footer .footer_column .footer_sitemap .footer_sitemap_cel dd li:last-child {
    margin-bottom: 0
}

.footer .footer_column .footer_sitemap .footer_sitemap_cel dd li a {
    opacity: 1;
    text-decoration: none
}

.footer .footer_column .footer_sitemap .footer_sitemap_cel dd li a:hover {
    color: var(--c-brand-800)
}

.footer .footer_column .footer_outline {
    order: 1;
    flex: 0 0 auto
}

@media only screen and (max-width: 768px) {
    .footer .footer_column .footer_outline .footer_site_data {
            display: flex;
            justify-content: center;
            align-items: flex-start
        }
}

.footer .footer_column .footer_outline .footer_site_logo {
    max-width: 204px;
    margin-bottom: 2rem
}

.footer .footer_column .footer_outline .footer_site_company {
    margin-bottom: .5rem;
    font-weight: 700
}

.footer .footer_column .footer_outline .footer_site_address {
    font-size: 1.5rem;
    font-weight: 400
}

@media only screen and (max-width: 768px) {
    .footer .footer_column .footer_outline .footer_site_address {
            font-size:var(--fs-small)
        }
}

.footer .footer_column .footer_outline .footer_site_links {
    margin-top: 3.5rem;
    font-size: 1.5rem;
    font-weight: 400
}

@media only screen and (max-width: 768px) {
    .footer .footer_column .footer_outline .footer_site_links {
            margin-top: 2rem;
            font-size:var(--fs-small);
            text-align: center
        }
}

.footer .footer_column .footer_outline .footer_site_links li {
    margin-bottom: 5px
}

@media only screen and (max-width: 768px) {
    .footer .footer_column .footer_outline .footer_site_links li {
            margin-bottom: .3rem
        }
}

.footer .footer_column .footer_outline .footer_site_links li:last-child {
    margin-bottom: 0
}

.footer .footer_column .footer_outline .footer_site_links li a {
    color: var(--c-brand-800)
}

.footer .footer_copyright {
    margin-top: 30px;
    font-family: "Montserrat", sans-serif;
    font-size: 1.5rem;
    font-weight: 400
}

@media only screen and (max-width: 768px) {
    .footer .footer_copyright {
            margin-top: 2.5rem;
            font-size:var(--fs-caption);
            text-align: center
        }
}
