.wrap {
  width: 100%;
  position: relative;
  min-height: 100svh;
  height: auto;
  overflow: hidden;
}

.wrap .main-visual-swiper {
  width: 100%;
  height: 100svh;
  overflow: hidden;
}

.wrap .main-visual-swiper .swiper-wrapper,
.wrap .main-visual-swiper .swiper-slide {
  width: 100%;
  height: 100%;
}

.wrap .main-visual-swiper .swiper-slide {
  position: relative;
}

.wrap img.visual_back {
  width: 100%;
  height: 100svh;
  position: absolute;
  left: 0;
  object-fit: cover;
}

/* PC用メインビジュアルの表示制御 */
.wrap img.visual_back_pc {
  display: block;
}

.wrap img.visual_back_sp {
  display: none;
}

.wrap .topics {
  position: absolute;
  width: 50%;
  bottom: 0;
  right: 0;
  background-color: #a4d5bd;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 10px;
  z-index: 6;
}

.wrap .topics .title {
  width: auto;
  font-weight: 700;
  padding-right: 20px;
}

.wrap .topics .contents {
  width: auto;
  text-align: left;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    clip-path: inset(100% 0 0 0);
    /* 下から上にクリップ */
  }

  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    /* クリップを解除 */
  }
}

section#concept {
  padding: var(--section-margin) 0;
}

section#concept p {
  text-align: left;
  line-height: 240%;
  margin: auto;
}

section#concept .concept-subtext {
  text-align: center;
  line-height: 240%;
  margin: auto;
  margin: 0 0 calc(var(--section-margin) / 2);
}

section#approach {
  padding: var(--section-margin) 0;
  background-color: var(--brand-color);
}

section#approach ul.list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

section#approach ul.list li {
  width: calc((100% - 40px) / 3);
  position: relative;
}

section#approach ul.list li img {
  border-radius: 10px;
}

section#approach ul.list li .number {
  font-size: 4.8rem;
  color: var(--sub-brand-color);
  position: absolute;
  left: 20px;
  top: -2.4rem;
  font-family: "Roboto", sans-serif;
  font-style: italic;
  font-weight: 300;
}

section#feature {
  padding: var(--section-margin) 0;
}

section#feature ul.list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

section#feature ul.list li {
  width: calc((100% - 80px) / 5);
  position: relative;
}

section#feature ul.list li img {
  border-radius: 10px;
}

section#feature ul.list li h3 {
  width: 100%;
  text-align: center;
  font-size: 1.6rem;
  padding: 10px 0 0;
  font-weight: 400;
  margin: 0;
}

section#feature p {
  text-align: center;
  width: auto;
  margin: 0 auto calc(var(--section-margin) / 2);
}

section#service_menu {
  padding: var(--section-margin) 0;
  background-color: var(--brand-color);
}

section#youtube {
  padding: var(--section-margin) 0;
}

ul.thumb_list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin: 0 auto calc(var(--section-margin) / 2);
}

section#what {
  background-color: var(--brand-color);
  position: relative;
}

section#what .border {
  width: 20px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-color: var(--sub-brand-color);
}

section#what h2.title {
  position: relative;
}

section#what h2 img {
  position: absolute;
  width: 200px;
  left: 13%;
  transform: translateX(-50%);
  top: -105px;
}

section#what p {
  text-align: center;
  line-height: 240%;
  margin: 0 auto calc(var(--section-margin) / 2);
}

section#what .main_wrap {
  overflow: hidden;
  padding: var(--section-margin) 0;
}

.swiper {
  width: 100%;
  margin: auto;
  overflow: initial !important;
  padding: 0 0 60px !important;
}

.swiper-slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: inherit !important;
}

.swiper h3 {
  padding: 20px 0;
  text-align: center;
}

.swiper p {
  text-align: center !important;
  line-height: 140% !important;
}

.swiper-slide img {
  position: relative;
  /* 擬似要素を正しく配置するために必要 */
  transform: scale(0.8) !important;
  /* 左右のスライドを小さくする */
  transition: 0.7s;
  /* ゆっくり小さくさせる */
  height: auto;
  width: 80%;
  display: block;
  margin: auto;
}

