@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* コメント欄を非表示 */
#comments {
    display: none !important;
}

/* ピックアップバナーの幅を制御 */
#pickup_banner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
}

/* バナーを横並びに戻す */
.p-pickupBanners__list {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 各バナーを均等幅に */
.p-pickupBanners__item {
    flex: 1;
}

/* バナー画像を幅いっぱいに */
.c-bannerLink__img {
    width: 100%;
    height: auto;
    display: block;
}

/* バナーラベルを非表示 */
.c-bannerLink__label {
    display: none;
}


/* カテゴリーグリッド */
.wj-cat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}

.wj-cat-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 4px;
}

.wj-cat-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.wj-cat-item:hover img {
    transform: scale(1.05);
}

.wj-cat-item span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(196, 18, 48, 0.7);
    color: #fff;
    text-align: center;
    padding: 8px;
    font-size: 14px;
    font-weight: bold;
}

/* トップページの記事一覧のみ非表示 */
.home .p-postList:not(.p-postSlider .p-postList) {
    display: none;
}

/* トップページのページネーション非表示 */
.home .c-pagination {
    display: none;
}

/* Moon Message */
.moon-message {
    background: #1a1a2e;
    color: #ffffff;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 20px;
}

.moon-title {
    color: #c8a96e;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    border-bottom: 1px solid #444;
    padding-bottom: 8px;
}

.moon-phase {
    margin: 10px 0;
}

.moon-msg-wrap {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.8;
    color: #ffffff;
}

.moon-msg-wrap iframe {
    background: transparent;
}

/* 子ページ一覧（画像なし） */
.wj-child-pages {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 30px;
}

.wj-child-page-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border: 1px solid #e8e8e8;
    border-left: 3px solid #c41230;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    background: #fff;
    transition: all 0.2s ease;
}

.wj-child-page-item:hover {
    background: #fdf5f6;
    border-left-color: #c41230;
    transform: translateX(4px);
}

.wj-child-page-body h3 {
    font-size: 15px;
    font-weight: bold;
    margin: 0 0 2px 0;
    color: #333;
}

/* お問い合わせフォーム全体 */
.wpcf7 {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

/* ラベル */
.wpcf7 .wpcf7-form p {
    margin-bottom: 20px;
}

.wpcf7 label,
.wpcf7 .wpcf7-form p > span:first-child {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #555;
    margin-bottom: 6px;
}

/* 入力フィールド共通 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    font-size: 15px !important;
    color: #333 !important;
    background: #fafafa !important;
    transition: border-color 0.2s ease !important;
    box-sizing: border-box !important;
}

/* フォーカス時 */
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus {
    outline: none !important;
    border-color: #c41230 !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(196,18,48,0.08) !important;
}

/* テキストエリア */
.wpcf7 textarea {
    min-height: 150px !important;
    resize: vertical !important;
}

/* 送信ボタン */
.wpcf7 input[type="submit"] {
    display: block !important;
    width: 100% !important;
    padding: 14px !important;
    background: #c41230 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    letter-spacing: 2px !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
    margin-top: 10px !important;
}

.wpcf7 input[type="submit"]:hover {
    background: #a01028 !important;
}

/* エラー・完了メッセージ */
.wpcf7 .wpcf7-not-valid-tip {
    color: #c41230;
    font-size: 12px;
    margin-top: 4px;
}

.wpcf7 .wpcf7-response-output {
    margin-top: 20px !important;
    padding: 12px 15px !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    border: none !important;
}

.wpcf7 .wpcf7-mail-sent-ok {
    background: #e8f5e9 !important;
    color: #2e7d32 !important;
}

.wpcf7 .wpcf7-validation-errors {
    background: #fff3e0 !important;
    color: #e65100 !important;
}

/* スマホ対応 */
@media (max-width: 767px) {
    .wpcf7 {
        padding: 20px 15px;
        box-shadow: none;
    }
}

.wj-child-page-body p {
    font-size: 13px;
    color: #777;
    margin: 0;
}

.wj-child-page-arrow {
    font-size: 22px;
    color: #c41230;
    flex-shrink: 0;
}

/* カテゴリーメニューをクリック不可に */
.menu-item a[href="#"] {
    cursor: default;
    pointer-events: none;
}

/* ホバーで下線が出ないように */
.menu-item a[href="#"]:hover {
    text-decoration: none;
    opacity: 1;
}

/* こころとからだ事典：アイキャッチ非表示 */
.is-womens-health .p-articleThumb {
    display: none !important;
}