@charset "utf-8";



/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");

/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1:wght@100..900&display=swap');
/*cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("slide.css");

/*slick.cssの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css");

/*テンプレート専用cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("inview.css");


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

	--primary-color: #4b6741;			  /*テンプレートのメインとなる色*/
	--primary-inverse-color: #fff;	/*primary-colorの対として使う色*/
	
  --accent-color: #ff8808;			  /*テンプレートのアクセントとなる色*/
	--accent-inverse-color: #fff;		/*accent-colorの対として使う色*/

/* 追加：アクセント2（黄色系） */
	--accent2-color: #dfd631;         /* 3番目のアクセントカラー */
	--accent2-inverse-color: #333;    /* accent2-colorの対として使う色 */
	
	--content-space: 2rem;  /*余白の一括管理用。2rem＝２文字分。*/
	
}


/*animation11のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes animation1 {
	0% {left: -200px;}
	100% {left: 0px;}
}


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


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

body {
	margin: 0;padding:0;
* {
    font-family: 'M PLUS Rounded 1c', "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "メイリオ", Meiryo, Osaka, sans-serif !important;
}
	
	-webkit-text-size-adjust: none;
	background: #fff;	/*背景色*/
	color: #333;		  /*文字色*/
	line-height: 2;		/*行間*/
	overflow-x: hidden;
}

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

/*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%;}

/*他*/
input {font-size: 1rem;}
section > ol,section > ul {margin-left: 2rem;}

/*section*/
section:not(:first-child) {
	margin-top: 4rem;	/*sectionの上に4文字分のマージンを空ける*/
}
main section:first-child h2 {
  margin-top: 0;
}


/*文字サイズの設定。
もしデフォルトを「大」にしたい場合は、jsフォルダのmain.jsを開き「文字サイズ変更ボタン」のコメントを読んで下さい。
---------------------------------------------------------------------------*/
/*「大」ボタンを押した時の文字サイズ*/
html.f-large {
	font-size: 28px;
}

/*「小」ボタンを押した時の文字サイズ*/
html.f-small {
	font-size: 16px;
}


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: inherit;
	transition: 0.3s;	/*hoverまでにかける時間。0.3秒。*/
}

/*マウスオン時*/
a:hover {
	filter: brightness(1.1);	/*少しだけ明るくする*/
}


/*コンテナー（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
#container {
	overflow-x: hidden;
	position: relative;
  animation: opa1 0.2s 0.4s both;  /*0.4秒待機後、0.2秒かけてフェードイン*/
  display: flex;
	flex-direction: column;
	min-height: 100vh;
  border-top: 3px solid var(--primary-color);  /*上の線の幅、線種、var以降は色のことで冒頭のprimary-colorを読み込みます。*/
}


/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header a {color: inherit;}
header {
padding: 1rem var(--content-space); /* 左右の余白を統一 */
    display: flex;
    align-items: center;    /* 上下中央揃え */
    justify-content: space-between; /* ★これ1行で「左端と右端」*/
    background: url('../images/haikei.gif') no-repeat center center / cover !important;
}

/*main.jsの冒頭にある「ここがブレイクポイント指定箇所です」の行で設定しているサイズ未満の時のヘッダー右側に余白。ハンバーガーアイコンの確保。*/
body.small-screen header {
  padding-right: 80px;
}

/*ロゴ（※画像の場合）*/
#logo img {
	display: block;
	width: 300px;	/*ロゴの幅*/
}

/*ロゴ（※テキストの場合）*/
#logo a {text-decoration: none;}
#logo {
	width: auto;
	font-size: 1.4rem;	/*文字サイズ。140%*/
}


/*ヘッダーの「問い合わせ」「見学申し込み」ボタンブロック
---------------------------------------------------------------------------*/
/*ボタンを囲むボックス*/
.btn-box {
  list-style: none;margin: 0;padding: 0;
  display: flex;
  flex-direction: column;  /*小さな端末では縦並び*/
  gap: 0.5rem;  /*ボタン同士に空けるマージン的なスペース*/
  /* ★追加：左側に自動で余白を作り、ボタンを右（中央方向）へ押し出す */
  margin-left: auto; 
}

