@charset "UTF-8";

/* 基本 */
:root {
	--v-space: clamp(90px, 9vw, 120px);
	--v-space2: clamp(45px, 9vw, 60px);

	/*color-admin*/
	--txt-color:#222222;
    --base-color: #fff;
    --main-color: #2262d3;
    --accent-color1: #f0f1f1;
    --accent-color2: #ffef08;
    --accent-color3: #26405c;
	--header-margin:60px;
}




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;

	/*初期値は設定なし*/
    font-family: '游ゴシック Medium', 'Yu Gothic Medium', '游ゴシック体', YuGothic, 'Hiragino Sans', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, sans-serif;
    line-height: 1;
    font-feature-settings: 'palt' 1;
    -webkit-font-smoothing: antialiased;

}
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-color1);
	line-height: 1.5;
    letter-spacing: 0.15em;
}
@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;
	border-radius: 0;
}

/* セクション背景 */

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-outline:hover {
	background-color: var(--main-color);
	color: #fff;
}
	*/

.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.7);
}

.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;
	}
}


/* タイトルとサブタイトル（短い線で装飾） */
.heading-decoration {
	font-size: clamp(22px, 3vw, 26px);
	min-height: 0vw;
	font-weight: 400;
	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;
    font-family: "Zen Kaku Gothic New", serif;
    font-weight: 500;
    font-style: normal;
	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;
	font-family: "Zen Kaku Gothic New", serif;
	font-weight: 600;
	font-style: normal;
	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;
	font-family: "Unkempt", cursive;
	font-weight: 700;
	font-style: normal;
	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(33px, 4.5vw, 42px);
    min-height: 0vw;
    color: var(--txt-color);
    line-height: 1.5em;
    margin-bottom: 0.2em;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 800 !important;
    font-style: normal;
}
.heading-decoration_nl + p {
    margin-bottom: 1.5em;
    color: var(--txt-color);
    font-size: 18px;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    font-style: normal;
    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;
	}
}


/* 記事一覧 */
.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;
}
.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;
}
