@charset "utf-8";



/*リセットCSS（sanitize.css）の読み込み 
→ 2023/02/21 DLしてCSSフォルダに保管した。間違えて削除した時はDLして保存すること。
リセットCSSとは、
ブラウザがWebページを表示する際に使うスタイルを打ち消し、
ブラウザによる見え方の差をなくしてくれるのがリセットCSSです。
---------------------------------------------------------------------------*/
@import url("css/sanitize.css");
<!--@import url("https://unpkg.com/sanitize.css");-->


/*slick.cssの読み込み
---------------------------------------------------------------------------*/
@import url("css/slick.css");
<!--@import url("https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css");-->

/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("css/all.min.css");
<!--@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");-->

/*Google Font 'Yuji Syuku' の読み込み(「人と自然を創造する-誰もが健康であるために」などに適用）
『趣のある和文向きの筆書体、アルファベット（文字間は少し広め）でも良い感じだと思う』
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Yuji+Syuku&display=swap');


/*全体の設定
---------------------------------------------------------------------------*/
html,body {
	margin: 0;padding: 0;
	overflow-x: hidden;
	font-size: 14px;	/*基準となるフォントサイズ。下の方にある「画面幅1000px以上」で基準を大きなサイズに再設定しています。*/
}
#new dd p{
	line-height: 1.8em;
	margin-bottom: 1.5em;	/*-- 下に1.5--*/
}

body {
	font-family: "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
	-webkit-text-size-adjust: none;
	background: #fff;	/*背景色*/
	color: #555;		/*全体の文字色*/
	line-height: 2;		/*行間*/

	/*画面に映し出されるときにフェードイン
	---------------------------------------------------------------------------ここから*/
	animation: fadeIn 2s ease 0s 1 normal;
	-webkit-animation: fadeIn 2s ease 0s 1 normal;
}

@keyframes fadeIn {
	0% {opacity: 0}
	100% {opacity: 1}
}

@-webkit-keyframes fadeIn {
	0% {opacity: 0}
	100% {opacity: 1}
}



/*リセット*/
figure {margin: 0;}
dd {margin: 0;}
nav {margin: 0;padding: 0;}

/*table全般の設定*/
table {border-collapse:collapse;}

/*画像全般の設定*/
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}


/*iframeタグ*/
iframe {width: 100%;}

/*ul,olタグ*/
ul, ol {margin-bottom: 30px;}

/*sectionタグ*/
section + section {
	margin-top: 50px;	/*--2番目以降の<section>要素が、直前の<section>要素との間に50pxのマージン（上側の余白）を持つように--*/
}


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: #555;	/*文字色*/
	transition: 0.3s;
}

a:hover {
	color: #293765;	/*マウスオン時の文字色*/
}

/*画像などの下にある四角いボタンのリンク色設定*/
a.white:link {	/*<a class="white" href="…">〇〇</a> にするとリンク文字色が白になる　*/
text-decoration: none;
color : #ffffff;
}

a.white:visited {	/*<a class="white" href="…">〇〇</a> にするとリンク文字色が白になる　*/
/*text-decoration : underline;*/
color : #ffffff;
}

a.white:hover {	/*マウスオーバーで変色*/
font-weight: bold;
color : #c6c5fc;
}


/*container（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
#container {
	max-width: 1500px;	/*最大幅。これ以上広がらない。*/
	margin: 0 auto;
	overflow: hidden;
	/*border: solid 1px #ac0b56;*/
}


/*header（ロゴなどが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	max-width: 1500px;	/*追記2023/02/21　意図的な理由でbodyの外に配置させたのでサイズ指定が必要になった。*/
	margin: 0 auto;		/*追記2023/02/21　中央揃え*/
	padding: 5px 0;
	line-height: 1;
	display: flex;		/*flexボックスを使う指定*/
	flex-direction: column;	/*子要素を縦並びにする*/
	text-align: center;
	background-color: #fff;
	/*border: soild 1px #800000;*/
	/*margin: 20px 3%;	/*追記　上記2023/02/21の変更に伴い廃止　上下、左右へ空けるスペース*/
}

/*ロゴ画像*/
header #logo {
	margin: 0 auto 10px;
	width: 300px;		/*ロゴ画像の幅　 変更2023/02/21　230→300*/
}

/*言語選択　雛形のときは電話番号だった*/
#tel {
	font-size: 0.9em;	/*文字サイズ　変更2023/02/21 1.3→1.0 → 2023/3/29 0.9em*/
}

/*地域と共に、サステナなどを格納するボタンの様な枠*/
header .other { 	
	display: inline-block;		/*インラインブロック要素*/
	margin-right: 3px;			/*枠の右に余白*/
	margin-bottom: 3px;			/*枠の下の余白*/
	line-height: 1;				/*枠の高さ*/
	border-radius: 0.5em;		/*角に丸みを*/
	padding: 5px 8px;			/*上下、左右へのアイコン内の余白*/
	font-size: 0.7em;			/*文字サイズ*/
	color: #fff;			   /*文字色*/
	border: solid 1px #5c5c5c;/*枠の色を薄い金色に変更*/
	background: #2a3a6b;	   /*背景色*/
}

/*menubarブロック初期設定
---------------------------------------------------------------------------*/
#menubar ul {list-style: none;margin: 0;padding: 0;}

/*メニューを非表示にしておく*/
#menubar {
	display: none;
	font-size: 85%;		/*追記2023/02/21　少し小さく 小画面PCで品質管理・製品開発が改行されにくくするため*/
	max-width: 1500px;	/*追記2023/02/21　意図的な理由でbodyの外にmenubarを記載したのでサイズ指定が必要になった。*/
	margin: 0 auto;		/*追記2023/02/21　上記のため、左寄せになったので→中央配置を指定*/
}


/*開閉用のスタイル*/
#menubar.db {display: block;}
#menubar.dn {display: none;}

/*メニュー１個あたりの設定*/
#menubar ul li {
	background: linear-gradient(#404d77, #313f6e 49%, #293765 50%);		/*グラデーション*/
}

#menubar a {
	display: block;text-decoration: none;
	text-align: center;	 /*テキストを中央に*/
	color: #fff;		/*文字色*/
	padding: 10px 0;	 /*上下、左右へのメニュー内の余白*/
}

/*マウスオン時*/
#menubar ul li:hover {
	background: #111;
}

/*装飾文字（英語表記）*/
#menubar span {
	display: block;
	font-size: 0.7em;	/*変更2023/02/21　文字サイズを70%に*/
	opacity: 0.6;		/*透明度。60%色が出た状態。*/
}

/*小さな端末用の開閉ブロック設定
---------------------------------------------------------------------------*/
/*メニューブロック設定*/
.s #menubar.db {
	position: fixed!important;
	overflow: auto;
	z-index: 100;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	animation: animation1 0.2s both;/*animation.cssの、animation1を実行する。0.2sは0.2秒の事。*/
	
	/*背景を透明に*/
	background-color: rgba(255, 255, 255, 0); /* 背景色を半透明に設定 */
    transition: opacity 0.3s ease; /* フェードのアニメーションを追加 */
	/*background: #fff;		/*背景色*/
	padding: 5%;			 /*余白*/

}



/*メニュー１個あたりの設定*/
.s #menubar.db a {
	display: block;
	padding: 5px 20px;	/*上下、左右へのメニュー内余白*/
	text-align: left;	/*メニュー内のテキストを左寄せ。センタリングがいいならこの１行を削除。*/
}


/*開閉ブロック内のsubmenu
---------------------------------------------------------------------------*/
.sh ul.submenu li {
background: transparent !important;
	/*background: transparent !important;*/
}
.sh ul.submenu li a {
	color: #555 !important;
}

/*ドロップダウンメニュー
---------------------------------------------------------------------------*/
/*ドロップダウンを非表示にしておく*/
#menubar .ddmenu_parent ul {
	display: none;
}

/*ドロップダウンメニューを持つ親に矢印アイコンをつける設定*/
a.ddmenu::before {
	font-family: "Font Awesome 5 Free";	/*Font Awesomeを使う指定*/
	content: "\f150";					/*使いたいアイコン名をここで指定。Font Awesomeに記載されています。*/
	font-weight: bold;					/*この手の設定がないとアイコンが出ない場合があります*/
	margin-right: 0.5em;				/*アイコンとテキストとの間に空けるスペース*/
}

