@charset "utf-8";



/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");


/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Gruppo&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Monoton&display=swap');


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


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


/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）
---------------------------------------------------------------------------*/
:root {

	--primary-color:red;			/*テンプレートのメインまたはアクセントとなる色*/
	--primary-inverse-color: #fff;		/*primary-colorの対として使う色*/
	
	--global-space: 30vw;				/*サイト内の余白の一括管理用。画面幅100%＝100vwです。*/
  
}


/*animation1のキーフレーム設定（開閉ブロックのアニメーションに使用）
---------------------------------------------------------------------------*/
@keyframes animation1 {
	0% {left: -200px;}
	100% {left: 0px;}
}




/*opa1のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes opa1 {
	0% {opacity: 0;}
	100% {opacity: 1;}
}


/*fadeInのキーフレーム設定（テキストのフェードインに使用）
---------------------------------------------------------------------------*/
@keyframes fadeIn {
	0% {opacity: 0;transform: scale(0.8);}
	100% {opacity: 1;transform: scale(1);}
}


/*全体の設定
---------------------------------------------------------------------------*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

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

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

	}/*追加指定ここまで*/


body {
	margin: 0;padding:0;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", "Osaka", "MS PGothic", "ＭＳ Ｐゴシック", sans-serif;	/*フォント種類*/
	font-optical-sizing: auto;
	font-weight: normal;
	font-style: normal;
	-webkit-text-size-adjust: none;
	background: #333 url('../images/bg1.jpg') repeat center top / 1000px;	/*背景色、背景画像の読み込み。最後の数字は画像の幅。お好みで変更して下さい。*/
	color: #fff;		/*文字色*/
	line-height: 2;		/*行間*/
}

/*リセット*/
figure {margin: 0;}
dd {margin: 0;}
nav,ul,li,ol {margin: 0;padding: 0;}
nav ul {list-style: none;}

/*table全般の設定*/
table {border-collapse:collapse;}

/*画像全般の設定*/
img {
  max-width: 100%;
  height: auto;
  display: block;
}
/*img {border: none;max-width: 100%;height: auto;vertical-align: middle;}元からあったやつ/*

/*videoタグ*/
video {max-width: 100%;}

/*iframeタグ*/
iframe {width: 100%;}

/*section*/
section {
  padding: 0.6vw 0 0 0;  /* 上 右 下 左 の順番 */
}

/*他*/
input {font-size: 1rem;}



/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: #fff;
	transition: 0.3s;	/*hoverまでにかける時間。0.3秒。*/
}

/*マウスオン時*/
a:hover {
	text-decoration: none;	/*下線を消す*/
	color: var(--primary-color);	/*文字色。css冒頭で指定しているprimary-colorを読み込みます*/
}


/*Google Fontsを使う場合のclass。Google Fonts本体は冒頭で読み込んでいます。
---------------------------------------------------------------------------*/
.font-bebas {
	font-family: "Bebas Neue", sans-serif;
	font-weight: 400;
	font-style: normal;
}
.font-gruppo {
	font-family: "Gruppo", sans-serif;
	font-weight: 400;
	font-style: normal;
}

.font-monoton {
	font-family: "Monoton", sans-serif;
	font-weight: 400;
	font-style: normal;
}


/*コンテナー（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
#container {
	padding: 0 var(--global-space);	/*上下、左右へのボックス内の余白。左右についてはcss冒頭で指定しているglobal-spaceを読み込みます。*/
}


/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	display: flex;					/*横並びにする*/
	align-items: center;			/*垂直揃えの指定。天地中央に配置されるように。*/
	justify-content: space-between;	/*横への配置方法の指定*/
	margin-top: 50px;				/*上に空けるスペース。下の#header-topが重ならないよう適当に空ければOK*/
margin-bottom: clamp(3rem, 0.5208rem + 4.806vw, 6.375rem)!important;
}


/*ロゴ（※画像にする場合）*/
#logo {
  text-align: left;
  margin-bottom: 1.2rem;
  margin-top: 0;
  padding: 0;
  width: auto;
  z-index: 1000;
}

#logo img {
  width: auto;
  height: auto;
  display: block;
  z-index: 1000;
}

.resizeimage {
  width: 100%;
  height: auto;
  display: block;
}

/*ブロック全体*/
/* 上部バーを画面に固定 */
#header-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(0, 0, 0, 0.8);
  box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

