/*
Theme Name: ad.listing
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: Custom original theme for ad.listing
Version: 1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: ad-listing
*/

/* =========================
  トップビュー
========================= */
.fv {
  position: relative;
  overflow: hidden;
}

/* 背景画像 */
.fv__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.fv__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  transform: scale(1.08);
  animation: fvBgZoomPower 10s ease-out forwards;
}

/* スモーク */
.fv__smoke {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.92) 38%,
    rgba(255, 255, 255, 0.7) 55%,
    rgba(255, 255, 255, 0.2) 70%,
    rgba(255, 255, 255, 0) 82%
  );
}

/* レイアウト */
.fv__inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 40px;
}

.fv__content {
  max-width: 560px;
  text-align: center;
}

/* 吹き出し */
.fv__label {
  display: table;
  margin: 0 auto 24px;
  padding: 10px 22px;
  background: #007b43;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border-radius: 999px;
  position: relative;
  transform-origin: center;
}

.fv__label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 12px solid #007b43;
}

/* タイトル */
.fv__title {
  margin-bottom: 20px;
  line-height: 1.2;
  transform-origin: center;
}

.fv__title-main,
.fv__title-sub {
  display: block;
  font-weight: 800;
}

.fv__title-main {
  font-size: clamp(30px, 4.5vw, 56px);
}

.fv__title-sub {
  margin-top: 6px;
  font-size: clamp(30px, 4.5vw, 56px);
}

.accent-blue {
  color: #2f4ea2;
}

.accent-green {
  color: #007b43;
}

/* 「で」 */
.fv__small {
  font-size: 0.55em;
  margin-left: -2px;
  white-space: nowrap;
}

.fv__nowrap {
  white-space: nowrap;
}

/* テキスト */
.fv__text {
  margin-bottom: 32px;
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1.7;
  color: #333;
}

/* CTA */
.fv__cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 520px;
  margin: 0 auto;
  padding: 18px 60px;
  border-radius: 999px;
  background: linear-gradient(180deg, #007b43 0%, #007b43 100%);
  box-shadow:
    inset 0 -6px 0 rgba(0, 0, 0, 0.12),
    0 10px 24px rgba(114, 191, 24, 0.28);
  color: #fff;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.fv__cta:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow:
    inset 0 -6px 0 rgba(0, 0, 0, 0.12),
    0 16px 30px rgba(114, 191, 24, 0.36);
}

/* バッジ */
.fv__cta-badge {
  position: absolute;
  top: -14px;
  left: -14px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #e67e22;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  transform: rotate(-12deg);
  animation: badgeBounce 2.2s ease-in-out infinite;
}

/* テキスト中央 */
.fv__cta-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.fv__cta-body small {
  font-size: 14px;
}

.fv__cta-body strong {
  font-size: 24px;
  font-weight: 800;
}

/* 矢印 */
.fv__cta-arrow {
  position: absolute;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #4d8f11;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  animation: arrowMovePower 1.2s ease-in-out infinite;
}

/* 共通アニメーション */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUpPower 0.9s ease forwards;
  animation-fill-mode: forwards;
}

.fv__label.fade-up {
  animation: labelPop 0.9s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

.fv__title.fade-up {
  animation: titleZoomIn 1s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

.fv__text.fade-up {
  animation: fadeUpPower 0.9s ease forwards;
}

.fv__cta.fade-up {
  opacity: 0;
  animation:
    fadeUpPower 0.9s ease forwards,
    ctaFloatPower 2s ease-in-out 1.2s infinite,
    ctaPulse 2.4s ease-out 1.5s infinite;
}

.delay-1 {
  animation-delay: 0.15s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.7s;
}

.delay-4 {
  animation-delay: 1s, 1.3s, 1.5s;
}

/* keyframes */
@keyframes fadeUpPower {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  60% {
    opacity: 1;
    transform: translateY(-6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titleZoomIn {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.92);
    filter: blur(6px);
  }
  60% {
    opacity: 1;
    transform: translateY(-4px) scale(1.03);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes labelPop {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.85);
  }
  60% {
    opacity: 1;
    transform: translateY(-2px) scale(1.06);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ctaFloatPower {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes arrowMovePower {
  0%,
  100% {
    transform: translateY(-2px) translateX(0);
  }
  50% {
    transform: translateY(-2px) translateX(8px);
  }
}

@keyframes badgeBounce {
  0%,
  100% {
    transform: rotate(-12deg) translateY(0);
  }
  50% {
    transform: rotate(-12deg) translateY(-6px);
  }
}

@keyframes ctaPulse {
  0% {
    box-shadow:
      inset 0 -6px 0 rgba(0, 0, 0, 0.12),
      0 10px 24px rgba(114, 191, 24, 0.28),
      0 0 0 0 rgba(143, 214, 42, 0.35);
  }
  70% {
    box-shadow:
      inset 0 -6px 0 rgba(0, 0, 0, 0.12),
      0 10px 24px rgba(114, 191, 24, 0.28),
      0 0 0 16px rgba(143, 214, 42, 0);
  }
  100% {
    box-shadow:
      inset 0 -6px 0 rgba(0, 0, 0, 0.12),
      0 10px 24px rgba(114, 191, 24, 0.28),
      0 0 0 0 rgba(143, 214, 42, 0);
  }
}

@keyframes fvBgZoomPower {
  0% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .fv {
    background: #fff;
  }

  .fv__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    height: 260px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

  .fv__bg-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    transform: scale(1.04);
    animation: fvBgZoomSp 8s ease-out forwards;
  }

  .fv__smoke {
    position: absolute;
    top: 180px;
    left: 0;
    right: 0;
    height: 120px;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.35) 30%,
      rgba(255, 255, 255, 0.72) 65%,
      rgba(255, 255, 255, 1) 100%
    );
    filter: blur(8px);
  }

  .fv__inner {
    padding: 260px 20px 40px;
  }

  .fv__content {
    max-width: 100%;
  }

  .fv__label {
    font-size: 14px;
    padding: 8px 16px;
    margin-bottom: 18px;
  }

  .fv__label::after {
    bottom: -8px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid #1f8f73;
  }

  .fv__title {
    margin-bottom: 16px;
  }

  .fv__title-main,
  .fv__title-sub {
    font-size: 28px;
  }

  .fv__text {
    margin-bottom: 24px;
    font-size: 15px;
  }

  .fv__cta {
    width: 100%;
    max-width: 100%;
    padding: 14px 50px;
  }

  .fv__cta-badge {
    width: 56px;
    height: 56px;
    font-size: 14px;
    top: -10px;
    left: -10px;
  }

  .fv__cta-body small {
    font-size: 12px;
  }

  .fv__cta-body strong {
    font-size: 18px;
  }

  .fv__cta-arrow {
    right: 12px;
    width: 32px;
    height: 32px;
    font-size: 18px;
  }
}

@keyframes fvBgZoomSp {
  0% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}

/* =========================
  悩み
========================= */
.worries {
  position: relative;
  min-height: auto;
  padding: 80px 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

/* 背景の流れる文字 */
.worries-bg {
  position: absolute;
  top: -14%;
  left: -22%;
  width: 144%;
  height: 130%;
  z-index: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  transform: rotate(-3deg) scale(1.08);
  transform-origin: center;
  opacity: 1;
}

.worries-bg__row--mobile {
  display: none;
}

.worries-bg__row {
  display: flex;
  align-items: center;
  width: max-content;
  min-width: 230%;
  white-space: nowrap;
  will-change: transform;
}

.worries-bg__row span {
  display: inline-block;
  margin-right: 52px;
  font-size: clamp(40px, 7vw, 92px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  color: transparent;
  -webkit-text-stroke: 1px #eef2f3;
  text-transform: uppercase;
  opacity: 0.95;
}

.worries-bg__row--left {
  animation: worriesFlowLeft 34s linear infinite;
}

.worries-bg__row--right {
  animation: worriesFlowRight 34s linear infinite;
}

@keyframes worriesFlowLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-18%);
  }
}

@keyframes worriesFlowRight {
  0% {
    transform: translateX(-18%);
  }
  100% {
    transform: translateX(0);
  }
}

/* コンテンツを背景より前に */
.worries-title,
.worries-inner {
  position: relative;
  z-index: 2;
}

.worries-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 56px;
  line-height: 1.4;
  color: #222;
}

.worries-title span {
  background: #1f8f732e;
  padding: 0 10px;
}

.worries-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;
  column-gap: 72px;
}

