@charset "utf-8";



/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@400;700&display=swap');


/*animation1のキーフレーム設定（開閉ブロックのアニメーションに使用）
---------------------------------------------------------------------------*/
@keyframes animation1 {
	0% {left: -200px;}
	100% {left: 0px;}
}


/*opa1のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes opa1 {
	0% {opacity: 0;}
	100% {opacity: 1;}
}


/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）
---------------------------------------------------------------------------*/
:root {

	--primary-color: #333;			/*テンプレートのメインまたはアクセントカラー*/
	--primary-inverse-color: #fff;	/*上のprimary-inverse-colorの対として使う色*/

	--global-space: 3vw;				/*サイト内の余白の一括管理用。画面幅100%＝100vwです。*/
}


/*全体の設定
---------------------------------------------------------------------------*/
body * {box-sizing: border-box;}

html,body {
	font-size: 16px;	/*基準となるフォントサイズ。*/
}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {

		html, body {
			font-size: 18px;	/*基準となるフォントサイズ。*/
		}

	}/*追加指定ここまで*/


body {
	margin: 0;padding:0;


font-family: "Times New Roman", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif; /* 上品な明朝体系 */

	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	-webkit-text-size-adjust: none;
	background: var(--primary-inverse-color);		/*背景色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	color: var(--primary-color);	/*文字色。css冒頭で指定しているprimary-colorを読み込みます*/
	line-height: 3;		/*行間*/

}

/*リセット*/
figure {margin: 0;}
dd {margin: 0;}
nav,ul,li,ol {margin: 0;padding: 0;}
nav ul {list-style: none;}
input {font-size: 1rem;}

/*ul,ol*/
ul,ol {margin-left: 1.5rem;margin-bottom: 1rem;}

/*table全般の設定*/
table {border-collapse:collapse;}

/*画像全般の設定*/
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}

/*videoタグ*/
video {max-width: 100%;}

/*iframeタグ*/
iframe {width: 100%;}

/*sectionが続く場合*/
section + section {
	margin-top: 8vw;	/*sectionの上に空けるスペース*/
}


/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {color: inherit;transition: 0.3s;}

a:hover {
	opacity: 0.7;	/*マウスオン時に色を80%に薄くする*/
}


/*container（サイト全体を囲むボックス）
---------------------------------------------------------------------------*/
#container {
	padding-left: var(--global-space);		/*左側の余白。css冒頭で指定しているglobal-spaceを読み込みます。*/
	padding-right: var(--global-space);		/*右側の余白。css冒頭で指定しているglobal-spaceを読み込みます。*/
}
#container2 {
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px 20px;
}


/*header（サイトロゴが入った最上部のボックス）
---------------------------------------------------------------------------*/
/*headerブロック*/
header {
	padding-top: 10px;		/*上側の余白。css冒頭で指定しているglobal-spaceを読み込みます。*/
	padding-bottom: 10px;	/*下側の余白。css冒頭で指定しているglobal-spaceを読み込みます。*/
	text-align: center;		/*中のテキストをセンタリング*/
}

/*TELブロック（header内のaddress）*/
header address {
	font-style: normal;
}

	/*画面幅901px以上の追加指定*/
	@media screen and (min-width:901px) {
	
	/*headerブロック*/
	header {
		display: flex;	/*直接の子要素を横並びにする*/
		justify-content: space-between;
		align-items: center;
	}
	
	}/*追加指定ここまで*/


/*ヘッダー内のロゴ
---------------------------------------------------------------------------*/
#logo a {text-decoration: none;display: block;}

/*ロゴ*/
#logo {
	margin: 0;padding: 0;
	font-size: 1.3rem;	/*文字サイズを150%に*/
}

/*ロゴを画像にする場合*/
#logo img {
	display: block;
	width: 200px;	/*ロゴ画像の幅*/
}


/*トップページのメイン画像
---------------------------------------------------------------------------*/
#mainimg {
	margin-bottom: 30px;	/*下に空けるスペース。css冒頭で指定しているglobal-spaceを読み込みます。*/
}


/*contents（左右のブロックを囲むボックス）
---------------------------------------------------------------------------*/
#contents {
	display: flex;	/*直接の子要素を横並びにする*/
	gap: var(--global-space);		/*左右のボックスの間に空けるスペース。css冒頭で指定しているglobal-spaceを読み込みます。*/
}


