@charset "utf-8";
/* Google Fonts：Noto Serif JP を読み込む（h1用） */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400&display=swap');
/* keyframes読み込み */
@import url("keyframes.css");

/* ③ h1にNoto Serif JPを適用 */
h1 {
  font-family:
    'Noto Serif JP',  /* 優先フォント */
    '游ゴシック体',    /* macフォールバック */
    'Yu Gothic',      /* Windowsフォールバック */
    serif;            /* 最終代替 */
  font-weight: 400;   /* 通常ウェイト */
}

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

/*全端末（PC・タブレット・スマホ）共通設定
--------------------------------------------------------------------------*/
html,body,#container {height: 100%;}
body {
  font-family:
    'Noto Serif JP',
    '游ゴシック体',
    'Yu Gothic',
    serif;
	margin: 0px;
	padding: 0px;
	color: #000;
	font-size: 15px;	/*文字サイズ*/
	line-height: 2;		/*行間*/
	background: #fff;
	-webkit-text-size-adjust: none;}
	/*フォント種類*/
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure{margin: 0px;padding: 0px;font-size: 100%;font-weight: normal;}
ul {list-style-type: none;}
ol {padding-left: 40px;padding-bottom: 15px;}
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}
table {border-collapse:collapse;font-size: 100%;border-spacing: 0;}
iframe {width: 100%;}


/*リンク（全般）設定
---------------------------------------------------------------------------*/
/* 通常状態のリンクスタイル */
a {
  color: #054a8e;            /* 通常時の文字色（紺系） */
  transition: 0.4s;          /* ホバー時の色変化なめらかに */
  text-decoration: none;     /* 通常時の下線を消す */
  font-weight: bold;         /* 文字を太字にする */
}

/* マウスホバー時のリンクスタイル */
a:hover {
  color: #bc002d;            /* ホバー時の文字色（赤系） */
  text-decoration: none;     /* ホバー時も下線を消す */
 
}

/*トップページのメイン画像
---------------------------------------------------------------------------*/
#mainimg {
	position: relative;overflow: hidden;
	width: 100%;
	height: 100%;
	margin: 0 auto;
	background: rgba(255,255,255,0.73);	/*背景色。閲覧画面により、動画の両サイドのこの色が出ます。*/
}


/*動画
---------------------------------------------------------------------------*/
video {
	display: block;
	margin: 0 auto;
	height: 100%;
}

/*動画下「↓」
---------------------------------------------------------------------------*/
/* --- 矢印を動画の中央に絶対配置 --- */
#arrow1 {
    position: absolute;
    left: 50%;
    bottom: 70px;    /* 動画の下から40pxの位置（お好みで調整） */
    transform: translateX(-50%);
    z-index: 1;
    width: 5%;       /* サイズはお好みで */
}

/*ヘッダー
---------------------------------------------------------------------------*/
header {
	position: relative;
	margin: 0px 3%;
	height: 100px;	/*ブロックの高さ*/
}

/*ロゴ画像*/
header #logo img {
	width: 280px;		/*画像の幅*/
	position: absolute;
	left: 0px;			/*headerに対して左からの配置指定*/
	bottom: 36px;		/*headerに対して下からの配置指定*/
}

/*facebookやtwitterなどのアイコン
---------------------------------------------------------------------------*/
/*アイコンブロック*/
ul.icon {
	position: absolute;
	right: 0px;		/*headerに対して右からの配置指定*/
	bottom: 33px;	/*headerに対して下からの配置指定*/
}
/*アイコン１個あたりの設定*/
ul.icon li {
	display: inline;	/*横並びにさせる指定*/
}
/*アイコン画像の設定*/
ul.icon img {
	width: 30px;	/*画像の幅*/
	margin: 5px;	/*画像同士の余白*/
}

