@charset "utf-8";



/* =======================================================
*
* 	イシケン-マサ
*
* ======================================================= */



/*リセットCSS（sanitize.css）の読み込み
---------------------------------------------------------------------------*/
@import url("https://unpkg.com/sanitize.css");

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

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

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

/*lightbox.cssの読み込み
---------------------------------------------------------------------------*/
@import url(https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.10.0/css/lightbox.css);

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



/*CSSカスタムプロパティ（youtube）
---------------------------------------------------------------------------*/
:root {

	/*bg6で使っている共通の高さ*/
    --bg6-height: 50px;
}





/*全体の設定
---------------------------------------------------------------------------*/
html,body {
	margin: 0;padding: 0;
	font-size: 15px;	/*基準となるフォントサイズ。下の方にある「画面幅900px以上」で基準を大きなサイズに再設定しています。*/
	overflow-x: hidden;
}

body {
font-family: "Playfair Display", serif;
	-webkit-text-size-adjust: none;
	letter-spacing: 0.05em;
	background: #fff;	/*背景色*/
	color: #555;		/*全体の文字色*/
	line-height: 2;		/*行間*/
}

/*リセット*/
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;}

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

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

/*ul,olタグ*/
ul, ol {margin-bottom: 30px;}


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: #57524b;	/*文字色*/
	transition: 0.3s;
}


/*sectionタグと、詳細ページの共通設定
---------------------------------------------------------------------------*/
section,
main > article {
	margin: 0 auto;
	padding: 3% 5% 3% 5%;		/*ボックス内の余白*/
}


/*2カラムブロック（※900px未満では１カラム）
---------------------------------------------------------------------------*/
/*２カラムを囲むブロック*/
.c2 {
	display: flex;			/*flexボックスを使う指定*/
	flex-direction: column;	/*子要素を縦並びにする*/
}

/*c2内のh2見出し*/
.c2 h2 {
	font-size: 2em;
}

/*小さい端末で見た場合（１カラムになった際）に、画像を常に先頭に持ってくる*/
.c2 .image {
	order: -1;
}





/*2カラムブロック（※900px未満では１カラム）
---------------------------------------------------------------------------*/
/*２カラムを囲むブロック*/
.works {
	display: flex;			/*flexボックスを使う指定*/
	flex-direction: column;	/*子要素を縦並びにする*/
}

/*works内のh2見出し*/
.works h2 {
	font-size:1.5em;
	letter-spacing: 0em;	/*文字間隔*/
}

.works h2 small{
	font-size:1.5em;
	letter-spacing: 0em;	/*文字間隔*/
}

/*小さい端末で見た場合（１カラムになった際）に、画像を常に先頭に持ってくる*/
.works .image {
	order: -1;
}









/*会社概要h2見出し*/
.gaiyou h2 {
	font-size: 2em;
}

/*2ページ以降上部マージン*/
.gaiyou {
	padding-top:70px;
}






/*header（ロゴなどが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	display: flex;					/*flexボックスを使う指定*/

	align-items: center;			/*垂直揃えの指定。天地中央に配置されるように。*/
	background: #a47e59;			/*背景色*/
	position: fixed; z-index: 1;	/*スクロールしても動かないようにする指定*/
	width: 100%;
	padding: 0 3%;					/*上下、左右へのヘッダー内の余白*/
	height: 70px;					/*ヘッダーの高さ。変更する場合、数行下にある#mainimgのtopの数値も合わせて変更して下さい。*/
}

/*ヘッダーのリンクテキストの文字色*/
header a {
	color: #fff;
}

/*ロゴ画像*/
header #logo img {display: block;}
header #logo {
	width:160px;	/*幅*/
	margin-right:30px;
}


header a.sns {
	width:50px;
}

header a:hover.sns {
	transform: scale(1.1);
	filter: brightness(1.5);
}




/*menubarブロック初期設定
---------------------------------------------------------------------------*/
#menubar ul {list-style: none;margin: 0;padding: 0;}

/*メニューを非表示にしておく*/
#menubar {display: none;}

/*開閉用のスタイル*/
#menubar.db {display: block;}
#menubar.dn {display: none;}

/*メニュー１個あたりの設定*/
#menubar a {
	display: block;text-decoration: none;
	text-align: center;		/*テキストを中央に*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くする指定*/
	font-size: 14px;
	font-family: 'Lato';	/*GoogleFontsの指定*/
	height: 70px;
	display: flex; /* Flexboxを有効化 */
	align-items: center; /* 垂直方向の中央寄せ */
	justify-content: center; /* 水平方向の中央寄せ */
}

#menubar a:hover {
  background-color: #fee856;
	color: #000;
}









/*小さな端末用の設定（開閉ブロック）
---------------------------------------------------------------------------*/
/*メニューブロック設定*/
.s #menubar.db {
	position: fixed;overflow: auto;z-index: 100;
	left: 0px;top: 0px;
	width: 100%;
	height: 100%;
	padding: 70px 20px;	/*上下、左右へのブロック内の余白*/
	background: rgba(0,0,0,0.9);		/*背景色。0,0,0は黒の事で0.9は色が90%出た状態の事。*/
	animation: animation1 0.2s both;	/*animation.cssの、animation1を実行する。0.2sは0.2秒の事。*/
	text-align: center;	/*内容をセンタリング*/
	color: #fff;		/*文字色*/
}
.s #menubar.db a {
	color: #fff;	/*リンクテキストの文字色*/
}

.s #menubar.db a:hover {
  background-color: #fee856;
	color: #000;
}




/*ドロップダウンメニュー
---------------------------------------------------------------------------*/
/*ドロップダウンを非表示にしておく*/
#menubar .ddmenu_parent ul {
	display: none;
}

/*ドロップダウンメニューを持つ親に矢印アイコンをつける設定*/
a.ddmenu::before {
	font-family: "Font Awesome 5 Free";	/*Font Awesomeを使う指定*/
	content: "\f103";		/*使いたいアイコン名をここで指定。Font Awesomeに記載されています。詳しくは当テンプレートのマニュアルを読んで下さい。*/
	font-weight: bold;		/*この手の設定がないとアイコンが出ない場合があります*/
	margin-right: 0.5em;	/*アイコンとテキストとの間に空けるスペース*/
}

