﻿/* =========================================================
   Hotmelt Page Styles
   ========================================================= */

/* ---------------------------------------------------------
   Category Switcher (Tabs)
   --------------------------------------------------------- */
/* ---------------------------------------------------------
   Category Switcher (Tabs) - Refactored for Connected Look
   --------------------------------------------------------- */
.category-switcher {
  margin-bottom: 60px;
}

.category-tabs {
  display: flex;
  justify-content: center;
  align-items: flex-end; /* Bottom align for connection */
  gap: 4px; /* Slight gap between tabs */
  margin: 0 auto; /* Remove bottom margin to connect */
  padding: 0 20px;
  list-style: none;
  max-width: 1200px;
  border-bottom: 1px solid var(--c-border); /* The baseline */
}

.category-tabs__item {
  flex: 1;
  max-width: 240px; /* Limit tab width */
}

.category-tabs__btn {
  width: 100%;
  padding: 14px 10px;
  background: #e3e7ef; /* Inactive Gray */
  border: 1px solid var(--c-border);
  border-bottom: none;
  border-radius: 8px 8px 0 0; /* Top rounded */
  color: #7b8698;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
  position: relative;
  bottom: -1px; /* Overlap the border */
}

.category-tabs__btn:hover {
  background: #fff;
  color: var(--c-navy);
}

.category-tabs__btn.is-active {
  background: #fff;
  color: var(--c-navy);
  border-color: var(--c-border);
  border-bottom: 1px solid #fff; /* Hide the line */
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.03);
  font-weight: 700;
  z-index: 2;
}

/* Remove old Arrow Indicator */
.category-tabs__btn.is-active::after {
  content: none;
}

.category-tabs__btn.is-active::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--c-orange);
}

/* SP: Horizontal Scroll */
@media (max-width: 768px) {
  .category-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0;
    margin-bottom: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-bottom: 1px solid var(--c-border);
    flex-wrap: wrap;
    gap: 6px;
  }
  .category-tabs::-webkit-scrollbar {
    display: none;
  }
  .category-tabs__item {
    flex: 1 1 48%;
    min-width: 0;
    max-width: none;
  }
  .category-tabs__btn {
    padding: 10px 16px;
    font-size: 0.85rem;
    white-space: nowrap;
  }
}

/* ---------------------------------------------------------
   Category Content Sections
   --------------------------------------------------------- */
.category-contents {
  background: #fff;
  border: 1px solid var(--c-border);
  border-top: none; /* Connected to tabs */
  border-radius: 0 0 8px 8px;
  padding: 40px 20px;
  box-shadow: var(--elev-1);
}

.category-section {
  display: none;
  animation: fadeIn 0.4s ease-out forwards;
}

.category-section.is-active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.category-header {
  margin-bottom: 32px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.category-header__top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.category-header h2 {
  font-size: 1.8rem;
  color: var(--c-navy);
  margin: 0;
}

.category-catch {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 12px;
}

.category-desc {
  font-size: 0.95rem;
  color: var(--c-muted);
  line-height: 1.8;
}

/* ---------------------------------------------------------
   Shapes Matrix
   --------------------------------------------------------- */
.shapes-matrix {
  margin-bottom: 80px;
}

.shapes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.shape-card {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shape-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--elev-2);
}

.shape-card__image {
  flex: 0 0 120px;
  margin-right: 24px;
}

.shape-card__image img {
  width: 100%;
  height: auto;
  border-radius: var(--r-sm);
  mix-blend-mode: multiply;
}

.shape-card__content {
  flex: 1;
}

.shape-card__title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--c-navy);
  margin: 0 0 8px;
}

.shape-card__desc {
  font-size: 0.9rem;
  color: var(--c-muted);
  margin-bottom: 12px;
}

.shape-card__link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-link);
  text-decoration: none;
}

.shape-card__link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .shapes-grid {
    grid-template-columns: 1fr;
  }
  .shape-card {
    flex-direction: column;
    text-align: center;
  }
  .shape-card__image {
    margin: 0 0 16px;
  }
}

/* =========================================================
   Hotmelt About & Merits Scoped Styles
   ========================================================= */

.hotmelt-about {
  background: #fff;
  padding-bottom: 80px;
}

.hotmelt-about .container--intro {
  max-width: 1000px;
  margin: 0 auto;
}

/* ---------------------------------------------------------
   Intro Panel
   --------------------------------------------------------- */
.hotmelt-intro-panel {
  display: flex;
  background: var(--c-bg-blue);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 80px;
  box-shadow: var(--elev-1);
}

.hotmelt-intro-panel__image {
  flex: 0 0 320px;
  position: relative;
}

.hotmelt-intro-panel__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hotmelt-intro-panel__text {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hotmelt-intro-panel__lead {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 16px;
  line-height: 1.6;
}

.hotmelt-intro-panel__desc {
  font-size: 0.95rem;
  color: var(--c-muted);
  line-height: 1.8;
  margin: 0;
}

/* ---------------------------------------------------------
   Merits Grid
   --------------------------------------------------------- */
.hotmelt-merits-wrapper {
  text-align: center;
}

.hotmelt-merits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
}

/* Merit Card */
.merit-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 28px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.merit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--elev-2);
}

.merit-card__header {
  margin-bottom: 12px;
}

.merit-card__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-orange);
  background: #fff4e6;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.merit-card__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-navy);
  margin: 0;
  line-height: 1.4;
}

.merit-card__body {
  font-size: 0.9rem;
  color: var(--c-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.merit-card__image {
  margin-top: auto;
  text-align: center;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 16px;
}

.merit-card__image img {
  max-width: 100%;
  height: 100px; /* Restrict height for consistency */
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* SP Responsive */
@media (max-width: 768px) {
  .hotmelt-intro-panel {
    flex-direction: column;
    padding: 24px;
    margin-bottom: 60px;
  }

  .hotmelt-intro-panel__image {
    flex: 0 0 auto;
    height: 200px;
    margin-bottom: 24px;
    border-radius: 8px;
    overflow: hidden;
  }

  .hotmelt-intro-panel__text {
    padding: 0;
  }

  .hotmelt-merits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .merit-card {
    padding: 20px;
  }

  .merit-card__title {
    font-size: 1.1rem;
  }
}

/* =========================================================
   Examples Page Styles
   ========================================================= */

/* 1. Hero Section Image Placeholder */
.page-header__image--examples {
  background: #f0f4f8;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.page-header-illust-placeholder {
  color: var(--c-muted);
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  border: 2px dashed #ccc;
  padding: 20px;
  border-radius: 8px;
}

.sec-lineup .lineup {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.sec-lineup .card {
  flex: 1 1 calc(33% - 24px);
  min-width: 280px;
  padding: 22px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: var(--elev-1);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  position: relative;
}

.main-link::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/*.sec-lineup .card:hover {
  transform: translateY(-2px);
  box-shadow: var(--elev-2);
}*/

.sec-lineup .card img {
  width: 100%;
  margin: 0 auto 14px;
  background: #e7edf2;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: calc(var(--r-lg) - 6px);
}

.sec-lineup h3 {
  margin: 8px 0 6px;
  min-height: 1.4em;
  font-size: 1.1rem;
}

.sec-lineup p {
  margin: 0;
  color: var(--c-muted);
  font-size: 0.95rem;
}

.sec-lineup .card img {
  transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
  width: 100%;
  margin: 0 auto 14px;
  background: #e7edf2;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: calc(var(--r-lg) - 6px);
}

/* ホバー時に画像にも動きを加えます */
.sec-lineup .card:hover img {
  /* 画像を少し拡大 (105%) して、動きと臨場感を出す */
  transform: scale(1.02);

  /* 画像を少し暗くしてテキストの視認性を高める（オーバーレイ効果） */
  filter: brightness(0.8);
}

/* 2. Temperature Shortcuts */
/* セクション自体に背景と角丸をつける */
.examples-temp {
  margin-bottom: 72px;
  padding: 36px 32px;
  background: var(--c-gray);
  border-radius: var(--r-lg);
}

/* 内側のカード並びはそのまま */
.examples-temp__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  .examples-temp {
    padding: 24px 16px;
  }
}

.examples-temp__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  .examples-temp__inner {
    grid-template-columns: 1fr;
  }
}

.examples-temp-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border); /* Fallback if var(--c-gray) is bg */
  border-radius: var(--r-md);
  padding: 24px;
  box-shadow: var(--elev-1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.examples-temp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--elev-2);
}