/*メインコンテンツ
---------------------------------------------------------------------------*/
main {
	flex: 1;
	line-height: 1.3;
}

h1 {
  font-size: 2rem;
	margin-top: 0;line-height: 1.5;
	padding-bottom: 1rem;
	margin-bottom: 0.6rem;
	border-bottom: 0px solid var(--primary-color);	/*下線の幅、線種、varは色の事でcss冒頭で指定しているprimary-colorを読み込みます*/
  text-shadow: 0px 0px 0px rgba(0, 0, 0, 0.1) !important;
  text-align: center;	/*テキストをセンタリング*/
}


/*h2見出し*/
main h2 {
	margin-top: 0;
	padding-bottom: 1rem;
	margin-bottom: 2rem;
	border-bottom: 1px solid var(--primary-color);	/*下線の幅、線種、varは色の事でcss冒頭で指定しているprimary-colorを読み込みます*/
}


/*サブコンテンツ
---------------------------------------------------------------------------*/
/*メニューを囲むブロック*/
#menubar {
	order: -1;		/*左側に表示させる。右側がいいならこの１行を削除。*/
	width: 230px;	/*幅。お好みで変更して下さい。*/
}

/*メニュー１個あたりの設定*/
#menubar li {
	border-bottom: 1px solid var(--primary-color);	/*下線の幅、線種、varは色の事でcss冒頭で指定しているprimary-colorを読み込みます*/
}
#menubar li a {
	padding-left: 1rem;	/*左側の余白*/
}

/*h3見出し*/
#menubar h3 {
	margin: 0;
	line-height:2;
	font-size: 1rem;
	background: var(--primary-color);	/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: var(--primary-inverse-color);	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	text-align: center;	/*テキストをセンタリング*/
  border-radius: 5px;
}


/*メニューブロック初期設定（※変更不要）
---------------------------------------------------------------------------*/
#menubar {opacity: 0;}
#menubar ul {list-style: none;margin: 0;padding: 0;}
#menubar a {display: block;text-decoration: none;}
.large-screen #menubar {opacity: 1;}
.small-screen #menubar.display-none {display: none;}
.small-screen #menubar.display-block {display: block;opacity: 1;}
#menubar_hdr.display-none {display: none;}


/*小さな端末用の開閉ブロック
---------------------------------------------------------------------------
/*メニューブロック設定*/
.small-screen #menubar.display-block {
	position: fixed;overflow: auto;z-index: 100;
	left: 0px;top: 0px;
	width: 100%;
	height: 100%;
	padding-top: 100px;	/*上に空ける余白。ハンバーガーアイコンと重ならない為の指定ですのでお好みで変更OK。*/
	color: var(--primary-color);	/*文字色。css冒頭で指定しているprimary-colorを読み込みます*/
	background: var(--primary-inverse-color);		/*背景色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	animation: animation1 0.2s both;
}

/*メニュー１個あたりの設定*/
.small-screen #menubar li {
	border: 1px solid var(--primary-color);	/*枠線の幅、線種、varは色の事でcss冒頭で指定しているprimary-colorを読み込みます*/
	margin: 1rem;			/*メニューの外側に空けるスペース*/
	border-radius: 5px;		/*角を丸くする指定*/
}
.small-screen #menubar a {
	padding: 1rem 3rem;		/*メニュー内の余白。上下、左右へ。*/
}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*３本バーを囲むブロック*/
#menubar_hdr {
	animation: opa1 0.3s 0.5s both;
	position: fixed;z-index: 101;
	cursor: pointer;
	top: 20px;		/*上からの配置場所*/
	right: 20px;	/*右からの配置場所*/
	width: 50px;	/*幅*/
	height: 50px;	/*高さ*/
	padding: 15px;	/*ブロック内の余白*/
	display: flex;
	justify-content: center;
	align-items: center;
	transition: transform 0.5s;
	background: rgba(0,0,0,0.6);	/*背景色*/
}

/*ここは変更不要*/
#menubar_hdr div {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

/*バーの設定*/
#menubar_hdr div span {
	display: block;
	width: 100%;
	height: 2px;			/*線の太さ*/
	background-color: #fff;	/*線の色*/
	border-radius: 2px;		/*コーナーを少しだけ丸く*/
	transition: all 0.5s ease-in-out;
	position: absolute;
}