/*メインメニューのブロック
---------------------------------------------------------------------------*/
/*メニューブロック*/
#menubar {
	overflow: hidden;position: relative;z-index: 1;
	background: #fff;	/*背景色（古いブラウザ用）*/
	background: rgba(255,255,255,0.95);	/*背景色。255,255,255は白の事で、0.95は色が95%出た状態の事。*/
}
/*メニュー１個あたりの設定*/
#menubar ul li {
	float: left;		/*左に回り込み*/
	width: 20%;			/*幅。今回は５個メニューがあるので100÷5=20*/
	font-size: 20px;	/*文字サイズ*/
	text-align: center;	/*文字をセンタリング*/
}
#menubar ul li a {
	text-decoration: none;display: block;
	border-left: 1px solid #ccc;	/*左の線の幅、線種、色*/
	height: 80px;		/*メニューの高さ。※ここを変更する場合は、上にあるfixmenu設定も変更が必要です。*/
	padding-top: 5px;	/*上に空ける余白。メニューテキストの上下のバランスをとります。※ここを変更する場合は、上にあるfixmenu設定も変更が必要です。*/
	color: #333;	/*文字色*/
}
/*１つ目のメニューへの追加指定*/
#menubar li:first-child a {
	border-left: none;	/*左の線を消す。*/
}
/*飾り文字。小文字表記部分。*/
#menubar li a span {
	display: block;
	font-size: 60%;	/*文字サイズ*/
	color: whitesmoke;	/*文字色*/
}
/*マウスオン時と、現在表示中(current)用の共通設定*/
#menubar li a:hover, #menubar li.current a {
	background: #bc002d;	/*背景色*/
	color: #fff;		/*文字色*/
}
/*スマホ用メニューを表示させない*/
#menubar-s {display: none;}
/*３本バーアイコンを表示させない*/
#menubar_hdr {display: none;}

/*fixmenu設定（メニューが画面上部に到達した際のスタイル）
---------------------------------------------------------------------------*/
/*上部固定メニュー用fixmenu設定*/
body.is-fixed-menu #menubar.nav-fix-pos {
	position: fixed;width: 100%;top: 0px;left: 0;
	border-bottom: 1px solid #ccc;	/*下線を追加する*/
}
body.is-fixed-menu #contents {
	margin-top: 85px;	/*「menubar li a」の「height」と「padding-top」を合計した数字にする。数行下の「body.is-fixed #menubar.nav-fix-pos」も同じサイズに。*/
}

/*上の設定の「is-fixed-menu」を「is-fixed」に変更したものをそのまま記入します。fixmenuスクリプトを２つ使う為に必要な設定になります。*/
body.is-fixed #menubar.nav-fix-pos {
	position: fixed;width: 100%;top: 0px;left: 0;
	border-bottom: 1px solid #ccc;
}
body.is-fixed #contents {
	margin-top: 85px;
}

/*コンテンツ
---------------------------------------------------------------------------*/
#contents {
	overflow: hidden;margin: 0 auto;
	max-width: 1400px;	/*最大幅。これ以上広がらない。*/
	padding: 40px 3%;	/*上下、左右へのブロック内の余白*/
}
/*h2タグ*/
#contents h2 {
	clear: both;
	margin-bottom: 20px;	/*下に空けるスペース*/
	text-align: center;		/*テキストのセンタリング*/
	font-size: 45px;		/*文字サイズ*/
	letter-spacing: 0.1em;	/*文字間隔を少し広くとる指定*/
	line-height: 1.4;		/*行間を少し狭くする。デフォルトは冒頭のbody内にあります*/
	color: #000;	/*文字色*/
}
/*h2タグ内のspanタグ（飾り文字）*/
#contents h2 span {
	display: block;
	font-size: 13px;	/*文字サイズ*/
}
/*h3タグ*/
#contents h3 {
	clear: both;
	margin: 10px;	/*線の外側の上下、左右への余白*/
	text-align: center;		/*テキストのセンタリング*/
	border-radius: 100px;	/*角丸の指定*/
	border: 2px solid #bc002d;	/*枠線の幅、線種、色*/
	padding: 5px 5%;		/*線の内側の上下、左右への余白*/
	color: #bc002d;	/*文字色*/
}
/*段落タグ*/
#contents p {
	padding: 0px 5% 20px;
}
/*他*/
#contents h2 + p,
#contents h3 + p,
#contents h2 + ul.disc,
#contents h3 + ul.disc {
	margin-top: -10px;
}
#contents section + section {
	padding-top: 40px;
}

