/* =========================================
   Front Page CSS — LP (front-page.php)
   Extracted from html/styles/main.css
   ========================================= */

/* ===========================================
   1. HERO
   =========================================== */
.hero__guide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 860px;
}
@media (max-width: 768px) {
  .hero__guide {
    flex-direction: column;
    align-items: center;
  }
}

.hero {
  position: relative;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/pc_bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
@media (max-width: 768px) {
  .hero__bg {
    background-image: url('../images/sp_bg.webp');
  }
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}
@media (max-width: 768px) {
  .hero__inner {
    padding: 0px 16px 32px 16px;
  }
}
.hero__block {
  max-width: 720px;
  margin: 0 auto 48px;
  padding: 0 16px;
  overflow: visible;
}
@media (max-width: 768px) {
  .hero__block {
    padding: 0 8px;
    margin-bottom: 10px;
  }
}
.hero__visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  overflow: visible;
  max-width: 330px;
}
@media (max-width: 768px) {
  .hero__visual {
    gap: 16px;
    margin-bottom: 5px;
    max-width: 200px;
  }
}
.hero__man {
  display: block;
  width: 105px;
  height: 105px;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}
@media (max-width: 768px) {
  .hero__man {
    max-width: 80px;
    margin-bottom: -10px;
  }
}
.hero__benefit-box {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  max-width: 235.5px;
  height: 52px;
  padding: 7px;
  margin-left: auto;
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  text-align: left;
  overflow: visible;
}
@media (max-width: 768px) {
  .hero__benefit-box {
    max-width: 280px;
    padding: 7px;
    margin-left: 0;
  }
}
.hero__benefit-tail {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-100%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 3px 12px 3px 0;
  border-color: transparent var(--color-white) transparent transparent;
  filter: drop-shadow(-2px 0 2px rgba(0, 0, 0, 0.06));
}
.hero__benefit-highlight {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.3;
}
@media (max-width: 768px) {
  .hero__benefit-highlight {
    font-size: 1rem;
  }
}
.hero__benefit-text {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1;
}
.hero__headline {
  position: relative;
  z-index: 2;
  margin: -36px 0 5px;
  font-size: 38px;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .hero__headline {
    font-size: 30px;
    margin-top: -10px;
  }
}
.hero_flex{
  display: flex;
  justify-content: center;
  align-items: center;
  color: #28A88B;
}
.hero_flex img{
  width: 70px;
  height: 38px;
}
.hero_text{
  color: #212529;
  font-size: 32px;
}
@media (max-width: 768px) {
  .hero_text{
  font-size: 26px;
}
}
.hero__headline-accent {
  -webkit-text-stroke: 2px var(--color-white);
  paint-order: stroke fill;
}
.hero__features {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.hero__feature {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 130px;
  padding: 14px;
  background: #2B4850;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  text-align: center;
}
@media (max-width: 768px) {
  .hero__feature {
    width: 105px;
    height: 105px;
    padding: 10px;
  }
}
.hero__feature-label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 2px;
  color: var(--color-white);
  line-height: 1.3;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .hero__feature-label {
    font-size: 12px;
  }
}
.hero__feature-main {
  display: block;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-highlight);
}
@media (max-width: 768px) {
  .hero__feature-main {
    font-size: 17px;
  }
}
.hero__feature-main.hero__feature-price {
  font-weight: 700;
}
.hero__cases {
  padding: 0 16px;
}
.hero__cases-inner {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}
.hero__phones-img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.1));
}
@media (max-width: 768px) {
  .hero__phones-img {
    max-width: 294.5px;
    max-height: 292.11px;
  }
}
.hero__caption {
  position: absolute;
  bottom: 15%;
  background: var(--color-white);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-light);
  line-height: 1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  max-width: 140px;
  height: 31px;
  text-align: center;
  z-index: 1;
  border-radius: 4px;
  overflow-wrap: normal;
  word-wrap: normal;
  letter-spacing: normal;
}
@media (max-width: 768px) {
  .hero__caption {
    max-width: 110px;
    height: 29px;
    font-size: 9px;
    white-space: nowrap;
  }
}
.hero__caption--left {
  left: -8%;
  padding: 5px 7px 5px 6px;
  transform: translateY(-50%);
}
@media (max-width: 768px) {
  .hero__caption--left {
    padding: 5px 7px 5px 6px;
  }
}
.hero__caption--right {
  right: -8%;
  padding: 5px 6px 5px 7px;
  transform: translateY(-50%);
}
@media (max-width: 768px) {
  .hero__caption--right {
    padding: 5px 6px 5px 7px;
  }
}

/* hero__bottom--pc / --sp modifiers only */
.hero__bottom--pc {
  display: none;
}
@media (min-width: 769px) {
  .hero__bottom--pc {
    display: flex;
    margin-top: 24px;
    margin-bottom: 0;
  }
}
@media (min-width: 769px) {
  .hero__bottom--sp {
    display: none !important;
  }
}

/* ===========================================
   2. NAYAMI
   =========================================== */
