@charset "utf-8";

/*リセットCSS（sanitize.css）の読み込み
---------------------------------------------------------------------------*/
@import url("https://unpkg.com/sanitize.css");
/*テンプレート専用cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("animation.css");
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tangerine:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IM+Fell+French+Canon&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mochiy+Pop+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1+Code:wght@700&display=swap');

html, body, div, span, iframe,
h1, h2, h3, h4, h5, h6, p, img, a,
ol, ul, li,
form, label,
table, tbody, tfoot, thead, tr, th, td,
article,footer, header, menu, nav, section {
	margin: 0;	padding: 0;
	border: 0;
	background: transparent;
	list-style: none;
	text-decoration: none;
	vertical-align: baseline;
	}
/*リセット*/
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%;}

/*他*/
input {font-size: 1rem;}
section + section {
	margin-top: 3rem;
}

/* ---- フォント設定 ---- */
.font_gothic {
	font-family: "游ゴシック", "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3",
               "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, Osaka, 
               "ＭＳ ゴシック", "MS Gothic", sans-serif;
	}
.font_mincho {
  	font-family: "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN",
               "游明朝", YuMincho, "Sawarabi Mincho", "HG明朝E",
               "ＭＳ Ｐ明朝", "MS PMincho", serif;
	}

/* ---- 基本レイアウト ---- */
/*トップページ以外のメインブロック*/
body:not(.home) main {
	padding-top: 150px;	/*上にとる余白。headerがfixedなので、ここの設定がないとheaderに重なってしまいます。*/
	}
main.page {
    padding-top: 5%;
	}
.block {display: block !important;}
p {
  	padding: 0 4% 2%;
  	color: #000;
  	line-height: 1.6;
  	letter-spacing: 0.1em;
  	text-align: justify;
  	text-justify: inter-ideograph;
  	font-feature-settings: "palt";
  	word-wrap: break-word;
	}
p.span red { color: red; }
p.span bd { font-weight:bold;}

/* ---- 見出し ---- */
h1 {
  	margin: 2% 4%; 
  	padding: 0.4em 0.3em 0.5em;
  	text-align: center;   
  	font-family: 'Noto Serif JP', serif;
  	font-size: calc(2rem + ((1vw - 0.64rem) * 0.7143));
  	font-weight: 600;
  	color: #5b09dc;
  	border: 1px solid slateblue;
  	border-radius: 10px;
	}
h2.mt {
  	margin: 6% 4% 2%;
  	padding: 4px 0 2px 12px;
  	font-family: 'Noto Serif JP', serif;
  	font-size: calc(1.6rem + ((1vw - 0.64rem) * 0.7143));
  	font-weight: 600;
  	color: #000;
  	text-align: center;
 	border-top: 1px solid #f17cbd;
  	border-bottom: 1px solid #f17cbd;
	}
h2.mt_db {
  	margin: 6% 4% 2%;
  	padding: 4px 0 2px 12px;
  	font-family: 'Noto Serif JP', serif;
  	font-size: calc(1.6rem + ((1vw - 0.64rem) * 0.7143));
  	font-weight: 600;
  	color: #000;
  	text-align: center;
    border-top: 1px solid #f17cbd;
  	border-bottom: 5px double #f17cbd;
	}
h2.mt span, h2.mt_db span {
  	display: block;
  	font-size: 0.85rem;
  	font-weight: 400;
  	color: #444;
  	margin-top: 4px;
  	letter-spacing: 0.05em;
  	text-align: center;
	}
h3 {
  	margin: 2% 4%;
  	padding: 4px 0 2px 12px;
    text-align:center;
  	font-size: calc(1rem + ((1.2vw - 0.64rem) * 0.7143));
  	font-weight: 600;
  	color: #000;
  	line-height: 1.5;
  	border-left: 8px solid #f17cbd;
	}
.br-pc { display: none; }

/* ---- フェードイン ---- */
.fade-in {
  	opacity: 0;
  	animation: sample03 2s ease-out forwards;
	}
@keyframes sample03 {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  		}
  100% {
    opacity: 1;
    transform: translateY(0);
  		}
	}

/* ---- ヘッダー ---- */
header {
  	margin: 30px;
  	display: flex;
  	justify-content: space-between;
  	align-items: center;
  	padding: 0 40px;
  	height: 70px;
  	position: fixed;
  	top: 0;
  	z-index: 100;
  	width: calc(100% - 60px);		/*pxの値は、上のmargin(両サイドなので２倍)を合計した数字です。*/
  	box-shadow: 5px 5px 15px rgba(0,0,0,0.15);
  	background: linear-gradient(#fff, rgba(255,255,255,0.7));
	}
body:not(.home) header {
  	background: linear-gradient(#fff, rgba(230,230,230,0.7));
	}

/*スライドショー（vegasを使用）
ここでは、3:2の画像比率（2÷3=0.6666）を読み込む指定を行なっています。
異なる画像比率にしたい場合、#mainimg-boxのpadding-topの数字を変更します。2:1にするなら50%です。
---------------------------------------------------------------------------*/
#mainimg-box {
	width: 100%;
	height: 0;
	padding-top: 66.66%;
	position: relative;z-index: -1;
}
#mainimg {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}
.top-text {
    position:absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index:1;
    }
.top-text p {
    color: #fff;
    text-align: center;
    font-size: calc(2rem + ((1vw - 0.64rem) * 0.7143));
    font-weight:bold;
    }
    
/* ---- ロゴ ---- */
#logo img {
  	display: block;
  	width: 360px;
	}

