@charset "utf-8";
/* home.css v1.0.0 — core + toppage */

/* ===== commonN.css ===== */
/* ============================================================
   commonN.css v2.0.7 — レイアウト基盤・デザイントークン
   ============================================================ */

:root {
  --container-max: 1200px;
  --container-pad: clamp(16px, 3vw, 24px);
  --sidebar-width: 280px;

  --color-primary: #d87031;
  --color-primary-dark: #b85a20;
  --color-primary-btn: #8a3d12; /* 白文字ボタン用（WCAG AA 4.5:1） */
  --color-primary-btn-hover: #6b2e0c;
  --color-primary-text: #8a4510; /* 白・淡色背景上の文字用（WCAG AA） */
  --color-accent: #006b3f; /* 旧 #0b6 はコントラスト不足 */
  --color-accent-dark: #005533;
  --color-text: #1a1a1a;
  --color-text-muted: #5c5c5c;
  --color-link: #7a2e0a;
  --color-border: #e8e0dc;
  --color-surface: #faf8f7;
  --color-footer-bg: #3d2420;
  --color-footer-deep: #2a1815;

  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-8: 48px;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;

  --line-height-body: 1.8;
  --font-size-body: 1rem;
  --font-size-small: 0.9375rem;
  --font-size-meta: 0.875rem;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic",
    "Meiryo", "Noto Sans JP", "Segoe UI", "Roboto", "Helvetica Neue", Arial,
    sans-serif;
}

/* --- Reset --- */

html {
  height: 100%;
  font-size: 112.5%;
}

@media screen and (min-width: 1024px) {
  html {
    font-size: 118.75%;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  padding: 0;
  margin: 0;
}

div img {
  vertical-align: top;
}

ul {
  list-style: none;
}

.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

.clearfix:before {
  content: "";
  display: block;
  clear: both;
}

.clearfix {
  display: block;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  line-height: var(--line-height-body);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-link);
}

/* --- セクション共通 --- */

#header,
nav,
#contents,
#footer,
#copyright {
  width: 100%;
  font-size: var(--font-size-body);
  background-color: #fff;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- コンテナ --- */

#header .inner,
nav .inner,
#contents .inner,
#footer .inner,
#copyright .inner {
  max-width: var(--container-max);
  width: 100%;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  margin-inline: auto;
}

/* --- ヘッダー --- */

#header h1 {
  font-size: 13px;
  text-align: center;
  font-weight: normal;
  color: var(--color-text-muted);
  padding: var(--space-2) 0;
  line-height: 1.5;
}

.topPr {
  display: grid;
  grid-template-columns: minmax(0, 58fr) repeat(3, minmax(0, 14fr));
  align-items: start;
  width: 100%;
}

.topPr > picture,
.topPr .banner01,
.topPr .prBall,
.topPr .banner02 {
  min-width: 0;
  width: 100%;
}

.topPr > picture img {
  display: block;
  width: 100%;
  height: auto;
}

.topPr .banner02 {
  grid-column: 1 / -1;
  margin: 1em 0;
}

.top-banner-wrap {
  position: relative;
  max-width: var(--container-max);
}

.top-banner-wrap a {
  display: block;
  border-radius: var(--radius-sm);
}

.top-banner-wrap a:focus-visible {
  outline: 2px solid var(--color-primary, #d87031);
  outline-offset: 2px;
}

.top-banner-wrap img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

/* --- コンテンツ Grid --- */

#contents .inner .paddinger {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar-width);
  gap: var(--space-5) var(--space-6);
  margin-top: var(--space-4);
  grid-template-areas:
    "crumbs crumbs"
    "main sidebar";
}

/* パンくず（schema.org ラッパー含む）を全幅に */
#contents .inner .paddinger > :not(#left):not(#right):not(.clearfix) {
  grid-area: crumbs;
}

#contents #left {
  grid-area: main;
  float: none;
  width: auto;
  margin: 0;
  min-width: 0;
}

#contents #right {
  grid-area: sidebar;
  align-self: start;
  float: none;
  width: auto;
  margin: 0;
  min-width: 0;
}

#contents .inner .paddinger > .clearfix {
  display: none;
}

#contents .inner .paddinger:not(:has(#right)) {
  grid-template-columns: 1fr;
  grid-template-areas:
    "crumbs"
    "main";
}

#contents #right .box {
  margin-bottom: var(--space-4);
}

#contents #right .info li a {
  text-align: center;
  display: block;
  margin-bottom: var(--space-3);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-link);
  padding: var(--space-2) var(--space-3);
  transition: background-color 0.15s ease, color 0.15s ease,
    border-color 0.15s ease;
}

#contents #right .info li a:hover {
  background-color: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  text-decoration: none;
}

