/* Screen reader only (visually hidden but accessible) */
.cpb-contact__hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===========================================
   Swell CSS Variables — フォールバック値
   WordPress環境ではSwellカスタマイザーの値が優先される
   （静的HTML index.html プレビュー用）
   =========================================== */
:root {
  /* Colors */
  --color_main: #004aad;
  --color_text: #333;
  --color_link: #1176d4;
  --color_bg: #fdfdfd;
  --color_border: hsla(0, 0%, 78%, .5);
  --color_gray: hsla(0, 0%, 78%, .15);
  --swl-color_hov_gray: rgba(3, 2, 2, .05);
  --swl-color_shadow: rgba(0, 0, 0, .12);

  /* Header */
  --color_header_bg: #fdfdfd;
  --color_header_text: #333;

  /* Footer */
  --color_footer_bg: #fdfdfd;
  --color_footer_text: #333;

  /* Sub colors */
  --color_sub_bg: #f7f7f7;
  --color_sub_text: #333;

  /* Sizes */
  --container_size: 1200px;
  --article_size: 900px;
  --swl-pad_container: 48px;
  --logo_size_pc: 40px;
  --logo_size_pcfix: 32px;
  --logo_size_sp: 48px;

  /* Font */
  --swl-font_family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "Osaka", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  --swl-fz--root: 16px;
  --swl-fz--content: 16px;
  --swl-fz--side: 14px;
  --swl-letter_spacing: normal;

  /* Gradients */
  --color_gradient1: #d8ffff;
  --color_gradient2: #87e7ff;

  /* Fix header */
  --swl-fix_headerH: 64px;

  /* Box shadow */
  --swl-box_shadow: 0 2px 4px rgba(0, 0, 0, .05), 0 4px 4px -4px rgba(0, 0, 0, .1);
  --swl-radius--8: 0;

  /* SP menu */
  --color_spmenu_text: #333;
  --color_spmenu_bg: #fdfdfd;
}

/* ==============================
   Intro Animation
   ============================== */
.cpb-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #eef2f8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Blue sweep from top-left */
.cpb-intro::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 250vmax;
  height: 250vmax;
  background: linear-gradient(135deg, #003080 0%, #004aad 40%, #0060d0 100%);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
  z-index: 0;
}

.cpb-intro.is-sweeping::after {
  transform: translate(-50%, -50%) scale(1);
}

.cpb-intro.is-done {
  opacity: 0;
  pointer-events: none;
  transition: opacity .8s ease;
}

.cpb-intro__content {
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 1;
  position: relative;
}

.cpb-intro__icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  will-change: transform;
}

.cpb-intro__icon.is-spin {
  animation: intro-spin .6s cubic-bezier(.4, 0, .2, 1);
}

.cpb-intro__icon.is-fading {
  filter: brightness(0) invert(1);
  opacity: .55;
  transition: filter .5s ease, opacity .5s ease;
}

@keyframes intro-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.cpb-intro__logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.cpb-intro__logo.is-fading {
  filter: brightness(0) invert(1);
  transition: filter .5s ease;
}

/* Hide FV elements initially, fade in after intro (front page only via body.home) */
.home .cpb-fv__logo-wrap,
.home .cpb-fv__tagline,
.home .cpb-fv__divider,
.home .cpb-fv-search__target,
.home .cpb-fv__scroll,
.home .cpb-header {
  opacity: 0;
  transition: opacity 1s ease;
}

/* 検索バーはtransform transitionと競合するのでopacityだけ初期値で制御 */
.home .cpb-fv-search-wrap {
  opacity: 0;
}

.cpb-intro-done .cpb-fv__logo-wrap,
.cpb-intro-done .cpb-fv__tagline,
.cpb-intro-done .cpb-fv__divider,
.cpb-intro-done .cpb-fv-search-wrap,
.cpb-intro-done .cpb-fv-search__target,
.cpb-intro-done .cpb-fv__scroll,
.cpb-intro-done .cpb-header {
  opacity: 1;
}

/* イントロ完了後は検索バーのopacityアニメーション追加 */
.cpb-intro-done .cpb-fv-search-wrap {
  transition: transform 1.2s cubic-bezier(.22, .61, .36, 1), opacity 1s ease;
}

/* ==============================
   CPB Header (split)
   ============================== */
.cpb-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  z-index: 1000;
  overflow: hidden; /* CRITICAL: prevents bg halves from being visible outside */
}

.cpb-header__bg {
  position: absolute;
  top: 0;
  height: 100%;
  width: 50.5%; /* slight overlap to hide seam */
  background: #004aad;
  will-change: transform;
}

.cpb-header__bg--left { left: 0; }
.cpb-header__bg--right { right: 0; }

.cpb-header__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  will-change: opacity;
}

.cpb-nav {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  height: 100%;
}

.cpb-nav__item {
  height: 100%;
}

.cpb-nav li a,
.cpb-nav__item a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 32px;
  color: #fff !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .05em;
  position: relative;
  transition: transform .3s cubic-bezier(.25, .46, .45, .94), text-shadow .3s;
  white-space: nowrap;
}

.cpb-nav__item a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 32px);
  height: 2px;
  background: #fff;
  transition: transform .3s cubic-bezier(.25, .46, .45, .94);
}

.cpb-nav__item a:hover {
  transform: translateY(-2px);
  text-shadow: 0 2px 8px rgba(255, 255, 255, .3);
}

.cpb-nav__item a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.cpb-header__sp-logo {
  display: none;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  height: 20px;
  width: auto;
}

.cpb-header__menuBtn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

