/* Theme tokens taken from the capture (colours, type, spacing, radii). */
:root {
  --teal: #0095aa;
  --teal-dark: #007d8f;
  --ink: #000000;
  --white: #ffffff;
  --paper: #f2f2f2;
  --mist: #e2f1f3;
  --line: #d6e9ec;
  --radius-btn: 18px;
  --content: 875px;
  --gutter: 15px;
  --nav-pad: 19.2px;
  --font: "Noto Sans JP", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-decoration: none; }
a:hover { opacity: .8; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
.sr-only { font-size: 24px; font-weight: 400; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 60px; background: var(--white);
  border-bottom: 3px solid var(--teal);
}
.site-header h1 { position: absolute; left: 32px; top: 10px; font-size: 28px; font-weight: 500; line-height: 34px; }
.logo { display: inline-flex; align-items: flex-start; color: var(--ink); letter-spacing: .06em; }
.logo:hover { opacity: 1; }
.logo .mark { color: var(--teal); font-weight: 700; font-size: .9em; line-height: .8; margin-left: 2px; }
.main-nav { position: absolute; left: 0; right: 0; top: 0; height: 57px; pointer-events: none; }
.main-nav > ul { display: flex; height: 57px; padding-left: 308px; pointer-events: none; }
.main-nav > ul > li { position: relative; pointer-events: auto; }
.main-nav > ul > li > a {
  display: flex; align-items: center; height: 57px; padding: 3px var(--nav-pad) 0;
  color: var(--ink); font-size: 14px;
}
.main-nav > ul > li.current > a, .main-nav > ul > li > a:hover { color: var(--teal); opacity: 1; }
.main-nav > ul > li.learn > a { color: var(--teal); }
.sub {
  position: absolute; top: 57px; left: 0; min-width: 220px;
  background: rgba(255,255,255,.97); border: 1px solid var(--line); border-top: 3px solid var(--teal);
  padding: 10px 0; opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.main-nav li:hover > .sub, .main-nav li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 7px var(--nav-pad); color: var(--teal); font-size: 14px; white-space: nowrap; }
.menu-btn { display: none; }
.drawer { display: none; }

/* ---------- page shell ---------- */
.page { padding-top: 60px; }
.container { max-width: var(--content); margin: 0 auto; padding: 0 var(--gutter); }

.title { text-align: center; }
.title h3, h3.title-h, .section-title {
  margin: 0; padding-top: 80px; height: 120px;
  font-size: 28px; font-weight: 400; line-height: 40px; letter-spacing: .06em;
  color: var(--teal); text-align: center;
}
.title h3 span, h3.title-h span, .section-title span { border-bottom: 2px solid var(--teal); padding-bottom: 3px; font-size: 27px; }
@media (max-width: 767px) { .title h3 span, h3.title-h span, .section-title span { font-size: inherit; } }

.btn-round {
  position: relative; display: block; width: 300px; height: 30px; margin: 0 auto 32px;
  border-radius: var(--radius-btn); background: var(--teal); color: var(--white);
  font-size: 14px; font-weight: 700; line-height: 30px; text-align: center;
}
.btn-round.wide { width: 350px; }
.btn-round::after {
  content: ""; position: absolute; right: 16px; top: 10px; width: 9px; height: 8px;
  border: 1px solid currentColor; box-shadow: -2px 2px 0 -1px var(--teal), -2px 2px 0 0 currentColor;
}
.btn-round.internal::after { box-shadow: none; border: 0; border-top: 1.5px solid; border-right: 1.5px solid; width: 7px; height: 7px; top: 11px; transform: rotate(45deg); }
.btn-round:hover { opacity: .85; color: var(--white); }

/* full-bleed illustration bands (16:9 like the original photos) */
.band { position: relative; width: 100%; aspect-ratio: 1425 / 802; overflow: hidden; }
.band svg, .band img { width: 100%; height: 100%; object-fit: cover; }
.service-image img, .avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- service page ---------- */
.hero { height: auto; }
.service { padding-top: 60px; }
.service .title { margin-bottom: 55px; }
.service-image { width: 100%; aspect-ratio: 845 / 400; border-radius: 0; overflow: hidden; background: #e9eef0; }
.service-image.tall { aspect-ratio: 845 / 475; }
.service-image svg { width: 100%; height: 100%; }
.service-desc { margin: 24px 0 64px; font-size: 16px; line-height: 1.925; text-align: center; }
.service .btn-round:last-of-type { margin-bottom: 20px; }
.service.after-band { margin-top: -60px; }
.service .band-wrap { margin-top: 62px; padding-top: 30px; }
.service .band-wrap.flush { padding-top: 0; margin-top: 116px; }
@media (min-width: 992px) { .service .band-wrap { margin-top: 112px; } .service .band-wrap.flush { margin-top: 136px; } }
.band-section { padding-top: 60px; margin-top: 80px; }
#moshi .service-desc { margin-bottom: 64px; }
.contents { padding-bottom: 304px; }
.contents.short { padding-bottom: 120px; }

/* ---------- footer ---------- */
.site-footer { background: var(--paper); padding: 40px 32px 40px; }
.foot-cols { display: flex; padding-bottom: 38px; border-bottom: 1px solid var(--teal); }
.foot-col { width: 227px; flex: none; }
.foot-col h4 { font-size: 24px; font-weight: 400; line-height: 29px; margin-bottom: 16px; }
.foot-col h4 a { color: var(--teal); }
.foot-col li { line-height: 20px; margin-bottom: 11px; }
.foot-col li a { font-size: 14px; }
.foot-bottom { display: flex; justify-content: flex-end; align-items: center; gap: 36px; padding: 32px 32px 0 0; }
.follow { display: flex; align-items: center; gap: 8px; }
.follow h4, .related h4 { font-size: 16px; font-weight: 400; color: var(--teal); line-height: 30px; }
.sns { display: inline-flex; width: 25px; height: 25px; border-radius: 50%; background: #000; color: #fff; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; margin-left: 5px; }
.sns:hover { color: #fff; }
.related { display: flex; align-items: center; gap: 12px; }
.related a { color: #000; font-size: 18px; letter-spacing: .04em; }
.related a b { color: var(--teal); }
.copy { margin-top: 26px; font-size: 10px; color: var(--teal); padding-left: 4px; }
.copy a { font-size: 10px; padding: 0 4px; border-left: 1px solid #555; }
.copy span { padding-right: 4px; }

/* ---------- news ---------- */
.news-top { padding-top: 60px; text-align: center; }
.news-body { padding-top: 60px; }
.news-body .news-list { margin-top: 0; }
.news-top h2 { font-size: 24px; font-weight: 400; color: var(--teal); letter-spacing: .1em; line-height: 36px; }
.news-top h2 span { border-bottom: 2px solid var(--teal); padding-bottom: 2px; }
.filters { display: flex; justify-content: center; gap: 12px 14px; margin-top: 40px; flex-wrap: wrap; } /* 2026-11-16 カテゴリが8つに増えたので折り返す */
.filters button {
  width: 149px; height: 27px; border-radius: 13px; border: 1px solid var(--teal);
  background: var(--teal); color: #fff; font: 700 14px/25px var(--font); cursor: pointer;
}
.filters button.on { background: #fff; color: var(--teal); font-weight: 400; }
.news-list { margin-top: 45px; border-top: 1px solid var(--teal); }
.news-item { display: block; padding: 30px 0 20px; border-bottom: 1px solid var(--teal); color: #000; }
.news-item:hover { opacity: 1; background: #fafdfd; }
.news-item h4 { font-size: 15px; font-weight: 400; line-height: 27px; }
.news-item h4 .subt { display: block; }
.news-item .more { display: block; margin-top: 4px; font-size: 12px; color: var(--teal); }
.news-meta { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; color: var(--teal); }
.pill { display: inline-block; padding: 0 15px; border: 1px solid var(--teal); border-radius: 10px; font-size: 12px; line-height: 18px; color: var(--teal); }
.pager { display: flex; justify-content: center; gap: 5px; margin: 95px 0 0; }
#News.contents { padding-bottom: 228px; }
.pager button {
  min-width: 35px; height: 39px; padding: 0 6px; border: 1px solid var(--teal); background: var(--teal); color: #fff;
  font: 14px var(--font); cursor: pointer;
}
.pager button.on { background: #fff; color: var(--teal); }
.pager span { width: 35px; height: 39px; border: 1px solid var(--teal); color: var(--teal); display: flex; align-items: center; justify-content: center; }
.news-detail { display: none; padding: 20px 0 10px; font-size: 14px; line-height: 2; color: #333; }
.news-item.open .news-detail { display: block; }

/* ---------- company / recruit ---------- */
.mist { background: var(--mist); }
.info-table { margin: 0 auto; width: 100%; max-width: 845px; padding: 0 0 0 0; }
.info-table div { display: flex; font-size: 15px; line-height: 28px; }
.info-table dt { width: 120px; text-align: justify; text-align-last: justify; }
.info-table .colon { width: 40px; text-align: center; }
.info-table dd { margin: 0; }
.coinfo .info-table { padding-bottom: 450px; }
.founders { display: flex; gap: 17px; justify-content: space-between; }
.founder { width: 270px; }
.founder-top { display: flex; gap: 10px; }
.founder-top .avatar { width: 130px; height: 130px; flex: none; border-radius: 8px; overflow: hidden; }
.founder-top p { font-size: 14px; line-height: 23px; }
.founder-top p.en { color: var(--teal); }
.founder-top p.role { font-size: 13px; line-height: 21px; margin-top: 3px; }
.founder .bio { margin-top: 8px; font-size: 14px; line-height: 25px; }
.contact-lead { font-size: 14px; line-height: 31px; margin: 40px 0 47px; }
.contact-sec .container { padding-bottom: 220px; }
.recruit-msg p { font-size: 16px; line-height: 29px; text-align: center; margin-bottom: 21px; letter-spacing: .06em; }
.recruit-msg h3 { height: auto; padding-top: 60px; margin-bottom: 39px; font-size: 28px; line-height: 54px; }
.recruit-msg h3 span { border: 0; }
.recruit-msg .container { padding-bottom: 35px; }
.about-sec .container { padding-bottom: 50px; }
.about-sec .title { margin-bottom: 40px; }
.process p.lead { font-size: 14px; line-height: 30.6px; margin-top: 40px; }
.box { border: 1px solid var(--teal); padding: 30px 40px 25px; margin-top: 50px; }
.box h4 { font-size: 24px; font-weight: 400; color: var(--teal); line-height: 29px; letter-spacing: .1em; }
.box p { font-size: 14px; line-height: 31px; margin-top: 20px; }
.box .btn-round { margin-top: 32px; }
.box + .box { margin-top: 48px; }
.process .container { padding-bottom: 50px; }
.jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; padding-bottom: 60px; }
.jobs a { display: flex; align-items: center; justify-content: center; height: 95px; background: #fff; font-size: 21px; color: var(--teal); }
.faq .container { padding-bottom: 150px; }
.faq dl { margin: 40px 0 0; }
.faq dt { font-size: 14px; font-weight: 700; line-height: 30px; margin-top: 35px; }
.faq dd { margin: 8px 0 0; font-size: 14px; line-height: 30px; padding-left: 1.1em; text-indent: -1.1em; }
.faq dt b, .faq dd b { color: var(--teal); margin-right: 4px; }
.faq dd small { display: block; text-indent: 0; padding-left: 1em; font-size: 14px; }

/* ---------- policy ---------- */
.policy { padding: 60px 0 0; }
.policy .container { padding-bottom: 140px; }
.policy h2 { font-size: 24px; font-weight: 400; color: var(--teal); line-height: 34px; letter-spacing: .06em; margin-bottom: 40px; }
.policy p, .policy li { font-size: 14px; line-height: 31px; }
.policy h3 { font-size: 22px; font-weight: 400; line-height: 29px; margin: 64px 0 32px; letter-spacing: .04em; }
.policy h4 { font-size: 14px; font-weight: 400; line-height: 29px; margin: 20px 0 6px; }
.policy ul { margin: 6px 0 16px 1.4em; list-style: disc; }
.policy ol { margin: 6px 0 16px 1.6em; padding: 0; }
.policy .dates { margin-top: 40px; line-height: 26px; }

/* ---------- responsive: tablet & phone (mobile header) ---------- */
@media (max-width: 991px) {
  .site-header h1 { left: 50%; transform: translateX(-50%); top: 12px; font-size: 26px; }
  .main-nav { display: none; }
  .menu-btn { display: block; position: absolute; left: 14px; top: 16px; width: 28px; height: 24px; background: none; border: 0; padding: 0; cursor: pointer; }
  .menu-btn span, .menu-btn::before, .menu-btn::after { content: ""; position: absolute; left: 0; width: 26px; height: 1.5px; background: var(--teal); transition: transform .25s, opacity .25s; }
  .menu-btn::before { top: 2px; } .menu-btn span { top: 11px; } .menu-btn::after { top: 20px; }
  .menu-open .menu-btn::before { transform: translateY(9px) rotate(45deg); }
  .menu-open .menu-btn span { opacity: 0; }
  .menu-open .menu-btn::after { transform: translateY(-9px) rotate(-45deg); }
  .drawer { display: block; position: fixed; top: 60px; left: 0; right: 0; bottom: 0; z-index: 49; background: rgba(255,255,255,.98); overflow-y: auto; transform: translateX(-100%); transition: transform .3s; padding: 20px 0 40px; text-align: center; }
  .menu-open .drawer { transform: none; }
  .drawer h4 { font-size: 27px; font-weight: 400; letter-spacing: .1em; margin-top: 18px; }
  .drawer li a { display: block; padding: 8px; border-bottom: 1px solid var(--line); font-size: 14px; }
  .drawer .learn-link { display: inline-block; margin-top: 24px; }
  .contents { padding-bottom: 144px; }
  .site-footer { padding: 16px 0 48px; }
  .foot-cols { display: block; border: 0; padding: 0; }
  .foot-col { width: auto; text-align: center; }
  .foot-col h4 { font-size: 27px; letter-spacing: .1em; line-height: 30px; margin: 38px 0 22px; }
  .foot-col li { margin: 0; border-top: 1px solid #dde8ea; }
  .foot-col li:last-child { border-bottom: 1px solid #dde8ea; }
  .foot-col li a { display: block; line-height: 37px; }
  .foot-bottom { display: block; text-align: center; padding: 30px 0 0; }
  .follow { flex-direction: column; gap: 6px; }
  .follow h4 { font-size: 22px; letter-spacing: .06em; }
  .related { flex-direction: column; gap: 2px; margin-top: 24px; }
  .related h4 { font-size: 13px; }
  .copy { text-align: center; margin-top: 50px; }
  .founders { gap: 12px; }
  .founder { width: calc(33.33% - 8px); }
  .founder-top { display: block; }
  .founder-top .avatar { margin-bottom: 8px; }
  .coinfo .info-table { padding-bottom: 260px; }
}
@media (max-width: 767px) {
  .title h3, h3.title-h, .section-title { font-size: 22px; letter-spacing: .08em; padding-top: 42px; height: 82px; }
  .service .title { margin-bottom: 59px; }
  #moshi .container { margin-top: 59px !important; }
  .service-desc { margin-bottom: 40px; }
  .service .band-wrap { margin-top: 64px; }
  .filters { gap: 8px; flex-wrap: wrap; }
  .filters li { width: calc(50% - 8px); }
  .filters button { width: 100%; }
  .news-list { margin-top: 30px; }
  .info-table dt { width: 90px; }
  .info-table .colon { width: 24px; }
  .info-table div { font-size: 13px; }
  .coinfo .info-table { padding-bottom: 120px; }
  .founders { flex-wrap: wrap; }
  .founder { width: calc(50% - 6px); }
  .founder-top { display: block; }
  .founder-top .avatar { width: 100%; height: auto; aspect-ratio: 1; margin-bottom: 8px; }
  .box { padding: 24px 18px 20px; }
  .btn-round, .btn-round.wide { width: 300px; max-width: 100%; }
  .jobs { gap: 8px; }
  .jobs a { font-size: 15px; height: 70px; }
  .recruit-msg h3 { font-size: 20px; line-height: 36px; }
  .recruit-msg p { font-size: 15px; }
  .policy h3 { font-size: 20px; }
}
@media (max-width: 575px) {
  .service-desc br.pc { display: none; }
  .band-wrap .band, .band-section .band { aspect-ratio: 3 / 2; }
  .copy { margin-top: 80px; }
  .contents { padding-bottom: 8px; }
  .news-item h4 .subt { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* phone / tablet fine-tuning measured against the original */
@media (max-width: 991px) {
  .site-header { height: 63px; }
  .service .band-wrap { margin-top: 53px; }
}
@media (max-width: 767px) {
  .service-desc { margin-bottom: 32px; }
  .service .band-wrap { margin-top: 56px; }
}
@media (max-width: 575px) {
  #recommend, #video { margin-top: -48px; }
}
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list > li { list-style: none; }

/* route pages: section overlaps and gaps measured against the original */
.filters.plain-list { margin-top: 40px; }
.news-top { margin-top: 20px; }
.news-body { margin-top: -12px; }
.pager.plain-list { margin-top: 95px; }
#Company.contents { padding-bottom: 255px; }
#Company .coinfo .info-table { padding-bottom: 644px; }
#founder, #contact { margin-top: -60px; }
#founder .founders { padding-bottom: 36px; }
#Company .contact-sec .container { padding-bottom: 0; }
#Recruit.contents { padding-bottom: 239px; }
#Recruit .recruit-msg .container { padding-bottom: 0; }
#Recruit .recruit-msg h3 { margin-bottom: 37px; }
#Recruit .about-sec { margin-top: 35px; }
#Recruit .about-sec .container { padding-bottom: 84px; }
#Recruit .process { margin-top: -60px; }
#Recruit .process .container { padding-bottom: 110px; }
#jobs { margin-top: -12px; }
#jobs .jobs { padding-bottom: 48px; }
#Recruit .faq { margin-top: -59px; }
#Recruit .faq .container { padding-bottom: 96px; }
@media (min-width: 768px) and (max-width: 991px) {
  #Company .coinfo .info-table { padding-bottom: 365px; }
}
@media (max-width: 767px) {
  #Company .coinfo .info-table { padding-bottom: 335px; }
  #Company.contents { padding-bottom: 79px; }
  #Recruit .faq .container { padding-bottom: 150px; }
}
@media (max-width: 991px) {
  #News.contents { padding-bottom: 110px; }
}
@media (max-width: 767px) {
  .news-top { margin-top: -12px; }
  .news-body { margin-top: -28px; }
  #News.contents { padding-bottom: 145px; }
}

/* ---- round 9: exact offsets and spacing values measured against the original ---- */
/* keep the last button's 32px and the closing text's 64px inside their sections, like the original */
@media (min-width: 992px) {
  #similar .btn-round:last-of-type { margin-bottom: 0; }
  #similar .container { padding-bottom: 32px; }
  #moshi .service-desc { margin-bottom: 0; }
  #moshi .container { padding-bottom: 64px; }
}
@media (min-width: 576px) {
  #video { margin-top: -20px; }
}
@media (min-width: 576px) and (max-width: 991px) {
  .contents { padding-bottom: 123px; }
}
@media (max-width: 575px) {
  .band-section { margin-top: 62px; }
  #video { margin-top: -80px; }
}
/* spacing values the original uses */
.policy ul { margin: 12.8px 0 20.8px 1.4em; }
.policy li { margin-bottom: 5px; }
.policy h4 { margin: 20px 0 5px; }
.pill { padding: 0 13px; }
.news-meta { gap: 10px; }
.recruit-msg p { margin-bottom: 20.8px; }
.contact-lead { margin-bottom: 50px; }
.policy li { line-height: 26px; }
/* round 10 */
.moshi-body { margin-top: 56px; }
@media (max-width: 767px) { .moshi-body { margin-top: 59px; } }
.founder-top p.role { margin-top: 5px; }
@media (max-width: 767px) { #Company.contents { padding-bottom: 1px; } }
@media (min-width: 992px) { .policy li { line-height: 25px; } }
/* round 11: heading-to-image gap is 56px in the original; company footer gap */
@media (min-width: 768px) {
  #Company .service .title { margin-bottom: 56px; }
  #Service h3.title-h { margin-bottom: 56px; }
  .moshi-body { margin-top: 0; }
}
@media (min-width: 992px) { #Company.contents { padding-bottom: 217px; } }

/* round 12 */
@media (min-width: 576px) and (max-width: 991px) { #video { margin-top: -40px; } }
/* round 13 */
@media (min-width: 576px) and (max-width: 991px) {
  #video .band-wrap.flush { margin-top: 137px; }
  .contents { padding-bottom: 153px; }
}
@media (min-width: 768px) {
  #Service .service .title { margin-bottom: 56px; }
  #Service .service .title + .container > .service-image:first-child,
  #Service .service .title + .service-image { margin-top: -1px; }
}
/* round 14: News filters and tablet bottom gap */
@media (min-width: 768px) and (max-width: 991px) { #News.contents { padding-bottom: 141px; } }
@media (max-width: 767px) {
  .filters { gap: 10px; }
  .filters li { width: calc(50% - 5px); }
  .filters.plain-list { margin-top: 33px; }
  #News.contents { padding-bottom: 152px; }
}