.worries-person {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.worries-person img {
  width: 95%;
  max-width: 220px;
  height: auto;
  margin-bottom: -6px;
}

.bubble {
  width: 100%;
  min-height: 80px;
  display: block;
  background: transparent;
  padding: 0;
  box-sizing: border-box;
}

.bubble__inner {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 84px;
  background: #a0ceac;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 22px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow:
    0 12px 28px rgba(56, 76, 145, 0.14),
    0 4px 10px rgba(56, 76, 145, 0.08);
}

.bubble__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.05) 38%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
}

.bubble.accent .bubble__inner {
  background: #1f8f73;
  box-shadow:
    0 14px 30px rgba(42, 52, 112, 0.18),
    0 4px 10px rgba(42, 52, 112, 0.1);
}

.worries-bubbles {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.worries-bubbles .bubble:nth-child(1) {
  grid-column: 1;
}

.worries-bubbles .bubble:nth-child(2) {
  grid-column: 2;
}

.worries-bubbles .bubble:nth-child(3) {
  grid-column: 3;
}

.worries-bubbles .bubble:nth-child(4) {
  grid-column: 1;
  transform: translateX(50%);
}

.worries-bubbles .bubble:nth-child(5) {
  grid-column: 2;
  transform: translateX(50%);
}

.stagger-up .bubble__inner {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
}

.stagger-up.is-show .bubble__inner {
  animation: bubbleUp 0.9s ease-out forwards;
}

.stagger-up.is-show .bubble:nth-child(1) .bubble__inner {
  animation-delay: 0s;
}
.stagger-up.is-show .bubble:nth-child(2) .bubble__inner {
  animation-delay: 0.12s;
}
.stagger-up.is-show .bubble:nth-child(3) .bubble__inner {
  animation-delay: 0.24s;
}
.stagger-up.is-show .bubble:nth-child(4) .bubble__inner {
  animation-delay: 0.36s;
}
.stagger-up.is-show .bubble:nth-child(5) .bubble__inner {
  animation-delay: 0.48s;
}

@keyframes bubbleUp {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  60% {
    opacity: 1;
    transform: translateY(-6px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 768px) {
  .worries {
    padding: 48px 16px 32px;
  }

  .worries-title {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .worries-inner {
    grid-template-columns: 140px minmax(0, 1fr);
    column-gap: 12px;
  }

  .worries-bg {
    top: -28%;
    left: -44%;
    width: 190%;
    height: 168%;
    justify-content: space-evenly;
    transform: rotate(-5deg) scale(1.22);
  }

  .worries-bg__row--mobile {
    display: flex;
  }

  .worries-bg__row {
    min-width: 290%;
  }

  .worries-bg__row span {
    margin-right: 34px;
    font-size: clamp(34px, 9vw, 56px);
    line-height: 1;
    -webkit-text-stroke: 1px #dde3f8;
  }

  .worries-bubbles {
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
    margin-left: -6%;
  }

  .worries-bubbles .bubble {
    grid-column: auto !important;
    transform: none !important;
    width: 100%;
    margin: 0;
  }

  .worries-bubbles .bubble:nth-child(2),
  .worries-bubbles .bubble:nth-child(4) {
    margin-left: 20px;
  }

  .worries-bubbles .bubble:nth-child(1),
  .worries-bubbles .bubble:nth-child(3),
  .worries-bubbles .bubble:nth-child(5) {
    margin-right: 20px;
  }

  .worries-bubbles .bubble:nth-child(2) .bubble__inner,
  .worries-bubbles .bubble:nth-child(4) .bubble__inner {
    padding-left: 12%;
    padding-right: 8%;
  }

  .worries-bubbles .bubble:nth-child(1) .bubble__inner,
  .worries-bubbles .bubble:nth-child(3) .bubble__inner,
  .worries-bubbles .bubble:nth-child(5) .bubble__inner {
    padding-left: 8%;
    padding-right: 12%;
  }

  .worries-person img {
    max-width: 260px;
  }
}

@media (max-width: 480px) {
  .worries-bg {
    top: -32%;
    left: -52%;
    width: 220%;
    height: 182%;
    transform: rotate(-6deg) scale(1.28);
  }

  .worries-bg__row {
    min-width: 330%;
  }

  .worries-bg__row span {
    margin-right: 30px;
    font-size: 42px;
  }
}

/* =========================
  特徴・サービス
========================= */
.feature-section {
  padding: 0 20px 80px;
  /*background: #f8fbfa;*/
  overflow: hidden;
  position: relative;
}

.feature-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 56px;
}

/* セクション境目の単色帯 */
.feature-top-band {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #007b43;
  padding: 18px 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(95, 140, 148, 0.14);
}

/* 共通の下から出るアニメを無効化して、横だけで入れる */
.feature-top-band.feature-animate {
  transform: none;
}

.feature-top-band.feature-animate.is-active {
  transform: none;
}

.feature-top-band-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto;

  opacity: 0;
  transform: translateX(-140px);
}

.feature-top-band.is-active .feature-top-band-inner {
  animation: featureTopBandGroupSlideIn 0.9s cubic-bezier(0.22, 1, 0.36, 1)
    forwards;
}

.feature-top-band-line {
  font-size: 38px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.98);
  font-weight: 900;
  letter-spacing: -0.08em;
  text-shadow:
    1px 0 currentColor,
    -1px 0 currentColor,
    0.5px 0 currentColor,
    -0.5px 0 currentColor;
  flex-shrink: 0;
}

.feature-top-band-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

/* 上部 2カラム */
.feature-main {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 56px;
}

.feature-image {
  position: relative;
  flex: 1;
  text-align: center;
  padding-top: 24px;
  padding-left: 24px;
}

.feature-image img {
  width: 100%;
  max-width: 430px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* バッジ */
.feature-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 120px;
  background: #e67e22;
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.25;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  z-index: 2;
}

.feature-badge::after {
  content: "";
  position: absolute;
  right: -2px;
  bottom: 16px;
  width: 28px;
  height: 28px;
  background: #e67e22;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: rotate(18deg);
}

.feature-content {
  flex: 1;
  min-width: 0;
}

.feature-catch {
  margin: 0 0 20px;
  font-size: 24px;
  line-height: 1.6;
  color: #334;
  font-weight: 500;
}

.feature-catch strong {
  font-size: 42px;
  line-height: 1.3;
  color: #007b43;
  font-weight: 700;
}

.feature-text {
  margin: 0;
  font-size: 16px;
  line-height: 2;
  color: #000000;
}

/* 下部 3ボックス */
.feature-bottom {
  display: flex;
  gap: 12px;
}

.feature-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 18px 16px;
  min-height: 138px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* 緑白青系に調整 */
.feature-bottom .feature-item:nth-child(1) {
  background: #edf7f2;
  border: 1px solid #cfe5db;
}

.feature-bottom .feature-item:nth-child(2) {
  background: #f4f9fb;
  border: 1px solid #d5e6ee;
}

.feature-bottom .feature-item:nth-child(3) {
  background: #eef4f8;
  border: 1px solid #d4e0e8;
}

.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(73, 103, 110, 0.1);
}

