.wrap {
  width: 100%;
  position: relative;
  height: 60svh;
  overflow: hidden;
}
.wrap .main-visual-swiper {
  width: 100%;
  height: 60svh;
  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: 60svh;
  position: absolute;
  left: 0;
  object-fit: cover;
}

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

.wrap img.visual_back_sp {
  display: block;
}

.wrap .topics {
  position: absolute;
  width: 100%;
  bottom: 0;
  right: 0;
  background-color: #6a6565;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 10px 20px;
  z-index: 6;
}
.wrap .topics .title {
  color: #fff;
}
.wrap .topics .contents {
  width: auto;
  text-align: left;
}
.wrap .topics .contents a {
  color: #fff;
  font-size: 1.2rem;
}

.time_wrap {
  width: 100%;
  margin-bottom: 3rem;
  text-align: right;
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
}
.time_wrap ul {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  padding: 20px 10px;
  gap: 10px;
  background-color: var(--brand-color);
  border-bottom: 1px dotted #999;
}
.time_wrap ul li {
  width: calc((100% - 10px) / 2);
  text-align: left;
  font-size: 1.2rem;
}
.time_wrap .contact {
  width: 100%;
  background-color: var(--brand-color);
  padding: 20px 10px;
}
.time_wrap .contact a {
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--sub-brand-color);
}
@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 {
  line-height: 240%;
  margin: auto;
}

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

section#approach ul.list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
  gap: 40px;
}

section#approach ul.list li {
  width: 80%;
  margin: auto;
  position: relative;
}
section#approach ul.list li img {
  border-radius: 10px;
}
section#approach ul.list li .number {
  font-size: 3.2rem;
  color: var(--sub-brand-color);
  position: absolute;
  left: 20px;
  top: -1.6rem;
  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;
  justify-content: center;
  gap: 20px;
}

section#feature ul.list li {
  width: calc((100% - 20px) / 2);
  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.4rem;
  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;
}

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: 100px;
  left: 270px;
  transform: translateX(-50%);
  top: -80px;
}
section#what p {
  text-align: center;
  line-height: 240%;
  margin: 0 5% calc(var(--section-margin) / 2);
  position: relative;
  width: 90%;
}
section#what .main_wrap {
  padding: var(--section-margin) 0;
}

section#what h2 img {
  position: absolute;
  width: 100px;
  left: 24%;
  transform: translateX(-50%);
  top: -80px;
}

.swiper {
  width: 100%;
  margin: auto;
  overflow: hidden;
  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::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::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: 36px !important;
  height: 36px !important;
  top: 30% !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 6px 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: 14px !important;
  font-weight: 900 !important;
}

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

.swiper-button-next {
  right: 5px !important;
}
section#about_nico {
  padding: var(--section-margin) 0;
}
.about_wrap ul {
  width: 94%;
  margin: 0 3%;
  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 .box_01 {
  width: 100%;
  margin: 0 0 20px;
}
.about_wrap ul li .box_02 {
  width: 100%;
}

.about_wrap ul li h3 {
  font-size: calc(var(--base-font-size) * 1.4);
  font-weight: 700;
  line-height: 140%;
  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 {
  margin-top: 30px;
}
img.link_arrow {
  width: 40px;
}

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: 80%;
  margin: 0 10% 20px;
  display: block;
}

.greeting_wrap {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
.greeting_wrap .box_01 {
  width: 100%;
  margin: 0 0 40px;
}
.greeting_wrap .box_02 {
  width: 100%;
}
h3.greeting {
  width: 100%;
  font-size: 2rem;
  text-align: center;
  text-decoration: underline;
  margin: 0 0 20px;
}

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

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