/*ドロップダウンメニュー１個あたりの設定*/
.ddmenu_parent ul a {
	background: #fff !important;	/*背景色*/
	color: #666 !important;		/*文字色*/
	border: 1px solid #ccc;		/*線の幅、線種、色*/
	border-top: none;
}
.ddmenu_parent ul a:hover {
	color: #293765 !important;			/*マウスオン時の文字色*/
	background: #f5f5f5 !important;	/*背景色 追記20230221*/
}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*３本バーブロック*/
#menubar_hdr {
	display: block;
	position: fixed;
	z-index: 100;
	top: 10px;		/*上からの配置場所指定*/
	right: 3%;		/*右からの配置場所指定*/
	width: 50px;	/*幅*/
	height: 50px;	/*高さ*/
	cursor: pointer;
	background: #293765 url(../images/ham.png) no-repeat center top/50px;/*背景色、ハンバーガメニュー画像の読み込み。最後のpxはwidthとheightと、#menubar_hdr.hamと揃えておいて下さい。*/
	opacity: 1;
	transition: 0.2s;
}

/*マウスオン時*/
#menubar_hdr:hover {
	filter: brightness(1.1);	/*少しだけ明るくする*/
}

/*×印が出ている状態の設定。*/
#menubar_hdr.ham {
	background: #901b1b url(../images/ham.png) no-repeat center bottom/50px;
}/*変更2023/02/21　#ff0000→#901b1b　真っ赤な色は良くない*/


/*contentsブロック設定（main、sub、sideを囲むブロック）
---------------------------------------------------------------------------*/
#contents {
	margin: 1.5%;		/*外側に空けるスペース*/
	/*border: solid 1px #0014d2;*/
}



/*mainブロック設定
---------------------------------------------------------------------------*/
main {
	order: 0;		/*表示させる順番。main、sub、sideそれぞれに指定しており、数字の「小さな順」に上から並びます。*/
	margin-bottom: 40px;
	max-width: 1500px;
}



main h2 {
	background: linear-gradient(#404d77, #313f6e 49%, #293765 50%);	/*グラデーション*/
	border-bottom: 4px solid #000;	/*下線*/
	border-image: linear-gradient(to right, #000 0%, #cfd5e2 100%);
	border-image-slice: 1;
	color: #fff;
	font-size: 1.1em;			/*文字サイズ。*/
	font-weight: normal;		/*文字の太さを標準に*/
	padding: 2px 0px 2px 20px;	/*h2タグ内の余白。注意！メディアクエリ１０００以上でも設定あり*/
	margin: 0 0 20px;			/*h2タグの外側にとるスペース。上、左右、下の順。*/
}

/*mainブロック内のh3タグ*/
main h3 {
	position: relative;
	font-size: 1.0rem;			 /*文字サイズ*/
	font-weight: normal;		 /*文字の太さを標準に*/
	background: #f7f7f7;		/*背景色*/
	border: 1px solid #e5e5e5;	/*枠線の幅、線種、色*/
	padding: 2px 20px;			 /*h3タグ内の余白。上下、左右の順。*/
	margin: 5px 0 10px;			 /*h3タグの外側にとるスペース。上、左右、下の順。*/
}



main h4 {
	/*前に縦線*/
	background: no-repeat right center, linear-gradient(#404d77, #313f6e 49%, #293765 50%);
	color: #fff;
	font-size: 1.2rem;		/*文字サイズ*/
	font-weight: normal;	/*文字の太さを標準に*/
	padding: 2px 20px;		/*h4タグ内の余白。上下、左右の順。*/
	margin: 0 0 20px;		/*h4タグの外側にとるスペース。上、左右、下の順。*/
}

/*h4タグの１文字目*/
main h4::first-letter {
	border-left: 3px solid #fff;	/*左の線の幅、線種、色*/
	padding-left: 20px;				 /*線と文字との余白*/
}


/*mainブロックのpタグ*/
main p {
	margin: 0 20px 30px;	/*上、左右、下へ空けるスペース*/
}


/*subブロック設定
---------------------------------------------------------------------------*/
#sub {
	order: 1;		/*表示させる順番。main、sub、sideそれぞれに指定しており、数字の「小さな順」に上から並びます。*/
}

/*１カラム利用時にsubブロックを非表示にする*/
.c1 #sub {
	display: none;
}




/*sideブロック設定
---------------------------------------------------------------------------*/
#side {
	order: 2;		/*表示させる順番。main、sub、sideそれぞれに指定しており、数字の「小さな順」に上から並びます。*/
}

/*１カラムおよび２カラム利用時にsideブロックを非表示にする*/
.c2 #side,.c1 #side {
	display: none;
}


/*sub,side共通
---------------------------------------------------------------------------*/
#sub, #side {
	font-size: 0.9rem;	/*文字サイズ。remの単位についてはテンプレート内の解説をお読み下さい。*/
}

/*subとside内のh2タグ*/
#sub h2, #side h2 {
	margin: 0;
	font-size: 1.2em;	/*文字サイズを少しだけ大きめに*/
	font-weight: normal;	/*文字の太さを標準に*/
	margin-bottom: 10px;	/*下に空けるスペース*/
}
#sub h2::before, #side h2::before {
	content: "";
	border-left: 3px solid #293765;	/*左側の線の幅、線種、色*/
	padding-right: 10px;		/*線とテキストの間に空ける余白*/
}


/*submenu（subとsideで使っているメニュー）
---------------------------------------------------------------------------*/
/*メニュー全体の設定*/
ul.submenu {
	list-style: none;
	padding: 0;margin: 0;
	margin-bottom: 20px;
	border-top: solid 1px #e4e2d7;
}

/*メニュー１個あたりの設定*/
ul.submenu li {
	display: block;margin: 0;
	background: #fff;			/*背景色*/
	border-bottom: solid 1px #e4e2d7;	/*下線の幅、線種、色*/
}
ul.submenu li a {
	text-decoration: none;display: block;
	padding: 2px 10px;	/*上下、左右へとる余白*/
}

/* 2023327追記*/
ul.submenu li a:hover{
	background: #e5e5e5;
}

/*box1　サイト左側にでるサブメニューを格納している枠の設定
---------------------------------------------------------------------------*/
.box1 {
	padding: 20px;			/*ボックス内の余白*/
	margin-bottom: 20px;		/*ボックスの下（外側）にとるスペース*/
	background-color: rgb(240, 240, 240);
	/*background: rgba(0,0,0,0.03);	/*背景色。0,0,0は黒の事で0.03は色が3%出た状態*/
	border: 1px solid #e4e2d7;	/*枠線の幅、線種、色*/
}

/*box1内のsubmenu。下の余白をなくす。*/
.box1 ul.submenu {margin-bottom: 0px;}

/*スクロールと共に追従時に割り当てるクラス（少し大きくなってシャドウ）
---------------------------------------------------------------------------*/
.with-scroll{
	transition-duration: 0.6s;
	transform: scale(1.05);
	box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}


/*フッターメニュー設定
---------------------------------------------------------------------------*/
/*ボックス全体の設定*/
#footermenu {
	background: #333;	/*背景色*/
	color: #999;		/*文字色*/
	font-size: 0.7rem;	/*文字サイズ。remの単位についてはテンプレート内の解説をお読み下さい。*/
	padding: 7px;		/*ボックス内の余白*/
	display: flex;		/*flexボックスを使う指定*/
	justify-content: space-evenly;	/*並びかたの種類の指定2021/02/23　space-between;→space-evenly;へ変更*/
	align-items: flex-start;	/*垂直揃えの指定。上に配置されるように。*/
}

/*ボックス内のリンクテキスト設定*/
#footermenu a {
	text-decoration: none;
	color: #999;	/*文字色*/
}

/*リンクテキストのマウスオン時*/
#footermenu a:hover {
	color: #ccc;	/*文字色*/
}

/*ulタグ（メニューの列単位）*/
#footermenu ul {
	margin: 0;
	padding: 0 2px;
	/*flex: 1;*/	/*上記space-evenly;へ変更の際に廃止*/
	list-style: none;
}


