@charset "utf-8";

*,
::before,
::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

ul,
ol {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

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

body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    font-size: 18px;
    color: #4b4948;
    line-height: 1;
    background-color: #d9d9d9;
}

.header {
    background-color: #ebff00;
    position: fixed;
    width: 100%;
    margin-top: 0;
    z-index: 99;
}

.header-inner {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo img {
    display: block;
    width: 360px;
    padding: 90px 25px;
    transition: padding 0.3s, font-size 0.3s;
}

.header-logo img:hover {
    transform: scale(1.1);
}

.nav-menu ul {
    display: flex;
    transition: top 0.3s;
}

.nav-menu ul li {
    margin-left: 20px;
    margin-right: 20px;
}

.nav-menu ul li a {
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    font-size: 21px;
    padding-bottom: 3px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    background-image: linear-gradient(90deg, #4b4948, #4b4948);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 0 5px;
    transition: background-size 0.5s;
}

.nav-menu ul li a:hover {
    color: #d9d9d9;
    text-shadow: 2px 3px #4b4948;
    background-size: 100% 2px;
}

.header.small img {
    width: 180px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.header.small .nav-menu ul li a {
    font-size: 18px;
}

/* 体験予約 */
.reservation {
    display: flex;
    margin: 20px auto;
    width: 180px;
    background-color: #ebff00;
    padding: 20px;
    text-align: center;
    justify-content: space-between;
    border-radius: 90px;
    position: fixed;
    top: calc(100vh - 260px);
    right: 30px;
    z-index: 99;
    transition: transform 0.2s ease;
    animation: reservation 1s linear infinite;
}

@keyframes reservation {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.reservation p {
    font-size: 24px;
    padding-top: 20px;
    font-weight: bold;
    font-family: "Montserrat", sans-serif;
}

.reservation i {
    font-size: 45px;
    padding: 10px;
}

.reservation i:hover {
    color: #d9d9d9;
    text-shadow: 2px 3px #4b4948;
}

.reservation:hover {
    color: #d9d9d9;
    text-shadow: 2px 3px #4b4948;
}

.space {
    padding-top: 272px;
}

.news-section {
    max-width: 90%;
    margin: 50px auto;
    padding: 50px 20px;
}

.news-section h1 {
    text-align: center;
    font-size: 48px;
    color: #4b4948;
    margin-bottom: 60px;
    text-shadow: 2px 2px #ebff00;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-list li {
    margin-bottom: 40px;
}

.news-card {
    display: flex;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-img img {
    width: 200px;
    height: 140px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
    flex: 1;
}

.news-content .date {
    font-size: 16px;
    color: #999;
    margin-bottom: 10px;
    display: block;
}

.news-content .title {
    font-size: 32px;
    font-weight: bold;
    color: #4b4948;
    line-height: 1.6;
}

.news-content span {
    font-weight: bold;
}

.news-content dt {
    font-size: 20px;
    font-weight: bold;
    color: #4b4948;
    line-height: 1.4;
}

.news-content dd {
    line-height: 1.6;
}

/* ここからフッター */
.footer {
    width: 100%;
    padding: 120px 60px 60px 60px;
}

.footer-inner {
    max-width: 100%;
    display: flex;
    justify-content: space-around;
    margin: 0 auto;
}

.footer-logo {
    width: 500px;
    margin: 50px;
}

.footer-logo img {
    width: 240px;
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.1);
}

/* SNSアイコン */
.sns {
    display: flex;
    gap: 50px;
}

.sns p {
    font-size: 18px;
    padding-bottom: 20px;
    margin-left: 16px;
}

.sns dt {
    font-size: 18px;
    padding-bottom: 20px;
    margin-left: 45px;
}

.sns img {
    width: 110px;
    height: 110px;

    transition: transform 0.3s ease;
}

.sns img:hover {
    transform: scale(1.1);
}

/* LINEアイコン */
.line img {
    width: 150px;
    height: 150px;
    transition: transform 0.3s ease;
}

.line img:hover {
    transform: scale(1.1);
}

.line p {
    font-size: 18px;
}

/* フッターナビゲーションメニュー */
.footer-nav-menu {
    font-size: 18px;
    font-weight: bold;
}

.footer-nav-menu ul {
    display: flex;
    margin: 0 auto;
    justify-content: center;
    width: 100vw;
}

.footer-nav-menu ul li {
    margin-top: 50px;
    margin-bottom: 80px;
    margin-left: 20px;
    margin-right: 20px;
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
}

/* 始：ホバーで線引く */
.footer-nav-menu li a {
    color: #4b4948;
    text-decoration: none;
    padding-bottom: 3px;
    /* transition: color 0.3s ease; */
    background-image: linear-gradient(90deg, #4b4948, #4b4948);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 0 2px;
    transition: background-size 0.5s;
}

.footer-nav-menu li a:hover {
    transform: scale(1.1);
    background-size: 100% 2px;
}

/* 終：ホバーで線引く */

/* コピーライト */
.footer .copyright {
    text-align: center;
    margin-top: 30px;
    font-size: 16px;
}

/* レスポンシブ対応 */
@media (max-width: 980px) {
    .btn {
        width: 60px;
        height: 60px;
        border-radius: 5px;
        position: fixed;
        top: 50px;
        right: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 999;
    }

    .btn span {
        display: block;
        width: 40px;
        height: 1px;
        background: #4b4948;
        transition: 0.5s;
        position: relative;
    }

    .btn span::before,
    .btn span::after {
        content: "";
        display: block;
        width: 40px;
        height: 1px;
        background: #4b4948;
        position: absolute;
        transition: 0.5s;
        left: 0;
    }

    .btn span::before {
        top: -16px;
    }

    .btn span::after {
        top: 16px;
    }

    .btn.is-show span {
        background: rgba(0, 0, 0, 0);
    }

    .btn.is-show span::before {
        top: 0;
        rotate: 45deg;
    }

    .btn.is-show span::after {
        top: 0;
        rotate: -45deg;
    }

    header.small .btn {
        top: 0px;
    }

    *,
    ::before,
    ::after {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    label {
        cursor: default;
    }

    .nav-menu ul {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #ebff00dd;
        transform: translateX(-100%);
        transition: all 0.5s;
        padding-top: 80px;
        line-height: 5;
        align-items: center;
    }

    .nav-menu.is-show ul {
        transform: translateX(0);
    }
}

@media screen and (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo,
    .sns,
    .footer-nav-menu {
        display: block;
        align-items: center;
    }

    .footer-nav-menu ul {
        display: block;
        flex-wrap: wrap;
    }

    .bestlife img {
        width: 100vw;
        margin: 0 auto;
    }

    .bestlife p {
        width: 90vw;
        font-size: 24px;
        line-height: 1.4;
    }

    .news-card {
        flex-direction: column;
    }

    .news-img img {
        width: 100%;
        height: 180px;
    }

    .news-content {
        padding: 15px;
    }

    .news-content .title {
        font-size: 18px;
    }
}

@media screen and (max-width: 430px) {
    .header-logo img {
        display: block;
        width: 260px;
        margin: 0 auto;
        padding: 40px 25px;
        transition: padding 0.3s, font-size 0.3s;
    }

    /* 体験予約 */
    .reservation {
        display: flex;
        margin: 0 auto;
        width: 100px;
        right: 20px;
        text-align: center;
        justify-content: space-between;
        border-radius: 90px;
        position: fixed;
        top: calc(100vh - 200px);
        z-index: 99;
        transition: transform 0.2s ease;
        animation: reservation 1s linear infinite;
    }

    .reservation p {
        font-size: 12px;
        padding-top: 4px;
        text-align: center;
        /* font-weight: bold; */
        font-family: "Montserrat", sans-serif;
    }

    .reservation i {
        font-size: 20px;
        padding: 2px;
    }

    .hiit-text p {
        font-size: 20px;
        line-height: 1.3;
    }

    .hiit-text h2 {
        font-size: 36px;
    }

    .hiit-text h3 {
        font-size: 30px;
    }

    .bestlife h2 {
        font-size: 28px;
    }

    .news li p {
        padding: 20px;
        font-size: 20px;
    }

}