@charset "utf-8";


/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tangerine&display=swap');


/*keyframes.cssの読み込み
---------------------------------------------------------------------------*/
/* @import url("keyframes.css"); */ /* keyframes.cssが外部ファイルで存在するならこの行を残す */

/* keyframes.cssの内容を直接記述 (安全のためここに統合) */
@keyframes opa1 {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes opa2 {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes frame1 {
    0% { transform: translateX(100%); }
    100% { transform: translateX(0); }
}


/*全端末（PC・タブレット・スマホ）共通設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/

/*全体の設定
---------------------------------------------------------------------------*/
body {
	margin: 0px;
	padding: 0px;
	color: #333;	/*全体の文字色*/
	/*font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;-*/
	font-family:"Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
	font-size: 18px;	/*文字サイズ*/
	line-height: 2;		/*行間*/
	/*background: #fafafa;
	-webkit-text-size-adjust: none;*/
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,form {margin: 0px;padding: 0px;font-size: 100%;font-weight: normal;}
ul {list-style-type: none;}
ol {padding-left: 40px;padding-bottom: 15px;}
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}
table {border-collapse:collapse;font-size: 100%;border-spacing: 0;}
video {max-width: 100%;}
iframe {width: 100%;}

/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #333;		/*リンクテキストの色*/
	transition: 0.2s;	/*マウスオン時の移り変わるまでの時間設定。0.2秒。*/
}
a:hover {
	color: #ff0909;			/*マウスオン時の文字色*/
	text-decoration: none;	/*マウスオン時に下線を消す設定。残したいならこの１行削除。*/
}

/*inner
---------------------------------------------------------------------------*/
.inner {
	max-width: 1400px;	/*サイトの最大幅*/
	margin: 0 auto;
	padding-left: 2%;
	padding-right: 2%;
}

/*ヘッダー
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	position: relative;
	padding: 20px;	/*ヘッダー内の余白*/
}
/*ヘッダーブロック（トップページへの追加設定）*/
.home header {
	/*padding: 60px 0px 30px;*/
}
/*ロゴ画像*/
header #logo {
	width: 100%;
	margin: 0 auto;
	text-align: center;
}

/*ロゴ画像*/
header #logo img {
	width: 100%;
	max-width:800px;
}

/*ロゴ画像（トップページへの追加設定）*/
.home header #logo {
/*	display: none;*/	/*スライドショーの邪魔なので非表示に*/
}

/*ロゴ画像*/
header #logo_sub {
	max-width: 1400px;
	margin: 0 auto;
	padding-left: 2%;
	padding-right: 2%;
	text-align: left;
}

img.header_sub_logo{
	width:500px;
}

.new_top_banner {
	text-align:center;margin:35px auto 40px;
}

.new_top_banner img{
	width: 80%;max-width:580px;
}

/*メインメニューのブロック
---------------------------------------------------------------------------*/
/*メニューブロック*/
#menubar {
	position: relative;z-index: 10;
	text-align: center;	/*文字を中央に*/
	background: #fff;	/*背景色*/
	border-top: 1px solid #ccc;		/*上の線の幅、線種、色*/
	border-bottom: 1px solid #ccc;	/*下の線の幅、線種、色*/
	font-family: 'Questrial', sans-serif;	/*冒頭で読み込んだGoogle Fontsを適用する指定*/
	height: 105px;	/*高さ。「#menubar ul li a」や「fixmenu」とも連動するので変更の際は注意。説明はこの下の「#menubar ul li a」で書いています。*/

}
/*メニュー１個あたりの設定*/
#menubar ul li {
	float: left;	/*左に回り込み*/
	width: 15%;		/* 5つのメニュー項目に合わせて幅を調整 (100% / 5 = 20%) */
	font-size: 20px;	/*文字サイズ*/
	position: relative; /* ドロップダウンメニューを正しく配置するために必要 */
}
#menubar ul li a {
	text-decoration: none;display: block;
	height: 85px;		/*メニューブロックの高さ。ここの「85」と、下の行の「20」を合計した「105」の数字と、上の「#menubar」の「height」および下のfixmenu設定に２箇所ある「margin-top」の数字を合わせて下さい。*/
	padding-top: 20px;	/*メニューブロックの高さプラス、上に空ける余白。メニューテキストの上下の配置バランスをここで調整して下さい。※変更の際は、上の行の注意書きもしっかり読んで下さい。*/
    /* padding-right: 20px; */ /* 矢印分のスペースを削除 */
}
/*飾り文字*/
#menubar ul li span {
	display: block;
	font-size: 10px;	/*文字サイズ*/
	color: #999;		/*文字色*/
	letter-spacing: 0.2em;	/*文字間隔を少し広くとる設定*/
}
/*スマホ用メニューを表示させない (PC表示時) */
#menubar-s {display: none;}
/*３本バーアイコンを表示させない (PC表示時) */
#menubar_hdr {display: none;}

/*ドロップダウンメニューの親メニュー*/
#menubar a.cursor-default {
	/* cursor: default; */ /* カーソルを指マークにするため、defaultを削除 */
	color: #333;		/*文字色*/
}

/* ドロップダウンメニューの矢印 (PC) - 完全に削除 */
/* #menubar ul li a.cursor-default::after { ... } */
/* #menubar ul li:hover > a.cursor-default::after { ... } */


/*ドロップダウンメニュー用 (PC) */
/*メニューブロック*/
#menubar ul.ddmenu {
	position:absolute;visibility: hidden;z-index: 10;
    left: 50%; /* 親要素の中心に配置 */
    transform: translateX(-50%); /* 中央寄せ */
	min-width: 180px; /* サブメニューの最小幅を少し広めに調整 */
	padding: 10px 0; /* 上下左右の余白を調整 */
	background: #fff;	/*背景色。古いブラウザ用。*/
	background: rgba(255,255,255,0.95);	/*背景色。白い背景、95%色がついた状態 */
	text-align: left;	/*テキストを左寄せに*/
	border-bottom: none;	/*境界が見辛いので、下線の設定。*/
    border-radius: 0 0 5px 5px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    border: 1px solid #ddd;
}
/*ドロップダウンメニューの出現アニメーション*/
#menubar li:hover ul.ddmenu {
	animation-name: opa1;		/*keyframes.cssで使う@keyframesの指定*/
	animation-fill-mode: both;
	animation-duration: 0.5s;	/*アニメーションを実行する時間。「s」は秒の事。*/
    animation-timing-function: ease-out; /* アニメーション速度調整 */
	animation-delay: 0s;		/*出現するタイミング（秒後）*/
    visibility: visible;
}
/*メニュー１個あたりの設定*/
#menubar ul.ddmenu li {
	float: none;
	width: 100%; /* 縦に並ぶように幅を100%に */
	display: block;
	font-size: 85%;	/*文字サイズ*/
    white-space: nowrap; /* テキストの折り返しを防ぐ */
}
#menubar ul.ddmenu li a {
	height: auto;
	padding: 10px 20px;	/*メニューテキスト同士の余白*/
	color: #333;	/*文字色*/ /* 黒に近い色に変更 */
	opacity: 1;	/*透明度。70%色がついた状態。*/
}
/*マウスオン時*/
#menubar ul.ddmenu li a:hover {
	background-color: #f0f0f0;	/* ホバー時の背景色を明るいグレーに */
	color: #db3432;		/* ★修正: ホバー時の文字色を赤に変更 */
	opacity: 1;		/*透明度。色が100%出た状態。*/
}

