:root {
	--color-bg: #f7f8e4;
	--color-accent: #285296;
	--color-accent2: #C19C48;
	--color-grass: #a1ddbf;

	--height-header: 112px;
	--width-container: 1280px;
	--padd-sides: 25px;
}

/* style2 サイズ調整用*/
/* .content は触らない */
#six .box.style2 {
  background-color: rgba(255, 255, 255, 0); /* ここに変更したい設定を書く */
}


/* style3 サイズ調整用*/
#photo-six3.main.style3{
	/* padding:6em 0 6em 0; *//* style3の既定値 */	
	padding:3em 0 3em 0;
}
#photo-six3-2.main.style3{
	/* padding:6em 0 6em 0;*//* style3の既定値 */
	padding:3em 8em 3em 8em;
}
#photo-six3-3.main.style3{
	/* padding:6em 0 6em 0;*//* style3の既定値 */
	padding:3em 2em 3em 2em;
}

/* style4 サイズ調整用*/
#photo-five.main.style4{
	/* padding:0 0 6em 0; *//* style4の既定値 */
	padding:0 0 2em 0;
}
#six-two-75.main.style4{
	/* padding:0 0 6em 0; *//* style4の既定値 */
	padding:0 0 2em 0;
}

#six {
	position: relative;
}
/* #six.main.fullscreen{
	height:700px;
} */
#six-two{
	display:flex;
	height:0px;
}
#six-two-1920{
	display:flex;
	flex-wrap: wrap;
	max-width: 1920px;
	margin: auto;
	overflow-x: hidden;
	overflow-y: hidden;	
}
#six-two-75{
	display:none;
}

/* 食品サンプル */
/* 2025.8.4 スライドショー確定 */
.six-text-container {
	--text-top-h2: 20%;
	--text-left-h2: 10%;
	--text-top-h3: 60%;
	--text-right-h3: 10%;
	margin: auto;
	position: relative;
	/* writing-mode: vertical-rl; */
	max-width: 1500px;
	height: 100%;
	/* border: 1px solid red; */
}


.six-text-container .six-header-h2 {
	position: absolute;
	top: var(--text-top-h2);
	left: var(--text-left-h2);
	font-size: min(20px, 2.8vw);
}
.six-text-container .six-header-h3 {
	position: absolute;
	top: var(--text-top-h3);
	right: var(--text-left-h2);
	font-size: min(20px, 2vw);
}

.six-text-container.active {
	transform: translateX(0);
}

.six-text-container3,
.six-text-container2 {
	position: relative;
	display: flex;
	background: white;
	width: 100%;
	transform: translateX(-100%);
	transition: transform 2s ease;
}
.six-text-container3 {
	transform: translateX(100%);
}
.six-text-container3.active,
.six-text-container2.active {
	transform: translateX(0);
}
.six-text-container3>*,
.six-text-container2>* {
	flex: 0 1 33.33%;
	padding-bottom:0px;
}
.six-text-container3 img,
.six-text-container2 img {
	width: 100%;
	height: 100%;
}

/* サンプルギャラリー [1列 * 6行] & [2列 *3行] 用 (３と４を逆転)*/
.flex-container {
	display: flex;
	flex-direction: column-reverse; /* 上下逆転 */
	width: 100%;
}	

/* 暫定 テストのため */
.main.style2.right-six:before {
	content: '';
	display: inline-block;
	vertical-align: top;
	height: 100%;
}
.main.style2.right-six .content {
  position: absolute;
  right: 35%;
   transition: right 0.5s ease;
}
.main.style2.inactive.right-six .content {
	right: 0%;
}

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

.responsive-img-max420 {
  width: 100%;
  height: auto;
  max-width: 420px;
}

.responsive-img-max220 {
  width: 100%;
  height: auto;
  max-width: 220px;
}

.responsive-img-max280 {
  width: 100%;
  height: auto;
  max-width: 680px;
  min-width: 240px;
}


#six-two .row.images .image {
	-moz-transition: all 1s ease;
	-webkit-transition: all 1s ease;
	-ms-transition: all 1s ease;
	transition: all 1s ease;
	-moz-transform: translateZ(0);
	-webkit-transform: translateZ(0);
	-ms-transform: translateZ(0);
	transform: translateZ(0);
	position: relative;
	top: 0;
	left: 0;
	opacity: 1.0;
}

#six-two .row.images.inactive .image {
	opacity: 0;
}

#six-two .row.images.inactive .image.from-left {
	left: -14em;
}

#six-two .row.images.inactive .image.from-right {
	left: 14em;
}

#six-two .row.images.inactive .image.from-top {
	top: -7em;
}

