@charset "UTF-8";

/* 基本 */
:root {
	--v-space: clamp(90px, 9vw, 120px);
	--v-space2: clamp(45px, 9vw, 60px);
    --v-space3: clamp(140px, 9vw, 200px);
    --v-space4: clamp(25px, 4.6vw, 60px);

	/*color-admin*/
    --txt-color: #2d2826;
    --base-color: #fffdfb;
	--main-color: #c44639;
	--accent-color1: #fffdf8;
	--accent-color2: #852f29;
	--accent-color3: #c99a6a;
	--accent-color4: #56865c;
	--line-color: #e29a90;
	--line-light: #c4c4c4;
	--header-margin: 60px;
}
body {
	margin: 0;
	color: var(--txt-color);
	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: 2.0;
    font-feature-settings: 'palt' 1;
    -webkit-font-smoothing: antialiased;
}
@media print{
	body {
		background-color: #FFF;
	}
}
h1, h2, h3, h4, h5, h6, p, figure, ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

p {
	line-height: 2.0;
}

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%, 1228px);
	margin: auto;
	position: relative;
}
.w-container_inner {
	width: min(92%, 1000px);
	margin: auto;
	position: relative;
}
.w-container_1920 {
	width: min(92%, 1920px);
	margin: auto;
	position: relative;
}
.w-container_1100 {
	width: min(92%, 1100px);;
	margin: auto;
	position: relative;
}
.w-container_1000 {
	width: min(100%, 1000px);
	margin: auto;
	position: relative;
}
.w-container_780 {
	width: min(100%, 780px);
	margin: auto;
	position: relative;
}

/* H1 */
h1{
    box-sizing: border-box;
    padding: 6px 20px;
    color: var(--accent-color2);
    background: var(--accent-color1);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .04em;
}
@media only screen and (max-width: 767px) {
	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%;
	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 0 20px 0;
	box-sizing: border-box;
	border-radius: 4px;
	background-color: #e8b368;
	color: #ffffff;
	font-size: 18px;
	text-align: center;
	text-shadow: 0 0 6px #00000052;
	line-height: 1;
	margin-bottom: 2em;
}

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


/* =========================================
画像＋テキストセクション
========================================= */

.imgtext{
	padding:clamp(60px,9vw,90px) 0;
}

.imgtext2{
	padding: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);
}


@media screen and (min-width:1068px){

	.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:1.4;
	}
}

@media screen and (min-width:1068px) and (max-width:1268px){

	.imgtext img{
		display:block;
		width:100%;
		max-width:100%;
		height:auto;
		aspect-ratio:1 / 1;
		object-fit:cover;
	}
}

@media screen and (max-width:1067px){

	.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;
	}

	.imgtext img{
		display:block;
		width:100%;
		max-width:100%;
		height:auto;
		margin:0 auto;
		aspect-ratio:10 / 5;
		object-fit:cover;
	}
}

@media screen and (max-width:768px){

	.imgtext img{
		aspect-ratio:16 / 10;
	}
}

/* 印刷設定 */

@media print{

	.imgtext{
		padding: 45px 0 !important;
		break-inside:avoid;
		page-break-inside:avoid;
	}

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

	.imgtext-container{
		display:flex !important;
		flex-direction:row !important;
		align-items:center;
		gap:30px !important;

		break-inside:avoid;
		page-break-inside:avoid;
	}

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

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

	.imgtext-container > .img{
		flex:1.15;
	}

	.imgtext img{
		display:block;
		width:100%;
		height:auto;
		aspect-ratio:auto !important;
		object-fit:cover;
	}

	.imgtext h2,
	.imgtext h3,
	.imgtext figure,
	.imgtext .text{
		break-inside:avoid;
		page-break-inside:avoid;
	}
}


/* =========================================
	imgtext-画像フルワイド
========================================= */

.imgtext-edge{
	overflow:visible;
}


/*
	PC
	通常：画像 → 左端まで
	reverse：画像 → 右端まで
 */

@media screen and (min-width:1068px){

	.imgtext-edge .imgtext-container{
		display:flex;
		flex-direction:row;
		align-items:center;
		gap:clamp(45px,6vw,80px);
	}

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

	.imgtext-edge .imgtext-container > .img{
		flex:1.4;
		min-width:0;
	}

	.imgtext-edge .imgtext-container > .text{
		flex:1;
		min-width:0;
	}

	/* 通常：画像を左端まで */
	.imgtext-edge .imgtext-container > .img{
		margin-left:calc((100vw - 100%) / -2);
	}

	/* reverse：画像を右端まで */
	.imgtext-edge .imgtext-container.reverse > .img{
		margin-left:0;
		margin-right:calc((100vw - 100%) / -2);
	}

	.imgtext-edge .imgtext-container > .img img{
		display:block;
		width:100%;
		max-width:none;
		height:auto;
	}
}