.feature-item-left {
  width: 110px;
  flex-shrink: 0;
  text-align: center;
}

.feature-num {
  margin: 0 0 8px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.feature-bottom .feature-item:nth-child(1) .feature-num,
.feature-bottom .feature-item:nth-child(1) .feature-lead {
  color: #007b43;
}

.feature-bottom .feature-item:nth-child(2) .feature-num,
.feature-bottom .feature-item:nth-child(2) .feature-lead {
  color: #4f7486;
}

.feature-bottom .feature-item:nth-child(3) .feature-num,
.feature-bottom .feature-item:nth-child(3) .feature-lead {
  color: #5c7f9a;
}

.feature-sub {
  margin: 0 0 4px;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 700;
}

.feature-bottom .feature-item:nth-child(1) .feature-sub {
  color: #6f9d8a;
}

.feature-bottom .feature-item:nth-child(2) .feature-sub {
  color: #7d9aaa;
}

.feature-bottom .feature-item:nth-child(3) .feature-sub {
  color: #86a0b4;
}

.feature-lead {
  margin: 0;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 700;
}

.feature-item-right {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}

.feature-item-right ul {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-item-right li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: #000000;
}

.feature-item-right li:last-child {
  margin-bottom: 0;
}

.feature-item-right li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.feature-bottom .feature-item:nth-child(1) .feature-item-right li::before {
  background: #6eaf92;
  box-shadow: 0 0 0 1px #6eaf92;
}

.feature-bottom .feature-item:nth-child(2) .feature-item-right li::before {
  background: #7fa8bb;
  box-shadow: 0 0 0 1px #7fa8bb;
}

.feature-bottom .feature-item:nth-child(3) .feature-item-right li::before {
  background: #8eaec7;
  box-shadow: 0 0 0 1px #8eaec7;
}

/* 初期状態 */
.feature-animate {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  will-change: opacity, transform;
}

/* 発火後 */
.feature-animate.is-active {
  opacity: 1;
  transform: translateY(0);
}

.feature-delay-0 {
  transition-delay: 0s;
}

.feature-delay-1 {
  transition-delay: 0.1s;
}

.feature-delay-2 {
  transition-delay: 0.2s;
}

.feature-delay-3 {
  transition-delay: 0.1s;
}

.feature-delay-4 {
  transition-delay: 0.2s;
}

.feature-delay-5 {
  transition-delay: 0.3s;
}

/* 発火後の継続アニメ */
.feature-image.is-active img {
  animation: featureImageFloat 5s ease-in-out infinite;
}

.feature-image.is-active .feature-badge {
  animation: featureBadgeBounce 2.8s ease-in-out infinite;
}

.feature-top-band.is-active .feature-top-band-line {
  animation: featureSlashWave 1.8s ease-in-out 1s infinite;
}

@keyframes featureTopBandGroupSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-140px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes featureImageFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes featureBadgeBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes featureSlashWave {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-3px) scale(1.08);
  }
}

@media (max-width: 900px) {
  .feature-inner {
    padding-top: 40px;
  }

  .feature-top-band {
    padding: 14px 16px;
  }

  .feature-top-band-inner {
    gap: 10px;
    transform: translateX(-100px);
  }

  .feature-top-band-line {
    font-size: 30px;
  }

  .feature-top-band-text {
    min-height: 42px;
    padding: 0 18px;
    font-size: 22px;
    letter-spacing: 0.08em;
  }

  .feature-main {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .feature-image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding-top: 24px;
    padding-left: 24px;
  }

  .feature-content {
    width: 100%;
    text-align: center;
  }

  .feature-bottom {
    flex-direction: column;
  }

  .feature-item {
    min-height: auto;
  }
}

@media (max-width: 600px) {
  .feature-section {
    padding: 0 16px 56px;
  }

  .feature-inner {
    padding-top: 28px;
  }

  .feature-top-band {
    padding: 12px 10px;
  }

  .feature-top-band-inner {
    gap: 6px;
    transform: translateX(-72px);
  }

  .feature-top-band-line {
    font-size: 22px;
    text-shadow:
      0.8px 0 currentColor,
      -0.8px 0 currentColor;
  }

  .feature-top-band-text {
    min-height: 34px;
    padding: 0 12px;
    font-size: 19px;
    letter-spacing: 0.05em;
  }

  .feature-main {
    gap: 28px;
    margin-bottom: 40px;
  }

  .feature-image {
    max-width: 340px;
    padding-top: 18px;
    padding-left: 0;
    padding-right: 0;
    margin: 0 auto;
  }

  .feature-image img {
    max-width: 100%;
  }

  .feature-badge {
    width: 92px;
    height: 92px;
    font-size: 20px;
    top: 0;
    left: 0;
    line-height: 1.2;
  }

  .feature-badge::after {
    right: -1px;
    bottom: 12px;
    width: 22px;
    height: 22px;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    transform: rotate(18deg);
  }

  .feature-catch {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 16px;
    text-align: center;
  }

  .feature-catch strong {
    font-size: 32px;
    line-height: 1.3;
  }

  .feature-text {
    font-size: 14px;
    line-height: 1.9;
    text-align: center;
  }

  .feature-bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .feature-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 12px;
  }

  .feature-item-left {
    width: 92px;
    flex-shrink: 0;
    text-align: center;
  }

  .feature-item-right {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
  }

  .feature-item-right ul {
    width: 100%;
  }

  .feature-num {
    font-size: 29px;
    margin-bottom: 6px;
  }

  .feature-sub {
    font-size: 10px;
    line-height: 1.4;
    margin-bottom: 2px;
  }

  .feature-lead {
    font-size: 25px;
    line-height: 1.15;
  }

  .feature-item-right li {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 6px;
    padding-left: 18px;
  }

  .feature-item-right li::before {
    width: 8px;
    height: 8px;
    top: 0.5em;
  }
}

/* =========================
  代表挨拶
========================= */
.cs-message-section {
  padding: 100px 20px;
  background-image: url("assets/img/bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cs-message-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.cs-message-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 56px;
}

.cs-message-content {
  flex: 1;
  max-width: 1000px;
}

.cs-message-image.is-hidden {
  display: none;
}

.cs-message-label {
  position: relative;
  display: inline-block;
  margin: 0 0 28px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #007b43;
}

.cs-message-label::before,
.cs-message-label::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 1px;
  background: #2f4f4f;
  transform: translateY(-50%);
}

.cs-message-label::before {
  left: 0;
}

