* {
  margin: 0;
  padding: 0;
}
body {
  margin: 0;
}

img {
  height: auto;
}

ul,
li {
  list-style: none;
}

.pc {
  display: block;
}
.sp {
  display: none !important;
}

h2 {
  margin-top: 20px;
  text-align: center;
  color: #111111;
}
@media screen and (max-width: 820px) {
  h2 {
    margin-top: 10px;
    font-size: 14px;
    color: #111111;
  }
  h2 img {
    width: 20px;
  }
}
.main-content {
  background: #ffffff;
  min-height: 100vh;
}

.special-1 {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  padding-top: 50px;
  padding-bottom: 50px;
  overflow: hidden;
  z-index: 1;
}

.special-2 {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #f5ffff;
  padding-top: 50px;
  padding-bottom: 50px;
  overflow: hidden;
  z-index: 1;
}

.bg-blue-1 {
  position: absolute;
  top: 47%;
  transform: translateY(-50%);
  right: 0;
  width: 80%;
  height: 70%;
  background-color: #f8fcfc;
  /* background-color: #27cece; */
  z-index: -1;
}

.pipe-line {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pipe {
  height: 20px;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.line {
  width: 50%;
  border: solid 1px #555555;
  border-left: none;
  border-top: none;
  border-bottom: none;
  z-index: 50;
}

.white {
  position: absolute;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  width: 20px;
  height: 30px;
  z-index: 49;
}

.green {
  position: absolute;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f1fffb;
  width: 20px;
  height: 30px;
  z-index: 49;
}

.blue {
  position: absolute;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f8fcfc;
  width: 20px;
  height: 30px;
  z-index: 49;
}

.content-1 {
  display: flex;
  flex-wrap: wrap;
  margin: 0 10% 50px 10%;
  padding: 30px;
  border: solid 1px;
  border-color: #555555;
  border-radius: 20px;
  justify-content: space-between;
  z-index: 0;
}

.content-2 {
  display: flex;
  flex-wrap: wrap;
  margin: 0 10% 50px 10%;
  padding: 30px;
  border-radius: 20px;
  justify-content: space-between;
  z-index: 0;
}

.card-1 {
  width: calc(100% / 5.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.card-1 h3,
.card-1 p {
  width: 100%;
  /* margin: 10px 30px 10px 30px;*/
  color: #111111;
}

.card-1 a,
.card-1 a img {
  width: 100%;
  aspect-ratio: 1 / 1.414;
  object-fit: cover;
}

.card-1 h3 {
  border: solid 2px #09860d;
  padding-left: 5px;
  border-right: none;
  border-top: none;
  border-bottom: none;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* 表示したい行数 */
  overflow: hidden;
  color: #111111;
}

@media screen and (max-width: 840px) {
  .special-1 {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .content-1 {
    margin: 0 3% 20px 3%;
    padding: 20px;
    border-radius: 10px;
  }
  .card-1 {
    width: calc(100% / 3 - 10px);
  }
  .card-1 h3,
  .card-1 p {
    /* margin: 5px 20px 5px 20px;*/
    font-size: 14px;
    color: #111111;
  }
}

.special-2 {
  display: flex;
  flex-direction: column;
  background-color: #f1fffb;
  padding-top: 50px;
  padding-bottom: 50px;
}

.content-2 {
  display: flex;
  flex-wrap: wrap;
  margin: 0 10% 50px 10%;
  padding: 30px;
  border: solid 1px;
  border-radius: 0;
  border-bottom: none;
  border-right: none;
  border-left: none;
  border-color: #555555;
  justify-content: flex-start;
  gap: 0.5%;
}

.lank {
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(to top left, transparent 50%, #fffb0c 50%);
  color: black;
  font-weight: bold;
  z-index: 20;
  text-align: center;
  width: 20%;
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.4));
  aspect-ratio: 1/1;
}

.lank-num {
  position: absolute;
  left: 15%;
  font-size: 16px;
}

@media screen and (max-width: 840px) {
  .lank-num {
    font-size: 2cqw;
  }
}

.card-2 {
  width: calc(100% / 7 - 10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.card-2 h3,
.card-2 p {
  width: 100%;
  /*margin: 10px 30px 10px 30px;*/
  color: #111111;
}

.card-2 a,
.card-2 a img {
  width: 100%;
  aspect-ratio: 1 / 1.414;
  object-fit: cover;
}

.card-2 h3 {
  border: solid 2px #09860d;
  padding-left: 5px;
  border-right: none;
  border-top: none;
  border-bottom: none;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* 表示したい行数 */
  overflow: hidden;
  color: #111111;
}

.osusume {
  font-size: 16px;
}

.osusume p {
  font-weight: normal;
}

@media screen and (max-width: 840px) {
  .special-2 {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .content-2 {
    margin: 0 3% 20px 3%;
    padding: 20px;
  }
  .card-2 {
    width: calc(100% / 3 - 10px);
  }
  .card-2 h3,
  .card-2 p {
    /*margin: 5px 20px 5px 20px;*/
    font-size: 14px;
    color: #111111;
  }
}

.special-3 {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  padding-top: 50px;
  padding-bottom: 50px;
  overflow: hidden;
  z-index: 1;
}

.bg-blue-2 {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  left: 0;
  width: 80%;
  height: 85%;
  background-color: #f8fcfc;
  /* background-color: #27cece; */
  z-index: -1;
}

.content-3 {
  margin: 0 10% 50px 10%;
  padding: 30px;
  border: solid 1px;
  border-color: #555555;
  border-radius: 20px;
  justify-content: space-between;
  z-index: 1;
}

.sub-cont {
  margin-top: 15px;
  margin-bottom: 15px;
}

.con-title {
  margin-bottom: 20px;
}

.list-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border: 2px solid #09860d;
  border-radius: 50px;
  overflow: hidden; /* ← はみ出さないように！ */
  background-color: #ffffff;
  color: #09860d;
}

.list-btn {
  padding: 5px 20px;
  font-weight: bold;
  font-size: 16px;
  color: inherit;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 840px) {
  .list-btn.showlist {
    padding-right: 30px;
  }
}

.btn-l {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #09860d;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 18px;
}

.zone {
  display: flex;
  padding-bottom: 15px;
  flex-wrap: wrap;
  border: solid 1px;
  border-color: #555555;
  border-top: none;
  border-right: none;
  border-left: none;
  justify-content: flex-start;
  gap: 2.5%;
}

.sub-cont:last-of-type .zone {
  border-bottom: none;
}

.card-3 {
  width: 18%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.card-3 h4,
.card-3 p {
  width: 100%;
  /*margin: 10px 30px 10px 30px;*/
  color: #111111;
}

.card-3 a,
.card-3 a img {
  width: 100%;
  aspect-ratio: 1 / 1.414;
  object-fit: cover;
}

.con-title h3,
.card-3 h4 {
  border: solid 2px #09860d;
  padding: 0 10px 0 5px;
  border-right: none;
  border-top: none;
  border-bottom: none;
  color: #111111;
}

@media screen and (max-width: 840px) {
  .special-3 {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .content-3 {
    margin: 0 3% 20px 3%;
    padding: 20px;
    border-radius: 10px;
  }
  .con-title h3 {
    font-size: 14px;
    color: #111111;
  }
  .card-3 {
    width: calc(100% / 3 - 10px);
  }
  .card-3 h4,
  .card-3 p {
    /* margin: 5px 20px 5px 20px;*/
    font-size: 14px;
    color: #111111;
  }
  .list-btn {
    margin-left: 5px;
    width: 90px;
    padding: 5px 10px 5px 10px;
    font-size: 12px;
  }
  .btn-l {
    width: 29px;
    height: 29px;
    border-radius: 50px;
    margin-left: -28px;
  }
}
.con-title,
.list-link,
.list-btn {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  z-index: 10;
  margin-left: 10px;
}
.con-title {
  margin-bottom: 20px;
}

.slick-prev,
.slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

/* 左矢印を、中央スライドの左側へ */
.slick-prev {
  left: 25vw;
  transform: translate(-150%, -50%); /* -150% は適宜調整 */
  width: 3vw;
}

/* 右矢印を、中央スライドの右側へ */
.slick-next {
  right: 25vw;
  transform: translate(150%, -50%); /* 150% は適宜調整 */
  width: 3vw;
}
.slick-next::before,
.slick-prev::before {
  font-size: 3vw;
  color: #000;
}

.description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.carousel {
  opacity: 0;
}
.carousel.slick-initialized {
  opacity: 1;
}

.new {
  position: absolute;
  top: -1%;
  left: -2%;
  width: 41%;
  background: linear-gradient(to top left, transparent 50%, #df0b75 50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: top left;
  container-type: inline-size;
  color: white;
  clip-path: polygon(0 60%, 60% 0, 100% 0, 0 100%);
  aspect-ratio: 1 / 1;
}

.new-text {
  position: absolute;
  color: #ffffff;
  font-weight: bold;
  font-size: 20cqw;
  text-align: center;
  line-height: 3em;
  transform: rotate(-45.5deg) translate(0%, -25%);
}

.carousel img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
