@charset "UTF-8";

/* ========================================
   Common
======================================== */
:root {
  --color-primary: #225086;
  --color-text: #303030;
  --color-subtext: #747a88;
  --color-bg: #f6f8fc;
  --font-jp: "Noto Sans JP", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "Poppins", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-jp);
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
}

main {
  padding-top: 100px;
}

/* ========================================
   Header
======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 100px;
  background: #f6f9fe;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 92%;
  max-width: none;
  height: 100%;
  margin: 0 auto;
}

.site-logo {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  width: 153px;
  height: 40px;
}

.site-logo__mark {
  width: 88px;
  height: 31.709px;
}

.site-logo__caption {
  color: #333;
  font-family: var(--font-en);
  font-size: 8px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
}

.site-header__actions,
.site-nav,
.header-contact {
  display: flex;
  align-items: center;
}

.site-header__actions {
  gap: max(26px, 2vw);
}

.site-nav {
  gap: max(16px, 1.1vw);
}

.site-nav a {
  font-size: max(14px, 1vw);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .05em;
  white-space: nowrap;
}

.header-contact {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  gap: 7px;
  justify-content: center;
  min-width: max(164px, 10vw);
  height: max(44px, 2.4vw);
  padding: 0 max(30px, 2vw);
  border-radius: 50px;
  background: var(--color-primary);
  color: #fff;
  font-size: max(14px, 1vw);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .05em;
  white-space: nowrap;
}

.header-contact img {
  width: max(2.773px, .18vw);
  height: auto;
}

.menu-button {
  position: relative;
  z-index: 2;
  display: none;
  width: 50px;
  height: 30px;
  cursor: pointer;
}

.menu-button span {
  position: absolute;
  right: 10px;
  display: block;
  width: 30px;
  height: 2px;
  border-radius: 4px;
  background: #323232;
  transition: top .4s ease, transform .4s ease, opacity .4s ease;
}

.menu-button span:nth-child(1) {
  top: 4px;
}

.menu-button span:nth-child(2) {
  top: 14px;
}

.menu-button span:nth-child(3) {
  top: 24px;
}

.menu-button.is-active span:nth-child(1) {
  top: 14px;
  transform: rotate(-45deg);
}

.menu-button.is-active span:nth-child(2) {
  transform: rotate(45deg);
}

.menu-button.is-active span:nth-child(3) {
  top: 14px;
  opacity: 0;
}

/* ========================================
   Hero
======================================== */
.hero {
  height: max(635px, min(calc(38.67vw + 78.15px), calc(100svh - 150px)));
  overflow: hidden;
  background: var(--color-bg);
}

.hero__inner {
  position: relative;
  width: 85%;
  max-width: none;
  height: 100%;
  margin: 0 auto;
}

.hero-intro {
  position: absolute;
  top: max(48px, calc(4.257vw - 6.49px));
  left: 0;
  width: 40%;
  height: auto;
}

.hero-intro__eyebrow {
  margin: 0;
  color: var(--color-primary);
  font-size: max(22px, calc(1.812vw - 1.19px));
  font-weight: 700;
  font-feature-settings: "palt" 1, "kern" 0;
  line-height: 1;
  white-space: nowrap;
}

.hero-intro__title-row {
  display: flex;
  align-items: center;
  gap: max(30px, calc(2.717vw - 4.78px));
  width: 100%;
  height: max(120px, calc(11.775vw - 30.72px));
  margin-top: max(8px, .5vw);
}

.hero-intro__title {
  margin: 0;
  color: var(--color-primary);
  font-family: var(--font-en);
  font-size: max(120px, calc(9.24vw + 1.73px));
  font-weight: 600;
  letter-spacing: .03em;
  line-height: 1;
}

.hero-intro__english {
  margin: 0;
  color: var(--color-subtext);
  font-family: var(--font-en);
  font-size: max(20px, calc(1.63vw - .86px));
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
}

.hero-intro__description {
  margin: max(8px, .5vw) 0 0;
  color: var(--color-text);
  font-size: max(16px, calc(1.295vw - .58px));
  font-weight: 500;
  font-feature-settings: "palt" 1, "kern" 0;
  line-height: 1.6;
  white-space: nowrap;
}

.hero-services {
  position: absolute;
  top: max(298px, calc(25.5vw - 28.4px));
  left: 0;
  display: grid;
  grid-template-columns: minmax(100px, 1fr) 1px minmax(116px, 1.16fr) 1px minmax(100px, 1fr);
  align-items: stretch;
  justify-content: space-between;
  width: 40%;
  height: max(97px, calc(11.14vw - 45.6px));
}

.hero-service {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  gap: max(8px, calc(.725vw - 1.28px));
}

.hero-service__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: max(50px, calc(7.246vw - 42.75px));
}

.hero-service:nth-child(1) .hero-service__icon img {
  width: max(59.757px, calc(4.551vw + 1.51px));
  height: auto;
}

