@charset "UTF-8";
/***************************************************************
 * 右下の料金案内（2026-11-16 追加）
 * マークアップ: price-guide.php ／ 動き: js/price-guide.js
 * スマホ・タブレット（1000px以下）では、下の LINE・TEL のバー（#sp_cta）の上に置きます。
***************************************************************/
.lpg {
  position: fixed;
  z-index: 89;
  right: 28px;
  bottom: 28px;
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  line-height: 1.5;
  text-align: left;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
.lpg:not(.is-ready) {
  display: none;
}
.lpg *,
.lpg *::before,
.lpg *::after {
  box-sizing: border-box;
}
.lpg p,
.lpg ul,
.lpg li {
  margin: 0;
  padding: 0;
}
.lpg li {
  list-style: none;
}
.lpg button {
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.lpg a {
  color: inherit;
  text-decoration: none;
}
.lpg a:focus-visible,
.lpg button:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}
.lpg .lpg-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.lpg-l {
  display: block;
  fill: #fff;
}

/* --- 普段：吹き出し＋丸ボタン --- */
.lpg-launch {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 12px;
}
.lpg-bubble {
  position: relative;
  margin-bottom: 18px;
  animation: lpg-bubble-in 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) 0.8s both;
}
.lpg.is-open .lpg-bubble,
.lpg.is-bubble-closed .lpg-bubble {
  display: none;
}
.lpg-bubble-open {
  display: block;
  padding: 12px 20px 13px 18px;
  background: #fff;
  border: 1px solid #000;
  border-radius: 18px 18px 4px 18px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  text-align: left;
}
.lpg-bubble-en {
  display: block;
  font-family: "Jost", sans-serif;
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.14em;
  line-height: 1.4;
  color: #8c8679;
}
.lpg-bubble-ja {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
  white-space: nowrap;
}
.lpg-bubble-close {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid #000;
  border-radius: 50%;
  background: #fff;
  font-family: "Jost", sans-serif;
  font-size: 13px;
  line-height: 22px;
  text-align: center;
}
.lpg-bubble-close::after {
  /* 指で押しやすいように、押せる範囲だけ広げる */
  content: "";
  position: absolute;
  inset: -10px;
}
.lpg-btn {
  position: relative;
  flex: none;
  width: 76px;
  height: 76px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #000;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.lpg-btn .lpg-l {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 22px;
  height: 38px;
  transform: translate(-42%, -50%);
}
.lpg-btn-tag {
  position: absolute;
  left: 50%;
  bottom: -9px;
  transform: translateX(-50%);
  padding: 4px 11px 5px;
  background: #f1f0e8;
  border: 1px solid #000;
  border-radius: 999px;
  font-family: "Jost", sans-serif;
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1;
  white-space: nowrap;
  color: #000;
}

/* --- 開いたとき：メニューのパネル --- */
.lpg-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 22px);
  width: 384px;
  max-height: calc(100vh - 160px);
  overflow: auto;
  overscroll-behavior: contain;
  background: #fbfaf6;
  border: 1px solid #c9c5bd;
  border-radius: 20px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}