/*title*/
#footermenu .title {
	font-weight: bold;	/*太字にする*/
	color: #ccc;		/*文字色*/
	padding-bottom: 5px;	/*下に空けるスペース*/
	list-style: none;
}


/*フッター設定
---------------------------------------------------------------------------*/
footer small {font-size: 100%;}

footer {
	font-size: 0.6rem;	/*文字サイズ。remの単位についてはテンプレート内の解説をお読み下さい。*/
	background: #293765;	/*背景色*/
	color: #fff;		/*文字色*/
	text-align: center;	/*内容をセンタリング*/
	padding: 20px;		/*ボックス内の余白*/
}

/*リンクテキスト*/
footer a {color: #fff;text-decoration: none;}

/*リンクテキストのマウスオン時*/
footer a:hover {color: #fff;}

/*著作部分*/
footer .pr {	/*「人と自然を創造する-誰もが健康であるために」をブロック要素として。*/
display: block;
}

/*footerは全称セレクタを適用して'Yuji Syuku'に*/
footer * {	/*「人と自然を創造する-誰もが健康であるために」をブロック要素として。*/
font-family: 'Yuji Syuku', serif;
}

copy{
	font-family: none;	/*Ｃマークだけは元のフォントに戻す*/
}


/*一覧ブロック（listおよびlist2共通設定）
---------------------------------------------------------------------------*/
/*listおよびlist2ボックス内のpタグ*/
.list p,
.list2 p {
	margin: 0;
	font-size: 0.95em;	/*文字サイズを95%に。*/
}


/*一覧ブロック（listタイプ）
---------------------------------------------------------------------------*/
/*listボックスを囲むボックス*/
.list-container {
	display: flex;					/*flexボックスを使う指定*/
	flex-wrap: wrap;				/*折り返す指定*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	flex-direction: column;			/*子要素を縦並びにする*/
}

/*listボックス。１個あたりのボックスの指定です。*/
.list-container .list {
	display: flex;					/*flexボックスを使う指定*/
	flex-direction: column;			/*子要素を縦並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	margin-bottom: 30px;			/*ボックス同士の上下間の余白*/
	border: 1px solid #ccc;	   /*枠線の幅、線種、色*/
	padding: 8px;					/*ボックス内の余白*/
	background: #fff;			   /*背景色。*/
	box-shadow: 2px 2px 5px rgba(0,0,0,0.1);/*ボックスの影。右へ、下へ、ぼかし幅の順。0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*ボックス内のh3タグ*/
.list h3 {
	margin: 0;				/*デフォルトマージンを一旦リセット*/
	margin-bottom: 10px;	/*下に少し余白を作る*/
	padding-left: 5px;
}

/*ボックス内のfigure画像*/
.list figure {
	width: 95%;				/*画像の幅*/
	margin: 0 auto;			/*中央寄せ*/
	margin-bottom: 20px;	/*画像の下に設ける余白*/
	/*float: left;	/*要素を横に並べる（画像に文字を回り込ませる）*/
}

/*listボックス内のh4タグ*/
.list-container .list h4 {
	font-size: 1.0em;
	margin: 0, 0, 10px 0;	/*上、右、下、左（時計回り）へのh4の外側に空けるスペース*/
	font-weight: normal;	/*hタグのデフォルトの太字を標準にする。太字がいいならこの１行を削除。*/
}


/* 追記　2023/02/21　『- よくお寄せいただくご相談 -』の下　listボックスを囲むボックス*/
/*「li」リストの配置（並び方）に関する設定。*/
.list-container-narrow-height ul{
	padding-left: 0px;	/*左詰めにする*/	
	display: flex;		/*flexボックスを使う指定*/
	flex-direction: column;	/*まずは縦に並べる（プロパティの値をcolumnにすることで、flexアイテムが上から下に表示されるようにします）*/
	flex-wrap: wrap;	/*折り返す指定をして*/
	max-width: 1400px;	/*横幅の最大値を指定（小さなPC画面ではみ出さないように）*/
	height: 200px;		/*リスト全体の高さを指定する*/
}
/* https://web-camp.io/magazine/archives/84285
flex-wrapの特徴を利用し、flexコンテナであるulタグの高さを
liタグ3つ分にすることで、4つ目のリストタグ以降は段組みされて表示されます。*/


/*「li」リスト１個あたりの指定です。*/
.list-container-narrow-height li{
	list-style: none;	/*リストの加除書き（ドット）を無くす指定*/
	max-width: 1300px;	/*リストの幅(自動的に小さくなるよう最大幅で指定した方が良い)*/
	/*margin-bottom: 2px;	/*枠線の下の余白（リスト同士の間隔*/
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
	border-radius: 10px;	/*枠線の角を丸くする*/
	padding: 0.3em;		/*ボックス内の余白*/
	margin: 0.3em;		/*ボックス外の余白*/
	background: #fff;	/*背景色。*/
	box-shadow: 2px 2px 5px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅の順。0,0,0は黒の事で0.1は色が10%出た状態。*/

}

/*「li」リスト１個あたりの指定（よくお寄せいただくご相談に）
疑似要素を用いてチェックマーク(Font Awesom)を付ける。*/
.list-container-narrow-height ul li::before {
	font-family: "Font Awesome 5 Free";	/*Font Awesomeを使う指定*/
	content: '\f00c';	/*使いたいアイコン名をここで指定。Font Awesomeに記載されています。*/
	font-weight:900;	/*この手の設定がないとアイコンが出ない場合があります*/
	margin-left: 0.5em;	/*アイコンとテキストとの間に空けるスペース*/
	margin-right: 0.5em;	/*アイコンとテキストとの間に空けるスペース*/
	color: #999;
	/*font-weightを正しく入れないと「表示されない」*/
	/*SOLIDは「900」、REGULARとBRANDSは「400」、LIGHTは「300」*/
}
/************ ↑追記　2023/02/21 ここまで。***************　*/

/*一覧ブロック（list2。横長タイプ。）
---------------------------------------------------------------------------*/
/*list2ボックス。１個あたりのボックスの指定です。*/
.list2 {
	display: flex;					 /*flexボックスを使う指定*/
	padding: 25x 0;					 /*上下、左右へのボックス内の余白*/
	border-top: 1px solid #ccc;	/*上の線の幅、線種、色*/
}

/*最後のlist2ブロック*/
.list2:nth-last-of-type(1) {
	border-bottom: 1px solid #ccc;	/*下の線の幅、線種、色*/
	margin-bottom: 30px;			 /*下に空けるスペース*/
}

/*ボックス内のfigure画像*/
.list2 figure {
	width: 20%;			/*画像の幅*/
	margin-right: 20px;	/*画像の右側に空けるスペース*/
	/*float: left;		/*要素を横に並べる（画像に文字を回り込ませる）*/
}

/*ボックス内のdiv*/
.list2 div {
	flex: 1;
}

/*ボックス内のh3タグ*/
.list2 h3 {
	margin: 0;				/*デフォルトマージンを一旦リセット*/
	margin-bottom: 10px;	/*下に少し余白を作る*/
}



/*sub、sideで使う場合のlistおよびlist2の追加指定。
---------------------------------------------------------------------------*/
/*listおよびlist2共通設定。文字サイズ。remの単位についてはテンプレート内の解説をお読み下さい。*/
#sub .list, #sub .list2,
#side .list, #side .list2 {
	font-size: 0.75rem;
}

/*listへの追加設定。*/
#sub .list,
#side .list {
	display: block;		/*figureをfloatで回り込みさせたかったので一旦block要素にしました*/
	margin-bottom: 20px;
	overflow: hidden;
}

/*list内のh3タグへの追加指定*/
#sub .list h3,
#side .list h3 {
	margin: 0 0 10px;
	line-height: 1.5;
}

/*list内のfigure画像への追加指定*/
#sub .list figure,
#side .list figure {
	width: 25%;		/*画像の幅*/
	margin-right: 10px;	/*画像の右側に空けるスペース*/
	float: left;		/*左に回り込み*/
}

/*list2への追加設定*/
#sub .list2,
#side .list2 {
	padding: 10px 0;
}

