/*
Theme Name: imp Japan
Theme URI: https://knowledge-care.com/
Description: ライトニング風カスタムテーマ（白ベース・青アクセント）
Author: Custom
Version: 1.0
*/

/* ===========================
   CSS変数・リセット
=========================== */
:root {
  --color-primary: #2EA3F2;
  --color-primary-dark: #1a8cd8;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-bg: #ffffff;
  --color-bg-gray: #f5f5f5;
  --color-border: #e0e0e0;
  --header-height: 70px;
  --content-width: 1100px;
  --sidebar-width: 280px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
}

a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-dark); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.5em; }

/* ===========================
   ヘッダー（サイト名エリア）
=========================== */
#site-header {
  background: #fff;
}

.header-inner {
  /*max-width: var(--content-width);*/
  margin: 0 auto;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ロゴ / サイト名 */
#site-logo a {
  display: inline-flex;
  align-items: center;
  color: var(--color-text);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}
#site-logo img { max-height: 60px; width: auto; }

/* ===========================
   グローバルナビ帯（全幅・青）
=========================== */
#global-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(to bottom, #ffffff 0%, #E6E6E6 100%);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#global-nav {
  display: flex;
  width: 100%;
}

#global-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  width: 100%;
}

/* 各メニュー項目：均等幅・区切り線 */
#global-nav > ul > li {
  position: relative;
  flex: 1;
  border-right: 1px solid var(--color-border);
}
#global-nav > ul > li:first-child {
  border-left: 1px solid var(--color-border);
}

#global-nav > ul > li > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 6px 0;
  min-height: 54px;
  color: var(--color-text);
  text-decoration: none;
  background: transparent;
  transition: background 0.2s, color 0.2s;
  position: relative;
}

/* ホバー・アクティブ：薄い青背景＋文字青 */
#global-nav > ul > li > a:hover,
#global-nav > ul > li.current-menu-item > a,
#global-nav > ul > li.current-menu-ancestor > a {
  background: #e8f4ff;
  color: var(--color-primary);
}
#global-nav > ul > li > a:hover .nav-en,
#global-nav > ul > li.current-menu-item > a .nav-en,
#global-nav > ul > li.current-menu-ancestor > a .nav-en {
  color: var(--color-primary);
}

/* 日本語テキスト */
.nav-ja {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.03em;
}
/* 英語テキスト（小・薄白） */
.nav-en {
  font-size: 10px;
  color: #999;
  letter-spacing: 0.1em;
  line-height: 1.2;
  padding: 3px 0 6px;
}

/* ドロップダウン */
#global-nav > ul > li > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  min-width: 180px;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 100;
}
#global-nav > ul > li:hover > ul { display: block; }
#global-nav > ul > li > ul > li > a {
  display: block;
  padding: 11px 16px;
  font-size: 13px;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
#global-nav > ul > li > ul > li > a:hover {
  background: #f0f8ff;
  color: var(--color-primary);
}
#global-nav > ul > li > ul > li:last-child > a { border-bottom: none; }

/* ハンバーガー（SP用） */
#menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}
#menu-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s;
}
#menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#menu-toggle.is-open span:nth-child(2) { opacity: 0; }
#menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* SPメニュー */
#sp-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background: #fff;
  overflow-y: auto;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
#sp-menu.is-open { display: block; }
#sp-menu ul { list-style: none; padding: 0; margin: 0; }
#sp-menu ul li a {
  display: block;
  padding: 16px 24px;
  font-size: 15px;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
}
#sp-menu ul li a:hover { background: #f0f8ff; color: var(--color-primary); }
#sp-menu ul li ul li a { padding-left: 40px; font-size: 14px; background: var(--color-bg-gray); }

/* ===========================
   TOPページ：スライダー
=========================== */
#hero-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 480px;
  background: #ddd;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }

/* 文字を読みやすくするための暗いグラデーション */
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.slide-caption {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7), 0 0 4px rgba(0,0,0,0.6);
  z-index: 1; /* グラデーションより前面に */
}
.slide-caption h2 { font-size: 30px; font-weight: 700; margin-bottom: 8px; }
.slide-caption p { font-size: 20px; }

/* スライダーコントロール */
.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.slider-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}
.slider-dots button.is-active { background: #fff; }

/* ===========================
   TOPページ：コンテンツブロック
=========================== */
#top-content { max-width: var(--content-width); margin: 0 auto; padding: 60px 20px; }

.block-section { margin-bottom: 60px; }
.block-section-title {
  font-size: 25px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--color-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.block-section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 22px;
  background: var(--color-primary);
  border-radius: 2px;
}

/* 3カラムグリッド */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.1); transform: translateY(-2px); }
.card-thumb { aspect-ratio: 16/9; overflow: hidden; background: #eee; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 16px; }
.card-title { font-size: 22px; font-weight: 700; margin-bottom: 5px; line-height: 1.5; }
.card-title a { color: var(--color-text); }
.card-title a:hover { color: var(--color-primary); text-decoration: none; }
.card-excerpt { font-size: 18px; color: var(--color-text-light); line-height: 1.7;  margin-bottom: 5px; }
.card-meta { font-size: 12px; color: #999; margin-top: 10px; }
.card-more {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 10px;
}

/* ピックアップ：カルーセル */
.pickup-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.pickup-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  flex: 1 1 auto;
}
.pickup-track::-webkit-scrollbar { height: 6px; }
.pickup-track::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 3px; }

.pickup-slide {
  flex: 0 0 calc(25% - 18px); /* デスクトップ：4枚表示 */
  scroll-snap-align: start;
}
.pickup-nav {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-primary);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.pickup-nav:hover { background: var(--color-primary); color: #fff; }
.pickup-nav:disabled { opacity: 0.3; cursor: default; pointer-events: none; }

@media screen and (max-width: 992px) {
  .pickup-slide { flex: 0 0 calc(50% - 12px); } /* タブレット：2枚表示 */
}
@media screen and (max-width: 600px) {
  .pickup-slide { flex: 0 0 85%; } /* スマホ：1枚表示（少し次が見える） */
  .pickup-nav { width: 34px; height: 34px; font-size: 14px; }
}

/* TOP誘導カード（リンク化対応） */
a.top-guide-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
a.top-guide-card .card-title {
  color: var(--color-text);
}
a.top-guide-card:hover .card-title {
  color: var(--color-primary);
}

/* ご挨拶セクション */
.greeting-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  /* align-items: center;*/
}
.greeting-text {
  font-size: 18px;
  line-height: 2;
  color: var(--color-text);
}
.greeting-text p { margin: 0 0 1em; }
.greeting-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}
@media screen and (max-width: 768px) {
  .greeting-inner {
    grid-template-columns: 1fr;
  }
}

/* 固定ページ埋め込み */
.embed-page-content {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text);
}
.embed-page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}
.embed-page-content p { margin: 0 0 1em; }

/* 新着記事リスト */
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}
.post-list li:first-child { border-top: 1px solid var(--color-border); }
.post-list .post-date { font-size: 15px; color: #999; white-space: nowrap; min-width: 90px; padding-top: 2px; }
.post-list .post-cat {
  font-size: 13px;
  background: var(--color-primary);
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  white-space: nowrap;
  min-width: 90px;
  text-align: center;
}
.post-list .post-title a { color: var(--color-text); font-size: 16px; }
.post-list .post-title a:hover { color: var(--color-primary); }

/* CTAバナー */
.cta-banner {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 50px 20px;
}
.cta-banner h2 { font-size: 24px; margin-bottom: 12px; }
.cta-banner p { font-size: 15px; margin-bottom: 24px; opacity: 0.9; }
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-white { background: #fff; color: var(--color-primary); }
.btn-white:hover { background: #f0f8ff; color: var(--color-primary-dark); text-decoration: none; }
.btn-primary { background: var(--color-primary); color: #fff; border: 2px solid #fff; }
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; text-decoration: none; }

/* ===========================
   下層ページ：2カラムレイアウト
=========================== */
#page-header {
  background-color: #3d3d3d;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-bottom: none;
  padding: 12px 20px;
  position: relative;
}
/* 背景画像がある場合のオーバーレイ（薄め） */
#page-header.has-bg-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}
.page-header-inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-width);
  margin: 0 auto;
}
.page-header-inner h1 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 5;
}
.breadcrumb { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 4px; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: #fff; }

#page-body {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  gap: 40px;
  align-items: start;
}

