/* ==========================================================================
   ranoBlog sections.css
   トップページと、サービス・料金・実績・運営者情報・お問い合わせページで使うセクションのスタイル。
   正本は mockups/mock-a-nayami.html。後半にサービスページなど下層ページ用の部品がある。
   ========================================================================== */

/* ---------- ファーストビュー ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: 72px 96px; }
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image: radial-gradient(color-mix(in srgb, var(--accent) 22%, transparent) 1px, transparent 1.5px);
	background-size: 22px 22px;
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 75% 40%, #000 20%, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 60% at 75% 40%, #000 20%, transparent 75%);
}
.hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	top: -140px;
	right: -160px;
	width: 560px;
	height: 560px;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--accent) 16%, transparent), transparent 65%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero__tagline {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 16px 6px 6px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
	box-shadow: var(--sh-1);
	color: var(--ink-2);
	font-size: .82rem;
	font-weight: 700;
}
.hero__tagline b { padding: 2px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .72rem; letter-spacing: .08em; }
.hero__title { margin-top: 22px; font-size: clamp(2.05rem, 4.6vw, 3.35rem); font-weight: 900; line-height: 1.38; letter-spacing: .03em; }
.hero__em {
	background: linear-gradient(color-mix(in srgb, var(--mark) 75%, transparent), color-mix(in srgb, var(--mark) 75%, transparent)) no-repeat 0 92% / 100% 36%;
	animation: rb-draw 1s .5s var(--ease) both;
}
.hero__lead { max-width: 31em; margin: 24px 0 36px; color: var(--ink-2); font-size: 1.05rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__sub { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; color: var(--muted); font-size: .82rem; }
.hero__sub span { display: inline-flex; align-items: center; gap: 6px; }
.hero__sub .icon { color: var(--accent); }
.hero__ill { position: relative; min-width: 0; }
.hero__ill > svg { width: 100%; height: auto; filter: drop-shadow(0 24px 40px color-mix(in srgb, var(--ink) 10%, transparent)); }

.badge {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--surface);
	box-shadow: var(--sh-2);
	font-size: .8rem;
	font-weight: 700;
	line-height: 1.4;
}
.badge small { display: block; color: var(--muted); font-size: .68rem; font-weight: 500; }
.badge__icon { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px; }
.badge--1 { top: 16%; left: -6%; }
.badge--1 .badge__icon { background: var(--accent-soft); color: var(--accent); }
.badge--2 { right: -3%; bottom: 8%; animation-delay: -3s; }
.badge--2 .badge__icon { background: color-mix(in srgb, var(--coral) 20%, var(--surface)); color: var(--coral); }

/* 特徴の帯 */
.trust { position: relative; z-index: 2; margin-top: -48px; }
.trust__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin: 0;
	padding: 8px;
	list-style: none;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--surface);
	box-shadow: var(--sh-2);
}
.trust__item { display: flex; align-items: center; gap: 12px; padding: 18px 16px; }
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.trust__item b { display: block; font-size: .92rem; line-height: 1.4; word-break: auto-phrase; }
.trust__item small { display: block; color: var(--muted); font-size: .76rem; line-height: 1.5; }

/* ---------- お悩み ---------- */
.worries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.worry {
	display: grid;
	align-content: start;
	gap: 16px;
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: var(--surface);
	box-shadow: var(--sh-1);
	color: var(--ink);
	text-decoration: none;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.worry:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.worry__top { display: flex; justify-content: space-between; align-items: start; }
.worry__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: var(--accent-soft); transition: transform .3s var(--ease); }
.worry:hover .worry__icon { transform: rotate(-6deg) scale(1.06); }
.worry__title { font-size: 1.08rem; line-height: 1.6; }
.worry__text { color: var(--muted); font-size: .9rem; line-height: 1.8; }
.worry__go { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: .84rem; font-weight: 700; }
.worry__go .icon { transition: transform .25s; }
.worry:hover .worry__go .icon { transform: translateX(4px); }

