@charset "UTF-8";

/* 基本 */
:root {
	--v-space: clamp(90px, 7vw, 120px);
	--v-space2: clamp(40px, 7vw, 90px);

	/*color-admin*/
	--txt-color:#222222;
	--base-color:#FFF;
	--main-color:#458C47;
	--accent-color1:#D368A4;
	--accent-color2:#F18D00;
}

body {
	margin: 0;
	color: var(--txt-color);
	font-family: sans-serif;
	background-color: var(--base-color);

	/*iPhone横向き時の文字サイズ対応*/
	-webkit-text-size-adjust:100%;

	/*印刷時に背景が出るように*/
	-webkit-print-color-adjust: exact;
	print-color-adjust: exact;

}
h1, h2, h3, h4, h5, h6, p, figure, ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

p {
	line-height: 1.7;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	filter: brightness(90%) contrast(120%);
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

/* 横幅と左右の余白 */
.w-container {
	/*width: min(92%, 1166px);*/	/*テンプレ初期値*/
	width: min(92%, 1000px);
	margin: auto;
	position: relative;
}

/* H1 */
h1{
	margin-top: 0;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
	font-size: 10px;
	color: var(--txt-color);
	font-weight: normal;
	background-color: #EEE;
}

/* メインビジュアル */
.hero-container {
	display: grid;
	justify-items: center;
	align-content: center;
	height: 100%;
	width: 100%;
	background-color: #fff;
}

picture.main-v{
	margin:0 auto;
	display: block;
	position: relative;
	box-sizing: border-box;
}
picture.main-v img{
	width: 100vw;
	object-fit: cover;
}

/* ボタン */
.btn {
	display: block;
	width: 260px;
	padding: 10px;
	box-sizing: border-box;
	border-radius: 4px;
	background-color: #e8b368;
	color: #ffffff;
	font-size: 18px;
	text-align: center;
	text-shadow: 0 0 6px #00000052;
}

.btn-accent {
	background-color: #b72661;
}

/* 画像とテキスト */
.imgtext {
	padding:clamp(45px, 7vw, 60px) 0;
	background-color: rgba(255, 255, 255, 0.7);
}

.imgtext + .imgtext {
	padding-top: 0;
}

.imgtext-container {
	display: flex;
	flex-direction: column;
	/*gap: clamp(45px, 6vw, 80px);*/	/* テンプレ初期値 */
	gap: clamp(25px, 6vw, 35px);
}


@media (min-width: 568px) {
	.imgtext-container {
		flex-direction: row;
		align-items: center;
	}

	.imgtext-container.reverse {
		flex-direction: row-reverse;
	}

	.imgtext-container > .text {
		flex: 1;
		min-width: 17em;
  	}

	.imgtext-container > .img {
		/*flex: 2;*/	/* テンプレ初期値 */
		flex: 1.8;
	}
}


/* タイトルとサブタイトル（短い線で装飾） */
.heading-decoration {
	font-size: clamp(25px, 3vw, 30px);
	min-height: 0vw;
	font-weight: 400;
	color: #444;
}

.heading-decoration::after {
	display: block;
	content: '';
	width: 160px;
	height: 0px;
	border-top: solid 1px var(--main-color);
	margin-top: 0.6em;
}

.heading-decoration + p {
	margin-top: 0.5em;
	margin-bottom: 1em;
	color: var(--txt-color);
	font-family: "Montserrat", sans-serif;
	font-size: 15px;
}

@media screen and (max-width: 568px) {
	.heading-decoration {
		text-align:center;
	}
	.heading-decoration::after {
		margin-right:auto;
		margin-left:auto;
	}
	.heading-decoration + p {
		text-align:center;
	}
}


/* 記事一覧 */
.posts {
	padding: var(--v-space) 0;
	background-color: #f3f1ed;
}

.posts-container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px 10px;
}

@media (min-width: 568px) {
	.posts-container {
		grid-template-columns: repeat(3, 1fr);
	}
}


/* 記事一覧の中身 */

