/* 株式会社ATH  https://athworks.com/ */
:root {
  --ink: #262A33;
  --ink-2: #4A5163;
  --muted: #5A6378;
  --line: #E3E6EB;
  --panel: #E3E6EB;
  --alt: #F4F5F7;
  --accent: #00A0B0;
  --accent-text: #007A87;
  --on-dark: #D5D9E0;
  --on-dark-muted: #AEB4BF;
  --dotline: #C3C8D1;
  --error: #B42318;
  --font: 'M PLUS 1', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #FFFFFF; font-size: 16px; line-height: 1.8; line-break: strict; overflow-wrap: anywhere; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-text); }
a:hover { color: #005F69; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.container { width: 100%; max-width: 1168px; margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: #FFFFFF; color: var(--ink); padding: 8px 16px; }
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line); }
.site-header .container { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-icon { width: 32px; height: 32px; border-radius: 7px; background: var(--ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand-icon svg { width: 22px; height: 22px; }
.brand-name { font-size: 16px; font-weight: 700; letter-spacing: 0.06em; }
.menu-toggle { width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: transparent; color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle svg { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.global-nav { display: none; }
.global-nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 64px; background: #FFFFFF; border-bottom: 1px solid var(--line); padding: 4px 24px 24px; }
.global-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.global-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; text-decoration: none; }
.global-nav a[aria-current="page"] { font-weight: 700; }
.global-nav .nav-cta { display: inline-flex; align-items: center; height: 48px; margin-top: 16px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--ink); color: #FFFFFF; font-weight: 700; }
.global-nav .nav-cta:hover { background: #3A3F4A; color: #FFFFFF; }

@media (min-width: 1024px) {
  html { scroll-padding-top: 96px; }
  .site-header .container { height: 80px; }
  .brand-icon { width: 36px; height: 36px; border-radius: 8px; }
  .brand-icon svg { width: 24px; height: 24px; }
  .brand-name { font-size: 17px; }
  .menu-toggle { display: none; }
  .global-nav, .global-nav.is-open { display: block; position: static; padding: 0; border: 0; background: transparent; }
  .global-nav ul { flex-direction: row; align-items: center; gap: 32px; }
  .global-nav a { padding: 0; border: 0; font-size: 15px; }
  .global-nav a:hover { color: var(--accent-text); }
  .global-nav a[aria-current="page"]:not(.nav-cta) { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 8px; }
  .global-nav .nav-cta { height: 44px; margin: 0; font-size: 15px; }
  .global-nav .nav-cta:hover { color: #FFFFFF; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 32px; border: 1.5px solid transparent; border-radius: 999px; font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color 0.15s, color 0.15s; }
.btn-primary { background: var(--ink); color: #FFFFFF; }
.btn-primary:hover { background: #3A3F4A; color: #FFFFFF; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #FFFFFF; }
.btn-accent { background: var(--accent); color: #16191F; }
.btn-accent:hover { background: #19B6C6; color: #16191F; }
@media (min-width: 1024px) { .btn { height: 56px; padding: 0 36px; } }

/* ---------- hero ---------- */
.hero { padding: 32px 0 72px; }
.dots-wide { display: none; }
.dots-narrow { width: 100%; max-width: 520px; height: auto; }
.dots .u { fill: none; stroke: var(--panel); stroke-width: 7.6px; stroke-linecap: round; }
.dots .l { fill: var(--ink); animation: dot-on 0.5s ease-out both; animation-delay: calc(var(--c) * 45ms + 150ms); }
.dots .a { fill: var(--accent); animation: apex-on 0.6s ease-out both; animation-delay: 1.1s; }
@keyframes dot-on { from { fill: var(--panel); } to { fill: var(--ink); } }
@keyframes apex-on { from { fill: var(--panel); } to { fill: var(--accent); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dots .l, .dots .a { animation: none; }
}
.hero-body { margin-top: 32px; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { margin: 0; font-size: 34px; line-height: 1.4; font-weight: 700; letter-spacing: 0.02em; }
.hero-lead { margin: 16px 0 0; max-width: 640px; font-size: 16px; line-height: 1.9; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 768px) { .hero h1 { font-size: 48px; } }
@media (min-width: 1024px) {
  .hero { padding: 72px 0 120px; }
  .dots-wide { display: block; width: 100%; height: auto; }
  .dots-narrow { display: none; }
  .hero-body { margin-top: 56px; gap: 40px; }
  .hero h1 { font-size: 60px; line-height: 1.35; }
  .hero-lead { margin-top: 24px; font-size: 18px; }
  .hero-actions { gap: 16px; }
}

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section--bordered { border-top: 1px solid var(--line); }
.section--alt { background: var(--alt); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin-bottom: 36px; }
.section-title { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 26px; line-height: 1.4; font-weight: 700; letter-spacing: 0.04em; }
.section-title::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.section-lead { margin: 0; font-size: 16px; line-height: 1.9; color: var(--ink-2); }
@media (min-width: 1024px) {
  .section { padding: 120px 0; }
  .section-head { gap: 16px; margin-bottom: 56px; }
  .section-title { gap: 14px; font-size: 32px; }
  .section-title::before { width: 12px; height: 12px; }
  .section-lead { font-size: 17px; }
}

/* services */
.services { display: grid; gap: 40px; }
.service { border-top: 2px solid var(--ink); padding-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.service h3 { margin: 0; font-size: 19px; line-height: 1.5; }
.service p { margin: 0; font-size: 15px; line-height: 1.9; }
.service .examples { font-size: 13px; line-height: 1.8; color: var(--muted); }
.service .guide { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--dotline); font-size: 14px; font-weight: 700; color: var(--ink); }
@media (min-width: 1024px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
  .service { padding-top: 28px; gap: 16px; }
  .service h3 { font-size: 22px; }
  .service p { font-size: 16px; }
  .service .examples { font-size: 14px; }
  .service .guide { font-size: 15px; }
}

/* case highlights */
.case-grid { display: grid; gap: 14px; }
.case-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 8px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.case-card .cat { margin: 0; font-size: 12px; font-weight: 700; color: var(--accent-text); }
.case-card h3 { margin: 0; font-size: 17px; line-height: 1.55; }
.case-card p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.section-more { margin-top: 32px; }
@media (min-width: 768px) { .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .case-card { padding: 28px; gap: 12px; }
  .case-card .cat { font-size: 13px; }
  .case-card h3 { font-size: 19px; }
  .case-card p { font-size: 15px; }
  .section-more { margin-top: 56px; }
}

/* pricing */
.price-list { margin: 0; border-top: 1px solid var(--line); }
.price-row { display: flex; flex-direction: column; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.price-row dt { font-size: 16px; font-weight: 700; line-height: 1.6; }
.price-row dd { margin: 0; }
.price-row .price { font-size: 17px; font-weight: 700; line-height: 1.6; color: var(--accent-text); }
.price-row .desc { font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.price-notes { margin: 20px 0 0; padding-left: 1.3em; font-size: 13px; line-height: 1.8; color: var(--muted); }
.price-notes li + li { margin-top: 4px; }
@media (min-width: 1024px) {
  .price-row { display: grid; grid-template-columns: 260px 300px minmax(0, 1fr); gap: 24px; padding: 26px 0; align-items: start; }
  .price-row dt { font-size: 17px; }
  .price-row .price { font-size: 18px; }
  .price-row .desc { font-size: 15px; }
  .price-notes { margin-top: 28px; font-size: 14px; }
}

/* process */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.step { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 18px; padding-bottom: 32px; }
.step:last-child { padding-bottom: 0; }
.step-num { width: 24px; height: 40px; }
.step:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 52px; bottom: 8px; width: 4px; background-image: radial-gradient(circle, var(--dotline) 2px, transparent 2.4px); background-size: 4px 12px; background-repeat: repeat-y; }
.step-body { display: flex; flex-direction: column; gap: 6px; padding-top: 6px; }
.step h3 { margin: 0; font-size: 18px; line-height: 1.5; }
.step p { margin: 0; font-size: 15px; line-height: 1.8; color: var(--ink-2); }
.process-notes { margin-top: 40px; display: grid; gap: 14px; }
.note-box { background: var(--alt); border-radius: 8px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.note-box h3 { margin: 0; font-size: 16px; line-height: 1.5; }
.note-box p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--ink-2); }
@media (min-width: 1024px) {
  .steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .step { display: flex; flex-direction: column; gap: 20px; padding-bottom: 0; }
  .step:not(:last-child)::after { left: 40px; right: -24px; top: 18px; bottom: auto; width: auto; height: 4px; background-size: 12px 4px; background-repeat: repeat-x; }
  .step-body { gap: 10px; padding-top: 0; }
  .step h3 { font-size: 20px; }
  .process-notes { margin-top: 64px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .note-box { padding: 28px; gap: 10px; }
  .note-box h3 { font-size: 18px; }
  .note-box p { font-size: 15px; }
}

/* company */
.company { display: grid; gap: 24px; }
.company dl { margin: 0; border-top: 1px solid var(--line); }
.company .row { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.company dt { font-size: 13px; line-height: 1.7; color: var(--muted); }
.company dd { margin: 0; font-size: 15px; line-height: 1.8; }
@media (min-width: 1024px) {
  .company { grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; }
  .company .row { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; padding: 20px 0; }
  .company dt { font-size: 15px; line-height: 1.8; }
  .company dd { font-size: 16px; }
}

/* call to action */
.cta { background: var(--ink); color: #FFFFFF; padding: 72px 0; }
.cta .container { display: flex; flex-direction: column; gap: 28px; }
.cta-body { display: flex; flex-direction: column; gap: 28px; }
.cta-text { display: flex; flex-direction: column; gap: 12px; }
.cta .section-title { color: #FFFFFF; align-items: baseline; }
.cta .section-title::before { transform: translateY(-3px); }
.cta p { margin: 0; font-size: 16px; line-height: 1.9; color: var(--on-dark); }
.cta .note { font-size: 13px; color: var(--on-dark-muted); }
.cta-mark { display: none; }
@media (min-width: 1024px) {
  .cta { padding: 112px 0; }
  .cta .container { flex-direction: row; align-items: center; justify-content: space-between; gap: 64px; }
  .cta-body { gap: 36px; max-width: 680px; }
  .cta-text { gap: 16px; }
  .cta p { font-size: 17px; }
  .cta .note { font-size: 14px; }
  .cta-mark { display: block; width: 210px; height: 210px; flex-shrink: 0; }
}

/* footer */
.site-footer { background: var(--ink); color: var(--on-dark); border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 32px 0 40px; }
.site-footer .container { display: flex; flex-direction: column; gap: 20px; }
.footer-logo { width: 98px; height: auto; }
.footer-meta { display: flex; flex-direction: column; gap: 10px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { color: var(--on-dark); font-size: 14px; text-decoration: none; }
.footer-links a:hover { color: #FFFFFF; text-decoration: underline; }
.copyright { font-size: 13px; color: var(--on-dark-muted); }
@media (min-width: 1024px) {
  .site-footer { padding: 40px 0; }
  .site-footer .container { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .footer-logo { width: 110px; }
  .footer-meta { flex-direction: row; align-items: center; gap: 32px; }
}

/* ---------- sub pages ---------- */
.page-hero { background: var(--alt); padding: 28px 0 40px; }
.page-hero .container { display: flex; flex-direction: column; gap: 20px; }
.breadcrumb { font-size: 13px; color: var(--muted); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-head { display: flex; flex-direction: column; gap: 14px; max-width: 800px; }
.page-title { margin: 0; font-size: 32px; line-height: 1.4; font-weight: 700; letter-spacing: 0.04em; }
.page-lead { margin: 0; font-size: 15px; line-height: 1.9; color: var(--ink-2); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid var(--dotline); border-radius: 999px; background: #FFFFFF; color: var(--ink); font-size: 13px; font-weight: 500; text-decoration: none; }
.chips a:hover { border-color: var(--ink); color: var(--ink); }
@media (min-width: 1024px) {
  .page-hero { padding: 72px 0 64px; }
  .page-hero .container { gap: 28px; }
  .breadcrumb { font-size: 14px; }
  .page-head { gap: 20px; }
  .page-title { font-size: 48px; line-height: 1.35; }
  .page-lead { font-size: 17px; }
  .chips { gap: 10px; }
  .chips a { height: 40px; padding: 0 18px; font-size: 14px; }
}

/* cases page */
.case-group { padding: 48px 0 8px; }
.case-group + .case-section { padding-top: 24px; }
.case-group .container { display: flex; flex-direction: column; gap: 10px; }
.group-title { margin: 0; padding-top: 22px; border-top: 2px solid var(--ink); font-size: 22px; line-height: 1.4; font-weight: 700; letter-spacing: 0.04em; }
.group-lead { margin: 0; max-width: 800px; font-size: 15px; line-height: 1.9; color: var(--ink-2); }
.case-section { padding: 40px 0 0; }
.case-section .section-title { gap: 10px; font-size: 21px; }
.case-section .section-title::before { width: 9px; height: 9px; }
.disclaimer { margin: 14px 0 0; padding: 12px 16px; border-left: 3px solid var(--accent); background: var(--alt); font-size: 13px; line-height: 1.8; color: var(--ink-2); }
.case-list { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--line); }
.case-list > li { border-bottom: 1px solid var(--line); }
.case summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; }
.case summary::-webkit-details-marker { display: none; }
.case summary h4 { margin: 0; font-size: 16px; line-height: 1.55; }
.case .toggle { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.case .toggle::before, .case .toggle::after { content: ""; position: absolute; left: 3px; right: 3px; top: 9px; height: 2px; border-radius: 1px; background: var(--ink); transition: transform 0.2s; }
.case .toggle::after { transform: rotate(90deg); }
.case[open] .toggle::after { transform: rotate(0deg); }
.case dl { margin: 0; padding: 0 0 22px; display: flex; flex-direction: column; gap: 14px; }
.case dl div { display: flex; flex-direction: column; gap: 4px; }
.case dt { font-size: 12px; font-weight: 700; color: var(--muted); }
.case dt.how { color: var(--accent-text); }
.case dt.change { color: var(--ink); }
.case dd { margin: 0; font-size: 15px; line-height: 1.8; }
.others { padding: 48px 0 56px; }
.others .inner { display: flex; flex-direction: column; gap: 10px; }
.others h2 { margin: 0; font-size: 18px; line-height: 1.5; }
.others p { margin: 0; font-size: 15px; line-height: 1.9; color: var(--ink-2); }
@media (min-width: 1024px) {
  .case-group { padding: 88px 0 0; }
  .case-group + .case-section { padding-top: 40px; }
  .case-group .container { gap: 16px; }
  .group-title { padding-top: 32px; font-size: 32px; }
  .group-lead { font-size: 17px; }
  .case-section { padding: 72px 0 0; }
  .case-section .section-title { gap: 14px; font-size: 28px; }
  .case-section .section-title::before { width: 12px; height: 12px; }
  .disclaimer { margin-top: 24px; padding: 14px 20px; font-size: 14px; }
  .case-list { margin-top: 28px; border-top: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .case-list > li { border: 1px solid var(--line); border-radius: 8px; padding: 28px; }
  .js .case summary { padding: 0 0 18px; cursor: default; }
  .js .case .toggle { display: none; }
  .case summary h4 { font-size: 18px; }
  .js .case dl { padding: 0; }
  .case dt { font-size: 13px; }
  .others { padding: 72px 0 96px; }
  .others .inner { max-width: 880px; padding-top: 40px; border-top: 1px solid var(--line); }
  .others h2 { font-size: 22px; }
  .others p { font-size: 16px; }
}

/* privacy page */
.doc-section { padding: 40px 0 72px; }
.doc { max-width: 760px; }
.doc h2 { margin: 36px 0 10px; font-size: 19px; line-height: 1.5; }
.doc p, .doc li { font-size: 15px; line-height: 1.9; }
.doc p { margin: 0 0 12px; }
.doc ul { margin: 0 0 12px; padding-left: 1.4em; }
.doc .meta { margin-top: 32px; color: var(--muted); font-size: 14px; }
@media (min-width: 1024px) { .doc-section { padding: 64px 0 120px; } .doc h2 { font-size: 21px; } .doc p, .doc li { font-size: 16px; } }

/* contact page */
.form-section { padding: 40px 0 72px; }
.form { max-width: 720px; display: flex; flex-direction: column; gap: 24px; }
.notice { margin: 0; padding: 16px 18px; border-radius: 8px; background: var(--alt); color: var(--ink-2); font-size: 14px; line-height: 1.8; }
.form-errors { margin: 0; padding: 14px 18px; border: 1px solid #F1B5AE; border-radius: 8px; background: #FEF3F2; color: #912018; font-size: 14px; line-height: 1.8; }
.form-errors ul { margin: 6px 0 0; padding-left: 1.2em; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field-label { font-size: 15px; font-weight: 700; }
.badge { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; line-height: 1.7; vertical-align: 2px; }
.badge-req { background: var(--ink); color: #FFFFFF; }
.badge-opt { background: var(--line); color: var(--ink-2); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #B9BFC9; border-radius: 8px; background: #FFFFFF; color: var(--ink); font-family: inherit; font-size: 16px; line-height: 1.6; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { min-height: 200px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(0, 160, 176, 0.35); outline-offset: 0; border-color: var(--accent-text); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field .hint { margin: 0; font-size: 13px; color: var(--muted); }
.field .error { margin: 0; font-size: 13px; font-weight: 700; color: var(--error); }
.checks { display: flex; flex-direction: column; gap: 12px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.7; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; flex-shrink: 0; accent-color: var(--ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { padding-top: 8px; }
.thanks { max-width: 720px; display: flex; flex-direction: column; gap: 16px; }
.thanks h2 { margin: 0; font-size: 22px; line-height: 1.5; }
.thanks p { margin: 0; font-size: 16px; line-height: 1.9; color: var(--ink-2); }
@media (min-width: 1024px) { .form-section { padding: 64px 0 120px; } }
