/* ========================================
   Header Styles - PC
   ======================================== */

.header-pc {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 40px;
  background-color: var(--color-base-white);
  box-shadow: 0px 16px 32px 0px rgba(158, 29, 29, 0.08);
  height: var(--header-height, 120px);
  position: relative;
  z-index: 100;
}

/* PCヘッダーを上部に固定（topbar はそのままスクロールして流れる）。
   header-pc 自身は親ラッパー(.pc-only)が短く sticky が効かないため、
   header-pc を含むラッパー(.pc-only)ごと sticky にする。全ページ共通。 */
.pc-only:has(> .header-pc) {
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-pc__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header-pc__logo {
  flex-shrink: 0;
}

.header-pc__logo a {
  display: block;
}

.header-pc__logo img {
  width: 206px;
  height: 32px;
  object-fit: contain;
}

.header-pc__content {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
}

.header-pc__top-row {
  display: flex;
  gap: 40px;
  align-items: center;
}

.header-pc__sub-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.header-pc__sub-nav a {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.7;
  text-decoration: none;
  color: #000000;
  transition: opacity 0.3s ease;
}

.header-pc__sub-nav a:hover {
  opacity: 0.7;
}

.header-pc__lang-switch {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-pc__lang-item {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.header-pc__lang-item--active {
  font-weight: 700;
  color: #000000;
}

.header-pc__lang-item--inactive {
  font-weight: 400;
  color: var(--color-base-disable);
}

.header-pc__lang-item--inactive:hover {
  opacity: 0.7;
}

.header-pc__divider {
  width: 24px;
  height: 0;
  border-top: 1px solid var(--color-base-disable);
  transform: rotate(90deg);
}

.header-pc__main-nav {
  display: flex;
  gap: 48px;
  align-items: center;
}

.header-pc__main-nav a,
.header-pc__main-nav-btn {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-base-black);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.header-pc__main-nav a:hover,
.header-pc__main-nav-btn:hover {
  opacity: 0.7;
}

.header-pc__main-nav-btn--active {
  color: var(--color-base-safety-red);
}

/* ========================================
   PC Portmap Modal Styles
   ======================================== */

.pc-portmap-modal {
  position: fixed;
  top: 152px;
  left: 0;
  width: 100%;
  height: calc(100vh - 152px);
  background-color: var(--color-base-bg-gray);
  z-index: 99;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 0.3s, opacity 0.3s ease;
}

.pc-portmap-modal[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
  transition: visibility 0s, opacity 0.3s ease;
}

.pc-portmap-modal__content {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding: 48px 40px 32px;
}

.pc-portmap-modal__inner {
  max-width: 1040px;
  margin: 0 auto;
}

.pc-portmap-modal__hero-title,
.pc-portmap-modal__section-heading,
.pc-portmap-modal__section-title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  color: var(--color-base-black);
}

.pc-portmap-modal__hero-title {
  font-size: 44px;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

.pc-portmap-modal__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  margin-top: 24px;
}

.pc-portmap-modal__body {
  display: grid;
  grid-template-columns: 376px minmax(0, 1fr);
  gap: 40px;
  margin-top: 32px;
}

.pc-portmap-modal__left,
.pc-portmap-modal__right {
  display: flex;
  flex-direction: column;
}

.pc-portmap-modal__left {
  width: 376px;
}

.pc-portmap-modal__section-heading,
.pc-portmap-modal__section-title {
  font-size: 24px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.pc-portmap-modal__current-location {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  padding: 4px 12px;
  background-color: var(--color-base-white);
  border-radius: 24px;
  box-shadow: 0px 4px 16px 0px rgba(140, 7, 8, 0.16);
  color: var(--color-base-black);
}

.pc-portmap-modal__current-location-icon,
.pc-portmap-modal__popular-icon,
.pc-portmap-modal__service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.pc-portmap-modal__current-location-text,
.pc-portmap-modal__popular-text,
.pc-portmap-modal__legend-item,
.pc-portmap-modal__accordion-label,
.pc-portmap-modal__service-name,
.pc-portmap-modal__list-link {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  color: var(--color-base-black);
}

.pc-portmap-modal__current-location-text,
.pc-portmap-modal__popular-text,
.pc-portmap-modal__service-name,
.pc-portmap-modal__list-link {
  font-size: 16px;
  line-height: 1.7;
}

.pc-portmap-modal__section {
  margin-top: 0;
}

.pc-portmap-modal__popular-list,
.pc-portmap-modal__service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pc-portmap-modal__popular-list {
  margin-top: 16px;
}

.pc-portmap-modal__popular-tag,
.pc-portmap-modal__service-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background-color: var(--color-base-white);
  border: none;
  border-radius: 24px;
  box-shadow: 0px 4px 16px 0px rgba(140, 7, 8, 0.16);
  text-decoration: none;
}

.pc-portmap-modal__popular-tag {
  cursor: pointer;
}

.pc-portmap-modal__popular-icon img,
.pc-portmap-modal__service-icon img {
  display: block;
  width: 16px;
  height: 20px;
}

.pc-portmap-modal__legend {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  margin-bottom: 16px;
}

.pc-portmap-modal__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  line-height: 1.7;
}

.pc-portmap-modal__legend-item img {
  display: block;
  width: 16px;
  height: 20px;
}

.pc-portmap-modal__accordions {
  margin-top: 16px;
  border-top: 1px solid var(--color-base-line);
}

.pc-portmap-modal__accordion {
  border-bottom: 1px solid var(--color-base-line);
}

.pc-portmap-modal__accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.pc-portmap-modal__accordion-label {
  font-size: 16px;
  line-height: 1.7;
}

.pc-portmap-modal__accordion-icon {
  position: relative;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--color-base-black);
  box-shadow: 0px 4px 16px 0px rgba(140, 7, 8, 0.16);
}

