/* ---------- Base ---------- */

:root {
  --black: #0D0D0D;
  --main-blue: #2768ae;
  --sky-blue: #40bce3;
  --light-blue: #94D3E8;
  --orange: #EB7E2D;
  --light-orange: #F1BB79;
  --bg-light-blue: #F3FAFD;
  --blue-gradation: linear-gradient(to right, #2768ae, #40bce3);
}

html {
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 3rem;
  }
}

html, body {
  height: auto;
  min-height: 100%;
}

body {
  position: relative;
  margin: 0;
  font-family: "Noto Sans JP", sans-serif, system-ui, -apple-system, "Segoe UI", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Yu Gothic UI", YuGothic, Meiryo, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--black, #0D0D0D);
  background-color: #fff;
}

*:where(:not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)) {
  all: unset;
  display: revert;
}

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

a, button {
  cursor: revert;
}
ol, ul, menu {
  list-style: none;
}

/* fix the feature of 'hidden' attribute.
 display:revert; revert to element instead of attribute */
:where([hidden]) {
  display: none!important;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
  transition: .4s opacity;
}

a:hover {
  opacity: .6;
}

#main {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-weight: 600;
}

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

@media (max-width: 767px) {
  p {
    font-size: clamp(.875rem, 3.7vw, 1rem)
  }

   .pc-only {
    display: none;
  }
  
  .sp-only {
    display: block;
  }
}


/* ---------- Layout ---------- */
.wrapper {
  overflow-x: hidden;
}

.container {
  width: min(100% - 2rem, 62.5rem);
  margin-inline: auto;
}