/* 本文エリア */
#main-content { min-width: 0; }
.entry-header { margin-bottom: 24px; }
.entry-title { font-size: 26px; font-weight: 700; line-height: 1.4; margin-bottom: 10px; }
.entry-meta { font-size: 13px; color: #999; display: flex; gap: 16px; flex-wrap: wrap; }
.entry-content { line-height: 1.9; }
.entry-content h2 {
  font-size: 20px; font-weight: 700;
  border-left: 4px solid var(--color-primary);
  padding-left: 12px;
  margin: 32px 0 16px;
}
.entry-content h3 {
  font-size: 17px; font-weight: 700;
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 6px;
  margin: 24px 0 12px;
}
.entry-content p { margin-bottom: 30px; }
.entry-content ul, .entry-content ol { margin-bottom: 18px; }
.entry-content img { margin: 16px 0; border-radius: 4px; }
.entry-content blockquote {
  border-left: 4px solid var(--color-primary);
  background: var(--color-bg-gray);
  padding: 16px 20px;
  margin: 20px 0;
  color: var(--color-text-light);
  font-style: italic;
}
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.entry-content th, .entry-content td { padding: 10px 14px; border: 1px solid var(--color-border); font-size: 14px; }
.entry-content th { background: var(--color-bg-gray); font-weight: 700; }

/* ===========================
   サイドバー
=========================== */
#sidebar {}
.widget {
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 24px;
}

.widget-title,
.wp-block-search .wp-block-search__label,
.widget_search .widgettitle {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  padding: 8px 12px;
  background: #666666;
  color: #ffffff;
  border-left: none;
  display: block;
}
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { padding: 8px 0; border-bottom: 1px solid var(--color-border); font-size: 14px; }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--color-text); }
.widget ul li a:hover { color: var(--color-primary); }

/* 検索ウィジェット */
.search-form { display: flex; width: 100%; }
.search-form input[type="search"],
.widget_search input[type="search"] {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-right: none;
  border-radius: 0;
  font-size: 14px;
  outline: none;
  height: 40px;
  box-sizing: border-box;
  width: 100%;
}
.search-form button,
.widget_search input[type="submit"] {
  padding: 0 16px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-size: 14px;
  height: 40px;
  white-space: nowrap;
  box-sizing: border-box;
}
.search-form button:hover,
.widget_search input[type="submit"]:hover { background: #555; }
.widget_search form { display: flex; width: 100%; }

/* WordPressブロック検索ウィジェット対応 */
.wp-block-search__inside-wrapper {
  display: flex;
  width: 100%;
}
.wp-block-search__input {
  flex: 1;
  padding: 10px 12px !important;
  border: 1px solid var(--color-border) !important;
  border-right: none !important;
  border-radius: 0 !important;
  font-size: 14px !important;
  outline: none;
  height: 40px;
  box-sizing: border-box;
  width: 100% !important;
}
.wp-block-search__button {
  padding: 0 16px !important;
  background: #333 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  cursor: pointer;
  font-size: 14px !important;
  height: 40px;
  white-space: nowrap;
  box-sizing: border-box;
}
.wp-block-search__button:hover {
  background: #555 !important;
}

/* ===========================
   サイドバー：ページ内リンクボタン
   使い方：ウィジェット「カスタムHTML」に下記を貼る
   <a href="#section-id" class="anchor-btn">セクション名</a>
=========================== */
.anchor-btn {
  display: block;
  padding: 11px 16px;
  margin-bottom: 8px;
  background: var(--color-primary);
  color: #fff !important;
  font-size: 18px;
  font-weight: 500;
  border-radius: 4px;
  text-decoration: none !important;
  text-align: left;
  transition: background 0.2s, transform 0.15s;
  line-height: 1.4;
}
.anchor-btn::before {
  content: '▶';
  font-size: 10px;
  margin-right: 8px;
  vertical-align: 1px;
}
.anchor-btn:hover {
  background: var(--color-primary-dark) !important;
  color: #fff !important;
  text-decoration: none !important;
  transform: translateY(-1px);
}
/* 矢印付きバリエーション */
.anchor-btn-arrow {
  display: block;
  padding: 11px 16px 11px 12px;
  margin-bottom: 8px;
  background: #fff;
  color: var(--color-primary) !important;
  font-size: 14px;
  font-weight: 500;
  border: 2px solid var(--color-primary);
  border-radius: 4px;
  text-decoration: none !important;
  text-align: left;
  transition: background 0.2s, color 0.2s;
  line-height: 1.4;
  position: relative;
}
.anchor-btn-arrow::before {
  content: '▶';
  font-size: 10px;
  margin-right: 8px;
  vertical-align: 1px;
}
.anchor-btn-arrow:hover {
  background: var(--color-primary) !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* ===========================
   フッター
=========================== */
#site-footer {
  background: #2c2c2c;
  color: #ccc;
  margin-top: 60px;
}
.footer-widgets {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 50px 20px 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-widget-title {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #444;
}
.footer-widget ul { list-style: none; padding: 0; margin: 0; }
.footer-widget ul li { font-size: 16px; }
.footer-widget ul li a { color: #aaa; text-decoration: none; }
.footer-widget ul li a:hover { color: #fff; }
.footer-widget p { font-size: 13px; line-height: 1.8; color: #aaa; }

.footer-bottom {
  background: #1a1a1a;
  text-align: center;
  padding: 16px 20px;
  font-size: 12px;
  color: #888;
}

/* ===========================
   ページネーション
=========================== */
.pagination { display: flex; justify-content: center; gap: 6px; margin: 40px 0; }
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 14px;
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.2s;
}
.pagination a:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.pagination .current { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ===========================
   レスポンシブ
=========================== */
@media (max-width: 768px) {
  /* ナビ帯はSPでは非表示 */
  #global-nav-wrap { display: none; }

  /* ハンバーガー表示 */
  #menu-toggle { display: flex; }

  /* ヘッダー内をSP用に調整 */
  .header-logo-row { padding: 0; }
  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 16px;
  }

  /* ヒーロー */
  #hero-slider { height: 260px; }
  .slide-caption h2 { font-size: 18px; }
  .slide-caption p { font-size: 13px; }

  /* カードグリッド */
  .card-grid { grid-template-columns: 1fr; }

  /* 下層2カラム → 1カラム */
  #page-body {
    grid-template-columns: 1fr;
    padding: 24px 16px;
  }
  #sidebar { display: none; }

  /* フッター */
  .footer-widgets { grid-template-columns: 1fr; gap: 24px; padding: 30px 16px; }

  /* TOP */
  #top-content { padding: 30px 16px; }
  .block-section { margin-bottom: 36px; }
  
}

@media (min-width: 769px) and (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-widgets { grid-template-columns: repeat(2, 1fr); }
}


  /* コンタクトフォーム7 */
  .contact-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
    margin-top: -80px;
  }
  
  .contact-form .form-group {
    margin-bottom: 28px; /* 縦の間隔が間延びしないよう少し調整 */
  }
  
  /* 入力項目のラベル（名前、フリガナなど） */
  .contact-form label {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2; /* 行高を少し詰めて隙間を削減 */
    margin-top: 30pt;
    margin-bottom: -15px; 
    color: #111111;
    letter-spacing: 0.05em;
  }
  
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width: 100%;
    padding: 16px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 16px;
    color: #222222;
    transition: all .2s ease-in-out;
    box-sizing: border-box;
  }
  
  .contact-form input:focus,
  .contact-form select:focus,
  .contact-form textarea:focus {
    border-color: #0066cc;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
  }
  
  .contact-form textarea {
    height: 200px;
    resize: vertical;
  }
  
  .required {
    background: #dd3333;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 2px;
    margin-left: 12px;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
  }
  
  /* 同意チェックボックス */
  .contact-form .agree {
    font-size: 15px;
    color: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0 30px;
  }
  
  .contact-form .agree input {
    width: auto;
    margin-right: 10px;
    transform: scale(1.1);
    cursor: pointer;
  }
  
  /* 送信ボタン */
  .contact-form .wpcf7-submit {
    background: #003366;
    color: #ffffff;
    border: none;
    padding: 20px 80px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 0.1em;
    transition: all .2s ease-in-out;
  }
  
  .contact-form .wpcf7-submit:hover {
    background: #002244;
  }
  
  .form-submit {
    text-align: center;
    margin-top: 20px;
  }
  
  .wpcf7-spinner {
    display: none;
  }
  
  /* エラーメッセージ */
  .wpcf7-not-valid-tip {
    font-size: 14px;
    color: #dd3333;
    margin-top: 6px; /* ここも少し詰めました */
    font-weight: 700;
  }
  
  /* 送信完了・エラーのアウトプットボックス */
  .wpcf7 form .wpcf7-response-output {
    border: 2px solid #003366;
    background: #ffffff;
    padding: 18px;
    border-radius: 4px;
    color: #003366;
    font-size: 15px;
    font-weight: 700;
    margin-top: 30px;
    text-align: center;
  }
 
  
  /* 人情報保護方針に同意する */
  .privacy-box label{
    display:inline-flex !important;
    align-items:center;
    gap:10px;
    font-weight:400 !important;
    margin:0;
    }
    
    .privacy-box .wpcf7-list-item{
    margin:0;
    }
    
    .privacy-box input[type="checkbox"]{
    width:auto !important;
    margin-right:8px;
    }
    
    .privacy-box{
    display:flex;
    align-items:center;
    gap:10px;
    }


    /* 表スマホ対応 */
.company-table{
    width:100%;
    border-collapse:collapse;
}
.company-table th,
.company-table td{
    border:1px solid #ddd;
    padding:20px;
}
.company-table th{
    width:30%;
    background:#f5f5f5;
    text-align:center;
}

@media (max-width:768px){
    .company-table,
    .company-table tbody,
    .company-table tr,
    .company-table th,
    .company-table td{
        display:block;
        width:100%;
        box-sizing:border-box;
    }

    .company-table th{
        text-align:left;
    }
}


/* =====================================
   施工事例
===================================== */

.case-item{
  max-width:1100px;
  padding-bottom:60px;
  border-bottom:1px solid #e5e5e5;
}

.case-item:last-child{
  border-bottom:none;
}

/* タイトル */

.case-title{
  width:100%;
  box-sizing:border-box;
  background:#6EC1E4;
  color:#fff;
  padding:8px 15px;
  font-size:38px;
  font-weight:700;
  line-height:1.2;
  letter-spacing:.05em;
}

.case-title span{
  display:block;
  font-size:14px;
  font-weight:400;
  opacity:.9;
  letter-spacing:.15em;
}

/* 施工内容 */

.case-subtitle{
  text-align:right;
  margin-top:5px;
  margin-bottom:5px;
  color:#666;
  font-size:16px;
  font-weight:600;
  letter-spacing:.08em;
}

/* 写真 */

.case-image{
  float:right;
  width:48%;
  margin:-25px 0 15px 20px;
}

.case-image img{
  width:100%;
  height:auto;
  display:block;
}

/* セクション */

.case-section{
  margin-bottom:25px;
}

/* 見出し */

.case-heading{
  font-size:24px;
  font-weight:700;
  color:#6EC1E4;
}

/* 本文 */

.case-text{
  font-size:18px;
  line-height:2;
  color:#555;
}

/* 金額 */

.case-price{
  font-size:24px;
  font-weight:700;
  color:#666;
}

/* お客様の声 */

.case-voice{
  position:relative;
  background:#f2faff;
  padding:35px 35px 30px;
  margin-top:10px;
}

.case-voice-title{
  font-size:22px;
  font-weight:700;
  color:#6EC1E4;
}

.case-voice-text{
  font-size:15px;
  line-height:2.2;
  color:#555;
  position:relative;
  z-index:2;
}

.case-voice:before{
  content:"“";
  position:absolute;
  top:-15px;
  left:15px;
  font-size:120px;
  line-height:1;
  color:rgba(110,193,228,.18);
  font-family:serif;
  z-index:1;
}

.case-voice:after{
  content:"”";
  position:absolute;
  right:20px;
  bottom:-50px;
  font-size:120px;
  line-height:1;
  color:rgba(110,193,228,.18);
  font-family:serif;
  z-index:1;
}

/* 回り込み解除 */

.case-clear{
  clear:both;
}

/* スマホ */

@media(max-width:768px){

  .case-title{
      font-size:24px;
      padding:18px 20px;
  }

  .case-title span{
      font-size:12px;
  }

  .case-subtitle{
      text-align:left;
      margin-bottom:20px;
  }

  .case-image{
      float:none;
      width:100%;
      margin:0 0 25px;
  }

  .case-heading{
      font-size:20px;
  }

  .case-text{
      font-size:14px;
      line-height:2;
  }

  .case-price{
      font-size:20px;
  }

}


/* エレメンターの変なスペース削除 */
.elementor-column-gap-default > .elementor-column > .elementor-element-populated{
  padding:0 !important;
}


/* ページトップボタン */
#page-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #666;
  color: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, background 0.2s;
  z-index: 9999;
  font-size: 20px;
  line-height: 1;
}
#page-top.is-show {
  opacity: 1;
  visibility: visible;
}
#page-top:hover {
  background: #444;
  text-decoration: none;
  color: #fff;
}

