@charset "UTF-8";

/* ---------------------------------------------------------
	CSS Document title
--------------------------------------------------------- */

.page-title {
	margin-bottom: 96px;
	padding-top: 100px;
	line-height: 1;
	position: relative;
	z-index: 0;
}

.page-title:before {
	content: '';
	width: 100vw;
	height: 1px;
	background: #CEB89D;
	transform: translateX(-50%);
	position: absolute;
	bottom: 0;
	left: 50%;
	z-index: -1;
}

.page-title .wp-block-group__inner-container {
	display: inline-block;
	vertical-align: top;
	position: relative;
	z-index: 0;
}

.page-title .wp-block-group__inner-container:before {
	content: '';
	width: 100%;
	height: 1px;
	background: #8C725A;
	transform: translateX(-50%);
	position: absolute;
	bottom: 0;
	left: 50%;
	z-index: -1;
}

.wp-block-site-tagline {
	margin-bottom: 15px;
	font-family: "Moon Dance", cursive;
	font-weight: 400;
	font-size: 20px;
	color: #4C2909;
}

.wp-block-post-title {
	padding-bottom: 48px;
	font-family: "Noto Serif JP", serif;
	font-weight: 400;
	font-size: 50px;
}

/* ---------------------------------------------------------
	CSS Document common
--------------------------------------------------------- */

article.page {
	overflow: hidden;
	margin-bottom: 96px;
}

.wp-block-group {
	margin-bottom: 96px;
	text-align: left;
}

.midashi-h3 {
	margin-bottom: 32px;
	font-family: "Noto Serif JP", serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 1.3;
	color: var(--red);
}

.midashi-h3:after {
	display: block;
	content: '';
	width: 48px;
	height: 9px;
	margin-top: 20px;
	background: #FCF7F1;
}

.midashi-h4 {
	margin-bottom: 32px;
	font-family: "Noto Serif JP", serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 1;
	color: var(--red);
}

.wp-block-columns {
	display: flex;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 2em;
}

.wp-block-column {
	flex: 1;
}

.wp-block-column img {
	border-radius: 16px;
}

.wp-block-paragraph {
	margin-bottom: 2em;
}

.card-box {
	padding: 32px 24px;
	border-radius: 15px;
	background: #F5F5F5;
}

.card-box .wp-block-group {
	margin-bottom: 0;
}

.card-box h3 {
	margin-bottom: 24px;
	padding-bottom: 24px;
	border-bottom: solid 1px #DCD5C6;
	font-weight: 700;
	font-size: 16px;
	line-height: 1;
}

.card-box h4 {
	margin-bottom: 15px;
	font-weight: 700;
	font-size: 14px;
	line-height: 1;
	color: #8D8D8D;
}

.card-box img {
	height: auto;
}

/* ---------------------------------------------------------
   FAQ
--------------------------------------------------------- */

.my-faq-block {
    margin-bottom: 18px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #f5f7f8;
    overflow: hidden;
}

.my-faq-block summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 22px 30px;
    font-size: 100%;
    font-weight: 700;
    color: var(--brown);
    line-height: 1.6;
    position: relative;
}

.my-faq-block summary::-webkit-details-marker {
    display: none;
}

/* Qアイコン */

.my-faq-block summary::before {
    content: "Q";
    width: 34px;
    height: 34px;
    margin-right: 16px;
    border-radius: 50%;
    background: var(--brown);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 100%;
    font-weight: bold;
    flex-shrink: 0;
}

/* + - */

.my-faq-block summary::after {
    content: "+";
    margin-left: auto;
    font-size: 34px;
    font-weight: 300;
    color: var(--brown);
    transition: .3s;
}

.my-faq-block[open] summary::after {
    content: "?";
}

/* 回答 */

.my-faq-block p,
.my-faq-block div {
    padding: 0 30px 24px 80px;
    text-align: left;
    line-height: 2;
}

.my-faq-block p:last-child {
    margin-bottom: 0;
}

.my-faq-block a {
    color: var(--brown);
    text-decoration: underline;
}

.my-faq-block a:hover {
    opacity: .7;
}

@keyframes faqOpen {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}

.my-faq-block[open] summary~* {
    animation: faqOpen .25s ease;
}

/* ---------------------------------------------------------
	CSS Document table
--------------------------------------------------------- */

.wp-block-table table {
	width: 100%;
	border-top: solid 3px #8C725A;
	border-bottom: solid 3px #8C725A;
	text-align: left;
}

.wp-block-table tr:not(:last-of-type) {
	border-bottom: dashed 1px #8C725A;
}

