@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);

@CHARSET "UTF-8";

/* 1. LP標準幅 (None) の設定 */
.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright) {
    max-width: 1000px; /* theme.jsonのcontentSizeと同じ値 */
    margin-left: auto;
    margin-right: auto;
	padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box; /* パディングを幅に含める設定 */
}

/* 2. LP幅広 (Wide) の設定 */
.entry-content > .alignwide {
    max-width: 1200px; /* theme.jsonのwideSizeと同じ値 */
    margin-left: auto;
    margin-right: auto;
}

/* 3. LP全幅 (Full) の設定 */
.entry-content > .alignfull {
    max-width: none;
    width: 100%;
}

/* LPのコンテンツエリア内にあるリンクのアンダーラインを消す */
.entry-content a {
    text-decoration: none !important;
}

/* コンテンツエリアの「一番最後の要素」だけに下の余白を作る */
.entry-content > *:last-child {
    padding-bottom: 80px !important;
}

/* カラム同士の隙間もゼロに */
.page-wrapper .wp-block-columns {
    gap: 0 !important;
}

/* 文字の上下にある「見えない余白」を削ぎ落とす */
.page-wrapper h2,
.page-wrapper p {
    margin: 0 !important;
    padding: 0 !important;
}

/* もし横並びにしているなら、垂直方向の揃えを調整 */
.name-tag-row {
    display: flex;
    align-items: baseline; /* 文字の「ベースライン（下線）」で揃える */
}

* {
    margin: 0;
    outline: 0;
    padding: 0;
}

html {
	background: #fff;
}

/* Google Fontsの読み込み（テーマの管理画面またはhead内へ） */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

body {
    background-color: #fff;
    background-size: cover;
    color: #333;
    font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    -webkit-font-smoothing: antialiased; /* 文字を滑らかにするおまじない */
    -moz-osx-font-smoothing: grayscale;
    font-size: 14pt;
    line-height: 1.8;
	font-weight: 400;
    margin: 0;
    padding: 0;
    max-width: none;
}

a {
    color: #FFF;
    text-decoration: none;
}
a:FOCUS, a:ACTIVE,
button::-moz-focus-inner,
input[type='reset']::-moz-focus-inner,
input[type='button']::-moz-focus-inner,
input[type='submit']::-moz-focus-inner,
select::-moz-focus-inner,
input[type='file'] > input[type='button']::-moz-focus-inner {
    border: 0;
    outline: 0;
}
a:HOVER,
a.pull-right:HOVER {
    color: #FFE800;
}
.body-page {
    margin: -2px 0 0;
    overflow: visible !important;
}
.clear {
    clear: both;
}

.dn{
    display: none;
}

img {
/*  max-width: 100%;  Fluid images for posts, comments, and widgets */
  height: auto;
	padding: 0;
	margin: 0;
}

/* 修正後：中身のブロックが正しく動くようにする */
.page-wrapper .entry-content > *:not(.alignwide):not(.alignfull) {
    max-width: 1000px; /* theme.jsonのcontentSizeと合わせる */
    margin-left: auto;
    margin-right: auto;
}

.page-wrapper .entry-content > .alignwide {
    max-width: 1200px; /* theme.jsonのwideSizeと合わせる */
    margin-left: auto;
    margin-right: auto;
}

#main {
    border: none;
    left: 0;
    top: 0;
    visibility: visible;
    width: 100%;
}

.textbox{
	margin: 40px;
}

.back-to-top {
    background-color: rgba(0, 0, 0, 0.5);
    bottom: 2em;
    color: #FFF;
    cursor: pointer;
    display: none;
    font-size: 12px;
    height: 50px;
    padding: 5px;
    position: fixed;
    right: 0px;
    text-align: center;
    text-decoration: none;
    width: 70px;
    z-index: 9999;
}
.back-to-top:HOVER {
    background-color: rgba(135, 135, 135, 0.50);
    text-decoration: none;
}
.back-to-top span,
.back-to-top strong {
    float: left;
    width: 100%;
}

.content{
	margin:0 0 20px 0;
}

.pull-up {
    /* margin ではなく transform で物理的に持ち上げる */
    transform: translateY(-30px);     
    /* 重なり順を一番上にする */
    position: relative;
    z-index: 10;
}