#header-top .header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3vw;
  width: 100%;
  padding: clamp(10px, 1vw, 30px) clamp(20px, 6vw, 80px) 0px;/* 上・左右・下 */
}


/* ロゴを左端にしっかり配置 */
.header-logo {
  margin-right: auto;
}

/* ロゴ */
	@media screen and (min-width:1001px) {

.header-logo img {
  position: absolute; /* 親要素の制約を無視 */
      top: 5px; /* 親要素の左上を基準 */
      left: 5vw;
  width: clamp(9.375rem, 5.971rem + 5.44vw, 12.5rem);
}}
	@media screen and (max-width:1000px) {

.header-logo img {
  position: absolute; /* 親要素の制約を無視 */
      top: 5px; /* 親要素の左上を基準 */
      left: 5vw;
  width: 145px;

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

.header-logo img {
  position: absolute; /* 親要素の制約を無視 */
      top: 7px; /* 親要素の左上を基準 */
      left: 5vw;
  width: clamp(4.125rem, -3.75rem + 24.71vw, 9.375rem);

}}


/* 検索フォーム */
.header-search {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(100px, 50vw, 900px);  /* ← これだけでOK */
}



#search-form button i {
  color: #fff; /* 白にする */
}

.header-search form {
  display: flex;
  width: 100%;
  min-width: 0;
}

#search-input {
  flex: 1;
  padding: 0.5rem;
  font-size: 1rem;
  min-width: 0;
}

#search-form button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 0.3rem;
  font-size: 1rem;
}

/* ログイン */
.header-login img {
  margin-top: 1vw;
max-width: clamp(30px, 6vw, 50px);
  height: auto;
}

/* カート */
.header-cart img {
  margin-top: 1vw;
max-width: clamp(30px, 6vw, 50px);
  height: auto;
}

/* ハンバーガーメニュー */
.header-menu #menubar_hdr {
  font-size: clamp(30px, 5vw, 50px);
  cursor: pointer;
  padding: 0.5rem;
}

.header-search button:hover {
  color: #fff;
}
/* スクロールでヘッダーが重なる分だけ、下に余白を作る */
body {
  padding-top: 60px; /* header-topの高さと合わせて調整 */
}

/*アイコンと検索欄を入れるボックス*/
#header-top div {
  height: auto;         /* 高さ指定を外して自然な高さに */
  padding-left: 0;
  padding-right: 0;
  display: block;       /* 横並びを解除 */
  justify-content: unset;
  align-items: unset;
}



/*ソーシャルメディアアイコン
---------------------------------------------------------------------------*/
/*アイコンブロック全体*/
ul.icons {
	list-style: none;
	margin: 0;padding: 0;
	display: flex;	/*横並びにする*/
	align-self: center;
	justify-content: center;
	gap: 1rem;	/*アイコン同士のマージン的なスペース。1文字分。*/
}

/*アイコン一個あたり*/
.icons i {
	font-size: 20px;	/*Font Awesomeのアイコンサイズ*/
}

/* メニューブロック初期設定 */
#menubar { display: none; }
#menubar ul { list-style: none; margin: 0; padding: 0; }
#menubar a { display: block; text-decoration: none; }

.large-screen #menubar { display: none !important; }
.small-screen #menubar.display-block { 
  display: block !important;
}

#menubar_hdr.display-none { display: none; }

.ddmenu_parent ul { display: none; }

a.ddmenu::before {
  font-family: "Font Awesome 6 Free";
  content: "\f078";
  font-weight: bold;
  margin-right: 0.5em;
}

/* 大きな端末用のメニューブロック設定 */
.large-screen #menubar > nav > ul {
  display: flex;
  font-size: 0.85rem;
  gap: 0.5rem;
}

.large-screen #menubar li a {
  border-radius: 100px;
  padding: 0.2rem 1rem;
}

.large-screen #menubar li a:hover {
  background: var(--primary-color);
  color: var(--primary-inverse-color);
}

/* ドロップダウンメニュー共通設定 */
.large-screen #menubar ul ul,
.large-screen #menubar ul ul ul,
.small-screen #menubar ul ul,
.small-screen #menubar ul ul ul {
  animation: opa1 0.5s 0.1s both;
}

@keyframes opa1 {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 大きな端末用のドロップダウンメニュー */
.large-screen #menubar ul ul,
.large-screen #menubar ul ul ul {
  position: absolute;
  z-index: 100;
  display: none;
}

