/* Shared redesign styles loaded after inline page styles. */

:root {
  --sakura-deep: #f472a8;
  --sakura-mid: #f9a0c6;
  --sakura-light: #fddde6;
  --sakura-pale: #fff5f8;
  --text-primary: #3d2424;
  --text-secondary: #7a5959;
  --text-on-dark: #fffcfc;
  --white: #ffffff;
  --border-light: #fadce6;
  --shadow-sm: 0 3px 12px rgba(244, 114, 168, 0.1);
  --shadow-md: 0 6px 20px rgba(244, 114, 168, 0.14);
  --shadow-lg: 0 10px 32px rgba(244, 114, 168, 0.2);
  --cta-tel: #f472a8;
  --cta-line: #06c755;
  --cta-line-dark: #059a44;
  --font-serif: "Zen Maru Gothic", "Maru Gothic", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
  --font-sans: "Zen Maru Gothic", "Maru Gothic", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
  --card-radius: 18px;
  --nav-height: 62px;
  --section-gap: 64px;
  --inner-max: 1100px;
}

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

body {
  font-family: var(--font-sans) !important;
  background-color: var(--sakura-pale) !important;
  color: var(--text-primary) !important;
  margin: 0 !important;
  padding: 0 !important;
  -webkit-text-size-adjust: 100%;
}

#main {
  background-color: transparent !important;
  width: 100% !important;
  overflow: visible !important;
  text-align: left !important;
}

#container {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: none !important;
  background-image: none !important;
  overflow: visible !important;
  float: none !important;
}

#contents {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 17px !important;
  letter-spacing: normal !important;
}

#header,
#header-menu,
#header-img,
#menu,
.phone,
.menu_back,
#footer {
  display: none !important;
}

#contents h2 {
  height: auto !important;
  background-image: none !important;
  background-color: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: inherit !important;
  color: inherit !important;
}

img {
  max-width: 100%;
  height: auto;
}

#global-nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: linear-gradient(135deg, #f9a0c6 0%, #f472a8 100%);
  height: var(--nav-height);
  box-shadow: 0 3px 16px rgba(244, 114, 168, 0.18);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

#global-nav.scrolled {
  background: linear-gradient(135deg, rgba(249, 160, 198, 0.96) 0%, rgba(244, 114, 168, 0.96) 100%);
  box-shadow: 0 6px 24px rgba(244, 114, 168, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.nav-inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  display: block;
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.nav-links {
  display: flex;
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.nav-links li {
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 8px 11px;
  font-size: 14px;
  color: rgba(255, 252, 252, 0.92) !important;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white) !important;
}

.nav-links a[aria-current="page"] {
  font-weight: 700;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-cta .btn-nav-tel,
.nav-cta .btn-nav-line {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.nav-cta .btn-nav-tel {
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white) !important;
}

.nav-cta .btn-nav-line {
  background: var(--cta-line);
  color: var(--white) !important;
}

#hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px 8px;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
}

#hamburger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#hamburger-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#hamburger-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

#hamburger-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 600px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  #hamburger-btn {
    display: flex;
  }
}

#mobile-drawer {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  padding: 24px 0 40px;
  background: var(--white);
  z-index: 1000;
  box-shadow: -4px 0 24px rgba(244, 114, 168, 0.18);
  overflow-y: auto;
  transition: right 0.3s ease;
}

#mobile-drawer.is-open {
  right: 0;
}

#drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(61, 36, 36, 0.35);
  z-index: 999;
}

#drawer-overlay.is-active {
  display: block;
}

.drawer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.drawer-nav-list a {
  display: block;
  padding: 14px 24px;
  font-size: 16px;
  color: var(--text-primary) !important;
  text-decoration: none;
  border-bottom: 1px solid var(--border-light);
}

.drawer-nav-list a:hover,
.drawer-nav-list a[aria-current="page"] {
  background: var(--sakura-pale);
  color: var(--sakura-deep) !important;
}

.drawer-cta-area {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-btn-tel,
.drawer-btn-line {
  display: block;
  padding: 13px;
  text-align: center;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  color: var(--white) !important;
}

.drawer-btn-tel {
  background: var(--cta-tel);
}

.drawer-btn-line {
  background: var(--cta-line);
}

#footer-new {
  background: linear-gradient(135deg, #f9a0c6 0%, #f472a8 100%);
  color: var(--white);
  padding: 52px 0 0;
}

.footer-inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 32px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 52px;
}

.footer-brand {
  min-width: 180px;
}

.footer-logo-img {
  max-width: 180px;
  filter: brightness(0) invert(1);
  opacity: 0.78;
}

.footer-tagline {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 252, 252, 0.5);
}

.footer-nav h3 {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(255, 252, 252, 0.5);
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li {
  margin: 0 0 6px;
}

.footer-nav a {
  font-size: 14px;
  color: rgba(255, 252, 252, 0.7) !important;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--white) !important;
}

.footer-copy {
  margin: 0;
  padding: 18px 24px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 12px;
  color: rgba(255, 252, 252, 0.38);
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }
}

#sp-fixed-bar {
  display: none;
}

@media (max-width: 600px) {
  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom)) !important;
  }

  #sp-fixed-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 56px;
    z-index: 950;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .sp-bar-tel,
  .sp-bar-line {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    color: var(--white) !important;
  }

  .sp-bar-tel {
    background: var(--cta-tel);
  }

  .sp-bar-line {
    background: var(--cta-line);
    border-left: 1px solid rgba(255, 255, 255, 0.25);
  }
}