.post a {
	display: block;
}

.post h4 {
	/*margin: 1em 0 0.5em;*/
	font-size: clamp(15px, 2vw, 20px);
	min-height: 0vw;
	text-align: center;
}

.post p {
	max-width: 20em;
	font-size: clamp(10px, 1.6vw, 14px);
	min-height: 0vw;
}

.post img {
	/*aspect-ratio: 3 / 2;*/
	object-fit: cover;
	width: 100%;
}
.post2 img {
	border: 3px solid #FFF;
}

@supports not (aspect-ratio: 3 / 2) {
	.post img {
		height: 180px;
	}
}


/* パーツの見出し */
.heading {
	position: absolute;
	top: calc((var(--v-space) + 0.7em) * -1);
	font-family: "Montserrat", sans-serif;
	/*font-size: clamp(40px, 5.2vw, 70px);*/	/*テンプレ初期値*/
	font-size: clamp(35px, 4vw, 55px);
	min-height: 0vw;
	font-weight: 400;
	color: var(--main-color);
}
.heading span {
	display: block;
	color: #454545;
	font-size: clamp(17px, 1.5vw, 25px);
	font-weight: 400;
}

/* 下層 */
.lowerPage-heading-decoration{
	font-size: clamp(23px, 2.4vw, 33px);
	min-height: 0vw;
	text-align:center;
	font-weight: 400;
	line-height: 1.3;
	/*color: #26a5b3;*/
	color: #444;
	margin-top: 2em;
	font-family: 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic',arial,helvetica,clean,sans-serif;
}
.lowerPage-heading-decoration::after {
	display: block;
	content: '';
	width: 160px;
	height: 0px;
	border-top: solid 1px var(--main-color);
	margin-top: 0.2em;
	margin-right:auto;
	margin-left:auto;
}
.lowerPage-heading-decoration + p {
	margin-top: 0.5em;
	margin-bottom: 2em;
	color: #707070;
	text-align:center;
	font-family: "Montserrat", sans-serif;
	font-size: 15px;
}


.entry {
	/*padding-bottom: var(--v-space);*/	/*初期値*/
	padding-bottom: 0;
}

.entry-img img {
	width: 100%;
	/*max-height: 400px;*//*下層ページビジュアル*/
	object-fit: cover;
	margin-bottom: 0;
}

.entry .w-container {
	max-width: 720px;
	padding: 30px 0 var(--v-space) 0;
}

.entry .heading-decoration {
	font-size: clamp(23px, 6.25vw, 33px);
}

.entry-container {
	font-size: clamp(15px, 2.4vw, 16px);
	margin: 20px auto;
}

.entry-container :where(h1, h2, h3, h4, h5, h6, p, figure, ul) {
	margin-top: revert;
	margin-bottom: revert;
	padding: revert;
	list-style: revert;
}

.entry-container p {
	margin: 1.8em 0;
}

.entry-container > :first-child {
	margin-top: 0;
}

.entry-container > :last-child {
	margin-bottom: 0;
}



/* プラン */
.plans {
	padding: var(--v-space) 0;
	background-color: #fff;
}

.plans-container {
	display: grid;
	gap: 27px;
}

@media (min-width: 568px) {
	.plans-container {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* プラン：カード */
.plan {
	display: flex;
	flex-direction: column;
	padding: 15px 20px;
	border-radius: 15px;
	background-color: #ffffff;
}

.plan h4 {
	margin-bottom: 10px;
	font-family: "Montserrat", sans-serif;
	font-size: 19px;
	font-weight: 400;
	color: #bf628a;
	border-top: 3px double #84ccb4;
	border-bottom: 3px double #84ccb4;
}

.plan .desc {
	margin-bottom: 15px;
	font-size:15px;
	line-height:1.4;
}

.plan .price {
	margin-top: auto;
	margin-bottom: 5px;
	font-size: 25px;
	/*font-weight: bold;*/
	font-family: Arial, "Montserrat", sans-serif;
}

.plan .btn {
	width: auto;
}