.nayami {
  background: var(--color-white);
  padding: 0;
}
.nayami__inner {
  margin: 0 auto;
  position: relative;
}
.nayami__title {
  position: relative;
  margin: 0 0 28px;
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .nayami__title {
    margin-bottom: 20px;
    font-size: 1.375rem;
  }
}
.nayami__title-text {
  display: inline-block;
  vertical-align: middle;
}
.nayami__title ruby {
  ruby-position: over;
  ruby-align: center;
  color: var(--color-nayami-text);
}
.nayami__title rt {
  font-size: 0.55em;
  color: var(--color-nayami-text);
  font-weight: 700;
}
.nayami__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 16px;
  margin: 0 auto 24px;
  padding: 0;
  list-style: none;
  max-width: 560px;
  align-items: start;
  position: relative;
}
@media (min-width: 769px) {
  .nayami__list {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 5px 210px;
    max-width: 800px;
    padding: 0 100px;
    margin-bottom: -75px;
  }
}
@media (max-width: 768px) {
  .nayami__list {
    margin-bottom: 24px;
  }
}
.nayami__item {
  position: relative;
  height: 54.4px;
  padding: 14px 16px 14px;
  background: var(--color-nayami-item-bg);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-nayami-text);
  line-height: 1.1;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1215686275);
  white-space: nowrap;
}
.nayami__item.nayami__item--visible {
  opacity: 1;
  transform: translateY(0);
}
@media (min-width: 769px) {
  .nayami__item {
    position: static;
    width: 225px;
    height: auto;
    margin: 0;
    justify-self: stretch;
  }
  .nayami__item:nth-child(odd) {
    grid-column: 1;
    justify-self: end;
  }
  .nayami__item:nth-child(even) {
    grid-column: 2;
    justify-self: start;
  }
  .nayami__item:nth-child(1) {
    grid-row: 1;
  }
  .nayami__item:nth-child(2) {
    grid-row: 1;
  }
  .nayami__item:nth-child(3) {
    grid-row: 2;
  }
  .nayami__item:nth-child(4) {
    grid-row: 2;
  }
  .nayami__item:nth-child(5) {
    grid-row: 3;
  }
  .nayami__item:nth-child(6) {
    grid-row: 3;
  }
}
@media (max-width: 768px) {
  .nayami__item {
    padding: 12px 14px;
    font-size: 0.8125rem;
  }
}
.nayami__item:nth-child(odd) {
  margin-top: 0;
  margin-bottom: 0;
  justify-self: end;
}
.nayami__item:nth-child(even) {
  margin-top: 20px;
  margin-bottom: 0;
  justify-self: start;
}
.nayami__item:nth-child(1) {
  left: 8%;
}
.nayami__item:nth-child(2) {
  right: 8%;
  left: auto;
}
.nayami__item:nth-child(3) {
  top: -15%;
  left: 7%;
}
.nayami__item:nth-child(4) {
  right: 9%;
  left: auto;
}
@media (min-width: 769px) {
  .nayami__item:nth-child(4) {
    right: -15%;
  }
}
.nayami__item:nth-child(5) {
  top: -15%;
  left: -3%;
}
@media (min-width: 769px) {
  .nayami__item:nth-child(5) {
    left: -28%;
  }
}
.nayami__item:nth-child(6) {
  top: -10%;
  right: -1%;
  left: auto;
}
@media (min-width: 769px) {
  .nayami__item:nth-child(6) {
    right: -15%;
  }
}
.nayami__item::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 22px 8px 0 8px;
  border-color: var(--color-nayami-item-bg) transparent transparent transparent;
  transform-origin: 50% 0;
  transform: translateX(-50%);
}
.nayami__item:nth-child(odd)::after {
  transform: translateX(-50%) rotate(-36deg);
}
.nayami__item:nth-child(even)::after {
  transform: translateX(-50%) rotate(36deg);
}
.nayami__item:nth-child(1).nayami__item--visible {
  transition-delay: 0.1s;
  position: relative;
  z-index: 12;
}
@media (min-width: 769px) {
  .nayami__item:nth-child(1).nayami__item--visible {
    left: 50px;
  }
}
.nayami__item:nth-child(2).nayami__item--visible {
  transition-delay: 0.2s;
  position: relative;
  z-index: 12;
}
@media (min-width: 769px) {
  .nayami__item:nth-child(2).nayami__item--visible {
    right: 90px;
    top: -20px;
  }
}
.nayami__item:nth-child(3).nayami__item--visible {
  transition-delay: 0.3s;
  position: relative;
  z-index: 12;
}
@media (min-width: 769px) {
  .nayami__item:nth-child(3).nayami__item--visible {
    left: -85px;
  }
}
.nayami__item:nth-child(4).nayami__item--visible {
  transition-delay: 0.4s;
  position: relative;
  z-index: 12;
}
@media (min-width: 769px) {
  .nayami__item:nth-child(4).nayami__item--visible {
    top: -32px;
  }
}
.nayami__item:nth-child(5).nayami__item--visible {
  transition-delay: 0.5s;
  position: relative;
  z-index: 12;
}
.nayami__item:nth-child(6).nayami__item--visible {
  transition-delay: 0.6s;
  position: relative;
  z-index: 12;
}
@media (min-width: 769px) {
  .nayami__item:nth-child(6).nayami__item--visible {
    top: -32px;
  }
}
.nayami__characters {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
  grid-column: 1/-1;
  grid-row: 2;
  z-index: 1;
}
@media (min-width: 769px) {
  .nayami__characters {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 200px;
    z-index: 1;
  }
}
.nayami__characters-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: transparent linear-gradient(180deg, #FFFFFF 0%, #F2FFFC 69%, #D1EFE8 100%) 0% 0% no-repeat padding-box;
  pointer-events: none;
}
.nayami__character-img {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 320px;
  height: auto;
  max-height: 200px;
  object-fit: contain;
}
@media (min-width: 769px) {
  .nayami__character-img {
    margin-top: 0;
    width: 250px;
  }
}
@media (max-width: 768px) {
  .nayami__character-img {
    max-width: 260px;
    max-height: 160px;
    margin-top: -20px;
  }
}

/* --- Nayami Stats --- */
.nayami-stats {
  padding: 40px 16px 32px;
  background: var(--color-white);
}
@media (max-width: 768px) {
  .nayami-stats {
    padding: 32px 12px 0;
  }
}
.nayami-stats__inner {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .nayami-stats__inner {
    gap: 12px;
  }
}

.nayami-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.nayami-stat__wing {
  width: auto;
  max-width: 39px;
  max-height: 119px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .nayami-stat__wing {
    max-width: 30px;
    max-height: 92px;
  }
}
.nayami-stat__wing--left {
  order: 0;
}
.nayami-stat__wing--right {
  order: 2;
}
.nayami-stat__text {
  order: 1;
  flex-shrink: 0;
}
.nayami-stat__label {
  margin: 0 0 4px;
  font-size: 26px;
  color: var(--color-primary);
  font-weight: 500;
}
@media (max-width: 768px) {
  .nayami-stat__label {
    font-size: 20px;
  }
}
.nayami-stat__value {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}
@media (max-width: 768px) {
  .nayami-stat__value {
    font-size: 19px;
  }
}
.nayami-stat__number {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-green);
}

/* --- Nayami Logos --- */
.nayami-logos {
  padding: 0 16px 32px;
  background: var(--color-white);
  margin: 0 auto;
}
@media (max-width: 768px) {
  .nayami-logos {
    padding: 0 12px 24px;
  }
}
.nayami-logos__slider {
  overflow: hidden;
  border-radius: 12px;
}
.nayami-logos__track {
  display: flex;
  width: 400%;
  animation: nayami-logos-flow 32s linear infinite;
  will-change: transform;
}
.nayami-logos__slide {
  flex: 0 0 11.5%;
  width: 12.5%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  background: var(--color-white);
  box-sizing: border-box;
}
.nayami-logos__img {
  width: 232px;
  height: 61px;
  object-fit: contain;
}
@media (max-width: 768px) {
  .nayami-logos__img {
    width: 131px;
    height: 64px;
  }
}
@media (min-width: 769px) {
  .nayami-logos__img[src*="c04.webp"] {
    width: 260px;
    height: auto;
  }
}
@media (min-width: 769px) {
  .nayami-logos__slide {
    flex: 0 0 5.5%;
  }
}