/*list2内のh3タグへの追加指定*/
#sub .list2 h3,
#side .list2 h3 {
	margin: 0;
	line-height: 1.5;
}

/*list2内のfigure画像への追加指定*/
#sub .list2 figure,
#side .list2 figure {
	width: 25%;		/*画像の幅*/
	margin-right: 10px;	/*画像の右側に空けるスペース*/
}


/*list、list2内で使っているtableっぽく見える所。
---------------------------------------------------------------------------*/
/*ボックス全体*/
dl.line {
	margin: 0;
	display: flex;			/*flexボックスを使う指定*/
	flex-wrap: wrap;		/*折り返す指定*/
	font-size: 0.85em;		/*文字サイズを85%に。*/
	border-top: 1px solid #ccc;	/*上の線の幅、線種、色*/
}

/*左右のボックス*/
dl.line dt, dl.line dd {
	border-bottom: 1px solid #ccc;	/*下線の幅、線種、色*/
	padding: 0 5px;			/*上下、左右へのボックス内の余白*/
}

/*左のボックス*/
dl.line dt {
	width: 8em;		/*幅。8文字(em)分。*/
	background: #f0f0f0;	/*背景色*/
}
/*右のボックス*/
dl.line dd {
	width: calc(100% - 8em);	/*「8em」は上の「dl.line dt」のwidthの値です。*/
}

/*list2ブロック内でのline設定*/
.list2 dl.line dt:nth-of-type(1), .list2 dl.line dd:nth-of-type(1),
.list2 dl.line dt:nth-of-type(2), .list2 dl.line dd:nth-of-type(2) {
	border-top: none;
}


/*listおよびlist2で使用しているアイコン
---------------------------------------------------------------------------*/
/*アイコンの共通設定*/
.icon {
	display: inline-block;
	line-height: 1;
	padding: 3px 8px;	/*上下、左右へのアイコン内の余白*/
	background: #999;	/*背景色。iconクラスだけ適用した場合に出る色です。*/
	color: #fff;		/*文字色*/
	font-size: 0.7em;	/*文字サイズを70%に。*/
	margin: 1px;
}

/*枠線だけが入ったデザイン*/
.waku {
	background: #fff;	/*背景色*/
	color: #00245d;		/*文字色*/
	border: 1px solid #666;	/*枠線の幅、線種、色*/
}

.explain icon waku{
	border: soild 1px #d4bf74;
	background: #eee;	/*背景色*/
}

/*NEWアイコン　写真などの下にある小さな四角いリンクの書式*/
.newicon {
	background: #e82600;	/*背景色*/
}

/*UPアイコン*/
.upicon {
	background: #0078e8;	/*背景色*/
}

/*option1アイコン*/
.option1 {
	background: #5ab600;	/*背景色*/
}

/*option2アイコン*/
.option2 {
	background: #b251bf;	/*背景色*/
}

/*option3アイコン*/
.option3 {
	background: #885513;	/*背景色*/
}

/*option4アイコン*/
.option4 {
	background: #6066af;	/*背景色*/
}

/*option5アイコン*/
.option5 {
	background: #66b5b3;	/*背景色*/
}

/*option6アイコン*/
.option6 {
	background: #e58b15;	/*背景色*/
}

/*option7アイコン*/
.option7 {
	background: #c1c64f;	/*背景色*/
}

/*option8アイコン*/
.option8 {
	background: #54af19;	/*背景色*/
}

/*option9アイコン*/
.option9 {
	background: #266260;	/*背景色*/
}

/*一覧ページの「こだわりで検索」のチェックボックス設定（CMS用）
---------------------------------------------------------------------------*/
.specialbox {
	display: inline-block;
	margin-right: 10px;
}


/*ページャー。ページナビボタン。（CMS用）
---------------------------------------------------------------------------*/
/*ページャーブロック全体*/
.pager {
	margin-top: 30px;
	text-align: center;
	color: #999;	/*文字色*/
}

/*リンクテキスト（ボタン１個あたり）*/
.pager a {
	display: inline-block;text-decoration: none;
	margin-bottom: 5px;
	padding: 0 10px;		/*上下、左右へのボタン内の余白*/
	border: 1px solid #0014d2;	/*枠線の幅、線種、色*/
	background: #0014d2;		/*背景色*/
	color: #fff;			/*文字色*/
}

/*リンクのマウスオン時*/
.pager a:hover {
	background: #fff;	/*背景色*/
	color: #0014d2;		/*文字色*/
}

/*リンクのないボタン*/
.pager span {
	display: inline-block;
	margin-bottom: 5px;
	padding: 0 10px;	/*上下、左右へのボタン内の余白*/
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
	background: #eee;	/*背景色*/
	color: #999;		/*文字色*/
}


/*詳細ページ
---------------------------------------------------------------------------*/
/*大きな画像のボックスと説明文を入れるボックス*/
#item-image {
	position: relative;
	margin: 0 auto 20px;
	text-align: center;
	width: 100%;
}

/*大きな画像のボックスの中の画像*/
#item-image img {
	width: 100%;
}

/*サムネイル画像*/
.thumbnail {
	width: 80px;			/*画像の幅*/
	border: 1px solid #dcdcdc;	/*枠線の幅、線種、色*/
	margin-bottom: 5px;
}

.thumbnail:hover {
	border: 1px solid #999;	/*マウスオン時の枠線の幅、線種、色*/
}


/*パノラマ画像のサイズ設定（※CMS用）
---------------------------------------------------------------------------*/
.panorama-img {
	width: 100% !important;
	height: 200px !important;
}


/*スライドショー（slickを使用）
---------------------------------------------------------------------------*/
.mainimg {
	position: relative;
	cursor: pointer; /*追記*/
}

/*追記2023/02/21　フェードインでslidkの一瞬縦並びごまかし改善*/
.mainimg{
  opacity: 0;
  transition: opacity .3s linear;
}
.mainimg.slick-initialized{
  opacity: 1;
}

.mainimg:active {
    cursor: grabbing; /* クリックしたときのマウスポインターの形状を指定 */
}

/*-- Slickスライドに関するクラス指定（ul.slick-dots等）は slick.min.js を参照　--*/
/*丸いページナビボタン全体を囲むブロック*/
ul.slick-dots {
	margin: 0;
	padding: 0;
	line-height: 1;
	width: 100%;
	/*border: solid 1px #0014d2;*/
	text-align: center;
	position: absolute;
	bottom: -50px;		/*ボタンの上下位置　デフォルトが-25pxみたい？*/
}

/*丸いページナビボタン１個あたりの設定*/
ul.slick-dots li {
	display: inline-block;
	margin: 0 10px;
	cursor: pointer;
}

.mainimg, .digest-slick {
	display: flex;
	align-items: center; /* 垂直方向の中央揃え */
}

/*-- 非表示 -*/
.digest-slick .slick-prev, 
.digest-slick .slick-next{
	width: 20px;
	height: 20px;
	border: none;
	background-color: #ffffff;
	border-radius: 50%;
	color: #00245d;
}



/*buttonタグ*/
ul.slick-dots li button {
	border: none;
	padding: 0;
	display: block;
	text-indent: -9999px;	/*デフォルトで文字が出るので画面の外に追い出す指定*/
	width: 12px;		/*ボタンの幅*/
	height: 12px;		/*ボタンの高さ*/
	border-radius: 50%;	/*丸くする指定*/
	cursor: pointer;	/*クリックで画像へジャンプするので、わかりやすいようhover時にpointerになるように。*/
	background: #dcdcdc;	/*背景色。白→白鼠に変更。*/	
}

/*buttonのアクティブ時（現在表示されている画像を示すボタン）*/
ul.slick-dots li.slick-active button {
	background: #293765;	/*色*/
}








/*受託加工のスライド（追記）*/
.slickGoTo {
	display: block;
	position: absolute;		/*無いと右にズレる*/
	left: 50%;			/*追記2023/02/21　画面の50％分左にして…（メニューバーをbodyの外に記述したため必要となった記載）*/
	transform: translateX(-50%);	/*次に　50％の半分、つまり25％をに戻す*/
	/*bottom: 100px;*/
	max-width: 1350px;
	/*width: 100vw;*/
	cursor: pointer;
}