.large-screen #menubar li:hover > ul {
  display: block !important;
}

.large-screen #menubar ul ul a,
.large-screen #menubar ul ul ul a {
  margin-top: 0.4rem;
  background: rgba(0,0,0,0.6);
}

/* 小さな端末用の開閉ブロック */
.small-screen #menubar.display-block {
  position: fixed;
  overflow: auto;
  z-index: 100;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  padding-top: 90px;
  background: rgba(0,0,0,0.9);
  animation: animation1 0.2s both;
}

.small-screen #menubar nav ul li {
  border: 1px solid #ccc;
  margin: 1rem;
  border-radius: 5px;
  padding: 0 1rem;
}

.small-screen #menubar a {
  padding: 1rem;
}

.small-screen #menubar,
.small-screen #menubar a {
  color: #fff;
}

.small-screen #menubar li.active > ul {
  display: block !important;
}

/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*３本バーを囲むブロック*/
#menubar_hdr {
font-size: 24px;
  width: 40px;
  height: 30px;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  cursor: pointer;
}
#menubar_hdr .menu-icon {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#menubar_hdr .menu-icon span {
  position: absolute;
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

#menubar_hdr .menu-icon span:nth-child(1) {
  top: 0;
}

#menubar_hdr .menu-icon span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

#menubar_hdr .menu-icon span:nth-child(3) {
  bottom: 0;
}

/*以下は変更不要*/
#menubar_hdr div {
	font-size: 10rem;
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

/*バーの設定*/
#menubar_hdr div span {
	display: block;
	width: 100%;
	height: 2px;			/*線の太さ*/
	background-color: #fff;	/*線の色*/
	border-radius: 2px;		/*コーナーを少しだけ丸く*/
	transition: all 0.5s ease-in-out;
	position: absolute;
}

/*以下変更不要*/
#menubar_hdr div span:nth-child(1) {top: 0;}
#menubar_hdr div span:nth-child(2) {top: 50%;transform: translateY(-50%);}
#menubar_hdr div span:nth-child(3) {bottom: 0;}
#menubar_hdr.ham div span:nth-child(1) {top: 50%;transform: translateY(-50%) rotate(45deg);}
#menubar_hdr.ham div span:nth-child(2) {opacity: 0;}
#menubar_hdr.ham div span:nth-child(3) {top: 50%;transform: translateY(-50%) rotate(-45deg);}


/*main
---------------------------------------------------------------------------*/
/*mainブロック（横スライドslick対策）*/
main * {min-width: 0;}

/*h2(見出し)要素*/
main h2 {
	margin-top: 0;
	line-height: 1.5;
	font-size: 2rem;		/*文字サイズ。基準の2倍の大きさに。*/
	font-weight: 600;		/*太さ*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
}

/*bg1背景の上でのh2*/
.bg1 h2 {
	color: var(--primary-inverse-color);	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
}


/*2カラム
---------------------------------------------------------------------------*/
/*カラムで使う為の指定*/
main.column {
	padding-top: 2rem;		/*上の余白*/
	padding-bottom: 2rem;	/*下の余白*/
}

/*main-contentsブロック*/
.main-contents {
	margin-bottom: 5rem;	/*ボックスの下に空けるスペース。subとの間の余白です。5文字分。*/
}

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

	/*カラムで使う為の指定*/
	main.column {
		display: flex;					/*横並びにする*/
		justify-content: space-between;	/*並びかたの種類の指定*/
		gap: 2rem;						/*main-contentsとsub-contentsの間のマージン的な隙間*/
	}
	
	/*main-contentsブロック*/
	.main-contents {
		margin-bottom: 0;
		order: 2;		/*並び順。数字の小さい順番に表示されます。*/
		flex: 1;
	}
	
	/*sub-contentsブロック共通*/
	.sub-contents {
		width: 230px;	/*幅*/
	}
	
	/*1つ目のsub-contents*/
	.sub-contents:nth-child(2) {
		order: 1;	/*並び順。数字の小さい順番に表示されます。*/
	}
	
	/*2つ目のsub-contents*/
	.sub-contents:nth-child(3) {
		order: 3;	/*並び順。数字の小さい順番に表示されます。３番目という意味なので一番右側に表示されます。*/
	}
	
	}/*追加指定ここまで*/


