/* MacBook content only. No external assets, fonts, or icon dependencies. */
body.dso-macbook-layout #contents > .l-content {
  width: calc(100% - 32px);
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
}

body.dso-macbook-layout #contents .is-no_sidebar > .l-content__main {
  width: 100%;
  max-width: none;
  min-width: 0;
}

body.dso-macbook-layout h1 {
  margin: 0 0 28px;
  color: #192b3e;
  font-size: clamp(1.35rem, 2.3vw, 1.95rem);
  font-weight: 750;
  line-height: 1.5;
}

.dso-macbook {
  --dso-blue: #1e73be;
  --dso-blue-dark: #15568f;
  --dso-ink: #192b3e;
  --dso-muted: #526576;
  --dso-line: #d8e3ec;
  --dso-soft: #f3f8fc;
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  color: var(--dso-ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  overflow-wrap: anywhere;
  text-align: left;
}

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

.dso-macbook [hidden] {
  display: none !important;
}

.dso-macbook :is(h1, h2, h3, h4) {
  clear: none;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: var(--dso-ink) !important;
  font-weight: 750;
  letter-spacing: .015em;
  line-height: 1.45;
  text-align: left;
}

.dso-macbook :is(h1, h2, h3, h4)::before,
.dso-macbook :is(h1, h2, h3, h4)::after {
  display: none !important;
}

.dso-macbook h1 {
  margin: 0 0 24px;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
}

.dso-macbook h2 {
  margin: 0 0 20px;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
}

.dso-macbook h3 {
  margin: 28px 0 12px;
  font-size: 1.2rem;
}

.dso-macbook h4 {
  margin: 24px 0 10px;
  font-size: 1.05rem;
}

.dso-macbook p {
  margin: 0 0 18px;
}

.dso-macbook :is(ul, ol) {
  margin: 0 0 20px;
  padding-left: 1.5em;
}

.dso-macbook li {
  margin: 0 0 8px;
}

.dso-macbook a {
  color: var(--dso-blue-dark);
  text-decoration: underline;
  text-underline-offset: .2em;
  text-decoration-thickness: 1px;
}

.dso-macbook a:hover {
  color: var(--dso-blue);
}

.dso-macbook :is(a, button, input, summary):focus-visible {
  outline: 3px solid var(--dso-blue);
  outline-offset: 4px;
}

.dso-macbook img {
  display: block;
  max-width: 100%;
  height: auto;
}

.dso-macbook .dso-hero {
  margin: 0 0 32px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid #dcebf6;
  border-radius: 20px;
  background: linear-gradient(135deg, #f1f8fd 0%, #fff 76%);
}

.dso-macbook .dso-eyebrow {
  margin-bottom: 12px;
  color: var(--dso-blue-dark);
  font-size: .85rem;
  font-weight: 750;
  letter-spacing: .08em;
  line-height: 1.6;
}

.dso-macbook .dso-lead {
  max-width: 62ch;
  color: #344f64;
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  line-height: 1.9;
}

.dso-macbook .dso-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.dso-macbook .dso-hero-grid > *,
.dso-macbook .dso-hero-image {
  min-width: 0;
  margin: 0;
}

.dso-macbook .dso-hero-image img,
.dso-macbook img.dso-hero-image {
  width: 100%;
  height: auto;
  border: 1px solid var(--dso-line);
  border-radius: 14px;
}

.dso-macbook .dso-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  margin: 24px 0 0;
}

.dso-macbook a.dso-btn {
  display: inline-flex;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 22px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--dso-blue);
  border-radius: 8px;
  background: var(--dso-blue);
  box-shadow: none;
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: normal;
  text-align: center;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease;
}

.dso-macbook a.dso-btn:hover {
  border-color: var(--dso-blue-dark);
  background: var(--dso-blue-dark);
  color: #fff;
}

.dso-macbook a.dso-btn-secondary {
  background: #fff;
  color: var(--dso-blue-dark);
}

.dso-macbook a.dso-btn-secondary:hover {
  background: var(--dso-soft);
  color: var(--dso-blue-dark);
}

.dso-macbook .dso-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 0;
}

.dso-macbook .dso-facts > div {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--dso-line);
  border-radius: 10px;
  background: #fff;
  font-size: .9rem;
  line-height: 1.75;
}

.dso-macbook .dso-facts strong {
  display: block;
  margin-bottom: 5px;
  color: var(--dso-blue-dark);
  font-size: 1rem;
}

