@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=Cinzel&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP&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: "Noto Serif JP", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;	/*フォント種類*/
	-webkit-text-size-adjust: none;
	letter-spacing: 0.05em;
	background: #fff;	/*背景色*/
	color: #999;		/*全体の文字色*/
	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;
}

b {
	color: #999;	/*文字色*/
	transition: 0.3s;
}
b:hover {
	color: #666;
}

/*section
---------------------------------------------------------------------------*/
section {
	padding: 5%;
}


/*背景グラデーション設定
---------------------------------------------------------------------------*/
.bg1 {
	background-color:hsla(0,0%,100%,1);
	background-image:
	radial-gradient(at 23% 13%, hsla(0,33%,89%,1) 0px, transparent 50%),
	radial-gradient(at 96% 4%, hsla(0,28%,77%,1) 0px, transparent 50%),
	radial-gradient(at 10% 66%, hsla(0,27%,85%,1) 0px, transparent 50%),
	radial-gradient(at 87% 90%, hsla(0,33%,94%,1) 0px, transparent 50%);
}

.bg2 {
	background-color:hsla(0,0%,100%,1);
	background-image:
	radial-gradient(at 0% 0%, hsla(74,32%,76%,1) 0px, transparent 50%),
	radial-gradient(at 79% 23%, hsla(67,50%,86%,1) 0px, transparent 50%),
	radial-gradient(at 100% 95%, hsla(52,94%,94%,1) 0px, transparent 50%),
	radial-gradient(at 22% 88%, hsla(42,82%,89%,1) 0px, transparent 50%);
}

.bg3 {
	background-color:hsla(0,0%,100%,1);
	background-image:
	radial-gradient(at 100% 99%, hsla(266,3%,89%,1) 0px, transparent 50%),
	radial-gradient(at 0% 0%, hsla(340,8%,94%,1) 0px, transparent 50%);
}

.bg4 {
	background-color:hsla(0,0%,100%,1);
	background-image:
	radial-gradient(at 23% 13%, hsla(39,100%,90%,1) 0px, transparent 50%),
	radial-gradient(at 96% 4%, hsla(23,100%,83%,1) 0px, transparent 50%),
	radial-gradient(at 29% 66%, hsla(355,100%,93%,1) 0px, transparent 50%),
	radial-gradient(at 87% 90%, hsla(340,100%,87%,1) 0px, transparent 50%);
}

.bg5 {
	background-color:hsla(0,0%,100%,1);
	background-image:
	radial-gradient(at 0% 0%, hsla(65,100%,91%,1) 0px, transparent 50%),
	radial-gradient(at 79% 23%, hsla(189,78%,82%,1) 0px, transparent 50%),
	radial-gradient(at 100% 95%, hsla(229,100%,93%,1) 0px, transparent 50%),
	radial-gradient(at 22% 88%, hsla(170,92%,89%,1) 0px, transparent 50%);
}

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

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

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

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


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

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


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

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


/*メニューの下にあるfacebook,twitter,youtube,instagramのアイコン
---------------------------------------------------------------------------*/
/*アイコン全体を囲むブロック*/
hero ul.icons {
	list-style: none;margin: 0; padding: 0;
	font-size: 1.5em;	/*文字サイズ　＝　アイコンサイズの事です*/
}

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

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


/*mainブロック
---------------------------------------------------------------------------*/
/*h2タグ*/
main h2 {
	font-family: 'Cinzel', serif;	/*GoogleFontsの指定*/
	font-weight: normal;	/*太さを標準に*/
	font-size: 2em;			/*文字サイズを２倍に*/
	letter-spacing: 1em;	/*文字間隔を広くとる*/
	text-indent: 1em;		/*上の行のletter-spacingと同じ値をセットする*/
	text-align: center;
}

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

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

main h3 span {
	display: block;
	font-size: 0.7em;		/*文字サイズを親要素の70%に*/
	letter-spacing: 0.5em;	/*文字間隔の上書き*/
	text-indent: 0.5em;		/*上の行のletter-spacingと同じ値をセットする*/
}

.text {
    margin: 16px 0 0;
    font-size: 16px;
    line-height: 1.5;
}

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


/*list
---------------------------------------------------------------------------*/
.list-container {
	display: flex;
	flex-wrap: wrap;
}
.list {
	height: 0;
	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);
	filter: contrast(1.3);
}
.list video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: 0.5s;
}
.list video:hover {
	transform: scale(1.1);
	filter: contrast(1.3);
}



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

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

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

