@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: #e3f6ff;
	--accent-color1: #047bb3;
	--accent-color2: #999;
	--accent-color3: #04b37c;
	--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;

}
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;
	/* 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(--main-color);
}
@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);
  }

  /* 画像とテキスト */
  .imgtext {
	  padding:clamp(45px, 7vw, 60px) 0;
  }
  .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 only screen and (max-width: 767px) {
	  .imgtext + .imgtext {
		  padding-top: 50px;
	  }
  }


  @media print, screen and (min-width: 868px) {
	  .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(25px, 3vw, 30px);
	  min-height: 0vw;
	  font-weight: 400;
	  color: #444;
  }

  .heading-decoration::after {
	  display: block;
	  content: '';
	  width: 160px;
	  height: 0px;
	  margin-top: 0.6em;
	  margin-bottom: 0.2rem;
	  border-bottom: 3px double var(--accent-color3);
	  font-weight: bold;
	  font-size: 26px;
  }

  .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: 868px) {
	  .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(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.9em)* -1);
	  font-size: clamp(35px, 5.2vw, 60px);
	  min-height: 0vw;
	  color: var(--accent-color1);
	  z-index: 5;
	  font-weight:400;
  }
  .heading span {
	  display: block;
	  color: #454545;
	  font-size: clamp(17px, 1.5vw, 25px);
  }
  .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;
  }