.dso-macbook .dso-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0 0 40px;
  padding: 16px 0;
  border-bottom: 1px solid var(--dso-line);
}

.dso-macbook .dso-section-nav a {
  display: inline-flex;
  min-height: 44px;
  padding: 8px 14px;
  align-items: center;
  border-radius: 6px;
  background: var(--dso-soft);
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
}

.dso-macbook .dso-section {
  margin: 0 0 64px;
  scroll-margin-top: 110px;
}

.dso-macbook .dso-section-heading {
  margin-bottom: 24px;
}

.dso-macbook .dso-section-heading > :last-child {
  margin-bottom: 0;
}

.dso-macbook .dso-section > p {
  max-width: 80ch;
}

.dso-macbook .dso-price-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 24px 0;
  padding: 20px;
  border: 1px solid var(--dso-line);
  border-radius: 12px;
  background: var(--dso-soft);
}

.dso-macbook .dso-price-tools > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.dso-macbook .dso-price-tools label {
  display: flex;
  min-width: 0;
  flex: 1 1 280px;
  flex-direction: column;
  gap: 6px;
  font-size: .9rem;
  font-weight: 650;
}

.dso-macbook .dso-price-tools button {
  display: inline-flex;
  min-height: 44px;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 9px 16px;
  align-items: center;
  justify-content: center;
  border: 1px solid #aebfce;
  border-radius: 999px;
  background: #fff;
  box-shadow: none;
  color: #29485f;
  font: inherit;
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: normal;
  text-transform: none;
  cursor: pointer;
}

.dso-macbook .dso-price-tools button:hover {
  border-color: var(--dso-blue);
  background: #e7f2fa;
}

.dso-macbook .dso-price-tools button[aria-pressed="true"] {
  border-color: var(--dso-blue-dark);
  background: var(--dso-blue-dark);
  color: #fff;
}

.dso-macbook .dso-price-tools input[data-dso-search] {
  display: block;
  flex: 1 1 280px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid #aebfce;
  border-radius: 7px;
  background: #fff;
  box-shadow: none;
  color: var(--dso-ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
}

.dso-macbook .dso-price-tools label input[data-dso-search] {
  flex: none;
}

.dso-macbook .dso-price-tools input::placeholder {
  color: #667785;
  opacity: 1;
}

.dso-macbook .dso-price-tools [data-dso-count] {
  color: var(--dso-muted);
  font-size: .85rem;
  line-height: 1.6;
}

.dso-macbook .dso-price-tools button[data-dso-reset] {
  padding-right: 14px;
  padding-left: 14px;
  border-radius: 7px;
  font-size: .85rem;
}

.dso-macbook :is(.dso-price-table, .dso-service-table) {
  width: 100%;
  max-width: 100%;
  margin: 0 0 24px;
  border: 0;
  border-top: 1px solid var(--dso-line);
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
  color: var(--dso-ink);
  background: #fff;
  font-size: .95rem;
  line-height: 1.65;
  text-align: left;
}

.dso-macbook :is(.dso-price-table, .dso-service-table) caption {
  padding: 0 0 14px;
  color: var(--dso-muted);
  font-size: .9rem;
  line-height: 1.65;
  text-align: left;
}

.dso-macbook :is(.dso-price-table, .dso-service-table) :is(th, td) {
  height: auto;
  padding: 18px 12px;
  border: 0;
  border-bottom: 1px solid var(--dso-line);
  background: transparent;
  color: inherit;
  vertical-align: middle;
  text-align: left;
  overflow-wrap: anywhere;
}

.dso-macbook :is(.dso-price-table, .dso-service-table) thead th {
  padding-top: 14px;
  padding-bottom: 14px;
  background: #edf4f9;
  font-size: .85rem;
  font-weight: 700;
}

.dso-macbook .dso-price-table thead th:nth-child(1) { width: 32%; }
.dso-macbook .dso-price-table thead th:nth-child(2) { width: 18%; }
.dso-macbook .dso-price-table thead th:nth-child(3) { width: 16%; }
.dso-macbook .dso-price-table thead th:nth-child(4) { width: 18%; }
.dso-macbook .dso-price-table thead th:nth-child(5) { width: 16%; }

.dso-macbook .dso-price-table tbody tr:hover {
  background: #f6fafe;
}

.dso-macbook .dso-price-table .dso-model {
  font-size: .95rem;
  font-weight: 650;
}

.dso-macbook .dso-model strong {
  display: block;
  font-size: 1rem;
  line-height: 1.6;
}

.dso-macbook .dso-price-table .dso-price {
  color: #163f62;
  font-size: clamp(1.05rem, 1.55vw, 1.4rem);
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}

.dso-macbook .dso-price-table :is(.dso-code, .dso-leadtime) {
  color: var(--dso-muted);
  font-size: .88rem;
}

.dso-macbook .dso-price-table .dso-detail a {
  display: inline-flex;
  min-height: 44px;
  padding: 8px 11px;
  align-items: center;
  justify-content: center;
  border: 1px solid #b7cede;
  border-radius: 7px;
  background: #fff;
  color: var(--dso-blue-dark);
  font-size: .85rem;
  font-weight: 650;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
}

.dso-macbook .dso-price-table .dso-detail a:hover {
  border-color: var(--dso-blue);
  background: #eaf4fc;
}

.dso-macbook .dso-mobile-label {
  display: none;
}

.dso-macbook [data-dso-empty] {
  margin: 0 0 24px;
  padding: 24px;
  border: 1px dashed #aebfce;
  border-radius: 10px;
  background: var(--dso-soft);
  color: var(--dso-muted);
  line-height: 1.8;
}

.dso-macbook .dso-service-table thead th:first-child,
.dso-macbook .dso-service-table tbody th {
  width: 34%;
}

.dso-macbook .dso-service-table tbody th {
  font-weight: 650;
}

.dso-macbook .dso-service-table td strong {
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
}

.dso-macbook .dso-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 28px 0;
}

