@charset "UTF-8";

.gallery h2, h3, h4{
    font-family: "Zen Maru Gothic", sans-serif;
}

/* --------------------------------------------------------------------- */
/* トップビュー */
/* --------------------------------------------------------------------- */
.topview {
    background-image: url(../images/bg/sora.jpg);
    background-size: cover;
    color: #ffffff;
    text-shadow: 0 0 5px #000000;
}

.heading-decoration::after {
    display: none;
}





/* --------------------------------------------------------------------- */
/* R6 夏季体験学習 */
/* --------------------------------------------------------------------- */
.kakitai {
    padding: var(--v-space) 0;
    background-color: #ffffff;
}


.kakitai-title {
    text-align: left;
    font-size: 30px;
    padding: 30px 0 80px 5vw;
    background-color: #998e85;
    text-shadow: 0 0 1px #877d74;
    color: #ffffff;
    margin-bottom: 30px;
    translate: calc(-4% * 10 / 7);
    box-sizing: border-box;
    width: 90vw;
    max-width: 1166px;
    
}

.kakitai-title:after {
    content: '';
    width: 80%;
    position: absolute;
    padding: 2px 0 0 0;
    background-color: #ffffff;
    left: 20%;
    bottom: 2rem;

}

.kakitai-detail {
    margin: 60px 0;
}

.kakitai-detail-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    
    margin-bottom: 60px;
}

.kakitai-detail-container div:nth-child(1) {
    order: 2;
}

.kakitai-detail-container div:nth-child(2) {
    order: 1;
}

.kakitai-detail-img-wrap {
    padding: 20px;
    height: auto;
    
}

.kakitai-detail-img {
    height: 400px;
    width: 80%;
    margin: auto;
    border-radius: 4px;
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.kakitai-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kakitai-detail-text {
    padding: 20px;
}


.kakitai-detail-head {
    font-size: 30px;
    position: relative;
}

.kakitai-detail-head::after {
    content: "";
    display: block;
    position: absolute;
    height: 2px;
    width: 90%;
    background-color: #aaaaaa;
    bottom: -10px;
    right: -20px;
}

.KDhead-br {
    display: none;
}


.kakitai-detail-sentence {
    padding: 50px 20px;
}

.kakitai-detail-table {
    text-align: center;
}

.kakitai-detail-table table {
    width: 80%;
    font-family: "Zen Maru Gothic", sans-serif;
    line-height: 1.4;
    margin: 0 auto;
}

.kakitai-detail-table table,th,td {
    border-collapse: collapse;
    border: 1px solid #aaa;
}

.kakitai-detail-table th {
    padding: 10px 0;
}

.kakitai-detail-table td {
    padding: 10px 0;
    font-size: 24px;
}

.link-past {
    width: fit-content;
    margin: 0 auto;
}

.link-past a {
    display: block;
    margin: 0 auto;
    padding: 1rem 2rem;
    border: solid 1px #000000;
    border-radius: 5px;
}

.link-past a:hover {
    color: white;
    background-color: #9a8e80;
    transition: 0.4s;
}

.link-request {
    position: fixed;
    z-index: 100;
    bottom: clamp(0.625rem, -0.176rem + 4.27vw, 1.875rem);
    left: clamp(0.625rem, -0.176rem + 4.27vw, 1.875rem);
    font-size: clamp(1rem, 0.679rem + 1.71vw, 1.5rem);
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 600;
    text-shadow: 0 0 4px #000;
    text-align: center;
    background-color: #ddaa88;
    color: #fff;
    padding: clamp(0.625rem, 0.224rem + 2.14vw, 1.25rem);
    border-radius: 20px;
    border: 5px solid #f47622;
    background-image: url(../images/kakitai/bike/bike3.jpg);
    background-size: cover;
    background-blend-mode: hard-light;
}



@media (min-width: 768px) {
    .kakitai-title {
        width: 70vw;
    }

    .kakitai-detail-container {
        grid-template-columns: 1fr 1fr;
        padding: 30px 0;
    }

    .kakitai-detail-container div:nth-child(1) {
        order: 1;
    }
    
    .kakitai-detail-container div:nth-child(2) {
        order: 2;
    }

    .grid-reverse div:nth-child(1) {
        order: 2;
    }
    .grid-reverse div:nth-child(2) {
        order: 1;
    }

    .kakitai-detail-img {
        width: 100%;
    }

    .KDhead-mid {
        display: inline-block;
        width: 100%;
        text-align: center;
    }
    
    .KDhead-bot {
        display: inline-block;
        width: 100%;
        text-align: right;
    }
    
    .KDhead-big {
        font-size: clamp(1.875rem, -0.625rem + 5vw, 2.5rem);
    }

    .KDhead-br {
        display: inherit;
    }
}