/*以下変更不要*/
#menubar_hdr div span:nth-child(1) {top: 0;}
#menubar_hdr div span:nth-child(2) {top: 50%;transform: translateY(-50%);}
#menubar_hdr div span:nth-child(3) {bottom: 0;}
#menubar_hdr.ham div span:nth-child(1) {top: 50%;transform: translateY(-50%) rotate(45deg);}
#menubar_hdr.ham div span:nth-child(2) {opacity: 0;}
#menubar_hdr.ham div span:nth-child(3) {top: 50%;transform: translateY(-50%) rotate(-45deg);}


/*フッター設定
---------------------------------------------------------------------------*/
footer small {font-size: 100%;}
footer a {color: inherit;text-decoration: none;}
footer .pr {display: block;}

footer {
	font-size: 1rem;		/*文字サイズ。80%です。*/
	text-align: center;		/*内容をセンタリング*/
	padding-top: 5rem;
	margin-bottom: 2rem;
}


/*list-normal（service.htmlで使っている２カラムボックス）
---------------------------------------------------------------------------*/
/*ボックス１個あたり*/
.list-normal .list {
	display: flex;		/*直接の子要素を横並びにする*/
	gap: 2vw;			/*左右の間のマージン的なスペース*/
	margin-bottom: var(--global-space);	/*ボックスの下に空けるスペース。css冒頭で指定しているglobal-spaceを読み込みます。*/
	line-height: 2;		/*行間を少し狭く*/
}

/*テキストブロック*/
.list-normal .text {
	flex: 1;
}

/*画像ブロック*/
.list-normal figure {
	width: 40%;	/*幅。お好みで。*/
}

/*h4見出し*/
.list-normal h4 {
	margin: 0;
	margin-bottom: 0.5rem;	/*下に少しスペースをとる*/
	font-size: 1.2rem;	/*文字サイズを120%に*/
}

/*説明テキスト*/
.list-normal p {
	margin: 0;	
}


/*FAQ
---------------------------------------------------------------------------*/
.openclose {cursor: pointer;}

/*FAQ全体を囲むボックス*/
.faq {
	line-height: 2;	/*行間を少しせまくする*/
}

/*質問*/
.faq dt {
	position: relative;
	padding-left: 3rem; 	/*下の「回答」と数字部分を合わせる*/
	border: 1px solid var(--primary-color);	/*枠線の幅、線種、varは色の事でcss冒頭で指定しているprimary-colorを読み込みます*/
	padding-right: 1rem;	/*ボックス内の右側の余白*/
	margin-bottom: 1rem;	/*ボックスの外（下）に空けるスペース*/
	border-radius: 5px;		/*角を少しだけ丸くする*/
}

/*「Q」のテキスト*/
.faq dt::before {
	content: "Q.";			/*このテキストを表示させます*/
	position: absolute;
	left: 0;
	top: 0;
	padding-left: 1rem;		/*テキストの左側に空ける余白*/
}

/*回答*/
.faq dd {
	margin-left: 3rem;		/*上の「質問」と数字部分を合わせる*/
	margin-bottom: 1rem;	/*下に空けるスペース*/
}


/*テーブル（ta1）
---------------------------------------------------------------------------*/
/*ta1テーブルブロック設定*/
.ta1 {
	table-layout: fixed;
	width: 100%;				/*幅*/
	margin-bottom: 2rem;
}

.ta1, .ta1 td, .ta1 th {
	border: 1px solid var(--primary-color);	/*テーブルの枠線の幅、線種、varは色のことでcss冒頭で指定しているprimary-colorを読み込みます。*/
	padding: 1rem;			/*ボックス内の余白*/
	word-break: break-all;	/*英語などのテキストを改行で自動的に折り返す設定。これがないと、テーブルを突き抜けて表示される場合があります。*/
}

/*th（左側）のみの設定*/
.ta1 th {
	width: 25%;			/*幅*/
	text-align: left;	/*左よせにする*/
}


/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop-show {display: block;}

