@charset "utf-8";



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

/*Bootstrap Iconsの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.min.css");

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

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

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

/*lightbox用cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("lightbox.css");




/*全体の設定
---------------------------------------------------------------------------*/
html,body {
	margin: 0;padding: 0;
	font-size: 13px;	/*基準となるフォントサイズ。*/
	scroll-behavior: smooth;	/*スムーズスクロール*/
}

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

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

}/*画面幅900px以上の追加指定ここまで*/

body {
	font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
	background: #fff;	/*背景色*/
	color: #777;		/*文字色*/
	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; list-style: none;}

/*他*/
section + section {
	margin-top: 100px;
}


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

a:hover {
	opacity: 0.7;	/*マウスオン時に80%の透明度にする*/
}


/*container
---------------------------------------------------------------------------*/
#container {
	margin: 0 auto;
	max-width: 1800px;	/*サイトの最大幅*/
}


/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	padding: 3%;	/*ヘッダー内の余白*/
}

/*ロゴ*/
#logo {
	width: 380px;	/*幅*/
	margin: 0 auto;	/*左右の中央に配置*/
}




/*トップページのスライドショー（vegasを使用）
背景画像をレスポンシブにする為の設定ですが、画像比率を変更したい場合はテンプレート内マニュアルをご覧下さい。
---------------------------------------------------------------------------*/
#mainimg-box {
	width: 100%;
	height: 0;
	padding-top: 56.25%;
	position: relative;
}
#mainimg {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 75%;
}


/*mainブロック
---------------------------------------------------------------------------*/
main {
	margin: 20px;	/*ブロックの外にとるスペース*/
}

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

	main {
		margin: -131px 100px 100px;	/*ブロックの外にとるスペース*/
		/*トップメニュー下h3調整*/
	}

}/*画面幅900px以上の追加指定ここまで*/

/*h2タグ*/
main h2 {
	font-weight: normal;	/*太さを標準に*/
	font-size: 2rem;		/*文字サイズを２倍に*/
	letter-spacing: 0.3em;	/*文字間隔を広くとる*/
	text-indent: 0.3em;		/*上の行のletter-spacingと同じ値をセットする*/
	text-align: center;		/*テキストをセンタリング*/
}

/*h2タグ内のspanタグ。小文字部分。*/
main h2 span {
	display: block;
	font-size: 1rem;		/*文字サイズを親要素の半分に*/
	letter-spacing: 0.5em;	/*文字間隔の上書き*/
	text-indent: 0.5em;		/*上の行のletter-spacingと同じ値をセットする*/
}

/*h3タグ*/
main h3 {
	font-size: 1.3rem;	/*文字サイズ*/
}

/*微調整*/
p + h3,p + h2 {margin-top: 1.5em;}
/*h3見出しのマージン調整*/


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


/*メニューブロック設定
---------------------------------------------------------------------------*/
/*ブロック内のh2見出し*/
#menubar h2 {
	margin: 0 0 20px;	/*上、左右、下への見出しの外側にとる余白*/
	font-size: 1rem;		/*文字サイズ*/
	background: #eee;	/*背景色*/
}

/*メニューブロック*/
#menubar {
	position: fixed;overflow: auto;z-index: 100;
	left: 0px;top: 0px;
	width: 100%;
	height: 100%;
	padding: 100px 20px 20px;			/*ブロック内の余白。上、左右、下。*/
	background: rgba(255,255,255,0.95);	/*背景色。255,255,255は白の事で0.95は色が95%出た状態。*/
	text-align: center;					/*中身をセンタリング*/
	animation: animation1 0.2s both;	/*animation.cssのanimation1を実行する。0.2sは0.2秒の事。*/
	box-shadow: 0px 0px 20px rgba(0,0,0,0.2);	/*ボックスの影。右へ、下へ、ぼかし幅。0,0,0は黒の事で0.2は色が20%出た状態。*/
}

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

	#menubar {
		width: 33.3%;
		/*ドロワーメニューの幅*/
	}

}/*画面幅900px以上の追加指定ここまで*/

