﻿@charset "utf-8";
/* CSS Document */

body {
  background:
    linear-gradient(to bottom, rgba(255,255,255,0) 0, rgba(255,255,255,0.75) 650px, #fff 1000px),
    #fad6df url("../images/bg01.png") no-repeat top right;
}

.footerFixed {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

header {
	grid-area: header-contents;
	margin: 0 auto;
	padding: 30px;
  max-width: 1150px;
}

header img {
	width: 100%;
	height: auto;
	max-width: 1200px;
}

.footerFixed > div {
  background: url("../images/bg03.png") no-repeat top center;
  background-size: auto min(1000px, 100vw);
	display: flex;
	flex-direction: column;
	flex: 1;
}

.footerFixed > div > div {
	display: flex;
	flex: 1;
}

#contents {
	flex: 1;
}

#middle-contents {
	background: linear-gradient(to bottom, rgba(255,255,255,0.6) 0, #FFF 500px, #FFF 100%);
	box-shadow: 0 10px 26px rgba(182,62,123,0.12);
	padding: 40px;
	display: flex;
	flex-direction: column;
}

#main_in {
	line-height: 1.7em;
	padding: 30px 0;
	flex: 1;
}

/* 表示領域が991.98px以下の場合に適用するスタイル */
@media print, screen and (max-width: 991.98px) {
	#contents {
		width: 100%;
		display: grid; 
		grid-template-columns: 1fr; 
		grid-template-rows: min-content 1fr;
		gap: 0px 0px; 
		grid-template-areas: 
			"left-contents"
			"middle-contents";
	}
}

/* 表示領域が767.98px以下の場合に適用するスタイル */
@media print, screen and (max-width: 767.98px) {
	header {
		padding: 20px 15px;
	}
}

/* 表示領域が575.98px以下の場合に適用するスタイル */
@media print, screen and (max-width: 575.98px) {
header {
	padding: 15px;
}
	#middle-contents {
		padding: 10px;
	}
	#main_in {
		padding: 10px 0;
	}
}

/* 表示領域が992px以上の場合に適用するスタイル */
@media screen and (min-width: 992px) {
	#contents {
		width: 100%;
		max-width: 1200px;
		margin: 0 auto;
		display: grid; 
		grid-template-columns: 250px 1fr; 
		grid-template-rows: 1fr; 
		grid-template-areas: 
			"left-contents middle-contents";
	}

	#left-contents {
		padding: 30px 15px 24px;
		background: #CD7AA0;
	}
}
