:root {
  /* primitive */
  --color-blue-700: #01669A;
  --color-blue-300: #94C9E7;
  --color-cyan-400: #00BAE8;
  --color-blue-500: #007BF7;
  --color-ink-900: #222222;
  --color-ink-700: #555555;
  --color-ink-600: #3E435D;
  --color-ink-500: #979A9A;
  --color-ink-950: #0F121A;
  --color-slate-800: #26343D;
  --color-navy-900: #002060;
  --color-navy-700: #204080;
  --color-blue-600: #0040A0;
  --color-cyan-600: #0080C0;
  --color-cyan-300: #40C0E0;
  --color-white: #FFFFFF;
  --font-family-jp: "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, "ＭＳ Ｐゴシック", sans-serif;
  --font-family-latin: Lexend, sans-serif;
  --ratio-pct-1-2: 1.2%;
  --ratio-pct-3: 3%;
  --ratio-pct-4: 4%;
  --ratio-pct-5: 5%;
  --ratio-pct-6: 6%;
  --ratio-pct-7: 7%;
  --ratio-pct-8: 8%;
  --ratio-pct-10: 10%;
  --ratio-pct-15: 15%;
  --length-px-800: 800px;
  --length-px-1100: 1100px;
  --length-px-1200: 1200px;
  --length-px-150: 150px;
  --length-px-120: 120px;
  --length-px-30: 30px;

  /* semantic */
  --color-text-body: var(--color-ink-900);
  --color-text-muted: var(--color-ink-700);
  --color-text-heading: var(--color-blue-700);
  --color-text-label-en: var(--color-ink-500);
  --color-text-nav: var(--color-ink-600);
  --color-text-oncolor: var(--color-white);
  --color-text-hero-sub: var(--color-blue-300);
  --color-bg-canvas: var(--color-white);
  --color-bg-emphasis: var(--color-blue-700);
  --color-bg-footer: var(--color-ink-950);
  --color-bg-hero-fallback: var(--color-navy-900);
  --color-action-from: var(--color-cyan-400);
  --color-action-to: var(--color-blue-500);
  --font-jp: var(--font-family-jp);
  --font-latin: var(--font-family-latin);
  --space-gutter: var(--ratio-pct-4);
  --space-hero-gap: var(--ratio-pct-7);
  --space-section-pc: var(--ratio-pct-8);
  --space-section-sp: var(--ratio-pct-15);
  --space-card-inset-y: var(--ratio-pct-6);
  --space-card-inset-x: var(--ratio-pct-8);
  --space-column-cell: var(--ratio-pct-1-2);
  --space-column-row-bottom: var(--ratio-pct-7);
  --space-case-bottom-pc: var(--ratio-pct-7);
  --space-band-top: var(--ratio-pct-5);
  --space-band-bottom: var(--ratio-pct-10);
  --space-footer-inset-y: var(--ratio-pct-3);
  --space-footer-row-bottom: var(--ratio-pct-15);
  --measure-section-max: var(--length-px-1100);
  --measure-case-max: var(--length-px-800);
  --measure-footer-max: var(--length-px-1200);
  --hero-overhang: var(--length-px-150);
  --hero-overhang-sp: var(--length-px-120);
  --radius-pill: var(--length-px-30);

  /* component */
  --button-primary-background: linear-gradient(90deg, var(--color-action-from) 0%, var(--color-action-to) 100%);
  --button-primary-color: var(--color-text-oncolor);
  --button-primary-radius: var(--radius-pill);
  --button-primary-focus: var(--color-action-to);
  --button-ghost-background: var(--color-bg-canvas);
  --button-ghost-color: var(--color-text-heading);
  --button-ghost-focus: var(--color-text-oncolor);
  --heading-section-color: var(--color-text-heading);
  --heading-section-label-color: var(--color-text-label-en);
  --heading-section-oncolor: var(--color-text-oncolor);
  --service-card-background: var(--color-bg-canvas);
  --service-title-color: var(--color-text-heading);
  --service-body-color: var(--color-text-muted);
  --method-text-color: var(--color-text-heading);
  --method-body-color: var(--color-text-body);
  --column-card-color: var(--color-text-oncolor);
  --nav-header-color: var(--color-text-nav);
  --nav-footer-color: var(--color-text-oncolor);
  --nav-toggle-color: var(--color-text-nav);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  overflow-y: scroll;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--color-bg-canvas);
  color: var(--color-text-body);
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 400;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

.button {
  display: table;
  border: none;
  border-radius: var(--button-primary-radius);
  padding: 15px 50px;
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.12px;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: none;
}