.main-img{width: 60%;}

.rensai{color:#d67779;font-size: 20px;text-align: right;font-family: "Mochiy Pop One", sans-serif;}
.anime{color:#63b3cd;font-size: 20px;text-align: left;font-family: "Mochiy Pop One", sans-serif;}
.bigtext{font-size: 50px;}
.and{color:#666;font-size: 30px;text-align: center;font-family: "Mochiy Pop One", sans-serif;}

.subtitle{
	background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
	color: #5f4b3c !important; 
	font-family: "Mochiy Pop One", sans-serif;
	font-size: 24pt;
	font-weight: normal;
	/* Flexコンテナ化 */
    display: flex;
    /* 水平方向の中央配置 */
    justify-content: center;
    /* 垂直方向の中央配置 */
    align-items: center;
}

H2{    height: 200px;}

.title1{min-height: 300px;background-image: url('/img/bono40/title1.png');}
.title2{min-height: 300px;background-image: url('/img/bono40/title2.png');}
.title3{min-height: 300px;background-image: url('/img/bono40/title3.png');}
.title4{min-height: 300px;background-image: url('/img/bono40/title4.png');}
.title5{min-height: 300px;background-image: url('/img/bono40/title5.png');}

hr.wp-block-separator {
    border: none;
    height: 40px; /* 表示したい高さ */
    
    /* 背景画像の設定 */
    background-image: url('/img/bono40/line.png'); 
    background-repeat: repeat-x; /* 横に並べる */
    
    /* ↓ ここが重要！画像を縮小せず、高さを固定して解像度を保つ */
    background-size: auto 40px; 
    
    background-position: left center;
    margin: 50px auto;
    opacity: 1; /* WordPress標準の透明度をリセット */
}

.name {
  color: #5f4b3c !important;     /* 文字の色 */
	font-weight: 500;
	font-size: 24pt;
}

.katagaki {
	padding-left: 15px;
	font-size: 20px;
  color: #5f4b3c !important;     /* 文字の色 */
}
.oiwai {
	padding: 40px;
	background:  url('/img/bono40/mes-bg.png'); 
	background-repeat: no-repeat;
  background-position: right top; /* 右上に配置 */
}

ul,li{
  list-style: none;
}

/* パスワード入力画面のときだけ、コンテンツをヘッダー分（100px）下げる */
.post-password-required {
  margin-top: 120px;
}

/* ヘッダー全体のベース（白マット） */
.site-header {
    background-color: #fff; /* 白マット */
    height: 80px;           /* ヘッダーの高さを固定） */
    position: sticky;       /* または fixed */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;    /* 縦方向中央 */
    box-shadow: 0 2px 10px rgba(0,0,0,0.2); /* 境界を分かりやすく */
}

.header-inner {
    width: 100%;
    display: flex;
    justify-content: center; 
    align-items: center;
    position: relative;
    padding: 0 20px;
}

.site-title {
    display: flex;
    justify-content: center; /* 内部のaタグを中央へ */
    align-items: center;
}

.site-title h1,
.site-title-sub {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.site-title a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-title img {
    display: block;
    height: 50px; /* タイトル高さ */
    width: auto;
    margin: 0 auto; 
    vertical-align: middle;
	margin-left: 25px;
}

/* SEO用隠しテキスト */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* レイアウト微調整 */
.site-title h1, 
.site-title-sub {
    margin: 0;
    line-height: 0; /* SVGの下の隙間を防ぐ */
}

/* ロゴを浮かせる（絶対配置） */
.site-logo {
    position: absolute;
    left: 15px;
    top: 25px;
    transform: translateY(-50%);
}

.site-logo img {
    height: auto;
    width: 140px; /* PCサイズ */
    display: block;
}

/* ハンバーガーメニューボタン */
.menu-text {
  font-size: 12px;
  margin-top: 1px;
  line-height: 1;
  color: #FFF;
}

body .hamburger-menu {
	position: absolute;
    transform: translateY(-50%);
  top: 25px;
  right: 25px;
  width: 80px;
  height: 80px;
  background: #57c3ea;
  border: none;
  border-radius: 50%;    /* 円 */
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  z-index: 1001;
}

body .hamburger-line {
  width: 40px;
  height: 3px;
  transform-origin: center;
  background-color: #FFF;
  border-radius: 2px;
  transition: all 0.3s ease-in-out !important;
}

/* アクティブ状態（Xアニメーション） */
body .hamburger-menu.active .hamburger-line:nth-child(1) {
  transform: translateY(10px) rotate(45deg) !important;
}
body .hamburger-menu.active .hamburger-line:nth-child(2) {
  opacity: 0 !important;
}
body .hamburger-menu.active .hamburger-line:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg) !important;
}

/* Swiperの基本スタイル（保険） */
@import url('https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css');

/* スライダー全体の横幅を強制的に全幅にする（親要素を無視） */
.comment-list-js {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    overflow: visible !important; /* 隣のカードをチラ見せする */
}

/* カードの高さを一番高いものに自動で合わせる */
.comment-list-js .swiper-slide {
    height: auto !important; /* 中身に応じて高さを出す */
    display: flex;           /* 子要素の .comment-box を引き伸ばす */
}

.comment-box {
    width: 100%;             /* 横幅いっぱい */
    display: flex;
    flex-direction: column;  /* 中身を縦並びに */
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    border: 2px solid #d9efff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.comment-box .name2 {
    font-size: 1.4rem;
    font-weight: bold;
    color: #5f4b3c;
    display: block;
}

.comment-box .katagaki2 {
    font-size: 0.8rem;
    color: #888;
    padding-bottom: 10px;
	margin-bottom: 10px;
    display: block;
	border-bottom: #8E8E8E dashed 1px;
}

.comment-box a{color: #3D96F0;}

/* テキストエリアも高さを引き伸ばす */
.comment-box .text-area {
    flex-grow: 1; 
}

/* スライドメニュー */
body .slide-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background: #57c3ea;
  transition: right 0.3s ease-in-out !important;
  z-index: 1000;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  overflow-x: hidden;
}

body .slide-menu.active {
  right: 0 !important;
}

.menu-list {
  list-style: none;
  padding: 100px 0 0 0;
  margin: 0;
}

.menu-list li {
  margin: 0;
  padding: 0;
}

.menu-list a {
  display: block;
  padding: 15px 30px;
  color: white;
  text-decoration: none;
  font-size: 22px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.menu-list a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* 中央寄せの50%幅クラス */
.center-50-percent {
    width: 50%;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block;
}

/* ギャラリー本体への指示 */
.wp-block-gallery.wp-block-gallery-is-layout-flex {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important; 
    list-style: none;
    padding: 0;
}

/* ギャラリー内の各画像ブロックへの指示 */
.wp-block-gallery.wp-block-gallery-is-layout-flex .wp-block-image {
    /* 4カラムの場合の幅計算： (100% - 隙間3つ分) / 4 */
    width: calc((100% - (10px * 3)) / 4) !important;
	/* ↓ これを追加：余ったスペースがあっても広がらないようにする */
    flex-grow: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
}

/* スマホ2カラム */
@media (max-width: 600px) {
    .wp-block-gallery.wp-block-gallery-is-layout-flex .wp-block-image {
        width: calc((100% - 20px) / 2) !important;
    }
}

/* 各画像ブロックのマージンをリセットして、gapに任せる */
.wp-block-gallery .wp-block-image {
    margin: 0 !important;
}

/* フォームデザイン */
/* フォーム全体の余白 */
.wpcf7-form {
    padding: 10px;
}
/* 入力欄とテキストエリアの見た目 */
/* 入力欄自体の下の隙間をなくす（または最小限にする） */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="number"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 12px 15px;
    margin-top: 5px; /* 質問文との間のわずかな隙間 */
    margin-bottom: 0px !important; /* ここを0にする */
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
}

.form-group {
    margin-bottom: 25px; /* 次の質問との間の隙間 */
}
/* ハニーポットを隠す */
.orname {
    display: none !important;
}

/* エラーメッセージ自体の調整 */
span.wpcf7-not-valid-tip {
    display: block;
    margin-top: 5px;    /* 入力欄のすぐ下に表示 */
    margin-bottom: 10px; /* エラーが出た時だけ、さらに少し隙間を足す */
    color: #f00;
    font-size: 14px;
}
/* 送信ボタンのデザイン */
.wpcf7-submit {
    display: block;
    width: 100%;
    background-color: #EF797B; 
    color: #fff;
    font-weight: bold;
    padding: 15px;
    border: none;
    border-radius: 30px; 
    cursor: pointer;
    transition: 0.3s;
}
.wpcf7-submit:hover {
    background-color: #e67e00; /* ホバー時に少し暗く */
    transform: translateY(-2px); /* 少し浮く演出 */
}
/* 同意チェックボックスの隙間 */
.wpcf7-acceptance {
    display: block;
    margin-bottom: 20px;
}
/* エラーメッセージ（赤い文字）の調整 */
span.wpcf7-not-valid-tip {
    display: block;
    color: #f00; /* 赤色 */
    font-size: 14px;
    font-weight: bold;
    margin-top: 0;    /* 入力欄との隙間 */
    margin-bottom: 15px; /* 下の項目との隙間 */
    padding: 5px 0;
}
/* 入力欄自体を赤枠にする */
.wpcf7-not-valid {
    border: 2px solid #f00 !important;
    background-color: #fff0f0 !important;
}
/* 送信ボタン上の「入力に不備」全体メッセージの調整 */
.wpcf7-response-output {
    margin-top: 0 !important;
    padding: 0  !important;
    border-radius: 8px !important;
    border: 2px solid #f00 !important;
    background-color: #fff0f0;
}

/* 投票デザイン */
/* 見出しと選択肢の間に余白を作る */
.basic-question-title {
    margin-bottom: 10px !important;
}

/* 各選択肢の行間を詰める */
.basic-yop-poll-container .basic-answer {
    padding: 0 !important;
    margin: 0 !important;
}

.basic-yop-poll-container .basic-answer-content {
    padding: 0 !important;
    line-height: 0.8 !important;
}

/* ボタンのスタイル上書き */
.basic-vote-button {
    text-indent: -9999px; /* 文字を隠す */
    background-image: url('/img/bono40/bt.svg') !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: none !important; /* 元の枠線を消す */
    width: 90px; /* 画像の幅に合わせて調整 */
    height: 100px; /* 画像の高さに合わせて調整 */
    display: inline-block;
	margin-top: 10px !important; /* 余白を調整 */
}
/* ① 投票前（エラーメッセージ）: 余白なし */
.basic-form .basic-message {margin: 0 !important;}

/* ② 投票後（サンクスメッセージ）: 上下に30pxの余白 */
.basic-inner > .basic-message {margin: 30px 0 !important;}

.poll-share-container {
    margin: 0 0 20px;
    text-align: center;
    padding: 20px;
    background:#9ADDE7;
    border-radius: 15px;
}

.poll-share-container p {
    font-weight: bold;
    color: #5f4b3c;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.poll-share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: bold;
    color: #fff !important;
    transition: opacity 0.3s;
}

.x-btn { background-color: #555; }

.share-btn:hover {
    opacity: 0.8;
}

/* スマホでは横幅いっぱいに */
@media screen and (max-width: 480px) {
    .share-btn {
        width: 100%;
    }
}
/* ここまで投票 */

/* ギャラリーリンク 外枠：はみ出た分を隠す */
.gallery-marquee-link {
    display: block;
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #d9efff; 
    text-decoration: none;
}
/* 中身を横に並べる */
.marquee-container {
    display: flex;
    width: fit-content;
}
/* アニメーションの設定 */
.marquee-content {
    display: flex;
    animation: marquee-loop 100s linear infinite;
}
.marquee-content img {
    height: 150px; /* バナーの高さ（お好みで） */
    width: auto;
    display: block;
}
/* 無限ループの動き */
@keyframes marquee-loop {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
/* ホバー時に少しゆっくりにする、または止める演出 */
.gallery-marquee-link:hover .marquee-content {
    animation-play-state: paused; /* マウスを乗せると止まる */
}
/* 中央に文字を浮かせる */
.gallery-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.8);
    white-space: nowrap; /* 絶対に改行しない */
	padding: 8px 15px;
    border-radius: 30px;
    color: #5f4b3c;
    font-weight: bold;
    pointer-events: none; /* 文字がクリックの邪魔をしないように */
}

/* ==========================================
   タブレット・大きめのスマホ (480px - 700px)
   ========================================== */
@media screen and (max-width: 700px) and (min-width: 481px) {
	body {
    font-size: 13pt;
    line-height: 23pt;
}
	.katagaki {	font-size: 17px;}
	.name {	font-size: 20pt;}
	.oiwai {padding: 30px;}
    /* ロゴの位置調整 */
    .site-logo {
        margin-left: -20px;
		top: 18px;
    }
    .site-logo img {width: 22%;}
	.site-header {height: 70px;}
	.site-title img { height: 35px;}
	
    /* ハンバーガーメニューのサイズと位置 */
    body .hamburger-menu {
        width: 60px;
        height: 60px;
        top: 18px;
        right: 10px;
		gap: 5px;     /* 線の間隔 */
    }
    body .hamburger-line {
		height: 2px;
        width: 30px;  /* 中の線の長さ */
    }
		/* アクティブ状態（Xアニメーション） */
body .hamburger-menu.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg) !important;
}
body .hamburger-menu.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg) !important;
}
	.subtitle{
    min-height: 200px;font-size: 24px;
	}
}

