@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap');


html {
    font-size: 10px;
}

body {
    font-family: "Noto Serif JP";
    font-size: 1.6rem;
    font-weight: 300;
    font-style: normal;
    color: #161616;
    line-height: 1.75;
    letter-spacing: 0.05rem;
    animation: Fadein 1s both;
}

.model-inner {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.main-header {
    align-items: center;

    background-color: #00BAFF;
    color: #fff;
    height: 80px;
    padding: 24px 30px;

    .gnav {
        margin-left: auto;
    }

    .gnav ul {
        gap: 1em;
        font-weight: 400;
        margin-left: auto;
    }
}

section {
    margin-top: 100px;
    margin-bottom: 100px;
}


.pagetop-icon {
    width: 60px;
    height: 60px;
    background-color: #FF5520;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.pagetop-icon:hover {
    background-color: #00BAFF;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.pagetop-icon::before {
    content: '▲';
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
}

@media screen and (max-width: 1050px) {
    .main-header {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }

    .header-logo {
        max-width: 150px;
    }

   .info {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        font-size: 1.6rem;
        margin-left: 0;
        font-weight: bold;
    }

    .gnav {
        padding-top: 10px;
        width: 100%;
    }

    .model-flex .gnav ul {
        justify-content: center;
    }

    .gnav .model-btn {
        padding: 0.3em 0.8em;
        font-size: 1.4rem;
    }
}



@media screen and (max-width: 900px) {
    .model-flex.res-flex {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 40px;
    }

}



.info {
    text-align: left;
    margin-left: 20px;
    margin-right: 0;
    align-items: center;
    font-weight: bold;
    font-size: 1.6rem;
}



.header-logo {
    width: 100%;
    height: auto;
    max-width: 200px;
}


.model-flex {
    display: flex;
    flex-wrap: nowrap;
    /* justify-content: space-between; */

    &.type-left {
        justify-content: flex-start;
        gap: 1rem;
    }

    &.type-right {
        justify-content: flex-end;
        gap: 1rem;
    }

    &.type-top {
        align-items: flex-start;
    }

    &.type-bottom {
        align-items: flex-end;
    }

    &.type-center {
        justify-content: center;
        align-items: center;
    }
}

@media screen and (max-width:900px) {
    .model-flex.res-flex {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 40px;
    }
}

.model-btn {
    display: inline-block;
    border-radius: 50px;
    text-align: center;
    padding: 0.5em 1em 0.5em 1em;
    font-weight: 400;
    cursor: pointer;


    &.type-fff {
        background-color: #fff;
        color: #161616;
        width: fit-content;
        min-width: 160px;
    }

    &.type-orange {
        background-color: #ff5520;
        box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
        color: #fff;
        height: fit-content;
    }

    &.type-orange-bottom {
        background-color: #ff5520;
        box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
        color: #fff;
        height: fit-content;
        padding: 0 30px 0 30px;
    }
}

@media screen and (max-width: 600px) {
    .header-logo {
        max-width: 120px;
    }

    .info {
        font-size: 1.2rem;
    }

    .model-btn.type-fff {
        /* ← type-fffだけ指定 */
        font-size: 1.2rem;
        padding: 0.3em 0.6em;
        min-width: 110px;
    }
}

@keyframes Fadein {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* ボタンのホバー効果 */
.model-btn.type-fff,
.model-btn .type-orange{
    transition: all 0.3s ease;
}

.model-btn.type-fff,
.model-btn .type-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ハンバーガーメニューアイコン */
.hmbicon {
    position: fixed;
    top: 20px;
    right: 20px;
    display: none;
    width: 30px;
    height: 25px;
    position: fixed;
    cursor: pointer;
    z-index: 1001;
}

.hmbicon span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.hmbicon span:nth-child(1) {
    top: 0;
}

.hmbicon span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hmbicon span:nth-child(3) {
    bottom: 0;
}

/* メニューオープン時：バツ印に変形 */
.hmbicon.open span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hmbicon.open span:nth-child(2) {
    opacity: 0;
}

.hmbicon.open span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* 真ん中動く */
.hmbicon:hover span:nth-child(2) {
    transform: translateY(-50%) translateX(8px);
}

/* メニューオープン時のハンバーガーアイコン */
.hmbicon.open span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    /* 中央に移動して45度回転 */
}

.hmbicon.open span:nth-child(2) {
    opacity: 0;
    /* 真ん中の線を非表示 */
}

.hmbicon.open span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
    /* 中央に移動して-45度回転 */
}



