@charset "utf-8";


/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap');

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

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


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


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

	/*色の一括管理*/
    --primary-color: #6fce8e;		/*このテンプレートのテーマカラー*/
    --primary-text-color: #fff;		/*このテンプレートのテーマカラーの上に文字を載せる場合*/
    --secondary-color: #cf3055;		/*このテンプレートのアクセントカラー*/
    --secondary-text-color: #fff;	/*このテンプレートのアクセントカラーの上に文字を載せる場合*/
	
	/*このテンプレートのフォントの設定*/
    --main-font: "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	
	/*見出しに使うフォントの設定。１つ目はGoogleFontsの指定で、２つ目は英語表記に対応していない(日本語表記など)に使うフォント（上の行で定義したフォント）を使う指定。*/
    --heading-font: "Caveat", var(--main-font);
	
	/*bg1で使っている共通の高さ*/
    --bg1-height: 50px;
}




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


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




/*全体の設定
---------------------------------------------------------------------------*/
html,body {height: 100%;}
body * {box-sizing: border-box;}

body {
	
margin: 0;
	padding: 10px 0 0 0; /* ← 上に10pxの余白（約3mm）を追加 */ 
	font-family: var(--main-font);	/*フォント種類。css冒頭で指定しているmain-fontを読み込みます*/
	-webkit-text-size-adjust: none;
	color: #333;			/*文字色*/
	line-height: 2.2;		/*行間*/
	animation: opa1 0.0s 0.0s both;	/*0.2秒の間だけ非表示にし、その後0.5秒かけてフェードイン表示*/
	background-color: #f1faf4;	/*背景色*/
}

/*トップページの背景画像に関する指定。(カラフル薄水玉)
background-imageは、カンマ区切りで２枚の画像の読み込み。
background-repeatは、リピートしない設定
background-positionは、配置場所。カンマ区切りで２枚の画像のそれぞれの場所を指定。vwは画面幅に対して。100vwが画面幅100%の事。
background-sizeは、画像の幅。画面幅に対して30%の事。*/
body.home {
	background-image: url('../images/back.png'), url('../images/back.png');
	background-repeat: no-repeat;
	background-position: 75vw -5vw, -10vw 30vw;
	background-size: 30vw, 30vw;
}


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

/*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 {margin: 5vw;}









p {
  margin-bottom: 15px;
  line-height: 1.6em;
}
figure {
  float: left;
  margin: 0 15px 15px 0;
  width: 30%;
}
figure img {
  max-width: 100%;
}



.slideBox {
  max-width: 900px;  /* お好みの幅に調整 */
  margin: 0 auto;    /* 中央寄せ */
}

.slideBox img {
  width: 100%;       /* スライド幅に合わせて伸縮 */
  height: auto;      /* 高さは画像比率に従う */
  display: block;
}






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

/*マウスオン時*/
a:hover {
	color: var(--primary-color);	/*css冒頭で指定しているprimary-colorを読み込みます*/
}


/*コンテナー（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
#container {
	height: 100%;
	max-width: 1100px;				/*最大幅1800。これ以上広がりません。*/
	display: flex;					/*flexを使う指定*/
	flex-direction: column;			/*子要素を縦並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	margin: 0 auto;
}


/*コンテンツ
---------------------------------------------------------------------------*/
#contents {
	flex: 1;
}


/*ヘッダー
---------------------------------------------------------------------------*/
header {
	position: relative;
}

/*ロゴ*/
#logo img {display: block;}
#logo {
	margin: 0;
	width: 35vw;		/*幅35*/
　　　　max-width: 150px; /* スマホ用最大幅を設定150 */
	padding-left: 10px;	/*左に空ける余白*/
	padding-top: 10px;	/*上に空ける余白*/
}

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

	/*ロゴ*/
	#logo {
		width: 30vw;	/*幅*/
	}

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


/*トップページのロゴの配置場所*/
.home #logo {
	position: absolute;z-index: 1;
	left: 0px;
	top: 10px;
}





/*鈴山が入れた（トップ画像ふわっとアニメ）
---------------------------------------------------------------------------*/

.slideBox {
  height: 600px;
  overflow: hidden;
  position: relative;
}



/* imgのみ */
.item1 {
  opacity: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  left: 0;
  top: 0;
  -webkit-animation: anime 12s 0s forwards;
  animation: anime 12s 0s forwards;
}

.item1:nth-of-type(2) {
  -webkit-animation-delay: 4s;
  animation-delay: 4s;
}