/*サブコンテンツ設定
---------------------------------------------------------------------------*/
/*サブコンテンツ内のh3要素(見出し)*/
.sub-contents h3 {
	display: block;
	margin: 0;
	text-align: center;	/*テキストをセンタリング*/
	border-radius: 5px 5px 0px 0px;	/*角を丸くする指定。左上、右上、右下、左下の順番。*/
	border: 1px solid #ccc;			/*下線の幅、線種、色*/
	background: linear-gradient(transparent, rgba(0,0,0,0.03));/*背景グラデーション。transparentは透明の事。0,0,0は黒の事で0.03は色が3%出た状態。*/
	padding: 0.5rem 0;	/*上下、左右への見出し内の余白*/
}


/*サブメニュー設定
---------------------------------------------------------------------------*/
/*サブメニューブロック全体*/
.submenu {
	padding: 0;
	margin: 0 0 1rem;	/*上、左右、下へのマージン*/
}

/*メニュー１個あたり*/
.submenu a {
	display: block;text-decoration: none;
	padding: 0.2rem 1rem;	/*上下、左右へのメニュー内の余白*/
}

/*メニュー１個あたり（子メニュー以外）*/
.submenu > li {
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
	border-top: none;		/*上の線だけなくす*/
}

/*子メニュー*/
.submenu li li a {
	padding-left: 2rem;	/*左に余白を空ける*/
}

/*h3見出しの下にサブメニューが続く場合にメニューの上の線をなくす*/
.sub-contents h3 + nav .submenu {
	border-top: none;
}


/*フッター設定
---------------------------------------------------------------------------*/
footer small {font-size: 100%;}
footer {
	font-size: 0.7rem;		/*文字サイズ。bodyのfont-sizeの70%です。*/
	text-align: center;		/*内容をセンタリング*/
	padding: 0px;			/*ボックス内の余白*/
}

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

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


/*フッターメニュー
---------------------------------------------------------------------------*/
/*メニューブロック全体*/
#footermenu {
	padding: 20px;		/*ブロック内の余白*/
	text-align: center;	/*テキストを中央に*/
	font-size: 0.8rem;	/*文字サイズ。bodyのfont-sizeの80%です。*/
}

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


/*テキストのフェードイン設定
---------------------------------------------------------------------------*/
/* 初期状態でテキストを非表示にする */
.fade-in-text {
    visibility: hidden;
}

/* アニメーションを適用するクラス。
animationの行の「0.05s」が文字の出現のなめらかさで、大きいほどなめらかに出てきます。
１文字ずつの出現する際の時差は、js/main.jsの「テキストのフェードイン効果」の中にある「0.2」で調整できます。*/
.char {
    display: inline-block;
    opacity: 0;
    animation: fadeIn 0.05s linear both;
}


/*お知らせブロック
---------------------------------------------------------------------------*/
/*記事の下に空ける余白*/
.new dd {
	padding-bottom: 1rem;
}

/*ブロック内のspan。日付の横のアイコン的な部分の共通設定*/
.new dt span {
	display: inline-block;
	text-align: center;
	line-height: 1.8;		/*行間（アイコンの高さ）*/
	border-radius: 3px;		/*角を丸くする指定*/
	width: 8rem;			/*幅。６文字分。*/
	transform: scale(0.8);	/*80%のサイズに縮小*/
	background: #000;		/*背景色*/
	color:#fff;				/*文字色*/
}

/*icon-bg1*/
.new .icon-bg1 {
	background: transparent !important;	/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: var(--primary-inverse-color) !important;	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
}

/*icon-bg2*/
.new .icon-bg2 {
	background: #ff0000;	/*背景色*/
	color: #fff;			/*文字色*/
}

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




	/*ブロック全体*/
	.new {
		display: grid;	/*gridを使う指定*/
		grid-template-columns: auto 1fr;	/*横並びの指定。日付とアイコン部分の幅は自動で、内容が入るブロックは残り幅一杯とる。*/
	}

	}/*追加指定ここまで*/



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



	/*ブロック全体*/
	.new {
		display: grid;	/*gridを使う指定*/
		grid-template-columns: auto 1fr;	/*横並びの指定。日付とアイコン部分の幅は自動で、内容が入るブロックは残り幅一杯とる。*/
	}

	}/*追加指定ここまで*/


/*list-grid1
---------------------------------------------------------------------------*/
/*list内の全ての要素のmarginとpaddingを一旦リセット*/
.list-grid1 .list * {
	margin: 0;padding: 0;
}