/* ==========================================
   スマホ用 (480px以下)
   ========================================== */
@media screen and (max-width: 480px) {
	body {
    font-size: 12pt;
    line-height: 20pt;
}
	.main-img{width: 100%;}
	
	.rensai{font-size: 13px;}
	.anime{font-size: 13px;}
	.bigtext{font-size: 38px;}
	.and{font-size: 15px;}
	
	.katagaki {font-size: 15px;padding-left: 10px;}
	.name {	font-size: 18pt;}
	.oiwai {padding: 20px;	background-size:30%;}
    /* ロゴの位置調整 */
    .site-logo {
        margin-left: -20px;
		top: 12px;
    }
	.site-logo img {width: 23%;}
	.site-header {height: 60px;}
	.site-title img { height: 24px;}
	
    /* ハンバーガーメニューをさらにコンパクトに配置 */
    body .hamburger-menu {
        width: 50px;  /* 円をさらに小さく */
        height: 50px;
        top: 12px;
        right: 5px;
        gap: 4px;     /* 線の間隔 */
    }
    body .hamburger-line {
		height: 2px;
        width: 25px;  /* 中の線をさらに短く */
    }
	
	/* アクティブ状態（Xアニメーション） */
body .hamburger-menu.active .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg) !important;
}
body .hamburger-menu.active .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg) !important;
}	
	
    body .menu-text {
        font-size: 9px; /* 文字サイズ */
    }	
	.subtitle{ min-height: 150px;font-size: 23px;	}
}