.item1:nth-of-type(3) {
  -webkit-animation: animeLast 12s 8s forwards;
  animation: animeLast 12s 8s forwards;
}

/* ふわっとアニメーション */
@keyframes anime {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  35% {
    opacity: 1;
  }
  50% {
    opacity: 0;
    z-index: 9;
  }
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes anime {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  35% {
    opacity: 1;
  }
  50% {
    opacity: 0;
    z-index: 9;
  }
  100% {
    opacity: 0;
  }
}


@keyframes animeLast {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 1; /* 消えずにそのまま表示 */
  }
}

@-webkit-keyframes animeLast {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}







/*メニューブロック初期設定
---------------------------------------------------------------------------*/
/*メニューをデフォルトで非表示*/
#menubar {display: none;}

/*上で非表示にしたメニューを表示させる為の設定*/
.large-screen #menubar {display: block;}
.small-screen #menubar.display-block {display: block;}

/*3本バーをデフォルトで非表示*/
#menubar_hdr.display-none {display: none;}

/*ドロップダウンをデフォルトで非表示*/
.ddmenu_parent ul {display: none;}


/*大きな端末、小さな端末共通のメニューブロック設定
---------------------------------------------------------------------------*/
/*メニュー１個あたりの設定*/
#menubar a {
	display: block;text-decoration: none;
	padding: 0.3rem 1.5rem;	/*上下、左右へのメニュー内の余白*/
}


/*大きな端末用のメニューブロック設定
---------------------------------------------------------------------------*/
/*メニューブロック*/
.large-screen #menubar {
 margin: 1rem 0 1rem 0; /* ← 下の余白が小さくなります（または 0 にしてもOK） */
}

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

	/*トップページ以外のメニューブロック*/
	body:not(.home).large-screen #menubar {
		position: absolute;
		right: 12rem;	/*右からの配置場所指定*/
		top: 0px;		/*上からの配置場所指定*/
	}

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


.large-screen #menubar > nav > ul {
	display: flex;				/*横並びにする*/
	justify-content: flex-end;	/*右側に配置*/
	gap: 1rem;					/*メニュー同士の間にあけるマージン的な余白*/
}
.home.large-screen #menubar > nav > ul {
	justify-content: center;	/*左右の中央に配置*/
}

/*メニュー１個あたりの設定*/
.large-screen #menubar li {
	position: relative;	/*ドロップダウンの幅となる基準を作っておく*/
	text-align: center;	/*テキストをセンタリング*/
}
.large-screen #menubar li a {
	background: #fff;
	border-radius: 100px;
	border: 1px solid var(--primary-color);	/*枠線の幅、線種、色*/
}
.large-screen #menubar > nav > ul > li > a {
	box-shadow: 0px 7px var(--primary-color);
}
.large-screen #menubar > nav > ul > li > a:hover {
	box-shadow: 0px 3px var(--primary-color);
}

/*マウスオン時*/
.large-screen #menubar li a:hover {
	position: relative;
	top: 1px;
}


/*大きな端末、小さな端末、共通のドロップダウンメニュー設定
---------------------------------------------------------------------------*/
/*ドロップダウンブロック*/
.large-screen #menubar ul ul,
.small-screen #menubar ul ul {
	animation: opa1 0.5s 0.1s both;	/*0.1秒待機後、0.5秒かけてフェードイン表示*/
}

/*ドロップダウンの親*/
a.ddmenu::before {
	content: "▼";	/*この印を入れる*/
	display: inline-block;
	color: var(--primary-color);	/*文字色。css冒頭で指定しているprimary-colorを読み込みます*/
	transform: scale(1, 0.7);		/*サイズ変更。幅は100%で高さを70%にしています。*/
	margin-right: 5px;				/*アイコンの右側に空けるスペース*/
}


/*大きな端末用のドロップダウンメニュー
---------------------------------------------------------------------------*/
/*ドロップダウンメニューブロック全体*/
.large-screen #menubar ul ul {
	position: absolute;z-index: 100;
	width: 100%;
	padding-top: 10px;
}

/*ドロップダウンメニュー一個あたり*/
.large-screen #menubar ul ul li {
	margin-top: 5px;	/*メニュー同士の外側（上）のスペース*/
}
.large-screen #menubar ul ul a {
	background: #fff;		/*背景色*/
}