/*list（商品メニュー用のブロック）
---------------------------------------------------------------------------*/
/*ボックスの設定*/
#contents .list {
	position: relative;overflow: hidden;
	display: flex;
	align-items: center;
	margin: 0 10px 30px;	/*上、左右、下へのボックスの外側に空けるスペース*/
	border: 1px solid #ccc;
}
/*ボックス内のh4（見出し）タグ*/
#contents .list h4 {
	font-size: 24px;
	line-height: 1.5;
	margin-bottom: 20px;
	color: #000;	/*文字色*/
}
#contents .list h4 a {
	color: #000;	/*文字色*/
}
/*ボックス内のp（段落）タグ*/
#contents .list p {
	padding: 0;
}
/*ボックス内のfigure画像*/
#contents .list figure {
	float: left;	/*左に回り込み*/
	width: 50%;		/*幅*/
}
/*「class="text"」を指定したブロック。テキストブロック。*/
#contents .list .text {
	float: right;	/*右に回り込み*/
	width: 40%;		/*幅*/
	margin: 5%;		/*外側に取るスペース。これがないと枠ギチギチに文字表示*/
}

/*メニュー（menu）
---------------------------------------------------------------------------*/
/*各ボックスの設定*/
#contents .menu {
	margin: 0 10px 30px;	/*上、左右、下へのボックスの外側に空けるスペース*/
	line-height: 1.5;		/*行間をすこし狭く。デフォルトは冒頭のbody内にあります。*/
	font-size: 30px;		/*文字サイズ*/
	text-shadow: 1px 1px #000;	/*テキストの影。右に、下に、色。*/
}
#contents .menu a {
	display: block;text-decoration: none;
	padding: 30px;	/*ボックス内の余白*/
	background: rgba(0,0,0,0.4);	/*背景色。0,0,0は黒のことで0.4は色が40%でた状態のこと。*/
	color: #fff;	/*文字色*/
	border: 15px solid rgba(0,0,0,0.2);	/*枠線の幅、線種、色。*/
}

/*マウスオン時*/
#contents .menu a:hover {
	background: transparent;	/*上で指定したbackgroundを透明にする。つまり、下で読み込んでいる写真が鮮明に出ます。*/
}

/*ボックス内の段落タグ設定*/
#contents .menu p {
	padding: 0px;
}

/*ボックス内の段落タグ内のspanタグ*/
#contents .menu p span {
	display: block;
	font-size: 13px;	/*文字サイズ*/
	letter-spacing: 0.1em;	/*文字間隔をすこしだけ広く*/
}

/*ボックス内の写真(背景画像)の読み込み。超古代。*/
#contents .lunch {
	background: url(../images/bg_lunch.jpg) no-repeat center center / cover;
}

/*ボックス内の写真(背景画像)の読み込み。古代。*/
#contents .course {
	background: url(../images/bg_course.jpg) no-repeat center center / cover;
}

/*ボックス内の写真(背景画像)の読み込み。近現代。*/
#contents .takeout {
	background: url(../images/bg_takeout.jpg) no-repeat center center / cover;
}

/*h1に設定*/
.center-title {
  text-align: center;
  font-family: 'Noto Serif JP', serif; /* お好みのフォントに */
  font-size: 2em;                      /* 必要に応じてサイズ調整 */
}


/*footer（copyrightなどが入った最下部ブロック）
---------------------------------------------------------------------------*/
footer {clear: both;text-align: center;font-size: 13px;padding-bottom: 10px;}
footer a {text-decoration: none;}
footer .pr {display: block;}

/*footer内のulタグ（フッターメニュー）
---------------------------------------------------------------------------*/
footer ul li {
	display: inline;
	padding: 10px;
	
}
footer ul a {
	text-decoration: underline;
}

/*「更新情報・お知らせ」ブロック
---------------------------------------------------------------------------*/
/*ブロック全体の指定*/
#new dl {
	padding: 0 5%;
	margin-bottom: 10px;/* ｵﾘｼﾞﾅﾙは20*/
	height: 220px;	/*高さ ｵﾘｼﾞﾅﾙは200*/
	overflow: auto;	/*高さを超えるコンテンツが入った場合にスクロールバーを自動で出す。*/
}
/*左側（日付）*/
#new dt {
	float: left;
	width: 9em;
	letter-spacing: 0.1em;
}
/*右側（テキスト）*/
#new dd {
	padding-left: 9em;
}