.cs-message-label::after {
  right: 0;
}

.cs-message-title {
  margin: 0 0 48px;
  font-size: 52px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #1f2d2d;
}

.cs-message-text p {
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 2.1;
  color: #3f5252;
}

.cs-message-text p:last-child {
  margin-bottom: 0;
}

.cs-message-profile {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 72px;
}

.cs-message-position {
  font-size: 16px;
  color: #384848;
}

.cs-message-name {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.04em;
}

.cs-message-name-en {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #007b43;
}

.cs-message-image {
  flex: 0 0 440px;
}

.cs-message-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* アニメーション初期状態 */
.cs-message-fade {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  will-change: opacity, transform;
}

/* 発火後 */
.cs-message-section.cs-message-show .cs-message-fade {
  opacity: 1;
  transform: translateY(0);
}

/* 表示順 */
.cs-message-section.cs-message-show .cs-message-label {
  transition-delay: 0s;
}

.cs-message-section.cs-message-show .cs-message-image {
  transition-delay: 0.08s;
}

.cs-message-section.cs-message-show .cs-message-title {
  transition-delay: 0.16s;
}

.cs-message-section.cs-message-show .cs-message-text p:nth-child(1) {
  transition-delay: 0.24s;
}

.cs-message-section.cs-message-show .cs-message-text p:nth-child(2) {
  transition-delay: 0.32s;
}

.cs-message-section.cs-message-show .cs-message-text p:nth-child(3) {
  transition-delay: 0.4s;
}

.cs-message-section.cs-message-show .cs-message-profile {
  transition-delay: 0.48s;
}