/* ==============================
   CPB Full-Screen FV (slide-up panel)
   ============================== */
.cpb-fv {
  position: relative;
  width: 100%;
  height: 280vh;
}

.cpb-fv__fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100svh; /* アドレスバー変動でジャンプしない */
  overflow: hidden;
  z-index: 1;
  transition: opacity .5s ease-out;
}

.cpb-fv__fixed.is-done {
  display: none;
}

/* Background */
.cpb-fv__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #001d47 0%, #004aad 50%, #0066d6 100%);
}

.cpb-fv__bg::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 60%);
  border-radius: 50%;
  animation: cpb-pulse 6s ease-in-out infinite alternate;
}

.cpb-fv__bg::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(100,180,255,.08) 0%, transparent 60%);
  border-radius: 50%;
  animation: cpb-pulse 8s ease-in-out infinite alternate-reverse;
}

@keyframes cpb-pulse {
  0%   { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.15); opacity: 1; }
}

/* ==============================
   FV Particle Animation
   ============================== */
.cpb-fv__particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  clip-path: inset(60px);
}
.cpb-fv__particles > * {
  pointer-events: auto;
}

.cpb-particle {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform, opacity;
  pointer-events: none;
}

.cpb-particle--icon {
  z-index: 1;
}
.cpb-particle--icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cpb-particle--card {
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  white-space: nowrap;
}

.cpb-particle__card-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.cpb-particle__card-text {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: .02em;
}

/* Grabbed state */
.cpb-particle.is-grabbed {
  z-index: 10;
  filter: drop-shadow(0 0 12px rgba(255,255,255,.6)) !important;
}

/* Tap ripple */
.cpb-particle__ripple {
  position: absolute;
  width: 60px;
  height: 60px;
  margin: -30px 0 0 -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.4) 0%, transparent 70%);
  pointer-events: none;
  animation: cpb-ripple .5s ease-out forwards;
}

@keyframes cpb-ripple {
  0%   { transform: scale(0); opacity: 1; }
  100% { transform: scale(3); opacity: 0; }
}

/* Target icon (particles converge here) — starts above logo, moves to search bar on scroll */
.cpb-fv-search__target {
  position: absolute;
  left: 50%;
  width: 80px;
  margin-left: -40px;
  z-index: 3;
  pointer-events: none;
  text-align: center;
  /* Initial position: above logo center (JS startTopと一致) */
  top: 28%;
  transition: filter .3s;
}

.cpb-fv-search__target-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .55;
  transition: opacity .3s;
}

/* Glow burst when transitioning */
.cpb-fv-search__target.is-moving {
  filter: drop-shadow(0 0 20px rgba(255,255,255,.7))
          drop-shadow(0 0 40px rgba(100,180,255,.5));
}
.cpb-fv-search__target.is-moving .cpb-fv-search__target-icon {
  opacity: .85;
}

@media (max-width: 767px) {
  .cpb-fv-search__target {
    width: 60px;
    margin-left: -30px;
  }
  .cpb-fv-search__target-icon {
    width: 60px;
    height: 60px;
  }
}

.cpb-fv__logo-heading {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

/* Logo layer — centered, fades out */
.cpb-fv__logo-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  will-change: opacity;
}

.cpb-fv__logo {
  max-width: 600px;
  width: 60vw;
  height: auto;
}

.cpb-fv__divider {
  width: 60px;
  height: 2px;
  background: rgba(255,255,255,.4);
  margin: 28px 0;
}

.cpb-fv__tagline {
  color: rgba(255,255,255,.85);
  font-size: clamp(14px, 2.2vw, 22px);
  letter-spacing: .2em;
  font-weight: 400;
}

/* FV Search bar — pinned to bottom of FV */
/* Overlay behind dropdown */
.cpb-fv-search__overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(0, 0, 0, 0);
  pointer-events: none;
  transition: background 1.2s ease;
}

.cpb-fv-search__overlay.is-active {
  background: rgba(0, 0, 0, .6);
  pointer-events: auto;
}

.cpb-fv-search-wrap {
  position: fixed;
  bottom: 110px;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 100;
  width: 90%;
  max-width: 600px;
  transition: transform 1.2s cubic-bezier(.22, .61, .36, 1);
  transform: translateY(0);
}

/* transform set by JS for exact centering */

.cpb-fv-search {
  display: flex;
  gap: 0;
  background: rgba(200, 215, 240, .25);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  padding: 4px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, .1);
}

.cpb-fv-search__input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.cpb-fv-search__icon {
  position: absolute;
  left: 16px;
  color: rgba(255, 255, 255, .6);
  font-size: 15px;
}

.cpb-fv-search__input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: none;
  font-size: 14px;
  outline: none;
  background: transparent;
  border-radius: 6px 0 0 6px;
  color: #fff;
}

.cpb-fv-search__input::placeholder { color: rgba(255, 255, 255, .5); }

/* Category toggle button */
.cpb-fv-search__cat-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, .2);
  font-size: 13px;
  background: transparent;
  color: rgba(255, 255, 255, .85);
  cursor: pointer;
  white-space: nowrap;
}

.cpb-fv-search__cat-arrow {
  font-size: 8px;
  transition: transform 1.2s;
}

.cpb-fv-search-wrap.is-open .cpb-fv-search__cat-arrow {
  transform: rotate(180deg);
}

