:root {
  --ink: #193124;
  --muted: #627062;
  --line: #dfe8c9;
  --paper: #fbf8e5;
  --white: #ffffff;
  --green: #2f9b63;
  --green-dark: #0f5132;
  --blue: #8fd9cf;
  --gold: #f4c84a;
  --shadow: 0 20px 58px rgba(63, 83, 38, 0.15);
  --radius: 18px;
}

html[data-theme="meadow"] {
  --ink: #193124;
  --muted: #627062;
  --line: #dfe8c9;
  --paper: #fbf8e5;
  --green: #2f9b63;
  --green-dark: #0f5132;
  --blue: #8fd9cf;
  --gold: #f4c84a;
  --shadow: 0 20px 58px rgba(63, 83, 38, 0.15);
  --radius: 18px;
}

html[data-theme="lemon-sky"] {
  --ink: #163047;
  --muted: #66768a;
  --line: #d9e8ef;
  --paper: #fff8dc;
  --green: #1689c7;
  --green-dark: #07547f;
  --blue: #7bd9e8;
  --gold: #f8c94f;
  --shadow: 0 22px 58px rgba(20, 93, 137, 0.15);
  --radius: 18px;
}

html[data-theme="aqua-leaf"] {
  --ink: #13302d;
  --muted: #5c756f;
  --line: #cfe9e3;
  --paper: #f1fbf8;
  --green: #169b74;
  --green-dark: #075847;
  --blue: #54c4d4;
  --gold: #f2c84d;
  --shadow: 0 22px 58px rgba(0, 103, 92, 0.14);
  --radius: 18px;
}

html[data-theme="navy-orange"] {
  --ink: #172238;
  --muted: #677083;
  --line: #dbe2eb;
  --paper: #f7f8fb;
  --green: #ef8b2c;
  --green-dark: #162947;
  --blue: #2d80b8;
  --gold: #f2a444;
  --shadow: 0 22px 58px rgba(18, 32, 58, 0.17);
  --radius: 16px;
}

html[data-theme="clean"] {
  --ink: #1d2022;
  --muted: #686f73;
  --line: #dde1e3;
  --paper: #f7f8f8;
  --green: #30363a;
  --green-dark: #171b1e;
  --blue: #4f626d;
  --gold: #77705d;
  --shadow: 0 18px 48px rgba(24, 28, 31, 0.13);
  --radius: 12px;
}

html[data-font="large"] body {
  font-size: 18px;
}

html[data-font="large"] h1 {
  font-size: clamp(48px, 6.6vw, 84px);
}

html[data-font="large"] h2 {
  font-size: clamp(31px, 4.4vw, 50px);
}

html[data-density="compact"] .section,
html[data-density="compact"] .contact-section {
  padding-top: clamp(48px, 7vw, 84px);
  padding-bottom: clamp(48px, 7vw, 84px);
}

html[data-density="compact"] .intro-band article,
html[data-density="compact"] .feature-grid article,
html[data-density="compact"] .process article {
  min-height: 180px;
  padding: 24px;
}

html[data-radius="soft"] {
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.7;
}

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

img {
  display: block;
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px clamp(20px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(217, 227, 223, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(2, 70, 70, 0.12);
  overflow: hidden;
}

.brand-mark::before {
  content: "";
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  background: url("./assets/brand-mark.webp") center / contain no-repeat;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #31403c;
  font-size: 14px;
  font-weight: 700;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 800;
}

.nav-cta,
.button.primary {
  color: var(--white);
  background: var(--green);
}

.button.secondary {
  color: var(--green-dark);
  background: var(--white);
  border: 1px solid var(--line);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(88vh - 72px);
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: clamp(64px, 9vw, 112px) clamp(20px, 6vw, 88px);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: url("./assets/hero-education-pc.png") center / cover;
}

.hero-media img,
.hero-media video {
  height: 100%;
  object-fit: cover;
}

.hero-motion {
  min-width: 100%;
  min-height: 100%;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slideshow img.is-active {
  opacity: 1;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(246, 248, 245, 0.96) 0%, rgba(246, 248, 245, 0.82) 42%, rgba(246, 248, 245, 0.18) 100%),
    linear-gradient(0deg, rgba(24, 35, 34, 0.16), rgba(24, 35, 34, 0));
}

@media (prefers-reduced-motion: reduce) {
  .hero-motion {
    display: none;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 5.8vw, 72px);
  line-height: 1.08;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
}

body:not(.admin-page) main h2 {
  position: relative;
  padding-bottom: 18px;
}

body:not(.admin-page) main h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(100%, 640px);
  height: 2px;
  background: var(--green);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 840ms cubic-bezier(0.18, 0.78, 0.18, 1) 160ms;
}

body:not(.admin-page) .is-visible h2::after,
body:not(.admin-page) h2.is-visible::after {
  transform: scaleX(1);
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.35;
}

.lead {
  max-width: 600px;
  color: #34433f;
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 600;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 10px;
  max-width: 620px;
  margin-top: 18px;
}

.hero-metrics div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(217, 227, 223, 0.9);
  border-radius: var(--radius);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  color: var(--green-dark);
  font-size: 22px;
  line-height: 1.1;
}

.hero-metrics span {
  color: #394946;
  font-size: 13px;
  font-weight: 800;
}

.hero-bubbles {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 680px;
  margin-top: 18px;
}

.hero-bubbles span {
  position: relative;
  padding: 9px 13px;
  color: var(--green-dark);
  background: var(--white);
  border: 2px solid color-mix(in srgb, var(--blue) 28%, var(--line));
  border-radius: 999px;
  box-shadow: 0 6px 0 rgba(0, 167, 225, 0.12);
  font-size: 13px;
  font-weight: 900;
}

.hero-bubbles span::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: -6px;
  width: 10px;
  height: 10px;
  background: inherit;
  border-right: 2px solid color-mix(in srgb, var(--blue) 28%, var(--line));
  border-bottom: 2px solid color-mix(in srgb, var(--blue) 28%, var(--line));
  transform: rotate(45deg);
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 22px clamp(20px, 6vw, 88px);
  background: var(--paper);
}

.quick-actions a {
  position: relative;
  min-height: 104px;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  gap: 4px;
  padding: 22px 54px 22px 22px;
  background: var(--white);
  border: 2px solid color-mix(in srgb, var(--green) 18%, var(--line));
  border-radius: var(--radius);
  box-shadow: 0 10px 0 color-mix(in srgb, var(--green) 10%, transparent), 0 16px 34px rgba(18, 72, 61, 0.10);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.quick-actions a::after {
  content: "→";
  position: absolute;
  right: 18px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  font-weight: 900;
  transform: translateY(-50%);
}

.quick-actions a:hover {
  transform: translateY(-4px);
  background: color-mix(in srgb, var(--paper) 70%, var(--white));
  box-shadow: 0 13px 0 color-mix(in srgb, var(--gold) 55%, transparent), 0 20px 38px rgba(18, 72, 61, 0.14);
}

.quick-actions span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.quick-actions strong {
  color: var(--green-dark);
  font-size: 22px;
  line-height: 1.25;
}

.pop-service-band {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 8vw, 94px) clamp(20px, 6vw, 88px);
  background:
    linear-gradient(90deg, rgba(255, 212, 61, 0.92), rgba(0, 167, 225, 0.20) 48%, rgba(35, 179, 107, 0.26)),
    var(--paper);
}