/* --------------------------------------
 * バナー共通設定（スマホ時: 縦並び、中央揃え）
 * -------------------------------------- */
.banner-container {  
  	display: flex;
  	flex-direction: column;
  	align-items: center;
	}

.banner-item img {
	display: block; 
	margin: 0 auto;  
  	width: 80%;
    max-width: 600px;
  	margin-bottom: 10px;
	}
/* --------------------------------------
 * バナー メディアクエリ（PC時: 横並び、全体中央揃え）
 * -------------------------------------- */
@media (min-width: 768px) {
  .banner-container {
    	flex-direction: row;
    	width: fit-content;
    	margin-left: auto;
    	margin-right: auto;
    	gap: 20px;
  	}
  .banner-item img {
    	width: 100%;
    	margin-bottom: 0;
  	}
}

/* ---- ナビゲーション ---- */
nav ul {
  	display: flex;
  	gap: 30px;
  	list-style: none;
  	margin: 0 30px;
  	padding: 0;
	}
nav a {
  	text-decoration: none;
  	color: #9b7ede; /* 薄紫 */
  	font-size: 1rem;
  	font-weight: 500;
  	letter-spacing: 0.05em;
  	transition: all 0.3s ease;
  	position: relative;
	}
nav a::after {
  	content: "";
  	position: absolute;
  	bottom: -4px;
  	left: 0;
  	width: 0%;
  	height: 2px;
  	background: #5b09dc;
  	transition: width 0.3s ease;
	}
nav a:hover {
  	color:#5b09dc;
	}
nav a:hover::after {
  	width: 100%;
	}
nav .waku {
	margin-top: -2px;
	padding: 0 4px;
  	border: 1px solid slateblue;
  	border-radius: 10px;    
	}
/*現在表示中（current）のメニュー*/
nav li.current > a {
	color:#0b0b95;	/*文字色*/
	font-weight:bold;
	}
/* ---- ハンバーガーボタン ---- */
.menu-btn {
  	display: none;
  	cursor: pointer;
  	background: none;
  	border: none;
  	font-size: 1rem;
  	font-weight: 600;
  	letter-spacing: 0.05em;
  	color:#9b7ede;
	}

/*フッター設定
---------------------------------------------------------------------------*/
footer small {font-size: 100%;}
footer {
	font-size: 0.7rem;		/*文字サイズ。bodyのfont-sizeの70%です。*/
	text-align: center;		/*内容をセンタリング*/
	padding: 20px;			/*ボックス内の余白*/
    }
/*リンクテキスト*/
footer a {color: inherit;text-decoration: none;}
/*著作部分*/
footer .pr {display: block;}

/* ---- スマホ対応 ---- */
@media screen and (max-width: 768px) {
header {
  	padding: 0 20px;
  	height: 50px;
	}
	
  #logo img {
    width: 240px;
  	}

  .menu-btn {
    display: block;
    z-index: 200;
  	}

  nav {
    position: fixed;
    top: 80px;
    right: 0;
    width: 100%;
    height: 100vh;
    transform: translateY(-120%);
    transition: transform 0.4s ease;
    text-align: center;
    padding-top: 80px;
    /* すりガラス効果 */
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.4);
  	}

  nav.open {
    transform: translateY(0);
  	}

  nav ul {
    flex-direction: column;
    padding: 0;
    gap: 24px;
  	}

  nav a {
    font-size: 1.2rem;
    font-weight: 600;
  	}
.br-pc { display: inline; }
}

.list-half .list {
	display: flex;			/*flexボックスを使う指定*/
	flex-direction: column;	/*子要素を縦並びにする*/
	margin-bottom: 2rem;	/*ボックスの下に2文字分のスペースを空ける*/
}

/*ブロック内のh4見出し*/
.list-half .list h4 {
	font-size: 1.4rem;	/*文字サイズを1.4倍*/
	margin-bottom: 1rem;	/*下に１文字分のスペースを空ける*/
}

/*ブロック内のh4内のspan（小さな装飾文字）*/
.list-half .list h4 span {
	display: block;
	opacity: 0.5;	/*透明度50%*/
	font-weight: normal;
	font-size: 0.5em;	/*文字サイズを親要素の50%*/
	letter-spacing: 0.1em;	/*文字間隔をほんの少し広く*/
}

/*画像ブロック共通*/
.list-half .image-l img, .list-half .image-r img {
	border-radius: 50px;	/*角を丸くする指定。*/
	box-shadow: 10px 10px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、0,0,0は黒の事で0.1は色が10%出た状態。*/
}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {

	/*２カラムを囲むブロック*/
	.list-half .list {
		flex-direction: row;			/*子要素を横並びにする*/
		justify-content: space-between;	/*並びかたの種類の指定*/
		align-items: center;			/*垂直揃えの指定。天地中央に配置されるように。*/
	}

	/*画像ブロック共通*/
	.list-half .image-l, .list-half .image-r {
		width: 50%;			/*画像の幅*/
	}

	/*画像を右に配置する場合*/
	.list-half .image-r {
		margin-left: 2rem;	/*画像の左側に空けるスペース*/
	}

	/*画像を左に配置する場合*/
	.list-half .image-l {
		order: -1;
		margin-right: 2rem;	/*画像の右側に空けるスペース*/
	}

	/*テキストブロック*/
	.list-half .text {
		flex: 1;
    	font-size:1.2em;
	}

	}/*追加指定ここまで*/
	
.video-container {
	background-color:lightgrey;
	margin:0 auto;
    max-width:600px;
    height:100hv;
	}
.video-container video {
	width:100%;
	}