/*ボタンの設定*/
.pagetop a {
	display: block;text-decoration: none;text-align: center;z-index: 99;
	position: fixed;	/*スクロールに追従しない(固定で表示)為の設定*/
	right: 20px;		/*右からの配置場所指定*/
	bottom: 20px;		/*下からの配置場所指定*/
	color: #fff;		/*文字色*/
	background: rgba(0,0,0,0.2);	/*背景色。0,0,0は黒の事で0.2は色が20%出た状態。*/
	width: 60px;		/*幅*/
	line-height: 60px;	/*高さ*/
}


/*その他
---------------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.color-check, .color-check a {color: red !important;}
.l {text-align: left !important;}
.c {text-align: center !important;}
.r {text-align: right !important;}
.ws {width: 95%;display: block;}
.wl {width: 95%;display: block;}
.mb0 {margin-bottom: 0px !important;}
.mb30 {margin-bottom: 30px !important;}
.mb5vw {margin-bottom: 5vw !important;}
.look {display: inline-block;padding: 0px 10px;background: #fff;color: #333;border: 1px solid #ccc; border-radius: 3px;margin: 5px 0; word-break: break-all;}
.small {font-size: 0.75em;}
.large {font-size: 2em; letter-spacing: 0.1em;}
.pc {display: none;}
.dn {display: none !important;}
.block {display: block !important;}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {

	.ws {width: 48%;display: inline;}
	.sh {display: none;}
	.pc {display: block;}

	}/*追加指定ここまで*/

.table-a{
    margin:0px auto;
    margin-bottom:30px;
table-layout: fixed;
   width: 100%;
    margin-top:0px !important;
max-width: 1920px; /* 最大幅 */
}

.table-a th{
font-family: "Times New Roman", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif; /* 上品な明朝体系 */
    border:1px solid #ccc !important;
    text-align: center;
    font-size:18px;
 
    vertical-align: middle;
    padding:15px !important;
min-width: 80px; /* 最小幅 */
    line-height:1.4em;
background:#eeeeee;
   width: 25%;
}

.table-a td{
font-family: "Times New Roman", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif; /* 上品な明朝体系 */
    border:1px solid #ccc !important;
    text-align: left;
    font-size:18px;

    line-height:1.4em;
    vertical-align: middle;
    padding:15px !important;
min-width: 75%; /* 最小幅 */

}

@media (min-width: 240px) and (max-width: 640px) {
.table-a{
    margin-left:0px;
    border-top:1px solid #ccc !important;
    border-left:1px solid #ccc !important;
    border-right:1px solid #ccc !important;
    border-bottom:1px solid #ccc !important;
}
}


@media (min-width: 240px) and (max-width: 640px) {
    .table-a th{
        display:block;
    width: 100%;
    text-align: center;
    border-top:0px solid #eee !important;
    border-left:0px solid #eee !important;
    border-right:0px solid #eee !important;
    border-bottom:0px solid #eee !important;

}
}


@media (min-width: 240px) and (max-width: 640px) {
    .table-a td{
        display:block;
    width: 100%;
    text-align: center;
    border-top:0px solid #eee !important;
    border-left:0px solid #eee !important;
    border-right:0px solid #eee !important;
    border-bottom:0px solid #eee !important;
}
}

.table-b{
    margin:0px auto;
    margin-bottom:30px;
table-layout: fixed;
   width: 100%;
    margin-top:0px !important;
max-width: 1920px; /* 最大幅 */
}

.table-b th{
font-family: "Times New Roman", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif; /* 上品な明朝体系 */
    border:0px solid #ccc !important;
    text-align: left;
    font-size:18px;
 
    vertical-align: middle;
    padding:0px !important;
min-width: 80px; /* 最小幅 */
    line-height:1.4em;
background:#fff;
   width: 50%;
}

.table-b td{
font-family: "Times New Roman", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif; /* 上品な明朝体系 */
    border:0px solid #ccc !important;
    text-align: left;
    font-size:18px;

    line-height:1.4em;
    vertical-align: top;
    padding:30px 30px 0px 30px !important;
   width: 50%; /* 最小幅 */

}

@media (min-width: 240px) and (max-width: 640px) {
.table-b{
    margin-left:0px;
    border-top:1px solid #ccc !important;
    border-left:1px solid #ccc !important;
    border-right:1px solid #ccc !important;
    border-bottom:1px solid #ccc !important;
}
}