.wp-block-table td {
	padding: 1em;
}

.wp-block-table td:first-of-type {
	font-weight: 700;
}

/* ---------------------------------------------------------
	CSS Document btn
--------------------------------------------------------- */

.btn-wrap {
	display: flex;
	justify-content: center;
	gap: 36px;
}

.btn-outline a {
	display: inline-block;
	vertical-align: top;
	height: 68px;
	padding: 0 1.6em;
	border-radius: 10px;
	border: solid 1px #CEB89D;
	background: #FEFDFE;
	text-decoration: none;
	font-weight: 700;
	font-size: 14px;
	line-height: 66px;
	color: var(--black);
	opacity: 1;
	transition: background .4s;
}

.btn-outline a:hover {
	background: rgba(206, 184, 157, 0.2);
}

.btn-solid a {
	display: inline-block;
	vertical-align: top;
	min-width: 120px;
	height: 68px;
	padding: 0 1.6em;
	border-radius: 10px;
	background: var(--black);
	text-align: center;
	text-decoration: none;
	font-weight: 700;
	font-size: 14px;
	line-height: 68px;
	color: #fff;
}

/* ---------------------------------------------------------
	CSS Document list
--------------------------------------------------------- */

ul.wp-block-list li {
	margin-left: 1.2em;
	list-style: disc;
}


/* 画像の角丸をなくす設定 */
.no-border-radius img,
.no-border-radius figure {
	border-radius: 0;
}

/* ---------------------------------------------------------
	process page (ご入居までの流れ - アイコン6つ並び)
--------------------------------------------------------- */

.flow-icon-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 15px; /* アイコン同士の隙間 */
	margin-bottom: 30px;
}

.flow-icon-row > * {
	/* PC表示：6つ並べる（100%から5つの隙間分を引いて6等分） */
	flex: 0 0 calc((100% - (15px * 5)) / 6);
	max-width: calc((100% - (15px * 5)) / 6);
	box-sizing: border-box;
	
	/* 角丸や背景のリセット */
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.flow-icon-row img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 0;
	max-width: 100%;
}

/* スマホ・タブレット表示（SP）：横3つまでで改行 */
@media screen and (max-width: 768px) {
	.flow-icon-row > * {
		/* 横3つ並び（100%から2つの隙間分を引いて3等分） */
		flex: 0 0 calc((100% - (15px * 2)) / 3);
		max-width: calc((100% - (15px * 2)) / 3);
	}
}

/* ---------------------------------------------------------
	process page　process-card-wrap  (ご入居までの流れ -カード内横並び)
--------------------------------------------------------- */
.process-card-wrap .card-box > .wp-block-columns,
.process-card-wrap .card-box > .is-layout-flex,
.process-card-wrap .card-box > div {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

/* スマホ表示時など、縦並びに切り替わったときのレイアウト調整 */
@media screen and (max-width: 768px) {
	.process-card-wrap .card-box > .wp-block-columns,
	.process-card-wrap .card-box > .is-layout-flex,
	.process-card-wrap .card-box > div {
		flex-direction: column; /* 縦並びにする */
		align-items: center;    /* 要素全体を中央揃えにする */
		text-align: center;     /* テキストも中央揃えにする場合 */
	}
	
	/* 縦並びになったときにイラストや画像も確実に真ん中に配置する */
	.process-card-wrap .card-box img,
	.process-card-wrap .card-box figure {
		margin-left: auto;
		margin-right: auto;
		display: block;
	}
}

/* ---------------------------------------------------------
	process page　inline-heading-wrap (ご入居までの流れ -H3アイコン横並び)
--------------------------------------------------------- */
.inline-heading-wrap {
	display: flex;
	flex-direction: row !important; /* 強制的に横並びをキープ */
	align-items: center;            /* 垂直方向の中央揃え */
	justify-content: flex-start;    /* 左寄せで、余計な隙間を空けない */
	gap: 15px;                      /* アイコンと見出しの間隔 */
	flex-wrap: nowrap;              /* 常に横一列を維持 */
}

/* 横並び中の要素の不要な下マージンをリセット */
.inline-heading-wrap > * {
	margin-bottom: 0 !important;
}

/* アイコン（画像）の位置調整：マイナスにして上に引き上げる */
.inline-heading-wrap img {
	width: 60px;    /* アイコンの横幅 */
	height: auto;   /* 高さは自動で比率を維持 */
	max-height: none;
	flex-shrink: 0; /* アイコンが縮まないようにする */
	position: relative;
	top: -12px;     /* ★ここをマイナスにするとイラストが上に上がります（ズレ具合を見て -10px〜-15px で微調整してください） */
}

/* 見出し部分（H3）：改行しても右端に飛ばないようにする */
.inline-heading-wrap h3,
.inline-heading-wrap .wp-block-heading {
	flex: 0 1 auto; /* テキストの長さに応じた幅にする */
	min-width: 0;   /* 綺麗に改行させるためのおまじない */
	position: relative;
	top: 0;         /* 一旦リセット */
}
/* ---------------------------------------------------------
	Why Choose US page
--------------------------------------------------------- */

/* 1. グリッド全体 */
.sharehouse-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	max-width: 900px;
	width: 100%;
	gap: 0 15px;
	margin: 0 auto 48px auto;
}