/* --- Nayami Solution --- */
.nayami-solution {
  background: #2B4850;
  padding: 40px 16px 48px;
}
@media (min-width: 769px) {
  .nayami-solution {
    margin-top: 100px;
  }
}
@media (max-width: 768px) {
  .nayami-solution {
    padding: 32px 12px 40px;
    background: #2B4850;
  }
}
.nayami-solution__inner {
  margin: 0 auto;
  max-width: 1200px;
}
@media (max-width: 768px) {
  .nayami-solution__inner {
    max-width: 620px;
  }
}
.nayami-solution__lead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 5px;
  margin: 0 0 24px;
}
@media (max-width: 768px) {
  .nayami-solution__lead {
    margin-bottom: -10px;
  }
}
.nayami-solution__lead-text {
  color: var(--color-white);
  font-size: 30px;
  font-weight: 700;
}
@media (max-width: 768px) {
  .nayami-solution__lead-text {
    font-size: 24px;
  }
}
.nayami-solution__logo {
  height: 36px;
  width: auto;
  vertical-align: middle;
}
@media (min-width: 769px) {
  .nayami-solution__logo {
    width: 150px;
    height: auto;
  }
}
@media (max-width: 768px) {
  .nayami-solution__logo {
    height: 43px;
    width: 110px;
  }
}
.nayami-solution__driver{
  color: var(--color-highlight);
  font-size: 30px;
  font-weight: 700;
}
@media (max-width: 768px){
  .nayami-solution__driver{
    font-size: 24px;
  }
}
.nayami-solution__hero {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .nayami-solution__hero {
    margin-bottom: 32px;
    min-height: 160px;
  }
}
.nayami-solution__man {
  width: auto;
  max-width: 200px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .nayami-solution__man {
    max-width: 150px;
    height: 128px;
  }
}
.nayami-solution__catch {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}
.nayami-solution__catch-line {
  display: inline-block;
  width: fit-content;
  align-self: flex-start;
  background: var(--color-highlight);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-green02);
  line-height: 1.3;
  text-align: left;
  letter-spacing: 0.7px;
}
.nayami-solution__close {
  margin: 0;
  text-align: center;
}
@media (min-width: 769px) {
  .nayami-solution__close {
    margin-top: 0;
    white-space: nowrap;
  }
}
.nayami-solution__close-line {
  display: block;
  color: var(--color-white);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}
@media (min-width: 769px) {
  .nayami-solution__close-line {
    display: inline;
    margin-bottom: 16px;
    margin-right: 4px;
  }
}
.nayami-solution__close-main {
  display: block;
  color: var(--color-highlight);
  font-size: 26px;
  font-weight: 800;
}
@media (min-width: 769px) {
  .nayami-solution__close-main {
    font-size: 1.5rem;
  }
}

/* --- Nayami Cards --- */
.nayami-cards {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 769px) {
  .nayami-cards {
    flex-direction: row;
    gap: 24px;
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .nayami-cards {
    gap: 28px;
    margin-bottom: 32px;
  }
}

.nayami-card {
  position: relative;
  background: var(--color-white);
  border-radius: 5px;
  padding: 28px 20px 24px;
  text-align: center;
  margin-bottom: 25px;
  flex: 0 0 32%; /* ←ここ変更 */
}
@media (max-width: 768px) {
  .nayami-card {
    padding: 24px 16px 20px;
    width: 100%;
    flex: auto;
  }
}
.nayami-card__number {
  position: absolute;
  left: 50%;
  top: -35px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  background: var(--color-white);
  border-radius: 50%;
  font-size: 35px;
  font-weight: 700;
  color: var(--color-border-muted);
}
.nayami-card__text {
  margin: 5px 0 20px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-green);
  line-height: 1.1;
}
@media (max-width: 768px) {
  .nayami-card__text {
    margin-bottom: 16px;
  }
}
.nayami-card__img {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 120px;
  object-fit: contain;
}
.nayami-card:nth-child(1) .nayami-card__img {
  max-height: 120px;
}

/* ===========================================
   3. CASES
   =========================================== */
.cases {
  background: white;
  padding: 40px 0 0 0;
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .cases {
    margin-bottom: 60px;
  }
}
.cases__inner {
  margin: 0 auto;
}
@media (min-width: 769px) {
  .cases__body {
    background-image: url('../images/case_bg_pc.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-left: 48px;
    padding-right: 48px;
    padding-bottom: 40px;
    overflow: visible;
    margin-bottom: 120px;
  }
}
.cases__label {
  margin: 0;
  font-size: 18px;
  color: var(--color-section-label);
  text-align: center;
  letter-spacing: 0.05em;
  font-weight: bold;
}
.cases__title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--color-green02);
}
.cases__title {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
}
.cases__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--color-highlight);
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}
.cases__intro {
  display: flex;
  align-items: flex-end;
  text-align: center;
}
@media (max-width: 768px) {
  .cases__intro {
    width: 290px;
  }
}
.cases__intro-left {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1;
}
.cases__intro-label {
  font-size: 16px;
  color: var(--color-section-label);
  letter-spacing: 0.05em;
  margin-bottom: 2px;
  text-align: center;
  font-weight: 700;
}
.cases__num {
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-section-label);
  line-height: 0.95;
}
@media (max-width: 768px) {
  .cases__num {
    font-size: 50px;
  }
}
.cases__subtitle {
  margin: 0;
  padding-bottom: 4px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  flex: 1;
  min-width: 0;
}
@media (max-width: 768px) {
  .cases__subtitle {
    font-size: 20px;
  }
  .cases__subtitle--left {
    margin-left: 41px;
  }
}
.cases__subtitle--left {
  text-align: left;
  margin-left: 31px;
}
.cases__subtitle--left-lil {
  text-align: left;
  margin-left: 10px;
}
.cases__copy {
  text-align: center;
  margin: 0 0 20px;
}
.cases__copy-line1 {
  margin: 0;
  font-size: 16px;
  color: var(--color-text);
  font-weight: 500;
}
.cases__copy-line2 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: var(--color-green);
}
.cases__copy-highlight {
  padding: 2px 8px;
  border-radius: 4px;
}
.cases__copy-meta {
  margin: 0;
  font-size: 12px;
  color: var(--color-text);
  display: inline-block;
  background: #F5F5F6;
  border-radius: 999px;
  padding: 0px 16px;
  white-space: nowrap;
}
.cases__kpi {
  background: var(--color-section-label);
  border-radius: 3px;
  margin: 0 auto;
  text-align: center;
  max-width: 350px;
  width: 100%;
  box-sizing: border-box;
  height: 91px;
}
.cases__kpi-label {
  margin: 10px 0 0 0;
  font-size: 14px;
  color: var(--color-text);
  text-align: center;
  display: inline-block;
  background: var(--color-white);
  border-radius: 999px;
  padding: 0px 16px;
  font-weight: 700;
}
.cases__kpi-row {
  display: flex;
  justify-content: center;
  gap: 16px 10px;
  margin-top: -3px;
}
@media (max-width: 768px) {
  .cases__kpi-row {
    margin-top: 0px;
  }
}
.cases-slide--04 .cases__kpi-row {
  gap: 0;
}
.cases__kpi-item {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  min-width: 120px;
}
.cases__kpi-tag {
  display: inline-block;
  padding: 6px 10px;
  background: var(--color-green02);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
  white-space: nowrap;
}
.cases__kpi-value {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-green02);
}
.cases__kpi-value .cases__kpi-num {
  font-style: normal;
  color: var(--color-accent);
  font-size: 35px;
}