#six-two .row.images.inactive .image.from-bottom {
	top: 7em;
}

/* 講師紹介用・出張講座用 */
#photo-six3-2 {
	display:flex;
}
#photo-six3-3 {
	display:flex;
}

#photo-six3-3 ul{
	list-style-position: outside;
	list-style: disc;
	text-align:left;
}

#photo-six3-2.bgcolor{
	padding-right:100px;
	padding-left:100px;
 	background-color:#FFF5F2;
	text-align:left;
	font-family: 'ヒラギノ明朝 ProN W6', '游明朝', 'MS 明朝', serif;text-align:left;
	justify-content: center;
	margin: 0 auto;
	width:auto;
	/* width:75%; */
}

#photo-six3-3.bgcolor{
	padding-right:100px;
	padding-left:100px;
	background-color:#DFDFDF;
	text-align:left;
	font-family: 'ヒラギノ明朝 ProN W6', '游明朝', 'MS 明朝', serif;text-align:left;
	justify-content: center;
	margin: 0 auto;
	width:auto;
}

.six-header-h2{
	color:#000;
	font-size:2.8em;
	line-height:1.2em;	
	background-color:#ffffff80;
	padding:10px;
}
.six-header-h3{
	color:#000;
	font-size:1.8em;
	line-height:1.2em;	
	background-color:#ffffff80;
	padding:10px;
    text-align: start; /* ← これを追加 */
	margin-left:3em;
}

/*-----------------------------------------------------------------------------*/
.six-block1{
    display:flex;
    flex-direction: column;

	justify-content: center; /* ← これを追加して中央揃えに */
}

.six-02{
    display:grid;
    margin:5px;
	font-family: 'ヒラギノ明朝 ProN W6', '游明朝', 'MS 明朝', serif;
	font-size:1.2em;
}
.six-block{
    display:flex;
    flex-direction: row;
	justify-content: center; /* ← これを追加して中央揃えに */
}
.six-info{
    display:flex;
    font-size:3rem;
    width:400px;
}

.six-time-text-block{
	display: flex;
	align-items: center;   /* 高さを揃える（pタグの縦位置も中央に） */
	justify-content: center; /* 全体を中央寄せに */
	gap: 70px;            /* ← この行で間隔を100pxに */
}
.six-time-text-left{
	text-align: right;  /* 所要時間を右寄せ */
}
.six-time-text-right{
	text-align: left;   /* 45 - 60分を左寄せ */
}

.six-gallery-text{
  /* writing-mode: vertical-rl; */
	display: flex;             /* ← 追加 */
	justify-content: center; /* ← 縦書きでも行の配置に関与（方向による） */
	align-items: center;     /* ← 上詰めにするために追加 */
	font-size:1.3em;
	line-height:2;	
}

.txt-six-two {
    /* writing-mode: vertical-rl; */
	display: flex;             /* ← 追加 */
	align-items: flex-start;     /* ← 上詰めにするために追加 */	
	font-size: 1.3em;
	line-height: 2;
	text-align:left;
	justify-content: center;     /* ← 横方向（行の位置）を中央寄せ */
	margin-top:20px;
	margin-bottom:20px;
}

.six-block-right{
    display:grid;
    text-align:right;
    width:100%;
}
.six-block-center{
    display:block;
    text-align:right;
    width:100%;
}
.six-block-center2{
    display:flex;
    flex-direction: row;
    text-align:center;
    width:100%;
    justify-content: center; /* ← これを追加して中央揃えに */
	font-size:1.8em;
	font-weight:bold;
}
.six-block-fit{
    display:grid;
    margin:0px;
}
.photo-six3-center-top{
    display:flex;
    flex-direction: row;
	width:75%;
    justify-content: center; /* ← これを追加して中央揃えに */
    margin: 0 auto; /* ← 追加 */
    /*gap: 2rem;*/ /* ← 画像とテキストの間にスペースをつける（任意） */
}
.photo-six3-center{
    display:flex;
    flex-direction: row;
    justify-content: center; /* ← これを追加して中央揃えに */
    margin: 0 auto; /* ← 追加 */
    gap: 2rem; /* ← 画像とテキストの間にスペースをつける（任意） */
	color:#7f6a69;
	font-weight:bold;
	text-align:center;
}
.photo-six3-left{
    display:flex;
    flex-direction: row;
    justify-content: left; /* ← これを追加して中央揃えに */
    margin: 0 auto; /* ← 追加 */
    gap: 2rem; /* ← 画像とテキストの間にスペースをつける（任意） */
	color:#7f6a69;
	font-weight:bold;
	text-align:left;
	padding-left:50px;
	padding-right:50px;
}
.photo-six3-img{
    display:flex;
	text-align:center;
	align-items:center;
	justify-content: center; /* ← 横方向に中央寄せ */
}
.photo-six3-img img {
  display: inline-block;
}