.button--primary {
  background: var(--button-primary-background);
  color: var(--button-primary-color);
}

.button--ghost {
  background: var(--button-ghost-background);
  color: var(--button-ghost-color);
  font-weight: 600;
}

.button:hover {
  opacity: 0.85;
}

.button:active {
  opacity: 0.75;
}

.button--primary:focus-visible {
  outline: 2px solid var(--button-primary-focus);
  outline-offset: 2px;
}

.button--ghost:focus-visible {
  outline: 2px solid var(--button-ghost-focus);
  outline-offset: 2px;
}

.button[aria-disabled="true"],
.button:disabled {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.4;
}

.section-heading {
  color: var(--heading-section-color);
  font-family: var(--font-jp);
  font-size: 24px;
  font-weight: 700;
  line-height: 43.2px;
  text-align: center;
}

.section-heading > span {
  display: block;
  color: var(--heading-section-label-color);
  font-family: var(--font-latin);
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
}

.section-heading--oncolor {
  color: var(--heading-section-oncolor);
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: 100px;
  background: var(--color-bg-canvas);
  box-shadow: none;
}

.site-header__inner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 100%;
  margin-inline: auto;
}

.site-header__logo {
  position: absolute;
  top: 30px;
  left: var(--space-gutter);
  width: 200px;
  height: 38.8px;
}

.site-header__logo a,
.site-header__logo-mark {
  display: block;
  width: 100%;
  height: 100%;
}

.site-header__logo a {
  position: relative;
}

.site-header__logo-mark {
  object-fit: contain;
}

.site-header__nav {
  position: absolute;
  top: 40px;
  left: 250px;
}

.site-header__nav-list {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-header__nav a,
.site-footer__nav a {
  text-decoration: none;
  transition: none;
}

.site-header__nav a {
  display: block;
  color: var(--nav-header-color);
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.12px;
  line-height: 23px;
  white-space: nowrap;
}

.site-header__nav-en {
  display: none;
}

.site-header__nav a:hover,
.site-footer__nav a:hover,
.site-header__toggle:hover {
  opacity: 0.7;
}

.site-header__nav a:active,
.site-footer__nav a:active,
.site-header__toggle:active {
  opacity: 0.6;
}

.site-header__nav a:focus-visible,
.site-footer__nav a:focus-visible,
.site-header__logo a:focus-visible,
.site-footer__logo:focus-visible,
.site-header__toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.site-header__cta {
  position: absolute;
  top: 30.4px;
  right: var(--space-gutter);
  width: 187.6px;
  height: 39.2px;
  padding: 12.6px 50px;
}

.site-header__toggle {
  display: none;
}

.hero {
  position: relative;
  height: calc(100vh + var(--hero-overhang));
  overflow: hidden;
  background-color: var(--color-bg-hero-fallback);
  background-image: url("../images/hero-bg.png");
  background-position: center;
  background-size: cover;
}

.home-main {
  background: rgb(241 242 244);
}

.hero__inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-hero-gap);
  padding-inline: var(--space-gutter);
}