/*ボタン１個あたり*/
.btn-box a {
  display: inline-block;text-decoration: none;
  background: var(--accent-color);    /*背景色。冒頭のaccent-colorを読み込みます。*/
  color: var(--accent-inverse-color);  /*文字色。冒頭のaccent-inverse-colorを読み込みます。*/
  padding: 0.5rem 1rem;  /*上下に0.5文字分、左右に1文字分の余白*/
  border-radius: 5px;    /*角を少しだけ丸くする*/
}

	/*画面500px以上の追加指定*/
	@media screen and (min-width:500px) {
  
  /*ボタンを囲むボックス*/
  .btn-box {
    flex-direction: row;  /*横並びに変更*/
  }

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


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

  /*アイコンを表示させる*/
  .btn-box a::before {
    font-family: "Font Awesome 6 Free";
    font-weight: bold;
    margin-right: 0.8em;	/*アイコンとメニューテキストとの間に空けるスペース。0.8文字分。*/
    display: inline-block;
    transform: scale(1.4);  /*アイコンのサイズ。1.4倍。*/
    opacity: 0.5;  /*アイコンの透明度。色が50%出た状態。*/
  }
  
  /*1つ目ボタンで使うアイコン*/
  .btn-box li:nth-of-type(1) a::before {
    content: "\f0e0";
  }
  
  /*２つ目ボタンで使うアイコン*/
  .btn-box li:nth-of-type(2) a::before {
    content: "\f1e5";
  }

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



/*大きな端末・小さな端末メニュー共通
---------------------------------------------------------------------------*/
/*英語表記（小さな文字）*/
#menubar span {
	display: block;
	font-size: 0.8rem;	/*文字サイズ80%*/
	opacity: 0.5;		/*透明度50%*/
}


/*大きな端末で見たメニュー。main.jsの冒頭にある「ここがブレイクポイント指定箇所です」が基準。
---------------------------------------------------------------------------*/
/*メニューブロック全体の設定*/
.large-screen #menubar > nav > ul {
	display: flex;
	justify-content: space-between;
	line-height: 1.8;	  /*行間を少し狭く*/
  font-size: 1.2rem;  /*文字サイズを少し大きく*/
  border-top: 1px solid #ccc;    /*上の線の幅、線種、色*/
  border-bottom: 1px solid #ccc;  /*下の線の幅、線種、色*/
}

/*メニュー１個あたりの設定*/
.large-screen #menubar li {
	flex: 1;
	position: relative;	/*ドロップダウンの幅となる基準を作っておく*/
	text-align: center;	/*テキストをセンタリング*/
}
.large-screen #menubar li a {
	display: block;text-decoration: none;
  height: 100%;      /*ドロップダウンを使う場合の隙間を埋める*/
	padding: 0.5rem;	/*メニュー内の余白*/
  background: #dfd631;  /*背景色*/
}

/*current（現在表示中メニュー）*/
.large-screen #menubar li.current a {
  background: var(--primary-color);    /*背景色。冒頭のprimary-colorを読み込みます。*/
  color: var(--primary-inverse-color);  /*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
}


/*大きな端末で見た場合のドロップダウンメニュー
---------------------------------------------------------------------------*/
/*ドロップダウン全体*/
.large-screen #menubar ul ul {
	position: absolute;z-index: 100;
	width: 100%;
	animation: opa1 0.5s 0.1s both;	/*0.1秒待機後、0.5秒かけてフェードイン表示*/
  border: 1px solid #ccc;  /*枠線の幅、線種、色*/
  border-top: none;        /*上の線だけ非表示に*/
}
.large-screen #menubar ul ul li a {
  border-top: 1px solid #ccc  /*上の線の幅、線種、色。*/
}


/*小さな端末で見たメニュー。main.jsの冒頭にある「ここがブレイクポイント指定箇所です」が基準。
---------------------------------------------------------------------------*/
/*メニューブロック共通*/
.small-screen #menubar {
  display: none;
	animation: animation1 0.2s both;
	position: fixed;overflow: auto;z-index: 100;
	right: 0px;top: 0px;
	width: 100%;
	height: 100%;
	padding: 100px var(--content-space) 50px;		/*ブロック内の余白。上に100px、左右についてはcss冒頭のcontent-spaceを読み込む、下に50px。*/
	background: var(--primary-color);  /*背景色。冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);  /*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
}

/*メニュー１個あたり*/
.small-screen #menubar a {
	display: block;text-decoration: none;
	color: inherit;
	border: 1px solid #fff;	/*枠線の幅、線種、色*/
	margin-bottom: 1rem;	/*下に１文字分のスペースを空ける。メニュー同士の間隔です。*/
	padding: 1rem 2rem;		/*メニュー内の余白。上下に１文字分、左右に２文字分。*/
}

/*子メニュー（ドロップダウンメニュー）*/
.small-screen #menubar ul ul a {
	border: none;
	padding: 0;
  margin-left: 3.8rem;	/*左に空けるスペース*/
}

/*ドロップダウンのアイコン*/
a.ddmenu::before {
	font-family: "Font Awesome 6 Free";
	font-weight: bold;
	content: "\f078";	/*このアイコンを使う*/
	margin-right: 0.5em;	/*アイコンとメニューテキストとの間に空けるスペース。0.5文字分。*/
  display: inline-block;
  transform: scale(0.7);  /*サイズを70%に*/
}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
#menubar_hdr {
	display: none; /* デフォルトは非表示 */
	animation: opa1 0s 0.2s both;
	position: fixed;
	z-index: 101;
	cursor: pointer;
	right: 0px;	      /*右からの配置場所*/
	top: 0px;	        /*上からの配置場所*/
	width: 70px;	    /*ボタンの幅*/
	height: 70px;	    /*ボタンの高さ*/
	background: var(--primary-color);  /*背景色。冒頭のprimary-colorを読み込みます。*/
	border-radius: 0px 0px 0px 20px;	/*角を丸くする指定。左上、右上、右下、左下の順番。この場合は左下だけ角を丸くする。*/
	transform-origin: right top;
	transform: scale(1);	/*大きさを調整したい場合はここの「1」を変更します。1.2や0.7など。*/
}