/*ドロップダウンを持つ親のマウスオン時にリンク用のカーソルでなくデフォルトの矢印を出す*/
a.ddmenu {
	cursor: default;
}

/*ドロップダウンメニュー１個あたりの設定*/
.ddmenu_parent ul a {
	background: rgba(0,0,0,0.8);	/*背景色。0,0,0は黒の事で0.8は色が80%出た状態の事。*/
}









/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*開閉用のスタイル*/
#menubar_hdr.db {display: flex;}
#menubar_hdr.dn {display: none;}

/*３本バーを囲むブロック*/
#menubar_hdr {
	position: fixed;z-index: 101;
	cursor: pointer;
	right: 5px;			/*右からの配置場所指定*/
	top: 10px;			/*上からの配置場所指定*/
	padding: 16px 14px;	/*上下、左右への余白*/
	width: 46px;		/*幅（３本バーが出ている場合の幅になります）*/
	height: 46px;		/*高さ*/
	display: flex;					/*flexボックスを使う指定*/
	flex-direction: column;			/*子要素（３本バー）を縦並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	background: rgba(0,0,0,0.5);	/*背景色*/
	border-radius: 50%;				/*円形にする*/
}

/*バー１本あたりの設定*/
#menubar_hdr span {
	display: block;
	transition: 0.3s;	/*アニメーションにかける時間。0.3秒。*/
	border-top: 2px solid #fff;	/*線の幅、線種、色*/
}

/*×印が出ている状態の設定。※１本目および２本目のバーの共通設定。*/
#menubar_hdr.ham span:nth-of-type(1),
#menubar_hdr.ham span:nth-of-type(3) {
	transform-origin: center center;	/*変形の起点。センターに。*/
	width: 20px;						/*バーの幅*/
}

/*×印が出ている状態の設定。※１本目のバー。*/
#menubar_hdr.ham span:nth-of-type(1){
	transform: rotate(45deg) translate(3.8px, 5px);	/*回転45°と、X軸Y軸への移動距離の指定*/
}

/*×印が出ている状態の設定。※３本目のバー。*/
#menubar_hdr.ham span:nth-of-type(3){
	transform: rotate(-45deg) translate(3.8px, -5px);	/*回転-45°と、X軸Y軸への移動距離の指定*/
}

/*×印が出ている状態の設定。※２本目のバー。*/
#menubar_hdr.ham span:nth-of-type(2){
	display: none;	/*２本目は使わないので非表示にする*/
}












/*mainブロック設定
---------------------------------------------------------------------------*/
/*mainブロック*/
main {
	padding-top: 0px;
}

/*mainブロック内のh2タグ*/
main h2 {
	margin: 0 0 1em;		/*上、左右、下へのタグの外にとるスペース*/
	line-height: 1.5;		/*行間を少し狭く*/
	font-size:2em;			/*文字サイズ。3倍。*/
	text-align: center;		/*文字をセンタリング*/
	letter-spacing: 0.05em;	/*文字間隔を少しだけ広くとる設定*/
	color: #a47e59;			/*文字色*/
	font-family: 'Lato';	/*GoogleFontsの指定*/
	font-weight: 400;		/*文字の太さ*/
}

main h2 .small {
	color: #a47e59;			/*文字色*/
	font-size:0.9em;	/*文字サイズ*/
}

/*h2内のsupanタグ。小文字部分です。*/
main h2 span {
	display: block;
	font-weight: normal;
	color: #555;		/*文字色*/
	font-size: 16px;	/*文字サイズ*/
	letter-spacing: 0.15em;
}





/*h1トップページ*/

#concept {
	position: relative;
}

main h1 {
	display: block;
	margin: 0em;
	text-align: center;
	font-weight: normal;
	color: #555;		/*文字色*/
	font-size: 16px;	/*文字サイズ*/
	letter-spacing: 0.15em;
	font-family: 'Lato';	/*GoogleFontsの指定*/
}

#concept .shikokuarea {
	position: absolute;
	right: 20%;
	bottom: 0%;		/*mainimgに対して上からの配置場所指定*/
	width: 100%;	/*幅*/
	height: 100%;	/*高さ*/
	display: flex;			/*flexボックスを使う指定*/
        justify-content:right;
}


/*---------------------------------------------------------------------------
ここから下は画面幅1100px以下の追加指定
---------------------------------------------------------------------------*/
@media screen and (max-width:1150px) {
#concept .shikokuarea {
	right: 0%;
	bottom: 30%;
	width: 100%;
	height: 100%;
}}

@media screen and (max-width:800px) {
#concept .shikokuarea {
	right: 0%;
	bottom: 30%;
	width: 150%;
	height: 150%;
}
main h1 {
	font-size: 14px;
	letter-spacing: 0em;
}}

@media screen and (max-width:500px) {
#concept .shikokuarea {
        display: none;
}}


/*mainブロック内（お知らせ）*/
main .oshirase{
	margin: 0 0 0.5em;		/*上、左右、下へのタグの外にとるスペース*/
	line-height: 1.0;		/*行間を少し狭く*/
	font-size: 2em;			/*文字サイズ。3倍。*/
	text-align: center;		/*文字をセンタリング*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる設定*/
	font-family: 'Lato';	/*GoogleFontsの指定*/
	font-weight: 400;		/*文字の太さ*/
}



/*mainブロック内のh3タグ*/
main h3 {
	margin: 0 0 1em;		/*上、左右、下へのタグの外にとるスペース*/
	color: #a47e59;			/*文字色*/
}

/*mainブロックのpタグ*/
main p {
	margin: 0 20px 30px;	/*上、左右、下へ空けるスペース*/
}
main p + p {margin-top: -15px;}





/*h5　LINEのボタン*/
main h5 {
	text-align: center;		/*文字をセンタリング*/
}










/*フッターメニュー設定
---------------------------------------------------------------------------*/
/*ボックス全体の設定*/
#footer1 {
	font-size: 1em;	/*文字サイズ*/
	padding: 20px;		/*ボックス内の余白*/
	display: flex;		/*flexボックスを使う指定*/
	line-height: 1.5;
}

/*ボックス内のリンクテキスト設定*/
#footer1 a {
	text-decoration: none;
	color: #999;	/*文字色*/
}

/*ulタグ（メニューの列単位）*/
#footer1
 ul {
	margin: 0;
	padding: 0 2px;
	flex: 3;
	list-style: none;
}