#contents #right .info li a .title {
  font-weight: bold;
  font-size: 1.125rem;
  line-height: 1.4;
  padding-top: 0.25em;
}

#contents #right .info li a span.text {
  font-size: var(--font-size-small);
  line-height: 1.55;
  display: block;
  margin-top: 0.25em;
}

#contents #right .banner ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* --- フッター --- */

#footer {
  border-top: 4px solid var(--color-border);
  background-color: var(--color-footer-bg);
  margin-top: var(--space-6);
}

#footer .inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  padding-top: var(--space-6);
  padding-bottom: var(--space-4);
}

#footer .inner .box.contact {
  grid-column: 1 / -1;
}

#footer .inner > .clearfix {
  display: none;
}

#footer .inner .box {
  width: auto;
  float: none;
  margin: 0;
}

#footer .inner .box h3 {
  display: block;
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 700;
  padding-bottom: var(--space-2);
  margin-bottom: var(--space-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#footer .inner .box ul li {
  font-size: var(--font-size-small);
  color: rgba(255, 255, 255, 0.9);
  display: block;
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  margin-bottom: 0.35em;
  background: none;
}

#footer .inner .box ul li::before {
  content: "›";
  margin-right: 0.35em;
  opacity: 0.6;
}

#footer .inner .box ul li a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

#footer .inner .box ul li a:hover {
  color: #fff;
  text-decoration: underline;
}

/* --- コピーライト --- */

#copyright {
  background-color: var(--color-footer-deep);
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  padding-bottom: calc(7em + env(safe-area-inset-bottom, 0px));
}

@media print {
  #copyright {
    padding-bottom: 0 !important;
  }
}

#copyright .inner {
  padding-top: var(--space-4);
  padding-bottom: var(--space-5);
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--font-size-meta);
}

/* --- ページトップボタン --- */

#goToTop {
  position: fixed;
  right: var(--space-3);
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 0.5em;
  z-index: 9;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#goToTop .v {
  display: inline-block;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  line-height: 1;
  font-family: var(--font-sans);
  font-size: 13px;
}

#goToTop:hover {
  background-color: #f5f5f5;
  border-color: #999;
}

#goToTop:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* --- レスポンシブ --- */

@media screen and (min-width: 900px) {
  #footer .inner {
    grid-template-columns: repeat(3, 1fr);
  }

  #footer .inner .box.contact {
    grid-column: auto;
  }
}

@media screen and (max-width: 1024px) {
  #contents .inner .paddinger {
    grid-template-columns: 1fr;
    grid-template-areas:
      "crumbs"
      "main"
      "sidebar";
    gap: var(--space-4);
  }

  #contents #left,
  #contents #right {
    width: 100%;
  }

  #contents #right .banner ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-2);
  }
}

@media screen and (max-width: 700px) {
  .topPr {
    grid-template-columns: repeat(3, 1fr);
  }

  .topPr .banner01 {
    grid-column: 1 / -1;
  }

  .topPr .prBall {
    max-width: 150px;
    justify-self: center;
  }

  .topPr .banner02 {
    grid-column: 1 / -1;
  }

  #contents #right .banner ul {
    grid-template-columns: repeat(2, 1fr);
  }

  #footer .inner {
    grid-template-columns: 1fr;
  }
}

/* --- 統合フローティングバー --- */

#actionBar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9;
  background: rgba(20, 20, 20, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
}

#actionBar .ab-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

#actionBar .ab-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 1em 0.8em;
  border-radius: var(--radius-lg);
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  border: 2px solid transparent;
}

#actionBar .ab-link {
  background: #fff;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

#actionBar .ab-tel {
  background: var(--color-accent);
  color: #fff;
}

#actionBar .ab-form {
  background: var(--color-accent-dark);
  color: #fff;
}

#actionBar .ab-item:focus {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

#actionBar .ab-item:active {
  transform: scale(0.98);
}

/* トップバナー電話ホットスポット */
.hotspot {
  position: absolute;
  display: block;
  background: transparent;
  z-index: 1;
  cursor: pointer;
}

.hotspot-tel {
  left: 31.5%;
  top: 54%;
  width: 40%;
  height: 24%;
}

.debug .hotspot-tel {
  background: rgba(255, 0, 0, 0.2);
  outline: 1px dashed red;
}

.hotspot:focus {
  outline: 3px solid #ffd400;
  outline-offset: 2px;
}

@media (max-width: 768px) {
  #actionBar .ab-inner {
    grid-template-columns: 1fr 1fr;
  }

  #actionBar .ab-link {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  #actionBar .ab-item {
    transition: none;
  }
}