/* スマホ用設定（～768px）：縦並び＋高さ制御を解除 */
@media (max-width: 768px) {
  #new dl {
    padding: 0 6px;       /* 横余白をスマホ幅に合わせて縮小 */
    height: auto;         /* ←固定高さをやめる */
    max-height: none;     /* 念のため */
    overflow: visible;    /* スクロール解除 */
  }
  #new dt {
    float: none;          /* 2カラム解除 */
    width: auto;
    margin: 0 0 .25em;    /* 日付を上に小さく表示 */
    letter-spacing: .08em;
    font-weight: 600;     /* 見出し感だけ付与（任意） */
  }
  #new dd {
    padding-left: 0;      /* 余白リセット */
    margin: 0 0 1em;      /* 項目間の縦間隔 */
  }
}

/* さらに小さい端末（～480px）：行間だけ微調整（任意） */
@media (max-width: 480px) {
  #new dl { padding: 0 6px; }
  #new dd { line-height: 1.9; }
}




/*斜め帯　option1(古代史)、option2(近代史)
---------------------------------------------------------------------------*/
/*共通*/
.option1,.option2 {
	text-align: center;display: block;
	font-size: 10px;	/*文字サイズ*/
	width: 120px;		/*幅*/
	position: absolute;
	right: 0px;	/*ボックスに対して右から0pxの場所に配置*/
	top: 0px;	/*ボックスに対して上から0pxの場所に配置*/
	transform: rotate(45deg) translate(36px,-15px);	/*45度回転。右へ,下へ(マイナス設定なので上へ向けての指定)の移動距離*/
}
/*option1(古代史)への追加指定*/
.option1 {
	color: #FFF;		/*文字色*/
	background: #bc002d;	/*背景色*/
}
/*kindai-obi(近代史)への追加指定*/
.kindai-obi {
	color: #FFF;		/*文字色*/
	background: #054a8e;	/*背景色*/
}

/*option3　丸アイコン（現在使用なし）
---------------------------------------------------------------------------*/
.option3 {
	text-align: center;display: block;
	font-size: 10px;	/*文字サイズ*/
	width: 60px;		/*幅*/
	height: 45px;		/*高さ。下のpadding-topの数字と合わせてwidthの値になるように。*/
	padding-top: 15px;	/*上余白。上のheightの数字と合わせてwidthの値になるように。*/
	line-height: 1.2;	/*行間*/
	border-radius: 50%;	/*角丸の指定。円形になります。*/
	position: absolute;
	left: 5px;	/*ボックスに対して左から5pxの場所に配置*/
	top: 5px;	/*ボックスに対して上から5pxの場所に配置*/
	color: #FFF;		/*文字色*/
	background: #bc002d;	/*背景色*/
	transform: rotate(-30deg);	/*-30度回転*/
}
/*１行目の文字サイズをすこし大きくする*/
.option3::first-line {
	font-size: 16px;
	font-weight: bold;
}

/*詳細ページの画像ブロック（CMS用）
---------------------------------------------------------------------------*/
#photo {
	position: relative;overflow: hidden;
	text-align: center;
	max-width: 800px;	/*画像の最大幅。これ以上大きくならない設定です。*/
	margin: 0 auto 20px;
}
/*サムネイル画像*/
#photo .thumb {
	width: 70px;
	padding-bottom: 5px;
}

/*テーブル
---------------------------------------------------------------------------*/
/*見出し（caption）*/
.ta1 caption {
	border: 1px solid #ffffff;	/*枠線の幅、線種、色*/
	border-bottom: none;		/*下の線を非表示にする*/
	text-align: left;			/*内容を左寄せ*/
	font-weight: bold;			/*文字を太字に*/
	padding: 10px;				/*余白*/
	background: #f5f5f5;	/*背景色。*/
}
/*見出し（tamidashi）*/
.ta1 th.tamidashi {
	width: auto;
	text-align: left;	/*内容を左寄せ*/
	background: #f5f5f5;	/*背景色。*/
}
/*テーブルブロック全体の指定*/
.ta1 {
	table-layout: fixed;
	width: 90%;	/*幅*/
	margin: 0 5% 20px;	/*上、左右、下へのテーブルの外側に空けるスペース*/
}
.ta1, .ta1 td, .ta1 th {
	word-break: break-all;
	border: 1px solid #f5f5f5;	/*枠線の幅、線種、色*/
	padding: 10px;	/*余白*/
}
/*左側ブロック*/
.ta1 th {
	width: 140px;	/*幅*/
	text-align: center;	/*内容をセンタリング*/
}