/*fixmenu設定（メニューが画面上部に到達した際のスタイル）
---------------------------------------------------------------------------*/
/*上部固定メニュー用fixmenu設定*/
body.is-fixed-menu #menubar.nav-fix-pos {
	position: fixed;width: 100%;top: 0px;
	height: 60px;	/*メニューの高さを少し狭くする*/
}
body.is-fixed-menu #contents {
	margin-top: 105px;	/*※上の「#menubar ul li a」の注意書きにある数字を指定します。*/
}
/*※以下の２ブロックのスタイルの「中身」は、上の２ブロックのスタイルと単純に合わせておいて下さい。*/
body.is-fixed #menubar.nav-fix-pos {
	position: fixed;width: 100%;top: 0px;
}
body.is-fixed #contents {
	margin-top: 105px;	/*※上の「#menubar ul li a」の注意書きにある数字を指定します。*/
}

/*装飾文字を非表示にする*/
body.is-fixed-menu #menubar ul li span {
	display: none;
}
/*メニューテキストの上下バランスを調整しなおす。２つの数字の合計と、「body.is-fixed-menu #menubar.nav-fix-pos」の「height: 60px;」の数字が合うようにして下さい。*/
body.is-fixed-menu #menubar ul li a {
	height: 50px;
	padding-top: 10px;
}
/*ドロップダウンメニューへの再設定*/
body.is-fixed-menu #menubar ul.ddmenu {
    top: 60px;
}
body.is-fixed-menu #menubar ul.ddmenu li a {
	padding: 20px;
	height: auto;
}

/*コンテンツ
---------------------------------------------------------------------------*/
#contents {
	padding: 0px 50px !important;
	position: relative;
	animation-name: opa2;	/*keyframes.cssで使う@keyframesの指定*/
	animation-duration: 0.5s;	/*アニメーションの実行時間*/
	animation-delay: 0.5s;		/*出現するタイミング（秒後）*/
	animation-fill-mode: both;
}
/*h2タグ*/
#contents h2 {
/*
    clear: both;
    margin-top: 50px;
    margin-bottom: 80px;
    font-size: 200%;
    text-align: center;
    letter-spacing: 0.2em;
    background: #DB3431;
    color: #fff;
    padding: 10px 0 20px;
    */
}

/*画面幅768px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:768px){
	#contents h2 {
		font-size: 150% !important;
	}
}


/*h2タグ内のspanタグ（装飾文字）*/
#contents h2 span {
/*
    display: block;
    font-size: 50%;
    color: #fff;
    */
}
/*h3タグ*/
#contents h3 {
    clear: both;
    margin-bottom: 12px;
    font-size: 110%;
    /*border-bottom: 1px solid #ccc;*/
    border-bottom: none;
    padding-left: 1%;
    text-align:left;
}
/*段落タグ*/
#contents p {
	padding: 0 3% 30px;	/*上、左右、下への余白*/
}
#contents h2 + p,
#contents h3 + p {
	margin-top: -5px;
}
#contents p + p {
	margin-top: -10px;
}
#contents section + section {
	margin-top: 20px;
}

/*list（worksページで使っている横長ブロック）*/
#contents .list {
	position: relative;
	border-radius: 5px;				/*角丸の指定。ほんの少し角が丸くなります。*/
	overflow: hidden;				/*角丸から内容が飛び出ないよう、飛び出た部分を非表示にする指定*/
	display: flex;
	align-items: center;			/*中のブロックの縦並びの揃え方*/
	background: #000;		/*背景色*/
	color: #fff;			/*文字色*/
	margin: 0 3% 30px;		/*ボックスの下に空けるスペース。上、左右、下への順番。*/
}
/*リンクテキストの文字色*/
#contents .list a {
	color: #fff;
}
/*ボックス内のh4（見出し）タグ*/
#contents .list h4 {
	margin-bottom: 20px;	/*下のテキストとの間に空けるスペース*/
	font-size: 140%;		/*文字サイズ*/
}
/*ボックス内のp（段落）タグ*/
#contents .list p {
	padding: 0;		/*余白のリセット*/
}
/*ボックス内のfigure画像*/
#contents .list figure {
	width: 50%;		/*画像の幅*/
}
/*「class="text"」を指定したブロック。テキストブロック。*/
#contents .list .text {
	width: 40%;		/*ブロックの幅。下のpaddingの5%とも連動するので変更の際は注意して下さい。*/
	padding: 2% 5%;	/*上下、左右へのブロック内の余白*/
}

/*偶数目のブロックの設定（画像とテキストブロックが左右交互に入れ替わる設定です。全部同じむきがよければこのブロックを削除します。）*/
#contents .list:nth-of-type(even) .text {
	order: 1;
}

/*装飾文字の設定（共通）*/
#contents .list::before {
	font-size: 18vw;
	line-height: 1;
	position: absolute;
	color: rgba(255,255,255,0.15);	/*文字色。255,255,255は白のことで、0.15は色が15%出た状態のこと。*/
	font-family: 'Tangerine', cursive;	/*冒頭で読み込んだGoogle Fontsを適用する指定*/
}
/*奇数番目のブロックの文字の配置場所指定*/
#contents .list:nth-of-type(odd)::before {
	left: -60px;
	top: -40px;
}
/*偶数番目のブロックの文字の配置場所指定*/
#contents .list:nth-of-type(even)::before {
	right: 0px;
	top: -40px;
}
/*１つ目ブロックに表示させるテキスト*/
#contents .list:nth-of-type(1)::before {
	content: "Works1";
}
/*２つ目ブロックに表示させるテキスト*/
#contents .list:nth-of-type(2)::before {
	content: "Works2";
}
/*３つ目ブロックに表示させるテキスト*/
#contents .list:nth-of-type(3)::before {
	content: "Works3";
}