/*メニュー１個あたりの設定*/
#menubar a {
	display: block;text-decoration: none;
	text-align: center;
	padding: 10px;	/*メニュー内の余白*/
}
#menubar .submenu li {
	border-bottom: 1px solid #ccc;	/*メニューの下の線幅、線種、色*/
}
#menubar .submenu li:first-child {
	border-top: 1px solid #ccc;	/*１つ目のメニューの上の線幅、線種、色*/
}


/*インスタなどのアイコンブロック
---------------------------------------------------------------------------*/
.icons li {
	display: inline-block;	/*横並びにする指定*/
	margin: 10px;			/*アイコンの外側に空けるスペース*/
	font-size: 20px;		/*文字サイズですが、これでアイコンサイズを変更できます。*/
}


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

/*３本バーを囲むブロック*/
#menubar_hdr {
		color: #f00;
	position: fixed;z-index: 101;
	cursor: pointer;
	right: 30px;		/*右からの配置場所指定*/
	top: 30px;			/*上からの配置場所指定*/
	width: 60px;		/*幅（３本バーが出ている場合の幅になります）*/
	height: 35px;		/*高さ*/
	display: flex;					/*flexボックスを使う指定*/
	flex-direction: column;			/*子要素（３本バー）を縦並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	padding: 10px;	/*クリック領域を少し増やす為に指定しました。*/
}

/*３本バーのマウスオン時に色を50%にする*/
#menubar_hdr:hover {
		color: #f00;
	opacity: 0.5;
}

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

/*変形の起点。センターに。*/
#menubar_hdr.ham span {
		color: #f00;
	transform-origin: center center;
}

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

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


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

footer {
	margin-top: 30px;
	font-size: 0.7rem;		/*文字サイズ*/
	text-align: center;		/*内容をセンタリング*/
	background-color: #222;
	color: #fff;
}

/*copyrightと著作部分*/
.copy {padding: 1%;}


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

/*ボックス１個あたりの設定*/
.list-container .list {
	position: relative;
	overflow: hidden;
	height: 0;			/*正方形にトリミングする為の指定なので変更しないで下さい*/
	width: 23%;			/*幅*/
	padding-top: 23%;	/*正方形にトリミングする為の指定です。上の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-container .list a {
	display: block;
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}
.list-container .list img {
	width: 100%;
	height: 50%;
	object-fit: cover;
	object-position: center;
	transition: 0.5s;	/*マウスオン時にかける時間。0.5秒。*/
}

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


/*テキスト＆画像の左右ブロック
---------------------------------------------------------------------------*/
/*テキストと画像を囲むブロック*/
.tp-box {
	display: flex;	/*flexボックスを使う指定*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	align-items: center;	/*垂直揃えの指定。天地中央に配置されるように。*/
}

/*テキストブロック*/
.tp-box .text {
	position: relative; z-index: 1;
	width: 45%;	/*幅*/
}

/*画像ブロック*/
.tp-box .photo {
	width: 45%;	/*幅*/
	box-shadow: -150px 100px 0px rgba(0,0,0,0.05);	/*ブロックの影。右へ(※マイナスがついているのでこの場合は左へ)、下へ、ぼかし幅。0,0,0は黒の事で0.05は色が5%出た状態。*/
}

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

	/*左右のブロックを縦並びにする*/
	.tp-box {
		flex-direction: column;
	}

	/*テキストブロック*/
	.tp-box .text {
		width: auto;	/*幅*/
	}

	/*画像ブロック*/
	.tp-box .photo {
		width: 80%;	/*幅*/
		box-shadow: none;
	}

}/*画面幅600px以下の追加指定ここまで*/


/*「NEWS」ブロック
---------------------------------------------------------------------------*/
/*「NEWS」と「もっとみる」ボタンを囲むボックス*/
.new {
	/*margin-left: 100px;	左に空けるスペース*/
}

/*NEWSブロック*/
.new dl {
	margin: 0;
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*折り返す指定*/
}

/*日付(dt)設定*/
.new dt {
	width: 8rem;		/*幅。8文字(rem)分。*/
	letter-spacing: 0.1em;
	display: flex;	/*flexボックスを使う指定*/
	justify-content: space-between;	/*日付とアイコンをそれぞれ端に寄せる*/
	padding: 10px 0;	/*上下、左右への余白。下のddのpaddingと揃える。*/
}