/*listブロック全体を囲むブロック*/
.list-grid1 {
	color: #fff;	/*文字色*/
}

.list-grid1 a:hover {
	color: inherit;
}

/*ボックス１個あたり*/
.list-grid1 .list {
	text-align: center;		/*テキストをセンタリングする*/
	margin-bottom: 2vw;
}

/*テキストブロック*/
.list-grid1 .text2 {
	position: absolute;
	left: 0px;
	bottom: 0px;
	width: 100%;
	background: rgba(0,0,0,0.7);	/*背景色。0,0,0は黒のことで0.7は色が70%出た状態。*/
}

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

	/*listブロック全体を囲むブロック*/
	.list-grid1 {
		display: grid;
		grid-template-columns: repeat(3, 1fr);	/*3列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
		gap: 2vw;	/*ブロックの間に空けるマージン的な指定*/
	}

	/*ボックス１個あたり*/
	.list-grid1 .list {
		margin-bottom: 0;	/*下マージンをリセット*/
	}

	}/*追加指定ここまで*/


/*list-grid1（静止画から動画にチェンジするボックス）※変更不要
---------------------------------------------------------------------------*/
.list-grid1 .image-container {
	width: 100%;
	height: 0;
	padding-top: 100%;
	position: relative;
}
.list-grid1 .image-container img,
.list-grid1 .image-container video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.list-grid1 .image-container video {
	display: none;
}


/*ボタン（btnと、btn-border-radius）
---------------------------------------------------------------------------*/
/*ボタン共通*/
.btn a,
.btn-border-radius a {
	display: block;text-decoration: none;
	font-size: 1rem;
	text-align: center;		/*テキストをセンタリング*/
	background: var(--primary-color) !important;	/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: var(--primary-inverse-color) !important;	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	padding: 0.5rem !important;		/*ボタン内の余白*/
	margin-top: 1rem !important;
}

/*ボタン共通（マウスオン時に少し明るくする）*/
.btn a:hover,
.btn-border-radius a:hover {
	filter: brightness(1.2);
}

/*btn-border-radiusの上書き*/
.btn-border-radius a {
	display: inline-block;
	padding: 0.5rem 2rem !important;	/*ボタン内の余白*/
	border-radius: 100px;	/*角丸の指定。適当に大きければOK。*/
}


/*bg1背景色がついたブロック
---------------------------------------------------------------------------*/
.bg1 {
	position: relative;
	background: transparent;		/*背景色。*/
	color: var(--primary-inverse-color);	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	
	/*以下は変更不要*/
	margin-left: calc(-1 * var(--global-space));
	margin-right: calc(-1 * var(--global-space));
	padding-left: var(--global-space);
	padding-right: var(--global-space);
}
.bg1 a {
	color: inherit;
}


/*詳細ページのサムネイル切り替えブロック
---------------------------------------------------------------------------*/
/*大きな画像が表示されるブロック*/
.thumbnail-view {
	margin-top: 8vw;
	margin-bottom: 1rem;	/*ブロックの下に1文字分のマージンをとる。*/
	text-align: center;		/*画像が小さい場合でもセンタリングされるように*/
	background: #000;		/*背景色。画像が切り替わる際にだけ見える色です。*/
}

/*大きな画像*/
.thumbnail-view img {
 max-height: clamp(500px, 50vw, 900px);
  width: auto;
  display: block;
  margin: 0 auto;
}

/*サムネイル全体を囲むブロック*/
.thumbnail {
	display: flex;				/*flexを使う指定*/
	justify-content: center;	/*並びかたの種類の指定。これはセンタリングする指定。*/
	margin-bottom: 2rem;		/*下に空けるスペース。２文字分。*/
}

/*サムネイル画像*/
.thumbnail img {
	width: 100px;		/*サムネイルの幅*/
	margin: 5px;		/*サムネイル間のスペース*/
	border: 2px solid #fff;	/*枠線の幅、線種、色*/
	cursor: pointer;	/*リンクタグではないが、クリックできる事をわかりやすくする為にリンクと同じポインターにしておきます。*/
	transition: 0.3s;	/*マウスオンまでにかける時間。3秒。*/
}
.thumbnail img:hover {
	opacity: 0.8;	/*マウスオン時に80%だけ色を出す。つまり薄くなります。*/
}