/*社名*/
#footer1 .syamei {
	font-weight: bold;		/*太字にする*/
	color: #eee;			/*文字色*/
	padding-bottom: 5px;	/*下に空けるスペース*/
	font-size: 24px;	/*文字サイズ*/
}

/*電話番号*/
#footer1 .tel {
	font-weight: bold;		/*太字にする*/
	color: #eee;		/*文字色*/
	font-size: 20px;	/*文字サイズ*/
}






/*サイトマップ
---------------------------------------------------------------------------*/
#sitemap {
	display: flex;		/*flexボックスを使う指定*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	align-items: flex-start;		/*垂直揃えの指定。上に配置されるように。*/
}

/*ボックス内のリンクテキスト設定*/
#sitemap a {
	text-decoration: none;
	color: inherit;
	opacity: 0.6;	/*透明度。色を60%出す。*/
}

/*マウスオン時*/
#sitemap a:hover {
	opacity: 1;	/*透明度。色を100%出す。*/
}

/*ulタグ（メニューの１列あたり）*/
#sitemap ul {
	margin: 0;list-style: none;
	padding: 0 2px;
	flex: 1;
        padding: 20px;
	font-size: 0.8rem;
}

/*メニューの見出し(title)*/
#sitemap .title {
	font-weight: bold;		/*太字にする*/
	padding-bottom: 5px;	/*下に空けるスペース*/
}

#sitemap ul li {
line-height: 1.2;
}









/*フッター設定
---------------------------------------------------------------------------*/
footer small {font-size: 100%;}

footer {
	font-size: 0.7rem;		/*文字サイズ*/
	text-align: center;		/*内容をセンタリング*/
	padding: 20px;			/*ボックス内の余白*/
	background: #111;		/*背景色*/
	color: #fff;			/*文字色*/
}

/*リンクテキスト*/
footer a {text-decoration: none;color: #fff;}

/*著作部分*/
footer .pr {display: block;}










/*「お知らせ」ブロック
---------------------------------------------------------------------------*/
/*お知らせブロック*/
#new {
	margin: 0;
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*折り返す指定*/
	padding: 0 20px;	/*上下、左右へのボックス内の余白*/
}

/*日付(dt)、記事(dd)共通設定*/
#new dt,
#new dd {
	padding: 5px 0;		/*上下、左右へのボックス内の余白*/
}

/*日付(dt)設定*/
#new dt {
	width: 8em;	/*幅。8文字(em)分。※下の「900px以上」の端末用の設定に再設定があります。*/
}

/*日付の横のマーク（共通設定）*/
#new dt span {
	display: none;	/*小さな端末では非表示にしておく。*/
}

/*記事(dd)設定*/
#new dd {
	width: calc(100% - 8em);	/*「8em」は上の「#new dt」のwidthの値です。※下の「900px以上」の端末用の設定に再設定があります。*/
}













/*メニュー　下に吹き出し非表示
---------------------------------------------------------------------------*/

.balloon_bottom { /* ツールチップのスタイル */
　visibility:hidden;
}
 




/*WB工法の説明
---------------------------------------------------------------------------*/
.item01 {
 	 flex:25%;
	text-align: center;
}
.item02 {
 	 flex: 47%;
}
.item03 {
 	 flex: 24%;
}
.wb_kouhou{
	font-size:24px;
}
.wb_logo{
	width:60%;
	margin:auto;
	margin-bottom:50px;
}
.wb_image{
	width:80%;
	margin:auto;
}



/*ごあいさつ
---------------------------------------------------------------------------*/
.item04 {
 	 flex:30%;
}
.item05 {
 	 flex: 30%;
}
.item06 {
 	 flex: 30%;
	height:300px;
	text-align: right;
	margin-top:-70px;
}

.item06 img{
	width:250px;
}



/*施工例　浮き上がる
---------------------------------------------------------------------------*/
.hover4 {
	box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.25);
	background-color: #4CAF50;
	color: #fff;
	display: inline-block;
	padding: 0.6em 2em;
	margin: 0 0 1em;
	cursor: pointer;
	transition: all 0.3s ease 0s;
}
.hover4:hover {
	box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.8);
	transform: translateY(-0.1875em);
}


/*新着情報
---------------------------------------------------------------------------*/
.event{
	margin: 30px 0 30px 0;
	padding: 10px;			/*ボックス内の余白*/
	background: #fff;		/*背景色*/
	box-shadow: 5px 5px 20px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ*/
	position: relative;
}


iframe {
  width:100%;
  height:300px;
  border:none; /* 追加で指定 */
  display:block; /* 追加で指定 */
}

#ishiken-event dl {
        border-bottom: 1px dashed #666;
	margin-top: 0px;
	padding: 0px 0px;	/*上下、左右へのボックス内の余白*/
	margin-bottom: 10px;	/*下に空けるスペース*/
}
/*日付設定*/
#ishiken-event dt {
	letter-spacing: 0.1em;
	color: #3366cc;
}

/*記事設定*/
#ishiken-event dd {
	padding-left: 0em;	/*左に空ける余白*/
}

#ishiken-event .strong {
	font-weight: bold;
	color: #ff0033;
}







/*インスタ
---------------------------------------------------------------------------*/
.insta{
	margin: 30px 0 30px 0;
	padding: 20px;			/*ボックス内の余白*/
	background: #fff;		/*背景色*/
	color: #999;			/*文字色*/
	box-shadow: 5px 5px 20px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
	position: relative;
}
.insta h3{
	color: #a47e59;			/*文字色*/
}
.insta p{
	color: #333;			/*文字色*/
	margin: 0px;	/*上、左右、下へ空けるスペース*/
	line-height:1.5em;		/*高さ*/
}


.insta .info{
	color: #ff9933;			/*文字色*/
	font-size:14px;
	line-height:1.0em;
}



/*LINE友達追加
---------------------------------------------------------------------------*/
#popup {
  display: none; /* label でコントロールするので input は非表示に */
}

.popup-open {
  cursor: pointer; /* マウスオーバーでカーソルの形状を変えることで、クリックできる要素だとわかりやすいように */
}

.popup-overlay {
  display: none; /* input にチェックが入るまでは非表示に */
}

#popup:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}

