/* ==========================================================================
   TOP 固有（index.php）
   ========================================================================== */

/* --------------------------------------------------------------------------
   MV
   -------------------------------------------------------------------------- */
.sato-mv {
  position: relative;
}
.sato-mv__inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  min-height: clamp(540px, 48vw, 720px);
  padding: clamp(40px, 5vw, 80px) 24px calc(4vw + clamp(40px, 5vw, 80px));
}
.sato-mv__visual {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8vw), 0 100%);
}
/* 白文字の可読性確保：背景に黒を乗算 */
.sato-mv__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  mix-blend-mode: multiply;
  pointer-events: none;
}
/* CMSスライダー差し替え対応：外枠に高さを明示（MV の min-height clamp(540px,48vw,720px) に追従） */
#slideshow {
  position: absolute;
  inset: 0;
  height: 100%;
}
#slideshow .swiper-slide,
#slideshow .main_slider__inner {
  position: relative;
  width: 100%;
  height: 100%;
}
#slideshow .swiper-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
/* 70周年ロゴ（MV右上） */
.sato-mv__70th {
  position: absolute;
  top: clamp(16px, 2vw, 32px);
  right: clamp(16px, 3vw, 48px);
  z-index: 2;
  width: clamp(88px, 10vw, 150px);
  height: auto;
}
/* SP：キャッチと重ならないようロゴ分の余白を上に確保 */
@media (max-width: 639px) {
  .sato-mv__inner {
    padding-top: 104px;
  }
  .sato-mv__70th {
    top: 16px;
    width: 80px;
  }
}
/* 青背景の中央にキャッチ・リード・ボタンを白で配置 */
.sato-mv__content {
  position: relative;
  display: flex;
  justify-content: center;
  text-align: center;
}
.sato-mv__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
/* 手書きキャッチは元画像（濃紺）を白に反転して使用 */
.sato-mv__catch {
  display: block;
  width: clamp(260px, 33vw, 460px);
  max-width: 100%;
  height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 2px 12px rgba(10, 40, 90, 0.35));
}
.sato-mv__lead {
  margin-top: clamp(32px, 3.4vw, 48px);
  font-size: clamp(16px, 1.4vw, 18px);
  font-weight: 700;
  line-height: 2.1;
  color: #fff;
  text-shadow: 0 1px 10px rgba(10, 40, 90, 0.45);
}
.sato-mv__btn {
  margin-top: 28px;
}

/* --------------------------------------------------------------------------
   ADVANTAGE
   -------------------------------------------------------------------------- */
.sato-adv {
  position: relative;
  z-index: 2;
  padding: clamp(56px, 7vw, 100px) 0 0;
}
.sato-adv__head {
  margin-bottom: clamp(32px, 4vw, 52px);
  padding: 0 24px;
}
.sato-adv__photo {
  position: relative;
  height: clamp(380px, 40vw, 560px);
}
.sato-adv__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sato-adv__cards {
  box-sizing: content-box;
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(16px, 2vw, 24px);
  max-width: 1400px;
  margin: calc(clamp(380px, 40vw, 560px) * -0.22) auto 0;
  padding: 0 24px;
}
.sato-adv-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 30px 28px 28px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(31, 76, 94, 0.1);
  text-align: center;
  color: #1F4C5E;
  transition: transform .3s, box-shadow .3s;
}
.is-js .sato-adv-card.sato-reveal {
  transition: transform .3s, box-shadow .3s, opacity .6s ease, translate .6s ease;
}
.sato-adv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(31, 76, 94, 0.14);
  color: #1F4C5E;
}
.sato-adv-card__visual {
  position: relative;
  flex: 0 0 auto;
  width: 160px;
  height: 146px;
}
.sato-adv-card__arc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.sato-adv-card__arc text {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.24em;
  fill: #1583B4;
}
.sato-adv-card__img {
  position: absolute;
  top: 34px;
  left: 24px;
  display: block;
  width: 112px;
  height: 112px;
  border-radius: 999px;
  object-fit: cover;
}
.sato-adv-card__en {
  font-family: "Fugaz One", sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5A7180;
}
.sato-adv-card__text {
  flex: 1;
}
.sato-adv-card__more {
  display: flex;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   PHILOSOPHY（margin-top / padding-top は js/top.js で強みカード下端に合わせて上書き）
   -------------------------------------------------------------------------- */
.sato-philo {
  margin-top: clamp(-120px, -8vw, -60px);
  padding: clamp(180px, 16vw, 240px) 24px clamp(80px, 9vw, 130px);
}
.sato-philo__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 3vw, 40px);
  width: fit-content;
  max-width: min(1400px, 100%);
  margin: 0 auto;
}
.sato-philo__text {
  flex: 0 1 auto;
  min-width: 0;
}
.sato-philo__ja {
  margin-bottom: 36px;
}
.sato-philo__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: clamp(18px, 1.9vw, 24px);
  font-weight: 700;
  line-height: 1.8;
  color: #1F4C5E;
}
.sato-philo__line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  column-gap: 6px;
}
.sato-philo__key {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 900;
}
.sato-philo__key--marker {
  position: relative;
  z-index: 0;
}
.sato-philo__key--marker img {
  position: absolute;
  z-index: -1;
  left: -4%;
  bottom: 0.05em;
  width: 108%;
  max-width: none;
  height: 0.55em;
}

/* --------------------------------------------------------------------------
   PRODUCT
   -------------------------------------------------------------------------- */