/* ヘッダーバナー（PC専用） */
#header-banner {
  display: block;
  margin-left: auto;
}
#header-banner img {
  max-height: 90px;
  width: auto;
  display: block;
}
@media (max-width: 768px) {
  #header-banner { display: none; }
}

/* フッター ウィジット用*/
.dw-footer {
  background: #2b2b2b; /* ベース背景色（仮。サイトに合わせて変更してください） */
  color: #ffffff;
  padding: 50px 20px 30px;
  font-size: 14px;
  line-height: 1.8;
}
.dw-footer a {
  color: #ffffff;
  text-decoration: none;
}
.dw-footer a:hover {
  text-decoration: underline;
  opacity: 0.8;
}
.dw-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}
/* 1列目：ロゴ・住所・お問い合わせボタン */
.dw-footer-col1 {
  flex: 1 1 260px;
}
.dw-footer-logo {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 8px;
}
.dw-footer-logo-sub {
  font-size: 12px;
  font-weight: normal;
}
.dw-footer-address {
  margin-bottom: 10px;
  white-space: pre-line;
}
.dw-footer-contact-btn {
  display: inline-block;
  border: 1px solid #ffffff;
  padding: 5px 28px;
  border-radius: 4px;
  font-weight: bold;
  transition: 0.2s;
}
.dw-footer-contact-btn:hover {
  background: #ffffff;
  color: #2b2b2b;
  text-decoration: none;
  opacity: 1;
}
/* 2列目・3列目：サイトマップ */
.dw-footer-col {
  flex: 1 1 180px;
}
.dw-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dw-footer-col li {
  margin-bottom: 1px;
}
/* 先頭の白い三角マーク */
.dw-footer-col li a::before {
  content: "▶";
  display: inline-block;
  color: #ffffff;
  font-size: 9px;
  margin-right: 8px;
  vertical-align: middle;
}
.dw-footer-copyright {
  max-width: 1100px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 12px;
  opacity: 0.7;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 16px;
}
 
@media screen and (max-width: 600px) {
  .dw-footer-inner {
    flex-direction: column;
    gap: 24px;
  }
}

