@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/6.7.2/css/all.min.css");

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

/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Cinzel&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+JP:wght@300&display=swap');

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



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

body {
	font-family: "IBM Plex Sans JP", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;	/*フォント種類*/
	-webkit-text-size-adjust: none;
	letter-spacing: 0.05em;
	background: #fff;	/*背景色*/
	color: #666666;		/*全体の文字色*/
	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: #999;	/*文字色*/
	transition: 0.3s;
}
a:hover {
	color: #666;
}


/*section
---------------------------------------------------------------------------*/
section {
	padding: 2%;
    padding-left: 8%;
    padding-right: 8%;
}


/*背景設定
---------------------------------------------------------------------------*/
.bg1 {
	background-color: #fff;
}

.bg2 {
	background-color: #fbf4f1;
}

.bg3 {
	background-color: #f2f2f2;
}

.bg4 {
	background-color: #fffdf0;
}

/*header（ロゴなどが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	height: 30vh;				/*画面に対してのヘッダー部分の高さ100%*/
	display: flex;				/*flexボックスを使う指定*/
	justify-content: center;	/*左右の中央に配置*/
	align-items: center;		/*天地中央に配置*/
	text-align: center;			/*文字をセンタリング*/
}

/*ヘッダーのリンクテキスト*/
header a {
	text-decoration: none;
	display: block;
}


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

	/*ロゴ*/
	#logo {
		width: 140px;	/*幅*/
	}

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



/*ロゴやメニューのブロック*/
header #text {
	font-family: 'Cinzel';
	position: absolute;
	z-index: 1;			/*画像の上にくるように*/
	background: rgba(255,255,255,0.5);	/*背景色。255,255,255は白の事で0.95は色が95%出た状態。*/
	border-radius: 50px;	/*角を丸くする指定*/
	padding: 10px 20px;	/*上下、左右へのブロック内の余白*/
	margin: 30px;			/*ブロックの外にとる余白*/
}


/*ロゴ画像*/
header #logo img {display: block;}
header #logo {
	margin: 0;
	max-width: 250px;	/*ロゴ画像の最大幅*/
}

/*メイン画像
---------------------------------------------------------------------------*/
.mainimg-tate {
	width: 100%;	/*幅*/
	height: 100%;	/*高さ*/
}

/*横長画像は非表示にしておく*/
.mainimg-yoko {display: none;}


/*メニュー（SNSアイコン含む）
---------------------------------------------------------------------------*/
/*メニュー１個あたりの設定*/
#menubar a {
	padding: 15px;	/*メニュー内の余白*/
}

/*マウスオン時*/
#menubar nav a:hover {
	letter-spacing: 0.2em;	/*文字間隔を少し広くする*/
}

/*SNSアイコン全体を囲むブロック*/
header ul.icons {
	list-style: none;margin: 0; padding: 0;
	font-size: 2em;	/*文字サイズ　＝　アイコンサイズの事です*/
}

/*SNSアイコン１個あたりの設定*/
header ul.icons li {
	display: inline-block;	/*アイコンを横並びにする指定*/
	margin: 0 2px;			/*上下、左右へ空けるスペース*/
}
header ul.icons li a {
	opacity: 0.5;	/*色が50%出た状態*/
}

/*マウスオン時*/
header ul.icons li a:hover {
	opacity: 1;	/*色を100%出す*/
}


/*main（本文）ブロック
---------------------------------------------------------------------------*/
/*h2タグ(各ページタイトルの文字設定）*/
main h2 {
	font-family: 'Cinzel', 'IBM Plex Sans JP',serif;	/*GoogleFontsの指定*/
	font-weight: normal;	/*太さを標準に*/
	font-size: 2em;			/*文字サイズを２倍に*/
	letter-spacing: 0.5em;	/*文字間隔を広くとる*/
	text-indent: 0.5em;		/*上の行のletter-spacingと同じ値をセットする*/
	text-align: center;
}

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