/* Dropdown list */
.cpb-fv-search__dropdown {
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  transition: max-height 1s cubic-bezier(.22, .61, .36, 1) .3s, padding 1s ease .3s;
  background: rgba(200, 215, 240, .35);
  border-radius: 0 0 8px 8px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cpb-fv-search-wrap.is-open .cpb-fv-search__dropdown {
  max-height: 50vh;
  overflow-y: auto;
  padding: 4px 0;
  -webkit-overflow-scrolling: touch;
}

.cpb-fv-search__dropdown button {
  background: none;
  border: none;
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
  padding: 12px 20px;
  text-align: left;
  cursor: pointer;
  transition: background .15s;
}

.cpb-fv-search__dropdown button:hover {
  background: rgba(255, 255, 255, .15);
}

.cpb-fv-search__btn {
  padding: 10px 24px;
  background: rgba(255, 255, 255, .2);
  color: #fff;
  border: none;
  border-radius: 0 6px 6px 0;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}

.cpb-fv-search__btn:hover { background: rgba(255, 255, 255, .35); }

/* Slide-up text — starts below viewport, rises into center */
.cpb-fv__slide {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 3;
  top: 50%;
  transform: translateY(100vh);
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform, opacity;
  padding: 0 48px;
}

.cpb-fv__catch {
  color: #fff;
  font-family: 'Yusei Magic', sans-serif;
  font-size: clamp(24px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.5;
  text-align: center;
}

.cpb-fv__about {
  color: rgba(255, 255, 255, .75);
  font-size: clamp(13px, 1.4vw, 15px);
  line-height: 2;
  text-align: center;
  max-width: 640px;
  margin-top: 20px;
  letter-spacing: .03em;
}

.cpb-fv__slideDivider {
  width: 48px;
  height: 2px;
  background: rgba(255, 255, 255, .4);
  margin: 28px 0;
  border-radius: 2px;
}

.cpb-fv__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  width: 100%;
  max-width: 800px;
}

.cpb-fv__featItem {
  text-align: center;
  padding: 24px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, .15);
}

.cpb-fv__featIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  font-size: 20px;
  margin-bottom: 12px;
}

.cpb-fv__featTitle {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.5;
}

.cpb-fv__featText {
  font-size: 13px;
  color: rgba(255, 255, 255, .7);
  line-height: 1.8;
}

/* Reveal layer — hidden behind white cover */
.cpb-fv__reveal {
  position: absolute;
  inset: 0;
  z-index: 9;
  background: #faf8f5;
  font-family: 'Yusei Magic', sans-serif;
  overflow: hidden;
  transform: translateY(100%);
  will-change: transform;
}

.cpb-fv__reveal-strings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cpb-fv__reveal-strings line {
  stroke: #c33;
  stroke-width: 0.15;
  opacity: .45;
}

.cpb-fv__reveal-pin {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c33;
  box-shadow: 0 1px 3px rgba(0,0,0,.3);
  transform: translate(-50%, -50%);
  z-index: 2;
}

.cpb-fv__ri {
  position: absolute;
  font-size: clamp(14px, 1.6vw, 18px);
  color: #2a2a2a;
  white-space: nowrap;
  line-height: 1.6;
}

.cpb-fv__ri s {
  text-decoration: line-through;
  text-decoration-color: #c33;
  text-decoration-thickness: 2px;
  opacity: .6;
}

.cpb-fv__ri u {
  text-decoration-color: #004aad;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.cpb-fv__ri-hl {
  color: #c33;
  font-weight: 700;
}

.cpb-fv__ri-circle {
  border: 2px solid #004aad;
  border-radius: 50%;
  padding: 4px 14px;
  display: inline-block;
}

.cpb-fv__ri-blur {
  filter: blur(4px);
  user-select: none;
}

.cpb-fv__ri--lg {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
}

.cpb-fv__ri--xl {
  font-size: clamp(80px, 12vw, 160px);
  font-weight: 700;
  color: #004aad;
}

.cpb-fv__ri--pop {
  font-family: 'Hachi Maru Pop', cursive;
}

/* White cover — visual only, slides up */
.cpb-fv__cover {
  position: absolute;
  inset: 0;
  z-index: 10;
  --mx: -9999px;
  --my: -9999px;
  background: radial-gradient(circle 180px at var(--mx) var(--my), transparent 50%, var(--color_bg) 100%);
  clip-path: circle(0vmax at 50% 80%);
  will-change: clip-path;
}


/* Catchcopy hero in main content (scroll buffer) */
.cpb-fv__catchcopy-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 12vh;
  text-align: center;
  padding: 0 48px;
}

.cpb-fv__catchcopy-text {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #004aad;
  letter-spacing: .05em;
  line-height: 1.4;
}

/* Catchcopy on white cover (FV layer) */
.cpb-fv__cover-catch {
  position: absolute;
  top: 45%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 11;
  text-align: center;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #004aad;
  letter-spacing: .05em;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
}

/* Search bar - sticky */
.cpb-fv__coverSticky {
  position: sticky;
  top: 0;
  z-index: 21;
  background: var(--color_bg);
  padding: 16px 48px;
}

.cpb-fv__coverSticky::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(to bottom, rgba(0,0,0,.04), transparent);
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s;
}

.cpb-fv__coverSticky.is-stuck::after {
  opacity: 1;
}

.cpb-fv__coverSticky .cpb-search__form {
  max-width: 800px;
  margin: 0 auto;
}

/* Categories */
.cpb-categories__section {
  padding: 28px 48px 0;
}

.cpb-categories__heading-wrap {
  max-width: calc(var(--container_size, 1200px) + var(--swl-pad_container, 48px) * 2);
  margin: 0 auto;
  padding: 8px var(--swl-pad_container, 48px);
}