/*小さな端末用の開閉ブロック
---------------------------------------------------------------------------*/
/*メニューブロック設定*/
.small-screen #menubar.display-block {
	position: fixed;overflow: auto;z-index: 100;
	left: 0px;top: 0px;
	width: 100%;
	height: 100%;
	padding-top: 90px;
	background: #fff;			/*背景色*/
	animation: animation1 0.2s both;	/*animation1を実行する。0.2sは0.2秒の事。*/
}

/*メニュー１個あたりの設定*/
.small-screen nav > ul > li {
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
	margin: 1rem;			/*メニューの外側に空けるスペース*/
	border-radius: 10px;	/*角を丸くする指定*/
	padding: 0 2rem;		/*メニュー内の余白。上下、左右へ。*/
}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*３本バーを囲むブロック*/
#menubar_hdr {
	position: fixed;z-index: 101;
	cursor: pointer;
	right: 30px;			/*右からの配置場所指定*/
	top: 30px;				/*上からの配置場所指定*/
	padding: 16px 14px;		/*上下、左右への余白*/
	width: 46px;			/*幅（３本バーが出ている場合の幅になります）*/
	height: 46px;			/*高さ*/
	display: flex;					/*flexボックスを使う指定*/
	flex-direction: column;			/*子要素（３本バー）部分。flexはデフォルトで横並びになるので、それを縦並びに変更。*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	background: var(--primary-color);	/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
}

/*バー１本あたりの設定*/
#menubar_hdr span {
	display: block;
	transition: 0.3s;	/*アニメーションにかける時間。0.3秒。*/
	border-top: 1.5px 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;	/*２本目は使わないので非表示にする*/
}


/*main
---------------------------------------------------------------------------*/
main {
	flex: 1;
	padding-top: 1rem;		/*ブロックの上の余白*/
	padding-bottom: 3rem;	/*ブロックの下の余白*/
}

/*h2(見出し)要素*/
main h2 {
	font-size: 2rem;		/*文字サイズを２倍*/
	font-weight: normal;	/*太さを標準*/
	color: var(--primary-color);	/*文字色。css冒頭で指定しているprimary-colorを読み込みます*/
	border-bottom: 1px solid var(--primary-color);	/*下線の幅、線種、varの部分は色で、css冒頭で指定しているprimary-colorを読み込みます*/
	padding-left: 0.5rem;	/*左に0.5文字分の余白*/
}

/*type1の見出し*/
main h2.type1 {
	margin: 0; padding: 0; border: none;
	font-family: var(--heading-font);	/*フォント種類。css冒頭で指定しているheading-fontを読み込みます*/
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
}
main h2.type1 span {
	display: block;
	font-size: 1rem;
	text-align: right;	/*テキストを右寄せ*/
}

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

	/*type1の見出し*/
	main h2.type1 {
		width: 20vw;	/*幅*/
		flex: 0 0 auto;
		line-height: 1;
		transform: rotate(-10deg);	/*少しだけ傾ける*/
		margin-right: 2rem;			/*右側へのスペース*/
		font-size: 4rem;			/*文字サイズ。４倍。*/
	}
	main h2.type1 span {
		margin-top: 2rem;	/*上に２文字分のスペース*/
	}

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


/*h3(見出し)要素*/
main h3 {
	padding-left: 0.5rem;	/*左に0.5文字分の余白*/
}

/*p(段落)要素*/
main p {
	padding-left: 0.5rem;	/*左に0.5文字分の余白*/
}


/*左側にh2見出し、右側にメニュー写真が並ぶタイプのブロック設定
---------------------------------------------------------------------------*/

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

	/*ブロック全体*/
	.list-side-title {
		display: flex;	/*横並びに*/
		justify-content: center;	/*中央に寄せる*/
		align-items: flex-start;	/*上に寄せる*/
		gap: 3%;					/*ブロック同士のマージン的な要素。*/
	}

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







/*list（メニュー写真や説明が入ったボックス一個あたり）
---------------------------------------------------------------------------*/
/*list内の全ての要素のマージンを一旦リセット*/


.list * {
	margin: 0;
}


.list-menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 初期は2列 */
  gap: 1rem; /* 列と行の隙間 */
  margin-bottom: 2rem;
}

/* 画面幅700px以上では4列に */
@media screen and (min-width: 700px) {
  .list-menu {
    grid-template-columns: repeat(4, 1fr); /* 4列に拡張 */
  }
}

/* .list には個別のレイアウト指定は不要になります */
.list {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background: #fff;
  box-shadow: 5px 5px 20px rgba(0,0,0,0.1);
}


