/* ちちんぷい陶芸教室 — Studio CBR トンマナ維持用の最小上書き（レイアウト調整可） */
body.cnp-site .header_logo .cnp-logotype {
  display: block;
  font-family: "Lato", "Zen Kaku Gothic Antique", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: #111;
  line-height: 1.45;
}
body.cnp-site .header_logo .cnp-logotype small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-top: 4px;
}
body.cnp-site .search_button,
body.cnp-site .category_button_wrap,
body.cnp-site .site_sifter,
body.cnp-site .h_nav_link .link_item {
  display: none !important;
}
body.cnp-site .humbutton_wrap {
  display: none !important;
}
body.cnp-site .cnp-page-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 6px 0 10px;
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 12px;
  font-weight: 500;
}
body.cnp-site .cnp-page-nav a {
  color: #111;
  border-bottom: 1px solid transparent;
}
body.cnp-site .cnp-page-nav a:hover {
  border-bottom-color: #111;
}
@media (max-width: 767px) {
  body.cnp-site .header_nav {
    display: block !important;
    width: auto !important;
    position: static !important;
  }
  body.cnp-site .header_inner {
    position: relative;
  }
  body.cnp-site .humbutton_wrap {
    display: block !important;
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 60;
  }
  body.cnp-site #humButton {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 0, 0, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-direction: column;
  }
  body.cnp-site #humButton span {
    width: 18px;
    height: 2px;
    background: #222;
    border-radius: 1px;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }
  body.cnp-site.cnp-menu-open #humButton span:first-child {
    transform: translateY(3px) rotate(45deg);
  }
  body.cnp-site.cnp-menu-open #humButton span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }
  body.cnp-site .header_nav .nav_inner {
    display: block !important;
  }
  body.cnp-site .cnp-page-nav {
    display: none;
    position: absolute;
    left: 10px;
    right: 10px;
    top: 58px;
    z-index: 55;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
    padding: 10px 12px;
    max-height: calc(100vh - 90px);
    overflow: auto;
  }
  body.cnp-site.cnp-menu-open .cnp-page-nav {
    display: block;
  }
  body.cnp-site .cnp-page-nav a {
    display: block;
    padding: 9px 4px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  }
  body.cnp-site .cnp-page-nav a:last-child {
    border-bottom: 0;
  }
}
body.cnp-site .cnp-hero-cta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
body.cnp-site .cnp-muted {
  color: #555;
  font-size: 14px;
  line-height: 1.85;
}
body.cnp-site .cnp-form-grid label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin: 14px 0 6px;
}
body.cnp-site .cnp-form-grid input,
body.cnp-site .cnp-form-grid select,
body.cnp-site .cnp-form-grid textarea {
  width: 100%;
  max-width: 520px;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 14px;
  background: #fff;
}
body.cnp-site .cnp-form-grid textarea {
  min-height: 120px;
  resize: vertical;
}
body.cnp-site .cnp-map iframe {
  width: 100%;
  max-width: 100%;
  height: 280px;
  border: 0;
  filter: grayscale(100%);
}
body.cnp-site .cnp-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border: 1px solid #111;
  margin-right: 6px;
  margin-bottom: 6px;
}
body.cnp-site .cnp-footer-wordmark-link {
  display: inline-block;
  text-decoration: none;
}
body.cnp-site .cnp-footer-wordmark {
  display: block;
  font-family: "Lato", "Zen Kaku Gothic Antique", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.18em;
  color: #fff;
  line-height: 1.3;
}
/* フッターの余白を詰めて高さバランスを調整 */
body.cnp-site footer .footer_upper {
  padding: 0 !important;
  min-height: 0 !important;
}
body.cnp-site footer .footer_inner {
  padding-top: 44px !important;
  padding-bottom: 26px !important;
}
body.cnp-site footer .footer_navigation {
  margin-bottom: 34px !important;
}
body.cnp-site footer .footer_copyright {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}
@media (max-width: 767px) {
  body.cnp-site footer .footer_inner {
    padding-top: 30px !important;
    padding-bottom: 18px !important;
  }
  body.cnp-site footer .footer_navigation {
    margin-bottom: 20px !important;
  }
}
body.cnp-site .cnp-photo {
  margin: 22px 0 6px;
}
body.cnp-site .cnp-photo img {
  width: 100%;
  max-width: 920px;
  height: auto;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}