.popup-window {
  width: 90vw;
  max-width: 560px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 6px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.popup-text {
  margin: 20px;
}

.popup-text:not(:last-of-type) {
  margin-bottom: 1em
}

.popup-close {
  cursor: pointer;
  position: absolute;
  top: 5px;
  right: 10px;
}

.bold{
	font-size: 24px;
	color: #06c755;
	font-weight: bold;
}



/*listブロック
---------------------------------------------------------------------------*/
.list-container .list {
	margin-bottom: 30px;	/*ボックス同士の上下間に空けるスペース*/
	padding: 20px;			/*ボックス内の余白*/
	background: #fff;		/*背景色*/
	color: #999;			/*文字色*/
	box-shadow: 5px 5px 20px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
	position: relative;
}

/*ボックス内のh4タグ*/
.list-container .list h4 {
	margin: 0;
	color: #666;	/*文字色*/
}
.list-container .list h4 a {
	color: #666;	/*リンクテキストの文字色*/
}

/*ボックス内のpタグ*/
.list-container .list p {
	margin: 0;
	font-size: 0.8em;	/*文字サイズを80%に*/
}

/*list内のNEWマーク*/
.list-container .list .new {
	font-size: 0.6em;		/*文字サイズ*/
	background: #ff0000;	/*背景色*/
	color: #fff;			/*文字色*/
	width: 50px;			/*幅*/
	line-height: 50px;		/*高さ*/
	border-radius: 50%;		/*角丸のサイズ。円形になります。*/
	text-align: center;		/*テキストをセンタリング*/
	position: absolute;
	left: -10px;			/*listブロックに対して左からの配置場所の指定*/
	top: -10px;				/*listブロックに対して上からの配置場所の指定*/
	transform: rotate(-30deg);	/*回転。まっすぐ表示させたいならこの１行を削除。*/
}












/*ポートフォリオ（携帯サイズ）
---------------------------------------------------------------------------*/
/*listブロックを囲む外側のボックス*/
.list-container5 {
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*折り返す指定*/
margin-bottom:50px;
}

/*ボックス１個あたりの設定*/
.list-container5 .list {
	position: relative;
	overflow: hidden;
	height: 0;			/*正方形にトリミングする為の指定なので変更しないで下さい*/
	width: 31%;			/*幅*/
	padding-top: 31%;	/*正方形にトリミングする為の指定です。上のwidthの数値と合わせておけばOK。*/
	border-radius: 10px;	/*角を丸くする指定。通常の四角形がよければこの１行削除。*/
	margin:1%;			/*ボックス同士に空けるスペース*/
	box-shadow: 2px 2px 3px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅。0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*以下も画像を正方形にトリミングする為の指定なので変更しない。*/
.list-container5 .list a {
	display: block;
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}
.list-container5 .list img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: 0.5s;	/*マウスオン時にかける時間。0.5秒。*/
}

/*マウスオン時の画像*/
.list-container5 .list img:hover {
	transform: scale(1.1);	/*1.1倍に拡大*/
	filter: contrast(1.3);	/*コントラストを1.3倍*/
}


/*youtube
---------------------------------------------------------------------------*/
.list-container6 .list {
	margin-bottom: 20px;
	padding: 10px;			/*ボックス内の余白*/
	background : none;
	color: #999;			/*文字色*/
	position: relative;
}





/*フッター社名・サイトマップ
---------------------------------------------------------------------------*/
.list-container7 {
	padding: 20px;			/*ボックス内の余白*/
	background: #333;		/*背景色*/
	color: #ccc;			/*文字色*/
}







/*求人一覧ページ（ist2　横長ブロックタイプ）
---------------------------------------------------------------------------*/
/*list2ボックス。１個あたりのボックスの指定です。*/
.list2 {
	display: flex;	/*flexボックスを使う指定*/
	border-bottom: 1px solid #ccc;	/*下線の幅、線種、色*/
	padding: 25px 0;	/*上下、左右へのボックス内の余白*/
}

.list2 div {
	flex: 1;
}

/*１つ目のボックスにのみ上に線を入れる*/
.list2:nth-of-type(1) {
	border-top: 1px solid #ccc;	/*上の線の幅、線種、色*/
}

/*ボックス内のfigure画像*/
.list2 figure {
	width: 20%;			/*画像の幅*/
	margin-right: 20px;	/*画像の右側に空けるスペース*/
}

/*ボックス内のh4タグ*/
.list2 h4 {
	margin: 0;				/*デフォルトマージンを一旦リセット*/
	margin-bottom: 10px;	/*下に少し余白を作る*/
	color: #a47e59;			/*文字色*/
}

.list2 h4 a {
	color: #a47e59;			/*リンクテキストの文字色*/
}

.list2 h4 a:hover {
	color: #333;			/*マウスオン時の文字色*/
}

/*ボックス内のpタグ*/
.list2 p {
	margin: 0;
	font-size: 0.7em;		/*文字サイズを70%に。*/
}


/*求人一覧ページのlistボックス内の情報詳細欄（tableっぽく見える所）
---------------------------------------------------------------------------*/
/*ボックス全体*/
dl.line {
	margin: 0;
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*折り返す指定*/
	font-size: 0.7em;	/*文字サイズを70%に。*/
	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-slide .list {
	margin: 10px;	/*画像の外側に空けるスペース*/
}


/*FAQ
---------------------------------------------------------------------------*/
/*FAQボックス全体*/
.faq {
	padding: 0 5px;	/*上下、左右へのボックス内の余白*/
}

/*質問*/
.faq dt {
	border-radius: 3px;		/*枠を角丸にする指定*/
	margin-bottom: 20px;	/*下に空けるスペース*/
	background: linear-gradient(#fff, #f7f7f7);	/*背景グラデーション*/
	text-indent: -2em;				/*テキストのインデント。質問が複数行になった際に、テキストの冒頭を揃える為に設定しています。*/
	padding: 5px 1em 5px 3em;		/*ボックス内の余白。ここを変更する場合、上のtext-indentも調整します。*/
	border: 1px solid #e4e2d7;		/*枠線の幅、線種、色*/
}

/*アイコン（Font Awesome）*/
.faq dt::before {
	font-family: "Font Awesome 5 Free";	/*Font Awesomeを使う指定*/
	content: "\f059";		/*使いたいアイコン名をここで指定。Font Awesomeに記載されています。詳しくは当テンプレートのマニュアルを読んで下さい。*/
	color: #a47e59;			/*アイコンの色*/
	padding-right: 1em;		/*アイコンとテキストの間の余白*/
}

/*回答*/
.faq dd {
	padding: 5px 1em 30px 3em;		/*ボックス内の余白**/
}

/*opencloseを適用した要素のカーソル*/
.openclose {
	cursor: pointer;	/*カーソルの形状。リンクと同じスタイルにしてクリックできると認識してもらう。*/
}

.faq dt span {text-indent: 0;}


/*icon
---------------------------------------------------------------------------*/
.icon {
	display: inline-block;
	margin: 1px;
	line-height: 1.5;
	padding: 0px 10px;
	border: 1px solid #999;
	color: #999;
	font-weight: normal;
	font-size: 0.8em;
}
.icon.newicon {
	border-color: transparent;
	background: #f00;
	color: #fff;
}
.icon.upicon {
	border-color: transparent;
	background: #54b1ff;
	color: #fff;
}

/*btnの設定
---------------------------------------------------------------------------*/
a.btn1, a.btn2 {
	display: inline-block;text-decoration: none;
	letter-spacing: 0.1em;
	border-radius: 3px;
	padding: 5px 30px;
	margin-bottom: 10px;	/*下に空けるスペース*/
	box-shadow: 1px 2px 3px rgba(0,0,0,0.2);
}
a.btn1 {
	background: #06c755;
	color: #fff;
        font-family: 'Lato', 'M PLUS 1 Code', "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", "Osaka", "MS PGothic", "ＭＳ Ｐゴシック", sans-serif;
	font-size: 1.2em;
}
a.btn2 {
	background: #a47e59;
	color: #fff;
        font-family: 'Lato', 'M PLUS 1 Code', "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", "Osaka", "MS PGothic", "ＭＳ Ｐゴシック", sans-serif;
	font-size: 0.8em;
}
.radius {
	border-radius: 100px !important;
}
a.btn1 i, a.btn2 i {
	margin-left: 20px;
}
a:hover.btn1, a:hover.btn2 {
	transform: scale(1.03);
	filter: brightness(1.1);
}











/*テーブル
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	font-weight: bold;		/*太字に*/
	padding: 10px 5px;		/*上下、左右へのボックス内の余白。基本的に数行下の「.ta1 th, .ta1 td」のpaddingと揃えておけばOKです。*/
	background: #eee;		/*背景色*/
	margin-bottom: 15px;	/*下に空けるスペース*/
}

/*ta1テーブルブロック設定*/
.ta1 {
	border-top: 1px solid #ccc;	/*テーブルの一番上の線。幅、線種、色*/
	width: 100%;
	margin: 0 auto 30px;		/*最後の「30px」がテーブルの下に空けるスペースです*/
}

/*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:25%;			/*幅*/
	text-align: left;	/*左よせにする*/
	color: #a47e59;			/*文字色*/
}









/*背景色パターン
---------------------------------------------------------------------------*/
.bg0 {
	background: #ddd;  /*bg1より濃いグレー*/
}
.bg1 {
	background: #fffce6;  /*うすい黄色*/
}
.bg2 {
	background: #e4d8cd;  /*ベージュ*/
}
.bg3 {
	background: #fee856;  /*黄色*/
}
.bg3 h2 {
	color: #555;  /*文字の色　濃いグレー*/
}
.bg5 {
	background: #d3bba5;  /*新築の背景*/
}



暗いから没.bg4 {
  background: rgba(209,194,134,0.3);  /*ベージュ　透明*/
}





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

/*ボタンの設定*/
.pagetop a {
	display: block;text-decoration: none;text-align: center;z-index: 99;
	position: fixed;	/*スクロールに追従しない(固定で表示)為の設定*/
	right: 20px;		/*右からの配置場所指定*/
	bottom: 20px;		/*下からの配置場所指定*/
	color: #fff;		/*文字色*/
	font-size: 1.5em;	/*文字サイズ*/
	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-theme, .color-theme a {color: #a47e59 !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;}
.mt30 {margin-top: 30px !important;}
.look {display: inline-block;padding: 0px 10px;background: #eee; border: 1px solid #ccc; border-radius: 3px;margin: 2px 0; word-break: break-all;}
.small {font-size: 0.6em; letter-spacing: normal !important;}
.large {font-size: 1.8em !important;}
.block {display: block !important;}
.sh {display: block;}
.pc {display: none;}
.hidden {position: absolute; top: -9999px; left: -9999px;}








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


/*btnの設定
---------------------------------------------------------------------------*/
a.btn1, a.btn2 {
	padding: 0px 15px;
}
a.btn1 i, a.btn2 i {
	margin-left: 10px;
}


/*　※注意！　下の閉じカッコ　}　はこのブロックに必要なので、削除しないで下さい。　*/

}



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


/*全体の設定
---------------------------------------------------------------------------*/
html, body {
	font-size: 18px;	/*基準となるフォントサイズの上書き*/
}


/*2カラムブロック
---------------------------------------------------------------------------*/
/*２カラムを囲むブロック*/
.c2 {
	flex-direction: row;			/*子要素を横並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	align-items: center;			/*垂直揃えの指定。天地中央に配置されるように。*/
	
	margin-left: -6%;
	margin-right: -6%;
}
/*画像ブロック*/
.c2 .image {
	width: 60%;
}

/*テキストブロック*/
.c2 .text {
	width: 40%;
	padding: 0 3%;
}

/*最初(左)に配置*/
.c2 .l {
	order: -1;
}

/*画像を右側に配置する場合の設定*/
.c2 .image.r {
	overflow: hidden;
	/*margin-right: -6%;	画像を画面枠ギリギリまで移動する*/
	border-radius: 100px 0px 0px 100px;	/*角を丸くする指定。左上、右上、右下、左下への順番。*/
}

/*画像を左側に配置する場合の設定*/
.c2 .image.l {
	overflow: hidden;
	/*margin-left: -6%;	画像を画面枠ギリギリまで移動する*/
	border-radius: 0px 100px 100px 0px;	/*角を丸くする指定。左上、右上、右下、左下への順番。*/
}




/*（施工事例）2カラムブロック（works）
---------------------------------------------------------------------------*/
/*２カラムを囲むブロック*/
.works {
	flex-direction: row;			/*子要素を横並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	align-items: center;			/*垂直揃えの指定。天地中央に配置されるように。*/
	
	margin-left: -6%;
	margin-right: -6%;
}
/*画像ブロック*/
.works .image {
	width:50%;
}

/*テキストブロック*/
.works .text {
	width: 50%;
	padding: 0 5%;
}

/*最初(左)に配置*/
.works .l {
	order: -1;
}

/*画像を右側に配置する場合の設定*/
.works .image.r {
	overflow: hidden;
	/*margin-right: -6%;	画像を画面枠ギリギリまで移動する*/
	border-radius: 100px 0px 0px 100px;	/*角を丸くする指定。左上、右上、右下、左下への順番。*/
}








/*トップページのメイン画像
---------------------------------------------------------------------------*/
/*テキストブロック*/
#mainimg #text {
	width: 50%;		/*幅*/
}


/*menubarブロック設定
---------------------------------------------------------------------------*/
/*メニューブロックの設定*/
#menubar {
	font-size: 0.85em;	/*文字サイズを少し小さくする*/
   margin-left: auto;	/*メニュバーを右寄せjustify-content: space-between;をやめた事で*/
}
#menubar ul {
	display: flex;	/*flexボックスを使う指定*/
}