.examples-temp-card__title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--c-navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.examples-temp-card__title span {
  font-size: 1rem;
  color: var(--c-muted);
  display: block;
  margin-bottom: 12px;
}

.examples-temp-card__text {
  font-size: 0.9rem;
  color: var(--c-text);
  margin-bottom: 20px;
  flex-grow: 1;
}
.examples-temp-card__icon-area {
  margin-bottom: 20px;
  width: 100px;
  height: 80px;
  background: var(--c-bg-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.examples-temp-card__icon {
  max-width: 100%;
  max-height: 100%;
}
.examples-temp-card__btn {
  width: 100%;
  max-width: 200px;
}

/* 3. Industry Use Cases */

.examples-industries {
  margin-bottom: 40px;
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Card Styles */
.usecase-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--elev-1);
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

.usecase-card__inner {
  display: flex;
  gap: 32px;
  height: 100%;
  margin-bottom: 8px;
}

/* Left Column */
.usecase-card__main {
  flex: 0 0 55%; /* Slightly wider for the main content */
  display: flex;
  flex-direction: column;
}

/* Right Column */
.usecase-card__aside {
  flex: 1;
  padding-left: 16px;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

/* Header Group (Icon + Titles) */
.usecase-card__header-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

/* Icon */
.usecase-card__icon {
  width: 64px;
  height: 64px;
  background: var(--c-bg-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.usecase-card--highlight-blue .usecase-card__icon,
.usecase-card--highlight-orange .usecase-card__icon {
  background: #fff;
}

.usecase-card__icon img {
  width: 50%;
  height: auto;
}

/* Titles Wrapper */
.usecase-card__titles {
  display: flex;
  flex-direction: column;
}

.usecase-card__label-en {
  font-size: 0.8rem;
  color: var(--c-muted);
  font-weight: 700;
  margin: 0 0 4px;
  letter-spacing: 0.05em;
  line-height: 1;
}

.usecase-card__title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--c-navy);
  margin: 0;
  line-height: 1.2;
}

/* Lead Text */
.usecase-card__lead {
  font-size: 0.85rem;
  color: var(--c-text);
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* Link */
.usecase-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-orange);
  text-decoration: none;
  transition: color 0.2s ease;
  margin-top: auto;
  align-self: flex-end; /* Align to bottom right of left column */
}

.usecase-card__link:hover {
  color: var(--c-orange-d);
  text-decoration: underline;
}

.usecase-card__link-icon {
  transition: transform 0.2s ease;
}

.usecase-card__link:hover .usecase-card__link-icon {
  transform: translateX(4px);
}

/* Aside Content */
.usecase-card__aside-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 12px;
}

.usecase-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.usecase-card__list li {
  position: relative;
  /* padding-left: 14px; */
  margin-bottom: 8px;
  font-size: 0.75rem;
  color: var(--c-muted);
  line-height: 1.5;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
}

/*.usecase-card__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--c-muted); 
  font-weight: bold;
}*/

/* Highlight Cards */
.usecase-card--highlight-blue {
  background: #eaf6fd; /* Light blue */
  border-color: rgba(33, 150, 243, 0.1);
}

.usecase-card--highlight-orange {
  background: #fff3e0; /* Light orange */
  border-color: rgba(255, 152, 0, 0.1);
}

/* 折りたたみラッパー */
.usecase-card__lead-wrap {
  max-height: 6.8em; /* だいたい3～4行分（line-height次第で調整） */
  overflow: hidden;
  position: relative;
  transition: max-height 0.25s ease;
}

/* フェードオーバーレイ（初期状態のみ） */
.usecase-card__lead-wrap::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2em;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 1)
  );
}

/* 下段・青カード (#eaf6fd) */
.usecase-card--highlight-blue .usecase-card__lead-wrap::after {
  background: linear-gradient(
    to bottom,
    rgba(234, 246, 253, 0),
    rgba(234, 246, 253, 1)
  );
}

/* 下段・オレンジカード (#fff3e0) */
.usecase-card--highlight-orange .usecase-card__lead-wrap::after {
  background: linear-gradient(
    to bottom,
    rgba(255, 243, 224, 0),
    rgba(255, 243, 224, 1)
  );
}

/* 展開時：高さ制限解除＋フェード削除 */
.usecase-card.is-expanded .usecase-card__lead-wrap {
  max-height: 999px; /* 実質制限なし。必要なら scrollHeight を JS で入れてもOK */
}
.usecase-card.is-expanded .usecase-card__lead-wrap::after {
  display: none;
}

/* トグルボタン */
.usecase-card__toggle {
  margin-top: 8px;
  padding: 4px 0;
  border: none;
  background: none;
  color: var(--c-link);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.usecase-card__toggle::after {
  content: "▼";
  font-size: 0.8rem;
  transform: translateY(-1px);
}

.usecase-card.is-expanded .usecase-card__toggle::after {
  content: "▲";
}

/* SP でも同じ仕組みでOK（必要ならフォントサイズだけ調整） */
@media (max-width: 768px) {
  .usecase-card__lead-wrap {
    max-height: 5.6em; /* モバイルは少し多めに見せてもよい */
  }
}

/* Responsive */
@media (max-width: 900px) {
  .usecase-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .usecase-card__inner {
    flex-direction: column;
    gap: 24px;
  }

  .usecase-card__main {
    flex: 0 0 auto;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 24px;
  }

  .usecase-card__aside {
    padding-left: 0;
    border-left: none;
  }

  .usecase-card__link {
    margin-top: 16px;
    align-self: flex-start; /* Reset alignment on mobile */
  }
}

@media (max-width: 768px) {
  .examples-industries {
    padding: 32px 20px;
  }

  .usecase-card {
    padding: 24px;
  }
}

/* 4. Problem Guide */
.examples-guide {
  margin-bottom: 80px;
  background: #f8f9fa; /* Light gray bg for section */
  padding: 40px;
  border-radius: var(--r-lg);
}
.examples-guide__item {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: var(--r-md);
  padding: 20px 30px;
  margin-bottom: 20px;
  box-shadow: var(--elev-1);
}
.examples-guide__item:last-child {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .examples-guide {
    padding: 20px;
  }
  .examples-guide__item {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 24px 20px;
  }
}

.examples-guide__icon {
  width: 60px;
  height: 60px;
  background: #eef3f6;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}
.examples-guide__icon img {
  width: 60%;
}
@media (max-width: 768px) {
  .examples-guide__icon {
    margin-right: 0;
  }
}

.examples-guide__text {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--c-navy);
  flex-grow: 1;
  margin: 0;
}

.examples-guide__arrow {
  font-size: 1.5rem;
  color: var(--c-muted);
  margin: 0 30px;
}
@media (max-width: 768px) {
  .examples-guide__arrow {
    transform: rotate(90deg);
    margin: 0;
  }
}

.examples-guide__target {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 160px;
}
.examples-guide__label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-navy);
}
.examples-guide__btn {
  width: 100%;
  font-size: 0.9rem;
  padding: 8px 16px;
}
/* Outline Button Style if not exists */
.btn-outline {
  background: #fff;
  border: 1px solid var(--c-orange);
  color: var(--c-orange);
  text-decoration: none;
  border-radius: 30px;
  display: inline-block;
  text-align: center;
  transition: all 0.2s ease;
  font-weight: 700;
}
.btn-outline:hover {
  background: var(--c-orange);
  color: #fff;
}

/* =========================================================
   Nozzle Page Styles
   ========================================================= */