@media (max-width: 1024px) {
  .cs-message-grid {
    gap: 40px;
  }

  .cs-message-title {
    font-size: 42px;
  }

  .cs-message-text p {
    font-size: 16px;
    line-height: 2;
  }

  .cs-message-image {
    flex: 0 0 380px;
  }

  .cs-message-name {
    font-size: 36px;
  }

  .cs-message-name-en {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .cs-message-section {
    padding: 72px 16px;
  }

  .cs-message-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cs-message-content {
    display: contents;
  }

  .cs-message-label {
    order: 1;
    margin-bottom: 0;
  }

  .cs-message-image {
    order: 2;
    flex: none;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .cs-message-title {
    order: 3;
    margin: 0 0 28px;
    font-size: 31px;
    line-height: 1.5;
  }

  .cs-message-text {
    order: 4;
  }

  .cs-message-text p {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.95;
  }

  .cs-message-profile {
    order: 5;
    margin-top: 40px;
    gap: 10px 14px;
  }

  .cs-message-position {
    font-size: 14px;
  }

  .cs-message-name {
    font-size: 24px;
  }

  .cs-message-name-en {
    display: block;
    width: 100%;
    font-size: 14px;
  }
}

/* =========================
  LP制作事例
========================= */
.project-story {
  padding: 60px 0;
  overflow: hidden;
}

.project-story__inner {
  width: min(1400px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 24px;
  align-items: center;
}

.project-story__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-story__content,
.project-story__slider {
  opacity: 0;
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  will-change: transform, opacity;
}

.project-story__content {
  transform: translateX(-60px);
}

.project-story__slider {
  overflow: hidden;
  transform: translateX(60px);
}

.project-story.is-active .project-story__content,
.project-story.is-active .project-story__slider {
  opacity: 1;
  transform: translateX(0);
}

.project-story.is-active .project-story__slider {
  transition-delay: 0.15s;
}

.project-story__eyebrow {
  font-size: 22px;
  color: #007b43;
  font-weight: 700;
  margin-bottom: 12px;
}

.project-story__title {
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.4;
  margin: 0;
}

.project-story__text {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.9;
}

.project-story__slider-mask {
  overflow: hidden;
}

.project-story__track {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  animation: none;
}

.project-story__track.is-running {
  animation: scrollLoop 20s linear infinite;
}

.project-story__slide {
  flex: 0 0 auto;
  width: auto;
  overflow: hidden;
}

.project-story__slide img {
  display: block;
  width: auto;
  height: 340px;
  max-width: none;
  object-fit: contain;
}

@keyframes scrollLoop {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(calc(-50% - 4px), 0, 0);
  }
}

/* =========================
  バナー制作事例
========================= */
.caseflow {
  padding: 60px 0;
  overflow: hidden;
}

.caseflow__wrap {
  width: min(1400px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 58% 42%;
  gap: 24px;
  align-items: center;
}

.caseflow__visual,
.caseflow__info {
  opacity: 0;
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  will-change: transform, opacity;
}

.caseflow__visual {
  overflow: hidden;
  min-width: 0;
  transform: translateX(-60px);
}

.caseflow__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translateX(60px);
}

.caseflow.is-active .caseflow__visual,
.caseflow.is-active .caseflow__info {
  opacity: 1;
  transform: translateX(0);
}

.caseflow.is-active .caseflow__info {
  transition-delay: 0.15s;
}

.caseflow__viewport {
  width: 100%;
  overflow: hidden;
}

.caseflow__rail {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  animation: none;
}

.caseflow__rail.is-running {
  animation: caseflowScroll 24s linear infinite;
}

.caseflow__panel {
  flex: 0 0 auto;
  width: auto;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.caseflow__panel img {
  display: block;
  width: auto;
  height: 340px;
  max-width: none;
  object-fit: contain;
}

.caseflow__label {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
  color: #007b43;
  line-height: 1.2;
}

.caseflow__heading {
  margin: 0;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.4;
  color: #222;
}

.caseflow__desc {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.9;
  color: #333;
}

@keyframes caseflowScroll {
  0% {
    transform: translate3d(calc(-50% - 4px), 0, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

/* hover中に止めたいなら有効化
.project-story__track.is-running:hover,
.caseflow__rail.is-running:hover {
  animation-play-state: paused;
}
*/

@media (max-width: 1024px) {
  .project-story__inner,
  .caseflow__wrap {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-story__slide img,
  .caseflow__panel img {
    height: 300px;
  }

  .project-story__track,
  .caseflow__rail {
    gap: 6px;
  }

  .caseflow__rail.is-running {
    animation-duration: 22s;
  }

  .caseflow__info {
    order: 1;
    transform: translateX(40px);
  }

  .caseflow__visual {
    order: 2;
    transform: translateX(-40px);
  }

  .caseflow.is-active .caseflow__visual,
  .caseflow.is-active .caseflow__info {
    transform: translateX(0);
  }
}

@media (max-width: 767px) {
  .project-story,
  .caseflow {
    padding: 48px 0;
  }

  .project-story__inner,
  .caseflow__wrap {
    width: calc(100% - 24px);
    gap: 16px;
    grid-template-columns: 1fr;
  }

  .project-story__eyebrow,
  .caseflow__label {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .project-story__title,
  .caseflow__heading {
    font-size: 24px;
  }

  .project-story__text,
  .caseflow__desc {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.8;
  }

  .project-story__track,
  .caseflow__rail {
    gap: 4px;
  }

  .project-story__slide img,
  .caseflow__panel img {
    height: 220px;
  }

  .project-story__content {
    transform: translateX(-30px);
  }

  .project-story__slider {
    transform: translateX(30px);
  }

  .caseflow__info {
    order: 1;
    transform: translateX(30px);
  }

  .caseflow__visual {
    order: 2;
    transform: translateX(-30px);
  }

  .project-story.is-active .project-story__content,
  .project-story.is-active .project-story__slider,
  .caseflow.is-active .caseflow__visual,
  .caseflow.is-active .caseflow__info {
    transform: translateX(0);
  }

  .caseflow__rail.is-running {
    animation-duration: 20s;
  }
}

/* 動きが苦手な人向け */
@media (prefers-reduced-motion: reduce) {
  .project-story__content,
  .project-story__slider,
  .caseflow__visual,
  .caseflow__info {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .project-story__track,
  .caseflow__rail {
    animation: none !important;
    transform: none !important;
  }
}

/* =========================
  対応業種
========================= */
.industry {
  padding: 0 20px 100px;
  /*background: #f3f7f6;*/
  overflow: hidden;
}

.industry__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 72px;
}

.industry__top-band-track {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: visible;
  z-index: 2;
}

.industry__top-band {
  position: relative;
  width: 100%;
  background: #007b43;
  padding: 18px 20px;
  box-shadow: 0 8px 20px rgba(95, 140, 148, 0.14);
  transform: translate3d(-100%, 0, 0);
  will-change: transform;
}

.industry__top-band.is-active {
  animation: industryBandWrapSlideIn 0.95s cubic-bezier(0.22, 1, 0.36, 1)
    forwards;
}

/* 吹き出しの三角 */
.industry__top-band::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 20px solid #007b43;
}

.industry__top-band-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.industry__top-band-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  color: #fff;
  font-size: clamp(24px, 3.4vw, 42px);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.35;
  white-space: nowrap;
  text-align: center;
}

.industry__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 38px 18px;
}

.industry-card {
  text-align: center;
  opacity: 0;
  transform: scale(0.85);
  transform-origin: center center;
  will-change: transform, opacity;
}

.industry-card.is-show {
  animation: industryPureBounce 0.8s both;
}

.industry-card__circle {
  width: 160px;
  height: 160px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #b8e7e0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.industry-card__circle--accent {
  background: #93d9cf;
}

.industry-card__circle:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(120, 207, 195, 0.14);
}

.industry-card__circle img {
  max-width: 80px;
  max-height: 80px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.industry-card__label {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.4;
  color: #334140;
  letter-spacing: 0.04em;
}

@keyframes industryBandWrapSlideIn {
  from {
    transform: translate3d(-100%, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes industryPureBounce {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }
  30% {
    opacity: 1;
    transform: scale(1.08, 0.95);
  }
  50% {
    opacity: 1;
    transform: scale(0.96, 1.05);
  }
  65% {
    opacity: 1;
    transform: scale(1.03, 0.98);
  }
  80% {
    opacity: 1;
    transform: scale(0.99, 1.01);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media screen and (max-width: 1024px) {
  .industry {
    padding: 0 20px 90px;
  }

  .industry__inner {
    padding-top: 56px;
  }

  .industry__top-band {
    padding: 14px 16px;
  }

  .industry__top-band::after {
    bottom: -15px;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 17px solid #007b43;
  }

  .industry__top-band-text {
    min-height: 44px;
    padding: 0 20px;
    font-size: clamp(20px, 3.8vw, 32px);
  }

  .industry__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px 16px;
  }

  .industry-card__circle {
    width: 140px;
    height: 140px;
  }

  .industry-card__label {
    font-size: 22px;
  }
}

@media screen and (max-width: 767px) {
  .industry {
    padding: 0 16px 70px;
  }

  .industry__inner {
    padding-top: 42px;
  }

  .industry__top-band {
    padding: 12px 10px;
  }

  .industry__top-band::after {
    bottom: -12px;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-top: 13px solid #007b43;
  }

  .industry__top-band-text {
    min-height: 38px;
    padding: 8px 14px;
    font-size: clamp(16px, 5vw, 24px);
    line-height: 1.45;
    letter-spacing: 0.04em;
    white-space: normal;
  }

  .industry__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 12px;
  }

  .industry-card__circle {
    width: 96px;
    height: 96px;
    margin-bottom: 10px;
  }

  .industry-card__circle img {
    max-width: 50px;
    max-height: 50px;
  }

  .industry-card__label {
    font-size: 15px;
    line-height: 1.5;
  }
}

@media screen and (max-width: 374px) {
  .industry__grid {
    gap: 20px 10px;
  }

  .industry__top-band-text {
    font-size: 15px;
    padding: 8px 12px;
  }

  .industry-card__circle {
    width: 84px;
    height: 84px;
  }

  .industry-card__circle img {
    max-width: 36px;
    max-height: 36px;
  }

  .industry-card__label {
    font-size: 13px;
  }
}

/* =========================
  提供サービスタイトル
========================= */
.sustainability-parallax {
  position: relative;
  width: 100%;
  height: 520px;
  min-height: 450px;
  background-image: url("assets/img/DATA.webp");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* オーバーレイ全体 */
.sustainability-parallax__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.8) 35%,
    rgba(255, 255, 255, 0) 65%
  );
  z-index: 1;
  display: flex;
  align-items: center;
}

/* 文字エリアだけ最大1200px */
.sustainability-parallax__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
}

.sustainability-parallax__content {
  max-width: 550px;
  z-index: 2;
}

.sustainability-parallax__title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #007b43;
  margin-bottom: 15px;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.sustainability-parallax__text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
  font-weight: 500;
}

@media (max-width: 960px) {
  .sustainability-parallax__overlay {
    background: rgba(255, 255, 255, 0.75);
  }

  .sustainability-parallax__inner {
    justify-content: center;
    text-align: center;
    padding: 0 20px;
  }

  .sustainability-parallax__content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .sustainability-parallax {
    height: 500px;
    background-attachment: scroll;
  }

  .sustainability-parallax__title {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }

  .sustainability-parallax__text {
    font-size: 1rem;
    line-height: 1.8;
  }
}

/* =========================
  提供サービス
========================= */
.service-section {
  padding: 40px 24px;
  background: #fff;
}

.service-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(380px, 1fr) minmax(380px, 1fr);
  gap: 44px;
  align-items: start;
}

.service-visual img {
  width: 100%;
  max-width: 520px;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.service-lead {
  margin: 8px 0 28px;
  color: #000000;
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  font-weight: 500;
}

.service-accordion {
  width: 100%;
}

.accordion-item {
  border-bottom: 1px solid #bfd0e7;
}

.accordion-trigger,
.accordion-link {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0 17px;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  color: #222;
}

.accordion-title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.accordion-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  border: 4px solid #dbe7f5;
  display: grid;
  place-items: center;
  background: #f7f7f7;
  transition: all 0.25s ease;
}

.accordion-arrow {
  width: 11px;
  height: 11px;
  border-top: 3px solid #007b43;
  border-right: 3px solid #007b43;
  transform: rotate(45deg);
  margin-left: -3px;
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(90deg);
  border-color: #c9daef;
  background: #eef5fb;
}

.accordion-trigger:hover .accordion-icon,
.accordion-link:hover .accordion-icon {
  border-color: #b6cce7;
  background: #eef5fb;
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-panel-inner {
  padding: 0 0 20px;
  color: #42536d;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 500;
}

.accordion-panel-inner p {
  margin: 0 0 10px;
}

.accordion-panel-inner ul {
  margin: 8px 0 0;
  padding-left: 1.2em;
}

.accordion-panel-inner li + li {
  margin-top: 4px;
}

@media (max-width: 1024px) {
  .service-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-visual img {
    max-width: 580px;
  }
}

@media (max-width: 640px) {
  .service-section {
    padding: 28px 16px;
  }

  .service-lead {
    font-size: 17px;
    line-height: 1.7;
  }

  .accordion-title {
    font-size: 20px;
  }

  .accordion-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-width: 4px;
  }

  .accordion-arrow {
    width: 10px;
    height: 10px;
  }
}

/* =========================
  ヒートマップ
========================= */
.heatmap-feature-section {
  position: relative;
  padding: 10px 10px 60px;
  background: transparent;
  z-index: 0;
}

.heatmap-feature-section::before {
  content: "";
  position: absolute;
  top: 150px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #eef2f3;
  z-index: -1;
}

.heatmap-feature-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "image title"
    "card02 card01"
    ". card03";
  column-gap: 80px;
  row-gap: 24px;
  align-items: start;
}

/* タイトル */
.heatmap-image-title {
  grid-area: title;
  margin: 0;
  align-self: center;
  justify-self: start;
  font-size: 32px;
  line-height: 1.4;
  color: #2d5a47;
  font-weight: 700;
  text-align: left;
  transform: translate(-110px, 70px);
}

/* 画像 */
.heatmap-image-card {
  grid-area: image;
  width: 100%;
  transform: translate(-40px, 80px);
}

.heatmap-image-card img {
  width: 100%;
  display: block;
  border-radius: 4px;
}

/* 共通カード */
.heatmap-text-card {
  position: relative;
  background: #ffffff;
  padding: 20px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  box-sizing: border-box;
  width: 100%;
}

/* 01 */
.card-01 {
  grid-area: card01;
  margin: 0;
}

/* 02 */
.card-02 {
  grid-area: card02;
  width: 88%;
  justify-self: end;
  margin: 0;
  transform: translateY(170px);
}

/* 03 */
.card-03 {
  grid-area: card03;
  margin: 0;
}

/* 数字 */
.heatmap-number {
  position: absolute;
  top: -40px;
  right: 7px;
  font-size: 75px;
  font-weight: 900;
  font-style: italic;
  color: #32373c;
  font-family: "Arial Black", sans-serif;
  line-height: 1;
  pointer-events: none;
}

.heatmap-text-card h3 {
  font-size: 20px;
  color: #e67e22;
  margin-bottom: 15px;
}

.heatmap-text-card p {
  font-size: 14px;
  line-height: 1.8;
  color: #444;
}

@media screen and (max-width: 960px) {
  .heatmap-feature-section {
    padding: 100px 20px;
  }

  .heatmap-feature-section::before {
    top: 0;
  }

  .heatmap-feature-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "image"
      "card01"
      "card02"
      "card03";
    row-gap: 30px;
  }

  .heatmap-image-title {
    justify-self: center;
    text-align: center;
    transform: none;
  }

  .card-01,
  .card-02,
  .card-03 {
    width: 100%;
    margin: 0;
    transform: none;
    justify-self: stretch;
  }

  .heatmap-image-card {
    transform: none;
  }
}