/*メニュー１個あたりの設定*/
#menubar a {
	padding: 10px 15px;	/*上下、左右への余白*/
}





/*ドロップダウンメニュー
---------------------------------------------------------------------------*/
#menubar .ddmenu_parent ul {
	position: absolute;
}








/*下に吹き出し
---------------------------------------------------------------------------*/

.tooltip { /* 補足説明するテキストのスタイル */
  position: relative;
  cursor: pointer;
}
 
.balloon_bottom { /* ツールチップのスタイル */
  width: 120px; /* 横幅 */
  position: absolute;
  top:80%; /* Y軸の位置 */
  left: 50%;
  transform: translateX(-50%);
  margin-top: 5px; /* テキストとの距離 */
  padding: 5px;
  border-radius: 10px; /* 角の丸み */
  background-color: #000; /* ツールチップの背景色 */
  color: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  text-align: center;
  visibility: hidden; /* ツールチップを非表示に */
  opacity: 0; /* 不透明度を0％に */
  z-index: 1;
  transition: 0.5s all; /* マウスオーバー時のアニメーション速度 */
}
 
.balloon_bottom::before { /* 吹き出しの「しっぽ」のスタイル */
  content: "";
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-bottom: 12px solid #000; /* 最後の値は「ツールチップの背景色」と合わせる */
  position: absolute;
  bottom: 99%;
  left: 50%;
  transform: translateX(-50%);
}
 