/*MENUページのページ内メニュー
---------------------------------------------------------------------------*/
ul.navmenu {
	text-align: center;
	padding: 02px 20px 0px 20px;
}
ul.navmenu li {
	display: inline;
}
ul.navmenu li a {
	padding-right: 20px;
	padding-left: 20px;
	text-decoration: underline;
	text-decoration-style: dotted;
	text-decoration-color: rgba(255,255,255,0.73);
}
ul.navmenu li.current a {
	color: #bc002d;
}

/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
body .nav-fix-pos-pagetop a {display: none;}
body.is-fixed-pagetop .nav-fix-pos-pagetop a {
	display: block;text-decoration: none;text-align: center;z-index: 100;position: fixed;
	width: 50px;		/*幅*/
	line-height: 50px;	/*高さ*/
	bottom: 50px;		/*下からの配置場所指定*/
	right: 3%;			/*右からの配置場所指定*/
	background: #000;	/*背景色（古いブラウザ用）*/
	background: rgba(0,0,0,0.6);	/*背景色。0,0,0は黒の事。0.6は色が60%出た状態。*/
	border-radius: 50%;	/*円形にする指定。この行削除すれば正方形になります。*/
	border: 1px solid #fff;	/*枠線の幅、線種、色*/
	animation-name: opa1;	/*keyframes.cssで使う@keyframesの指定*/
	animation-duration: 1S;	/*アニメーションの実行時間。0.5秒。*/
	animation-fill-mode: both;	/*アニメーションの待機中は最初のキーフレームを維持、終了後は最後のキーフレームを維持。*/
}
/*マウスオン時*/
body.is-fixed-pagetop .nav-fix-pos-pagetop a:hover {
	background: #999;	/*背景色*/
}

