/* ============================================================
   東新物流 パレット販売サイト v2 共通スタイル
   色変数・部品は会社サイト toshin-g.jp v2（assets/css/site.css）と同じ考え方
   ============================================================ */

:root {
  --navy: #0a1628;
  --navy-light: #132743;
  --blue: #1a5276;
  --blue-accent: #2980b9;
  --orange: #e67e22;
  --orange-light: #f39c12;
  --gold: #d4a843;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --text: #1e293b;
  --text-muted: #64748b;
  --red: #dc2626;
  --green: #059669;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1200px;
  --header-h: 72px;
}

/* ---------- リセット・基本 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Yu Gothic', Meiryo, sans-serif;
  color: var(--text); background: var(--white);
  font-size: 16px; line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  word-break: normal; overflow-wrap: anywhere;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--transition), background-color var(--transition), border-color var(--transition), opacity var(--transition); }
ul, ol { list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.4; font-weight: 700; color: var(--navy); }
strong { font-weight: 700; }
small { font-size: 0.8125rem; }
:focus-visible { outline: 3px solid var(--orange-light); outline-offset: 2px; border-radius: 4px; }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; display: inline-block; vertical-align: -0.2em; }
.container { width: 92%; max-width: var(--container); margin-inline: auto; }
.container-narrow { max-width: 860px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: absolute; top: -100px; left: 8px; z-index: 2000; padding: 0.5rem 1rem; background: var(--navy); color: #fff; border-radius: 6px; }
.skip-link:focus { top: 8px; }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.lead { font-size: 1.0625rem; line-height: 1.9; color: var(--gray-700); }
.note { font-size: 0.875rem; color: var(--text-muted); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.75rem; border-radius: 999px;
  font-weight: 700; font-size: 0.9375rem; line-height: 1.3;
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), color var(--transition), border-color var(--transition);
}
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-primary { background: linear-gradient(135deg, var(--orange), var(--orange-light)); color: #fff; box-shadow: 0 4px 14px rgba(230,126,34,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(230,126,34,0.45); color: #fff; }
.btn-secondary { background: var(--white); color: var(--blue); border-color: var(--gray-200); }
.btn-secondary:hover { border-color: var(--blue); background: var(--gray-50); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--blue); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline-white:hover { background: rgba(255,255,255,0.14); border-color: #fff; color: #fff; }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 700; color: var(--blue-accent); }
.link-arrow:hover { gap: 0.6rem; }

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.98); box-shadow: 0 1px 8px rgba(0,0,0,0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.site-logo { display: flex; align-items: center; gap: 0.6rem; }
.site-logo img { height: 30px; width: auto; }
.site-logo-sub { font-size: 0.75rem; font-weight: 900; color: var(--orange); border: 1.5px solid var(--orange); border-radius: 999px; padding: 0.05rem 0.55rem; letter-spacing: 0.06em; white-space: nowrap; }
.gnav-list { display: flex; align-items: center; gap: 0.125rem; }
.gnav-item { position: relative; display: flex; align-items: center; }
.gnav-item > a { display: block; padding: 0.55rem 0.7rem; border-radius: 8px; font-size: 0.875rem; font-weight: 500; color: var(--gray-700); white-space: nowrap; }
.gnav-item > a:hover, .gnav-item > a[aria-current="page"] { background: var(--gray-100); color: var(--navy); }
.gnav-item > a[aria-current="page"] { font-weight: 700; }
.gnav-item-contact { display: none; }
.gnav-mobile-cta { display: none; }
.header-cta { display: flex; align-items: center; gap: 0.9rem; }
.header-tel { display: grid; grid-template-columns: auto 1fr; column-gap: 0.4rem; align-items: center; color: var(--navy); line-height: 1.15; }
.header-tel .icon { grid-row: span 2; width: 1.4em; height: 1.4em; color: var(--blue-accent); }
.header-tel-num { display: block; font-size: 1.125rem; font-weight: 900; letter-spacing: 0.02em; white-space: nowrap; }
.header-tel-hours { display: block; grid-column: 2; font-size: 0.6875rem; color: var(--gray-500); font-weight: 500; white-space: nowrap; }
.header-tel:hover { color: var(--blue-accent); }
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; border-radius: 8px; z-index: 1102; flex-shrink: 0; }
.hamburger span { display: block; width: 24px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform var(--transition), opacity var(--transition); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.gnav-backdrop { position: fixed; inset: 0; z-index: 1050; background: rgba(10,22,40,0.5); }
.gnav-backdrop[hidden] { display: none; }

/* ---------- パンくず ---------- */
.breadcrumb { background: var(--gray-50); border-bottom: 1px solid var(--gray-100); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; padding: 0.6rem 0; font-size: 0.8125rem; color: var(--gray-500); }
.breadcrumb li + li::before { content: '›'; margin-right: 0.5rem; color: var(--gray-400); }
.breadcrumb a { color: var(--blue-accent); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li[aria-current] { color: var(--gray-700); }

/* ---------- セクション共通 ---------- */
.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-alt { background: var(--gray-50); }
.section-header { text-align: center; margin-bottom: 2.75rem; }
.section-header-left { text-align: left; }
.section-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.6rem; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.125rem); font-weight: 900; line-height: 1.4; margin-bottom: 0.9rem; }
.section-desc { font-size: 0.9875rem; color: var(--text-muted); max-width: 680px; margin-inline: auto; }
.section-header-left .section-desc { margin-inline: 0; }

