/* SWELLテーマ標準ヘッダーを非表示にし、独自ヘッダー(.rph)に統一する */
#header,
#fix_header {
  display: none !important;
}

:root {
  --rph-blue: #11aee8;
  --rph-blue-dark: #0789bf;
  --rph-green: #20c65a;
  --rph-green-dark: #0c9e3d;
  --rph-red: #d52b20;
  --rph-ink: #242424;
  --rph-muted: #6e7479;
  --rph-line: #e5edf2;
}

.rph,
.rph-drawer-layer {
  color: var(--rph-ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
}

.rph {
  /* ヘッダー全体を画面幅いっぱいに広げ、中身は内側で1240px中央寄せ */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

html.rph-menu-open {
  overflow: hidden;
}

.rph *,
.rph *::before,
.rph *::after,
.rph-drawer-layer *,
.rph-drawer-layer *::before,
.rph-drawer-layer *::after {
  box-sizing: border-box;
}

.rph a,
.rph-drawer-layer a {
  text-decoration: none;
}

.rph a {
  color: inherit;
}

.rph-top-strip {
  background: #fff;
  border-bottom: 1px solid var(--rph-line);
}

.rph-top-strip-inner {
  max-width: 1240px;
  height: 30px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  padding: 0 22px;
  font-size: 13px;
  font-weight: 800;
}

.rph-top-strip a.rph-top-link {
  color: var(--rph-blue);
}

.rph-top-strip a.rph-owner-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 14px;
  border-radius: 999px;
  background: #d6eefe;
  color: #0b6a9c;
}

.rph-owner-arrow {
  font-size: 16px;
  line-height: 1;
  font-weight: 900;
}

.rph-main {
  max-width: 1240px;
  min-height: 92px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 195px 1fr 220px 160px;
  align-items: center;
  gap: 16px;
  padding: 12px 22px 6px;
  background: #fff;
}

.rph-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rph-logo-img {
  display: block;
  width: 100%;
  max-width: 210px;
  height: auto;
}

.rph-mascot {
  width: 54px;
  height: 54px;
  border: 4px solid #ffd45b;
  border-radius: 18px;
  background:
    radial-gradient(circle at 64% 28%, #fff 0 8px, transparent 9px),
    radial-gradient(circle at 32% 38%, #fff 0 7px, transparent 8px),
    linear-gradient(145deg, #ffd95b, #f5a613);
  position: relative;
  box-shadow: inset 0 -8px 0 rgba(142, 86, 4, .12);
  flex: 0 0 auto;
}

.rph-mascot::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: 12px;
  width: 22px;
  height: 9px;
  border-radius: 0 0 18px 18px;
  border-bottom: 4px solid #7d4b0d;
}

.rph-logo-sub {
  display: block;
  margin-bottom: 4px;
  color: #333;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.rph-logo {
  display: block;
  color: var(--rph-blue);
  font-size: 34px;
  font-weight: 1000;
  line-height: 1;
}

.rph-service-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  width: 100%;
}

.rph-service-item {
  position: relative;
  min-width: 0;
}

.rph-service-tab {
  min-width: 0;
  min-height: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  padding: 8px 3px;
  border-radius: 8px;
  background: #fff;
  color: #2d3a40;
  font-size: 10.5px;
  font-weight: 1000;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}

.rph-service-icon {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
  transition: filter .15s ease;
}

/* ホバー時：背景がトーン色・アイコンと文字が白に反転 */
.rph-service-item:hover .rph-service-tab {
  color: #fff;
}

.rph-service-item:hover .rph-service-icon {
  filter: brightness(0) invert(1);
}

/* 解体・不用品アイコンは絵柄が大きめなので、箱は40pxのまま中身だけ縮小（ラベル高さを揃える） */
.rph-service-item.rph-tone-purple .rph-service-icon {
  padding: 3px;
}

.rph-service-item.rph-tone-pink:hover   .rph-service-tab { background: #ff4778; }
.rph-service-item.rph-tone-cyan:hover   .rph-service-tab { background: #18b9c8; }
.rph-service-item.rph-tone-gold:hover   .rph-service-tab { background: #f4a900; }
.rph-service-item.rph-tone-green:hover  .rph-service-tab { background: #42ad4a; }
.rph-service-item.rph-tone-purple:hover .rph-service-tab { background: #8362c9; }
.rph-service-item.rph-tone-indigo:hover .rph-service-tab { background: #526fd0; }

/* サービスのドロップダウン（ホバーで出現） */
.rph-service-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 168px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 2px 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 200;
}

.rph-service-item:hover .rph-service-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.rph-service-menu-link {
  display: block;
  padding: 9px 12px;
  border-radius: 7px;
  color: #333;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: background-color .12s ease;
}

/* サブメニュー左の三角矢印（角を丸めた柔らかい三角・カテゴリのテーマカラー） */
.rph-service-menu-link::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 12px;
  margin-right: 8px;
  vertical-align: middle;
  background-color: #bbb;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2012%2014'%3E%3Cpath%20d='M3%203L9.5%207L3%2011Z'%20fill='black'%20stroke='black'%20stroke-width='3.4'%20stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2012%2014'%3E%3Cpath%20d='M3%203L9.5%207L3%2011Z'%20fill='black'%20stroke='black'%20stroke-width='3.4'%20stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.rph-tone-pink   .rph-service-menu-link::before { background-color: #ff4778; }
.rph-tone-cyan   .rph-service-menu-link::before { background-color: #18b9c8; }
.rph-tone-gold   .rph-service-menu-link::before { background-color: #f4a900; }
.rph-tone-green  .rph-service-menu-link::before { background-color: #42ad4a; }
.rph-tone-purple .rph-service-menu-link::before { background-color: #8362c9; }
.rph-tone-indigo .rph-service-menu-link::before { background-color: #526fd0; }

.rph-service-menu-link:hover {
  background: #f1f6f9;
}

/* ドロワー（モバイル）の枠線色 */
.rph-tone-pink   { border-color: #ff638b; }
.rph-tone-cyan   { border-color: #18b9c8; }
.rph-tone-gold   { border-color: #f4bb1e; }
.rph-tone-green  { border-color: #58bf63; }
.rph-tone-purple { border-color: #9a7ed6; }
.rph-tone-indigo { border-color: #6f88d8; }

/* ドロワー矢印の色 */
.rph-tone-pink   .rph-arrow { color: #ff4778; }
.rph-tone-cyan   .rph-arrow { color: #18b9c8; }
.rph-tone-gold   .rph-arrow { color: #f4a900; }
.rph-tone-green  .rph-arrow { color: #42ad4a; }
.rph-tone-purple .rph-arrow { color: #8362c9; }
.rph-tone-indigo .rph-arrow { color: #526fd0; }

.rph-line-cta {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 8px 20px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, #bce6a0 0%, #5cb83a 70%, #4fae2e 100%);
  box-shadow: 0 6px 0 #3f8f24, 0 10px 22px rgba(95, 160, 55, .26);
  text-align: left;
  font-weight: 1000;
}

.rph-line-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
  color: #fff;
  font-weight: 1000;
}

.rph-line-text-mobile {
  display: none;
}

.rph-small,
.rph-drawer-small {
  display: block;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 3px;
}

.rph-line-bubble {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
}

.rph-line-bubble img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.rph-line-bubble-mobile {
  display: none;
}

.rph-tel-box {
  text-align: center;
  font-weight: 900;
}

.rph-tel-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #555;
  font-size: 12px;
  white-space: nowrap;
}

.rph-tel-icon svg {
  width: 13px;
  height: 13px;
  display: block;
}

.rph-tel-number {
  display: block;
  color: #2a2f33;
  font-size: 24px;
  line-height: 1.1;
}

.rph-tel-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 3px;
}

.rph-open {
  padding: 2px 9px;
  border: 1px solid var(--rph-red);
  border-radius: 4px;
  color: var(--rph-red);
  font-size: 11px;
  line-height: 1.3;
}

.rph-tel-hours {
  color: #2a2f33;
  font-size: 12px;
  font-weight: 800;
}

.rph-menu-button {
  display: none;
}

.rph-main-nav {
  background: var(--rph-blue);
}

.rph-main-nav ul {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 22px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.rph-main-nav li {
  margin: 0 !important;
}

.rph-main-nav a {
  min-height: 44px;
  height: 100%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  border-left: 1px solid rgba(255, 255, 255, .22);
  transition: background-color .15s ease, color .15s ease;
}

/* ホバーで色反転（白背景＋青文字） */
.rph-main-nav a:hover {
  background: #fff;
  color: var(--rph-blue);
}

.rph-main-nav li:last-child a {
  border-right: 1px solid rgba(255, 255, 255, .22);
}

.rph-drawer-layer {
  display: none;
}

.rph-icon-roof::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-bottom: 14px solid currentColor;
}

.rph-icon-roof::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 17px;
  width: 20px;
  height: 14px;
  border: 3px solid currentColor;
  border-top: 0;
  border-radius: 0 0 4px 4px;
}

.rph-icon-room::before {
  content: "";
  position: absolute;
  inset: 7px 4px 5px;
  border: 3px solid currentColor;
  border-radius: 4px;
  transform: skewX(-12deg);
}

.rph-icon-room::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 6px;
  bottom: 9px;
  height: 3px;
  background: currentColor;
  box-shadow: 0 -7px 0 currentColor;
  transform: skewX(-12deg);
}

.rph-icon-water::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 9px;
  width: 22px;
  height: 10px;
  border: 4px solid currentColor;
  border-right: 0;
  border-radius: 10px 0 0 10px;
}

.rph-icon-water::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: 2px;
  width: 12px;
  height: 18px;
  border-radius: 12px 12px 14px 14px;
  background: currentColor;
  transform: rotate(18deg);
}

.rph-icon-garden::before {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 4px;
  width: 30px;
  height: 12px;
  border: 3px solid currentColor;
  border-top: 0;
  border-radius: 0 0 5px 5px;
}

.rph-icon-garden::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50% 50% 45% 45%;
  background: currentColor;
  box-shadow: 8px 8px 0 -3px currentColor;
}

.rph-icon-clean::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 8px;
  width: 24px;
  height: 15px;
  border: 3px solid currentColor;
  border-radius: 4px;
}

.rph-icon-clean::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 13px;
  width: 10px;
  height: 10px;
  border: 3px solid currentColor;
  border-radius: 50%;
  box-shadow: -21px 8px 0 -4px currentColor, -4px 8px 0 -4px currentColor;
}

.rph-icon-electric::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 5px;
  width: 25px;
  height: 15px;
  border: 3px solid currentColor;
  border-radius: 5px;
}

.rph-icon-electric::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 2px;
  width: 14px;
  height: 22px;
  background: currentColor;
  clip-path: polygon(45% 0, 100% 0, 62% 42%, 100% 42%, 35% 100%, 48% 54%, 0 54%);
}

@media (max-width: 960px) {
  .rph-top-strip,
  .rph-service-tabs,
  .rph-tel-box,
  .rph-main-nav {
    display: none;
  }

  .rph-main {
    min-height: 64px;
    display: grid;
    grid-template-columns: 1fr 132px 52px;
    gap: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--rph-line);
  }

  .rph-brand {
    min-width: 0;
    gap: 8px;
  }

  .rph-logo-img {
    width: auto;
    max-width: 100%;
    max-height: 38px;
  }

  .rph-mascot {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    border-width: 3px;
  }

  .rph-logo-sub {
    font-size: 9px;
  }

  .rph-logo {
    font-size: 24px;
    white-space: nowrap;
  }

  .rph-line-cta {
    min-height: 36px;
    padding: 8px 10px 3px;
    gap: 6px;
    font-size: 11px;
    box-shadow: 0 3px 0 var(--rph-green-dark);
  }

  .rph-line-text-pc {
    display: none;
  }

  .rph-line-text-mobile {
    display: block;
    font-size: 11px;
    line-height: 1.25;
    white-space: normal;
  }

  .rph-line-bubble {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
  }

  .rph-line-bubble img.rph-line-bubble-pc {
    display: none;
  }

  .rph-line-bubble-mobile {
    display: block;
    width: 100%;
    height: 100%;
  }

  .rph-menu-button {
    width: 52px;
    height: 47px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(180deg, #26b7e9, #1391c9);
    box-shadow: 0 3px 0 #0a75a6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-top: 13px;
    gap: 5px;
    cursor: pointer;
  }

  .rph-menu-bars {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 17px;
  }

  .rph-menu-bars span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: #fff;
  }

  .rph-menu-label {
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .02em;
    white-space: nowrap;
  }

  .rph-drawer-layer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: block;
  }

  .rph-drawer-layer[hidden] {
    display: none;
  }

  .rph-drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .64);
  }

  .rph-drawer {
    position: absolute;
    top: 0;
    right: 0;
    width: min(82vw, 320px);
    height: 100%;
    overflow-y: auto;
    background: #fff;
    box-shadow: -12px 0 24px rgba(0, 0, 0, .25);
    padding: 16px 16px 24px;
  }

  .rph-close-area {
    position: absolute;
    top: 0;
    left: -62px;
    width: 62px;
    height: 86px;
    border: 0;
    color: #fff;
    background: transparent;
    display: grid;
    place-items: center;
    text-align: center;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    opacity: 1;
  }

  /* 閉じるボタン（×印＋「閉じる」）は、押した瞬間に即座に消す。
     ドロワー本体・オーバーレイのフェード（.3s前後）を待たずに非表示にするため、
     rph-openが外れた時点（クリック直後）でtransitionなしのopacity:0にする。 */
  .rph-drawer-layer:not(.rph-open) .rph-close-area {
    opacity: 0;
    pointer-events: none;
  }

  .rph-close-x {
    width: 40px;
    height: 40px;
    position: relative;
  }

  .rph-close-x::before,
  .rph-close-x::after {
    content: "";
    position: absolute;
    top: 18px;
    left: 3px;
    width: 35px;
    height: 3px;
    background: #fff;
    transform: rotate(45deg);
  }

  .rph-close-x::after {
    transform: rotate(-45deg);
  }

  .rph-drawer-list,
  .rph-drawer-cta {
    display: grid;
    gap: 8px;
    margin-bottom: 13px;
  }

  .rph-drawer-service {
    min-height: 58px;
    display: grid;
    grid-template-columns: 42px 1fr 22px;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 2px solid var(--rph-line);
    border-radius: 8px;
    background: #fff;
    color: var(--rph-ink);
    font-size: 15px;
    font-weight: 1000;
    line-height: 1.35;
  }

  .rph-drawer-service .rph-service-icon {
    width: 34px;
    height: 30px;
  }

  .rph-arrow {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #fff;
    background: currentColor;
    display: grid;
    place-items: center;
    font-size: 14px;
  }

  .rph-go {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    font-size: 16px;
    font-style: normal;
    line-height: 1;
  }

  .rph-drawer-line,
  .rph-drawer-mail,
  .rph-drawer-tel {
    min-height: 52px;
    display: grid;
    grid-template-columns: 34px 1fr 24px;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #fff;
    font-weight: 1000;
    text-align: center;
    box-shadow: 0 7px 15px rgba(0, 0, 0, .16);
  }

  .rph-drawer-line span,
  .rph-drawer-mail span,
  .rph-drawer-tel span {
    color: #fff;
  }

  .rph-drawer-line {
    background: var(--rph-green);
  }

  .rph-drawer-mail {
    background: var(--rph-blue);
  }

  .rph-drawer-tel {
    background: #2d2f32;
  }

  .rph-mark {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    font-size: 12px;
    overflow: hidden;
  }

  .rph-mark svg {
    width: 19px;
    height: 19px;
    display: block;
  }

  .rph-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .rph-drawer-line .rph-mark {
    background: transparent;
  }

  .rph-drawer-mail .rph-mark svg {
    color: var(--rph-blue);
  }

  .rph-drawer-tel .rph-mark svg {
    color: #2d2f32;
  }

  .rph-drawer-line .rph-go {
    color: var(--rph-green);
  }

  .rph-drawer-mail .rph-go {
    color: var(--rph-blue);
  }

  .rph-drawer-tel .rph-go {
    color: #2d2f32;
  }

  .rph-subgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .rph-subgrid a {
    min-height: 56px;
    display: grid;
    place-items: center;
    padding: 8px 4px;
    border: 1px solid #bfc8ce;
    border-radius: 8px;
    color: #333;
    background: #fff;
    font-size: 11px;
    font-weight: 900;
    text-align: center;
  }
}

@media (max-width: 390px) {
  .rph-main {
    grid-template-columns: 1fr 118px 46px;
    gap: 6px;
    padding: 7px 10px;
  }

  .rph-logo {
    font-size: 20px;
  }

  .rph-line-cta {
    font-size: 10px;
    padding: 7px 8px 2px;
    gap: 5px;
  }

  .rph-line-text-mobile {
    font-size: 10px;
  }

  .rph-line-bubble {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
  }

  .rph-menu-button {
    width: 46px;
    height: 43px;
  }

  .rph-menu-bars {
    width: 22px;
    height: 15px;
  }

  .rph-menu-label {
    font-size: 9px;
  }
}

/* === 追従ヘッダー（青帯を除く上部のみ・スクロールでスッと出現・下に影） === */
.rph-spacer {
  height: 0;
}

.rph.is-stuck {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin: 0;
  z-index: 9990;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .16);
  background: #fff;
}

body.admin-bar .rph.is-stuck {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .rph.is-stuck {
    top: 46px;
  }
}

/* === ドロワー：右からスライドイン＋カテゴリのアコーディオン === */
@media (max-width: 960px) {
  .rph-drawer-overlay {
    opacity: 0;
    transition: opacity .3s ease;
  }

  .rph-drawer {
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
  }

  .rph-drawer-layer.rph-open .rph-drawer-overlay {
    opacity: 1;
  }

  .rph-drawer-layer.rph-open .rph-drawer {
    transform: translateX(0);
  }

  .rph-drawer-item {
    display: block;
  }

  .rph-drawer-service {
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
  }

  .rph-drawer-service .rph-arrow {
    transition: transform .2s ease;
  }

  .rph-drawer-service[aria-expanded="true"] .rph-arrow {
    transform: rotate(90deg);
  }

  .rph-drawer-submenu {
    display: grid;
    gap: 2px;
    padding: 6px 8px 10px 12px;
  }

  .rph-drawer-submenu[hidden] {
    display: none;
  }

  .rph-drawer-sublink {
    display: block;
    position: relative;
    padding: 9px 10px 9px 20px;
    border-radius: 7px;
    color: #3a3a3a;
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.3;
  }

  .rph-drawer-sublink::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-50%) rotate(-45deg);
    opacity: .8;
  }

  .rph-drawer-sublink:active {
    background: #f1f6f9;
  }

  .rph-tone-pink   .rph-drawer-sublink { color: #d63a66; }
  .rph-tone-cyan   .rph-drawer-sublink { color: #1499a6; }
  .rph-tone-gold   .rph-drawer-sublink { color: #cf8f00; }
  .rph-tone-green  .rph-drawer-sublink { color: #3a9740; }
  .rph-tone-purple .rph-drawer-sublink { color: #7355bd; }
  .rph-tone-indigo .rph-drawer-sublink { color: #4a63bd; }

  /* カテゴリ矢印：丸ボタン→角丸の下向きシェブロン */
  .rph-drawer-service .rph-arrow {
    width: 13px;
    height: 13px;
    border-radius: 0;
    background: transparent;
    border-right: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
    border-bottom-right-radius: 3px;
    font-size: 0;
    display: block;
    justify-self: center;
    align-self: center;
    transform: rotate(45deg);
    transition: transform .2s ease;
  }

  .rph-drawer-service[aria-expanded="true"] .rph-arrow {
    transform: rotate(225deg);
  }

  /* CTAの文字サイズを統一 */
  .rph-drawer-line > span:nth-child(2),
  .rph-drawer-mail > span:nth-child(2),
  .rph-drawer-tel > span:nth-child(2) {
    font-size: 15px;
    font-weight: 1000;
  }

  /* カテゴリカードの枠色（ページCSSから一本化） */
  .rph-drawer-service.rph-tone-pink   { border-color: #ff638b; }
  .rph-drawer-service.rph-tone-cyan   { border-color: #18b9c8; }
  .rph-drawer-service.rph-tone-gold   { border-color: #f4bb1e; }
  .rph-drawer-service.rph-tone-green  { border-color: #58bf63; }
  .rph-drawer-service.rph-tone-purple { border-color: #9a7ed6; }
  .rph-drawer-service.rph-tone-indigo { border-color: #6f88d8; }

  /* 閉じる×を画面左上に固定（レイヤー直下へ移動しクリップ回避） */
  .rph-close-area {
    top: 10px !important;
    left: 10px !important;
    width: 52px !important;
    height: auto !important;
    z-index: 5;
  }
}

/* ===== ホバーで薄くなる（LINEボタン・電話番号）2026-06-28 ===== */
.rph-line-cta { transition: opacity .2s ease; }
.rph-line-cta:hover { opacity: .8; }
.rph-tel-box { transition: opacity .2s ease; }
.rph-tel-box:hover { opacity: .6; }