.tooltip:hover .balloon_bottom { /* マウスオーバー時のスタイル */
  top: 100%; /* Y軸の位置 */
  visibility: visible; /* ツールチップを表示 */
  opacity: 1; /* 不透明度を100％に */
}




/*2ページ以降上部マージン*/
.gaiyou {
	padding-top: 50px;
}




/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*ハンバーガーメニューを非表示にする*/
#menubar_hdr {display: none;}


/*「お知らせ」ブロック
---------------------------------------------------------------------------*/
/*日付(dt)設定*/
#new dt {
	width: 14em;	/*幅。14文字(em)分。*/
	display: flex;	/*flexボックスを使う指定*/
	justify-content: space-between;	/*日付とアイコンをそれぞれ端に寄せる*/
}

/*日付の横のマーク（共通設定）*/
#new dt span {
	display: inline-block;	/*表示させる*/
	width: 6em;				/*幅。6文字(em)分。*/
	background: #999;		/*背景色*/
	color: #fff;			/*文字色*/
	font-size: 0.8em;		/*文字サイズを80%に。*/
	text-align: center;		/*文字をセンタリング*/
	margin-right: 1em;		/*アイコンの右側に空けるスペース*/
	align-self: flex-start;	/*高さを間延びさせない指定*/
	line-height: 1.8;		/*行間を少し狭く*/
	position: relative;top: 0.4em;	/*上下の配置バランスの微調整*/
}

/*bg1設定。サンプルテンプレートでは「サービス」と書いてあるマーク*/
#new dt span.icon-bg1 {
	background: #a47e59;	/*背景色*/
}

/*記事(dd)設定*/
#new dd {
	width: calc(100% - 14em);	/*「14em」は上の「#new dt」のwidthの値です。*/
}


/*フッターメニュー設定
---------------------------------------------------------------------------*/
/*ボックス全体の設定*/
#footer1 {
	font-size: 0.8em;	/*文字サイズ*/
	padding: 20px 50px;	/*上下、左右へのボックス内の余白*/
}




/*listブロック
---------------------------------------------------------------------------*/
/*listブロック全体を囲むブロック*/
.list-container {
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*折り返す指定*/
}

/*１個あたりのボックス設定*/
.list-container .list {
	display: flex;					/*flexボックスを使う指定*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	flex-direction: column;			/*子要素を縦並びにする*/
	width: 32%;						/*幅。３列になります。*/
	margin-right: 2%;
}

.list-container .list:nth-of-type(3n) {
	margin-right: 0;
}

/*ボックス内のtextブロック*/
.list-container .list .text {
	flex: 1;
}


/*listブロック（WB工法の説明）
---------------------------------------------------------------------------*/
/*listブロック全体を囲むブロック*/
.list-container0 {
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*折り返す指定*/
}

/*１個あたりのボックス設定*/
.list-container0 .list {
	display: flex;					/*flexボックスを使う指定*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	flex-direction: column;			/*子要素を縦並びにする*/
	margin-right: 2%;
}
.list-container0 .list:nth-of-type(3n) {
	margin-right: 0;
}
.wb_logo{
	width:80%;
}
.wb_image{
	width:100%;
}


/*WB工法の説明
---------------------------------------------------------------------------*/
.item06 {
 	 flex: 30%;
	text-align: right;
	margin-top:0px;
}

.item06 img{
	width:320px;
}





/*お家づくりの流れ
---------------------------------------------------------------------------*/

/*listブロック全体を囲むブロック*/
.list-container1 {
	display: flex;		/*flexボックスを使う指定*/

}

/*１個あたりのボックス設定*/
.list-container1 .list {
	display: flex;					/*flexボックスを使う指定*/
	width: 100%;				
}






/*ニュース
---------------------------------------------------------------------------*/

/*listブロック全体を囲むブロック*/
.list-container4 {
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*折り返す指定*/
}