/* =========================
  会社概要
========================= */
:root {
  --bg: #eef2f7;
  --ink: #222;
  --accent: #3047a5;
  --border: #e3e7ee;
  --radius: 10px;
}

.company-certification-bg {
  /*background-image: url("assets/img/bg.webp");*/
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.company-section {
  width: 100%;
  padding: clamp(32px, 6vw, 72px) 0;
}

.company-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
  color: var(--ink);
}

.company-title {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  color: #007b43;
  margin: 0 0 clamp(20px, 3vw, 28px);
}

.company-title::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: #007b43;
  margin: 10px 0 0;
}

.info-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
}

.info-media {
  margin: 0;
}

.info-media img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.info-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
}

.info-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #ffffff;
}

.info-row:first-child {
  border-top: 1px solid #fff;
}

.info-row dt {
  font-weight: 700;
  color: #444;
}

.info-row dd {
  margin: 0;
  color: rgb(0, 0, 0);
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr;
  }

  .info-row {
    grid-template-columns: 120px 1fr;
  }
}

@media (max-width: 480px) {
  .info-row {
    grid-template-columns: 100px 1fr;
  }
}

/* =========================
  資格取得
========================= */
.certification-section {
  padding: 100px 20px;
}

.certification-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-heading {
  text-align: center;
  margin-bottom: 56px;
}

.section-heading-line {
  display: block;
  width: 72px;
  height: 3px;
  margin: 0 auto 20px;
  /*background: linear-gradient(90deg, #1f8f73, #1f8f73);*/
  border-radius: 999px;
}

.section-label {
  margin: 0 0 14px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #007b43;
  text-transform: uppercase;
}

.section-heading h2 {
  position: relative;
  display: inline-block;
  margin: 0;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.3;
  color: #0f172a;
  letter-spacing: 0.03em;
}

.section-description {
  max-width: 680px;
  margin: 22px auto 0;
  font-size: 1rem;
  line-height: 1.9;
  color: #000000;
}

.certification-card {
  display: flex;
  align-items: center;
  gap: 40px;
}

.certification-badge {
  flex: 0 0 220px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.certification-badge.is-hidden {
  display: none;
}

.certification-badge img {
  max-width: 100%;
  height: auto;
  display: block;
}

.certification-content {
  flex: 1;
}

.certification-content h3 {
  margin: 0 0 14px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
}

.certification-content p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.9;
  color: #333;
}