/*バツ印が出ている時のボタン色*/
#menubar_hdr.ham {
	background: #ff0000;
}

/*ハンバーガーアイコンの線*/
#menubar_hdr span {
	display: block;
	position: absolute;
	left: 18px;
	width: 35px;
	height: 2px;		/*線の高さ*/
	background: var(--primary-inverse-color);  /*線の色。冒頭のprimary-inverse-colorを読み込みます。*/
	transition: 0.3s;
}

#menubar_hdr span:nth-of-type(1) {
	top: 24px;
}
#menubar_hdr span:nth-of-type(2) {
	top: 34px;
}
#menubar_hdr span:nth-of-type(3) {
	top: 44px;
}

/* ハンバーガーメニュー展開時 */
#menubar_hdr.ham span:nth-of-type(1) {
	transform: translateY(10px) rotate(-45deg);
}
#menubar_hdr.ham span:nth-of-type(2) {
	opacity: 0;
}
#menubar_hdr.ham span:nth-of-type(3) {
	transform: translateY(-10px) rotate(45deg);
}

/*小さな画面での設定*/
.small-screen #menubar_hdr {
	display: flex;
}


/*コンテンツ
---------------------------------------------------------------------------*/
/*コンテンツブロック*/
#contents {
	flex: 1;
}


/*メインコンテンツ
---------------------------------------------------------------------------*/
/*メインコンテンツ*/
main {
	padding: var(--content-space);	/*section内にとる余白。冒頭のcontent-spaceを読み込みます。*/
}

/*h2見出し*/
main h2 {
  box-shadow: 0px 0px 0.5rem rgba(0,0,0,0.2);  /*見出しの影。右へ、下へ、ぼかす量、0,0,0は黒の事で0.2は色が20%出た状態。*/
  padding: 0.3rem 1rem;  /*見出し内の余白。上下に0.3文字分、左右に1文字分。*/
  background: linear-gradient(transparent, rgba(223,214,49,1.03));/*背景グラデーション。透明から黒(0,0,0)を3%だけ出した状態へのグラデ。*/
}
/*h2見出しの左側のアクセントライン*/
main h2::before {
  content: "";
  border-left: 3px solid var(--primary-color);  /*線の幅、線種、色*/
  padding-right: 1rem;  /*アクセントラインと文字との間の余白*/
}

/*h3見出し*/
main h3.title5-parts {
border-bottom: 5px solid #dfd631;	/*下線の太さ(5px)、線種(実線)、色(#dfd631)の指定*/	padding-inline: 1rem;	/*左右に1文字分の余白*/
	font-size: 1.2rem;	/*文字サイズ120%*/
}
  /* ★h3_b見出し本体 */
main .h3_b {
  position: relative;
  padding: 5px 26px 5px 42px;
  background: #dfd631;
  font-size: 20px;
  color: #474747;
  margin-left: -33px;
  line-height: 1.3;
  border-bottom: solid 2px #fcd030;
  z-index:-2;
  text-align: left;
}

main .h3_b:before {
  position: absolute;
  content: '';
  left: -2px;
  top: -2px;
  width: 0;
  height: 0;
  border: none;
  border-left: solid 40px white;
  border-bottom: solid 79px transparent;
  z-index: -1;
}

main .h3_b:after {
  position: absolute;
  content: '';
  right: -3px;
  top: -7px;
  width: 0;
  height: 0;
  border: none;
  border-left: solid 40px transparent;
  border-bottom: solid 79px white;
  z-index: -1;
}


/*p（段落タグ）*/
p {
	margin-left: 1rem;	/*左に１文字分のスペース*/
	margin-right: 1rem;	/*右に１文字分のスペース*/
}


/*各ページの大きな背景入りの見出し（共通）
---------------------------------------------------------------------------*/
.page-header {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 25vw;   /*ボックスの最低の高さ。100vwが画面幅100%と同じなので、画面幅によってここの高さも変動します。*/
  padding: 2rem;  /*ボックス内の余白*/
  color: #fff;    /*文字色*/
  font-size: 2rem; /*文字サイズを2倍に*/
  text-shadow: 0 0 10px rgba(0,0,0,0.8); /*テキストの影*/
  text-align: center; /*複数行になった時のためにセンタリング*/
}

/*「施設のご案内」の見出し*/
.page-header.info {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("../images/img_info.jpg") center center / cover;
}

/*「サービスのご案内」の見出し*/
.page-header.service {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("../images/img_service.jpg") center center / cover;
}

