:root {
  --ink: #081a2d;
  --ink-soft: #12314b;
  --blue: #1662cb;
  --blue-light: #71aaff;
  --orange: #ff914d;
  --paper: #ffffff;
  --mist: #edf3f8;
  --text: #142b3f;
  --muted: #526578;
  --line: #d6e0e9;
  --heading: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --body: "Noto Sans JP", sans-serif;
  --number: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; color: var(--text); background: var(--paper); font-family: var(--body); font-size: 1rem; line-height: 1.9; -webkit-font-smoothing: antialiased; }
body, button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--ink); background: #ffc596; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--heading); }
em { font-style: normal; }
strong { font-weight: 600; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 6px; }
.wrap { width: min(100% - 7rem, 1280px); margin-inline: auto; }
.section-space { padding-block: 7.5rem; }
.section-index { display: block; margin-bottom: 1.1rem; color: var(--blue); font-family: var(--number); font-size: .875rem; font-weight: 700; letter-spacing: .12em; }
.section-title h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700; letter-spacing: .01em; line-height: 1.45; }
.arrow { display: inline-block; width: 1.25rem; height: 1px; position: relative; flex: 0 0 1.25rem; background: currentColor; }
.arrow::after { content: ""; position: absolute; width: .45rem; height: .45rem; right: 0; top: -.225rem; border-top: 1px solid; border-right: 1px solid; transform: rotate(45deg); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 2.8rem; min-height: 3.75rem; padding: 1.05rem 1.6rem; border: 1px solid transparent; border-radius: 2px; font-size: .9375rem; font-weight: 600; line-height: 1.6; transition: background-color .2s, color .2s, transform .2s; }
.button:not(:disabled):hover { transform: translateY(-3px); }

