/* ------------------------------------
// # gallery
------------------------------------ */
.gallery_outer {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 0 5rem;
}
#gallery {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  position: relative;
  padding: 0 2rem;
  position: relative;
  width: 100%;
  margin: 0 auto 0 auto;
}
@media screen and (min-width: calc(1000px + 2rem)) {
  #gallery {
    width: 75%;
    min-width: 1000px;
  }
}
#gallery > * {
  z-index: 3;
}
#gallery .image {
  width: 59.7%;
  position: relative;
}
#gallery .image img {
  vertical-align: top;
}
#gallery .image .slide {
  position: relative;
}
#gallery .image dl dt {
  padding: 1rem 2rem;
  background: #3BA8D1;
  color: #FFF;
  width: fit-content;
  font-weight: 500;
  transform: translateY(-1rem);
  z-index: 2;
  position: relative;
}
#gallery .image dl dd {
  background: #F6F2E4;
  padding: 2rem 2rem;
  margin-left: 2rem;
  transform: translateY(-2rem);
  z-index: 1;
  position: relative;
}
#gallery .thumbs {
  width: 36%;
}
#gallery .thumbs .thumbs_parent {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#gallery .thumbs .thumbs_parent::after {
  content: "";
  width: 31%;
  height: 0;
}
#gallery .thumbs .thumbs_parent .slide {
  width: 32%;
  border: solid 3px #fff;
  margin-bottom: clamp(0.5rem, 0.7vw, 1rem);
  transition: 0.3s;
}
#gallery .thumbs .thumbs_parent .slide img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: 0.3s;
  cursor: pointer;
}
#gallery .thumbs .thumbs_parent .slide:hover {
  border-color: #3BA8D1;
}
#gallery .thumbs .thumbs_parent .slide.current {
  border-color: #5183C4;
}
#gallery .thumbs .thumbs_parent .slick-current .slide {
  border-color: #5183C4;
}
#gallery .thumbs .thumbs_parent .arrow {
  top: 50%;
}
#gallery .arrow {
  width: 40px;
  height: 40px;
  padding: 10px;
  cursor: pointer;
  position: absolute;
  top: calc(50% - 4rem);
  transform: translateY(-50%);
  z-index: 1;
  transition: 0.3s;
}
#gallery .arrow:hover {
  opacity: 0.7;
}
#gallery .arrow span {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
#gallery .arrow span::before, #gallery .arrow span::after {
  content: "";
  position: absolute;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}
#gallery .arrow span::before {
  width: 100%;
  height: 3px;
}
#gallery .arrow span::after {
  width: 3px;
  height: 100%;
  right: 0;
}
#gallery .arrow.next {
  right: 20px;
}
#gallery .arrow.next span {
  transform: rotate(45deg);
}
#gallery .arrow.prev {
  left: 20px;
}
#gallery .arrow.prev span {
  transform: rotate(-135deg);
}
@media screen and (max-width: 1200px) {
  #gallery .image {
    width: 65%;
  }
  #gallery .thumbs {
    width: 32%;
  }
  #gallery .thumbs .thumbs_parent .slide {
    width: 48%;
  }
}
@media screen and (max-width: 768px) {
  #gallery {
    display: block;
  }
  #gallery .image {
    width: auto;
  }
  #gallery .image dl dt {
    padding: 0.5rem 2rem;
    transform: translateY(-1rem);
  }
  #gallery .image dl dd {
    padding: 0.5rem 1rem;
    margin-left: 1rem;
    transform: translateY(-1rem);
    font-size: 1.2rem;
  }
  #gallery .thumbs {
    width: auto;
  }
  #gallery .thumbs .thumbs_parent {
    display: block;
  }
  #gallery .thumbs .thumbs_parent::after {
    display: none;
  }
  #gallery .thumbs .thumbs_parent .slide {
    width: 30vw !important;
    height: 30vw;
    margin: 0 1.5vw;
  }
  #gallery .arrow {
    width: 3rem;
    height: 3rem;
    padding: 0.8rem;
  }
  #gallery .arrow.next {
    right: 0.5rem;
  }
  #gallery .arrow.prev {
    left: 0.5rem;
  }
}