.pop-service-band::before,
.pop-service-band::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  pointer-events: none;
}

.pop-service-band::before {
  right: -90px;
  top: -120px;
  background: rgba(255, 255, 255, 0.44);
}

.pop-service-band::after {
  left: -120px;
  bottom: -150px;
  background: rgba(255, 255, 255, 0.34);
}

.pop-band-head {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-bottom: 28px;
  color: var(--white);
}

.pop-band-head .eyebrow,
.pop-band-head h2 {
  color: var(--white);
}

.pop-band-head p:last-child {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 700;
}

.pop-band-head h2::after {
  background: rgba(255, 255, 255, 0.92);
}

.pop-service-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pop-service-grid article {
  position: relative;
  min-height: 260px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(25, 38, 35, 0.12);
}

.pop-service-grid article:nth-child(odd) {
  transform: rotate(-1deg);
}

.pop-service-grid article:nth-child(even) {
  transform: rotate(1deg);
}

.pop-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-dark), var(--blue));
  border-radius: 18px;
  box-shadow: 0 7px 0 color-mix(in srgb, var(--gold) 86%, transparent);
  font-size: 13px;
  font-weight: 900;
}

.pop-service-grid h3 {
  font-size: 22px;
}

.big-contact-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(42px, 7vw, 76px) clamp(20px, 6vw, 88px);
  color: var(--white);
  background:
    linear-gradient(135deg, var(--green-dark), var(--blue));
}

.big-contact-strip .eyebrow,
.big-contact-strip p {
  color: #eaf7ff;
}

.big-contact-strip h2 {
  max-width: 900px;
  margin-bottom: 10px;
  font-size: clamp(34px, 5vw, 64px);
}

.big-contact-strip .button.primary {
  min-width: 160px;
  color: var(--green-dark);
  background: var(--white);
}

.hero-actions,
.used-pc-actions,
.inventory-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-points span {
  padding: 8px 12px;
  color: #263632;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(217, 227, 223, 0.9);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.intro-band,
.section,
.contact-section,
.site-footer {
  padding-inline: clamp(20px, 6vw, 88px);
}

.intro-band {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  padding-top: 1px;
  padding-bottom: 1px;
}

.intro-band article {
  min-height: 220px;
  padding: 36px;
  background: var(--white);
}

.intro-band span,
.process span {
  color: var(--gold);
  font-weight: 900;
}

.intro-band h2 {
  font-size: 24px;
}

.section {
  padding-top: clamp(72px, 9vw, 120px);
  padding-bottom: clamp(72px, 9vw, 120px);
}

.section.company,
.section.used-pc {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

.section.used-pc {
  position: relative;
  z-index: 5;
  overflow: visible;
}

.section.used-pc::before {
  content: none;
}

.section.used-pc.reveal-on-scroll {
  opacity: 1;
  transform: none;
}

.section.used-pc.is-visible::before {
  opacity: 0;
}

.section.used-pc > * {
  position: relative;
  z-index: 1;
}

.section-copy {
  max-width: 540px;
}

.company-table-wrap,
.check-list,
.contact-form,
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.company-table {
  margin: 0;
}

.company-table div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 22px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.company-table div:last-child {
  border-bottom: 0;
}

.company-table dt {
  color: var(--muted);
  font-weight: 900;
}

.company-table dd {
  margin: 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.compact {
  margin-bottom: 22px;
}

.source-note {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.source-note a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.feature-grid,
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.strengths {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--paper) 80%, var(--gold)) 0%, var(--paper) 48%, color-mix(in srgb, var(--paper) 78%, var(--blue)) 100%);
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.strength-grid article {
  min-height: 250px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(24, 35, 34, 0.10);
}

.strength-grid span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--green-dark);
  font-weight: 900;
}

.strength-grid h3 {
  font-size: 22px;
}

.info-hub {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1.25fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
  background: var(--white);
}

.info-hub-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.info-hub-links a {
  min-height: 82px;
  display: flex;
  align-items: center;
  padding: 18px;
  color: var(--green-dark);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 18px;
  font-weight: 900;
}

.feature-grid article,
.process article {
  min-height: 230px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.education {
  background: #edf4f1;
}

.used-pc {
  background: #ffffff;
}

.used-pc-copy {
  max-width: 620px;
}

.check-list {
  position: relative;
  z-index: 6;
  display: grid;
  gap: 1px;
  overflow: visible;
  background: var(--line);
}

.check-list div {
  position: relative;
  padding: 24px;
  background: var(--white);
}

.pc-peek-card {
  min-height: 118px;
  padding-right: min(32vw, 170px) !important;
  overflow: visible;
  z-index: 10;
}

.pc-window-peek {
  position: absolute;
  right: -10px;
  top: -176px;
  z-index: 8;
  width: 220px;
  height: 220px;
  background: url("./assets/pc-peek.webp") center / contain no-repeat;
  opacity: 1;
  transform: translate(0, 0) scale(1) rotate(-5deg);
  animation: pcPeekOut 920ms cubic-bezier(0.18, 1.25, 0.28, 1) 420ms both, pcPeekFloat 3.8s ease-in-out 1.5s infinite;
  transition:
    opacity 460ms ease 240ms,
    transform 720ms cubic-bezier(0.18, 1.25, 0.28, 1) 240ms;
  pointer-events: none;
}

.pc-window-peek::before,
.pc-window-peek::after {
  content: "";
  position: absolute;
  display: none;
}

.pc-peek-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 9;
  background: var(--white);
  border-radius: inherit;
  pointer-events: none;
}

.pc-peek-card.is-visible .pc-window-peek,
.section.used-pc.is-visible .pc-window-peek {
  opacity: 1;
  transform: translate(0, 0) scale(1) rotate(-5deg);
}

.pc-peek-card strong,
.pc-peek-card span:not(.pc-window-peek),
.pc-peek-card h3,
.pc-peek-card p {
  position: relative;
  z-index: 10;
}

.check-list strong,
.check-list span {
  display: block;
}

.check-list span {
  margin-top: 4px;
  color: var(--muted);
}

.support {
  background: #f5f0e8;
}

.news-list {
  display: grid;
  gap: 12px;
}

