/*
Theme Name: サロンノートプラス LP
Theme URI: https://w-brand.com/
Author: 株式会社ウェブランディング
Description: サロンノートプラスのランディングページ用テーマ。img/ フォルダの画像をファイル名の番号順（01, 02, 05, 05-1, 06 …）に自動で縦に並べて表示します。固定ヘッダー・メニュー・画像上のボタン・お申し込みフォーム付き。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: salonnote-lp
*/

:root {
	--color-navy: #0e1f47;
	--color-teal: #0f8f94;
	--color-teal-dark: #0b7479;
	--color-line: #06c755;
	--color-bg: #eef6f8;
	--color-page: #ffffff;
	--color-text: #1d2433;
	--color-muted: #5b6475;
	--color-border: #d5e3e8;
	--lp-width: 750px;
	--header-h: 64px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--color-teal); }

/* ------------------------------------------------------------------------
 * 固定ヘッダー
 * ---------------------------------------------------------------------- */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 3px solid var(--color-teal);
	box-shadow: 0 2px 12px rgba(14, 31, 71, 0.08);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

.site-header__inner {
	max-width: var(--lp-width);
	height: var(--header-h);
	margin: 0 auto;
	padding: 0 12px 0 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.site-header__brand {
	display: block;
	min-width: 0;
	text-decoration: none;
	color: var(--color-navy);
}
.site-header__sub {
	display: block;
	font-size: 11px;
	font-weight: 700;
	color: var(--color-teal);
	letter-spacing: 0.02em;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.site-header__main {
	display: block;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.35;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.site-header__main strong { color: var(--color-teal); }

@media (max-width: 400px) {
	.site-header__sub { font-size: 10px; }
	.site-header__main { font-size: 14px; }
}

/* ハンバーガー（メニューバー3本） */
.menu-toggle {
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: var(--color-navy);
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
}
.menu-toggle__bar {
	display: block;
	width: 24px;
	height: 2px;
	background: #fff;
	border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.2s ease;
}
.menu-open .menu-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-toggle__bar:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.global-nav {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: var(--color-navy);
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}
.menu-open .global-nav { max-height: 400px; }

.global-nav ul {
	list-style: none;
	margin: 0 auto;
	padding: 8px 0 16px;
	max-width: var(--lp-width);
}
.global-nav a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 24px;
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.global-nav a::after {
	content: "";
	width: 8px;
	height: 8px;
	border-top: 2px solid var(--color-teal);
	border-right: 2px solid var(--color-teal);
	transform: rotate(45deg);
}
.global-nav a:hover,
.global-nav a:focus-visible { background: rgba(255, 255, 255, 0.06); }

/* ------------------------------------------------------------------------
 * LP本体（画像を縦に並べる）
 * ---------------------------------------------------------------------- */
.lp {
	max-width: var(--lp-width);
	margin: 0 auto;
	padding-top: var(--header-h);
	background: var(--color-page);
	box-shadow: 0 0 40px rgba(14, 31, 71, 0.08);
}

.lp-block {
	position: relative;
	line-height: 0;
}
.lp-block img {
	display: block;
	width: 100%;
	height: auto;
}

/* 画像の間の見出し（紺背景・白文字） */
.lp-heading {
	position: relative;
	padding: 36px 20px 40px;
	background: var(--color-navy);
	color: #fff;
	text-align: center;
}
.lp-heading::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -13px;
	width: 26px;
	height: 26px;
	background: var(--color-navy);
	transform: translateX(-50%) rotate(45deg);
	z-index: 1;
}
.lp-heading__title {
	margin: 0;
	font-size: clamp(26px, 7.4vw, 44px);
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: 0.03em;
}
.lp-heading__sub {
	margin: 16px 0 0;
	font-size: clamp(16px, 4.4vw, 22px);
	font-weight: 700;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.92);
}
.lp-heading .t-s { font-size: 0.62em; }
.lp-heading .t-l { font-size: 1.18em; }
.lp-heading .t-accent { color: #ffd84d; }

/* 画像上のクリック領域（ボタン部分に透明リンクを重ねる） */
.lp-hotspot {
	position: absolute;
	display: block;
	border-radius: 999px;
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.lp-hotspot:hover,
.lp-hotspot:focus-visible {
	background: rgba(255, 255, 255, 0.14);
	box-shadow: 0 0 0 3px rgba(15, 143, 148, 0.35);
	outline: none;
}
.lp-hotspot .screen-reader-text,
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* 位置調整モード（URL末尾に ?hotspot=1 を付けてログイン中に表示） */
.show-hotspots .lp-hotspot {
	background: rgba(255, 0, 80, 0.25);
	outline: 2px dashed #ff0050;
}
.lp-block__label {
	position: absolute;
	top: 6px;
	left: 6px;
	padding: 2px 8px;
	font-size: 12px;
	line-height: 1.6;
	background: #ff0050;
	color: #fff;
	border-radius: 4px;
	z-index: 2;
}

.lp-empty {
	padding: 80px 24px;
	text-align: center;
	line-height: 1.8;
	color: var(--color-muted);
}

/* ------------------------------------------------------------------------
 * お申し込みフォーム
 * ---------------------------------------------------------------------- */
.apply {
	padding: 8px 20px 56px;
}
.apply__inner {
	background: var(--color-bg);
	border-radius: 16px;
	padding: 28px 20px 32px;
}
.apply__title {
	margin: 0 0 4px;
	text-align: center;
	font-size: 22px;
	font-weight: 800;
	color: var(--color-navy);
}
.apply__lead {
	margin: 0 0 24px;
	text-align: center;
	font-size: 14px;
	color: var(--color-muted);
}

.form-row { margin-bottom: 18px; }
.form-row label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 700;
	color: var(--color-navy);
}
.form-row .req,
.form-row .opt {
	display: inline-block;
	margin-left: 6px;
	padding: 0 6px;
	font-size: 11px;
	border-radius: 3px;
	vertical-align: 1px;
}
.form-row .req { background: var(--color-teal); color: #fff; }
.form-row .opt { background: #fff; color: var(--color-muted); border: 1px solid var(--color-border); }

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
	width: 100%;
	padding: 12px 14px;
	font: inherit;
	font-size: 16px;
	color: var(--color-text);
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: 8px;
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
	outline: none;
	border-color: var(--color-teal);
	box-shadow: 0 0 0 3px rgba(15, 143, 148, 0.18);
}

.form-privacy {
	margin: 4px 0 20px;
	font-size: 13px;
	color: var(--color-muted);
	text-align: center;
}

.form-hp { position: absolute; left: -9999px; }

.btn-submit {
	display: block;
	width: 100%;
	padding: 18px 20px;
	border: 0;
	border-radius: 999px;
	background: var(--color-teal);
	color: #fff;
	font: inherit;
	font-size: 18px;
	font-weight: 800;
	cursor: pointer;
	box-shadow: 0 4px 0 var(--color-teal-dark);
	transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.btn-submit:hover { background: var(--color-teal-dark); }
.btn-submit:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--color-teal-dark); }

.form-message {
	margin: 0 0 20px;
	padding: 16px;
	border-radius: 8px;
	font-weight: 700;
	text-align: center;
}
.form-message--ok { background: #e3f6ee; color: #11694a; }
.form-message--ng { background: #fdecec; color: #a3261f; }

.btn-line {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
	padding: 14px 20px;
	border-radius: 999px;
	background: var(--color-line);
	color: #fff;
	font-weight: 800;
	text-decoration: none;
}

/* ------------------------------------------------------------------------
 * フッター
 * ---------------------------------------------------------------------- */
.site-footer {
	max-width: var(--lp-width);
	margin: 0 auto;
	padding: 28px 20px 36px;
	background: var(--color-navy);
	color: rgba(255, 255, 255, 0.85);
	text-align: center;
	font-size: 13px;
}
.site-footer a { color: #fff; }
.site-footer__company { margin: 0 0 8px; font-weight: 700; font-size: 15px; color: #fff; }
.site-footer__copy { margin: 12px 0 0; font-size: 12px; opacity: 0.7; }

/* ページトップへ */
.to-top {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 90;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--color-navy);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
	box-shadow: 0 4px 12px rgba(14, 31, 71, 0.25);
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top::before {
	content: "";
	width: 12px;
	height: 12px;
	margin-top: 5px;
	border-top: 3px solid #fff;
	border-left: 3px solid #fff;
	transform: rotate(45deg);
}