/* ---------- 選ばれる理由 ---------- */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.reason { position: relative; display: grid; align-content: start; gap: 14px; overflow: hidden; padding: 32px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); }
.reason__ill { display: grid; place-items: center; height: 120px; margin-bottom: 6px; border-radius: var(--r); background: var(--tint); }
.reason__ill svg { width: auto; height: 96px; }
.reason__pt { color: var(--accent); font-family: var(--f-num); font-size: .78rem; font-weight: 700; letter-spacing: .1em; }
.reason__title { font-size: 1.15rem; }
.reason__text { color: var(--muted); font-size: .92rem; }

/* ---------- 専用システム（暗い背景） ---------- */
.system { position: relative; isolation: isolate; overflow: hidden; background: var(--dark); color: var(--on-dark); }
.system::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(800px 400px at 90% 0%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%),
		radial-gradient(600px 300px at 0% 100%, color-mix(in srgb, var(--mark) 12%, transparent), transparent 70%);
}
.system .eyebrow { color: var(--mark); }
.system .sec-head__lead { color: var(--on-dark-muted); }
.system__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.system__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.compare__col { display: grid; align-content: start; gap: 10px; padding: 22px; border-radius: var(--r); }
.compare__col h3 { font-size: .98rem; }
.compare__col ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: .86rem; line-height: 1.6; }
.compare__col li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.compare__col--pkg { border: 1px dashed color-mix(in srgb, #fff 25%, transparent); }
.compare__col--pkg h3 { color: var(--on-dark-muted); }
.compare__col--pkg li::before { content: "×"; color: var(--coral); font-weight: 700; }
.compare__col--own {
	background: linear-gradient(160deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #000));
	color: #fff;
	box-shadow: 0 16px 40px color-mix(in srgb, var(--accent) 30%, transparent);
}
.compare__col--own li::before { content: "✓"; color: var(--mark); font-weight: 700; }

.builds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.build {
	display: grid;
	grid-template-columns: 48px 1fr;
	align-items: center;
	gap: 14px;
	padding: 18px;
	border: 1px solid color-mix(in srgb, #fff 10%, transparent);
	border-radius: var(--r);
	background: color-mix(in srgb, #fff 5%, transparent);
	transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.build:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--mark) 60%, transparent); background: color-mix(in srgb, #fff 8%, transparent); }
.build__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: color-mix(in srgb, #fff 8%, transparent); }
.build b { display: block; font-size: .98rem; line-height: 1.5; }
.build__text { display: block; color: var(--on-dark-muted); font-size: .78rem; line-height: 1.6; }
.build--new {
	border-color: color-mix(in srgb, var(--mark) 40%, transparent);
	background: linear-gradient(160deg, color-mix(in srgb, var(--mark) 9%, transparent), color-mix(in srgb, #fff 4%, transparent));
}
.build__new { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--mark); color: var(--dark); font-family: var(--f-num); font-size: .62rem; font-weight: 700; letter-spacing: .08em; vertical-align: 2px; }

/* ---------- 運用サポート ---------- */
.cycle-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.cycle svg { width: 100%; max-width: 440px; height: auto; margin: auto; }
.cycle__ring { animation: rb-dash 14s linear infinite; }
.plans { display: grid; gap: 14px; }
.plan {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: baseline;
	gap: 6px 16px;
	padding: 22px 24px;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: var(--surface);
	box-shadow: var(--sh-1);
	transition: transform .3s var(--ease), box-shadow .3s;
}
.plan:hover { transform: translateX(4px); box-shadow: var(--sh-2); }
.plan--rec { position: relative; border: 2px solid var(--accent); }
.plan--rec::before {
	content: "おすすめ";
	position: absolute;
	top: -12px;
	left: 20px;
	padding: 3px 12px;
	border-radius: 999px;
	background: var(--accent);
	color: var(--accent-ink);
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.6;
}
.plan__name { font-size: 1.1rem; }
.plan__price { font-family: var(--f-num); font-size: 1.45rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0; text-align: right; white-space: nowrap; }
.plan__price small { margin-left: 2px; color: var(--muted); font-family: var(--f-body); font-size: .75rem; }
.plan__desc { grid-column: 1 / -1; color: var(--muted); font-size: .88rem; line-height: 1.75; }
.support__more { margin-top: 20px; }

/* ---------- WordPress ---------- */
.wp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.wp-card {
	display: grid;
	grid-template-columns: 140px 1fr;
	align-items: start;
	gap: 28px;
	padding: 32px;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--surface);
	box-shadow: var(--sh-1);
}
.wp-card__title { margin-bottom: 8px; font-size: 1.25rem; }
.wp-card__text { margin-bottom: 14px; color: var(--muted); font-size: .93rem; }
.wp-card__more { margin-top: 16px; }

/* ---------- 開発実績 ---------- */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work {
	display: grid;
	align-content: start;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--surface);
	box-shadow: var(--sh-1);
	transition: transform .3s var(--ease), box-shadow .3s;
}
.work:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.work__thumb { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(160deg, var(--accent-soft), var(--tint)); }
.work__thumb svg { width: 72%; height: auto; transition: transform .5s var(--ease); }
.work:hover .work__thumb svg { transform: scale(1.05); }
.work__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work__body { display: grid; gap: 10px; padding: 24px; }
.work__tag { justify-self: start; }
.work__title { font-size: 1.1rem; }
.work__dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 0; font-size: .88rem; line-height: 1.7; }
.work__dl dt { justify-self: start; height: fit-content; margin-top: 3px; padding: 0 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: .72rem; font-weight: 700; }
.work__dl dd { margin: 0; }
.work__more { margin-top: 6px; }
.work { position: relative; }
.work__demo { position: absolute; top: 16px; left: 16px; z-index: 1; padding: 3px 12px; border-radius: 99px; background: var(--mark); color: #122128; font-size: .75rem; font-weight: 700; }
.work__try { justify-self: start; margin-top: 8px; }
.works__more { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- 料金 ---------- */
.price-table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); }
.price-table table { width: 100%; min-width: 600px; border-collapse: collapse; }
.price-table th,
.price-table td { padding: 20px 24px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.price-table tbody tr:last-child > * { border-bottom: 0; }
.price-table thead th { background: var(--tint); color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .08em; }
.price-table tbody th { font-size: .98rem; font-weight: 700; }
.price-table tbody th a { color: var(--ink); text-decoration: none; }
.price-table tbody th a:hover { color: var(--accent); text-decoration: underline; }
.price-table td { color: var(--ink-2); font-size: .92rem; }
.price-table .price-table__num { text-align: right; }
.price-table__price { color: var(--ink); font-family: var(--f-num); font-size: 1.1rem; font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.price-table__price small { color: var(--muted); font-family: var(--f-body); font-size: .75rem; }
.price-table__row--main { background: color-mix(in srgb, var(--mark) 9%, var(--surface)); }
.pill { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--mark); color: #122128; font-size: .66rem; line-height: 1.6; vertical-align: 2px; }
.note { margin-top: 14px; color: var(--muted); font-size: .82rem; }

/* ---------- ご依頼の流れ ---------- */
.flow { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.flow::before {
	content: "";
	position: absolute;
	top: 36px;
	left: 10%;
	right: 10%;
	z-index: 0;
	height: 2px;
	background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
}
.flow__step { position: relative; z-index: 1; display: grid; align-content: start; justify-items: center; gap: 10px; text-align: center; counter-increment: step; }
.flow__num { display: grid; place-items: center; width: 72px; height: 72px; border: 2px solid var(--accent); border-radius: 50%; background: var(--surface); box-shadow: var(--sh-1); }
.flow__num::before { content: counter(step, decimal-leading-zero); color: var(--accent); font-family: var(--f-num); font-size: 1.2rem; font-weight: 700; }
.flow__title { font-size: 1rem; line-height: 1.5; }
.flow__text { color: var(--muted); font-size: .84rem; line-height: 1.7; }

/* ---------- 運営者 ---------- */
.profile {
	display: grid;
	grid-template-columns: 260px 1fr;
	align-items: center;
	gap: 56px;
	padding: 48px;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--surface);
	box-shadow: var(--sh-1);
}
.avatar {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	max-width: 260px;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 50%;
	background: var(--accent-soft);
	box-shadow: 0 0 0 6px var(--surface), 0 0 0 7px var(--line);
}
.avatar__img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.avatar__img.is-missing { display: none; }
/* 透過画像の後ろに仮イラストが透けないよう、画像があるときは隠す（読み込めないときは is-missing で再表示） */
.avatar__img:not(.is-missing) + .avatar__fallback { visibility: hidden; }
.profile__title { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.profile__role { margin-top: 4px; color: var(--accent); font-size: .88rem; font-weight: 700; }
.profile__txt { max-width: 40em; margin-top: 16px; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.chips li { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink-2); font-family: var(--f-num); font-size: .76rem; font-weight: 600; line-height: 1.6; }
.profile__more { margin-top: 16px; }

/* ---------- よくある質問 ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq__item { padding: 0 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--sh-1); transition: border-color .3s; }
.faq__item[open] { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.faq__item summary {
	display: grid;
	grid-template-columns: 32px 1fr 24px;
	align-items: center;
	gap: 10px;
	padding: 22px 0;
	font-weight: 700;
	line-height: 1.6;
	list-style: none;
	cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before { content: "Q"; color: var(--accent); font-family: var(--f-num); font-size: 1.2rem; font-weight: 700; }
.faq__item summary::after {
	content: "";
	justify-self: center;
	width: 12px;
	height: 12px;
	border-right: 2px solid var(--muted);
	border-bottom: 2px solid var(--muted);
	transform: rotate(45deg) translate(-3px, -3px);
	transition: transform .3s;
}
.faq__item[open] summary::after { transform: rotate(-135deg); }
.faq__item p { padding: 0 0 22px 42px; color: var(--ink-2); font-size: .95rem; }

/* ---------- ブログ ---------- */
.blog-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.blog-head .sec-head { margin-bottom: 0; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tabs[hidden] { display: none; }

/* ---------- お問い合わせ ---------- */
.contact { background: linear-gradient(170deg, var(--accent-soft), var(--tint)); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.contact__points { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.contact__points li { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 700; }
.contact__points .icon { flex: none; color: var(--accent); }
.contact__ill { width: 100%; max-width: 300px; height: auto; margin-top: 32px; }
.contact__card,
.contact__form {
	display: grid;
	gap: 18px;
	padding: 36px;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--surface);
	box-shadow: var(--sh-2);
}
.contact__card-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); }
.contact__card-title { font-size: 1.25rem; }
.contact__card > p { color: var(--ink-2); font-size: .95rem; }
.contact__note { color: var(--muted); font-size: .78rem; text-align: center; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1000px) {
	.hero__grid,
	.system__grid,
	.cycle-grid,
	.contact__grid { grid-template-columns: 1fr; }
	.hero__ill { width: 100%; max-width: 560px; margin-inline: auto; }
	.worries,
	.reasons,
	.works { grid-template-columns: 1fr 1fr; }
	.trust__list { grid-template-columns: 1fr 1fr; }
	.trust__item:nth-child(3) { border-left: 0; }
	.trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
	.wp-grid { grid-template-columns: 1fr; }
	.flow { grid-template-columns: 1fr; gap: 0; }
	.flow::before {
		top: 36px;
		bottom: 36px;
		left: 35px;
		right: auto;
		width: 2px;
		height: auto;
		background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 14px);
	}
	.flow__step { grid-template-columns: 72px 1fr; justify-items: start; column-gap: 20px; padding-bottom: 20px; text-align: left; }
	.flow__num { grid-row: span 2; }
	.flow__title { align-self: end; }
	.profile { grid-template-columns: 1fr; justify-items: start; gap: 24px; padding: 32px; }
	.avatar { max-width: 160px; }
}
@media (max-width: 640px) {
	.hero { padding-block: 40px 80px; }
	.badge { display: none; }
	.worries,
	.reasons,
	.works,
	.compare,
	.builds { grid-template-columns: 1fr; }
	.trust__list { grid-template-columns: 1fr; }
	.trust__item + .trust__item { border-top: 1px solid var(--line); border-left: 0; }
	.wp-card { grid-template-columns: 1fr; padding: 24px; }
	.wp-card__ill { width: 110px; height: auto; }
	.contact__card,
	.contact__form { padding: 24px; }
	/* スマホでは表を縦積みにして、金額が見切れないようにする */
	.price-table--stack table { min-width: 0; }
	.price-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.price-table--stack tbody tr {
		display: grid;
		grid-template-columns: 1fr auto;
		gap: 6px 12px;
		padding: 18px 20px;
		border-bottom: 1px solid var(--line);
	}
	.price-table--stack tbody tr:last-child { border-bottom: 0; }
	.price-table--stack tbody th,
	.price-table--stack tbody td { padding: 0; border: 0; }
	.price-table--stack tbody th { grid-area: 1 / 1; }
	.price-table--stack .price-table__price { grid-area: 1 / 2; }
	.price-table--stack tbody td:not(.price-table__price) { grid-area: 2 / 1 / 3 / 3; color: var(--muted); font-size: .86rem; line-height: 1.7; }
}

/* ==========================================================================
   下層ページの部品（サービス・料金・実績・運営者情報・お問い合わせ）
   ========================================================================== */
.price__more { margin-top: 20px; }

/* サービスページの見出し部分 */
.service-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: 32px 72px;
	background: var(--tint);
}
.service-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: radial-gradient(color-mix(in srgb, var(--accent) 20%, transparent) 1px, transparent 1.5px);
	background-size: 22px 22px;
	-webkit-mask-image: radial-gradient(ellipse 60% 90% at 85% 30%, #000 10%, transparent 70%);
	mask-image: radial-gradient(ellipse 60% 90% at 85% 30%, #000 10%, transparent 70%);
}
.service-hero__grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 56px; align-items: center; margin-top: 32px; }
.service-hero__title { margin-top: 12px; font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 900; line-height: 1.4; }
.service-hero__lead { max-width: 36em; margin-top: 18px; color: var(--ink-2); font-size: 1.02rem; }
.service-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.service-hero__card {
	display: grid;
	gap: 16px;
	justify-items: start;
	padding: 32px;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--surface);
	box-shadow: var(--sh-2);
}
.service-hero__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: var(--accent-soft); }

/* お悩みのチェックリスト */
.worry-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 920px; margin: 0 auto; padding: 0; list-style: none; }
.worry-list li {
	position: relative;
	padding: 18px 20px 18px 54px;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: var(--surface);
	box-shadow: var(--sh-1);
	font-weight: 700;
	line-height: 1.6;
}
.worry-list li::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 20px;
	width: 22px;
	height: 22px;
	margin-top: -11px;
	border-radius: 6px;
	background: color-mix(in srgb, var(--coral) 18%, var(--surface)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' stroke='%23E77A60' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.worry-list__answer { margin-top: 36px; font-family: var(--f-display); font-size: clamp(1.1rem, 2.4vw, 1.4rem); font-weight: 700; text-align: center; }
.worry-list__answer strong { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--mark) 70%, transparent) 62%); }