.pc-portmap-modal__accordion-icon::before,
.pc-portmap-modal__accordion-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background-color: var(--color-base-white);
  transform: translate(-50%, -50%);
}

.pc-portmap-modal__accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: opacity 0.2s ease;
}

.pc-portmap-modal__accordion-trigger[aria-expanded="true"] .pc-portmap-modal__accordion-icon::after {
  opacity: 0;
}

.pc-portmap-modal__accordion-panel {
  padding-bottom: 24px;
}

.pc-portmap-modal__accordion-panel-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 24px 40px;
  background-color: var(--color-base-white);
  border-radius: 16px;
}

.pc-portmap-modal__prefecture {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 24px 0;
}

.pc-portmap-modal__prefecture:first-child {
  padding-top: 0;
}

.pc-portmap-modal__prefecture + .pc-portmap-modal__prefecture {
  border-top: 1px solid var(--color-base-line);
}

.pc-portmap-modal__prefecture:last-child {
  padding-bottom: 0;
}

.pc-portmap-modal__prefecture-name {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--color-base-black);
}

.pc-portmap-modal__service-tag {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pc-portmap-modal__service-tag--highlight {
  transform: translateY(-1px);
  box-shadow: 0px 8px 20px 0px rgba(140, 7, 8, 0.22);
}

.pc-portmap-modal__list-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 343px;
  min-height: 49px;
  margin: 32px auto 0;
  padding: 12px 20px;
  background-color: var(--color-base-black);
  border-radius: 12px;
  box-shadow: 0px 4px 16px 0px rgba(140, 7, 8, 0.16);
  color: var(--color-base-white);
  text-align: center;
  transition: background-color 0.2s ease;
}

.pc-portmap-modal__list-link:hover {
  background-color: var(--color-base-safety-red);
  opacity: 1;
}

.pc-portmap-modal__close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 24px auto 0;
  border: none;
  border-radius: 50%;
  background-color: var(--color-base-white);
  box-shadow: 0px 0px 16px 0px rgba(140, 7, 8, 0.12);
  cursor: pointer;
}