/* ===== navN.css ===== */
/* navN.css v2.2.4 — 商品カテゴリ 6列格子（12項目）＋下段ユーティリティ6項目 */

nav * {
  box-sizing: border-box;
}

nav input {
  display: none;
}

nav a {
  display: block;
  text-decoration: none;
  color: var(--color-link, #4c0000);
}

nav a:hover {
  color: var(--color-primary-dark, #b85a20);
}

/* メインメニュー PC用 */
@media screen and (min-width: 1025px) {
  nav {
    border-bottom: 1px solid var(--color-border, #e8e0dc);
  }

  nav label {
    display: none;
  }

  nav div > ul {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin: 0;
    padding: 0;
  }

  nav div > ul > li {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
  }

  /* 商品カテゴリゾーン（12項目＝6列×2行） */
  nav div > ul > li:nth-child(-n + 12) {
    background: var(--color-surface, #faf8f7);
    min-height: 48px;
    padding: 6px 4px;
    border-bottom: 1px solid var(--color-border, #e8e0dc);
  }

  /* 下段：TOP・事例・問合わせ等（6項目） */
  nav div > ul > li:nth-child(n + 13) {
    min-height: 58px;
    background: #fff;
    padding: 10px 8px;
    border-top: none;
    align-items: stretch;
  }

  /* レンタルTOP — 商品ではなくサイト導線 */
  nav div > ul > li:nth-child(13) > span > a {
    font-weight: 700;
    color: var(--color-text-muted, #5c4a42);
  }

  nav div > ul > li > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
  }

  nav div > ul > li:nth-child(n + 13) > span {
    align-self: stretch;
    width: 100%;
    min-height: 0;
  }

  nav div > ul > li > span > a {
    font-weight: 600;
    font-size: 0.8125rem;
    text-decoration: none;
    padding: 0.45em 0.4em;
    line-height: 1.35;
    white-space: normal;
    text-align: center;
    overflow: visible;
    text-overflow: unset;
    width: 100%;
    word-break: keep-all;
    line-break: strict;
  }

  /* 商品カテゴリはやや大きめ */
  nav div > ul > li:nth-child(-n + 12) > span > a {
    font-size: 0.875rem;
  }

  nav div > ul > li:nth-child(n + 13) > span > a {
    font-size: 0.875rem;
    white-space: nowrap;
    width: 100%;
    height: 100%;
    min-height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5em 0.45em;
    cursor: pointer;
  }

  /* CTA pill は行高さいっぱいに伸ばさず、セル内で縦中央 */
  nav div > ul > li:nth-child(14) > span,
  nav div > ul > li:nth-child(15) > span,
  nav div > ul > li:nth-child(17) > span,
  nav div > ul > li:has(.nav-cta) > span,
  nav div > ul > li:has(.red) > span {
    align-items: center;
  }

  nav div > ul > li:has(> ul) > span > a::after {
    content: " ▾";
    font-size: 0.7em;
    opacity: 0.6;
    white-space: nowrap;
  }

  nav div > ul > li:hover,
  nav div > ul > li:focus-within {
    background-color: #fef6ee;
  }

  nav div > ul > li:nth-child(14):hover,
  nav div > ul > li:nth-child(15):hover,
  nav div > ul > li:nth-child(17):hover,
  nav div > ul > li:has(.nav-cta):hover,
  nav div > ul > li:has(.red):hover {
    background-color: #fff;
  }

  /* 下段CTA pill — 成功例（青）・問合わせ（緑）・パッケージ（橙） */
  nav div > ul > li:nth-child(14) > span > a,
  nav div > ul > li .nav-cta--success > a,
  nav div > ul > li:nth-child(15) > span > a,
  nav div > ul > li:nth-child(17) > span > a,
  nav div > ul > li .red > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    min-height: 2.125rem;
    margin: 0;
    padding: 0.55em 0.85em;
    border-radius: 999px;
    font-weight: 700;
    color: #fff !important;
    border: 2px solid transparent;
  }

  nav div > ul > li:nth-child(14) > span > a,
  nav div > ul > li .nav-cta--success > a {
    background: #006ff0;
    border-color: #006ff0;
  }

  nav div > ul > li:nth-child(14) > span > a::after,
  nav div > ul > li .nav-cta--success > a::after {
    opacity: 0.85;
  }

  nav div > ul > li:nth-child(14) > span > a:hover,
  nav div > ul > li .nav-cta--success > a:hover {
    background: #0058c0;
    border-color: #0058c0;
    color: #fff !important;
  }

  nav div > ul > li:nth-child(15) > span > a {
    background: var(--color-accent, #006b3f);
    border-color: var(--color-accent, #006b3f);
  }

  nav div > ul > li:nth-child(15) > span > a:hover {
    background: #099660;
    border-color: #099660;
    color: #fff !important;
  }

  nav div > ul > li:nth-child(17) > span > a,
  nav div > ul > li .red > a {
    padding: 0.55em 0.8em;
    background: var(--color-primary, #d87031);
    border-color: var(--color-primary, #d87031);
  }

  nav div > ul > li:nth-child(17) > span > a:hover,
  nav div > ul > li .red > a:hover {
    background: var(--color-primary-dark, #b85a20);
    border-color: var(--color-primary-dark, #b85a20);
    color: #fff !important;
  }

  nav div > ul > li > ul {
    display: none;
    background-color: #fff;
    z-index: 10;
    border: 1px solid var(--color-border, #e8e0dc);
    border-radius: var(--radius-md, 10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }

  nav div > ul > li:hover > ul,
  nav div > ul > li:focus-within > ul {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    animation: hoverAction 0.2s ease;
  }

  @keyframes hoverAction {
    0% {
      opacity: 0;
      transform: translateY(-4px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* 右端列のドロップダウンは左寄せ */
  nav div > ul > li:nth-child(6):hover > ul,
  nav div > ul > li:nth-child(6):focus-within > ul,
  nav div > ul > li:nth-child(12):hover > ul,
  nav div > ul > li:nth-child(12):focus-within > ul,
  nav div > ul > li:nth-child(16):hover > ul,
  nav div > ul > li:nth-child(16):focus-within > ul,
  nav div > ul > li:nth-child(18):hover > ul,
  nav div > ul > li:nth-child(18):focus-within > ul {
    left: auto;
    right: 0;
  }

  nav div > ul > li > ul > li {
    border-bottom: 1px solid #f0ebe8;
    width: 16em;
    padding-left: 0.75em;
    font-size: 0.875rem;
  }

  nav div > ul > li > ul > li:last-child {
    border-bottom: none;
  }

  nav div > ul > li > ul > li:hover {
    background-color: #fef6ee;
  }
}

/* メインメニュー タブレット以下 */
@media screen and (max-width: 1024px) {
  nav.scrolled {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  nav label {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, #9d6965, #562520);
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    padding: 0.75em;
  }

  nav div > ul {
    display: none;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
  }

  nav input:checked ~ div ul {
    display: block;
    animation: hoverAnim 0.3s ease-in-out;
  }

  nav input:checked + label:after {
    content: "を閉じる";
  }

  @keyframes hoverAnim {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  nav div > ul > li > span > a {
    color: #562520;
    font-weight: 600;
    padding: 0.75em 1em;
    display: block;
    font-size: 1rem;
    border-bottom: 1px solid #f0ebe8;
  }

  nav div > ul > li > span > a:before {
    content: "\0bb";
    margin-right: 0.3em;
  }

  nav div > ul > li > span > a:hover {
    background-color: #fef6ee;
    text-decoration: none;
  }

  /* モバイルでもCTAを目立たせる */
  nav div > ul > li:nth-child(14) > span > a,
  nav div > ul > li .nav-cta--success > a,
  nav div > ul > li:nth-child(15) > span > a,
  nav div > ul > li:nth-child(17) > span > a,
  nav div > ul > li .red > a {
    margin: 0.35em 1em;
    padding: 0.65em 1em;
    border-radius: 999px;
    text-align: center;
    font-weight: 700;
  }

  nav div > ul > li:nth-child(14) > span > a,
  nav div > ul > li .nav-cta--success > a {
    background: #006ff0;
    color: #fff !important;
    border: 2px solid #006ff0;
  }

  nav div > ul > li:nth-child(14) > span > a:hover,
  nav div > ul > li .nav-cta--success > a:hover {
    background: #0058c0;
    border-color: #0058c0;
    color: #fff !important;
  }

  nav div > ul > li:nth-child(15) > span > a {
    background: var(--color-accent, #006b3f);
    color: #fff !important;
    border: 2px solid var(--color-accent, #006b3f);
  }

  nav div > ul > li:nth-child(17) > span > a,
  nav div > ul > li .red > a {
    background: var(--color-primary, #d87031);
    color: #fff !important;
    border: 2px solid var(--color-primary, #d87031);
  }

  nav div > ul > li > ul {
    overflow: auto;
    padding: 0.5em;
    margin: 0 1em 1em 1em;
    border: 1px solid var(--color-border, #e8e0dc);
    border-radius: var(--radius-md, 10px);
    background: var(--color-surface, #faf8f7);
  }

  nav div > ul > li > ul > li > span > a {
    display: block;
    padding: 0.5em 0.75em;
    margin: 0;
    border-bottom: 1px dashed #e0d8d4;
    width: auto;
    font-size: 0.9rem;
    float: none;
  }

  nav div > ul > li > ul > li > span > a:before {
    content: "\02022";
    margin-right: 0.3em;
  }

  nav div > ul > li > ul > li > span > a:hover {
    background-color: #562520;
    border-radius: var(--radius-sm, 6px);
    color: white;
  }
}

@media (prefers-reduced-motion: reduce) {
  nav div > ul > li:hover > ul,
  nav div > ul > li:focus-within > ul {
    animation: none;
  }
}

/* ===== contentsN.css ===== */
/* contentsN.css v2.0.5 — 本文・見出し・コンポーネント */

/* 見出し序列の左余白（本文幅は最小限の差のみ） */
#left h2 {
  color: var(--color-text);
  font-size: 1.5rem;
  line-height: 1.4;
  font-weight: 700;
  background: none;
  padding: 0 0 var(--space-3) var(--space-3);
  margin-left: 0;
  margin-bottom: var(--space-5);
  border-bottom: 2px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
}

#left h3 {
  font-size: 1.125rem;
  line-height: 1.5;
  font-weight: 600;
  color: var(--color-text-muted);
  border-left: none;
  padding: 0;
  margin-left: var(--space-2, 8px);
  margin-bottom: var(--space-4);
}

#left h4 {
  font-size: 1.125rem;
  line-height: 1.45;
  font-weight: 600;
  padding: var(--space-2) var(--space-3);
  background-color: var(--color-surface);
  border-radius: var(--radius-sm);
  margin-left: var(--space-3, 12px);
  margin-bottom: var(--space-4);
}

#left h5 {
  font-size: 1.0625rem;
  line-height: 1.45;
  font-weight: 600;
  color: var(--color-text);
  margin-left: var(--space-4, 16px);
  margin-bottom: var(--space-3);
}

/* コンポーネント内見出しは階層インデントの対象外 */
#left .use-case-tags h3,
#left .media-genre__title,
#left .success-nav-section h3 {
  margin-left: 0;
}

#left p {
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  margin-bottom: var(--space-4);
  margin-left: var(--heading-indent-body, 20px);
}

/* 本文インデントの対象外（全幅・専用UI） */
#left p.waku,
#left .waku,
#left .waku p,
#left .pic_com p,
#left .pic_com .inst-box p,
#left .q p,
#left .a p,
#left .item_form p,
#left .cl-benefits,
#left .cl-benefits p,
#left .media-history-lead,
#left .media-history-section p,
#left .success-nav-section p,
#left .alert,
#left .success,
#left .primary,
#left blockquote {
  margin-left: 0;
}

#left ol,
#left ul {
  margin-bottom: var(--space-4);
  margin-left: var(--heading-indent-body, 20px);
}

#left .media-history-section .media-history,
#left .success-nav-section .success-nav,
#left .item_form ul,
#left .cl-benefits ul {
  margin-left: 0;
}

#left ul li {
  font-size: var(--font-size-body);
  list-style-type: disc;
  list-style-position: outside;
  margin: 0 0 0.35em 1em;
}

#left ol li {
  font-size: var(--font-size-body);
  list-style-type: decimal;
  list-style-position: outside;
  margin-bottom: 0.35em;
}

#left .q {
  background-image: url(/image/gif/q.gif);
  background-repeat: no-repeat;
  padding-left: 1.5em;
  font-weight: normal;
  background-position: 0 4px;
}

#left .q p {
  color: #69450a;
  font-weight: bold;
}

#left .a {
  background-image: url(/image/gif/a.gif);
  background-repeat: no-repeat;
  padding-left: 1.5em;
  background-position: 0 4px;
}

#left .waku {
  text-align: center;
  margin-bottom: var(--space-4);
}

#left .mygallery {
  margin-bottom: var(--space-4);
}

/* 大きなリンクボタン */
.big_button a,
.big_link a {
  box-sizing: border-box;
  display: block;
  margin: var(--space-6) auto;
  max-width: 480px;
  width: 90%;
  background-color: var(--color-primary);
  padding: 1em 2em;
  text-align: center;
  border: none;
  font-size: 1.0625rem;
  text-decoration: none;
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: bold;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.big_link a {
  background-color: #006ff0;
}

.big_button a:hover,
.big_link a:hover {
  background-color: var(--color-primary-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.big_link a:hover {
  background-color: #0058c0;
}

#left strong {
  color: #8b2500;
  font-weight: 700;
}

.bold {
  font-weight: bold;
}

.alert {
  text-align: left;
  padding: 0.75em;
  line-height: var(--line-height-body);
  font-size: var(--font-size-body);
  margin-bottom: var(--space-4);
  background-color: #fee;
  border-radius: var(--radius-sm);
  border-left: 4px solid #c00;
}

.success {
  text-align: left;
  padding: 0.75em;
  line-height: var(--line-height-body);
  font-size: var(--font-size-body);
  margin-bottom: var(--space-4);
  background-color: #e8f8e8;
  border-radius: var(--radius-sm);
  border-left: 4px solid #393;
}

.primary {
  text-align: left;
  padding: 0.75em;
  line-height: var(--line-height-body);
  font-size: var(--font-size-body);
  margin-bottom: var(--space-4);
  background-color: #e8f8ff;
  border-radius: var(--radius-sm);
  border-left: 4px solid #09c;
}

blockquote {
  color: #545454;
  border: 1px solid var(--color-border);
  font-size: var(--font-size-body);
  border-radius: var(--radius-md);
  position: relative;
  margin: var(--space-4) 0;
  padding: 2em 3.5em 2.2em 3.5em;
  background: var(--color-surface);
}

blockquote:before {
  content: "〃";
  position: absolute;
  width: 1em;
  height: 1em;
  padding-top: 0.25em;
  border-radius: 50%;
  display: block;
  text-align: center;
  left: 0.15em;
  top: 0.1em;
  font-size: 3em;
  line-height: 1;
  color: #bbb;
  pointer-events: none;
}

blockquote:after {
  content: "〃";
  position: absolute;
  width: 1em;
  height: 1em;
  padding-top: 0.25em;
  border-radius: 50%;
  display: block;
  text-align: center;
  right: 0.15em;
  bottom: 0.1em;
  font-size: 3em;
  line-height: 1;
  color: #bbb;
  pointer-events: none;
}

/* youtube */
.iframe_content {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.iframe_content iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

/* ストーリー風羅列 */
.pic_com picture,
.pic_com .pic-media {
  text-align: center;
  background: #fffaf4;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  margin-bottom: var(--space-4);
  padding: var(--space-2);
  border-radius: var(--radius-sm);
}

.pic_com .pic-media {
  background: #000;
  padding: 0;
}

.pic_com .pic-media video {
  width: 100%;
  height: auto;
  display: block;
  background: #000;
  vertical-align: top;
}

#left .pic_com .pic-unit {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-4);
}

#left .pic_com .pic-caption {
  display: block;
  text-align: left;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin: var(--space-2);
  padding: var(--space-3);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

#left ol li {
  list-style-type: decimal;
}

#left ul li {
  list-style-type: disc;
}

#left ul li ul li {
  list-style-type: circle;
}

#left .pic_com .inst-box {
  display: block;
  text-align: left;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin: var(--space-2);
  padding: var(--space-3);
}

#left .pic_com .inst-box p {
  border: none;
  border-radius: 0;
  background: transparent;
  margin: 0 0 1em 0;
  padding: 0;
  line-height: var(--line-height-body);
}

#left .pic_com .inst-box p:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 600px) {
  #left h2 {
    font-size: 1.375rem;
  }

  #left h3 {
    font-size: 1.125rem;
  }

  #left h4 {
    font-size: 1.0625rem;
  }
}