body.cnp-site .cnp-photo figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}
body.cnp-site .cnp-photo figcaption a {
  color: #444;
  text-decoration: underline;
  text-underline-offset: 2px;
}
body.cnp-site .cnp-photo figcaption a:hover {
  color: #111;
}
/* ヒーロー：CBR 原本はスライド2枚想定で kv が 50%＋親が #333 → 単枚時に右半分が黒帯になるのを解消 */
body.cnp-site .comp-index-main-visual {
  background-color: #ebe8e2;
}
body.cnp-site .comp-index-main-visual .slider_wrap {
  background-color: #ebe8e2 !important;
}
body.cnp-site .comp-index-main-visual .slider_wrap.wrap01 .kv_slide_box {
  width: 100% !important;
}
/* 2本目のスライダー枠（wrap02）が min-width メディアで幅 26% 表示されると右に暗い列が残るため非表示 */
body.cnp-site .comp-index-main-visual .slider_wrap.wrap02 {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
}
/* CBR 原本の slideanime（枠）／slidein（画像）を無効化して静止表示 */
body.cnp-site .comp-index-main-visual .slider_wrap .kv_slide_box .item_box {
  -webkit-animation: none !important;
  animation: none !important;
  will-change: auto !important;
  -webkit-transform: none !important;
  transform: none !important;
}
body.cnp-site .comp-index-main-visual .slider_wrap .kv_slide_box .item_box a img {
  -webkit-animation: none !important;
  animation: none !important;
  will-change: auto !important;
  -webkit-transform: none !important;
  transform: none !important;
  width: 100% !important;
  height: 100% !important;
  top: 0 !important;
  left: 0 !important;
  right: auto !important;
}
/* ヒーロー：全ページ共通レイアウト
   - 背景画像は画面いっぱい
   - 見出しとテキストは画像中央に重ねる */