/* --- Cases Slider --- */
/* --- Cases Slider --- */
.cases-slider {
  position: relative;
  padding: 0 24px;
  overflow: hidden;
}

@media (min-width: 769px) {
  .cases-slider {
    padding: 0 48px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
  }
}

.cases-slider__track-wrapper {
  overflow: hidden;
  width: 100%;
}

.cases-slider__track {
  display: flex;
  transition: transform 0.4s ease;
  will-change: transform;
}

.cases-slider__track--no-transition {
  transition: none;
}

.cases-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: block;
}

@media (min-width: 769px) {
  .cases-slide {
    min-width: 0;
    box-sizing: border-box;
    padding: 0 8px;
  }

  .cases-slide .recruit-slider__frame {
    width: 100%;
    max-width: 280px;
    height: 300px;
    min-height: 0;
    margin: 0 auto;
  }

  .cases-slide .cases__intro,
  .cases-slide .cases__copy,
  .cases-slide .cases__kpi {
    max-width: 100%;
  }
}

/* --- Recruit Slider --- */
.recruit-slider {
  position: relative;
  padding: 0 24px;
  overflow: hidden;
}
.recruit-slider__bgs {
  position: absolute;
  left: 0;
  right: 0;
  top: 37%;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  z-index: 0;
  pointer-events: none;
}
@media (min-width: 769px) {
  .recruit-slider__bgs {
    display: none;
  }
}
.recruit-slider__bg {
  width: 230px;
  height: 55px;
  transform: matrix(0.91, -0.42, 0.42, 0.91, 0, 0);
  background: var(--color-section-accent) 0% 0% no-repeat padding-box;
  border-radius: 29px;
  flex-shrink: 0;
}
.recruit-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-green02);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  padding: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: opacity 0.2s;
  margin-top: -67px;
}
@media (min-width: 768px) {
  .recruit-slider__arrow {
    width: 30px;
    height: 30px;
  }
}
.recruit-slider__arrow:hover {
  opacity: 0.9;
}
.recruit-slider__arrow--prev {
  left: -22px;
  padding-left: 14px;
}
@media (min-width: 769px) {
  .recruit-slider__arrow--prev {
    padding-left: 0;
  }
}
.recruit-slider__arrow--next {
  right: -22px;
  padding-right: 14px;
}
@media (min-width: 769px) {
  .recruit-slider__arrow--next {
    padding-right: 0;
  }
}
@media (min-width: 769px) {
  .recruit-slider__arrow {
    margin-top: 0;
    background: transparent;
    color: var(--color-green);
    border: 2px solid var(--color-green);
    box-shadow: none;
  }
  .recruit-slider__arrow:hover {
    opacity: 0.85;
  }
}
.recruit-slider__arrow-icon {
  line-height: 1;
  display: inline-block;
  transform: scaleX(1) scaleY(1.5);
  transform-origin: center;
}
@media (min-width: 769px) {
  .recruit-slider__arrow-icon {
    font-size: 1.5rem;
  }
}
.recruit-slider__frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  height: 300px;
}
@media (max-width: 768px) {
  .recruit-slider__frame {
    max-width: 240px;
  }
}
.recruit-slider__track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
}
.recruit-slider__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  display: none;
  justify-content: center;
  align-items: center;
}
.recruit-slider__slide--active {
  display: flex;
}
.recruit-slider__img {
  width: 100%;
  height: 100%;
  max-height: 309px;
  object-fit: contain;
  object-position: center;
  display: block;
  vertical-align: top;
}
.recruit-slider__overlays {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}
.recruit-slider__overlay {
  display: block;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  color: var(--color-white);
  border-radius: 6px;
}
.recruit-slider__overlay--blue {
  background: rgba(5, 80, 181, 0.9);
}
.recruit-slider__overlay--yellow {
  background: var(--color-highlight);
  color: var(--color-green);
}
.recruit-slider__overlay--name {
  font-size: 1rem;
  padding: 8px 12px;
}
.recruit-slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  margin-bottom: 24px;
}
@media (min-width: 769px) {
  .recruit-slider__dots {
    display: none;
  }
}
.recruit-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #cbd5e0;
  background: var(--color-section-accent);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, border-color 0.2s;
}
.recruit-slider__dot--active {
  background: var(--color-green);
  border-color: var(--color-green);
}

/* ===========================================
   4. REASON
   =========================================== */
.reason {
  background: var(--color-section-accent);
  padding: 48px 20px 20px;
}
@media (min-width: 769px) {
  .reason {
    padding: 60px 40px 30px;
    margin-bottom: 60px;
  }
}
.reason__inner {
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 769px) {
  .reason__inner {
    margin-left: auto;
    margin-right: auto;
  }
}
.reason__label {
  margin: 0;
  font-size: 16px;
  color: var(--color-reason-label);
  text-align: center;
  letter-spacing: 0.05em;
  font-weight: bold;
}
.reason__title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 40px;
  flex-wrap: wrap;
}
@media (min-width: 769px) {
  .reason__title {
    margin-bottom: 48px;
  }
}
.reason__title-logo {
  display: inline-block;
}
.reason__title-icon {
  height: auto;
  width: auto;
  max-height: 48px;
  vertical-align: middle;
}
.reason__title-text {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-left: 10px;
}
@media (min-width: 600px) {
  .reason__title-text {
    font-size: 1.75rem;
  }
}
@media (min-width: 769px) {
  .reason__title-text {
    font-size: 2rem;
  }
}