/*記事(dd)設定*/
.new dd {
	padding: 10px 0;	/*上下、左右への余白。上のdtのpaddingと揃える。*/
	width: calc(100% - 8rem);	/*「8rem」は上の「.new dt」のwidthの値です。*/
}


/*トップページのNEWSのレイアウト
---------------------------------------------------------------------------*/
/*左右のブロックを囲むボックス*/
.lr {
	display: flex;	/*flexボックスを使う指定*/
}

/*１つ目のブロック*/
.lr > :first-child {
	margin-right: 50px;	/*右側に空けるスペース。右側ブロックとの間の余白部分になります。*/
	width: 20%;		/*幅*/
}

/*２つ目のブロック*/
.lr > :last-child {
	flex: 1;
}

/*lr内でのh2タグ*/
.lr h2 {
	text-align: left;
	margin: 0;
}
.lr h2::after {
	content: "";
	border-right: 3px solid #efbec7;	/*テキスト右側のアクセントライン*/
	padding-left: 20px;				/*アクセントラインとテキストとの間の余白*/
}

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

	/*左右のブロックを縦並びにする*/
	.lr {
		flex-direction: column;
	}
	/*１つ目のブロック*/
	.lr > :first-child {
		margin-right: 0;
		width: auto;
	}
	
	h3 {
	letter-spacing: 0.2em;
}

}/*画面幅600px以下の追加指定ここまで*/


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

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

/*アイコン（Bootstrap Icons）*/
.faq dt::before {
    font-family: bootstrap-icons;	/*Bootstrap Iconsを使う為の指定*/
    content: "\F504";	/*アイコンのコード*/
	color: #e67d91;		/*アイコンの色*/
	padding-right: 1em;	/*アイコンとテキストとの間のスペース*/
}

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

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


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

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

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

/*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;	/*左よせにする*/
}

.price {
	display: inline-block;
	font-size: 0.8em;
	background: #e67d91;
	padding: 0 20px;
	margin: 0 10px;
	border-radius: 2px;	/*角を丸くする指定*/
}

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

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

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

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

}/*画面幅900px以上の追加指定ここまで*/


/*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;		/*下からの配置場所指定*/
	background: rgba(0,0,0,0.3);
	width: 50px;
	line-height: 50px;
	color: #fff;
}


/*アニメーションボタン。（枠線をぐるっとなぞるアニメーション）
---------------------------------------------------------------------------*/
@keyframes w {0% {width: 0px;} 100% {width: 100%;}}
@keyframes h {0% {height: 0px;} 100% {height: 100%;}}

/*ボタンの一番の外側のボックス*/
.animation-btn {
	position: relative;		/*枠線をアニメーションさせる為に必要な指定*/
	display: inline-block;
	box-shadow: 0px 0px 0px 1px #ccc inset;	/*デフォルトで見えている枠線の設定*/
}

/*上のanimation-btnの内側にあるボックス*/
.animation-btn-inner {
	display: block;text-decoration: none;
	padding: 0.5em 3em;		/*ボタン内の余白。上下、左右へ。emは文字の単位。1emが1文字分という事です。*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
	text-indent: 0.1em;		/*letter-spacingを設定するとその分全体のテキスト位置がずれるので、戻す設定。同じ数字にしておけばOKです。*/
}

/*ボタン内でiタグを使う場合の設定*/
.animation-btn-inner i {
	display: inline-block;
	transition: 0.3s;		/*アニメーションにかける時間。0.3秒。*/
	padding-left: 1em;		/*テキストと、iタグの間の余白*/
}
.animation-btn-inner:hover i {
	transform: translateX(5px);	/*マウスオン時にiタグを5pxだけ右に移動する*/
}

/*枠線共通*/
.animation-btn::before,
.animation-btn::after,
.animation-btn-inner::before,
.animation-btn-inner::after {
	content: "";
	position: absolute;
	background-color: #666;		/*background(背景)スタイルですが、ここでは枠線の色に使われます。*/
	animation-duration: 0.2s;	/*アニメーションにかける時間。１辺あたり0.2秒。*/
	animation-fill-mode: forwards;	/*アニメーション完了時に最後のフレームを維持。この１行を外してみると別の動作になって面白い動きになります。*/
	animation-timing-function: linear;	/*アニメーションの速度のタイプ。同じ速度にする。*/
}