.sato-product {
  padding: clamp(64px, 8vw, 110px) 24px;
}
.sato-product__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(28px, 3vw, 40px);
}
.sato-product__head {
  position: relative;
  flex: 0 1 400px;
  min-width: 0;
}
.sato-product__body {
  flex: 1 1 560px;
  min-width: 0;
}
.sato-product__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 28px;
}
.sato-product__hw {
  display: block;
  width: clamp(240px, 26vw, 340px);
  max-width: 100%;
  height: auto;
  transform: rotate(-4deg);
  transform-origin: right;
}

/* --------------------------------------------------------------------------
   FLOW
   -------------------------------------------------------------------------- */
.sato-flow {
  padding: 0 0 clamp(64px, 8vw, 100px);
}
.sato-flow__head {
  margin-bottom: clamp(32px, 4vw, 48px);
  padding: 0 24px;
}
.sato-flow__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  overflow: hidden;
}
.sato-flow__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 22px 28px;
  text-align: center;
}
.sato-flow__step {
  font-family: "Fugaz One", sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1583B4;
}
.sato-flow__icon {
  position: relative;
  display: flex;
  justify-content: center;
  align-self: stretch;
  margin: 0 -22px;
}
/* 円同士をつなぐ横線（最後のステップは無し） */
.sato-flow__icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 100%;
  height: 2px;
  margin-top: -1px;
  background: #CDEBF5;
}
.sato-flow__item:last-child .sato-flow__icon::before {
  display: none;
}
.sato-flow__ttl {
  margin-top: 6px;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  color: #1F4C5E;
}
.sato-flow__text {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #5A7180;
}
/* 文節（<wbr>）でのみ改行。収まらない場合のみ文字単位で折る */
.sato-flow__lead,
.sato-flow__ttl,
.sato-flow__text {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.sato-flow__more {
  margin-top: clamp(32px, 4vw, 44px);
}
/* SP：縦並び（左に番号＋縦線、右に見出し＋本文） */
@media (max-width: 639px) {
  .sato-flow__list {
    grid-template-columns: 1fr;
    padding: 0 24px;
  }
  .sato-flow__item {
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 18px;
    align-items: start;
    padding: 0;
    text-align: left;
  }
  .sato-flow__step {
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    gap: 4px;
    font-size: 1.1rem;
  }
  .sato-flow__num {
    font-size: 3.2rem;
    line-height: 1;
    letter-spacing: 0;
    color: #8FD3F0;
  }
  .sato-flow__step::after {
    content: "";
    flex: 1;
    width: 2px;
    min-height: 24px;
    margin-top: 6px;
    background: #CDEBF5;
  }
  .sato-flow__item:last-child .sato-flow__step::after {
    display: none;
  }
  .sato-flow__icon {
    display: none;
  }
  .sato-flow__ttl {
    margin-top: 22px;
  }
  .sato-flow__text {
    padding: 4px 0 28px;
  }
}

/* --------------------------------------------------------------------------
   RECRUIT
   -------------------------------------------------------------------------- */
.sato-recruit {
  position: relative;
  padding: calc(8vw + clamp(40px, 5vw, 72px)) 24px;
  background-image: linear-gradient(-225deg, #22E1FF 0%, #1D8FE1 48%, #625EB1 100%);
  clip-path: polygon(0 8vw, 100% 0, 100% calc(100% - 8vw), 0 100%);
}
.sato-recruit__moza {
  position: absolute;
  width: min(80%, 1120px);
  max-width: none;
  height: auto;
  mix-blend-mode: multiply;
  opacity: 0.7;
  pointer-events: none;
}
.sato-recruit__moza--rt {
  top: 0;
  right: 0;
}
.sato-recruit__moza--lb {
  bottom: 0;
  left: 0;
}
.sato-recruit__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.sato-recruit__photo {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.sato-recruit__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sato-recruit__text {
  margin-top: 40px;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 2;
  color: #fff;
  text-wrap: pretty;
}
.sato-recruit__btn {
  margin-top: 28px;
}

/* --------------------------------------------------------------------------
   NEWS（.blog-list 差分）
   -------------------------------------------------------------------------- */
.sato-news {
  padding: clamp(48px, 6vw, 80px) 24px clamp(56px, 6vw, 88px);
}
.sato-news__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(24px, 4vw, 56px);
}
.sato-news__head {
  flex: 0 0 auto;
  min-width: 200px;
}
.sato-news__ja {
  margin: 8px 0 18px;
}
.sato-blog-list {
  display: flex;
  flex: 1 1 420px;
  flex-direction: column;
  border-top: 1px solid #DCEFF6;
}
.sato-blog-list .blog-list__item {
  border-bottom: 1px solid #DCEFF6;
}
.sato-blog-list .blog-list__link {
  flex-wrap: wrap;
  gap: 20px;
  padding: 16px 4px;
  color: #1F4C5E;
  transition: none;
}
.sato-blog-list .blog-list__link:hover {
  background: #F2FAFD;
  color: #1F4C5E;
}
.sato-blog-list .blog-list__link:hover .blog-list__title {
  color: #1F4C5E;
}
.sato-blog-list .blog-list__date {
  flex-shrink: 1;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: normal;
  white-space: normal;
  color: #5A7180;
}
.sato-blog-list .blog-list__title {
  flex: 1 1 240px;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.7;
}
/* SPは日付の下にタイトル（日付幅で横並び/縦積みが揃わないため固定） */
@media (max-width: 639px) {
  .sato-blog-list .blog-list__link {
    gap: 6px;
  }
  .sato-blog-list .blog-list__title {
    flex-basis: 100%;
  }
}
