@charset "utf-8";

/* =============================================================
   JET-FACTORY NIIYAMA  モダンレスポンシブ用スタイル
   - Bootstrap 5.3 を土台に、メインビジュアル(mv)に合わせた
     マリン系（ネイビー＋シアン＋カワサキライム）の配色。
   - 画像ボックスをやめ、見出し・枠・カードはすべてCSSで表現。
   - まずはトップページ（_LayoutModern.cshtml）専用。
   ============================================================= */

:root {
	--jf-navy: #0a4d93;       /* 主役の暗色：ナビ・ボタン・リンク（彩度高めの海ブルー） */
	--jf-navy-deep: #073366;  /* 最暗色：フッター・見出し */
	--jf-blue: #1684c9;       /* 明るい海ブルー：ホバー・アクセント */
	--jf-cyan: #14aec0;       /* 水のシアン：セクションバー等 */
	--jf-cyan-deep: #0a7585;  /* 文字用の濃いティール：価格 */
	--jf-lime: #8dc63f;       /* カワサキライム：CTA・NEW差し色 */
	--jf-lime-dark: #6fb12a;  /* ライムのホバー */
	--jf-en: #9fe0ea;         /* ネイビー上のEN表記用ライトシアン */
	--jf-ink: #16263a;        /* 本文テキスト（クールな暗色） */
	--jf-line: #e2e9f1;       /* クールなライトボーダー */
}

body {
	color: var(--jf-ink);
	background: #eef3f8;
	font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", "メイリオ", Meiryo, "Segoe UI", sans-serif;
}

/* ---- セクションを白カード地に ---- */
.jf-card {
	background: #fff;
	border: 1px solid var(--jf-line);
	border-radius: 14px;
	padding: 16px 18px;
	box-shadow: 0 1px 3px rgba(12, 58, 94, .05);
}

/* 見出しアイコン */
.jf-ico {
	display: inline-block;
	width: 18px;
	height: 18px;
	vertical-align: -3px;
	margin-right: 7px;
}

/* ---- ヘッダー（ナビバナー帯：mv-navの左右の色に合わせた横グラデ） ---- */
.jf-topbar {
	background: linear-gradient(90deg, rgb(2, 26, 88) 0%, rgb(114, 205, 223) 100%);
}

.jf-navbanner { display: block; }

.jf-navbanner img {
	display: block;
	width: 100%;
	height: auto;
}