/*ボックス内のボタン（共通）*/
.btn1 a {
	display: block;
	text-decoration: none;
	border: 1px solid #fff;		/*枠線の幅、線種、色*/
	text-align: center;			/*テキストをセンタリング*/
	padding: 10px 30px;			/*上下、左右へのボタン内の余白*/
	margin: 40px auto 0;		/*上、左右、下へのボックスの外側への余白*/
}
/*ボタンのマウスオン時（共通）*/
.btn1 a:hover {
	background: #fff;	/*背景色*/
	color: #000 !important;		/*文字色*/
}

/*list-column（トップページで使っている３列ブロック）*/
/*カラムブロック全体を囲むボックス*/
#contents .list-column-container {
	display: flex;
	justify-content: space-between;	/*中のブロックの横並びの揃え方*/
	flex-wrap: wrap;				/*中のブロックを自動で折り返す*/
	margin: 0 3%;
}
/*１カラムあたりの設定*/
#contents .list-column {
	display: flex;
	flex-direction: column;			/*中のブロックを並べる向きの指定。これは縦に並べる意味。*/
	width: 32%;						/*ブロック幅*/
	margin-bottom: 20px;			/*ブロックの下に空ける余白*/
	/*background: #000;	*/			/*背景色*/
	color: #555;					/*文字色*/
	border-radius: 5px;				/*角丸の指定。ほんの少し角が丸くなります。*/
	overflow: hidden;				/*角丸から内容が飛び出ないよう、飛び出た部分を非表示にする指定*/
}
/*リンクテキストの文字色*/
#contents .list-column a {
	color: #fff;
}
/*ボックス内のh4（見出し）タグ*/
#contents .list-column h4 {
	margin-bottom: 20px;	/*下のテキストとの間に空けるスペース*/
	font-size: 140%;		/*文字サイズ*/
}
/*ボックス内のp（段落）タグ*/
#contents .list-column p {
	padding: 0;		/*余白のリセット*/
	text-align:left;
	
}

/*「class="text"」を指定したブロック。テキストブロック。*/
#contents .list-column .text {
    padding: 5%;
    flex: 1 0 auto;
    background: #fff;
    margin-top: 10px;
    font-size:16px;
}
/*IEバグ対応*/
#contents .list-column figure {
	min-height: 0%;
}

/*フッター設定
---------------------------------------------------------------------------*/
footer {
	clear: both;position: relative;z-index: 1;
	font-size: 80%;	/*文字サイズ*/
	background: #222;	/*背景色*/
	color: #ccc;		/*文字色*/
	text-align: center;
}
footer a {color: #ccc;}
footer a:hover {color: #fff;}
footer .pr {display: block;font-size: 80%;}

/*フッターメニュー
---------------------------------------------------------------------------*/
/*ボックス全体*/
#footermenu {
  overflow: hidden;
  padding: 50px 0;
  background: url(../images/mika_logo_piano2.png) no-repeat right center / 7%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* ←中央寄せ */
  gap: 40px;               /* カラム間の余白を調整 */
}

/* 各カラム */
#footermenu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: auto;     /* 固定幅をやめて自動幅に */
  min-width: 140px; /* カラムの最小幅を確保 */
  text-align: left;
}

/* リンク */
#footermenu li a {
  text-decoration: none;
  opacity: 0.7;
  font-size: 14px;
  color: #fff;
  display: inline-block;
  margin-bottom: 6px;
}
#footermenu li a:hover {
  opacity: 1;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
  #footermenu {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2列 */
    gap: 20px 40px; /* 上下20px, 左右40pxの余白 */
    justify-items: center; /* 各項目を中央寄せ */
    background-size: 15%;
  }
  #footermenu ul {
    width: 100%;
    min-width: auto;
    text-align: center;
    padding: 0;
  }
  #footermenu li a {
    font-size: 15px; /* タップしやすく少し大きめ */
    display: block;
    margin-bottom: 8px;
  }
}
/*コピーライト
---------------------------------------------------------------------------*/
#copyright {
	clear: both;
	text-align: center;
	background: #000;	/*背景色*/
	padding: 20px 0;	/*上下、左右へのボックス内の余白*/
}
#copyright a {text-decoration: none;}

/*facebookやtwitterなどのアイコン
---------------------------------------------------------------------------*/
/*アイコン全体を囲むブロック*/
ul.icon {
	margin-bottom: 20px;
}
/*アイコン１個あたりの設定*/
ul.icon li {
	display: inline-block;	/*横並びにさせる指定*/
}
/*アイコン画像の設定*/
ul.icon img {
	width: 30px;		/*画像の幅*/
}
ul.icon img:hover {
	opacity: 0.8;
}

/*トップページ内「更新情報・お知らせ」ブロック*/
#new dl {
	padding: 0px 20px;		/*上下、左右へのブロック内の余白*/
}
/*日付設定*/
#new dt {
	float: left;
	width: 9em;		/*幅*/
	letter-spacing: 0.1em;
}
/*記事設定*/
#new dd {
	padding-left: 9em;
}

/*ta1設定
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption, .ta2 caption {
	border: 1px solid #ccc;	/*テーブルの枠線の幅、線種、色*/
	border-bottom: none;	/*下線だけ消す*/
	text-align: left;		/*文字を左寄せ*/
	background: #eeece4;	/*背景色*/
	font-weight: bold;		/*太字に*/
	padding: 10px;	/*ボックス内の余白*/
}
/*ta1テーブル*/
.ta1 {
	width: 94%;
	table-layout: fixed;
	margin: 0 3% 30px;
	background: #fff;	/*背景色*/
}
.ta1, .ta1 td, .ta1 th {
	border: 1px solid #ccc;	/*テーブルの枠線の幅、線種、色*/
	padding: 10px;	/*ボックス内の余白*/
	word-break: break-all;
}
/*左側ボックス*/
.ta1 th {
	width: 150px;	/*幅*/
	text-align: center;	/*センタリング*/
	font-weight: normal;
}