/* --- ナビ（不動） --- */
.fukidashi-nav {
    position: absolute;
    top: 0;
    z-index: 110;
    cursor: pointer;

    /* イラストの横幅1000pxに対する、ナビ画像362pxの割合を計算 */
    /* 362 ÷ 1000 = 36.2% */
    width: 36.2%; 
}

/* --- ナビアニメーション --- */
.fukidashi-nav {
  animation: bounce 4s ease-in-out infinite;

}

@keyframes bounce {
  0%, 20%, 35%, 50%, 100% { 
    transform: translateY(0);
  }
  30% { 
    transform: translateY(-20px);
  }
  40% {
    transform: translateY(-10px);
  }
}

#btn-left {
    left: 0;
}

#btn-right {
    right: 0;
}

.fukidashi-nav img {
    width: 100%;
    height: auto;
    display: block;
}

/* 端まで行ったらボタンを隠す */
.state-left #btn-left, 
.state-right #btn-right {
    display: none;
}

/* 【レスポンシブ】 */
@media screen and (max-width: 1000px) {
    #hero-slider {
        /* すでに記述されている通り、アスペクト比を維持 */
        height: 141.4vw; 
    }
}

/* フッター */
.site-footer {
  background: #57c3ea;
  text-align: center;
}

.footer-inner {
	color: #FFF;
	max-width: 1200px;
	margin: 20px auto;
	padding: 10px;
}