.news-list article {
  display: flex;
  gap: 18px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.news-list time {
  color: var(--blue);
  font-weight: 900;
  white-space: nowrap;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 18px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  padding-top: clamp(72px, 9vw, 120px);
  padding-bottom: clamp(72px, 9vw, 120px);
  color: var(--white);
  background: var(--green-dark);
}

.contact-section .eyebrow {
  color: #c8e5d6;
}

.contact-section p {
  color: #e5f0eb;
}

.contact-form {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 28px;
  color: var(--ink);
  box-shadow: none;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #30423d;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fbfcfa;
  border: 1px solid #cbd8d3;
  border-radius: 6px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.button.wide {
  width: 100%;
  border: 0;
  cursor: pointer;
  font: inherit;
}

output {
  min-height: 24px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

.theme-panel {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  color: var(--ink);
  font-size: 14px;
}

.theme-panel-toggle {
  min-width: 76px;
  min-height: 44px;
  color: var(--white);
  background: var(--green-dark);
  border: 0;
  border-radius: 999px;
  box-shadow: var(--shadow);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.theme-panel-body {
  position: absolute;
  right: 0;
  bottom: 56px;
  display: none;
  width: min(320px, calc(100vw - 32px));
  padding: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.theme-panel.is-open .theme-panel-body {
  display: grid;
  gap: 14px;
}

.theme-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.theme-panel-head button,
.theme-options button,
.segmented-control button {
  min-height: 38px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.theme-panel fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.theme-panel legend {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.theme-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.theme-options button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 0 10px;
}

.swatch {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.theme-panel button.is-selected {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

.palette-switcher {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.palette-switcher button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  color: transparent;
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 50%;
  cursor: pointer;
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease;
}

.palette-switcher button:hover,
.palette-switcher button.is-selected {
  transform: translateY(-2px) scale(1.04);
  border-color: var(--green-dark);
}

.palette-switcher .swatch {
  width: 100%;
  height: 100%;
  border: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 30px;
  padding-bottom: 30px;
  color: #dce9e4;
  background: #15221f;
}

.site-footer p {
  margin: 4px 0 0;
  color: #a7bab4;
}

.site-footer a {
  font-weight: 900;
}

.subpage {
  background: var(--white);
}

.admin-page {
  min-height: 100vh;
  background: #eef3f0;
}

.admin-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 12px clamp(16px, 3vw, 36px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 20px;
  min-height: calc(100vh - 72px);
  padding: 20px;
}

.admin-controls,
.admin-preview {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.admin-controls {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
}

.admin-section-head h1 {
  margin-bottom: 12px;
  font-size: 34px;
  line-height: 1.14;
}

.admin-section-head p:last-child {
  color: var(--muted);
}

.admin-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: #f8faf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-card h2 {
  margin: 0;
  font-size: 18px;
}

.admin-content-card label {
  display: grid;
  gap: 6px;
  color: #30423d;
  font-weight: 900;
}

.admin-content-card input,
.admin-content-card textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cbd8d3;
  border-radius: 6px;
  font: inherit;
  font-weight: 500;
}

.admin-content-card textarea {
  resize: vertical;
}

.admin-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-card-head button,
.dynamic-item button {
  min-height: 36px;
  padding: 0 12px;
  color: var(--green-dark);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.dynamic-list {
  display: grid;
  gap: 10px;
}

.dynamic-item {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.dynamic-item-actions {
  display: flex;
  justify-content: flex-end;
}

.admin-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.admin-actions.compact {
  grid-template-columns: 1fr;
}

.admin-actions .button {
  border: 1px solid var(--line);
  cursor: pointer;
  font: inherit;
}

.check-field {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.check-field input {
  width: auto;
}

.admin-status {
  min-height: 24px;
  color: var(--green-dark);
}

.admin-help {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-preview {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.admin-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.admin-preview-head button {
  min-height: 36px;
  padding: 0 14px;
  color: var(--green-dark);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.admin-preview iframe {
  width: 100%;
  height: 100%;
  min-height: 720px;
  border: 0;
  background: var(--white);
}

.inventory-guide {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  padding: clamp(56px, 10vw, 120px) clamp(20px, 6vw, 88px);
  background: linear-gradient(135deg, #f6f8f5, #eaf3ef);
}

.inventory-guide section {
  max-width: 760px;
}

.inventory-guide h1 {
  font-size: clamp(32px, 5vw, 64px);
}

.section-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.section-cta p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.password-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.password-modal.is-hidden {
  display: none;
}

.password-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 28, 27, 0.54);
}

.password-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  width: min(440px, 100%);
  padding: 24px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.password-dialog.is-page {
  width: min(560px, 100%);
}

.password-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.password-head h2 {
  margin-bottom: 0;
}

.password-head button {
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  font: inherit;
  font-size: 22px;
  line-height: 1;
}

.password-dialog label {
  display: grid;
  gap: 7px;
  font-weight: 900;
}

.password-dialog input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fbfcfa;
  border: 1px solid #cbd8d3;
  border-radius: 6px;
  font: inherit;
}

.protected-login {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: clamp(40px, 8vw, 96px) 20px;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 211, 90, 0.38), transparent 26%),
    radial-gradient(circle at 86% 22%, rgba(120, 216, 211, 0.38), transparent 28%),
    linear-gradient(135deg, var(--paper), color-mix(in srgb, var(--blue) 18%, var(--paper)));
}

.education-hero {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 6vw, 88px);
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 22%, rgba(120, 216, 211, 0.44), transparent 28%),
    linear-gradient(90deg, rgba(255, 251, 232, 0.96), rgba(222, 248, 240, 0.90) 58%, rgba(255, 211, 90, 0.50)),
    url("./assets/hero-education-pc.png") center / cover;
}

.education-hero .eyebrow,
.education-hero p {
  color: #24413b;
}

.education-hero h1 {
  max-width: 760px;
}

.education-hero p:last-child {
  max-width: 720px;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
}

.logout-link {
  min-height: 40px;
  padding: 0 14px;
  color: var(--green-dark);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.pc-detail-hero {
  min-height: 620px;
  display: grid;
  align-items: center;
  padding: clamp(64px, 10vw, 128px) clamp(20px, 6vw, 88px);
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 18%, rgba(120, 216, 211, 0.42), transparent 30%),
    linear-gradient(90deg, rgba(255, 251, 232, 0.96) 0%, rgba(225, 248, 241, 0.88) 52%, rgba(255, 211, 90, 0.30) 100%),
    url("./assets/hero-education-pc.png") center / cover;
}

.pc-detail-hero > div {
  max-width: 780px;
}

.pc-detail-hero .eyebrow,
.pc-detail-hero p {
  color: #24413b;
}

.pc-detail-hero p:last-of-type {
  max-width: 680px;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
}

.pc-detail-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 1px clamp(20px, 6vw, 88px);
  background: var(--line);
}

.pc-detail-stats article {
  min-height: 138px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 24px;
  background: var(--white);
}

.pc-detail-stats strong {
  font-size: 22px;
}

.pc-detail-stats span {
  color: var(--muted);
  font-weight: 700;
}

.quality-section {
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 211, 90, 0.22), transparent 26%),
    color-mix(in srgb, var(--blue) 18%, var(--paper));
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.quality-grid article {
  min-height: 260px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.quality-grid span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 900;
}

.pc-support-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
  background: var(--white);
}

.pc-buy-flow {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--gold) 24%, var(--paper)), color-mix(in srgb, var(--green) 12%, var(--paper)));
}

.support-price-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.support-price-list article {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  min-height: 230px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(20, 150, 109, 0.18);
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(2, 70, 70, 0.08);
}

.support-price-list span {
  color: var(--green);
  font-weight: 900;
}

.support-price-list h3 {
  margin: 0;
  font-size: 18px;
}

.support-price-list p {
  margin: 0;
  color: var(--muted);
}

.support-price-list strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--gold-soft);
  border-radius: 999px;
  font-size: 15px;
}

.support-price-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
  max-width: 620px;
  font-weight: 900;
}

.info-page {
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 211, 90, 0.32), transparent 24%),
    radial-gradient(circle at 88% 14%, rgba(120, 216, 211, 0.32), transparent 28%),
    var(--paper);
}

.info-hero {
  padding: clamp(64px, 10vw, 120px) clamp(20px, 6vw, 88px);
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 251, 232, 0.96), rgba(224, 248, 241, 0.88) 58%, rgba(255, 211, 90, 0.42)),
    url("./assets/hero-education-pc.png") center / cover;
}

