@charset "UTF-8";

body	{margin: 0;
	font-family: 'メイリオ', 'Hiragino Kaku Gothic Pro', sans-serif}


/* 基本 */
.curry * {
	margin: 0;
}

.curry img	{
	width: 100%;
	height: auto;
	vertical-align: bottom;
}


/* グリッド */
.curry {
	--sideLR: 20px;
	--sideTB: 40px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 170px auto 100px;
	margin: var(--sideTB) var(--sideLR);
	font-family: 'Noto Sans Japanese', sans-serif;
}

/* 画像 */
.curry-photo {
	grid-column: 1 / -1;
	grid-row: 2;
	justify-self: center;
	align-self: center;
	width: 60%;
}

/* 日本語のテキスト */
.curry-jp {
	grid-column: 2;
	grid-row: 1 / 3;
	justify-self: end;
	align-self: start;
	writing-mode: vertical-rl;

	/* テキストのグリッド */
	display: grid;
	grid-row-gap: 15px;
}

.curry-jp h2 {
	font-size: 42px;
	font-weight: 900;
	line-height: 1.2;
}

.curry-jp p:nth-of-type(1) {
	font-size: 16px;
	font-weight: 700;
	color: #444;
}

.curry-jp p:nth-of-type(2) {
	font-size: 14px;
	font-weight: 300;
	line-height: 1.8;
	height: 12em;
}


/* 日本語のメモ */
.curry-jp-memo {
	grid-column: 2;
	grid-row: 3;
	justify-self: end;
	align-self: end;
	width: 200px;
	padding: 10px;
	box-sizing: border-box;
	border: solid 1px #aaa;
	font-size: 12px;
	font-weight: 200;
	line-height: 1.5;
}

/* 英語のテキスト */
.curry-en {
	grid-column: 1;
	grid-row: 1 / 3;
	justify-self: start;
	align-self: start;
	color: #fff;
	font-family: 'Montserrat', sans-serif;

	/* テキストのグリッド */
	display: grid;
	grid-row-gap: 15px;
}

.curry-en h2 {
	font-size: 40px;
	font-weight: 700;
}

.curry-en p:nth-of-type(1) {
	font-size: 16px;
	font-weight: 500;
}

.curry-en p:nth-of-type(2) {
	font-size: 14px;
	font-weight: 300;
	width: 50%;
}


/* 英語のメモ */
.curry-en-memo {
	grid-column: 1;
	grid-row: 3;
	justify-self: start;
	align-self: end;
	width: 200px;
	padding: 10px;
	box-sizing: border-box;
	border: solid 1px #aaa;
	color: #fff;
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	font-weight: 300;
	line-height: 1.5;
}

/* 黒色の背景 */
.curry::after {
	grid-column: 1;
	grid-row: 1 / -1;
	z-index: -1;
	content: '';
	background-color: #600;
	margin-left: calc( var(--sideLR) * -1 );
	margin-top: calc( var(--sideTB) * -1 );
	margin-bottom: calc( var(--sideTB) * -1 );
}


/* ##### 画面の横幅1000ピクセル以上 ##### */
@media (min-width: 1000px) {
	.curry {
		--sideLR: calc( (100vw - 960px) / 2 );
	}
}

/* ##### 画面の横幅767ピクセル以下 ##### */
@media (max-width: 767px) {
	.curry {
		grid-template-columns: 1fr;
		grid-template-rows: repeat(6, auto);
	}

	/* 日本語のテキスト */
	.curry-jp {
		grid-column: 1;
		grid-row: 1;
		writing-mode: horizontal-tb;
	}

	.curry-jp p:nth-of-type(2) {
		height: auto;
	}

	/* 日本語のメモ */
	.curry-jp-memo {
		grid-column: 1;
		grid-row: 2;
		justify-self: stretch;
		width: auto;
		margin-top: 15px;
	}

	/* 画像 */
	.curry-photo {
		grid-column: 1;
		grid-row: 3 / 5;
		width: 80%;
		margin: 30px 0;
	}

	/* 英語のテキスト */
	.curry-en {
		grid-column: 1;
		grid-row: 5;
	}

	.curry-en p:nth-of-type(2) {
		width: auto;
	}

	/* 英語のメモ */
	.curry-en-memo {
		grid-column: 1;
		grid-row: 6;
		justify-self: stretch;
		width: auto;
		margin-top: 15px;
	}

	/* 黒色の背景 */
	.curry::after {
		grid-column: 1;
		grid-row: 4 / -1;
		margin-top: 0;
		margin-right: calc( var(--sideLR) * -1 );
	}


}