.photo-six3-2-block{
	padding-left:9em;
}

.photo-six3-2-img{
    display:flex;
	text-align:center;
	align-items:center;
	justify-content: center; /* ← 横方向に中央寄せ */
	/* padding:0em 0em 0em 0em; */
}
.photo-six3-2-img img {
  display: inline-block;
  max-height:650px;
  width:auto;
}

.six3-top-block{
	margin-top:60px;
}

.six3-teacher{
	font-size:1.0em;
}

.info_button {
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
	-moz-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	background-color: #f18a70;
	border: 0;
	border-radius: 3.5em;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	height: 3.5em;
	line-height: 3.5em;
	outline: 0;
	padding: 0 2em 0 2em;
	position: relative;
	text-align: center;
	text-decoration: none;
	margin-top:var(--return-button-top);
	width:340px;
}
.info_button.isActive {
    background: #285296;
    color: #fff;
    pointer-events: none;
}

/*  [食品サンプル]の文字色とサイズを指定  */
.six-h2{
	text-align:left;
	font-size:1.8em;
}
.six-d2{
	text-align:left;
	font-size:1.2em;
}
.six-tel{
	padding-left:50px;
	padding-right:50px;
	padding-top:50px;
	font-size:1.0em;
}	
.six-insta{
	padding-left:100px;
	padding-right:100px;
	padding-top:50px;
	font-size:1.2em;
}
.six-info{
 display:flex;
}	

/* Cream-three  --> six */

#six h2 {
	color:#39454b;
	/* font-size:2.8em; */
	/* line-height:1.2em;	 */
	background-color:#ffffff80;
	padding:10px;
}

#six .txt-s1 {
	font-weight: bold;
	background-color:#ffffff80;
	padding:10px;
	font-size: 1.4em; 
}

#six p img {
	max-width: 100%;
}

#six h3 {
	border-top: 1px solid #c5b67c;
	border-bottom: 1px solid #c5b67c;
	font-size: 80%;
	line-height: 1.6;
	text-align: left;
	padding: 5px 0;
	margin: 0 10px 10px 10px;
}

#six .txt-s2 {
	font-size: 70%;
	line-height: 1.6;
	text-align: left;
	margin: 0 10px 30px 10px;
}

#six .txt-s5 {
	font-weight: bold;
}

#six .row.images .image {
	/* トランジション */
	transition: all 1s ease;
	transform: translateZ(0);

	/* 右上に配置 */
	position: absolute;
	top: 0;
	right: 2%;

	/* 縦書き設定 */
	/* writing-mode: vertical-rl; */
	text-orientation: mixed;

	/* 必要に応じて調整 */
	padding: 1em;
	margin: 0;

	/* 表示 */
	opacity: 1.0;
}

#six .row.images.inactive .image {
	position: relative;
	right: 60%;
	opacity: 1;
	transition: all 1s ease;
}

#six .row.images.inactive .image.from-right {
	right: -14em;
	opacity: 0;
}

#six .row.images.inactive .image.from-left {
	right: -14em;
}

/* -- Windows フルスクリーンの幅-- */
@media screen and (max-width: 1920px) {
	.six-text-container {
		height: 100%;
    	max-height: 100%; /* 短い方の高さに合わせる */
	}
	
	.photo-six3-2-block{
		padding-left:9em;
	}
	.photo-six3-2-img{
		padding:0em 0em 0em 0em;
	}

	#photo-six3-2.main.style3{
		/* padding:6em 0 6em 0;*//* style3の既定値 */
		padding:3em 1em 3em 1em;
	}
	#six-two-1920{
		display:flex;
	}
	#six-two-75{
		display:none;
	}

	.six-tel{
		padding-left:100px;
		padding-right:100px;
		padding-top:50px;
		font-size:1.2em;
	}	
	.six-insta{
		padding-left:100px;
		padding-right:100px;
		padding-top:50px;
		font-size:1.2em;
	}
	.six-h2{
		font-size:1.8em;
	}
	.six-d2{
		font-size:1.2em;
	}
	.container.six-menu {
		display:flex;
		margin: 0 auto; /* ★ これを追加して中央寄せ */
		width: unset;
		justify-content: center; /* ← これを追加して中央揃えに */
	}

	.six-block1{
		display:flex;
		flex-direction: column;
		width: unset;
		justify-content: center; /* ← これを追加して中央揃えに */
	}
	.six-block{
		display:flex;
		flex-direction: row;
		width: unset;
		justify-content: center; /* ← これを追加して中央揃えに */	
	}
	.six-block-center{
		display:block;
		flex-direction: row;
		text-align:right;
	}
	.six-block-center2{
		display:flex;
		flex-direction: row;
		text-align:center;
	}
	.responsive-img {
		width: 100%;
	}
}

