@charset "UTF-8";

* {
    box-sizing: border-box;
}

img {
    margin: auto;
    vertical-align: middle;
    max-width: 100%;
}

body {
    line-height: 1.7em;
    margin: 0;
    background-color: #F4F9F9;
    color: #1E382B;
}

section {
    margin-bottom: 200px;
}

html {
    scroll-behavior: smooth;
}

/* header */
.menu-checkbox {
    display: none;
}

.top-rogo {
    width: 100px;
}

h1 {
    margin: 0;
    padding-top: 70px;
    text-align: right;
    font-size: 90px;
    color: #F4F9F9;
    padding-right: 20px;
    /* -webkit-text-stroke: 2px #0CABC9; */
}

.top-rogo {
    margin-block: 10px;
    margin-inline: 20px;
    font-size: 20px;
}

.top-container {
    height: 700px;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 1)), url(img/seiryo.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right center;
}

.top-p {
    background-color: rgb(12, 171, 201, 0.7);
    border: 1px solid #ffe100;
    color: #F4F9F9;
    width: 800px;
    height: 200px;
    padding: 30px;
    padding-left: 100px;
    margin-top: 300px;

}


.big {
    font-size: 30px;
    margin-inline: 10px;
    color: #1466B2;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    background-color: #0CABC9;
    opacity: 0.8;

    position: sticky;
    top: 0;
    /* 画面の一番上に固定 */
    z-index: 1000;
    /* 他のコンテンツより手前に表示 */
}

section {
    margin-bottom: 200px;
}

ul {
    display: flex;
    margin-right: 50px;
}

li {
    padding: 10px;
}

/* .menu-background {
    display: none;
    position: fixed;
    top: 0;
    width: 300px;
    height: 100vh;
    background-color: #0CABC9;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 98;
} */

#menu-toggle:checked~.menu-background {
    transform: translateX(100px);

}

#menu-toggle:checked~.menu-background {
    visibility: visible;
    opacity: 1;
}



header a:hover {
    color: #ffe100;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #fff;
}

.top-img {
    width: 1600px;
    height: 700px;
    object-fit: cover;
    margin-bottom: 100px;
}

/* main */

h2 {
    text-align: center;
    font-size: 20px;
    margin-top: 140px;
}

.h2-p {
    text-align: center;
    line-height: 0.5em;
    margin-bottom: 80px;
}

.about-p {
    margin: 20px 0px;
    text-align: center;
}

.about-ps {
    margin: 10px;
    font-size: 30px;
    color: #0CABC9;
    margin-top: 70px;
}

.about-p .ps-s {
    margin-bottom: 120px;
    text-align: right;
    line-height: 5em;
}


.abouts {
    width: 600px;
    margin: auto;
    margin-top: 0px;
    text-align: center;
}

.about-seiryo {
    /* background-color: rgba(12, 171, 201, 0.7); */
    padding: 20px;
    width: 800px;
    margin: auto;
    margin-top: 30px;
    color: #1E382B;
    position: relative;

    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.about-seiryo.is-active {
    opacity: 1;
    transform: translateY(0);
}

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

    100% {
        opacity: 1;
    }
}

.about-mseiryo {
    margin: auto;
    width: 600px;
    /* border-bottom: 3px solid #1466B2; */
    font-size: 30px;
    text-align: center;
}

/* .a-b-a {
    position: absolute;
    border-left: #000 2px solid;
    border-bottom: #000 2px solid;
    width: 30px;
    height: 15px;
    left: -10px;
    top: 280px;
}

.a-b-b {
    position: absolute;
    border-right: #000 2px solid;
    border-top: #000 2px solid;
    width: 20px;
    height: 25px;
    left: 990px;
    top: -8px;
}

.a-b-c {
    position: absolute;
    border-right: #000 2px solid;
    height: 10px;
    left: 1008px;
    top: 30px;
}

.a-b-d {
    position: absolute;
    border-right: #000 2px solid;
    height: 5px;
    left: 1008px;
    top: 45px;
}

.a-b-e {
    position: absolute;
    border-bottom: #000 2px solid;
    width: 15px;
    left: 40px;
    top: 293px;
} */

/* photo */
/* .ivent {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    background-color: #1466B2;
    width: 350px;
    height: 100px;
    margin: 0 auto;
    border-radius: 10px;
    top: 1400px;
    color: #fff !important;

} */

.video-p {
    font-size: 40px;
    text-align: center;
    margin-top: 150px;
}

video {
    width: 600px;
    height: 700px;
    object-fit: cover;
    overflow: hidden;
    opacity: 0.5;
}



.photo {
    margin-top: 250px;
}

.photo div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 50px;
}

.works-text {
    width: 360px;
    margin: auto;
}

.container-head {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    color: #0CABC9;
}


.works-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 40px;
    max-width: 1000px;
    margin: auto;
}

.works-grid .event-container {
    width: 100%;
    background-color: #fff;

    padding: 20px;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px solid #0CABC9;
}

