/*
Version:1.1.9
*/

.accessHeader {
    font-weight: bold;
}

.accessHeader-title {
    font-size: var(--fontsize-super-L);
    font-weight: bold;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

.access {
    margin-bottom: 50px;
}

.access h1 {
    text-align: center;
    font-size: var(--fontsize-large-L);
    text-decoration-color: var(--color-orange2);
    margin-top: 50px;
    margin-bottom: 20px;
}

.access h3 {
    text-align: left !important;
}

.access p {
    line-height: 30px;
}

.gallery {
    max-width: 800px;
    margin: 0 auto;
}

.gallery-large {
    width: 100%;
    height: auto;
}

.gallery-thumbnails {
    display: flex;
    justify-content: space-between;
}

.gallery-thumbnails div {
    width: 23%;
    margin: 1%;
    cursor: pointer;
}

@media (hover: hover) {
    .gallery-thumbnails div:hover {
        opacity: 0.5;
    }
}

.access-accessimg {
    margin: 50px auto;
}

.access-accessimg-sp {
    display: none;
}

.access-flexrow {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.access-flexrow h2 {
    margin: 0 !important;
}

.access-flexrow > div {
    max-width: 50%;
    flex-grow: 1;
    padding: 10px;
    text-align: center;
}

.access-flexrow > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.access-flexrow > div:first-child p {
    font-size: var(--fontsize-normal-L);
}

.access-map {
    width: 100%;
}

.course {
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 50px 50px;
    border-radius: 50px;
    background-color: var(--color-backcolor);
    text-align: center;
}

.course h1 {
    text-decoration-color: var(--color-orange2);
}

.course-osakapoint {
    font-size: var(--fontsize-normal-L);
    font-weight: bold;
    margin-bottom: 100px;
}

.course-osakapoint span {
    color: var(--color-orange2);
    font-size: var(--fontsize-medium);
    font-weight: bold;
}

.course-flexrow {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.course-block {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 310px;
    height: 200px;
    margin: 20px;
    padding: 40px 30px;
    border: 4px solid var(--color-orange2);
    border-radius: 20px;
}

.course-block:first-child::before {
    content: "大阪校限定";
    display: block;
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-orange2);
    font-size: var(--fontsize-medium-L);
    white-space: nowrap;
}

.course-block:nth-child(2)::before {
    content: "大阪校限定";
    display: block;
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-orange2);
    font-size: var(--fontsize-medium-L);
    white-space: nowrap;
}

.course-block-name {
    font-size: var(--fontsize-normal);
    font-weight: bold;
    white-space: nowrap;
}

.course-block-name span {
    color: var(--color-orange2);
    font-size: var(--fontsize-normal-L);
    font-weight: bold;
}

.course-block-price {
    font-size: var(--fontsize-super);
    font-weight: bold;
    white-space: nowrap;
}

.course-block-tax {
    font-size: var(--fontsize-normal);
    white-space: nowrap;
}

.course-hotel {
    margin: 30px auto;
    color: var(--color-orange2);
    font-size: 1.4rem;
}

.banner-2 {
    width: 100%;
    max-width: 680px;
    margin: 50px auto 0 auto;
}

.banner-2 a {
    width: 100% !important;
    height: 100% !important;
}

.instagram {
    margin: 50px auto;
}

/* 案内動画セクション */
.video-section {
    margin: 50px auto;
    padding: 20px 0;
    background-color: var(--color-backcolor);
}

.video-section h1 {
    text-align: center;
    font-size: var(--fontsize-large-L);
    text-decoration-color: var(--color-orange2);
    margin-bottom: 30px;
}

.video-container {
    display: flex;
    justify-content: center;
    gap: 40px; /* 動画間の間隔を広げる */
    flex-wrap: wrap;
}

.video-wrapper {
    width: 300px; /* 固定幅を設定 */
    margin: 0 auto 40px; /* 下部にマージンを追加 */
    position: relative;
}

.video-wrapper::before {
    content: "";
    display: block;
    padding-top: 133.2%; /* アスペクト比 500:666 */
}

.video-wrapper video,
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.video-wrapper video {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.video-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.video-caption {
    position: absolute;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: var(--fontsize-normal);
    color: var(--color-orange2);
}

.play-button {
    background-color: var(--color-orange2);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: var(--fontsize-normal);
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    z-index: 10;
}

.play-button:hover {
    background-color: var(--color-orange1);
}

.play-button:active {
    transform: scale(0.95);
}

@media screen and (max-width: 768px) {
    .access h1 {
        font-size: var(--fontsize-medium);
    }

    .course {
        padding: 100px 0px;
    }

    .access-accessimg {
        display: none;
    }

    .access-accessimg-sp {
        display: block;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .course-flexrow {
        flex-direction: column;
    }
    
    .course-block {
        width: 80vw;
        height: fit-content;
        margin: 10px 10px 50px 10px;
        padding: 35px 55px;
    }

    .access-flexrow > div {
        max-width: 100%;
        flex-grow: 1;
        padding: 10px;
    }

    .video-container {
        gap: 20px;
    }
    
    .video-wrapper {
        width: 45%; /* 幅を調整 */
        max-width: 300px;
    }
}

@media screen and (max-width: 479px) {
    .access h1 {
        font-size: var(--fontsize-medium-L);
    }

    .course {
        padding: 30px 0px;
        border-radius: 50px;
    }

    .course-block-name {
        font-weight: bold;
    }

    .course-block-price {
        font-weight: bold;
    }

    .course-osakapoint {
        margin-bottom: 60px;
    }

    .course-block:first-child::before {
        font-size: var(--fontsize-large-L);
        top: -22%;
    }

     .course-block:nth-child(2)::before {
        font-size: var(--fontsize-large-L);
        top:-22%;
    }

    .gallery-thumbnails {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .video-wrapper {
        width: 100%;
        max-width: 300px;
    }
}