/*１個あたりのボックス設定*/
.list-container4 .list {
	display: flex;					/*flexボックスを使う指定*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	flex-direction: column;			/*子要素を縦並びにする*/
	width: 30%;				
	margin-right: 5%;
	margin-left: 5%;
}




/*インスタ
---------------------------------------------------------------------------*/

/*listブロック全体を囲むブロック*/
.list-container3 {
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*折り返す指定*/
}

/*１個あたりのボックス設定*/
.list-container3 .list {
	display: flex;					/*flexボックスを使う指定*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	flex-direction: column;			/*子要素を縦並びにする*/
	width: 48%;				/*幅。2列になります。*/
	margin-right: 1%;
	margin-left: 1%;
}







/*テーブル
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	padding: 5px 15px;		/*上下、左右へのボックス内の余白*/
}

/*th（左側）、td（右側）の共通設定*/
.ta1 th, .ta1 td {
	padding: 20px 15px;		/*上下、左右へのボックス内の余白*/
}

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



/*ta1テーブルブロック設定*/
.ta1 {
	width:76%;
}


/*ポートフォリオ
---------------------------------------------------------------------------*/
/*listブロックを囲む外側のボックス*/
.list-container5 {
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*折り返す指定*/
}

/*ボックス１個あたりの設定*/
.list-container5 .list {
	position: relative;
	overflow: hidden;
	height: 0;			/*正方形にトリミングする為の指定なので変更しないで下さい*/
	width: 19%;			/*幅*/
	padding-top: 18%;	/*正方形にトリミングする為の指定です。上のwidthの数値と合わせておけばOK。*/
	border-radius: 10px;	/*角を丸くする指定。通常の四角形がよければこの１行削除。*/
	margin: 0.5%;			/*ボックス同士に空けるスペース*/
	box-shadow: 2px 2px 3px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅。0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*以下も画像を正方形にトリミングする為の指定なので変更しない。*/
.list-container5 .list a {
	display: block;
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}
.list-container5 .list img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: 0.5s;	/*マウスオン時にかける時間。0.5秒。*/
}

/*マウスオン時の画像*/
.list-container5 .list img:hover {
	transform: scale(1.1);	/*1.1倍に拡大*/
	filter: contrast(1.3);	/*コントラストを1.3倍*/
}



/*youtube
---------------------------------------------------------------------------*/
/*listブロック全体を囲むブロック*/
.list-container6 {
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*折り返す指定*/
}

/*１個あたりのボックス設定*/
.list-container6 .list{
	display: flex;					/*flexボックスを使う指定*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	flex-direction: column;			/*子要素を縦並びにする*/
	width: 32%;						/*幅。３列になります。*/
	margin-right: 2%;
}

/*１個あたりのボックス設定*/
.list-container6 .list2{
	display: flex;					/*flexボックスを使う指定*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	flex-direction: column;			/*子要素を縦並びにする*/
	width: 66%;						/*幅。３列になります。*/
}



/*フッター社名・サイトマップ
---------------------------------------------------------------------------*/
.list-container7 {
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*折り返す指定*/
}

.list-container .list {
	display: flex;					/*flexボックスを使う指定*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	flex-direction: column;			/*子要素を縦並びにする*/
}







/*その他
---------------------------------------------------------------------------*/
.ws {width: 48%;display: inline;}
.sh {display: none;}
.pc {display: inline-block;}


/*　※注意！　下の閉じカッコ　}　はこのブロックに必要なので、削除しないで下さい。　*/

}






.fade-in{ 
　opacity:0;
  animation-name:sample01;
  animation-duration: 5s; 
  animation-iteration-count: infinite;
  animation-fill-mode: forwards;
}
@keyframes sample01 {
0% {
 opacity: 0;
 transform: translateY(30px);
}
  10%{
    opacity: 1;
     transform: translateY(0);
  }
  70%{
    opacity: 1;
     transform: translateY(0);
  }
 90% {
 opacity:0;
 transform: translateY(-30px);
 } 
 100% {
 opacity:0;
 transform: translateY(-30px);
 } 
}


.msg{
   font-size: 50px;
   letter-spacing: 0.15em;
   color: #fff;
   position: absolute;
   top: 40%;
left:5%;
}

.msg-01{
    text-shadow: 3px 3px 10px #000, -1px -1px 5px #000;
}




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


/*スライドショーのキーフレーム設定
---------------------------------------------------------------------------*/
@keyframes slide1 {
	0% {opacity: 1;}
	20%{opacity: 1;}
	25%{opacity: 0;}
	95% {opacity: 0;}
	100% {opacity: 1;}
}
@keyframes slide2 {
	0% {opacity: 0;}
	15% {opacity: 0;}
	20% {opacity: 1;}
	40% {opacity: 1;}
	45% {opacity: 0;}
	100% {opacity: 0;}
}
@keyframes slide3 {
	0% {opacity: 0;}
	35% {opacity: 0;}
	40% {opacity: 1;}
	60% {opacity: 1;}
	65% {opacity: 0;}
	100% {opacity: 0;}
}

@keyframes slide4 {
	0% {opacity: 0;}
	55% {opacity: 0;}
	60% {opacity: 1;}
	80% {opacity: 1;}
	85% {opacity: 0;}
	100% {opacity: 0;}
}

@keyframes slide5 {
	0% {opacity: 0;}
	75% {opacity: 0;}
	80% {opacity: 1;}
	95% {opacity: 1;}
	98% {opacity: 0;}
	100% {opacity: 0;}
}


/*スライドショー（cssでのbackground使用）
ここでは、16:9の画像比率（9÷16=0.5625）を読み込む指定を行なっています。
異なる画像比率にしたい場合、.mainimgのpadding-topの数字を変更します。2:1にするなら50%です。
---------------------------------------------------------------------------*/

/*3枚の画像を囲むブロック*/
.mainimg-css-bg {
	width: 100%;
	height: 650px;
	position: relative;
}

/*３枚の画像の共通設定*/
.mainimg-css-bg .slide1, .mainimg-css-bg .slide2, .mainimg-css-bg .slide3, .mainimg-css-bg .slide4, .mainimg-css-bg .slide5  {
	width: 100%;
	height: 650px;
	position: absolute;right: 0px;top: 0px;z-index: -1;
}


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