/* Intro Card */
.nozzle-intro {
  margin-bottom: 80px;
}
.nozzle-intro__card {
  background-color: #f8f9fa;
  border: 1px solid var(--c-border-subtle, #e2e8f0);
  border-radius: var(--r-md, 8px);
  padding: 40px;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.nozzle-intro__text {
  font-size: 1.05rem;
  color: var(--c-text);
  margin-bottom: 24px;
  line-height: 1.6;
}
.nozzle-intro__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Product Grid (B-10) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 80px;
}
/* Mobile 2-column modifier */
/*.product-grid--mobile-2col {
  @media (max-width: 768px) {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}*/

/* Nozzle Section */
.nozzle-section {
  margin-bottom: 80px;
}
.nozzle-section__header {
  margin-bottom: 40px;
  text-align: center;
}
.nozzle-section__lead {
  margin-top: 16px;
  color: var(--c-muted);
}

.product-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.product-card__price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text);
  margin-top: auto;
  padding-top: 12px;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--elev-2);
}
.product-card__link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card__img-wrapper {
  padding: 20px;
  background: #f9f9f9;
  text-align: center;
  position: relative;
}
.product-card__img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.product-card__body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.product-card__title {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--c-navy);
}
.product-card__specs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.spec-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  background: #eef3f6;
  color: var(--c-link);
}
.spec-badge--orange {
  background: #fff4e6;
  color: var(--c-orange-d);
}
.product-card__desc {
  font-size: 0.9rem;
  color: var(--c-muted);
  line-height: 1.6;
  margin: 0;
}

/* Mobile Tweaks */
@media (max-width: 768px) {
  .nozzle-intro__card {
    padding: 24px;
  }
  .nozzle-intro__actions {
    flex-direction: column;
  }
  .nozzle-intro__actions .btn,
  .nozzle-intro__actions .lc-btn-primary {
    width: 100%;
  }
  .nozzle-grid {
    grid-template-columns: 1fr; /* Force 1 col on SP */
    gap: 20px;
  }
  .nozzle-card__image {
    height: 160px;
  }
}

/* =========================================================
   Price Page Styles
   ========================================================= */

.price-container {
  padding-top: 32px;
}

.price-page {
  padding-bottom: 100px;
}
.price-layout {
  padding: 0 20px;
  max-width: 1400px;
  margin: 0 auto;
}

#price-gluegun {
  border-top: 3px solid var(--c-border-d);
  padding-top: 32px;
  margin-bottom: 100px;
}

#price-hotmelt {
  border-top: 3px solid var(--c-border-d);
  padding-top: 32px;
  margin-bottom: 100px;
}

/* --- 1. Anchor Nav (Quick Access) --- */
.price-anchor-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.anchor-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  /* 背景色：薄いグレーではなく、白＋しっかりした枠線でボタン感を出す */
  background: #fff;
  color: var(--c-navy);
  font-weight: 700;
  border-radius: 99px; /* カプセル型 */
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--c-border); /* 枠線 */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.anchor-btn i {
  color: var(--c-orange); /* アイコンはアクセントカラーで */
  font-size: 1.1rem;
}
.anchor-btn .arrow {
  color: var(--c-muted);
  font-size: 0.9rem;
  margin-left: 4px;
  transition: transform 0.3s;
}

/* Hover State */
.anchor-btn:hover {
  border-color: var(--c-navy);
  box-shadow: 0 6px 16px rgba(14, 47, 71, 0.15);
  transform: translateY(-2px);
}
.anchor-btn:hover .arrow {
  transform: translateY(3px); /* 矢印が少し下がるアニメーション */
  color: var(--c-navy);
}

/* =========================================================
   Price Page: Universal Control Panel
   ========================================================= */

/* --- Header Layout (Centered) --- */
.price-section__header-centered {
  text-align: center; /* 全体を中央寄せ */
  margin-bottom: 40px;
  border-bottom: 2px solid var(--c-bg-blue); /* 区切り線 */
  padding-bottom: 30px;
}

h2.price-section__title {
  font-size: 1.8rem;
  margin-bottom: 24px;
  line-height: 1.3;
  border-bottom: none;
  text-align: center !important;
}
h2.price-section__title:before {
  display: none;
}

/* --- Control Panel Container --- */
.view-control-panel {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background-color: #f9fbfc; /* うっすら背景を敷いて「エリア」感アップ */
  padding: 16px 32px;
  border-radius: 16px;
  border: 1px solid var(--c-border);
}

/* Guide Text */
.view-control-guide {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-orange); /* 気づきの色（オレンジ）で誘導 */
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.view-control-guide i {
  font-size: 1rem;
}

/* --- Switcher Buttons (Large Mode) --- */
.price-view-switch--large {
  display: flex;
  background-color: #fff;
  border: 2px solid var(--c-border); /* 枠線を少し太く */
  border-radius: 8px;
  padding: 4px;
  /* 影をつけてボタンっぽさを強調 */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.price-view-switch__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px; /* 余白たっぷりで押しやすく */
  font-size: 1rem; /* 文字サイズアップ */
  font-weight: 700;
  color: var(--c-muted);
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.price-view-switch__btn i {
  font-size: 1.1rem;
}

/* Hover State */
.price-view-switch__btn:hover {
  color: var(--c-navy);
  background-color: #f0f4f8;
}

/* Active State (ONの状態) */
.price-view-switch__btn.is-active {
  background-color: var(--c-navy);
  color: #fff;
  box-shadow: 0 2px 6px rgba(14, 47, 71, 0.3);
}

/* --- Mobile Responsive --- */
@media screen and (max-width: 768px) {
  .price-anchor-nav {
    flex-direction: column; /* スマホでは縦並び */
    gap: 12px;
    margin-bottom: 40px;
  }
  .anchor-btn {
    width: 100%;
    justify-content: space-between; /* アイコンと矢印を両端に */
  }

  .view-control-panel {
    width: 100%; /* スマホでは全幅 */
    padding: 16px;
  }

  .price-view-switch--large {
    width: 100%;
    display: flex;
  }

  .price-view-switch__btn {
    flex: 1; /* 均等分割 */
    padding: 12px 8px; /* 左右は狭くてもOK */
    font-size: 0.9rem;
    justify-content: center;
  }

  /* スマホではアイコンのみにして文字を消すなどの調整も可ですが、
       「わかりやすさ」優先なら文字ありのまま、文字サイズ調整で対応 */
  .price-view-switch__btn span {
    font-size: 0.85rem;
  }
}

/* Section Common */
.price-section,
.price-info {
  margin-bottom: 64px;
  position: relative;
}

.price-info {
  border-top: 3px solid var(--c-border-d);
  padding-top: 32px;
}

@media (max-width: 768px) {
  .price-section,
  .price-info {
    padding: 24px 10px;
  }
}

.price-section__title,
.price-info h2 {
  font-size: 1.8rem;
  color: var(--c-navy);
  margin-bottom: 32px;
  position: relative;
  padding-left: 18px;
  border-bottom: 1px dashed var(--c-border);
}

#price-hotmelt .price-section__title {
  text-align: left;
}

.price-section__title:before,
.price-info h2:before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 2px;
  background: var(--c-orange);
  opacity: 0.9;
}

@media (max-width: 768px) {
  .price-section__title {
    font-size: 1.5rem;
  }
}

.price-section__lead {
  margin-bottom: 24px;
  color: var(--c-text);
  text-align: center;
}
.price-section__lead a {
  color: var(--c-link);
  text-decoration: underline;
}

/* Grid Layouts */
@media (min-width: 960px) {
  .price-gluegun-grid,
  .price-hotmelt-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    align-items: start;
  }
}

/* CTA Block */
.price-cta-block {
  max-width: 800px;
  margin: 0 auto 64px;
  background: #f5f8fa;
  border-radius: var(--r-md, 8px);
  padding: 30px;
  text-align: center;
  margin-top: 40px;
  border: 2px solid var(--c-border-d);
}
.price-cta-text {
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 16px;
}
.price-cta-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.price-cta-tel {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--c-navy);
  letter-spacing: 0.05em;
}

/* Info Cards */
.price-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.price-info-card {
  border: 1px solid #eaeaea;
  background: #fafbfc;
  padding: 24px;
  border-radius: 8px;
  transition: transform 0.2s;
}
.price-info-card:hover {
  transform: translateY(-2px);
}
.price-info-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
}
.price-info-card__title::before {
  content: "●";
  color: var(--c-orange);
  font-size: 0.6em;
  margin-right: 8px;
}
.price-info-card__text {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
}