/* 機能・内容のカード */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
	display: grid;
	align-content: start;
	gap: 10px;
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: var(--surface);
	box-shadow: var(--sh-1);
}
.feature__num { color: var(--accent); font-family: var(--f-num); font-size: .85rem; font-weight: 700; letter-spacing: .08em; }
.feature__title { font-size: 1.08rem; line-height: 1.6; }
.feature__text { color: var(--muted); font-size: .9rem; line-height: 1.8; }
.service-note { margin-bottom: 28px; }
.compare-table td:last-child { color: var(--ink); font-weight: 700; }
.compare-table thead th:last-child { color: var(--accent); }
.reason .reason__pt { margin-top: 4px; }

/* サービスのカード */
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
	display: grid;
	align-content: start;
	gap: 12px;
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: var(--surface);
	box-shadow: var(--sh-1);
	color: var(--ink);
	text-decoration: none;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.service-card--main { border: 2px solid var(--accent); }
.service-card__top { display: flex; justify-content: space-between; align-items: start; }
.service-card__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: var(--accent-soft); }
.service-card__title { font-size: 1.15rem; }
.service-card__text { color: var(--muted); font-size: .9rem; line-height: 1.8; }
.service-card__go { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: .84rem; font-weight: 700; }
.service-card__go .icon { transition: transform .25s; }
.service-card:hover .service-card__go .icon { transform: translateX(4px); }

