@charset "UTF-8";

/* 基本 */
:root {
	--v-space: clamp(90px, 9vw, 120px);
	--v-space2: clamp(45px, 9vw, 60px);

	/*color-admin*/
	--txt-color:#222222;
	--base-color: #fffefa;
	--main-color: #628582;
	--accent-color1: #2f8f7b;
	--accent-color2: #B68D6D;
	--accent-color3: #e8fcf8;
	--sub-color1: #2f4c6b;
	--sub-color2: #6fae9f;
	--header-margin:60px;
	--title-font: normal 500 1em "Zen Kaku Gothic New", serif;
}


body {
	margin: 0;
	color: var(--txt-color);
	font-family: sans-serif;
	background-color: var(--base-color);
	-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; 初期値*/
	line-height: 1.8;
	letter-spacing: 0.06em;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	filter: brightness(90%) contrast(120%);
}

img {
	display: block;
	max-width: 100%;
	height: auto;
	/* border-radius: 25px; */
}

/* 用紙サイズの指定（A4） */
@page {
	margin: 10mm;
	size: 210mm 297mm; /* A4縦サイズの場合 */
}
@media print {
	/* 全体設定 */
	body {
		-webkit-print-color-adjust: exact; /* 印刷時でも背景色や背景画像を表示 */
		print-color-adjust: exact;
		/*width: 1920px;*/ /* 印刷時の全ページ幅を統一（px数値はお好みで） */
		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(92%, 780px);
	margin: auto;
	position: relative;
}

/* H1 */
h1{
	margin-top: 0;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
	font-size: 11px;
	color: var(--txt-color);
	font-weight: normal;
	background-color: var(--accent-color3);
	color:var(--txt-color);
}
@media only screen and (max-width: 768px) {
	h1{
		display: none;
	}
}

/* メインビジュアル */
@media only screen and (max-width: 768px) {
	.hero{	
		margin-top: var(--header-margin);	/*ロゴの高さ分メインビジュアルの上に空白*/
	}
}
.hero-container {
	display: grid;
	justify-items: center;
	align-content: center;
	height: 100%;
	width: 100%;
}

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);
}

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;
  }
  .btn-accent2 {
	  background-color: var(--accent-color1);
  }

  /* ボタン アウトラインと➡ */
  .pocket-btn-outline {
	  display: inline-flex;
	  align-items: center;
	  justify-content: center;
	  padding: 0.6em 1.5em;
	  border: 2px solid var(--main-color);
	  border-radius: 999px;
	  color: var(--main-color);
	  font-size: 1rem;
	  font-weight: bold;
	  text-decoration: none;
	  transition: background-color 0.3s ease, color 0.3s ease;
	  line-height: 1.6;
  }

.pocket-btn-arrow {
	margin-left: 0.75em;
	font-size: 1.1em;
	transition: transform 0.3s ease;
}

.pocket-btn-outline:hover .pocket-btn-arrow {
	transform: translateX(4px);
}

/* 画像とテキスト */
.imgtext {
	padding:clamp(45px, 7vw, 60px) 0;
}
/* スマホの上下幅調整 */
@media (max-width: 768px) {
	.imgtext {
		padding-top: clamp(45px, 7vw, 60px);
		padding-bottom: calc(clamp(45px, 7vw, 60px) * 1.7) !important;
	}

	.imgtext-container {
		gap: calc(clamp(45px, 6vw, 80px) * 0.6) !important;
	}
}

.imgtext2 {
	padding:0 0;
}
.imgtext_bgcolor_non{	
	background-color: rgba(255, 255, 255, 0);
}
.imgtext_bgcolor_white{	
	background-color: rgba(255, 255, 255, 0.9);
}

.imgtext + .imgtext {
	padding-top: 0;
}

.imgtext-container {
	display: flex;
	flex-direction: column;
	gap: clamp(45px, 6vw, 80px);	/* テンプレ初期値 */
	/*gap: clamp(25px, 6vw, 35px);*/
}