.reason-card {
  background: var(--color-white);
  border-radius: 10px;
  margin-bottom: 32px;
  overflow: hidden;
}
@media (min-width: 769px) {
  .reason-card {
    margin: 0 auto 40px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    min-width: 500px;
  }
}
@media (min-width: 769px) {
  .reason-card--visual-left .reason-card__body {
    flex-direction: row-reverse;
  }
}
.reason-card__header {
  background: var(--color-green02);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
@media (min-width: 769px) {
  .reason-card__header {
    padding: 24px 32px;
    gap: 24px;
    border-radius: 12px 12px 0 0;
  }
}
.reason-card__num {
  font-size: 50px;
  font-weight: 800;
  color: var(--color-section-accent);
  line-height: 1;
  flex-shrink: 0;
}
@media (min-width: 769px) {
  .reason-card__num {
    font-size: 55px;
  }
}
.reason-card__header-text {
  flex: 1;
  min-width: 0;
}
@media (min-width: 769px) {
  .reason-card__header-text {
    font-size: 26px;
  }
}
.reason-card__header-sub {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-highlight);
  line-height: 1.3;
}
@media (min-width: 769px) {
  .reason-card__header-sub {
    font-size: 26px;
    color: var(--color-white);
    display: inline;
    margin: 0;
  }
  .reason-card__header-sub::after {
    content: " ";
  }
}
.reason-card__header-main {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: var(--color-highlight);
  line-height: 1.2;
}
@media (min-width: 769px) {
  .reason-card__header-main {
    font-size: 26px;
    display: inline;
    margin: 0;
  }
}
.reason-card__body {
  padding: 15px 15px 24px 15px;
}
@media (min-width: 769px) {
  .reason-card__body {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
    padding: 32px;
  }
}
@media (min-width: 769px) {
  .reason-card__body-text {
    flex: 0 0 calc(50% - 20px);
    max-width: 480px;
    min-width: 0;
    order: 1;
  }
}
.reason-card__description {
  margin: 0 0 15px;
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.5;
}
@media (min-width: 769px) {
  .reason-card__description {
    margin: 0 0 20px;
    font-size: 17px;
    line-height: 1.7;
  }
}
.reason-card__subtitle {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-green);
  text-align: center;
}
.reason-card__industries-wrap {
  background-color: var(--color-faq-bg);
  padding: 10px;
  margin-bottom: 24px;
}
@media (min-width: 769px) {
  .reason-card__industries-wrap {
    flex: 0 0 calc(50% - 20px);
    max-width: 480px;
    min-width: 0;
    margin-bottom: 0;
    order: 2;
    padding: 16px 16px 20px;
    border-radius: 8px;
    box-sizing: border-box;
  }
  .reason-card__industries-wrap .reason-card__subtitle {
    text-align: center;
    margin-bottom: 12px;
    font-size: 20px;
    color: var(--color-green);
  }
}
/* 各段の横幅を揃えるラッパー */
.reason-card__industries-row {
  width: 100%;
  display: flex;
  justify-content: center;
}
.reason-card__industries-row + .reason-card__industries-row {
  margin-top: 12px;
}
/* 上下とも同じ全体幅で扱う */
.reason-card__industries {
  width: 100%;
  max-width: 370px;
  display: flex;
  justify-content: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
}
.reason-card__industry {
  background: var(--color-white);
  padding: 10px 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  box-sizing: border-box;
  white-space: nowrap;
}
@media (max-width: 768px){
.reason-card__industry{
    padding: 10px 2px;
}
}
.reason-card__industry--text {
  background: transparent;
  padding-left: 0;
  padding-right: 0;
}
.reason-card__industry-icon {
  width: 25px;
  height: 25px;
  object-fit: contain;
  flex-shrink: 0;
}
@media (min-width: 769px) {
  .reason-card__industry-icon {
    width: 28px;
    height: 28px;
  }
}
.reason-card__industry-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-green02);
  white-space: nowrap;
}
@media (min-width: 769px) {
  .reason-card__industry-name {
    font-size: 17px;
  }
}
.reason-card__cta {
  margin: 0;
  margin-top: 24px;
  font-size: 16px;
  color: var(--color-text);
  text-align: center;
  line-height: 1.6;
  white-space: nowrap;
  font-weight: bold;
}
@media (min-width: 769px) {
  .reason-card__cta {
    margin: 0;
    font-size: 17px;
    text-align: left;
    order: 3;
    flex: 0 0 calc(50% - 20px);
    max-width: 480px;
  }
}
.reason-card__cta--pc {
  display: none;
}
@media (min-width: 769px) {
  .reason-card__cta--pc {
    display: block;
  }
}
@media (min-width: 769px) {
  .reason-card__cta--sp {
    display: none;
  }
}
.reason-card__cta-link {
  color: var(--color-green);
  font-weight: 700;
}
.reason-card__image {
  width: 100%;
  height: auto;
  border-radius: 5px;
  object-fit: cover;
  display: block;
}
@media (min-width: 769px) {
  .reason-card__body-visual {
    flex: 0 0 48%;
    max-width: 480px;
    min-width: 0;
  }
}
.reason-card__services-wrap {
  background-color: var(--color-faq-bg);
  padding: 10px;
  color: var(--color-green);
}
.reason-card__services-wrap .reason-card__subtitle {
  color: var(--color-green);
}
.reason-card__services-wrap .reason-card__service-name {
  color: var(--color-green02);
}
@media (min-width: 769px) {
  .reason-card__services-wrap {
    flex: 0 0 48%;
    max-width: 480px;
    margin: 0;
    padding: 24px;
    border-radius: 8px;
  }
  .reason-card__services-wrap .reason-card__subtitle {
    text-align: center;
    margin-bottom: 20px;
    font-size: 20px;
  }
}
.reason-card__services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 769px) {
  .reason-card__services {
    grid-template-columns: repeat(4, 0fr);
    gap: 16px;
    justify-content: center;
  }
}
.reason-card__service {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.reason-card__service-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  background: var(--color-white);
  border-radius: 50%;
}
@media (min-width: 769px) {
  .reason-card__service-icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto;
  }
}
.reason-card__service-icon {
  width: 30px;
  height: 36px;
  object-fit: contain;
  z-index: 1;
}
@media (min-width: 769px) {
  .reason-card__service-icon {
    width: 36px;
    height: 40px;
  }
}
.reason-card__service-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.3;
  white-space: nowrap;
}
@media (min-width: 769px) {
  .reason-card__service-name {
    font-size: 13px;
    line-height: 1.4;
  }
}
.reason-card__industry--text {
  background: transparent;
  justify-content: center;
  padding: 16px 0px;
}
@media (min-width: 769px) {
  .reason-card__industry--text {
    padding: 10px 16px;
  }
}
.reason-card__industry-more {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-green);
  white-space: nowrap;
}
@media (min-width: 769px) {
  .reason-card__industry-more {
    font-size: 17px;
  }
}
.reason-card__industries--top .reason-card__industry {
  flex: 1;
  justify-content: center;
}
.reason-card__industries--bottom {
  justify-content: center;
}
.reason-card__industries--bottom .reason-card__industry {
  flex: 0 0 auto;
}