.cpb-categories__section .cpb-categories__grid {
  max-width: calc(var(--container_size, 1200px) + var(--swl-pad_container, 48px) * 2);
  margin: 0 auto;
}

.cpb-fv__coverMarquee {
  overflow: hidden;
  padding-top: 40px;
}


/* Scroll indicator */
.cpb-fv__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 4;
  color: rgba(255,255,255,.5);
  font-size: 10px;
  letter-spacing: .2em;
}

.cpb-fv__scrollLine {
  width: 1px;
  height: 40px;
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.15);
}

.cpb-fv__scrollLine::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,.6);
  animation: cpb-scrollLine 2s ease-in-out infinite;
}

@keyframes cpb-scrollLine {
  0%   { top: -100%; }
  50%  { top: 100%; }
  100% { top: 100%; }
}

.cpb-fv__slideScroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  color: rgba(255,255,255,.5);
  font-size: 10px;
  letter-spacing: .2em;
}

/* Content push below fixed header (not needed for FV since it's 100vh) */
.p-postSlider {
  margin-top: 0;
}

/* Post list cards */
.p-postList.-type-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.p-postList__item {
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--swl-box_shadow);
  transition: box-shadow .25s, transform .25s;
}

.p-postList__item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
  transform: translateY(-2px);
}

.p-postList__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.p-postList__thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.p-postList__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s;
}

.p-postList__item:hover .p-postList__thumb img {
  transform: scale(1.05);
}

.p-postList__cat {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--color_main);
  color: #fff;
  font-size: 11px;
  padding: 2px 10px;
  line-height: 1.6;
}

.p-postList__body {
  padding: 16px;
}

.p-postList__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.p-postList__excerpt {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.p-postList__meta {
  font-size: 12px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Category stripe style */
.p-postList__cat.-stripe {
  background: repeating-linear-gradient(
    -45deg,
    var(--color_main),
    var(--color_main) 3px,
    transparent 3px,
    transparent 5px
  );
  background-color: var(--color_main);
}

/* Post slider */
.p-postSlider {
  padding: 24px 0;
  overflow: hidden;
}

.p-postSlider__title {
  text-align: center;
  font-size: 14px;
  letter-spacing: .1em;
  margin-bottom: 16px;
  color: var(--color_text);
}

.p-postSlider__list {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 24px;
}

.p-postSlider__item {
  flex: 0 0 calc(20% - 13px);
  scroll-snap-align: start;
  min-width: 200px;
}

/* Tabs */
.p-tabList {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 24px;
}

.p-tabList__item {
  padding: 8px 24px;
  font-size: 14px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  color: #999;
  transition: all .25s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

.p-tabList__item.-active {
  color: var(--color_main);
  border-bottom-color: var(--color_main);
  font-weight: 700;
}

/* Sidebar */
#sidebar {
  width: 100%;
}

.c-widget {
  margin-bottom: 32px;
}

.c-widget__title {
  font-size: 16px;
  font-weight: 700;
  padding-bottom: 8px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--color_main);
  position: relative;
}

/* Sidebar layout */
.l-content.-sidebar-on {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}

/* Footer */
.l-footer {
  background: var(--color_footer_bg);
  color: var(--color_footer_text);
}

.l-footer__inner {
  padding: 40px 0 0;
}

.l-footer__foot {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
}

.l-footer__nav {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 16px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}

.l-footer__nav li {
  border-left: 1px solid #ccc;
  line-height: 1;
}

.l-footer__nav li:first-child {
  border-left: none;
}

.l-footer__nav li a {
  display: block;
  padding: 0 14px;
}

.l-footer__nav a {
  color: inherit;
  text-decoration: none;
  font-size: 13px;
}

.l-footer__nav a:hover {
  opacity: .7;
}

.copyright {
  color: #999;
  font-size: 12px;
}

/* Footer widgets */
.l-footer__widgetArea {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color_border);
}

.l-footer__desc {
  font-size: 12px;
  color: #999;
  margin-top: 8px;
}

.l-footer__heading {
  font-size: 13px;
  font-weight: 700;
  color: #666;
  margin-bottom: 12px;
}

.l-footer__widgetArea ul {
  list-style: none;
  font-size: 13px;
  line-height: 2.2;
}

.l-footer__widgetArea a {
  color: #999;
  text-decoration: none;
  transition: color .2s;
}

.l-footer__widgetArea a:hover {
  color: var(--color_text);
}

.l-footer .l-footer__foot {
  flex-shrink: 0;
}


/* Utility classes */
.u-ta-c { text-align: center; }
.u-ta-l { text-align: left; }
.u-ta-r { text-align: right; }
.u-mt-40 { margin-top: 40px; }
.u-fz-14 { font-size: 14px; }

/* Read more link */
.p-readMore {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 32px;
  border: 1px solid var(--color_main);
  color: var(--color_main);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .05em;
  margin-top: 32px;
  transition: all .25s;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.p-readMore:hover {
  background: var(--color_main);
  color: #fff;
}

/* Pickup banners */
.p-pickupBanners {
  margin-bottom: 8px;
}

.p-pickupBanners__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  list-style: none;
}

.p-pickupBanners__item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.p-pickupBanners__item a {
  display: block;
  text-decoration: none;
  color: #fff;
}

.p-pickupBanners__img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.p-pickupBanners__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s;
}

.p-pickupBanners__item:hover .p-pickupBanners__img img {
  transform: scale(1.05);
}

.p-pickupBanners__label {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 12px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(0, 0, 0, .5);
}

/* Page top button */
.c-pageTop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--color_main);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
  transition: opacity .25s;
  z-index: 99;
}

.c-pageTop:hover {
  opacity: .8;
}