/* --- 3. View Components Common Core --- */
.price-product-item__link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.price-tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 99px;
  background: #f0f0f0;
  color: var(--c-muted);
  font-weight: normal;
  vertical-align: middle;
  margin-right: 8px;
}

.price-tag.is-empty {
  background: transparent;
  color: transparent;
  display: none;
}

/* --- 4. List View Styles (price-view--list) --- */
.price-view--list .price-product-list {
  border-top: 1px solid var(--c-border);
}

.price-view--list .price-product-item {
  border-bottom: 1px solid #333;
}

.price-view--list .price-product-item__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  gap: 16px;
}

/* ゼブラ行（リストビューのみ） */
.price-view--list
  .price-product-item:nth-child(even)
  .price-product-item__link {
  background-color: var(--c-bg-blue);
}

/* ホバー時はゼブラより優先して少しだけ濃く */
.price-view--list .price-product-item__link:hover {
  background-color: var(--c-orange-light);
}

/* Hide Visual in List */
.price-view--list .price-product-item__visual {
  display: none;
}

/*.price-view--list .price-product-item__content {
  flex: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}*/

.price-view--list .price-product-header {
  padding: 10px 24px;
  display: grid;
  grid-template-columns: minmax(90px, 1fr) minmax(130px, 1.4fr) auto;
  gap: 16px;
  color: #888;
  font-size: 0.8rem;
  border-bottom: 1px solid #eee;
}

.price-view--list .price-product-header > span {
  display: flex;
  align-items: center; /* 縦方向は中央 */
  justify-content: flex-start; /* 横方向は左揃え */
}

/* もし「価格」だけは右揃えにしたい場合（数字は右揃えが基本） */
.price-view--list .price-product-header .price-product-header__price {
  justify-content: flex-end;
}

.price-view--list .price-product-item__content {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(90px, 1fr) minmax(130px, 1.4fr) auto;
  gap: 16px;
  align-items: center;
}

.price-view--list .price-product-item__name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--c-text);
}

.price-view--list .price-product-item__specs {
  font-size: 0.85rem;
  color: var(--c-navy);
  text-align: left;
}

.price-view--list .spec-row {
  margin: 0;
  padding: 0;
}

.spec-value {
  margin: 0;
  padding: 0;
}

.price-view--list .spec-label {
  display: none;
}

.price-view--list .price-product-item__name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--c-text);
  min-width: 120px;
}

.price-view--list .price-product-item__price {
  font-weight: 700;
  color: var(--c-navy);
  text-align: right;
  white-space: nowrap;
  font-family: "Roboto Mono", monospace;
  font-size: 1rem;
}

.price-view--list .price-product-item__price.is-estimate {
  font-size: 0.85rem; /* 文字サイズを小さく */
  color: #94a3b8; /* 薄いグレーに変更 */
  font-weight: normal; /* 太字解除 */
  font-family: inherit; /* 数字用フォントではなく日本語フォントに戻す */
  letter-spacing: 0;
}

/* 1. ヘッダーをスッキリさせる */
.price-view--list .price-product-header {
  background-color: transparent; /* 背景色を削除 */
  border-bottom: 2px solid #e2e8f0; /* しっかりした線に変更 */
  color: #64748b; /* 文字色は落ち着いたスレートグレー */
  font-weight: 700;
  font-size: 0.85rem;
}

/* 2. ゼブラ柄を「超微細」にして上品にする */
.price-view--list
  .price-product-item:nth-child(even)
  .price-product-item__link {
  background-color: #f8fafc; /* 水色をやめて、ごく薄いブルーグレーに */
}

/* ホバー時は少しだけ濃くして「押せる感」を出す */
.price-view--list .price-product-item__link:hover {
  background-color: #f1f5f9;
  cursor: pointer;
}

/* 3. 製品名を「濃いネイビー」で引き締める */
.price-view--list .price-product-item__name {
  color: #1e293b;
  font-weight: 700;
}

.price-view--list .price-product-item__specs {
  font-size: 0.9rem;
  font-weight: 500;
}

.price-view--list .price-product-item__price {
  color: var(--c-orange-d);
  font-size: 1.05rem;
  letter-spacing: 0.05em; /* 数字の間隔を少し空けると読みやすい */
}

.price-view--list .price-product-item {
  border-bottom: 1px solid var(--c-border-d);
}

/* 修正：3列目を auto から 140px に固定 */
.price-view--list .price-product-header,
.price-view--list .price-product-item__content {
  display: grid;
  /* ↓ 最後の auto を 140px (または150px) に変更 */
  grid-template-columns: minmax(90px, 1fr) minmax(130px, 1.4fr) 140px;
  gap: 16px;
}

/* リストビューの価格色 */
.price-view--list .price-product-item__price {
  color: var(--c-orange);
}

/* =========================================================
   カードスタイル
   ========================================================= */

.price-view--grid .price-product-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
}

.price-view--grid .price-product-item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  box-shadow: var(--elev-1);
  overflow: hidden;
  height: 100%;
}

.price-view--grid .price-product-item__link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.price-view--grid .price-product-item__link:hover {
  box-shadow: var(--elev-2);
  transform: translateY(-2px);
  background-color: #fff;
}

/* Visual Area */
.price-view--grid .price-product-item__visual {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f9f9f9;
  border-bottom: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  margin: 0;
}

.price-view--grid .price-product-item__visual img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* グリッドビューではヘッダーを非表示 */
.price-view--grid .price-product-header {
  display: none;
}

/* Content Area */
.price-view--grid .price-product-item__content {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.price-view--grid .price-product-item__name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--c-navy);
  margin-bottom: 8px;
  line-height: 1.4;
}

.price-view--grid .price-product-item__specs {
  margin-bottom: 12px;
}

/* Specs (吐出量) */
.price-view--grid .spec-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto; /* 価格の上に配置（名前が短くても位置を固定） */
  margin-bottom: 8px;
  font-size: 0.8rem;
}

.price-view--grid .spec-label {
  font-size: 0.7rem;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
}

.price-view--grid .spec-value {
  font-weight: 500;
}

.price-view--grid .price-product-item__price {
  margin-top: auto;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-text);
  text-align: right;
  font-family: "Roboto Mono", monospace;
}

/* グリッドビューの価格色も合わせておく */
.price-view--grid .price-product-item__price {
  color: var(--c-orange);
}

.price-view--grid .price-product-item__price.is-estimate {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: normal;
  font-family: inherit;
}

.price-view--list .price-product-item__link {
  padding: 16px 24px;
}

/* カード幅をほぼ固定に（狭い画面では100%にフォールバック） */
.price-view--grid .price-product-item {
  flex: 0 1 260px; /* ここは 240〜280px くらいで微調整 */
  max-width: 100%;
}

.price-group__title {
  position: relative;
  padding-left: 12px;
}

.price-group__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 999px;
  background: var(--c-orange);
}

/* --- SP Optimization --- */
@media (max-width: 768px) {
  .price-view--list .price-product-header,
  .price-view--list .price-product-item__content {
    grid-template-columns: 1.2fr 0.8fr 90px;
    gap: 8px;
  }
  .price-view--list .price-product-item__link,
  .price-view--list .price-product-header {
    padding-left: 12px;
    padding-right: 12px;
  }

  .price-view--list .price-product-header {
    font-size: 0.75rem;
  }
  .price-gluegun-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* List View Compact */
  .price-view--list .price-product-item__link {
    padding: 16px 24px;
  }
  .price-view--list .price-product-item__name {
    font-size: 0.9rem;
  }
  .price-view--list .price-product-item__price {
    font-size: 0.95rem;
  }

  /* Grid View Mobile */
  .price-view--grid .price-product-list {
    grid-template-columns: repeat(2, 1fr); /* 強制的に2分割 */
    gap: 12px; /* 隙間を狭くする */
  }

  /* カード内の余白を圧縮 */
  .price-view--grid .price-product-item__visual {
    padding: 8px; /* 画像周りを狭く */
  }

  .price-view--grid .price-product-item__content {
    padding: 12px 10px; /* 横幅を有効活用 */
  }

  /* 文字サイズを全体的に小さくして収める */
  .price-view--grid .price-product-item__name {
    font-size: 0.85rem;
    margin-bottom: 8px;
  }

  .price-view--grid .spec-row {
    flex-wrap: wrap; /* 狭すぎたら折り返す */
    gap: 4px;
    font-size: 0.75rem;
  }

  .price-view--grid .price-product-item__price {
    font-size: 1rem;
  }
}