/*checkブロック。赤い注意書きブロックです。
---------------------------------------------------------------------------*/
p.check {
	background: #bc002d;
	color:#fff;
	padding: 10px 25px !important;
	margin-bottom: 20px;
}
p.check a {color: #fff;}

/*トップページのNEWアイコン
---------------------------------------------------------------------------*/
.newicon {
	display: inline-block !important;
	background: #bc002d;
	color: #FFF;
	font-size: 70%;
	line-height: 1.5;
	padding: 2px 5px;
	border-radius: 2px;
	margin: 0px 5px;
	vertical-align: text-top;
}

/*イベントh3タグ　終了アイコン
---------------------------------------------------------------------------*/
.event-header {
  display: flex;
  align-items: center;       /* 縦方向中央揃え */
  justify-content: center;   /* 横方向中央揃え */
  border-radius: 100px;
  border: 2px solid #bc002d;
  padding: 5px 5%;
  color: #bc002d;
	font-weight:bold;
  font-size: 16px;
  margin: 10px;
  font-weight: normal;
  gap: 8px; /* バッジと日付の間の余白 */
}

/*イベントh3タグ内終了アイコン
---------------------------------------------------------------------------*/
.closeicon {
  background: #403d3eff;
  color: #FFF;
  font-size: 90%;
  padding: 2px 10px;
  border-radius: 2px;
  font-weight: bold;
}

.event-date {
  font-size: 1.4em;
}

/*ul.disc,olタグ
---------------------------------------------------------------------------*/
ul.disc {
	list-style: disc;
	padding: 0 5% 20px 8%;
}
ol {
	padding: 0 5% 20px 8%;
}

/*メニューページの「テキストメニュー」設定
---------------------------------------------------------------------------*/
/*ブロック全体*/
dl.text-menu {
	margin: 0px 10px;	/*上下、左右への余白*/
}
/*メニュータイトル青*/
dl.text-menu dt {
	 background: #054a8e;	/*背景色*/
	 color: #fff;			/*文字色*/
	 border-radius: 5px;	/*角丸の指定。削除すれば通常の長方形。*/
	 padding: 5px 10px;		/*上下、左右への余白*/
	 text-align: center;	/*テキストをセンタリング*/
}

dl.text-menu dd + dt {
	margin-top: 10px;
}
/*メニュー名*/
dl.text-menu dd {
	overflow: hidden;
	margin: 0px 20px;
	border-bottom: 1px solid #ccc;
}
/*金額*/
dl.text-menu dd .price {
	float: right;	/*右に回り込み*/
}

/*その他
---------------------------------------------------------------------------*/
.look {background: #c3b5a2;background: rgba(0,0,0,0.1);padding: 5px 10px;border-radius: 4px;}
.mb15,.mb1em {margin-bottom: 15px !important;}
.mb30 {margin-bottom: 30px !important;}
.clear {clear: both;}
.color1, .color1 a {color: #bc002d !important;}
.pr {font-size: 10px;}
.wl {width: 96%;}
.ws {width: 50%;}
.c {text-align: center;}
.r {text-align: right;}
.l {text-align: left;}
.fl {float: left;margin-bottom: 20px;}
.fr {float: right;margin-bottom: 20px;}
.w45 {width: 45%;}
.mrl5 {margin-left:5%;margin-right:5%;}
.big1 {font-size: 30px;}
.mini1 {font-size: 11px;display: inline-block;line-height: 1.5;}
.link {display: block;margin-top: -100px;padding-top: 100px;}
.clearfix::after {content: "";display: block;clear: both;}
.half {width: 50%;float: left;}
.all {width: 100%;float: center;}
.ofh {overflow: hidden;}
.furigana {font-size: 0.7em;}


/*画面幅800px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:800px){

/*トップページのmainimgブロック（動画を配置しているブロック）
---------------------------------------------------------------------------*/
#arrow1 {
	left: 45%;
	width: 10%;
}

/*ヘッダー（ロゴ画像が入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ブロック*/
header {
	position: static;
	margin: 0;
	height: auto;
	background: #fff;	/*背景色*/
	border-bottom: 1px solid #999;	/*下線の幅、線種、色*/
	padding: 10px 3%;	/*上下、左右への余白*/
}
/*ロゴ画像*/
header #logo img {
	position: static;
	width: 220px;	/*画像の幅*/
	margin-bottom: 10px;	/*下に空ける余白*/
}

/*facebookやtwitterなどのアイコン
---------------------------------------------------------------------------*/
/*アイコンブロック*/
ul.icon {
	position: static;
	text-align: center;	/*中央に配置*/
}

/*メインメニュー
---------------------------------------------------------------------------*/
/*スマホ用メニューブロック*/
#menubar-s {
	display: block;overflow: auto;height: 100%;z-index: 10;
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	animation-name: opa1;		/*keyframes.cssで使う@keyframesの指定*/
	animation-duration: 0.5S;	/*アニメーションの実行時間。0.5秒。*/
	animation-fill-mode: both;	/*アニメーションの待機中は最初のキーフレームを維持、終了後は最後のキーフレームを維持。*/
}
/*メニュー１個あたりの設定*/
#menubar-s li a {
	display: block;text-decoration: none;
	padding: 10px;	/*メニュー内の余白*/
	border-bottom: 1px solid #ccc;	/*下の線の幅、線種、色*/
	background: rgba(0,0,0,0.8);	/*背景色*/
	font-size: 20px;		/*文字サイズ*/
	color: #fff;	/*文字色*/
	text-align: center;
}
/*英語表記（飾り文字）*/
#menubar-s li a span {
	display: block;
	font-size: 12px;	/*文字サイズ*/
}
/*PC用メニューを非表示にする*/
#menubar {display: none;}

/*３本バーアイコン設定
---------------------------------------------------------------------------*/
/*３本バーブロック*/
#menubar_hdr {
	display: block;position: fixed;z-index: 11;
	top: 10px;	/*上からの配置場所指定*/
	right: 3%;	/*右からの配置場所指定*/
}
/*アイコン共通設定*/
#menubar_hdr.close,
#menubar_hdr.open {
	width: 50px;	/*幅*/
	height: 50px;	/*高さ*/
	border-radius: 50%;
}
/*三本バーアイコン*/
#menubar_hdr.close {
	background: #000 url(../images/icon_menu.png) no-repeat center top/50px;	/*アイコンの読み込み、上半分(top)を表示、幅50px*/
}
/*閉じるアイコン*/
#menubar_hdr.open {
	background: #000 url(../images/icon_menu.png) no-repeat center bottom/50px;	/*アイコンの読み込み、上半分(bottom)を表示、幅50px*/
}