.hero-service--training .hero-service__icon img {
  width: max(62.107px, calc(4.7vw + 1.95px));
  height: auto;
}

.hero-service:nth-child(5) .hero-service__icon img {
  width: max(65.08px, calc(4.79vw + 3.77px));
  height: auto;
}

.hero-service__name {
  color: #333;
  font-size: max(18.462px, calc(1.498vw - .71px));
  font-weight: 500;
  font-feature-settings: "palt" 1, "kern" 0;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}

.hero-service__name small {
  display: block;
  font-size: max(10.769px, calc(.655vw + 2.38px));
  font-weight: 500;
  line-height: 1.4;
}

.hero-services__divider {
  width: 1px;
  height: 100%;
  background: #dce1e9;
}

/* Hero diagram */
.hero-diagram {
  position: absolute;
  top: 50%;
  right: 0;
  left: auto;
  width: max(639.782px, 55%);
  aspect-ratio: 639.782 / 490;
  container-type: inline-size;
  transform: translateY(-50%);
}

.hero-diagram__center-bg,
.hero-diagram__orbit,
.hero-diagram__center,
.diagram-node,
.project-phases {
  position: absolute;
}

.hero-diagram__center-bg {
  z-index: 1;
  top: 16.968%;
  left: 14.208%;
  width: 51.983%;
}

.hero-diagram__orbit {
  z-index: 2;
  top: 9.502%;
  left: 8.49%;
  width: 63.42%;
}

.hero-diagram__center {
  z-index: 3;
  top: 31.448%;
  left: 25.299%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 29.864%;
  aspect-ratio: 1;
  padding-bottom: .94%;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 2.928cqw rgba(34, 80, 134, .1);
}

.hero-diagram__center img {
  width: 53.387%;
  height: auto;
}

.diagram-node {
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 15.594%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 1.952cqw rgba(38, 58, 186, .1);
  color: #333;
  font-size: 1.563cqw;
  font-weight: 500;
  font-feature-settings: "palt" 1, "liga" 0, "kern" 0;
  line-height: 1.665;
  text-align: center;
  white-space: nowrap;
}

.diagram-node__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 41.72%;
}

.diagram-node--scope { top: 0; left: 21.833%; }
.diagram-node--progress { top: .679%; left: 42.279%; }
.diagram-node--risk { top: 14.932%; left: 5.372%; }
.diagram-node--cost { top: 40.498%; left: 0; }
.diagram-node--resource { top: 64.932%; left: 5.372%; }
.diagram-node--vendor { top: 79.412%; left: 21.833%; }
.diagram-node--report { top: 79.638%; left: 42.279%; }

.diagram-node--scope .diagram-node__icon img { width: 28.09%; }
.diagram-node--progress .diagram-node__icon img { width: 37.51%; }
.diagram-node--risk .diagram-node__icon img { width: 25.03%; }
.diagram-node--cost .diagram-node__icon img { width: 35.05%; }
.diagram-node--resource .diagram-node__icon img { width: 26.57%; }
.diagram-node--report .diagram-node__icon img { width: 29.91%; }

.diagram-node__icon--vendor {
  position: relative;
  width: 33.03%;
}

.diagram-node__icon--vendor img {
  position: absolute;
  width: 80.47%;
}

.vendor-icon__back {
  top: 23%;
  right: 0;
}

.vendor-icon__front {
  top: 4%;
  left: 0;
}

.project-phases {
  z-index: 5;
  top: 1.048%;
  left: 63.081%;
  display: grid;
  grid-template-rows: repeat(8, 1fr);
  gap: 2.54%;
  width: 36.919%;
  height: 98.293%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-phases li {
  display: flex;
  align-items: center;
  gap: 3.387%;
  width: 100%;
  min-height: 0;
  padding: 0 6.774%;
  border-radius: 1.25cqw 0 0 1.25cqw;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
  color: #333;
  white-space: nowrap;
}

.project-phases strong {
  color: var(--color-primary);
  font-family: var(--font-en);
  font-size: 3.126cqw;
  font-weight: 600;
  letter-spacing: .03em;
  line-height: 1;
}

.project-phases span {
  font-size: 2.501cqw;
  font-weight: 500;
  font-feature-settings: "palt" 1, "liga" 0, "kern" 0;
  line-height: 1.04;
}

/* Hero contact button */
.hero-contact {
  position: absolute;
  top: min(
    max(455px, calc(35.78vw - 3px)),
    calc(100% - max(66px, calc(5.435vw - 3.57px)) - 20px)
  );
  left: 0;
  display: flex;
  align-items: center;
  gap: max(8px, calc(1.087vw - 5.91px));
  width: 40%;
  height: max(66px, calc(5.435vw - 3.57px));
  padding: 0 max(24px, calc(2.174vw - 3.83px)) 0 max(16px, calc(1.449vw - 2.55px));
  border-radius: 100px;
  background: var(--color-primary);
  color: #fff;
  white-space: nowrap;
}

.hero-contact__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 max(140px, calc(12.59vw - 21.15px));
  width: max(140px, calc(12.59vw - 21.15px));
  height: max(34px, calc(2.989vw - 4.26px));
  border-radius: 100px;
  background: #fff;
  color: var(--color-primary);
  font-size: max(17px, calc(1.094vw + 3px));
  font-weight: 700;
  line-height: 1;
}