.price-view--grid .price-gluegun-grid {
  grid-template-columns: 1fr;
  gap: 60px;
}

.price-view--grid .price-gluegun-col--others {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

/* =========================================================
   Mobile Rescue: Force Vertical Stack for Others Section
   ========================================================= */

/* 900px未満（スマホ・タブレット）の時だけ発動 */
@media (max-width: 899px) {
  /* 1. 「その他のグルーガン」エリアの3列並びを解除 */
  .price-view--grid .price-gluegun-col--others {
    display: block !important; /* グリッドを解除して通常のブロック要素に戻す */
    /* または grid-template-columns: 1fr !important; でもOK */
  }

  /* 2. 各カテゴリー（低温、PURなど）の下に余白を戻す */
  .price-view--grid .price-gluegun-col--others .price-group {
    margin-bottom: 40px; /* 縦積み用の余白を確保 */
  }
}

/* =========================================================
   Hotmelt Table Section (Modern Style)
   ========================================================= */

/* --- 1. Layout & Scroll --- */
.price-hotmelt-grid {
  display: grid;
  /* 2列にして画面を有効活用（スマホは1列になるようMedia Queryで制御） */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: start;
}

.price-table-scroll {
  /* スマホで横にはみ出した時だけスクロールさせる安全装置 */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* --- 2. Table Core Styles --- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  border-top: 2px solid #e2e8f0;
  border-right: 2px solid #e2e8f0;
  border-left: 2px solid #e2e8f0;
}

/* ヘッダーデザイン（グルーガンと合わせる） */
.price-table thead th {
  text-align: left;
  padding: 12px 16px;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 700;
  border-bottom: 2px solid #e2e8f0;
}

/* ボディデザイン */
.price-table tbody td {
  padding: 16px;
  border-bottom: 1px solid var(--c-border-d);
  vertical-align: middle;
}

/* ゼブラストライプ（グルーガンと同じ極薄グレー） */
.price-table tbody tr:nth-child(even) {
  background-color: #f8fafc;
}

/* ホバー効果 */
.price-table tbody tr:hover {
  background-color: #f1f5f9;
}

/* --- 3. Column Specific Styles --- */

/* 品番セル */
.price-cell-name {
  /* 品番を目立たせる */
  font-weight: 700;
  color: #1e293b; /* 濃いネイビー */
}

.price-product-id {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

/* カテゴリータグ */
.price-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.price-meta .price-tag {
  font-size: 0.7rem;
  background: #e2e8f0;
  color: #475569;
  padding: 2px 8px;
  border-radius: 99px;
  font-weight: normal;
}

/* 価格セル */
.price-cell-price {
  text-align: right; /* 価格は右寄せ */
  font-family: "Roboto Mono", monospace;
  font-weight: 700;
  color: var(--c-orange);
  font-size: 1rem;
}

.price-cell-price small {
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: normal;
  margin-left: 4px;
}

/* ヘッダーの価格列も右寄せに合わせる */
.price-table thead th:last-child {
  text-align: right;
}

/* お問い合わせ時のスタイル上書き */
.price-cell-price.is-inquiry {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: normal;
  font-family: inherit;
}

/* --- 4. Mobile Optimization --- */
@media (max-width: 768px) {
  .price-hotmelt-grid {
    grid-template-columns: 1fr; /* スマホは1列 */
    gap: 24px;
  }

  .price-table tbody td {
    padding: 12px 10px; /* 余白を少し詰める */
  }

  .price-product-id {
    font-size: 0.9rem;
  }
}

/* =========================================================
   Contact Page: High-End Support Console Style
   ========================================================= */

/* Layout & Spacing */
.contact-page-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0 80px;
}

.contact-section {
  display: flex;
  background: #fff;
  border: 1px solid #e1e8f0;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 30, 60, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 少し浮き上がる演出 */
.contact-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 30, 60, 0.08);
  border-color: #cbd5e0;
}

/* --- Left Side: Header --- */
.contact-section__header-side {
  flex: 0 0 240px;
  background: #f8fafc;
  padding: 30px;
  border-right: 1px solid #e1e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
}

/* Header Icon with Slash Design */
.co-header-icon {
  width: 60px;
  height: 60px;
  background: var(--c-navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(15, 42, 68, 0.2);

  /* Diagonal shine effect */
  background-image: linear-gradient(
    -135deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.15) 45%,
    transparent 45%,
    transparent 100%
  );
}

.contact-section__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--c-navy);
}

/* --- Right Side: Body --- */
.contact-section__body {
  flex: 1;
  padding: 40px;
}

.co-body-header {
  margin-bottom: 24px;
}
.co-body-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--c-text);
}
.co-lead {
  color: var(--c-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* --- 1. Phone Card (The Hero) --- */
.co-tel-card {
  display: flex;
  align-items: center;
  background: #fffaf5; /* 薄いオレンジ */
  border: 2px solid rgba(233, 119, 48, 0.2);
  border-radius: 12px;
  padding: 24px;
  gap: 30px;
}

.co-tel-card__main {
  flex: 1;
}

.co-tel-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 6px;
}

.co-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.co-badge--tel {
  background: var(--c-orange);
  color: #fff;
}
.co-badge--fax {
  background: var(--c-orange);
  color: #fff;
}

.co-number {
  font-family: monospace; /* Tech feel */
  font-weight: 800;
  color: var(--c-navy);
  line-height: 1;
  letter-spacing: -0.02em;
}
.co-number--lg {
  font-size: 2.4rem;
  text-decoration: none;
}
.co-number--sm {
  font-size: 1.4rem;
  color: var(--c-muted);
}

.co-hours {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: var(--c-muted);
  background: rgba(255, 255, 255, 0.6);
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
}

.co-tel-divider {
  width: 1px;
  height: 60px;
  background: rgba(0, 0, 0, 0.1);
}

.co-tel-card__sub {
  flex: 0 0 auto;
}

/* --- 2. Email Section (Code Block Style) --- */
.co-mail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.co-mail-card {
  background: #f8fafc;
  border: 1px solid #e1e8f0;
  border-radius: 8px;
  padding: 20px;
  transition: all 0.2s;
  position: relative;
}

.co-mail-card:hover {
  background: #fff;
  border-color: var(--c-navy);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.co-mail-card--primary {
  background: #edf2f7; /* 少し濃いグレー */
  border-color: #cbd5e0;
}

.co-mail-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.co-mail-address {
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-navy);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  word-break: break-all;
}

.co-mail-address i {
  color: var(--c-orange);
  opacity: 0.5;
  transition: opacity 0.2s;
}
.co-mail-card:hover .co-mail-address i {
  opacity: 1;
}

/* Alert Box */
.co-alert-box {
  display: flex;
  gap: 16px;
  background: #fff1f1;
  border: 1px solid #fecaca;
  padding: 20px;
  border-radius: 8px;
  color: #991b1b;
}

.co-alert-box i {
  font-size: 1.4rem;
  color: #ef4444;
  margin-top: 2px;
}
.co-alert-content {
  font-size: 0.9rem;
  line-height: 1.6;
}
.co-alert-content p {
  margin: 0 0 4px;
}
.co-alert-content p:last-child {
  margin: 0;
}

/* --- 3. Construction (Form) --- */
.co-section-form.is-disabled {
  opacity: 0.9;
}

.co-construction-area {
  background: #f8fafc;
  border: 2px dashed #cbd5e0;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Stripe Pattern */
.co-construction-stripe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: repeating-linear-gradient(
    45deg,
    #e2e8f0,
    #e2e8f0 10px,
    #fff 10px,
    #fff 20px
  );
}

.co-construction-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.co-construction-content i {
  font-size: 2rem;
  color: #cbd5e0;
}
.co-construction-content h3 {
  margin: 0;
  color: var(--c-muted);
  font-size: 1.2rem;
}
.co-construction-content p {
  color: var(--c-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

/* Disabled Button */
.btn--disabled {
  background: #cbd5e0 !important;
  color: #fff !important;
  cursor: not-allowed;
  opacity: 0.7;
  padding: 12px 30px;
  border-radius: 99px;
  font-weight: 700;
}

/* --- 4. Navigation Links --- */
.co-section-heading {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-navy);
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  width: 100%;
}
.co-section-heading::after {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  background: var(--c-orange);
  margin: 15px auto 0;
  border-radius: 2px;
}

.co-link-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 60px;
}

.co-nav-card {
  background: #fff;
  border: 1px solid #e1e8f0;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.co-nav-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  border-color: var(--c-orange);
}

.co-nav-card__icon {
  width: 50px;
  height: 50px;
  background: #fffaf5;
  color: var(--c-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.co-nav-card__body h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--c-navy);
}
.co-nav-card__body p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--c-muted);
}