.slickGoTo:active {
    cursor: grabbing; /* クリックしたときのマウスポインターの形状を指定 */
}


/*「お知らせ」ブロック
---------------------------------------------------------------------------*/
/*お知らせブロック*/
#new {
	margin: 0;
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*折り返す指定*/
	padding: 0 10px;	/*上下、左右へのボックス内の余白*/
	max-height: 28em;	/*2023/02/02 追記　高さ制限*/
	overflow: auto;		/*高さを超えた場合はスクロール*/
}

/*日付(dt)、記事(dd)共通設定*/
#new dt,
#new dd {
	padding: 5px 0;	/*上下、左右へのボックス内の余白*/
}

/*日付(dt)設定*/
#new dt {
	width: 8em;	/*幅。8文字(em)分。※下の「1000px以上」の端末用の設定に再設定があります。*/
}

/*日付の横のマーク（共通設定）*/
#new dt span {
	display: none;	/*小さな端末では非表示にしておく。*/
}

/*記事(dd)設定*/
#new dd {
	width: calc(100% - 8em);	/*「8em」は上の「#new dt」のwidthの値です。※下の「1000px以上」の端末用の設定に再設定があります。*/
}


/*list_base.htmlの設定
---------------------------------------------------------------------------*/
/*メニュー全体を囲むブロック*/
ul.menu {
	list-style: none;padding: 0;
}

/*メニュー１個あたりの設定*/
ul.menu li {
	margin-bottom: 10px;	/*メニューの上下間に空けるスペース*/
}

/*リンクテキスト*/
ul.menu a {
	display: block;
	padding: 10px 20px;			/*上下、左右へのメニュー内の余白*/
	border-radius: 5px;			/*角を丸くする設定*/
	border: 1px solid #ccc;			/*下線の幅、線種、色*/
	background: linear-gradient(#fff, #eee);/*背景グラデーション*/
}

/*左にあるアクセントライン*/
ul.menu a::before {
	content: "";
	border-left: 4px solid #293765;	/*テキストの左側のアクセントラインの幅、線種、色*/
	padding: 3px 15px 3px 0px;	/*アクセントラインの余白。上、右、下、左への順番。15pxがテキストとの間の余白部分になります。*/
}


/*btnの設定
---------------------------------------------------------------------------*/
/*ボタンを囲むブロック*/
.btn {
	text-align: center;	/*内容をセンタリング*/
}

/*ボタン*/
.btn a,
.btn input {
	display: inline-block;text-decoration: none;border: none;
	color: #fff;		/*文字色*/
	border-radius: 3px;	/*角丸のサイズ。ほんの少しだけ角が丸くなります。*/
	padding: 15px 40px;	/*上下、左右への余白。*/
	box-shadow: 2px 2px 5px rgba(0,0,0,0.5);	/*ボックスの影。右へ、下へ、ぼかし幅の順。0,0,0は黒の事で0.2は色が20%出た状態。*/
	font-size: 1rem;	/*文字サイズ。remの単位についてはテンプレート内の解説をお読み下さい。*/
	background: #901b1b;	/*背景色*/
	letter-spacing: 0.1em;	/*文字間隔を少し広くする指定*/
}

/*subおよびsideで使う場合のボタン*/
#sub .btn a,
#sub .btn input,content: "\f0a9";
#side .btn a,
#side .btn input {
	padding: 5px;	/*余白。*/
	font-size: 1em;	/*文字サイズ*/
}

/*ボタンのマウスオン時*/
.btn a:hover,
.btn input:hover {
	cursor: pointer;
	filter: brightness(1.1);/*少しだけ明るくする*/
	color: #fff;		/*文字色*/
}

/*list、list2内で使う場合のボタン*/
.list .btn a,
.list2 .btn a {
	display: block;		/*幅一杯にとる*/
	margin-top: 20px;	/*ボタンの上に空けるスペース*/
}

/*subおよびsideのlistおよびlist2で使う場合のボタン*/
#sub .list .btn a,
#sub .list2 .btn a,
#side .list .btn a,
#side .list2 .btn a {
	margin-top: 10px;
}

/*矢印アイコン（Font Awesome）*/
.btn.arrow a::after {
	font-family: "Font Awesome 5 Free";	/*Font Awesomeを使う指定*/
	content: "\f0a9";	/*使いたいアイコン名をここで指定。Font Awesomeに記載されています。*/
	color: #fff;		/*アイコンの色*/
	font-weight: bold;
	display: inline-block;
	padding-left: 15px;	/*テキストとの間に空けるスペース*/
	transform: scale(1.4);	/*サイズを1.4倍にする設定*/
	transition: 0.3s;
}

/*矢印アイコン（Font Awesome）のマウスオン時*/
.btn.arrow a:hover::after {
	transform: scale(1.6);	/*サイズを少し大きくする*/
	filter: brightness(1.1);/*少しだけ明るくする*/
}

/*矢印アイコン（Font Awesome）のマウスオン時*/
.btn.arrow:active {
	filter: brightness(1.3);/*少しだけ明るくする*/
	transform: translateY(1px); /*ボタンを下に2px移動させる*/
	
}

/*テーブル
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	font-weight: bold;	/*太字に*/
	padding: 10px 5px;	/*上下、左右へのボックス内の余白。基本的に数行下の「.ta1 th, .ta1 td」のpaddingと揃えておけばOKです。*/
	background: #bebebe;	/*背景色*/
	color: #fff;		/*文字色*/
}

/*ta1テーブルブロック設定*/
.ta1 {
	border-top: 1px solid #ccc;	/*テーブルの一番上の線。幅、線種、色*/
	table-layout: fixed;
	width: 100%;
	margin: 0 auto 30px;		/*最後の「30px」がテーブルの下に空けるスペースです*/
	background: rgba(255,255,255,0.2);	/*背景色。255,255,255は白のことで0.5は色が50%出た状態のこと。*/
}

/*tr（１行分）タグ設定*/
.ta1 tr {
	border-bottom: 1px solid #ccc;	/*テーブルの下線。幅、線種、色*/
}

/*th（左側）、td（右側）の共通設定*/
.ta1 th, .ta1 td {
	padding: 10px 5px;	/*上下、左右へのボックス内の余白*。基本的に数行上の「.ta1 caption」のpaddingと揃えておけばOKです。*/
	word-break: break-all;	/*英語などのテキストを改行で自動的に折り返す設定。これがないと、テーブルを突き抜けて表示される場合があります。*/
}

/*th（左側）のみの設定*/
.ta1 th {
	width: 30%;		/*幅*/
	text-align: left;	/*左よせにする*/
}


/*FAQ
---------------------------------------------------------------------------*/
/*FAQボックス全体*/
.faq {
	padding: 0 5px;	/*上下、左右へのボックス内の余白*/
}