body.cnp-site .comp-index-main-visual {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
body.cnp-site .comp-index-main-visual .slider_wrap.wrap01 {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100%;
  z-index: 1;
}
body.cnp-site .comp-index-main-visual .slider_wrap.wrap01 .kv_slide_box,
body.cnp-site .comp-index-main-visual .slider_wrap.wrap01 .item_box,
body.cnp-site .comp-index-main-visual .slider_wrap.wrap01 .box_inner,
body.cnp-site .comp-index-main-visual .slider_wrap.wrap01 .box_inner > a {
  width: 100%;
  height: 100%;
}
body.cnp-site .comp-index-main-visual .slider_wrap.wrap01 .box_inner > a img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}
body.cnp-site .comp-index-main-visual .main_txt_wrap {
  position: absolute !important;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  box-sizing: border-box;
  background: transparent !important;
}
body.cnp-site .comp-index-main-visual .main_txt_wrap .wrapper_inner {
  padding: 0 !important;
  max-width: min(92vw, 920px);
}
body.cnp-site .comp-index-main-visual .main_txt_wrap::before { content: none !important; }
/* ヒーロー見出し：英字ページ名（Q&A 等）が縦書きになるのを横書きに */
body.cnp-site .comp-index-main-visual .main_txt_wrap .main_ttl {
  -webkit-writing-mode: horizontal-tb !important;
  -ms-writing-mode: lr-tb !important;
  writing-mode: horizontal-tb !important;
  width: auto !important;
  max-width: 100%;
  padding-top: 0 !important;
  line-height: 1.3 !important;
  -webkit-transform: none !important;
  transform: none !important;
  color: #fff !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
body.cnp-site .comp-index-main-visual .main_txt_wrap .main_ttl span:not(:empty) {
  display: block;
  margin-top: 0.2em;
  font-size: 0.78em;
  font-weight: 500;
  letter-spacing: 0.08em;
}
body.cnp-site .comp-index-main-visual .main_txt_wrap .store_name {
  color: #fff !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
  margin-top: 12px;
}
@media (max-width: 767px) {
  body.cnp-site .comp-index-main-visual {
    min-height: 72vh;
  }
  body.cnp-site .comp-index-main-visual .main_txt_wrap {
    padding: 16px;
  }
}
/* 下層ページのヒーロー（index と同じ section-index-main 構造） */
body.cnp-site .cnp-page-hero .main_ttl span:empty {
  display: none;
}
body.cnp-site .comp-rounded-button.cnp-submit-wrap button[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  display: block;
  width: 100%;
  text-align: center;
}

/* daymenu：ページ内アンカー */
html.cnp-daymenu {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html.cnp-daymenu {
    scroll-behavior: auto;
  }
}
html.cnp-daymenu body.cnp-site #cnp-daymenu-overview,
html.cnp-daymenu body.cnp-site section.comp-section-shop-info[id] {
  scroll-margin-top: 96px;
}
body.cnp-site .cnp-inpage-toc {
  position: sticky;
  top: 0;
  z-index: 25;
  margin: 0;
  padding: 12px 0;
  background: rgba(245, 243, 239, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
body.cnp-site .cnp-inpage-toc-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
body.cnp-site .cnp-inpage-toc-heading {
  display: block;
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #333;
  margin: 0 0 8px;
}
body.cnp-site .cnp-inpage-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: center;
}
body.cnp-site .cnp-inpage-toc-list li {
  margin: 0;
  padding: 0;
}
body.cnp-site .cnp-inpage-toc-list a {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #222;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
body.cnp-site .cnp-inpage-toc-list a:hover {
  border-bottom-color: #222;
}

/* daymenu：コース別ページへのハブ一覧 */
body.cnp-site .cnp-lesson-hub-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 640px;
}
body.cnp-site .cnp-lesson-hub-list li {
  margin: 0;
  padding: 0;
}
body.cnp-site .cnp-lesson-hub-list a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 12px 14px;
  text-decoration: none;
  color: #222;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  transition: border-color 0.15s ease, background 0.15s ease;
}
body.cnp-site .cnp-lesson-hub-list a:hover {
  border-color: rgba(0, 0, 0, 0.18);
  background: #fff;
}
body.cnp-site .cnp-lesson-hub-meta {
  font-size: 12px;
  font-weight: 500;
  color: #666;
}

/* 体験コース：ダミー予約カレンダー（静的） */
body.cnp-site .cnp-reserve-grid {
  display: grid;
  gap: 24px;
  margin-top: 20px;
  max-width: 100%;
}
@media (min-width: 900px) {
  body.cnp-site .cnp-reserve-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}
body.cnp-site .cnp-reserve-branch-ttl {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #1a1a1a;
}
body.cnp-site .cnp-dummy-cal {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 16px 14px 14px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
body.cnp-site .cnp-dummy-cal-caption {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #444;
  margin-bottom: 10px;
  text-align: center;
}
body.cnp-site .cnp-dummy-cal-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 4px;
}
body.cnp-site .cnp-dummy-cal-week span {
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  color: #666;
  padding: 4px 0;
}
body.cnp-site .cnp-dummy-cal-week span:first-child {
  color: #b33;
}
body.cnp-site .cnp-dummy-cal-week span:last-child {
  color: #26a;
}
body.cnp-site .cnp-dummy-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
body.cnp-site .cnp-dummy-cal-pad {
  min-height: 36px;
}
body.cnp-site .cnp-dummy-cal .cnp-d {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: #222;
}
body.cnp-site .cnp-dummy-cal .cnp-d-o {
  background: rgba(180, 210, 170, 0.45);
}
body.cnp-site .cnp-dummy-cal .cnp-d-t {
  background: rgba(230, 200, 130, 0.5);
}
body.cnp-site .cnp-dummy-cal .cnp-d-x {
  background: rgba(0, 0, 0, 0.06);
  color: #888;
  text-decoration: line-through;
}
body.cnp-site .cnp-dummy-leg {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  font-size: 11px;
  color: #666;
  line-height: 1.6;
}
body.cnp-site .cnp-dummy-leg li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0;
}
body.cnp-site .cnp-leg {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
body.cnp-site .cnp-leg-o {
  background: rgba(180, 210, 170, 0.55);
}
body.cnp-site .cnp-leg-t {
  background: rgba(230, 200, 130, 0.55);
}
body.cnp-site .cnp-leg-x {
  background: rgba(0, 0, 0, 0.08);
}

/* 各コース詳細ページ：アンカーとスムーズスクロール */
html.cnp-lesson {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html.cnp-lesson {
    scroll-behavior: auto;
  }
}
html.cnp-lesson body.cnp-site #cnp-lesson-main,
html.cnp-lesson body.cnp-site section.comp-section-shop-info[id] {
  scroll-margin-top: 96px;
}

body.cnp-site .cnp-lesson-body h3 {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.35em 0 0.45em;
  color: #1a1a1a;
}
body.cnp-site .cnp-lesson-body h3:first-child {
  margin-top: 0;
}
body.cnp-site .cnp-lesson-body h4 {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 1em 0 0.35em;
  color: #333;
}
body.cnp-site .cnp-lesson-body ul {
  margin: 0.5em 0 0.75em;
  padding-left: 1.25em;
}
body.cnp-site .cnp-lesson-body li {
  margin: 0.25em 0;
}
body.cnp-site .cnp-lesson-body .cnp-photo {
  margin: 26px 0 22px;
}
body.cnp-site .cnp-lesson-body .cnp-photo:first-of-type {
  margin-top: 8px;
}
