@charset "UTF-8";

/* 基本 */
:root {
	--v-space: clamp(90px, 7vw, 120px);
	--v-space2: clamp(45px, 7vw, 90px);
	--v-space3: clamp(35px, 5vw, 70px);

	/*color-admin*/
	--txt-color:#222222;
	--base-color:#FFFFFF;

	--main-color: #0f976b;
	--accent-color1: #e1b8ba;
	--accent-color2: #105542;
	--accent-color3: #a15356;

	--support-color1: #78bea8;

	--header-margin:60px;
}

html, body { overflow-x: hidden; }

body {
	margin: 0;
	color: var(--txt-color);
	font-family: sans-serif;
	background-color: var(--base-color);

	/*iPhone横向き時の文字サイズ対応*/
	-webkit-text-size-adjust:100%;

	scroll-behavior: smooth;

}
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;
}

/* 用紙サイズの指定（A4） */
@page {
	margin: 10mm;
	size: 210mm 297mm; /* A4縦サイズの場合 */
  }
  @media print {
	/* 全体設定 */
	body {
	  -webkit-print-color-adjust: exact; /* 印刷時でも背景色や背景画像を表示 */
	  print-color-adjust: exact;
	  zoom: 0.8; /* なるべく多くのブラウザで切れないようにするため */
	}
	/* メインビジュアルのサイズ調整 */
	.hero{
	  zoom: 1.5;
	}
	.new-page {
		page-break-before: always; /* 特定の場所で改ページを入れたいときの指定 */
	  }
  }

/* 横幅と左右の余白 */
.w-container {
	/*width: min(92%, 1166px);*/	/*テンプレ初期値*/
	width: min(92%, 1228px);
	margin: auto;
	position: relative;
}
.w-container_inner {
	/*width: min(92%, 1166px);*/	/*テンプレ初期値*/
	width: min(92%, 1000px);
	margin: auto;
	position: relative;
}
.w-container_780 {
	/*width: min(92%, 1166px);*/	/*テンプレ初期値*/
	width: min(100%, 780px);
	margin: auto;
	position: relative;
}

/* H1 */
h1{
	margin-top: 0;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
	font-size: 11px;
	font-weight: normal;
	/*background-color: var(--main-color);*/
	background-color: #8686861f;
	color: #8c8c8c;
}
@media (max-width: 568px) {
	h1{
		display: none;
	}
}

/* メインビジュアル */
@media (max-width: 568px) {
	.hero{	
		margin-top: var(--header-margin);	/*ロゴの高さ分メインビジュアルの上に空白*/
	}
}
.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;
	z-index: 1;
	box-sizing: border-box;
}
picture.main-v img{
	width: 100vw;
	object-fit: cover;
}

/* セクション背景 */

section:has(> img.hasimg) {
	position: relative;
	overflow: hidden;
	clip-path: inset(0);
}

/* 印刷時には背景画像を非表示にする */
@media print{
	section > img.hasimg {
		display: none !important;
	}
}

section > img.hasimg {
	position: fixed;
	inset: 0;
	inline-size: 100%;
	block-size:100lvb;
	/*top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;*/
	object-fit: cover;
	z-index: -1;
}

/* 高コントラストモードを考慮 */
 @media (forced-colors: none) {
	section > img.hasimg {
		outline: none;
	}
 }

/* ボタン */
.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;
}

/* 画像とテキスト */
.imgtext0 {
	padding:0;
}
.imgtext {
	padding:clamp(45px, 7vw, 60px) 0;
}
.imgtext_bg{
	background-color: rgba(255, 255, 255, 0.7);
}
.imgtext + .imgtext {
	padding-top: 0px;
}
@media only screen and (max-width: 767px) {
	.imgtext + .imgtext {
		padding-top: 50px;
	}
}


.imgtext-container {
	display: flex;
	flex-direction: column;
	/*gap: clamp(45px, 6vw, 80px);*/	/* テンプレ初期値 */
	gap: clamp(25px, 6vw, 35px);
}

.imgtext-container img{	
	margin: 0px auto;
}

.imgtext-container > .img2{
	outline: 12px solid #ffffff69;
	outline-offset: -12px;
}

@media print, screen and (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;
	}
	.imgtext-container > .img2 {
		/*flex: 2;*/	/* テンプレ初期値 */
		flex: 1;
		outline: 12px solid #ffffff69;
		outline-offset: -12px;
	}
}


/* タイトルとサブタイトル（短い線で装飾） */
.heading-decoration {
	font-size: clamp(25px, 2.7vw, 30px);
	min-height: 0vw;
	font-weight: 400;
	color: #444;
	font-family: 'Noto Serif JP', serif;
}
.heading-decoration::after {
	display: block;
	content: '';
	width: 160px;
	height: 0px;
	border-top: solid 1px var(--main-color);
	margin-top: 0.3em;
}
.heading-decoration + p {
	margin-top: 0.5em;
	margin-bottom: 1em;
	color: var(--main-color);
	font-family: "Zen Kaku Gothic New", serif;
	font-size: clamp(13px, 1.5vw, 16px);
}