/*詳細ページ（bland_item.html）で使っている「前のページに戻る」ボタン
---------------------------------------------------------------------------*/
.btn-back {
	text-align: center;
   padding-bottom: 1px; 
}
.btn-back a {
	text-decoration: none;display: inline-block;
	padding: 0.5rem 2rem;	/*ボタン内の余白。上下、左右。*/
	border-radius: 30px;	/*角を丸くする指定。ある程度大きければ適当でいいです。*/
	background: #000;		/*背景色*/
	color: #fff;			/*文字色*/
}
.btn-back a::before {
	font-family: "Font Awesome 6 Free";	/*Font Awesomeを使う指定*/
	content: "\f0d9";		/*使いたいアイコン名をここで指定。Font Awesomeに記載されています。詳しくは当テンプレートのマニュアルを読んで下さい。*/
	padding-right: 0.2em;	/*アイコンとテキストの間の余白*/
	font-weight: bold;		/*この設定がないとアイコンが出ない場合があります*/
	opacity: 0.5;			/*色を50%だけ出す*/
}



/*ふきだしアイコン*/
#message-parts i {
	transform: scale(1.3);	/*1.3倍に*/
	margin-bottom: 10px;	/*下に空ける余白*/
}

/*マウスオン時に少し明るくする*/
#message-parts a:hover {
	filter: brightness(1.2);
}


/*テーブル（ta1）
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	font-weight: bold;		/*太字に*/
	padding: 0.5rem 1rem;	/*ボックス内の余白*/
	background: var(--primary-color);		/*背景色*/
	color: var(--primary-inverse-color);	/*文字色*/
	margin-bottom: 1rem;	/*下に空けるスペース*/
	border-radius: 5px;		/*角を丸くする指定*/
}

/*ta1テーブルブロック設定*/
.ta1 {
	table-layout: fixed;
	border-top: 1px solid #999;	/*テーブルの一番上の線。幅、線種、色*/
	width: 100%;				/*幅*/
	margin-bottom: 5rem;		/*テーブルの下に空けるスペース。5文字分。*/
	background: rgba(0,0,0,0.3);	/*背景色*/
}

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

/*th（左側）、td（右側）の共通設定*/
.ta1 th, .ta1 td {
	padding: 1rem;		/*ボックス内の余白*/
	word-break: break-all;	/*英語などのテキストを改行で自動的に折り返す設定。これがないと、テーブルを突き抜けて表示される場合があります。*/
}

/*th（左側）のみの設定*/
.ta1 th {
	width: 30%;			/*幅*/
	text-align: left;	/*左よせにする*/
	background: rgba(0,0,0,0.3);	/*背景色。上の.ta1でも背景色を指定しているので、ここで指定した数値より濃くなります。*/
}

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

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

	}/*追加指定ここまで*/


/*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.5rem;	/*文字サイズ*/
	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-check, .color-check a {color: #ff0000 !important;}
.l {text-align: left !important;}
.c {text-align: center !important;}
.r {text-align: right !important;}
.ws {width: 95%;display: block;}
.wl {width: 95%;display: block;}
.mb0 {margin-bottom: 0px !important;}
.mb30 {margin-bottom: 30px !important;}
.look {display: inline-block;padding: 0px 10px;background: #eee;color: #333;border: 1px solid #ccc; border-radius: 3px;margin: 5px 0; word-break: break-all;}
.small {font-size: 0.75em;}
.large {font-size: 2em; letter-spacing: 0.1em;}
.pc {display: none;}
.dn {display: none !important;}
.block {display: block !important;}

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

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

	}/*追加指定ここまで*/

.blur {
  background: transparent !important;
}

.blur * {
  background-color: transparent !important;
  background-image: none !important;
}
#logo-links {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 55px;
  position: fixed; /* ページに固定 */
  top: clamp(3rem, 0.277rem + 4.35vw, 5.5rem); /* ヘッダーの高さ＋余白 */
  left: 50%; /* 中央に配置 */
  transform: translateX(-50%); /* 中央揃えの微調整 */
  z-index: 500; /* ヘッダーより上に */
  padding-top: calc(36.35px - 0.01633 * 100vw);
  padding-bottom: 10px;
  background: rgba(0, 0, 0, 0.8); /* ヘッダーと同じ背景 */
}
@media screen and (max-width:1000px) {
  #logo-links {
  width: 100%;
  height: 58px;
  position: fixed; /* ページに固定 */
  padding-top: calc(36.35px - 0.01633 * 100vw);
  padding-bottom: 10px;

}}

	@media screen and (max-width:860px) {
  #logo-links {
  height: clamp(55px, calc(65px - (100vw - 451px) * 0.02445), 65px);
  position: fixed; /* ページに固定 */
  top: clamp(1.25rem, -0.128rem + 4.89vw, 2.5rem); /* ヘッダーの高さ＋余白 */
  padding-top: calc(36.35px - 0.01633 * 100vw);
  padding-bottom: 4px;
}}


