:root {
  --white: #ffffff;
  --service-bg: #000050;
  --service-cyan: #4ee0ff;
  --service-green: #4ee046;
  --company-bg: #4c6000;
  --primary: #00006e;
  --footer-bg: #f1f4f0;
  --font-main: "Noto Sans JP", sans-serif;
  --font-display: "Barlow", sans-serif;
  --pc-width: min(1440px, 100vw);
  --pc-content: min(1080px, 75vw);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--service-bg);
  font-family: var(--font-main);
  font-weight: 900;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.fv,
.service,
.company,
.footer {
  overflow: hidden;
}

/* =========================================================
   FV
   ========================================================= */

.fv {
  position: relative;
  width: 100%;
  height: min(900px, 62.5vw);
  overflow: hidden;
}

.fv__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.fv__inner {
  position: relative;
  width: var(--pc-width);
  height: min(900px, 62.5vw);
  min-height: 0;
  margin: 0 auto;
}

.fv__graphic {
  position: absolute;
  width: min(643px, 44.652778vw);
  height: min(643px, 44.652778vw);
  right: min(180px, 12.5vw);
  top: 15%;
  transform: translateY(-50%);
}

.fv__graphic img {
  width: 100%;
  height: 100%;
  display: block;
}

.fv__content {
  position: relative;
  z-index: 1;
  width: var(--pc-content);
  height: min(900px, 62.5vw);
  min-height: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: min(30px, 2.083333vw);
}

.fv__logo {
  width: min(175px, 12.152778vw);
  height: min(200px, 13.888889vw);
}

.fv__logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.fv__title {
  margin:
    min(100px, 6.944444vw)
    0
    0;
  font-size: min(50px, 3.472222vw);
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.fv__lead {
  margin:
    min(38px, 2.638889vw)
    0
    0;
  font-size: min(20px, 1.388889vw);
  line-height: 1.6;
  letter-spacing: 0;
}

.sp-only {
  display: none;
}

/* =========================================================
   SERVICE
   ========================================================= */

.section-dark {
  background: var(--service-bg);
}

.service {
  position: relative;
  min-height: min(1800px, 125vw);
  padding:
    min(150px, 10.416667vw)
    0
    min(100px, 6.944444vw);
  background: var(--service-bg);
  overflow: hidden;
}
.service::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: min(300px, 20.833333vw);
  background: linear-gradient(
    to bottom,
    #000050 0%,
    #4c6000 100%
  );
  pointer-events: none;
  z-index: 1;
}

.service .section-inner {
  position: relative;
  z-index: 2;
}

.section-inner {
  width: var(--pc-content);
  margin: 0 auto;
}

.section-heading h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: min(70px, 4.861111vw);
  font-weight: 800;
  line-height: 1;
  text-transform: none;
}

.section-heading__sub {
  margin:
    min(10px, 0.694444vw)
    0
    0;
  font-size: min(20px, 1.388889vw);
  line-height: 1.6;
}

.service__lead {
  margin:
    min(58px, 4.027778vw)
    0
    min(80px, 5.555556vw);
  font-size: min(20px, 1.388889vw);
  line-height: 1.6;
}

.service-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap:
    min(20px, 1.388889vw)
    min(20px, 1.388889vw);
}

.service-card {
  position: relative;
  overflow: hidden;
  border:
    min(2px, 0.138889vw)
    solid
    var(--service-cyan);
  border-radius:
    min(20px, 1.388889vw);
  aspect-ratio: 529.6 / 240;
  background: rgba(255, 255, 255, 0.04);
}

.service-card--green {
  border-color: var(--service-green);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__title {
  position: absolute;
  top: min(22px, 1.527778vw);
  left: min(24px, 1.666667vw);
  z-index: 2;
  margin: 0;
  color: #ffffff;
  font-size: min(24px, 1.666667vw);
  line-height: 1.4;
  font-weight: 900;
}

.service-card__category {
  position: absolute;
  top: min(18px, 1.25vw);
  left: min(24px, 1.666667vw);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: min(40px, 2.777778vw);
  padding:
    0
    min(24px, 1.666667vw);
  border-radius: 9999px;
  background: var(--service-green);
  color: var(--primary);
  font-size: min(20px, 1.388889vw);
  line-height: min(40px, 2.777778vw);
  font-weight: 900;
}

.service-card--green .service-card__title {
  top: min(70px, 4.861111vw);
}


/* =========================================================
   COMPANY
   ========================================================= */

.company {
  min-height: min(900px, 62.5vw);
  padding:
    min(150px, 10.416667vw)
    0
    min(120px, 8.333333vw);
  background: var(--company-bg);
}

.company-info {
  margin:
    min(70px, 4.861111vw)
    0
    0;
  font-size: min(20px, 1.388889vw);
  line-height: min(42px, 2.916667vw);
}

.company-row {
  display: grid;
  grid-template-columns:
    min(146px, 10.138889vw)
    1fr;
  column-gap: 0;
  margin: 0;
}

.company-row dt,
.company-row dd {
  margin: 0;
}

.company-row dd {
  font-weight: 500;
}

.company-row--business {
  line-height: min(28px, 1.944444vw);
  padding: 0.4em 0;
}

.business-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.business-list span {
  padding-left: 1.3em;
  text-indent: -1.3em;
}

.company__contact {
  margin-top: min(200px, 13.888889vw);
}

.contact-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(300px, 20.833333vw);
  height: min(80px, 5.555556vw);
  background: var(--primary);
  color: var(--white);
  font-size: min(28px, 1.944444vw);
  line-height: 1;
  border-radius: 9999px;
  box-shadow:
    0
    min(10px, 0.694444vw)
    min(8px, 0.555556vw)
    rgba(0, 0, 0, 0.5);
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  height: clamp(
    277.5px,
    25.6944vw,
    370px
  );
  min-height: 277.5px;
  background: var(--footer-bg);
  color: var(--primary);
}