/*
	TAB・スマホ
	画像を左右いっぱいにする
 */

@media screen and (max-width:1067px){

	.imgtext-edge:first-child {
		padding-top: 0 !important;
	}

	.imgtext-edge .imgtext-container{
		display:flex;
		flex-direction:column;
		gap:clamp(30px,6vw,50px) !important;
	}

	.imgtext-edge .imgtext-container > .img{
        width: calc(100% + 10%);
        max-width: none;
        margin-left: -5%;
        margin-right: 0;
	}

	.imgtext-edge .imgtext-container > .img img{
		display:block;
		width:100%;
		max-width:none;
		height:auto;
	}
}


/* -----------------------------------------
	横スクロール防止
----------------------------------------- */

.lowerPage-sec_01,
.lowerPage-sec_02{
	overflow-x:clip;
}



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

.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;
	font-family: Arial, Helvetica, sans-serif;
	letter-spacing: 0.12em;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.1em;
	color: var(--accent-color1);
}

@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;
	}
}


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

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

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

/* カード１つ（子要素を subgrid にする） */
.posts-container .post {
	display: grid;
	grid-template-rows: subgrid;   /* ← subgrid */
	grid-row: span 2;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
	overflow: hidden;
	gap:0px;
}



/* 記事一覧の中身 */

.post a {
	display: block;
}

.post h3,.post h4 {
	/* margin: 0.2em 0 0.2em; */
	padding: 0.5em;
	font-size: clamp(13px, 2vw, 16px);
	text-align: center;
	line-height: 1.3;
	background-color: #FFF;
	font-weight: normal;
}

.post p {
	font-size: clamp(10px, 1.6vw, 14px);
	min-height: 0vw;
	inline-size: fit-content;
	margin-inline: auto;
}

.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.6em) * -1);
    font-size: clamp(35px, 3.5vw, 50px);
    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);
    padding-top: 0.8em;
    letter-spacing: 0.1em;
}
.heading-low {
		top: calc((var(--v-space) + 0.6em) * -0.22);
}

/* 下層 */
.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;
	letter-spacing: 0.12em;
	font-size: 15px;
}

@media only screen and (max-width: 768px) {
	.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:850px;
	padding: clamp(70px, 6vw, 90px) 0 clamp(50px, 6vw, 120px) 0;
}

.entry .heading-decoration {
	font-size: clamp(23px, 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 print, screen and (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: Arial, Helvetica, sans-serif;
	letter-spacing: 0.12em;
	font-weight: 400;
	font-size: 19px;
	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-family: Arial, Helvetica, sans-serif;
	letter-spacing: 0.12em;
	font-weight: 400;
}

.plan .btn {
	width: auto;
}


/* -----------------------------------------
	写真レイアウト
----------------------------------------- */

.media-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	padding: 0 0 var(--v-space) 0;
}

/* 写真1枚 */
.media-grid--1 {
	grid-template-columns: 1fr;
    margin: 0 auto;
}

/* 写真2枚 */
.media-grid--2 {
	grid-template-columns: repeat(2, 1fr);
}

@media only screen and (max-width: 768px) {
	.media-grid,
	.media-grid--1,
	.media-grid--2 {
		grid-template-columns: 1fr;
	}
}

.media-figure {
	margin: 0;
	text-align: center;
}

.media-figure a {
	display: block;
	cursor: zoom-in;
}

.media-figure img {
	display: block;
	width: 100%;
	height: auto;
}

.media-figure figcaption {
	margin-top: 8px;
	font-size: 0.85rem;
	color: #555;
}



/* =========================================
Before / After
========================================= */

.before-after {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(25px, 4vw, 50px);
}

.before-after__set {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}


/* 画像 */
.before-after__set .g-item {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	border-radius: 15px;
	overflow: hidden;
	background: #f1f5f9;
	transition: opacity 0.3s ease;
}

.before-after__set .g-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.before-after__set .g-item:hover {
	opacity: 0.85;
}


/* BEFORE / AFTER ラベル */
.before-after__label {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	padding: 4px 10px;
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.65);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.3;
}


/* BEFORE → AFTER 矢印 */
.before-after__set::after {
	content: "→";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 3;

	display: flex;
	align-items: center;
	justify-content: center;

	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #fff;
	color: var(--main-color);

	font-size: 18px;
	font-weight: 700;
	line-height: 1;

	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

@media screen and (max-width: 768px) {

	.before-after {
		grid-template-columns: 1fr;
		gap: 25px;
	}

	.before-after__set {
		gap: 8px;
	}

	.before-after__set .g-item {
		border-radius: 12px;
	}

	.before-after__label {
		top: 7px;
		left: 7px;
		padding: 3px 7px;
		font-size: 10px;
	}

	.before-after__set::after {
		width: 30px;
		height: 30px;
		font-size: 16px;
	}

}