#logo-links ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-flex;
  gap: clamp(1rem, 0.286rem + 2.54vw, 4rem);
  flex-wrap: wrap;
  position: relative;
}

#logo-links li {
  position: relative;
}

#logo-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: clamp(0.875rem, 0.837rem + 0.14vw, 1rem);
  transition: 0.3s;
  display: inline-block;
}

#logo-links li a:hover {
  color: var(--primary-color);
}

/* ▼ サブメニュー ▼ */
#logo-links li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  padding: 0;
  margin: 0;
  list-style: none;
  min-width: 160px;
  z-index: 1000;
}

#logo-links li:hover > ul {
  display: block;
}

#logo-links li ul li {
  width: 100%;
  position: relative;
}

#logo-links li ul li a {
  color: #fff;
  background: #222;
  padding: 10px;
  display: block;
  font-size: 0.9rem;
  text-align: left;
}

#logo-links li ul li a:hover {
  background: #444;
  color: var(--primary-color);
}

/* ▼ 3階層（右側に出す） ▼ */
#logo-links li ul li ul {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  transform: none;
  background: #222;
  min-width: 160px;
}

#logo-links li ul li:hover > ul {
  display: block;
}
/* ▼ 4階層（右側に出す） ▼ */
#logo-links li ul li ul li ul {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  transform: none;
  background: #222;
  min-width: 160px;
}

#logo-links li ul li:hover > ul {
  display: block;
}

nav li a {
  white-space: nowrap;     /* 改行を禁止 */
  display: inline-block;   /* インライン扱いで幅を保つ */
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}


/* レスポンシブ調整 */
@media screen and (max-width: 600px) {

#logo-links {
    font-size: clamp(1px, 1vw, 30px);
  }




	/*アイコンを入れるボックス*/
	#header-top div {
		justify-content: flex-start;			/*ボックスを左側に配置する*/

  }



 }

  .list-grid1 {
    flex-direction: column;
  }

  .list-grid1 .list {
    width: 100%;
  }

  #latest-columns a {
    display: block;
    width: 100%;
  }

.column-box {
  display: flex;
  align-items: flex-start;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  max-width: 600px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.column-box img {
  width: 100px;
  height: auto;
  border-radius: 4px;
  margin-right: 1rem;
  flex-shrink: 0;
}

.column-box .text {
  flex: 1;
}

.column-box .text p {
  font-size: 14px;
  font-weight: bold;
  margin: 0;
  color: #333;
}

.column-box .text small {
  display: block;
  margin-top: 0.4rem;
  color: #666;
  font-size: 0.9rem;
}


/* トップのメッセージ */
.main-message h2 {
  font-size: 16px;
  font-weight: bold;
  font-family: "Georgia", serif;
  color: #ffffff;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 0.5rem; 
}

.main-message p {
  text-align: center;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 16px;
  color: #ffffff;
  margin: 1rem 0;
  line-height: 1.6;
}

#search-results {

}

.search-item {

}

.search-item a {
  font-size: 1.2rem;
  color: #b22222;
  text-decoration: none;
  font-weight: bold;
}

.search-item p {

}

.search-item img {
  max-width: 200px;
  height: auto;
  display: block;
  margin-top: 0.5rem;
}

  @media screen and (min-width: 769px) {
 .header-menu {
    display: none !important; /* ハンバーガーメニュー全体を非表示 */
  }
}
 /* レスポンシブ対応 */
