@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/
*/

.mw-form-container {
    max-width: 600px;
    margin: 0 auto;
}
.form-row {
    margin-bottom: 20px;
}
.form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}
.form-input, .form-textarea {
    width: 100%;
    padding: 10px;
    border: 3px solid rgba(66, 66, 66, 0.3);
    border-radius: 4px;
    box-sizing: border-box; /* 枠線を崩さないため */
}

.contact-top-read{
    padding: 1rem 0;
    border-top:2px solid var(--main-ttl-bg) ;
    border-bottom:2px solid var(--main-ttl-bg) ;
}

.auto-gallery {
    display:flex;
    flex-wrap:wrap;
    gap: 15px;
}

.auto-gallery-item {
    width:100%;
    max-width: calc(50% - 8px);
}

.auto-gallery-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; /* 比率を固定 */
    object-fit: cover;
}

.main_img{
    width:100%;
    height: fit-content;
}
.main_img img{
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; /* 比率を固定 */
    object-fit: cover;

}

/* テーブルの基本スタイル */
.stork-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
    line-height: 1.6;
}

/* ヘッダーの設定 */
.stork-table th {
    background-color: #f8f9fa; /* 薄いグレー背景 */
    color: #333;
    padding: 15px;
    border: 0;
    text-align: left;
}

/* セルの設定 */
.stork-table td {
    padding: 15px;
    border: 0;
}

/* 偶数行の背景色（薄いベージュ系でSTORK19に馴染みます） */
.stork-table tr:nth-child(even) {
    background-color: #eee;
}


.social-floating-buttons {
    position: fixed;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-sns {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 22px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.btn-sns:hover {
    transform: scale(1.1);
}

/* 各カラー設定 */
.btn-inst { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.btn-x    { background-color: #000; }
.btn-tiktok { background-color: #000; border: 2px solid #fe2c55; }

/* -------------------------------------------
   フッター直上のSNSボタンエリア
------------------------------------------- */
.footer-social-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #f9f9f9; /* 必要に応じて背景色を調整 */
    border-top: 1px solid #eee;
}

.footer-social-section .section-title {
    margin-bottom: 25px;
    font-size: 18px;
    color: #333;
    font-weight: bold;
}

.footer-social-section .social-buttons {
    display: inline-flex;
    gap: 20px;
    justify-content: center;
}

/*コメント非表示*/
.sidebar #block-4 {
    display: none !important;
}

/*記事下部のカテゴリ*/
.article-footer {
    display: none !important;
}


.radio_list{
    display:flex;
    gap:10px;
}
@media screen and (max-width: 767px){
    .radio_list{
        flex-direction: column;
        gap:0;
    }
    .horizontal-item{
        margin-left:0 !important;
    }
}

.mw_wp_form_confirm .btn_privacy{
    display:none;
}