.works-grid .event-container img {
    width: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.event img {
    object-fit: cover;
    aspect-ratio: 6/4;
    width: 400px;
    display: block;
}

.work-video {
    overflow: hidden;
    aspect-ratio: 6/4;
    width: 440px;
}

.work-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-position {
    position: relative;
}

/* .img-baseball,
.img-school,
.img-tournament,
.img-ivent {
    position: absolute;
    top: -0px;
} */

.event-img {
    position: absolute;
    top: -0px;
}

/* .baseball:hover img,
.school:hover img,
.ivent:hover img,
.tournament:hover img {
    display: none;
} */


.event-container:hover img {
    display: none;
}


/* スケジュール */
.ske-left {
    max-width: 500px;
    margin-left: 180px;
    display: flex;
    gap: 40px;
}

.ske-l {
    height: 1670px;
    border-left: 1px solid #0CABC9;
    width: 0px;
    margin-left: 14px;

}

dl {
    width: 500px;
}

.ske-s {
    width: 30px;
    height: 30px;
    border: 1px #0CABC9 solid;
    border-radius: 50%;
}

dt {
    font-size: 30px;
    margin-bottom: 10px;
    margin-top: 40px;
}

.last-p {
    text-align: center;
}

.flex {
    display: flex;
}

.schedule img {
    aspect-ratio: 6/4;
    object-fit: cover;
    overflow: hidden;
    width: 350px;
    border: 3px solid #ffe100;
}

.img-flex {
    display: flex;
    gap: 100px;
}

.month {
    margin-left: 50px;
    width: 400px;
}

/* 写真ここから */
.schedule-imges {
    position: relative;
    width: 500px;
    height: 1700px;
}

.img-1 {
    position: absolute;
    right: 300px;
    transform: rotate(-3deg);
}

.img-2 {
    position: absolute;
    top: 50px;
    right: -150px;
    transform: rotate(10deg);
}

.img-3 {
    position: absolute;
    top: 300px;
    right: 40px;
    z-index: 3;
}

.img-4 {
    position: absolute;
    top: 550px;
    right: 230px;
    z-index: 2;
    transform: rotate(-10deg);
}

.img-5 {
    position: absolute;
    top: 570px;
    right: -100px;
    z-index: 2;
    transform: rotate(-5deg);
}

.img-6 {
    position: absolute;
    top: 800px;
    right: 230px;
    transform: rotate(5deg);
    z-index: 2;
}

.img-7 {
    position: absolute;
    top: 800px;
    z-index: 1;
    right: -100px;
    transform: rotate(10deg);
}

.img-8 {
    position: absolute;
    top: 1200px;
    right: -200px;
    transform: rotate(-10deg);
}

.img-9 {
    position: absolute;
    top: 1100px;
    right: 100px;
}

.img-10 {
    position: absolute;
    top: 1400px;
    right: 50px;
}

/* ここまで */

/* 関連情報 */
.insta-container {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 800px;
}

.news {
    /* background-color: #1466B2; */
    margin-bottom: 50px;
}

.news-p {
    text-align: center;
    padding-top: 50px;
}


.carousel-window {
    overflow: hidden;
    width: 100%;
    border-radius: 10px;
}

.carousel-container {
    display: flex;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    padding: 0 60px;
    align-items: center;
    height: 800px;
}

.carousel {
    display: flex;
    transition: transform 0.4s ease-in-out;
    max-width: 100%;
}

.slide {
    flex: 0 0 100%;
    /* ← 各スライドの幅を親要素（carousel-container）と同一にする */
    min-width: 100%;
    display: flex;
    /* ← スライド内でInstagramを中央寄せにする */
    justify-content: center;
    align-items: center;
    max-height: 1000px;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 4px;
}

.prev {
    left: 5px;
}

.next {
    right: 5px;
}

.nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}


.dots-container {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    display: block;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background-color: #fff;
    transform: scale(1.2);
}

.news-p-b {
    margin: auto;
    width: 1000px;
    max-width: 100%;
    border: solid #0CABC9 3px;
    border-radius: 30px;
    padding: 20px;
    color: #272727;
    margin-top: 20px;
    margin-bottom: 100px;
}

.contact img {
    width: 70px;
    background-color: #0CABC9;
    padding: 10px;
    border-radius: 50px;
}

.seiryo_aicon {
    display: flex;
    gap: 300px;
}

.contact-flex {
    display: flex;
    justify-content: center;
    gap: 0px;
}

.aicon_flex {
    display: flex;
    gap: 50px;
}

.auto {
    display: flex;
    justify-content: center;
}

footer {
    background-color: #0CABC9;
}

