html:has(.touch-design) {
  color-scheme: light;
  --navy: #101f30;
  --ink: #16283a;
  --muted: #526474;
  --paper: #f6f4ef;
  --line: #dddeda;
  --orange: #ffb077;
  font-family: "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
}
.touch-design .shell {
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
}
.touch-design .header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
html:has(.touch-design) {
  scroll-padding-top: 80px;
}
@media (max-width: 680px) {
  html:has(.touch-design) {
    scroll-padding-top: 62px;
  }
}
.touch-design .header-inner,
.touch-design .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.touch-design .header-inner {
  min-height: 80px;
}
.touch-design .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font:
    700 29px/1 Arial,
    sans-serif;
  letter-spacing: -0.06em;
  white-space: nowrap;
}
.touch-design .header nav {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2.5vw, 38px);
  font-size: 14px;
  font-weight: 700;
}
.touch-design .header nav a:not(.button):hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.touch-design .menu-toggle {
  display: none;
}
.touch-design .header .button,
.touch-design .contact .button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 0 21px;
  background: var(--orange);
  color: #241800;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
}
.touch-design .header .button:hover,
.touch-design .contact .button:hover {
  background: #ffca9f;
}
.touch-design .header .button.compact,
.touch-design .contact .button.compact {
  min-height: 44px;
  background: var(--navy);
  color: #fff;
}
.touch-design .header .button.compact:hover,
.touch-design .contact .button.compact:hover {
  background: #30495e;
}
.touch-design .header .button.outline,
.touch-design .contact .button.outline {
  border-color: #a8b8c7;
  background: transparent;
  color: #fff;
}
.touch-design .header .button.outline:hover,
.touch-design .contact .button.outline:hover {
  background: #263e52;
}
.touch-design .header .button-icon,
.touch-design .contact .button-icon {
  display: block;
  flex: 0 0 18px;
}
.touch-design .header .actions,
.touch-design .contact .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}
.touch-design .header .button.detail-link,
.touch-design .contact .button.detail-link {
  min-height: 48px;
  margin-top: 21px;
  padding-inline: 18px;
  font-size: 14px;
}
.touch-design .contact {
  background: var(--navy);
  color: #fff;
  padding-block: 52px;
}
.touch-design .contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.touch-design .contact h2 {
  font-size: clamp(26px, 3.2vw, 42px);
}
.touch-design .contact p {
  margin-top: 10px;
  color: #d5dee6;
  line-height: 1.8;
}
.touch-design .footer {
  background: var(--paper);
  padding-block: 25px;
}
.touch-design .footer a:not(.brand) {
  color: var(--muted);
  font-size: 12px;
}
@media (max-width: 900px) {
  .touch-design .shell {
    width: calc(100% - 48px);
  }
  .touch-design .header nav {
    gap: 13px;
    font-size: 13px;
  }
  .touch-design .contact-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 680px) {
  .touch-design .shell {
    width: calc(100% - 36px);
  }
  .touch-design .header-inner {
    min-height: 62px;
  }
  .touch-design .menu-toggle {
    display: block;
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
    padding: 9px 13px;
    border-radius: 5px;
    font-weight: 700;
  }
  .touch-design .header nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    padding: 14px 18px 22px;
    background: #fff;
    box-shadow: 0 10px 15px #0002;
  }
  .touch-design .header nav.is-open {
    display: flex;
    align-items: stretch;
    flex-direction: column;
  }
  .touch-design .header nav a:not(.button) {
    padding: 8px 0;
  }
  .touch-design .header .button,
  .touch-design .contact .button {
    min-height: 48px;
    padding-inline: 12px;
    gap: 8px;
    font-size: 12px;
  }
  .touch-design .footer-inner {
    flex-wrap: wrap;
    gap: 15px;
  }
}
.touch-design .contact-phone span {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.touch-design .contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.touch-design .contact-inner {
  align-items: end;
  gap: 18px;
}
.touch-design .contact-inner .actions {
  flex: none;
  justify-content: flex-end;
  gap: 12px;
}
.touch-design .footer-main {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "brand nav" "description copyright";
  align-items: center;
  gap: 18px 28px;
}
.touch-design .footer-brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 14px;
}
.touch-design .footer-description {
  grid-area: description;
  color: var(--muted);
  font-size: 14px;
}
.touch-design .footer-main nav {
  grid-area: nav;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.touch-design .footer-main small {
  grid-area: copyright;
  justify-self: end;
}
@media (max-width: 900px) {
  .touch-design .contact-inner {
    align-items: stretch;
    gap: 28px;
  }
}
@media (max-width: 680px) {
  .touch-design .footer-main {
    grid-template-columns: 1fr;
    grid-template-areas: "brand" "description" "nav" "copyright";
    gap: 16px;
  }
  .touch-design .footer-main nav {
    justify-content: flex-start;
  }
  .touch-design .footer-main small {
    justify-self: center;
  }
}
.header nav a[aria-current="page"] {
  color: #a35326;
}
.footer-main nav a:hover,
.footer-main nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.touch-design .header-inner {
  height: auto;
}
.touch-design .contact h2,
.touch-design .contact p,
.touch-design .footer-description {
  margin-block-end: 0;
}

@media (681px <= width <= 820px) {
  :root,
  html:has(.touch-design) {
    scroll-padding-top: 62px;
  }
  .header .header-inner {
    min-height: 62px;
  }
  .header .menu-toggle {
    display: block;
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
    padding: 9px 13px;
    border-radius: 5px;
    font-weight: 700;
  }
  :is(body, .touch-design) .header nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    padding: 14px 18px 22px;
    background: #fff;
    box-shadow: 0 10px 15px #0002;
  }
  :is(body, .touch-design) .header nav.is-open {
    display: flex;
    align-items: stretch;
    flex-direction: column;
  }
}

/* Shared heading styles for the homepage and touch-order page. */
:root {
  --site-heading-font: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --site-hero-heading-size: clamp(40px, 5.3vw, 76px);
  --site-section-heading-size: clamp(28px, 3.5vw, 48px);
}

.hero-copy h1,
.touch-design .hero-copy h1 {
  font-family: var(--site-heading-font);
  font-size: var(--site-hero-heading-size);
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: -0.045em;
}

.section-title,
#self h2,
.contact h2,
.touch-design :is(.section-heading, .tool-copy) h2 {
  font-family: var(--site-heading-font);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.touch-design :is(.section-heading, .tool-copy) h2 {
  font-size: var(--site-section-heading-size);
}
