@charset "UTF-8";

/* ========================
common
======================== */
* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
}

body {
    font-family: "BIZ UDMincho", serif, Arial;
    font-style: normal;
    font-size: 1.6rem;
    color: #333;
    background-color: #fff;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
}

.section__topic {
    font-weight: 700;
    font-size: 2.4rem;
    text-align: center;
}

.line {
    margin: 16px auto 32px;
    text-align: center;
    line-height: 0;
}

.section {
    padding: 80px 5.3% 160px;
}

.btn {
    padding: 16px 40px;
    border-radius: 8px;
    background: #BAA073;
    width: fit-content;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin: 48px auto 0;
    transition: 0.4s;
}

.btn:hover {
    opacity: 0.5;
}

.btn a {
    display: flex;
    align-items: center
}

.btn2 {
    margin-top: 36px;
}

.pcBr {
    display: none;
}

.fadeIn {
    transform: translate(0, 50px);
    opacity: 0;
    transition: 0.4s;
}

.fadeIn.animated {
    transform: translate(0, 0);
    opacity: 1;
}

/* loading view */
.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loadingView {
    width: 100%;
    height: 100vh;
    opacity: 0;
    background-color: #F3EEE6;
    position: fixed;
    transition: opacity 0.5s ease;
}

.loadingImg {
    width: 100px;
    height: auto;
    margin: 0 auto;
}

.dot {
    margin: 32px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 24px;
}

.dot__item{
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #398A32;

    animation: wave 1.5s infinite ease-in-out;
}

/* アニメーションの開始タイミング */
.dot__item:nth-of-type(1) {
    animation: wave 1.5s infinite ease-in-out;
}

.dot__item:nth-of-type(2) {
    animation: wave 1.5s 0.2s infinite ease-in-out;
}

.dot__item:nth-of-type(3) {
    animation: wave 1.5s 0.4s infinite ease-in-out;
}

/* アニメーション */
@keyframes wave {
    0% {
        opacity: 0;
        transform: scale(1, 1);
    }
    50% {
        opacity: 1;
        transform: scale(2, 2);
    }
    100% {
        opacity: 0;
        transform: scale(1, 1);
    }
}

/* end of loading */
.loaded {
    display: none;
}

/* fade in container */
.hidden {
    display: none;
}

.loadingView.active {
  display: grid;
  opacity: 1;
  transition: opacity 0.5s ease; /* アニメーションを適用 */
}


.container.open {
    display: block;
}