/*「ご利用料金」の見出し*/
.page-header.charge {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("../images/img_charge.jpg") center center / cover;
}

/*「よく頂く質問」の見出し*/
.page-header.faq {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("../images/img_faq.jpg") center center / cover;
}

/*「会社概要」の見出し*/
.page-header.company {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("../images/3.jpg") center center / cover;
}


/*トップページの「topix」ブロック
---------------------------------------------------------------------------*/
#topix {
  padding: var(--content-space);  /*余白。冒頭のcontent-spaceを読み込みます*/
  background: url(../images/bg1.jpg) no-repeat center center /cover;  /*背景画像の読み込み。リピートなし、左右天地中央を表示させる。*/
}


/*フッター
---------------------------------------------------------------------------*/
footer * {margin: 0;padding: 0;}
footer ul {list-style: none;}

/*ブロック全体*/
footer {
    /* 背景色（画像が出ない時の予備） */
    background-color: #dfd631; 
    
    /* 背景画像の設定 */
    /* center center を center bottom に変更 */
    background-image: url('../images/footer_haikei2.png') !important;
    background-repeat: no-repeat !important;
    background-position: center bottom !important; /* ★ここがポイント：一番下に寄せる */
    background-size: cover !important; 
    
    color: #333;
    padding: var(--content-space);
}

/*ロゴやSNSアイコンが入ったブロック*/
footer div.footer-left {
	flex: 1;
/*	display: flex;*/
	flex-direction: column;
	gap: 1rem;	/*このブロック内のボックス同士の間に空ける余白。1文字分。*/
}

/*メニューブロック*/
footer div.footer-right {
    flex: 1;
}

/*フッターのロゴ*/
footer .logo {
  width: 400px;  /*画像の場合の幅*/
  font-size: 1.4rem;  /*テキストの場合の文字サイズ。1.4倍。*/
  font-weight: bold;  /*テキストの場合は、太字に*/
}

/*「問い合わせ」「見学申し込み」ボタンブロック。他の設定は、上のヘッダー側の.btn-box*/
footer .btn-box {
  flex-direction: column;
}

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

	footer {
		display: flex;
		gap: 2rem;		/*ロゴのブロックとメニューのブロックとの間の余白。2文字分。*/
	}

	/*ロゴやSNSアイコンが入ったブロック*/
	footer div.footer-left {
		text-align: left;
		width: 40%;	/*幅。40%。*/
	}

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


/*Copyright部分*/
footer small {
	display: block;
	margin-top: 2rem;
}


/*SNSアイコン
---------------------------------------------------------------------------*/
.sns1 {
	list-style: none;
	margin: 0;padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;		/*アイコン同士のマージン的な要素。１文字分。*/
}

.sns1 i {
	font-size: 30px;	/*アイコンサイズ*/
}


/*Google Map用
---------------------------------------------------------------------------*/
.iframe-box1 {
	width: 100%;
	height: 0;
	padding-top: 56.25% !important;	/*マップの高さを増やしたい場合は、ここの数値を上げてみて下さい。*/
	position: relative;
	overflow: hidden;
}
.iframe-box1 iframe {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}


/*よく頂く質問
---------------------------------------------------------------------------*/
/*質問*/
.faq dt {
	display: flex;
	align-items: flex-start;
	border-radius: 3px;		/*角を少しだけ丸く*/
	margin-bottom: 1rem;	/*下に空けるスペース。質問ブロック同士の余白です。*/
	background: #fff;		/*背景色*/
	color: #555;			/*文字色*/
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
	padding: 0.5rem 1rem;		/*ブロック内の余白。上下に0.5文字分、左右い1文字分。*/
}
.faq dt.openclose1 {
	cursor: pointer;	/*カーソルの形状。リンクと同じスタイルにしてクリックできると認識してもらう。*/
}

/*アイコン*/
.faq dt::before {
	font-family: "Font Awesome 6 Free";
	content: "\f059";	/*アイコン画像の指定*/
	margin-right: 1rem;	/*右側に空けるスペース*/
	flex-shrink: 0;
	color: var(--primary-color);			/*アイコンの色*/
}

/*回答*/
.faq dt + * {
	padding: 0 1rem 1rem 3rem;	/*ボックス内の余白。上、右、下、左への順番。*/
}


/*テーブル
---------------------------------------------------------------------------*/
.week2 {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid #ccc;	/*テーブル外側の線の幅、線種、色*/
	table-layout: fixed;	/*幅を均等に*/
	background: #fff;		/*テーブル全体の背景色*/
	color: #555;			/*テーブル全体の文字色*/
}

/*受付時間の幅*/
.week2 th:first-child,
.week2 td:first-child {
	width: 25%;
}

/*各曜日の幅*/
.week2 th:not(:first-child),
.week2 td:not(:first-child) {
	width: calc(75% / 7);	/*受付時間で25%とっているので残りの75%を7で割る*/
}