/*3枚の画像を囲むブロック*/
.mainimg-css-bg {
	width: 100%;
	height: 0;
	padding-top: 56.25%;
	position: relative;
}

/*３枚の画像の共通設定*/
.mainimg-css-bg .slide1, .mainimg-css-bg .slide2, .mainimg-css-bg .slide3, .mainimg-css-bg .slide4, .mainimg-css-bg .slide5 {
	width: 100%;height: 100%;
	position: absolute;right: 0px;top: 0px;z-index: -1;
	text-indent: -9999px;
}}



/*１枚目画像*/
.mainimg-css-bg .slide1 {
	animation: slide1 25s linear infinite;
	background: url(../images/1.jpg) no-repeat center center/cover;
}

/*２枚目画像*/
.mainimg-css-bg .slide2 {
	animation: slide2 25s linear infinite;
	background: url(../images/2.jpg) no-repeat center center/cover;
}

/*３枚目画像*/
.mainimg-css-bg .slide3 {
	animation: slide3 25s linear infinite;
	background: url(../images/3.jpg) no-repeat center center/cover;
}

/*4枚目画像*/
.mainimg-css-bg .slide4 {
	animation: slide4 25s linear infinite;
	background: url(../images/4.jpg) no-repeat center center/cover;
}

/*5枚目画像*/
.mainimg-css-bg .slide5 {
	animation: slide5 25s linear infinite;
	background: url(../images/5.jpg) no-repeat center center/cover;
}




/*お問い合わせ表示*/
.mainimg-css-bg #text {
	position: absolute;
	left: 3%;		/*mainimgに対して左からの配置場所指定*/
	top: 30%;		/*mainimgに対して上からの配置場所指定*/
	width: 100%;	/*幅*/
	height: 100%;	/*高さ*/
	display: flex;			/*flexボックスを使う指定*/
	align-items: center;	/*垂直揃えの指定。天地中央に配置されるように。*/
}

.mainimg-css-bg #text a.tel{
	background: rgba(0,0,0,0.3);
	color: #fff;
        font-family: 'Lato', 'M PLUS 1 Code', "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", "Osaka", "MS PGothic", "ＭＳ Ｐゴシック", sans-serif;
	font-size: 1.0em;
	border-radius: 20px;
	padding: 10px 30px;
	text-decoration: none;
}










/*bg6背景（youtube）
---------------------------------------------------------------------------*/
.bg6 a {color: inherit;}
.bg6 {
	margin-top:-60px;
	background-position: top center, bottom center;	/*１枚目画像、２枚目画像の配置場所指定*/
	background-size: 100% var(--bg6-height);		/*背景画像のサイズ。幅は100%で、高さはcss冒頭のbg6-heightを読み込みます。*/
	background-repeat: no-repeat;		/*画像をリピートしない*/
	padding-top: var(--bg6-height);		/*変更不要*/
	padding-bottom: var(--bg6-height);	/*変更不要*/
	background-image: url('../images/bg6_top.png'), url('../images/bg6_bottom.png');	/*背景画像の読み込み。カンマ区切りで２枚読み込んでいます。*/
}

.bg6-inner {
	background-size: 100%;
	background-repeat:repeat;
	background-image: url(../images/bg6.jpg) ;
	padding-top: var(--bg6-height);		/*変更不要*/
	padding-bottom: var(--bg6-height);	/*変更不要*/
}

/*ボックス内の上下の空白が広くなりすぎるので、sectionの上下マージンをなくす*/
.bg6-inner > section {
	margin-top: 0;
	margin-bottom: 0;
}






/*サムネイルの横スライドショー（youtube）
---------------------------------------------------------------------------*/
/*スライドショー全体を囲むブロック*/
.slide-thumbnail2-parts {
	overflow-x: hidden;
	padding-bottom: 50px;	/*下に空けるスペース。インジケーター分の確保です。*/
	position: relative;
}

/*リンクテキスト*/
.slide-thumbnail2-parts a {
	text-decoration: none;
	color: inherit;
}

/*１個あたりのボックスの設定と、4列配置する為の指示*/
.slide-thumbnail2-parts .img-parts > div {
	flex: 0 0 48%;			/*４枚表示する為には25%指定だが、左右のマージン分（計2%）を差し引く。*/
	max-width: 48%;			/*上記と同じ内容だが念の為追加*/
	margin: 0 1%;			/*上下、左右へのマージン*/
	padding:0rem;			/*ボックス内の余白*/
	background: #fff;		/*背景色*/
}

	/*画面幅800px以下の追加指定*/
	@media screen and (max-width:800px) {
	
	/*1列配置に変更する*/
	.slide-thumbnail2-parts .img-parts > div {

		flex: 0 0 100%;
		max-width: 100%;
	        margin: 0 0%;
	}

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


/*画像たちを囲むブロック*/
.slide-thumbnail2-parts .img-parts {                                    
	display: flex;
}

/*画像*/
.slide-thumbnail2-parts .img-parts img {
	width: 100%;
}

/*段落タグ(p)*/
.slide-thumbnail2-parts p {
	font-size: 0.85rem;	/*文字サイズを85%に*/
	line-height: 1.5;	/*行間をデフォルトより狭く*/
}


/*現在表示中（インジケーター）のボタン
---------------------------------------------------------------------------*/
/*全体*/
.slide-thumbnail2-parts .slide-indicators-parts {
	text-align: center;
	position: absolute;
	width: 100%;
	bottom: 0px;	/*下からのボタンの配置場所*/
	left: 0px;
}

/*１個あたり*/
.slide-thumbnail2-parts .indicator {
	display: inline-block;
	width: 10px;
	height: 10px;
	background: #fff;	/*未アクティブ時のボタン色*/
	border-radius: 50%;
	margin: 0 5px;
	cursor: pointer;
}

.slide-thumbnail2-parts .indicator.active {
	background: #000;	/*アクティブ時のボタン色*/
}









:root {
	--icon-width: 3px;
	--icon-color: #ccc;
}


.icon-arrow-right{
	display: inline-block;
	box-sizing: border-box;
	width:6px;
	height:6px;
	margin-bottom: 3px;
	border-style: solid;
	border-width: var(--icon-width) var(--icon-width) 0 0;
	border-color: var(--icon-color);
	transform: rotate(45deg);
}
.icon-arrow-right {
	transform: rotate(45deg);
}



