@charset "UTF-8";

/*=== css変数定義　====================================================*/

:root {
    --button-primary: #6ec300;
    --button-secondary: #69ba00;
    --button-tertialy: #a48d48;
    --text-primary: #69ba00;
    --text-secondary: #64b200;
    --text-tertialy: #a48d48;
    --text-default: #514327;
    --bgcolor-default: #ffffff;
    --bgcolor-secondary: #64b200;
    --bgcolor-tertialy: #f5f9e9;
    --bgcolor-quaternary: #fbf7ef;
}

/*=== base　====================================================*/

html {
    box-sizing: border-box;
    height: 100%;
    font-size: 62.5%;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    height: 100%;
    background-color: var(--bgcolor-default, #fff);
    font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Osaka", "メイリオ", "Meiryo",
        "ＭＳ Ｐゴシック", "MS P Gothic", sans-serif;
    font-size: 1.6rem;
    letter-spacing: normal;
    color: var(--text-default);
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

a {
    color: inherit;
    text-decoration: none;
}

h3,
strong {
    font-weight: bold;
}

input,
textarea {
    max-width: 100%;
    font-family: inherit;
    font-size: 100%;
}

main {
    margin-top: 100px;
}

/*=== ヘッダー　====================================================*/

.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    transition:
        translateY 600ms,
        opacity 200ms;
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
    background: var(--bgcolor-default, #fff);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.1);
}
h1 {
    width: min(18%, 295px);
}
.header__logo {
    display: block;
    width: 100%;
}

.header.hide {
    transform: translateY(-100%);
    opacity: 0;
}

.nav-global {
    height: inherit;
    display: grid;
}

.nav-global__list {
    display: flex;
    align-items: center;
    gap: 18px;
    height: inherit;
}

.nav-global__list .nav_sns a {
    display: block;
    width: 34px;
    height: 34px;
}

.nav-global__item.has-child {
    position: relative;
    display: flex;
    height: inherit;
    place-items: center;
}

.nav-global__item.has-child:hover .nav-global-child__list {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s, visibility 0.3s;
}

.nav-global-child__list {
    position: absolute;
    top: 100px;
    left: -15px;
    width: 270px;
    background-color: #fff;
    padding: 30px;
    display: grid;
    row-gap: 25px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.10);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.nav-global-child__item a {
    display: grid;
    grid-template-columns: 10px auto;
    column-gap: 10px;
    align-items: center;
    transition: opacity 0.3s;
}

.nav-global-child__item a:hover {
    opacity: 0.8;
}

.nav-global-child__item a::before {
    content: "";
    aspect-ratio: 1;
    width: 10px;
    background: url(/images/common/icon-arrow.svg) no-repeat center center / contain;
}

.hamburger,
.black_bg {
    display: none;
}

/*=== フッター　====================================================*/

.footer {
    background-color: var(--bgcolor-secondary);
    color: #fff;
}

.footer__wrapper {
    max-width: 1040px;
    width: 100%;
    margin: 0 auto;
    padding: 70px 20px 76px;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
}

.footer__logo {
    display: inline-block;
    margin-bottom: 30px;
    width: 280px;
}

.footer__logo img {
    width: 100%;
}

.nav__wrap {
    display: flex;
    gap: 36px;
}

.nav__list .nav__item {
    margin-bottom: 36px;
}

.nav__list .nav__item a {
    position: relative;
    transition: 0.3s;
}

.nav__list .nav__item a:hover {
    color: #fff;
}

.nav__list .nav__item a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 4px;
    background: #fff;
    transition: 0.3s;
}

.nav__list .nav__item a:hover::before {
    width: 100%;
}

.nav-child__list {
    margin-top: 30px;
    padding: 0 10px;
    display: grid;
    row-gap: 20px;
}

.footer__address {
    line-height: 2;
    margin-bottom: 40px;
}

.copyright {
    margin-top: 47px;
    font-size: 1.2rem;
    text-align: center;
}

/*=== 電話番号　====================================================*/

.tel {
    text-align: center;
}

.tel__number {
    color: var(--text-primary);
    font-family: Barlow;
    font-size: 2.4rem;
    letter-spacing: 2px;
}

.tel__number::before {
    content: "";
    display: inline-block;
    width: 23px;
    height: 23px;
    margin-right: 8px;
    background-image: url(../images/common/icon_phone.svg);
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.tel__reception-time {
    color: var(--text-default);
    font-size: 1.2rem;
    margin-top: 7px;
}

/*=== ボタン　====================================================*/

.btn-contact,
.btn-more-view,
.btn-contact-white {
    display: block;
    text-align: center;
    border-radius: 100vh;
    transition: 0.5s;
}

.btn-contact::before,
.btn-contact-white::before,
.btn-more-view::after {
    content: "";
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.btn-contact {
    padding: 16px 20px;
    width: 100%;
    /* border: 2px solid #fff; */
    color: #fff;
    background: var(--button-primary);
}

.btn-sns {
    width: 48%;
    text-align: center;
    display: flex;
    justify-content: center;
    padding: 0;
}
.btn-sns a {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 2px solid #6ec300;
    padding: 16px 20px;
    border-radius: 40px;
}
.btn-sns img {
    width: 16px;
    margin-right: 10px;
}

.contact__inner .btn-contact {
    width: fit-content;
    margin-top: 12px;
    font-size: 2rem;
}

.btn-contact::before {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background-image: url(../images/common/icon_mail.svg);
}

.btn-contact:hover {
    color: var(--button-primary);
    background: #fff;
    border: 2px solid var(--button-primary);
}

.btn-contact:hover::before {
    background-image: url(../images/common/icon_mail_hover.svg);
}

.btn-contact-white {
    padding: 16px 0;
    width: 286px;
    border: 2px solid #fff;
    color: #fff;
    background: var(--button-secondary);
}

.btn-contact-white::before {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background-image: url(../images/common/icon_mail.svg);
}

.btn-contact-white:hover {
    color: var(--button-secondary);
    background: #fff;
}

.btn-contact-white:hover::before {
    background-image: url(../images/common/icon_mail_hover.svg);
}

.btn-more-view {
    padding: 16px 0;
    width: 215px;
    border: 2px solid var(--button-primary);
    color: var(--button-primary);
    background: #fff;
}

.btn-more-view::after {
    margin-left: 8px;
    width: 18px;
    height: 18px;
    background-image: url(../images/common/icon_arrow_right.svg);
}

.btn-more-view:hover {
    color: #fff;
    background: var(--button-primary);
}

.btn-more-view:hover::after {
    background-image: url(../images/common/icon_arrow_right_hover.svg);
}

/*=== 見出し　====================================================*/

.heading-normal,
.heading-clover {
    font-size: 4rem;
    color: var(--text-primary);
    font-family: "Kiwi Maru", serif;
    font-weight: normal;
}

.heading-normal {
    letter-spacing: 0.01em;
}

.heading-clover {
    text-align: center;
}

.heading-clover::before,
.heading-clover::after {
    content: "";
    display: inline-block;
    width: 26px;
    height: 26px;
    background-image: url(../images/common/icon_clover.svg);
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.heading-clover::before {
    margin-right: 16px;
}

.heading-clover::after {
    margin-left: 16px;
}

.heading-copy {
    text-align: center;
    display: block;
    font-size: 1.8rem;
    margin-top: 32px;
    margin-bottom: 40px;
    color: var(--text-tertialy);
}

.heading-sub {
    font-size: 2.4rem;
    line-height: 2.16667;
}

/*=== テーブル　====================================================*/

.table-main,
.table-cost {
    margin: 0 auto;
    width: 100%;
    line-height: normal;
}

.table-main div:first-child,
.table-cost div:first-child {
    border-top: 1px solid #333;
}

.table-main div,
.table-cost div {
    display: flex;
    padding: 24px 16px;
    border-bottom: 1px solid #333;
}

.table-main div dt,
.table-cost div dt {
    width: 30%;
    font-weight: bold;
}

.table-main div dd,
.table-cost div dd {
    width: 70%;
}

.table-cost div dd {
    text-align: right;
}

/*=== セクション　====================================================*/

.section-access,
.section-company_overview,
.section-message,
.section-service,
.contact {
    padding: 96px 0;
}

.section__inner,
.detail-wrapper {
    max-width: 1040px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.section-service,
.section-facilities {
    padding: 96px 20px;
}

/*=== 問い合わせセクション　=*/

.section-contact {
    background-color: var(--bgcolor-tertialy);
    padding: 90px 20px;
}

.section-contact hr {
    border: 1px solid #6ec300;
}

.section-contact .section__inner {
    border-radius: 12px;
    background-color: #fff;
    border: 2px solid #6ec300;
    padding: 50px 97px;
}

.contact__inner {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
    gap: calc(54px * 2 + 1px);
}

.contact__text {
    font-size: 2.4rem;
    margin-bottom: 41px;
    line-height: normal;
}

.contact__inner .tel__number {
    margin-top: 12px;
    margin-bottom: 12px;
}

.contact__inner .tel__reception-time {
    font-size: 1.4rem;
}

.mail {
    position: relative;
}

.mail::before {
    content: "";
    position: absolute;
    left: calc((54px + 1px) * -1);
    top: 0;
    background: #6ec300;
    width: 1px;
    height: 100%;
}

/*=== 全角スペース　====================================================*/

.full-width-space {
    padding-left: 1em;
}

/*=== タグ　====================================================*/

.tag {
    border-radius: 5px;
    border: 1px solid var(--button-primary, #6ec300);
    background: #fff;
    padding: 12px;
    width: fit-content;
}

.tag-wrapper {
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
    flex-wrap: wrap;
    gap: 5px 10px;
}

/*=== sp/pc切り替え　====================================================*/

.pc {
    display: block;
}

.sp {
    display: none;
}
@media screen and (max-width: 1140px) {
/*=== ヘッダー　====================================================*/
    .header {
        height: 60px;
    }
    h1 {
        width: min(58.6%, 220px);
    }
    .nav-global {
        display: none;
    }
    .hamburger {
        display: block;
        position: absolute;
        right: 30px;
        top: 8px;
        width: 20px;
        height: 20px;
        cursor: pointer;
        z-index: 300;
    }
    .nav-global__list {
        /* flex-direction: column; */
        align-items: flex-start;
        gap: unset;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .nav-global__item {
        width: 100%;
    }
    .nav-global__item:nth-child(n + 4) {
        padding: 24px 0;
        border-top: solid 1px #d2c7a4;
    }
    
    .nav-global__item:nth-of-type(7) {
        padding-bottom: 0px;
    }
    .nav-global__item:nth-of-type(7) {
        display: none;
    }
    .nav-global__item:nth-child(-n + 2) {
        display: block;
        width: 48%;
        padding-bottom: 24px;
    }
    .nav-global__item.has-child {
        display: grid;
        padding: 25px 0;
        place-items: center start;
        border-top: solid 1px #d2c7a4;
    }
    .nav-global__item.has-child span {
        display: grid;
        grid-template-columns: 1fr 12px;
        align-items: center;
        width: 100%;
    }
    .nav-global__item.has-child span::after {
        content: "";
        aspect-ratio: 1;
        width: 12px;
        background: url(/images/common/icon-arrow.svg) no-repeat center center / contain;
        rotate: 90deg;
        transition: rotate 0.3s;
    }
    .nav-global__item.has-child span.is-open::after {
        rotate: -90deg;
    }
    .nav-global-child__wrap {
        display: none;
    }
    .nav-global-child__list {
        position: static;
        opacity: 1;
        visibility: visible;
        width: 100%;
        box-shadow: initial;
        padding: 10px 20px 0;
        margin-top: 27px;
    }
    .hamburger_border {
        position: absolute;
        left: 11px;
        width: 18px;
        height: 2px;
        background-color: #333;
        transition: all 0.6s;
    }
    .hamburger_border_top {
        top: 14px;
    }
    .hamburger_border_center {
        top: 20px;
    }
    .hamburger_border_bottom {
        top: 26px;
    }
    .black_bg {
        position: fixed;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        z-index: 3;
        background-color: #333;
        opacity: 0;
        visibility: hidden;
        transition: all 0.6s;
        cursor: pointer;
    }
    /* 表示された時用のCSS */
    .nav-open .nav-global {
        display: block;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100vw;
        height: auto;
        background-color: #fff;
        transition: all 0.6s;
        z-index: 200;
        padding: 50px 20px;
        overflow-y: auto;
        /* メニューが多くなったらスクロール */
    }
    .nav-open .black_bg {
        opacity: 0.8;
        visibility: visible;
        display: block;
    }
    .nav-open .hamburger_border_top {
        transform: rotate(45deg);
        top: 20px;
    }
    .nav-open .hamburger_border_center {
        width: 0;
        left: 50%;
    }
    .nav-open .hamburger_border_bottom {
        transform: rotate(-45deg);
        top: 20px;
    }
}
@media screen and (max-width: 1000px) {
    /*=== 見出し　====================================================*/
    .heading-normal,
    .heading-clover {
        font-size: 3rem;
    }

    .contact__inner {
        flex-direction: column;
        gap: calc(27px * 2 + 1px);
    }
    .mail::before {
        top: calc((27px + 1px) * -1);
        left: 0;
        background: #6ec300;
        width: 100%;
        height: 1px;
    }
    .mail p {
        text-align: center;
        line-height: 2.05714;
    }
    .mail .btn-contact {
        font-size: 1.6rem;
        margin: 12px auto 0;
    }
}
@media screen and (max-width: 768px) {
    main {
        margin-top: 60px;
    }
    /*スマホ*/
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
    body {
        font-size: 1.4rem;
    }
    /*=== 見出し　====================================================*/
    .heading-clover {
        font-size: 2.8rem;
    }
    .heading-copy {
        font-size: 1.4rem;
    }
    .heading-sub {
        font-size: 2rem;
        line-height: 2.6;
    }

    /*=== セクション　====================================================*/
    .footer__wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }
    .footer__inner {
        flex-direction: column;
    }
    .section-message,
    .section-company_overview,
    .section-access,
    .section-group-home,
    .section-reason,
    .section-service,
    .section-facilities {
        padding-top: 76px !important;
        padding-bottom: 76px !important;
    }
    .section-facilities {
        padding-left: 0;
        padding-right: 0;
    }
    .section-contact .section__inner {
        padding: 33px 24px;
    }
    .section-contact {
        padding: 40px 20px;
    }
    .footer__wrapper {
        padding-top: 48px;
        padding-bottom: 30px;
    }
    .contact__text {
        font-size: 1.6rem;
        margin-bottom: 23px;
    }
    .mail .btn-contact {
        font-size: 1.4rem;
    }

    /*=== テーブル　====================================================*/
    .table-main div {
        flex-direction: column;
    }
    .table-main div dt,
    .table-main div dd {
        width: 100% !important;
    }
    .table-main div dt {
        margin-bottom: 0.5em;
    }
    .footer__address {
        margin-bottom: 20px;
    }
    .nav__list .nav__item {
        margin-bottom: 25px;
    }
    .nav__wrap {
        gap: 15px;
    }
    .nav-child__list {
        margin-top: 25px;
        padding: 0;
    }
    /*=== 全角スペース　====================================================*/
    .full-width-space {
        padding-left: 0.5em;
    }
    /*=== ページ下部メニュー　====================================================*/
    /*メニューをページ下部に固定*/
    .sp-fixed-menu {
        position: sticky;
        width: 100%;
        bottom: 0px;
        font-size: 0;
        z-index: 9999;
    }
    /*メニューを横並びにする*/
    .sp-fixed-menu ul {
        display: flex;
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }
    .sp-fixed-menu li {
        justify-content: center;
        align-items: center;
        width: 50%;
        padding: 0;
        margin: 0;
        font-size: 14px;
    }
    .sp-fixed-menu li:first-child {
        background: var(--button-tertialy);
    }
    .sp-fixed-menu li:last-child {
        background: var(--button-primary);
    }
    /*ボタンを調整*/
    .sp-fixed-menu li a {
        color: #fff;
        text-align: center;
        display: block;
        width: 100%;
        padding: 8px;
    }
    .icon-tel,
    .icon-mail {
        width: 20px;
        height: 20px;
    }
    .sp-fixed-menu figcaption {
        margin-top: 6px;
        font-size: 1.2rem;
    }
}