footer p {
    color: #F4F9F9;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

p.copyright {
    margin: 0;
}

.aicon {
    display: flex;
    justify-content: center;
    gap: 100px;
    padding-bottom: 30px;
}

.news-head {
    position: relative;
    height: auto;
    padding-top: 50px;
}

.news-text {
    width: 1000px;
    margin: 0 auto;

}

.newss {
    position: relative;
    width: 350px;
    height: 100px;
    margin: 0 auto;
}

footer p small {
    font-size: 15px;
}


/* アニメーション */
.home li:hover {
    background-color: rgba(12, 171, 201, 0.7);
    border-radius: 5px;
}


/* レスポンシブ */
@media (max-width:768px) {
    ul {
        flex-direction: column;
    }

    /* ハンバーガー */
    .hamburger {
        position: relative;
        display: block;
        border: 2px solid #F4F9F9;
        width: 60px;
        height: 60px;
        padding: 20px;
        margin-right: 20px;
        z-index: 999;
        border-radius: 50%;
        cursor: pointer;
    }

    label span {
        position: absolute;
        display: block;
        width: 30px;
        border-top: 2px solid #F4F9F9;
        padding-top: 10px;
        margin-left: -7px;
    }

    label span:nth-of-type(1) {
        top: 19px;
    }


    label span:nth-of-type(2) {
        top: 28px;
    }

    label span:nth-of-type(3) {
        top: 37px;
    }

    .menu-checkbox {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 10px;
        right: -100%;
        padding-top: 100px;
        width: 280px;
        height: 100%;
        z-index: 99;
        background-color: #0CABC9;


        transition: 0.5s ease-in-out;
    }

    #menu-toggle:checked~.nav-menu {
        right: 0;
    }

    #menu-toggle:checked~.hamburger span:nth-of-type(1) {
        transform: rotate(45deg);
        top: 25px;
        right: 15px;
    }

    #menu-toggle:checked~.hamburger span:nth-of-type(2) {
        display: none;
    }

    #menu-toggle:checked~.hamburger span:nth-of-type(3) {
        transform: rotate(-45deg);
        top: 25px;
        left: 24px;
    }

    h1 {
        font-size: 60px;
        text-align: left;
    }

    .top-p {
        width: 500px;
        height: 200px;
        padding-left: 30px;
        font-size: 14px;
        padding-top: 14px;
    }

    .about-seiryo {
        width: 700px;
        margin-bottom: 400px;
    }

    .about-mseiryo {
        font-size: 20px;
        width: 300px;
    }

    .about-ps {
        font-size: 28px;
    }

    .abouts {
        width: 600px;
        font-size: 15px;
    }

    /* .a-b-a {
        top: 445px;
    }

    .a-b-b {
        left: 390px;
    }

    .a-b-c {
        left: 408px;
    }

    .a-b-d {
        left: 408px;
    }

    .a-b-e {
        top: 458px;
    } */

    .works-grid {
        width: 500px;
        grid-template-columns: auto;
    }

    video {
        height: 300px;
        min-width: 200px;
        overflow: hidden;
    }

    .ske-left {
        margin-left: 30px;
    }

    .img-flex {
        max-width: 768px;
    }

    .img-1 {
        right: 240px;
    }

    .img-2 {
        right: 100px;
        top: 100px;
    }

    .img-3 {
        right: 50px;
    }

    .img-4 {
        right: 120px;
    }

    .img-5 {
        right: 20px;
        top: 630px;
        z-index: 1;
    }

    .img-6 {
        right: 140px;
    }

    .img-7 {
        right: 50px;
        top: 900px;
    }

    .img-8 {
        right: 20px;
        top: 1300px;
    }

    .img-9 {
        right: 130px;
    }

    .img-10 {
        right: 150px;
    }


    .schedule-imges {
        width: 200px;
    }

    .schedule-imges img {
        width: 280px;
        aspect-ratio: 6/4;
        object-fit: cover;
        height: auto;
        border: 3px solid #ffe100;
        border-radius: 6px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }

    dt {
        font-size: 20px;
    }

    dd {
        font-size: 16tpx;
    }

    dl {
        width: 300px;
    }

    .img-flex {
        gap: 0;
    }

    /* .ivent {
        top: 1715px;
        width: 300px;
        height: 80px;
        font-size: 40px !important;
    }

    .ivent-b {
        top: -110px;
        left: 70px;
        width: 300px;
        height: 80px;
    } */

    .photo div img {
        width: 300px;
        height: 300px;
    }

    .photo div p {
        font-size: 28px;
        margin: 20px;
    }

    .news-p p {
        font-size: 15px;
    }

    .dots-container {
        bottom: 40px;
    }

    .news-section-a {
        top: px;
        width: 300px;
        height: 80px;
        font-size: 40px;
    }

    .news-section-b {
        top: -20px;
        left: 15px;
        width: 300px;
        height: 80px;
    }

    .newss {
        width: 300px;
        margin: auto;
    }

    .news-text {
        width: 100%;
        padding: 0 16px;
    }

    .seiryo_aicon {
        gap: 100px;
    }

}

@media (max-width:630px) {
    h1 {

        font-size: 80px;
        line-height: 1em;
        padding-top: 40px;
    }

    .about-seiryo {
        max-width: 500px;
    }

    .about-ps {
        font-size: 25px;
    }

    .abouts {
        width: 400px;
        text-align: left;
    }

    .abouts br {
        display: none;
    }

    .month {
        width: 190px;
        z-index: 9;
    }

    .schedule-imges {
        opacity: 0.3;
    }

}