/* ==============================================================
   Dr.WASH 料金表 CSS（drwash_price_list.html とセットで使用）
   施工事例ページ（drwashkuma.com/case/）のトンマナに合わせた配色・
   フォントです。.drwash-pricelist 配下にのみ適用されるようスコープ
   してあるので、既存ページの他の要素には影響しません。
   ※バッジ／チェックマーク／枠線・下線・影（罫線類）は使用していません。
     見出しの区別は文字サイズ・太さと余白、行の区別は背景の縞（ゼブラ）
     のみで表現しています。

   貼り付け先（どちらか一方でOK）：
   ① 外観 → カスタマイズ → 追加CSS にこの内容をそのまま貼り付け
   ② テーマの style.css（子テーマ推奨）に追記
   ============================================================== */
   .drwash-pricelist {
    --dw-navy: #1e2327;
    --dw-navy-soft: #2a3136;
    --dw-text: #202225;
    --dw-text-sub: #6b6f73;
    --dw-bg-zebra: #f6f7f8;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
    color: var(--dw-text);
    background: #fff;
    max-width: 900px;
    margin: 0 auto;
    padding: 8px 4px 40px;
    box-sizing: border-box;
  }
  .drwash-pricelist * { box-sizing: border-box; }
  
  .dwp-page-lead {
    font-size: 14px;
    color: var(--dw-text-sub);
    line-height: 1.9;
    margin: 0 0 30px;
  }
  
  .dwp-section { margin-bottom: 46px; }
  .dwp-section:last-child { margin-bottom: 0; }
  
  .dwp-heading {
    font-size: 22px;
    font-weight: 700;
    color: var(--dw-text);
    margin: 0 0 6px;
  }
  .dwp-note-inline {
    font-size: 18px;
    color: #333333;
    line-height: 1.9;
    margin: 0 0 16px;
  }
  .dwp-subhead {
    font-size: 14px;
    font-weight: 700;
    color: var(--dw-text);
    margin: 26px 0 10px;
  }
  .dwp-subhead:first-of-type { margin-top: 6px; }
  
  /* --- table --- */
  .dwp-table-wrap {
    overflow-x: auto;
    border-radius: 10px;
  }
  table.dwp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    min-width: 560px;
    border: none;
  }
  table.dwp-table th, table.dwp-table td {
    padding: 13px 14px;
    text-align: center;
    white-space: nowrap;
    border: none; /* テーマ(.entry-content th/td)の罫線を明示的に打ち消す */
  }
  table.dwp-table thead th {
    background: var(--dw-navy);
    color: #fff;
    font-weight: 600;
    font-size: 12.5px;
    letter-spacing: 0.02em;
  }
  table.dwp-table thead th:first-child { text-align: left; background: var(--dw-navy-soft); }
  table.dwp-table tbody th {
    text-align: left;
    font-weight: 600;
    color: var(--dw-text);
    white-space: normal;
    min-width: 210px;
  }
  table.dwp-table tbody td {
    color: var(--dw-text);
    font-weight: 700;
  }
  table.dwp-table tbody tr:nth-child(even) th,
  table.dwp-table tbody tr:nth-child(even) td { background: var(--dw-bg-zebra); }
  table.dwp-table tbody td::after {
    content: "円";
    font-size: 11px;
    font-weight: 500;
    color: var(--dw-text-sub);
    margin-left: 2px;
  }
  table.dwp-table tbody td.dwp-no-yen::after { content: ""; }
  
  .dwp-note {
    font-size: 12px;
    color: var(--dw-text-sub);
    margin-top: 10px;
    line-height: 1.8;
  }
  
  /* --- option cards (like p.9 interior options) --- */
  .dwp-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
  }
  .dwp-card {
    background: var(--dw-bg-zebra);
    border-radius: 10px;
    padding: 16px 18px;
  }
  .dwp-card h4 {
    font-size: 13.5px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--dw-text);
  }
  .dwp-card p {
    font-size: 13px;
    line-height: 1.8;
    color: var(--dw-text-sub);
    margin: 0;
  }
  
  /* ==============================================================
     レスポンシブデザイン
     ・~1024px（小さめのノートPC／横向きタブレット）
     ・~768px（タブレット縦）
     ・~480px（スマートフォン）
     スマホでは表が画面幅に収まりきらないため、表だけ横スクロール
     させつつ、1列目（メニュー名）を画面端に固定（sticky）して
     スクロールしても項目名が常に見えるようにしています。
     ============================================================== */
  
  /* --- ~1024px：余白を少し詰める --- */
  @media (max-width: 1024px) {
    .drwash-pricelist { padding: 8px 16px 40px; }
  }
  
  /* --- ~768px：タブレット縦向き --- */
  @media (max-width: 768px) {
    .dwp-page-lead { font-size: 13.5px; margin-bottom: 26px; }
    .dwp-section { margin-bottom: 38px; }
    .dwp-heading { font-size: 20px; }
    table.dwp-table { font-size: 13px; min-width: 480px; }
    table.dwp-table th, table.dwp-table td { padding: 11px 12px; }
    table.dwp-table tbody th { min-width: 170px; }
  }
  
  /* --- ~480px：スマートフォン --- */
  @media (max-width: 480px) {
    .drwash-pricelist { padding: 4px 12px 32px; }
    .dwp-page-lead { font-size: 13px; line-height: 1.8; margin-bottom: 22px; }
    .dwp-heading { font-size: 18.5px; }
    .dwp-note-inline { font-size: 14px; }
    .dwp-note { font-size: 12px; }
    .dwp-subhead { font-size: 13px; margin: 20px 0 8px; }
  
    /* 表：横スクロール＋1列目を画面端に固定 */
    .dwp-table-wrap { border-radius: 8px; }
    table.dwp-table { font-size: 12.5px; min-width: 440px; }
    table.dwp-table th, table.dwp-table td { padding: 10px; }
    table.dwp-table tbody th { min-width: 148px; }
    table.dwp-table thead th:first-child,
    table.dwp-table tbody th {
      position: sticky;
      left: 0;
      z-index: 1;
    }
    table.dwp-table tbody tr:nth-child(odd) th { background: #fff; }
    table.dwp-table tbody tr:nth-child(even) th { background: var(--dw-bg-zebra); }
  
    .dwp-cards { gap: 12px; }
    .dwp-card { padding: 14px 16px; }
    .dwp-card h4 { font-size: 13px; }
    .dwp-card p { font-size: 12.5px; }
  }

  /*
Theme Name: imp Japan
Theme URI: https://knowledge-care.com/
Description: ライトニング風カスタムテーマ（白ベース・青アクセント）
Author: Custom
Version: 1.0
*/

/* ===========================
   CSS変数・リセット
=========================== */
:root {
  --color-primary: #2EA3F2;
  --color-primary-dark: #1a8cd8;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-bg: #ffffff;
  --color-bg-gray: #f5f5f5;
  --color-border: #e0e0e0;
  --header-height: 70px;
  --content-width: 1100px;
  --sidebar-width: 280px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
}

a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-dark); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.5em; }

/* ===========================
   ヘッダー（サイト名エリア）
=========================== */
#site-header {
  background: #fff;
}

.header-inner {
  /*max-width: var(--content-width);*/
  margin: 0 auto;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ロゴ / サイト名 */
#site-logo a {
  display: inline-flex;
  align-items: center;
  color: var(--color-text);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}
#site-logo img { max-height: 60px; width: auto; }

/* ===========================
   グローバルナビ帯（全幅・青）
=========================== */
#global-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(to bottom, #ffffff 0%, #E6E6E6 100%);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#global-nav {
  display: flex;
  width: 100%;
}

#global-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  width: 100%;
}

/* 各メニュー項目：均等幅・区切り線 */
#global-nav > ul > li {
  position: relative;
  flex: 1;
  border-right: 1px solid var(--color-border);
}
#global-nav > ul > li:first-child {
  border-left: 1px solid var(--color-border);
}

#global-nav > ul > li > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 6px 0;
  min-height: 54px;
  color: var(--color-text);
  text-decoration: none;
  background: transparent;
  transition: background 0.2s, color 0.2s;
  position: relative;
}

/* ホバー・アクティブ：薄い青背景＋文字青 */
#global-nav > ul > li > a:hover,
#global-nav > ul > li.current-menu-item > a,
#global-nav > ul > li.current-menu-ancestor > a {
  background: #e8f4ff;
  color: var(--color-primary);
}
#global-nav > ul > li > a:hover .nav-en,
#global-nav > ul > li.current-menu-item > a .nav-en,
#global-nav > ul > li.current-menu-ancestor > a .nav-en {
  color: var(--color-primary);
}

/* 日本語テキスト */
.nav-ja {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.03em;
}
/* 英語テキスト（小・薄白） */
.nav-en {
  font-size: 10px;
  color: #999;
  letter-spacing: 0.1em;
  line-height: 1.2;
  padding: 3px 0 6px;
}

/* ドロップダウン */
#global-nav > ul > li > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  min-width: 180px;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 100;
}
#global-nav > ul > li:hover > ul { display: block; }
#global-nav > ul > li > ul > li > a {
  display: block;
  padding: 11px 16px;
  font-size: 13px;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