/*ラインアニメーション１（左上→右上）*/
.animation-btn:hover::before {
	left: 0px;	/*開始地点の指示*/
	top: 0px;	/*開始地点の指示*/
	height: 1px;		/*線の幅の代わりになります*/
	animation-name: w;	/*上の「@keyframes」で使うアニメーション名の指定。*/
}

/*ラインアニメーション２（右上→右下）*/
.animation-btn:hover::after {
	right: 0px;	/*開始地点の指示*/
	top: 0px;	/*開始地点の指示*/
	width: 1px;			/*線の幅の代わりになります*/
	animation-name: h;	/*上の「@keyframes」で使うアニメーション名の指定。*/
	animation-delay: 0.2s;	/*アニメーションを0.2秒遅れてスタートさせる。*/
}

/*ラインアニメーション３（右下→左下）*/
.animation-btn-inner:hover::before {
	right: 0px;		/*開始地点の指示*/
	bottom: 0px;	/*開始地点の指示*/
	height: 1px;		/*線の幅の代わりになります*/
	animation-name: w;	/*上の「@keyframes」で使うアニメーション名の指定。*/
	animation-delay: 0.4s;	/*アニメーションを0.4秒遅れてスタートさせる。*/
}

/*ラインアニメーション４（左下→左上）*/
.animation-btn-inner:hover::after {
	left: 0px;		/*開始地点の指示*/
	bottom: 0px;	/*開始地点の指示*/
	width: 1px;			/*線の幅の代わりになります*/
	animation-name: h;	/*上の「@keyframes」で使うアニメーション名の指定。*/
	animation-delay: 0.6s;	/*アニメーションを0.6秒遅れてスタートさせる。*/
}


/*その他
---------------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.color-check, .color-check a {color: #b71c1c !important;}
.color-theme, .color-theme a {color: #e67d91 !important;}
.c {text-align: center !important;}
.r {text-align: right !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: 5px 0; word-break: break-all;}
.small {font-size: 0.75em;}
.pc {display: none;}

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

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

}/*画面幅900px以上の追加指定ここまで*/




/*会社概要テーブル*/
/*
各種テーブル
-------------------------------------------*/
table.table_01 {
	width: 96%;
	margin-top: 20px;
	margin-right: auto;
	margin-bottom: 30px;
	margin-left: auto;
}
table.table_01 th,
table.table_01 td {
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	padding: 20px;
}
table.table_01 th {
	font-size: 16px;
	white-space: nowrap;
	letter-spacing: 1px;
	width: 33%;
}
table.table_01 td {
	font-size: 14px;
	line-height: 30px;
}




table.table_01 th span {
	font-size: 12px;
	color: #CCC;
}


table.table_01 tr:first-child th{
	border-top:dotted 1px #000;
	padding:20px 20px;
	}


table.table_01 tr:first-child td{
	border-top:dotted 1px #000;
	padding:20px 25px;
	}


/*(/～640)*/

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


table.table_01 th,
table.table_01 td {
	width: 100% !important;
	display: block;
	box-sizing: border-box;
}

table.table_01 th {
	background-color: #F6F6F6;
}
	
.sub_contact nav {
	margin-top: 7px!important; 
	}
	
}


/*h3見出しデザイン*/

h3 {
	position: relative;
	padding: 0 65px;
	text-align: center;
	letter-spacing: 0.5em;
	margin:91px 0 28px;
	/*h3見出しのマージン調整*/
}

.sub_contact .content {
	margin-top: 84px;
	/*h3見出しのマージン調整*/
}

h3:before {
	position: absolute;
	top: calc(50% - 1px);
	left: 0;
	width: 100%;
	height: 1.5px!important;
	content: '';
	background: #000;
}

h3 span {
	position: relative;
	padding: 0 4em;
	background: #fff;
}

@media only screen and (min-width: 1200px){
	.inner{
		width: 1024px;
		padding-bottom: 120px;
	}
}

@media screen and (max-width:600px) {
	h3 {
	letter-spacing: 0.2em;
}
}

/* SEC03 ページ内メニュー
------------------------------------------------------------*/
#sec03 {
	margin:100px 0 10px;
}

#sec03 h4{
	font-size: 16px;
}

#sec03 p{
	font-size: 14px;
	margin-bottom: 50px;
}