@media screen and (max-width: 768px) {
  .certification-section {
    padding: 80px 20px;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading h2 {
    font-size: 26px;
  }

  .section-description {
    font-size: 0.95rem;
  }

  .certification-card {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }

  .certification-badge {
    flex: none;
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
  }

  .certification-content h3 {
    font-size: 1.25rem;
  }
}

/* =========================
  料金
========================= */
.pricing-plan,
.pricing-plan * {
  box-sizing: border-box;
}

/* 外側の緑 */
.pricing-plan-wrap {
  /*background: #1f8f730a;*/
  padding: 0;
}

/* 白い本体 */
.pricing-plan {
  position: relative;
  padding: 56px 20px;
  background: #007b4324;
  color: #334155;
  overflow: hidden;
  border-top-left-radius: 240px;
  border-bottom-left-radius: 240px;
}

.pricing-plan__container {
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-plan__title {
  margin: 0 0 28px;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  color: #222;
  letter-spacing: 0.03em;
}

.pricing-plan__card {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.pricing-plan__layout {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  grid-template-areas:
    "info example"
    "price price";
  gap: 24px;
  align-items: start;
}

.pricing-plan__info {
  grid-area: info;
}

.pricing-plan__example {
  grid-area: example;
  background: #ffffff;
  border: 1px solid #d9e2e7;
  overflow: hidden;
}

.pricing-plan__detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.pricing-plan__detail-box {
  background: #ffffff;
  border: 1px solid #d9e2e7;
  overflow: hidden;
}

.pricing-plan__detail-head {
  background: #007b43;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.pricing-plan__detail-body {
  padding: 16px;
}

.pricing-plan__detail-body p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}

.pricing-plan__detail-body p:last-child {
  margin-bottom: 0;
}

.pricing-plan__box-title {
  background: #007b43;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
}

.pricing-plan__example-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

.pricing-plan__example-item {
  display: grid;
  grid-template-columns: 1fr 150px;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  background: #ffffff;
  border: 1px solid #e5eaee;
  padding: 12px 14px;
}

.pricing-plan__item-name {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 16px;
  line-height: 1.5;
  color: #2c3338;
  font-weight: 700;
}

.pricing-plan__item-note {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
  color: #64748b;
  font-weight: 400;
}

.pricing-plan__item-name::before {
  content: "□";
  position: absolute;
  left: 0;
  top: 0;
  color: #2f6f73;
  font-size: 12px;
}

.pricing-plan__item-count {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
  font-weight: 700;
  color: #2c3338;
  white-space: nowrap;
}

.pricing-plan__item-count--free {
  justify-self: end;
  padding: 6px 12px;
  color: #007b43;
  font-weight: 700;
}

.pricing-plan__compare-price {
  grid-area: price;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.pricing-plan__compare-box {
  min-height: 120px;
  border: 1px solid #d9e2e7;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 20px;
  text-align: center;
}

.pricing-plan__compare-label {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #007b43;
}

.pricing-plan__compare-value {
  display: block;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.pricing-plan__compare-box--normal .pricing-plan__compare-value {
  color: #94a3b8;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: #94a3b8;
}

.pricing-plan__compare-box--special {
  border: 2px solid #f59e0b;
  background: #fff8e8;
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.12);
}

.pricing-plan__compare-box--special .pricing-plan__compare-label {
  color: #e67e22;
}

.pricing-plan__compare-box--special .pricing-plan__compare-value {
  color: #e67e22;
}

.pricing-plan__compare-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #007b43;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 6px #ffffff;
  z-index: 2;
}

.pricing-plan__note {
  margin: 18px 0 0;
  text-align: center;
  font-size: 13px;
  color: #64748b;
  line-height: 1.8;
}

/* アニメーション */
.js-fade-up,
.js-stagger {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  will-change: opacity, transform;
}

.js-fade-up.is-show,
.js-stagger.is-show {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 900px) {
  .pricing-plan {
    padding: 48px 16px;
    border-top-left-radius: 140px;
    border-bottom-left-radius: 140px;
  }

  .pricing-plan__layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "example"
      "price"
      "info";
  }
}

@media (max-width: 640px) {
  .pricing-plan {
    padding: 40px 14px;
    border-top-left-radius: 90px;
    border-bottom-left-radius: 90px;
  }

  .pricing-plan__title {
    font-size: 26px;
  }

  .pricing-plan__example-item {
    grid-template-columns: 1fr 120px;
    gap: 10px;
  }

  .pricing-plan__compare-price {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pricing-plan__compare-box {
    min-height: 96px;
    padding: 20px 16px;
  }

  .pricing-plan__compare-value {
    font-size: 28px;
  }

  .pricing-plan__compare-arrow {
    width: 48px;
    height: 48px;
    font-size: 0;
    box-shadow: 0 0 0 4px #ffffff;
  }

  .pricing-plan__compare-arrow::before {
    content: "↓";
    font-size: 22px;
  }
}

/* =========================
  流れ
========================= */
#flow,
#flow *,
#flow *::before,
#flow *::after {
  box-sizing: border-box;
}

#flow {
  padding: 70px 20px 90px;
  overflow: hidden;
}

#flow img {
  display: block;
  max-width: 100%;
}

#flow .flow__inner {
  max-width: 1200px;
  margin: 0 auto;
}

#flow .flow__en {
  margin: 0 0 8px;
  text-align: center;
  color: #007b43;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

#flow .flow__title {
  margin: 0;
  text-align: center;
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.2;
  font-weight: 700;
  color: #14233c;
}

#flow .flow__heads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  max-width: 880px;
  margin: 26px auto 16px;
}

#flow .flow__head {
  width: 190px;
  height: 30px;
  margin: 0 auto;
  border-radius: 999px;
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

#flow .flow__head--left {
  color: #476963;
}

#flow .flow__head--right {
  color: #007b43;
}

#flow .flow__board {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  min-height: 1460px;
  padding: 16px 0 48px;
}

#flow .flow__col {
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(50% - 26px);
}

#flow .flow__col--left {
  left: 0;
  background: #1f8f730a;
}

#flow .flow__col--right {
  right: 0;
  background: #e4f2e9;
  border-radius: 0;
}

#flow .flow__centerline {
  position: absolute;
  top: 58px;
  bottom: 24px;
  left: 50%;
  width: 28px;
  transform: translateX(-50%);
  z-index: 2;
}

#flow .flow__line-base {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  transform: translateX(-50%);
  background: rgba(31, 143, 115, 0.18);
  border-radius: 999px;
}

#flow .flow__line-fill {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 0;
  transform: translateX(-50%);
  background: #1f8f73;
  border-radius: 999px;
}

#flow .flow-step {
  position: absolute;
  width: calc(50% - 54px);
  z-index: 3;
  --flow-offset-to-line: 54px;
  --flow-point-size: 40px;
  --flow-node-size: 14px;
  --flow-point-gap: 22px;
  --flow-connector-width: 76px;
}

#flow .flow-step--left {
  left: 0;
  padding-right: 90px;
}

#flow .flow-step--right {
  right: 0;
  padding-left: 90px;
}

#flow .flow-step:nth-of-type(1) {
  top: 84px;
}
#flow .flow-step:nth-of-type(2) {
  top: 240px;
}
#flow .flow-step:nth-of-type(3) {
  top: 392px;
}
#flow .flow-step:nth-of-type(4) {
  top: 590px;
}
#flow .flow-step:nth-of-type(5) {
  top: 760px;
}
#flow .flow-step:nth-of-type(6) {
  top: 950px;
}
#flow .flow-step:nth-of-type(7) {
  top: 1090px;
}
#flow .flow-step:nth-of-type(8) {
  top: 1280px;
}

#flow .flow-step__content {
  position: relative;
  max-width: 300px;
}

#flow .flow-step--left .flow-step__content {
  margin-left: auto;
}

#flow .flow-step--right .flow-step__content {
  margin-right: auto;
}

#flow .flow-step__icon {
  width: 50px;
  height: 50px;
  margin: 0 0 10px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
}

#flow .flow-step__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#flow .flow-step__content h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 700;
  color: #1b1b1b;
}

#flow .flow-step__content p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: #444;
}

#flow .flow-step__line-node {
  position: absolute;
  top: 31px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #9ed3c4;
  z-index: 6;
  transition:
    background 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

#flow .flow-step--right .flow-step__line-node {
  left: calc((var(--flow-offset-to-line) * -1) - (var(--flow-node-size) / 2));
}

#flow .flow-step--left .flow-step__line-node {
  right: calc((var(--flow-offset-to-line) * -1) - (var(--flow-node-size) / 2));
}

#flow .flow-step__connector {
  position: absolute;
  top: 37px;
  width: var(--flow-connector-width);
  border-top: 4px dotted #1f8f73;
  opacity: 0.4;
  transition: opacity 0.35s ease;
  z-index: 4;
}

#flow .flow-step--right .flow-step__connector {
  left: calc(var(--flow-offset-to-line) * -1);
}

#flow .flow-step--left .flow-step__connector {
  right: calc(var(--flow-offset-to-line) * -1);
}

#flow .flow-step__point {
  position: absolute;
  top: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #9ed3c4;
  border: 3px solid #cfe9e1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