.lpg-panel:focus {
  outline: none;
}
.lpg.is-open .lpg-panel {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
}
.lpg-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 56px 18px 18px;
  background: #f1f0e8;
  border-bottom: 1px solid #e2ded3;
  border-radius: 19px 19px 0 0;
}
.lpg-head-mark {
  flex: none;
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #000;
}
.lpg-head-mark .lpg-l {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13px;
  height: 23px;
  transform: translate(-42%, -50%);
}
.lpg-head-ttl {
  font-family: "Jost", sans-serif;
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.14em;
  line-height: 1.2;
}
.lpg-head-txt {
  margin-top: 4px !important;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: #4a463e;
}
.lpg-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #000;
  border-radius: 50%;
  background: #fff;
  font-family: "Jost", sans-serif;
  font-size: 16px;
  line-height: 30px;
  text-align: center;
}
.lpg-body {
  padding: 16px 16px 18px;
}
.lpg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.lpg-grid a {
  display: block;
  height: 100%;
  padding: 11px 13px 10px;
  background: #fff;
  border: 1px solid #e2ded3;
  border-radius: 12px;
  transition: border-color 0.2s ease;
}
.lpg-grid strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.45;
  white-space: nowrap;
}
.lpg-grid span {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  letter-spacing: 0.02em;
  line-height: 1.4;
  white-space: nowrap;
  color: #8c8679;
}
/* いま見ている料金ページのメニュー */
.lpg-grid a[aria-current="page"] {
  background: #f1f0e8;
  border-color: #000;
}
.lpg .lpg-all[aria-current="page"] {
  background: #f1f0e8;
}
.lpg-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  min-height: 46px;
  border: 1.5px solid #000;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: background-color 0.2s ease;
}
.lpg-all::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.5px solid #000;
  border-right: 1.5px solid #000;
  transform: rotate(45deg);
}
.lpg-contact {
  padding: 14px 16px 16px;
  background: #f1f0e8;
  border-top: 1px solid #e2ded3;
  border-radius: 0 0 19px 19px;
}
.lpg-contact-ttl {
  margin-bottom: 10px !important;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-align: center;
}
.lpg-contact-btns {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  gap: 8px;
}
.lpg-contact-btns a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 52px;
  border: 1.5px solid #000;
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
}
.lpg-contact-btns b {
  font-family: "Jost", sans-serif;
  font-weight: 400;
}
.lpg-contact-btns small {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.lpg .lpg-line {
  background: #000;
  color: #fff;
}
.lpg-line b {
  font-size: 17px;
  font-style: italic;
  letter-spacing: 0.08em;
}
.lpg-tel {
  background: #fff;
}
.lpg-tel b {
  font-size: 16px;
  letter-spacing: 0.04em;
}
.lpg-tel b em {
  margin-right: 6px;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.1em;
}

/* マウスで操作する端末だけ、触れたときの反応を付ける */
@media (hover: hover) {
  .lpg-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26);
  }
  .lpg-grid a:hover {
    border-color: #000;
  }
  .lpg-all:hover {
    background: #f1f0e8;
  }
}

@keyframes lpg-bubble-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ローディング中・メニューを開いている間は出さない */
html.is-loading .lpg,
body.is-global-nav-open .lpg {
  visibility: hidden;
}

/* --- スマホ・タブレット（1000px以下）：下の LINE・TEL のバーの上に置く --- */
@media screen and (max-width: 1000px) {
  .lpg {
    right: 14px;
    bottom: calc(18px + env(safe-area-inset-bottom));
    transition: bottom 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  /* 下のバーが出ている間は、その上へ */
  #sp_cta.is-shown ~ .lpg {
    bottom: calc(86px + env(safe-area-inset-bottom));
  }
  .lpg-bubble {
    margin-bottom: 14px;
  }
  .lpg-bubble-open {
    padding: 10px 16px 11px 15px;
  }
  .lpg-bubble-ja {
    font-size: 13px;
  }
  .lpg-btn {
    width: 64px;
    height: 64px;
  }
  .lpg-btn .lpg-l {
    width: 18px;
    height: 32px;
  }
  .lpg-btn-tag {
    bottom: -8px;
    padding: 3px 9px 4px;
    font-size: 10px;
  }
  .lpg-panel {
    right: -4px;
    bottom: calc(100% + 18px);
    width: min(384px, 100vw - 20px);
    max-height: calc(100vh - 250px);
    max-height: calc(100dvh - 250px);
  }
  .lpg-head {
    padding: 14px 54px 14px 14px;
  }
  .lpg-body {
    padding: 12px 12px 14px;
  }
  .lpg-contact {
    display: none; /* 下のバーに LINE・TEL があるので出さない */
  }
  /* 文字を入力している間は、下のバーと同じく隠す */
  body:has(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=hidden]):focus, textarea:focus, select:focus) .lpg {
    visibility: hidden;
  }
}
/* スマホの横向きなど、画面の高さが低いとき（下のバーも低くなる） */
@media screen and (max-width: 1000px) and (max-height: 500px) {
  #sp_cta.is-shown ~ .lpg {
    bottom: calc(68px + env(safe-area-inset-bottom));
  }
  .lpg-bubble {
    display: none;
  }
  /* 上には場所がないので、ボタンの左に開く */
  .lpg-panel {
    right: calc(100% + 14px);
    bottom: 0;
    width: min(384px, 100vw - 110px);
    max-height: calc(100vh - 140px);
    max-height: calc(100dvh - 140px);
  }
}
@media screen and (max-width: 340px) {
  .lpg-grid strong {
    font-size: 12px;
  }
  .lpg-grid span {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lpg,
  .lpg *,
  .lpg-bubble {
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  .lpg {
    display: none !important;
  }
}