/* ===== toppage.css ===== */
/* toppage.css v2.3.13 — トップページ専用 */

/* 1カラム（サイドバーなし）— Grid と併用 */
#contents .inner .paddinger:not(:has(#right)) {
  grid-template-columns: 1fr;
}

/* Phase 1 — Hero（画像 → 文案 → CTA） */
.top-hero-zone {
  margin: 0 0 var(--space-5, 24px);
}

.top-hero-zone__visual {
  margin-bottom: var(--space-4, 16px);
}

/* Hero montage — 大1（会場） + 小4（実寸大/VR/3D/発掘） + 化石タッチ + 売出し中AI */
.topPr .top-montage {
  grid-column: 1 / -1;
  margin: 1em 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 4px;
  aspect-ratio: 2 / 1.28;
  border-radius: var(--radius-md, 10px);
  overflow: hidden;
  background: #1a1a1a;
}

.top-montage figure {
  margin: 0;
  position: relative;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.top-montage__hero {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.top-montage img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.top-montage__hero img {
  object-position: 50% 42%;
}

.top-montage__life img {
  object-position: 78% 45%;
}

.top-montage__vr img {
  object-position: 18% 78%;
}

.top-montage__3d img {
  object-position: 50% 72%;
}

.top-montage__touch {
  grid-column: 1;
  grid-row: 3;
}

.top-montage__touch img {
  object-position: 78% 58%;
}

.top-montage__ai {
  grid-column: 2 / -1;
  grid-row: 3;
}

.top-montage a {
  display: block;
  height: 100%;
  position: relative;
}

.top-montage a:focus-visible {
  outline: 2px solid var(--color-primary, #d87031);
  outline-offset: -2px;
}

.top-montage a:hover img {
  filter: brightness(1.08);
}

.top-montage__ai img {
  object-position: 48% 58%;
}

.top-montage figcaption {
  position: absolute;
  top: 8px;
  left: 8px;
  bottom: auto;
  right: auto;
  margin: 0;
  padding: 0.2em 0.55em;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(0, 0, 0, 0.62);
  border-radius: 4px;
  pointer-events: none;
}

@media screen and (max-width: 700px) {
  .topPr .top-montage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    aspect-ratio: 3 / 5.2;
  }

  .top-montage__hero {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .top-montage__touch,
  .top-montage__ai {
    grid-column: auto;
    grid-row: auto;
  }

  .top-montage figcaption {
    top: 6px;
    left: 6px;
    font-size: 0.625rem;
    padding: 0.15em 0.45em;
  }
}

.top-hero {
  padding: var(--space-5, 24px);
  background: linear-gradient(180deg, #fefaf6 0%, #fff 100%);
  border: 1px solid var(--color-border, #e8e0dc);
  border-radius: var(--radius-md, 10px);
}

/* contentsN.css #left h2 より詳細度を上げる */
#left .top-hero h2 {
  margin-top: 0;
  margin-bottom: var(--space-3, 12px);
  padding: 0;
  font-size: clamp(1.25rem, 2.8vw, 1.625rem);
  line-height: 1.45;
  border: none;
  border-left: none;
  background: none;
}

.top-hero__lead {
  margin: var(--space-3, 12px) 0 0;
  font-size: var(--font-size-body, 1rem);
  line-height: var(--line-height-body, 1.8);
  color: var(--color-text-muted, #5c5c5c);
}

.top-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2, 8px) var(--space-4, 16px);
  margin: var(--space-4, 16px) 0 0;
  padding: 0;
  list-style: none;
}

#left .top-checklist {
  margin-left: 0;
}

.top-checklist li {
  position: relative;
  margin: 0;
  padding: 0 0 0 1.5em;
  font-size: var(--font-size-small, 0.9375rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-text, #1a1a1a);
}

#left .top-checklist li {
  list-style: none;
  margin: 0;
}

.top-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent, #006b3f);
  font-weight: 700;
}

.top-cta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3, 12px);
  margin-top: var(--space-5, 24px);
}

