@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
*/
.child {
	position:relative;
	top: -10rem;
}
/*タイトルサイズを大きく中央に*/
.c-pageTitle,
.c-postTitle__ttl{
font-size:2rem;
text-align:center;
	color: #000;
}
/* ギャラリーブロックのキャプションを画像の下に配置する */
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
    position: relative !important; /* 絶対配置を解除して画像の下へ */
    background: none !important; /* 背景色（黒透過）を消す */
    color: #333 !important; /* 文字色をダークグレーに（必要なら調整） */
    padding: 0.5em  !important; /* 上部に余白を入れて画像と離す */
    opacity: 1 !important; /* 透明度を100%に */
    font-size: 0.9em; /* 文字サイズを少し小さく */
    text-align: center; /* 中央寄せ */
}
/* ギャラリー内の画像下部の余白を調整 */
.wp-block-gallery.has-nested-images figure.wp-block-image {
    margin-bottom: 2em !important; /* 下の画像との隙間 */
}
/*画像サイズ揃える*/
.wp-block-gallery.has-nested-images figure.wp-block-image {
	flex-grow: 0;
}
/* ギャラリー内の画像からぼかし(blur)とフィルターを除去する */
.wp-block-gallery .blocks-gallery-item img {
    filter: none !important;
}

/*---------------お問い合わせページ---------------*/

.wpcf7 input[name="your-name"],
.wpcf7 input[name="your-name-kana"],
.wpcf7 input[name="your-email"],
.wpcf7 input[name="your-phonenumber"]
 {
        width: 100%;
        height: 35px !important;
	background: #fff;
}
.wpcf7 textarea[name="your-message"] {
        width: 100%;
        height: 300px !important;
	background: #fff;
}
.wp-block-contact-form-7-contact-form-selector {
    background-color: #add6ff;/* フォーム背景色 */
    padding: 20px;
}
.wpcf7 input[type="submit"] {
width:50%;
padding:10px;
margin-top: 30px;
margin-left: 25%;
color: #fff;/* ボタン文字色 */
border-radius:10px;
-webkit-border-radius: 0px;  
-moz-border-radius: 0px;
border: none;
box-shadow: 0 3px 0 #ddd;
background: #0099cc;/* ボタン背景色 */
transition: 0.3s;
}
.wpcf7-submit:hover {
opacity: 0.7;
transform: translate3d(0px, 3px, 1px);
-webkit-transform: translate3d(0px, 3px, 1px);
-moz-transform: translate3d(0px, 3px, 1px);
}
.c-pageTitle__subTitle {
	display: none;
}
/* ページネーションを横並びにする */
.c-pagination,
.wp-block-query-pagination {
    display: flex !important;
    justify-content: center; /* 中央寄せ */
    flex-wrap: wrap; /* 折り返しを許可 */
    gap: 5px; /* 数字の間隔 */
}

/* ページ番号（数字）を横並びにする */
.c-pagination .page-numbers,
.wp-block-query-pagination .page-numbers {
    display: inline-block !important; /* または flex */
    margin: 0 !important; /* 縦並びの原因になるマージンを消す */
}
