@charset "UTF-8";

/*!
 * News Detail Style
 * Author: SSTA
 * Date: 2026-06-16
 */

/* ==============================================
   1. News Detail Container Settings
   ============================================== */


/* =================================================
   3. News Detail Style
   ================================================= */

.detail_header {
  margin-bottom: 50px;
  border-bottom: 1px dotted #ccc;
  padding-bottom: 30px;
}

.detail_title {
  font-size: 22px;
  color: #4a5f70;
  margin-top: 15px;
  padding-left: 15px;
  border-left: 4px solid #b89a5e;
  font-weight: 600;
}

.detail_body {
  line-height: 1.8;
  font-size: 15px;
  color: #555;
}

.detail_body p {
  margin-bottom: 25px;
}

.detail_sns_links {
  margin: 40px auto;
  padding: 20px;
  background-color: #fcfbfa;
  border-radius: 8px;
  text-align: center;
}

.detail_sns_links .sns_ttl {
  font-size: 15px;
  color: #4a5f70;
  margin-bottom: 15px;
  font-weight: 600;
}

.sns_list_text {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  list-style: none;
}

.sns_list_text li a {
  color: #b89a5e;
  font-weight: bold;
  font-size: 15px;
  border-bottom: 1px solid #b89a5e;
  padding-bottom: 2px;
  transition: opacity 0.3s;
}

.sns_list_text li a:hover {
  opacity: 0.7;
}


/* --- SP Layout (~768px) --- */
@media screen and (max-width: 768px) {
  .detail_header {
    margin-bottom: 30px;
    padding-bottom: 20px;
  }

  .detail_title {
    font-size: 18px;
    margin-top: 10px;
    padding-left: 10px;
    border-left: 3px solid #b89a5e;
  }

  .detail_body {
    font-size: 14px;
    line-height: 1.7;
  }

  .detail_body p {
    margin-bottom: 15px;
  }

  .detail_sns_links {
    margin: 20px 0;
    padding: 20px 10px;
  }

  .detail_sns_links .sns_ttl {
  font-size: 14px;
}

  .sns_list_text {
    gap: 15px;
  }

  .sns_list_text li a {
    font-size: 14px;
  }
}


.detail_gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 30px 10px;
}

.photo_item {
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
}

.photo_item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.photo_item:nth-child(5) {
  grid-column: 1 / 3;
  justify-self: center;
  width: 50%;
}

.detail_gallery:has(.photo_item:only-child) {
  grid-template-columns: 1fr;
}

.detail_gallery:has(.photo_item:only-child) .photo_item {
  width: 50%;
  justify-self: center;
}

@media screen and (max-width: 768px) {
  .detail_gallery {
    grid-template-columns: 1fr;
    margin: 30px 2px;
    gap: 15px;
  }

  .photo_item:nth-child(5) {
    grid-column: auto;
    width: 100%;
  }

  .detail_gallery:has(.photo_item:only-child) .photo_item {
    width: 100%;
  }
}