/* ==============================
   Search Bar
   ============================== */
.cpb-search {
  padding: 48px 0 32px;
}

.cpb-search__form {
  display: flex;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .08);
  border-radius: 6px;
  overflow: hidden;
}

.cpb-search__input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.cpb-search__icon {
  position: absolute;
  left: 16px;
  color: #999;
  font-size: 16px;
}

.cpb-search__input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border: 1px solid #e0e0e0;
  border-right: none;
  font-size: 14px;
  outline: none;
  background: #fff;
}

.cpb-search__input:focus {
  border-color: #004aad;
}

.cpb-search__select {
  padding: 14px 16px;
  border: 1px solid #e0e0e0;
  border-right: none;
  font-size: 14px;
  background: #fff;
  color: #333;
  outline: none;
  cursor: pointer;
  min-width: 160px;
}

.cpb-search__btn {
  padding: 14px 32px;
  background: #004aad;
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}

.cpb-search__btn:hover {
  background: #003a8c;
}

/* ==============================
   Category Tiles
   ============================== */
.cpb-categories {
  padding: 0 0 48px;
}

.cpb-categories__grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.cpb-categories__grid::-webkit-scrollbar {
  display: none;
}

.cpb-categories__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
  flex-shrink: 0;
  min-width: 100px;
  border-radius: 8px;
  background: #f6f8fc;
  border: 1px solid rgba(0, 74, 173, .06);
  text-decoration: none;
  color: #333;
  transition: all .2s;
}

.cpb-categories__item:hover {
  background: #edf2fb;
  border-color: rgba(0, 74, 173, .15);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 74, 173, .08);
}

.cpb-categories__icon {
  font-size: 22px;
  color: #004aad;
}

.cpb-categories__label {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}

/* ==============================
   Pick Up Section
   ============================== */
.cpb-pickup {
  background: #f7f8fa;
  padding: 40px 0 48px;
  margin-top: 40px;
  overflow: hidden;
}

.cpb-pickup__inner {
  max-width: calc(var(--container_size, 1200px) + var(--swl-pad_container, 48px) * 2);
  margin: 0 auto;
  padding: 0 var(--swl-pad_container, 48px);
  position: relative;
}

.cpb-pickup__heading {
  position: relative;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 900;
  color: #004aad;
  letter-spacing: .03em;
  z-index: 3;
  margin-bottom: 20px;
}

.cpb-pickup__heading::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 3px;
  background: #004aad;
  vertical-align: middle;
  margin-left: 16px;
}

/* Carousel */
.cpb-pickup__carousel {
  position: relative;
}

.cpb-pickup__viewport {
  overflow: hidden;
  padding-top: 8px;
}

.cpb-pickup__slides {
  display: flex;
  align-items: flex-end;
  transition: transform .5s ease;
}

/* Cards: side = small, center = large */
.cpb-pickup__card {
  flex: 0 0 25%;
  padding: 0 10px;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
  transition: transform .4s ease, opacity .4s ease;
  opacity: .6;
  transform: scale(.85);
  transform-origin: center top;
}

.cpb-pickup__card.is-center {
  flex: 0 0 50%;
  opacity: 1;
  transform: scale(1);
}

.cpb-pickup__card > .cpb-pickup__thumb,
.cpb-pickup__card > .cpb-pickup__body {
  background: #fff;
}

.cpb-pickup__card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

.cpb-pickup__card > .cpb-pickup__thumb {
  overflow: hidden;
}

.cpb-pickup__card > .cpb-pickup__body {
}

.cpb-pickup__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.cpb-pickup__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.cpb-pickup__card:hover .cpb-pickup__thumb img {
  transform: scale(1.05);
}

.cpb-pickup__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color_main, #004aad);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  letter-spacing: .05em;
}

.cpb-pickup__body {
  padding: 16px 18px;
}

.cpb-pickup__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cpb-pickup__card.is-center .cpb-pickup__title {
  -webkit-line-clamp: 3;
}

.cpb-pickup__meta {
  font-size: 12px;
  color: #888;
  display: flex;
  justify-content: space-between;
}

/* Side cards hide body on small screens */
.cpb-pickup__card:not(.is-center) .cpb-pickup__body {
  display: none;
}

.cpb-pickup__card.is-center .cpb-pickup__body {
  display: block;
}

/* Dots + Arrows row */
.cpb-pickup__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.cpb-pickup__arrow {
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cpb-pickup__arrow::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  border-left: 3px solid #004aad;
  border-bottom: 3px solid #004aad;
}

.cpb-pickup__arrow--prev::before {
  transform: rotate(45deg);
}

.cpb-pickup__arrow--next::before {
  transform: rotate(-135deg);
}

.cpb-pickup__arrow:hover::before {
  border-color: rgba(0,74,173,.5);
}

.cpb-pickup__dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cpb-pickup__dot {
  width: 14px;
  height: 14px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
}

.cpb-pickup__dot svg {
  width: 14px;
  height: 14px;
  transform: rotate(-90deg);
}

.cpb-pickup__dot-bg {
  fill: none;
  stroke: rgba(0,74,173,.2);
  stroke-width: 2;
}

.cpb-pickup__dot-progress {
  fill: none;
  stroke: #004aad;
  stroke-width: 2;
  stroke-dasharray: 28.27;
  stroke-dashoffset: 28.27;
  stroke-linecap: round;
}

.cpb-pickup__dot.is-active .cpb-pickup__dot-progress {
  animation: cpb-dot-fill 4s linear forwards;
}

.cpb-pickup__dot.is-done .cpb-pickup__dot-progress {
  stroke-dashoffset: 0;
}