.top-cta-bar .button {
  margin: 0;
  display: flex;
}

.top-cta-bar .button a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 12px 24px;
  font-size: 1.0625rem;
  line-height: 1.4;
  min-height: 3rem;
  border: 1px solid transparent;
}

.top-cta-bar .button.white a {
  border-color: var(--color-primary, #d87031);
}

.top-cta-bar__note {
  flex: 1 1 100%;
  margin: 0;
  padding-top: var(--space-1, 4px);
  font-size: var(--font-size-small, 0.9375rem);
  line-height: 1.55;
  color: var(--color-text-muted, #5c5c5c);
  text-align: center;
}

.top-cta-bar__note a {
  font-weight: 600;
  white-space: nowrap;
}

@media screen and (max-width: 769px) {
  .top-checklist {
    grid-template-columns: 1fr;
  }
}

/* AIダイノアートバナー */
.top-ai-banner {
  text-align: center;
  margin-bottom: var(--space-5, 24px);
}

.top-ai-banner picture,
.top-ai-banner img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  margin-inline: auto;
}

/* 施設別成功事例アイコン */
#contents #left .box2 li img {
  max-width: 150px;
  max-height: 150px;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm, 6px);
  object-fit: contain;
}

/* 数字で見る実績と成功例厳選、共通 */
.button {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2, 8px);
  margin: var(--space-3, 12px) 0;
}