.hero-contact__label {
  flex: 1 1 auto;
  min-width: 0;
  font-size: max(21px, 1.5625vw);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .05em;
}

.hero-contact > img {
  flex: 0 0 auto;
  width: max(6.391px, calc(.58vw - 1.03px));
  height: auto;
}

/* ========================================
   Features
======================================== */
.features-section {
  height: 410px;
  background: var(--color-bg);
}

@media (min-width: 1151px) {
  .features-section {
    margin-top: 100px;
  }
}

.features-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: calc(100% - 200px);
  max-width: 1080px;
  height: 100%;
  margin: 0 auto;
}

.section-heading {
  display: flex;
  flex: 0 0 96px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  height: 96px;
}

.section-heading__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: var(--color-primary);
  font-family: var(--font-en);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1;
}

.section-heading p {
  margin: 0;
  color: var(--color-subtext);
  font-size: 16px;
  font-weight: 500;
  font-feature-settings: "palt" 1, "kern" 0;
  letter-spacing: .08em;
  line-height: 1;
}

.section-heading__line {
  display: block;
  flex: 0 0 1px;
  width: 42.5px;
  height: 1px;
  min-height: 1px;
  background: #dedfe4;
}

.faq-section .section-heading__line {
  background: #8cadd5;
}

.feature-cards {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  height: 284px;
}

.feature-card {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 0;
  height: 284px;
  padding: 40px 16px;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 24px rgba(38, 58, 186, .1);
}

.feature-card__icon {
  display: flex;
  flex: 0 0 100px;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #f6f9fe;
}

.feature-card__icon-expert {
  width: 66.841px;
  height: 45.377px;
}

.feature-card__icon-method {
  width: 56.436px;
  height: 57.25px;
}

.feature-card__icon-results {
  width: 61.558px;
  height: 61.66px;
}

.feature-card__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: center;
}

.feature-card h3 {
  width: 100%;
  margin: 0;
  color: var(--color-primary);
  font-size: 22px;
  font-weight: 700;
  font-feature-settings: "palt" 1, "kern" 0;
  line-height: 1;
  overflow-wrap: break-word;
}

.feature-card p {
  width: 100%;
  margin: 0;
  color: #63666e;
  font-size: 14px;
  font-weight: 500;
  font-feature-settings: "palt" 1, "liga" 0, "kern" 0;
  line-height: 1.8;
  overflow-wrap: break-word;
}

/* ========================================
   Services
======================================== */
.services-section {
  height: 600px;
  margin-top: 100px;
  background: var(--color-bg);
}

.services-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: calc(100% - 200px);
  max-width: 1080px;
  height: 100%;
  margin: 0 auto;
}

.service-cards {
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  height: 474px;
}

.service-card {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
  height: 474px;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 12px rgba(38, 58, 186, .1);
}

.service-card__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(39, 100, 239, .15);
}

.service-card__title {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
}

.service-card__icon {
  display: flex;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  overflow: hidden;
}

.service-card__icon img {
  max-width: none;
}

.service-card__icon-support {
  width: 27.629px;
  height: 18.979px;
}

.service-card__icon-training {
  width: 27.804px;
  height: 17.322px;
}

.service-card__icon-advisory {
  width: 29.948px;
  height: 20.384px;
}

.service-card__title h3 {
  margin: 0;
  color: var(--color-primary);
  font-size: 26px;
  font-weight: 700;
  font-feature-settings: "palt" 1, "kern" 0;
  line-height: 1;
  white-space: nowrap;
}

.service-card__title h3 small {
  font-size: 14px;
  font-weight: 700;
}

.service-card__lead {
  width: 100%;
  margin: 0;
  color: #333;
  font-size: 16px;
  font-weight: 700;
  font-feature-settings: "palt" 1, "kern" 0;
  line-height: 1.6;
  text-align: center;
}

.service-card__description {
  width: 100%;
  min-height: 40px;
  margin: 0;
  color: #636363;
  font-size: 14px;
  font-weight: 400;
  font-feature-settings: "palt" 1, "kern" 0;
  line-height: 20px;
  text-align: justify;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  margin: 0;
  padding: 0;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  font-feature-settings: "palt" 1, "kern" 0;
  line-height: 28px;
  list-style: none;
}

.service-card__list li {
  position: relative;
  min-height: 28px;
  padding-left: 28px;
  overflow-wrap: break-word;
}