#flow .flow-step--right .flow-step__point {
  left: 22px;
}

#flow .flow-step--left .flow-step__point {
  right: 22px;
}

#flow .flow-step__point span {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

#flow .flow-step__point::after {
  content: "！";
  position: absolute;
  top: -14px;
  right: -4px;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  color: #1f8f73;
  opacity: 0;
  transform: rotate(10deg);
  transition: opacity 0.25s ease;
}

#flow .flow-step.is-active .flow-step__line-node {
  background: #1f8f73;
  transform: scale(1.1);
  box-shadow: 0 0 0 4px rgba(31, 143, 115, 0.12);
}

#flow .flow-step.is-active .flow-step__connector {
  opacity: 1;
}

#flow .flow-step.is-active .flow-step__point {
  background: #007b43;
  border-color: #79bea9;
  transform: scale(1.08);
  box-shadow: 0 0 0 6px rgba(31, 143, 115, 0.15);
}

#flow .flow-step.is-active .flow-step__point::after {
  opacity: 1;
}

@media (max-width: 900px) {
  #flow {
    padding: 56px 16px 72px;
  }

  #flow .flow__heads {
    display: none;
  }

  #flow .flow__board {
    min-height: auto;
    padding: 10px 0 24px;
  }

  #flow .flow__col {
    display: none;
  }

  #flow .flow__centerline {
    left: 24px;
    transform: none;
    top: 32px;
    bottom: 24px;
  }

  #flow .flow-step,
  #flow .flow-step--left,
  #flow .flow-step--right {
    position: relative;
    top: auto !important;
    left: auto;
    right: auto;
    width: 100%;
    padding: 0 0 0 88px;
    margin-bottom: 24px;
    --flow-offset-to-line: 64px;
    --flow-connector-width: 42px;
  }

  #flow .flow-step__line-node {
    left: 17px !important;
    right: auto !important;
    top: 31px;
  }

  #flow .flow-step__connector {
    left: 24px !important;
    right: auto !important;
    width: 40px;
    top: 37px;
  }

  #flow .flow-step__point {
    left: 50px !important;
    right: auto !important;
    top: 18px;
  }

  #flow .flow-step__content,
  #flow .flow-step--left .flow-step__content,
  #flow .flow-step--right .flow-step__content {
    max-width: none;
    margin: 0;
    padding: 16px 14px;
  }

  #flow .flow-step__content h3 {
    font-size: 17px;
  }

  #flow .flow-step__content p {
    font-size: 13px;
  }
}

/* =========================
  よくある質問
========================= */
.faq-section {
  padding: 80px 20px 60px;
  background: #fff;
  color: #222;
}

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
}

.faq-heading {
  margin-bottom: 90px;
}

.faq-en {
  margin: 0;
  font-size: clamp(30px, 8vw, 40px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #007b43;
}

.faq-title {
  margin: 8px 0 24px;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.4;
  font-weight: 700;
  color: #111;
}

.faq-description {
  margin: 0;
  font-size: 15px;
  line-height: 2;
  color: #333;
}

.faq-list {
  border-bottom: 1px solid #d8d8d8;
}

.faq-item {
  border-top: 1px solid #d8d8d8;
}

.faq-question {
  width: 100%;
  padding: 18px 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
  cursor: pointer;
}

.faq-question-text {
  flex: 1;
  font-size: 18px;
  line-height: 1.8;
  font-weight: 500;
  color: #2b2b2b;
}

.faq-label {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.faq-label.q {
  background: #007b43;
  color: #fff;
}

.faq-label.a {
  border: 2px solid #007b43;
  color: #007b43;
  background: #fff;
}

.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-left: 12px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #007b43;
  transform: translate(-50%, -50%);
  transition: 0.25s ease;
}

.faq-icon::before {
  width: 12px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 12px;
}

.faq-item.is-open .faq-icon::after {
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 0 0 18px;
}

.faq-answer-inner p {
  margin: 0;
  flex: 1;
  font-size: 17px;
  line-height: 1.9;
  color: #4a4a4a;
}

.faq-answer-inner a {
  color: #2b6cb0;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 56px 16px 40px;
  }

  .faq-heading {
    margin-bottom: 48px;
  }

  .faq-title {
    margin-bottom: 18px;
  }

  .faq-question {
    gap: 12px;
    padding: 16px 0;
    align-items: flex-start;
  }

  .faq-question-text {
    font-size: 16px;
    line-height: 1.7;
  }

  .faq-answer-inner {
    gap: 12px;
    padding-bottom: 16px;
  }

  .faq-answer-inner p {
    font-size: 15px;
    line-height: 1.8;
  }
}

/* =========================
  CTA
========================= */
.contact-section {
  padding: 100px 20px 80px;
  background: #eef2f3;
}

.contact-section__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-section__heading {
  text-align: center;
  margin-bottom: 56px;
}

.contact-section__title {
  margin: 0;
  color: #333;
  font-size: 56px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.contact-section__text {
  margin: 20px 0 0;
  color: #555;
  font-size: 18px;
  line-height: 1.9;
  letter-spacing: 0.08em;
}

.contact-section__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 46px;
}

.contact-section__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 132px;
  padding: 28px 40px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.contact-section__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
}

.contact-section__card-left {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.contact-section__icon {
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  border: 1.5px solid;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-section__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.contact-section__icon--green {
  border-color: #007b43;
}

.contact-section__icon--blue {
  border-color: #4f6fd6;
}

.contact-section__card-text {
  min-width: 0;
}

.contact-section__label {
  margin: 0 0 8px;
  color: #444;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.06em;
}

.contact-section__main {
  margin: 0;
  color: #333;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.contact-section__arrow {
  flex-shrink: 0;
  margin-left: 20px;
  color: #c7c7c7;
  font-size: 30px;
  line-height: 1;
}

/* ふわっと表示 */
.contact-section .js-fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  will-change: opacity, transform;
}

.contact-section .js-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-section__heading.js-fade-up {
  transition-duration: 0.9s;
}

.contact-section__card.js-fade-up {
  transition-duration: 0.8s;
}

@media (max-width: 900px) {
  .contact-section {
    padding: 80px 20px 60px;
  }

  .contact-section__title {
    font-size: 40px;
  }

  .contact-section__text {
    font-size: 16px;
  }

  .contact-section__cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-section__card {
    padding: 24px 24px;
  }

  .contact-section__main {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .contact-section__title {
    font-size: 32px;
  }

  .contact-section__text {
    font-size: 14px;
    line-height: 1.8;
  }

  .contact-section__card {
    min-height: auto;
    padding: 20px 18px;
  }

  .contact-section__card-left {
    gap: 16px;
  }

  .contact-section__icon {
    width: 54px;
    height: 54px;
  }

  .contact-section__icon img {
    width: 24px;
    height: 24px;
  }

  .contact-section__label {
    font-size: 13px;
  }

  .contact-section__main {
    font-size: 17px;
  }

  .contact-section__arrow {
    font-size: 24px;
    margin-left: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-section .js-fade-up,
  .contact-section .js-fade-up.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================
  動き統一　会社概要・資格・流れ・よくある質問
========================= */
.js-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  will-change: opacity, transform;
}

.js-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sp-br {
  display: none;
}

@media (max-width: 480px) {
  .sp-br {
    display: inline;
  }
}