@media screen and (max-width: 1500px) {
    :root {
    --global-space: 20vw;
  }  }

    @media screen and (max-width: 1000px) {
    :root {
    --global-space: 10vw;


  }  }


 /* 画面幅450px以下のレスポンシブ対応 */
  /*スライド画像の上余白はslide.css */
  @media screen and (max-width: 450px) {
    :root {
    --global-space: 3vw;
  }
#header-top .header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3vw;
  width: 100%;
  padding: clamp(10px, 1vw, 30px) 10px 0px;/* 上・左右・下 */
}



 .header-cart img {
  margin-top: 2px;
  margin-right: 5px;
max-width: clamp(30px, 6vw, 50px);
  height: auto;
}

  /* ヘッダーバーのレイアウト */
  .header-bar {
    display: flex;
    flex-wrap: nowrap; /* 要素を1行に */
    justify-content: space-between; /* 左右に均等配置 */
    align-items: center;
    gap: 0.5rem;
    padding: clamp(5px, 1vw, 10px) clamp(10px, 3vw, 20px);
    width: 100%;
  }

  /* 要素の順序と配置 */s
  .header-menu {
    order: 1;
    flex-shrink: 0; /* 縮まない */
    width: 30px; /* 固定幅 */
  }
  .header-logo {
    order: 2;
    flex-grow: 1; /* 中央にスペースを取る */
    flex-basis: auto;
    text-align: center;
    margin: 0; /* マージンリセット */
  }
  .header-logo img {
    position: relative;
    top: 0px;
    width: 150px; /* ロゴサイズ拡大 */
    height: auto;
    display: inline-block;
    vertical-align: middle;
  }
  .header-search {
    order: 3;
    flex-shrink: 0;
    position: static;
    transform: none;
    width: auto;
    display: flex;
    align-items: center;
  }
  .header-cart {
    order: 4;
    flex-shrink: 0;
    width: auto;
    display: flex;
    align-items: center;
  }

  /* 検索フォームのデフォルト状態 */
  .header-search form {
    display: flex;
    align-items: center;
  }
  #search-input {
    display: none; /* 検索ボックス非表示 */
  }
  #search-form button {
    display: block;
    font-size: 1.2rem;
    padding: 0.5rem;
    background: transparent;
    border: none;
    color: #fff;
  }

  /* 検索ボックス表示時 */
  .header-search.active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000; /* 最前面 */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
  }
  .header-search.active form {
    width: 100%; /* 画面幅いっぱい */
    max-width: none;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 0;
    margin: 0 5px; /* 左右マージン */
  }
  .header-search.active #search-input {
    display: block;
    flex: 1;
    padding: 0.8rem;
    font-size: 1rem;
    border: none;
    outline: none;
  }
  .header-search.active #search-form button {
    padding: 0.8rem;
    color: #333;
  }

  /* ハンバーガーメニュー */
  #menubar_hdr {
    font-size: 1.8rem;
    padding: 0.5rem;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
  }

  /* メニュー表示時 */
  #menubar.display-block {
    display: block !important;
  }

 #logo-links {
  display: none !important;
 }


/* メニューブロックの非表示 */
#menubar {
  display: none;
}
}
/* レスポンシブここまで */

 
/* 商品名 */
main h2.product-title{
  font-size:18px;
  font-weight: bold;
  color: #ffffff;
}

/* 価格 */
.price {
  font-size: 16px;
    font-weight: bold;
  color: #ffffff;
  font-weight: 500;
}

.product-card {
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  max-width: 500px;
  margin: 1rem auto;
  background-color: #fff;
}

.product-description {
  font-size: 1rem;
  color: #ffffff;
  margin: 0.5rem 0;
}

.product-card img {
  width: 100%;
  height: auto;
  margin-top: 0.5rem;
  border-radius: 4px;
}


.blur {
  margin-top: 5px;
  padding-top: 5px;
}


  /* トップページ下部のcolumn画像。columnのcolumn画像はstyleblog.css */
.column-box img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

/* 1921pxの画面幅を基準にしたスタイル */
@media screen and (min-width:1921px) {
  .header-top {
    max-width: 2000px; 

  }
    .header-bar {
    max-width: 2000px; 

  }
  }

/* サブメニュー内のバウンスをコンテンツ内に閉じ込める */
#logo-links { overscroll-behavior: contain; }
#logo-links li > ul { overscroll-behavior: contain; }

/* “open”は常に表示（hoverが外れても閉じない保険） */
#logo-links li.open > ul { display: block !important; }

#menubar { overscroll-behavior: contain; }
#menubar * { overscroll-behavior: contain; }

/* 最後に置く：開いたら必ず出る */
#menubar { display: none; }
#menubar.display-block { display: block !important; }

/* 769px〜でハンバーガーを隠したい場合（推奨） */
@media screen and (min-width: 769px) {
  .header-menu { display: none !important; }
}

/* 背景スクロール抑止（任意） */
body.noscroll { overflow: hidden; height: 100%; }