.service-card__list li:not(.service-card__etc)::before {
  position: absolute;
  top: 5px;
  left: 0;
  width: 18px;
  height: 18px;
  background: url("../img/service-check.svg") center / contain no-repeat;
  content: "";
}

.service-card__list .service-card__etc {
  padding-left: 0;
}

/* ========================================
   Cases
======================================== */
.cases-section {
  height: 364px;
  margin-top: 100px;
  background: var(--color-bg);
}

.cases-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: calc(100% - 200px);
  max-width: 1080px;
  height: 100%;
  margin: 0 auto;
}

.case-slider {
  position: relative;
  width: 100%;
}

.case-cards-scroll {
  width: calc(100% + 24px);
  height: 238px;
  margin: -12px;
  padding: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  touch-action: pan-x pan-y;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}

.case-cards-scroll.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.case-cards-scroll::-webkit-scrollbar {
  display: none;
}

.case-slider__button {
  position: absolute;
  z-index: 3;
  top: 107px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(37, 85, 139, .2);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.case-slider__button--prev {
  left: -28px;
}

.case-slider__button--next {
  right: -28px;
}

.case-slider__button span {
  display: block;
  width: 11px;
  height: 11px;
  border-top: 3px solid var(--color-primary);
  border-right: 3px solid var(--color-primary);
}

.case-slider__button--prev span {
  transform: translateX(2px) rotate(-135deg);
}

.case-slider__button--next span {
  transform: translateX(-2px) rotate(45deg);
}

.case-slider__button:hover {
  box-shadow: 0 4px 16px rgba(37, 85, 139, .3);
}

.case-slider__button:focus-visible {
  box-shadow: 0 4px 16px rgba(37, 85, 139, .3);
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.case-slider__button:active {
  transform: translateY(-50%) scale(.94);
}

.case-cards {
  display: flex;
  gap: 8px;
  width: max-content;
  height: 214px;
}

.case-card {
  display: flex;
  flex: 0 0 344px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 344px;
  height: 214px;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 12px rgba(38, 58, 186, .1);
  scroll-snap-align: start;
}

.case-card__industry {
  display: flex;
  flex: 0 0 100px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100px;
  border-radius: 8px;
  background: var(--color-primary);
  color: #fff;
}

.case-card__industry-icon {
  display: flex;
  flex: 0 0 50px;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
}

.case-card__icon-manufacturing {
  width: 29.5px;
  height: 39.33px;
}

.case-card__icon-real-estate {
  width: 38.29px;
  height: 35.96px;
}

.case-card__icon-internet-ad {
  width: 40.265px;
  height: 32px;
}

.case-card__icon-fitness {
  width: 39.591px;
  height: 36px;
}

.case-card__icon-food-retail {
  width: 41.143px;
  height: 36px;
}

.case-card__icon-specialty-trading {
  width: 31.354px;
  height: 40px;
}

.case-card__icon-building-management {
  width: 38.29px;
  height: 35.96px;
}

.case-card__icon-commercial-facility {
  width: 44.48px;
  height: 39.75px;
}

.case-card__icon-travel {
  width: 43.204px;
  height: 29.747px;
}

.case-card__icon-government {
  width: 39.63px;
  height: 37.28px;
}

.case-card__icon-welfare {
  width: 35.784px;
  height: 37.025px;
}

.case-card__icon-call-center {
  width: 37.827px;
  height: 42px;
}

.case-card__industry-name {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.case-card__details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.case-card__name {
  width: 100%;
  margin: 0;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  font-feature-settings: "palt" 1, "kern" 0;
  line-height: 1.6;
  text-align: center;
  white-space: nowrap;
}

.case-card__period {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.case-card__period-label {
  padding: 4px 7px;
  border-radius: 4px;
  background: #e3ecfa;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.case-card__period-value {
  margin: 0;
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.case-card__period-value strong {
  font-family: var(--font-en);
  font-size: 24px;
}

.case-card__period-value span {
  font-size: 16px;
}

/* ========================================
   Flow
======================================== */
.flow-section {
  height: 276px;
  margin-top: 100px;
  background: var(--color-bg);
}

.flow-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: calc(100% - 200px);
  max-width: 1080px;
  height: 100%;
  margin: 0 auto;
}

.flow-steps {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  height: 150px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-steps::before {
  position: absolute;
  z-index: 0;
  top: 55px;
  right: 48.056px;
  left: 56.909px;
  height: 1px;
  background: rgba(34, 80, 134, .5);
  content: "";
}

.flow-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.flow-step:nth-child(1),
.flow-step:nth-child(2),
.flow-step:nth-child(3),
.flow-step:nth-child(6) {
  width: 110px;
}

.flow-step:nth-child(4) {
  width: 144px;
}

.flow-step:nth-child(5) {
  width: 154px;
}

.flow-step:nth-child(7) {
  width: 152px;
}

.flow-step__icon {
  display: flex;
  flex: 0 0 110px;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px rgba(38, 58, 186, .1);
}

.flow-step__icon > img,
.flow-step__meeting-icon img {
  max-width: none;
}

.flow-step__icon-hearing {
  width: 53.676px;
  height: 55.943px;
}

.flow-step__icon-proposal {
  width: 63.008px;
  height: 58px;
}

.flow-step__icon-contract {
  width: 66.841px;
  height: 45.377px;
}

.flow-step__icon-project {
  width: 61.945px;
  height: 62px;
}

.flow-step__meeting-icon {
  position: relative;
  display: block;
  width: 65.959px;
  height: 46.565px;
}

.flow-step__meeting-icon img {
  position: absolute;
}

.flow-step__meeting-left,
.flow-step__meeting-right {
  top: 2px;
  width: 27.269px;
  height: 44.565px;
}

.flow-step__meeting-left {
  left: 0;
}

.flow-step__meeting-right {
  right: 0;
}

.flow-step__meeting-center {
  top: 0;
  left: 14.3px;
  width: 37.161px;
  height: 32.292px;
}

.flow-step__icon-report {
  width: 42.292px;
  height: 62px;
}

.flow-step__icon-handover {
  width: 61.898px;
  height: 62px;
}

.flow-step__label {
  width: 100%;
  height: 26px;
  margin: 0;
  color: var(--color-primary);
  font-size: 18px;
  font-weight: 700;
  font-feature-settings: "palt" 1, "kern" 0;
  line-height: 26px;
  text-align: center;
  white-space: nowrap;
}

.flow-step__label--wrap span {
  display: inline;
}

.flow-step__label--handover small {
  font-size: 14px;
  font-weight: 700;
}

/* ========================================
   FAQ
======================================== */
.faq-section {
  position: relative;
  margin-top: 100px;
}

.faq-section__curve {
  width: 100%;
  height: 80px;
}

.faq-section__body {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 16px 100px;
  background: #e3ecfa;
}

.faq-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  width: 100%;
  max-width: 1080px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.faq-item {
  width: 100%;
  padding: 15px;
  border-radius: 15px;
  background: #fff;
}

.faq-question {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30.1px;
  gap: 10px;
  align-items: start;
  width: 100%;
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question__main,
.faq-answer {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  min-width: 0;
}

.faq-question__main {
  min-height: 30px;
}

.faq-item__mark {
  flex: 0 0 24px;
  width: 24px;
  color: var(--color-primary);
  font-family: var(--font-en);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: .05em;
  line-height: 30px;
  text-align: center;
  white-space: nowrap;
}

.faq-question__text {
  flex: 1 1 auto;
  min-width: 0;
  padding-top: 2px;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  font-feature-settings: "palt" 1, "kern" 0;
  line-height: 26px;
}

.faq-question__toggle {
  width: 30.1px;
  height: 30.1px;
  transform: rotate(90deg);
  transition: transform .2s ease;
}

.faq-item[open] .faq-question__toggle {
  transform: rotate(-90deg);
}

.faq-answer {
  width: calc(100% - 40.1px);
  margin-top: 20px;
}

.faq-answer .faq-item__mark {
  flex-basis: 22px;
  width: 22px;
  line-height: 48.853px;
}

.faq-answer__text {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  font-feature-settings: "palt" 1, "kern" 0;
  line-height: 26px;
}

.back-to-top {
  position: fixed;
  right: 50px;
  bottom: 50px;
  z-index: 15;
  width: 60px;
  height: 60px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top img {
  width: 60px;
  height: 60px;
}

/* ========================================
   Contact
======================================== */
.contact-section {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 561px;
  padding: 0 16px;
  background: var(--color-primary);
  color: #fff;
}

.contact-section__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  max-width: 1080px;
  height: 365px;
}

.contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 760px;
  height: 253px;
  margin: 0 auto;
  text-align: center;
}

.contact-content h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-en);
  font-size: 45px;
  font-weight: 600;
  letter-spacing: .05em;
  line-height: 1;
}

.contact-content > p {
  width: 100%;
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 30px;
}

.contact-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 500px;
  height: 78px;
  padding: 16px 24px 16px 16px;
  border-radius: 100px;
  background: #fff;
  color: var(--color-primary);
}

.contact-button__content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-button__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 20px;
  border-radius: 100px;
  background: var(--color-primary);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.contact-button__label {
  color: var(--color-primary);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1;
  white-space: nowrap;
}

.contact-button > img {
  flex: 0 0 6.391px;
  width: 6.391px;
  height: 11.095px;
}

/* Contact button interaction */
.header-contact,
.hero-contact,
.contact-button {
  transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.header-contact img,
.hero-contact > img,
.contact-button > img {
  transition: transform .25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .header-contact:hover,
  .hero-contact:hover {
    background: #193f6d;
    box-shadow: 0 8px 20px rgba(18, 57, 101, .2);
    transform: translateY(-2px);
  }

  .contact-button:hover {
    background: #eef4fb;
    box-shadow: 0 8px 20px rgba(18, 57, 101, .2);
    transform: translateY(-2px);
  }

  .header-contact:hover img,
  .hero-contact:hover > img,
  .contact-button:hover > img {
    transform: translateX(4px);
  }
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: #fff;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
}

.site-footer__copyright {
  margin: 0;
  font-size: 12px;
  letter-spacing: .05em;
  line-height: 12px;
}

.site-footer__links {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 14px;
  letter-spacing: .05em;
  line-height: 12px;
}

.site-footer__links a {
  display: block;
}

/* PCレイアウトを保ったまま、図解全体を表示幅に合わせて縮小 */
@media (min-width: 1151px) and (max-width: 1279px) {
  .hero-diagram {
    top: 50%;
    right: -11.782px;
    left: auto;
    width: min(639.782px, calc(100% - 515px));
    transform: translateY(-50%);
  }
}

/* ========================================
   Tablet / compact desktop
======================================== */
@media (max-width: 1150px) {
  html {
    scroll-padding-top: 53px;
  }

  main {
    padding-top: 53px;
  }

  .site-header {
    height: 53px;
  }

  .site-header__inner {
    width: 100%;
    padding: 0 20px;
  }

  .site-logo {
    gap: 8.497px;
    width: 130.268px;
    height: 30px;
  }

  .site-logo__mark {
    width: 74.771px;
    height: 26.942px;
  }

  .site-logo__caption {
    font-size: 6.797px;
  }

  .site-header__actions {
    gap: 15px;
  }

  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 80px 20px 20px;
    border-radius: 0;
    background: rgba(255, 255, 255, .94);
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity .3s ease, transform .4s ease, visibility .4s;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a {
    position: relative;
    padding: 0 0 5px;
    border-bottom: 0;
    color: #2b3a4c;
    font-size: 14px;
    font-weight: 500;
  }

  .site-nav a::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-primary);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
  }

  .site-nav a:hover::after,
  .site-nav a:focus-visible::after {
    transform: scaleX(1);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .header-contact {
    min-width: 124.773px;
    height: 33px;
    padding: 0 15px;
    font-size: 13px;
  }

  .menu-button {
    display: flex;
  }

  .hero {
    height: auto;
  }

  .hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: none;
    height: auto;
    padding: 16px 0 60px;
  }

  .hero-intro,
  .hero-services,
  .hero-diagram,
  .hero-contact {
    position: relative;
    top: auto;
    left: auto;
  }

  .hero-intro {
    width: calc(100% - 32px);
    height: auto;
    container-type: inline-size;
  }

  .hero-intro__eyebrow {
    font-size: clamp(16px, 4.47cqw, 50px);
    letter-spacing: .04em;
  }

  .hero-intro__title-row {
    justify-content: flex-start;
    gap: clamp(11px, 3.1cqw, 35px);
    height: clamp(77px, 21.51cqw, 240px);
    margin-top: 8px;
  }

  .hero-intro__title {
    font-size: clamp(96px, 26.3cqw, 294px);
    letter-spacing: .06em;
    line-height: .8;
  }

  .hero-intro__english {
    font-size: clamp(16.052px, 4.4cqw, 49.2px);
  }

  .hero-intro__description {
    margin-top: 4px;
    font-size: clamp(13px, 3.63cqw, 40.5px);
    line-height: 1.6;
  }

  .hero-services {
    grid-template-columns: 100px 1px 116px 1px 100px;
    width: calc(100% - 32px);
    height: 90px;
    margin-top: 20px;
  }

  .hero-service__name {
    font-size: 16px;
  }

  .hero-service__name small {
    font-size: 10px;
    line-height: 1;
  }

  .hero-diagram {
    flex: 0 0 auto;
    /* SP版の比率を保ち、タブレット幅では上限を設けず画面幅に追従 */
    width: calc(100vw + 7.766px);
    margin-top: 30px;
    transform: translateX(20.883px);
  }

  .hero-contact {
    width: min(434.391px, calc(100% - 32px));
    height: 60px;
    margin-top: 30.356px;
    padding: 0 24px 0 16px;
    transform: none;
  }

  .hero-contact__badge {
    flex: 0 0 88px;
    width: 88px;
    height: 28px;
    font-size: 12px;
  }

  .hero-contact__label {
    flex: 1 1 auto;
    font-size: 18px;
    letter-spacing: 0;
  }

  .features-section__inner {
    width: calc(100% - 64px);
  }

  .services-section__inner {
    width: calc(100% - 64px);
  }

  .feature-card {
    padding-right: 10px;
    padding-left: 10px;
  }

  .feature-card h3 {
    font-size: clamp(17px, 2.2vw, 22px);
  }

  .feature-card p {
    font-size: clamp(11px, 1.4vw, 14px);
  }
}

/* 600px以上はサービス名も画面幅に合わせて段階的に拡大 */
@media (min-width: 600px) and (max-width: 1150px) {
  .hero-intro,
  .hero-services,
  .hero-diagram {
    width: calc(100% - 70px);
  }

  .hero-services {
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr) 1px minmax(0, 1fr);
    justify-content: stretch;
  }

  .hero-diagram {
    transform: none;
  }

  .hero-service__name {
    font-size: clamp(16px, 1.605vw, 18.462px);
  }

}