/*fixmenu。メインメニューが画面上部に到達した際の設定
---------------------------------------------------------------------------*/
body.is-fixed-menu #contents {
	margin-top: 0px;	/*fixmenuから折りたたみメニューになるので、ここはリセット。*/
}

/*ヘッダーメニューが固定されなくなるので、再設定。
---------------------------------------------------------------------------*/
.link {
	margin-top: -30px;
	padding-top: 30px;
}

/*その他
---------------------------------------------------------------------------*/
.big1 {font-size: 20px;}
.sh {display:block;}
.pc {display:none;}

}




/*画面幅480px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:480px){

/*全体の設定
---------------------------------------------------------------------------*/
body {
	font-size: 12px;
	font-size: 2.93vw;
}

/*contents（headerとfooter以外の中央コンテンツ）
---------------------------------------------------------------------------*/
/*h2タグ*/
#contents h2 {
	font-size: 24px;
	letter-spacing: normal;
}
/*h3タグ*/
#contents h3 {
	font-size: 16px;
}

/*list（商品メニュー用のブロック）
---------------------------------------------------------------------------*/
/*ボックスの設定*/
#contents .list {
	display: block;
	padding: 20px;
}
/*ボックス内のh4（見出し）タグ*/
#contents .list h4 {
	font-size: 18px;
	margin-bottom: 0px;
}
/*ボックス内のfigure画像*/
#contents .list figure {
	float: none;
	width: auto;
	margin-bottom: 10px;
}
/*「class="text"」を指定したブロック。テキストブロック。*/
#contents .list .text {
	float: none;
	width: auto;
	margin: 0;
}

/*メニューマーク　option11(10%OFF)〜の割引アイコン
---------------------------------------------------------------------------*/
.option11,.option12,.option13 {
	width: 40px;		/*幅*/
	height: 33px;		/*高さ。下のpadding-topの数字と合わせてwidthの値になるように。*/
	padding-top: 7px;	/*上に空ける余白。上のheightの数字と合わせてwidthの値になるように。*/
}
/*１行目の文字サイズをすこし大きくする*/
.option11::first-line,.option12::first-line,.option13::first-line {
	font-size: 12px;
}

/*テーブル
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption, .ta1 .tamidashi {
	padding: 5px;
}
/*テーブル内の左側*/
.ta1 th {
	width: 100px;
	padding: 5px;
}
/*テーブル内の右側*/
.ta1 td {
	width: auto;
	padding: 5px;
}

/*メニューページの「テキストメニュー」設定
---------------------------------------------------------------------------*/
/*ブロック全体*/
dl.text-menu {
	margin: 5px;
}
/*メニュー名*/
dl.text-menu dd {
	margin: 0px 10px;
}

/*MENUページのページ内メニュー
---------------------------------------------------------------------------*/
ul.navmenu {
	padding: 0px;
	text-align: left;
	font-size: 14px;
}
ul.navmenu li a {
	display: block;
}

/*その他
---------------------------------------------------------------------------*/
.ws,.wl {width: 94%;}
.fl {float: none;}
img.fl {float: none;display: block;width:90%;margin: 0 auto 20px;}
.fr {float: none;}
img.fr {float: none;display: block;width:90%;margin: 0 auto 20px;}
.big1 {font-size: 16px;}
}

/*以下、個別設定
---------------------------------------------------------------------------*/
a.akamoji {
  color:#bc002d  !important;
}
/*個別設定　pタグ内をセンタリング
---------------------------------------------------------------------------*/
.centered-quote {
  display: flex;
  flex-direction: column;
  align-items: center;    /* 横方向中央 */
  text-align: center;     /* 内部テキスト中央揃え */
  gap: 1em;               /* 段落間の間隔 */
  max-width: 700px;       /* 任意：幅を絞って読みやすく */
  margin: 0 auto;         /* 横中央配置（ラッパーとして） */
}

.centered-quote p {
  margin: 0;
  line-height: 1.5;
}

.centered-quote .quote-author {
  font-style: italic;
}

