@charset "utf-8";

/* Shared site foundations, navigation and footer */

/* Motion */

@keyframes logo-parallax-left {
  from { transform: translateX(var(--logo-motion-start)); }
  to { transform: translateX(var(--logo-motion-end)); }
}
@keyframes logo-parallax-right {
  from { transform: translateX(var(--logo-motion-start)); }
  to { transform: translateX(var(--logo-motion-end)); }
}
@keyframes hero-background-reveal {
  from {
    opacity: 0;
    transform: translate3d(-50%, var(--hero-wave-parallax-y, 0px), 0) scale(1.08);
  }
  to {
    opacity: 1;
    transform: translate3d(-50%, var(--hero-wave-parallax-y, 0px), 0) scale(1.04);
  }
}
@keyframes hero-lead-write {
  from {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
    transform: translateY(42px);
  }
  to {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes hero-text-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes hero-workers-rise {
  from {
    opacity: 0;
    transform: translateY(36px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes team-marquee {
  from {
    transform: translateX(var(--team-start));
  }
  to {
    transform: translateX(calc(var(--team-start) - var(--team-distance)));
  }
}
@keyframes logo-marquee-left {
  from {
    transform: translate3d(var(--logo-start-offset), 0, 0);
  }
  to {
    transform: translate3d(calc(var(--logo-start-offset) - var(--logo-cycle-distance)), 0, 0);
  }
}
@keyframes logo-marquee-right {
  from {
    transform: translate3d(calc(var(--logo-start-offset) - var(--logo-cycle-distance)), 0, 0);
  }
  to {
    transform: translate3d(var(--logo-start-offset), 0, 0);
  }
}

/* shared */

/* base */
:root {
  --main1: #005f73;
  --hero1: #1a2a2f;
  --accent1: #00b4d8;
  --white1: #ffffff;
  --gray1: #f4f8fa;
  --gray2: #e5edf1;
  --gray3: #6b7e87;
  --black1: #1e1e1e;
  --gradient1: linear-gradient(105deg, #003447 0%, #005f73 45%, #00b4d8 100%);
  --gradient2: linear-gradient(100deg, #003447 0%, #005f73 55%, #00b4d8 100%);
  --gradient2-reverse: linear-gradient(100deg, #00b4d8 0%, #005f73 45%, #003447 100%);
  --noto-sans: "Noto Sans JP", sans-serif;
  --barlow: "Barlow Condensed", sans-serif;
  --inter: "Inter", sans-serif;
  --content-width: 1248px;
  --padding-sp: clamp(20px, 4.1vw, 40px);
  --section-space: clamp(76px, 9vw, 140px);
  --basic-transition: all 0.4s ease-out;
  --service-dark: #002735;
  --service-gradient: radial-gradient(ellipse at center, #005a6c 0%, #00414e 50%, #002735 100%);
  --service-banner-gradient: var(--service-gradient);
  --pricing-font-56-36: clamp(2.25rem, calc(1.352rem + 3.356vw), 3.5rem);
  --pricing-font-40-26: clamp(1.625rem, calc(.997rem + 2.349vw), 2.5rem);
  --pricing-font-28-22: clamp(1.375rem, calc(1.106rem + 1.007vw), 1.75rem);
  --pricing-font-22-20: clamp(1.25rem, calc(1.16rem + .336vw), 1.375rem);
  --pricing-font-120-80: clamp(5rem, calc(3.205rem + 6.711vw), 7.5rem);
  --pricing-font-30-20: clamp(1.25rem, calc(.801rem + 1.678vw), 1.875rem);
  --service-content-width: 1280px;
  --service-padding: clamp(20px, calc(5.882vw - 5.176px), 40px);
  --service-font-52-28: clamp(1.75rem, calc(.673rem + 4.027vw), 3.25rem);
  --service-font-56-24: clamp(1.5rem, calc(.064rem + 5.369vw), 3.5rem);
  --service-font-40-24: clamp(1.5rem, calc(.782rem + 2.685vw), 2.5rem);
  --service-font-32-20: clamp(1.25rem, calc(.712rem + 2.013vw), 2rem);
  --service-font-32-24: clamp(1.5rem, calc(1.141rem + 1.342vw), 2rem);
  --service-font-40-28: clamp(1.75rem, calc(1.211rem + 2.013vw), 2.5rem);
  --service-font-25-16: clamp(1rem, calc(.596rem + 1.51vw), 1.5625rem);
  --service-font-18-16: clamp(1rem, calc(.91rem + .336vw), 1.125rem);
  --service-font-28-20: clamp(1.25rem, calc(.891rem + 1.342vw), 1.75rem);
  --service-font-24-18: clamp(1.125rem, calc(.856rem + 1.007vw), 1.5rem);
  --service-font-18-14: clamp(.875rem, calc(.696rem + .671vw), 1.125rem);
  --service-font-16-14: clamp(.875rem, calc(.785rem + .336vw), 1rem);
  --ai-sky: #7cd9e8;
  --ai-orange: #d68126;
  --ai-warm: #ffc482;
  --ai-panel: #e7f3f6;
  --ai-card-dark: #0a3246;
}
html {
  scroll-padding-top: 82px;
}
body {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--black1);
  background: var(--white1);
  font-family: var(--noto-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
@media screen and (max-width: 860px) {
  html {
    scroll-padding-top: 64px;
  }
}
@media screen and (max-width: 520px) {
  body {
    font-size: 14px;
  }
}
@media screen and (min-width: 861px) {
  :root {
    --content-width: 1280px;
  }
}
@media screen and (max-width: 520px) {
  html {
    scroll-padding-top: 68px;
  }
}
@media screen and (min-width: 861px) and (max-width: 1100px) {
  html {
    scroll-padding-top: 64px;
  }
}
@media screen and (max-width: 520px) {
  :root {
    --mobile-content-width: min(350px, calc(100vw - 40px));
  }
}

/* sr-only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* section-inner */
.section-inner {
  width: min(100% - 80px, var(--content-width));
  margin-inline: auto;
}
@media screen and (max-width: 860px) {
  .section-inner,
  .download__inner,
  .contact__inner,
  .footer__inner {
    width: min(100% - (var(--padding-sp) * 2), var(--content-width));
  }
}
@media screen and (max-width: 520px) {
  .section-inner,
  .download__inner,
  .contact__inner,
  .footer__inner {
    width: calc(100% - (var(--padding-sp) * 2));
  }

  .section-inner,
  .features .section-inner,
  .challenges .section-inner,
  .solutions .section-inner,
  .reasons .section-inner,
  .flow .section-inner,
  .cases .section-inner,
  .resources .section-inner,
  .faq .section-inner,
  .services .section-inner {
    width: var(--mobile-content-width);
    max-width: 100%;
  }
}

/* section-title */
.section-title > span {
  display: block;
  margin-bottom: 4px;
  color: var(--main1);
  font-family: var(--barlow);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.section-title {
  margin-bottom: clamp(44px, 5vw, 72px);
  text-align: center;
}
.section-title h2 {
  display: inline-block;
  position: relative;
  padding-bottom: 20px;
  color: var(--black1);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.6;
}
.section-title h2::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 4px;
  margin: auto;
  background: var(--gradient1);
  border-radius: 10px;
  content: "";
}
.section-title > p {
  margin-top: 16px;
  color: #4f5b61;
  font-size: 14px;
}
@media screen and (max-width: 520px) {
  .section-title h2 {
    padding-bottom: 15px;
  }

  .section-title > p {
    font-size: 12px;
  }
}
@media screen and (min-width: 861px) {
  .section-title {
    margin-bottom: 80px;
  }

  .section-title h2 {
    font-size: 40px;
  }
}
@media screen and (max-width: 520px) {
  .section-title {
    margin-bottom: 40px;
  }

  .section-title > span {
    font-size: 14px;
  }

  .section-title h2 {
    line-height: 1.6;
  }
}
@media screen and (min-width: 861px) {
  .section-title > span {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.4;
  }

  .section-title h2 {
    padding-bottom: 19px;
    line-height: 1.6;
  }

  .section-title h2::after {
    height: 3px;
  }
}
@media screen and (max-width: 520px) {
  .section-title h2 {
    font-size: 24px;
  }
}

/* c-btn */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 180px;
  min-height: 54px;
  padding: 12px 20px;
  color: var(--white1);
  background: var(--gradient1);
  border: 0;
  border-radius: 4px;
  box-shadow: 0 7px 7px -7px rgb(0 52 71 / 18%);
  font-family: var(--inter);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  transition: var(--basic-transition);
}
.c-btn img {
  width: auto;
  max-height: 20px;
  filter: brightness(0) invert(1);
}
.c-btn:hover {
  color: var(--main1);
  background: var(--white1);
}
.c-btn:not(.c-btn--outline):not(.c-btn--white):not(.c-btn--small):hover {
  box-shadow:
  inset 0 0 0 1px var(--main1),
  0 7px 7px -7px rgb(0 52 71 / 18%);
}
.c-btn:hover img {
  filter: none;
}
.c-btn--outline {
  color: var(--main1);
  background: var(--white1);
  border: 1px solid transparent;
  border-color: var(--main1);
}
.c-btn--outline img {
  filter: none;
}
.c-btn--outline:hover {
  color: var(--white1);
  background: var(--gradient1);
}
.c-btn--outline:hover img {
  filter: brightness(0) invert(1);
}
.c-btn--white {
  color: var(--main1);
  background: var(--white1);
  border: 1px solid transparent;
}
.c-btn--white img {
  filter: none;
}
.c-btn--white:hover {
  color: var(--white1);
  background: var(--gradient1);
  border-color: var(--main1);
}
.c-btn--white:hover img {
  filter: brightness(0) invert(1);
}
.c-btn--small {
  position: relative;
  display: flex;
  isolation: isolate;
  width: fit-content;
  min-width: 140px;
  min-height: 42px;
  margin: 62px auto 0;
  overflow: hidden;
  padding: 8px 14px;
  font-size: 14px;
}
.c-btn--small:hover {
  background: var(--gradient1);
  border-color: transparent;
  transform: none;
}
.c-btn--small b {
  display: grid;
  width: 24px;
  height: 24px;
  margin-top: 0;
  padding: 0;
  place-items: center;
  color: var(--main1);
  background: var(--white1);
  border-radius: 50%;
  font-size: 13px;
}
.c-btn--small:focus:not(:focus-visible) {
  outline: none;
}
.c-btn--small:focus-visible {
  outline: 2px solid var(--main1);
  outline-offset: 3px;
}
.c-btn--header {
  min-width: 176px;
  min-height: 42px;
  padding: 9px 22px;
  font-size: 15px;
}
.c-btn--header.c-btn--outline {
  min-width: 200px;
}
@media screen and (max-width: 1200px) {
  .c-btn--header {
    padding-inline: 12px;
  }
}
@media screen and (max-width: 520px) {
  .c-btn {
    min-height: 48px;
    min-width: 0;
    font-size: 13px;
  }
}

/* button-pair */
.button-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
  opacity 0.7s ease-out,
  transform 0.7s ease-out;
}
.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

/* header */
.header {
  z-index: 50;
  top: 0;
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid rgb(0 95 115 / 12%);
}
.header.is-scrolled {
  box-shadow: 0 3px 15px rgb(0 44 56 / 12%);
}
.header__inner {
  display: flex;
  align-items: center;
  width: min(100% - 150px, 1290px);
  min-height: 102px;
  margin-inline: auto;
}
.header__logo,
.footer__brand > a {
  color: var(--black1);

  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.2;
  white-space: nowrap;
}
.header__nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.header__nav a {
  position: relative;
  font-family: var(--noto-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  opacity: 0.85;
  white-space: nowrap;
}
.header__service-link {
  display: flex;
  align-items: center;
  gap: 4px;
}
.header__service-menu { position: relative; }
.header__service-dropdown {
  position: absolute;
  top: 100%;
  left: -20px;
  z-index: 60;
  width: 235px;
  padding: 34px 8px 8px;
  background: linear-gradient(to bottom, transparent 34px, #fff 34px);
  box-shadow: 0 16px 22px -15px rgb(0 44 56 / 22%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.header__service-menu:hover .header__service-dropdown,
.header__service-menu:focus-within .header__service-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.header__nav .header__service-dropdown a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  color: #003447;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  opacity: 1;
}
.header__nav .header__service-dropdown a:hover,
.header__nav .header__service-dropdown a:focus-visible { background: #eaf5f8; }
.header__nav .header__service-dropdown a::after { display: none; }
.header__service-dropdown a span { color: var(--main1); }
.header__service-icon {
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 1px solid currentcolor;
  border-bottom: 1px solid currentcolor;
  transform: rotate(45deg);
}
.header__nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--accent1);
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transition: var(--basic-transition);
}
.header__nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}
.header__actions {
  display: flex;
  gap: 12px;
  margin-left: 36px;
}
@media screen and (max-width: 1200px) {
  .header__inner {
    width: min(100% - 40px, 1320px);
  }

  .header__nav {
    gap: 18px;
  }

  .header__actions {
    margin-left: 20px;
  }
}
@media screen and (max-width: 980px) {
  .header__nav {
    display: none;
  }

  .header__actions {
    margin-left: auto;
  }
}
@media screen and (max-width: 860px) {
  .header__inner {
    min-height: 68px;
    width: min(100% - 32px, 1320px);
  }

  .header__logo {
    font-size: 19px;
  }

  .header__actions {
    display: none;
  }
}
@media screen and (min-width: 861px) {
  .header__inner {
    width: min(100% - 160px, 1280px);
  }

  .header__logo {
    font-size: 25.25px;
    line-height: 1;
  }

  .header__actions {
    gap: 16px;
    margin-left: 40px;
  }
}
@media screen and (max-width: 520px) {
  .header__inner {
    width: calc(100% - 40px);
  }

  .header__logo {
    font-size: 18px;
  }
}
.header {
  position: fixed;
  right: 0;
  left: 0;
  width: 100%;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: transform 0.45s ease, opacity 0.3s ease, visibility 0s linear 0.45s;
}
.header.is-scrolled {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}
@media screen and (min-width: 861px) and (max-width: 1100px) {
  .header__inner {
    width: min(calc(100% - 40px), 1020px);
  }

  .header__nav,
  .header__actions {
    display: none;
  }
}
.header__logo,
.footer__brand > .footer__logo {
  display: block;
  height: auto;
  flex: 0 0 auto;
  font-size: 0;
  letter-spacing: 0;
  line-height: 0;
}
.header__logo {
  width: 248px;
}
.header__brand-white { display: none !important; }
@media screen and (max-width: 1200px) {
  .header__logo { width: 220px; }
}
.header__logo img,
.footer__logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
@media screen and (max-width: 860px) {
  .header__logo {
    width: 144px;
  }
}

/* burger */
.burger,
.mobile-menu {
  display: none;
}
.burger:focus {
  outline: none;
}
.burger:focus-visible {
  border-radius: 2px;
  outline: 2px solid var(--main2);
  outline-offset: 4px;
}
@media screen and (min-width: 861px) and (max-width: 1100px) {
  .burger {
    gap: 5px;
  }
}
@media screen and (max-width: 860px) {
  .burger {
    --burger-line-offset: 7px;
    position: relative;
    display: block;
    width: 28px;
    height: 28px;
    margin-left: auto;
    padding: 0;
    background: transparent;
  }

  .burger span {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    background: var(--black1);
    transform-origin: center;
    transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  }

  .burger span:nth-child(1) {
    transform: translateY(calc(-50% - var(--burger-line-offset)));
  }

  .burger span:nth-child(2) {
    transform: translateY(-50%);
  }

  .burger span:nth-child(3) {
    transform: translateY(calc(-50% + var(--burger-line-offset)));
  }

  .burger.is-active span:nth-child(1) {
    transform: translateY(-50%) rotate(45deg);
  }

  .burger.is-active span:nth-child(2) {
    opacity: 0;
  }

  .burger.is-active span:nth-child(3) {
    transform: translateY(-50%) rotate(-45deg);
  }
}
@media screen and (max-width: 520px) {
  .burger {
    --burger-line-offset: 8px;
    width: 30px;
    height: 30px;
    gap: 0;
  }
}
@media screen and (min-width: 861px) and (max-width: 1100px) {
  .burger {
    --burger-line-offset: 7px;
    position: relative;
    display: block;
    width: 28px;
    height: 28px;
    margin-left: auto;
    padding: 0;
    background: transparent;
  }

  .burger span {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    background: var(--black1);
    transform-origin: center;
    transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  }

  .burger span:nth-child(1) {
    transform: translateY(calc(-50% - var(--burger-line-offset)));
  }

  .burger span:nth-child(2) {
    transform: translateY(-50%);
  }

  .burger span:nth-child(3) {
    transform: translateY(calc(-50% + var(--burger-line-offset)));
  }

  .burger.is-active span:nth-child(1) {
    transform: translateY(-50%) rotate(45deg);
  }

  .burger.is-active span:nth-child(2) {
    opacity: 0;
  }

  .burger.is-active span:nth-child(3) {
    transform: translateY(-50%) rotate(-45deg);
  }
}

/* mobile-menu */
.mobile-menu {
  position: fixed;
  z-index: 40;
  top: 64px;
  right: 0;
  bottom: 0;
  left: 0;
  overflow-y: auto;
  visibility: hidden;
  background: rgb(0 20 29 / 60%);
  opacity: 0;
  transition: var(--basic-transition);
}
.mobile-menu.is-active {
  visibility: visible;
  opacity: 1;
}
.mobile-menu__inner {
  min-height: 680px;
  padding: 44px 28px 42px;
  color: var(--white1);
  background: var(--gradient2);
  transform: translateY(-20px);
  transition: var(--basic-transition);
}
.mobile-menu.is-active .mobile-menu__inner {
  transform: translateY(0);
}
.mobile-menu__primary > a,
.mobile-menu__parent,
.mobile-menu__children a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 21px 26px;
  color: inherit;
  background: transparent;
  border-bottom: 1px solid rgb(255 255 255 / 14%);
  font-size: 20px;
  font-weight: 700;
  text-align: left;
}
.mobile-menu__parent span {
  font-size: 35px;
  font-weight: 400;
  line-height: 0.6;
}
.mobile-menu__children {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}
.mobile-menu__children.is-active {
  max-height: 390px;
}
.mobile-menu__children a {
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 500;
}
.mobile-menu__actions {
  display: grid;
  gap: 18px;
  margin-top: 40px;
}
.mobile-menu__actions .c-btn {
  width: 100%;
}
@media screen and (max-width: 860px) {
  .mobile-menu {
    display: block;
  }
}
@media screen and (max-width: 520px) {
  .mobile-menu {
    top: 68px;
  }
}
@media screen and (min-width: 861px) and (max-width: 1100px) {
  .mobile-menu {
    top: 64px;
    display: block;
  }
}

/* section-wave */
.section-wave__image {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.section-wave .section-inner {
  position: relative;
  z-index: 1;
}
.section-wave__image--solutions {
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.76;
  object-fit: cover;
}

.section-wave__image--faq {
  top: 0;
  right: -13%;
  width: min(100vw, 1440px);
  opacity: 0.4;
}
.section-wave {
  --wave-background-image: url("../img/ornament-wave-base.webp");
  position: relative;
  overflow: hidden;
  background-color: var(--white1);
  background-image:
  linear-gradient(rgb(255 255 255 / 95%), rgb(255 255 255 / 95%)),
  var(--wave-background-image);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}
.section-wave > .section-wave__image {
  display: none;
}
@media screen and (max-width: 860px) {
  .section-wave {
    background-attachment: scroll;
    background-position: center calc(50% + var(--wave-parallax-y, 0px));
    background-size: auto 125%;
  }
}
.section-wave__image--ambient {
  inset: -96px 0;
  width: 100%;
  height: calc(100% + 192px);
  opacity: 0.2;
  object-fit: cover;
}

@media screen and (max-width: 520px) {
  .section-wave__image--solutions {
    top: 12%;
    right: -47%;
    width: 185vw;
  }

  .section-wave__image--faq {
    right: -70%;
    width: 195vw;
  }
}
.section-wave__image {
  transform: translate3d(0, var(--wave-parallax-y, 0px), 0) scale(1.05);
  transform-origin: center;
  will-change: transform;
}

/* feature-card */
.feature-card__number,
.solution-item__number,
.reason > div > p {

  font-family: var(--barlow);
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 700;
  letter-spacing: 0.04em;

}
.feature-card__number b,
.solution-item__number b,
.reason > div > p b {
  margin-left: 3px;

  font-size: clamp(34px, 3vw, 44px);
  line-height: 1;

}

.feature-card__number,
.feature-card__number b,
.solution-item__number,
.solution-item__number b,
.reason > div > p,
.reason > div > p b {
  color: transparent;
  background: linear-gradient(90deg, #003447 0%, #005f73 50%, #00b4d8 100%);
  background-clip: text;
  -webkit-background-clip: text;
  opacity: 1;
}
@media screen and (min-width: 521px) and (max-width: 860px) {
  .feature-card__photo,
  .solution-item__media,
  .solution-item__photo,
  .reason > img {
    width: min(100%, 570px);
    height: auto;
  }
}
@media screen and (max-width: 520px) {
  .feature-card__photo,
  .solution-item__media,
  .solution-item__photo,
  .reason > img,
  .content-card__image {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}
@media screen and (min-width: 1200px) {
  .feature-card h3,
  .solution-item h3,
  .reason h3 {
    text-wrap: balance;
  }

  .feature-card p,
  .challenge-card p,
  .solution-item p,
  .plan-consult p,
  .faq__item p {
    text-wrap: pretty;
  }
}

/* challenge-card */
.challenge-card > span,
.content-card span {
  display: inline-block;
  padding: 2px 10px;
  color: var(--white1);
  background: var(--main1);
  border: 1px solid var(--white1);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}

/* plan-consult */
.plan-consult .hero__buttons {
  justify-content: center;
}
@media screen and (min-width: 861px) and (max-width: 1100px) {
  .plan-consult__inner,
  .contact__inner {
    width: min(calc(100% - 80px), 1020px);
  }

  .plan-consult__content,
  .contact__content {
    padding-inline: clamp(28px, 5vw, 56px);
  }

  .plan-consult .button-pair,
  .contact .button-pair {
    gap: 12px;
  }

  .plan-consult .button-pair .c-btn,
  .contact .button-pair .c-btn {
    width: auto;
    min-width: 0;
    flex: 1;
    padding-inline: 12px;
  }
}
@media screen and (max-width: 520px) {

  .plan-consult .hero__buttons {
    display: grid;
    gap: 10px;
  }
}
@media screen and (min-width: 861px) and (max-width: 1439px) {
  .plan-consult__media,
  .contact__media {
    width: 54%;
  }

  .plan-consult__inner::after,
  .contact__inner::after {
    width: 85%;
  }
}
@media screen and (max-width: 520px) {
  .plan-consult__media img,
  .contact__media img {
    width: 100%;
    max-width: none;
    height: 100%;
  }

  .plan-consult__inner::after,
  .contact__inner::after {
    width: 100%;
  }

  .plan-consult__content,
  .contact__content {
    width: 100%;
    padding-right: max(35px, calc((100vw - 320px) / 2));
    padding-left: max(35px, calc((100vw - 320px) / 2));
  }
}

/* card-grid */
.card-grid {
  display: grid;
  gap: 24px;
}
.card-grid--three {
  grid-template-columns: repeat(3, 1fr);
}
.card-grid--four {
  grid-template-columns: repeat(4, 1fr);
}
@media screen and (max-width: 980px) {
  .card-grid--four {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 520px) {
  .card-grid--four {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .card-grid--three,
  .card-grid--four {
    width: 100%;
    max-width: 100%;
  }
}

/* news-card */
.news-card .content-card__image {
  aspect-ratio: 2 / 1;
}
@media screen and (min-width: 861px) {
  .news-card .content-card__image {
    height: 180px;
    aspect-ratio: auto;
  }
}

/* footer */
.footer {
  position: relative;
  color: var(--white1);
  background: var(--gradient2);
}
.footer__inner {
  display: grid;
  grid-template-columns: 40% 60%;
  width: min(100% - 80px, 1280px);
  margin-inline: auto;
  padding-block: clamp(58px, 7vw, 88px) 32px;
}
.footer__brand {
  width: 100%;
}
.footer__brand > a {
  color: var(--white1);
  font-size: 36px;
}
.footer__brand > p {
  margin: 13px 0 27px;
  color: #b3d5dc;
  font-size: 14px;
}
.footer__links {
  display: grid;
  grid-template-columns: 1.6fr 1fr 0.7fr 0.8fr;
  gap: 28px;
  width: 100%;
  padding-top: 4px;
}
.footer__links div {
  display: grid;
  align-content: start;
  gap: 8px;
}
.footer__links h2 {
  margin-bottom: 8px;
  font-size: 16px;
}
.footer__links a {
  color: #c2e7ed;
  font-size: 14px;
  line-height: 1.5;
  transition: var(--basic-transition);
}
.footer__links a:hover {
  color: var(--white1);
}
.footer__bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 42px;
  padding-top: 30px;
  border-top: 1px solid rgb(255 255 255 / 66%);
  color: #d1eff2;
  font-size: 12px;
}
.footer__bottom p {
  display: flex;
  gap: 25px;
}
@media screen and (min-width: 861px) and (max-width: 1100px) {
  .footer {
    min-height: 0;
  }
}
@media screen and (max-width: 980px) {
  .footer__inner {
    grid-template-columns: 36% 64%;
  }

  .footer__brand,
  .footer__links {
    width: 100%;
  }

  .footer__links {
    gap: 18px;
  }
}
@media screen and (max-width: 860px) {
  .footer__brand,
  .footer__links {
    width: 100%;
  }

  .footer__inner {
    display: block;
  }

  .footer__brand {
    margin-bottom: 38px;
  }

  .footer__links {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 18px;
  }
}
@media screen and (max-width: 520px) {
  .footer__inner {
    padding-top: 48px;
  }

  .footer__brand .button-pair {
    margin-top: 30px;
  }

  .footer__brand .button-pair .c-btn:first-child {
    order: 2;
  }

  .footer__brand .button-pair .c-btn:last-child {
    order: 1;
  }

  .footer__bottom {
    margin-top: 32px;
  }

}
@media screen and (min-width: 861px) {
  .footer {
    height: 443px;
    background: linear-gradient(37.5638deg, #050a0f 14.286%, #002938 42.857%, #005e73 67.857%, #008cad 85.714%);
  }

  .footer__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 193px;
    align-items: start;
    align-content: start;
    width: 1280px;
    height: 443px;
    padding: 64px 0;
  }

  .footer__brand {
    align-self: center;
  }

  .footer__brand > a {
    font-size: 40px;
    line-height: 1;
  }

  .footer__brand > p {
    margin: 12px 0 24px;
    color: rgb(255 255 255 / 60%);
    font-size: 13px;
  }

  .footer__brand .button-pair {
    gap: 24px;
  }

  .footer__brand .button-pair .c-btn:first-child {
    width: 200px;
  }

  .footer__brand .button-pair .c-btn:last-child {
    width: 208px;
  }

  .footer__links {
    display: flex;
    gap: 56px;
    width: auto;
    padding: 0;
  }

  .footer__links h2 {
    margin-bottom: 8px;
    font-size: 16px;
  }

  .footer__links a {
    font-size: 14px;
  }

  .footer__bottom {
    position: absolute;
    right: 0;
    bottom: 64px;
    left: 0;
    height: 72px;
    margin: 0;
    padding-top: 48px;
    font-size: 13px;
  }

  .footer__bottom small {
    font-size: 10px;
  }
}
@media screen and (max-width: 520px) {
  .footer {
    background: linear-gradient(76.1345deg, #050a0f 14.286%, #002938 42.857%, #005e73 67.857%, #008cad 85.714%);
  }

  .footer__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 64px 20px 16px;
    text-align: center;
  }

  .footer__brand {
    display: contents;
  }

  .footer__brand > a {
    order: 1;
    height: 24px;
    font-size: 26.5px;
    letter-spacing: -0.02em;
    line-height: 24px;
  }

  .footer__brand > p {
    order: 2;
    margin: 12px 0 0;
    color: rgb(255 255 255 / 60%);
    font-size: 12px;
    line-height: 20px;
  }

  .footer__links {
    order: 3;
    display: grid;

    margin-top: 40px;
    padding: 0;
    text-align: left;
  }

  .footer__links div {
    gap: 8px;
  }

  .footer__links div:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / 4;
  }

  .footer__links div:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .footer__links div:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .footer__links div:nth-child(4) {
    grid-column: 2;
    grid-row: 3;
  }

  .footer__links h2 {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.2;
  }

  .footer__links a {
    font-size: 14px;
    line-height: 1.4;
  }

  .footer__brand .button-pair {
    order: 4;
    display: grid;

    margin: 40px 0 0;
  }

  .footer__brand .button-pair .c-btn {
    width: auto;
    height: 54px;
    min-height: 54px;
  }

  .footer__bottom {
    order: 5;
    display: flex;

    flex-direction: column;
    gap: 8px;
    margin: 40px 0 0;
    padding-top: 16px;
    font-size: 12px;
    line-height: 20.4px;
  }

  .footer__bottom p {
    order: 1;
    justify-content: center;
    gap: 24px;
  }

  .footer__bottom small {
    order: 2;
    font-size: 10px;
    line-height: 14px;
    text-align: center;
  }
}
@media screen and (min-width: 861px) and (max-width: 1100px) {
  .footer__inner {
    display: block;
    width: min(calc(100% - 80px), 1020px);
    height: auto;
    min-height: 0;
    padding: 64px 0 32px;
  }

  .footer__brand {
    margin-bottom: 42px;
  }

  .footer__links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    width: 100%;
  }

  .footer__bottom {
    position: static;
    width: 100%;
    height: auto;
    margin-top: 42px;
    padding-top: 30px;
  }
}
@media screen and (max-width: 520px) {
  .footer__inner {
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .footer__brand > p {
    height: auto;
    white-space: normal;
  }

  .footer__links,
  .footer__brand .button-pair,
  .footer__bottom {
    width: 100%;
    max-width: 100%;
  }

  .footer__links {
    grid-template-columns: minmax(112px, 139px) minmax(0, 1fr);
    column-gap: clamp(24px, 9vw, 48px);
    height: auto;
  }

  .footer__brand .button-pair,
  .footer__bottom {
    height: auto;
  }

  .footer__brand .button-pair .c-btn {
    min-width: 0;
  }

  .footer__bottom {
    position: static;
  }

  .footer__links {
    grid-template-rows: auto auto auto;
    row-gap: 28px;
  }

  .footer__brand .button-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(12px, 4vw, 24px);
  }

  .footer__brand .button-pair .c-btn {
    padding-inline: 6px;
    font-size: clamp(11px, 3.35vw, 14px);
    white-space: nowrap;
  }
}
.footer__brand > .footer__logo {
  width: min(350px, 100%);
}
@media screen and (max-width: 860px) {
  .footer__brand > .footer__logo {
    width: 260px;
    margin-inline: auto;
  }
}

/* to-top */
.to-top {
  position: fixed;
  z-index: 20;
  right: 28px;
  bottom: 28px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--white1);
  background: var(--accent1);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgb(0 71 84 / 24%);
  font-family: var(--inter);
  line-height: 1;
  visibility: hidden;
  opacity: 0;
  transform: translateY(14px);
  transition: var(--basic-transition);
}
.to-top.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.to-top:hover {
  background: var(--main1);
  transform: translateY(0);
}
@media screen and (max-width: 520px) {
  .to-top {
    font-size: 29px;
  }
}
@media screen and (min-width: 861px) {
  .to-top {
    position: absolute;
    top: -31px;
    right: 82px;
    bottom: auto;
    width: 64px;
    height: 62px;
  }
}
@media screen and (max-width: 520px) {
  .to-top {
    position: absolute;
    top: -28px;
    right: 20px;
    bottom: auto;
    width: 56px;
    height: 56px;
  }
}
.to-top {
  font-size: 0;
}
.to-top::before,
.to-top::after {
  position: absolute;
  left: 50%;
  width: 15px;
  height: 15px;
  border-top: 3px solid var(--white1);
  border-left: 3px solid var(--white1);
  content: "";
  transform: translateX(-50%) rotate(45deg);
}
.to-top::before {
  top: 17px;
}
.to-top::after {
  top: 30px;
}

/* logo-features-wave */
.logo-features-wave {
  --wave-background-image: url("../img/ornament-wave-base.webp");
}
.logo-features-wave .logo-strip,
.logo-features-wave .features {
  position: relative;
  z-index: 1;
  background: transparent;
}
@media screen and (max-width: 860px) {
  .logo-features-wave {
    background-size: auto 112%;
  }
}
main > section,
main > .logo-features-wave,
.section-inner,
.feature-card,
.feature-card__body,
.challenge-card,
.solution-item,
.reason,
.content-card,
.service-card {
  min-width: 0;
}

/* reasons */
@media screen and (min-width: 861px) and (max-width: 1439px) {
  .reasons__list,
  .solutions__items,
  .features__list {
    max-width: 100%;
  }
}

/* features */

@media screen and (min-width: 861px) and (max-width: 1439px) {
  .features,
  .challenges,
  .solutions,
  .reasons,
  .flow,
  .promo-campaign,
  .plan-consult,
  .cases,
  .resources,
  .download,
  .faq,
  .services,
  .contact,
  .footer {
    height: auto;
  }

  .features,
  .challenges,
  .solutions,
  .reasons,
  .flow,
  .cases,
  .resources,
  .faq,
  .services,
  .contact,
  .footer {
    min-height: 0;
  }
}
@media screen and (min-width: 521px) and (max-width: 860px) {
  .features,
  .challenges,
  .solutions,
  .reasons,
  .flow,
  .promo-campaign,
  .plan-consult,
  .cases,
  .resources,
  .download,
  .faq,
  .services,
  .contact,
  .footer,
  .promo-campaign__inner,
  .download__inner,
  .footer__inner,
  .feature-card,
  .solution-item,
  .reason {
    height: auto;
    min-height: 0;
  }
}
@media screen and (max-width: 520px) {
  .features,
  .challenges,
  .solutions,
  .reasons,
  .flow,
  .promo-campaign,
  .plan-consult,
  .cases,
  .resources,
  .download,
  .faq,
  .services,
  .contact,
  .footer,
  .feature-card,
  .challenge-card,
  .solution-item,
  .reason,
  .reason:nth-child(n),
  .content-card,
  .service-card {
    height: auto;
    min-height: 0;
  }
}

/* promo-campaign */
@media screen and (min-width: 521px) and (max-width: 860px) {
  .promo-campaign__inner,
  .download__inner,
  .footer__inner {
    height: auto;
    min-height: 0;
  }
}
@media screen and (max-width: 860px) {
  .promo-campaign__inner,
  .plan-consult__inner {
    width: min(100% - (var(--padding-sp) * 2), var(--content-width));
  }
}
@media screen and (max-width: 520px) {
  .promo-campaign__inner,
  .plan-consult__inner,
  .contact__inner {
    width: 100%;
    height: auto;
    min-height: 0;
  }
}
@media screen and (max-width: 380px) {
  .promo-campaign__button,
  .plan-consult .c-btn,
  .contact .c-btn,
  .footer__brand .c-btn {
    font-size: 13px;
  }
}

/* is-menu-open */
@media screen and (max-width: 860px) {
  body.is-menu-open {
    overflow: hidden;
  }
}
@media screen and (min-width: 861px) and (max-width: 1100px) {
  body.is-menu-open {
    overflow: hidden;
  }
}

/* challenges */
@media screen and (max-width: 860px) {
  .challenges__grid,
  .card-grid--three {
    grid-template-columns: 1fr;
    max-width: 510px;
    margin-inline: auto;
  }
}

/* cases */

/* hero */
@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero__lead,
  .hero__price,
  .hero__copy,
  .hero__workers,
  .team-slider__track {
    animation: none;
  }
}

/* services */
@media screen and (min-width: 861px) and (max-width: 1439px) {
  .services,
  .contact {
    height: auto;
    min-height: 0;
  }
}

/* solution-item */
@media screen and (max-width: 520px) {
  .solution-item__media,
  .solution-item__photo,
  .content-card__image {
    aspect-ratio: auto;
  }
}

/* flow */
@media screen and (max-width: 520px) {
  .flow .button-pair,
  .plan-consult .button-pair,
  .download .button-pair,
  .contact .button-pair {
    width: 100%;
    max-width: 100%;
  }
}

/* no-orphan */
@media screen and (min-width: 861px) {
  .no-orphan {
    font-style: inherit;
    font-weight: inherit;
    white-space: nowrap;
  }
}

/* break-sp-only */
.break-sp-only {
  display: none;
}
@media screen and (max-width: 520px) {
  .break-sp-only {
    display: block;
  }
}

/* reason */
main p,
main .reason > div > span,
main .service-card > div {
  text-wrap: pretty;
}

/* resources */
.resources .content-card__body,
.news .content-card__body {
  min-height: 168px;
}

/* content-card */
@media screen and (max-width: 860px) {
  .content-card__body,
  .resources .content-card__body,
  .news .content-card__body {
    min-height: 150px;
    padding: 18px;
  }
}
@media screen and (max-width: 520px) {
  .content-card__body,
  .resources .content-card__body,
  .news .content-card__body {
    min-height: 0;
    padding: 16px;
  }
}