/* 3列カードが狭くなる幅では、文章量に合わせてカードを伸長 */
@media (min-width: 600px) and (max-width: 1279px) {
  .features-section,
  .features-section__inner,
  .feature-cards,
  .feature-card {
    height: auto;
  }

  .features-section {
    min-height: 410px;
  }

  .feature-cards {
    align-items: stretch;
  }

  .feature-card {
    min-height: 284px;
  }
}

/* Services: compact desktop */
@media (min-width: 1000px) and (max-width: 1279px) {
  .services-section,
  .services-section__inner,
  .service-cards,
  .service-card {
    height: auto;
  }

  .services-section {
    min-height: 600px;
  }

  .services-section__inner {
    width: calc(100% - 64px);
  }

  .cases-section__inner {
    width: calc(100% - 64px);
  }

  .flow-section__inner {
    width: calc(100% - 64px);
  }

  .faq-section__inner {
    width: calc(100% - 32px);
    max-width: 1080px;
  }

  .service-card {
    min-height: 474px;
  }
}

@media (min-width: 1000px) and (max-width: 1150px) {
  .service-card__title h3 {
    font-size: clamp(22px, 2.26vw, 26px);
  }

  .service-card__title h3 small {
    font-size: clamp(12px, 1.217vw, 14px);
  }

  .service-card__lead {
    font-size: clamp(14px, 1.391vw, 16px);
  }

  .service-card__description {
    font-size: clamp(12px, 1.217vw, 14px);
  }

  .service-card__list {
    font-size: clamp(13px, 1.391vw, 16px);
  }
}