/* フッターメニュー全体のコンテナ */
.footer-menu-container {
    width: 100%;
    margin: 20px auto 40px;
    display: flex;
    justify-content: center;
}

/* メニューのリスト */
.footer-menu-list {
    display: flex;
    flex-wrap: wrap; /* 折り返しを許可 */
    max-width: 300px; 
    padding: 0;
	overflow: hidden;
    list-style: none;
}

/* 各メニュー項目（2列の設定） */
.footer-menu-list li {
    width: 50%; /* 2列にする */
    box-sizing: border-box;
    text-align: left; /* テキストを左寄せ */
    margin-bottom: 5px; /* 上下の間隔 */
}

/* リンクのスタイル */
.footer-menu-list li a {
    display: block; /* クリック範囲を広げる */
    padding: 1px;
    text-decoration: none;
    font-size: 15px;
}
.copy{font-size: 11px;}

/* モバイル対応 */
@media (max-width: 480px) {
    .footer-menu-list li a {
        font-size: 14px;
    }
}

.rel-box { position: relative; }
.char-img01 {
    position: absolute;
    bottom: -110px;
    right: 10px;
    width: 130px;
    pointer-events: none; /* ←重要：キャラがボタンに重なっても、クリックを邪魔しない */
}

.char-img02 {
    position: absolute;
    bottom: -35px;
    left: 20%;
    width: 100px;
    pointer-events: none;
}