.co-nav-card__arrow {
  margin-left: auto;
  color: #cbd5e0;
  transition: transform 0.2s, color 0.2s;
}
.co-nav-card:hover .co-nav-card__arrow {
  color: var(--c-orange);
  transform: translateX(4px);
}

/* Privacy Text */
.co-privacy-area {
  text-align: center;
  font-size: 0.9rem;
  color: var(--c-muted);
}
.co-privacy-area a {
  color: var(--c-navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.co-privacy-area a:hover {
  color: var(--c-orange);
}

/* --- Responsive (SP) --- */
@media (max-width: 900px) {
  .contact-section {
    flex-direction: column;
  }

  .contact-section__header-side {
    flex: auto;
    flex-direction: row;
    padding: 16px 20px;
    border-right: none;
    border-bottom: 1px solid #e1e8f0;
    text-align: left;
    justify-content: flex-start;
  }

  .co-header-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    margin-right: 16px;
  }

  .contact-section__body {
    padding: 24px 20px;
  }

  /* Tel Card Stack */
  .co-tel-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
  }

  .co-tel-divider {
    width: 100%;
    height: 1px;
  }

  .co-number--lg {
    font-size: 1.8rem;
  }

  /* Mail Stack */
  .co-mail-grid {
    grid-template-columns: 1fr;
  }

  .co-mail-address {
    font-size: 1rem; /* スマホで折り返さないよう調整 */
  }

  /* Link Grid */
  .co-link-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Google Form Integration (Monitor Style)
   ========================================================= */

/* ラッパー：モニターのような枠を作る */
.co-form-wrapper {
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 30, 60, 0.1);
  overflow: hidden;
  position: relative;
}

/* モニターヘッダー（Macのウィンドウっぽい装飾） */
.co-form-monitor-header {
  background: #f1f5f9;
  padding: 12px 20px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.co-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}
.co-dot--red {
  background: #ff5f56;
  border: 1px solid #e0443e;
}
.co-dot--yellow {
  background: #ffbd2e;
  border: 1px solid #dea123;
}
.co-dot--green {
  background: #27c93f;
  border: 1px solid #1aab29;
}

.co-monitor-title {
  margin-left: auto;
  margin-right: auto;
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-family: sans-serif;
}

/* iframeコンテナ */
.co-form-iframe-container {
  position: relative;
  background: #fff;
  /* 高さはGoogleフォームの長さに合わせて調整してください */
  /* 初期値として800px〜1000px程度確保 */
  min-height: 800px;
}

/* iframe本体のスタイル強制上書き */
.co-form-iframe-container iframe {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  min-height: 1000px; /* フォームが長い場合はここを増やす */
  display: block;
  position: relative;
  z-index: 2; /* ローディング文字の上に表示 */
}

/* 読み込み中の文字（iframeが出るまで後ろに隠しておく） */
.co-loading-msg {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--c-muted);
  font-weight: 700;
  z-index: 1;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .co-form-wrapper {
    border-radius: 8px;
    border: none; /* SPでは枠線を消して画面を広く使うのもアリ */
    box-shadow: none;
    background: transparent;
  }

  .co-form-monitor-header {
    display: none; /* SPではヘッダーを隠してシンプルに */
  }

  .co-form-iframe-container {
    min-height: 1100px; /* SPは縦長になるので高さを増やす */
  }

  .co-form-iframe-container iframe {
    min-height: 1100px;
  }
}

/* =========================================================
   Google Form Security Notice
   ========================================================= */

.co-form-notice {
  display: flex;
  gap: 20px;
  background: #f0f7ff; /* 信頼感のある薄いブルー */
  border: 1px solid #cce3ff;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 30px; /* フォームとの間隔 */
  align-items: flex-start;
}

.co-form-notice__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #4285f4; /* Google Blue */
  box-shadow: 0 2px 6px rgba(66, 133, 244, 0.15);
}

.co-form-notice__content {
  flex: 1;
}

.co-form-notice__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-navy);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 鍵アイコンをタイトルの横に添える */
.co-form-notice__title::after {
  content: "\f023"; /* FontAwesome lock icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.85rem;
  color: #28a745; /* 安心の緑色 */
}

.co-form-notice__text {
  font-size: 0.85rem;
  color: var(--c-text);
  line-height: 1.7;
  margin: 0;
}

.co-text-alert {
  display: block;
  margin-top: 8px;
  color: #666;
  font-size: 0.8rem;
  border-top: 1px dashed #cce3ff;
  padding-top: 8px;
}

/* SP対応 */
@media (max-width: 600px) {
  .co-form-notice {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }
  .co-form-notice__icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* =========================================================
   Privacy Page Styles
   ========================================================= */

.co-privacy-article {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 40px;
  padding-bottom: 80px;
  font-size: 1rem;
  line-height: 1.8;
}

.co-privacy-section {
  margin-bottom: 60px;
}

.co-privacy-h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--c-navy);
  border-bottom: 2px solid var(--c-border);
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.co-privacy-list,
.co-privacy-ol {
  margin: 16px 0 24px;
  padding-left: 24px;
}

.co-privacy-list li,
.co-privacy-ol li {
  margin-bottom: 8px;
}

.co-privacy-contact-box {
  background: #f9fafb;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 30px;
  margin-top: 24px;
}

.co-company-name {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--c-navy);
}

.co-privacy-contact-box p {
  margin-bottom: 8px;
}
.co-privacy-contact-box p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   Company Page Styles
   ========================================================= */

.company-article {
  padding-top: 40px;
  padding-bottom: 80px;
}

.company-section {
  margin-bottom: 80px;
}

.company-h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-navy);
  border-left: 8px solid var(--c-orange);
  padding-left: 16px;
  margin-bottom: 32px;
  line-height: 1.4;
}

.company-h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 16px;
  background: var(--c-gray);
  padding: 10px 16px;
  border-radius: var(--r-sm);
  border-left: 4px solid var(--c-navy);
}

.company-h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-navy);
  margin: 20px 0 10px;
}

.company-block {
  margin-bottom: 40px;
}

.company-list {
  padding-left: 24px;
  margin-bottom: 16px;
}
.company-list li {
  margin-bottom: 6px;
}

.company-list-sm {
  font-size: 0.9rem;
  padding-left: 20px;
  color: var(--c-muted);
}
.company-list-sm li {
  margin-bottom: 4px;
}

/* Company Info Box (DL) */
.company-info-box {
  border-top: 1px solid var(--c-border);
}

.company-dl {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--c-border);
}

.company-dl dt {
  width: 100%;
  background: #f9fafb;
  font-weight: 700;
  padding: 12px 16px;
  color: var(--c-navy);
}

.company-dl dd {
  width: 100%;
  padding: 12px 16px;
  margin: 0;
  border-bottom: 1px solid var(--c-border-d); /* Mobile separator */
}
.company-dl dd:last-child {
  border-bottom: none;
}

@media (min-width: 768px) {
  .company-dl dt {
    width: 25%;
    border-bottom: 1px solid var(--c-border);
  }
  .company-dl dd {
    width: 75%;
    border-bottom: 1px solid var(--c-border);
  }
}