/* ---個別設定 GPT　mainimgを画面幅に連動させる設定 --- */
#mainimg {
  max-width: 1400px;       /* サイト全体の最大幅に揃える */
  width: 100%;
  margin: 0 auto;
  aspect-ratio: 16 / 6.5;  /* お好みで高さをコントロール。例: 16:6.5 */
  background: rgba(255,255,255,0.73);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* --- 個別設定　動画自体の最大幅/高さを可変に --- */
#mainimg video, #mainimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  margin: auto;
}

#arrow1 img {
  width: 100%;
  height: auto;
}

/* --- 個別設定　本題部分の左右マージンを取る(pc) --- */
.main-text {
  max-width: 900px;      /* 本文の最大幅を設定（お好みで調整） */
  margin: 0 auto;        /* 上下0、左右autoで中央寄せ */
  padding-left: 3vw;     /* 画面幅に応じて左右にゆとり */
  padding-right: 3vw;
  font-size: 1.1em;      /* 必要なら大きさも調整 */
}



/* --- メディアクエリ：スマホ対応 --- */
@media screen and (max-width: 800px) {
  #mainimg {
    aspect-ratio: 16/11;
    max-width: 100vw;
    min-height: 180px;
    position: relative;
  }
  #arrow1 {
    position: absolute;
    left: 50%;
    bottom: 6%;
    width: 44px;
    height: 44px;
    transform: translateX(-50%);
    top: auto;
  }
}

@media screen and (max-width: 480px) {
  #mainimg {
    aspect-ratio: 16/13;
    min-height: 110px;
    position: relative;
  }
  #arrow1 {
    position: absolute;
    left: 50%;
    bottom: 4%;
    width: 36px;
    height: 36px;
    transform: translateX(-50%);
    top: auto;
  }
}

/* === スマホ全体（～768px）統合設定 === */
@media screen and (max-width: 768px) {
  html { font-size: clamp(15px, 3.8vw, 17px); }
  body { font-size: 1.05em; line-height: 1.9; }

  /* 横余白管理は#contentsだけ */
  #contents {
    padding-inline: 10px;
  }

  /* 見出しの格をキープ */
  #contents h2 { font-size: clamp(26px, 5.6vw, 30px); }
  #contents h3 { font-size: clamp(18px, 4.6vw, 22px); }

  /* 子要素の横余白リセット（縦は維持） */
  #contents :where(p,h1,h2,h3,ul,ol,blockquote) {
    margin-inline: 0;
    padding-inline: 0;
  }
}

/* === 小さいスマホ（～480px）だけさらに縮小 === */
@media screen and (max-width: 480px) {
  body { font-size: 1.04em; }
  #contents { padding-inline: 6px; }
}

/* === スマホ時のSNSアイコン右寄せ＆ナビ中央 === */
@media (max-width: 768px) {
  /* SNSアイコンを右寄せ */
  ul.icon {
    text-align: right;
    padding-right: 10px; /* 任意 */
  }

  /* 「従来からのホームページ」などのメニューを横並び＋中央 */
  ul.navmenu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;                 /* 項目間余白（任意） */
    padding: 2px 10px 0 10px; /* 既存より少し控えめ */
    list-style: none;
  }
  ul.navmenu li {
    display: inline-block;
    margin: 0;
  }
}

/* === トップ動画PC表示を80%に === */
@media (min-width: 801px) {
  #mainimg video {
    position: static !important;   /* 既存のabsoluteを無効化 */
    width: 90% !important;         /* 横8割 */
    height: auto !important;       /* 縦横比維持 */
    object-fit: contain !important;/* 切り抜き防止（念のため） */
    margin: 0 auto;                /* 中央寄せ */
    display: block;                /* 中央寄せ用 */
  }
	}

/* === トップ動画スマホ表示を95%に  見切れていい時は丸ごと消す === */
@media (max-width: 800px) {
  #mainimg {
    aspect-ratio: auto !important;
    height: auto !important; /* コンテナを内容高さに */
  }
  #mainimg video {
    position: static !important;     /* 既存のabsoluteを無効化 */
    width: 95% !important;           /* 95%割表示 */
    height: auto !important;         /* 縦横比維持 */
    object-fit: contain !important;  /* 見切れ防止 */
    display: block;
    margin: 0 auto;                   /* 中央寄せ */
  }
}