.pc-portmap-modal__close-btn:hover,
.pc-portmap-modal__popular-tag:hover,
.pc-portmap-modal__service-tag:hover {
  opacity: 0.85;
}

body.pc-portmap-modal-open {
  overflow: hidden;
}

/* ========================================
   Header Styles - SP
   ======================================== */

.header-sp {
  display: flex;
  flex-direction: column;
  background-color: var(--color-base-white);
  box-shadow: 0px 12px 18px 0px rgba(158, 29, 29, 0.08);
  position: relative;
}

/* SPヘッダー: 下段ナビ(header-sp__gnav)だけを上部に固定（トップページ以外）。
   ヘッダーラッパー(.sp-only)を負の top で sticky にし、上段(header-sp__top: 56px)が
   画面外に流れたところで gnav が上端(top:0)に固定される。
   topbar・header-sp__top はそのままスクロールで流れる。
   ラッパーごと sticky にすることで、containing block が body(ページ全体)になり
   ページ末尾まで固定が維持される。 */
.sp-header-sticky {
  position: sticky;
  top: -56px;
  z-index: 1000;
}

/* Top Row: Logo + FAQ + MENU */
.header-sp__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  width: 100%;
  background-color: var(--color-base-white);
  position: relative;
  z-index: 1002;
  box-sizing: border-box;
}

.header-sp__logo {
  padding: 0 0 0 16px;
  flex-shrink: 0;
}

.header-sp__logo a {
  display: flex;
  align-items: center;
}

.header-sp__logo img {
  width: 129px;
  height: 20px;
  object-fit: contain;
}

.header-sp__nav {
  display: flex;
  align-items: center;
}

.header-sp__nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition: opacity 0.3s ease;
  padding: 16px;
}

.header-sp__nav-item:hover {
  opacity: 0.7;
}

.header-sp__nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-sp__nav-icon._faq {
  width: 22px;
  height: 22px;
}

.header-sp__nav-icon._menu {
  width: 18px;
  height: 16px;
}

.header-sp__nav-icon img {
  max-width: 100%;
  max-height: 100%;
}

.header-sp__nav-text {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-base-black);
}

/* Global Navigation */
.header-sp__gnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px 16px;
  width: 100%;
  background-color: var(--color-base-white);
  position: relative;
  z-index: 99;
}

.header-sp__gnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.header-sp__gnav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.header-sp__gnav-icon img {
  width: 100%;
  height: 100%;
}

.header-sp__gnav-text {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
  color: var(--color-base-black);
  width: 60px;
}

.header-sp__gnav-item--active .header-sp__gnav-text {
  color: var(--color-base-safety-red);
}

.header-sp__gnav-item--portmap.header-sp__gnav-item--active .header-sp__gnav-icon img {
  content: url("/assets/img/common/header/icon_map_active.png");
}

/* Menu Button Active State */
.header-sp__menu-btn--active {
  background-color: var(--color-base-bg-gray);
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
}

.header-sp__menu-btn--active .header-sp__nav-icon._menu img {
  display: none;
}

.header-sp__menu-btn--active .header-sp__nav-icon._menu {
  width: 24px;
  height: 24px;
}

.header-sp__menu-btn--active .header-sp__nav-icon._menu::before {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L13 13M13 1L1 13' stroke='%236D717A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.header-sp__menu-btn--active .header-sp__nav-text {
  color: var(--color-base-caption);
}

/* ========================================
  SP Portmap Modal Styles
  ======================================== */

.sp-portmap-modal {
  position: fixed;
  top: 189px;
  left: 0;
  width: 100%;
  height: calc(100% - 189px);
  background-color: var(--color-base-bg-gray);
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 0.3s, opacity 0.3s ease;
}

.sp-portmap-modal[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
  transition: visibility 0s, opacity 0.3s ease;
}

.sp-portmap-modal__content {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding: 32px 16px 104px;
}

.sp-portmap-modal__inner {
  width: 100%;
  max-width: 343px;
  margin: 0 auto;
}

.sp-portmap-modal__title,
.sp-portmap-modal__section-title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  color: var(--color-base-black);
  letter-spacing: 0.04em;
}

