@charset "UTF-8";

/* =========================================================
   合同会社saneige / template204 カスタム上書き
   - 配色：メイン=ベージュカメオ #eee9e6 / アクセント=ロゴ由来のトープ #7e6f61
   - ベース背景：ミルキーホワイト #fffdf8
   - 支給画像なし（画像提供なし）のため画像枠はテキスト主体へ
   ========================================================= */

/* ---- base ---- */
body { background: #fffdf8; }

/* ---- footer（温かみのある濃色＋ロゴは白プレートで可読性確保） ---- */
footer { background: #4a423c; }
footer .logo img {
	background: #fff;
	padding: 1.2rem 1.6rem;
	border-radius: 0.6rem;
	box-sizing: border-box;
}

/* ---- header logo（正方形に近いロゴのため高さ上限で収める） ---- */
header h1 { width: auto; }
header h1 img {
	width: auto;
	height: auto;
	max-height: 6.5rem;
	max-width: 20rem;
	display: block;
}
@media screen and (max-width: 768px) {
	header h1 { margin: 0 auto; }
	header h1 img { max-height: 4.4rem; }
}

/* ---- heading-1 の三連ドット（緑→ベージュ系） ---- */
.heading-1 > span:nth-of-type(1)::before { background: #c9beb4; }
.heading-1 > span:nth-of-type(1)::after  { background: #eee9e6; }

/* ---- 淡いグレー地をベージュ系へ ---- */
.top-service { background: #f6f3ef; }

/* ====== TOP：メインビジュアル（3枚クロスフェード／白文字を載せる） ====== */
.top-kv #main {
	position: relative;
	overflow: hidden;
}
.top-kv #main .mv-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 1.4s ease;
}
.top-kv #main .mv-slide.is-active {
	opacity: 1;
}
.top-kv #main::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.3);
	z-index: 2;
}
.mv-catch {
	color: #fff;
	font-size: 3.6rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	line-height: 1.5;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}
.mv-sub {
	font-family: var(--font-quick);
	font-size: 1.6rem;
	letter-spacing: 0.3em;
	color: #efe7df;
	margin-top: 1.6rem;
	text-transform: lowercase;
}
@media screen and (max-width: 768px) {
	.mv-catch { font-size: 2.4rem; }
}

/* ====== TOP：お問い合わせ内の電話導線 ====== */
.top-contact { text-align: center; }
.top-contact .tel-line { margin-bottom: 1rem; font-size: 1.6rem; }
.top-contact .tel-line a { color: var(--color-prime); font-weight: 500; }
.top-contact .tel-note { font-size: 1.3rem; margin-bottom: 3rem; }

/* ====== 下層ページ MV（テンプレの壊れた画像参照→仮画像バナー） ====== */
.page-ttl {
	background: url(../img/page-ttl.jpg) center center / cover no-repeat;
}
.page-ttl > div { background: rgba(0, 0, 0, 0.35); }
.page-ttl h2 span { color: #efe7df; }

/* helper */
.txt-center { text-align: center; }

/* 画像を使わないセクションは本文を全幅に（about 会社案内／代表あいさつ） */
.container .wrap.no-figure { display: block; }
.container .wrap.no-figure > div { width: 100%; }

/* ====== お知らせ一覧（CMS-NEWS）：テンプレ204デモ標準スタイルを補完（配色はトープに調整） ====== */
.CMS-NEWS-INDEX { display: flex; flex-wrap: wrap; position: relative; padding-bottom: 60px; max-width: 980px; margin: auto; }
.CMS-NEWS-INDEX img { width: 100%; height: auto; }
.CMS-NEWS-INDEX a { text-decoration: none; }
.CMS-NEWS-INDEX > * { width: 31%; margin-right: 3.5%; margin-bottom: 40px; }
.CMS-NEWS-INDEX > :nth-of-type(3n) { margin-right: 0; }
.CMS-NEWS-TITLE { border-bottom: 1px solid rgba(0,0,0,.2); font-size: 24px; line-height: 1.6; margin-bottom: 30px; padding: 10px 0 12px; position: relative; font-weight: bold; }
.CMS-NEWS-TITLE::after { border-bottom: 3px solid var(--color-prime); bottom: -3px; content: " "; display: block; position: absolute; width: 25%; }
.CMS-NEWS-CONTENT img { width: 80%; height: auto; display: block; margin: 0 auto 20px; }
.CMS-NEWS-ITEM a { transition: .3s; display: block; padding: 0 0 2rem; text-decoration: underline; }
.CMS-NEWS-ITEM a:hover { opacity: .6; }
.CMS-NEWS-TIME { color: #999; display: block; margin-top: 15px; }
.CMS-NEWS-LINK { display: block; line-height: 1.6; color: #000; }
.CMS-NEWS-MORE-READ { background: var(--color-prime); border: none; border-radius: .2rem; padding: 2rem 0; font-size: 1.4rem; color: #fff; text-align: center; margin: 4rem auto 0; width: 24rem; transition: .3s; position: absolute; bottom: 0; left: 50%; transform: translate(-50%, 0); display: none; }
.CMS-NEWS-MORE-READ:hover { cursor: pointer; opacity: .6; }
@media screen and (max-width: 767px) {
	.CMS-NEWS-INDEX { display: block; padding: 0 10%; }
	.CMS-NEWS-INDEX > * { width: 100%; margin-right: 0; margin-bottom: 20px; }
	.CMS-NEWS-INDEX > :last-of-type { margin-bottom: 0; }
	.CMS-NEWS-CONTENT img { width: 100%; }
	.CMS-NEWS-ITEM a { display: block; }
	.CMS-NEWS-LINK { display: block; width: auto; }
}
