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

:root {
  --primary: #C0412A;
  --primary-pale: #FDF0ED;
  --warm-bg: #FEFCF8;
  --beige: #FAF5EE;
  --white: #FFFFFF;
  --text-dark: #2C2C2C;
  --text-mid: #5A5A5A;
  --text-light: #8A8A8A;
  --border: #EAE0D2;
  --ashi: #C5A070;
  --ashi-divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cline x1='0' y1='6' x2='50' y2='6' stroke='%23C5A070' stroke-width='1'/%3E%3Crect x='56' y='2' width='8' height='8' transform='rotate(45 60 6)' fill='none' stroke='%23C5A070' stroke-width='1'/%3E%3Cline x1='70' y1='6' x2='120' y2='6' stroke='%23C5A070' stroke-width='1'/%3E%3C/svg%3E");
  --ashi-wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24' viewBox='0 0 48 24'%3E%3Cpath d='M0 24 Q12 12 24 24 Q36 12 48 24' fill='none' stroke='%23C5A070' stroke-width='0.7'/%3E%3Cpath d='M0 16 Q12 4 24 16 Q36 4 48 16' fill='none' stroke='%23C5A070' stroke-width='0.7'/%3E%3C/svg%3E");
}

body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-dark);
  background: var(--warm-bg);
  overflow-x: hidden;
}

a { color: inherit; }

img,
iframe,
video {
  max-width: 100%;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.logo img {
  height: 36px;
  width: auto;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: 0;
}

nav a {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-mid);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 20px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--primary);
  background: var(--primary-pale);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.86);
  color: var(--text-dark);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.container,
.footer-inner,
.footer-bottom-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

.page-hero {
  padding: 150px 0 76px;
  background: linear-gradient(180deg, #FAF7F2 0%, var(--warm-bg) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--ashi-wave);
  background-size: 48px 24px;
  opacity: 0.04;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--text-light);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.breadcrumb a {
  text-decoration: none;
}

.page-label {
  position: relative;
  display: block;
  padding-left: 14px;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.page-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border: 1px solid var(--ashi);
  transform: translateY(-50%) rotate(45deg);
}

.page-title {
  margin: 0 0 18px;
  color: #3A3028;
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
}

.page-title::after {
  content: '';
  display: block;
  width: 120px;
  height: 12px;
  margin-top: 16px;
  background: var(--ashi-divider) center / contain no-repeat;
  opacity: 0.55;
}

.page-lead {
  max-width: 780px;
  margin: 0;
  color: var(--text-mid);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.04em;
}

.page-content-section {
  padding: 64px 0 88px;
}

.page-content {
  max-width: 920px;
  margin: 0 auto;
  padding: 42px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(74,60,46,0.08);
}

.page-content > *:first-child {
  margin-top: 0;
}

.page-content > *:last-child {
  margin-bottom: 0;
}

.page-content h2,
.page-content h3 {
  color: #3A3028;
  line-height: 1.45;
  letter-spacing: 0.06em;
}

.page-content h2 {
  margin: 2.2em 0 0.8em;
  font-size: 26px;
}

.page-content h3 {
  margin: 2em 0 0.7em;
  font-size: 21px;
}

.page-content p,
.page-content li {
  color: var(--text-mid);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.04em;
}

.page-content p,
.page-content ul,
.page-content ol,
.page-content figure,
.page-content .wp-block-embed {
  margin: 0 0 1.4em;
}

.page-content ul,
.page-content ol {
  padding-left: 1.4em;
}

.page-content .wp-block-image img {
  height: auto;
  border-radius: 10px;
}

.page-content .wp-block-embed,
.page-content .video-embed {
  overflow: hidden;
  padding: 12px;
  background: #FFFDF9;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(74,60,46,0.06);
}

.page-content .wp-block-embed__wrapper,
.video-embed-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #1F1A17;
}

.page-content .wp-block-embed__wrapper iframe,
.video-embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.page-content iframe[src*="youtube"],
.page-content iframe[src*="vimeo"] {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 8px;
}

.garbage-hero {
  background:
    radial-gradient(circle at 82% 20%, rgba(106, 148, 112, 0.12), transparent 30%),
    linear-gradient(180deg, #FAF7F2 0%, var(--warm-bg) 100%);
}

.garbage-content-section {
  padding-top: 112px;
}

.garbage-content {
  border-top: 4px solid var(--primary);
}

.garbage-content h2 {
  padding-left: 16px;
  border-left: 4px solid var(--primary);
}

.garbage-content .wp-block-group,
.garbage-content .wp-block-columns {
  gap: 22px;
}

.maintenance-panel {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 5px solid var(--primary);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(74,60,46,0.08);
  text-align: center;
}

.maintenance-kicker {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.maintenance-panel h2 {
  margin: 0 0 16px;
  color: #3A3028;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.maintenance-panel p {
  margin: 0;
  color: var(--text-mid);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.maintenance-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 28px;
  padding: 12px 22px;
  background: var(--primary);
  border-radius: 999px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.maintenance-button:hover {
  box-shadow: 0 8px 20px rgba(192,65,42,0.18);
  transform: translateY(-1px);
}

footer {
  background: #3A2A22;
  color: white;
}

.footer-main {
  padding: 48px 0 36px;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-logo img {
  height: 32px;
  width: auto;
  display: block;
  filter: invert(1) grayscale(1);
  mix-blend-mode: screen;
  opacity: 0.9;
}

.footer-sns {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-sns-link {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all 0.2s;
}

.footer-sns-link:hover {
  border-color: var(--ashi);
  color: var(--ashi);
}

.footer-sns-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer-nav-cols {
  display: flex;
  gap: 48px;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.footer-nav-list a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.footer-bottom {
  background: rgba(0,0,0,0.2);
}

.footer-bottom-inner {
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255,255,255,0.35);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.footer-policy {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-policy-links {
  display: flex;
  gap: 24px;
}

.footer-policy-links a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
}

.footer-copyright {
  margin: 0;
}

@media (max-width: 1040px) {
  header {
    position: sticky;
  }

  nav {
    display: none !important;
  }

  .header-inner {
    justify-content: center;
    position: relative;
  }

  .logo {
    min-width: 0;
  }

  .logo img {
    max-width: min(72vw, 360px);
    height: auto;
    max-height: 34px;
  }

  .menu-toggle {
    display: inline-flex;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 102;
  }

  header.nav-open nav {
    display: flex !important;
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    background: rgba(255,255,255,0.98);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 18px 42px rgba(60, 42, 31, 0.14);
  }

  header.nav-open nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  .footer-top,
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container,
  .footer-inner,
  .footer-bottom-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-hero {
    padding-top: 112px;
    padding-bottom: 52px;
  }

  .page-title {
    font-size: clamp(28px, 9vw, 38px);
    letter-spacing: 0.04em;
  }

  .page-lead {
    font-size: 14px;
    line-height: 1.9;
  }

  .page-content-section {
    padding: 40px 0 64px;
  }

  .page-content {
    padding: 28px 22px;
  }

  .maintenance-panel {
    padding: 36px 24px;
  }

  .footer-nav-cols,
  .footer-policy {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