/*ボックス１個あたり*/
.list {
	position: relative;
    display: flex;
	flex-direction: column;
	padding: 1rem;			/*ボックス内の余白*/
	background: #fff;		/*背景色*/
	box-shadow: 5px 5px 20px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
	margin-bottom: 3%;
}

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

	/*ボックス１個あたり*/
	.list {
		margin-bottom: 0;
	}

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


.list figure {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}



/*ブロック内のh4*/
.list h4 {
	color: #555;	/*文字色*/
}

/*価格*/
.list h4 .price {
	background: var(--primary-color);	/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: var(--primary-text-color);	/*文字色。css冒頭で指定しているprimary-text-colorを読み込みます*/
	border-radius: 100px;	/*角を丸くする指定。大きければ適当でOK。*/
	padding: 0.3rem 1rem;	/*価格内の余白。上下、左右へ。*/
	margin-left: 1rem;		/*左側に1文字分のスペースを空ける。メニュータイトルとの隙間の調整です。*/
	font-size: 0.8rem;		/*文字サイズを80%に*/
}


/*性別(鈴山書き足し男の子)*/
.list h4 .price1 {

background: #8ec6ff; /* 薄いブルー */
      color: var(--primary-text-color);	/*文字色。css冒頭で指定しているprimary-text-colorを読み込みます*/
	border-radius: 100px;	/*角を丸くする指定。大きければ適当でOK。*/
	padding: 0.3rem 1rem;	/*価格内の余白。上下、左右へ。*/
	margin-left: 1rem;		/*左側に1文字分のスペースを空ける。メニュータイトルとの隙間の調整です。*/
	font-size: 0.8rem;		/*文字サイズを80%に*/
}


/*性別(鈴山書き足し女の子)*/
.list h4 .price2 {

background: #ffc0cb; /* 薄いピンク */
      color: var(--primary-text-color);	/*文字色。css冒頭で指定しているprimary-text-colorを読み込みます*/
	border-radius: 100px;	/*角を丸くする指定。大きければ適当でOK。*/
	padding: 0.3rem 1rem;	/*価格内の余白。上下、左右へ。*/
	margin-left: 1rem;		/*左側に1文字分のスペースを空ける。メニュータイトルとの隙間の調整です。*/
	font-size: 0.8rem;		/*文字サイズを80%に*/
}


/*リンク先アンダーラインを消す(鈴山書き足し女の子)*/

<style>
a.nounderline {
  text-decoration: none;
}
</style>




/*ブロック内のp要素*/
.list p {
	margin: 0;padding: 0;
	font-size: 0.85rem;	/*文字サイズを85%に*/
	line-height: 1.8;	/*行間を少し狭く*/
}



/*アイコン*/
.list .newicon {
	position: absolute;
	left: -5px;	/*左からの配置場所。マイナスがついているので本来の向きとは逆に移動する。*/
	top: -10px;	/*上からの配置場所。マイナスがついているので本来の向きとは逆に移動する。*/
	background: var(--secondary-color);	/*背景色。css冒頭で指定しているsecondary-colorを読み込みます*/
	color: var(--secondary-text-color);	/*文字色。css冒頭で指定しているsecondary-text-colorを読み込みます*/
	font-size: 0.8rem;	/*文字サイズ。80%。*/
	width: 8em;			/*アイコンの幅。4文字分。*/
	line-height: 2.8vem;	/*行間ですが、高さとして使っています。上のwidthと揃えれば正円になります。*/
	border-radius: 50%;	/*円形にする指定。*/
	text-align: center;	/*テキストをセンタリング*/
}

/*ボックス内のfigure画像*/
.list figure img {
	margin-bottom: 0.5rem;	/*画像の下に空けるスペース*/
}


h2.type1 .subtext {
  display: block;
  text-align: left !important;
  color: #333;
  margin-left: 0;  /* 文字を左に揃え、文字色を濃いグレーに指定。必要に応じて調整 */
}



/*鈴山ねい追加　子猫たちのページをサムネイル式にした
---------------------------------------------------------------------------*/

/* ---------- 猫情報レイアウト ---------- */
.cat-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.cat {
  flex: 1 1 calc(50% - 20px); /* gapを考慮した2カラム設定 */
  min-width: 300px;
  box-sizing: border-box;
  background-color: #f9f9f9;
  padding: 15px;
  border: 1px solid #ddd;
}

.cat img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 10px;
}





/* ---------- /*鈴山ねい追加　商品詳細レイアウト ---------- */

/* kitten-room 内の .cat-list にのみ適用 */
/* ---------- 商品詳細レイアウト（kittenページ専用） ---------- */
body.kitten-room .cat-list .product-container {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  align-items: flex-start;
}