@media screen and (max-width: 1680px) {
	.photo-six3-2-block{
		padding-left:5em;
	}
	.photo-six3-2-img{
		padding:0em 0em 0em 0em;
	}
	#six-two-1920{
		display:none;
	}
	#six-two-75{
		display:flex;
	}
	#photo-six3-2.main.style3{
		/* padding:6em 0 6em 0;*//* style3の既定値 */
		padding:3em 1em 3em 1em;
	}
	.flex-container {
		flex-direction: row;
	}
	.main.style2 {
		/* padding: 12em 15px 6em 15px; */
		min-height: 400px;
		/* padding: 0 15px; */
		background-size: cover;
		background-position: center;
	}
}

@media screen and (max-width: 1280px) {
	#six {
		height: 120%;
		overflow:hidden;
	}
	#six h2 {
		font-size: min(3em, 4vw);
	}
	#six .txt-s1 {
		font-size: min(2.0em,2.6vw);
	}	
	.photo-six3-2-block{
		padding-left:0em;
	}
	.photo-six3-2-img{
		padding:0em 0em 0em 0em;
	}
	#six-two-1920{
		display:none;
	}
	#six-two-75{
		display:flex;
	}

	#photo-six3-2.main.style3{
		/* padding:6em 0 6em 0;*//* style3の既定値 */
		padding:3em 1em 3em 1em;
	}
	.flex-container {
		flex-direction: row;
	}
	.main.style2 {
		/* padding: 12em 15px 6em 15px; */
		min-height: 400px;
		/* padding: 0 15px; */
		background-size: cover;
		background-position: center;
	}

	.container.six-menu {
		width: unset;
		display:flex;
		margin: 0 auto; /* ★ これを追加して中央寄せ */
		justify-content: center; /* ← これを追加して中央揃えに */
	}
	.six-block1{
		display:flex;
		flex-direction: column;
	}
	.six-block{
		display:flex;
		flex-direction: row;
	}
	.six-block-center2{
		display:flex;
		flex-direction: column;
		text-align:center;
	}
	.photo-six3-center{
		display:flex;
		flex-direction: row;
		text-align:center;
		width:75%;
		justify-content: center; /* ← これを追加して中央揃えに */
	}
	.photo-six3-left{
		display:flex;
		flex-direction: row;
		justify-content: left; /* ← これを追加して中央揃えに */
		margin: 0 auto; /* ← 追加 */
		gap: 2rem; /* ← 画像とテキストの間にスペースをつける（任意） */
		font-weight:bold;
		padding-left:0px;
		padding-right:0px;
	}
	.six-h2{
		font-size:1.2em;
	}
	.six-d2{
		font-size:0.9em;
	}

	.responsive-img {
		width: 80%;
	}

	.six-time-text-block{
		gap: 20px;            /* ← この行で間隔を100pxに */
	}
	.six3-top-block{
		margin-top:10px;
	}
}

@media(min-width: 768px){
  a[href^="tel:"]{
    pointer-events: none;
  }
}

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

	#six .six-inner {
	margin-left: 0%;       /* 位置を寄せたいだけなら margin/padding が無難 */
	margin-top:0%;
	/* 必要なら幅も調整
	max-width: 40rem;
	*/
	}	
	
	.photo-six3-2-block{
		padding-left:0em;
	}
	.photo-six3-2-img{
		padding:0em 0em 0em 0em;
	}
	#six-two-1920{
		display:none;
	}
	#six-two-75{
		display:flex;
	}
	#six-two-75 .container-top-space{
		margin-top:20px;
	}
	.flex-container {
		flex-direction: column-reverse; 
	}	
	.main.style2 {
		/* padding: 12em 15px 6em 15px; */
		min-height: 400px;
		/* padding: 0 15px; */
		background-size: cover;
		background-position: center;
	}		
	.container.six-menu {
		width: unset;
		display:flex;
		margin: 0 auto; /* ★ これを追加して中央寄せ */
		justify-content: center; /* ← これを追加して中央揃えに */
	}		
	.six-block1{
		display:flex;
		flex-direction: column;
	}
	.six-block{
		display:flex;
		flex-direction: column;
	}
	.six-block-center2{
		display:flex;
		flex-direction: column;
		text-align:center;
	}
	.photo-six3-center{
		display:flex;
		flex-direction: column;
		text-align:center;
		width:75%;
		justify-content: center; /* ← これを追加して中央揃えに */
	}
	.photo-six3-left{
		display:flex;
		flex-direction: row;
		justify-content: left; /* ← これを追加して中央揃えに */
		margin: 0 auto; /* ← 追加 */
		gap: 2rem; /* ← 画像とテキストの間にスペースをつける（任意） */
		color:#7f6a69;
		font-weight:bold;
		text-align:left;
		padding-left:0px;
		padding-right:0px;
	}
	.six-h2{
		font-size:1.2em;
	}
	.six-d2{
		font-size:0.9em;
	}

	.six-text-container .six-header-h2 {
		right: var(--text-left-h2);
		font-size: max(17px, 5vw);
	}
	.six-text-container .six-header-h3 {
		left: var(--text-left-h2);
		font-size: max(13px, 4vw);
	}

	.responsive-img {
		width: 80%;
	}
}