/* ===========================================
   5. SNS
   =========================================== */
.sns {
  position: relative;
  background: #28A88B;
  padding: 48px 20px 56px;
  overflow: hidden;
}
@media (min-width: 769px) {
  .sns {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 60px auto;
  }
}
.sns__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.sns__bg picture {
  display: block;
  width: 100%;
  height: 100%;
}
.sns__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.85;
}
.sns__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.4;
}
.sns__pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.12;
  background-image: linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.sns__inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.sns__title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 24px;
}
.sns__title-text {
  position: relative;
  font-size: 20px;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 0.2em;
  padding-bottom: 8px;
}
.sns__title-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 93%;
  height: 2px;
  background: var(--color-white);
}
.sns__lead {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}
@media (min-width: 600px) {
  .sns__lead {
    white-space: nowrap;
  }
}
@media (min-width: 769px) {
  .sns__lead br {
    display: none;
  }
}
@media (max-width: 768px) {
  .sns__lead {
    margin-bottom: 10px;
  }
}
.sns__lead-yellow {
  color: var(--color-highlight);
}
.sns__lead-white {
  color: var(--color-white);
}
.sns__stats {
  background: var(--color-white);
  padding: 6px 0;
  margin: 0 auto 32px;
  height: 84px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
@media (min-width: 769px) {
  .sns__stats {
    width: 460px;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .sns__stats {
    max-width: 350px;
  }
}
.sns__stats-line1, .sns__stats-line2 {
  margin: 0;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.6;
}
.sns__stats-num {
  font-style: normal;
  color: var(--color-green);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}
.sns__visual {
  margin: 0 0 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sns__visual-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3));
  border-radius: 24px;
}
@media (min-width: 769px) {
  .sns__visual-img {
    max-width: 500px;
  }
}
@media (max-width: 768px) {
  .sns__visual-img {
    max-width: max-content;
    width: 117%;
  }
}
.sns__close {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-white);
}
@media (min-width: 600px) {
  .sns__close {
    font-size: 1.25rem;
  }
}
@media (min-width: 769px) {
  .sns__close br {
    display: none;
  }
  .sns__close {
    line-height: 1.2;
  }
}
.sns__close-yellow {
  color: var(--color-highlight);
  font-size: 24px;
}
@media (min-width: 769px) {
  .sns__close-yellow::after {
    content: "";
    display: block;
  }
}

/* ===========================================
   6. FLOW
   =========================================== */
.flow {
  background: var(--color-white);
  padding: 30px 20px 40px;
}
@media (min-width: 769px) {
  .flow {
    margin-top: 60px;
    padding-top: 0;
    padding-bottom: 60px;
  }
}
.flow__inner {
  max-width: 700px;
  margin: 0 auto;
}
.flow__label {
  margin: 0;
  font-size: 16px;
  color: var(--color-section-label);
  text-align: center;
  letter-spacing: 0.05em;
  font-weight: bold;
}
.flow__title {
  margin: 0 0 40px;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-text);
  text-align: center;
}
@media (min-width: 600px) {
  .flow__title {
    font-size: 2rem;
  }
}
.flow__steps {
  position: relative;
}
@media (min-width: 769px) {
  .flow__steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}
.flow__free {
  background: var(--color-faq-bg);
  border-radius: 999px;
  padding: 3px;
  margin: 0 auto 24px;
  max-width: 226px;
  height: 33px;
  text-align: center;
}
@media (min-width: 769px) {
  .flow__free {
    width: 226px;
  }
}
.flow__free-text {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  color: var(--color-green);
}
.flow__info {
  background: var(--color-section-label);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  width: 600px;
  height: 98px;
  padding: 10px 140px;
}
@media (min-width: 769px) {
  .flow__info {
    margin: 0 auto;
    width: 90%;
    height: 131px;
  }
}
@media (max-width: 768px) {
  .flow__info {
    width: 350px;
    margin: 0 auto;
    padding: 10px 20px;
  }
}
.flow__info-man {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}
@media (min-width: 769px) {
  .flow__info-man {
    width: 120px;
    height: 120px;
  }
}
.flow__info-text {
  flex: 1;
  flex-shrink: 0;
  color: var(--color-green);
}
.flow__info-line1, .flow__info-line2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-green02);
  line-height: 1.4;
  white-space: nowrap;
}
.flow__info-line1:last-child, .flow__info-line2:last-child {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .flow__info-line1, .flow__info-line2 {
    font-size: 16px;
  }
}
.flow__info-highlight {
  background: linear-gradient(to bottom, transparent 50%, var(--color-highlight) 50%);
  padding: 0 2px;
  display: inline-block;
  line-height: 1.6;
  font-weight: bold;
  font-size: 20px;
}
@media (min-width: 769px) {
  .flow__info-highlight {
    font-size: 24px;
  }
}

.flow-step {
  position: relative;
  margin: 0 auto 24px;
  width: 350px;
  border-radius: 10px;
}
@media (min-width: 769px) {
  .flow-step {
    width: 90%;
  }
}
.flow-step__connector {
  position: absolute;
  left: 50%;
  top: -24px;
  transform: translateX(-50%);
  width: 2px;
  height: 24px;
  background: #265DC4;
  z-index: 0;
}
.flow-step__header {
  background: var(--color-green02);
  padding: 0;
  font-size: 19px;
  font-weight: 800;
  color: var(--color-white);
  text-align: center;
  letter-spacing: 0.1em;
  height: 30px;
  border-radius: 10px 10px 0 0;
  border: 2px solid #123D83;
}
.flow-step__body {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-top: none;
  border-radius: 0 0 10px 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 2px solid #2B4850;
}
@media (min-width: 769px) {
  .flow-step__body {
    padding: 25px 10px;
  }
}
.flow-step__icon {
  width: 46px;
  height: 47px;
  object-fit: contain;
  flex-shrink: 0;
}
.flow-step__icons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.flow-step__text {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
  flex-shrink: 0;
  white-space: nowrap;
}

