@font-face { font-family: "Zen Kaku Gothic New"; src: url("/assets/zen-kaku-500.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Zen Kaku Gothic New"; src: url("/assets/zen-kaku-700.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Zen Kaku Gothic New"; src: url("/assets/zen-kaku-900.woff2") format("woff2"); font-style: normal; font-weight: 900; font-display: swap; }

:root {
  --paper: #f8f8f2;
  --white: #fff;
  --ink: #101b2b;
  --muted: #495568;
  --blue: #1e3bc5;
  --blue-deep: #152d9f;
  --lime: #e5f769;
  --line: #d9ddd6;
  --font: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --gutter: clamp(18px, 4vw, 64px);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { font-size: 106.25%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 1rem/1.7 var(--font); }
img { display: block; width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { font: inherit; color: inherit; }
button:hover, summary:hover { cursor: pointer; }
:focus-visible { outline: 3px solid #9b4000; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 900; line-height: 1.22; }
h2 { font-size: clamp(1.72rem, 4vw, 2.7rem); letter-spacing: -.04em; }
h3 { font-size: clamp(1.16rem, 2.5vw, 1.56rem); letter-spacing: -.025em; }
section[id], article[id] { scroll-margin-top: 96px; }

.layout { width: min(1200px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip { position: fixed; z-index: 100; top: 8px; left: 12px; padding: 8px 16px; background: var(--white); transform: translateY(-155%); }
.skip:focus { transform: translateY(0); }
.site-header { position: sticky; z-index: 10; top: 0; background: var(--paper); border-bottom: 1px solid #1232a41a; }
.header-row { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand-icon { display: inline-block; width: 40px; height: 40px; background: var(--blue); border-radius: 9px; position: relative; flex: none; }
.brand-icon span { position: absolute; inset: 10px 7px 9px; border: 2px solid var(--lime); border-radius: 4px; }
.brand-icon span::before { content: ""; position: absolute; inset: 4px 0 auto; border-top: 2px solid var(--lime); }
.brand-icon span::after { content: ""; position: absolute; top: 1px; left: 3px; width: 2px; height: 2px; border-radius: 50%; background: var(--lime); box-shadow: 4px 0 var(--lime); }
.brand-icon i { position: absolute; bottom: 9px; right: 5px; width: 11px; height: 11px; border: solid var(--lime); border-width: 3px 3px 0 0; }
.brand-icon i::after { position: absolute; content: ""; height: 3px; width: 13px; right: -2px; top: 2px; background: var(--lime); transform: rotate(-45deg); }
.brand-label { display: grid; gap: 2px; line-height: 1.05; }
.brand-label strong { font-weight: 900; font-size: 1.33rem; letter-spacing: -.075em; }
.brand-label strong span { color: var(--blue); }
.brand-label small { font-size: .62rem; font-weight: 900; letter-spacing: .13em; }
.main-nav { display: flex; gap: clamp(14px, 2.4vw, 34px); align-items: center; }
.main-nav a { text-decoration: none; padding-block: 11px; font-weight: 900; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--blue); }
.main-nav a:last-child { border: 1px solid var(--ink); border-radius: 999px; padding-inline: 20px; }
.main-nav a:last-child:hover { color: var(--white); background: var(--blue); border-color: var(--blue); }
.menu-control, .mobile-actions { display: none; }

.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: var(--blue); }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 95% 0%, #3d62ed 0%, transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; min-height: 562px; }
.hero-copy { padding-block: 66px 67px; z-index: 1; }
.hero-area { font-size: clamp(1rem, 1.6vw, 1.22rem); letter-spacing: .03em; font-weight: 900; }
.hero h1 { margin-top: 18px; font-size: clamp(2.5rem, 5.05vw, 4.42rem); letter-spacing: -.075em; line-height: 1.16; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero-intro { margin-top: 24px; font-weight: 700; line-height: 1.75; color: #f0f2ff; }
.phrase { white-space: nowrap; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: .8em; min-height: 52px; max-width: 100%; padding: 10px 18px; border: 1px solid transparent; border-radius: 8px; text-decoration: none; font-weight: 900; line-height: 1.35; transition: background-color .18s, color .18s, transform .18s; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.button-arrow { flex: none; font-size: 1.1em; }
.button--primary { background: var(--lime); color: var(--ink); }
.button--primary:hover { background: #f3ffa7; }
.button--light { border-color: #ffffffa6; color: var(--white); }
.button--light:hover { background: var(--white); color: var(--blue-deep); }
.button--ink { background: var(--ink); color: var(--white); }
.button--ink:hover { background: var(--blue-deep); }
.button--outline { border-color: var(--ink); background: var(--white); color: var(--ink); }
.button--outline:hover { background: var(--ink); color: var(--white); }
.hero :focus-visible, .bottom-cta :focus-visible { outline-color: var(--white); }
.hero-price { display: inline-block; margin-top: 17px; padding-block: 5px; color: var(--white); text-underline-offset: .25em; text-decoration-color: #ffffff8a; font-size: .94rem; }
.hero-price b { color: var(--lime); }

.hero-art { position: relative; min-width: 0; min-height: 460px; }
.art-circle { position: absolute; z-index: -1; width: 98%; aspect-ratio: 1; top: 42px; left: 7%; border: 1px solid #d9e7ff80; border-radius: 50%; }
.art-circle::after { position: absolute; content: ""; inset: 8%; border: 1px solid #d9e7ff44; border-radius: 50%; }
.art-line { position: absolute; top: 72%; left: 7%; width: 94%; height: 1px; background: #d9e7ff6b; transform: rotate(-25deg); }
.showcase { background: #faf8f2; color: var(--ink); position: absolute; top: 82px; right: 6%; width: 90%; overflow: hidden; border: 1px solid #111b2b; border-radius: 15px; box-shadow: 0 26px 60px #06134866; transform: rotate(-6deg); }
.browser-bar { display: flex; align-items: center; gap: 5px; padding: 8px 11px; line-height: 1; font-size: .62rem; }
.browser-bar span { width: 6px; height: 6px; border-radius: 50%; background: #2c3a55; }
.browser-bar b { margin-inline: auto; font-weight: 700; letter-spacing: .05em; }
.showcase-image { position: relative; display: grid; place-items: center; overflow: hidden; background: #332821; aspect-ratio: 1.86; }
.showcase-image img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center 54%; }
.showcase-image::after { content: ""; position: absolute; inset: 0; background: #10080446; }
.showcase-image > span { position: relative; z-index: 1; text-align: center; font-weight: 900; color: var(--white); line-height: 1; letter-spacing: .07em; font-size: clamp(.68rem, 1.4vw, 1rem); text-shadow: 0 2px 8px #100804; }
.showcase-image > span b { font-size: clamp(1.5rem, 4vw, 3.2rem); letter-spacing: -.04em; }
.showcase-caption { display: flex; justify-content: space-between; gap: 10px; font-size: .72rem; font-weight: 900; padding: 10px 13px; }
.phone-preview { position: absolute; right: 1%; bottom: 27px; width: 34%; max-width: 190px; overflow: hidden; border-radius: 23px; padding: 5px; border: 5px solid var(--ink); background: var(--paper); color: var(--ink); transform: rotate(9deg); box-shadow: 0 16px 36px #060b3866; }
.phone-camera { height: 4px; width: 30%; margin: 1px auto 6px; background: var(--ink); border-radius: 7px; }
.phone-image { position: relative; display: grid; align-items: end; aspect-ratio: .94; background: #30271f; overflow: hidden; color: white; border-radius: 9px; }
.phone-image img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.phone-image b { position: relative; z-index: 1; padding: 7px; font-size: clamp(.52rem, 1.6vw, 1rem); text-shadow: 0 1px 5px #111; }
.phone-copy { padding: 6px; font-size: .58rem; font-weight: 900; }
.phone-copy > strong { display: block; font-size: clamp(.68rem, 1.7vw, 1rem); font-weight: 900; }
.phone-copy > div { margin-top: 5px; padding: 4px 6px; border-radius: 4px; background: var(--lime); }

.section { padding-block: clamp(51px, 7vw, 92px); }
.section-heading { margin-bottom: clamp(23px, 3.6vw, 37px); }
.section-heading p, .faq-layout > div:first-child p { margin-top: 8px; color: var(--muted); }
.section-heading--action { display: flex; justify-content: space-between; align-items: end; gap: 14px 25px; }
.ink-blue { color: var(--blue); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.features-grid article { padding: 22px clamp(15px, 2.45vw, 35px) 25px; }
.features-grid article:first-child { padding-left: 0; }
.features-grid article + article { border-left: 1px solid var(--line); }
.features-grid p { margin-top: 7px; color: var(--muted); }
.feature-mark { display: inline-grid; place-items: center; margin-bottom: 12px; width: 42px; height: 42px; border-radius: 10px; background: #e6ebff; color: var(--blue); font-size: 1.1rem; font-weight: 900; }
.work-section { background: #e9edff; }
.works-grid, .plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px; }
.work-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--white); border: 1px solid #c7ceee; border-radius: var(--radius); }
.work-media { display: block; position: relative; aspect-ratio: 1.72; overflow: hidden; background: #ddd; }
.work-media img { height: 100%; object-fit: cover; transition: transform .28s; }
.work-media:hover img { transform: scale(1.035); }
.work-media:focus-visible { outline-offset: -5px; }
.smaho .work-media img { object-position: 50% 48%; }
.work-open { position: absolute; top: 15px; right: 15px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--blue-deep); font-size: 1.25rem; font-weight: 900; }
.work-info { flex: 1; display: flex; flex-direction: column; align-items: start; padding: clamp(17px, 3vw, 29px); }
.work-type { margin-bottom: 6px; color: var(--blue-deep); font-weight: 900; font-size: .9rem; }
.work-info h3 { font-size: clamp(1.32rem, 3vw, 2.03rem); }
.work-info h3 + p { margin-top: 11px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 14px 0 17px; }
.tags li { padding: 3px 9px; font-size: .85rem; font-weight: 700; color: var(--ink); border: 1px solid #d6dcf3; background: #f5f6fb; border-radius: 4px; }
.text-link { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; flex: none; text-underline-offset: .21em; font-weight: 900; color: var(--blue-deep); }
.text-link:hover { color: var(--ink); }
.work-info .text-link { margin-top: auto; }

.plan { display: flex; flex-direction: column; align-items: start; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3.8vw, 35px); }
.plan--monthly { background: var(--lime); border-color: #bdcc4b; }
.plan--custom { background: var(--white); }
.plan h3 + p { margin-top: 10px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .32em; margin-block: 13px 16px; font-weight: 900; }
.price strong { font-size: clamp(2.1rem, 5.7vw, 3.7rem); letter-spacing: -.065em; line-height: 1; }
.price--quote strong { font-size: clamp(1.8rem, 4.6vw, 3.1rem); }
.price-prefix { font-size: .9rem; }
.checklist { list-style: none; margin: 0 0 21px; padding: 0; }
.checklist li { display: flex; align-items: baseline; gap: 8px; }
.checklist li::before { content: "✓"; font-weight: 900; }
.plan .button { margin-top: auto; }
.process, .faq { background: var(--white); border-block: 1px solid var(--line); }
.step-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; list-style: none; counter-reset: stage; margin: 0; padding: 0; }
.step-grid li { padding: 15px 17px; border: 1px solid var(--line); counter-increment: stage; }
.step-grid li + li { border-left: 0; }
.step-grid li::before { content: counter(stage, decimal-leading-zero); display: block; margin-bottom: 9px; color: var(--blue); font-weight: 900; }
.step-grid h3 { font-size: 1.08rem; }
.step-grid p { margin-top: 7px; color: var(--muted); }
.faq-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 28px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; list-style: none; padding: 11px 3px; font-weight: 900; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--blue-deep); }
.faq-list summary span { position: relative; width: 18px; height: 18px; flex: none; }
.faq-list summary span::before, .faq-list summary span::after { content: ""; background: currentColor; position: absolute; width: 14px; height: 2px; top: 8px; left: 2px; border-radius: 2px; }
.faq-list summary span::after { transform: rotate(90deg); }
.faq-list details[open] summary span::after { display: none; }
.faq-list details p { color: var(--muted); padding: 0 31px 14px 3px; }
.bottom-cta { padding-block: 41px; color: var(--white); background: var(--blue); }
.bottom-cta-row { display: flex; align-items: center; justify-content: space-between; gap: 19px; }
.bottom-cta h2 { font-size: clamp(1.45rem, 3.9vw, 2rem); }
.bottom-cta p { margin-top: 7px; }
.bottom-cta .button { flex: none; }
.site-footer { padding-block: 34px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; align-items: start; gap: 22px; }
.footer-grid p { font-size: .87rem; margin-top: 7px; color: var(--muted); }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 1px 17px; }
.footer-grid nav a { display: flex; align-items: center; min-height: 44px; font-weight: 700; font-size: .88rem; text-decoration: none; }
.footer-grid nav a:hover, .operator a:hover { text-decoration: underline; }
.operator { white-space: nowrap; }
.operator small { display: block; margin-top: 4px; }

.page-intro { padding-block: 28px 47px; background: #e9edff; }
.page-intro h1 { margin-block: 10px 13px; font-size: clamp(2.1rem, 5.8vw, 4rem); letter-spacing: -.055em; }
.breadcrumb { color: var(--muted); font-size: .87rem; }
.breadcrumb a { text-underline-offset: 3px; }
.lead { max-width: 36em; color: var(--muted); font-weight: 700; }
.page-intro + .work-section { padding-top: 9px; }
.contact-section .plan .button { margin-top: 19px; }
.contact-section .plan p { max-width: 34em; }
.contact-note { margin-top: 7px; font-size: .9rem; }
.prep { margin-top: 25px; }
.prep h3 { font-size: 1.14rem; }
.prose { max-width: min(1200px, calc(100% - var(--gutter) * 2)); }
.prose h2 { font-size: 1.55rem; margin-bottom: 9px; }
.prose h2:not(:first-child) { margin-top: 28px; }
.prose p, .prose ul { max-width: 42em; }
.prose p + p { margin-top: 16px; }
.prose a { color: var(--blue-deep); text-underline-offset: 4px; }

@media (max-width: 940px) {
  .hero-grid { min-height: 0; }
  .hero-art { min-height: 360px; }
  .showcase { top: 82px; right: 0; width: 93%; }
  .phone-preview { bottom: 20px; right: 0; }
  .hero-copy { padding-block: 46px; }
  .hero h1 { font-size: clamp(2.32rem, 5.4vw, 3rem); }
  .footer-grid { grid-template-columns: max-content 1fr; }
  .operator { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  html { scroll-padding: 68px 0 calc(65px + env(safe-area-inset-bottom)); }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  section[id], article[id] { scroll-margin-top: 70px; }
  .header-row { min-height: 64px; flex-wrap: wrap; }
  .brand-icon { width: 37px; height: 37px; }
  .main-nav { order: 3; flex-basis: 100%; gap: 0 15px; margin-bottom: 5px; flex-wrap: wrap; }
  .main-nav a { font-size: .91rem; }
  .main-nav a:last-child { border: 0; padding-inline: 0; }
  .js-menu .menu-control { display: flex; align-items: center; gap: 8px; padding: 6px 9px; min-height: 44px; background: transparent; border: 1px solid var(--line); border-radius: 8px; font-size: .84rem; font-weight: 900; }
  .menu-icon { width: 17px; height: 12px; position: relative; border-top: 2px solid; border-bottom: 2px solid; }
  .menu-icon::before { content: ""; position: absolute; top: 3px; left: 0; right: 0; border-top: 2px solid; }
  .js-menu .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 4px var(--gutter) 14px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 9px 15px #101b2b17; }
  .js-menu .main-nav.is-open { display: grid; }
  .js-menu .main-nav a { min-height: 46px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .js-menu .main-nav a:last-child { border-bottom: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-block: 29px 0; }
  .hero h1 { margin-top: 10px; font-size: clamp(2.15rem, 8.4vw, 3.45rem); }
  .hero-intro { margin-top: 13px; }
  .hero-actions { margin-top: 18px; gap: 8px; }
  .hero-actions .button { font-size: .94rem; min-height: 47px; padding-inline: 10px; }
  .hero-price { margin-top: 10px; }
  .hero-art { margin-top: 0; min-height: 0; aspect-ratio: 1.29; }
  .showcase { top: 12%; right: 8%; width: 86%; }
  .phone-preview { width: 29%; bottom: 6%; right: 2%; border-width: 4px; border-radius: 15px; }
  .showcase-caption { padding: 7px 8px; font-size: .59rem; }
  .art-circle { width: 74%; left: 19%; top: 7%; }
  .features-grid, .works-grid, .plan-grid, .faq-layout { grid-template-columns: 1fr; }
  .features-grid article, .features-grid article:first-child { padding: 14px 0; }
  .features-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .features-grid p { margin-top: 5px; }
  .section-heading--action, .bottom-cta-row { align-items: start; flex-direction: column; }
  .bottom-cta-row { gap: 14px; }
  .faq-layout { gap: 17px; }
  .step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-grid li:nth-child(3) { border-left: 1px solid var(--line); }
  .step-grid li:nth-child(n + 3) { border-top: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 11px; }
  .mobile-actions { position: fixed; z-index: 9; inset: auto 0 0; display: grid; grid-template-columns: 1fr 1.35fr; gap: 7px; padding: 6px var(--gutter) calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -2px 15px #101b2b21; background: var(--white); }
  .mobile-actions a { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 4px; text-decoration: none; border: 1px solid var(--ink); border-radius: 7px; font-weight: 900; font-size: .93rem; line-height: 1.25; }
  .mobile-actions a:last-child { background: var(--lime); border-color: #bdcc4b; }
  .mobile-actions a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
}

@media (max-width: 365px) {
  .hero h1 { font-size: 1.97rem; }
  .hero-actions .button { font-size: .86rem; gap: .22rem; }
  .phone-preview { width: 32%; bottom: 3%; }
  .showcase-caption { font-size: .52rem; }
  .step-grid li { padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