.info-hero .eyebrow,
.info-hero p {
  color: #24413b;
}

.info-hero h1 {
  max-width: 840px;
}

.info-hero p:last-child {
  max-width: 760px;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
}

.info-section {
  background: var(--paper);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.info-grid article,
.info-card,
.policy-list article {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-grid h2,
.policy-list h2 {
  font-size: 24px;
}

.access-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1.1fr);
  gap: 20px;
}

.map-box {
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 28px;
  color: var(--muted);
  background:
    linear-gradient(135deg, rgba(40, 110, 87, 0.10), rgba(49, 95, 147, 0.12)),
    var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  font-weight: 800;
  text-align: center;
}

.policy-list {
  display: grid;
  gap: 16px;
}

.legal-table {
  max-width: 980px;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .support-price-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav:not(.is-static) {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .site-nav.is-static {
    gap: 10px;
    font-size: 13px;
  }

  .intro-band,
  .quick-actions,
  .pop-service-grid,
  .feature-grid,
  .process,
  .support-price-list,
  .strength-grid,
  .section.company,
  .section.used-pc,
  .contact-section,
  .info-hub {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 720px;
    align-items: end;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(246, 248, 245, 0.98) 0%, rgba(246, 248, 245, 0.9) 52%, rgba(246, 248, 245, 0.18) 100%),
      linear-gradient(0deg, rgba(24, 35, 34, 0.14), rgba(24, 35, 34, 0));
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-preview iframe {
    min-height: 640px;
  }

  .pc-detail-stats,
  .quality-grid,
  .pc-support-detail,
  .info-grid,
  .access-layout {
    grid-template-columns: 1fr 1fr;
  }

  .hero-metrics,
  .info-hub-links,
  .big-contact-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand small {
    display: none;
  }

  .hero,
  .intro-band,
  .section,
  .contact-section,
  .site-footer,
  .inventory-guide {
    padding-inline: 16px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .intro-band article,
  .quick-actions a,
  .pop-service-grid article,
  .feature-grid article,
  .support-price-list article,
  .strength-grid article,
  .process article,
  .contact-form {
    padding: 22px;
  }

  .support-price-list {
    grid-template-columns: 1fr;
  }

  .company-table div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .news-list article,
  .site-footer {
    flex-direction: column;
  }

  .admin-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-layout {
    padding: 12px;
  }

  .admin-controls {
    padding: 18px;
  }

  .admin-actions {
    grid-template-columns: 1fr;
  }

  .pc-detail-stats,
  .quality-grid,
  .pc-support-detail,
  .info-grid,
  .access-layout {
    grid-template-columns: 1fr;
  }

.pc-detail-hero {
    min-height: 560px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .big-contact-strip .button.primary {
    width: 100%;
  }

  .palette-switcher {
    right: 12px;
    bottom: 12px;
    flex-direction: row;
    border-radius: 999px;
  }

  .palette-switcher button {
    width: 36px;
    height: 36px;
  }
}

.brand-mark {
  animation: brandWiggle 5s ease-in-out infinite;
}

.pop-site .button,
.pop-site .nav-cta,
.pop-site .quick-actions a,
.pop-site .info-hub-links a {
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.pop-site .button:hover,
.pop-site .nav-cta:hover,
.pop-site .quick-actions a:hover,
.pop-site .info-hub-links a:hover {
  transform: translateY(-4px);
  filter: saturate(1.08);
}

.pop-site .pop-service-band,
.pop-site .big-contact-strip {
  background-size: 140% 140%;
  animation: colorBandDrift 12s ease-in-out infinite alternate;
}

.pop-site .pop-icon {
  animation: iconBob 4.4s ease-in-out infinite;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes colorBandDrift {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}

@keyframes iconBob {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-7px) rotate(2deg);
  }
}

@keyframes brandWiggle {
  0%,
  100% {
    transform: rotate(-5deg);
  }
  50% {
    transform: rotate(4deg) scale(1.04);
  }
}

@keyframes cardGlow {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}

@keyframes pcPeekOut {
  from {
    opacity: 0;
    transform: translate(16px, 76px) scale(0.74) rotate(-5deg);
  }
  to {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(-5deg);
  }
}

@keyframes pcPeekFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1) rotate(-5deg);
  }
  50% {
    transform: translate(0, -8px) scale(1) rotate(-3deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }

  body:not(.admin-page) main h2::after {
    transform: scaleX(1);
  }
}

.peek-illustration {
  position: absolute;
  right: 18px;
  top: -24px;
  z-index: 3;
  width: 74px;
  height: 74px;
  opacity: 0;
  transform: translateY(18px) scale(0.72) rotate(8deg);
  transition: opacity 520ms ease 160ms, transform 680ms cubic-bezier(0.2, 1.35, 0.28, 1) 160ms;
  pointer-events: none;
}

.peek-person {
  position: absolute;
  right: 16px;
  top: -38px;
  z-index: 4;
  width: 82px;
  height: 96px;
  opacity: 0;
  transform: translateY(34px) scale(0.82) rotate(5deg);
  transition: opacity 420ms ease 140ms, transform 720ms cubic-bezier(0.2, 1.35, 0.28, 1) 140ms;
  pointer-events: none;
}

.peek-person.peek-top-right {
  right: 16px;
  top: -44px;
  transform: translateY(38px) scale(0.82) rotate(5deg);
}

.peek-person.peek-left {
  left: -34px;
  right: auto;
  top: 28px;
  transform: translateX(-34px) scale(0.82) rotate(-6deg);
}

.peek-person.peek-bottom-right {
  right: 18px;
  top: auto;
  bottom: -44px;
  transform: translateY(36px) scale(0.82) rotate(4deg);
}

.peek-person.peek-top-left {
  left: 18px;
  right: auto;
  top: -42px;
  transform: translateY(38px) scale(0.82) rotate(-4deg);
}

.contact-form .peek-person.peek-form-right {
  right: -26px;
  top: 24px;
  transform: translateX(36px) scale(0.82) rotate(5deg);
}

.contact-form .peek-person {
  right: 26px;
  top: -46px;
}

.is-visible .peek-person,
.contact-form.is-visible .peek-person {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(-3deg);
  animation: personPeekFloat 3.6s ease-in-out 900ms infinite;
}

.is-visible .peek-person.peek-left,
.contact-form.is-visible .peek-person.peek-form-right {
  transform: translateX(0) scale(1) rotate(-3deg);
}

.is-visible .peek-person.peek-bottom-right {
  transform: translateY(0) scale(1) rotate(3deg);
}

.peek-person::before,
.peek-person::after,
.peek-person i,
.peek-person i::before,
.peek-person i::after {
  content: "";
  position: absolute;
  display: block;
}

.peek-person::before {
  left: 19px;
  top: 14px;
  width: 46px;
  height: 46px;
  background: #ffd7b5;
  border: 3px solid var(--green-dark);
  border-radius: 50%;
  box-shadow:
    -13px -4px 0 -5px #3b2a1f,
    13px -4px 0 -5px #3b2a1f,
    0 52px 0 7px var(--blue);
}

.peek-person::after {
  left: 17px;
  top: 10px;
  width: 50px;
  height: 24px;
  background: #3b2a1f;
  border: 3px solid var(--green-dark);
  border-bottom: 0;
  border-radius: 28px 28px 10px 10px;
}

.peek-person i {
  left: 30px;
  top: 36px;
  width: 24px;
  height: 12px;
  border-bottom: 3px solid var(--green-dark);
  border-radius: 0 0 999px 999px;
}

.peek-person i::before {
  left: -2px;
  top: -8px;
  width: 5px;
  height: 5px;
  background: var(--green-dark);
  border-radius: 50%;
}

.peek-person i::after {
  right: -2px;
  top: -8px;
  width: 5px;
  height: 5px;
  background: var(--green-dark);
  border-radius: 50%;
}

.peek-person {
  --window-bg: #ffffff;
}

.peek-person::before,
.peek-person::after,
.peek-person i {
  z-index: 1;
}

.peek-person i::before,
.peek-person i::after {
  z-index: 2;
}

.peek-person::after {
  z-index: 2;
}

.peek-person::before {
  z-index: 1;
}

.peek-person {
  overflow: visible;
}

.peek-person::before {
  clip-path: inset(0 0 0 0);
}

.peek-person::after {
  clip-path: inset(0 0 0 0);
}

.peek-person i {
  z-index: 3;
}

.peek-person::before {
  outline: 0;
}

.peek-person::after {
  outline: 0;
}

.peek-person::before {
  transform: translateY(-10px);
}

.peek-person::after,
.peek-person i {
  transform: translateY(-10px);
}

.peek-person b {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 2px;
  z-index: 6;
  display: block;
  height: 32px;
  background: var(--window-bg);
  border: 3px solid var(--green-dark);
  border-radius: 14px;
  box-shadow: 0 7px 0 color-mix(in srgb, var(--gold) 74%, transparent);
}

.peek-person.peek-left b {
  left: 0;
  right: auto;
  top: 10px;
  bottom: auto;
  width: 28px;
  height: 72px;
}

.peek-person.peek-form-right b {
  left: auto;
  right: 0;
  top: 10px;
  bottom: auto;
  width: 28px;
  height: 72px;
}

.contact-form .peek-person.peek-form-right {
  right: -26px;
  top: 24px;
}

.peek-person.is-blue-shirt::before {
  box-shadow:
    -13px -4px 0 -5px #3b2a1f,
    13px -4px 0 -5px #3b2a1f,
    0 52px 0 7px var(--blue);
}

.peek-person.is-green-shirt::before {
  box-shadow:
    -13px -4px 0 -5px #3b2a1f,
    13px -4px 0 -5px #3b2a1f,
    0 52px 0 7px var(--green);
}

.peek-person.is-yellow-shirt::before {
  box-shadow:
    -13px -4px 0 -5px #3b2a1f,
    13px -4px 0 -5px #3b2a1f,
    0 52px 0 7px var(--gold);
}

.peek-person.is-pink-shirt::before,
.peek-person.is-mail-person::before {
  box-shadow:
    -13px -4px 0 -5px #3b2a1f,
    13px -4px 0 -5px #3b2a1f,
    0 52px 0 7px var(--blue);
}

.peek-person.is-green-shirt::after {
  border-radius: 18px 30px 12px 18px;
}

.peek-person.is-yellow-shirt::after {
  background: #5a3a24;
  border-radius: 30px 18px 12px 12px;
}

.peek-person.is-pink-shirt::after {
  background: #29243b;
  border-radius: 24px 24px 18px 8px;
}

.peek-person.is-mail-person::after {
  background: #6b3f1d;
}

@keyframes personPeekFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -6px;
  }
}