@keyframes cpb-dot-fill {
  to { stroke-dashoffset: 0; }
}

/* SP: 1 card only */
@media (max-width: 767px) {
  .cpb-pickup__inner {
    padding: 0 20px;
  }
  .cpb-pickup__heading {
    position: relative;
    z-index: 2;
    margin-bottom: 16px;
    text-align: center;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #004aad;
  }
  .cpb-pickup__heading::after {
    width: 3px;
    height: 32px;
    margin-left: 0;
    margin-top: 12px;
    display: block;
    background: #004aad;
  }
  .cpb-pickup__viewport {
    overflow: visible;
  }
  .cpb-pickup__slides {
    display: block;
    transform: none !important;
  }
  .cpb-pickup__card {
    display: none !important;
    transform: none;
  }
  .cpb-pickup__card.is-center {
    display: block !important;
    width: 100%;
    opacity: 1;
    transform: none;
  }
  .cpb-pickup__card.is-center .cpb-pickup__body {
    display: block;
  }
}

/* ==============================
   Auto-scroll Marquee Cards
   ============================== */
.cpb-marquee {
  padding: 48px 0 64px;
  overflow: hidden;
}

.cpb-marquee__heading {
  font-size: 18px;
  font-weight: 700;
  color: #004aad;
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 3px solid #004aad;
}

.cpb-marquee__track {
  max-width: calc(var(--container_size, 1200px) + var(--swl-pad_container, 48px) * 2);
  margin: 0 auto;
  padding: 4px var(--swl-pad_container, 48px) 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cpb-marquee__track::-webkit-scrollbar {
  display: none;
}

.cpb-marquee__list {
  display: flex;
  gap: 20px;
}

.cpb-marquee__list::after {
  content: "";
  flex-shrink: 0;
  width: var(--swl-pad_container, 48px);
}

@keyframes cpb-scroll-right {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes cpb-scroll-left {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.cpb-marquee__card {
  flex-shrink: 0;
  width: 320px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
  text-decoration: none;
  color: inherit;
  transition: transform .25s, box-shadow .25s;
}

.cpb-marquee__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
}

.cpb-marquee__thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.cpb-marquee__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.cpb-marquee__card:hover .cpb-marquee__thumb img {
  transform: scale(1.05);
}

.cpb-marquee__body {
  padding: 12px 14px;
}

.cpb-marquee__cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #004aad;
  background: #edf2fb;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 6px;
}

.cpb-marquee__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cpb-marquee__date {
  font-size: 11px;
  color: #999;
}

/* ==============================
   CONTACT Section
   ============================== */
/* ==============================
   Main Content Section
   ============================== */
.cpb-main {
  position: relative;
  z-index: 0;
  background: var(--color_bg);
  padding: 0;
}

/* Breadcrumb */
.cpb-breadcrumb {
  position: relative;
  z-index: 1;
  padding: 8px 24px;
  font-size: 12px;
}

.cpb-breadcrumb__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0;
}

.cpb-breadcrumb__item + .cpb-breadcrumb__item::before {
  content: ">";
  margin: 0 8px;
  color: #aaa;
}

.cpb-breadcrumb__item a {
  color: var(--color_main);
  text-decoration: none;
}

.cpb-breadcrumb__item:last-child a {
  color: #666;
  pointer-events: none;
}

.cpb-main__sticky {
  background: var(--color_bg);
  padding-bottom: 40px;
}

/* ==============================
   Contact (fixed slide-up)
   ============================== */
.cpb-contact-spacer {
  display: none;
}

/* Contact: 通常フロー（PC/SP共通） */
.cpb-contact-fixed {
  position: relative;
  z-index: 1;
}


