@charset "UTF-8";
.photo_article {
  max-width: 1032px;
  margin-left: auto;
  margin-right: auto;
}

.photo_abst {
  width: 100%;
  padding: 36px 67px 25px;
  background-color: #fff;
  border-radius: 22px;
  position: relative;
}
.photo_abst .item1, .photo_abst .item2 {
  display: block;
  position: absolute;
}
.photo_abst .item1 {
  top: -8px;
  right: calc(100% - 80px);
  width: 153px;
}
.photo_abst .item2 {
  top: -27px;
  left: calc(100% - 64px);
  width: 114px;
}

.photo_abst_text {
  font-size: 22px;
  font-weight: bold;
  text-align: center;
}

.photo_theme_subtitle {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  font-size: 24px;
  font-weight: 500;
  padding: 0 24px;
  position: relative;
}
.photo_theme_subtitle::before, .photo_theme_subtitle::after {
  position: absolute;
  content: "";
  width: 16px;
  aspect-ratio: 1/1;
  height: auto;
  border-radius: 8px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #DF5E21;
}
.photo_theme_subtitle::before {
  left: 0;
}
.photo_theme_subtitle::after {
  right: 0;
}

/*-----------------------
        swiper
------------------------*/
.swiper-container {
  width: 100%;
}

.swiper-slide {
  width: auto;
  position: relative;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}
.swiper-slide img:hover {
  cursor: pointer;
}

/*ライトボックス*/
.hidden {
  display: none;
}

#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  flex-direction: column;
}
#lightbox .lightbox-content {
  max-width: 85%;
  max-height: 85%;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: auto; /* テキスト部分をスクロール可能にする */
}
#lightbox img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
}
#lightbox.hidden {
  display: none;
}

/*-----------------------
------------------------*/
.photo_theme_title {
  display: block;
  width: 100%;
  max-width: 1014px;
  margin-left: auto;
  margin-right: auto;
}

.photo_text {
  font-size: 22px;
  font-weight: 500;
}

.photo_listtitle {
  font-size: 24px;
  font-weight: bold;
  padding-left: 31px;
  position: relative;
}
.photo_listtitle::before {
  position: absolute;
  content: "";
  top: 50%;
  left: 0;
  width: 16px;
  aspect-ratio: 1/1;
  height: auto;
  border-radius: 8px;
  transform: translateY(-50%);
  background-color: #DF5E21;
}

.photo_deadline_outer {
  display: flex;
  justify-content: left;
  align-items: flex-start;
}

.photo_deadline {
  width: fit-content;
  flex-shrink: 0;
}

.white_line {
  position: relative;
}
.white_line::after {
  position: absolute;
  content: "";
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: #fff;
}

.photo_link_title {
  width: fit-content;
  font-size: 24px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.photo_link_title::before, .photo_link_title::after {
  display: block;
  position: absolute;
  content: "";
  top: 50%;
  width: 2px;
  height: 34px;
  background-color: #444;
}
.photo_link_title::before {
  left: -25px;
  transform: translateY(-50%) rotate(-20deg);
}
.photo_link_title::after {
  right: -25px;
  transform: translateY(-50%) rotate(20deg);
}

.photo_link_btn {
  width: 550px;
  height: 126px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 26px;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  transition: background-color 0.3s;
}
.photo_link_btn:hover {
  background-color: #eeeeee;
}
.photo_link_btn:hover .photo_link_item {
  transform: scale(1.1);
}

.photo_link_item {
  display: block;
  width: 84px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.photo_link_text {
  font-size: 25px;
  font-weight: 500;
}

@media (max-width: 1200px){
  .photo_abst {
    padding: 30px 60px 25px;
  }
  .photo_abst .item1 {
    top: 0;
    right: calc(100% - 65px);
    width: 120px;
  }
  .photo_abst .item2 {
    width: 90px;
  }
  .photo_abst_text {
    font-size: 20px;
  }
  .photo_text {
    font-size: 20px;
  }
}

@media (max-width: 960px){
  .photo_abst .item1 {
    width: 100px;
    top: 50%;
    transform: translateY(-50%);
  }
  .photo_abst .item2 {
    width: 80px;
    top: 50%;
    left: calc(100% - 50px);
    transform: translateY(-50%);
  }
  .photo_abst_text {
    font-size: 18px;
  }
  .photo_theme_subtitle {
    font-size: 21px;
  }
  .photo_listtitle {
    font-size: 20px;
  }
  .photo_link_title {
    font-size: 19px;
  }
  .photo_link_title::before {
    left: -18px;
  }
  .photo_link_btn {
    width: 440px;
    height: 90px;
    border-radius: 20px;
  }
  .photo_link_item {
    width: 70px;
  }
  .photo_link_text {
    font-size: 22px;
  }
}

@media (max-width: 767px){
  .photo_abst {
    padding: 30px 16px;
  }
  .photo_abst .item1 {
    width: 70px;
    top: 0px;
    right: calc(100% - 55px);
  }
  .photo_abst .item2 {
    width: 52px;
    top: 80%;
    left: calc(100% - 32px);
  }
  .photo_abst_text {
    font-size: 16px;
    letter-spacing: -0.3px;
  }
  .photo_theme_subtitle {
    font-size: 18px;
    letter-spacing: -0.5px;
  }
  .photo_text {
    font-size: 15px;
  }
  .photo_listtitle {
    font-size: 18px;
  }
  .photo_deadline_outer .deadline_note {
    display: none;
  }
  .photo_link_title {
    font-size: 15px;
    letter-spacing: -0.5px;
  }
  .photo_link_title::before, .photo_link_title::after {
    width: 1px;
    height: 28px;
  }
  .photo_link_title::before {
    left: -10px;
  }
  .photo_link_title::after {
    right: -18px;
  }
  .photo_link_title::after {
    right: -12px;
  }
  .photo_link_btn {
    width: 100%;
    height: 80px;
    gap: 12px;
  }
  .photo_link_item {
    width: 52px;
  }
  .photo_link_text {
    font-size: 18px;
  }
}