.is-visible .peek-illustration,
.contact-form.is-visible .peek-illustration {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(-4deg);
  animation: peekFloat 3.8s ease-in-out 900ms infinite;
}

.peek-illustration::before,
.peek-illustration::after,
.peek-illustration i {
  content: "";
  position: absolute;
  display: block;
}

.peek-illustration::before {
  inset: 8px;
  background: var(--white);
  border: 3px solid var(--green-dark);
  border-radius: 20px;
  box-shadow: 0 7px 0 color-mix(in srgb, var(--gold) 82%, transparent);
}

.peek-illustration.is-laptop::after {
  left: 12px;
  right: 12px;
  bottom: 12px;
  height: 11px;
  background: var(--blue);
  border-radius: 4px;
}

.peek-illustration.is-laptop i {
  left: 21px;
  top: 24px;
  width: 32px;
  height: 23px;
  background: #dff7ff;
  border: 3px solid var(--green-dark);
  border-radius: 5px;
}

.peek-illustration.is-tools::after {
  left: 32px;
  top: 18px;
  width: 10px;
  height: 42px;
  background: var(--blue);
  border-radius: 999px;
  transform: rotate(40deg);
}

.peek-illustration.is-tools i {
  left: 19px;
  top: 38px;
  width: 34px;
  height: 9px;
  background: var(--gold);
  border-radius: 999px;
  transform: rotate(-28deg);
}

.peek-illustration.is-book::after {
  left: 17px;
  top: 20px;
  width: 19px;
  height: 35px;
  background: var(--gold);
  border: 3px solid var(--green-dark);
  border-radius: 5px 2px 2px 5px;
}

.peek-illustration.is-book i {
  left: 36px;
  top: 20px;
  width: 19px;
  height: 35px;
  background: #eaf8ff;
  border: 3px solid var(--green-dark);
  border-radius: 2px 5px 5px 2px;
}

.peek-illustration.is-chat::after {
  left: 18px;
  top: 23px;
  width: 38px;
  height: 25px;
  background: #eafbea;
  border: 3px solid var(--green-dark);
  border-radius: 12px;
}

.peek-illustration.is-chat i {
  left: 27px;
  top: 48px;
  width: 12px;
  height: 12px;
  background: #eafbea;
  border-right: 3px solid var(--green-dark);
  border-bottom: 3px solid var(--green-dark);
  transform: rotate(45deg);
}

.contact-form .peek-illustration {
  right: 24px;
  top: -30px;
}

.peek-illustration.is-mail::after {
  left: 15px;
  top: 23px;
  width: 44px;
  height: 30px;
  background: #fff6cf;
  border: 3px solid var(--green-dark);
  border-radius: 7px;
}

.peek-illustration.is-mail i {
  left: 21px;
  top: 28px;
  width: 31px;
  height: 22px;
  border-left: 3px solid var(--green-dark);
  border-bottom: 3px solid var(--green-dark);
  transform: rotate(-45deg) skew(10deg, 10deg);
}

@keyframes peekFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -7px;
  }
}

.pop-site {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 211, 90, 0.34), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(120, 216, 211, 0.30), transparent 30%),
    radial-gradient(circle at 48% 36%, rgba(20, 150, 109, 0.13), transparent 28%),
    var(--paper);
}

.pop-site .brand-mark {
  transform: rotate(-5deg);
  box-shadow: 0 7px 0 color-mix(in srgb, var(--gold) 78%, transparent);
}

.pop-site .hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 251, 232, 0.94) 0%, rgba(239, 252, 247, 0.80) 48%, rgba(239, 252, 247, 0.12) 100%),
    linear-gradient(0deg, rgba(120, 216, 211, 0.08), rgba(255, 211, 90, 0.06));
}

.pop-site .hero-content {
  max-width: 640px;
}

.pop-site .hero .eyebrow {
  margin-bottom: 14px;
}

