/* TOP */
.top-content {
    width: 100vw;
    height: calc(100vh - 120px);
}
.top-conteiner {
    position: relative;
    width: 85%;
    height: 85%;
    margin: 0 auto;
    border-radius: 35px;
    overflow: hidden;
}
.top-background {
    position: relative;
    width: 100%;
    height: 100%;
    background-image: url('/wp-content/themes/kamashi-kodomokai/assets/images/bg_top.JPG');
    background-size: cover;
    background-position: center;
    animation:top-soom 10s linear forwards;
}
@keyframes top-soom {
    to {
        transform:scale(1.1);
    }
}
.catch-copy-wrapper {
    position: absolute;
    right: 2.5rem;
    bottom: 2.5rem;
}
.catch-copy-wrapper h1 {
    color: #ffffff;
    font-size: 24px;
    text-align: end;
    text-shadow: 2px 4px 4px rgb(46 91 173 / 0.6);
}
.catch-copy-wrapper h1 span {
    color: #ffffff;
    font-size: 45px;
    text-shadow: 2px 4px 4px rgb(46 91 173 / 0.6);
}
@media (max-width: 768px) {
    .top-content {
        width: 100vw;
        height: calc(85vh - 120px);
    }
    .top-conteiner {
        width: 100%;
        height: 100%;
        border-radius: 0 35px 0 35px;
    }
    .catch-copy-wrapper {
        position: absolute;
        right: 1.5rem;
        bottom: 1.5rem;
    }
    .catch-copy-wrapper h1 {
        font-size: 21px;
    }
    .catch-copy-wrapper h1 span {
        font-size: 31px;
    }
}

.news-illustration-wrapper {
    position: absolute;
    bottom: -1rem;
    right: 10rem;
    z-index: 50;
    width: 118.9806px;
    height: auto;
}
@media (max-width: 768px) {
    .news-illustration-wrapper {
        bottom: -0.8rem;
        right: calc(50% - 36px);
        width: 72px;
    }
}

.events-illustration-wrapper {
    position: absolute;
    top: 45%;
    left: 5rem;
    z-index: 50;
    width: 72px;
    height: auto;
}
@media (max-width: 768px) {
    .events-illustration-wrapper {
        top: auto;
        bottom: 0;
        left: 50%;
        width: 56px;
    }
}

.top-about-img-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
}
.top-about-img-wrapper img{
    width: 85%;
    border-radius: 100% 80px / 80px 100%;
    box-shadow: 30px 10px 0 #f5e7eb;
}
.top-about-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
}
.top-about-overview {
    width: 85%;
    margin: 32px auto;
}
@media (max-width: 768px) {
    .top-about-img-wrapper {
        margin-bottom: 32px;
    }
    .top-about-overview {
        width: 100%;
        margin: 32px auto;
    }
}

.about-wrapper {
    padding: 0 8px 32px 8px;
}
.about-conteiner {
    width: 100%;
    margin-bottom: 72px;
}
.about-contents {
    width: 100%;
    padding: 0 8px;
}
.about-img-wrapper {
    width: 85%;
    margin-bottom: 72px;
}
.about-access-block p {
    height: fit-content;
    margin-bottom: 0;
}
.about-access-block div {
    display: grid;
    grid-template-columns: 128px 1fr;
    align-items: center;
    padding: 8px 0;
}
.googlemap-block {
    display: flex;
    justify-content: center;
}
.googlemap-block iframe {
    height: 240px;
}
.history-list {
    width: 100%;
}
.history-list li {
    display: grid;
    grid-template-columns: 45% 1fr;
    align-items:  center;
    padding: 24px 8px 7px 8px;
    border-bottom: 1px solid #6c4b27;
}
.history-list li:last-child {
    border-bottom: none;
}
@media (max-width: 768px) {
    .history-list li {
        grid-template-columns: 35% 1fr;
    }
}

.schedule-wrapper {
    padding: 1rem 0 !important;
}
.schedule-item {
    padding: 0 !important;
}
.schedule-item div {
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.schedule-item div h2 {
    position: relative;
    z-index: 1;
    width: 72px;
    border: none;
    font-size: 48px;
}
.schedule-item div h2::after {
    content: '';
    position: absolute;
    bottom: 0.7rem;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 8px;
    background-color: #f5e7eb;
}
.schedule-item div h2 code {
    color: #41acdb;
    font-size: 18px;
}
.schedule-item div ul {
    width: auto;
    margin: 2rem 0 0 56px;
}
.schedule-item div ul li {
    list-style: none;
}
.schedule-item div ul li code {
    margin-right: 3rem;
}
@media (max-width: 768px) {
    .schedule-item div {
        flex-direction: column;
        justify-content: center;
    }
    .schedule-item div h2 {
        font-size: 31px;
        margin-bottom: 1rem;
        text-align: center;
    }
    .schedule-item div h2::after {
        bottom: 0.5rem;
        height: 4px;
    }
    .schedule-item div ul {
        margin: 0;
    }
    .schedule-item div ul li code {
        margin-right: 1rem;
    }
}

.not-found-wrapper h1{
    font-size: 31px;
    margin-bottom: 1em;
}
.not-found-wrapper p {
    text-align: center;
}

.wpcf7 {
    width: 100%;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
}