@media (min-width: 240px) and (max-width: 640px) {
    .table-b th{
        display:block;
    width: 100%;
    text-align: center;
    border-top:0px solid #eee !important;
    border-left:0px solid #eee !important;
    border-right:0px solid #eee !important;
    border-bottom:0px solid #eee !important;

}
}


@media (min-width: 240px) and (max-width: 640px) {
    .table-b td{
        display:block;
    width: 100%;
    text-align: left;
    border-top:0px solid #eee !important;
    border-left:0px solid #eee !important;
    border-right:0px solid #eee !important;
    border-bottom:0px solid #eee !important;
}
}

.table-c{
    margin:0px auto;
    margin-bottom:30px;
table-layout: fixed;
   width: 100%;
    margin-top:0px !important;
max-width: 1920px; /* 最大幅 */
}


.table-c th{
font-family: "Times New Roman", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif; /* 上品な明朝体系 */
    border:0px solid #ccc !important;
    text-align: center;
    font-size:16px;
 
    vertical-align: top;
    padding:20px !important;
min-width: 80px; /* 最小幅 */
    line-height:1.4em;
background:#fff;
   width: 50%;
}

.table-c td{
font-family: "Times New Roman", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif; /* 上品な明朝体系 */
    border:0px solid #ccc !important;
    text-align: left;
    font-size:16px;

    line-height:1.4em;
    vertical-align: top;
    padding:10px 20px 0px 20px !important;
min-width: 50%; /* 最小幅 */

}

@media (min-width: 240px) and (max-width: 640px) {
.table-c{
    margin-left:0px;
    border-top:1px solid #ccc !important;
    border-left:1px solid #ccc !important;
    border-right:1px solid #ccc !important;
    border-bottom:1px solid #ccc !important;
}
}


@media (min-width: 240px) and (max-width: 640px) {
    .table-c th{
        display:block;
    width: 100%;
    text-align: center;
    border-top:0px solid #eee !important;
    border-left:0px solid #eee !important;
    border-right:0px solid #eee !important;
    border-bottom:0px solid #eee !important;

}
}


@media (min-width: 240px) and (max-width: 640px) {
    .table-c td{
        display:block;
    width: 100%;
    text-align: left;
    border-top:0px solid #eee !important;
    border-left:0px solid #eee !important;
    border-right:0px solid #eee !important;
    border-bottom:0px solid #eee !important;
}
}


    6.5. ELEMENTS - CONTACT FORM
    ========================================================================= */