/* ------------------------------------
// # feature
------------------------------------ */
#feature {
  background: rgba(222, 235, 237, 0.4);
  padding: 10rem 2rem;
}
#feature section {
  position: relative;
  width: 100%;
  margin: clamp(2rem, 2.8vw, 4rem) auto 0;
  padding: 0 2rem;
}
@media screen and (min-width: calc(1000px + 2rem)) {
  #feature section {
    width: 75%;
    min-width: 1000px;
  }
}
#feature section + section {
  margin-top: 12rem;
}
#feature section .num {
  font-size: clamp(10rem, 18.1vw, 26rem);
  font-weight: 500;
  font-family: "Sofia Sans", sans-serif;
  color: #D1EAEF;
  position: absolute;
  left: 0;
  top: -5rem;
  line-height: 0.5;
  z-index: 0;
}
#feature section h2 {
  text-align: center;
  color: #002A54;
  font-size: clamp(2rem, 2.2vw, 3.2rem);
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
  text-indent: 0.03em;
  position: relative;
  z-index: 2;
}
#feature section .featurebox {
  position: relative;
  background: #FAFEFF;
  padding: 2rem;
  border: 12px solid #BDDEE7;
  margin-left: clamp(5rem, 9vw, 13rem);
}
#feature section .featurebox .box {
  display: flex;
  justify-content: space-around;
  gap: clamp(1rem, 2.1vw, 3rem);
}
#feature section .featurebox .box .photo {
  width: clamp(27rem, 24.3vw, 35rem);
}
#feature section .featurebox .box .text {
  width: calc(100% - clamp(27rem, 24.3vw, 35rem) - clamp(1rem, 2.1vw, 3rem));
}
#feature section .featurebox .box:nth-child(2n) {
  flex-direction: row-reverse;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px dotted #3BA8D1;
}
#feature section .featurebox .box p + p {
  margin-top: 2rem;
}
#feature section .featurebox .box .link {
  margin-top: 2rem;
}
#feature section .featurebox .box .link a {
  color: #FFF;
  background: #002A54;
  display: flex;
  justify-content: center;
  padding: 1rem 2rem 1rem 1rem;
  gap: 1rem;
  position: relative;
}
#feature section .featurebox .box .link a:hover {
  background: #3BA8D1;
}
#feature section .featurebox .box .link a:before {
  content: "";
  width: 28px;
  aspect-ratio: 1/1;
  background: #FFF;
  display: block;
  align-self: center;
  mask: url(/lib/img/cmn/icon_cal.svg) no-repeat center bottom/contain;
}
#feature section .featurebox .box .link a:after {
  content: "";
  display: block;
  position: absolute;
  right: 1rem;
  top: calc(50% - 5px);
  width: 6px;
  height: 10px;
  mask: url(/lib/img/cmn/icon_arrow_01.svg) no-repeat center/contain;
  background: #FFF;
}
#feature section .featurebox .box .link a dt {
  font-size: clamp(1.2rem, 1vw, 1.5rem);
}
@media screen and (max-width: 768px) {
  #feature {
    padding: 5rem 0;
  }
  #feature section + section {
    margin-top: 5rem;
  }
  #feature section .num {
    font-size: 10rem;
    left: auto;
    top: auto;
    line-height: 0.5;
    z-index: 0;
    position: relative;
  }
  #feature section .featurebox {
    padding: 1rem;
    border: 6px solid #BDDEE7;
    margin-left: 0;
  }
  #feature section .featurebox .box {
    display: block;
  }
  #feature section .featurebox .box .photo {
    width: auto;
    max-width: 350px;
    margin: 2rem auto 0;
  }
  #feature section .featurebox .box .text {
    width: 100%;
  }
}

/* ------------------------------------
// # equipment
------------------------------------ */
#equipment {
  background: #DDEEF0;
  padding: 5rem 0 0;
  position: relative;
}
#equipment::before {
  content: "";
  width: 100%;
  height: 28px;
  background: #DDEEF0;
  mask: url(/lib/img/cmn/separate_nami_01.svg) repeat-x bottom/cover;
  display: block;
  transform: rotate(180deg);
  position: absolute;
  top: -27px;
  left: 0;
}
@media screen and (max-width: 768px) {
  #equipment::before {
    height: 14px;
    top: -14px;
  }
}

#equip_skin {
  background: #F6F2E4;
  padding: 5rem 0 10rem;
  position: relative;
  margin-top: 10rem;
}
#equip_skin::before {
  content: "";
  width: 100%;
  height: 28px;
  background: #F6F2E4;
  mask: url(/lib/img/cmn/separate_nami_01.svg) repeat-x bottom/cover;
  display: block;
  transform: rotate(180deg);
  position: absolute;
  top: -27px;
  left: 0;
}
#equip_skin h3 {
  background: #E9C043;
}
@media screen and (max-width: 768px) {
  #equip_skin::before {
    height: 14px;
    top: -14px;
  }
}

.equip_items {
  position: relative;
  width: 100%;
  margin: clamp(2rem, 2.8vw, 4rem) auto 0;
  padding: 0 2rem;
  display: grid;
  gap: clamp(2rem, 2.8vw, 4rem);
}
@media screen and (min-width: calc(1000px + 2rem)) {
  .equip_items {
    width: 75%;
    min-width: 1000px;
  }
}
.equip_items section {
  background: #FFF;
  padding: 2rem;
  color: #002A54;
}
.equip_items section h3 {
  text-align: center;
  font-size: clamp(1.6rem, 1.4vw, 2rem);
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  background: #84CDD9;
  color: #FFF;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.equip_items section h3:before {
  content: "";
  width: 30px;
  aspect-ratio: 30/43;
  display: block;
  background: #FFF;
  mask: url(/lib/img/cmn/icon_koduchi_01.svg) no-repeat center/contain;
}
.equip_items.clm1 > section {
  gap: 2rem;
  display: grid;
  grid-template-columns: 1fr minmax(400px, 30%);
  grid-template-areas: "h3 h3" "disc photo";
}
.equip_items.clm1 > section h3 {
  grid-area: h3;
}
.equip_items.clm1 > section .photo {
  grid-area: photo;
}
.equip_items.clm1 > section .disc {
  grid-area: disc;
}
.equip_items.clm1 > section.cbct {
  grid-template-columns: 1fr;
  grid-template-areas: "h3" "disc" "photo";
}
.equip_items.clm1 > section.cbct ul {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  max-width: 800px;
  margin: 0 auto;
}
.equip_items.clm2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 2.8vw, 4rem);
}
.equip_items.clm2 > section {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  gap: 1.5rem;
}
@media screen and (max-width: 768px) {
  .equip_items .photo {
    max-width: 350px;
    margin: 0 auto;
  }
  .equip_items.clm1 > section {
    gap: 1.5rem;
    grid-template-columns: 1fr;
    grid-template-areas: "h3" "disc" "photo";
  }
  .equip_items.clm1 > section.cbct {
    grid-template-columns: 1fr;
    grid-template-areas: "h3" "disc" "photo";
  }
  .equip_items.clm1 > section.cbct ul {
    display: block;
    max-width: 350px;
    margin: 0 auto;
  }
  .equip_items.clm1 > section.cbct ul li + li {
    margin-top: 1rem;
  }
  .equip_items.clm2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}