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

.topinformation {
    /* 背景画像を子テーマフォルダから読み込み */
    background-image: url('/wp-content/themes/swell_child/assets/info-back.png') !important;
    
    /* 中央に1つだけ配置 */
    background-position: center center !important;
    background-repeat: no-repeat !important;
    
    /* 画像の横幅（お好みで 500px や 60% などに調整してください） */
    background-size: 500px auto !important;
}


/* ボタンの背景色を変更 */
.is-style-more_btn .swell-block-button__link {
    background-color: #D8B2AE !important;
    border-color: #D8B2AE !important; /* 枠線がある場合のために同色に設定 */
    color: #fff !important;           /* 文字色（白） */
}

/* ホバー（マウスを乗せた時）の調整 */
.is-style-more_btn .swell-block-button__link:hover {
    background-color: #c9a19d !important; /* 少しだけ濃くして反応を出す */
    opacity: 0.9;
}

/* フルワイドブロックの中の制限を解除して中央に寄せる */
.parent-tate .swell-block-fullWide__inner {
    max-width: 100% !important; /* 記事幅の制限を解除 */
    display: flex;
    justify-content: center;   /* 横方向の中央 */
}

/* 縦書き自体の設定 */
.tate {
    writing-mode: vertical-rl;
    font-size: 24px;            /* お好みのサイズに */
    line-height: 1.8;
    height: 200px;
    margin: 0 auto !important;  /* 中央寄せ */
    padding: 0;
    text-align: center;         /* 縦方向の中央 */
    
    /* 文字の間隔を少し開けると綺麗です */
    letter-spacing: 0.3em;
}

/* スマホ用の微調整 */
@media screen and (max-width: 768px) {
    .tate {
        height: 200px;
        font-size: 20px;
    }
}


/* --- メニューの出し分け制御 --- */

body:not(.logged-in) .show-login {
    display: none !important;
}
body.logged-in .show-logout {
    display: none !important;
}




body {
    background-image: url('/wp-content/themes/swell_child/assets/toyo-back.jpg'); 
    background-repeat: repeat;
    background-attachment: fixed;
    background-size: 500px;
}

.l-header {
    background-color: #fff !important;
    background-image: none !important; 
    z-index: 100; 
}

#content, .l-main, .l-content, .p-article {
    background: transparent !important;
}