.button a {
  text-align: center;
  display: inline-block;
  padding: 8px 16px;
  font-size: var(--font-size-small, 0.9375rem);
  border-radius: var(--radius-md, 10px);
  background-color: var(--color-primary-btn, #8a3d12);
  color: white;
  font-weight: bold;
  text-decoration: none;
  float: none;
  margin: 0;
  max-width: none;
  transition: background-color 0.15s ease;
}

.button a:hover {
  background-color: var(--color-primary-btn-hover, #6b2e0c);
}

.button.white a {
  background-color: white;
  color: var(--color-primary-text, #8a4510);
  border: 1px solid var(--color-primary-dark, #b85a20);
}

.button.white a:hover {
  background-color: #fef6ee;
}

/* 数字で見る実績 */
.stats {
  padding: var(--space-4, 16px) var(--space-5, 24px);
}

.stats .boxWaku {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5, 24px);
}

.stats .boxWaku .myBox {
  padding: var(--space-5, 24px);
  background-color: #fefaf6;
  border-radius: var(--radius-md, 10px);
  border: 1px solid var(--color-border, #e8e0dc);
}

.stats .boxWaku .myBox .reason-ico {
  display: block;
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
}

.myBox .marker {
  color: var(--color-primary-text, #8a4510);
  font-size: 1.0625rem;
  font-weight: bold;
  line-height: 1.5;
}

.myBox .data span.numeric {
  font-size: 1.875rem;
  font-weight: bold;
  margin-right: 5px;
  color: var(--color-primary-text, #8a4510);
}

.myBox .detail {
  font-size: var(--font-size-body, 1rem);
  line-height: var(--line-height-body, 1.8);
  color: var(--color-text-muted, #5c5c5c);
}

.stats .note {
  font-size: var(--font-size-small, 0.9375rem);
  margin-top: var(--space-3, 12px);
  color: var(--color-text-muted, #5c5c5c);
}

@media screen and (max-width: 769px) {
  .stats .boxWaku {
    grid-template-columns: 1fr;
    gap: var(--space-3, 12px);
  }
}

/* こんなイベントにおすすめ（用途タグ）
   #left ul li（contentsN.css）より詳細度を上げる */
#left .use-case-tags {
  margin: var(--space-5, 24px) 0;
  padding: var(--space-5, 24px);
  background-color: var(--color-surface, #faf8f7);
  border: 1px solid var(--color-border, #e8e0dc);
  border-radius: var(--radius-md, 10px);
}

#left .use-case-tags h3 {
  font-size: 1.125rem;
  line-height: 1.5;
  font-weight: 600;
  color: var(--color-text, #1a1a1a);
  margin: 0 0 var(--space-4, 16px);
  padding: 0;
  border-left: none;
  background: none;
}

#left .use-case-tags ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2, 8px);
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: 0;
}

#left .use-case-tags ul li {
  margin: 0;
  list-style: none;
  padding-left: 0;
}

.use-case-tag {
  display: inline-block;
  padding: 0.45em 0.95em;
  font-size: var(--font-size-small, 0.9375rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-link, #7a2e0a);
  background-color: #fff;
  border: 1px solid var(--color-border, #e8e0dc);
  border-radius: 999px;
  cursor: default;
}

.use-case-tags .use-case-note {
  margin: var(--space-3, 12px) 0 0;
  font-size: var(--font-size-body, 1rem);
  line-height: var(--line-height-body, 1.8);
  color: var(--color-text-muted, #5c5c5c);
}

@media screen and (max-width: 769px) {
  #left .use-case-tags {
    padding: var(--space-4, 16px);
  }

  #left .use-case-tags ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-2, 8px);
  }

  .use-case-tag {
    display: block;
    width: 100%;
    text-align: center;
    font-size: var(--font-size-small, 0.9375rem);
    padding: 0.55em 0.5em;
  }
}

/* 成功例厳選 */
.success_selection {
  display: grid;
  grid-template-columns: minmax(200px, 30%) 1fr;
  gap: var(--space-5, 24px);
  padding: var(--space-4, 16px) 0;
  border-bottom: 1px solid var(--color-border, #e8e0dc);
}

.success_selection:last-child {
  border-bottom: none;
}

.success_selection .img_wrapper {
  text-align: center;
}

.success_selection .img_wrapper img {
  max-width: 100%;
  width: 100%;
  border-radius: var(--radius-sm, 6px);
}

.success_selection .text {
  margin-left: 0;
}

.success_selection .text .marker,
.success_selection .text .info {
  font-size: var(--font-size-small, 0.9375rem);
  margin: 5px 0;
}

.marker span {
  color: var(--color-primary-text, #8a4510);
}

.success_selection .text .midashi {
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: bold;
  border-left: 3px solid var(--color-primary, #d87031);
  padding-left: var(--space-3, 12px);
  margin: var(--space-2, 8px) 0;
}

.success_selection .text .honbun {
  font-size: var(--font-size-body, 1rem);
  line-height: var(--line-height-body, 1.8);
  margin: var(--space-2, 8px) 0;
  color: var(--color-text-muted, #5c5c5c);
}

.success_selection .text .items span {
  font-size: var(--font-size-small, 0.9375rem);
  background-color: #fefaf6;
  border: 1px solid var(--color-border, #e8e0dc);
  padding: 4px 8px;
  border-radius: var(--radius-sm, 6px);
  display: inline-block;
  margin: 2px;
}

@media screen and (max-width: 769px) {
  .success_selection {
    grid-template-columns: 1fr;
    padding: var(--space-4, 16px) 0;
  }
}
