
@charset "utf-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    color: #000;
    font-family: "Shippori Mincho B1", serif;
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
}
.hamburger {
    width: 40px;
    height: 40px;

    position: fixed;
    right: 10px;
    top: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    z-index: 999;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #000;
    transition: 0.7s;
}
.hamburger.active span:first-child {
    transform: translateY(11px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:last-child {
    transform: translateY(-11px) rotate(-45deg);
}
.hamburger {
    display: none;
}
.sp-nav {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    background-color: #cde6cd;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    z-index: -1;
    transition: 0.7s;
}
.sp-nav li {
    margin-bottom: 30px;
}

.sp-nav.active {
    opacity: 1;
    z-index: 99;
}
img {
    width: 100%;
    vertical-align: bottom;
}
section {
    margin: 20px auto 100px;
}
h2 {
    margin: 10px auto 30px;
    text-align: center;
}
h3 {
    margin-bottom: 10px;
}
/* 背景とラップ */
body {
    background-color: #fff;
}
.wrap {
    width: 1000px;
    margin: 0 auto;
}
/* header */
header {
    width: 1000px;
    margin: 0 auto 10px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    padding: 10px 0;
    position: relative;
}

header nav#nav {
    transition: 0.3s;
}
header nav ul {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    list-style: none;
}
h1 {
    width: 300px;
}
@media screen and (max-width: 767px) {
    header {
        width: 100%;
        display: block;
    }
    nav#nav ul {
        justify-content: space-evenly;
        display: none;
        nav#nav.open ul {
            display: flex;
        }
    }
    header h1 {
        text-align: center;
    }
    .flex-ite p {
        padding-bottom: 30px;
    }
}
/* hero */
/* hero slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    margin-bottom: 50px;
}
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s;
    z-index: 1;
}
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-slide.active {
    opacity: 1;
    z-index: 2;
}
.hero-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}
.hero-text h2 {
    background: rgba(255, 255, 255, 0.7);
    padding: 30px 40px;
    border-radius: 20px;
    text-align: left;
    font-size: 2em;
    line-height: 2;
}

@media screen and (max-width: 767px) {
    .hero {
        height: 300px;
        background-image: url(img/テニス.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center bottom;
        margin-bottom: 50px;
    }
    .hero h2 {
        text-align: left;
        padding-top: 350px;
        padding-left: 100px;
        line-height: 2;
        font-size: 2em;
    }
    .main-rogo {
        width: 400px;
        height: 100px;
    }
    .div h {
        margin-top: -200px;
    }
}
/* main */
.flex-about {
    display: flex;
    gap: 30px;
}
.about-left {
    width: 50%;
    line-height: 1.8;
}
.about-right {
    width: 50%;
}
.flex-box {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}
.flex-item {
    width: 300px;
}
.value {
    display: flex;
    justify-content: space-between;
}
.flex-box h3 {
    text-align: center;
}
.flex-box ul {
    padding-left: 30px;
}
.flex-access {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}
.access-left {
    width: 50%;
}
.access-right {
    width: 50%;
    padding: 30px;
}
/* footer */
footer {
    text-align: center;
    padding: 10px;
}
h2 {
    border-left: 6px solid #cde6cd;
    width: fit-content;
    padding-left: 20px;
    margin: 0 0 20px;
}
.contact-form {
    background: var(--white);
    padding: 18px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.contact-form .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 600;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
}
.contact-form .full {
    grid-column: 1/-1;
}
.note {
    color: var(--muted);
    margin-top: 8px;
}
.small {
    color: var(--muted);
    font-size: 12px;
}

.btn {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
}
.btn--primary {
    background: var(--brand);
    color: #000;
    font-weight: 700;
}

/* クラブ紹介 */
@media screen and (max-width: 900px) {
    table {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
        padding-left: 60px;
        width: 100%;
        display: block;
    }
    .about-right img {
        max-width: 220px;
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    body {
        background-color: #fff;
    }
    .wrap {
        width: 100%;
        padding: 0 8px;
        box-sizing: border-box;
    }
    header {
        width: 100%;
        flex-direction: row;
        align-items: center;
        padding: 10px 0;
    }
    h1 {
        width: 180px;
    }
    .hero-slider {
        height: 260px;
    }
    .hero-text h2 {
        font-size: 1.1em;
        padding: 12px 10px;
    }
    .flex-about {
        flex-direction: column;
        gap: 10px;
    }
    .about-left,
    .about-right {
        width: 100%;
    }
    .flex-box {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    .flex-item {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    .flex-box img {
        height: 140px;
    }
    table {
        width: 100%;
        font-size: 0.95em;
        margin: 0 auto 20px auto;
        display: block;
        overflow-x: auto;
    }
    th,
    td {
        padding: 6px;
        font-size: 0.95em;
    }
    .contact-form .grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .access-left,
    .access-right {
        width: 100%;
        padding: 0;
    }
    .map-embed iframe {
        width: 100% !important;
        height: 220px !important;
        min-width: 0;
        max-width: 100vw;
        border-radius: 10px;
    }
    .hamburger {
        display: flex;
    }
    nav#nav {
        position: absolute;
        top: 60px;
        right: 0;
        width: 100vw;
        background: #333;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        display: none;
        flex-direction: column;
        z-index: 99;
    }
    nav#nav.open {
        display: flex;
    }
    nav#nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        text-align: center;
    }
    nav#nav ul li {
        margin: 10px 0;
    }
    header nav ul {
        display: none;
    }
}
.flex-box {
    padding: 50px;
}
.flex-box img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s, box-shadow 0.3s;
}
.flex-item img:hover {
    transform: scale(1.07);
    box-shadow: 0 8px 24px rgba(44, 62, 80, 0.18);
    z-index: 2;
}
/* クラブ紹介*/
table {
    width: 800px;
    margin: 50px auto;
}
table tr:nth-child(odd) {
    background: #f0f0f0;
}
th {
    border: #e5e7eb solid 5px;
    padding: 10px;
}
td {
    border: #e5e7eb solid 5px;
    padding: 10px;
}
.access {
    padding: 30px;
}
/* g-nav ホバー下線 */
.g-nav ul li a {
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
    transition: color 0.3s;
}
.g-nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #cde6cd;
    transform: scaleX(0);
    transition: transform 0.3s;
}
.g-nav ul li a:hover::after {
    transform: scaleX(1);
}