/* 2 Column Layout */
.company-row {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 768px) {
  .company-row {
    flex-direction: row;
  }
  .company-col {
    flex: 1;
  }
}

/* Table Styles */
.company-table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 24px;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  font-size: 0.9rem;
}

.company-table th,
.company-table td {
  border: 1px solid var(--c-border);
  padding: 12px 16px;
}

.company-table th {
  background: #f0f4f8;
  color: var(--c-navy);
  font-weight: 700;
  text-align: center;
}

.company-table td {
  text-align: center;
}

/* Shipping Table Specifics */
.company-table--shipping th {
  font-size: 0.8rem;
  padding: 8px;
}
.company-table--shipping td {
  font-size: 0.85rem;
}

/* Note Box */
.company-note-box {
  background: #fffaf5;
  border: 1px dashed var(--c-orange);
  padding: 20px;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
}

/* =========================================================
   Sitemap Page Styles
   ========================================================= */

.sitemap-article {
  padding-top: 40px;
  padding-bottom: 80px;
}

.sitemap-lead {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .sitemap-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}
@media (min-width: 1024px) {
  .sitemap-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sitemap-section {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 24px;
  height: 100%;
}

.sitemap-h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--c-orange);
}

.sitemap-h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text);
  margin-top: 20px;
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 4px solid var(--c-gray);
}
.sitemap-h3:first-of-type {
  margin-top: 0;
}

.sitemap-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-list li {
  margin-bottom: 8px;
}

.sitemap-list li a {
  display: block;
  padding: 6px 0;
  color: var(--c-text);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
  padding-left: 16px;
}

.sitemap-list li a::before {
  content: "▶";
  position: absolute;
  left: 0;
  top: 9px;
  font-size: 0.6em;
  color: var(--c-orange);
}

.sitemap-list li a:hover {
  color: var(--c-orange);
  text-decoration: underline;
}

/* Home Link Special Style */
.sitemap-home {
  font-weight: 700;
  font-size: 1.1rem;
  background: #f9fafb;
  padding: 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-border);
  margin-bottom: 40px;
  display: block;
  color: var(--c-navy);
  text-decoration: none;
  display: flex;
  align-items: center;
}
.sitemap-home::before {
  content: "🏠";
  margin-right: 10px;
}
.sitemap-home:hover {
  background: #f0f4f8;
  color: var(--c-orange);
}

/* =========================================================
   Sitemap Page Styles (Updated v2)
   ========================================================= */

.sitemap-article {
  padding-top: 40px;
  padding-bottom: 80px;
}

.sitemap-lead {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

/* ホームリンク */
.sitemap-home {
  font-weight: 700;
  font-size: 1.1rem;
  background: #f9fafb;
  padding: 16px;
  border-radius: 8px; /* 変数がない場合用 */
  border-radius: var(--r-sm, 8px);
  border: 1px solid #e5e7eb;
  border: 1px solid var(--c-border, #e5e7eb);
  margin-bottom: 40px;
  color: #1f2937;
  color: var(--c-navy, #1f2937);
  text-decoration: none;
  display: flex;
  align-items: center;
}
.sitemap-home::before {
  content: "🏠";
  margin-right: 10px;
}
.sitemap-home:hover {
  background: #f0f4f8;
  color: #f97316;
  color: var(--c-orange, #f97316);
}

/* グリッドレイアウト */
.sitemap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 768px) {
  .sitemap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .sitemap-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sitemap-group {
  margin-bottom: 24px;
}

/* 見出しスタイル */
.sitemap-h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-navy, #1f2937);
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--c-orange, #f97316);
}

.sitemap-h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text, #333);
  margin-top: 24px;
  margin-bottom: 12px;
}

/* アコーディオン (details/summary) 改修版 */
.sitemap-details {
  margin-bottom: 16px;
  border-bottom: 1px dashed #eee; /* 区切り線を追加 */
  padding-bottom: 8px;
}

.sitemap-summary {
  cursor: pointer; /* マウスカーソルを指にする */
  font-weight: 700;
  color: var(--c-text, #333);
  list-style: none;
  padding: 10px 0;
  display: flex;
  align-items: center; /* 縦位置中央揃え */
  transition: color 0.2s;
}
.sitemap-summary:hover {
  color: var(--c-orange, #f97316);
  opacity: 0.8;
}

/* デフォルトの三角マーカーを消す */
.sitemap-summary::-webkit-details-marker {
  display: none;
}

/* 左側にアイコン（＋）を表示 */
.sitemap-summary::before {
  content: "+";
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  margin-right: 10px; /* テキストとの距離 */
  background: var(--c-orange, #f97316);
  color: #fff;
  border-radius: 50%; /* 丸くする */
  font-size: 14px;
  line-height: 1;
  font-weight: normal;
  transition: transform 0.2s;
}

/* 開いている時はアイコンを（ー）っぽく回転 */
.sitemap-details[open] .sitemap-summary::before {
  transform: rotate(45deg); /* ＋を回転させて×にする演出 */
  background: #999; /* 開いている時は色を落ち着かせる */
}

/* リストスタイル */
.sitemap-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-list li {
  margin-bottom: 6px;
  position: relative; /* アイコン位置の基準 */
}

.sitemap-list li a {
  display: block;
  padding: 6px 0 6px 22px; /* 左パディングを増やしてアイコン被りを防ぐ */
  color: var(--c-text, #4b5563);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
  line-height: 1.5;
}

/* リストの矢印アイコン */
.sitemap-list li a::before {
  content: "▶";
  position: absolute;
  left: 0;
  top: 11px; /* 位置微調整 */
  font-size: 0.6em;
  color: var(--c-orange, #f97316);
}

.sitemap-list li a:hover {
  color: var(--c-orange, #f97316);
  text-decoration: underline;
}

/* 最後の微調整用クラス */
.mt-box {
  margin-top: 24px;
}

/* =========================================================
   Knottec Page Styles
   ========================================================= */

/* Feature Grid (4 points) */
.knottec-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.knottec-feature-item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 24px 16px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.knottec-feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--elev-2);
}
.knottec-feature-icon {
  display: block;
  font-size: 3rem;
  margin-bottom: 12px;
  line-height: 1;
}
.knottec-feature-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-navy);
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .knottec-feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .knottec-feature-item {
    padding: 20px 12px;
  }
  .knottec-feature-icon {
    font-size: 2.4rem;
  }
  .knottec-feature-item h3 {
    font-size: 0.9rem;
  }
}

/* Summary Text Block */
.knottec-summary-text {
  max-width: 800px;
  margin: 0 auto;
}
.knottec-summary-text p {
  margin-bottom: 1.5em;
  line-height: 1.8;
  color: var(--c-text);
}
.knottec-summary-text p:last-child {
  margin-bottom: 0;
}

/* Usecase Grid Override (Ensure 2 columns if needed, though lc-usecase-grid is 2col default?) 
   Actually lc-usecase-grid in examples/electro uses grid-template-columns: repeat(2, 1fr); 
   Let's just ensure it.
*/
.knottec-usecase-grid {
  grid-template-columns: repeat(2, 1fr);
  /* already defined in lc-usecase-grid but safe to enforce if we use this class */
}
@media (max-width: 768px) {
  .knottec-usecase-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
/* Checklist override for centering */
.kz-checklist-center {
  margin: 30px auto 40px;
  display: table; /* or inline-block wrapper */
}

/* Reason List (Vertical) */
.knottec-reason-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.knottec-reason-item {
  background: #fff;
  border-radius: var(--r-md);
  padding: 32px;
  box-shadow: var(--elev-1);
}
.knottec-reason-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--c-navy);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--c-orange);
  display: inline-block;
}
.knottec-reason-body p {
  margin: 0;
  line-height: 1.8;
  color: var(--c-text);
}

@media (max-width: 768px) {
  .knottec-reason-item {
    padding: 24px;
  }
  .knottec-reason-title {
    font-size: 1.2rem;
    display: block; /* border full width on SP maybe? or keep inline */
    border-bottom-width: 1px;
  }
}

/* Video Grid */
.knottec-video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.knottec-video-card {
  display: flex;
  flex-direction: column;
}
.knottec-video-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-navy);
  margin: 0 0 12px;
  line-height: 1.4;
}
.knottec-video-title .small {
  display: block;
  font-size: 0.85em;
  font-weight: normal;
  color: var(--c-muted);
  margin-top: 4px;
}
.knottec-video-desc {
  font-size: 0.95rem;
  color: var(--c-text);
  margin-bottom: 20px;
  flex-grow: 1;
}
.knottec-video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
  border-radius: var(--r-md);
  overflow: hidden;
}
.knottec-video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .knottec-video-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* =========================================================
   FAQ Page Scoped Styles
   ========================================================= */