/*inputボタン
---------------------------------------------------------------------------*/
#contents input[type="submit"].btn,
#contents input[type="button"].btn,
#contents input[type="reset"].btn {
	-webkit-appearance: none;
	outline: none;
	padding: 5px 20px;		/*上下、左右へのボックス内の余白*/
	border: 1px solid #333;	/*枠線の幅、線種、色*/
	font-size: 130%;		/*文字サイズ*/
	border-radius: 3px;		/*角丸のサイズ*/
	background: #333;		/*背景色*/
	color: #fff;			/*文字色*/
}
/*マウスオン時の設定*/
#contents input[type="submit"].btn:hover,
#contents input[type="button"].btn:hover,
#contents input[type="reset"].btn:hover {
	border: 1px solid #333;	/*枠線の幅、線種、色*/
	background: #fff;		/*背景色*/
	color: #333;			/*文字色*/
}

/*トップページのNEWアイコン*/
.newicon {
	background: #F00;	/*背景色*/
	color: #FFF;		/*文字色*/
	font-size: 70%;		/*文字サイズ*/
	line-height: 1.5;
	padding: 2px 5px;
	border-radius: 2px;
	margin: 0px 5px;
	vertical-align: text-top;
}

/*ヘッダーにメニューが固定される分、リンク先が隠れるのを防ぐ為のスタイル。※ページ内へのリンクで使う。*/
.link {
	display: block;
	margin-top: -120px;
	padding-top: 120px;
}

/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
/*通常時のボタンは非表示*/
body .nav-fix-pos-pagetop a {display: none;}
/*fixmenu_pagetop.jsで設定している設定値になったら出現するボタンスタイル*/
body.is-fixed-pagetop .nav-fix-pos-pagetop a {
	display: block;text-decoration: none;text-align: center;
	width: 50px;		/*幅*/
	line-height: 50px;	/*高さ*/
	z-index: 1;
	position: fixed;
	bottom: 20px;	/*下から20pxの場所に配置*/
	right: 3%;		/*右から3%の場所に配置*/
	background: #666;	/*背景色（古いブラウザ用）*/
	background: rgba(0,0,0,0.6);	/*背景色。0,0,0は黒の事。0.6は60%色がついた状態。*/
	color: #fff;	/*文字色*/
	border: 1px solid #fff;	/*枠線の幅、線種、色*/
	animation-name: opa1;	/*keyframes.cssで使う@keyframesの指定*/
	animation-duration: 1S;	/*アニメーションの実行時間*/
	animation-fill-mode: both;	/*アニメーションの待機中は最初のキーフレームを維持、終了後は最後のキーフレームを維持。*/
}
/*マウスオン時*/
body.is-fixed-pagetop .nav-fix-pos-pagetop a:hover {
	background: #999;	/*背景色*/
}

/*ul.disc,olタグ
---------------------------------------------------------------------------*/
ul.disc {
	list-style: disc;
	padding: 0 3% 20px 6%;
}
ol {
	padding: 0 3% 20px 6%;
}

/*その他
---------------------------------------------------------------------------*/
.look {background: #fff;border: 1px solid #ccc;display: inline-block;padding: 0px 10px !important;border-radius: 4px;}
p.look {margin: 0 3%;}
.mb15,.mb1em {margin-bottom: 15px !important;}
.mb20 {margin-bottom: 20px !important;}
.mb30 {margin-bottom: 30px !important;}
.mb50 {margin-bottom: 50px !important;}
.clear {clear: both;}
.color1, .color1 a {color: #ff0909 !important;}
.pr {font-size: 10px;}
.wl {width: 96%;}
.ws {width: 50%;}
.c {text-align: center !important;}
.r {text-align: right !important;}
.l {text-align: left !important;}
.fl {float: left;}
.fr {float: right;}
.big1 {font-size: 30px;}
.mini1 {font-size: 11px;display: inline-block;line-height: 1.5;}
.sh {display: none;}



/*画面幅768px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:768px){

/*全体の設定
---------------------------------------------------------------------------*/
body {
	font-size: 2vw;	/*文字サイズ*/
}

/*ヘッダー
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	border-bottom: 1px solid #ccc;
}
/*ヘッダーブロック（トップページへの追加設定）*/
.home header {
	border: none;
}

.new_top_banner {
	text-align:center;
	margin:15px auto 20px;
}

.new_top_banner img{
	width: 90%;
	max-width:580px;
}

/*メインメニュー
---------------------------------------------------------------------------*/
/*スマホ用メニューブロック全体*/
#menubar-s {
	overflow: auto;height: 100%;
	position: fixed;z-index: 100;
	top: 0px;
	width: 100%;
	background: rgba(0,0,0,0.8);	/*背景色*/
	border-top: 1px solid #fff;		/*上の線の幅、線種、色*/
	animation-name: frame1;		/*冒頭のkeyframesの名前*/
	animation-duration: 0.5s;	/*アニメーションの実行時間。0.5秒。*/
	animation-fill-mode: both;	/*待機中は最初のキーフレームを、完了後は最後のキーフレームを維持*/
	font-size: 16px;			/*文字サイズ*/
    display: none; /* JavaScriptでopenクラスが付与されるまで非表示 */
}
#menubar-s.open { /* JavaScriptでopenクラスが付与されたら表示 */
	display: block;
}
#menubar-s li span {
	margin-left: 20px;
	font-size: 80%;
}
/*メニュー１個あたりの設定と、子メニューの見出し。*/
#menubar-s ul li a{
	display: block;text-decoration: none;
	padding: 30px 20px 30px 60px; /* 親メニューの左パディング */
	border-bottom: 1px solid rgba(255,255,255,0.2); /* 線を少し薄く */
	color: #fff;		/* 親メニューの文字色 */
	background-color: rgba(0,0,0,0.8); /* 親メニューの背景色を明示 */
}
/*PC用メニューを非表示にする*/
#menubar {display: none;}

/*子メニュー
---------------------------------------------------------------------------*/
/*子メニューの見出しの追加。基本は上のブロックで設定しています。*/
/* #menubar_hdr2 は削除 */

/*子メニューメニューブロック全体*/
#menubar-s ul.sp-submenu {
	display: block; /* ★常に表示状態にする */
	margin-top: 0px;
	border-radius: 0;
	background: rgba(0,0,0,0.5);
	border: none;
	padding: 0;
}
/*「＞」アイコン設定*/
#menubar-s ul li a.sp-parent-menu-link {
    position: relative;
    background-color: #333; /* 親メニュー（サブメニューを持つ）の背景を少し濃くして区別 */
    border-bottom: 1px solid rgba(255,255,255,0.3); /* 線を少し濃く */
}
/* スマホメニューの矢印 (▼アイコンのみ表示、回転なし) - 常に▼を表示したいので transition は削除 */
#menubar-s ul li a.sp-parent-menu-link::after {
    content: '▼'; /* 常に▼アイコンを表示 */
    position: absolute; right: 20px; top: 50%;
    transform: translateY(-50%); /* 中央寄せ */
    font-size: 0.8em; color: #fff;
    /* transition: none; */ /* アニメーションは不要なので削除 */
}
/* ▲への変化は不要なので削除 */
/* #menubar-s ul li a.sp-parent-menu-link.open::after { transform: translateY(-50%) rotate(180deg); } */