/* メニューオープン時のハンバーガーアイコン */
.hmbicon.open span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    /* 上の線を中央に移動して45度回転 */
}

.hmbicon.open span:nth-child(2) {
    opacity: 0;
    /* 真ん中の線を非表示 */
}

.hmbicon.open span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
    /* 下の線を中央に移動して-45度回転 */
}


/* レスポンシブ */
@media screen and (max-width: 700px) {
    .hmbicon {
        display: block;
    }

    .gnav {
        display: none;
    }

    .gnav.open {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #00BAFF;
        z-index: 1000;
        align-items: center;
        justify-content: center;
        padding-top: 0;

        ul {
            flex-direction: column;
            gap: 2rem;
            margin: 0;
            padding: 0;
        }

        ul li {
            width: 100%;
            text-align: center;
            border-bottom: 1px solid #d1d1d1;
        }

        ul a {
            text-align: center;
            display: inline-block;
            padding: 15px 0;
            font-size: 1.8rem;
            background-color: #fff;
            color: #161616;
            border-radius: 0;
            min-width: unset;
        }


        ul a:hover {
            color: #fff;
            transform: translateX(5px);
            box-shadow: none !important;
        }

        ul .add-ele a:hover {
            opacity: 1;
            transform: translateX(5px);
            box-shadow: none !important;
        }

    }
}





/* レスポンシブ */
@media screen and (max-width: 700px) {
    .hmbicon {
        display: block;
    }

    .gnav {
        display: none;
    }

    .gnav.open {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        box-shadow: none;
        z-index: 1000;

        justify-content: center;
        padding-top: 0;
    }

    .gnav.open ul {
        flex-direction: column;
        gap: 2rem;
    }

    .gnav.open ul a {
        padding: 10px 0;
        font-size: 2.0rem;
        font-weight: 500;
        color: #fff;
        background-color: transparent;
        border-radius: 0;
        min-width: unset;
        box-shadow: none;
        transition: color 0.3s ease;
    }

    .gnav.open ul .add-ele a {
        font-weight: bold;
        color: #FF5520;
    }

    .gnav.open ul a:hover {
        background-color: transparent;
        transform: none;
        box-shadow: none;
    }
}


.tel {
    font-size: 2rem;
}

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


    .gnav .model-btn {
        font-size: 1.2rem;
        padding: 0.3em 0.6em;
    }

    .gnav.open ul a {
        font-size: 1.8rem;
    }

    .tel {
        font-size: 1.8rem;
    }

    .time {
        font-size: 1rem;
        opacity: 0.9;
    }
}

.main-footer {
    margin-top: 100px;
    background-color: #86D7F5;
}

.map {
    max-width: 500px;
    width: 100%;
    height: 285px;
    margin: 10rem 0 1rem;
}

hr {
    border: none;
    border-top: 1px solid #707070;
    width: 80%;
    margin: 0px auto 20px;
}


.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.5rem;
    padding: 10rem 10rem 1rem;

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



@media screen and (max-width:600px) {
    .footer-left {
        padding: 0;
    }

    .map {
        margin: 0;
    }
}

@media screen and (max-width:900px) {
    footer .address {
        .footer-left {
            padding: 20px 0 0 0;
            align-items: center;
        }

        .map {
            margin: 0;
        }
    }
}

.footer-btn {
    gap: 1em;
    margin: 40px 0 20px;
}


.copyright {
    color: #fff;
    font-style: 1.2rem;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;

    a {
        color: #07c;
        transition: 0.2s;
    }

    a:hover {
        color: #005fa3;
    }
}