/*th(曜日)とtd(時間)*/
.week2 th,
.week2 td {
	text-align: center;	/*テキストをセンタリング*/
	border-bottom: 1px solid #ccc;	/*下の線の幅、線種、色*/
	border-right: 1px solid #ccc;	/*右の線の幅、線種、色*/
}

/*th(曜日)とtd(時間)のそれぞれ最後の右側の線を消す*/
.week2 th:last-child,
.week2 td:last-child {
	border-right: none;
}

/*最後の行の下線を消す*/
.week2 tr:last-child td {
	border-bottom: none;
}

/*th(曜日)の追加指定*/
.week2 th {
	background: #fafafa;	/*背景色*/
}
.week2 td {
	border-bottom: 1px solid #ccc;	/*下の線の幅、線種、色*/
}


/*お知らせブロック
---------------------------------------------------------------------------*/
.new {
	margin-left: 1rem;	/*左に１文字分のスペース*/
	margin-right: 1rem;	/*右に１文字分のスペース*/
}

/*記事の下に空ける余白*/
.new dd {
	padding-bottom: 1rem;
}

/*ブロック内のspan。日付の横のアイコン的な部分の共通設定*/
.new dt span {
	display: inline-block;
	text-align: center;
	line-height: 1.8;		  /*行間（アイコンの高さ）*/
	border-radius: 3px;		/*角を丸くする指定*/
	padding: 0 1rem;		  /*上下、左右へのブロック内の余白*/
	width: 6rem;			    /*幅。６文字分。*/
	transform: scale(0.8);	/*80%のサイズに縮小*/
	background: #999;		  /*背景色*/
	color:#fff;				    /*文字色*/
}

/*icon-bg1*/
/*icon-bg1*/
.new .icon-bg1 {
	background: #ff0000;  /*背景色*/
	color: #fff;          /*文字色*/
}

/*icon-bg2*/
.new .icon-bg2 {
	background: var(--primary-color);	    /*背景色。冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
}

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

	/*ブロック全体*/
	.new {
		display: grid;
		grid-template-columns: auto 1fr;	/* 日付とアイコン部分の幅は自動で、内容が入るブロックは残り幅一杯とる。 */
	}

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


/*横長タイプのボックス（list-normal1）
---------------------------------------------------------------------------*/
.list-normal1 .list * {margin: 0;padding: 0;}

/*ブロック全体を囲むボックス*/
.list-normal1 {
  display: flex;
  flex-direction: column;
  gap: 1rem;  /*各ボックス同士に空けるスペース。１文字分。*/
}

/*ボックス１個あたり*/
.list-normal1 .list {
	display: flex;
	padding: 1rem;	/*ボックス内の余白*/
	position: relative;
  border: 1px solid #ccc;  /*枠線の幅、線種、色*/
  background: #fff;  /*背景色*/
  border-radius: 5px;      /*角を少しだけ丸くする指定*/
}

/*ボックス内のdiv*/
.list-normal1 .list div {
	flex: 1;
}

/*ボックス内のfigure画像*/
.list-normal1 .list figure {
	width: 30%;			    /*画像の幅*/
	margin-right: 1rem;	/*画像の右側に空けるスペース*/
}


/*横並びブロック（list-grid1）
---------------------------------------------------------------------------*/
.list-grid1 .list * {margin: 0;padding: 0;}

/*ボックス１個あたり*/
.list-grid1 .list {
  display: grid;
	position: relative;
  overflow: hidden;
	padding: 1rem;			/*ボックス内の余白。１文字分。*/
  grid-template-rows: auto 1fr;	/*１つ目（この場合はfigureのサイズ）は自動に、２つ目（この場合はtextブロック））を残った幅で使う*/
  border: 1px solid #ccc;  /*枠線の幅、線種、色*/
  background: #fff;  /*背景色*/
  border-radius: 5px;      /*角を少しだけ丸く*/
  margin-bottom: 1rem;
}

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

  /*ブロック全体を囲むブロック*/
  .list-grid1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /*3列*/
    gap: 1rem;
  }


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

/*ボックス内のfigure画像*/
.list-grid1 .list figure img {
	margin-bottom: 0.5rem;	/*画像の下に空けるスペース。0.5文字分。*/
}

/*ボックス内のp要素*/
.list-grid1 .list p {
	line-height: 1.5;	  /*行間を少し狭く*/
}

/*横並びブロック（list-grid4）：2つの時に中央に寄るタイプ
---------------------------------------------------------------------------*/
.list-grid4 .list * {margin: 0;padding: 0;}