@media screen and (min-width: 769px) {
    body {
        font-size: 1.8rem;
    }

    .section__topic {
        font-size: 3.2rem;
    }

    .section {
        padding: 100px 9.7% 200px;
    }

    .mainContents {
        max-width: 1160px;
        margin: 0 auto;
    }

    .btn__box {
        display: grid;
        justify-content: flex-end;
    }

    .btn {
        padding: 0 60px;
        margin-top: 36px;
        height: 64px;
        font-size: 2.0rem;
        font-weight: 700;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .pcBr {
        display: block;
    }

    .spBr {
        display: none;
    }
}

/* ========================
header
======================== */
.header {
    padding: 20px 5.3%;
}

.header__topic,
.nav__topic {
    color: #000;
    font-size: 4.0rem;
    font-weight: 700;
}

/* .navの初期表示 */
.nav {
    background: rgba(255, 255, 255, 0.90);
    width: 100%;
    height: 100vh;
    padding: 20px 5.3%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transform: translateX(100%);
    transition: transform 0.4s;
}

.nav__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__listParent {
    text-align: center;
}

.nav__list {
    margin-top: 60px;
    text-align: left;
    display: inline-block;
}

.nav__item {
    margin-top: 36px;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    color: #333;
}

.nav__item:first-of-type {
    margin-top: 0;
}

.nav__item img {
    display: inline-block;
    vertical-align: middle;
    margin-right: 36px;
}

.nav.active {
    transform: translateX(0);
}

.tel__parent {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tel__btn {
    margin-top: 36px;
    padding: 8px 20px;
    border-radius: 8px;
    background: #398A32;
    display: flex;
    align-items: center
}

.tel__imgSp {
    margin-right: 36px;
}

.tel__imgPc {
    display: none;
}

.tel__txtMain {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.5;
    color: #fff;
    text-align: left;
}

.tel__txtSub {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.5;
    color: #fff;
}

.header__btn {
    display: block;
    width: 18px;
    height: 12px;
    cursor: pointer;
    position: absolute;
    top: 43px;
    right: 5.3%;
}

/* article header */
.mainImg__pc {
    display: none;
}

/* header pc */
@media screen and (min-width: 769px) {
    .header {
        max-width: 1160px;
        margin: 0 auto;
        padding: 64px 0px 32px;
    }

    .header__topic {
        font-size: 4.8rem;
        line-height: 1;
        text-align: center;
    }

    .nav {
        background-color: transparent;
        width: auto;
        height: auto;
        padding-top: 48px;
        position: static;
        transform: translate(0);
    }

    .nav__listParent {
        display: flex;
        align-items: center;
    }

    .nav__list {
        margin: 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav__item {
        margin-top: 0;
        color: #333;
        font-weight: 400;
        text-align: center;
    }

    .tel__parent a {
        pointer-events: none;
    }

    .tel__btn {
        margin-top: 0;
        padding: 0;
        border-radius: 0;
        width: 237px;
        background: transparent;
        display: flex;
        align-items: center
    }

    .tel__imgSp {
        display: none;
    }

    .tel__imgPc {
        display: block;
        margin-right: 16px;
    }

    .tel__txtMain {
        font-size: 2.4rem;
        color: #398A32;
    }

    .tel__txtSub {
        color: #398A32;
    }

    .nav__header {
        display: none;
    }

    .nav__item img {
        display: none;
        margin-right: 0;
    }

    .nav__item:first-of-type {
        display: none;
    }

    .header__btn {
        display: none;
    }

    .mainImg__pc {
        display: block;
    }

    .mainImg__sp {
        display: none;
    }
}

/* pc 769px */


/* ========================
footer
======================== */
.footer {
    padding: 48px 5.3% 60px;
}

.footer__topic {
    color: #333;
    font-size: 4.0rem;
    font-weight: 700;
    text-align: center;
}

.menu {
    margin-top: 100px;
    color: #333;
    font-size: 1.6rem;
    line-height: 1.2;
    display: flex;
    justify-content: center;
}

.menu__item:first-of-type {
    margin-right: 55px;
}

.menu__item li {
    margin-top: 32px;
}

.menu__item li:first-of-type {
    margin-top: 0;
}

.copy {
    margin-top: 64px;
    text-align: center;
}

/* TopBtn */
#topBtn {
    position: fixed;
    bottom: 16px;
    right: 16px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #398A32;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, .5);
}

#topBtn a {
    color: #fff;
    text-align: center;
    transition: 0.4s;
}

#topBtn:hover {
    background-color: #87cc81;
}

/* footer pc */
@media screen and (min-width: 769px) {
    .footer {
        max-width: 1440px;
        padding: 64px 9/7% 32px;
        margin: 96px auto;
    }

    .footer__main {
        max-width: 1160px;
        margin-bottom: 64px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .footer__topic {
        font-size: 4.8rem;
        margin-bottom: 120px;
    }

    .footer__title .btn {
        margin: 0;
    }

    .menu {
        max-width: 100%;
        margin-top: 0;
        font-size: 1.8rem;
        line-height: 1.5;
    }

    .menu__item:first-of-type {
        margin-right: 8%;
    }

    /* TopBtn */
    #topBtn {
        bottom: 24px;
        right: 24px;
        width: 80px;
        height: 80px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #topBtn p:last-of-type {
        margin: 4px 0 8px;
    }
}

/* pc 769px */