:root {
  --bg: #f7f7fb;
  --panel: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: #dbe3ee;
  --accent: #0ea5e9;
  --accent-2: #16a34a;
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 700px at 10% 0%,
      rgba(14, 165, 233, 0.12) 0%,
      transparent 55%),
    radial-gradient(900px 650px at 90% 10%,
      rgba(22, 163, 74, 0.1) 0%,
      transparent 55%),
    var(--bg);
}

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

.page {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 48px 18px 72px;
}

.page-home {
  width: min(100%, 840px);
  padding-top: 72px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h3 {
  margin: 0;
  margin-top: 1rem;
}

h4 {
  margin: 0;
  ;
}

.description {
  font-size: 12px;
}

.items {
  margin: 0;
  font-size: 9px;
  text-align: center;
}

.subHeader {
  margin-left: 4px;
  font-size: 11px;
}

.orange {
  color: orange;
  ;
}

.lead {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
}

.homeHero {
  max-width: 680px;
}

.stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 34px;
}

.sectionCard {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  padding: 18px;
}

.hubCard {
  display: block;
  padding: 4px 4px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  transition:
    transform 0.12s ease,
    border-color 0.12s ease,
    background 0.12s ease;
}

.hubCard:hover {
  transform: translateY(-1px);
}

.hubLabel {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hubCard strong {
  display: block;
  font-size: 24px;
  line-height: 1.2;
}

.hubText {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.carousel {
  border-top: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
  padding: 16px 0 0;
}

.carouselViewport {
  overflow: hidden;
}

.carouselTrack {
  display: flex;
  transition: transform 0.28s ease;
}

.slide {
  flex: 0 0 100%;
  position: relative;
  min-height: 240px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: linear-gradient(135deg, #f3f6fb, #ffffff);
}

.slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.26), transparent 55%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.32), transparent 35%);
}

.slide span {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 1;
  color: rgba(15, 23, 42, 0.74);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.carouselControls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.carouselButton {
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 12px;
  color: var(--text);
  cursor: pointer;
}

.carouselDots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.dotButton {
  width: 10px;
  height: 10px;
  border: 1px solid #b8c5d5;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.dotButton.is-active {
  background: var(--accent);
  border-color: var(--accent);
}

.tone-a {
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.22), transparent 45%),
    linear-gradient(135deg, #eef7ff, #fdfefe);
}

.tone-b {
  background:
    radial-gradient(circle at center, rgba(22, 163, 74, 0.18), transparent 42%),
    linear-gradient(135deg, #f5fbf6, #ffffff);
}

.tone-c {
  background:
    radial-gradient(circle at bottom right, rgba(249, 115, 22, 0.2), transparent 45%),
    linear-gradient(135deg, #fff7ef, #ffffff);
}

.tone-d {
  background:
    radial-gradient(circle at top left, rgba(99, 102, 241, 0.18), transparent 45%),
    linear-gradient(135deg, #f5f7ff, #ffffff);
}

.tone-e {
  background:
    radial-gradient(circle at top right, rgba(6, 182, 212, 0.18), transparent 45%),
    linear-gradient(135deg, #f2fcff, #ffffff);
}

.tone-f {
  background:
    radial-gradient(circle at center, rgba(168, 85, 247, 0.14), transparent 45%),
    linear-gradient(135deg, #faf5ff, #ffffff);
}

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
}

.subnav a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.aboutHeader {
  max-width: 720px;
}

.backLink {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.aboutGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 30px;
}

.linksList {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 30px;
}

.listLink {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  transition:
    transform 0.12s ease,
    border-color 0.12s ease,
    background 0.12s ease;
}

.listLink:hover {
  transform: translateY(-1px);
  border-color: #c7d4e5;
  background: rgba(255, 255, 255, 0.92);
}

.listLink strong {
  display: block;
  font-size: 16px;
}

.listLink span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.linksPage {
  width: min(100%, 700px);
  margin: 0 auto;
  padding: 20px 14px 36px;
}

.linksHero {
  text-align: center;
  margin-bottom: 16px;
}

.linksHero-urukworks {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding: 4px 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.linksAvatar {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 6px auto 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  font-size: 20px;
  font-weight: 700;
}

.linksTitle {
  font-size: clamp(1.6rem, 4.8vw, 2.2rem);
  line-height: 1.1;
}

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

.linksHero-urukworks .linksTitle,
.linksHero-urukworks .linksLead {
  font-family: Arial, "Arial Black", Helvetica, sans-serif;
}

.linksStack {
  display: grid;
  gap: 8px;
}

.linksStack-centered {
  justify-items: center;
}

.linksStack-centered .bioLink {
  width: min(100%, 520px);
}

.linksStack-feature {
  margin-bottom: 14px;
}

.bioLink {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  transition:
    transform 0.12s ease,
    border-color 0.12s ease,
    background 0.12s ease;
}

.bioLink:hover {
  transform: translateY(-1px);
  border-color: #c7d4e5;
  background: rgba(255, 255, 255, 0.96);
}

.bioLink-feature .bioContent {
  text-align: center;
}

.bioLink-feature {
  justify-content: center;
  min-height: 86px;
  border-width: 2px;
  border-color: rgba(249, 115, 22, 0.45);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.bioIcon {
  display: inline-grid;
  flex: 0 0 54px;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 0;
  background: transparent;
  overflow: visible;
}

.bioIcon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.bioIcon-x {
  background: #000;
  border-color: #000;
}

.bioContent {
  display: block;
  text-align: left;
  min-width: 0;
}

.bioContent strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}

.bioContent span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.shopIconRow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-evenly;
}

.shopSection {
  width: min(100%, 520px);
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.shopSection h4 {
  margin-bottom: 12px;
}

.shopIconLink {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  padding: 6px 4px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  transition:
    transform 0.12s ease,
    border-color 0.12s ease,
    background 0.12s ease;
}

.shopIconLink:hover {
  transform: translateY(-1px);
  border-color: #c7d4e5;
  background: rgba(255, 255, 255, 0.96);
}

.shopIconLink img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  display: block;
}

.shopMetaLinks {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  line-height: 1.6;
}

.shopMetaLinks a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.shopMetaLinks span {
  margin: 0 4px;
}

.linksPage footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.linksPage footer .backLink {
  margin-bottom: 0;
}

.aboutCard {
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.aboutCard h2 {
  margin: 0 0 10px;
  font-size: 16px;
}

.aboutCard p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
}

.aboutLinks a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.aboutLinks span {
  margin: 0 8px;
}

@media (min-width: 760px) {
  .aboutGrid {
    grid-template-columns: 1fr 1fr;
  }

  .aboutCard:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 34px 14px 56px;
  }

  .page-home {
    padding-top: 52px;
  }

  .hubCard {
    padding: 0;
  }

  .slide {
    min-height: 160px;
  }

  .subnav {
    gap: 12px;
  }

  .aboutLinks span {
    margin: 0 6px;
  }

  .shopIconRow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
  }

  .shopIconLink {
    grid-column: span 2;
    width: 100%;
    height: 104px;
    min-width: 0;
  }

  .shopIconLink img {
    width: 72px;
    height: 72px;
  }
}