/* Services: SPレイアウト */
@media (max-width: 999px) {
  .services-section {
    height: 1580px;
  }

  .services-section__inner {
    width: 100%;
    padding: 0 16px;
  }

  .service-cards {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    height: 1454px;
  }

  .service-card {
    flex: 0 0 474px;
    width: 100%;
    height: 474px;
  }

  .cases-section {
    height: 348px;
  }

  .cases-section__inner {
    width: 100%;
    padding: 0 16px;
  }

  .case-cards-scroll {
    height: 222px;
  }

  .case-cards {
    height: 198px;
  }

  .case-card {
    flex-basis: 280px;
    width: 280px;
    height: 198px;
    padding: 16px;
  }

  .flow-section {
    height: 579.862px;
  }

  .flow-section__inner {
    width: 100%;
    padding: 0 16px;
  }

  .flow-steps {
    display: grid;
    grid-template-columns: repeat(3, 92.513px);
    align-content: flex-start;
    align-items: flex-start;
    justify-content: space-between;
    row-gap: 16px;
    height: 453.862px;
  }

  .flow-steps::before {
    display: none;
  }

  .flow-step {
    flex: 0 0 92.513px;
    gap: 11.774px;
    width: 92.513px;
    height: 126.287px;
  }

  .flow-step:nth-child(n) {
    width: 92.513px;
  }

  .flow-step:nth-child(4),
  .flow-step:nth-child(5) {
    height: 145.287px;
  }

  .flow-step:nth-child(7) {
    height: 150.287px;
  }

  .flow-step__icon {
    flex-basis: 92.513px;
    width: 92.513px;
    height: 92.513px;
    box-shadow: 0 0 10.092px rgba(38, 58, 186, .1);
  }

  .flow-step__icon > img,
  .flow-step__meeting-icon {
    transform: scale(.841026);
  }

  .flow-step__label {
    height: auto;
    font-size: 15.138px;
    line-height: 21.867px;
  }

  .flow-step__label--wrap {
    line-height: 20.185px;
  }

  .flow-step__label--wrap span,
  .flow-step__label--handover span,
  .flow-step__label--handover small {
    display: block;
  }

  .flow-step__label--handover small {
    font-size: 11.774px;
    line-height: 21.867px;
  }

  .faq-section__inner {
    gap: 30px;
  }

  .back-to-top {
    right: 10px;
    bottom: 50px;
  }

  .contact-section {
    height: 349px;
    padding: 40px 16px;
  }

  .contact-section__inner {
    height: 269px;
  }

  .contact-content {
    width: 100%;
    height: 188px;
  }

  .contact-content h2 {
    font-size: 30px;
    letter-spacing: .05em;
    text-shadow: none;
  }

  .contact-content > p {
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
  }

  .contact-button {
    width: min(358px, 100%);
    height: 60px;
  }

  .contact-button__content {
    flex: 1 1 auto;
    min-width: 0;
  }

  .contact-button__badge {
    height: 28px;
    padding: 0 8px;
    font-size: 12px;
  }

  .contact-button__label {
    font-size: 18px;
    letter-spacing: 0;
  }

  .site-footer {
    flex-direction: column-reverse;
    justify-content: space-between;
    width: 100%;
    height: 41px;
  }

  .site-footer__copyright {
    font-size: 10px;
    letter-spacing: .05em;
  }

  .site-footer__links {
    gap: 10px;
    font-size: 12px;
  }
}