/* -- スマホ 縦長の幅-- */
@media screen and (max-height: 600px) {
	.photo-six3-2-img{
		padding:0em 0em 0em 0em;
	}
}


/* -- スマホ 縦長の幅-- */
@media screen and (max-width: 560px) {
	#six {
		height: 75%;
		overflow:hidden;
	}	
	.photo-six3-2-block{
		padding-left:0em;
	}
	.photo-six3-2-img{
		padding:0em 0em 0em 0em;
	}
	#six-two-1920{
		display:none;
	}
	#six-two-75{
		display:flex;
	}

	.style-sample .content .sample-head {
		/* top: 20%; */
		left: 2%;
		right: 2%;
	}
	.style-sample .content .sample-sub {
		left: 2%;
		right: 2%;
	}

	#six h2 {
		font-size: 1.3em;
	}
	#six .txt-s1 {
		font-size: 1em;
	}

	.flex-container {
		flex-direction: column-reverse; /* 上下逆転 */
	}
	/* #six.main.fullscreen{
		height:200px;
	} */
	.main.style2 {
		/* padding: 12em 15px 6em 15px; */
		min-height: 400px;
		/* padding: 0 15px; */
		background-size: cover;
		background-position: center;
	}		
	.main.style3 {
		text-align: center;
		/* padding: 3em 10px 3em 10px; */
		min-height: 400px;
		/* padding: 0 15px; */
		background-size: cover;
		background-position: center;
	}

	.six-h2{
		font-size:1.2em;
	}
	.six-d2{
		font-size:0.9em;
	}
	.six-tel{
		padding-left:10px;
		padding-right:10px;
		padding-top:10px;
		font-size:0.7em;
	}	
	.six-insta{
		padding-left:100px;
		padding-right:100px;
		padding-top:10px;
		font-size:0.7em;
	}
	.container.six-menu {
		width: unset;
		justify-content: center; /* ← これを追加して中央揃えに */
	}	

	.six-block1{
		display:flex;
		flex-direction: column;
	}
	.six-block{
		display:flex;
		flex-direction: column;
	}
	.six-block-center2{
		display:flex;
		flex-direction: column;
		text-align:center;
	}
	.photo-six3-center{
		display:flex;
		flex-direction: column;
		text-align:center;
		width:75%;
		justify-content: center; /* ← これを追加して中央揃えに */
	}
	.photo-six3-left{
		display:flex;
		flex-direction: row;
		justify-content: left; /* ← これを追加して中央揃えに */
		margin: 0 auto; /* ← 追加 */
		gap: 2rem; /* ← 画像とテキストの間にスペースをつける（任意） */
		font-weight:bold;
		padding-left:0px;
		padding-right:0px;
	}

	#photo-six3-2.bgcolor{
		padding-right:10px;
		padding-left:10px;
	}

	#photo-six3-3.bgcolor{
		padding-right:10px;
		padding-left:10px;
	}

  .responsive-img {
    width: 100%;
  }
  .image img {
	width:100%;
   }

	/*-  スライド内の文字列装飾 -*/	

	.six-gallery-text{
		/* writing-mode: vertical-rl; */
		/* justify-content: left; */
		display: flex;             /* ← 追加 */
		justify-content: flex-start; /* ← 縦書きでも行の配置に関与（方向による） */
		align-items: flex-start;     /* ← 上詰めにするために追加 */
		height:400px;
		width:400px;
		color:#000;
		font-size:1.5em;
		line-height:1.0em;
	}
}