.dso-macbook .dso-photo-grid figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--dso-line);
  border-radius: 12px;
  background: #fff;
}

.dso-macbook .dso-photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  border-radius: 0;
  object-fit: contain;
  background: #f8fafc;
}

.dso-macbook .dso-photo-grid figcaption {
  margin: 0;
  padding: 14px 16px;
  color: var(--dso-muted);
  font-size: .88rem;
  line-height: 1.8;
  text-align: left;
}

.dso-macbook .dso-callout {
  margin: 28px 0;
  padding: 24px 28px;
  border: 1px solid #c8deee;
  border-left: 4px solid var(--dso-blue);
  border-radius: 8px;
  background: var(--dso-soft);
}

.dso-macbook .dso-callout > :first-child {
  margin-top: 0;
}

.dso-macbook .dso-callout > :last-child {
  margin-bottom: 0;
}

.dso-macbook .dso-steps {
  counter-reset: dso-step;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.dso-macbook .dso-steps > li {
  list-style: none !important;
  position: relative;
  min-height: 64px;
  margin: 0;
  padding: 24px 20px 24px 82px;
  border-bottom: 1px solid var(--dso-line);
  counter-increment: dso-step;
}

.dso-macbook .dso-steps > li::marker {
  content: "";
}

.dso-macbook .dso-steps > li::before {
  position: absolute;
  top: 24px;
  left: 16px;
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e8f2fa;
  color: var(--dso-blue-dark);
  font-size: 1.1rem;
  font-weight: 750;
  content: counter(dso-step, decimal-leading-zero);
}

.dso-macbook .dso-steps > li > :first-child {
  margin-top: 0;
}

.dso-macbook .dso-steps > li > :last-child {
  margin-bottom: 0;
}

.dso-macbook .dso-faq details {
  margin: 0 0 12px;
  padding: 0;
  border: 1px solid var(--dso-line);
  border-radius: 10px;
  background: #fff;
}

.dso-macbook .dso-faq summary {
  position: relative;
  min-height: 56px;
  margin: 0;
  padding: 17px 48px 17px 20px;
  color: var(--dso-ink);
  font-weight: 700;
  line-height: 1.7;
  list-style: none;
  cursor: pointer;
}

.dso-macbook .dso-faq summary::-webkit-details-marker {
  display: none;
}

.dso-macbook .dso-faq summary::after {
  position: absolute;
  top: 16px;
  right: 20px;
  color: var(--dso-blue-dark);
  font-size: 1.25rem;
  line-height: 1.5;
  content: "+";
}

.dso-macbook .dso-faq details[open] summary::after {
  content: "−";
}

.dso-macbook .dso-faq details > :not(summary) {
  margin: 0;
  padding: 0 20px 20px;
  color: #354f62;
}

.dso-macbook .dso-related {
  margin: 32px 0;
  padding: 24px;
  border: 1px solid var(--dso-line);
  border-radius: 12px;
  background: #fff;
}

.dso-macbook .dso-related ul {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .dso-macbook .dso-hero-grid {
    grid-template-columns: 1fr;
  }

  .dso-macbook .dso-hero-image {
    max-width: 640px;
    margin: 0 auto;
  }

  .dso-macbook .dso-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .dso-macbook .dso-price-table {
    display: block;
    border: 0;
  }

  .dso-macbook .dso-price-table caption {
    display: block;
  }

  .dso-macbook .dso-price-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .dso-macbook .dso-price-table tbody {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    width: 100%;
  }

  .dso-macbook .dso-price-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--dso-line);
    border-radius: 12px;
    background: #fff;
  }

  .dso-macbook .dso-price-table tbody tr > td {
    display: block;
    min-width: 0;
    width: auto;
    padding: 0;
    border: 0;
  }

  .dso-macbook .dso-price-table .dso-model {
    grid-column: 1 / -1;
    padding-bottom: 14px;
    border-bottom: 1px solid #e5edf3;
  }

  .dso-macbook .dso-model strong {
    font-size: 1.05rem;
  }

  .dso-macbook .dso-price-table .dso-price {
    font-size: 1.4rem;
  }

  .dso-macbook .dso-price-table :is(.dso-code, .dso-leadtime) {
    font-size: .9rem;
  }

  .dso-macbook .dso-price-table .dso-detail {
    align-self: end;
  }

  .dso-macbook .dso-price-table .dso-detail a {
    width: 100%;
    font-size: .88rem;
  }

  .dso-macbook .dso-price-table .dso-mobile-label {
    display: block;
    margin-bottom: 5px;
    color: var(--dso-muted);
    font-size: .75rem;
    font-weight: 500;
    line-height: 1.5;
  }

  .dso-macbook .dso-price-table .dso-model .dso-mobile-label {
    display: none;
  }
}