/* ページ下部の相談の案内 */
.contact-band { position: relative; isolation: isolate; overflow: hidden; padding-block: 80px; border-bottom: 1px solid color-mix(in srgb, #fff 10%, transparent); background: var(--dark-2); color: var(--on-dark); }
.contact-band::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(700px 360px at 90% 0%, color-mix(in srgb, var(--accent) 32%, transparent), transparent 70%);
}
.contact-band__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.contact-band .eyebrow { color: var(--mark); }
.contact-band__title { margin-top: 10px; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; }
.contact-band__text { max-width: 36em; margin-top: 12px; color: var(--on-dark-muted); }
.contact-band__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* 運営者情報 */
.story { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.story__item {
	display: grid;
	gap: 8px;
	padding: 28px 32px;
	border: 1px solid var(--line);
	border-left: 5px solid var(--accent);
	border-radius: var(--r);
	background: var(--surface);
	box-shadow: var(--sh-1);
}
.story__item p { color: var(--ink-2); font-size: .95rem; }
.story__item .text-link { margin-top: 4px; }
.story__label { color: var(--accent); font-size: .78rem; font-weight: 700; letter-spacing: .08em; }
.story__title { font-size: 1.15rem; }
.info-table table { min-width: 0; }
.info-table tbody th { width: 28%; background: var(--tint); }

/* 開発実績 */
.work__title a { color: inherit; text-decoration: none; }
.work__title a:hover { color: var(--accent); text-decoration: underline; }
.work-detail__thumb { display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r); background: linear-gradient(160deg, var(--accent-soft), var(--tint)); }
.work-detail__thumb svg { width: 60%; height: auto; }
.work-detail__thumb img { width: 100%; height: 100%; object-fit: cover; }
.work-detail__dl { display: grid; gap: 12px; margin: 28px 0 32px; }
.work-detail__dl div { display: grid; grid-template-columns: 5.5em 1fr; gap: 12px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.work-detail__dl dt { color: var(--accent); font-weight: 700; }
.work-detail__dl dd { margin: 0; }
.work-demo { margin-bottom: 40px; }
.work-demo__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 16px; }
.work-demo__frame { display: block; width: 100%; height: min(820px, 85vh); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--sh-2); }
/* スマホでは枠の中が狭いので、別の画面で開く */
@media (max-width: 760px) {
	.work-demo__frame { display: none; }
	.work-demo__bar .btn { width: 100%; justify-content: center; }
}
.work-detail__back { margin-top: 40px; }

