@charset "utf-8";
/*
Template: jstork19
Theme Name: stork19_custom
Theme URI:http://open-cage.com/stork19/
Version: 1.3.0
Author: opencage
Author URI: https://open-cage.com/
*/


/* お問い合わせページ */
.wpcf7-form {
    margin-block: 100px;
}

.contact-form {
    /* background-color: var(--oc-box-blue-inner); */
    background-color: var(--header-bg);
    margin: 0 auto;
    padding: 50px 50px 0;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.label-name {
    font-weight: bold;
}

.required {
    font-size: 0.7em;
    background-color: red;
    color: white;
    padding: 2px 5px;
    border-radius: 5px;
    vertical-align: text-bottom;
    margin-left: 5px;
}

.optional {
    font-size: 0.7em;
    background-color: blue;
    color: white;
    padding: 2px 5px;
    border-radius: 5px;
    vertical-align: text-bottom;
    margin-left: 5px;
}

.wpcf7-form-control {
    width: 100% !important;
}

.wpcf7-form input[type="submit"] {
    display: block;
    margin: 0 auto;
    margin-top: 50px;
    padding: 20px 100px;
    width: auto !important;
    background-color: var(--main-link-color);
    transition: opacity 0.5s, transform 0.5s;
}

.wpcf7-form input[type="submit"]:hover {
    opacity: 0.8;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
    transform: translate3d(0, -3px, 0);
}

.wpcf7-response-output {
    margin-top: 0;
}

/* 活動スケジュール */
.calendar-wrapper {
    text-align: center;
    padding: 20px;
    background:#F0F4F9;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    max-width: 800px;
    margin: auto;
}
/* ギャラリーのループスライド */
.stk-slide-gallery {
    display: flex;
    align-items: center;
    overflow: hidden;
    gap: 0;
    padding: 0 !important;
}
/* ギャラリー上、右から左 */
.gallery-right .wp-block-gallery {
    flex-wrap: nowrap;
    animation: loop-slide-right-left 30s infinite linear 1s both;
}
/* ギャラリー下、左から右 */
.gallery-left .wp-block-gallery {
    flex-wrap: nowrap;
    animation: loop-slide-left-right 30s infinite linear 1s both;
}
.stk-slide-gallery .wp-block-image {
    width: 182px !important;
}
/* 右から左 */
@keyframes loop-slide-right-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}
/* 左から右 */
@keyframes loop-slide-left-right {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}


/* 入会案内、団体規約 */
.group-regulations summary {
    text-align: center;
    font-weight: bold;
    position: relative;
}
.group-regulations summary::after {
    content: '';
    background: var(--main-link-color);
    position: absolute;
    width: 100px;
    height: 3px;
    bottom: -10%;
    left: 51%;
    transform: translateX(-50%);
}
/* スクロール部分 */
.scroll{
    overflow: auto;
    height: 300px;
    width: 100%;
    border: 4px solid var(--main-ttl-bg);
    margin: 0 auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}


/* 入会案内、画像クレジット表記用 */
.credit-wrapper {
    font-size: 10px;
    text-align: right;
    color: #e6e6e6;
    margin-bottom: 0;
}
.credit-wrapper a {
    color: #e6e6e6 !important;
    text-decoration: none;
}
.credit-wrapper a:hover {
    text-decoration: underline;
}

/* トップ、お知らせ一覧 デフォルト画像の表示用 */
.wp-post-no_image {
    object-fit: contain !important;
}