.wpcf7-form .contact-form-input-wrapper label {
  width: 100%;
  margin-bottom: 10px;
  color: #fff; }
.wpcf7-form .contact-form-input-wrapper.half-field {
  width: 48%;
  float: left; }
.wpcf7-form .contact-form-input-wrapper.field-with-margin {
  margin-left: 4%; }
.wpcf7-form .contact-form-input-wrapper .wpcf7-form-control-wrap {
  width: 100%;
  display: block; }
.wpcf7-form .contact-form-input-wrapper .wpcf7-text,
.wpcf7-form .contact-form-input-wrapper .wpcf7-email,
.wpcf7-form .contact-form-input-wrapper .wpcf7-textarea,
.wpcf7-form .contact-form-input-wrapper .wpcf7-date,
.wpcf7-form .contact-form-input-wrapper .wpcf7-number {
  padding: 10px 20px;
  margin-bottom: 35px;
  background-color: #fff;
  border: 1px solid #e3e3e3;
  width: 100%; }
  .wpcf7-form .contact-form-input-wrapper .wpcf7-text:focus,
  .wpcf7-form .contact-form-input-wrapper .wpcf7-email:focus,
  .wpcf7-form .contact-form-input-wrapper .wpcf7-textarea:focus,
  .wpcf7-form .contact-form-input-wrapper .wpcf7-date:focus,
  .wpcf7-form .contact-form-input-wrapper .wpcf7-number:focus {
    border-color: #d3d3d3; }
.wpcf7-form .contact-form-input-wrapper .wpcf7-text,
.wpcf7-form .contact-form-input-wrapper .wpcf7-email,
.wpcf7-form .contact-form-input-wrapper .wpcf7-date,
.wpcf7-form .contact-form-input-wrapper .wpcf7-number {
  height: 60px; }
.wpcf7-form .contact-form-input-wrapper p {
  padding-bottom: 0; }
.wpcf7-form .contact-form-input-wrapper .wpcf7-textarea {
  margin-left: 0;
  width: 100%;
  resize: none;
  height: 240px; }
.wpcf7-form .contact-form-input-wrapper ::-webkit-input-placeholder {
  color: #AAAAAA;
  font-size: 13px; }
.wpcf7-form .contact-form-input-wrapper :-moz-placeholder {
  color: #AAAAAA;
  font-size: 13px; }
.wpcf7-form .contact-form-input-wrapper ::-moz-placeholder {
  color: #AAAAAA;
  font-size: 13px; }
.wpcf7-form .contact-form-input-wrapper :-ms-input-placeholder {
  color: #AAAAAA;
  font-size: 13px; }
.wpcf7-form .wpcf7-submit {
  float: right;
  padding: 20px 30px;
  width: 100%;
  text-transform: uppercase;
  font-weight: 500;
  color: #fff;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  background-color: #0099cc;
  -webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  -o-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s; }
  .wpcf7-form .wpcf7-submit.wpcf7-submit-full {
    width: 100%; 
  
}

.wpcf7-form .wpcf7-submit:hover {
  background: #006699;

}

.g-recaptcha {
  margin-bottom: 35px; }

.dark-theme .wpcf7-form .wpcf7-text,
.dark-theme .wpcf7-form .wpcf7-email,
.dark-theme .wpcf7-form .wpcf7-textarea,
.dark-theme .wpcf7-form .wpcf7-date,
.dark-theme .wpcf7-form .wpcf7-number {
  background-color: transparent;
  border-color: #333333;
  color: #fff; }
  .dark-theme .wpcf7-form .wpcf7-text:focus,
  .dark-theme .wpcf7-form .wpcf7-email:focus,
  .dark-theme .wpcf7-form .wpcf7-textarea:focus,
  .dark-theme .wpcf7-form .wpcf7-date:focus,
  .dark-theme .wpcf7-form .wpcf7-number:focus {
    border-color: rgba(255, 255, 255, 0.3); }
.dark-theme .wpcf7-form ::-webkit-input-placeholder {
  color: #555555; }
.dark-theme .wpcf7-form :-moz-placeholder {
  color: #555555; }
.dark-theme .wpcf7-form ::-moz-placeholder {
  color: #555555; }
.dark-theme .wpcf7-form :-ms-input-placeholder {
  color: #555555; }

.music-band .wpcf7-form label, .music-band .wpcf7-form .wpcf7-submit {
  font-family: "TrashHand", Arial, sans-serif;
  font-size: 16px; }
.music-band .wpcf7-form label {
  margin-bottom: 20px; }

  p {
  line-height: 1.5; /* フォントサイズの1.5倍 */
}

.center-text {
  text-align: center;
}
.container {
  display: flex; /* Flexboxを有効にする */
  align-items: center; /* 垂直方向の中央揃え */
  gap: 10px; /* 画像とテキストの間に20pxの余白を設ける */
  padding: 0px;
}

.image {
  width: 35%; /* 画像の幅をコンテナの50%に設定 */
  height: auto; /* 高さを自動調整 */
}

.text-content {
  width: 65%; /* テキストの幅をコンテナの50%に設定 */
  background-color: #fff;
  color: #000;
  padding: 10px;
  border-radius: 5px;
}

.maru{
      border-radius: 5px;
    }

/* --- レスポンシブ対応 --- */
@media (max-width: 768px) {
  .container {
    flex-direction: column; /* 画面幅が768px以下の場合、縦に並べる */
    align-items: flex-start; /* 縦並びの時は左寄せにする */
  }

  .image,
  .text-content {
    width: 100%; /* 画像とテキストの幅を100%に広げる */
  }

  /* スマートフォン表示時もテキストの背景と色は維持 */
  .text-content {
    padding: 10px; /* スマートフォンではパディングを少し小さくする */
  }
}
.image-container {
  display: flex; /* 子要素を横並びにする */
  flex-wrap: wrap; /* 画面幅に合わせて子要素を折り返す */
  justify-content: space-around; /* 子要素の間に均等なスペースを空ける（必要に応じて調整） */
}

.image-item {
  /* PCでの表示幅を1/3に設定 */
  flex-basis: calc(33.333% - 2em); /* 2emは左右のmarginやpaddingの合計値 */
  margin: 1em; /* 子要素の余白 */
  box-sizing: border-box; /* paddingとborderをwidthに含める */
}

/* スマートフォン（例：幅480px以下）での表示 */
@media screen and (max-width: 480px) {
  .image-item {
    flex-basis: 100%; /* スマートフォンでは1カラム表示 */
    margin: 0.5em;
  }
}

/* 画像の表示をレスポンシブにするための設定 */
.image-item img {
  width: 100%; /* 親要素の幅に合わせる */
  height: auto; /* アスペクト比を保って高さを自動調整 */
  display: block; /* 画像の下に余白が入らないようにする */
}
    .box img{
      border-radius: 5px;
    }

    /* --- スマートフォン・タブレット向けの追加微調整 --- */

@media screen and (max-width: 768px) {
    /* 1. 全体の余白調整 */
    #container2 {
        padding: 10px 15px !important; /* 外側の余白を少し詰め、コンテンツを広く見せる */
    }

    /* 2. ヘッダー周りの整理 */
    header {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
    #logo {
        margin-bottom: 10px;
    }
    
    #logo img {
        margin: 10px auto; /* ロゴ画像を中央に */
    }

    /* 3. コンテンツ内の画像＋テキスト(.container)の調整 */
    .container {
        gap: 15px; /* 画像とテキストの隙間を調整 */
    }

    .container .image {
        margin-bottom: 15px; /* 縦に並んだ際、画像の下に余白を作る */
    }

    .container p {
        line-height: 1.8; /* スマホで長文が読みやすいよう行間を調整 */
        margin-bottom: 1.2rem;
        text-align: justify; /* 両端を揃えて綺麗に見せる */
    }

    /* 4. 3枚並び画像(.image-container)の調整 */
    .image-container.box {
        margin-top: 30px;
    }
    
    .image-item {
        margin: 0 0 20px 0 !important; /* スマホでは横の余白を消し、下にだけ余白を空ける */
        flex-basis: 100% !important; /* 確実に1枚ずつ縦並びにする */
    }

    /* 5. フッターの文字サイズ */
    footer {
        padding-top: 3rem;
        font-size: 0.9rem;
    }
}

/* 非常に小さい画面（iPhone SEなど）への対応 */
@media screen and (max-width: 375px) {
    html, body {
        font-size: 15px; /* 文字が溢れないようわずかに小さく */
    }
}
/* --- ヘッダーレイアウトの修正（画像再現用） --- */

@media screen and (min-width: 901px) {
    header {
        display: flex;
        justify-content: space-between; /* 3つの要素を左・中・右に分散 */
        align-items: center;            /* 上下中央揃え */
        padding: 20px 0;
    }

    #logo {
        flex: 1;
        text-align: left;
        font-size: 1.2rem;
        margin: 0;
    }

    .logo-mark {
        flex: 1;
        text-align: center;
    }

    .logo-mark img {
        width: 180px; /* 画像のサイズに合わせて調整してください */
        height: auto;
    }

    .header-subtext {
        flex: 1;
        text-align: right;
        font-size: 0.9rem;
        margin: 0;
        color: #666;
    }
}

/* スマホ表示時の調整 */
@media screen and (max-width: 900px) {
    header {
        display: block;
        text-align: center;
    }
    .logo-mark img {
        margin: 10px auto;
    }
    .header-subtext {
        margin-top: 5px;
    }
}
/* --- 修正後 --- */
#menubar .menu-title {
    margin: 0;
    line-height: 2;
    font-size: 1rem;
    background: var(--primary-color);
    color: var(--primary-inverse-color);
    text-align: center;
    border-radius: 5px;
    font-weight: bold; /* 見出しらしく太字に */
}
/* スマホ用メニューボタンの背景を強化 */
#menubar_hdr {
    background-color: rgba(255, 255, 255, 0.8); /* 白の半透明背景 */
    width: 50px;
    height: 50px;
    border-radius: 50%; /* 円形にする */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* 軽い影で浮かせる */
    
    /* 位置の微調整（右上に固定する場合） */
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1000;
    
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 三本線の色もはっきりさせる */
#menubar_hdr .menu-icon span {
    background-color: #333; /* 濃いグレー */
}