body.kitten-room .cat-list .main-image {
  flex: 1 1 40%;
  min-width: 300px;
}

body.kitten-room .cat-list .thumbnails {
  flex: 0 0 20%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.kitten-room .cat-list .thumbnails img {
  width: 100%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

body.kitten-room .cat-list .thumbnails img.active {
  border-color: #007bff;
}

body.kitten-room .cat-list .product-info {
  flex: 1 1 40%;
  min-width: 300px;
}

body.kitten-room .cat-list .product-info h4 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

body.kitten-room .cat-list .product-info p {
  font-size: 1rem;
  margin-bottom: 10px;
}

body.kitten-room .cat-list .product-info span {
  display: inline-block;
  padding: 5px 10px;
  margin-right: 10px;
  border-radius: 20px;
  font-weight: bold;
}

body.kitten-room .cat-list .price {
  background-color: #003366;
  color: white;
}

body.kitten-room .cat-list .gender {
  background-color: #f7c8d8;
}

body.kitten-room .cat-list .status {
  background-color: #800000;
  color: white;
}

body.kitten-room .cat-list .link-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 20px;
}

body.kitten-room .cat-list .link-button:hover {
  background-color: #0056b3;
}











/*鈴山ねい追加　パパママの画面表示を1列から2列にしたい
---------------------------------------------------------------------------*/

.dad-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 通常は2列 */
  gap: 2rem;
  margin-top: 1rem;
}

.dad {
  background-color: #fff;
  padding: 1rem;
  border: 1px solid #ddd;
  text-align: center;
}

.dad img {
  max-width: 100%;
  height: auto;
}

/* スマホでは1列にする */
@media screen and (max-width: 600px) {
  .dad-list {
    grid-template-columns: 1fr;
  }
}







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

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

/*copyright*/
#copyright {
	font-size: 0.8rem;		/*文字サイズ*/
	text-align: center;		/*内容をセンタリング*/
	padding: 10px;			/*余白*/
}

/*テンプレート著作部分*/
footer .pr {display: block;}


/*フッター内にあるソーシャルメディアのアイコン
---------------------------------------------------------------------------*/
ul.icons {
	list-style: none;
	margin: 0;padding: 0;
	display: flex;	/*横並びにする*/
	align-self: center;
	justify-content: center;
	color: var(--primary-color);	/*文字色。css冒頭で指定しているprimary-colorを読み込みます*/
}
ul.icons li {
	margin-right: 15px;	/*アイコン同士の余白*/
}
.icons i {
	font-size: 40px;	/*Font Awesomeのアイコンサイズ*/
}


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

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

/*icon-bg1*/
.new .icon-bg1 {
	background: var(--primary-color);	/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: var(--primary-text-color);	/*文字色。css冒頭で指定しているprimary-text-colorを読み込みます*/
	border-color: transparent;			/*枠線の色を透明に*/
}

/*icon-bg2*/
.new .icon-bg2 {
	background: var(--secondary-color);	/*背景色。css冒頭で指定しているsecondary-colorを読み込みます*/
	color: var(--secondary-text-color);	/*文字色。css冒頭で指定しているsecondary-text-colorを読み込みます*/
	border-color: transparent;			/*枠線の色を透明に*/
}

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

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

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














/*サムネイルの横スライドショー（slickを使用）
---------------------------------------------------------------------------*/
/*スライドショーを囲むブロック*/
.thumbnail-slide {
	background: #fff;	/*背景色*/
	padding: 20px 10px;	/*上下、左右へのボックス内の余白*/
}

/*各アイテム間のマージン*/
.thumbnail-slide .slick-slide {
    margin: 0 10px;	/*上下は0、左右へ10px*/
}









/*bg1背景
---------------------------------------------------------------------------*/
.bg1 a { color: inherit; }

.bg1 {
  background-image: url('../images/bg1_top.png'), url('../images/bg1_bottom.png'); /*背景画像の読み込み。カンマ区切りで２枚読み込み*/
  background-repeat: no-repeat;                         /*画像をリピートしない*/
  background-position: top center, bottom center;       /*上と下に画像を配置*/
  background-size: 100% var(--bg1-height);              /*画像サイズ指定：幅100%、高さは変数で*/
  padding-top: var(--bg1-height);                       /*上の背景画像分の余白*/
  padding-bottom: var(--bg1-height);                    /*←ここを修正：下の背景画像も表示するため必要な余白 */
}

