.slider_outer {
  padding-bottom: 5px;
}
.wrap_slider {
  box-shadow: var(--box_sdw);
}

/* Section */
section.toppage_section {
  padding: 50px 0;
}

/* テキスト設定 */
body.top h1 {
  color: var(--color_logo);
  text-align: center;
}

body.top h2 {
  color: var(--color_logo);
  text-align: center;
  letter-spacing: 0em;
  font-weight: 400;
  margin-bottom: 30px;
}

.top_text_box {
  max-width: 800px;
  width: calc(100% - 100px);
  margin: 30px auto 0;
}

/* サービスメニュー */

/* 各アイテム */
.service_item {
  display: block;
  text-align: center;
  text-decoration: none;
  color: inherit;
  padding-bottom: 10px;
  transition:
    transform 0.8s ease-in-out,
    background-color 0.8s ease-in-out,
    box-shadow 0.8s ease-in-out;
}

/* 画像 */
.service_item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: opacity 0.4s ease;
  box-shadow: var(--box_sdw);
}

/* Hover */
.service_item:hover {
  background-color: var(--color_bg_hover);
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 11px 20px -6px rgba(0, 0, 0, 0.35);
}
.service_item:hover img {
  opacity: 0.8;
}

/* h3設定 */
.service_item h3 {
  margin-top: 15px;
  font-weight: 400;
}

.service_item h3 span {
  display: block;
  margin-top: 4px;
  font-size: 0.88rem;
}

/* タブレット */
@media (max-width: 1024px) {
  section.toppage_section {
    padding: 30px 0;
  }
  .wrap_text {
    margin-top: 35px;
  }
}