/* お問い合わせページ */
.contact--page { background: none; }
.contact-guide { margin-top: 32px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.contact-guide__title { margin-bottom: 14px; font-size: 1.05rem; font-weight: 700; }
.contact-guide__note { margin-top: 16px; color: var(--muted); font-size: .85rem; }
.thanks { display: grid; gap: 32px; }
.thanks__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Contact Form 7 */
.contact__form .wpcf7 form { display: grid; gap: 18px; margin: 0; }
.contact__form .field { display: grid; gap: 8px; }
.contact__form .field > label,
.contact__form .field__label { font-size: .88rem; font-weight: 700; }
.contact__form .req,
.contact__form .opt { margin-left: 8px; padding: 1px 6px; border-radius: 4px; font-size: .66rem; vertical-align: 2px; }
.contact__form .req { background: var(--coral); color: #fff; }
.contact__form .opt { background: var(--tint); color: var(--muted); }
.contact__form .wpcf7-form-control-wrap { display: block; }
.contact__form :is(input[type=text], input[type=email], input[type=tel], input[type=url], select, textarea) {
	width: 100%;
	padding: 14px 16px;
	border: 1.5px solid var(--line);
	border-radius: var(--r-sm);
	background: var(--bg);
	color: var(--ink);
	font: inherit;
	font-size: 1rem;
	transition: border-color .2s, box-shadow .2s;
}
.contact__form :is(input, select, textarea):focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.contact__form textarea { min-height: 160px; resize: vertical; }
.contact__form .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.contact__form .wpcf7-acceptance label { display: flex; gap: 10px; align-items: center; font-size: .9rem; cursor: pointer; }
.contact__form .wpcf7-acceptance input { width: 18px; height: 18px; accent-color: var(--accent); }
.contact__form input[type=submit] {
	width: 100%;
	min-height: 56px;
	border: 0;
	border-radius: 999px;
	background: var(--accent);
	box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 28%, transparent);
	color: var(--accent-ink);
	font: inherit;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: .06em;
	cursor: pointer;
	transition: transform .25s var(--ease), background .25s;
}
.contact__form input[type=submit]:hover { background: var(--accent-2); transform: translateY(-2px); }
.contact__form input[type=submit]:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.contact__form .wpcf7-not-valid-tip { margin-top: 6px; color: var(--coral); font-size: .82rem; font-weight: 700; }
.contact__form .wpcf7-not-valid { border-color: var(--coral) !important; }
.contact__form .wpcf7 form .wpcf7-response-output { margin: 0; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm); font-size: .9rem; }
.contact__form .wpcf7 form.invalid .wpcf7-response-output,
.contact__form .wpcf7 form.unaccepted .wpcf7-response-output,
.contact__form .wpcf7 form.failed .wpcf7-response-output { border-color: var(--coral); color: var(--coral); }
.contact__form .wpcf7 form.sent .wpcf7-response-output { border-color: var(--accent); color: var(--accent); }
.contact__form .wpcf7-spinner { margin: 8px auto 0; display: block; }
.contact__form .contact__note { margin-top: 0; }
.contact__form .contact__note a { color: inherit; }
.grecaptcha-badge { visibility: hidden; }
.recaptcha-note { color: var(--muted); font-size: .72rem; text-align: center; }
.recaptcha-note a { color: inherit; }

@media (max-width: 1000px) {
	.service-hero__grid { grid-template-columns: 1fr; gap: 32px; }
	.feature-grid,
	.service-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.service-hero { padding-block: 24px 56px; }
	.service-hero__card { padding: 24px; }
	.worry-list,
	.feature-grid,
	.service-cards { grid-template-columns: 1fr; }
	.contact-band { padding-block: 64px; }
	.contact-band__btns .btn { width: 100%; }
	.story__item { padding: 22px 22px 22px 20px; }
	.info-table tbody tr { display: block; padding: 14px 18px; }
	.info-table tbody th,
	.info-table tbody td { display: block; width: auto; padding: 0; border: 0; background: none; }
	.info-table tbody th { color: var(--muted); font-size: .8rem; }
	.contact-guide { padding: 22px; }
}