.swiper-slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  /* 半透明の白 */
  pointer-events: none;
  /* マスクがクリックを妨げないようにする */
}

.swiper-slide-active img {
  transform: scale(1) !important;
  /* 中央のスライドは小さくしない */
  z-index: 1;
  /* 中央のスライドを一番上にする */
}

.swiper-slide-active::after {
  background-color: unset !important;
}

.swiper-pagination-bullet {
  border-radius: 0 !important;
}

.service_wrap .btn_wrap {
  padding-top: calc(var(--section-margin) + 60px);
  width: 300px;
  margin: auto;
}

.swiper-pagination-bullet-active {
  background: var(--third-brand-color) !important;
}

.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets
  .swiper-pagination-bullet {
  margin: 0 12px !important;
}

.swiper-pagination-bullet {
  width: 14px !important;
  height: 14px !important;
}

/* 矢印ナビゲーションのスタイル */
.swiper-button-prev,
.swiper-button-next {
  color: #496f58 !important;
  width: 44px !important;
  height: 44px !important;
  top: 30% !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.3s ease !important;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: #496f58 !important;
  color: white !important;
  transform: scale(1.1) !important;
}

.swiper-button-prev:after,
.swiper-button-next:after {
  font-size: 18px !important;
  font-weight: 900 !important;
}

.swiper-button-prev {
  left: 10px !important;
}

.swiper-button-next {
  right: 10px !important;
}

section#about_nico {
  padding: var(--section-margin) 0;
}

.about_wrap ul {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
}

.about_wrap ul li {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.about_wrap ul li:nth-child(2n-1) .box_01 {
  width: 50%;
  padding-right: 5%;
}

.about_wrap ul li:nth-child(2n-1) .box_02 {
  width: 50%;
}

.about_wrap ul li:nth-child(2n) .box_01 {
  width: 50%;
  padding-left: 5%;
  order: 2;
}

.about_wrap ul li:nth-child(2n) .box_02 {
  width: 50%;
  order: 1;
}

.about_wrap ul li h3 {
  font-size: calc(var(--base-font-size) * 1.4);
  font-weight: 700;
  text-align: left;
  margin: 0 0 calc((var(--section-margin) * 2) / 3);
  position: relative;
}

.about_wrap ul li h3::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(to right, var(--sub-brand-color) 30%, black 30%);
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 200px;
}

.about_wrap ul li a {
  color: var(--sub-brand-color);
  line-height: 240%;
}

.about_wrap ul li .btn_wrap {
  text-align: right;
  margin-top: 60px;
}

img.link_arrow {
  width: 60px;
}

section#voice {
  background-color: var(--brand-color);
  padding: var(--section-margin) 0;
}

section#greeting {
  position: relative;
  padding: var(--section-margin) 0;
}

img.greeting_poliygon {
  width: 50%;
  position: absolute;
  left: 50%;
  top: 0;
}

img.greeting {
  width: 600px;
  margin: 0 auto 60px;
  display: block;
}

.greeting_wrap {
  width: 100%;
  padding: 0 10%;
  display: flex;
  flex-wrap: wrap;
}

.greeting_wrap .box_01 {
  width: 50%;
  padding: 0 5%;
}

.greeting_wrap .box_02 {
  width: 50%;
  padding: 0 5%;
}

h3.greeting {
  width: 100%;
  font-size: 2rem;
  text-align: left;
  text-decoration: underline;
  margin: 0 0 20px;
}

section#blog {
  background-color: var(--brand-color);
  padding: var(--section-margin) 0;
}

.color_menu {
  color: #006400;
}

.concept_flex {
  display: flex;
  justify-content: space-between;
}

.concept_flex .concept_item {
  width: 48%;
}

.concept_flex .concept_item p {
  text-align: left;
}

.dot {
  display: inline-block;
  color: var(--sub-brand-color);
}