/*質問*/
.faq dt {
	border-radius: 10px;	/*枠を角丸にする指定*/
	margin-bottom: 20px;	/*下に空けるスペース*/
	background: linear-gradient(#fff, #f7f7f7);	/*背景グラデーション*/
	text-indent: -2em;		/*テキストのインデント。質問が複数行になった際に、テキストの冒頭を揃える為に設定しています。*/
	padding: 5px 1em 5px 3em;	/*ボックス内の余白。ここを変更する場合、上のtext-indentも調整します。*/
	border: 1px solid #e4e2d7;	/*枠線の幅、線種、色*/
	color: #293765;			/*文字色*/
}

/*アイコン（Font Awesome）*/
.faq dt::before {
	font-family: "Font Awesome 5 Free";	/*Font Awesomeを使う指定*/
	font-weight: 900;
	content: "\f036";/*変更　2022/2/21←使いたいアイコン名を指定。アイコンは下記の参照。
	unicodeの前に「バックスラッシュ / or \」を入れる必要があるので忘れずに！*/
	/*-----------------------------------------------------------------------
	アイコンは→ https:fontawesome.com/v5/cheatsheet  https://stand-4u.com/web/font-awesome-use.html*/
	/*font-weightを正しく入れないと「表示されない」
	/*SOLIDは「900」、REGULARとBRANDSは「400」、LIGHTは「300」
	-------------------------------------------------------------------------*/

	color: #293765;		/*アイコンの色*/
	padding-right: 1em;	/*アイコンとテキストの間の余白*/
}

.faq th,
.faq td{
	line-height: 0.5em;
}

/*回答*/
.faq dd {
	padding: 5px 1em 30px 1em;	/*ボックス内の余白**/
}

/* 質問 */
.faq-item {
    display: flex;
    align-items: center; /* 垂直方向に中央寄せ */
    margin-bottom: 1px; /* 下に空けるスペース */
	border-left: 1px solid transparent; /* 左のボーダー（透明） */
    border-right: 1px solid transparent; /* 右のボーダー（透明） */
    border-bottom: 1px dashed #adacac; /* 下のボーダーの色を指定 */
}

/* 年代 */
.faq-item .year {
    font-weight: normal; /* 太字解除 */
    margin-right: 10px; /* 年代と出来事の間に余白を追加 */
    min-width: 70px; /* 年代の最小幅 */
    text-align: right; /* 年代を右寄せ */
}

/* 回答 */
.faq-item .event {
    flex: 1; /* 出来事が残りのスペースを占めるように */
    padding: 5px 1em; /* ボックス内の余白 **/
}

/* テキストの行間調整 */
.faq-item p {
    margin: 0; /* パラグラフのマージンをリセット */
}




/*opencloseを適用した要素のカーソル*/
.openclose {
	cursor: pointer;/*カーソルの形状。リンクと同じスタイルにしてクリックできると認識してもらう。*/
}

.faq dt span {text-indent: 0;}


/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop-show {display: block;}

/*ボタンの設定*/
.pagetop a {
	display: block;text-decoration: none;text-align: center;
	position: fixed;	/*スクロールに追従しない(固定で表示)為の設定*/
	z-index: 99;
	right: 20px;		/*右からの配置場所指定*/
	bottom: 20px;		/*下からの配置場所指定*/
	color: #fff;	   /*文字色*/
	font-size: 1.5rem;	/*文字サイズ。remの単位についてはテンプレート内の解説をお読み下さい。*/
	background: rgba(0,0,0,0.3);	/*背景色。0,0,0は黒の事で0.3は色が30%出た状態。*/
	width: 60px;		/*幅*/
	line-height: 60px;	/*高さ*/
}

/*マウスオン時*/
.pagetop a:hover {
	background: rgba(0,0,0,0.5);	/*背景色。0,0,0は黒の事で0.5は色が50%出た状態。*/
}


/*inquiry 受託加工ページの問い合わせポップアップボタンの設定
---------------------------------------------------------------------------*/
.inquiry-show {display: block;}

/*ボタンの設定*/
.inquiry a {
	display: block;text-decoration: none;text-align: center;
	position: fixed;	/*スクロールに追従しない(固定で表示)為の設定*/
	z-index: 999;
	right: 100px;		/*右からの配置場所指定*/
	bottom: 20px;		/*下からの配置場所指定*/
	color: #fff;		/*文字色*/
	font-size: 0.8rem;	/*文字サイズ。*/
	padding: 5px;
	background: rgba(144,27,27,0.7);	/*背景色。0,0,0は黒の事で0.7は色が70%出た状態。*/
	width: 200px;		/*幅*/

}

/*マウスオン時*/
.inquiry a:hover {
	background: rgba(144,27,27,1.0);	/*背景色。0,0,0は黒の事で1.0は色が100%出た状態。*/
}




/*その他
---------------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.color-theme, .color-theme a {color: #293765 !important;}
.color-check, .color-check a {color: #f00 !important;}
.c {text-align: center !important;}
.ws {width: 95%;display: block;}
.wl {width: 95%;display: block;}
.mb30 {margin-bottom: 30px !important;}
.look {display: inline-block;padding: 0px 10px;background: #666; color: #fff; border-radius: 3px;margin: 5px 0;}
.look .color-check {color: #ffcc00 !important;}
.small {font-size: 0.7em; margin: 0;}
.small2 {font-size: 0.8em;}
.large {font-size: 1.3em;}
.sn {display: none;}
.vert{
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
 }/*　追記縦書きの文字>*/
space {color: #fff;}	/*　追記<space>この中に入れた文字は白色</space>*/
.space100 {height: 100px;}
 
red {background:linear-gradient(#ff9380 0%, #ff0000 100%)}
green {background:linear-gradient(#c3ff8b 0%, #0aff02 100%)}

/*---------------------------------------------------------------------------
2021/02/21 追記：画面幅1000px以下（表示させたくないものなど）
---------------------------------------------------------------------------*/
@media screen and (max-width:1000px) {


/*受託加工のページ、生産設備のリストに適用
-----------------------------------------------*/
.list-container-narrow-height ul{
	display:block;	/*縦に並べる（リストが縦ならで表示されます）*/
	height: 250px;	/*リスト全体の高さを「200→250」へ指定する。そのままだとなぜか次の見出しと重なる*/
}


.frame1{
	display:none;
}

.slickGoTo img{
	max-height: 150px;/*スマホで画像が左右に大きくはみ出す。画像（img）の高さを指定することで改善*/
	/*max-width: 60px */
}


/*ヘッダーに関する設定変更
-----------------------------------------------*/
#head-contents .other, #head-contents .input-container
{
	display: none;		/*「地域と共に」などのリンク、スマホでは非表示にする（とても嵩張るので）*/
}

#head-contents{
	line-height: 1.4em;	/*行間を少し開ける*/
}


/*　※注意！　下の閉じカッコ　}　はこのブロックに必要なので、削除しないで下さい。　*/

}/*@media screen and (max-width:1100px)ここまで*/



/*---------------------------------------------------------------------------
ここから下は画面幅320px以下の追加指定
---------------------------------------------------------------------------*/
@media screen and (max-width: 320px) {


/*header（ロゴなどが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ロゴ画像*/
header #logo {
	width: 190px;		/*ロゴ画像の幅*/
	margin-bottom: 5px;
}

#head-contents .pr {
	font-size: 0.70em;
}

#footermenu {
	font-size: 55%;
	padding: 3px;		/*ボックス内の余白*/
	line-height: 10px;
}


/*　※注意！　下の閉じカッコ　}　はこのブロックに必要なので、削除しないで下さい。　*/

}




/*---------------------------------------------------------------------------
ここから下は画面幅　321pxから414pxの追加指定
---------------------------------------------------------------------------*/
/* 321pxから430pxのスマートフォン向けのスタイル */
@media screen and (min-width: 321px) and (max-width: 414px) {


/*header（ロゴなどが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ロゴ画像*/
header #logo {
	width: 230px;		/*-- ロゴ画像の幅--*/
	padding-right: 3vw;		/*-- ハンバーガーメニューとの間隔を少し広げる。--*/
}

#footermenu {
font-size: 55%;
padding: 5px;		/*ボックス内の余白*/
}

.faq th,
.faq td{
	line-height: 1.2em;
}

#head-contents .pr {
	font-size: 0.85em;
}

/*　※注意！　下の閉じカッコ　}　はこのブロックに必要なので、削除しないで下さい。　*/

.r {
	text-align: right !important;
	font-size: 0.85em;
	color: #555;
}


/*slick 丸いページナビボタン１個あたりの設定*/
ul.slick-dots li {
	margin: 0 5px;
}

/*丸いページナビボタン全体を囲むブロック*/
ul.slick-dots {
	position: absolute;
	bottom: -30px;		/*ボタンの上下位置　デフォルトが-25pxみたい？*/
}

/*buttonタグ*/
ul.slick-dots li button {
	border: none;
	padding: 0;
	width: 8px;		/*ボタンの幅*/
	height: 8px;		/*ボタンの高さ*/
	border-radius: 50%;	/*丸くする指定*/
	background: #dcdcdc;	/*背景色。白→白鼠に変更。*/	
}
  
}




/*---------------------------------------------------------------------------
ここから下は画面幅415px以上430px以下の追加指定
---------------------------------------------------------------------------*/
@media screen and (min-width:415px) and (max-width:430px){


/*header（ロゴなどが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ロゴ画像*/
header #logo {
	width: 300px;		/*-- ロゴ画像の幅 --*/
}

.faq th,
.faq td{
	line-height: 1.5em;
}

#head-contents .pr {
	font-size: 1em;
}