.pop-site .hero .lead {
  margin-bottom: 28px;
}

.pop-site .button.primary,
.pop-site .nav-cta {
  color: var(--white);
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  box-shadow: 0 7px 0 color-mix(in srgb, var(--gold) 80%, transparent);
}

.pop-site .button.secondary {
  border-color: color-mix(in srgb, var(--blue) 35%, var(--line));
  box-shadow: 0 6px 0 rgba(120, 216, 211, 0.18);
}

.pop-site .hero-metrics div,
.pop-site .quick-actions a,
.pop-site .intro-band article,
.pop-site .strength-grid article,
.pop-site .feature-grid article,
.pop-site .check-list div,
.pop-site .info-hub-links a {
  border-width: 2px;
}

.pop-site .quick-actions a:nth-child(1) {
  background: #dff6f1;
  border-color: color-mix(in srgb, var(--green) 34%, var(--line));
}

.pop-site .quick-actions a:nth-child(2) {
  background: #fff2bd;
  border-color: color-mix(in srgb, var(--gold) 60%, var(--line));
}

.pop-site .quick-actions a:nth-child(3) {
  background: #e8f8df;
  border-color: color-mix(in srgb, var(--green) 30%, var(--line));
}

.pop-site .quick-actions a:nth-child(4) {
  background: #e0f6f4;
  border-color: color-mix(in srgb, var(--blue) 45%, var(--line));
}

.pop-site .quick-actions a::after {
  background: var(--green-dark);
}

.pop-site .intro-band article:nth-child(1) {
  background: linear-gradient(180deg, #ffffff, #dff6f1);
}

.pop-site .intro-band article:nth-child(2) {
  background: linear-gradient(180deg, #ffffff, #fff2bd);
}

.pop-site .intro-band article:nth-child(3) {
  background: linear-gradient(180deg, #ffffff, #e8f8df);
}

.pop-site .strengths {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--paper) 58%, var(--gold)) 0%, var(--paper) 42%, color-mix(in srgb, var(--paper) 62%, var(--blue)) 100%);
}

.pop-site .strength-grid article:nth-child(odd) {
  transform: rotate(-1deg);
}

.pop-site .strength-grid article:nth-child(even) {
  transform: rotate(1deg);
}

.pop-site .contact-section {
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 211, 90, 0.22), transparent 26%),
    linear-gradient(135deg, var(--green-dark), color-mix(in srgb, var(--green) 78%, var(--blue)));
}

.swatch.is-meadow {
  background: linear-gradient(135deg, #f4c84a 0 38%, #2f9b63 38% 70%, #8fd9cf 70%);
}

.swatch.is-lemon-sky {
  background: linear-gradient(135deg, #f8c94f 0 42%, #7bd9e8 42% 70%, #1689c7 70%);
}

.swatch.is-aqua-leaf {
  background: linear-gradient(135deg, #169b74 0 42%, #54c4d4 42% 72%, #f2c84d 72%);
}

.swatch.is-navy-orange {
  background: linear-gradient(135deg, #162947 0 48%, #ef8b2c 48% 76%, #2d80b8 76%);
}

.swatch.is-clean {
  background: linear-gradient(135deg, #30363a 0 48%, #ffffff 48% 70%, #4f626d 70%);
}

.pop-site .education {
  background: #e5f7ef;
}

.pop-site .used-pc {
  background: #ffffff;
}

.pop-site .pop-service-band,
.pop-site .big-contact-strip {
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 211, 90, 0.26), transparent 26%),
    linear-gradient(135deg, color-mix(in srgb, var(--green-dark) 88%, var(--green)), color-mix(in srgb, var(--green) 68%, var(--blue)));
}

.peek-person,
.peek-illustration {
  display: none;
}

/* Window people: each person is clipped inside a small window frame. */
.pop-service-grid article,
.intro-band article,
.used-pc-copy,
.education .section-head,
.company-table-wrap,
.info-hub > div,
.contact-form {
  position: relative;
  overflow: visible;
}

.peek-person {
  --shirt: var(--blue);
  --window-bg: #fffdf3;
  position: absolute;
  z-index: 6;
  width: 92px;
  height: 92px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), var(--window-bg));
  border: 3px solid var(--green-dark);
  border-radius: 18px;
  box-shadow:
    0 12px 0 color-mix(in srgb, var(--gold) 72%, transparent),
    0 18px 28px rgba(36, 48, 43, 0.16);
  transform: translateY(34px) scale(0.86) rotate(5deg);
  transition:
    opacity 420ms ease 140ms,
    transform 720ms cubic-bezier(0.2, 1.35, 0.28, 1) 140ms;
}

.peek-person::before,
.peek-person::after,
.peek-person i,
.peek-person i::before,
.peek-person i::after,
.peek-person b,
.peek-person b::before,
.peek-person b::after {
  content: "";
  position: absolute;
  display: block;
}

.peek-person::before {
  left: 22px;
  top: 18px;
  z-index: 2;
  width: 42px;
  height: 42px;
  background: #ffd7b5;
  border: 3px solid var(--green-dark);
  border-radius: 50%;
  box-shadow:
    -12px -2px 0 -5px #3b2a1f,
    12px -2px 0 -5px #3b2a1f,
    0 50px 0 10px var(--shirt);
  transform: translateY(12px);
}

.peek-person::after {
  left: 18px;
  top: 15px;
  z-index: 3;
  width: 50px;
  height: 23px;
  background: #3b2a1f;
  border: 3px solid var(--green-dark);
  border-bottom: 0;
  border-radius: 26px 26px 10px 10px;
  transform: translateY(12px);
}

.peek-person i {
  left: 31px;
  top: 42px;
  z-index: 4;
  width: 24px;
  height: 10px;
  border-bottom: 3px solid var(--green-dark);
  border-radius: 0 0 999px 999px;
  transform: translateY(12px);
}

.peek-person i::before,
.peek-person i::after {
  top: -9px;
  width: 5px;
  height: 5px;
  background: var(--green-dark);
  border-radius: 50%;
}

.peek-person i::before {
  left: -2px;
}

.peek-person i::after {
  right: -2px;
}

.peek-person b {
  left: -3px;
  right: -3px;
  bottom: -3px;
  z-index: 8;
  height: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), var(--window-bg));
  border-top: 3px solid var(--green-dark);
  box-shadow: 0 -8px 0 rgba(255, 255, 255, 0.72);
}

.peek-person b::before {
  left: 50%;
  top: -58px;
  width: 3px;
  height: 58px;
  background: color-mix(in srgb, var(--green-dark) 82%, transparent);
  transform: translateX(-50%);
}

.peek-person b::after {
  left: 12px;
  right: 12px;
  top: 8px;
  height: 5px;
  background: color-mix(in srgb, var(--gold) 68%, transparent);
  border-radius: 999px;
}

.peek-person.is-blue-shirt {
  --shirt: var(--blue);
  --window-bg: #eaf8ff;
}

.peek-person.is-green-shirt {
  --shirt: var(--green);
  --window-bg: #eafbea;
}

.peek-person.is-yellow-shirt {
  --shirt: var(--gold);
  --window-bg: #fff6cf;
}

.peek-person.is-pink-shirt,
.peek-person.is-mail-person {
  --shirt: var(--blue);
  --window-bg: #e0f6f4;
}