#sec03 .inner h4{
        text-align:center;
    }
	

#sec03 .inner {
    max-width:80%;
    /*このサイズはスマホ向けの1列にならんだ時の画像の横幅サイズ*/
    margin: 0 auto;
    padding-bottom: 50px;
	margin-bottom: -100px;
}

#sec03 .col3 li {
    width:90%;
	padding: 0 14px;
    margin-right: 20px;
	margin-bottom: 50px;
    background: #333;
    box-shadow: 0px 0px 0px 10px #333;
    border: solid 2px #fff;
}


#sec03 .col3 li a{
    color:#fff;
	text-decoration: none;
}


@media only screen and (min-width: 800px){
	/* SEC03 ページ内メニュー
	-----------------*/
    #sec03 .inner {
        max-width: 1280px;
        margin: 0 auto -100px;
    }
	
	
	#sec03 .inner ul{
		margin: 0;
		padding: 0;
    }

    #sec03 .inner .col3 {
        display: flex;
        /*PC向けにページ内メニュー(作品カテゴリー)を
        フレックスボックスで３列に並ばせる
        為にメニューの親要素にdisplay:flexを設定*/
    }
        
        #sec03 .inner .col3 li {
            width: 30%;
			margin-right: 7%;
    }
    
    #sec03 .inner .col3 li:last-child {
        margin-right: 0;
    }
    
}


/*メインメニュー*/
nav.mainmenu {
	width: 600px;
    max-width: 90%;
    margin:20px auto 20px;
	padding: 5px 20px;
}

nav.mainmenu li{
background-color: #222;
}

nav.mainmenu a{
	display: block;
    font-weight: 600;
	font-size: 18px;
	letter-spacing: 0.2em;
	color: #ddd;
	text-decoration: none;
	text-align: center;
	padding: 10px;
	margin: 6px;
}

/*メインメニュー旧

nav.mainmenu {
    max-width: 1200px;
    メーニュー部分の最大の横幅サイズを1200pxに設定
    margin:30px auto -50px;
    メーニュー部分の外余白の調整
}

nav.mainmenu ul{
    display: flex;
    フレックスボックスでコンテンツを横並びにする時は
    横並びさせる要素の親ボックスにdisplay: flexを設定する
    flex-flow: nowrap;
    flex-flow: nowrap で折り返しさせない並びの設定
    オーバーフロー時に繰り返しのある並びの場合はflex-flow: wrapの設定
    

}

nav.mainmenu li{
    list-style: none;
    list-style: none リストタグの飾り(ulは・)を外した
    width:calc(1200px / 5);
}


nav.mainmenu li a{
    text-decoration: none;
    text-decoration: noneでaタグのリンクを示す下線を外した
    color:#222;
    font-size:16px;
    メニューボタンの文字の色を白くしサイズを16ptにした
    display: block;
    /*HTML5ではブロック要素インライン要素の考えは廃止に
    なりましたが実際はブラウザで表示するとインラインである
    aタグはwidthで横幅効きません！！なので・・・
    display: blockでブロックレベル要素に再設定すると
    横幅が効きます。
    width:100%;
    aタグの親要素liタグでcalcで計算させたサイズの100％の指定
    padding:10px 0;
    メニューの文字の上下の余白を10px開けてボタンの高さを調整した
    text-align: center;
    メニューボタンの文字を中央揃えにした
	letter-spacing: 0.3em;
}

nav.mainmenu li a:hover{
	font-size: 110%;
	margin-bottom: -110%;
	vertical-align:middle;
}

---------------------------------------------------*/

/*リード文書*/

#read01{
	margin: 0 auto;
	width: 80%;
}

p.compinfo{
	text-align: center;
	width: 85%!important;
	/*さかもと商会について文書横幅*/
}

/*サブページレイアウト調整*/

#subpage main {
	margin-top: 60px;
}

#subpage h3 {
	position: relative;
	padding: 0 65px;
	text-align: center;
	letter-spacing: 0em;
	margin:-100px 0 0;
}

#subpage h3:before {
	position: absolute;
	top: calc(50% - 1px);
	left: 0;
	width: 100%;
	height: 0;
	content: '';
	background: #000;
}

#subpage p {
	margin: 20px auto;
	width: 70%;
}