#global-nav > ul > li > ul > li > a:hover {
  background: #f0f8ff;
  color: var(--color-primary);
}
#global-nav > ul > li > ul > li:last-child > a { border-bottom: none; }

/* ハンバーガー（SP用） */
#menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}
#menu-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s;
}
#menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#menu-toggle.is-open span:nth-child(2) { opacity: 0; }
#menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* SPメニュー */
#sp-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background: #fff;
  overflow-y: auto;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
#sp-menu.is-open { display: block; }
#sp-menu ul { list-style: none; padding: 0; margin: 0; }
#sp-menu ul li a {
  display: block;
  padding: 16px 24px;
  font-size: 15px;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
}
#sp-menu ul li a:hover { background: #f0f8ff; color: var(--color-primary); }
#sp-menu ul li ul li a { padding-left: 40px; font-size: 14px; background: var(--color-bg-gray); }

/* ===========================
   TOPページ：スライダー
=========================== */
#hero-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 480px;
  background: #ddd;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }

/* 文字を読みやすくするための暗いグラデーション */
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.slide-caption {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7), 0 0 4px rgba(0,0,0,0.6);
  z-index: 1; /* グラデーションより前面に */
}
.slide-caption h2 { font-size: 30px; font-weight: 700; margin-bottom: 8px; }
.slide-caption p { font-size: 20px; }

/* スライダーコントロール */
.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.slider-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}
.slider-dots button.is-active { background: #fff; }

/* ===========================
   TOPページ：コンテンツブロック
=========================== */
#top-content { max-width: var(--content-width); margin: 0 auto; padding: 60px 20px; }

.block-section { margin-bottom: 60px; }
.block-section-title {
  font-size: 25px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--color-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.block-section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 22px;
  background: var(--color-primary);
  border-radius: 2px;
}

/* 3カラムグリッド */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.1); transform: translateY(-2px); }
.card-thumb { aspect-ratio: 16/9; overflow: hidden; background: #eee; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 16px; }
.card-title { font-size: 22px; font-weight: 700; margin-bottom: 5px; line-height: 1.5; }
.card-title a { color: var(--color-text); }
.card-title a:hover { color: var(--color-primary); text-decoration: none; }
.card-excerpt { font-size: 18px; color: var(--color-text-light); line-height: 1.7;  margin-bottom: 5px; }
.card-meta { font-size: 12px; color: #999; margin-top: 10px; }
.card-more {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 10px;
}

/* ピックアップ：カルーセル */
.pickup-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.pickup-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  flex: 1 1 auto;
}
.pickup-track::-webkit-scrollbar { height: 6px; }
.pickup-track::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 3px; }

.pickup-slide {
  flex: 0 0 calc(25% - 18px); /* デスクトップ：4枚表示 */
  scroll-snap-align: start;
}
.pickup-nav {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-primary);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.pickup-nav:hover { background: var(--color-primary); color: #fff; }
.pickup-nav:disabled { opacity: 0.3; cursor: default; pointer-events: none; }

@media screen and (max-width: 992px) {
  .pickup-slide { flex: 0 0 calc(50% - 12px); } /* タブレット：2枚表示 */
}
@media screen and (max-width: 600px) {
  .pickup-slide { flex: 0 0 85%; } /* スマホ：1枚表示（少し次が見える） */
  .pickup-nav { width: 34px; height: 34px; font-size: 14px; }
}

/* TOP誘導カード（リンク化対応） */
a.top-guide-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
a.top-guide-card .card-title {
  color: var(--color-text);
}
a.top-guide-card:hover .card-title {
  color: var(--color-primary);
}

/* ご挨拶セクション */
.greeting-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  /* align-items: center;*/
}
.greeting-text {
  font-size: 18px;
  line-height: 2;
  color: var(--color-text);
}
.greeting-text p { margin: 0 0 1em; }
.greeting-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}
@media screen and (max-width: 768px) {
  .greeting-inner {
    grid-template-columns: 1fr;
  }
}

/* 固定ページ埋め込み */
.embed-page-content {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text);
}
.embed-page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}
.embed-page-content p { margin: 0 0 1em; }

/* 新着記事リスト */
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}
.post-list li:first-child { border-top: 1px solid var(--color-border); }
.post-list .post-date { font-size: 15px; color: #999; white-space: nowrap; min-width: 90px; padding-top: 2px; }
.post-list .post-cat {
  font-size: 13px;
  background: var(--color-primary);
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  white-space: nowrap;
  min-width: 90px;
  text-align: center;
}
.post-list .post-title a { color: var(--color-text); font-size: 16px; }
.post-list .post-title a:hover { color: var(--color-primary); }

/* CTAバナー */
.cta-banner {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 50px 20px;
}
.cta-banner h2 { font-size: 24px; margin-bottom: 12px; }
.cta-banner p { font-size: 15px; margin-bottom: 24px; opacity: 0.9; }
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-white { background: #fff; color: var(--color-primary); }
.btn-white:hover { background: #f0f8ff; color: var(--color-primary-dark); text-decoration: none; }
.btn-primary { background: var(--color-primary); color: #fff; border: 2px solid #fff; }
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; text-decoration: none; }

/* ===========================
   下層ページ：2カラムレイアウト
=========================== */
#page-header {
  background-color: #3d3d3d;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-bottom: none;
  padding: 12px 20px;
  position: relative;
}
/* 背景画像がある場合のオーバーレイ（薄め） */
#page-header.has-bg-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}
.page-header-inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-width);
  margin: 0 auto;
}
.page-header-inner h1 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 5;
}
.breadcrumb { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 4px; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: #fff; }

#page-body {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  gap: 40px;
  align-items: start;
}

/* 本文エリア */
#main-content { min-width: 0; }
.entry-header { margin-bottom: 24px; }
.entry-title { font-size: 26px; font-weight: 700; line-height: 1.4; margin-bottom: 10px; }
.entry-meta { font-size: 13px; color: #999; display: flex; gap: 16px; flex-wrap: wrap; }
.entry-content { line-height: 1.9; }
.entry-content h2 {
  font-size: 20px; font-weight: 700;
  border-left: 4px solid var(--color-primary);
  padding-left: 12px;
  margin: 32px 0 16px;
}
.entry-content h3 {
  font-size: 17px; font-weight: 700;
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 6px;
  margin: 24px 0 12px;
}
.entry-content p { margin-bottom: 30px; }
.entry-content ul, .entry-content ol { margin-bottom: 16px; }
.entry-content img { margin: 16px 0; border-radius: 4px; }
.entry-content blockquote {
  border-left: 4px solid var(--color-primary);
  background: var(--color-bg-gray);
  padding: 16px 20px;
  margin: 20px 0;
  color: var(--color-text-light);
  font-style: italic;
}
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.entry-content th, .entry-content td { padding: 10px 14px; border: 1px solid var(--color-border); font-size: 14px; }
.entry-content th { background: var(--color-bg-gray); font-weight: 700; }

/* ===========================
   サイドバー
=========================== */
#sidebar {}
.widget {
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 24px;
}

.widget-title,
.wp-block-search .wp-block-search__label,
.widget_search .widgettitle {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  padding: 8px 12px;
  background: #666666;
  color: #ffffff;
  border-left: none;
  display: block;
}
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { padding: 8px 0; border-bottom: 1px solid var(--color-border); font-size: 14px; }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--color-text); }
.widget ul li a:hover { color: var(--color-primary); }

