/* ------------------ポイント-------------------- */
.wedding-desc-list{
  display: grid;
  gap: var(--GENERALSEC)
}
.wedding-desc-list > li{
  border: 2px solid var(--RED01);
  position: relative;
}
.wedding-desc-list > li::before,
.wedding-desc-list > li::after{
  content: "";
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100%;
  aspect-ratio: 1 / 1;
  position: absolute;
  z-index: 2;
}
.wedding-desc-list > li::before{
  background-image: url(../../asset2023/images/wedding/corner-right.svg);
  top: calc(0px - var(--CORNER_PS));
  right: calc(0px - var(--CORNER_PS));
}
.wedding-desc-list > li::after{
  background-image: url(../../asset2023/images/wedding/corner-left.svg);
  bottom: calc(0px - var(--CORNER_PS));
  left: calc(0px - var(--CORNER_PS));
}
.wedding-desc-ttl{
  border: 2px solid var(--RED01);
  border-left: none;
  border-right: none;
  text-align: center;
  font-weight: 700;
  color: var(--RED01);
  position: relative;
}
.wedding-desc-ttl::before{
  content: "";
  display: inline-block;
  background: url(../../asset2023/images/wedding/point.svg) no-repeat center center / 100%;
  aspect-ratio: 192 / 63;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(100% - 1px);
  z-index: 2;
}
.wedding-desc-txt{
  line-height: 2;
}
.wedding-desc-img{
  position: relative;
}
.wedding-desc-img h3{
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  width: fit-content;
  color: var(--RED01);
  background-color: var(--WHITE);
  position: absolute;
  z-index: 2;
}
.wedding-desc-img h3::before,
.wedding-desc-img h3::after{
  content: "";
  display: inline-block;
  border: 2px solid var(--RED01);
  width: 100%;
  height: 100%;
  position: absolute;
  --BOX_PS: 5px;
}
.wedding-desc-img h3::before{
  border-right: none;
  border-bottom: none;
  top: calc(0px - var(--BOX_PS));
  left: calc(0px - var(--BOX_PS));
}
.wedding-desc-img h3::after{
  border-top: none;
  border-left: none;
  bottom: calc(0px - var(--BOX_PS));
  right: calc(0px - var(--BOX_PS));
}
.wedding-style-img{
  display: grid;
}
@media screen and (min-width: 1001px){
  .wedding-desc-style-top-area{
    display: flex;
    align-items: center;
  }
  .wedding-desc-style-bottom-area .wedding-desc-img{
    width: 65%;
  }
}
@media screen and (min-width: 768px) and (max-width: 1000px){
  .wedding-desc-ttl-area.column{
    margin: 0 auto 40px;
  }
  .wedding-desc-style-bottom-area .wedding-desc-img{
    width: 55%;
  }
}
@media screen and (min-width: 768px){
  .wedding-desc-list > li{
    padding: 50px;
  }
  .wedding-desc-list > li::before,
  .wedding-desc-list > li::after{
    width: 50px;
    --CORNER_PS: 10px;
  }
  .wedding-desc-ttl-area{
    display: flex;
    column-gap: 50px;
    row-gap: 30px;
  }
  .wedding-desc-ttl-area.row{
    align-items: center;
  }
  .wedding-desc-ttl-area.column{
    flex-direction: column;
    align-items: flex-start;
    max-width: 400px;
  }
  .wedding-desc-ttl{
    width: fit-content;
    font-size: 20px;
    padding: 10px 50px;
  }
  .wedding-desc-ttl-area.row .wedding-desc-ttl{
    margin-top: 30px;
  }
  .wedding-desc-ttl::before{
    width: 200px;
  }
  .wedding-desc-ttl-area .wedding-desc-txt{
    flex: 1;
  }
  .wedding-point-img{
    width: 80%;
    margin: 30px auto 0;
  }
  .wedding-desc-style-top-area{
    gap: 50px;
    margin-bottom: 100px;
  }
  .wedding-desc-style-top{
    flex: 1;
    gap: 25px;
  }
  .wedding-desc-img h3{
    font-size: clamp( 12px, 1.3vw, 16px);
    padding: 5px 10%;
  }
  .wedding-desc-img h3.bottom{
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .wedding-desc-img h3.top{
    right: -30px;
    top: 0;
    transform: translateY(-50%);
  }
  .wedding-desc-style-bottom-area{
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 80px;
  }
  .wedding-desc-style-bottom-area .wedding-desc-txt{
    flex: 1;
  }
  .wedding-style-img{
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .wedding-desc-example{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin: 60px auto 30px;
  }
}
@media screen and (max-width: 767px){
  .wedding-desc-list > li{
    padding: 80px 20px 20px;
  }
  .wedding-desc-ttl{
    width: fit-content;
    font-size: 18px;
    padding: 8px 0;
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
  }
  .wedding-desc-ttl::before{
    width: 180px;
  }
  .wedding-point-img{
    margin-top: 30px;
  }
  .wedding-desc-style-top{
    gap: 10px;
    margin: 30px 0 40px;
  }
  .wedding-desc-img h3{
    font-size: 11px;
    padding: 5px 10px;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .wedding-desc-txt{
    font-size: 14px;
  }
  .wedding-desc-style-bottom-area{
    display: grid;
    gap: 30px;
    margin-bottom: 30px;
  }
  .wedding-style-img{
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }
  .wedding-desc-example{
    display: grid;
    gap: 40px;
    margin: 30px auto;
  }
}