/* 600〜999pxは各セクションの左右余白を32pxに統一 */
@media (min-width: 600px) and (max-width: 999px) {
  .services-section__inner,
  .cases-section__inner,
  .flow-section__inner {
    padding-right: 32px;
    padding-left: 32px;
  }

  .faq-section__body,
  .contact-section {
    padding-right: 32px;
    padding-left: 32px;
  }

  .flow-section {
    height: auto;
    min-height: 276px;
  }

  .flow-section__inner {
    height: auto;
  }

  .flow-steps {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    align-content: normal;
    justify-content: space-between;
    row-gap: 0;
    height: auto;
    min-height: 150px;
  }

  .flow-step,
  .flow-step:nth-child(n) {
    flex: 0 0 13%;
    gap: clamp(8px, 1.2vw, 14px);
    width: 13%;
    height: auto;
  }

  .flow-step__icon {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    box-shadow: 0 0 12px rgba(38, 58, 186, .1);
  }

  .flow-step__icon > img,
  .flow-step__meeting-icon {
    transform: none;
  }

  .flow-step__label,
  .flow-step__label--wrap {
    font-size: clamp(10px, 1.5vw, 15px);
    line-height: 1.45;
    white-space: normal;
  }

  .flow-step__label--handover small {
    font-size: clamp(8px, 1.1vw, 11px);
    line-height: 1.45;
  }
}