/* 検索ウィジェット */
.search-form { display: flex; width: 100%; }
.search-form input[type="search"],
.widget_search input[type="search"] {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-right: none;
  border-radius: 0;
  font-size: 14px;
  outline: none;
  height: 40px;
  box-sizing: border-box;
  width: 100%;
}
.search-form button,
.widget_search input[type="submit"] {
  padding: 0 16px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-size: 14px;
  height: 40px;
  white-space: nowrap;
  box-sizing: border-box;
}
.search-form button:hover,
.widget_search input[type="submit"]:hover { background: #555; }
.widget_search form { display: flex; width: 100%; }

/* WordPressブロック検索ウィジェット対応 */
.wp-block-search__inside-wrapper {
  display: flex;
  width: 100%;
}
.wp-block-search__input {
  flex: 1;
  padding: 10px 12px !important;
  border: 1px solid var(--color-border) !important;
  border-right: none !important;
  border-radius: 0 !important;
  font-size: 14px !important;
  outline: none;
  height: 40px;
  box-sizing: border-box;
  width: 100% !important;
}
.wp-block-search__button {
  padding: 0 16px !important;
  background: #333 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  cursor: pointer;
  font-size: 14px !important;
  height: 40px;
  white-space: nowrap;
  box-sizing: border-box;
}
.wp-block-search__button:hover {
  background: #555 !important;
}

/* ===========================
   サイドバー：ページ内リンクボタン
   使い方：ウィジェット「カスタムHTML」に下記を貼る
   <a href="#section-id" class="anchor-btn">セクション名</a>
=========================== */
.anchor-btn {
  display: block;
  padding: 11px 16px;
  margin-bottom: 8px;
  background: var(--color-primary);
  color: #fff !important;
  font-size: 18px;
  font-weight: 500;
  border-radius: 4px;
  text-decoration: none !important;
  text-align: left;
  transition: background 0.2s, transform 0.15s;
  line-height: 1.4;
}
.anchor-btn::before {
  content: '▶';
  font-size: 10px;
  margin-right: 8px;
  vertical-align: 1px;
}
.anchor-btn:hover {
  background: var(--color-primary-dark) !important;
  color: #fff !important;
  text-decoration: none !important;
  transform: translateY(-1px);
}
/* 矢印付きバリエーション */
.anchor-btn-arrow {
  display: block;
  padding: 11px 16px 11px 12px;
  margin-bottom: 8px;
  background: #fff;
  color: var(--color-primary) !important;
  font-size: 14px;
  font-weight: 500;
  border: 2px solid var(--color-primary);
  border-radius: 4px;
  text-decoration: none !important;
  text-align: left;
  transition: background 0.2s, color 0.2s;
  line-height: 1.4;
  position: relative;
}
.anchor-btn-arrow::before {
  content: '▶';
  font-size: 10px;
  margin-right: 8px;
  vertical-align: 1px;
}
.anchor-btn-arrow:hover {
  background: var(--color-primary) !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* ===========================
   フッター
=========================== */
#site-footer {
  background: #2c2c2c;
  color: #ccc;
  margin-top: 60px;
}
.footer-widgets {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 50px 20px 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-widget-title {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #444;
}
.footer-widget ul { list-style: none; padding: 0; margin: 0; }
.footer-widget ul li { font-size: 16px; }
.footer-widget ul li a { color: #aaa; text-decoration: none; }
.footer-widget ul li a:hover { color: #fff; }
.footer-widget p { font-size: 13px; line-height: 1.8; color: #aaa; }

.footer-bottom {
  background: #1a1a1a;
  text-align: center;
  padding: 16px 20px;
  font-size: 12px;
  color: #888;
}

/* ===========================
   ページネーション
=========================== */
.pagination { display: flex; justify-content: center; gap: 6px; margin: 40px 0; }
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 14px;
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.2s;
}
.pagination a:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.pagination .current { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ===========================
   レスポンシブ
=========================== */
@media (max-width: 768px) {
  /* ナビ帯はSPでは非表示 */
  #global-nav-wrap { display: none; }

  /* ハンバーガー表示 */
  #menu-toggle { display: flex; }

  /* ヘッダー内をSP用に調整 */
  .header-logo-row { padding: 0; }
  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 16px;
  }

  /* ヒーロー */
  #hero-slider { height: 260px; }
  .slide-caption h2 { font-size: 18px; }
  .slide-caption p { font-size: 13px; }

  /* カードグリッド */
  .card-grid { grid-template-columns: 1fr; }

  /* 下層2カラム → 1カラム */
  #page-body {
    grid-template-columns: 1fr;
    padding: 24px 16px;
  }
  #sidebar { display: none; }

  /* フッター */
  .footer-widgets { grid-template-columns: 1fr; gap: 24px; padding: 30px 16px; }

  /* TOP */
  #top-content { padding: 30px 16px; }
  .block-section { margin-bottom: 36px; }
  
}

@media (min-width: 769px) and (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-widgets { grid-template-columns: repeat(2, 1fr); }
}


  /* コンタクトフォーム7 */
  .contact-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
    margin-top: -80px;
  }
  
  .contact-form .form-group {
    margin-bottom: 28px; /* 縦の間隔が間延びしないよう少し調整 */
  }
  
  /* 入力項目のラベル（名前、フリガナなど） */
  .contact-form label {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2; /* 行高を少し詰めて隙間を削減 */
    margin-top: 30pt;
    margin-bottom: -15px; 
    color: #111111;
    letter-spacing: 0.05em;
  }
  
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width: 100%;
    padding: 16px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 16px;
    color: #222222;
    transition: all .2s ease-in-out;
    box-sizing: border-box;
  }
  
  .contact-form input:focus,
  .contact-form select:focus,
  .contact-form textarea:focus {
    border-color: #0066cc;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
  }
  
  .contact-form textarea {
    height: 200px;
    resize: vertical;
  }
  
  .required {
    background: #dd3333;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 2px;
    margin-left: 12px;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
  }
  
  /* 同意チェックボックス */
  .contact-form .agree {
    font-size: 15px;
    color: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0 30px;
  }
  
  .contact-form .agree input {
    width: auto;
    margin-right: 10px;
    transform: scale(1.1);
    cursor: pointer;
  }
  
  /* 送信ボタン */
  .contact-form .wpcf7-submit {
    background: #003366;
    color: #ffffff;
    border: none;
    padding: 20px 80px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 0.1em;
    transition: all .2s ease-in-out;
  }
  
  .contact-form .wpcf7-submit:hover {
    background: #002244;
  }
  
  .form-submit {
    text-align: center;
    margin-top: 20px;
  }
  
  .wpcf7-spinner {
    display: none;
  }
  
  /* エラーメッセージ */
  .wpcf7-not-valid-tip {
    font-size: 14px;
    color: #dd3333;
    margin-top: 6px; /* ここも少し詰めました */
    font-weight: 700;
  }
  
  /* 送信完了・エラーのアウトプットボックス */
  .wpcf7 form .wpcf7-response-output {
    border: 2px solid #003366;
    background: #ffffff;
    padding: 18px;
    border-radius: 4px;
    color: #003366;
    font-size: 15px;
    font-weight: 700;
    margin-top: 30px;
    text-align: center;
  }
 
  
  /* 人情報保護方針に同意する */
  .privacy-box label{
    display:inline-flex !important;
    align-items:center;
    gap:10px;
    font-weight:400 !important;
    margin:0;
    }
    
    .privacy-box .wpcf7-list-item{
    margin:0;
    }
    
    .privacy-box input[type="checkbox"]{
    width:auto !important;
    margin-right:8px;
    }
    
    .privacy-box{
    display:flex;
    align-items:center;
    gap:10px;
    }


    /* 表スマホ対応 */
.company-table{
    width:100%;
    border-collapse:collapse;
}
.company-table th,
.company-table td{
    border:1px solid #ddd;
    padding:20px;
}
.company-table th{
    width:30%;
    background:#f5f5f5;
    text-align:center;
}

@media (max-width:768px){
    .company-table,
    .company-table tbody,
    .company-table tr,
    .company-table th,
    .company-table td{
        display:block;
        width:100%;
        box-sizing:border-box;
    }

    .company-table th{
        text-align:left;
    }
}


/* =====================================
   施工事例
===================================== */

.case-item{
  max-width:1100px;
  padding-bottom:60px;
  border-bottom:1px solid #e5e5e5;
}

.case-item:last-child{
  border-bottom:none;
}

/* タイトル */

.case-title{
  width:100%;
  box-sizing:border-box;
  background:#6EC1E4;
  color:#fff;
  padding:8px 15px;
  font-size:38px;
  font-weight:700;
  line-height:1.2;
  letter-spacing:.05em;
}

.case-title span{
  display:block;
  font-size:14px;
  font-weight:400;
  opacity:.9;
  letter-spacing:.15em;
}

/* 施工内容 */

.case-subtitle{
  text-align:right;
  margin-top:5px;
  margin-bottom:5px;
  color:#666;
  font-size:16px;
  font-weight:600;
  letter-spacing:.08em;
}

/* 写真 */

.case-image{
  float:right;
  width:48%;
  margin:-25px 0 15px 20px;
}

.case-image img{
  width:100%;
  height:auto;
  display:block;
}

/* セクション */

.case-section{
  margin-bottom:25px;
}

/* 見出し */

.case-heading{
  font-size:24px;
  font-weight:700;
  color:#6EC1E4;
}

/* 本文 */

.case-text{
  font-size:18px;
  line-height:2;
  color:#555;
}

/* 金額 */

.case-price{
  font-size:24px;
  font-weight:700;
  color:#666;
}

/* お客様の声 */

.case-voice{
  position:relative;
  background:#f2faff;
  padding:35px 35px 30px;
  margin-top:10px;
}

.case-voice-title{
  font-size:22px;
  font-weight:700;
  color:#6EC1E4;
}

.case-voice-text{
  font-size:15px;
  line-height:2.2;
  color:#555;
  position:relative;
  z-index:2;
}

.case-voice:before{
  content:"“";
  position:absolute;
  top:-15px;
  left:15px;
  font-size:120px;
  line-height:1;
  color:rgba(110,193,228,.18);
  font-family:serif;
  z-index:1;
}

.case-voice:after{
  content:"”";
  position:absolute;
  right:20px;
  bottom:-50px;
  font-size:120px;
  line-height:1;
  color:rgba(110,193,228,.18);
  font-family:serif;
  z-index:1;
}

/* 回り込み解除 */

.case-clear{
  clear:both;
}

/* スマホ */

@media(max-width:768px){

  .case-title{
      font-size:24px;
      padding:18px 20px;
  }

  .case-title span{
      font-size:12px;
  }

  .case-subtitle{
      text-align:left;
      margin-bottom:20px;
  }

  .case-image{
      float:none;
      width:100%;
      margin:0 0 25px;
  }

  .case-heading{
      font-size:20px;
  }

  .case-text{
      font-size:14px;
      line-height:2;
  }

  .case-price{
      font-size:20px;
  }

}


/* エレメンターの変なスペース削除 */
.elementor-column-gap-default > .elementor-column > .elementor-element-populated{
  padding:0 !important;
}


/* ページトップボタン */
#page-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #666;
  color: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, background 0.2s;
  z-index: 9999;
  font-size: 20px;
  line-height: 1;
}
#page-top.is-show {
  opacity: 1;
  visibility: visible;
}
#page-top:hover {
  background: #444;
  text-decoration: none;
  color: #fff;
}