/* ---------- トップ: ヒーロー ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,22,40,0.92) 0%, rgba(10,22,40,0.78) 45%, rgba(26,82,118,0.35) 100%); }
.hero-content { position: relative; z-index: 1; padding: 4.5rem 0 4rem; max-width: 760px; }
.hero-label { font-size: 0.8125rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 1.1rem; font-weight: 700; }
.hero-title { font-size: clamp(1.9rem, 4.4vw, 3.1rem); font-weight: 900; line-height: 1.3; color: #fff; margin-bottom: 1.1rem; }
.hero-title .accent { background: linear-gradient(135deg, var(--orange-light), var(--gold)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-lead { font-size: clamp(1rem, 1.6vw, 1.125rem); color: rgba(255,255,255,0.9); line-height: 1.9; margin-bottom: 1.75rem; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.75rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hero-chips li { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.8rem; border-radius: 999px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); font-size: 0.8125rem; font-weight: 700; }
.hero-chips .icon { color: var(--orange-light); }

/* ---------- カテゴリ切替 ---------- */
.cat-tabs { position: sticky; top: var(--header-h); z-index: 900; background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--gray-200); }
.cat-tabs ul { display: flex; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; padding: 0.5rem 0; }
.cat-tabs ul::-webkit-scrollbar { display: none; }
.cat-tabs a { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 1rem; border-radius: 999px; font-size: 0.875rem; font-weight: 700; color: var(--gray-700); white-space: nowrap; border: 1px solid transparent; }
.cat-tabs a:hover { background: var(--gray-100); color: var(--navy); }
.cat-tabs a.is-active { background: var(--navy); color: #fff; }
.cat-tabs .count { font-size: 0.75rem; font-weight: 700; background: rgba(0,0,0,0.08); border-radius: 999px; padding: 0 0.5rem; }
.cat-tabs a.is-active .count { background: rgba(255,255,255,0.2); }

/* ---------- 商品一覧 ---------- */
.cat-section { padding: 3.5rem 0; }
.cat-section + .cat-section { border-top: 1px solid var(--gray-100); }
.cat-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1rem; margin-bottom: 0.6rem; }
.cat-head h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 900; }
.cat-head .cat-count { font-size: 0.8125rem; font-weight: 700; color: var(--gray-500); }
.cat-lede { color: var(--gray-600); font-size: 0.9875rem; margin-bottom: 1.75rem; max-width: 760px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow var(--transition), transform var(--transition); }
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-media { position: relative; background: var(--gray-100); aspect-ratio: 4 / 3; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-card.is-placeholder .product-media img { object-fit: contain; padding: 1.5rem; opacity: 0.7; }
.badge { position: absolute; top: 0.75rem; left: 0.75rem; z-index: 1; font-size: 0.6875rem; font-weight: 900; letter-spacing: 0.1em; padding: 0.2rem 0.6rem; border-radius: 4px; color: #fff; background: var(--navy); }
.badge-new { background: var(--orange); }
.badge-used { background: var(--blue-accent); }
.badge-other { background: var(--green); }
.product-count { position: absolute; right: 0.75rem; bottom: 0.75rem; z-index: 1; display: inline-flex; align-items: center; gap: 0.3rem; background: rgba(10,22,40,0.75); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 0.2rem 0.55rem; border-radius: 999px; }
.product-zoom { position: absolute; top: 0.6rem; right: 0.6rem; z-index: 1; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.92); color: var(--navy); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.product-zoom:hover { background: #fff; color: var(--blue-accent); }
.product-thumbs { display: flex; gap: 0.4rem; padding: 0.6rem 0.75rem 0; overflow-x: auto; }
.product-thumb { width: 56px; height: 42px; border-radius: 6px; overflow: hidden; border: 2px solid transparent; background: var(--gray-100); flex-shrink: 0; padding: 0; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb.is-active { border-color: var(--orange); }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.25rem 1.3rem; }
.product-cat { font-size: 0.75rem; font-weight: 700; color: var(--blue-accent); margin-bottom: 0.2rem; }
.product-name { font-size: 1.0625rem; line-height: 1.45; margin-bottom: 0.8rem; }
.product-specs { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 0.9rem; font-size: 0.875rem; margin-bottom: 1.1rem; }
.product-specs dt { color: var(--gray-500); font-weight: 700; white-space: nowrap; }
.product-specs dd { color: var(--gray-700); }
.product-specs .price { color: var(--navy); font-weight: 900; font-size: 1rem; }
.product-cta { margin-top: auto; }

/* ---------- 購入の流れ ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.step { position: relative; background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 1.75rem 1.4rem 1.5rem; box-shadow: var(--shadow-sm); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 900; margin-bottom: 0.8rem; }
.step h3 { font-size: 1.0625rem; margin-bottom: 0.45rem; }
.step p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.75; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2rem; }
.info-box { background: #fff; border: 1px solid var(--gray-200); border-left: 5px solid var(--orange); border-radius: var(--radius-sm); padding: 1.25rem 1.5rem; }
.info-box h3 { font-size: 1rem; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.info-box h3 .icon { color: var(--orange); }
.info-box p, .info-box li { font-size: 0.9375rem; color: var(--gray-700); }
.info-box ul { display: grid; gap: 0.3rem; }
.info-box li { position: relative; padding-left: 1.4em; }
.info-box li::before { content: ''; position: absolute; left: 0.2em; top: 0.75em; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.warn-box { border-left-color: var(--red); background: #fff7f7; }
.warn-box h3 .icon { color: var(--red); }

/* ---------- 本業紹介 ---------- */
.parent-band { background: radial-gradient(1200px 500px at 85% 0%, rgba(41,128,185,0.35), transparent 60%), var(--navy); color: rgba(255,255,255,0.88); padding: 4.5rem 0; }
.parent-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.parent-text .section-label { color: var(--orange-light); }
.parent-text h2 { color: #fff; font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 900; margin-bottom: 1rem; }
.parent-text p { margin-bottom: 1rem; }
.parent-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }
.parent-services { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.parent-services a { display: flex; align-items: center; gap: 0.7rem; padding: 0.9rem 1rem; border-radius: var(--radius-sm); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: #fff; font-weight: 700; font-size: 0.9375rem; }
.parent-services a:hover { background: rgba(255,255,255,0.16); }
.parent-services .icon { width: 1.5em; height: 1.5em; color: var(--orange-light); }

/* ---------- 下層ページのヒーロー ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); color: #fff; }
.page-hero-inner { position: relative; z-index: 1; padding: 3.25rem 0 3rem; max-width: 800px; }
.page-hero-label { font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--orange-light); font-weight: 700; margin-bottom: 0.6rem; }
.page-hero h1 { color: #fff; font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 900; line-height: 1.35; margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.88); font-size: 1rem; max-width: 680px; }

/* ---------- 本文ブロック ---------- */
.table-wrap { overflow-x: auto; }
.table-overview { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.table-overview th, .table-overview td { padding: 0.95rem 1.25rem; border-bottom: 1px solid var(--gray-100); vertical-align: top; font-size: 0.9375rem; text-align: left; }
.table-overview th { width: 190px; background: var(--gray-50); color: var(--navy); font-weight: 700; white-space: nowrap; }
.table-overview td { color: var(--gray-600); line-height: 1.8; }
.table-overview td a { color: var(--blue-accent); }
.table-overview tr:last-child th, .table-overview tr:last-child td { border-bottom: 0; }
.table-overview ul { list-style: disc; padding-left: 1.3rem; }
.access-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: start; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); background: var(--gray-100); }
.map-wrap iframe { width: 100%; height: 360px; border: 0; display: block; }
.prose h2 { font-size: 1.2rem; margin: 2.25rem 0 0.9rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--gray-100); }
.prose p, .prose li { font-size: 0.9875rem; color: var(--gray-600); line-height: 1.9; }
.prose p + p { margin-top: 0.75rem; }
.prose ul { list-style: disc; padding-left: 1.5rem; margin: 0.6rem 0; }
.prose a { color: var(--blue-accent); text-decoration: underline; }
.prose .date { text-align: right; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--gray-100); color: var(--gray-400); font-size: 0.875rem; }

/* ---------- お問い合わせ ---------- */
.selected-item { background: #fff8f1; border: 1px solid #f5d8bd; border-radius: var(--radius); padding: 1rem 1.25rem; display: grid; grid-template-columns: 120px 1fr; gap: 1.1rem; align-items: center; margin-bottom: 1.5rem; }
.selected-item-img { border-radius: var(--radius-sm); overflow: hidden; background: var(--gray-100); aspect-ratio: 4/3; }
.selected-item-img img { width: 100%; height: 100%; object-fit: cover; }
.selected-item-label { font-size: 0.75rem; font-weight: 700; color: var(--orange); letter-spacing: 0.08em; }
.selected-item h2 { font-size: 1.0625rem; margin: 0.15rem 0 0.35rem; }
.selected-item dl { display: flex; flex-wrap: wrap; gap: 0.2rem 1rem; font-size: 0.8125rem; color: var(--gray-600); }
.selected-item dt { display: inline; font-weight: 700; color: var(--gray-500); }
.selected-item dt::after { content: '：'; }
.selected-item dd { display: inline; }
.selected-item .back { font-size: 0.8125rem; color: var(--blue-accent); margin-top: 0.3rem; display: inline-block; }
.contact-grid { display: grid; grid-template-columns: 4fr 7fr; gap: 3rem; align-items: start; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.75rem; }
.contact-detail { display: flex; align-items: center; gap: 1rem; }
.contact-detail-icon { width: 46px; height: 46px; min-width: 46px; border-radius: 12px; background: var(--gray-50); border: 1px solid var(--gray-100); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.contact-detail-icon .icon { width: 1.35em; height: 1.35em; }
.contact-detail-label { font-size: 0.75rem; color: var(--gray-400); }
.contact-detail-value { font-size: 1.125rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
a.contact-detail-value:hover { color: var(--blue-accent); }
.contact-form-wrap { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 2.25rem; }
.contact-form-wrap > h2 { font-size: 1.125rem; margin-bottom: 1.25rem; }
.form-section { font-size: 0.875rem; font-weight: 900; color: var(--navy); margin: 1.75rem 0 0.9rem; padding-bottom: 0.4rem; border-bottom: 2px solid var(--gray-200); display: flex; align-items: center; gap: 0.5rem; }
.form-section:first-of-type { margin-top: 0; }
.form-section .num { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 0.75rem; }
.form-section small { font-weight: 500; color: var(--gray-500); }
.contact-form .form-group { margin-bottom: 1.1rem; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.1rem; }
.contact-form .form-row .form-group { margin-bottom: 0; }
.contact-form label, .contact-form .form-label { display: block; font-size: 0.875rem; font-weight: 700; color: var(--gray-700); margin-bottom: 0.4rem; }
.required { display: inline-block; font-size: 0.6875rem; font-weight: 700; color: #fff; background: var(--red); padding: 0.05rem 0.4rem; border-radius: 4px; margin-left: 0.3rem; vertical-align: 0.1em; }
.optional { display: inline-block; font-size: 0.6875rem; font-weight: 700; color: var(--gray-500); background: var(--gray-200); padding: 0.05rem 0.4rem; border-radius: 4px; margin-left: 0.3rem; vertical-align: 0.1em; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form textarea {
  width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--gray-300); border-radius: var(--radius-sm);
  font-size: 1rem; background: #fff; transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-form textarea { min-height: 180px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue-accent); box-shadow: 0 0 0 3px rgba(41,128,185,0.15); }
.contact-form .is-invalid { border-color: var(--red); background: #fff7f7; }
.form-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.checks { display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; }
.check { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.9rem; background: #fff; border: 1px solid var(--gray-300); border-radius: 999px; font-size: 0.875rem; font-weight: 500; cursor: pointer; color: var(--gray-700); }
.check:has(input:checked) { border-color: var(--orange); background: #fff8f1; color: var(--navy); font-weight: 700; }
.check input { width: 1rem; height: 1rem; accent-color: var(--orange); margin: 0; }
.form-hint { font-size: 0.8125rem; color: var(--gray-500); margin-top: 0.4rem; }
.checkbox-label { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9375rem; color: var(--gray-700); cursor: pointer; font-weight: 500; }
.checkbox-label input[type="checkbox"] { width: 1.15rem; height: 1.15rem; margin-top: 0.3rem; accent-color: var(--blue-accent); }
.checkbox-label a { color: var(--blue-accent); text-decoration: underline; }
.form-errors { background: #fff7f7; border: 1px solid #fecaca; border-left: 5px solid var(--red); border-radius: var(--radius-sm); padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.form-errors strong { color: var(--red); display: block; margin-bottom: 0.3rem; }
.form-errors li { font-size: 0.9rem; color: var(--gray-700); position: relative; padding-left: 1.2em; }
.form-errors li::before { content: '・'; position: absolute; left: 0; }
.form-error { color: var(--red); font-weight: 700; font-size: 0.9375rem; margin-bottom: 0.9rem; }
.form-error[hidden] { display: none; }
.form-note { font-size: 0.8125rem; color: var(--gray-500); margin-top: 1rem; line-height: 1.7; }
.contact-form .btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.thanks-icon { width: 72px; height: 72px; border-radius: 50%; background: #e8f7f0; color: var(--green); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }
.thanks-icon .icon { width: 2rem; height: 2rem; }
.thanks-tel { display: inline-block; margin-top: 1.5rem; padding: 1rem 1.75rem; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius); }
.thanks-tel a { display: block; font-size: 1.5rem; font-weight: 900; color: var(--navy); }
.thanks-tel span { font-size: 0.8125rem; color: var(--gray-500); }

/* ---------- CTA 帯 ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%); color: #fff; padding: 4rem 0; }
.cta-band-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: center; }
.cta-band-label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.15em; color: var(--orange-light); margin-bottom: 0.6rem; }
.cta-band h2 { color: #fff; font-size: clamp(1.25rem, 2.4vw, 1.625rem); font-weight: 900; margin-bottom: 0.75rem; line-height: 1.5; }
.cta-band-text p:last-child { color: rgba(255,255,255,0.85); font-size: 0.9375rem; }
.cta-band-actions { display: flex; flex-direction: column; gap: 0.75rem; align-items: stretch; }
.cta-band-hours { text-align: center; font-size: 0.8125rem; color: rgba(255,255,255,0.75); }

/* ---------- フッター ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.72); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo { background: #fff; padding: 6px 10px; border-radius: 6px; width: 200px; height: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.875rem; line-height: 1.8; margin-bottom: 1rem; }
.footer-brand address { font-size: 0.875rem; line-height: 1.8; }
.footer-brand address a { color: #fff; font-weight: 700; }
.site-footer h2 { font-size: 0.8125rem; font-weight: 700; color: rgba(255,255,255,0.5); letter-spacing: 0.12em; margin-bottom: 1rem; }
.footer-links ul { display: grid; gap: 0.5rem; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.72); }
.footer-links a:hover { color: #fff; }
.footer-links .icon { width: 0.9em; height: 0.9em; }
.footer-contact p { font-size: 0.875rem; margin-bottom: 0.9rem; }
.footer-contact .btn { margin-bottom: 0.6rem; }
.footer-bottom { padding: 1.4rem 0; text-align: center; }
.footer-bottom small { font-size: 0.75rem; color: rgba(255,255,255,0.4); }

/* ---------- スマホ固定 CTA・トップへ ---------- */
.mobile-cta { display: none; }
.back-to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity var(--transition), transform var(--transition), visibility var(--transition); z-index: 90; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--blue); }

/* ---------- ライトボックス ---------- */
.lightbox { position: fixed; inset: 0; z-index: 3000; background: rgba(10,22,40,0.92); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.lightbox-inner { position: relative; max-width: 1100px; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.lightbox-img { max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: 8px; background: #000; }
.lightbox-title { color: #fff; font-size: 0.9375rem; font-weight: 700; text-align: center; }
.lightbox-count { color: rgba(255,255,255,0.7); font-size: 0.8125rem; }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.15); color: #fff; display: flex; align-items: center; justify-content: center; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.3); }
.lightbox-close { top: -8px; right: 0; }
.lightbox-prev { left: 0; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 0; top: 50%; transform: translateY(-50%); }
.lightbox .icon { width: 1.4em; height: 1.4em; }

/* ---------- 出現アニメーション ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; transition-delay: calc(var(--d, 0) * 0.08s); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 1280px) {
  .gnav-item > a { padding: 0.5rem 0.5rem; font-size: 0.8125rem; }
  .header-tel-hours { display: none; }
}
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid, .parent-inner, .cta-band-inner, .access-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  :root { --header-h: 64px; }
  .hamburger { display: flex; }
  .header-cta .header-tel { display: none; }
  .header-contact span { display: none; }
  .header-contact { padding: 0.55rem 0.8rem; border-radius: 10px; }
  .header-contact .icon { width: 1.3em; height: 1.3em; }
  .header-cta { gap: 0.4rem; }
  .gnav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); z-index: 1100;
    background: #fff; overflow-y: auto; padding: 4.75rem 1.25rem 2rem;
    transform: translateX(100%); transition: transform 0.35s ease;
    box-shadow: -8px 0 30px rgba(0,0,0,0.15);
  }
  .gnav.is-open { transform: translateX(0); }
  .gnav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .gnav-item { border-bottom: 1px solid var(--gray-100); }
  .gnav-item > a { flex: 1; padding: 0.95rem 0.5rem; font-size: 1rem; border-radius: 0; white-space: normal; }
  .gnav-item > a:hover, .gnav-item > a[aria-current="page"] { background: transparent; }
  .gnav-item-contact { display: flex; }
  .gnav-mobile-cta { display: grid; gap: 0.6rem; margin-top: 1.25rem; }
  .gnav-hours { text-align: center; font-size: 0.8125rem; color: var(--gray-500); }
  .gnav-parent { display: inline-flex; align-items: center; gap: 0.3rem; justify-content: center; font-size: 0.8125rem; color: var(--blue-accent); margin-top: 0.5rem; }
  .mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; display: grid; grid-template-columns: 1fr 1.4fr; gap: 0; box-shadow: 0 -4px 20px rgba(0,0,0,0.15); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 0.45rem; padding: 0.95rem 0.5rem; font-weight: 900; font-size: 0.9375rem; }
  .mobile-cta-tel { background: #fff; color: var(--navy); border-top: 1px solid var(--gray-200); }
  .mobile-cta-form { background: linear-gradient(135deg, var(--orange), var(--orange-light)); color: #fff; }
  body { padding-bottom: 64px; }
  body.no-mobile-cta .mobile-cta { display: none; }
  body.no-mobile-cta { padding-bottom: 0; }
  .back-to-top { bottom: 78px; right: 0.9rem; width: 40px; height: 40px; }
  body.no-mobile-cta .back-to-top { bottom: 1rem; }
}
@media (max-width: 768px) {
  body { font-size: 15px; }
  .section { padding: 3.5rem 0; }
  .section-header { margin-bottom: 2rem; }
  .hero-content { padding: 3.25rem 0 2.75rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .cat-section { padding: 2.5rem 0; }
  .product-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .steps { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .parent-services { grid-template-columns: 1fr; }
  .parent-band { padding: 3.5rem 0; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.4rem 1.1rem; border-radius: var(--radius); }
  .selected-item { grid-template-columns: 96px 1fr; padding: 0.9rem 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .table-overview th { width: 7rem; font-size: 0.8125rem; white-space: normal; }
  .table-overview th, .table-overview td { padding: 0.75rem 0.9rem; }
  .map-wrap iframe { height: 280px; }
  .page-hero-inner { padding: 2.5rem 0 2.25rem; }
  .cta-band { padding: 3rem 0; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 1.75rem; }
  .hero-chips li { font-size: 0.75rem; }
  .site-logo img { height: 26px; }
  .site-logo-sub { font-size: 0.6875rem; padding: 0 0.45rem; }
  .cta-band-actions .btn { width: 100%; }
}

/* ---------- 印刷 ---------- */
@media print {
  .site-header, .mobile-cta, .back-to-top, .gnav-backdrop, .cta-band, .cat-tabs, .product-zoom { display: none !important; }
  body { padding: 0; font-size: 12pt; }
  a[href^="http"]::after { content: ' (' attr(href) ')'; font-size: 0.8em; color: #666; }
}
