/* test トップページ専用 */
:root {
	--navy: #0b3f8f;
	--navy-deep: #082c66;
	--yellow: #ffd60a;
	--yellow-deep: #f2b800;
	--ink: #1a2230;
	--muted: #566071;
	--line: #dbe1ea;
	--tint: #f3f6fb;
	--white: #fff;
	--red: #d6182a;
	--wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	font-size: 16px;
	line-height: 1.7;
}
img { max-width: 100%; height: auto; vertical-align: bottom; }
a { color: inherit; text-decoration: none; }
ul, dl, dd, figure, h1, h2, h3, p { margin: 0; padding: 0; }
ul { list-style: none; }
svg { width: 1.2em; height: 1.2em; flex: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--yellow-deep); outline-offset: 2px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 100; padding: 8px 12px; background: var(--white); }
.ribbon { background: var(--ink); color: var(--white); text-align: center; font-size: 12px; padding: 4px 8px; }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 1px 6px rgba(8, 44, 102, .14); }
.head-top { max-width: var(--wrap); margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 20px; }
.logo img { display: block; width: 164px; }
.head-note { display: none; font-size: 13px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.head-tels { display: none; margin-left: auto; }
.head-tel { display: flex; align-items: center; gap: 8px; padding: 0 20px; color: var(--navy); font-size: 23px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.head-tel + .head-tel { border-left: 1px solid var(--line); }
.head-tel small { display: block; font-size: 12px; font-weight: 500; color: var(--ink); }
.head-contact { display: none; align-items: center; gap: 8px; padding: 10px 18px; background: var(--yellow); border-radius: 6px; color: var(--navy-deep); font-weight: 700; font-size: 15px; white-space: nowrap; }
.head-contact:hover { background: var(--yellow-deep); }

.nav-toggle { margin-left: auto; width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 8px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; height: 3px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.site-nav { display: none; border-top: 1px solid var(--line); }
.site-nav.is-open { display: block; }
.site-nav a { display: block; padding: 12px 16px; font-weight: 500; border-bottom: 1px solid var(--line); }
.site-nav .is-current { color: var(--navy); font-weight: 700; }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 10px 20px; border-radius: 6px; font-weight: 700; transition: background .15s, color .15s; }
.btn .arw { width: .9em; height: .9em; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-line { background: var(--white); color: var(--navy); border: 2px solid var(--yellow-deep); }
.btn-line:hover { background: #fff8d6; }

/* メイン */
.hero { background: linear-gradient(115deg, #fff 0%, #f1f5fb 55%, #dbe6f6 100%); overflow: hidden; }
.hero-inner { max-width: var(--wrap); margin: 0 auto; padding: 24px 16px 8px; display: grid; gap: 16px; }
.hero h1 { font-size: clamp(27px, 7.600vw, 50px); line-height: 1.35; font-weight: 900; letter-spacing: .01em; }
.hero h1 em { display: inline-block; font-style: normal; background: var(--navy); color: var(--yellow); padding: 0 .14em; margin: .06em 0; border-radius: 6px; transform: skewX(-6deg); }
.lead { margin-top: 12px; font-weight: 500; font-size: 16px; }
.hero-actions { margin-top: 16px; display: grid; gap: 10px; }
.hero-slides { position: relative; aspect-ratio: 16 / 9; width: 100%; max-width: 640px; margin: 0 auto; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .8s; mix-blend-mode: multiply; }
.hero-slides img.is-active { opacity: 1; }

.hero-bottom { max-width: var(--wrap); margin: 0 auto; padding: 0 16px 20px; display: grid; gap: 12px; }
.points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(8, 44, 102, .08); }
.points li { display: flex; align-items: center; gap: 8px; background: var(--white); padding: 12px 10px; font-size: 13px; font-weight: 500; line-height: 1.45; }
.points svg { width: 24px; height: 24px; color: var(--navy); }

.price-band { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 18px; padding: 12px 16px; background: var(--navy); color: var(--white); border-radius: 8px; border-left: 6px solid var(--yellow); border-right: 6px solid var(--yellow); }
.price-band:hover { background: var(--navy-deep); }
.price-label { font-size: 21px; font-weight: 900; line-height: 1.25; text-align: center; }
.price-label small { display: block; font-size: 12px; font-weight: 500; }
.price-main { font-size: 19px; font-weight: 700; color: var(--yellow); line-height: 1.2; text-align: center; }
.price-main b { font-size: 39px; font-weight: 900; font-style: italic; letter-spacing: -.01em; }
.price-main small { display: block; margin-top: 4px; color: var(--white); font-size: 13px; font-weight: 500; }

/* セクション */
.section { padding: 36px 16px; }
.section > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.section-tint { background: var(--tint); }
.sec-head { display: grid; gap: 6px; margin-bottom: 18px; }
.eng { color: var(--navy); font-size: 14px; font-weight: 700; letter-spacing: .04em; line-height: 1.2; }
.sec-head h2 { display: flex; align-items: center; gap: 14px; font-size: 24px; font-weight: 900; line-height: 1.35; }
.sec-head h2::after { content: ""; width: 56px; height: 3px; background: var(--yellow-deep); flex: none; }
.sec-note { color: var(--muted); font-size: 15px; }

/* サービス */
.svc-grid { display: grid; gap: 12px; }
.svc-card { position: relative; display: grid; grid-template-columns: 110px 1fr 18px; align-items: center; gap: 12px; padding-right: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(8, 44, 102, .07); transition: box-shadow .15s, transform .15s; }
.svc-card:hover, .sub-card:hover { box-shadow: 0 6px 18px rgba(8, 44, 102, .16); transform: translateY(-1px); }
.svc-card > img { width: 100%; height: 100%; min-height: 100px; object-fit: cover; object-position: right center; }
.svc-card > div { padding: 12px 0; }
.svc-card h3, .sub-card h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; line-height: 1.4; }
.svc-card h3 svg { color: var(--navy); }
.svc-card p, .sub-card p { margin-top: 2px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.svc-card > .arw, .sub-card > .arw { width: 16px; height: 16px; color: var(--navy); }

.sub-grid { margin-top: 12px; display: grid; gap: 12px; }
.sub-card { display: grid; grid-template-columns: 34px 1fr 16px; align-items: center; gap: 12px; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; transition: box-shadow .15s, transform .15s; }
.sub-icon { width: 34px; height: 34px; color: var(--navy); }

/* 店舗 */
.store-grid { display: grid; gap: 16px; }
.store-card { display: grid; gap: 14px; padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.store-photo { width: 100%; max-height: 230px; object-fit: cover; border-radius: 6px; }
.store-body h3 { font-size: 20px; font-weight: 900; line-height: 1.3; }
.addr { margin-top: 4px; font-size: 15px; line-height: 1.6; }
.store-tel { display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 8px; color: var(--navy); font-size: 26px; font-weight: 700; line-height: 1.2; }
.store-body dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; font-size: 14px; }
.store-body dt { color: var(--muted); }
.more { margin-top: 18px; text-align: center; }

/* 営業カレンダー（js/cal.js の出力） */
.cal-box { min-width: 0; }
.cal_ui { display: none; }
.cal_wrapper { font-size: 13px; }
.cal_wrapper table { width: 100%; max-width: 320px; margin: 0 auto; border-collapse: collapse; table-layout: fixed; }
.cal_wrapper h3 { margin-bottom: 4px; text-align: center; font-size: 14px; font-weight: 700; color: var(--navy-deep); }
.cal_wrapper td { padding: 1px; text-align: center; line-height: 26px; }
.cal_wrapper tr.headline td { color: var(--muted); font-weight: 500; border-bottom: 1px solid var(--line); }
.cal_wrapper td div { border-radius: 50%; width: 26px; height: 26px; margin: 0 auto; }
.cal_wrapper td div.Sat { color: var(--navy); }
.cal_wrapper td div.Sun { color: var(--red); }
.cal_wrapper td div.Today { font-weight: 900; box-shadow: inset 0 0 0 2px var(--yellow-deep); }
.cal_wrapper td div.sc { background: #fde3e5; color: var(--red); font-weight: 700; }
.cal_wrapper td div.backward { opacity: .45; }
.cal-box::after { content: "色付きの日：休業日"; display: block; margin-top: 4px; color: var(--muted); font-size: 12px; text-align: center; }

/* バナー */
#links { padding-top: 32px; padding-bottom: 32px; }
.flat7 { display: block; max-width: 680px; margin-bottom: 18px; }
.flat7 img { display: block; width: 100%; border-radius: 12px; box-shadow: 0 2px 10px rgba(8, 44, 102, .12); }
.bnr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.bnr-wide { grid-column: 1 / -1; order: -1; }
.bnr { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 110px; padding: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; transition: box-shadow .15s; }
a.bnr:hover { box-shadow: 0 6px 18px rgba(8, 44, 102, .16); }
.bnr img { max-height: 90px; width: auto; object-fit: contain; }
.rent-card { gap: 12px; min-height: 76px; background: var(--navy); border-color: var(--navy); color: var(--white); }
.rent-card > svg:first-child { width: 34px; height: 34px; color: var(--yellow); }
.rent-card b { display: block; font-size: 16px; line-height: 1.4; }
.rent-card small { display: block; color: var(--yellow); font-size: 13px; font-weight: 500; }
.rent-card .arw { width: 14px; height: 14px; }

.partners { margin-top: 24px; }
.partners h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 16px; font-weight: 700; }
.partners h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.partners ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.partners li { display: flex; align-items: center; justify-content: center; height: 84px; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.partners img { max-height: 58px; width: auto; }

/* フッター */
.site-footer { background: var(--navy-deep); color: var(--white); padding-bottom: 66px; }
.foot-inner { max-width: var(--wrap); margin: 0 auto; padding: 24px 16px; display: grid; gap: 20px; }
.foot-brand img { width: 170px; }
.foot-brand p { margin-top: 6px; font-weight: 700; }
.foot-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 16px; font-size: 14px; }
.foot-nav a:hover, .foot-bottom a:hover { text-decoration: underline; }
.foot-tels { display: grid; gap: 6px; font-size: 20px; font-weight: 700; line-height: 1.3; }
.foot-tels small { display: inline-block; min-width: 4em; font-size: 13px; font-weight: 500; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; max-width: var(--wrap); margin: 0 auto; padding: 10px 16px; border-top: 1px solid rgba(255, 255, 255, .25); font-size: 12px; }

/* スマホの電話バー */
.call-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); box-shadow: 0 -2px 8px rgba(0, 0, 0, .2); }
.call-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 56px; padding: 6px 4px; color: var(--white); font-size: 15px; font-weight: 700; line-height: 1.25; }
.call-bar a + a { border-left: 1px solid rgba(255, 255, 255, .3); }
.call-bar small { display: block; color: var(--yellow); font-size: 11px; font-weight: 500; }
.call-bar svg { color: var(--yellow); }

/* WEB予約バナー */
.goo-bnr { position: fixed; right: 0; bottom: 56px; z-index: 55; display: block; width: 96px; height: 84px; }
.goo-bnr img { position: absolute; right: 0; bottom: 0; }
.goo-bnr img:first-child { width: 90px; }
.goo-bnr img:last-child { width: 96px; }

/* タブレット以上 */
@media (min-width: 640px) {
	.hero-actions { display: flex; flex-wrap: wrap; }
	.points { grid-template-columns: repeat(4, 1fr); }
	.partners ul { grid-template-columns: repeat(4, 1fr); }
	.foot-nav { grid-template-columns: repeat(3, 1fr); }
	.store-card { grid-template-columns: 180px 1fr; }
	.cal-box { grid-column: 1 / -1; }
	.store-photo { height: 100%; }
}

/* PC */
@media (min-width: 1000px) {
	.head-note { display: block; }
	.head-tels { display: flex; }
	.head-contact { display: inline-flex; }
	.nav-toggle { display: none; }
	.call-bar { display: none; }
	.site-footer { padding-bottom: 0; }
	.goo-bnr { bottom: 0; width: 191px; height: 166px; }
	.goo-bnr img:first-child { width: 180px; }
	.goo-bnr img:last-child { width: 191px; }

	.site-nav { display: block; }
	.site-nav ul { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; display: flex; justify-content: space-between; }
	.site-nav a { padding: 8px 6px 9px; border-bottom: 3px solid transparent; font-size: 14px; white-space: nowrap; }
	.site-nav a:hover { color: var(--navy); border-bottom-color: var(--yellow-deep); }
	.site-nav .is-current { border-bottom-color: var(--navy); }
	.site-nav .nav-contact { display: none; }

	.hero-inner { grid-template-columns: 1fr 1fr; align-items: center; padding: 32px 16px 12px; }
	.hero h1 { font-size: 46px; }
	.lead { font-size: 18px; margin-top: 16px; }
	.hero-actions { margin-top: 22px; }

	.hero-bottom { grid-template-columns: 1fr 400px; align-items: stretch; padding-bottom: 28px; }
	.points li { flex-direction: column; text-align: center; justify-content: center; gap: 6px; font-size: 13px; }
	.price-band { flex-wrap: nowrap; transform: skewX(-8deg); border-radius: 4px; }
	.price-band > * { transform: skewX(8deg); }

	.section { padding: 48px 16px; }
	.sec-head { grid-template-columns: auto minmax(0, 480px); justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
	.sec-head h2 { font-size: 28px; }

	.svc-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
	.svc-card { display: flex; flex-direction: column; align-items: stretch; padding: 0; gap: 0; }
	.svc-card > img { height: 170px; min-height: 0; }
	.svc-card > div { padding: 14px 44px 18px 16px; }
	.svc-card > .arw { position: absolute; right: 14px; bottom: 28px; width: 20px; height: 20px; }

	.sub-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }

	.store-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
	.store-card { grid-template-columns: 210px 1fr; }

	.bnr-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 760px; margin-left: auto; margin-right: auto; }
	.bnr-wide { grid-column: auto; order: 0; }
	.rent-card { flex-direction: column; gap: 6px; text-align: center; }
	.rent-card b { font-size: 15px; }
	.rent-card .arw { display: none; }
	.partners ul { gap: 16px; }
	.flat7 { margin-bottom: 24px; }

	.site-footer { padding-right: 180px; }
	.foot-inner { grid-template-columns: auto 1fr auto; gap: 32px; align-items: start; }
	.foot-nav { grid-template-columns: repeat(3, auto); justify-content: center; gap: 6px 28px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.hero-slides img, .svc-card, .sub-card, .nav-toggle span { transition: none; }
}