/*著作部分*/
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以上」の端末用の設定に再設定があります。*/
}


/*テーブル
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※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: 30%;			/*幅*/
	text-align: left;	/*左よせにする*/
}


/*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: #f48e83 !important;}
.color-check, .color-check a {color: #f00 !important;}
.l {text-align: left !important;}
.r {text-align: right !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;}



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


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

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


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

}



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


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

/*ロゴ画像*/
hero #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.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 {
	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;	/*基準となるフォントサイズの上書き*/
}


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

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

/*ロゴ画像*/
hero #logo {
	max-width: 300px;	/*ロゴ画像の最大幅*/
}


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



/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*ハンバーガーメニューを非表示にする*/
#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: #f48e83;	/*背景色*/
}

/*記事(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;}


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

}


/*動画サムネイル
---------------------------------------------------------------------------*/
.video-thumbnail {
    cursor: pointer;
    width: 200px; /* サムネイルの幅 */
}


/*profile画像設定
---------------------------------------------------------------------------*/
.profile-image {
    margin: 16px 0 0;
    text-align: center;
}

.profile-image img {
    width: 150px;
    height: auto;
    border-radius: 50%;
}

/* ======= カスタムギャラリーモーダル ======= */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal.hidden {
  display: none;
}

.modal-content {
  display: flex;
  flex-direction: row;
  background: #fff;
  width: 90%;
  height: 90%;
  overflow: hidden;
  position: relative;
}

.modal-left {
	position: relative;
	width: 75%;
	padding: 10px;
	overflow-y: auto;
  }

.media-wrapper img,
.media-wrapper video {
  max-width: 100%;
  margin-bottom: 10px;
}

.nav-area {
	position: absolute;
	top: 50%;                      /* ← 中央に固定 */
	transform: translateY(-50%);   /* ← 矢印を垂直方向中央に */
	width: 60px;
	height: 100%;                  /* ← 縦全体を覆ってクリック可能に */
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	transition: background 0.3s;
  }

.nav-area.left {
  left: 0;
}
.nav-area.right {
  right: 0;
}

.nav-area:hover {
  background: rgba(0, 0, 0, 0.08);
}

.nav-area::before {
  font-size: 1.5em;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}

.nav-area.left::before {
  content: "◀";
}

.nav-area.right::before {
  content: "▶";
}

.nav-area:hover::before {
  color: rgba(255, 255, 255, 0.95);
}
  

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 2em;
  color: #333;
}

/* ======= スマホ対応（縦並び） ======= */
@media screen and (max-width: 768px) {
	
	.modal {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		overflow-y: auto;       /* ← モーダル内をスクロール可能に */
		background: rgba(0, 0, 0, 0.9);
		z-index: 9999;
	  }

	.modal-content {
		height: auto;
		display: block;
		}
  
	.modal-left,
  	.modal-right {
   		 width: 100% !important;
   		 padding: 15px;
   		 box-sizing: border-box;
 	}
  
	.nav-area {
	  position: fixed; /* ← float させてテキストの外に出す */
	  top: 50%;
	  transform: translateY(-50%);
	  width: 40px;                    /* ← 押せる範囲を縮小 */
	  height: 100%;
	  z-index: 9999;
	}
  
	.nav-area.left {
	  left: 0;
	}
  
	.nav-area.right {
	  right: 0;
	}

	.nav-area::before {
		font-size: 1.5em !important;    /* ← 矢印サイズを小さく */
	}

	.media-wrapper img,
	.media-wrapper video {
	  width: 100%;
	  height: auto;
	  display: block;
	}
  }
  


/* ナビゲーション矢印の表示改善 */
.nav-area::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5em;
  color: rgba(255, 255, 255, 0.8);
  pointer-events: none;
}

.nav-area.left::before {
  content: "◀";
  left: 10px;
}

.nav-area.right::before {
  content: "▶";
  right: 10px;
}


/* モーダル全体サイズ調整 */
.modal-content {
  width: 93%;
}

/* 左右比率変更：左75%, 右25% */
.modal-left {
  width: 75%;
}

.modal-right {
  width: 25%;
}

/* 矢印の強制表示（inview.cssの opacity: 0 に勝つ） */
.nav-area.left,
.nav-area.right,
.nav-area.left::before,
.nav-area.right::before {
  opacity: 1 !important;
  z-index: 100;
}