/* ヘッダーバナー（PC専用） */
#header-banner {
  display: block;
  margin-left: auto;
}
#header-banner img {
  max-height: 90px;
  width: auto;
  display: block;
}
@media (max-width: 768px) {
  #header-banner { display: none; }
}

/* フッター ウィジット用*/
.dw-footer {
  background: #2b2b2b; /* ベース背景色（仮。サイトに合わせて変更してください） */
  color: #ffffff;
  padding: 50px 20px 30px;
  font-size: 14px;
  line-height: 1.8;
}
.dw-footer a {
  color: #ffffff;
  text-decoration: none;
}
.dw-footer a:hover {
  text-decoration: underline;
  opacity: 0.8;
}
.dw-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}
/* 1列目：ロゴ・住所・お問い合わせボタン */
.dw-footer-col1 {
  flex: 1 1 260px;
}
.dw-footer-logo {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 8px;
}
.dw-footer-logo-sub {
  font-size: 12px;
  font-weight: normal;
}
.dw-footer-address {
  margin-bottom: 10px;
  white-space: pre-line;
}
.dw-footer-contact-btn {
  display: inline-block;
  border: 1px solid #ffffff;
  padding: 5px 28px;
  border-radius: 4px;
  font-weight: bold;
  transition: 0.2s;
}
.dw-footer-contact-btn:hover {
  background: #ffffff;
  color: #2b2b2b;
  text-decoration: none;
  opacity: 1;
}
/* 2列目・3列目：サイトマップ */
.dw-footer-col {
  flex: 1 1 180px;
}
.dw-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dw-footer-col li {
  margin-bottom: 1px;
}
/* 先頭の白い三角マーク */
.dw-footer-col li a::before {
  content: "▶";
  display: inline-block;
  color: #ffffff;
  font-size: 9px;
  margin-right: 8px;
  vertical-align: middle;
}
.dw-footer-copyright {
  max-width: 1100px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 12px;
  opacity: 0.7;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 16px;
}
 
@media screen and (max-width: 600px) {
  .dw-footer-inner {
    flex-direction: column;
    gap: 24px;
  }
}