@media (max-width: 600px) {
  body.dso-macbook-layout #contents > .l-content {
    width: calc(100% - 20px);
  }

  .dso-macbook {
    font-size: 15px;
  }

  .dso-macbook .dso-hero {
    padding: 24px 18px;
    border-radius: 14px;
  }

  .dso-macbook .dso-facts,
  .dso-macbook .dso-photo-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dso-macbook .dso-facts {
    gap: 10px;
  }

  .dso-macbook .dso-actions > a {
    flex: 1 1 100%;
  }

  .dso-macbook .dso-section-nav {
    gap: 8px;
    margin-bottom: 32px;
  }

  .dso-macbook .dso-section-nav a {
    padding: 8px 10px;
    font-size: .82rem;
  }

  .dso-macbook .dso-section {
    margin-bottom: 48px;
    scroll-margin-top: 90px;
  }

  .dso-macbook .dso-price-tools {
    gap: 9px;
    padding: 16px;
  }

  .dso-macbook .dso-price-tools > div,
  .dso-macbook .dso-price-tools label {
    width: 100%;
  }

  .dso-macbook .dso-price-tools button {
    padding-right: 12px;
    padding-left: 12px;
    font-size: .83rem;
  }

  .dso-macbook .dso-price-table tbody tr {
    gap: 14px;
    padding: 16px;
  }

  .dso-macbook .dso-price-table .dso-price {
    font-size: 1.18rem;
  }

  .dso-macbook .dso-callout,
  .dso-macbook .dso-related {
    padding: 20px 18px;
  }

  .dso-macbook .dso-steps > li {
    padding: 22px 0 22px 60px;
  }

  .dso-macbook .dso-steps > li::before {
    top: 22px;
    left: 0;
    width: 40px;
    height: 40px;
  }

  .dso-macbook .dso-service-table {
    font-size: .82rem;
  }

  .dso-macbook .dso-service-table :is(th, td) {
    padding: 13px 8px;
  }

  .dso-macbook .dso-service-table td strong {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dso-macbook *,
  .dso-macbook *::before,
  .dso-macbook *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media print {
  .dso-macbook .dso-price-tools,
  .dso-macbook .dso-section-nav {
    display: none;
  }

  .dso-macbook .dso-price-table tbody tr {
    break-inside: avoid;
  }
}
