@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&display=swap');

:root {
  --paper: #fbfaf7;
  --white: #fff;
  --ink: #24231f;
  --muted: #77736b;
  --line: #dedbd3;
  --accent: #9c7657;
  --serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "DM Sans", "Noto Sans JP", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); line-height: 1.9; }
a { color: inherit; text-decoration: none; }
.site-header { height: 88px; padding: 0 7.2%; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(36,35,31,.08); background: rgba(251,250,247,.94); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 31px; height: 31px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font: 500 15px var(--sans); }
.brand-name { font: 500 14px var(--sans); letter-spacing: .06em; }
.site-nav { display: flex; gap: 38px; font-size: 12px; letter-spacing: .08em; }
.site-nav a, .back-top { transition: color .2s; }
.site-nav a:hover, .back-top:hover { color: var(--accent); }
.menu-toggle { display: none; }
.section-shell { width: min(1120px, 85.6%); margin: 0 auto; }
.hero { min-height: 660px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; position: relative; padding-top: 55px; padding-bottom: 76px; }
.hero-copy { padding: 10px 0 20px 4%; position: relative; z-index: 2; }
.eyebrow { font: 500 10px var(--sans); letter-spacing: .24em; color: var(--accent); margin: 0 0 24px; }
.eyebrow span { display: inline-block; width: 26px; height: 1px; background: var(--accent); vertical-align: middle; margin-right: 10px; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { font-size: clamp(42px, 5vw, 65px); line-height: 1.55; letter-spacing: .08em; font-weight: 500; margin: 0 0 18px; }
em { color: var(--accent); font-style: normal; }
.hero-lead { font-size: 17px; letter-spacing: .13em; margin: 0 0 15px; }
.hero-description { color: var(--muted); font-size: 13px; line-height: 2.35; max-width: 430px; margin-bottom: 32px; }
.text-link { display: inline-flex; align-items: center; gap: 28px; padding-bottom: 7px; border-bottom: 1px solid var(--ink); font-size: 12px; letter-spacing: .1em; transition: gap .2s, color .2s; }
.text-link:hover { gap: 38px; color: var(--accent); border-color: var(--accent); }
.hero-art { min-height: 460px; display: grid; place-items: center; position: relative; }
.mascot-frame { width: min(390px, 90%); aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 20px 70px rgba(55,45,32,.07); position: relative; z-index: 1; }
.mascot-frame img { width: 100%; height: 100%; object-fit: cover; }
.art-orbit { position: absolute; border: 1px solid #e5dfd5; border-radius: 50%; }
.orbit-one { width: 460px; height: 460px; }
.orbit-two { width: 520px; height: 520px; border-style: dashed; opacity: .65; }
.art-caption { position: absolute; bottom: 8px; right: 5%; font: 10px var(--sans); letter-spacing: .22em; color: #9b968c; }
.hero-index { position: absolute; bottom: 28px; left: 4%; font: 11px var(--sans); letter-spacing: .12em; }
.hero-index span { color: #b9b3a9; margin: 0 7px; }
.intro-band { background: #f1eee8; padding: 76px 0 82px; text-align: center; }
.intro-inner .eyebrow { margin-bottom: 18px; }
.intro-statement { font-size: clamp(22px, 3vw, 31px); line-height: 2; letter-spacing: .1em; margin: 0; }
.about { padding-top: 120px; padding-bottom: 130px; }
.section-heading { margin-bottom: 52px; }
.section-heading .eyebrow { margin-bottom: 9px; }
.section-heading h2 { font-size: 29px; font-weight: 500; letter-spacing: .1em; margin: 0; }
.heading-rule { display: block; width: 35px; height: 1px; background: var(--accent); margin-top: 23px; }
.about-content { display: grid; grid-template-columns: .95fr 1.05fr; gap: 9%; padding-left: 8%; }
.about-lead { font-size: 22px; line-height: 2.1; letter-spacing: .08em; }
.about-text { color: var(--muted); font-size: 13px; line-height: 2.45; }
.about-text p { margin-bottom: 17px; }
.apps-section { background: #f1eee8; padding: 110px 0 120px; }
.apps-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 48px; }
.heading-note { font-size: 12px; color: var(--muted); letter-spacing: .08em; margin: 0 0 7px; }
.app-list { border-top: 1px solid #d8d3ca; }
.app-card { display: grid; grid-template-columns: 65px 1fr 150px; gap: 24px; padding: 36px 12px 38px 0; border-bottom: 1px solid #d8d3ca; }
.app-number { color: var(--accent); font: 12px var(--sans); padding-top: 5px; letter-spacing: .1em; }
.app-meta { display: flex; gap: 18px; color: #928b80; font: 9px var(--sans); letter-spacing: .16em; margin-bottom: 8px; }
.app-meta span + span { padding-left: 18px; border-left: 1px solid #d2ccc2; }
.app-main h3 { font-size: 23px; font-weight: 500; letter-spacing: .07em; margin: 0 0 5px; }
.app-tagline { font-size: 13px; letter-spacing: .06em; color: var(--accent); margin-bottom: 13px; }
.app-description { max-width: 710px; font-size: 12px; line-height: 2.25; color: var(--muted); margin-bottom: 18px; }
.app-bottom { display: flex; align-items: center; gap: 22px; }
.platform { color: #8a847a; font: 9px var(--sans); letter-spacing: .1em; }
.coming-soon { color: #9c7657; border: 1px solid #cbb9a7; padding: 2px 10px; font-size: 10px; }
.app-aside { display: flex; flex-direction: column; justify-content: center; align-items: center; color: #b7aa99; }
.app-symbol { font: 68px/1 var(--serif); font-weight: 400; }
.matrix-symbol { font-size: 58px; }
.quote-symbol { font-size: 78px; line-height: .8; }
.aside-label { font: 8px/1.8 var(--sans); letter-spacing: .18em; text-align: center; margin-top: 15px; color: #a69c8f; }
.apps-footnote { color: #969087; font-size: 10px; margin: 24px 0 0; }
.closing { min-height: 430px; padding-top: 105px; padding-bottom: 100px; text-align: center; position: relative; overflow: hidden; }
.closing .eyebrow { margin-bottom: 15px; }
.closing h2 { font-size: clamp(30px, 4vw, 43px); font-weight: 500; line-height: 1.8; letter-spacing: .12em; margin-bottom: 12px; }
.closing p:not(.eyebrow) { color: var(--muted); font-size: 12px; margin-bottom: 25px; }
.closing-mark { position: absolute; right: 0; bottom: -75px; color: #f0ede7; font: 230px/.9 var(--sans); z-index: -1; }
.site-footer { min-height: 88px; padding: 20px 7.2%; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.footer-brand .brand-mark { width: 26px; height: 26px; font-size: 12px; }
.footer-brand .brand-name { font-size: 12px; }
.copyright, .back-top { color: #918b81; font: 9px var(--sans); letter-spacing: .08em; }
@media (max-width: 760px) {
  .site-header { height: 70px; padding: 0 6%; }
  .menu-toggle { display: flex; width: 35px; height: 35px; flex-direction: column; justify-content: center; gap: 6px; border: 0; background: none; padding: 5px; }
  .menu-toggle span { height: 1px; width: 24px; background: var(--ink); transition: transform .2s; }
  .site-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; padding: 22px 6% 28px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; gap: 16px; }
  .site-nav.open { display: flex; }
  .section-shell { width: 88%; }
  .hero { min-height: auto; padding-top: 62px; padding-bottom: 65px; grid-template-columns: 1fr; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(39px, 10vw, 55px); }
  .hero-description { max-width: 100%; }
  .hero-art { min-height: 350px; margin-top: 28px; }
  .mascot-frame { width: min(300px, 78%); }
  .orbit-one { width: 340px; height: 340px; }
  .orbit-two { width: 375px; height: 375px; }
  .art-caption { bottom: 0; right: 2%; }
  .hero-index { bottom: 20px; left: 0; }
  .intro-band { padding: 58px 0 63px; }
  .about { padding-top: 80px; padding-bottom: 85px; }
  .section-heading { margin-bottom: 35px; }
  .section-heading h2 { font-size: 25px; }
  .about-content { grid-template-columns: 1fr; gap: 12px; padding-left: 0; }
  .about-lead { font-size: 20px; margin-bottom: 0; }
  .apps-section { padding: 78px 0 85px; }
  .apps-heading { display: block; }
  .heading-note { margin-top: 13px; }
  .app-card { grid-template-columns: 35px 1fr; gap: 10px; padding: 28px 0; }
  .app-main h3 { font-size: 20px; }
  .app-aside { display: none; }
  .app-description { font-size: 11px; }
  .app-bottom { flex-wrap: wrap; gap: 10px; }
  .closing { min-height: 380px; padding-top: 80px; padding-bottom: 80px; }
  .site-footer { padding: 22px 6%; flex-wrap: wrap; gap: 14px; }
  .copyright { order: 3; width: 100%; }
}

/* 公開済みアプリへのリンク */
.app-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 5px 13px;
  font: 10px var(--sans);
  letter-spacing: .08em;
  transition: background .25s ease,
              color .25s ease,
              border-color .25s ease;
}

.app-link:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.app-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