/* ==============================================================
   Dr.WASH 料金表 CSS（drwash_price_list.html とセットで使用）
   施工事例ページ（drwashkuma.com/case/）のトンマナに合わせた配色・
   フォントです。.drwash-pricelist 配下にのみ適用されるようスコープ
   してあるので、既存ページの他の要素には影響しません。
   ※バッジ／チェックマーク／枠線・下線・影（罫線類）は使用していません。
     見出しの区別は文字サイズ・太さと余白、行の区別は背景の縞（ゼブラ）
     のみで表現しています。

   貼り付け先（どちらか一方でOK）：
   ① 外観 → カスタマイズ → 追加CSS にこの内容をそのまま貼り付け
   ② テーマの style.css（子テーマ推奨）に追記
   ============================================================== */
   .drwash-pricelist {
    --dw-navy: #1e2327;
    --dw-navy-soft: #2a3136;
    --dw-text: #202225;
    --dw-text-sub: #6b6f73;
    --dw-bg-zebra: #f6f7f8;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
    color: var(--dw-text);
    background: #fff;
    max-width: 900px;
    margin: 0 auto;
    padding: 8px 4px 40px;
    box-sizing: border-box;
  }
  .drwash-pricelist * { box-sizing: border-box; }
  
  .dwp-page-lead {
    font-size: 14px;
    color: var(--dw-text-sub);
    line-height: 1.9;
    margin: 0 0 30px;
  }
  
  .dwp-section { margin-bottom: 46px; }
  .dwp-section:last-child { margin-bottom: 0; }
  
  .dwp-heading {
    font-size: 22px;
    font-weight: 700;
    color: var(--dw-text);
    margin: 0 0 6px;
  }
  .dwp-note-inline {
    font-size: 16px;
    color: #333333;
    line-height: 1.9;
    margin: 0 0 16px;
  }
  .dwp-subhead {
    font-size: 14px;
    font-weight: 700;
    color: var(--dw-text);
    margin: 26px 0 10px;
  }
  .dwp-subhead:first-of-type { margin-top: 6px; }
  
  /* --- table --- */
  .dwp-table-wrap {
    overflow-x: auto;
    border-radius: 10px;
  }
  table.dwp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    min-width: 560px;
    border: none;
  }
  table.dwp-table th, table.dwp-table td {
    padding: 13px 14px;
    text-align: center;
    white-space: nowrap;
    border: none; /* テーマ(.entry-content th/td)の罫線を明示的に打ち消す */
  }
  table.dwp-table thead th {
    background: var(--dw-navy);
    color: #fff;
    font-weight: 600;
    font-size: 12.5px;
    letter-spacing: 0.02em;
  }
  table.dwp-table thead th:first-child { text-align: left; background: var(--dw-navy-soft); }
  table.dwp-table tbody th {
    text-align: left;
    font-weight: 600;
    color: var(--dw-text);
    white-space: normal;
    min-width: 210px;
  }
  table.dwp-table tbody td {
    color: var(--dw-text);
    font-weight: 700;
  }
  table.dwp-table tbody tr:nth-child(even) th,
  table.dwp-table tbody tr:nth-child(even) td { background: var(--dw-bg-zebra); }
  table.dwp-table tbody td::after {
    content: "円";
    font-size: 11px;
    font-weight: 500;
    color: var(--dw-text-sub);
    margin-left: 2px;
  }
  table.dwp-table tbody td.dwp-no-yen::after { content: ""; }
  
  .dwp-note {
    font-size: 12px;
    color: var(--dw-text-sub);
    margin-top: 10px;
    line-height: 1.8;
  }
  
  /* --- option cards (like p.9 interior options) --- */
  .dwp-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
  }
  .dwp-card {
    background: var(--dw-bg-zebra);
    border-radius: 10px;
    padding: 16px 18px;
  }
  .dwp-card h4 {
    font-size: 13.5px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--dw-text);
  }
  .dwp-card p {
    font-size: 13px;
    line-height: 1.8;
    color: var(--dw-text-sub);
    margin: 0;
  }
  
  /* ==============================================================
     レスポンシブデザイン
     ・~1024px（小さめのノートPC／横向きタブレット）
     ・~768px（タブレット縦）
     ・~480px（スマートフォン）
     スマホでは表が画面幅に収まりきらないため、表だけ横スクロール
     させつつ、1列目（メニュー名）を画面端に固定（sticky）して
     スクロールしても項目名が常に見えるようにしています。
     ============================================================== */
  
  /* --- ~1024px：余白を少し詰める --- */
  @media (max-width: 1024px) {
    .drwash-pricelist { padding: 8px 16px 40px; }
  }
  
  /* --- ~768px：タブレット縦向き --- */
  @media (max-width: 768px) {
    .dwp-page-lead { font-size: 13.5px; margin-bottom: 26px; }
    .dwp-section { margin-bottom: 38px; }
    .dwp-heading { font-size: 20px; }
    table.dwp-table { font-size: 13px; min-width: 480px; }
    table.dwp-table th, table.dwp-table td { padding: 11px 12px; }
    table.dwp-table tbody th { min-width: 170px; }
  }
  
  /* --- ~480px：スマートフォン --- */
  @media (max-width: 480px) {
    .drwash-pricelist { padding: 4px 12px 32px; }
    .dwp-page-lead { font-size: 13px; line-height: 1.8; margin-bottom: 22px; }
    .dwp-heading { font-size: 18.5px; }
    .dwp-note-inline { font-size: 14px; }
    .dwp-note { font-size: 12px; }
    .dwp-subhead { font-size: 13px; margin: 20px 0 8px; }
  
    /* 表：横スクロール＋1列目を画面端に固定 */
    .dwp-table-wrap { border-radius: 8px; }
    table.dwp-table { font-size: 12.5px; min-width: 440px; }
    table.dwp-table th, table.dwp-table td { padding: 10px; }
    table.dwp-table tbody th { min-width: 148px; }
    table.dwp-table thead th:first-child,
    table.dwp-table tbody th {
      position: sticky;
      left: 0;
      z-index: 1;
    }
    table.dwp-table tbody tr:nth-child(odd) th { background: #fff; }
    table.dwp-table tbody tr:nth-child(even) th { background: var(--dw-bg-zebra); }
  
    .dwp-cards { gap: 12px; }
    .dwp-card { padding: 14px 16px; }
    .dwp-card h4 { font-size: 13px; }
    .dwp-card p { font-size: 12.5px; }
  }

  /* ページ全体が横にはみ出さないようにする安全策 */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Flexboxコンテナ内で表が幅を強制的に広げるのを防ぐ */
.drwash-pricelist,
.dwp-table-wrap {
  min-width: 0;
}
.elementor-widget-container,
.elementor-widget-wrap,
.elementor-column {
  min-width: 0;
}

/* Elementorの「コンテナ」機能（新レイアウト）対策
   .e-con / .e-con-inner / .e-child は初期状態で display:flex のため、
   min-width:0 がないと中の表（テーブル）が縮まずに親を押し広げてしまい、
   結果としてスマホで表がはみ出て見える（html,bodyのoverflow-x:hiddenで
   右側が見えなくなる）原因になります。祖先まで全て効かせるため
   * を使って再帰的に指定しています。 */
.e-con,
.e-con-inner,
.e-child,
.elementor-container,
.elementor-row,
.elementor-section-wrap,
.elementor-widget,
.elementor-element {
  min-width: 0;
}

/* 表を含むウィジェットの祖先すべてに保険として適用 */
.drwash-pricelist * {
  min-width: 0;
}

@media (max-width:768px){

  .dwp-table-wrap{
      display:block;
      width:100%;
      overflow-x:auto;
      -webkit-overflow-scrolling:touch;
  }
  
  .dwp-table{
      width:max-content;
      min-width:600px;
  }
  
  }

  /* ===== Dr.WASH 料金表 スマホ対応 ===== */

.drwash-pricelist{
  width:100%;
  max-width:100%;
  min-width:0;
}

.dwp-section{
  width:100%;
  max-width:100%;
  min-width:0;
}

.dwp-table-wrap{
  display:block;
  width:100%;
  max-width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
}

.dwp-table{
  width:max-content;
  min-width:900px;
}

@media (min-width:769px){
  .dwp-table{
      width:100%;
      min-width:0;
  }
}

/* Elementor HTMLウィジェットのコンテナが縮まないよう強制 */
.elementor-widget-html .elementor-widget-container,
.elementor-widget-wrap,
.e-con {
    min-width: 0;
    overflow: visible;
}

/* テーブルだけ横スクロールを許可 */
.dwp-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.dwp-table {
    /* 幅はブレークポイントごとの指定（768px以下: min-width:900px で横スクロール／769px以上: 100%）に任せる。
       ここで width:100% を固定すると、スマホ用の横スクロール設定を上書きしてしまうため削除。 */
    border-collapse: collapse;
}

/* 本文（p, ul など）はコンテナ内で折り返す */
.drwash-pricelist,
.drwash-pricelist p,
.drwash-pricelist .dwp-note,
.drwash-pricelist .dwp-card {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    font-size: 14pt;
    color: #333;
}

/* ==============================================================
   Dr.WASH 料金表：スマートフォン表示時は「横スクロール」ではなく
   「縦積みカード」表示に変更する。
   ・thead（SS/S/M/L/LL/3L の見出し行）は非表示にし、
     各 td に付与した data-label 属性の値を ::before で疑似的に
     ラベルとして表示する（page-price.php 側で各 td に
     data-label="SS" のような属性を追加済み）。
   ・tbody th（メニュー名）はカードの見出しとして横幅いっぱいに表示。
   ・768px超（タブレット横〜PC）ではこれまで通りの横スクロール表を
     維持し、600px以下（スマートフォン）でのみ縦積みに切り替える。
   ============================================================== */
@media (max-width: 600px) {

  /* 横スクロール関連の指定を打ち消す（表を通常のブロックに戻す） */
  .dwp-table-wrap {
    overflow-x: visible;
    overflow-y: visible;
  }
  table.dwp-table {
    width: 100%;
    min-width: 0;
  }

  /* 見出し行（thead）は視覚的に非表示にする */
  table.dwp-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
    padding: 0;
    margin: -1px;
  }

  /* table / tr / th / td を縦積みのブロック要素に変換 */
  table.dwp-table,
  table.dwp-table tbody,
  table.dwp-table tr,
  table.dwp-table th,
  table.dwp-table td {
    display: block;
    width: 100%;
  }

  /* 1メニュー分をカードとして枠取りする */
  table.dwp-table tbody tr {
    margin-bottom: 14px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
  }
  table.dwp-table tbody tr:last-child { margin-bottom: 0; }

  /* メニュー名（tbody th）をカードの見出しに */
  table.dwp-table tbody th {
    position: static; /* PC用の sticky 指定を解除 */
    left: auto;
    z-index: auto;
    min-width: 0;
    background: var(--dw-navy);
    color: #fff;
    font-size: 13.5px;
    padding: 10px 14px;
  }

  /* 各サイズ・価格の行（td）はラベルと値を左右に並べる */
  table.dwp-table tbody td {
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
    padding: 9px 14px;
    text-align: right;
    white-space: normal;
    border-bottom: 1px solid var(--dw-bg-zebra);
  }
  table.dwp-table tbody tr td:last-child {
    border-bottom: none;
  }

  /* data-label をラベルとして左側に表示 */
  table.dwp-table tbody td::before {
    content: attr(data-label);
    font-size: 11.5px;
    font-weight: 600;
    color: var(--dw-text-sub);
    text-align: left;
    padding-right: 12px;
  }

  /* 縞（ゼブラ）はカード化に伴い不要なので解除 */
  table.dwp-table tbody tr:nth-child(even) th,
  table.dwp-table tbody tr:nth-child(even) td {
    background: #fff;
  }
  table.dwp-table tbody tr:nth-child(odd) th {
    background: var(--dw-navy);
  }
}

.grecaptcha-badge {
  visibility: hidden;
}