:root{
  color-scheme:light;
  --ink:#1d1d1f;
  --muted:#4f545c;
  --soft:#f5f5f7;
  --silver:#eef0f3;
  --silver-deep:#dfe2e7;
  --tone:#eef4f8;
  --tone-line:#d8e4ec;
  --panel:#ffffff;
  --line:#d2d2d7;
  --link:#0066cc;
  --page:860px;
  --text:860px;
  --gutter:44px;
  --body-size:22px;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  background:#fff;
  color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Hiragino Sans","Noto Sans JP","Segoe UI",sans-serif;
  line-height:1.55;
}

a{
  color:var(--link);
  text-decoration:none;
}

a:hover{text-decoration:underline}

p,
h1,
h2,
h3{
  margin-top:0;
}

.global-nav{
  position:sticky;
  top:0;
  z-index:10;
  transform:translateY(0);
  background:rgba(246,247,249,.86);
  border-bottom:1px solid rgba(0,0,0,.08);
  backdrop-filter:saturate(180%) blur(18px);
  transition:transform .22s ease;
}

.global-nav.is-hidden{
  transform:translateY(-100%);
}

.nav-inner{
  width:min(var(--page),calc(100% - var(--gutter)));
  min-height:48px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.brand{
  color:var(--ink);
  font-family:"Times New Roman",Times,"Yu Mincho","Hiragino Mincho ProN",serif;
  font-size:24px;
  font-weight:400;
  letter-spacing:0;
  text-decoration:none;
  white-space:nowrap;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:28px;
  color:var(--ink);
  font-size:20px;
  font-weight:400;
  white-space:nowrap;
}

.nav-links a{
  color:inherit;
  text-decoration:none;
}

.hero{
  background:#fff;
  overflow:hidden;
  text-align:left;
}

.hero-inner{
  width:min(var(--page),calc(100% - var(--gutter)));
  margin:0 auto;
  padding:56px 42px 20px;
  background:#fff;
}

.eyebrow{
  margin:0 0 14px;
  color:var(--muted);
  font-size:15px;
  font-weight:600;
}

h1{
  max-width:none;
  margin:0 0 18px;
  color:var(--ink);
  font-size:clamp(34px,5vw,45px);
  line-height:1.12;
  letter-spacing:0;
  white-space:nowrap;
}

.lead{
  max-width:none;
  margin:0;
  color:var(--ink);
  font-size:var(--body-size);
  line-height:1.55;
  white-space:nowrap;
}

.section{
  width:100%;
  margin:0;
  padding:0 max(22px,calc((100% - var(--page)) / 2));
  background:#fff;
  text-align:center;
}

.section-frame{
  width:100%;
  padding:72px 42px;
  background:var(--panel);
  border:1px solid rgba(210,210,215,.55);
  border-radius:10px;
}

#services,
#flow,
#profile{
  padding-bottom:20px;
}

#flow,
#profile{
  padding-top:20px;
}

#services{
  padding-top:20px;
}

#services,
#profile{
  background:var(--tone);
}

#services .section-frame,
#profile .section-frame{
  border-color:var(--tone-line);
}

#services .section-frame{
  padding-bottom:28px;
}

#flow .section-frame{
  padding-top:28px;
}

#contact{
  background:#fff;
  padding-top:20px;
  padding-bottom:clamp(300px,34vh,380px);
}

.section-inner{
  width:100%;
  margin:0 auto;
}

h2{
  margin:0 0 14px;
  color:var(--ink);
  font-size:22px;
  line-height:1.4;
  letter-spacing:0;
}

.section p{
  margin:0 auto 18px;
  color:var(--muted);
  font-size:var(--body-size);
  line-height:1.58;
}

.service-list,
.step-list{
  margin:34px 0 0;
  padding:0;
  list-style:none;
}

.service-list{
  margin-top:54px;
}

.service-item{
  max-width:100%;
  margin:0 auto;
  padding:34px 0;
  text-align:center;
}

.service-item:last-child{
  padding-bottom:0;
}

.service-item h3{
  margin:0 0 12px;
  color:var(--ink);
  font-size:22px;
  line-height:1.35;
}

.service-item p{
  max-width:680px;
  margin:0 auto;
  color:var(--muted);
  font-size:var(--body-size);
  line-height:1.58;
  text-align:left;
}

.step-list{
  text-align:left;
}

.step-list li{
  padding:18px 0;
}

.step-list strong{
  display:block;
  margin-bottom:4px;
  color:var(--ink);
  font-size:var(--body-size);
  line-height:1.5;
}

.step-list span{
  color:var(--muted);
  font-size:var(--body-size);
  line-height:1.58;
}

.profile-table{
  width:100%;
  margin-top:34px;
  border-collapse:collapse;
  text-align:left;
}

.profile-table th,
.profile-table td{
  padding:16px 0;
  border-bottom:1px solid rgba(210,210,215,.55);
  font-size:var(--body-size);
  line-height:1.58;
}

.profile-table th{
  width:180px;
  color:var(--muted);
  font-weight:600;
}

.profile-table td{
  color:var(--ink);
}

.cta{
  padding-bottom:20px;
}

.cta .section-inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:18px;
}

.cta p{
  margin-bottom:0;
}

.cta-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 22px;
  border-radius:999px;
  background:var(--link);
  color:#fff;
  font-size:17px;
  text-decoration:none;
}

.cta-link:hover{text-decoration:none}

.footer{
  width:100%;
  margin:0;
  padding:10px max(22px,calc((100% - var(--page)) / 2));
  background:#111;
  color:rgba(255,255,255,.68);
  font-size:12px;
  line-height:1.35;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  overflow-x:auto;
  white-space:nowrap;
}

.footer > div:first-child{
  flex:0 0 auto;
}

.footer-links{
  display:flex;
  gap:18px;
  flex:0 0 auto;
  flex-wrap:nowrap;
  margin-top:0;
}

.footer a{color:rgba(255,255,255,.76)}

@media (max-width:820px){
  :root{--gutter:28px}

  .nav-inner{
    min-height:auto;
    padding:14px 0;
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
  }

  .nav-links{
    width:100%;
    gap:18px;
    overflow-x:auto;
    padding-bottom:2px;
  }

  .footer{
    align-items:center;
    flex-direction:row;
    gap:18px;
    padding-top:9px;
    padding-bottom:9px;
  }

  .hero-inner{
    padding:58px 24px 20px;
  }

  .section{
    margin:0;
    padding:0 14px;
  }

  .section-frame{
    padding:52px 24px;
  }

  .service-item{
    padding:28px 0;
  }

  .profile-table,
  .profile-table tbody,
  .profile-table tr,
  .profile-table th,
  .profile-table td{
    display:block;
    width:100%;
  }

  .profile-table th{
    padding-bottom:4px;
    border-bottom:0;
  }

  .profile-table td{
    padding-top:0;
  }
}