.cpb-contact {
  background: #004aad;
  padding: 40px 0;
  text-align: center;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cpb-contact__inner {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 48px 40px;
  border-radius: 12px;
  background-color: #fff;
  background-image:
    linear-gradient(rgba(0, 74, 173, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 74, 173, .06) 1px, transparent 1px);
  background-size: 24px 24px;
  color: #333;
}

.cpb-contact__heading {
  color: #004aad;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: .15em;
  margin-bottom: 16px;
}

.cpb-contact__text {
  color: #004aad;
  font-size: 15px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.cpb-contact__form {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

.cpb-contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cpb-contact__field {
  margin-bottom: 20px;
}

.cpb-contact__label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #004aad;
  margin-bottom: 6px;
}

.cpb-contact__input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #004aad;
  border-radius: 6px;
  background: #fff;
  color: #333;
  font-size: 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.cpb-contact__input::placeholder {
  color: #999;
}

.cpb-contact__input:focus {
  border-color: #003a8c;
  box-shadow: 0 0 0 3px rgba(0, 74, 173, .15);
}

.cpb-contact__textarea {
  resize: vertical;
  min-height: 120px;
}

.cpb-contact__submit {
  display: block;
  width: 100%;
  padding: 16px;
  background: #004aad;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all .25s;
  margin-top: 8px;
}

.cpb-contact__submit:hover {
  background: #003a8c;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 74, 173, .3);
}

/* ==============================
   Footer (redesigned)
   ============================== */

/* SP menu overlay */
.p-spMenu {
  display: none;
}

/* Responsive */
@media (max-width: 959px) {
  .l-content.-sidebar-on {
    grid-template-columns: 1fr;
  }

  .p-postList.-type-card {
    grid-template-columns: repeat(2, 1fr);
  }

  .cpb-nav {
    display: none;
  }

  .cpb-header__menuBtn {
    display: none;
  }

  .cpb-header__sp-logo {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .cpb-fv__scroll {
    flex-direction: column;
  }

  .cpb-fv__scroll span {
    display: none;
  }

  .l-footer__widgetArea {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .l-footer__widgetArea ul {
    padding: 0;
  }

  .l-footer__nav {
    justify-content: center;
    gap: 0;
  }

  .l-footer__nav li {
    border-left: none;
  }

  .l-footer__nav li a {
    padding: 6px 12px;
    font-size: 12px;
  }

  .l-footer__foot {
    text-align: center;
  }

  .p-pickupBanners__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .cpb-fv__logo {
    width: 75vw;
    max-width: 400px;
  }

  .cpb-fv__slide {
    padding: 0 20px;
    top: 50%;
  }

  .cpb-fv__slideScroll {
    display: none;
  }

  .cpb-fv__cover-catch {
    top: 50%;
    font-size: clamp(22px, 5vw, 32px);
    padding: 0 24px;
  }

  .cpb-fv-search-wrap {
    bottom: 80px;
    width: 92%;
  }

  .cpb-fv-search__input {
    padding: 10px 6px 10px 30px;
    font-size: 11px;
  }

  .cpb-fv-search__input::placeholder {
    font-size: 10px;
  }

  .cpb-fv-search__icon {
    left: 10px;
    font-size: 12px;
  }

  .cpb-fv-search__cat-btn {
    padding: 10px 8px;
    font-size: 11px;
  }

  .cpb-fv-search__btn {
    padding: 10px 14px;
    font-size: 12px;
  }

  .cpb-search__form {
    flex-direction: row;
    border-radius: 8px;
  }

  .cpb-search__input {
    font-size: 12px;
    padding: 12px 10px 12px 36px;
  }

  .cpb-search__select {
    min-width: auto;
    font-size: 12px;
    padding: 12px 8px;
  }

  .cpb-search__btn {
    padding: 12px 16px;
    font-size: 12px;
  }

  .cpb-categories__section {
    padding: 12px 16px 0;
    overflow: visible;
  }

  .cpb-categories__heading-wrap {
    position: sticky;
    top: 0;
    z-index: 19;
    background: var(--color_bg, #fdfdfd);
    padding: 8px 16px;
  }

  .cpb-categories__grid {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    max-width: none;
    padding-right: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .cpb-categories__item {
    flex: 0 0 auto;
    min-width: 90px;
    padding: 14px 10px;
  }

  .cpb-fv__features {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cpb-fv__featItem {
    padding: 14px 16px;
  }

  .cpb-fv__featTitle {
    font-size: 13px;
  }

  .cpb-fv__featText {
    font-size: 11px;
  }

  .cpb-fv__slideDivider {
    margin: 16px 0;
  }

  .cpb-contact {
    padding: 56px 0;
  }

  .cpb-contact__row {
    grid-template-columns: 1fr;
  }



}

@media (max-width: 599px) {
  .p-postList.-type-card {
    grid-template-columns: 1fr;
  }

  .p-postSlider__item {
    flex: 0 0 calc(50% - 8px);
  }

  :root {
    --swl-pad_container: 16px;
  }
}

/* ==============================
   Single / Page / Archive Templates
   ============================== */
.cpb-single,
.cpb-archive,
.cpb-search-results,
.cpb-404 {
  padding: 80px 0 60px;
}

.cpb-content-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  max-width: var(--container_size);
  margin: 0 auto;
  padding: 0 var(--swl-pad_container);
}

@media (max-width: 991px) {
  .cpb-content-wrap {
    grid-template-columns: 1fr;
  }
}

/* Article */
.cpb-article {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--swl-box_shadow);
  overflow: hidden;
}

.cpb-article__thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.cpb-article__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cpb-article__body {
  padding: 32px;
}

.cpb-article__title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 16px;
}

.cpb-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #888;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color_border);
}

.cpb-article__meta a {
  color: var(--color_main);
  text-decoration: none;
}

/* post_content のフォント・サイズはSwellの設定に委譲（上書きしない） */

/* Archive card list */
.cpb-card-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.cpb-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--swl-box_shadow);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s;
}

.cpb-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
}

.cpb-card__thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.cpb-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cpb-card__body {
  padding: 16px;
}

.cpb-card__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cpb-card__meta {
  font-size: 12px;
  color: #888;
  display: flex;
  justify-content: space-between;
}

/* Post navigation */
.cpb-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.cpb-post-nav a {
  display: block;
  padding: 16px;
  background: #f7f7f7;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  font-size: 14px;
  transition: background .2s;
}

.cpb-post-nav a:hover {
  background: #eee;
}

.cpb-post-nav__label {
  display: block;
  font-size: 11px;
  color: #888;
  margin-bottom: 4px;
}

/* Sidebar */
.cpb-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cpb-sidebar .widget {
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--swl-box_shadow);
  padding: 20px;
}

.cpb-sidebar .widget-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color_main);
}

/* Pagination */
.cpb-pagination {
  margin-top: 40px;
  text-align: center;
}

.cpb-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.cpb-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f7f7f7;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: background .2s;
}

.cpb-pagination .page-numbers.current {
  background: var(--color_main);
  color: #fff;
}

.cpb-pagination .page-numbers:hover:not(.current) {
  background: #e0e0e0;
}

/* 404 */
.cpb-404__inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 60px 20px;
}

.cpb-404__title {
  font-size: 72px;
  font-weight: 800;
  color: var(--color_main);
  margin: 0 0 16px;
}

.cpb-404__message {
  font-size: 18px;
  color: #666;
  margin-bottom: 32px;
}