.peek-person.is-green-shirt::after {
  border-radius: 18px 30px 12px 18px;
}

.peek-person.is-yellow-shirt::after {
  background: #5a3a24;
  border-radius: 30px 18px 12px 12px;
}

.peek-person.is-pink-shirt::after {
  background: #29243b;
  border-radius: 24px 24px 18px 8px;
}

.peek-person.is-mail-person::after {
  background: #6b3f1d;
}

.peek-person.peek-top-right {
  right: 14px;
  top: -52px;
  transform: translateY(40px) scale(0.86) rotate(5deg);
}

.peek-person.peek-top-left {
  left: 22px;
  right: auto;
  top: -50px;
  transform: translateY(40px) scale(0.86) rotate(-5deg);
}

.peek-person.peek-right-middle {
  right: -46px;
  top: 30px;
  transform: translateX(42px) scale(0.86) rotate(6deg);
}

.peek-person.peek-left {
  left: -46px;
  right: auto;
  top: 34px;
  transform: translateX(-42px) scale(0.86) rotate(-6deg);
}

.peek-person.peek-bottom-right {
  right: -46px;
  top: 36px;
  bottom: auto;
  transform: translateX(42px) scale(0.86) rotate(6deg);
}

.contact-form .peek-person.peek-form-right {
  right: -48px;
  top: 44px;
  transform: translateX(42px) scale(0.86) rotate(5deg);
}

.is-visible .peek-person,
.contact-form.is-visible .peek-person {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(-3deg);
  animation: personPeekFloat 3.7s ease-in-out 900ms infinite;
}

.is-visible .peek-person.peek-top-right,
.contact-form.is-visible .peek-person.peek-form-right {
  transform: translate(0, 0) scale(1) rotate(4deg);
}

.is-visible .peek-person.peek-left,
.is-visible .peek-person.peek-right-middle,
.is-visible .peek-person.peek-bottom-right {
  transform: translate(0, 0) scale(1) rotate(-4deg);
}

.is-visible .peek-person::before,
.is-visible .peek-person::after,
.is-visible .peek-person i,
.contact-form.is-visible .peek-person::before,
.contact-form.is-visible .peek-person::after,
.contact-form.is-visible .peek-person i {
  transform: translateY(0);
  transition: transform 640ms cubic-bezier(0.18, 1.45, 0.28, 1) 260ms;
}

@media (max-width: 760px) {
  .section.used-pc::before {
    content: none;
  }

  .section.used-pc.is-visible::before {
    opacity: 0;
  }

  .pc-peek-card {
    min-height: 108px;
    padding-right: 118px !important;
  }

  .pc-window-peek {
    right: -8px;
    top: -112px;
    bottom: auto;
    width: 152px;
    height: 152px;
  }

  .pc-window-peek::before,
  .pc-window-peek::after {
    display: none;
  }

  .peek-person {
    width: 78px;
    height: 78px;
    border-radius: 16px;
  }

  .peek-person::before {
    left: 18px;
    top: 15px;
    width: 36px;
    height: 36px;
    box-shadow:
      -10px -2px 0 -5px #3b2a1f,
      10px -2px 0 -5px #3b2a1f,
      0 44px 0 9px var(--shirt);
  }

  .peek-person::after {
    left: 15px;
    top: 12px;
    width: 43px;
    height: 21px;
  }

  .peek-person i {
    left: 26px;
    top: 36px;
    width: 21px;
  }

  .peek-person b {
    height: 27px;
  }

  .peek-person.peek-right-middle,
  .peek-person.peek-left,
  .contact-form .peek-person.peek-form-right {
    left: auto;
    right: 10px;
    top: -42px;
    transform: translateY(34px) scale(0.86) rotate(4deg);
  }
}

/* =============================================================
   2026-09-10 モダン化調整
   -------------------------------------------------------------
   今回の見た目の変更は、このブロックだけにまとめています。
   元に戻したいときは、この行から下をまるごと削除してください。
   ============================================================= */

/* --- 1. 日本語Webフォント（Noto Sans JP）を使う --- */
body,
input,
select,
textarea,
button,
.button {
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  font-feature-settings: "palt" 1;
}

/* --- 2. 横幅の上限（コンテンツは最大1200px、背景は画面いっぱい） --- */
:root {
  --shell: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
}

.site-header,
.hero,
.quick-actions,
.pop-service-band,
.section,
.contact-section,
.site-footer,
.used-pc-hero,
.education-hero,
.info-hero {
  padding-inline: max(var(--gutter), (100% - var(--shell)) / 2);
}

/* --- 3. 見出しの行間・字送り・日本語の改行位置 --- */
h1 {
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.28;
  letter-spacing: -0.02em;
  word-break: auto-phrase;
  text-wrap: pretty;
}

h2 {
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.36;
  letter-spacing: -0.015em;
  word-break: auto-phrase;
  text-wrap: pretty;
}

h3 {
  line-height: 1.5;
  letter-spacing: -0.01em;
  word-break: auto-phrase;
}

/* --- 4. 本文の読みやすさ --- */
p,
dd,
li {
  line-height: 1.95;
  text-wrap: pretty;
}

.eyebrow {
  letter-spacing: 0.14em;
  line-height: 1.6;
}

.check-list span,
.quick-actions span,
.hero-metrics span,
.hero-bubbles span {
  line-height: 1.7;
}

/* --- 5. ボタン・入力欄の角丸をそろえ、押しやすくする --- */
.button {
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.5;
}

input,
select,
textarea {
  border-radius: 12px;
}