.footer__inner {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(
    52.5px,
    4.8611vw,
    70px
  );
}

.footer__logo {
  width: clamp(
    101.25px,
    9.375vw,
    135px
  );
  height: clamp(
    114.75px,
    10.625vw,
    153px
  );
}

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

.footer__copyright {
  margin: clamp(
    52.5px,
    4.8611vw,
    70px
  ) 0 0;
  padding: 0;
  color: var(--primary);
  font-size: clamp(
    9px,
    0.8333vw,
    12px
  );
  line-height: 1;
  font-weight: 400;
}


/* =========================================================
   Scroll reveal
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 1.75s ease,
    transform .75s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

.reveal--from-left {
  transform: translateX(-80px);
}

.reveal--from-right {
  transform: translateX(80px);
}

.reveal--from-bottom {
  transform: translateY(80px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0,0,0);
}


@media (prefers-reduced-motion: reduce) {
html {
    scroll-behavior: auto;
}

.reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 767px) {

 :root {
    --sp-content: 362px;
}

/* =========================
     FV
========================= */

.fv {
  position: relative;
  width: 100%;
  height: 690px;
  min-height: 690px;
  overflow: hidden;
}

.fv > picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.fv > picture .fv__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.fv__inner {
  position: relative;
  width: 100%;
  height: 690px;
  min-height: 690px;
  margin: 0 auto;
  }

.fv__graphic {
  position: absolute;
  width: 333px;
  height: 333px;
  top: 35px;
  left: 50%;
  margin-left: -166.5px;
  right: auto;
}

.fv__graphic img {
  display: block;
  width: 333px;
  height: 333px;
  max-width: none;
  object-fit: contain;
  object-position: center center;
}

/* =========================
     FVコンテンツ
========================= */

.fv__content {
  position: relative;
  z-index: 2;
  width: var(--sp-content);
  height: 690px;
  min-height: 690px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: left;
}

.fv__logo {
  position: absolute;
  width: 146px;
  height: auto;
  top: 218px;
  left: 50%;
  margin-left: -73px;
  margin-bottom: 0;
}

.fv__logo img {
  display: block;
  width: 146px;
  height: auto;
  max-width: none;
  object-fit: contain;
}

.fv__title {
  width: 100%;
  margin: 0;
  font-size: 27px;
  line-height: 39px;
  letter-spacing: 0;
  text-align: left;
}

.fv__lead {
  width: 100%;
  margin: 24px 0 48px;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0;
  text-align: left;
}

.sp-only {
  display: inline;
}

/* =========================
     Service
========================= */

.service {
  min-height: 1800px;
  padding: 150px 0 180px;
}

.section-inner {
  width: var(--sp-content);
}

.section-heading h2 {
  font-size: 50px;
  line-height: 1;
}

 .section-heading__sub {
  margin-top: 14px;
  font-size: 14px;
  line-height: 24px;
}

.service__lead {
  margin: 34px 0 40px;
  font-size: 14px;
  line-height: 24px;
}

.service-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

.service-card {
  border-width: 1px;
  border-radius: 20px;
  aspect-ratio: 724 / 336;
}

.service-card__title {
  top: 14px;
  left: 16px;
  font-size: 17px;
  line-height: 25px;
}

.service-card__category {
  top: 14px;
  left: 16px;
  min-height: 27px;
  padding: 0 10px;
  font-size: 13.5px;
  line-height: 27px;
}

.service-card--green .service-card__title {
  top: 50px;
}

/* =========================
     Company
========================= */

.company {
  min-height: 900px;
  padding: 150px 0 120px;
  background: #4c6000;
}

.company-info {
  margin-top: 35px;
  font-size: 14px;
  line-height: 29px;
}

.company-row {
  grid-template-columns: 104px 1fr;
}

.company-row--business {
  line-height: 19px;
}

.company__contact {
  margin-top: 45px;
}

.company__contact {
  margin-top: 45px;
  display: flex;
  justify-content: center;
}
	
.contact-button {
  margin-top: 60px;
  width: 210px;
  height: 60px;
  font-size: 20px;
  box-shadow: 0 10px 8px rgba(0, 0, 0, 0.5);
}

/* =========================
     Footer
========================= */

.footer {
  height: 270px;
  min-height: 270px;
}

.footer__inner {
  width: var(--sp-content);
  height: 270px;
  min-height: 270px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 60px;
}

.footer__logo {
  width: auto;
  height: 104px;
}

.footer__logo img {
  width: auto;
  height: 104px;
  display: block;
  object-fit: contain;
}

.footer__copyright {
  margin: 40px 0 0;
  padding: 0;
  font-size: 12px;
  line-height: 1;
}

/* =========================
     Scroll reveal
========================= */

.reveal--from-left {
  transform: translateX(-20px);
}

.reveal--from-right {
  transform: translateX(20px);
}

.reveal--from-bottom {
  transform: translateY(20px);
}
}