@media print, screen and (min-width: 768px) {
	.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.4;
	}
}

/* 文章が長いver */

.imgtext-container_lg {
	display: flex;
	flex-direction: column;
	gap: clamp(45px, 6vw, 80px);	/* テンプレ初期値 */
	/*gap: clamp(25px, 6vw, 35px);*/
}

@media print, screen and (min-width: 968px) {
	.imgtext-container_lg {
		flex-direction: row;
		align-items: center;
	}

	.imgtext-container_lg.reverse {
		flex-direction: row-reverse;
	}

	.imgtext-container_lg > .text {
		flex: 1;
		min-width: 17em;
	}

	.imgtext-container_lg > .img {
		/*flex: 2;*/	/* テンプレ初期値 */
		flex: 1.4;
	}

	.imgtext-container_lg {
		gap: calc(clamp(45px, 6vw, 80px) * 0.6) !important;
	}
}


/* 画像とテキスト（fullwide専用） */
.imgtext-fullwide {
	background: linear-gradient(90deg,
	#fdfcf7 0%,
	#fafaeb 60%,
	#fdfcf7 100%);
}

.imgtext-fullwide + .imgtext-fullwide {
	padding: clamp(45px, 7vw, 60px) 0 0;
}

@media only screen and (max-width: 767px) {
	.imgtext-fullwide + .imgtext-fullwide {
		padding-top: 50px;
	}
	.imgtext-fullwide:last-child {
		padding-bottom: 50px;
	}
}

.imgtext-fullwide-container {
	display: flex;
	flex-direction: column;
}

@media print, screen and (min-width: 1200px) {

	.imgtext-fullwide-container {
		flex-direction: row;
		align-items: center;
	}

	.imgtext-fullwide-container.reverse {
		flex-direction: row-reverse;
	}

	.imgtext-fullwide-container > .imgtext-fullwide-text {
		flex: 1;
		text-align: justify;
	}

	.imgtext-fullwide-container > .imgtext-fullwide-img {
		flex: 1.4;
	}
}

.imgtext-fullwide-bg {
	padding: clamp(1.5rem, 5vw, 5rem);
	text-align: justify;
	font-size: clamp(0.875rem, 1.2vw, 1rem);
}

@media print {

	.imgtext-fullwide,
	.imgtext-fullwide-container {
		break-inside: avoid;
		page-break-inside: avoid;
		-webkit-column-break-inside: avoid;
	}

	.imgtext-fullwide-container {
		box-shadow: none;
	}
}

.imgtext-fullwide-title{
	font-size: clamp(1.1rem, 2.5vw, 1.5rem);
	font-weight: 700;
	margin-bottom: 20px;
	color: var(--accent-color2);
}



/* タイトルとサブタイトル（短い線で装飾）_文章長いver */
.heading-decoration_lg {
	font-size: clamp(22px, 3vw, 26px);
	min-height: 0vw;
	font-weight: 400;
	line-height: 1.4;
	color: #444;
	text-align: center;
}

.heading-decoration_lg::after {
	display: block;
	content: '';
	width: 160px;
	height: 0px;
	margin-top: 0.6em;
	margin-bottom: 0.2rem;
	border-bottom: 2px solid var(--main-color);
	font-weight: bold;
	font-size: 26px;
	margin-left: auto;
	margin-right: auto;
}

.heading-decoration_lg + p {
	margin-top: 0.5em;
	margin-bottom: 1em;
	color: var(--main-color);
	font-size: 15px;
	font-family: "Zen Kaku Gothic New", serif;
	font-weight: 500;
	font-style: normal;
	letter-spacing: 0.1em;
	text-align: center;
}

@media screen and (max-width: 868px) {
	.heading-decoration_lg {
		text-align:center;
	}
	.heading-decoration_lg::after {
		margin-right:auto;
		margin-left:auto;
	}
	.heading-decoration_lg + p {
		text-align:center;
	}
}


/* タイトルとサブタイトル（短い線で装飾） */
.heading-decoration {
	font-size: clamp(22px, 3vw, 26px);
	min-height: 0vw;
	line-height: 1.4;
	color: #444;

	font-family: "Zen Kaku Gothic New", serif;
	font-weight: 500;
	font-style: normal;
}

.heading-decoration::after {
	display: block;
	content: '';
	width: 160px;
	height: 0px;
	margin-top: 0.6em;
	margin-bottom: 0.2rem;
	border-bottom: 2px solid var(--main-color);
	font-weight: bold;
	font-size: 26px;
}

.heading-decoration + p {
	margin-top: 0.5em;
	margin-bottom: 1em;
	color: var(--main-color);
	font-size: 15px;
	letter-spacing: 0.1em;
}

@media screen and (max-width: 768px) {
	.heading-decoration {
		text-align:center;
	}
	.heading-decoration::after {
		margin-right:auto;
		margin-left:auto;
	}
	.heading-decoration + p {
		text-align:center;
	}
}


/* タイトルとサブタイトル（短い線で装飾）　中央揃えver */
.heading-decoration_c {
	font-size: clamp(22px, 3vw, 26px);
	min-height: 0vw;
	line-height: 1.4;
	font-weight: 400;
	color: #444;
	text-align: center;
}

.heading-decoration_c::after {
	display: block;
	content: '';
	width: 160px;
	height: 0px;
	margin-top: 0.6em;
	margin-bottom: 0.2rem;
	border-bottom: 2px solid var(--main-color);
	font-weight: bold;
	font-size: 26px;
	margin-left: auto;
	margin-right: auto;
}

.heading-decoration_c + p {
	margin-top: 0.5em;
	margin-bottom: 1em;
	color: var(--main-color);
	font-size: 15px;
	letter-spacing: 0.1em;
	text-align: center;
}

@media screen and (max-width: 1068px) {
	.heading-decoration_c {
		text-align:center;
	}
	.heading-decoration_c::after {
		margin-right:auto;
		margin-left:auto;
	}
	.heading-decoration_c + p {
		text-align:center;
	}
}



/* タイトルとサブタイトル（装飾なし・中央揃え） */
.heading-decoration_nl {
	font-size: clamp(22px, 3vw, 28px);
	min-height: 0vw;
	font-weight: 400;
	line-height: 1.4;
	color: #444;
	line-height: 1.5em;
	margin-bottom: 0.5em;
}
.heading-decoration_nl + p {
	margin-bottom: 1.5em;
	color: var(--txt-color);
	font-size: 15px;
	text-align: center;
	line-height: 1.6;
}

@media screen and (max-width: 768px) {
	.heading-decoration_nl {
		text-align:center;
	}
	.heading-decoration_nl::after {
		margin-right:auto;
		margin-left:auto;
	}
	.heading-decoration_nl + p {
		text-align:center;
	}
}



/* =========================
imgtext-number
========================= */
.imgtext-number {
	padding: clamp(45px, 7vw, 60px) 0;
}

@media (max-width: 986px) {
	.imgtext-number {
		padding-top: clamp(45px, 7vw, 60px);
		padding-bottom: calc(clamp(45px, 7vw, 60px) * 1.7);
	}
}

.imgtext-number_bgcolor_non {
	background-color: rgba(255, 255, 255, 0);
}

.imgtext-number_bgcolor_white {
	background-color: rgba(255, 255, 255, 0.9);
}

.imgtext-number + .imgtext-number {
	padding-top: 0;
}

.imgtext-number-container {
	display: flex;
	flex-direction: column;
	gap: clamp(25px, 6vw, 35px);
}

@media print, screen and (min-width: 986px) {
	.imgtext-number-container {
		flex-direction: row;
		align-items: center;
	}

	.imgtext-number-container > .img {
		flex: 1.2;
	}

	.imgtext-number-container > .text {
		flex: 1.8;
		min-width: 17em;
	}
}

@media print, screen and (min-width: 986px) {
	.imgtext-number-container.reverse {
		flex-direction: row-reverse;
	}
}




/* 記事一覧 */
.posts {
	padding: var(--v-space) 0;
	background-color: #f3f1ed;
}

.posts-container {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 10px 10px;
}

@media (min-width: 568px) {
	.posts-container {
		grid-template-columns: repeat(3, 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;
	border-top: 1px solid var(--main-color);
	border-bottom: 1px solid var(--main-color);
	background-color: #fd7e2322;
}

.post p {
	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.6em) * -1);
	font-size: clamp(35px, 5.2vw, 60px);
	min-height: 0vw;
	color: var(--main-color);
	z-index: 5;
	letter-spacing: 0.1em;
	line-height: 1;
}
.heading span {
	display: block;
	color: #454545;
	font-size: clamp(17px, 1.5vw, 25px);
	font-family: "Zen Kaku Gothic New", serif;
	font-weight: 500;
	font-style: normal;
	padding-top: 0.8em;
	letter-spacing: 0.1em;
}
.bgf span  {
	display: block;
	width: fit-content;
	color: #454545;
	font-size: clamp(17px, 1.5vw, 25px);
	font-weight: 400;
	background-color: #ffffffb0;
	padding: 0 0.5em;
	border-radius: 20px;
}
.heading2 {
	position: absolute;
	top: calc((var(--v-space) + 0.7em)* -1);
	font-size: clamp(35px, 5.2vw, 60px);
	min-height: 0vw;
	color: var(--main-color);
	font-family: "Unkempt", serif;
	font-weight: 700;
	font-style: normal;
	z-index: 5;
}
.heading2 span {
	display: block;
	color: #454545;
	font-size: clamp(17px, 1.5vw, 25px);
	font-family: "M PLUS 1p", sans-serif;
	font-weight: 500;
	font-style: normal;
}

/* 下層 */
.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;
	padding-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;
}