/*h3タグ*/
main h3 {
	font-weight: normal;	/*太さを標準に*/
	font-size: 1.4em;		/*文字サイズ*/
	letter-spacing: 0.2em;	/*文字間隔を少し広くとる*/
}

/*h4タグ（ポートフォリーメニュー）*/
main h4 {
	font-family: 'Cinzel', 'IBM Plex Sans JP',serif;	/*GoogleFontsの指定*/
	font-weight: normal;	/*太さを標準に*/
	font-size: 1em;			/*文字サイズを２倍に*/
	letter-spacing: 0.1em;	/*文字間隔を広くとる*/
	text-indent: 0.1em;		/*上の行のletter-spacingと同じ値をセットする*/
	text-align: center;
}

/*list ポートフォリオで使っている
---------------------------------------------------------------------------*/
.list-container {
	display: flex;
	flex-wrap: wrap;
}
.list {
	width: 23%;
	padding-top: 23%;
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	margin: 1%;
	box-shadow: 2px 2px 3px rgba(0,0,0,0.1);
}
.list a {
	display: block;
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}
.list img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: 0.5s;
}
.list img:hover {
	transform: scale(1.1);
}


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

footer {
	font-family: 'Cinzel', 'IBM Plex Sans JP',serif;	/*GoogleFontsの指定*/
	font-size: 0.9rem;		/*文字サイズ*/
	text-align: center;		/*内容をセンタリング*/
	padding: 20px;			/*ボックス内の余白*/
}


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

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



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

/*日付(dt)、記事(dd)共通設定*/
#new dt,
#new dd {
	padding: 3px 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以上」の端末用の設定に再設定があります。*/
}


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

/*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: 30%;			/*幅*/
	text-align: left;	/*左よせにする*/
}


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

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


/*その他
---------------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.color-theme, .color-theme a {color: #f48e83 !important;}
.l {text-align: left !important;}
.r {text-align: right !important;}
.c {text-align: center !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 {text-align: center;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;}
.clearfix::after {content: "";display: block;clear: both;}
.cp_hr03 {
	border-width: 1px 0 0 0;
	border-style: dotted;
	border-color: #1e88e5;


/*---------------------------------------------------------------------------
ここから下は、画面の高さが1000px以下の場合の追加設定
---------------------------------------------------------------------------*/
@media screen and (max-height: 1000px) {


/*header（ロゴなどが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ロゴやメニューのブロック*/
header #text {
	padding: 100px;	/*ブロック内の余白*/
}

/*メニュー
---------------------------------------------------------------------------*/
/*メニュー１個あたりの設定*/
#menubar a {
	padding: 0px;	/*メニュー内の余白*/
}


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

}



/*---------------------------------------------------------------------------
ここから下は、画面の高さが600px以下の場合の追加設定
---------------------------------------------------------------------------*/
@media screen and (max-height: 600px) {


/*header（ロゴなどが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ロゴやメニューのブロック*/
header #text {
	padding: 20px 20px;	/*上下、左右へのブロック内の余白*/
	margin: 0px;		/*ブロックの外にとる余白*/
}

/*ロゴ画像*/
header #logo {
	margin-bottom: 0;	/*下のマージンをなくす*/
}
}


/*メニュー　前の残りだが削除しないでおいた
---------------------------------------------------------------------------*/
#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;	/*文字間隔を少しだけ広くする指定*/
	padding: 10px;			/*メニュー内の余白*/
}


/*小さな端末用の設定（開閉ブロック） 使ってないけど削除せず残しておいている
---------------------------------------------------------------------------*/
/*メニューブロック設定*/
.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.8);		/*背景色。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 {
	display: block;
	color: #fff;	/*リンクテキストの文字色*/
}


/*３本バー（ハンバーガー）アイコン設定　使っていないけど残して置いている
---------------------------------------------------------------------------*/
/*開閉用のスタイル*/
#menubar_hdr.db {display: flex;}
#menubar_hdr.dn {display: none;}

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

/*バー１本あたりの設定*/
#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;	/*２本目は使わないので非表示にする*/
}


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

}