.hero__headline {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  color: var(--color-text-oncolor);
  font-size: min(3.6vw, 70px);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.hero__subcopy {
  display: block;
  margin-top: 25px;
  color: var(--color-text-hero-sub);
  font-size: min(2.5vw, 25px);
  font-weight: 300;
  line-height: 1.6;
  white-space: normal;
}

.hero__cta {
  min-height: 44px;
  margin-top: 24px;
}

.hero__keyvisual {
  flex: 0 0 auto;
  width: min(40vw, 430px);
  height: auto;
  aspect-ratio: 777 / 576;
}

.service {
  position: relative;
  width: 100%;
  max-width: var(--measure-section-max);
  margin: calc(var(--hero-overhang) * -1) auto 0;
  padding-inline: var(--space-gutter);
}

.service__card {
  position: relative;
  z-index: 100;
  width: 100%;
  padding: var(--space-card-inset-y) var(--space-card-inset-x);
  background: var(--service-card-background);
  box-shadow: 0 5px 7px 0 rgb(221 221 221);
}

.service__heading {
  margin-bottom: 24px;
}

.service__list {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.service__item {
  width: 28.6667%;
  text-align: center;
}

.service__icon {
  width: 120px;
  height: 96px;
  margin-inline: auto;
}

.service__title {
  margin: 20px 0;
  color: var(--service-title-color);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

.service__body {
  color: var(--service-body-color);
  font-size: 14px;
  font-weight: 400;
  line-height: 22.4px;
  text-align: justify;
}

.method {
  width: 100%;
  max-width: var(--measure-section-max);
  margin: var(--space-section-pc) auto;
  padding-inline: var(--space-gutter);
}

.method__heading {
  margin-bottom: 48px;
}

.method__list {
  display: flex;
  flex-flow: row wrap;
  align-items: flex-start;
  justify-content: space-between;
  column-gap: 50px;
  row-gap: 64px;
}

.method__item {
  flex: 1 1 295px;
  min-width: 0;
}

.method__item-heading {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  height: 120px;
  margin-bottom: 48px;
  color: var(--method-text-color);
  font-size: 24px;
  font-weight: 700;
  line-height: 28.8px;
}

.method__number {
  flex: 0 0 auto;
  color: var(--method-text-color);
  font-family: var(--font-latin);
  font-size: 100px;
  font-weight: 400;
  line-height: 120px;
}

.method__item-heading > span:last-child {
  padding-top: 12px;
}

.method__body {
  color: var(--method-body-color);
  font-size: 14px;
  line-height: 22.4px;
}

.case {
  width: 100%;
  scroll-margin-top: 100px;
  margin-top: var(--space-section-pc);
  background: var(--color-bg-canvas);
}

.case__heading {
  margin-bottom: 48px;
  padding-top: var(--space-band-top);
}

.case__list {
  box-sizing: content-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: min(var(--measure-case-max), 92%);
  margin-inline: auto;
  padding-inline: var(--space-gutter);
  padding-bottom: var(--space-case-bottom-pc);
}

.case__item {
  flex: 0 1 375px;
  width: 375px;
  min-width: 0;
  text-align: center;
}

.case__title {
  color: var(--color-text-heading);
  font-size: 20px;
  line-height: 28px;
}

.case__body {
  margin: 20px 0 24px;
  color: var(--color-text-body);
  font-size: 14px;
  line-height: 22.4px;
}

.case__cta {
  min-height: 44px;
  margin-inline: auto;
}

.column {
  width: 100%;
  padding-top: var(--space-band-top);
  padding-bottom: var(--space-band-bottom);
  background: var(--color-bg-emphasis);
}

.column__inner {
  width: 100%;
  max-width: var(--measure-section-max);
  margin-inline: auto;
  padding-inline: var(--space-gutter);
}

.column__heading {
  margin-bottom: 24px;
}

.column__lead {
  max-width: 40em;
  margin: 0 auto 48px;
  color: var(--color-text-oncolor);
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
}

.column__list {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-column-row-bottom);
}

.column__item {
  flex: 1 1 328px;
  min-width: 0;
  padding: var(--space-column-cell);
  color: var(--column-card-color);
  text-decoration: none;
  transition: none;
}

.column__item:hover {
  opacity: 0.85;
}

.column__item:active {
  opacity: 0.75;
}

.column__item:focus-visible {
  outline: 2px solid var(--color-text-oncolor);
  outline-offset: 2px;
}

.column__image {
  width: 100%;
  height: auto;
}

.column__title {
  margin: 20px 0 8px;
  color: var(--column-card-color);
  font-size: 16px;
  font-weight: 400;
  line-height: 25.6px;
}

.column__time {
  display: block;
  color: var(--column-card-color);
  font-size: 12px;
}

.column__cta {
  min-height: 44px;
  margin-inline: auto;
}

.site-footer {
  width: 100%;
  padding: var(--space-footer-inset-y) var(--space-gutter);
  background: var(--color-bg-footer);
  color: var(--color-text-oncolor);
  text-align: center;
}

.site-footer__row {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--measure-footer-max);
  margin-inline: auto;
  padding-bottom: var(--space-footer-row-bottom);
}

.site-footer__logo {
  display: block;
  flex: 0 0 200px;
  width: 200px;
  height: 29px;
  transition: none;
}

.site-footer__logo-mark {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-footer__nav ul {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-footer__nav a {
  display: block;
  color: var(--nav-footer-color);
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 400;
  line-height: 22.4px;
  white-space: nowrap;
}

.site-footer__copyright {
  display: block;
  font-size: 12px;
  line-height: 1.6;
}

.site-footer__notice {
  margin-top: 12px;
  color: var(--color-text-oncolor);
  font-size: 12px;
  line-height: 1.6;
}

@media (min-width: 768px) {
  body {
    width: calc(100% - 15px);
  }

  .service__list {
    align-items: stretch;
  }

  .service__item {
    display: flex;
    flex-direction: column;
  }

  .service__title {
    min-height: 56px;
  }

  .service__body {
    flex: 1 1 auto;
  }
}

@media (min-width: 1024px) {
  .hero__subcopy {
    text-wrap: balance;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .hero__subcopy {
    font-size: clamp(17px, calc(2.5vw - 8.6px), 25px);
  }
}

@media (min-width: 1280px) {
  .hero__headline {
    font-size: min(4.3vw, 70px);
  }
}

@media (max-width: 767px) {
  .site-header {
    height: 55px;
  }

  .site-header__logo {
    top: 15px;
    left: 15px;
    width: min(120px, calc(100vw - 220px));
    height: auto;
    aspect-ratio: 412 / 80;
  }

  .site-header__cta {
    top: 13px;
    right: 55px;
    width: 148.2px;
    height: 31.2px;
    padding: 7.8px 39px 10.4px;
    font-size: 13px;
  }

  .site-header__nav {
    display: none;
    top: 55px;
    right: 0;
    left: 0;
    width: 100%;
    padding: var(--space-gutter);
    background: var(--color-bg-emphasis);
  }

  .site-header__nav.is-open {
    display: block;
  }

  .site-header__nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-header__nav a {
    display: flex;
    min-height: 44px;
    flex-direction: column;
    justify-content: center;
    border-top: 1px solid rgb(221 221 221);
    color: var(--color-text-oncolor);
    line-height: 1.4;
    text-align: center;
  }

  .site-header__nav-en {
    display: block;
    color: var(--color-text-oncolor);
    font-family: var(--font-latin);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.4;
  }

  .site-header__toggle {
    position: absolute;
    top: 2px;
    right: 10px;
    display: block;
    width: 44px;
    height: 44px;
    margin: 0;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--nav-toggle-color);
    cursor: pointer;
    transition: none;
  }

  .site-header__toggle-visual {
    position: absolute;
    top: 12px;
    right: 10px;
    display: block;
    width: 24px;
    height: 20px;
  }

  .site-header__toggle-visual > span {
    position: absolute;
    left: 0;
    display: block;
    width: 24px;
    height: 2px;
    background: var(--nav-toggle-color);
  }

  .site-header__toggle-visual > span:first-child {
    top: 2px;
  }

  .site-header__toggle-visual > span:last-child {
    bottom: 2px;
  }

  .hero {
    height: 120vh;
  }

  .hero__inner {
    top: 20vh;
    bottom: auto;
    height: calc(100% - 20vh);
    flex-direction: column-reverse;
    gap: 0;
    justify-content: center;
  }

  .hero__headline {
    flex: 0 0 auto;
    width: 100%;
    font-size: 30px;
    line-height: 36px;
  }

  .hero__subcopy {
    margin-top: 7.5px;
    font-size: 15px;
    line-height: 24px;
  }

  .hero__cta {
    margin-top: 16px;
  }

  .hero__keyvisual {
    width: min(40vw, 430px);
    margin-bottom: 30.75px;
  }

  .service {
    margin-top: calc(var(--hero-overhang-sp) * -1);
  }

  .service__card {
    padding-top: var(--space-band-bottom);
    padding-bottom: var(--space-band-bottom);
  }

  .service__list {
    flex-direction: column;
  }

  .service__item {
    width: 100%;
    margin-bottom: var(--space-band-bottom);
  }

  .service__item:last-child {
    margin-bottom: 0;
  }

  .method {
    margin-top: var(--space-section-sp);
    margin-bottom: var(--space-section-sp);
  }

  .method__list {
    flex-direction: column;
    gap: var(--space-section-sp);
  }

  .method__item {
    flex: 0 0 auto;
    width: 100%;
  }

  .method__number {
    font-size: 75px;
    line-height: 90px;
  }

  .case {
    scroll-margin-top: 55px;
    margin-top: var(--space-section-sp);
  }

  .case__list {
    flex-direction: column;
    padding-bottom: var(--space-band-bottom);
  }

  .case__item {
    flex: 0 0 auto;
    width: 100%;
    margin-bottom: var(--space-band-bottom);
  }

  .case__item:last-child {
    margin-bottom: 0;
  }

  .column__list {
    flex-direction: column;
  }

  .column__item {
    flex: 0 0 auto;
    width: 100%;
    padding: 0;
    margin-bottom: var(--space-band-bottom);
  }

  .site-footer__row {
    justify-content: center;
    gap: 32px;
  }

  .site-footer__nav {
    width: 100%;
  }

  .site-footer__nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
}

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