/*ボックス１個あたり*/
.list-grid4 .list {
    display: grid;
    position: relative;
    overflow: hidden;
    padding: 1rem;
    grid-template-rows: auto 1fr;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 5px;
    margin-bottom: 1rem;
    /* 1つあたりの幅を、3列の時の最大幅に合わせておくと綺麗です */
    width: 100%;
}

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

    /*ブロック全体を囲むブロック*/
    .list-grid4 {
        display: flex;         /* ★GridではなくFlexboxに変更 */
        flex-wrap: wrap;       /* 折り返しを許可 */
        justify-content: center; /* ★これ1行で、2つの時に中央に寄ります */
        gap: 1rem;
    }

    /* ボックス1個あたりの幅を調整（3段組みをベースにする場合） */
    .list-grid4 .list {
        margin-bottom: 0;
        /* 3つの時にピッタリ並ぶよう、余白を引いて計算（約32%） */
        width: calc((100% - 2rem) / 3); 
        min-width: 280px; /* 極端に細くならないようガード */
    }

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

/*ボックス内の画像とテキストの設定（list-grid1と同じ）*/
.list-grid4 .list figure img {
    margin-bottom: 0.5rem;
}
.list-grid4 .list p {
    line-height: 1.5;
}

/*詳細ページのサムネイル切り替えブロック
---------------------------------------------------------------------------*/
/*大きな画像が表示されるブロック*/
.thumbnail-view {
	max-width: 1000px;  /*最大幅。もし画面幅に合わせて100%にしたいなら、width: 100%に変更してください。*/
	margin: 0 auto 1rem;
	text-align: center;
}

/*サムネイル全体を囲むブロック*/
.thumbnail {
	display: flex;
  flex-wrap: wrap;
	justify-content: center;
	margin-bottom: 2rem;
}

/*サムネイル画像・動画*/
.thumbnail img,
.thumbnail video {
	width: 100px;  /*サムネイルの幅*/
	margin: 2px;
	cursor: pointer;
	transition: 0.3s;
  background: #000;
}

/*マウスオン時に色を80%にする*/
.thumbnail img:hover,
.thumbnail video:hover {
	opacity: 0.8;
}

/* 大きな表示の中身（画像・動画） */
.thumbnail-view img,
.thumbnail-view video {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* 動画サムネ用ラッパ＆アイコン */
.thumbnail .thumb-wrap {
  position: relative;
  display: inline-block;
  width: 100px;      /* 既存サムネ幅と合わせる */
  margin: 2px;       /* 既存サムネ間隔と合わせる */
}
.thumbnail .thumb-wrap > video {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;         /* 二重余白を防止 */
}
.thumbnail .thumb-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;      /* クリックは下のvideoに通す */
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}
/*動画サムネの上のアイコン*/
.thumbnail .thumb-play i {
  background: #ff0000;  /*背景色*/
  color: #fff;          /*文字色*/
  border-radius: 9999px;
  padding: 6px 8px;
  font-size: 12px;
  line-height: 1;
}


/*2カラム（main-contents、sub-contents設定）
---------------------------------------------------------------------------*/
/*main-contentsブロック*/
.main-contents {
	margin-bottom: var(--content-space);	/*ボックスの下に空けるスペース。冒頭のcontent-spaceを読み込みます。*/
}

/*sub-contentsブロック*/
.sub-contents {
  order: -1;  /*サブブロックを左に配置*/
}

/*サブコンテンツ内のh3要素(見出し)*/
.sub-contents h3 {
	margin: 0;
  padding: 0;
	font-size: 1rem;
	margin-bottom: 0.5rem;
}

/*h3見出しの左のアクセントライン*/
.sub-contents h3::first-letter {
	border-left: 3px solid var(--primary-color);	/*左側のアクセント用ラインの幅、線種、色*/
	padding-left: 10px;  /*アクセントラインとテキストとの間の余白*/
}

/*段落タグ*/
.sub-contents p {
  margin-left: 0;
  margin-right: 0;
  font-size: 0.9rem;  /*文字サイズを90%*/
  line-height: 1.6;  /*行間を少し狭く*/
}

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

	/*カラムで使う為の指定*/
	main.column {
		display: flex;		/*横並びにする*/
		justify-content: space-between;
    gap: var(--content-space);	/*ボックスの下に空けるスペース。冒頭のcontent-spaceを読み込みます。*/
	}
	
	/*main-contentsブロック*/
	.main-contents {
		margin-bottom: 0;
		flex: 1;
	}
	
	/*sub-contentsブロック共通*/
	.sub-contents {
		width: 210px;	/*幅。お好みで変更して下さい。*/
	}
	
	}/*追加指定ここまで*/


/*サブメニュー設定
---------------------------------------------------------------------------*/
.submenu * {margin: 0;padding: 0;}

/*サブメニューブロック全体*/
.submenu {
	padding: 0;
	margin: 0 0 1rem;	/*上、左右、下へのマージン*/
	border-top: 1px solid #ccc;	/*上の枠線の幅、線種、色*/
}

/*メニュー１個あたり*/
.submenu >  li {
  border-bottom: 1px solid #ccc;	/*下の枠線の幅、線種、色*/
}
.submenu a {
	display: block;text-decoration: none;
	padding: 0.2rem 1rem;	/*上下、左右へのメニュー内の余白*/
	background: #fff;	/*背景色*/
}