.nav-cta {
  border-radius: 999px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* --- 6. 画像まわり --- */
img {
  height: auto;
}

.hero-media {
  background-image: url("./assets/used-pc-photo-2.jpg");
  background-position: 62% 42%;
  background-size: cover;
}

.hero {
  min-height: clamp(520px, 78vh, 760px);
}

/* 最初の画面にボタンを置く（改善3） */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

/* 写真が薄くなりすぎないように、かぶせる白を弱める */
.pop-site .hero-overlay {
  background:
    linear-gradient(100deg,
      rgba(255, 251, 232, 0.96) 0%,
      rgba(255, 251, 232, 0.86) 34%,
      rgba(239, 252, 247, 0.30) 64%,
      rgba(239, 252, 247, 0.06) 100%),
    linear-gradient(0deg, rgba(120, 216, 211, 0.06), rgba(255, 211, 90, 0.05));
}

/* セクションの写真 */
.section-photo {
  margin: 0 0 clamp(24px, 3vw, 40px);
  overflow: hidden;
  background: #efebe3;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section-photo img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.section-photo.wide img {
  aspect-ratio: 12 / 5;
}

.section-photo figcaption {
  padding: 10px 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

/* --- 7. スマホ表示の調整 --- */
@media (max-width: 900px) {
  .pop-site .hero-overlay {
    background:
      linear-gradient(0deg,
        rgba(255, 251, 232, 0.97) 0%,
        rgba(255, 251, 232, 0.90) 46%,
        rgba(239, 252, 247, 0.26) 80%,
        rgba(239, 252, 247, 0.04) 100%),
      linear-gradient(0deg, rgba(120, 216, 211, 0.05), rgba(255, 211, 90, 0.04));
  }

  .hero {
    min-height: 620px;
  }

  .hero-actions .button {
    flex: 1 1 auto;
    justify-content: center;
  }

  .section-photo img,
  .section-photo.wide img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 560px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* --- 8. 写真の見せ方の微調整 --- */
.hero-motion {
  object-position: 62% 46%;
}

/* 中古PCの写真は横長にして、ボタンが下がりすぎないようにする */
.used-pc-copy .section-photo img {
  aspect-ratio: 16 / 9;
}

/* スマホは縦長の写真に差し替える（横長写真だと切れすぎるため） */
@media (max-width: 900px) {
  .hero-motion {
    display: none;
  }

  /* スマホは縦長写真に差し替え、文字の読みやすさを優先して薄く敷く */
  .hero-media {
    background-image: url("./assets/used-pc-photo-2.jpg");
    background-position: center top;
    opacity: 0.42;
  }

  .pop-site .hero-overlay {
    background:
      linear-gradient(0deg,
        rgba(255, 251, 232, 0.94) 0%,
        rgba(255, 251, 232, 0.80) 52%,
        rgba(239, 252, 247, 0.34) 82%,
        rgba(239, 252, 247, 0.10) 100%),
      linear-gradient(0deg, rgba(120, 216, 211, 0.05), rgba(255, 211, 90, 0.04));
  }
}

/* --- 9. トップのヒーロー: すべてのスライドで「上に画像、下に文字」 --- */
/* 画像は画面の横幅いっぱい。文字は画像に重ねず、グラデーションも使わない。 */
.pop-site .hero {
  --hero-img-h: clamp(280px, 35vw, 760px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
  padding: 0;
  background: #fffbe8;
}

.pop-site .hero .hero-media {
  position: relative;
  inset: auto;
  flex: none;
  height: var(--hero-img-h);
  overflow: hidden;
  opacity: 1;
  background-color: #fffbe8;
}

.pop-site .hero .hero-slideshow img,
.pop-site .hero .hero-motion {
  object-fit: cover;
  object-position: center 28%;
}

.pop-site .hero .hero-overlay {
  display: none;
}

.pop-site .hero .hero-content {
  max-width: none;
  padding: clamp(28px, 4vw, 48px) clamp(20px, 6vw, 88px) clamp(36px, 5vw, 56px);
}

.pop-site .hero .hero-content > * {
  max-width: 720px;
}

.pop-site .hero .hero-slideshow img.pos-top {
  object-position: center top;
}

@media (min-width: 901px) {
  /* イラスト: 頭まで見せつつ、文字が画像の下端ギリギリに来るように少し拡大 */
  .pop-site .hero .hero-slideshow img.pos-top {
    transform: scale(1.08);
    transform-origin: 70% 0;
  }
}

@media (max-width: 900px) {
  .pop-site .hero {
    --hero-img-h: 64vw;
  }
}

/* --- 10. 各セクションの写真 --- */
/* 中古PCの写真2枚は横に並べる(スマホでは縦に積む) */
.photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 0 clamp(24px, 3vw, 40px);
}

.photo-pair .section-photo {
  margin: 0;
}

.used-pc-copy .photo-pair .section-photo img {
  aspect-ratio: 4 / 3;
}

@media (max-width: 520px) {
  .photo-pair {
    grid-template-columns: 1fr;
  }
}

/* --- 11. 学校の体育着のご案内(教科書・教材・学校用品セクションの下) --- */
.uniform-notice {
  display: grid;
  gap: 22px;
  margin-top: clamp(32px, 5vw, 56px);
  padding: clamp(22px, 3.5vw, 36px);
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.uniform-head .eyebrow {
  margin-bottom: 8px;
}

.uniform-head h3 {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.35;
  text-wrap: balance;
}

.uniform-head p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.uniform-body {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 18px;
}

.uniform-block {
  padding: 20px 22px;
  background: var(--paper);
  border-radius: calc(var(--radius) - 2px);
}

.uniform-block h4 {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 15px;
  letter-spacing: 0.06em;
}

.school-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.school-chips li {
  padding: 8px 16px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
}

.sale-days {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.sale-days strong {
  margin-right: 2px;
  color: var(--green);
  font-size: 30px;
  line-height: 1;
}

.sale-closed {
  margin: 0 0 8px;
  font-weight: 700;
}

.sale-hours {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.uniform-foot {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .uniform-body {
    grid-template-columns: 1fr;
  }
}

/* --- Googleマップの埋め込み(アクセスページ) --- */
.map-box.map-embed {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  border-style: solid;
  text-align: left;
}

.map-embed iframe {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-height: 380px;
  border: 0;
}

.map-embed .map-link {
  padding: 14px 20px;
  background: var(--white);
  border-top: 1px solid var(--line);
  color: var(--green);
  font-weight: 800;
}

/* hidden 属性で隠した部分が、display の指定に負けて残らないようにする(教材ページのログイン画面など) */
[hidden] {
  display: none !important;
}

/* --- 12. 営業日・定休日のご案内(事務所 / パソコン販売) --- */
.hours-panel {
  display: grid;
  gap: 16px;
  margin-top: 0;
}

.access-layout .hours-panel {
  margin-top: 22px;
}

.hours-card {
  padding: 20px 22px 22px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hours-card h3 {
  margin: 0 0 4px;
  font-size: 20px;
}

.hours-scope {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.week {
  display: flex;
  gap: 4px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.week li {
  flex: 1 1 0;
  min-width: 0;
  padding: 8px 0 7px;
  border: 1.5px solid transparent;
  border-radius: 10px;
  text-align: center;
  line-height: 1.2;
}

.week li b {
  display: block;
  font-size: 16px;
}

.week li span {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.week li.open {
  background: rgba(47, 158, 110, 0.12);
  border-color: rgba(47, 158, 110, 0.45);
  color: var(--green);
}

.week li.closed {
  background: rgba(180, 73, 47, 0.1);
  border-color: rgba(180, 73, 47, 0.35);
  color: #a4442c;
}

.hours-time {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin: 0;
}

.hours-time strong {
  font-size: 22px;
}

.hours-time span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.sale-hours strong {
  color: var(--ink);
}

/* 店舗外観は縦長の写真なので、看板のある中ほどを横長に切り出す */
.section-photo.storefront-photo img {
  aspect-ratio: 16 / 7;
  object-position: 50% 54%;
}

/* お問い合わせフォーム: メールアドレスの打ち間違いの案内 */
.email-hint {
  margin: -6px 0 0;
  padding: 10px 12px;
  color: #6a4a00;
  background: #fff6d8;
  border: 1px solid #f0d27a;
  border-radius: 6px;
  font-weight: 700;
  line-height: 1.7;
}

.email-hint[hidden] {
  display: none;
}

.email-hint button {
  margin-left: 6px;
  padding: 4px 12px;
  color: #fff;
  background: #14594b;
  border: 0;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
}
/* 学校向け教材のご注文ボタン: ロゴと同じオレンジ(#f2a900)。白字だと読みにくいので、文字は濃い色 */
.button.order,
.pop-site .button.order {
  min-height: 52px;
  padding: 0 28px;
  color: #193124;
  background: #f2a900;
  border: 0;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 6px 0 #b87a00;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.button.order:hover,
.pop-site .button.order:hover {
  filter: brightness(1.06);
  transform: translateY(2px);
  box-shadow: 0 4px 0 #b87a00;
}

.button.order:focus-visible {
  outline: 3px solid #193124;
  outline-offset: 3px;
}