.section {
  padding-block-start: min(10.687vw ,7rem);
  padding-block-end: min(13.74049vw ,9rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  font-weight: 500;
  box-shadow: 0 0 10px rgba(13, 13, 13, 0.2);
}

.section__heading {
 color: var(--main-blue, #2768ae);
 text-align: center;
 font-weight: 600;
 font-size: clamp(1.5rem, 4.6vw, 3rem);
 margin-bottom: clamp(2rem, 6.1vw, 4rem);
}

.link-btn {
  position: relative;
  padding: .5rem 2.5rem .5rem 2rem;
  color: #fff;
  background: linear-gradient(to right, var(--orange, #EB7E2D) 0%, var(--light-orange, #F1BB79) 100%);
  border-radius: 999px;
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0 0 10px rgba(13, 13, 13, 0.2);
}

.link-btn::before,
.link-btn::after {
  content: "";
  position: absolute;
  width: .5em;
  height: 2px;
  background-color: #fff;
  right: 1rem;
}

.link-btn::before {
  top: 40.5%;
  transform: rotate(45deg);
}

.link-btn::after {
  bottom: 40.5%;
  transform: rotate(-45deg);
}

.orange-line {
  position: relative;
  border-bottom: 2px solid var(--orange, #EB7E2D);
  border-image: linear-gradient(to right, var(--orange, #EB7E2D) 0%, #EFAA65 100%) 1;
}

.orange-line::before,
.orange-line::after {
  content: "";
  position: absolute;
  bottom: -.15em;
  width: .25em;
  height: .25em;
  border-radius: 100%;
}

.orange-line::before {
  background-color: var(--orange, #EB7E2D);
  left: 0;
}

.orange-line::after {
  background-color:#EFAA65;
  right: 0;
}

@media (max-width: 767px) {
  .link-btn {
    padding: .4rem 2rem .4rem 1rem;
    font-size: 14px;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 15px rgba(13, 13, 13, 0.2);
}

.site-header__container {
  width: min(100% - 2rem, 87.5rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
}

.site-logo {
  margin: 0;
  width: clamp(29.5rem, calc(37vw + 1.75rem), 37.5rem);
  font-size: 1rem;
  font-weight: 700;
}

.site-logo a {
  text-decoration: none;
}

.nav-toggle {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  font-size: min(1.07143vw, 15px);
  gap: 2em;
}

.site-nav ul {
  display: flex;
  gap: 1em;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav ul li:not(:last-of-type) {
  padding-right: 1em;
  border-right: 1px solid var(--main-blue, #2768ae);
}

.site-nav ul li a {
  color: var(--main-blue, #2768ae);
  font-weight: 500;
}

.site-nav a {
  text-decoration: none;
}

.site-nav .btn {
  padding: 0.5rem 1.5rem;
  background: var(--blue-gradation, linear-gradient(to right, #2768ae, #40bce3));
}

@media (min-width: 1200px) {
  .site-nav ul li a {
    position: relative;
    display: inline-block;
  }

  .site-nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.2em;
    width: 100%;
    height: 2px;
    background-color: var(--main-blue, #2768ae);
    transform: scaleX(0);
    transform-origin: left center;
    transition: none;
    pointer-events: none;
  }

  .site-nav ul li a.is-current::after {
    transform: scaleX(1);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
}

@media (max-width: 1199px) {
  .site-logo {
    width: clamp(18.5rem, 70vw, 29.5rem);
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    margin-left: auto;
    background: var(--sky-blue, #40bce3);
    color: #fff;
    cursor: pointer;
  }

  .nav-toggle__line,
  .nav-toggle__line::before,
  .nav-toggle__line::after {
    display: block;
    width: 1.25rem;
    height: 2px;
    background-color: currentColor;
    transition: transform 0.25s ease, opacity 0.2s ease;
    content: "";
  }

  .nav-toggle__line {
    position: relative;
  }

  .nav-toggle__line::before {
    position: absolute;
    top: -0.4rem;
    left: 0;
  }

  .nav-toggle__line::after {
    position: absolute;
    top: 0.4rem;
    left: 0;
  }

  .site-nav {
    position: absolute;
    top: 5rem;
    right: 0;
    display: none;
    width: 23rem;
    min-height: 100lvh;
    flex-direction: column;
    align-items: stretch;
    gap: 3rem;
    padding: 3rem 2rem;
    background: linear-gradient(125deg, var(--sky-blue, #40bce3) 0%, var(--main-blue, #2768ae) 100%);
    box-shadow: 0 10px 28px rgba(13, 13, 13, 0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }
  
  .site-nav ul li:not(:last-of-type) {
    padding-right: 0;
    border: none;
  }  

  .site-nav ul li a {
    display: block;
    padding: 1rem 0;
    color: #fff;
    font-size: 18px;
  }

  .site-nav .btn {
    margin: 0.5rem auto 0;
    width: 12.5rem;
    background: #fff;
    color: var(--main-blue);
    font-size: 20px;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__line {
    background-color: transparent;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__line::before {
    transform: translateY(0.4rem) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__line::after {
    transform: translateY(-0.4rem) rotate(-45deg);
  }
}


@media (max-width: 767px) {
  .site-header__container {
    gap: 0;
    width: 100%;
    padding-left: 1rem;
    min-height: 3rem;
  }

  .site-nav {
    position: absolute;
    top: 3rem;
    left: 0;
    right: 0;
    width: 100%;
    min-height: 100lvh;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: min(80vw, calc(100vh - 5rem));
  height: min(80vw, calc(var(--app-height) - 5rem));
  background: linear-gradient(116deg, rgba(148, 211, 238, 0.3) 0%, transparent 50%);
  -webkit-mask-image: linear-gradient(180deg,black 96%, transparent 100%);
  mask-image: linear-gradient(180deg, black 96%, transparent 100%);
}

.hero::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  background: url(../img/hero_bg.jpg) right -264px top -8px / auto min(80vw, calc(100vh - 2rem)) no-repeat;
  background: url(../img/hero_bg.jpg) right -264px top -8px / auto min(80vw, calc(var(--app-height) - 2rem)) no-repeat;
  -webkit-mask-image: linear-gradient(116deg, transparent 40vw, black 64vw);
  mask-image: linear-gradient(116deg, transparent 40vw, black 64vw);
}

.hero__inner {
  position: relative;
  width: min(min(100% - 7rem), 77rem);
  margin-inline: auto;
  padding-block: clamp(4rem, 12vw, 11rem);
}

.hero__logo {
  width: fit-content;
  margin: 0 0 1.25rem;
}

.hero__title {
  display: flex;
  flex-direction: column;
  gap: .1875em;
  margin: 0 0 .375em;
  font-size: clamp(2.75rem, calc(3.33333vw + .75rem), 4rem);
  font-weight: 600;
  letter-spacing: .02em;
}

.hero__title span {
  position: relative;
  z-index: 0;
  display: block;
  width: fit-content;
  padding: 0 .3125em .1em;
  color: #fff;
  line-height: 1.25;
  text-shadow: 0 0 0.08em rgba(13, 13, 13, 0.35);
  isolation: isolate;
}

.hero__title span::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--blue-gradation, linear-gradient(to right, #2768ae, #40bce3));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .8s ease;
}

.hero__title span:nth-child(2)::before {
  transition-delay: 0.3s;
}

.hero__title.is-visible span::before {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .hero__title span::before {
    transform: scaleX(1);
    transition: none;
  }
}

.hero__lead {
  margin: 0;
  max-width: 40em;
  font-size: clamp(1rem, calc(1.45833vw + .5rem), 1.75rem);
  color: var(--main-blue, #2768ae);
  font-weight: 600;
  text-shadow: 0px 0px 10px rgb(255 255 255), 0px 0px 10px rgb(255 255 255), 0px 0px 10px rgb(255 255 255);
}

@media (max-width: 767px) {
  .hero {
    min-height: min(100lvh, 800px);
    min-height: min(calc(var(--app-height)), 800px);
    background: linear-gradient(to bottom, rgba(148, 211, 238, 0.3) 0%, transparent 50%);
    -webkit-mask-image: linear-gradient(180deg, black 84%, transparent 95%);
    mask-image: linear-gradient(180deg, black 84%, transparent 92%);
  }

  .hero::before {
    background: url(../img/hero_bg.jpg) center bottom 3rem / max(114vh, 760px) no-repeat;
    background: url(../img/hero_bg.jpg) center bottom 3rem / max(calc(114 * var(--app-height) / 100), 760px) no-repeat;
    -webkit-mask-image: linear-gradient(180deg, transparent 32%, black 69%);
    mask-image: linear-gradient(180deg, transparent 32%, black 69%);
  }

  .hero__inner {
    width: 100%;
    padding-block: 7.1964vh;
    padding-block: calc(7.1964 * var(--app-height) / 100);
    text-align: center;
  }

  .hero__logo {
    width: 44.8vw;
    margin: 0 auto 1.23em;
  }

  .hero__title {
    align-items: center;
    font-size: clamp(1.5rem, 9.6vw, 3rem);
  }
}


/* ---------- Problems ---------- */
.problem {
  position: relative;
  padding-block-start: min(9vw, 6rem);
  padding-block-end: 0;
}

.problem::before,
.problem::after {
  content: "";
  position: absolute;
  width: min(30vw, 321px);
  height: min(50vw, 526px);
  background: url(../img/bg_gear.svg) center / contain no-repeat;
  opacity: 0.13;
  z-index: -1;
}

.problem::before {
  top: 5rem;
  left: -3rem;
}

.problem::after {
  right: -6rem;
  bottom: -8rem;
  transform: rotate(192deg);
}

.problem .container {
  padding-bottom: min(8.4vw, 5.5rem);
  position: relative;
}

.problem__heading {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: clamp(1.75rem, 4.6vw, 3rem);
  color: var(--main-blue, #2768ae);
}

[data-text-reveal] .text-reveal__char {
  display: inline-block;
  opacity: 0;
  transform: translate3d(-0.12em, 0, 0);
}

[data-text-reveal].is-visible .text-reveal__char {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.38s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--text-reveal-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  [data-text-reveal] .text-reveal__char {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.problem__list {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.problem__list--top {
  gap: 4rem;
  margin-bottom: 2rem;
}

.problem__list--bottom {
  justify-content: space-between;
  width: min(100%, 1000px);
  margin: auto;
}

.problem__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: min(23vw, 15.5rem);
  height: min(29vw, 19rem);
  padding: min(2.67vw, 1.75rem) 0;
  gap: .75rem;
  background-color: #fff;
  border: 6px solid var(--light-blue, #94D3E8);
  text-align: center;
}

.problem__item::after {
  content: "";
  position: absolute;
  background: url(../img/problem_bubble.svg) center / contain no-repeat;
  width: min(3.53vw, 37px);
  height: min(3.8vw, 50px);
}

@media screen and (min-width: 768px) { 
  .problem__list--top .problem__item:first-child::after {
    left: 47%;
    bottom: -60px;
  }

  .problem__list--top .problem__item:last-child::after {
    right: 47%;
    bottom: -60px;
    transform: scaleX(-1);
  }
  
  .problem__list--bottom .problem__item:first-child::after {
    left: calc(100% + 20px);
    bottom: 45%;
    transform: rotate(-75deg);
  }
  .problem__list--bottom .problem__item:last-child::after {
    right: calc(100% + 20px);
    bottom: 45%;
    transform: scaleX(-1) rotate(-75deg);
  }
}


.problem__item h3 {
  font-size: clamp(1.125rem, 2.3vw, 1.5rem);
  font-weight: 600;
  color: var(--main-blue, #2768ae);
  line-height: 1.4;
}

.problem__item p {
  font-size: clamp(.8125rem, 1.7vw, 1.125rem);
  line-height: 1.4;
}

.problem__icon {
  height: min(9.54vw, 100px);
}

.problem__icon img {
  width: auto;
  height: 100%;
}

.problem__img {
  position: absolute;
  bottom: 0;
  left: 50%;
  display: flex;
  justify-content: center;
  width: min(15.8vw, 10.375rem);
  height: auto;
  transform: translateX(-50%);
}

.problem__solution {
  position: absolute;
  left: 50%;
  width: max(100vw, 1920px);
  height: clamp(7.5rem, 24.4vw, 256.16rem);
  background: url(../img/problem_triangle_pc.svg) center top / contain no-repeat;
  color: #fff;
  text-align: center;
  transform: translateX(-50%);
}


.problem__solution h3 {
  padding: 1.5em 0;
  font-size: clamp(1.125rem, 3vw, 2rem);
  line-height: 1.5;
}

@media (max-width: 767px) {
  .problem {
    padding-block-start: 0;
  }

  .problem::before,
  .problem::after {
    width: 64px;
    height: 103px;
  }

  .problem::before {
    top: -3rem;
    left: -1rem;
    transform: rotate(30deg);
  }

  .problem::after {
    right: -.25rem;
    top: 2.5rem;
    bottom: unset;
    transform: rotate(217deg);
  }

  .problem .container {
    padding-bottom: clamp(9.75rem, 40vw, 16rem);
  }
  .problem__list {
    max-width: 26rem;
    margin: auto;
  }

  .problem__list--top {
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .problem__list--bottom {
    gap: 1rem;
  }

  .problem__item {
    width: 100%;
    height: auto;
    border: 4px solid var(--sky-blue, #40bce3);
    gap: .75rem;
  }

  .problem__list--top .problem__item::after {
    display: none;
  }

  .problem__list--bottom .problem__item::after {
    width: min(6vw, 30px);
    height: min(12.27vw, 61px);
    bottom: max(calc((10vw + .75rem) * -1), -66px);
    left: 41%;
    transform: rotate(15deg);
  }

  .problem__list--bottom .problem__item:last-child::after {
    right: 41%;
    transform: scaleX(-1) rotate(15deg);
  }

  .problem__item h3,
  .problem__item p {
    line-height: 1.3;
  }
  

  .problem__icon {
    height: min(15vw, 4rem);
  }

  .problem__img {
    bottom: -15%;
    width: clamp(7rem, 26.5vw, 10.6rem);
  }  

  .problem__solution {
    background: url(../img/problem_triangle_sp.svg) center top / contain no-repeat;
  }

  .problem__solution h3 {
    padding: .75em 0;
    line-height: 1.25;
  }
}

/* ---------- Approach ---------- */
.approach {
  background: url(../img/approach_bg_pc.png) center / cover no-repeat;
}

.approach .container {
  padding-top: clamp(7.25rem, 22vw, 14.5rem);
}

.approach__heading {
  margin-top: -.75em;
  margin-bottom: 1.166667em;
}

.approach__heading span {
  color: var(--orange, #EB7E2D);
  font-size: clamp(2rem, 6.87vw, 4.5rem);
}

.approach__list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.approach__item {
  position: relative;
}

.approach__icon {
  position: absolute;
  top: 50%;
  left: 0;
  width: min(15.26718vw,  10rem);
  transform: translateY(-50%);
  z-index: 10;
}

.approach__item__content {
  margin-left: min(7.63358vw, 5rem);
  padding: 2rem min(12vw, 8rem) 2rem min(13vw, 8.5rem);
  background: #fff;
  mask-image: linear-gradient(to right, black 90%, transparent 100%);
  z-index: 1;
}

.approach__item__content h3 {
  position: relative;
  display: flex;
  gap: .5em;
  margin-bottom: .375em;
  padding: 0 .25em .25em 0;
  width: fit-content;
  font-size: clamp(1.125rem, 3vw, 2rem);
  color: var(--orange, #EB7E2D);
  line-height: 1.3;
}

.approach__item__content h3 span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: .075em;
  width: clamp(1.75rem, 4.58vw, 3rem);
  height: clamp(1.75rem, 4.58vw, 3rem);
  background: linear-gradient(125deg, var(--light-orange, #F1BB79) 30%, var(--orange, #EB7E2D) 100%);
  border-radius: 100%;
  color: #fff;
  font-family: "Google Sans Flex", sans-serif;
  font-weight: 600;
}

.approach__item__content h4 {
  width: fit-content;
  margin-bottom: .66667em;
  padding: 0 .25em;
  font-size: clamp(1rem, 2.3vw, 1.5rem);
  background: linear-gradient(transparent 70%, #FAE3C9 30%);
}

@media screen and (min-width: 768px) {
  .approach__item:nth-of-type(2) .approach__item__content {
    margin-right: min(7.63358vw, 5rem);
    padding: 2rem min(13vw, 8.5rem) 2rem min(12vw, 8rem) ;
    mask-image: linear-gradient(to left, black 90%, transparent 100%);
  }
  
  .approach__item:nth-of-type(2) .approach__icon {
    right: 0;
    left: unset;
  }
}

@media (max-width: 767px) {
  .approach__heading {
    margin-bottom: .75em;
  }

  .approach__list {
    gap: .75rem;
  }

  .approach__item__content {
    margin: min(9.6vw, 2.25rem) 0 0;
    padding: 2.75em 1rem 4.5em;
    mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
  }

  .approach__icon {
    top: 0;
    left: 50%;
    width: min(19.2vw, 4.5rem);
    transform: translateX(-50%);
  }
  
  .approach__item__content h3 {
    margin-bottom: .6em;
    padding-bottom: .5em;
    width: 100%;
  }

  .approach__item__content h3::after {
    right: 0;
  }

  .approach__item__content h4 {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
  }
}

/* ---------- Features ---------- */
.features {
  background-color: var(--bg-light-blue, #F3FAFD);
}

.feature-switcher__buttons {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.feature-switcher__buttons::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--blue-gradation, linear-gradient(to right, #2768ae, #40bce3));
  z-index: 1;
}

.feature-switcher__buttons--top.is-active-quickwin::after {
  clip-path: inset(0 calc((100% / 3) * 2 + 6px) -1px 0 round .5em .5em 0 0);
}

.feature-switcher__buttons--top.is-active-copilot::after {
  clip-path: inset(0 calc((100% / 3) + 3px) -1px calc((100% / 3) + 3px) round .5em .5em 0 0);
}

.feature-switcher__buttons--top.is-active-erp::after {
  clip-path: inset(0 0 -1px calc((100% / 3) * 2 + 6px) round .5em .5em 0 0);
}

.feature-switcher__buttons--bottom.is-active-quickwin::after {
  clip-path: inset(0 calc((100% / 3) * 2 + 6px) 0 0 round 0 0 .5em .5em);
}

.feature-switcher__buttons--bottom.is-active-copilot::after {
  clip-path: inset(0 calc((100% / 3) + 3px) 0 calc((100% / 3) + 3px) round 0 0 .5em .5em);
}

.feature-switcher__buttons--bottom.is-active-erp::after {
  clip-path: inset(0 0 0 calc((100% / 3) * 2 + 6px) round 0 0 .5em .5em);
}

.feature-switcher__button {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 1.5rem 0;
  border: 0;
  background: rgba(39, 104, 174, 0.1);
  color: black;
  font-weight: 700;
  cursor: pointer;
  z-index: 10;
}

@media screen and (min-width: 768px) {
  .feature-switcher__button:not(.is-active)::before,
  .feature-switcher__button:not(.is-active)::after {
    content: "";
    position: absolute;
    width: .75em;
    height: 2px;
    background-color: #6E797E;
    right: 1rem;
  }
  
  .feature-switcher__button:not(.is-active)::before {
    top: 45.5%;
    transform: rotate(45deg);
  }
  
  .feature-switcher__button:not(.is-active)::after {
    bottom: 45.5%;
    transform: rotate(-45deg);
  }
}

.feature-switcher__buttons--top .feature-switcher__button {
  border-radius: .5em .5em 0 0;
}

.feature-switcher__buttons--bottom .feature-switcher__button {
  border-radius: 0 0 .5em .5em;
}

.feature-switcher__button-main {
  font-size: clamp(14px, 2.6717vw,28px);
  line-height: 1.2;
  text-align: center;
}

.feature-switcher__button-sub {
  font-size: min(1.7vw, 18px);
  font-weight: 500;
  line-height: 1.2;
}

.feature-switcher__button.is-active {
  background: transparent;
  color: #fff;
}

@media (max-width: 767px) {
  .feature-switcher__buttons {
    gap: 1vw;
  }
  
  .feature-switcher__button {
    padding: 0;
  }
}

.feature-switcher__panels {
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--blue-gradation) border-box;
}

.feature-panel {
  padding: min(3vw, 2.5rem);
  background: #fff;
}

.feature-panel__copy {
  position: relative;
  width: fit-content;
  margin: .66667em auto 1.75em;
  padding: 0 .5em .5em;
  color: var(--main-blue, #2768ae);
  font-size: clamp(1rem, 3vw, 2rem);
  text-align: center;

}

.feature-panel__content {
  position: relative;
}

.feature-panel__features {
  margin: 1.5rem 0 3rem;
}

.feature-panel__heading {
  left: 50%;
  width: 100%;
  margin: auto;
  padding: 0.08em 0;
  background: var(--blue-gradation, linear-gradient(to right, #2768ae, #40bce3));
  color: #fff;
  text-align: center;
  border-radius: .3em;
  font-size: clamp(1.125rem, calc(2.3vw + .125rem), 1.5rem);
}

.feature-panel__features .feature-panel__heading {
  border-radius: .3em .3em 0 0;
}

.features__container {
  padding: 2.5rem 3.5rem;
  background-color: rgba(48, 167, 227, 0.08);
  border-radius: 0 0 .3em .3em;
}

.features__list {
  display: flex;
  flex-direction: column;
  gap: .5em;
  padding: .3rem 0;
  border-left: 4px solid var(--main-blue, #2768ae);
}

.features__item {
  position: relative;
  margin-left: 2.5rem;
  padding-left: 1em;
  font-size: clamp(.875rem, calc(1.7vw + .15rem), 1.125rem);
  font-weight: 600;
}

.features__item::before {
  position: absolute;
  content: "■";
  left: -1em;
  top: .4em;
  font-size: .7em;
  color: var(--main-blue, #2768ae);
}

.features__item span {
  font-weight: 500;
}

.feature-panel__example {
  margin-top: 2.5rem;
}

.feature-panel__subheading {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 1rem 0 .75rem;
  border-bottom: 2px dashed;
  color: var(--main-blue, #2768ae);
  font-size: clamp(.875rem, calc(2.48vw + .5rem) ,1.625rem);
  letter-spacing: .02em;
  text-align: center;
}

.feature-panel__subheading span {
  position: relative;
}

.feature-panel__subheading span::before {
  content: "⚫︎";
  position: absolute;
  top: 50%;
  left: -1.2em;
  display: inline-block;
  font-size: clamp(.875rem, 2.86vw, 1.875rem);
  transform: translateY(-50%);
}

.feature-panel__subheading small {
  position: relative;
  display: block;
  margin-left: 2.5em;
  font-size: clamp(.75rem, calc(1.9vw + .25rem), 1.25rem);
  margin-top: .25em;
}

.feature-panel__subheading small::before,
.feature-panel__subheading small::after {
  content: "";
  position: absolute;
  top: 51%;
  width: 1.25rem;
  height: 1px;
  background-color: var(--main-blue, #2768ae);
}

.feature-panel__subheading small::before {
  left: -1.75rem;
}

.feature-panel__subheading small::after {
  right: -1.75rem;
}

.example__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: min(100%, 53.25rem);
  margin: 0 auto;
}

.example__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(calc(30.5vw + .5rem),  20rem);
  margin-top: 2rem;
  padding-top: 1rem;
}

.example__title {
  position: absolute;
  top: 0;
  left: 50%;
  width: fit-content;
  height: 2rem;
  padding: 0 1.5em;
  border-radius: 1em;
  color: #fff;
  font-size: 18px;
  letter-spacing: .1em;
  transform: translateX(-50%);
  z-index: 10;
}

.example__content--issue .example__title {
    background-color: var(--sky-blue, #40bce3);
}

.example__content--issue .example__title::after {
  background-color: var(--sky-blue);
}

.example__content--effect .example__title {
  background-color: var(--orange, #EB7E2D);
}

.example__balloon {
  position: relative;
  margin-bottom: 2rem;
  padding: 2.25rem min(3vw, 2.5rem) 2rem;
  border-radius: 1em;
  z-index: 1;
}

.example__content--issue .example__balloon {
  background-color: #E2F3FB;
}

.example__content--effect .example__balloon {
  background-color: #FCF1E4;
}

.example__balloon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom:-2rem;
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 1rem solid transparent;
  border-left: 1rem solid transparent;
  border-bottom: 0;
  transform: translateX(-50%);
}

.example__content--issue .example__balloon::after {
  border-top: 2rem solid #E2F3FB;
}

.example__content--effect .example__balloon::after {
  border-top: 2rem solid #FCF1E4;
}

@media screen and (min-width: 768px) {
  .feature-panel__example--imco2 .example__balloon {
    min-height: 18rem;
  }
  
  .feature-panel__example--erp2 .example__balloon {
    min-height: 14.5rem;
  }
}

.example__list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.example__item {
  position: relative;
  padding-left: 1em;
  font-size: clamp(.875rem, calc(1.5vw + .125em), 1rem);
}

.example__item::before {
  position: absolute;
  left: -.75em;
  top: .75em;
  content: "";
  width: .75em;
  height: .75em;
  background-color: currentColor;
  border-radius: 50%;
  font-size: .75em;
}

.example__content--issue .example__item::before {
  background-color: var(--sky-blue, #40bce3);
}

.example__content--effect .example__item::before {
  background-color: var(--orange, #EB7E2D);
}

.example__arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 8.3em;
  height: 10.2em;
  background: url(../img/example_arrow_pc.svg) center / contain no-repeat;
  font-size: min(calc(1.9vw + .25rem), 20px);
  color: var(--main-blue, #2768ae);
  text-align: center;
  font-weight: 600;
}

.example__arrow p {
  font-size: clamp(1rem, calc(1.9vw + .25rem), 1.25rem);
}


@media (max-width: 767px) {
  .feature-panel {
    position: relative;
    padding: 5rem 1rem 2.5rem;
  }

  .feature-panel__title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: .5em 0 .75em;
    background: var(--blue-gradation);
    color: #fff;
    text-align: center;
  }

  .feature-panel__title-main {
    font-size: clamp(1.25rem, 5.3333vw, 1.75rem);
    line-height: 1;
    font-weight: 600;
  }

  .feature-panel__copy {
    width: 100%;
  }

  .features__container {
    padding: 1em;
  }

  .feature-panel__subheading {
    flex-direction: column;
  }

  .feature-panel__subheading small {
    margin-left: 0;
  }

  .feature-panel__features {
    margin-bottom: 2rem;
  }
  
  .features__list {
    margin-left: .25rem;
    border: none;
  }
  
  .features__item {
    margin-left: 0;
    padding-left: .75em;
  }

  .feature-panel__example {
    margin-top: 2rem;
  }

  .example__balloon {
    padding-top: 1.75rem;
    margin-bottom: 1.5rem;
  }

  .example__balloon::after {
    bottom: -1.5rem;
  }
  
  .example__content--issue .example__balloon::after {
    border-top: 1.5rem solid #E2F3FB;
  }
  
  .example__content--effect .example__balloon::after {
    border-top: 1.5rem solid #FCF1E4;
  }

  .example__container {
    flex-direction: column;
  }

  .example__content {
    width: 100%;
    margin-top: 1rem;
    padding-top: .75rem;
  }

  .example__content:last-child {
    margin-top: .75rem;
  }

  .example__title {
    padding: 0 1em;
    height: 1.5rem;
    font-size: 15px;
  }

  .example__item {
    margin-left: .57142em;
    padding-left: .57142em;
  }

  .example__arrow {
    width: min(42vw, 180px);
    max-height: 8rem;
    margin-top: .75rem;
    background: url(../img/example_arrow_sp.svg) center / contain no-repeat;
  }
  

  
  .example__img {
    width: min(35vw, 161px);
  }
}

/* ---------- Cases ---------- */
.cases {
  position: relative;
  background: var(--blue-gradation, linear-gradient(to right, #2768ae, #40bce3));
  overflow: hidden;
}

.cases::before,
.cases::after {
  content: "";
  position: absolute;
  width: clamp(183px, 30vw, 321px);
  height: clamp(300px, 50vw, 526px);
  background: url(../img/bg_gear-white.svg) center / contain no-repeat;
  opacity: 0.13;
}

.cases::before {
  top: -7rem;
  left: -3rem;
}

.cases::after {
  right: -6rem;
  bottom: -9rem;
  transform: rotate(192deg);
}

.cases .section__heading {
  color: #fff;
}

.cases__item {
  position: relative;
  height: 22.5rem;
  padding: 2rem 0;
  background-color: #fff;
  box-shadow: 0 0 20px rgba(39, 104, 174, 0.4);
  border-radius: .5rem;
  overflow: hidden;
}

.cases__item h3 {
  position: relative;
  margin-bottom: 2rem;
  padding: 0 1rem 0 2.5rem;
  width: fit-content;
  color: var(--main-blue, #2768ae);
  font-size: clamp(1rem, 2.67vw, 1.75rem);
  border-bottom: 1px solid var(--main-blue, #2768ae);
  z-index: 10;
}

.cases__desc {
  padding-left: 2.5rem;
}

.cases__img {
  position: absolute;
  top: 0;
  right: 0;
  width: fit-content;
  height: 100%;
  mask-image: linear-gradient(to right, transparent 2%, black 30%);
}

.cases__item .link-btn {
  position: absolute;
  left: 2.5rem;
  bottom: 1.5rem;
}

@media (max-width: 767px) {
  .cases::before {
    top: -3rem;
    left: -4rem;
  }
  
  .cases::after {
    right: -4.5rem;
    bottom: -3rem;
    transform: rotate(200deg);
  }
  
  .cases__item {
    height: 24.5rem;
    padding: 1.5rem 0 2rem;
  }

  .cases__item h3 {
    margin-bottom: 0;
    padding: 0 .5em 0 1em;
  }

  .cases__desc {
    padding: 1rem;
  }

  .cases__img {
    top: 9rem;
    height: 11rem;
    bottom: 0;
    width: 100%;
    mask-image: linear-gradient(to bottom, transparent 10%, black 30%);
  }

  .cases__img img {
    width: 100%;
  }

  .cases__item .link-btn {
    left: 50%;
    transform: translateX(-50%);
  }
}


/* ---------- FAQ ---------- */
.faq .container {
  max-width: 52rem;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 1.5rem auto 0;
  padding: 0;
}

.faq__question {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 5rem;
  border: 0;
  color: #fff;
  background-color: var(--main-blue, #2768ae);
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
}

.faq__question span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 4.5rem;
  margin-right: 2rem;
  border-right: 1px solid #fff;
  font-size: 24px;
}

.faq__question::after {
  content: "";
  position: absolute;
  right: 2.5rem;
  top: 50%;
  width: 0;
  height: 0;
  border-style: solid;
  border-right: .5rem solid transparent;
  border-left: .5rem solid transparent;
  border-top: 1rem solid #fff;
  border-bottom: 0;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.faq__question[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(180deg);
}

.faq__answer {
  padding: 2.5rem;
  background-color: rgba(48, 167, 227, 0.08);
}

.faq__answer p {
  line-height: 1.8;
}

@media (max-width: 767px) {
  .faq__list {
    gap: 1em;
  }
  .faq__question {
    height: auto;
    min-height: 3em;
    padding: .25em 2rem .25em 0;
    font-size: clamp(.875rem, 3.7vw, 1rem);
    line-height: 1.45;
  }

  .faq__question::after {
    right: 1rem;
    border-right: .35em solid transparent;
    border-left: .35em solid transparent;
    border-top: .7em solid #fff;
  }

  .faq__question span {
    align-self: stretch;
    min-width: 2.5em;
    max-width: 2.5em;
    height: auto;
    margin-right: .5em;
    font-size: clamp(.875rem, 3.7vw, 1rem);
  }

  .faq__answer {
    padding: 1rem 1rem 1.25rem;
  }

  .faq__answer p {
    line-height: 1.5;
  }
}

/* ---------- About ---------- */
.about {
  background-color: #edf1f5;
}

.about .container {
  max-width: 52rem;
}

.about__contents {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: .5rem;
}

.about__content {
  padding: 2.5rem 4.5rem 3.5rem;
  background-color: #fff;
  box-shadow: 0 0 20px rgb(219 227 233);
  text-align: center;
}

.about__title {
  margin-bottom: 2rem;
  color: var(--main-blue, #2768ae);
  font-size: 24px;
}

.about__title span {
  display: block;
  width: fit-content;
  margin: 0 auto .5em;
  padding: 0 .75em;
  border: 2px solid;
  border-radius: .4rem;
  font-size: 16px;
}

.about__content p {
  margin-bottom: 3rem;
  text-align: left;
  line-height: 1.8;
}

.about__copyright {
  font-size: 14px;
}

@media (max-width: 767px) {
  .about__title {
    margin: 0 auto 1.25rem;
    font-size: 18px;
  }

  .about__title img {
    width: 33vw;
  }

  .about__title span {
    font-size: 14px;
  }

  .about__content {
    padding: 1.5rem 1em 2rem;
  }

  .about__content p {
    margin-bottom: 2rem;
    line-height: 1.72;
  }

  .about__copyright {
    font-size: 12px;
  }
}

/* ---------- Contact ---------- */
.contact {
  position: relative;
  padding-block-start: 13rem;
  background: var(--blue-gradation, linear-gradient(to right, #2768ae, #40bce3));
}

.contact::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../img/hero_bg.jpg) center 60% / max(100vw, 1920px) no-repeat;
  mix-blend-mode: multiply;
  opacity: .2;
  z-index: 1;
}

.contact__container {
  position: relative;
  width: min(calc(100% - 2rem), 40rem);
  margin: auto;
  padding: 3rem 2rem 4.5rem;
  background-color: #fff;
  text-align: center;
  z-index: 10;
}

.contact__img {
  position: absolute;
  top: -142px;
  left: 50%;
  transform: translateX(-50%);
}

.contact__heading {
  margin-bottom: 2rem;
  font-size: 18px;
}

.contact__btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: .5em;
  margin: auto;
  padding: .75em 1.5em;
  width: fit-content;
  background: var(--blue-gradation, linear-gradient(to right, #2768ae, #40bce3));
  font-size: 24px;
}

.contact__btn::after {
  content: "";
  width: 2rem;
  height: 1.5rem;
  background: url(../img/icon_mail.svg) center / contain no-repeat;
}

@media (max-width: 767px) {
  .contact {
    padding-block-start: 6.5rem;
  }

  .contact::after {
    background: url(../img/hero_bg.jpg) center 60% / 1150px no-repeat;
  }

  .contact__container {
    width: calc(100% - 4rem);
    padding: 1.5rem 0 2.5rem;
  }

  .contact__img {
    top: -83px;
    width: 173px;
  }

  .contact__heading {
    margin-bottom: 1rem;
    font-size: 15px;
  }

  .contact__btn {
    gap: .25em;
    padding: .75em 1em;
    font-size: 1rem;
  }
  .contact__btn::after {
    width: 1.5rem;
    height: 1rem;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  padding-block-start: 4rem;
  padding-block-end: .625rem;
  color: #fff;
  text-align: center;
  z-index: 10;
}

.site-footer__company {
  margin-bottom: 1.25rem;
  font-size: 24px;
}

.site-footer__copy {
  font-size: 12px;
  font-weight: 400;
}

@media (max-width: 767px) {
  .site-footer {
    padding-block-start: 2rem;
    padding-block-end: .5rem;
  }

  .site-footer__company {
    margin-bottom: 1rem;
    font-size: 15px;
  }
  
  .site-footer__copy {
    font-size: 10px;
  }
  
}



.bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../img/bg.jpg) left top / 100% no-repeat;
  z-index: 10000;
  pointer-events: none;
  opacity: .4;
}

@media (max-width: 767px) {
  .bg {
    background: url(../img/bg_sp.jpg) left top / 100% no-repeat;
  }
}

/* ---------- Animations for Sections ---------- */
/* Fade Up Animation */
.fade-up {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay variations for staggered animation */
.fade-up--delay-1.is-visible {
  transition-delay: 0.6s;
}

.fade-up--delay-2.is-visible {
  transition-delay: 0.8s;
}

.fade-up--delay-3.is-visible {
  transition-delay: 0.4s;
}

.fade-up--delay-4.is-visible {
  transition-delay: 0.6s;
}

/* Slide from Left Animation */
.slide-from-left {
  opacity: 0;
  transform: translateX(-2rem);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-from-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from Right Animation */
.slide-from-right {
  opacity: 0;
  transform: translateX(2rem);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-from-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .fade-up,
  .slide-from-left,
  .slide-from-right {
    transition: none;
    opacity: 1;
    transform: none;
  }
}