/* ========================================
   Smartphone (Figma: 390px)
======================================== */
@media (max-width: 599px) {
  .case-slider__button {
    top: 99px;
    width: 32px;
    height: 32px;
  }

  .case-slider__button--prev {
    left: -4px;
  }

  .case-slider__button--next {
    right: -4px;
  }

  .case-slider__button span {
    width: 8px;
    height: 8px;
    border-width: 2px;
  }

  .case-cards-scroll {
    scroll-padding-inline: 0;
  }

  .case-card {
    scroll-snap-align: center;
  }

  .features-section {
    height: 866px;
  }

  .features-section__inner {
    width: 100%;
    padding: 0 16px;
  }

  .feature-cards {
    flex-direction: column;
    align-items: stretch;
    height: 740px;
  }

  .feature-card {
    flex: 0 0 236px;
    width: 100%;
    height: 236px;
    padding: 16px;
  }

  .feature-card h3 {
    font-size: 22px;
  }

  .feature-card p {
    font-size: 14px;
  }

  .flow-section {
    height: auto;
    min-height: 579.862px;
  }

  .flow-section__inner {
    height: auto;
  }

  .flow-steps {
    grid-template-columns: repeat(3, 30%);
    height: auto;
  }

  .flow-step,
  .flow-step:nth-child(n) {
    width: 100%;
    height: auto;
  }

  .flow-step__icon {
    flex: 0 0 auto;
    width: min(80%, 110px);
    height: auto;
    aspect-ratio: 1;
  }
}

@media (max-width: 374px) {
  .site-header__inner {
    padding: 0 14px;
  }

  .site-logo__caption {
    display: none;
  }

  .site-logo {
    width: 74.771px;
  }

  .site-header__actions {
    gap: 10px;
  }

  .hero-services {
    grid-template-columns: 29% 1px 34% 1px 29%;
  }

  .hero-contact {
    gap: 6px;
    padding-right: 18px;
  }

  .hero-contact__label {
    font-size: 16px;
  }

  .features-section__inner {
    padding-right: 12px;
    padding-left: 12px;
  }

  .feature-card {
    padding-right: 8px;
    padding-left: 8px;
  }

  .feature-card h3 {
    font-size: clamp(19px, 5.8vw, 22px);
  }

  .feature-card p {
    font-size: clamp(12px, 3.7vw, 14px);
  }

  .services-section,
  .services-section__inner,
  .service-cards,
  .service-card {
    height: auto;
  }

  .service-card {
    flex-basis: auto;
    min-height: 474px;
  }

  .contact-section {
    padding-right: 12px;
    padding-left: 12px;
  }

  .contact-button {
    padding-right: 18px;
    padding-left: 12px;
  }

  .contact-button__content {
    gap: 6px;
  }

  .contact-button__label {
    font-size: clamp(16px, 5vw, 18px);
  }

  .site-footer__links {
    gap: 7px;
    font-size: 11px;
  }
}