.hero { position: relative; isolation: isolate; min-height: 850px; min-height: max(850px, 100svh); overflow: hidden; color: white; background: #071526; display: flex; flex-direction: column; }
.hero-art { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 65% 50%; }
.hero-shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(5, 19, 35, .93) 0%, rgba(5, 19, 35, .69) 35%, rgba(5, 19, 35, .2) 68%, rgba(5, 19, 35, .04) 100%), linear-gradient(0deg, rgba(5, 19, 35, .8), transparent 25%, transparent 85%, rgba(5, 19, 35, .3)); }
.site-header { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 108px; border-bottom: 1px solid rgba(255,255,255,.2); }
.brand { display: inline-flex; align-items: center; gap: .65rem; flex-shrink: 0; font-family: var(--heading); font-size: 1.5rem; font-weight: 900; letter-spacing: .045em; }
.brand-mark { position: relative; display: inline-block; width: 29px; height: 29px; }
.brand-mark i { display: block; position: absolute; width: 20px; height: 10px; background: #559bff; top: 3px; left: 0; }
.brand-mark i:last-child { top: 17px; left: 9px; background: var(--orange); }
.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.15rem); font-size: .875rem; font-weight: 500; }
.main-nav > a { min-height: 44px; display: inline-flex; align-items: center; transition: color .2s; }
.main-nav > a:hover { color: var(--orange); }
.main-nav .nav-contact { gap: 1.2rem; margin-left: .5rem; padding: .8rem 1.1rem; border: 1px solid rgba(255,255,255,.5); }
.hero-body { flex: 1; display: flex; align-items: center; padding-top: 4.4rem; padding-bottom: 5.7rem; }
.hero-copy { width: min(100%, 770px); }
.eyebrow { display: flex; align-items: center; gap: .8rem; margin-bottom: 2.25rem; color: #e1ebf8; font-size: .9375rem; font-weight: 500; letter-spacing: .08em; }
.eyebrow > span { width: 1.75rem; height: 2px; background: var(--orange); }
h1 { font-weight: 700; letter-spacing: .015em; line-height: 1.5; }
.headline-intro { display: block; margin-bottom: .28em; font-size: clamp(1.875rem, 3vw, 2.7rem); }
.headline-main { display: block; font-size: clamp(3rem, 4.5vw, 4.1rem); line-height: 1.42; letter-spacing: .015em; }
.headline-main em { color: #ffb378; }
.hero-description { margin-top: 2rem; max-width: 37rem; color: #e3eaf2; font-size: 1rem; line-height: 2.05; }
.hero-actions { margin-top: 2rem; display: flex; align-items: center; gap: 2.25rem; flex-wrap: wrap; }
.button-light { color: var(--ink); background: white; }
.button-light:hover { background: #ffb378; }
.button-light .arrow { color: var(--blue); }
.text-link { display: inline-flex; align-items: center; gap: 1.6rem; min-height: 48px; font-size: .9375rem; }
.text-link:hover { color: #ffb378; }
.hero-bottom { min-height: 55px; display: flex; align-items: center; gap: 1.5rem; padding-bottom: 1.75rem; }
.hero-line { width: 42px; height: 1px; background: #ffb378; }
.hero-bottom-name { font-size: .75rem; letter-spacing: .15em; color: #a9bdd5; }
.down-arrow { margin-left: auto; width: 9px; height: 9px; border-right: 1px solid white; border-bottom: 1px solid white; transform: rotate(45deg); }

.service-list { margin-top: 3rem; }
.service-item { display: grid; grid-template-columns: 2rem 1fr; gap: 1.3rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.service-item:first-child { padding-top: .2rem; border-top: 0; }
.service-item:last-child { padding-bottom: 0; }
.item-number { padding-top: .5rem; color: var(--blue); font-family: var(--number); font-size: .8125rem; font-weight: 700; }
.service-item h3 { margin-bottom: .65rem; font-size: 1.5rem; font-weight: 700; line-height: 1.65; }
.service-item p { color: var(--muted); line-height: 1.9; }

.works { background: var(--mist); }
.work-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 1.5rem; margin-top: 3.1rem; }
.work-main { position: relative; display: flex; flex-direction: column; min-height: 440px; padding: 2.8rem; overflow: hidden; color: white; background: linear-gradient(145deg, #1355b0, #092e64); box-shadow: 0 18px 50px rgba(11,50,95,.1); }
.work-number { display: block; position: relative; z-index: 1; color: #607386; font-family: var(--number); font-size: .8125rem; font-weight: 600; letter-spacing: .1em; }
.work-main .work-number { color: #b4d4ff; }
.work-main h3 { position: relative; z-index: 1; margin-top: 1.4rem; font-size: 1.6rem; line-height: 1.7; font-weight: 500; }
.work-measure { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 1.6rem; margin-top: auto; padding-top: 2rem; font-family: var(--heading); }
.measure-label { font-size: 1rem; color: #d9e9ff; }
.small-value { padding-inline: .22em; font-family: var(--number); font-size: 1.5rem; font-weight: 500; }
.measure-separator { display: none; }
.measure-duration { display: inline-flex; align-items: baseline; gap: .65rem; }
.measure-duration strong { font-family: var(--number); font-size: 7rem; font-weight: 500; line-height: 1.1; letter-spacing: -.05em; }
.measure-duration > span { font-size: 1.25rem; }
.work-description { position: relative; z-index: 1; margin-top: 1.2rem; color: #e0ecff; font-size: 1rem; }
.work-main-line { position: absolute; right: -55px; top: -120px; width: 180px; height: 800px; transform: rotate(32deg); border-left: 1px solid rgba(255,255,255,.08); border-right: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.025); pointer-events: none; }
.work-secondary { display: flex; flex-direction: column; gap: 1.5rem; }
.work-editorial, .work-app { position: relative; padding: 2.2rem 2.5rem; background: white; flex: 1; }
.work-editorial h3 { display: flex; align-items: baseline; gap: 1.5rem; margin-top: 1.2rem; flex-wrap: wrap; }
.editorial-name { font-size: 3.3rem; line-height: 1.25; letter-spacing: -.025em; font-weight: 700; }
.editorial-detail { font-size: 1.25rem; font-weight: 500; }
.work-app { background: #dce8f5; }
.work-app h3 { margin-top: 1.2rem; font-size: 1.5rem; line-height: 1.7; }
.work-app p { margin-top: .7rem; color: #405a71; font-size: 1rem; }

.about { color: white; background: var(--ink); }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.profile { max-width: 430px; }
.profile-image-frame { position: relative; margin-right: 1rem; }
.profile-image-frame::before { content: ""; position: absolute; inset: 1.1rem -1.1rem -1.1rem 1.1rem; border: 1px solid #b76a37; }
.profile img { position: relative; width: 100%; box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.profile figcaption { margin-top: 2.65rem; }
.profile figcaption > span { display: block; font-family: var(--heading); font-size: 2rem; font-weight: 700; letter-spacing: .08em; }
.profile figcaption small { display: block; margin-top: .35rem; font-size: .875rem; color: #9fb5cb; }
.about .section-index { color: var(--orange); }
.about-text { margin-top: 2.2rem; }
.about-text .about-lead { margin-bottom: 1.4rem; font-family: var(--heading); font-size: clamp(1.25rem, 2.1vw, 1.7rem); font-weight: 500; line-height: 1.85; color: white; }
.about-text p { margin-top: 1.5rem; color: #bacbdd; line-height: 2.1; }
.about-text strong { color: #f0f5fa; font-weight: 500; }
.mobile-only { display: none; }

.availability-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; column-gap: 3rem; margin: 3rem 0 0; }
.availability-grid > div { border-top: 1px solid var(--line); padding-top: 1.6rem; }
.availability-grid dt { margin-bottom: 1.9rem; color: var(--muted); font-size: .9375rem; }
.availability-grid dd { margin: 0; font-family: var(--heading); font-size: clamp(1.75rem, 2.9vw, 2.5rem); font-weight: 700; line-height: 1.7; }
.availability-grid .availability-time { display: flex; align-items: baseline; gap: .4rem; white-space: nowrap; }
.availability-time > span { font-size: 1.125rem; font-weight: 500; }
.availability-time strong { font-family: var(--number); font-size: clamp(2.6rem, 4vw, 3.5rem); font-weight: 500; line-height: 1.3; letter-spacing: -.04em; }
.availability-grid .availability-price { font-size: clamp(1.45rem, 2vw, 1.875rem); }

.contact { padding-block: 6.1rem; color: white; background: linear-gradient(110deg, #1558b4, #103d7d); }
.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 5rem; align-items: center; }
.contact .section-index { color: #b6d6ff; }
.contact h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700; line-height: 1.5; }
.contact p { max-width: 35rem; margin-top: 1.4rem; color: #e0eafd; }
.button-contact { min-height: 5.1rem; width: 100%; max-width: 420px; justify-self: end; padding: 1.3rem 2rem; background: #ffad74; color: #14283d; font-size: 1rem; text-align: left; }
.button-contact:disabled { cursor: not-allowed; }
.site-footer { color: #b9c9da; background: #061424; }
.footer-inner { min-height: 115px; display: flex; gap: 1rem; align-items: center; justify-content: space-between; font-size: .8125rem; }
.back-top { display: flex; flex: 0 0 44px; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid #3b4c5f; transition: border-color .2s; }
.back-top:hover { border-color: var(--orange); }
.up-arrow { display: block; width: 8px; height: 8px; margin-top: 4px; border-left: 1px solid currentColor; border-top: 1px solid currentColor; transform: rotate(45deg); }

@media (min-width: 1600px) {
  .hero-art { object-position: center; }
  .hero-body { padding-block: 6.5rem; }
}
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 5rem); }
  .main-nav { gap: 1rem; font-size: .875rem; }
  .main-nav .nav-contact { padding: .65rem .8rem; margin-left: 0; gap: .8rem; }
  .hero-copy { width: 700px; }
  .service-item h3 { font-size: 1.35rem; }
  .work-main, .work-editorial, .work-app { padding: 2rem; }
  .work-editorial h3 { gap: .8rem; }
  .editorial-name { font-size: 2.8rem; }
  .about-grid { gap: 3rem; }
  .availability-grid { gap: 2rem; }
  .contact-grid { gap: 3rem; }
}
@media (max-width: 820px) {
  .wrap { width: calc(100% - 3.5rem); }
  .section-space { padding-block: 5.5rem; }
  .site-header { min-height: 132px; flex-direction: column; align-items: flex-start; justify-content: center; gap: .8rem; padding-block: 1.2rem .6rem; }
  .main-nav { width: 100%; justify-content: space-between; gap: .5rem; font-size: .875rem; }
  .main-nav .nav-contact { border: 0; padding: 0; }
  .nav-contact .arrow { display: none; }
  .hero { min-height: 810px; }
  .hero-body { padding-block: 4.5rem 5rem; }
  .headline-main { font-size: clamp(2.5rem, 5.9vw, 3.25rem); }
  .headline-intro { font-size: clamp(1.7rem, 3.9vw, 2.1rem); }
  .hero-art { object-position: 66% center; opacity: .8; }
  .hero-shade { background: linear-gradient(90deg, rgba(5,19,35,.89), rgba(5,19,35,.47) 70%, rgba(5,19,35,.12)), linear-gradient(0deg, rgba(5,19,35,.75), transparent 55%); }
  .work-grid { gap: 1rem; }
  .work-main { padding: 1.5rem; min-height: 450px; }
  .work-main h3 { font-size: 1.25rem; }
  .work-measure { flex-direction: column; gap: .5rem; }
  .measure-duration strong { font-size: 6rem; }
  .work-editorial, .work-app { padding: 1.5rem; }
  .work-secondary { gap: 1rem; }
  .work-app h3 { font-size: 1.25rem; }
  .about-grid { grid-template-columns: .9fr 1.1fr; gap: 2.5rem; align-items: start; }
  .about-text { margin-top: 1.5rem; }
  .about-text p { font-size: 1rem; }
  .about .section-title h2 { font-size: 2rem; }
  .profile { margin-top: .6rem; }
  .profile figcaption > span { font-size: 1.7rem; }
  .profile figcaption small { font-size: .875rem; }
  .availability-grid { gap: 1.5rem; }
  .availability-grid dt { font-size: .875rem; }
  .availability-grid dd { font-size: 1.7rem; }
  .availability-time strong { font-size: 2.5rem; }
  .availability-time > span { font-size: 1rem; }
  .availability-grid .availability-price { font-size: 1.25rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .button-contact { justify-self: start; }
}
@media (max-width: 580px) {
  .wrap { width: calc(100% - 2.75rem); }
  .section-space { padding-block: 4.5rem; }
  .section-index { margin-bottom: .75rem; font-size: .8125rem; }
  .section-title h2 { font-size: 2rem; }
  .site-header { gap: .8rem; padding-top: 1rem; min-height: 134px; }
  .brand { font-size: 1.35rem; }
  .main-nav { display: grid; grid-template-columns: auto auto auto; justify-content: start; column-gap: 1.2rem; row-gap: 0; font-size: .875rem; }
  .main-nav > a { min-height: 44px; }
  .main-nav .nav-contact { grid-column: 2 / 4; }
  .hero { min-height: 870px; min-height: max(870px, 100svh); }
  .hero-art { opacity: .65; object-position: 68% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(5,19,35,.68), rgba(5,19,35,.48)), linear-gradient(0deg, #071526 2%, rgba(5,19,35,.8) 25%, rgba(5,19,35,.13) 70%, rgba(5,19,35,.4)); }
  .hero-body { padding-block: 4rem 4.5rem; align-items: flex-start; }
  .eyebrow { gap: .6rem; font-size: .875rem; letter-spacing: .035em; margin-bottom: 1.9rem; }
  .eyebrow > span { width: 1.25rem; }
  .headline-intro { font-size: clamp(1.375rem, 5.8vw, 1.8rem); margin-bottom: .55rem; }
  .headline-main { font-size: clamp(1.9rem, 7.75vw, 2.8rem); line-height: 1.6; letter-spacing: 0; }
  .hero-description { margin-top: 1.6rem; font-size: 1rem; line-height: 2; max-width: 29rem; }
  .desktop-break { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 1rem; margin-top: 1.8rem; }
  .button-light { min-width: 255px; }
  .text-link { gap: 2rem; }
  .hero-bottom { padding-bottom: 1.5rem; }
  .service-list { margin-top: 2rem; }
  .service-item { grid-template-columns: 1.3rem 1fr; gap: 1rem; padding-block: 1.65rem; }
  .service-item h3 { font-size: 1.25rem; }
  .service-item p { font-size: 1rem; }
  .item-number { font-size: .75rem; padding-top: .4rem; }
  .work-grid { grid-template-columns: 1fr; margin-top: 2rem; gap: 1rem; }
  .work-main { padding: 1.8rem; min-height: 405px; }
  .work-main h3 { font-size: 1.5rem; }
  .work-measure { flex-direction: row; gap: 1rem; margin-top: 1rem; }
  .measure-duration strong { font-size: 6rem; }
  .work-editorial, .work-app { padding: 1.8rem; min-height: 205px; }
  .work-editorial h3 { gap: 1.3rem; }
  .editorial-name { font-size: 3rem; }
  .editorial-detail { font-size: 1.125rem; }
  .work-app h3 { font-size: 1.4rem; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-copy { grid-row: 1; }
  .about-text { margin-top: 1.9rem; }
  .about-text .about-lead { font-size: 1.4rem; line-height: 1.9; }
  .mobile-only { display: inline; }
  .about-text p { font-size: 1rem; }
  .profile { width: min(100% - 1rem, 370px); margin-top: .5rem; }
  .profile figcaption { margin-top: 2.1rem; }
  .profile figcaption small { font-size: .875rem; }
  .availability-grid { grid-template-columns: 1fr; margin-top: 2rem; gap: 1.9rem; }
  .availability-grid > div { display: grid; grid-template-columns: 1fr; gap: .8rem; padding-top: 1.3rem; }
  .availability-grid dt { font-size: .9375rem; margin-bottom: 0; }
  .availability-grid dd { font-size: 2rem; }
  .availability-time strong { font-size: 3rem; }
  .availability-grid .availability-price { font-size: 1.6rem; }
  .availability-price br { display: none; }
  .contact { padding-block: 4.5rem; }
  .contact h2 { font-size: 2rem; }
  .contact p { font-size: 1rem; }
  .button-contact { min-height: 4.5rem; font-size: .9375rem; padding: 1.2rem 1.3rem; gap: 1rem; }
  .footer-inner { min-height: 110px; font-size: .75rem; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 2rem); }
  .main-nav { font-size: .875rem; gap: 0 1rem; }
  .headline-main { font-size: 1.9rem; }
  .eyebrow { font-size: .875rem; }
  .work-main, .work-editorial, .work-app { padding: 1.4rem; }
  .measure-label { font-size: .9375rem; }
  .measure-duration strong { font-size: 5.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