/*---------------------------------------------------------------------------
ここから下は、端末を横向きにした場合に画面幅が999以下の場合の追加設定
---------------------------------------------------------------------------*/
@media (orientation: landscape) and (max-width: 999px) {

/*メイン画像
---------------------------------------------------------------------------*/
.mainimg-yoko {
	display: block;
	width: 100%;	/*幅*/
	height: 100%;	/*高さ*/
}

/*縦長画像は非表示にしておく*/
.mainimg-tate {display: none;}


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

}



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


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


/*header（ロゴなどが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	display: flex;					/*flexボックスを使う指定*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	align-items: center;			/*垂直揃えの指定。天地中央に配置されるように。*/
	padding: 10px;					/*ヘッダー内の余白*/
}

/*ロゴやメニューのブロック*/
header #text {
	background: transparent;
	position: static;margin: 5;padding: 0;border-radius: 0;
	width: calc(50% - 100px);	/*幅。50%というのは画面に対しての幅。-100pxというのはheaderのpaddingの数字。幅が100%だと左右のバランスが悪いので、バランスを調整しています。*/
}

/*ロゴ画像*/
header #logo {
	max-width: 250px;	/*ロゴ画像の最大幅*/
    margin-left:50px;	/*ロゴ画像の左からの位置*/
}


/*メイン画像
---------------------------------------------------------------------------*/
.mainimg-tate {
	border-radius: 10px;	/*角を丸くする指定*/
	width: 100%;			/*幅*/
}



/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*メニュー
---------------------------------------------------------------------------*/
#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;	/*文字間隔を少しだけ広くする指定*/
	padding: 10px;			/*メニュー内の余白*/
}


/*小さな端末用の設定（開閉ブロック）
---------------------------------------------------------------------------*/
/*メニューブロック設定*/
.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.8);		/*背景色。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 {
	display: block;
	color: #fff;	/*リンクテキストの文字色*/
}


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

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

/*バー１本あたりの設定*/
#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;	/*２本目は使わないので非表示にする*/
}



/*「お知らせ」ブロック
---------------------------------------------------------------------------*/
/*日付(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設定。work */
#new dt span.icon-bg1 {
	background: #f48e83;	/*背景色*/
}

/*bg1設定。note */
#new dt span.icon-bg2 {
	background: #9ebce9;	/*背景色*/
}

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


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

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

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


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


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

}

/*フッターメニュー
---------------------------------------------------------------------------*/
/*メニューブロック全体*/
#footermenu {
	margin: 0;
	padding: 2%;		/*ブロック内の余白*/
}

/*メニュー１個あたり*/
#footermenu li {
	display: inline-block;	/*横並びにする*/
	padding: 0 10px;		/*上下、左右への余白*/
}


/*アニメーションボタン。（枠線をぐるっとなぞるアニメーション）
---------------------------------------------------------------------------*/
@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秒遅れてスタートさせる。*/
}

}
/*Q&A　質問コーナー
---------------------------------------------------------------------------*/

.cp_qa02 {
  margin: 0 auto;
}
.cp_qa02 .cp_actab input[type=checkbox] {
  display: none;
}
.cp_qa02 .cp_actab {
  padding: 10px 0;
  border-bottom: 1px dotted #cccccc;
}
/*質問テキスト*/
.cp_qa02 label {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 100%;
  width: calc(100% - 70px);
  margin: 0 0 0 60px;
  padding: 10px;
  cursor: pointer;
  color: #626abe;		/*文字色*/
}
/*＋アイコン*/
.cp_qa02 label::before {
  position: absolute;
  content: '+';
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 180%;
  font-weight: bold;
  margin-left: -40px;
  padding: 0 0 0 0;
  transition: 0.4s ease;
}
.cp_qa02 .cp_actab input[type=checkbox]:checked ~ label::before {
  transform: rotate(45deg);
}
/*答えテキスト*/
.cp_qa02 .cp_actab-content {
  font-size: 1em;
  position: relative;
  overflow: hidden;
  height: 0;
  margin: 0 57px;
  padding: 0 13px;
  transition: 0.4s ease;
  opacity: 0;
}
.cp_qa02 .cp_actab input[type=checkbox]:checked ~ .cp_actab-content {
  height: auto;
  padding: 13px;
  opacity: 1;
}


