:root {
  color-scheme: light;
  --navy: #0b1423;
  --ink: #142131;
  --text: #475763;
  --muted: #38596d;
  --cyan: #72ddeb;
  --paper: #fcfcfa;
  --canvas: #e8eef6;
  --line: #dce4e7;
  --sans: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
  --latin: Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--canvas); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-weight: 820; }
p { line-height: 1.85; }
:focus-visible { outline: 3px solid #287abe; outline-offset: 4px; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 14px; }
.phrase { white-space: nowrap; }

.skip {
  position: fixed;
  z-index: 5;
  top: 12px;
  left: 12px;
  padding: 11px 15px;
  background: white;
  transform: translateY(-170%);
}
.skip:focus { transform: translateY(0); }

.page { max-width: 1280px; margin-inline: auto; background: var(--paper); box-shadow: 0 0 60px #10263f0c; }
.column { width: min(100% - 48px, 642px); margin-inline: auto; }
.hero {
  overflow: hidden;
  color: #f7faff;
  background:
    linear-gradient(90deg, #9bc2ff08 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(#9bc2ff08 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(ellipse at 91% 4%, #284785 0%, transparent 51%),
    radial-gradient(ellipse at 16% 100%, #112e5c 0%, transparent 56%),
    #090f21;
}
.hero-shell {
  width: min(100% - 96px, 1112px);
  margin-inline: auto;
  padding-block: clamp(36px, 6.5vw, 89px) clamp(43px, 6vw, 83px);
}
.hero-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(26px, 5.8vw, 84px);
}
.hero-portrait {
  width: min(100%, 414px);
  justify-self: end;
  overflow: hidden;
  border: 1px solid #709de381;
  border-radius: 12px;
  background: #14254b;
  box-shadow: 0 18px 56px #050a19ad, 0 0 38px #5789f02b;
  animation: portrait-in .9s cubic-bezier(.2,.74,.27,1) both;
}
.hero-photo {
  width: 100%;
  height: auto;
}
.identity { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 13px; font-size: 1rem; font-weight: 800; }
.identity a { color: #a7ccff; font: 700 .9rem/1.5 var(--latin); }
.identity a:hover { text-decoration: underline; }
.hero h1 {
  margin-top: .46em;
  font-size: clamp(2.32rem, 5.35vw, 4.52rem);
  line-height: 1.18;
  letter-spacing: -.078em;
}
.title-line { display: block; animation: rise-in .66s cubic-bezier(.24,.74,.36,1) both; }
.ink-gradient {
  color: #9fc6ff;
  background: linear-gradient(110deg, #effbff 6%, #aed9ff 39%, #7fafff 83%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation-delay: .14s;
}
.hero-description { margin-top: 20px; color: #c5d4ec; max-width: 31rem; font-size: 1.04rem; }
.contents-menu {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(118px, auto);
  gap: 11px;
  margin-top: clamp(30px, 5vw, 63px);
}
.contents-tile {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: end;
  gap: 5px;
  min-width: 0;
  overflow: hidden;
  padding: clamp(15px, 2vw, 28px);
  border: 1px solid #7699dd4f;
  border-radius: 16px 34px 16px 16px;
  background: linear-gradient(147deg, #213a68 0%, #111d39 82%);
  box-shadow: inset 0 1px #dcecff16;
  color: #f4f8ff;
  transition: translate .28s, border-color .28s, box-shadow .28s;
}
.contents-tile::before,
.contents-tile::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
}
.contents-tile::before {
  background: var(--tile-art, radial-gradient(circle at 95% 2%, #6ea4ff38, transparent 68%)) center / cover;
  transition: scale .55s cubic-bezier(.2,.75,.27,1);
}
.contents-tile::after {
  background: radial-gradient(ellipse 200px 160px at var(--pointer-x, 72%) var(--pointer-y, 40%), #a1d0ff50, transparent 78%);
  opacity: 0;
  transition: opacity .26s;
}
.contents-tile:focus-visible {
  outline-color: #b5d9ff;
  border-color: #a8cfff;
}
.contents-tile:focus-visible::after, .contents-tile:active::after { opacity: 1; }
.contents-tile:active { translate: 0 1px; }
.contents-label {
  font-size: clamp(1.12rem, 2.4vw, 1.62rem);
  line-height: 1.28;
  letter-spacing: -.035em;
  font-weight: 820;
}
.contents-detail {
  color: #becff0;
  font-size: .88rem;
  font-weight: 680;
  line-height: 1.3;
}
.contents-video {
  --tile-art: linear-gradient(180deg, #08112720, #080f29e6), linear-gradient(100deg, #09122980, #24498938), url("assets/ryoma-work.webp");
  grid-row: span 2;
  border-color: #83aff19c;
  border-radius: 20px 59px 20px 20px;
}
.contents-video .contents-label { font-size: clamp(1.43rem, 3.8vw, 2.48rem); }
.contents-play {
  position: absolute;
  inset: clamp(16px, 2.2vw, 27px) auto auto clamp(15px, 2vw, 28px);
  display: grid;
  place-items: center;
  width: 49px;
  aspect-ratio: 1;
  border: 1px solid #d3e6ff9e;
  border-radius: 50%;
  background: #1a355dbd;
  box-shadow: 0 0 24px #7eadff4f;
}
.contents-play::after {
  content: "";
  margin-left: 3px;
  border-block: 7px solid transparent;
  border-left: 11px solid #f4faff;
}
.contents-story { --tile-art: linear-gradient(165deg, #172a55a3 0%, #091229f2 85%), url("assets/ryoma-story.webp"); }
.contents-notes { --tile-art: radial-gradient(ellipse at 100% -12%, #548de982, transparent 75%); }
.contents-contact {
  grid-column: span 2;
  --tile-art: radial-gradient(ellipse at 88% 14%, #7daaff76, transparent 69%);
  border-color: #92b8fe91;
  background: linear-gradient(141deg, #2a559d, #213e80 70%, #24377c);
}
.contents-menu.entered .contents-tile { animation: contents-in .58s cubic-bezier(.2,.74,.27,1) both; }
.contents-menu.entered .contents-tile:nth-child(2) { animation-delay: .07s; }
.contents-menu.entered .contents-tile:nth-child(3) { animation-delay: .13s; }
.contents-menu.entered .contents-tile:nth-child(4) { animation-delay: .19s; }
@keyframes contents-in {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes portrait-in {
  from { opacity: .45; transform: translateX(18px) scale(1.025); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}
@media (hover: hover) and (pointer: fine) {
  .contents-tile:hover {
    translate: 0 -4px;
    border-color: #a4ceff;
    box-shadow: 0 13px 30px #060d23c9, inset 0 0 19px #83b5ff31;
  }
  .contents-tile:hover::before { scale: 1.045; }
  .contents-tile:hover::after { opacity: 1; }
}

.section { padding-block: clamp(49px, 7vw, 82px); border-top: 1px solid var(--line); }
.section-label { color: var(--muted); font-size: .87rem; font-weight: 800; letter-spacing: .055em; margin-bottom: 9px; }
.section-label::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  vertical-align: middle;
  margin-right: 8px;
  background: #4ca2b3;
}
.section h2 { font-size: clamp(1.94rem, 4.55vw, 3.23rem); letter-spacing: -.073em; line-height: 1.28; }
.description { margin-top: 17px; max-width: 34rem; color: var(--text); }
.video { background: #f7f9fa; }
.story { background: var(--paper); }
.short-break { display: none; }

.media-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  overflow: hidden;
  box-shadow: 0 9px 22px #19344b0c;
}
.video .media-card, .story .media-card { margin-top: 27px; }
.intro-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: var(--navy);
}
.intro-video:focus-visible { outline-offset: -5px; }
.card-footer {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: .78rem 1.05rem;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.45;
}
.video-length { color: var(--muted); font-size: .91rem; }
.story-card { transition: box-shadow .2s, border-color .2s; }
.story-card:hover { border-color: #83b7c8; box-shadow: 0 11px 23px #0b28402b; }
.story-card img { width: 100%; aspect-ratio: 1.95 / 1; object-fit: cover; object-position: 61% 45%; }
.story-card .story-link { text-decoration: underline; text-underline-offset: .21em; text-decoration-color: #83b7c8; }

.notes { background: #f5f8fa; }
.note-card { margin-top: 23px; }
.note-card + .note-card { margin-top: 28px; }
.note-availability {
  position: absolute;
  z-index: 3;
  inset-inline-end: clamp(11px, 4.1cqi, 26px);
  inset-block-end: clamp(12px, 6.2cqi, 39px);
  display: grid;
  justify-items: center;
  gap: clamp(3px, .9cqi, 6px);
  padding: clamp(5px, 1.3cqi, 9px) clamp(8px, 2.4cqi, 16px);
  border: clamp(2px, .55cqi, 4px) solid currentColor;
  border-radius: 4px;
  background: #210c10f5;
  color: #ff5868;
  box-shadow: inset 0 0 0 1px #ff58683d, 0 5px 18px #0007;
  transform: rotate(-9deg);
  white-space: nowrap;
}
.note-availability strong {
  font: 900 clamp(1.08rem, 7.2cqi, 2.85rem)/1 var(--latin);
  letter-spacing: -.05em;
}
.note-availability span {
  width: 100%;
  padding-top: .25em;
  border-top: 1px solid #ff58686e;
  color: #ff9aa2;
  font-size: clamp(.62rem, 2.5cqi, .96rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .1em;
  text-align: center;
}
.note-cover {
  position: relative;
  container-type: inline-size;
  display: grid;
  width: 100%;
  min-height: 184px;
  aspect-ratio: 1.9 / 1;
  overflow: hidden;
}
.note-cover-sales {
  isolation: isolate;
  align-items: center;
  color: #f8f8f6;
  background: #050810;
}
.note-sales-photo {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}
.note-cover-sales::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, #050810 0%, #050810e8 34%, #05081075 60%, transparent 80%);
}
.note-sales-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: clamp(6px, 1.5cqi, 11px);
  padding: clamp(13px, 5.05cqi, 33px);
}
.note-sales-kicker {
  padding: .33em .7em;
  border: 1px solid #f5d89b9e;
  border-radius: 3px;
  color: #f5dfa9;
  font-size: clamp(.69rem, 2.55cqi, .97rem);
  font-weight: 720;
  line-height: 1.25;
  letter-spacing: .06em;
}
.note-sales-time, .note-sales-headline {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", Georgia, serif;
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.14;
  text-shadow: 0 2px 13px #000b;
}
.note-sales-time {
  font-size: clamp(1.1rem, 4.9cqi, 2.15rem);
  white-space: nowrap;
}
.note-sales-time strong {
  color: #a8e6ec;
  font: 700 2.04em/.86 Baskerville, Georgia, serif;
  letter-spacing: -.065em;
  margin-inline: .07em;
}
.note-sales-headline { font-size: clamp(1.08rem, 4.85cqi, 2rem); }
.note-sales-headline > * { display: block; white-space: nowrap; }
.note-sales-headline strong { font-size: 1.16em; }
.note-sales-detail {
  padding-bottom: .43em;
  background: linear-gradient(90deg, #82e5e8, #aa89eb 73%, transparent) bottom / 100% 1px no-repeat;
  color: #f1f5f8;
  font-size: clamp(.66rem, 2.48cqi, .96rem);
  font-weight: 650;
  line-height: 1.3;
  white-space: nowrap;
}

.note-cover-edit {
  isolation: isolate;
  grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
  align-items: center;
  min-height: 191px;
  color: #fffaf5;
  background:
    radial-gradient(ellipse at 100% 77%, #593427 0%, transparent 60%),
    linear-gradient(115deg, #121417 5%, #1e1a1a 64%, #2d211e 100%);
}
.note-edit-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: start;
  gap: clamp(8px, 2.05cqi, 15px);
  padding-left: clamp(13px, 5.05cqi, 33px);
  padding-block: 15px;
}
.note-edit-kicker {
  padding: .35em .63em;
  border: 1px solid #dfa68b83;
  border-radius: 3px;
  background: #231b19;
  color: #ffcfb7;
  font-size: clamp(.64rem, 2.48cqi, .97rem);
  font-weight: 720;
  line-height: 1.28;
  white-space: nowrap;
}
.note-edit-headline {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", Georgia, serif;
  font-size: clamp(.99rem, 5.45cqi, 2.16rem);
  font-weight: 800;
  line-height: 1.29;
  letter-spacing: -.055em;
}
.note-edit-headline span, .note-edit-headline strong { display: block; white-space: nowrap; }
.note-edit-headline strong { font-size: 1.15em; font-weight: 840; }
.note-edit-headline em { color: #ffae85; font-style: normal; }
.note-edit-detail {
  padding-bottom: .5em;
  background: linear-gradient(90deg, #f0ab88, #bc7c6859 79%, transparent) bottom / 100% 1px no-repeat;
  color: #f3e1d7;
  font-size: clamp(.67rem, 2.57cqi, 1rem);
  font-weight: 720;
  line-height: 1.32;
  white-space: nowrap;
}
.note-edit-photos {
  position: relative;
  width: 100%;
  height: 86%;
}
.note-edit-photos img {
  position: absolute;
  top: 50%;
  width: 59%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center 35%;
  border: 1px solid #f6d9c282;
  border-radius: clamp(5px, 1.4cqi, 10px);
  box-shadow: 0 12px 26px #0c090aa6;
}
.note-edit-face {
  left: 1.5%;
  z-index: 1;
  transform: translateY(-55%) rotate(-8deg);
}
.note-edit-diagram {
  right: 7%;
  transform: translateY(-45%) rotate(8deg);
}
.note-info { padding: 18px 19px 21px; }
.note-info h3 { font-size: clamp(1.14rem, 2.7vw, 1.55rem); line-height: 1.42; letter-spacing: -.045em; }
.note-price {
  display: block;
  margin-top: .42rem;
  color: var(--ink);
  font: 750 1.2rem/1.3 var(--latin);
  font-variant-numeric: tabular-nums;
}
.note-info p { margin-top: .55rem; color: var(--text); }

.contact { background: #edf7f8; }
.contact-photo {
  margin-top: 24px;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: 50% 33%;
  border-radius: 15px;
  background: #b8d1db;
}
.contact .description { margin-top: 21px; }
.button {
  display: grid;
  place-items: center;
  min-height: 56px;
  padding: .8rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.45;
  transition: background-color .2s;
}
.button-dark { background: var(--navy); color: #f7fbff; }
.button-dark:hover { background: #205371; }
.contact .button { margin-top: 25px; }
.footer { background: var(--navy); color: #d3e7ee; font-size: .9rem; }
.footer .column { padding-block: 25px; }

.entered { animation: rise-in .58s cubic-bezier(.24,.74,.36,1) both; }
@keyframes rise-in {
  from { transform: translateY(10px); opacity: .15; }
  to { transform: translateY(0); opacity: 1; }
}
@media (max-width: 760px) {
  .hero-shell { width: calc(100% - 48px); }
  .hero-intro { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .hero-portrait { grid-row: 1; justify-self: center; }
  .contents-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(88px, auto); gap: 8px; }
  .contents-video { grid-column: 1 / -1; grid-row: auto; min-height: 168px; }
}
@media (max-width: 600px) {
  .hero-description { font-size: 1rem; }
  .story-card img, .contact-photo { aspect-ratio: 1.57 / 1; }
  .short-break { display: inline; }
}
@media (max-width: 355px) {
  .column { width: calc(100% - 36px); }
  .hero-shell { width: calc(100% - 36px); }
  .hero h1 { font-size: 2.13rem; }
  .section h2 { font-size: 1.84rem; }
  .note-cover-edit { grid-template-columns: minmax(0, 62fr) minmax(0, 38fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .contents-tile:hover, .contents-tile:active { translate: none; }
  .contents-tile:hover::before { scale: none; }
}