/*子メニュー１個あたりの設定*/
#menubar-s ul.sp-submenu li a {
	padding: 15px 20px 15px 80px !important; /* インデントを増やして親子関係を強調 */
	font-size: 14px;
	color: #ddd;
	border-bottom: 1px dashed rgba(255,255,255,0.1) !important;
	background-color: transparent;
}
#menubar-s ul.sp-submenu li:last-child a {
	border-bottom: none !important;
}


/*３本バーアイコン設定*/
#menubar_hdr {
	display: block;
	position: fixed;z-index: 100;
	top: 20px;		/*上からの配置場所*/
	right: 2%;	/*右からの配置場所*/
}
/*アイコン共通設定*/
#menubar_hdr.close,
#menubar_hdr.open {
	width: 50px;	/*幅*/
	height: 50px;	/*高さ*/
	border: 1px solid #fff;
}
/*三本バーアイコン*/
#menubar_hdr.close {
	background: #000 url(../images/icon_menu.png) no-repeat center top/50px;	/*背景色、背景画像の読み込み、画像の上半分（３本マーク）を表示。幅は50px。*/
}
/*閉じるアイコン*/
#menubar_hdr.open {
	background: #000 url(../images/icon_menu.png) no-repeat center bottom/50px;	/*背景色、背景画像の読み込み、画像の下半分（×マーク）を表示。幅は50px。*/
}

/*fixmenu設定（メニューが画面上部に到達した際のスタイル）*/
/*fixmenuから折りたたみメニューになるのでリセット。*/
body.is-fixed-menu #contents {
	margin-top: 0px;
}
body.is-fixed #contents {
	margin-top: 0px;
}

/*コンテンツ*/
#contents {
	padding: 0 0;	/*上下、左右へのコンテンツ内の余白*/
}
/* NEWSセクション */
.section-title {
	font-size: 24px;
	font-weight: bold;
	background: #f8f3f4;
	border-left: 6px solid #cc3366;
	padding: 12px 20px;
	color: #333;
	margin: 50px 0 30px;
	display: flex
;
    align-items: center;
    gap: 16px;
}
.section-title span {
  display: block;
  font-size: 13px;
  color: #999;
  margin-top: 4px;
}
#mainimg {
    margin: 0px auto 0px !important;
}



/*list-column（トップページで使っている３列ブロック）*/
/*ボックス内のh4（見出し）タグ*/
#contents .list-column h4 {
	margin-bottom: 0px;
}

/*ヘッダーメニューが固定されなくなるので、再設定。*/
.link {
	margin-top: -30px;
	padding-top: 30px;
}

/*その他
---------------------------------------------------------------------------*/
body.s-n .sub,body.s-n #footermenu {display: none;}
.big1 {font-size: 20px;}

}



/*画面幅480px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:480px){

/*全体の設定
---------------------------------------------------------------------------*/
body {
	font-size: 3vw;	/*文字サイズ*/
}

/*コンテンツ
---------------------------------------------------------------------------*/
/*h2タグ*/
#contents h2 {
	margin-bottom: 30px;
}
/*h3タグ*/
#contents h3 {
	margin-bottom: 20px;
}
#contents section + section {
	margin-top: 30px;
}

/*list（worksページで使っている横長ブロック）*/
/*ボックス内のボタン（共通）*/
.btn1 a {
	padding: 5px 10px;			/*上下、左右へのボタン内の余白*/
}

/*テーブル（ta1）
---------------------------------------------------------------------------*/
/*ta1設定*/
.ta1, .ta1 td, .ta1 th {
	padding: 5px;	/*ボックス内の余白*/
}
/*ta1の左側ボックス*/
.ta1 th {
	width: 100px;
}

/*その他
---------------------------------------------------------------------------*/
.ws,.wl {width: 94%;}
.fl {float: none;}
.fr {float: none;}
.big1 {font-size: 16px;}
.sh {display:block;}
.pc {display:none;}

}


.gallery {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    padding: 20px;
}

.gallery-item {
    overflow: hidden;
    border: 2px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.1);
}
/*お問い合わせ、体験レッスン等
---------------------------------------------------------------------------*/

/* 体験レッスン申込ページ専用スタイル
---------------------------------------------------------------------------*/

/* ページタイトルセクション */
.page-title-section {
  /*text-align: center;*/
  padding: 30px 0 20px;
  /*border-bottom: 1px solid #f0f0f0;*/
  margin-bottom: 40px;
}

.page-title-section .section-title { /* 既存の .section-title を流用しつつ調整 */
  background: none; /* 背景なし */
  border-left: none; /* 左ボーダーなし */
  justify-content: center; /* 中央揃え */
  padding: 0 0 10px 0;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 28px; /* 少し大きめに */
}

.page-title-section .section-title span {
  font-size: 16px; /* サブタイトルも少し大きく */
  color: #cc3366; /* アクセントカラー */
}

.page-intro {
  font-size: 17px;
  color: #555;
  line-height: 1.9;
  padding: 0 15px; /* 左右パディング */
  margin-bottom: 0; /* 下のpタグとの間隔をリセット */
}

/* サブセクションタイトル (h3) */
.sub-section-title {
  font-size: 22px;
  color: #333;
  font-weight: bold;
  margin-bottom: 25px;
  padding-bottom: 8px;
  border-bottom: 2px solid #cc3366; /* アクセントカラーの下線 */
  text-align: left; /* 左揃え */
}

/* 体験レッスンの流れ */
.trial-lesson-flow {
  margin-bottom: 50px;
}

.flow-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter; /* ステップ番号のカウンター */
}

.flow-list li {
  display: flex;
  align-items: flex-start; /* 上揃え */
  margin-bottom: 30px;
  padding: 20px;
  background-color: #fff9fa; /* 薄いピンク背景 */
  border-radius: 8px;
  border: 1px solid #fde0e6;
}

