/*  ----------------------------- */
/*全ページ共通事項*/
/*  ----------------------------- */
html {
    scroll-behavior: smooth;
}
.page-title {
    font-weight: 700;
    font-size: 2.8rem;
    letter-spacing: 0.05em;
    text-align: center;
    padding-bottom: 20px;
}
@media screen and (min-width: 800px) {
    /* 800px以上に適用されるCSS（PC用） */
    .page-title {
        font-size: 4rem;
    }
}
/*  ----------------------------- */
/*お問い合わせボタンcssここから*/
/*  ----------------------------- */
.contact-link-button-wrap {
    display: none;
}
@media screen and (min-width: 800px){
    .contact-link-button-wrap {
        display: flex;
        flex-direction: column;
        gap: 20px;
        position: fixed;
        right: 40px;
        top: 200px;
        z-index: 9;
    }
    .offer-page-link-button {
        transition: filter 0.3s ease;
    }
    .offer-page-link-button:hover {
        filter: brightness(80%);
    }
    .offer-page-link-button img{
        width: 76px;
        height: 76px;
    }
    .contact-page-link-button {
        transition: filter 0.3s ease;
    }
    .contact-page-link-button:hover {
        filter: brightness(80%);
    }
    .contact-page-link-button img{
        width: 76px;
        height: 76px;
    }
}
/*  ----------------------------- */
/*お問い合わせボタンcssここまで*/
/*  ----------------------------- */
/*  ----------------------------- */
/*header.cssここから*/
/*  ----------------------------- */
.header-wrap {
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 999;
}
.header-inner-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    width: 100%;
}
.site-title {
    width: 150px;
    margin-left: 15px;
}
.site-title img {
    width: 100%;
    height: auto;
}
/* navボタン */
.navbutton {
    position: relative;
    height: 70px;
    width: 70px;
    z-index: 999;
    cursor: pointer;
    border: 0;
    background-color: #8E8563;
}
/* 三本線 */
.navbutton span {
    /* 見た目のCSS */
    display: inline-block;
    background: #fff;
    /* バーガー線の太さ */
    width: 35px;
    height: 4px;
    /*アニメーションの設定*/
    transition: all .4s;
    position: absolute;
    left: 50%;
    /* バーガー線の位置 */
    transform: translateX(-50%);
}
#navbutton span:nth-of-type(1) {
    top: 30%;
}
#navbutton span:nth-of-type(2) {
    top: 50%;
}
.navbutton span:nth-of-type(3) {
    top: 70%;
}
/*activeクラスが付与されると線が回転して×になる*/
#navbutton.active span:nth-of-type(1) {
    top: 50%;
    left: 25%;
    transform: rotate(-45deg);
    width: 50%;
}
#navbutton.active span:nth-of-type(2) {
    opacity: 0;
}
#navbutton.active span:nth-of-type(3) {
    top: 50%;
    left: 25%;
    transform: rotate(45deg);
    width: 50%;
}
.navbutton:focus {
    outline: 0;
}
#global-nav-wrap {
    transition: 0.5s;
    position: fixed;
    top: -100vh;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: #ffffff;
    padding: 30px 15px 30px;
    /* 初期状態は非表示 */
    visibility: hidden;
}
#global-nav-wrap.open {
    top: 70px;
    visibility: visible;
    /* 画面からはみ出したらスクロール可能にする */
    overflow-y: scroll;
    scrollbar-width: none;
}
.global-nav li {
    font-size: 1.5rem;
    line-height: 3.66em;
    text-align: left;
    border-bottom: 1px solid #d9d9d9;
}
.global-nav li a {
    font-weight: 700;
    color: #000000;
    display: block;
    width: 100%;
    height: 100%;
}
.menu-item-has-children {
    border-bottom: none;
    flex-direction: column;
}
/* submenu */
.global-nav .sub-menu li {
    font-size: 1.3rem;
    line-height: 2.66em;
    border-bottom: none;
    padding-left: 20px;
}
.global-nav .sub-menu li a {
    font-weight: 400;
}
.globalr-nav .menu-item-has-children:nth-last-child(1) .sub-menu,
.global-nav .menu-item-has-children:nth-last-child(2) .sub-menu {
    border-bottom: none;
}
.hamburger-footer-nav ul {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 60px;
}
.hamburger-footer-nav li a {
    font-size: 1.6rem;
    color: #B5B5B5;
}
.nav-bodyscroll-open {
    overflow: hidden;
}
@media screen and (min-width: 800px) {
    /* 800px以上に適用されるCSS（PC用） */
    .header-wrap {
        display: flex;
        justify-content: center;
    }
    .header-inner-wrap {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 80px;
        width: 100%;
        max-width: 1280px;
        padding: 0 40px;
    }
    .site-title {
        width: 200px;
        margin-left: 0;
    }
    .navbutton {
        display: none;
    }
    #global-nav-wrap {
        transition: none;
        visibility: visible;
        overflow: visible;
        width: 100%;
        height: 80px;
        padding: 0;
        position: static;
    }
    .global-nav {
        padding-left: 40px;
    }
    .global-nav ul {
        display: flex;
        text-align: center;
        justify-content: space-between;
    }
    .global-nav li {
        border-bottom: none;
        line-height: 80px;
        text-align: center;
    }
    .global-nav li a {
        font-weight: 700;
        height: 100%;
        font-size: 1.5rem;
        color: #000;
    }
    .global-nav .sub-menu li a {
        font-size: 1.5rem;
        font-weight: 400;
    }
    .menu-item-has-children {
        position: relative;
    }
    .menu-item-has-children:hover .sub-menu {
        display: flex;
    }
    .sub-menu {
        flex-direction: column;
        position: absolute;
        left: -100px;
        background-color: #F2EFE7;
        padding: 10px 40px;
        justify-content: center;
        gap: 20px;
    }
    .global-nav .sub-menu {
        display: none;
        width: 250px;
    }
    .global-nav .sub-menu li {
        padding: 0;
        width: auto;
    }
    .global-nav .sub-menu a {
        text-decoration: underline;
    }
    .hamburger-footer-nav-wrap {
        display: none;
    }
}
/*  ----------------------------- */
/*header.cssここまで*/
/*  ----------------------------- */
/*  ----------------------------- */
/*breadcrumb cssここから*/
/*  ----------------------------- */
.breadcrumb-wrap {
    color: #8E8563;
    font-size: 1rem;
    /* page-top-btnリンク遷移先のずれ調整 */
    padding-top: 70px;
    margin-top: -70px;
}
.breadcrumb-wrap a {
    text-decoration: underline;
}
.breadcrumb {
    box-sizing: border-box;
    padding: 0 15px 20px 15px;
    max-width: 1280px;
    margin: 0 auto;
    line-height: 1.5;
}
@media screen and (min-width: 800px){
    .breadcrumb-wrap {
        font-size: 1.2rem;
            /* page-top-btnリンク遷移先のずれ調整 */
            padding-top: 80px;
            margin-top: -80px;
    }
    .breadcrumb {
        padding: 0 40px 20px 40px;
    }
}
/*  ----------------------------- */
/*breadcrumb cssここまで/
/*  ----------------------------- */
/*  ----------------------------- */
/*footer.cssここから*/
/*  ----------------------------- */
.footer-wrap {
    width: 100%;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}