@media (max-width: 568px) {
	.entry_mar{	
		margin-top: var(--header-margin);	/*ロゴの高さ分メインビジュアルの上に空白*/
	}
}

.entry {
	/*padding-bottom: var(--v-space);*/	/*初期値*/
	padding-bottom: 0;
	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;
	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;
	grid-template-columns: repeat(3, 1fr);
	gap: 27px;
}

@media only screen and (max-width: 868px) {
	.plans-container {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media only screen and (max-width: 568px) {
	.plans-container {
		grid-template-columns: repeat(1, 1fr);
	}
}

.plans-container div{
	/*子要素のそれぞれのdivの高さを揃える記述*/
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 3;
	/*ここまで*/
}

/* プラン：カード */
.plan {
	display: flex;
	flex-direction: column;
	padding: 30px 27px;
	border-radius: 20px;
	background-color: #ffffff;
}

.plan h3 {
	font-family: "Montserrat", sans-serif;
	font-size: 30px;
	font-weight: 400;
	padding-bottom: 10px;	
	border-bottom: solid 1px var(--main-color);
}


.plan .price {
	margin-top: auto;
	font-size: 18px;
	font-weight: bold;
}

.plan .btn {
	width: auto;
}

/*装飾枠　斜線影*/
.diagonal_s {
	background: #7d955580;
	padding: 15px;
	border-radius: 12px;
	box-shadow: 0 4px 8px rgba(200, 180, 160, 0.2);
	left: 10px;
	box-sizing: border-box;
	width: 80%;
	margin-right: auto;
	margin-left: auto;
}

.diagonal_s div {
	background: #ffffff;
	border: 1px solid #7d955580;
	border-radius: 10px;
	padding: 20px;
	box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
	font-size: clamp(13px, 1.3vw, 14px);
	line-height: 1.6;
	font-weight: 400;
	color: #444;
	text-align: justify;
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	box-sizing: border-box;
}

@media (max-width: 768px) {
	.diagonal_s {
		width: 97%;
		margin-right: auto;
		margin-left: auto;
	}
}



/*-------------------*/
h3.title{
	font-size:1.5em;
	text-align:center;
}