.flow-number {
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  background-color: #cc3366;
  border-radius: 50%;
  width: 70px; /* 幅を固定 */
  height: 70px; /* 高さを固定 */
  line-height: 25px; /* 上下中央揃え */
  text-align: center;
  margin-right: 25px;
  flex-shrink: 0; /* 縮まないように */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.flow-number::before { /* "STEP"の文字を追加 */
  content: "STEP";
  font-size: 12px;
  display: block;
  line-height: 1.2;
  margin-bottom: 3px;
}
.flow-number::after { /* 番号を追加 */
  counter-increment: step-counter;
  content: counter(step-counter);
  font-size: 20px;
  display: block;
  line-height: 1;
}


.flow-content h4 {
  font-size: 18px;
  color: #cc3366;
  margin-top: 0;
  margin-bottom: 8px;
  font-weight: bold;
}

.flow-content p {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  padding-bottom: 0; /* pタグのデフォルトpaddingをリセット */
  padding: 0 !important;
}

/* 体験レッスンの詳細 (テーブル) */
.trial-lesson-details {
  margin-bottom: 50px;
}

.trial-lesson-details .ta1 th {
  background-color: #fdf5f7; /* 薄いピンク背景 */
  width: 180px; /* 見出しセルの幅を調整 */
  font-weight: bold;
  color: #333;
}
.trial-lesson-details .ta1 td {
    line-height: 1.7;
}


/* よくあるご質問 */
.trial-lesson-faq {
  margin-bottom: 50px;
}

.faq-list dt {
  font-weight: bold;
  color: #cc3366;
  padding: 15px 15px 10px;
  background-color: #fff9fa;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border: 1px solid #fde0e6;
  border-bottom: none;
  margin-top: 15px;
  position: relative;
  cursor: pointer; /* クリック可能であることを示唆 */
}
.faq-list dt:first-child {
    margin-top: 0;
}

.faq-list dt::before { /* Q. の文字 */
  content: "Q.";
  margin-right: 8px;
  font-size: 18px;
}
.faq-list dt::after { /* 開閉アイコン（簡易版） */
    content: '▼'; /* 閉じた状態 */
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    transition: transform 0.3s;
}
.faq-list dt.open::after { /* 開いた状態 */
    transform: translateY(-50%) rotate(180deg);
}


.faq-list dd {
  padding: 15px 20px 20px 40px; /* Q. のインデントに合わせる */
  background-color: #fff;
  border: 1px solid #fde0e6;
  border-top: none;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  margin-left: 0; /* dlのデフォルトマージンをリセット */
  line-height: 1.8;
  color: #555;
  display: none; /* 初期状態は非表示 */
}
.faq-list dd.open {
    display: block; /* .open クラスで表示 */
}

.faq-list dd::before { /* A. の文字 */
  content: "A.";
  font-weight: bold;
  color: #555;
  margin-right: 8px;
  float: left; /* 回り込み解除のため */
  margin-left: -22px; /* 位置調整 */
}


/* お申込みフォーム */
.trial-lesson-form-section {
  margin-bottom: 50px;
  padding: 30px;
  background-color: #fdf5f7;
  border-radius: 8px;
  border: 1px solid #fde0e6;
}

.form-intro {
  text-align: center;
  margin-bottom: 25px;
  font-size: 16px;
  color: #555;
  padding: 0 15px;
}

.required-note {
  display: block;
  text-align: right;
  font-size: 13px;
  color: #e53935;
  margin-top: 5px;
}

.contact-form dl {
  margin: 0;
  padding: 0;
}

.contact-form dt {
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
  padding-top: 15px;
}
.contact-form dt:first-child {
    padding-top: 0;
}

.contact-form dt label {
  display: inline-block;
}

.contact-form .required {
  color: #fff;
  background-color: #cc3366;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 8px;
  font-weight: normal;
  vertical-align: middle;
}

.contact-form dd {
  margin: 0 0 15px 0;
  padding: 0;
}

.contact-form input[type="text"],
.contact-form input[type="tel"], /* 電話番号用も追加 */
.contact-form input[type="email"], /* メールアドレス用も追加 */
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  border-color: #cc3366;
  outline: none;
  box-shadow: 0 0 0 2px rgba(204, 51, 102, 0.2);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-button-container {
  text-align: center;
  margin-top: 30px;
}

.submit-button {
  display: inline-block;
  background-color: #cc3366;
  color: white !important; /* aタグのデフォルト色を上書き */
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: background-color 0.3s, transform 0.2s;
}

.submit-button:hover {
  background-color: #e64a71;
  color: white !important;
  transform: translateY(-2px);
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {

	header #logo_sub{
		margin-right: 15%;
	}

  .page-title-section .section-title {
    font-size: 24px;
  }
  .page-title-section .section-title span {
    font-size: 14px;
  }
  .page-intro {
    font-size: 16px;
    text-align:left;
  }
  .sub-section-title {
    font-size: 20px;
  }
  .flow-list li {
    flex-direction: column; /* スマホでは縦積み */
    align-items: center;
    text-align: center;
  }
  .flow-number {
    margin-right: 0;
    margin-bottom: 15px;
    width: 60px;
    height: 60px;
    line-height: normal; /* リセットしてflexで中央揃え */
  }
  .flow-number::before {
    font-size: 11px;
  }
  .flow-number::after {
    font-size: 18px;
  }
  .flow-content h4 {
    font-size: 17px;
  }
  .flow-content p {
    font-size: 15px;
    text-align: left;
  }
  .trial-lesson-details .ta1 th,
  .trial-lesson-details .ta1 td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: left !important; /* importantで中央揃えを上書き */
  }
  .trial-lesson-details .ta1 th {
    border-bottom: none;
    padding-bottom: 5px;
    /*background-color: transparent;  スマホではthの背景なし */
    background-color: #fdf5f7;
  }
  
  .ta1, .ta1 td, .ta1 th {
    border: none;
    padding: 10px;
  }

	.ta1 {
	    width: 100%;
	    margin: 0;
	    font-size: 15px;
	}

  .trial-lesson-details .ta1 td {
    padding-top: 15px 5px;
    border-top: none; /* thとの間の線を消す */
  }
  .faq-list dt, .faq-list dd {
    padding-left: 15px;
    padding-right: 15px;
  }
  .faq-list dd::before {
    margin-left: 0; /* スマホではインデント調整 */
    float: none;
    display: inline-block; /* A. をインラインに */
  }
  .trial-lesson-form-section {
    padding: 20px;
  }
  .contact-form input[type="text"],
  .contact-form input[type="tel"],
  .contact-form input[type="email"],
  .contact-form select,
  .contact-form textarea {
    padding: 10px 12px;
    font-size: 15px;
  }
  .contact-form select {
    height: 44px;
  }
  .submit-button {
    padding: 12px 30px;
    font-size: 17px;
    width: 100%; /* スマホではボタン幅を広げる */
    max-width: 300px;
  }
}




          .media {
            max-width: 1000px;
            margin: 40px auto;
            padding: 20px 20px 35px;
            background: #fefefe;
            border: 1px solid #ddd;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
          }

          .media-title {
            font-size: 20px;
            font-weight: bold;
            text-align: center;
            margin-bottom: 20px;
            color: #444;
          }

          .media-images {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px;
            margin-bottom: 20px;
          }

          .media-images a {
            display: block;
            width: 200px;
            flex-shrink: 0;
          }

          .media-images img {
            width: 100%;
            height: auto;
            border-radius: 4px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
            transition: transform 0.2s;
          }

          .media-images img:hover {
            transform: scale(1.03);
          }

          .media-text {
            font-size: 16px;
            color: #555;
            line-height: 1.8;
            text-align: left;
            max-width: 768px;
            margin: 0 auto;
          }

          @media screen and (max-width: 768px) {
            .media-images {
              flex-direction: column;
              align-items: center;
            }

            .media-images a {
              width: 80%;
            }
          }