/*サブページお問い合せサンクスページ調整*/
.sub_contact nav{
	margin-top: 30px;
}



/*制作事例
------------------------------------------------------------*/
.works{
}


.works img{
	display: block;
	margin: 0 auto;
	width: 100%;
	max-width: 560px;
}

.works p{
	width: 80%!important;
	margin-bottom: 30px;
}

/*Coming Soon*/
.works h4.works_cs {
	/*margin: 40px 0 0;*/
	margin: -40px 0 100px;
	text-align: center;
	font-weight: lighter;
	font-size: 32px;
}

.works h4 {
	text-align: center;
}

.works .workscopy {
	text-align: center;
}

/*最後のコンテンツ余白調整*/
.last {
	margin: 60px 0 5px!important;
}


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

	/*ロゴ*/
	#logo {
		margin-top:8px; 
		width: 180px;	/*幅*/
	}
	
h3 {
	position: relative;
	padding: 0 65px;
	text-align: center;
	letter-spacing: 0;
	margin:-50px 0 20px;
}

h3:before {
	position: absolute;
	top: calc(50% - 1px);
	left: 0;
	width: 100%;
	height: 1.5px!important;
	content: '';
	background: #000;
}

h3 span {
	position: relative;
	padding: 0 1em;
	background: #fff;
}


	/*メインメニュー*/
nav.mainmenu {
	width: 600px;
    max-width: 90%;
    margin:0 auto 20px;
	padding: 5px 20px;
}

nav.mainmenu li{
background-color: #222;
}

nav.mainmenu a{
	display: block;
    font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.2em;
	color: #ddd;
	text-decoration: none;
	text-align: center;
	padding: 6px;
	margin: 6px;
}
	
}/*画面幅500px以下の追加指定ここまで*/

/*画面幅899px以下の追加指定*/
@media screen and (max-width:899px) {
	h3#companyInfo {
			margin-top: -60px;
	}
}


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

	.map {
		display: flex;
		margin-top: -100px;
		max-width: 2400px;
	}
	
	.map−area h3 {
		font-size: 1.2em;
		color: #f00;
	}
	
	.map-area{
		width: 50%;
	}
	
	.image-area{
		width: 50%;
		margin-left:40px;
	}
	
	.image-area img{
		width: 100%;
		height: 580px;
		object-fit: cover;
	}
	
	.map-area h3,.image-area h3 {
	font-size: 1.2em;
	position: relative;
	padding: 0 20px;
	text-align: center;
	letter-spacing: 0.3em;
	margin:91px 0 28px;
	/*h3見出しのマージン調整*/
}

	
}/*画面幅1200px以上の追加指定ここまで*/










.works #flex{
    display: flex;
    /*FlexBoxでレイアウトするために親Boxのmainの中の
    section id="flex"にdisplay: flex*/
    flex-wrap: wrap;
    /*オーバーフロー時に繰り返しのある並びの場合はflex-flow: wrapの設定*/
    padding:10px;
}

.works #flex img{
    width: 100%;
    /*商品説明の各商品の画像を960px一杯に広げた*/
}


/*スマホ向け(横幅599px以下の設定)-----------------------------*/
@media only screen and (max-width:599px){
    main #flex .artwork{
        width: 100%;
        margin: 15px;
	}
	#concept p{
    padding:68px 70px;
	}
}





/*タブレット向け(横幅600px以上959px以下の設定)------------------*/
@media only screen and (min-width:600px) and (max-width:959px){
    main #flex .artwork{
        width: calc(50% - 30px);
        /*タブレット向けのデザインは商品を2列にするのでcalcで50%*/
        margin: 15px;
        /*各商品の右の余白を15px開けるために15px+15px=30pxを引いた*/
		}
	#concept p{
    padding:68px 70px;
	}
}


/*PC向け(横幅960px以上の設定)--------------------------------*/
@media only screen and (min-width:960px){
    main #flex .artwork{
        width: calc(33.333% - 30px);
        /*PC向けのデザインは商品を3列にするのでcalcで33.333%*/
        margin: 15px;
        /*各商品の右の余白を15px開けるために15px+15px=30pxを引いた*/
    }

}


.works #flex p {
	width:100% !important;;
	margin:20px auto 10px;
	padding:0;
	text-align:center;
	font-size: 10pt;
}
