.rph {
  --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;
  color: var(--rph-ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
}

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

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

.rph a {
  color: inherit;
  text-decoration: none;
}

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

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

.rph-owner-link {
  padding: 6px 14px;
  border-radius: 999px;
  background: #f4d6d3;
}

.rph-main {
  max-width: 1240px;
  min-height: 104px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 210px 1fr 190px 170px;
  align-items: center;
  gap: 20px;
  padding: 16px 22px;
  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, minmax(76px, 1fr));
  gap: 8px;
}

.rph-service-tab {
  min-height: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 6px;
  border: 2px solid var(--rph-line);
  border-radius: 8px;
  background: #fff;
  color: #2d3a40;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.rph-service-icon {
  width: 38px;
  height: 34px;
  display: block;
  position: relative;
  flex: 0 0 34px;
  color: var(--rph-blue);
}

.rph-tone-pink {
  border-color: #ff638b;
}

.rph-tone-pink .rph-service-icon,
.rph-tone-pink .rph-arrow {
  color: #ff4778;
}

.rph-tone-cyan {
  border-color: #18b9c8;
}

.rph-tone-cyan .rph-service-icon,
.rph-tone-cyan .rph-arrow {
  color: #18b9c8;
}

.rph-tone-gold {
  border-color: #f4bb1e;
}

.rph-tone-gold .rph-service-icon,
.rph-tone-gold .rph-arrow {
  color: #f4a900;
}

.rph-tone-green {
  border-color: #58bf63;
}

.rph-tone-green .rph-service-icon,
.rph-tone-green .rph-arrow {
  color: #42ad4a;
}

.rph-tone-purple {
  border-color: #9a7ed6;
}

.rph-tone-purple .rph-service-icon,
.rph-tone-purple .rph-arrow {
  color: #8362c9;
}

.rph-tone-indigo {
  border-color: #6f88d8;
}

.rph-tone-indigo .rph-service-icon,
.rph-tone-indigo .rph-arrow {
  color: #526fd0;
}

.rph-line-cta {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #39d86d, var(--rph-green));
  box-shadow: 0 6px 0 var(--rph-green-dark), 0 10px 22px rgba(27, 162, 68, .26);
  text-align: center;
  font-weight: 1000;
}

.rph-small,
.rph-drawer-small {
  display: block;
  font-size: 12px;
  line-height: 1;
}

.rph-line-bubble {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--rph-green);
  background: #fff;
  font-size: 16px;
  font-weight: 1000;
}

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

.rph-tel-label {
  color: #555;
  font-size: 13px;
}

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

.rph-open {
  margin-top: 5px;
  padding: 3px 12px;
  border: 1px solid var(--rph-red);
  border-radius: 4px;
  color: var(--rph-red);
  font-size: 12px;
}

.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 a {
  min-height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  border-left: 1px solid rgba(255, 255, 255, .22);
}

.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: 92px;
    display: grid;
    grid-template-columns: 1fr 146px 62px;
    gap: 10px;
    padding: 10px 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: 52px;
  }

  .rph-mascot {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border-width: 3px;
  }

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

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

  .rph-line-cta {
    min-height: 52px;
    padding: 6px 8px;
    gap: 5px;
    font-size: 12px;
    box-shadow: 0 5px 0 var(--rph-green-dark);
  }

  .rph-line-bubble {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    font-size: 12px;
  }

  .rph-menu-button {
    width: 62px;
    height: 62px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(180deg, #26b7e9, #1391c9);
    box-shadow: 0 4px 0 #0a75a6;
    display: grid;
    place-items: center;
    cursor: pointer;
  }

  .rph-menu-button span,
  .rph-menu-button span::before,
  .rph-menu-button span::after {
    display: block;
    width: 30px;
    height: 3px;
    border-radius: 999px;
    background: #fff;
    position: relative;
  }

  .rph-menu-button span::before,
  .rph-menu-button span::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .rph-menu-button span::before {
    top: -10px;
  }

  .rph-menu-button span::after {
    top: 10px;
  }

  .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;
  }

  .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,
  .rph-go {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #fff;
    background: currentColor;
    display: grid;
    place-items: center;
    font-size: 14px;
  }

  .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 {
    background: var(--rph-green);
  }

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

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

  .rph-mark {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .22);
    font-size: 12px;
  }

  .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 134px 56px;
    gap: 7px;
    padding: 8px;
  }

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

  .rph-line-cta {
    font-size: 11px;
  }

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