/* タブシステム（横並びにする display: inline-block;） */

.ptabgallary{
clear:left;
	margin:40px 0px 5px 10px;
	width:900px;
    		height:775px;

}


.tabgallary{
	margin:340px 0px 5px 10px;
	width:900px;

}

.panels{

	background:#fff;
	width:850px;
    height:420px;
	padding-left:10px;
}


ul{
	padding:3px 10px 0;
	*zoom:1; /* ie clear float */
}
	ul.tabs li{
		display: inline-block;
font-family:Times;
font-size:10px;
font-weight:bold;
letter-spacing:1.2px;
}
		ul li a{
			color:#333;
			padding:.2px;
			text-decoration:underline;
		}
		ul li a:hover{
			text-decoration:underline;
		}
		/* ハイライトされた時 */
		ul li a.on{
			color:#333;
			cursor:default;
			text-decoration:none;
		}
		ul li a.on:hover{
			text-decoration:none;
		}
.panel{
	background:#fff;
	width:850px;
	padding-left:10px;
	font-size: 11px;
line-height: 18px;
}



/* ハンバーガーに使用メニューコンテナ全体のスタイル */
.menu-container {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  
}

/* ハンバーガーメニューボタンのスタイル（背景の四角） */
.menu-button {
  display: block;
  position: fixed;
  top: 20px;
  left: 20px;
  cursor: pointer;
  background: rgba(0,0,0,0.3);	/*背景色。0,0,0は黒の事で0.2は色が20%出た状態。*/
  padding: 0px 9px;	/*上下、左右へのブロック内の余白*/
  z-index: 20;
}

/* ハンバーガーメニューの下に "menu" を表示 */
.menu-button::after {
    content: "menu";  /* 表示するテキスト */
    font-family: 'IBM Plex Sans JP',serif;	/*GoogleFontsの指定*/
    display: block;
    text-align: center;
    font-size: 10px;
    color: white;  /* 文字色 */
    margin-top: -3px; /* アイコンとの間隔 */
}

/* ハンバーガーメニューバーのスタイル */
.bar {
  display: block;
  width: 29px;
  height: 3px;
  margin: 5px 0;
  background-color: #FFFFFF;
  transition: 0.4s;
  
}

/* メニューボタンがチェックされた場合の1つ目のバーのアニメーション */
#menu-toggle:checked ~ .menu-button .bar:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

/* メニューボタンがチェックされた場合の2つ目のバーのアニメーション */
#menu-toggle:checked ~ .menu-button .bar:nth-child(2) {
  opacity: 0;
}

/* メニューボタンがチェックされた場合の3つ目のバーのアニメーション */
#menu-toggle:checked ~ .menu-button .bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -5px);
}

/* メニュートグルのスタイル */
#menu-toggle {
  display: none;
  
}

/* ハンバーガーメニューが出てきた時のスタイル */
.menu {
  position: fixed;
  top: 0;
  left: -100%; /* 変更: メニューを左からスライドインさせるために left に設定 */
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);		/*背景色。0,0,0は黒の事で0.9は色が90%出た状態の事。*/
  transition: 0.4s;
  overflow-y: auto;
  z-index: 10;
}

/* メニュートグルがチェックされた場合のメニューの表示アニメーション */
#menu-toggle:checked ~ .menu {
  left: 0; /* メニューを表示させるために left を 0 に変更 */
}

/* メニュー内のリストのスタイル */
.menu ul {
  list-style: none;
  padding: 20px;
}

/* メニュー内リストのリンクのスタイル */
.menu ul li a {
  text-decoration: none;
  color: #FFFFFF;
  font-size: 15px;
  display: block;
  padding: 5px 0;
  transition: 0.2s;
  z-index: 15;
}

/* メニュー内リストのリンクのホバー時のスタイル */
.menu ul li a:hover {
  color: #bf7497;
}