/* ---- ナビゲーション ---- */
.jf-navbar {
	margin-top: -1px;
	background: linear-gradient(180deg, #0d57aa 0%, #073a78 100%);
	--bs-navbar-color: rgba(255, 255, 255, .95);
	--bs-navbar-hover-color: #ffffff;
	--bs-navbar-active-color: #ffffff;
	--bs-navbar-brand-color: #ffffff;
	--bs-navbar-brand-hover-color: #ffffff;
}

.jf-navbar .navbar-brand {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-weight: 500;
	font-size: .9rem;
	letter-spacing: .08em;
	opacity: .64;
}

.jf-navbar .jf-brand-ico {
	width: 14px;
	height: 14px;
}

.jf-navbar .nav-link {
	font-weight: 500;
}

/* ナビ項目のアイコン（文字だけのごちゃつき解消） */
.jf-navbar .jf-nav-ico {
	width: 16px;
	height: 16px;
	margin-right: 5px;
	vertical-align: -2px;
	opacity: .85;
}

.jf-navbar .nav-link:hover .jf-nav-ico,
.jf-navbar .nav-link:focus .jf-nav-ico { opacity: 1; }

.jf-navbar .nav-link:hover,
.jf-navbar .nav-link:focus {
	color: #fff;
}

.jf-navbar .dropdown-menu {
	--bs-dropdown-bg: #fff;
	--bs-dropdown-link-color: var(--jf-navy-deep);
	--bs-dropdown-link-hover-color: var(--jf-navy-deep);
	--bs-dropdown-link-hover-bg: #eef3f8;
	--bs-dropdown-link-active-color: #fff;
	--bs-dropdown-link-active-bg: var(--jf-blue);
	background: #fff;
	border: 1px solid rgba(13, 87, 170, .12);
	box-shadow: 0 8px 24px rgba(8, 42, 69, .18);
}

.jf-navbar .dropdown-item {
	border-radius: 4px;
}

.jf-btn-inquiry {
	background: var(--jf-lime);
	color: var(--jf-navy-deep);
	font-weight: 500;
	border: none;
}

.jf-btn-inquiry:hover,
.jf-btn-inquiry:focus {
	background: var(--jf-lime-dark);
	color: var(--jf-navy-deep);
}

@media (max-width: 991.98px) {
	.jf-navbar .jf-btn-inquiry {
		display: flex;
		justify-content: center;
		width: 100%;
		margin-top: 10px;
	}
}

/* ---- トップ：メインビジュアル（全幅・全ブラウザ幅にフィット） ---- */
.jf-mv {
	display: block;
	width: 100%;
	height: auto;
}

/* ---- トップ：広告＋ナビボタン ---- */
.jf-hero-img {
	width: 100%;
	height: auto;
	border-radius: 12px;
}

/* 広告カルーセル（スライドショー） */
.jf-topslider .carousel-inner {
	border-radius: 12px;
}

.jf-topslider .carousel-control-prev-icon,
.jf-topslider .carousel-control-next-icon {
	background-color: rgba(7, 58, 120, .55);
	border-radius: 50%;
	width: 2.4rem;
	height: 2.4rem;
	background-size: 45% 45%;
	background-position: center;
}

.jf-navbtn {
	display: flex;
	flex: 1 1 0;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 58px;
	padding: 10px 20px;
	background: linear-gradient(135deg, #0d57aa 0%, #073a78 100%);
	color: #fff;
	text-decoration: none;
	border-radius: 10px;
	transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.jf-navbtn:hover {
	background: linear-gradient(135deg, #1a86dd 0%, #0a4d93 100%);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(12, 58, 94, .22);
}

.jf-navbtn .jf-btn-text {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
	text-align: left;
}

.jf-navbtn .jp {
	font-weight: 500;
	font-size: 1.15rem;
	line-height: 1.3;
}

.jf-navbtn .en {
	font-size: .68rem;
	letter-spacing: 1px;
	color: var(--jf-en);
	line-height: 1.2;
}

.jf-navbtn .jf-btn-arrow {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	opacity: .65;
	transition: transform .2s ease, opacity .2s ease;
}

.jf-navbtn:hover .jf-btn-arrow {
	transform: translateX(3px);
	opacity: 1;
}

/* ---- セクション見出し（旧・画像バーの置き換え） ---- */
.jf-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	border-left: 6px solid var(--jf-cyan);
	background: #eaf3fb;
	padding: 9px 14px;
	border-radius: 0 8px 8px 0;
	margin-bottom: 16px;
}

.jf-section-head h2 {
	font-size: 1.15rem;
	font-weight: 500;
	line-height: 1.3;
	color: var(--jf-navy-deep);
	margin: 0;
}

.jf-section-head a {
	font-size: .85rem;
	color: var(--jf-blue);
	text-decoration: none;
	white-space: nowrap;
}

.jf-section-head a:hover { text-decoration: underline; }

/* ---- 講習ボックス（タイトルバー＋本文） ---- */
.jf-koshu {
	border: 1px solid var(--jf-line);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	height: 100%;
	transition: box-shadow .2s ease, transform .2s ease;
}

.jf-koshu-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	background: linear-gradient(135deg, #0d57aa 0%, #073a78 100%);
	color: #fff;
	padding: 11px 16px;
}

.jf-koshu-head-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-weight: 500;
	font-size: 1.05rem;
	line-height: 1.4;
}

.jf-koshu-head a {
	color: #cfe0ef;
	font-size: .85rem;
	text-decoration: none;
	white-space: nowrap;
}

.jf-koshu-head a:hover { color: #fff; text-decoration: underline; }

.jf-koshu-head .jf-ico { margin-right: 0; vertical-align: 0; }

.jf-koshu-body {
	padding: 14px 18px;
}

.jf-koshu-body ul { margin: 0; padding-left: 0; list-style: none; }
.jf-koshu-body li { color: #34495e; margin-bottom: 6px; line-height: 1.6; }

a.jf-koshu-link { text-decoration: none; display: block; height: 100%; }

a.jf-koshu-link:hover .jf-koshu {
	box-shadow: 0 6px 16px rgba(12, 58, 94, .12);
	transform: translateY(-2px);
}

/* ---- 新着情報 ---- */
.jf-article {
	display: flex;
	gap: 14px;
	padding: 14px 4px;
	border-bottom: 1px solid var(--jf-line);
}

.jf-thumb {
	width: 88px;
	height: 88px;
	object-fit: cover;
	border-radius: 8px;
	flex: 0 0 auto;
}

.jf-date {
	font-size: .8rem;
	color: #6b7a8a;
	margin-bottom: 3px;
}

.jf-new {
	display: inline-block;
	background: var(--jf-lime);
	color: var(--jf-navy-deep);
	font-size: .65rem;
	font-weight: 500;
	padding: 1px 7px;
	border-radius: 999px;
	margin-left: 6px;
	vertical-align: 1px;
}

/* flexの子要素を縮めるようにして、本文や画像がはみ出さないように */
.jf-article > div { min-width: 0; flex: 1 1 auto; }

.jf-article-title {
	font-weight: 500;
	color: var(--jf-navy-deep);
	text-decoration: none;
}

.jf-article-title:hover { color: var(--jf-blue); }

.jf-summary {
	font-size: .9rem;
	color: #46586a;
	margin-top: 3px;
	line-height: 1.6;
}

/* 記事本文や営業案内に埋め込まれた画像を枠内に収める */
.jf-summary img,
.jf-koshu-body img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
	margin-top: 6px;
}

/* ---- おすすめ商品カード ---- */
.jf-product {
	display: block;
	border: 1px solid var(--jf-line);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: box-shadow .2s ease, transform .2s ease;
}

.jf-product:hover {
	box-shadow: 0 8px 20px rgba(12, 58, 94, .12);
	transform: translateY(-2px);
	color: inherit;
}

.jf-product .jf-product-img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: #eef3f8;
}

.jf-product-body { padding: 10px 12px; }

.jf-product-name {
	font-weight: 500;
	color: var(--jf-navy-deep);
	margin: 0 0 4px;
	font-size: .95rem;
	line-height: 1.4;
}

.jf-price {
	color: var(--jf-cyan-deep);
	font-weight: 500;
	margin: 0;
}

/* ---- 商品カテゴリナビ ---- */
.jf-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
}

.jf-cat {
	display: inline-block;
	padding: 8px 18px;
	border-radius: 999px;
	background: #eef3f8;
	border: 1px solid var(--jf-line);
	color: var(--jf-navy);
	font-weight: 500;
	font-size: .95rem;
	text-decoration: none;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.jf-cat:hover {
	background: var(--jf-blue);
	border-color: var(--jf-blue);
	color: #fff;
}

.jf-cat.active {
	background: var(--jf-navy);
	border-color: var(--jf-navy);
	color: #fff;
}

/* ---- 商品詳細 ---- */
.jf-pv-name {
	font-size: 1.4rem;
	font-weight: 500;
	line-height: 1.4;
	color: var(--jf-navy-deep);
	margin: 0 0 8px;
}
.jf-pv-id { color: #6b7a8a; font-size: .9rem; margin: 0 0 10px; }
.jf-pv-price { font-size: 1.9rem; font-weight: 500; color: var(--jf-cyan-deep); margin: 0 0 14px; }
.jf-pv-summary { line-height: 1.7; margin: 0 0 18px; }
.jf-pv-summary img { max-width: 100%; height: auto; border-radius: 6px; margin-bottom: 10px; }
.jf-pv-main { width: 100%; height: auto; border-radius: 10px; }
.jf-pv-thumb { width: 90px; height: 90px; object-fit: cover; border-radius: 6px; }
.jf-pv-desc { line-height: 1.8; margin-top: 18px; }
.jf-pv-desc img { max-width: 100%; height: auto; border-radius: 6px; }

/* カート投入フォーム */
.jf-cartform {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 8px;
	padding-top: 16px;
	border-top: 1px solid var(--jf-line);
}
.jf-qty {
	width: 72px;
	padding: 9px 10px;
	border: 1px solid #c4d3e2;
	border-radius: 6px;
	font: inherit;
}
.jf-btn-cart {
	background: var(--jf-lime);
	color: var(--jf-navy-deep);
	border: none;
	border-radius: 8px;
	padding: 11px 26px;
	font-size: 1.05rem;
	font-weight: 500;
	cursor: pointer;
	transition: background .2s ease;
}
.jf-btn-cart:hover { background: var(--jf-lime-dark); }

/* ---- フッター ---- */
.jf-footer {
	background: var(--jf-navy-deep);
	color: #cfe0ef;
	padding: 24px 0;
	text-align: center;
	margin-top: 28px;
}

.jf-footer a { color: #cfe0ef; text-decoration: none; }
.jf-footer a:hover { color: #fff; text-decoration: underline; }
.jf-footer .jf-foot-links { margin-bottom: 8px; }

/* ---- ページヘッダー（下層ページ共通） ---- */
.jf-page-header {
	display: flex;
	align-items: center;
	gap: 14px;
	background: linear-gradient(135deg, #0d57aa 0%, #073a78 100%);
	border-radius: 12px;
	padding: 18px 24px;
	margin-bottom: 24px;
	position: relative;
	overflow: hidden;
}

.jf-page-header::after {
	content: "";
	position: absolute;
	right: -30px;
	top: 50%;
	transform: translateY(-50%);
	width: 160px;
	height: 160px;
	border: 16px solid rgba(255, 255, 255, .06);
	border-radius: 50%;
	pointer-events: none;
}

.jf-page-header .jf-ph-icon {
	width: 30px;
	height: 30px;
	flex: 0 0 auto;
	color: var(--jf-en);
	position: relative;
}

.jf-page-header h1 {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px 14px;
	margin: 0;
	color: #fff;
	font-size: 1.4rem;
	font-weight: 500;
	line-height: 1.3;
	position: relative;
}

.jf-page-header .en {
	font-size: .78rem;
	letter-spacing: 2px;
	font-weight: 500;
	color: var(--jf-en);
}

/* ---- 記事（新着情報） ---- */
.jf-post {
	margin-bottom: 24px;
	scroll-margin-top: 84px;
}

.jf-post .jf-koshu-head-title {
	font-size: 1.1rem;
}

.jf-post-meta {
	color: #6b7a8a;
	font-size: .85rem;
	margin-bottom: 14px;
}

.jf-post-image {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 0 0 16px;
}

.jf-post-summary {
	color: var(--jf-cyan-deep);
	font-weight: 500;
	font-size: 1.05rem;
	line-height: 1.7;
	margin: 0 0 14px;
}

.jf-post-desc {
	line-height: 1.8;
	color: var(--jf-ink);
}

.jf-post-desc img { max-width: 100%; height: auto; border-radius: 6px; }
.jf-post-desc p { margin-bottom: 1em; }
.jf-post-desc a { color: var(--jf-blue); }

/* ---- スペック表（店舗情報・特商法表記など） ---- */
.jf-spec { width: 100%; border-collapse: collapse; font-size: .95rem; }

.jf-spec th, .jf-spec td {
	padding: 10px 14px;
	border-bottom: 1px solid var(--jf-line);
	text-align: left;
	vertical-align: top;
	line-height: 1.7;
}

.jf-spec th {
	width: 30%;
	background: #eef3f8;
	color: var(--jf-navy-deep);
	font-weight: 500;
	white-space: nowrap;
}

.jf-spec td { color: var(--jf-ink); }
.jf-spec a { color: var(--jf-blue); }
.jf-spec em { color: var(--jf-cyan-deep); font-style: normal; font-size: .9em; }
.jf-spec strong { color: #c0392b; font-weight: 500; }

@media (max-width: 575.98px) {
	.jf-spec, .jf-spec tbody, .jf-spec tr, .jf-spec th, .jf-spec td { display: block; width: 100%; }
	.jf-spec tr { border-bottom: 1px solid var(--jf-line); padding: 4px 0; }
	.jf-spec th { white-space: normal; border-bottom: none; padding: 8px 14px 2px; }
	.jf-spec td { border-bottom: none; padding: 2px 14px 8px; }
}

/* 店舗写真 */
.jf-koshu-body img.jf-info-photo {
	display: block;
	max-width: 220px;
	width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 0 0 16px;
}

/* 取引先（2カラム） */
.jf-partners { columns: 2; column-gap: 28px; line-height: 1.9; }
.jf-partners a { color: var(--jf-blue); }
@media (max-width: 575.98px) { .jf-partners { columns: 1; } }

/* 信販会社ロゴ */
.jf-cc { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-end; }
.jf-cc figure { margin: 0; text-align: center; font-size: .85rem; color: var(--jf-ink); }
.jf-cc img { display: block; margin: 0 auto 4px; }

/* データ表（送料表など） */
.jf-data { width: 100%; max-width: 360px; border-collapse: collapse; font-size: .9rem; margin: 10px 0; }
.jf-data th, .jf-data td { border: 1px solid var(--jf-line); padding: 6px 10px; text-align: center; }
.jf-data th { background: var(--jf-navy); color: #fff; font-weight: 500; }
.jf-data td.cap { background: #eef3f8; color: var(--jf-navy-deep); font-weight: 500; white-space: nowrap; }

/* 地図 */
.jf-map { width: 100%; height: 450px; border: 0; border-radius: 8px; }
.jf-maplink { color: var(--jf-blue); }

/* ---- 汎用コンテンツ（旧contentページの流用用） ---- */
.jf-content { color: var(--jf-ink); line-height: 1.8; }
.jf-content::after { content: ""; display: block; clear: both; }
.jf-content > :first-child { margin-top: 0; }

.jf-content h2 {
	font-size: 1.3rem;
	font-weight: 500;
	line-height: 1.4;
	color: #fff;
	background: linear-gradient(135deg, #0d57aa 0%, #073a78 100%);
	border-left: 6px solid var(--jf-cyan);
	border-radius: 0 8px 8px 0;
	padding: 12px 18px;
	margin: 34px 0 18px;
	box-shadow: 0 2px 6px rgba(7, 58, 120, .18);
}

.jf-content h3 {
	font-size: 1.12rem;
	font-weight: 500;
	line-height: 1.5;
	color: var(--jf-navy-deep);
	background: #e6eff9;
	border-left: 5px solid var(--jf-cyan);
	border-radius: 0 6px 6px 0;
	padding: 9px 14px;
	margin: 26px 0 12px;
}

.jf-content p { margin: 0 0 14px; }
.jf-content ul, .jf-content ol { margin: 0 0 16px; padding-left: 1.4rem; }
.jf-content li { margin-bottom: 6px; }
.jf-content a { color: var(--jf-blue); }
.jf-content strong { color: #c0392b; font-weight: 500; }
.jf-content em { color: var(--jf-cyan-deep); font-style: normal; }
.jf-content img { max-width: 100%; height: auto; border-radius: 6px; }
.jf-content hr { border: 0; border-top: 1px solid var(--jf-line); margin: 24px 0; }

.jf-content .lead {
	background: #eaf3fb;
	border-radius: 10px;
	padding: 14px 18px;
	font-size: 1.05rem;
	color: var(--jf-navy-deep);
	margin: 0 0 20px;
}

.jf-content .right { float: right; margin: 4px 0 12px 18px; max-width: 45%; }
.jf-content .left { float: left; margin: 4px 18px 12px 0; max-width: 45%; }
.jf-content .clearfloat, .jf-content .clear { clear: both; }

.jf-begin {
	display: grid;
	gap: 20px;
}

.jf-begin .jf-inquiry {
	margin: 4px 0 0;
	scroll-margin-top: 84px;
}

.jf-begin-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 330px;
	padding: 34px;
	overflow: hidden;
	color: #fff;
	background:
		linear-gradient(90deg, rgba(7, 58, 120, .94) 0%, rgba(7, 58, 120, .68) 52%, rgba(7, 58, 120, .2) 100%),
		url("../images/mv-sp.jpg") center center / cover no-repeat;
	border-radius: 12px;
	box-shadow: 0 12px 30px rgba(8, 42, 69, .18);
}

.jf-begin-hero-body {
	max-width: 620px;
}

.jf-begin-kicker,
.jf-begin-section-label {
	margin: 0 0 8px;
	color: var(--jf-en);
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .12em;
}

.jf-begin-hero h2 {
	margin: 0 0 12px;
	color: #fff;
	font-size: 2rem;
	font-weight: 600;
	line-height: 1.35;
}

.jf-begin-hero p {
	margin: 0;
	max-width: 560px;
	line-height: 1.8;
	color: rgba(255, 255, 255, .92);
}

.jf-begin-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.jf-begin-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 44px;
	padding: 10px 18px;
	color: #fff;
	text-decoration: none;
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: 8px;
	font-weight: 500;
	line-height: 1.25;
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.jf-begin-btn svg {
	width: 17px;
	height: 17px;
	flex: 0 0 auto;
}

.jf-begin-btn:hover {
	color: #fff;
	background: rgba(255, 255, 255, .14);
	transform: translateY(-1px);
}

.jf-begin-btn-primary {
	color: var(--jf-navy-deep);
	background: var(--jf-lime);
	border-color: var(--jf-lime);
}

.jf-begin-btn-primary:hover {
	color: var(--jf-navy-deep);
	background: var(--jf-lime-dark);
}

.jf-begin-flow {
	position: relative;
	padding: 18px;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 42px),
		linear-gradient(135deg, #062f63 0%, #0b5296 52%, #12a9c8 100%);
	border-radius: 8px;
	box-shadow: 0 10px 24px rgba(5, 47, 100, .18);
}

.jf-begin-flow-head {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin: 0 0 14px;
	color: #fff;
}

.jf-begin-flow-head span {
	color: #9eeeff;
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .12em;
}

.jf-begin-flow-head strong {
	font-size: 1.05rem;
	font-weight: 600;
}

.jf-begin-flow-list,
.jf-begin-panels {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.jf-begin-panel,
.jf-begin-section {
	background: #fff;
	border: 1px solid var(--jf-line);
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(12, 58, 94, .05);
}

.jf-begin-step-license {
	--jf-step-accent: #23caeb;
}

.jf-begin-step-visit {
	--jf-step-accent: #7fdcb7;
}

.jf-begin-step-buy {
	--jf-step-accent: #b7dd36;
}

.jf-begin-step {
	position: relative;
	display: block;
	min-height: 100%;
	padding: 16px 16px 16px 66px;
	color: var(--jf-ink);
	text-decoration: none;
	background: rgba(255, 255, 255, .96);
	border: 1px solid rgba(255, 255, 255, .6);
	border-left: 4px solid var(--jf-step-accent, var(--jf-cyan));
	border-radius: 8px;
	box-shadow: 0 6px 15px rgba(4, 38, 78, .12);
	transition: box-shadow .2s ease, transform .2s ease, background .2s ease;
}

.jf-begin-step::before {
	content: "";
	position: absolute;
	left: 32px;
	top: 56px;
	bottom: 16px;
	width: 2px;
	background: linear-gradient(180deg, var(--jf-step-accent, var(--jf-cyan)), transparent);
	opacity: .4;
}

.jf-begin-step:not(:last-child)::after {
	content: ">";
	position: absolute;
	top: 18px;
	right: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	color: #fff;
	background: linear-gradient(135deg, #062f63 0%, #12a9c8 100%);
	border-radius: 50%;
	box-shadow: 0 5px 10px rgba(4, 38, 78, .18);
	font-size: .9rem;
	line-height: 1;
}

.jf-begin-step:hover {
	color: var(--jf-ink);
	background: #fff;
	box-shadow: 0 10px 22px rgba(4, 38, 78, .18);
	transform: translateY(-1px);
}

.jf-begin-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 16px;
	left: 14px;
	width: 38px;
	height: 38px;
	color: #fff;
	background: linear-gradient(135deg, #06346d 0%, var(--jf-step-accent, var(--jf-cyan)) 100%);
	border-radius: 50%;
	box-shadow: 0 6px 12px rgba(4, 38, 78, .2);
	font-size: .74rem;
	font-weight: 600;
	letter-spacing: .06em;
}

.jf-begin-step h3,
.jf-begin-panel h2,
.jf-begin-section h2 {
	margin: 0 0 8px;
	color: var(--jf-navy-deep);
	font-size: 1.12rem;
	font-weight: 600;
	line-height: 1.45;
}

.jf-begin-step p,
.jf-begin-panel p,
.jf-begin-section p {
	margin: 0;
	line-height: 1.8;
}

.jf-begin-section .jf-begin-section-label {
	margin: 0 0 8px;
}

.jf-begin-section {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
	align-items: center;
	gap: 24px;
	padding: 22px;
	background: linear-gradient(135deg, #f8fcff 0%, #eaf7f9 100%);
	border-color: #c6e8ee;
}

.jf-begin-license img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 8px 18px rgba(8, 42, 69, .14);
}

.jf-begin-panels {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jf-begin-panel {
	padding: 20px;
}

.jf-begin-panel-buy {
	background: linear-gradient(135deg, #fffdf3 0%, #f7fbec 100%);
	border-color: #eadfa8;
}

.jf-begin-panel-report {
	background: linear-gradient(135deg, #f8fcff 0%, #eef3f8 100%);
	border-color: #cfe0f3;
}

.jf-begin-inline-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.jf-begin-inline-links a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 7px 12px;
	color: #fff;
	text-decoration: none;
	background: linear-gradient(135deg, #073b78 0%, #0d56a4 46%, #052f64 100%);
	border: 1px solid #052b5c;
	border-radius: 8px;
	font-weight: 500;
	box-shadow: 0 7px 15px rgba(5, 47, 100, .22), inset 0 1px 0 rgba(255, 255, 255, .22);
	transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.jf-begin-inline-links a::after {
	content: ">";
	margin-left: 8px;
	color: #7fe3ff;
}

.jf-begin-inline-links a:hover {
	color: #fff;
	background: linear-gradient(135deg, #032d61 0%, #0a66bd 48%, #021f49 100%);
	box-shadow: 0 10px 20px rgba(5, 47, 100, .3), inset 0 1px 0 rgba(255, 255, 255, .26);
	transform: translateY(-1px);
}

.jf-begin-inline-links a:focus-visible {
	outline: 3px solid rgba(35, 202, 235, .42);
	outline-offset: 2px;
}

@media (max-width: 767.98px) {
	.jf-begin-hero {
		min-height: 360px;
		padding: 24px;
		background:
			linear-gradient(180deg, rgba(7, 58, 120, .86) 0%, rgba(7, 58, 120, .82) 100%),
			url("../images/mv-sp.jpg") center center / cover no-repeat;
	}

	.jf-begin-hero h2 {
		font-size: 1.55rem;
	}

	.jf-begin-flow-list,
	.jf-begin-panels,
	.jf-begin-section {
		grid-template-columns: 1fr;
	}

	.jf-begin-flow-head {
		display: block;
	}

	.jf-begin-flow-head span {
		display: block;
		margin: 0 0 4px;
	}

	.jf-begin-step:not(:last-child)::after {
		display: none;
	}

	.jf-begin-license img {
		max-width: 280px;
		justify-self: center;
	}
}

@media (max-width: 575.98px) {
	.jf-begin-hero {
		border-radius: 8px;
		padding: 22px;
	}

	.jf-begin-btn {
		width: 100%;
	}

	.jf-begin-section,
	.jf-begin-panel {
		padding: 16px;
	}

	.jf-begin-flow {
		padding: 16px;
	}

	.jf-begin-step {
		padding: 16px 16px 16px 62px;
	}
}

.jf-content table { max-width: 100%; }
.jf-tablewrap { overflow-x: auto; margin: 0 0 16px; }
.jf-content table.data {
	width: 100%;
	max-width: 480px;
	border-collapse: collapse;
	margin: 10px 0 18px;
	font-size: .95rem;
}
.jf-content table.data th {
	background: var(--jf-navy);
	color: #fff;
	font-weight: 500;
	padding: 8px 10px;
	border: 1px solid var(--jf-line);
	text-align: center;
}
.jf-content table.data td {
	padding: 8px 10px;
	border: 1px solid var(--jf-line);
	text-align: center;
}
.jf-content table.data td.caption {
	background: #eef3f8;
	color: var(--jf-navy-deep);
	font-weight: 500;
	text-align: left;
}

.jf-maintenance .jf-maintenance-table {
	margin: 10px 0 18px;
}

.jf-maintenance table.data {
	width: 100%;
	min-width: 620px;
	max-width: none;
	margin: 0;
}

.jf-maintenance table.data th:first-child,
.jf-maintenance table.data td.caption:not([colspan]) {
	width: 46%;
}

.jf-maintenance table.data th:not(:first-child),
.jf-maintenance table.data td:not(.caption) {
	width: 27%;
	white-space: nowrap;
}

.jf-maintenance table.data td.caption[colspan] {
	background: #eaf1f8;
}

@media (max-width: 575.98px) {
	.jf-content .right, .jf-content .left {
		float: none;
		display: block;
		max-width: 100%;
		margin: 0 0 12px;
	}
}

/* ---- お問い合わせフォーム（_InquiryForm 共通） ---- */
#moshikomi, #kouchinhyo, #daiko { scroll-margin-top: 84px; }

/* タイトルバー付きの問い合わせボックス（.jf-koshu 流用） */
.jf-inquiry { margin: 24px 0; }
.jf-inquiry .jf-koshu-body { padding: 18px 20px; }
/* タイトルバー非表示時（ページヘッダーと重複するページ用）：上にシアンのアクセント */
.jf-inquiry-nohead { border-top: 3px solid var(--jf-cyan); }
.jf-inquiry-lead { margin: 0 0 10px; line-height: 1.7; color: var(--jf-ink); }
.jf-inquiry-tel {
	display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 8px;
	margin: 0 0 18px; padding: 8px 16px;
	background: #eaf7f9; border: 1px solid #bfe6ec; border-radius: 8px;
}
.jf-inquiry-tel svg { width: 20px; height: 20px; color: var(--jf-cyan-deep); flex: 0 0 auto; }
.jf-inquiry-tel .jf-tel-label { font-size: .85rem; color: #5f6b76; }
.jf-inquiry-tel strong { font-size: 1.3rem; color: var(--jf-cyan-deep); letter-spacing: .5px; line-height: 1; }
/* 幅狭時：電話番号を独立した行（ブロック）に */
@media (max-width: 575.98px) {
	.jf-inquiry-tel { display: flex; width: 100%; }
	.jf-inquiry-tel strong { flex-basis: 100%; font-size: 1.25rem; }
}
.jf-inquiry-note {
	margin: 18px 0 0; padding: 12px 16px;
	background: #f2f8ff; border: 1px solid #cfe0f3; border-radius: 8px;
	font-size: .88rem; color: #5f6b76; line-height: 1.7;
}
.jf-inquiry-note p { margin: 0 0 6px; }
.jf-inquiry-note p:last-child { margin-bottom: 0; }
.jf-inquiry-done { line-height: 1.8; }
.jf-inquiry-done a { color: var(--jf-blue); }

/* 入力フォーム用のタイトルバー付きボックス（cart / license2 共通） */
.jf-formbox { margin: 0 0 24px; scroll-margin-top: 84px; }
.jf-formbox .jf-koshu-body { padding: 18px 20px; }
.jf-formbox-lead { margin: 0 0 8px; line-height: 1.7; color: var(--jf-navy-deep); font-weight: 500; }
.jf-formbox-note { margin: 0 0 6px; font-size: .85rem; color: #5f6b76; line-height: 1.7; }
.jf-formbox-note a { color: var(--jf-blue); }

.request-placeholder {
	background: #eaf3fb;
	border: 1px solid #cfe0f3;
	border-radius: 10px;
	padding: 16px 20px;
	margin: 0 0 20px;
}
.request-placeholder h3 {
	background: none;
	border: none;
	border-radius: 0;
	padding: 0;
	font-size: 1.1rem;
	font-weight: 500;
	color: var(--jf-navy-deep);
	margin: 0 0 8px;
}
.request-placeholder p { margin: 0 0 6px; line-height: 1.7; }
.request-placeholder strong { color: #c0392b; }

#moshikomi h3 {
	background: none;
	border: none;
	border-radius: 0;
	padding: 0;
	font-size: 1.15rem;
	font-weight: 500;
	color: var(--jf-navy-deep);
	margin: 0 0 16px;
}
#moshikomi > p { line-height: 1.7; margin: 0 0 12px; }

table.request { width: 100%; border-collapse: collapse; }
table.request th,
table.request td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--jf-line);
	text-align: left;
	vertical-align: top;
}
table.request th {
	width: 32%;
	background: #eef3f8;
	color: var(--jf-navy-deep);
	font-weight: 500;
	white-space: nowrap;
}
table.request input,
table.request textarea {
	width: 100%;
	max-width: 440px;
	padding: 9px 11px;
	border: 1px solid #c4d3e2;
	border-radius: 6px;
	font: inherit;
	box-sizing: border-box;
}
table.request input::placeholder,
table.request textarea::placeholder {
	color: var(--jf-ink);
	opacity: .42;
}
table.request textarea { max-width: 100%; }
table.request input:focus,
table.request textarea:focus {
	outline: none;
	border-color: var(--jf-blue);
	box-shadow: 0 0 0 3px rgba(22, 132, 201, .15);
}
table.request pre { white-space: pre-wrap; font: inherit; margin: 0; }
table.request td[colspan] { text-align: center; border-bottom: none; padding-top: 22px; }

#moshikomi button {
	background: linear-gradient(135deg, #0d57aa 0%, #073a78 100%);
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 12px 26px;
	font-size: 1.02rem;
	font-weight: 500;
	cursor: pointer;
	margin: 4px 6px;
	transition: filter .2s ease;
}
#moshikomi button:hover { filter: brightness(1.12); }

.text-danger { color: #dc3545; font-size: .9rem; display: inline-block; margin-top: 4px; }

@media (max-width: 575.98px) {
	table.request, table.request tbody, table.request tr, table.request th, table.request td { display: block; width: 100%; }
	table.request tr { border-bottom: 1px solid var(--jf-line); padding: 6px 0; }
	table.request th { white-space: normal; border-bottom: none; padding: 10px 14px 5px; }
	table.request td { border-bottom: none; padding: 10px 14px 14px; }
}