.bg1-inner {
  background: #c6e8d1;                /*背景色：背景画像の色に合わせる*/
  padding-top: var(--bg1-height);    /*上余白（背景画像に対応）*/
  padding-bottom: var(--bg1-height); /*←ここも修正：下画像に対応する余白を確保 */
}

/*ボックス内の上下の空白が広くなりすぎるので、sectionの上下マージンをなくす*/
.bg1-inner > section {
  margin-top: 0;
  margin-bottom: 0;
}













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

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

/*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: #efebe9;	/*背景色*/
}

	/*画面幅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%;	/*円形にする*/
}


/*color-check（マーカー風スタイル）
---------------------------------------------------------------------------*/
.color-check {
	background: linear-gradient(transparent 70%, yellow 70%);
}



/*その他
---------------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.color-theme, .color-theme a {color: var(--primary-color) !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: rgba(0,0,0,0.03);border: 1px solid #ccc; border-radius: 3px;word-break: break-all;}
.small {font-size: 0.7em;}
.large {font-size: 2em; letter-spacing: 0.1em;}
.pc {display: none;}
.dn {display: none !important;}
.responsive-br {display: none;}


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

	.responsive-br {display: block;}

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


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

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

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


:root {
  --bg1-height: 50px;
}

/* スマホ用に高さを変更 */
@media (max-width: 768px) {
  :root {
    --bg1-height: 20px;
  }
}


/*その他　チャットGPT
---------------------------------------------------------------------------*/

/* ==========================
スマホ表示（768px以下）の最適化
========================== */

  /* ごあいさつセクション */
  .list-side-title {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
  }

  /* 全体セクションの余白（念のため） */
  section {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
  }
}

/* ==========================
タブレット対応（900px以下）
========================== */
@media screen and (max-width: 900px) {
  .gallery-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .main-column,
  .thumbnail-column,
  .text-column {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  .thumbnail-column {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 0 10px;
  }

  .main-image {
    margin-bottom: 0;
  }

  .text-column {
    text-align: center;
    align-items: center;
    padding: 0 10px;
  }
}



/* デフォルトはパソコン用で余白を10mmに */
.slideBox {
  margin-bottom: 0;  /* スライドショー下の余白を0に設定 */
}

/* スマホ（画面幅600px以下）でも同じく10mmに */
@media screen and (max-width: 600px) {
  .slideBox {
    margin-bottom: 10mm;  /* 余白を10mmに統一 */
  }
  
  
  .bg1 {
    padding-top: 0;  /* ごあいさつブロックの上の余白調整 */
  }
}







/* 共通バッジスタイル */
.badge, .Seibetsu {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
  line-height: 1.2;
}

/* 男の子 */
.boy {
  background-color: #4fc3f7;
  color: #ffffff;
  border: 1px solid #4fc3f7;
}

/* 女の子 */
.Seibetsu {
  background-color: #f48fb1;
  color: #ffffff;
  border: 1px solid #f48fb1;
}


.subpage header {
  margin-bottom: 15mm !important;
}





/* 各ページメニューバーバランスよく設置 */


@media screen and (min-width: 768px) {
  body.papa-mama header {
    margin-top: 10mm;
  }
}

@media screen and (min-width: 768px) {
  body.kitten-room header {
    margin-top: 10mm;
  }
}

@media screen and (min-width: 768px) {
  body.q-a header {
    margin-top: 10mm;
  }
}

@media screen and (min-width: 768px) {
  body.toiawase header {
    margin-top: 10mm;
  }
}


@media (max-width: 768px) {
  :root {
    --bg1-height: 20px; /* スマホ用に余白を減らす（お好みで調整） */
  }
}


@media (max-width: 768px) {
  body.kitten-room .cat-list .product-container {
    flex-direction: column;
    gap: 10px; /* スマホ用にギャップを小さくする */
  }

  body.kitten-room .cat-list .main-image,
  body.kitten-room .cat-list .product-info {
    flex: 1 1 100%;
    min-width: auto; /* 幅制限を解除して自然に表示 */
  }

  body.kitten-room .cat-list .thumbnails {
    /* 今まで通りの設定を維持 */
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }

  body.kitten-room .cat-list .thumbnails img {
    width: 22%; /* 4枚横に並べる設定を維持 */
  }
}


#menubar {
  margin: 1rem 0 4rem 0 !important;
}



/* slick用 スライドショーのスタイル */
.mainimg-slick {
  max-width: 900px;
  margin: 0 auto;
}

.mainimg-slick img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}