/* セクション全体 */
.contact-form-section {
  margin-bottom: 50px;
  padding: 30px;
  background-color: #fdf5f7; /* 体験レッスンフォームの背景色と合わせる */
  border-radius: 8px;
  border: 1px solid #fde0e6; /* 体験レッスンフォームのボーダー色と合わせる */
}

/* フォーム導入文 */
.contact-form-section .form-intro {
  text-align: center;
  margin-bottom: 25px;
  font-size: 16px;
  color: #555;
  padding: 0 15px;
}

.contact-form-section .required-note {
  display: block;
  text-align: right;
  font-size: 13px;
  color: #e53935;
  margin-top: 5px;
}

/* フォーム要素のスタイル */
.contact-form dl {
  margin: 0;
  padding: 0;
}

.contact-form dt {
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
  padding-top: 15px;
}
.contact-form dt:first-child {
    padding-top: 0;
}

.contact-form dt label {
  display: inline-block;
}

.contact-form .required {
  color: #fff;
  background-color: #cc3366;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 8px;
  font-weight: normal;
  vertical-align: middle;
}

.contact-form dd {
  margin: 0 0 15px 0;
  padding: 0;
}

.contact-form input[type="text"],
.contact-form input[type="tel"], /* 電話番号用も追加 */
.contact-form input[type="email"], /* メールアドレス用も追加 */
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  border-color: #cc3366;
  outline: none;
  box-shadow: 0 0 0 2px rgba(204, 51, 102, 0.2);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* エラーメッセージ */
.contact-form .error-msg {
  color: #e53935; /* 赤色 */
  font-size: 0.9em;
  margin-top: 5px;
}

/* 送信ボタン・リセットボタンのコンテナ */
.contact-form .submit-button-container {
  text-align: center;
  margin-top: 30px;
}

/* 送信ボタン */
.contact-form .submit-button {
  display: inline-block;
  background-color: #cc3366;
  color: white !important;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: background-color 0.3s, transform 0.2s;
}

.contact-form .submit-button:hover {
  background-color: #e64a71;
  color: white !important;
  transform: translateY(-2px);
}

/* リセットボタン */
.contact-form .reset-button {
  display: inline-block;
  background-color: #aaa; /* グレー系 */
  color: white !important;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: normal; /* 送信ボタンより少し控えめに */
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: background-color 0.3s, transform 0.2s;
}

.contact-form .reset-button:hover {
  background-color: #bbb;
  color: white !important;
  transform: translateY(-2px);
}

/* レスポンシブ対応 (お問い合わせフォーム) */
@media screen and (max-width: 768px) {
  .contact-form-section {
    padding: 20px;
  }
  .contact-form input[type="text"],
  .contact-form input[type="tel"],
  .contact-form input[type="email"],
  .contact-form select,
  .contact-form textarea {
    padding: 10px 12px;
    font-size: 15px;
  }
  .contact-form select {
    height: 44px;
  }
  .contact-form .submit-button,
  .contact-form .reset-button {
    padding: 12px 25px;
    font-size: 17px;
    width: calc(50% - 5px); /* ボタンを横並びにする場合 */
    box-sizing: border-box;
  }
  .contact-form .submit-button {
    margin-right: 10px;
  }
   .contact-form .reset-button {
    margin-right: 0;
  }
  /* スマホでボタンを縦積みにする場合 */
  /*
  .contact-form .submit-button,
  .contact-form .reset-button {
    width: 100%;
    max-width: 300px;
    margin-right: 0;
    margin-bottom: 10px;
  }
  .contact-form .reset-button {
    margin-bottom: 0;
  }
  */
}



.page-title {
    background: none;
    border-left: none;
    justify-content: center;
    padding: 0 0 10px 0;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 28px;
}

.page-title span {
  font-size: 16px;
  color: #555; /* 少し落ち着いた色に */
  display: block;
}

/* 確認画面 (confirm.html) スタイル
---------------------------------------------------------------------------*/
.confirmation-section {
  padding: 30px 0;
}

.confirmation-section .section-title {
  background: none;
  border-left: none;
  justify-content: center;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-size: 28px;
  text-align:center;
}
.confirmation-section .section-title span {
  font-size: 16px;
  color: #555; /* 少し落ち着いた色に */
  display: block;
}

.confirmation-message {
  text-align: center;
  font-size: 17px;
  margin-bottom: 30px;
  padding: 0 15px;
  color: #333;
}

.confirmation-details {
  max-width: 700px; /* 内容の最大幅 */
  margin: 0 auto 30px;
  padding: 25px;
  background-color: #fff; /* 背景を白に */
  border: 1px solid #eee;
  border-radius: 8px;
}

.confirmation-details dl dt {
  font-weight: bold;
  color: #333;
  padding: 12px 0 5px;
  border-bottom: 1px dotted #ddd;
  margin-bottom: 5px;
}
.confirmation-details dl dt:first-child {
    padding-top: 0;
}
.confirmation-details dl dd {
  padding: 5px 0 12px;
  margin-left: 0; /* ddのデフォルトマージンリセット */
  line-height: 1.7;
  color: #555;
  word-break: break-all; /* 長い文字列がはみ出ないように */
}

.confirmation-buttons {
  text-align: center;
  margin-top: 30px;
}
.confirmation-buttons .submit-button {
  margin-right: 15px;
}
/* 送信ボタン・リセットボタンのスタイルは .contact-form 内の定義を共通利用想定 */
/* もし個別にスタイルを変えたい場合はここに記述 */


/* 送信完了画面 (finish.html) スタイル
---------------------------------------------------------------------------*/
.finish-section {
  padding: 50px 0;
  text-align: center;
}