.char-img03 {
    position: absolute;
    top: -70px;
    left: 10px;
    width: 260px;
	z-index: 100;
    pointer-events: none;
}

.top40{    position: absolute;
    top: 220px;
    left: 0;
    width: 20%;
	z-index: 100;
    pointer-events: none;
}

.top10{    position: absolute;
    top: 220px;
    right: 0;
    width: 20%;
	z-index: 100;
    pointer-events: none;
}

.fade-in {
  /* アニメーション名、時間、遅延、モード、イージング */
  animation: fadeInUp 1s ease-out 0.5s forwards;
  opacity: 0; /* 初期は非表示 */
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px); /* 下に20pxずらした状態から開始 */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* 元の位置へ */
  }
}

.sns {
  padding:0;
  display: flex;
  justify-content: space-evenly;
	max-width: 500px;
	margin: 0 auto;	
}

.snsbt {height: 40px;}

@media (max-width: 480px) {
    /* 親要素を縦並びに強制変更 */
    .form_box.wp-block-columns {
        flex-direction: column !important;
        display: flex !important;
    }

    /* 各カラム（左・右）の横幅を100%にする */
    .form_box.wp-block-columns .wp-block-column {
        flex-basis: 100% !important;
        width: 100% !important;
        margin-left: 0 !important; /* WP標準の余白をリセット */
        margin-bottom: 30px;      /* 1つ目と2つ目の間に隙間を作る */
    }

    /* 最後の要素だけ下のマージンを消す */
    .form_box.wp-block-columns .wp-block-column:last-child {
        margin-bottom: 0;
    }

    /* 画像のサイズが大きすぎる場合はここで調整 */
    .form_box .wp-block-image img {
        width: 80%; /*
        height: auto;
    }
}

/* タブレット対応 */
@media screen and (max-width: 700px) and (min-width: 481px) {
    .char-img01 {
        width: 100px;
    }
	.char-img02 {
        width: 90px;
		left: 20px;
    }
	.char-img03 {
		top: -60px;
        width: 200px;
    }
	.top40{    
    top: 120px;
    left: 0;
	}
	.top10{    
    top: 120px;
    right: 0;
	}
}

/* モバイル対応 */
@media (max-width: 480px) {
    .char-img01 {
        width: 80px;
    }
	.char-img02 {
        width: 80px;
		left: 3px;
    }
	.char-img03 {
		top: -40px;
        width: 160px;
	}
	.top40{    
    top: 75px;
    left: 0;
	}
	.top10{    
    top: 75px;
    right: 0;
	}
	.to-form{width: 80%;}
	.chara-form{width: 80%;}	
}