.sp-portmap-modal__title {
  font-size: 22px;
  line-height: 1.6;
}

.sp-portmap-modal__current-location {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 32px;
  padding: 4px 12px;
  background-color: var(--color-base-white);
  border-radius: 24px;
  box-shadow: 0px 4px 16px 0px rgba(140, 7, 8, 0.16);
  color: var(--color-base-black);
}

.sp-portmap-modal__current-location-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.sp-portmap-modal__current-location-text,
.sp-portmap-modal__popular-text,
.sp-portmap-modal__legend-item,
.sp-portmap-modal__accordion-label,
.sp-portmap-modal__service-name,
.sp-portmap-modal__list-link {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  color: var(--color-base-black);
}

.sp-portmap-modal__current-location-text,
.sp-portmap-modal__popular-text,
.sp-portmap-modal__list-link {
  font-size: 16px;
  line-height: 1.7;
}

.sp-portmap-modal__section {
  margin-top: 32px;
}

.sp-portmap-modal__section-title {
  margin-bottom: 16px;
  font-size: 18px;
  line-height: 1.6;
}

.sp-portmap-modal__popular-list,
.sp-portmap-modal__service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sp-portmap-modal__popular-tag,
.sp-portmap-modal__service-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background-color: var(--color-base-white);
  border: none;
  border-radius: 24px;
  box-shadow: 0px 4px 16px 0px rgba(140, 7, 8, 0.16);
  text-decoration: none;
}

.sp-portmap-modal__popular-tag {
  cursor: pointer;
}

.sp-portmap-modal__popular-icon,
.sp-portmap-modal__service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 20px;
  flex-shrink: 0;
}

.sp-portmap-modal__popular-icon img,
.sp-portmap-modal__service-icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.sp-portmap-modal__legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.sp-portmap-modal__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  line-height: 1.7;
}

.sp-portmap-modal__legend-item img {
  display: block;
  width: 16px;
  height: 20px;
}

.sp-portmap-modal__accordions {
  border-top: 1px solid var(--color-base-line);
}

.sp-portmap-modal__accordion {
  border-bottom: 1px solid var(--color-base-line);
}

.sp-portmap-modal__accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.sp-portmap-modal__accordion-label {
  font-size: 16px;
  line-height: 1.7;
}

.sp-portmap-modal__accordion-icon {
  position: relative;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--color-base-black);
  box-shadow: 0px 4px 16px 0px rgba(140, 7, 8, 0.16);
}

.sp-portmap-modal__accordion-icon::before,
.sp-portmap-modal__accordion-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background-color: var(--color-base-white);
  transform: translate(-50%, -50%);
}

.sp-portmap-modal__accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: opacity 0.2s ease;
}

.sp-portmap-modal__accordion-trigger[aria-expanded="true"] .sp-portmap-modal__accordion-icon::after {
  opacity: 0;
}

.sp-portmap-modal__accordion-panel {
  padding-bottom: 24px;
}

.sp-portmap-modal__accordion-panel-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 24px 16px;
  background-color: var(--color-base-white);
  border-radius: 16px;
}

.sp-portmap-modal__prefecture {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 24px 0;
}

.sp-portmap-modal__prefecture:first-child {
  padding-top: 0;
}

.sp-portmap-modal__prefecture + .sp-portmap-modal__prefecture {
  border-top: 1px solid var(--color-base-line);
}

.sp-portmap-modal__prefecture:last-child {
  padding-bottom: 0;
}

.sp-portmap-modal__prefecture-name {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--color-base-black);
}

.sp-portmap-modal__service-tag {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sp-portmap-modal__service-tag--highlight {
  transform: translateY(-1px);
  box-shadow: 0px 8px 20px 0px rgba(140, 7, 8, 0.22);
}

.sp-portmap-modal__service-name {
  font-size: 14px;
  line-height: 1.7;
}

.pc-portmap-modal__service-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px;
}