.r {
	text-align: right !important; 
	font-size: 0.85em;
	color: #555;
}




/*　※注意！　下の閉じカッコ　}　はこのブロックに必要なので、削除しないで下さい。　*/

}


/*---------------------------------------------------------------------------
ここから下は画面幅600px以上の追加指定
---------------------------------------------------------------------------*/
@media screen and (min-width:600px) {


/*一覧ブロック（listタイプ）
---------------------------------------------------------------------------*/
/*listボックスを囲むボックス*/
.list-container {
	flex-direction: row;	/*子要素を横並びにする*/
}

/*listボックス。１個あたりのボックスの指定です。*/
.list-container .list {
	width: 49%;	/*ボックスの幅*/
}


.r {
	text-align: right !important; 
	font-size: 0.85em;
	color: #555;
}

/*　※注意！　下の閉じカッコ　}　はこのブロックに必要なので、削除しないで下さい。　*/

}



/*---------------------------------------------------------------------------
ここから下は画面幅1000px以上の追加指定
---------------------------------------------------------------------------*/
@media screen and (min-width:1000px) {

small
/*全体の設定
---------------------------------------------------------------------------1000以上*/
html, body {
	font-size: 16px;	/*基準となるフォントサイズの上書き*/
}


/*header（ロゴなどが入った最上段のブロック）
---------------------------------------------------------------------------1000以上*/
/*ヘッダーブロック*/
header {
	flex-direction: row;			/*子要素を横並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	align-items: center;			/*垂直揃えの指定。天地中央に配置されるように。*/
}

/*ロゴ画像*/
header #logo {
	margin: 0;
}

#head-contents{
	line-height: 1.2em;
	margin: 0 2px;
	text-align: right;
}

#head-contents .pr {
	font-family: 'Yuji Syuku', serif; font-size: 0.9em;
}

#horizontal{
    display: flex;
    justify-content: flex-end;
    gap: 5px; /* ここで要素間の間隔を設定(フレックスボックスやグリッドレイアウトの子要素間のスペースを指定) */
}

/*menubarブロック設定
---------------------------------------------------------------------------1000以上*/
/*メニューブロック全体*/
#menubar ul {
	margin: 0;
	display: flex;
	justify-content: space-around;
	line-height: 1.6;	/*行間を少しだけ狭くする*/
}

/*メニュー１個あたりの設定*/
#menubar ul li {
	flex: 1;
}


/*ドロップダウンメニュー
---------------------------------------------------------------------------1000以上*/
#menubar .ddmenu_parent{
	position: relative;	/*ddmenu ulの幅となる基準を作っておく*/
}

/*ドロップダウンメニューブロック全体*/
#menubar .ddmenu_parent ul {
	position: absolute;			/*絶対配置するための指定*/
	z-index: 100;
	width: 100%;				/*親のliタグに幅を合わせる*/
}

/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------1000以上*/
/*ハンバーガーメニューを非表示にする*/
#menubar_hdr {display: none;}


/*フッターメニューアイコン設定
---------------------------------------------------------------------------1000以上*/
/*フッターメニューにアイコンを表示にする　2023/2/24追記*/
#footermenu li::before {
	font-family: "Font Awesome 5 Free";	/*Font Awesomeを使う指定*/
	content: '\f105';	/*使いたいアイコン名をここで指定。Font Awesomeに記載されています。*/
	font-weight:900;		/*この手の設定がないとアイコンが出ない場合があります*/
	margin-right: 0.5em;	/*アイコンとテキストとの間に空けるスペース*/
	color: #999;
	/*font-weightを正しく入れないと「表示されない」*/
	/*SOLIDは「900」、REGULARとBRANDSは「400」、LIGHTは「300」*/
}


/*contentsブロック設定（main、sub、sideを囲むブロック）
---------------------------------------------------------------------------1000以上*/
#contents {
	display: flex;	/*中身(main、sub、side)を横に並べる*/
}


/*mainブロック設定
---------------------------------------------------------------------------1000以上*/
main {
	flex: 1;
	order: 1;	/*表示させる順番。main、sub、sideそれぞれに指定しており、数字の「小さな順」に左から並びます。*/
	margin: 0 30px;	/*上下、左右へのマージン。両サイドのブロックとの余白になります。*/
}

/*２カラム利用時に右側のマージンをなくす*/
.c2 main {
	margin-right: 0;
}

/*１カラム利用時にマージンをなくす*/
.c1 main {
	margin: 0;
}


/*subブロック設定
---------------------------------------------------------------------------1000以上*/
#sub {
	width: 200px;	/*幅*/
	order: 0;		/*表示させる順番。main、sub、sideそれぞれに指定しており、数字の「小さな順」に左から並びます。*/
}


/*sideブロック設定
---------------------------------------------------------------------------1000以上*/
#side {
	width: 200px;
	order: 2;		/*表示させる順番。main、sub、sideそれぞれに指定しており、数字の「小さな順」に左から並びます。*/
}


/*フッターメニュー設定
---------------------------------------------------------------------------1000以上*/
/*ボックス全体の設定*/
#footermenu {
	font-size: 0.8rem;	/*文字サイズ。*/
	padding: 20px 50px;	/*上下、左右へのボックス内の余白*/
}


/*一覧ブロック（list2。横長タイプ。）
---------------------------------------------------------------------------1000以上*/
/*list2ボックス。１個あたりのボックスの指定です。*/
.list2 {
	padding-left: 0;	/*ボックス内の左側にだけ余白を作る*/
}


/*list、list2内で使っているtableっぽく見える所。
---------------------------------------------------------------------------1000以上*/
/*list2ブロック内でのline設定*/
.list2 dl.line dd {
	width: calc(50% - 8em - 10px);	/*大きな端末向けの再設定。２列にしたいので、100%でなく半分の50%から引いています。*/
	margin-right: 10px;				/*２列になった際の間のスペース*/
}

.list2 dl.line {border-top: none;}

.list2 dl.line dt:nth-of-type(1), .list2 dl.line dd:nth-of-type(1),
.list2 dl.line dt:nth-of-type(2), .list2 dl.line dd:nth-of-type(2) {
	border-top: 1px solid #ccc;
}


/*パノラマ画像のサイズ設定（※CMS用）
---------------------------------------------------------------------------1000以上*/
.panorama-img {
	height: 500px !important;
}


/*「お知らせ」ブロック
---------------------------------------------------------------------------1000以上*/
/*日付(dt)設定*/
#new{
	background-color: #f1f1f1;
}

#new dt {
	width: 18em;	/*幅。14文字(em)分。*/
	display: flex;	/*flexボックスを使う指定*/
	justify-content: space-between;	/*日付とアイコンをそれぞれ端に寄せる*/
}

/*日付の横のマーク（共通設定）*/
#new dt span {
	display: inline-block;	/*表示させる*/
	width: 10em;				/*幅。10文字(em)分。*/
	background: #999;		/*背景色*/
	color: #fff;			/*文字色*/
	font-size: 0.9em;		/*文字サイズを90%に。*/
	text-align: center;		/*文字をセンタリング*/
	border-radius: 3px;		/*角を少しだけ丸くする*/
	margin-right: 1.2em;	/*アイコンの右側に空けるスペース*/
	align-self: flex-start;	/*高さを間延びさせない指定*/
	line-height: 1.8em;		/*行間を少し狭く*/
	position: relative;
	top: 0.1em;	/*上下の配置バランスの微調整*/
}


/*bg1設定。色がついたアイコンの設定。*/
#new dt span.icon-bg1 {
	background: #293765;	/*背景色*/
}

#new dt span.icon-purp {
	background: #846fa3;	/*背景色*/
}

#new dt span.icon-gold {
	background: #d4bf74;	/*背景色*/
}


/*記事(dd)設定*/
#new dd {
	width: calc(100% - 18em);	/*「18em」は上の「#new dt」のwidthの値です。*/
}

/*CMS用*/
#new.cms dt {width: 8em;}
#new.cms dd {width: calc(100% - 8em);}


/*list_base.htmlの設定
---------------------------------------------------------------------------1000以上*/
/*メニュー全体を囲むブロック*/
ul.menu {
	display: flex;					/*flexボックスを使う指定*/
	flex-wrap: wrap;				/*折り返す指定*/
	justify-content: space-between;	/*並びかたの種類の指定*/
}