.footer-logonavbtn-wrap {
    display: flex;
    justify-content: space-between;
}
.footer-logonav-wrap {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.footer-logo-wrap {
    width: 200px;
    height: 61px;
}
.footer-logo-wrap img {
    width: 100%;
}
.footer-nav-wrap ul {
    display: flex;
    flex-direction: column;
    gap: 30px;
    font-size: 1.4rem;
    color: #B5B5B5;
}
.footer-nav-wrap ul li a {
    transition: filter 0.3s ease;
}
.footer-nav-wrap ul li a:hover {
    filter: brightness(90%);
    text-decoration: underline;
}
.footer-pagetopbtn-wrap {
    display: flex;
    align-items: flex-end;
    width: 48px;
    transition: filter 0.3s ease;
}
.footer-pagetopbtn-wrap:hover {
    filter: brightness(50%);
}
.footer-pagetopbtn-wrap img {
    width: 100%;
}
.footer-copyright-wrap {
    border-top: 2px solid #CCCCCC;
}
.footer-copyright-wrap p {
    font-size: 1.4rem;
    line-height: 4.6em;
    text-align: center;
    color: #CCCCCC;
}
@media screen and (min-width: 800px) {
    /* 800px以上に適用されるCSS（PC用） */
    .footer-wrap {
        max-width: 1280px;
        padding: 60px 40px 0;
        margin: 0 auto;
    }
    .footer-logonav-wrap {
        width: 600px;
    }
    .footer-logo-wrap {
        width: 300px;
        height: 91.62px;
    }
    .footer-logo-wrap img {
        width: 100%;
    }
    .footer-nav-wrap ul {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
}
/*  ----------------------------- */
/*footer.cssここまで*/
/*  ----------------------------- */
/* ニュースの一覧表示でタイトルの行数を制限する */
.txt-limit {
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    -webkit-line-clamp: 2;
}
/* 画像のサイズを調整 */
.img-sizing {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* 印刷時のデザイン調整 */
@media print {
    .breadcrumb-wrap, .navbutton {
        display: none;
    }
    body {
        -webkit-print-color-adjust: exact; /* 印刷時でも背景色や背景画像を表示 */
        width: 100%;
    }
}
/* reCAPTCHA のバッジ */
.grecaptcha-badge {
    z-index: 999;
}