.sp-portmap-modal__service-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.sp-portmap-modal__list-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 49px;
  margin-top: 32px;
  padding: 12px 20px;
  background-color: var(--color-base-black);
  border-radius: 12px;
  box-shadow: 0px 4px 16px 0px rgba(140, 7, 8, 0.16);
  color: var(--color-base-white);
  text-align: center;
  transition: background-color 0.2s ease;
}

.sp-portmap-modal__list-link:hover {
  background-color: var(--color-base-safety-red);
  opacity: 1;
}

.sp-portmap-modal__close-btn {
  position: fixed;
  bottom: 24px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background-color: var(--color-base-white);
  box-shadow: 0px 0px 16px 0px rgba(140, 7, 8, 0.12);
  cursor: pointer;
  transform: translateX(-50%);
  z-index: 1001;
}

.sp-portmap-modal__close-btn:hover,
.sp-portmap-modal__popular-tag:hover,
.sp-portmap-modal__service-tag:hover {
  opacity: 0.85;
}

/* ========================================
   SP Menu Modal Styles
   ======================================== */

.sp-menu-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 0.3s, opacity 0.3s ease;
}

.sp-menu-modal[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
  transition: visibility 0s, opacity 0.3s ease;
}

.sp-menu-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
}

.sp-menu-modal__content {
  position: absolute;
  top: 112px;
  left: 0;
  width: 100%;
  height: calc(100% - 112px);
  background-color: var(--color-base-bg-gray);
  overflow-y: auto;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* Language Toggle */
.sp-menu-modal__lang-toggle {
  display: flex;
  align-items: center;
  background-color: var(--color-base-white);
  border-radius: 48px;
  box-shadow: 0px 0px 16px 0px rgba(140, 7, 8, 0.12);
  overflow: hidden;
}

.sp-menu-modal__lang-btn {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
  padding: 8px 16px;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 32px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.sp-menu-modal__lang-btn--active {
  font-weight: 700;
  background-color: var(--color-safety-red);
  color: var(--color-base-white);
}

.sp-menu-modal__lang-btn--inactive {
  font-weight: 400;
  background-color: transparent;
  color: var(--color-base-disable);
}

.sp-menu-modal__lang-btn--inactive:hover {
  opacity: 0.7;
}

/* Navigation Menu */
.sp-menu-modal__nav {
  width: 100%;
  max-width: 327px;
  display: flex;
  flex-direction: column;
}

.sp-menu-modal__nav-item {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--color-base-black);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-base-line);
  transition: opacity 0.3s ease;
}

.sp-menu-modal__nav-item:hover {
  opacity: 0.7;
}

.sp-menu-modal__nav-item--last {
  border-bottom: none;
}

/* App Download Card */
.sp-menu-modal__app-card {
  width: 100%;
  max-width: 343px;
  background-color: var(--color-base-white);
  border-radius: 16px;
  box-shadow: 0px 0px 16px 0px rgba(140, 7, 8, 0.12);
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.sp-menu-modal__app-header {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.sp-menu-modal__app-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 12.25px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-menu-modal__app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sp-menu-modal__app-title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--color-base-black);
}

.sp-menu-modal__app-title-brand {
  font-family: "Lexend", sans-serif;
  font-weight: 700;
}

.sp-menu-modal__app-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sp-menu-modal__store-btn {
  display: block;
  transition: opacity 0.3s ease;
}

.sp-menu-modal__store-btn:hover {
  opacity: 0.7;
}

.sp-menu-modal__store-btn img {
  height: 42px;
  width: auto;
}

/* Close Button (Bottom Circle) */
.sp-menu-modal__close-btn {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  background-color: var(--color-base-white);
  border: none;
  border-radius: 50%;
  box-shadow: 0px 0px 16px 0px rgba(140, 7, 8, 0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  z-index: 1001;
}

.sp-menu-modal__close-btn:hover {
  opacity: 0.7;
}

/* Body lock when modal is open */
body.sp-menu-modal-open {
  overflow: hidden;
}