/* ===========================================
   7. VIDEO
   =========================================== */
.video {
  position: relative;
  background: var(--color-white);
  overflow: hidden;
}
.video__inner {
  margin: 0 auto;
}
@media (min-width: 769px) {
  .video__inner {
    max-width: 1000px !important;
  }
}
@media (max-width: 768px) {
  .video__inner {
    max-width: 800px;
    margin: 0 auto;
  }
}
.video__top {
  text-align: center;
  margin-bottom: 32px;
  padding: 0 20px 0;
}
.video__bubble {
  position: relative;
  background: var(--color-green02);
  border-radius: 10px;
  padding: 18px 32px;
  margin: 0 auto 24px;
  max-width: 281px;
  height: 85px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.video__bubble::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 12px solid var(--color-green02);
}
.video__bubble-line1, .video__bubble-line2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
}
.video__bubble-line1 {
  margin-bottom: 4px;
}
.video__description {
  margin: 0;
  line-height: 1;
}
.video__description-line1, .video__description-line2 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.6;
}
@media (min-width: 769px) {
  .video__description-line1, .video__description-line2 {
    display: inline;
  }
}
@media (min-width: 769px) {
  .video__description-line1::after {
    content: " ";
  }
}
.video__embed-wrapper {
  position: relative;
  margin-bottom: -120px;
  z-index: 1;
  padding: 0 20px 0;
  width: 600px;
  margin: 0 auto;
}
@media (min-width: 769px) {
  .video__embed-wrapper {
    width: 65%;
  }
}
@media (max-width: 768px) {
  .video__embed-wrapper {
    width: 100%;
    margin: 0 auto;
  }
}
.video__embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.video__iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video__banner {
  position: relative;
  background: var(--color-green02);
  height: 130px;
  margin-top: -80px;
  z-index: 0;
  border-radius: 0;
}

/* ===========================================
   8. FAQ
   =========================================== */
.faq {
  background: var(--color-faq-bg);
  padding: 48px 20px 56px;
}
@media (min-width: 769px) {
  .faq {
    padding: 60px 0;
  }
}
@media (max-width: 768px) {
  .faq {
    padding: 40px 16px 48px;
  }
}
.faq__inner {
  max-width: 350px;
  margin: 0 auto;
}
@media (min-width: 769px) {
  .faq__inner {
    max-width: 700px;
  }
}
.faq__label {
  margin: 0;
  font-size: 16px;
  color: var(--color-section-label);
  text-align: center;
  letter-spacing: 0.05em;
  font-weight: bold;
}
.faq__title {
  margin: 0 0 40px;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-text);
  text-align: center;
}
@media (min-width: 600px) {
  .faq__title {
    font-size: 2rem;
  }
}
@media (max-width: 768px) {
  .faq__title {
    font-size: 1.5rem;
    margin-bottom: 32px;
  }
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 769px) {
  .faq__list {
    width: 90% !important;
    margin: 0 auto !important;
  }
}
.faq__item {
  background: var(--color-white);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.faq__item.faq__item--open .faq__answer {
  max-height: 500px;
  padding: 20px 24px;
}
@media (max-width: 768px) {
  .faq__item.faq__item--open .faq__answer {
    padding: 16px 20px;
  }
}
.faq__question {
  width: 100%;
  height: 50px;
  background: var(--color-green02);
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s;
}
@media (min-width: 769px) {
  .faq__question {
    height: 60px;
  }
}
@media (max-width: 768px) {
  .faq__question {
    padding: 16px 20px;
    gap: 12px;
  }
}
.faq__question:hover {
  background: #0C1E23;
}
.faq__question[aria-expanded=true] .faq__arrow {
  transform: scaleX(1.5) scaleY(0.7) rotate(-90deg);
}
.faq__q-icon {
  color: var(--color-white);
  font-weight: 800;
  font-size: 19px;
  flex-shrink: 0;
}
.faq__question-text {
  flex: 1;
  color: var(--color-white);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .faq__question-text {
    font-size: 16px;
    line-height: 1.1;
  }
}
.faq__arrow {
  color: var(--color-white);
  font-size: 1.25rem;
  transition: transform 0.3s;
  flex-shrink: 0;
  line-height: 1;
  display: inline-block;
  transform: scaleX(1.5) scaleY(0.7) rotate(90deg);
  transform-origin: center;
}
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 24px;
  background: var(--color-white);
}
@media (min-width: 769px) {
  .faq__answer {
    height: 60px !important;
  }
}
@media (max-width: 768px) {
  .faq__answer {
    padding: 0 20px;
  }
}
.faq__answer-text {
  margin: 0;
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.7;
}
@media (min-width: 769px) {
  .faq__answer-text {
    margin: 0 31px;
  }
}

/* ===========================================
   9. CTA FORM
   =========================================== */