@media screen and (max-width: 767px) {
	.heading-decoration {
		text-align:center;
	}
	.heading-decoration::after {
		margin-right:auto;
		margin-left:auto;
	}
	.heading-decoration + p {
		text-align:center;
	}
}

/*+pいらない*/
.heading-decoration2 {
	/* font-size: clamp(25px, 3vw, 30px); */
	font-size: clamp(25px, 2.7vw, 33px); /* 今回のみ */
	min-height: 0vw;
	font-weight: 500;
	color: #444;
	font-family: 'Noto Serif JP', serif;
	line-height: 1.3;
}
.heading-decoration2::after {
	display: block;
	content: '';
	width: 160px;
	height: 0px;
	border-top: solid 1px var(--main-color);
	margin-top: 0.3em;
	margin-bottom: 1em;
}
@media screen and (max-width: 767px) {
	.heading-decoration2 {
		text-align:center;
	}
	.heading-decoration2::after {
		margin-right:auto;
		margin-left:auto;
	}
}

/*↓文字が白の時↓*/
.colorWhite.heading-decoration2::after {
	display: block;
	content: '';
	width: 160px;
	height: 0px;
	border-top: solid 1px var(--accent-color2);
	margin-top: 0.3em;
	margin-bottom: 1em;
}


/* 記事一覧 */
.posts {
	padding: var(--v-space) 0;
	background-color: #f3f1ed;
}

.posts-container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px 10px;
}

@media (min-width: 568px) {
	.posts-container {
		grid-template-columns: repeat(4, 1fr);
	}
}



/* 記事一覧の中身 */

.post a {
	display: block;
}

.post h4 {
	margin: 0.2em 0 0.2em;
	padding: 0.2em;
	font-size: clamp(15px, 2vw, 16px);
	text-align: center;
	line-height: 1.3;
}

.post p {
	font-size: clamp(10px, 1.6vw, 14px);
	min-height: 0vw;
}

.post img {
	/* aspect-ratio: 3 / 2; */
	object-fit: cover;
	width: 100%;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.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, 3.5vw, 50px);
	min-height: 0vw;
	font-weight: 500;
	/* color: var(--main-color); */
}
.heading span {
	display: block;
	color: #454545;
	font-size: clamp(17px, 1.5vw, 20px);
	font-weight: 400;
}

/* 下層 */
.lowerPage-heading-decoration{
	font-size: clamp(25px, 2.4vw, 33px);
	min-height: 0vw;
	text-align:center;
	font-weight: 400;
	line-height: 1.3;
	/*color: #26a5b3;*/
	color: #444;
	/* padding-top: 2em; */
	font-family: 'Noto Serif JP', 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;
}
/*↓文字が白の時↓*/
.colorWhite.lowerPage-heading-decoration::after {
	display: block;
	content: '';
	width: 3em;
	height: 0px;
	/*border-top: double .1em #b5b5b5;*/
	border-top: double .1em var(--main-color);
	border-radius: 0.1em;
	margin-top: 0.2em;
	margin-right:auto;
	margin-left:auto;
	border-radius: .1em;
}
.lowerPage-heading-decoration + p {
	margin-top: 0.5em;
	margin-bottom: 2em;
	color: #5e5e5e;
	text-align:center;
	/*font-family: "Montserrat", sans-serif;*/
	font-family: "Zen Kaku Gothic New", serif;
	font-size: clamp(13px, 1.5vw, 15px);
}
.lowerPage-heading-decoration + p.lhtcj {
	margin-top: 0.9em;
	margin-bottom: 2em;
	color: #5e5e5e;
	text-align: center;
	line-height: 1.5;
	font-family: "Zen Kaku Gothic New", serif;
	font-size: clamp(13px, 1.5vw, 15px);
}
@media (max-width: 868px) {
	.lowerPage-heading-decoration + p.lhtcj {
		text-align: justify;
	}
}
/* 印刷用 */
@media print {
	.lowerPage-heading-decoration + p.lhtcj {
		margin-top: 0.9em;
		margin-bottom: 2em;
		color: #5e5e5e;
		text-align: center;
		line-height: 1.5;
		font-family: "Zen Kaku Gothic New", serif;
		font-size: clamp(13px, 1.5vw, 15px);
	}
}


@media (max-width: 568px) {
	.entry_mar{	
		margin-top: var(--header-margin);	/*ロゴの高さ分メインビジュアルの上に空白*/
	}
}

.entry {
	/*padding-bottom: var(--v-space);*/	/*初期値*/
	padding-bottom: 0;
	background-color: var(--base-color);
	position: relative;
	z-index: 1;
}

.entry-img img {
	width: 100%;
	/*max-height: 400px;*//*下層ページビジュアル*/
	object-fit: cover;
	margin-bottom: 0;
}

.entry .w-container {
	/* max-width: 720px; */	/*テンプレ初期*/
	max-width:920px;
	/* padding: 30px 0 var(--v-space) 0; */
	padding: 30px 0 clamp(45px, 7vw, 120px) 0;
}

.entry .heading-decoration {
	font-size: clamp(25px, 2.4vw, 33px);
}

.entry-container {
	font-size: clamp(15px, 2.4vw, 16px);
	margin: 20px auto;
}

.entry-container :where(h1, h2, h3, h4, h5, h6, figure,p, 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;
}