/* 2. 各セル（横3列） */
.sharehouse-grid > div {
	flex: 0 0 calc((100% - 30px) / 3);
	max-width: calc((100% - 30px) / 3);
	display: flex;
	flex-direction: column;
	align-items: center;
	box-sizing: border-box;
	text-align: center;
	margin-bottom: 40px;
}

/* 3. アイコン（画像・figure共通） */
.sharehouse-grid img,
.sharehouse-grid figure {
	display: block;
	width: clamp(90px, 26vw, 180px);
	height: auto;
	max-width: 100%;
	object-fit: cover;
	margin: 0 auto 10px auto;
}

/* 4. テキスト */
.sharehouse-grid p,
.sharehouse-grid div {
	line-height: 1.4;
	margin: 0;
	text-align: center;
	width: 100%;
}

/* ---------------------------------------------------------
	.btn-wrap
--------------------------------------------------------- */

.btn-wrap {
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 20px;
}

.btn-wrap .wp-block-button__link {
	min-width: 172px;
	text-align: center;
}

/* ---------------------------------------------------------
   Contact Form 7 - お問い合わせ・内覧申込みフォーム
--------------------------------------------------------- */


.wpcf7 {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 40px 0 80px;
    box-sizing: border-box;
}

.wpcf7 form > p {
	margin: 0 0 28px;
}

.wpcf7 label {
	display: block;
	width: 100%;
	color: #4A3B2A;
	font-size: 16px;
	line-height: 1.6;
	letter-spacing: 0.05em;
	text-align: left;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
	display: block;
	width: 70%;
	margin-top: 8px;
	padding: 13px 15px;
	border: 1px solid #D8D0C8;
	border-radius: 4px;
	background: #fff;
	color: #4A3B2A;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.6;
	box-sizing: border-box;
}

.wpcf7 input[type="number"] {
	max-width: 160px;
}

.wpcf7 textarea {
	min-height: 180px;
	resize: vertical;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 input[type="date"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
	outline: none;
	border-color: #8F2F35;
	box-shadow: 0 0 0 2px rgba(143, 47, 53, 0.08);
}

/* ラジオボタン */
.wpcf7 .wpcf7-radio {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 28px;
	margin-top: 10px;
}

.wpcf7 .wpcf7-list-item {
	margin: 0;
}

.wpcf7 .wpcf7-list-item label {
	display: inline-flex;
	align-items: center;
	width: auto;
	cursor: pointer;
}

.wpcf7 input[type="radio"],
.wpcf7 input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 0 7px 0 0;
	accent-color: #8F2F35;
}

.wpcf7 .wpcf7-list-item-label {
	font-size: 16px;
	color: #4A3B2A;
}

/* 送信ボタン */
.wpcf7 input[type="submit"] {
	display: block;
	min-width: 220px;
	margin: 45px auto 0;
	padding: 15px 36px;
	border: 1px solid #8F2F35;
	border-radius: 6px;
	background: #8F2F35;
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-align: center;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.wpcf7 input[type="submit"]:hover {
	opacity: 0.8;
}

/* エラー */
.wpcf7 .wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	line-height: 1.5;
	color: #b3261e;
}

.wpcf7 form .wpcf7-response-output {
	margin: 30px 0 0;
	padding: 15px 20px;
	border-width: 1px;
	font-size: 13px;
	line-height: 1.7;
}


/* 項目名を見やすく */
.wpcf7-form label {
    font-weight: 600;
}

/* ラジオボタンの選択肢は通常の太さ */
.wpcf7-form .wpcf7-list-item-label {
    font-weight: 400;
}

/* ラジオボタン項目は左揃え */
.wpcf7-form .wpcf7-form-control.wpcf7-radio {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.wpcf7-form .wpcf7-list-item {
    margin: 0;
}