/*子メニュー*/
.submenu li li a {
	padding-left: 2rem;	/*左に余白を空ける*/
}

/*★サブメニュー設定（バナー・中央寄せ対応版）
---------------------------------------------------------------------------*/
.submenu_b * {margin: 0;padding: 0;}
.submenu_b ul {list-style: none;}

/*サブメニューブロック全体*/
.submenu_b {
    list-style: none; /* ★これで黒丸が消えます */
    padding: 0;
    margin: 0 0 1rem;
}

/* メニュー１個あたり */
.submenu_b > li {
    list-style: none;    /* 念のため */
    margin-bottom: 10px; 
    text-align: center;  
}

/* リンク・画像の設定 */
.submenu_b a {
    display: block;
    text-decoration: none;
}

.submenu_b img {
    display: inline-block; /* 中央寄せを効かせるため */
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* 画面幅900px以上の追加指定（PC表示：左カラムにある時）
   ※元のテンプレートの .sub-contents のブレイクポイントに合わせています */
@media screen and (min-width: 900px) {

    .submenu_b > li {
        text-align: left; /* ★PC表示では左寄せに戻す */
    }

}

/*サブコンテンツ内のbox1
---------------------------------------------------------------------------*/
.sub-contents .box1 {
	padding: 1rem;			/*ボックス内の余白*/
	margin-bottom: 1rem;	/*ボックスの下に空けるスペース*/
	background: rgba(0,0,0,0.03);	/*背景色。rgbaは色設定で0,0,0は黒。0.03は透明度3%の事。*/
	border: solid 1px #dcdcdc;	/*線の線種、幅、色*/
	box-shadow: 0px 0px 1px 1px #fff inset;	/*ボックスの影。内側に白のラインを入れる。*/
}

/*box1内のメニューの設定*/
.sub-contents .box1 ul.submenu {
	margin-bottom: 0px;
}


/*著作部分
---------------------------------------------------------------------------*/
.pr a {
	text-decoration: none;display: block;
	background: #555;
	color: #ccc;
	text-align: right;
	padding: 0.5rem 1rem;
	font-size: 0.8rem;
}
.pr a::before {
	font-family: "Font Awesome 6 Free";
	content: "\f5e4";
	font-weight: bold;
	margin-right: 0.5em;
}


/*テーブル（ta1）
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	font-weight: bold;		/*太字に*/
	padding: 0.2rem 1rem;		/*ボックス内の余白*/
	background: #555;	/*背景色*/
	color: #fff;			/*文字色*/
	margin-bottom: 1rem;	/*下に空けるスペース*/
	border-radius: 5px;		/*角を丸くする指定*/
}

/*ta1テーブルブロック設定*/
.ta1 {
	table-layout: fixed;
	border-top: 1px solid #999;	/*テーブルの一番上の線。幅、線種、色*/
	width: 100%;				/*幅*/
	margin-bottom: 2rem;		/*テーブルの下に空けるスペース。２文字分。*/
}

/*tr（１行分）タグ設定*/
.ta1 tr {
	border-bottom: 1px solid #999;	/*テーブルの下線。幅、線種、色*/
}

/*th（左側）、td（右側）の共通設定*/
.ta1 th, .ta1 td {
	padding: 1rem;		/*ボックス内の余白*/
	word-break: break-all;	/*英語などのテキストを改行で自動的に折り返す設定。これがないと、テーブルを突き抜けて表示される場合があります。*/
}