/* 1. Category Navigation (Pill Style) */
.faq-nav {
  margin-bottom: 60px;
}

.faq-nav__link:focus-visible,
.faq-item__question:focus-visible {
  outline: 2px solid var(--c-link);
  outline-offset: 2px;
}

.faq-nav__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.faq-nav__item {
  margin: 0;
}

.faq-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 999px; /* Pill shape */
  font-weight: 700;
  color: var(--c-muted);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.faq-nav__link:hover {
  background: #fff;
  border-color: var(--c-navy);
  color: var(--c-navy);
  transform: translateY(-2px);
  box-shadow: var(--elev-1);
  text-decoration: none;
}

@media (max-width: 768px) {
  .faq-nav__list {
    gap: 8px;
  }
  .faq-nav__link {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}

/* 2. FAQ Section (Category Block) */
.faq-section {
  margin-bottom: 80px;
  scroll-margin-top: 100px; /* 固定ヘッダー分のオフセット用 */
}

.faq-section__title {
  font-size: 1.6rem;
  color: var(--c-navy);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--c-bg-blue);
  text-align: left;
}

.faq-section__lead {
  max-width: 800px;
  margin-bottom: 32px;
  color: var(--c-text);
  line-height: 1.8;
}

/* 3. FAQ List & Item (Accordion) */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-item[open] {
  box-shadow: var(--elev-1);
  border-color: var(--c-border-d);
}

.faq-item__question {
  display: block; /* for uniformity */
  position: relative;
  padding: 20px 60px 20px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--c-navy);
  cursor: pointer;
  list-style: none; /* Hide default marker */
  line-height: 1.5;
  transition: background-color 0.2s ease;
}

/* Hide default marker for Webkit */
.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question:hover {
  background-color: var(--c-gray);
}

/* Custom Icon (+/-) */
.faq-item__question::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--c-orange);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-item__question::after {
  content: "−"; /* Unicode minus or hyphen */
  transform: translateY(-50%);
  color: var(--c-muted);
}

.faq-item__answer {
  padding: 24px 24px 32px;
  border-top: 1px dashed var(--c-border);
  color: var(--c-text);
  line-height: 1.8;
}

.faq-item__answer p:last-child {
  margin-bottom: 0;
}

/* 4. Related Links */
.faq-related {
  background: var(--c-bg-blue);
  border-radius: var(--r-md);
  padding: 24px 32px;
  margin-top: 40px;
}

.faq-related__title {
  font-size: 1rem;
  color: var(--c-muted);
  margin: 0 0 16px;
  font-weight: 700;
  text-align: left;
}

.faq-related__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.faq-related__item {
  margin: 0;
}

.faq-related__link {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  background: #fff;
  border-radius: 8px;
  color: var(--c-link);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  transition: all 0.2s ease;
}

.faq-related__link:hover {
  transform: translateY(-2px);
  box-shadow: var(--elev-1);
  color: var(--c-link-hov);
  text-decoration: none;
}

.faq-related__link::after {
  content: "\2192";
  margin-left: 6px;
  font-size: 0.85em;
  transition: transform 0.2s ease;
}

.faq-related__link:hover::after {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .faq-related {
    padding: 20px;
  }
  .faq-related__list {
    flex-direction: column;
    gap: 8px;
  }
  .faq-related__link {
    width: 100%;
    justify-content: space-between;
  }
}

/* 5. Contact CTA (Common Pattern) */
.faq-cta {
  background: linear-gradient(135deg, #f9f9f9 0%, #f0f4f8 100%);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 80px;
}

.faq-cta__title {
  font-size: 1.5rem;
  color: var(--c-navy);
  margin-bottom: 20px;
  font-weight: 800;
}

.faq-cta__text {
  margin-bottom: 32px;
  color: var(--c-muted);
  line-height: 1.8;
}

/* 質問（Summary）のスタイル調整 */
.faq-item__question {
  display: flex; /* Flexboxでレイアウト制御 */
  align-items: flex-start; /* 上揃え */
  gap: 16px; /* アイコンとテキストの間隔 */
  padding: 24px 50px 24px 24px; /* 右パディングは開閉アイコン用に確保 */
  background-color: #fff;
  font-weight: 700;
  line-height: 1.6;
}

/* 「Q」アイコンの擬似要素 */
.faq-item__question::before {
  content: "Q";
  flex-shrink: 0; /* アイコンが潰れないように */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--c-navy); /* テーマカラーに合わせる */
  color: #fff;
  border-radius: 50%;
  font-family: sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: -2px; /* テキストとのベースライン微調整 */
}

/* 回答（Content）のスタイル調整 */
.faq-item__answer {
  background-color: #f7f9fb; /* 薄いグレー/ブルー系で階層をつける */
  padding: 24px 24px 32px 72px; /* 左パディングをQアイコン分空けると綺麗 */
  position: relative;
}

/* 「A」アイコンの擬似要素 */
.faq-item__answer::before {
  content: "A";
  position: absolute;
  top: 24px;
  left: 24px; /* Qと同じ縦ラインに配置 */
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-orange); /* アクセントカラー（赤/オレンジ系） */
  font-weight: 900;
  font-size: 1.4rem;
  font-family: sans-serif;
}

/* スマホ調整 */
@media (max-width: 768px) {
  .faq-item__answer {
    padding-left: 24px; /* スマホではインデントを戻して画面幅を有効活用 */
  }
  .faq-item__answer::before {
    position: static; /* フロー配置に戻す */
    margin-bottom: 8px;
    display: inline-flex;
    margin-right: 8px;
  }
}

/* 既存の content: "+" を無効化し、ボーダーで矢印を作る */
.faq-item__question::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 32px; /* アイコン位置調整 */
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--c-orange);
  border-bottom: 2px solid var(--c-orange);
  transform: rotate(45deg); /* 下矢印 */
  transition: transform 0.3s ease;
  margin-top: 0;
}

/* 開いた状態（open属性あり） */
.faq-item[open] .faq-item__question::after {
  content: "";
  transform: rotate(225deg); /* 上矢印に回転 */
  border-color: var(--c-orange); /* 色は維持 */
}

/*.faq-nav {
  position: sticky;
  top: 0; 
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  padding: 16px 0;
  margin-bottom: 40px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); 
  backdrop-filter: blur(5px); 
}
*/

.faq-related {
  background: transparent; /* 背景色を削除 */
  padding: 16px 0 0;
  margin-top: 24px;
  border-top: 1px solid var(--c-border); /* 線で区切る程度に */
}

.faq-related__title {
  font-size: 0.9rem;
  display: inline-block;
  margin-right: 12px;
}

.faq-related__list {
  display: inline-flex; /* タイトルの横に並べるイメージ */
  gap: 16px;
}

.faq-related__link {
  background: transparent; /* 背景なし */
  border: none;
  box-shadow: none;
  padding: 0;
  color: var(--c-link);
  text-decoration: underline;
  font-weight: normal;
}

.faq-related__link:hover {
  transform: none;
  box-shadow: none;
  color: var(--c-link-hov);
  text-decoration: none;
}

/* 埋め込み用 FAQ セクションの微調整（必要なら） */
.faq-section--embed {
  margin-top: 48px;
}

/* 「もっと見る」リンク */
.faq-more {
  margin-top: 16px;
  text-align: right;
}

.faq-more__link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-link);
  text-decoration: none;
}

.faq-more__link:hover {
  color: var(--c-link-hov);
  text-decoration: underline;
}