.cta-form {
  position: relative;
}
.cta-form__header {
  background: var(--color-green02);
  padding: 32px 20px;
  text-align: center;
}
@media (max-width: 768px) {
  .cta-form__header {
    padding: 24px 16px;
  }
}
.cta-form__header-line1, .cta-form__header-line2 {
  margin: 0;
  color: var(--color-white);
  font-weight: 800;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .cta-form__header-line1, .cta-form__header-line2 {
    font-size: 20px;
  }
}
.cta-form__header-line1 {
  font-size: 24px;
  margin-bottom: 4px;
}
.cta-form__header-line2 {
  font-size: 24px;
}
.cta-form__body {
  background: var(--color-section-accent);
  padding: 48px 20px 56px;
}
@media (max-width: 768px) {
  .cta-form__body {
    padding: 40px 16px 48px;
  }
}
.cta-form__inner {
  max-width: 600px;
  margin: 0 auto;
}
.cta-form__title {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-green);
  text-align: center;
}
@media (max-width: 768px) {
  .cta-form__title {
    font-size: 24px;
  }
}
.cta-form__required {
  margin: 0 0 32px;
  font-size: 14px;
  color: var(--color-text);
  text-align: center;
}
.cta-form__error {
  color: var(--color-error);
  margin: 0 0 16px;
  font-size: 14px;
}
.cta-form__form,
.cta-form__body .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 768px) {
  .cta-form__form,
  .cta-form__body .wpcf7-form {
    gap: 20px;
  }
}
/* CF7 integration: reset auto-generated p margins */
.cta-form__body .wpcf7-form p {
  margin: 0;
}
.cta-form__body .wpcf7-form .cta-form__field p {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cta-form__body .wpcf7-form .cta-form__field p br {
  display: none;
}
.cta-form__body .wpcf7-form > .screen-reader-response,
.cta-form__body .wpcf7-form > fieldset.hidden-fields-container {
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
}
.cta-form__body .wpcf7-form .wpcf7-response-output {
  margin: 0;
  text-align: center;
}
.cta-form__body .wpcf7-form .wpcf7-not-valid-tip {
  color: var(--color-error);
  font-size: 13px;
  margin-top: 4px;
}
.cta-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cta-form__label {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
}
.cta-form__asterisk {
  color: var(--color-error);
  margin-left: 2px;
  font-size: 0.875em;
}
.cta-form__optional {
  color: var(--color-muted);
  font-weight: 400;
  font-size: 0.875rem;
}
.cta-form__input, .cta-form__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-gray-300);
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--color-white);
  color: var(--color-text);
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cta-form__input:focus, .cta-form__textarea:focus {
  outline: none;
  border-color: #2A60B3;
  box-shadow: 0 0 0 3px rgba(42, 96, 179, 0.1);
}
.cta-form__input::placeholder, .cta-form__textarea::placeholder {
  color: var(--color-section-accent);
  font-size: 14px;
}
.cta-form__textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}
.cta-form__privacy {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}
@media (min-width: 769px) {
  .cta-form__privacy {
    text-align: center;
  }
}
.cta-form__submit {
  position: relative;
  width: 276px;
  height: 49px;
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  border-radius: 999px;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.2s, transform 0.1s;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .cta-form__submit {
    font-size: 1rem;
    padding: 14px 24px;
  }
}
.cta-form__submit:hover {
  background: var(--color-accent-hover);
}
.cta-form__submit:active {
  transform: scale(0.98);
}
.cta-form__submit-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) scaleX(0.9) scaleY(1.5);
  transform-origin: center;
  font-size: 1.25rem;
  font-weight: 400;
  display: inline-block;
}

/* ===========================================
   10. ANIMATIONS
   =========================================== */
@keyframes nayami-logos-flow {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --- PC overrides for hero captions --- */
@media (min-width: 769px) {
  .hero__caption--left {
    bottom: 21%;
    left: -10%;
  }
  .hero__caption--right {
    bottom: 21%;
    right: -17%;
  }
}

/* --- Fade-up animation --- */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================================
   11. NEW ARTICLES CAROUSEL
   =========================================== */
/* New Articles Carousel */
.new-articles { padding: 60px 20px; text-align: center; }
.new-articles__inner { max-width: 1100px; margin: 0 auto; }
.new-articles__label { font-family: 'Noto Sans', sans-serif; font-size: 18px; font-weight: 700; color: var(--color-section-label); margin: 0 0 4px; }
.new-articles__title { font-size: 30px; font-weight: 700; color: var(--color-text); margin: 0 0 32px; }
.article-card { display: block; text-decoration: none; color: inherit; border: 1px solid var(--color-border-muted); border-radius: 10px; overflow: hidden; text-align: left; }
.article-card__thumb { aspect-ratio: 280/150; overflow: hidden; background: var(--color-placeholder-bg); }
.article-card__thumb img, .article-card__no-img { width: 100%; height: 100%; object-fit: cover; }
.article-card__no-img { background: var(--color-placeholder-bg); }
.article-card__body { padding: 18px 17px; }
.article-card__date { display: block; font-size: 12px; font-weight: 400; color: var(--color-text); line-height: 18px; margin-bottom: 6px; }
.article-card__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
  line-height: 18px;
  letter-spacing: 0;
  min-height: calc(18px * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Splide overrides */
#new-articles-splide {
  position: relative;
  padding: 0 48px;
}
#new-articles-splide .splide__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-section-label);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  opacity: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 1;
}
#new-articles-splide .splide__arrow--prev {
  left: 0;
  transform: translateY(-50%) rotate(180deg);
}
#new-articles-splide .splide__arrow--next {
  right: 0;
}
#new-articles-splide .splide__arrow svg {
  width: 12px;
  height: 12px;
  fill: var(--color-white);
}
#new-articles-splide .splide__arrow:hover {
  opacity: 0.8;
}
#new-articles-splide .splide__pagination {
  bottom: -30px;
  position: relative;
  padding: 0;
}
#new-articles-splide .splide__pagination__page {
  width: 8px;
  height: 8px;
  background: var(--color-section-accent);
  border: none;
  border-radius: 50%;
  margin: 0 5px;
  padding: 0;
  cursor: pointer;
}
#new-articles-splide .splide__pagination__page.is-active {
  background: var(--color-green);
  transform: scale(1);
}
.new-articles__more {
  margin-top: 60px;
}
.new-articles__more-btn {
  display: inline-block;
  width: 150px;
  height: 30px;
  line-height: 30px;
  border: 1px solid var(--color-green02);
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-green02);
  text-align: center;
  text-decoration: none;
  background: var(--color-white);
}
.new-articles__more-btn:hover {
  background: var(--color-green);
  color: var(--color-white);
}

@media (max-width: 768px) {
  #new-articles-splide {
    padding: 0;
  }
  #new-articles-splide .splide__pagination {
    bottom: -20px;
  }
  .new-articles__more {
    margin-top: 50px;
  }
  .new-articles__more-btn {
    width: 150px;
    height: 30px;
    line-height: 30px;
    border: 1px solid var(--color-green02);
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    color: var(--color-green02);
    background: var(--color-white);
  }
  #new-articles-splide .article-card {
    max-width: 280px;
    margin: 0 auto;
  }
  .cases-cta {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-top: 50px;
    margin-bottom: 0;
    border-radius: 30px;
  }
}
/*-------------追加-------------*/
.remarks{
  font-size: 12px;
  text-align: right;
  max-width: 1200px;
  margin: auto;
}
@media (max-width: 768px) {
  .remarks{
    text-align: left;
    font-size: 10px;
  }
}
@media (min-width: 769px) {
  .fade-up {
    opacity: 1 !important;
    transform: none !important;
  }
}
.pc{
  display: block;
}
.sp{
  display: none;
}
@media (max-width: 768px) {
  .pc{
  display: none;
}
.sp{
  display: block;
}
}
ul{
  padding: 0;
}