/* ==========================================================================
   サービス案内（service.php）固有
   ========================================================================== */

/* あしらい */
.service-deco--lead-02 {
  top: clamp(20px, 3vw, 48px);
  left: 0;
  width: clamp(180px, 20vw, 300px);
}
.service-deco--medical-01 {
  top: clamp(20px, 3vw, 48px);
  right: clamp(8px, 2vw, 32px);
  width: clamp(100px, 11vw, 170px);
}
.service-deco--night-04 {
  top: 0;
  left: clamp(8px, 3vw, 48px);
  width: clamp(140px, 16vw, 240px);
}
.service-deco--users-03 {
  top: clamp(8px, 2vw, 24px);
  left: clamp(8px, 2vw, 32px);
  width: clamp(200px, 22vw, 340px);
}
.service-deco--flow-05 {
  top: clamp(16px, 3vw, 40px);
  right: clamp(8px, 4vw, 64px);
  width: clamp(110px, 12vw, 180px);
}

/* 02. リード */
.service-lead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

/* 03. 障がい福祉サービス */
.service-welfare__sub {
  font-size: 16px;
  font-weight: 700;
  color: #5b5b50;
}
.service-welfare__desc { max-width: 800px; }
.service-type {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
}
.service-type__img {
  display: block;
  flex: 0 0 clamp(160px, 18vw, 220px);
  width: clamp(160px, 18vw, 220px);
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  background: #e8ede0;
  object-fit: cover;
  object-position: 50% 50%;
}
.service-type__img--kyotaku { object-position: 50% 40%; }
.service-type__body {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-type__ttl { letter-spacing: 0.06em; }
.service-type__txt {
  font-size: 16px;
  line-height: 1.8;
  text-wrap: pretty;
}
.service-icons {
  align-self: center;
  width: 100%;
  max-width: 1040px;
  background: #fff;
  border-radius: 28px;
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.service-icons__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 8px;
}
.service-icons__item {
  width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.service-icons__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icons__icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.service-icons__label {
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}
.service-icons__divider {
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(74, 101, 69, 0.35) 0 6px, transparent 6px 12px);
}

/* 04・05. 写真＋テキスト */
.service-split {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: clamp(40px, 6vw, 80px);
}
.service-split--reverse { flex-wrap: wrap-reverse; }
.service-split__photo {
  flex: 1 1 380px;
  min-height: 320px;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #e8ede0;
}
.service-split__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.service-split__photo--night img { object-position: 50% 30%; }
.service-split__body {
  flex: 1 1 420px;
  justify-content: center;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-24h {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

/* 07. 対応エリア */
.service-area__desc { max-width: 900px; }
.service-area { gap: 20px; }
.service-area__big { font-size: clamp(26px, 3vw, 32px); }
.service-area__etc {
  font-size: 14px;
  font-weight: 700;
  padding: 4px 6px;
}
.service-area__map {
  margin-top: auto;
  border-radius: 24px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.service-area__map img {
  display: block;
  width: 100%;
  height: clamp(220px, 24vw, 300px);
  object-fit: contain;
}

/* 08. ご利用までの流れへ */
.service-flowlink {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  background: #f6f4ec;
  border-radius: 999px;
  padding: 22px 22px 22px clamp(28px, 4vw, 48px);
  color: #3A3A32;
}
.service-flowlink:hover {
  background: #e8ede0;
  color: #3A3A32;
}
.service-flowlink__text {
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}
.service-flowlink__en {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.14em;
  color: #4a6545;
}
.service-flowlink__ja {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  color: #4a6545;
}
.service-flowlink__arrow {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #4a6545;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 20px;
}

/* SP（767px以下） */
@media (max-width: 767px) {
  /* 重度訪問介護・居宅介護：写真を全幅に */
  .service-type__img {
    flex-basis: 100%;
    width: 100%;
    aspect-ratio: 16 / 10;
  }
  /* 身体介護・生活援助のアイコン：1列の縦長リストを2列に */
  .service-icons__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 8px;
  }
  .service-icons__item { width: auto; }
}