.arrow-dark::before {
	color: #000 !important;
  }
  
  .arrow-light::before {
	color: #fff !important;
  }


  /* inview 表示アニメ */
.up, .fade-up, [data-inview]{
	opacity: 0;
	transform: translateY(20px);
	transition: opacity .8s ease, transform .8s ease;
	will-change: opacity, transform;
	visibility: hidden; /* チラつき防止 */
  }
  .up.is-show, .fade-up.is-show, [data-inview].is-show{
	opacity: 1;
	transform: none;
	visibility: visible;
  }

  /* CONTACT のリンクは下線なしにする */
#contact .ta1 a{
	text-decoration: none;
	border-bottom: none;   /* テンプレがボーダー下線の場合にも対応 */
	color: inherit;        /* 文字色は周囲に合わせる（任意） */
  }
  #contact .ta1 a:hover{
	text-decoration: none;
	opacity: .85;          /* 下線の代わりに軽いホバー表現（任意） */
  }
  /* キーボード操作時の視認性は残す */
  #contact .ta1 a:focus-visible{
	outline: 2px solid currentColor;
	outline-offset: 2px;
  }
  
/* --- NEWS single --- */
#news-single .news-article {
	max-width: 880px;
	margin: 0 auto;
	padding: 1.5rem 1rem 2.5rem;
  }
  
  #news-single .news-title {
	font-size: clamp(22px, 4vw, 32px);
	letter-spacing: .05em;
	margin: 0;
  }
  
  #news-single .news-date {
	margin: .6rem 0 1.2rem;
	color: #888;
	font-size: .95rem;
  }
  
  #news-single .news-content {
	line-height: 1.9;
	font-size: 1rem;
  }
  
  #news-single .news-content p + p {
	margin-top: .9rem;
  }
  
  /* pager */
  #news-single .news-pager {
	display: flex;
	gap: 1rem;
	justify-content: center;
	align-items: center;
	margin-top: 2rem;
  }
  
  #news-single .news-pager .prev a,
  #news-single .news-pager .next a,
  #news-single .news-pager .back a {
	text-decoration: none;
	border: 1px solid #ddd;
	padding: .45rem .9rem;
	border-radius: 6px;
  }
  
  #news-single .news-pager .back a {
	background: #f7f7f7;
  }
  #news-single .news-pager a:hover {
	background: #eee;
  }

  .pagination { text-align:center; margin: 16px 0; }
  .pagination a,
  .pagination span {
	display:inline-block; margin:0 4px; padding:6px 10px;
	border:1px solid #ccc; border-radius:4px; text-decoration:none; color:#666;
  }
  .pagination .current { background:#666; color:#fff; border-color:#666; }
  .more .btn {
	display:inline-block; padding:8px 16px; border:1px solid #aaa; border-radius:4px;
	text-decoration:none; color:#555;
  }
  .more .btn:hover { background:#f2f2f2; }


  /* ==== Works用ヘッダー ==== */
.works-header{
	width: 100%;
	background: #fff;                /* 必要なら透過/別色に */
	border-bottom: 1px solid #eee;   /* いらなければ削除 */
  }
  .works-header__inner{
	max-width: 1200px;
	margin: 0 auto;
	padding: 12px 16px;
	display: flex;
	justify-content: center;   /* モバイル：中央寄せ */
	align-items: center;
  }
  .works-header__logo img{
	display: block;
	height: 40px;              /* ロゴ高さ。必要なら調整 */
	width: auto;
  }
  
  /* PCでは左寄せ */
  @media (min-width: 768px){
	.works-header__inner{
	  justify-content: flex-start;
	}
  }
  
  #news-single .works-header{
	width: 100%;
	background: #fff;                /* 必要なら透過/別色に */
	border-bottom: 1px solid #eee;   /* いらなければ削除 */
  }
  #news-single .works-header__inner{
	max-width: 1200px;
	margin: 0 auto;
	padding: 12px 16px;
	display: flex;
	justify-content: center;   /* モバイル：中央寄せ */
	align-items: center;
  }
  #news-single .works-header__logo img{
	display: block;
	height: 40px;              /* ロゴ高さ。必要なら調整 */
	width: auto;
  }
  
  /* PCでは左寄せ */
  @media (min-width: 768px){
	#news-single .works-header__inner{
	  justify-content: flex-start;
	}
  }
  