.finish-section .section-title {
  background: none;
  border-left: none;
  justify-content: center;
  padding-bottom: 10px;
  margin-bottom: 30px;
  font-size: 28px;
}
.finish-section .section-title span {
  font-size: 16px;
  color: #555;
}

.finish-message-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  background-color: #fdf5f7; /* 薄いピンク背景 */
  border-radius: 8px;
  border: 1px solid #fde0e6;
}

.finish-message-main {
  font-size: 22px;
  font-weight: bold;
  color: #cc3366;
  margin-bottom: 15px;
  padding-bottom: 0 !important; /* pタグのデフォルトpaddingを上書き */
}

.finish-message-sub {
  font-size: 17px;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 0 !important;
}

.finish-message-container p {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 10px;
  padding-bottom: 0 !important;
}
.finish-message-container p:last-child {
    margin-bottom: 0;
}

.finish-back-link {
  margin-top: 30px !important;
}
.finish-back-link a {
  display: inline-block;
  padding: 10px 25px;
  background-color: #555;
  color: #fff !important; /* aタグのデフォルト色を上書き */
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}
.finish-back-link a:hover {
  background-color: #777;
  text-decoration: none;
}

/* レスポンシブ調整 (confirm.html, finish.html) */
@media screen and (max-width: 768px) {
  .confirmation-section .section-title,
  .finish-section .section-title {
    font-size: 24px;
  }
  .confirmation-section .section-title span,
  .finish-section .section-title span {
    font-size: 14px;
  }
  .confirmation-message {
    font-size: 16px;
  }
  .confirmation-details {
    padding: 20px;
  }
  .finish-message-main {
    font-size: 20px;
  }
  .finish-message-sub {
    font-size: 16px;
  }
  .finish-message-container p {
    font-size: 15px;
  }
}



.about-section,
.blog-section
 {
  padding: 20px 20px;
  max-width: 1080px;
  margin: 0 auto;
  color: #333;
  background-color: #fff;
  line-height: 1.8;
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}

.about-section h2.section-title,
.features-section h2.section-title,
.blog-section h2.section-title
 {
  font-size: 22px;
  font-weight: normal;
  text-align: center;
  margin-bottom: 10px;
  color: #111;
}

.about-section h2.section-title span,
.blog-section h2.section-title span
 {
  display: block;
  font-size: 15px;
  color: #c52d54;
  margin-top: 5px;
}

.about-section h3
 {
  font-size: 22px;
  font-weight: bold;
  margin-top: 50px;
  margin-bottom: 15px;
  border-left: 6px solid #c52d54;
  padding-left: 12px;
  color: #222;
  text-align:left !important;
  padding-left: 3% !important;
}

.blog-section h3
 {
  font-size: 22px !important;
  font-weight: bold;
  margin-bottom: 15px;
  border-left: 6px solid #c52d54;
  padding-left: 12px;
  color: #222;
  text-align:left !important;
  padding-left: 3% !important;
}

.about-section h4,
.blog-section h4 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 8px;
  color: #444;
  border-left: 4px solid #ccc;
  padding-left: 10px;
}

.about-section p,
.blog-section p {
  font-size: 16px;
  color: #444;
  margin-bottom: 24px;
}

.feature-label-with-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.feature-label-with-title .feature-label {
  background-color: #cc3366;
  color: #fff;
  padding: 4px 12px;
  font-size: 14px;
  border-radius: 20px;
}


.feature-label-with-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.feature-label-with-title .feature-label {
  background-color: #cc3366;
  color: #fff;
  padding: 4px 12px;
  font-size: 14px;
  border-radius: 20px;
}

.feature-label-with-title h3 {
  font-size: 20px;
  margin: 0;
  color: #333;
}


.features-section {
  padding: 60px 0;
}

.feature-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin: 40px 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 24px;
}

.feature-image {
  flex-shrink: 0;
}

.feature-image img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.feature-content {
  flex: 1;
  min-width: 0;
}

.feature-label {
  display: inline-block;
  background-color: #cc3366;
  color: #fff;
  padding: 4px 10px;
  font-size: 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.feature-content h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #333;
}

.feature-content p {
  font-size: 16px;
  color: #555;
}

/* レスポンシブ対応（画面幅が768px以下のとき） */
@media screen and (max-width: 768px) {
  .feature-box {
    flex-direction: column;
    text-align: center;
  }

  .feature-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .feature-content {
    text-align: left;
    width: 100%;
  }
}


}

.swiper {
    margin-top: 20px;
}

#slideblock .swiper {
  width: 100%;

  position: relative;
  margin: 20px 0;
}

#slideblock .swiper-slide {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 10px;
}

#slideblock .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* 横幅100%、上下をカットして高さを揃える */
  object-position: center;
  display: block;
}

@media screen and (max-width: 768px) {

	body {
	    font-size: 16px;
	}
	
    .list-column {
        flex: 1 1 100%;
    }

  #slideblock .swiper {
    margin:0;
  }
  
	#contents {
	    padding: 0px 15px !important;
	}
	#contents .list-column-container {
	    margin: 0;
	}
	.features-section {
	    padding: 0;
	}
}


.section-title {
    font-size: 20px;
    background: #f8f3f4;
    border-left: 6px solid #cc3366;
    padding: 12px 20px;
    color: #333;
    margin: 50px 0 30px;
    display: flex;
    align-items: center;
    gap: 16px;
}
#contents .list-column {
    display: flex;
    flex-direction: column;
    width: 32%;
    margin-bottom: 20px;
    /* background: #000; */
    color: #555;
    border-radius: 5px;
    overflow: hidden;
	flex: 1 1 calc(33.333% - 20px);
    box-sizing: border-box;
    background: #f9f9f9;
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
	box-sizing: border-box;
    background: #f9f9f9;
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
    font-weight:normal;
}

@media (max-width: 800px) {
    .list-column {
        flex: 1 1 100%;
    }
	#contents .list-column {
	    display: flex;
	    flex-direction: column;
	    width: 100%;
	    margin-bottom: 20px;
	    /* background: #000; */
	    color: #060606;
	    border-radius: 5px;
	    overflow: hidden;
	    flex:auto;
	    box-sizing: border-box;
	    background: #f9f9f9;
	    padding: 10px;
	    text-align: center;
	    border: 1px solid #ddd;
	    border-radius: 5px;
	    box-sizing: border-box;
	    background: #f9f9f9;
	    padding: 10px;
	    text-align: center;
	    border: 1px solid #ddd;
	}

}