/*メニュー１個あたりの設定*/
ul.menu li {
	width: 49%;		/*幅*/
	margin-bottom: 0;	/*メニューの上下間に空けるスペース*/
}

/*リンクテキスト*/
ul.menu a {
	padding: 20px 30px;	/*上下、左右へのメニュー内の余白*/
}


/*テーブル
---------------------------------------------------------------------------1000以上*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	padding: 5px 15px;		/*上下、左右へのボックス内の余白*/
}

/*th（左側）、td（右側）の共通設定*/
.ta1 th, .ta1 td {
	padding: 20px 15px;		/*上下、左右へのボックス内の余白*/
}

/*th（左側）のみの設定*/
.ta1 th {
	width: 20%;		/*幅*/
}


/*その他
---------------------------------------------------------------------------1000以上*/
.ws {width: 48%;display: inline;}
.sn {display: block;}

/*display: none; 要素を画面から消すことができます。「スマホ画面ではメニューバーは表示にしたいが、PC画面では非表示する」といったデバイスごとに見え方を使い分けることができます。*/
.sh {display: none;}

.r {
	text-align: right !important; 
	color: #555;
}



/*受託加工　生産設備のリスト*/
.faci ul{
/*border: 1px solid #f00;*/
	display: -webkit-flex;
	display: flex; /*リストを横並びにする*/
	-webkit-justify-content: center;
	justify-content: center; /*左右方向は中央寄せ*/
	align-items: left;
	margin: 15px;
	font-size: 150%;
}
	
.faci li{
	margin: 0 auto;
	list-style: none;  /*リストのドットを消す*/
	cursor: pointer;/*マウスポインターを指にする*/
}


.faci li::before {
	content: '\f04b';
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	top: 4px;
	margin-right: 0.7em;	/*アイコンとテキストとの間に空けるスペース*/
	/*left: 5;*/
	color: #00245d;
	/*font-weightを正しく入れないと「表示されない」*/
	/*SOLIDは「900」、REGULARとBRANDSは「400」、LIGHTは「300」*/
}

.faci li:hover {
	color: #00245d;
	font-weight: bold;
	cursor: pointer; /* クリックしたときのマウスポインターの形状を指定 */
}


/*スクロールすると上から出てくるメインメニュー（このクラスを割り当てて固定せてます。）*/
.menubar-fixed {
	margin: 0 auto;/*←なぜか効かない、中央にならない。*/
	/*↓↓↓　で中央に*/
	position: absolute;
	left: 50%;/*追記2023/02/21　画面の50％分左にして…（メニューバーをbodyの外に記述したため必要となった記載）*/
	transform: translateX(-50%);/*次に　50％の半分、つまり25％をに戻す*/
	position: fixed;
	width: 100%;
	z-index: 100;
	margin: auto;
	box-shadow: 0px 10px 10px -10px;
	max-width: 1500px;	/*最大幅。これ以上広がらない。*/
	/*left: 0;*/
	/*right: 0;*/
}


.fadeIn{
    animation-name: fadein;
    animation-duration: 0.4s;
}
@keyframes fadein{
    from{
    opacity: 0;
    transform: translatey(-8px);
    }
    to{
    opacity: 1;
    transform: translatey(0);
    }
}





/*亀岡工場の変遷　参考 https://coco-factory.jp/ugokuweb/move02/4-1/
---------------------------------------------------------------------------
建物名の表示に適用　下から上に出る*/
.fadeUp{
animation-name:fadeUpAnime;
animation-duration:1.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
	transform: translateY(50px);
  }

  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/*レビューページ、見出しのアンダーライン
---------------------------------------------------------------------------
伸縮を使ったCSSアニメーション https://1-notes.com/css-border-animation/*/
.border{
	position: relative;
	font-size: 30px;
}

.border:before{
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	border-bottom: solid 2px #00245d;
	animation: border_anim 2s linear forwards;
}

@keyframes border_anim {
	0%{
		width: 0%;
	}
	100%{
		width: 100%;
	}
}


/*レビューページ、各ブロック毎の表示効果
---------------------------------------------------------------------------*/
.up {
	opacity: 0;
	transform: translateY(5px);
	transition: opacity 1s, transform 1s;
	/*transform: scale(0.98, 0.98);*/

}.up.active {
	opacity: 1;
	transform: translateY(0px);
	/*transform: scale(1.02, 1.02);			 /* transform: scale(x, y); 要素をx軸方向、y軸方向に1.2倍拡大する */
}

/*リンクテキストのアンダーライン設定
https://web-dev.tech/front-end/css/anchor-tag-underline-animation/
メニュー１個あたりの設定(アンダーライン)
---------------------------------------------------------------------------1000以上
2023/2/25追記 リンクをホバーすると下線が伸びるアニメーション*/
/*#menubar a {	/*何故か効かなかった→下記の「※」で効かせた*/
/*	background-image: linear-gradient(40deg, #293765, #fff, #293765); /* 線の色 */
/*	background-repeat: no-repeat;
/*	background-position: center center; /* 線の起点を左・下に設定 */
/*	background-size: 0 2px; /* 線の横幅を0、縦幅を1pxに */
/*	transition: background-size 0.2s; /* 線を伸ばすアニメーション実行時間を指定 */
/*}

/*#menubar ul li:hover {
	background-size: 80% 1px; /* 線の横幅を80%にする */
/*}*/


/*※
各ページのメインメニューに<a class="animate-link-main" href="index.html">・・・・</a> */
.animate-link-main {
	text-decoration: none;
	background-image: linear-gradient(40deg, #293765, #fff, #293765); /* 線の色 */
	background-repeat: no-repeat;
	background-position: center center; /* 線の起点を中央・中央に設定 */
	background-size: 0 2px; /* 線の横幅を0、縦幅を2pxに */
	transition: background-size 0.4s; /* 線を伸ばすアニメーション実行時間を指定 */
}

.animate-link-main:hover {
	background-size: 100% 1px; /* 線の横幅を100%にする */
}



/*フッターメニュー設定(アンダーライン)
---------------------------------------------------------------------------1000以上
2023/2/25追記 リンクをホバーすると下線が横に伸びるアニメーション*/
#footermenu a {
	text-decoration: none;
	background-image: linear-gradient(40deg, #ccc, #ccc, #333); /* 線の色 */
	background-repeat: no-repeat;
	background-position: left bottom; /* 線の起点を左・下に設定 */
	background-size: 0 1px; /* 線の横幅を0、縦幅を1pxに */
	transition: background-size 0.6s; /* 線を伸ばすアニメーション実行時間を指定 */
}

#footermenu a:hover {
	background-size: 100% 1px; /* 線の横幅を100%にする */
}

/*フッターリンク　KOSHIRO COMPANY LIMITED リンクホバーのアンダーライン)
---------------------------------------------------------------------------1000以上
2023/3/10追記 リンクをホバーすると下線が伸びるアニメーション*/
footer a {
	text-decoration: none;
	background-image: linear-gradient(40deg, #293765, #fff, #293765); /* 線の色 */
	background-repeat: no-repeat;
	background-position: center bottom; /* 線の起点を中央・下に設定 */
	background-size: 0 2px; /* 線の横幅を0、縦幅を1pxに */
	transition: background-size 0.4s; /* 線を伸ばすアニメーション実行時間を指定 */
}

footer a:hover {
	background-size: 200% 1px; /* 線の横幅を100%にする */
}
/*h2 見出しに透過画像（矢印）を付ける
---------------------------------------------------------------------------1000以上
2023/2/27追記*/
main h2 {
	background: url(../images/arrow.png) no-repeat left center, linear-gradient(#404d77, #313f6e 49%, #293765 50%);	/*左側に透過画像を付ける。*/
	padding: 2px 0px 2px 50px;	/*h2タグ内の左側の余白を 20 → 50pxへ変更、画像の左側の余白を広げた。→ arrow.png に文字が重ならないようにするため。*/
}



/*　※注意！　下の閉じカッコ　}　はこのブロックに必要なので、削除しないで下さい。　1000以上ここまで。*/

}