.cpb-404 .search-form {
  display: flex;
  max-width: 400px;
  margin: 0 auto 24px;
}

.cpb-404 .search-field {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--color_border);
  border-radius: 8px 0 0 8px;
  font-size: 14px;
}

.cpb-404 .search-submit {
  padding: 12px 20px;
  background: var(--color_main);
  color: #fff;
  border: none;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
}

/* Search results heading */
.cpb-search__heading {
  font-size: clamp(20px, 3vw, 28px);
  margin: 0 0 8px;
}

.cpb-search__count {
  color: #888;
  font-size: 14px;
  margin-bottom: 24px;
}

/* Archive description */
.cpb-archive__desc {
  color: #666;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
  padding: 16px;
  background: #f7f7f7;
  border-radius: 8px;
}

/* ==============================
   Article (single / page)
   ============================== */
.cpb-article__thumbnail {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.cpb-article__thumbnail .cpb-article__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cpb-article__header {
  padding: 32px 32px 0;
}

.cpb-article__author {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cpb-article__date {
  color: #888;
}

.cpb-article__date--modified {
  font-size: 12px;
}

.cpb-article__cat {
  display: inline-block;
  padding: 2px 10px;
  background: var(--color_main);
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  text-decoration: none;
  line-height: 1.6;
}

.cpb-article__cat:hover {
  opacity: .85;
}

.cpb-article .post_content {
  padding: 24px 32px 32px;
}

@media (max-width: 767px) {
  .cpb-article__header {
    padding: 20px 16px 0;
  }
  .cpb-article .post_content {
    padding: 16px 16px 24px;
  }
}

/* ==============================
   Post Navigation (prev/next)
   ============================== */
.cpb-postnav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.cpb-postnav__link {
  display: block;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--swl-box_shadow);
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s;
}

.cpb-postnav__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .1);
}

.cpb-postnav__link--next {
  text-align: right;
}

.cpb-postnav__label {
  display: block;
  font-size: 11px;
  color: #888;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.cpb-postnav__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 767px) {
  .cpb-postnav {
    grid-template-columns: 1fr;
  }
  .cpb-postnav__link--next {
    text-align: left;
  }
}

/* ==============================
   Card Grid (archive / search)
   ============================== */
.cpb-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.cpb-card__cat {
  display: inline-block;
  padding: 1px 8px;
  background: var(--color_main);
  color: #fff;
  border-radius: 3px;
  font-size: 11px;
  line-height: 1.6;
}

/* ==============================
   Archive Header
   ============================== */
.cpb-archive__header {
  margin-bottom: 32px;
}

.cpb-archive__title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 12px;
}

/* ==============================
   No Results
   ============================== */
.cpb-no-results {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--swl-box_shadow);
}

.cpb-no-results p {
  color: #666;
  margin-bottom: 16px;
}

.cpb-no-results__search {
  max-width: 400px;
  margin: 24px auto 0;
}

.cpb-no-results .search-form {
  display: flex;
}

.cpb-no-results .search-field {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--color_border);
  border-radius: 8px 0 0 8px;
  font-size: 14px;
}

.cpb-no-results .search-submit {
  padding: 12px 20px;
  background: var(--color_main);
  color: #fff;
  border: none;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
}

/* ==============================
   404 Extended
   ============================== */
.cpb-404__body {
  padding: 32px;
  text-align: center;
}

.cpb-404__body > p {
  color: #666;
  margin-bottom: 12px;
}

.cpb-404__search {
  max-width: 400px;
  margin: 32px auto;
}

.cpb-404__home {
  margin: 24px 0 40px;
}

.cpb-btn {
  display: inline-block;
  padding: 12px 32px;
  background: var(--color_main);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: opacity .2s;
}

.cpb-btn:hover {
  opacity: .85;
  color: #fff;
}

.cpb-404__recent {
  text-align: left;
  max-width: 500px;
  margin: 0 auto;
}

.cpb-404__subheading {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color_main);
}

.cpb-404__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cpb-404__list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color_border);
}

.cpb-404__list li a {
  color: var(--color_text);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
}

.cpb-404__list li a:hover {
  color: var(--color_main);
}

.cpb-404__list li time {
  color: #888;
  font-size: 12px;
  white-space: nowrap;
}

/* ==============================
   Widget (sidebar)
   ============================== */
.cpb-widget {
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--swl-box_shadow);
  padding: 20px;
  margin-bottom: 24px;
}

.cpb-widget__title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color_main);
}

/* ==============================
   Inner page layout padding
   ============================== */
.cpb-main > .cpb-breadcrumb + .l-container {
  padding-top: 0;
  padding-bottom: 60px;
}

.cpb-main > .l-container {
  padding-top: 100px;
  padding-bottom: 60px;
}

/* ==============================
   Mobile Fixed Footer Menu
   ============================== */
.cpb-fix-footer {
  display: none;
}

@media (max-width: 767px) {
  .cpb-fix-footer {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    box-shadow: 0 -2px 8px rgba(0,0,0,.08);
    padding: 0;
  }

  .cpb-fix-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
  }

  .cpb-fix-footer__list li {
    flex: 1;
  }

  .cpb-fix-footer__list a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 4px 6px;
    font-size: 10px;
    color: #666;
    text-decoration: none;
    transition: color .2s;
  }

  .cpb-fix-footer__list a:hover,
  .cpb-fix-footer__list .current-menu-item a {
    color: var(--color_main);
  }

  /* 固定フッターの高さ分、bodyにpaddingを追加 */
  body {
    padding-bottom: 56px;
  }
}
