:root {
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  color: #1b233e;
  background: #f6f7fb;
  --ink: #1b233e;
  --muted: #49546c;
  --violet: #34327c;
  --deep: #262357;
  --line: #dce0ec;
  --white: #fff;
  --lime: #e9f798;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 24px; }
body { margin: 0; overflow-x: clip; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { text-wrap: balance; }
.hero h1, .hero-copy, .hero-captions, .kicker, .section-head h2 { word-break: keep-all; line-break: strict; }
.nobr { display: inline-block; }
a:focus-visible { outline: 3px solid #6b55e6; outline-offset: 3px; }
.wrap { width: min(1180px, calc(100% - 72px)); margin-inline: auto; }
.skip { position: absolute; top: 8px; left: 8px; z-index: 3; padding: 9px 13px; background: white; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); }
.nav { min-height: 79px; display: flex; justify-content: space-between; align-items: center; gap: 19px; }
.wordmark { text-decoration: none; display: inline-flex; align-items: center; gap: 11px; font-size: 1.06rem; font-weight: 800; white-space: nowrap; letter-spacing: -.035em; }
.mark { display: grid; place-items: center; width: 39px; height: 36px; border-radius: 8px; background: var(--deep); color: white; font: 800 1.2rem/1 Arial, sans-serif; letter-spacing: -.12em; padding-right: 3px; }
.nav nav { display: flex; gap: clamp(18px, 3.2vw, 46px); }
.nav nav a { text-decoration: none; font-weight: 650; font-size: .9rem; color: var(--muted); }
.nav nav a:hover, .text-link:hover { color: var(--violet); text-decoration-thickness: 2px; }
.nav-cta { text-decoration: none; font-weight: 750; font-size: .9rem; background: var(--violet); color: white; padding: 9px 16px; border-radius: 7px; white-space: nowrap; }
.nav-cta:hover { background: var(--deep); }
.secondary:hover { background: #ebeafa; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  grid-template-areas: "intro visual" "actions visual";
  align-items: center;
  gap: 28px clamp(16px, 2.4vw, 34px);
  padding-block: clamp(40px, 7.2vw, 96px) clamp(45px, 6.3vw, 85px);
}
.hero-text { grid-area: intro; }
.kicker { font-size: .9rem; font-weight: 750; color: var(--violet); letter-spacing: .025em; line-height: 1.6; }
.hero h1 { margin-top: 16px; font-size: clamp(2.35rem, 4.2vw, 4.15rem); line-height: 1.25; letter-spacing: -.047em; font-weight: 760; text-wrap: unset; }
.hero h1 .hero-line { display: block; white-space: nowrap; }
.hero h1 .hero-line-accent { color: var(--violet); }
.hero-copy { color: var(--muted); margin-top: 16px; }
.hero-visual { grid-area: visual; }
.hero-stage { position: relative; min-height: clamp(290px, 34vw, 400px); padding: 6px 2px 22px 0; }
.hero-desktop {
  width: 86%;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 46px rgba(27, 35, 62, .10), 0 0 0 1px rgba(27, 35, 62, .06);
  transform: rotate(-1.5deg);
  transform-origin: 20% 60%;
}
.hero-desktop-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 12px;
  background: #f3f4f8;
  border-bottom: 1px solid #e4e6ef;
}
.hero-desktop-bar span { width: 7px; height: 7px; border-radius: 50%; background: #cfd3df; }
.hero-desktop img { width: 100%; height: auto; aspect-ratio: 1600 / 1055; object-fit: cover; object-position: top; }
.hero-phone {
  position: absolute;
  right: 1.5%;
  bottom: 8px;
  z-index: 1;
  width: min(43%, 214px);
  margin: 0;
  padding: 5px 4.5px 5.5px;
  background: linear-gradient(160deg, #3e414a 0%, #23252c 42%, #14151a 100%);
  border-radius: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    inset 0 -1px 0 rgba(0, 0, 0, .4),
    inset 0 0 0 1px rgba(255, 255, 255, .06),
    0 0 0 0.5px rgba(20, 21, 26, .55),
    0 8px 20px rgba(27, 35, 62, .14),
    0 2px 6px rgba(27, 35, 62, .08);
  transform: rotate(1.8deg);
}
.hero-phone::before {
  content: "";
  display: block;
  width: 16%;
  height: 2px;
  margin: 3px auto 3px;
  background: rgba(0, 0, 0, .5);
  border-radius: 99px;
  box-shadow: 0 0.5px 0 rgba(255, 255, 255, .14);
}
.hero-phone img {
  width: 100%;
  height: auto;
  border-radius: 15.5px;
  aspect-ratio: 9 / 17.2;
  object-fit: cover;
  object-position: top;
}
.hero-captions {
  display: flex;
  align-items: start;
  gap: 0;
  margin: 14px 2px 0 8px;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.55;
}
.hero-captions > span { flex: 1; min-width: 0; padding-right: 16px; }
.hero-captions > span + span { padding: 0 0 0 16px; border-left: 1px solid var(--line); }
.hero-captions strong { display: block; color: var(--ink); font-size: .82rem; font-weight: 650; margin-bottom: 1px; }
.actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: 9px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 11px 19px; border-radius: 7px; border: 1px solid transparent; text-decoration: none; font-weight: 750; font-size: .96rem; }
.primary { color: white; background: var(--violet); }
.primary:hover { background: var(--deep); }
.secondary { border-color: #aeb5cf; }
.section { padding-block: clamp(43px, 6vw, 77px); }
#works { border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; gap: 18px; align-items: end; margin-bottom: 23px; }
.section-head, .section-head > div { min-width: 0; max-width: 100%; }
.section-head h2, .about-copy h2, .contact-band h2 { font-size: clamp(1.8rem, 3.2vw, 2.85rem); line-height: 1.34; letter-spacing: -.055em; margin-top: 4px; }
.section-head > p { color: var(--muted); }
.works-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; }
.work-card { display: block; overflow: hidden; text-decoration: none; border: 1px solid var(--line); background: white; border-radius: 11px; }
.work-card:hover .work-link { background: var(--deep); color: white; }
.work-image { height: clamp(165px, 19vw, 239px); overflow: hidden; }
.work-image img { width: 100%; height: 100%; object-fit: cover; }
.work-morning img { object-position: center 57%; }
.work-track img { object-position: center 53%; }
.work-info { min-width: 0;  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 19px 21px; }
.work-info h3 { font-size: clamp(1.06rem, 2vw, 1.4rem); letter-spacing: -.035em; line-height: 1.4; margin: 4px 0; }
.work-info p { color: var(--muted); font-size: .9rem; }
.works-image-note { margin-top: 13px; color: var(--muted); font-size: .88rem; }
.work-link { white-space: nowrap; border: 1px solid #aeb5cf; border-radius: 6px; padding: 7px 11px; font-size: .87rem; font-weight: 750; }
.price-band { background: #eeeff8; border-block: 1px solid var(--line); }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.price-card { padding: clamp(19px, 2.5vw, 28px); border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.price-card h3 { font-size: 1.06rem; }
.price { line-height: 1.2; font-weight: 850; letter-spacing: -.05em; font-size: clamp(2rem, 3.5vw, 2.85rem); margin: 15px 0; color: var(--violet); }
.price span { padding-left: 3px; font-size: .94rem; white-space: nowrap; letter-spacing: 0; }
.price-card ul { margin: 0; padding-left: 1.17em; color: var(--muted); }
.price-card li + li { margin-top: 5px; }
.timing { font-size: .88rem; font-weight: 700; border-top: 1px solid var(--line); margin-top: 16px; padding-top: 11px; }
.price-option {
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f7f7fc;
  color: var(--ink);
  font-size: .88rem;
  font-weight: 650;
  line-height: 1.55;
}
.pilot {
  margin-top: 22px;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 12px;
  background: var(--deep);
  color: #f4f5ff;
  box-shadow: 0 0 0 1px rgba(233, 247, 152, .28);
}
.pilot-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.pilot-label { display: inline-block; background: var(--lime); color: var(--deep); border-radius: 4px; padding: 5px 12px; font-size: .86rem; font-weight: 750; letter-spacing: .04em; margin: 0; }
.pilot-slots { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: .95rem; font-weight: 750; color: var(--lime); letter-spacing: .04em; }
.pilot-limit { color: #f4f5ff; padding-right: 10px; margin-right: 2px; border-right: 1px solid rgba(233, 247, 152, .35); }
.pilot-slot { width: 11px; height: 11px; border-radius: 50%; background: var(--lime); box-shadow: inset 0 0 0 2px #12103a; }
.pilot h3 { margin: 0 0 12px; font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.4; letter-spacing: -.03em; color: #fff; }
.pilot-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; color: #c8cbe0; }
.pilot-price s { font-size: 1.05rem; text-decoration-thickness: 1.5px; }
.pilot-price strong { color: var(--lime); font-size: clamp(1.7rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.pilot-price strong span { margin-left: 4px; font-size: .95rem; font-weight: 700; letter-spacing: 0; }
.pilot-terms { margin: 12px 0 0; color: #d5d7ea; font-size: .92rem; line-height: 1.65; }
.pilot-cta { margin: 18px 0 0; }
.pilot-cta .button { font-size: .9rem; min-height: 44px; }
.price-note { color: var(--muted); font-size: .89rem; margin-top: 12px; }
.about-grid { display: grid; grid-template-columns: minmax(215px, .54fr) minmax(0, 1fr); gap: clamp(24px, 6vw, 80px); align-items: center; }
.portrait { margin: 0; overflow: hidden; border-radius: 11px; border: 1px solid #bcc0db; background: #ececf4; }
.portrait img { width: 100%; height: auto; display: block; aspect-ratio: 3 / 2; object-fit: cover; object-position: center; }
.about-copy h2 span { display: block; color: var(--muted); font-size: 1rem; letter-spacing: normal; margin-top: 4px; }
.about-copy > p:not(.kicker) { margin-top: 15px; color: var(--muted); }
.records-title { font-size: 1rem; margin-top: 16px; }
.records { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 15px; max-width: 390px; margin: 9px 0 13px; }
.records div { border-left: 3px solid #b4addc; padding-left: 9px; }
.records dt { font-size: .87rem; color: var(--muted); }
.records dd { margin: 0; font-weight: 850; font-size: 1.33rem; }
.text-link { color: var(--violet); font-weight: 700; text-underline-offset: 3px; }
.draft-project { display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; margin-top: 23px; padding: 17px 20px; border: 1px dashed #9fa8c7; border-radius: 8px; color: var(--muted); }
.draft-project h3 { color: var(--ink); margin-block: 3px; }
.draft-project small { font-size: .85rem; }
.contact-band { background: var(--deep); color: white; }
.contact-band .kicker { color: var(--lime); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(23px, 6vw, 76px); }
.contact-grid > div > p:not(.kicker) { margin-top: 15px; color: #e0e1f5; }
.contact-actions { margin-top: 17px; }
.light { background: var(--lime); color: var(--deep); }
.light:hover { background: #f1fbba; }
.reply { font-size: .9rem; }
.reply span { margin-left: 11px; }
.process { margin: 0; padding-left: 1.15em; }
.process li { padding: 11px 0; border-bottom: 1px solid #65628d; }
.process li::marker { color: var(--lime); font-weight: 750; }
.process p { color: #e0e1f5; font-size: .92rem; margin-top: 2px; }
.foot { padding-block: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.foot p { color: var(--muted); font-size: .85rem; }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 44px); }
  .hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.3rem); }
  .work-info { align-items: start; flex-direction: column; }
  .price-grid { grid-template-columns: 1fr; gap: 8px; }
  .price-card { padding: 16px; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 32px); }
  .nav { min-height: 58px; gap: 8px; }
  .nav nav { display: none; }
  .wordmark { gap: 6px; font-size: .95rem; }
  .nav-cta { font-size: .82rem; min-height: 40px; padding: 8px 12px; flex: 0 0 auto; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; grid-template-areas: "intro" "visual" "actions"; gap: 22px; padding-block: 31px 37px; overflow: hidden; }
  .hero h1 { font-size: clamp(2.15rem, 8.2vw, 3.2rem); }
  .hero-text { position: relative; z-index: 2; }
  .hero-stage { min-height: 280px; padding: 52px 0 16px; }
  .hero-desktop { width: 82%; }
  .hero-phone { width: min(40%, 156px); bottom: 4px; }
  .hero-captions { margin: 10px 0 0; flex-direction: column; gap: 10px; }
  .hero-captions > span { padding: 0; }
  .hero-captions > span + span { padding: 10px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .section-head { flex-direction: column; align-items: start; gap: 5px; }
  .works-grid, .price-grid { grid-template-columns: 1fr; gap: 12px; }
  .work-info { flex-direction: column; }
  .work-image { height: 192px; }
  .portrait { min-height: 155px; }
  .pilot-head { flex-direction: column; align-items: start; }
  .pilot-price strong { font-size: 1.85rem; }
}

.legal-copy h2 { margin-block: 1.25em .35em; }
.legal-copy h3 { margin-block: 1em .3em; }
.legal-copy p { margin-block: .65em; }