/*th（左側）のみの設定*/
.ta1 th {
	width: 30%;			/*幅*/
	text-align: left;	/*左よせにする*/
	background: #f0f0f0;	/*背景色*/
}

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

		/*th（左側）のみの設定*/
		.ta1 th {
			width: 20%;		/*幅*/
		}

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

	/*画面幅600px以下の追加指定*/
	@media screen and (max-width:600px) {

	.scroll .ta1 {width: 700px;}
	.scroll {overflow-x: auto;}

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


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

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


/*その他
---------------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.color-check, .color-check a {color: #ff0000 !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;}
.mb3rem {margin-bottom: 3rem !important;}
.mb30 {margin-bottom: 30px !important;}
.look {display: inline-block;padding: 0px 10px;background: #eee;border: 1px solid #ccc; color: #888; border-radius: 3px;margin: 5px 0; word-break: break-all;}
.small {font-size: 0.75em;}
.large {font-size: 2em; letter-spacing: 0.1em;}
.block {display: block !important;}

/*★list-yoko3-border-parts（カラムブロック）
---------------------------------------------------------------------------*/
.list-yoko3-border-parts * {margin: 0;padding: 0;}

/*ボックス全体を囲むブロック*/
.list-yoko3-border-parts {
	display: flex;
	flex-direction: column;
	gap: 2rem;		/*ボックス同士の間に空けるスペース。2文字分。*/
}

/*ボックス１個あたり*/
.list-yoko3-border-parts .list-parts {
	display: flex;
	align-items: center;
	gap: 1rem;	/*画像とテキストブロックの間に空けるスペース。0.5文字分。*/
	border: 1px solid var(--bg-border-color);	/*枠線の幅、線種、var以降は色の指定でtheme.cssのbg-border-colorを読み込みます。*/
	padding: 1rem;	/*ボックス内の余白。1文字分。*/
}
/*bg1-light-parts上の線色*/
.bg1-light-parts .list-yoko3-border-parts .list-parts {
	border-color: var(--light-border-color);
}
/*bg1-parts上の線色*/
.bg1-parts .list-yoko3-border-parts .list-parts {
	border-color: var(--bg-inverse-border-color);
}
/*bg1-primary-parts上の線色*/
.bg1-primary-parts .list-yoko3-border-parts .list-parts {
	border-color: var(--primary-border-color);
}
/*bg1-accent-parts上の線色*/
.bg1-accent-parts .list-yoko3-border-parts .list-parts {
	border-color: var(--accent-border-color);
}

/*左右逆向き用スタイル*/
.list-yoko3-border-parts .list-parts.reverse {
	flex-direction: row-reverse;
}

/*画像の幅*/
.list-yoko3-border-parts .list-parts figure {
	width: 40%;
}

/*テキストを囲むブロック*/
.list-yoko3-border-parts .list-parts .text-parts {
	flex: 1;
}

/*段落（p）*/
.list-yoko3-border-parts .list-parts .text-parts p {
	font-size: 0.9rem;	/*文字サイズ90%*/
	line-height: 1.5;	/*行間を少し狭く*/
}
.list-yoko3-border-parts .list-parts .text-parts p + p {
	margin-top: 0.5rem;
}
/*list-kadomaru1-auto-parts（カラムブロック）
---------------------------------------------------------------------------*/
.list-kadomaru1-auto-parts * {margin: 0;padding: 0;}

/*ボックス全体*/
.list-kadomaru1-auto-parts {
    display: grid;
    /* スマホでは1列 */
    grid-template-columns: 1fr; 
    gap: 2rem;
    font-size: 0.9rem;
}

/* 画面幅700px以上の時、2列等分にする */
@media screen and (min-width: 700px) {
    .list-kadomaru1-auto-parts {
        grid-template-columns: repeat(2, 1fr); 
        gap: 3rem;
    }
}

/*ボックス１個あたり*/
.list-kadomaru1-auto-parts .list-parts {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative; /* アイコン配置の基準 */
}

/*画像（角丸を削除しました）*/
.list-kadomaru1-auto-parts .list-parts figure {
    border-radius: 0;    /* ★角丸を0にして四角くしました */
    overflow: hidden;
}

/*テキストボックス*/
.list-kadomaru1-auto-parts .list-parts .text-parts {
    flex: 1;
}

/*h4見出し*/
.list-kadomaru1-auto-parts h4 {
    text-align: center;
}

/*説明だけ小さめにする*/
.list-kadomaru1-auto-parts .list-parts p {
    font-size: 0.9em;
    line-height: 1.5;
}

/*square（正方形）画像設定時も角丸なし*/
.list-kadomaru1-auto-parts.square .list-parts figure {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 0;    /* ★ここも念のため0に */
}
.list-kadomaru1-auto-parts.square .list-parts figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/*★.list-kadomaru1-auto-parts用のアイコン設定
---------------------------------------------------------------------------*/
.list-kadomaru1-auto-parts .icon1-parts,
.list-kadomaru1-auto-parts .icon2-parts,
.list-kadomaru1-auto-parts .icon3-parts {
    display: block;
    pointer-events: none;
    font-size: 0.7rem;
    text-align: center;
    position: absolute;
}

.list-kadomaru1-auto-parts {
    --icon-bg-color: var(--accent-color);
    --icon-text-color: var(--accent-inverse-color);
}

.bg1-accent-parts .list-kadomaru1-auto-parts {
    --icon-bg-color: var(--accent-inverse-color);
    --icon-text-color: var(--accent-color);
}

/*icon1-parts*/
.list-kadomaru1-auto-parts .icon1-parts {
    left: 5px;
    top: 5px;
    padding: 0 0.5rem;
    background: var(--icon-bg-color);
    color: var(--icon-text-color);
}

/*icon2-parts*/
.list-kadomaru1-auto-parts .icon2-parts {
    overflow: hidden;
    left: -6px;
    top: -6px;
    width: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: var(--icon-bg-color);
    color: var(--icon-text-color);
}

/*icon3-parts（帯）*/
.list-kadomaru1-auto-parts .icon3-parts {
    left: -20px;
    top: -20px;
    width: 100px;
    height: 100px;
    z-index: 2;
}
.list-kadomaru1-auto-parts .icon3-parts > span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 160px;
    transform: translate(-50%, -50%) rotate(-45deg);
    white-space: nowrap;
    background: var(--icon-bg-color);
    color: var(--icon-text-color);
}
