/* =====================================================
   News Detail Page
===================================================== */

.news-detail-page{
  background: #fff;
  overflow: hidden;
}

/* ==============================
   Page Hero
============================== */

.news-detail-hero{
  position: relative;
  padding: 150px 20px 76px;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      #eefbff 0%,
      #ffffff 100%
    );
}

.news-detail-hero-bg{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(246, 181, 194, 0.24) 0 8%, transparent 28%),
    radial-gradient(circle at 82% 42%, rgba(92, 195, 225, 0.20) 0 8%, transparent 30%);
  pointer-events: none;
}

.news-detail-hero-inner{
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.news-detail-hero-label{
  margin: 0 0 -8px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: clamp(58px, 10vw, 110px);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: 0.14em;
  color: rgba(211, 139, 61, 0.12);
  user-select: none;
}

.news-detail-hero-title{
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 900;
  color: #3a3028;
  letter-spacing: 0.08em;
}

.news-detail-decoration{
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
}

.news-detail-decoration span{
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.news-detail-decoration span:nth-child(5n+1){
  background: #55b7f3;
}

.news-detail-decoration span:nth-child(5n+2){
  background: #9acd32;
}

.news-detail-decoration span:nth-child(5n+3){
  background: #e0c15c;
}

.news-detail-decoration span:nth-child(5n+4){
  background: #e7a84a;
}

.news-detail-decoration span:nth-child(5n){
  background: #ef6eb1;
}

/* ==============================
   Breadcrumb
============================== */

.breadcrumb{
  padding: 18px 20px;
  background: #fff;
  border-bottom: 1px solid rgba(22, 180, 198, 0.12);
}

.breadcrumb-list{
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
  list-style: none;

  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;

  font-size: 13px;
  font-weight: 700;
  color: #8a7b70;
}

.breadcrumb-list li{
  display: flex;
  align-items: center;
}

.breadcrumb-list li:not(:last-child)::after{
  content: ">";
  margin-left: 8px;
  color: #b7aaa0;
}

.breadcrumb-list a{
  color: #16b4c6;
  text-decoration: none;
}

.breadcrumb-list a:hover{
  text-decoration: underline;
}

/* ==============================
   Detail Layout
============================== */

.news-detail{
  position: relative;
  padding: 76px 20px 100px;
  background: #fff;
  overflow: hidden;
}

.news-detail-inner{
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 42px;
  align-items: start;
}

/* common bg */
.news-detail .common-bg{
  position: absolute;
  z-index: 1;
  display: block;
  width: 150px;
  height: 150px;
  background: url("/img/common-bg.png") center / contain no-repeat;
  opacity: 0.12;
  pointer-events: none;
  animation: detailCommonRotate 58s linear infinite;
}

.common-bg--detail01{
  top: 80px;
  left: 5%;
}

.common-bg--detail02{
  right: 4%;
  bottom: 90px;
  width: 190px;
  height: 190px;
  opacity: 0.09;
  animation-duration: 74s;
  animation-direction: reverse;
}

@keyframes detailCommonRotate{
  from{
    transform: rotate(0deg);
  }
  to{
    transform: rotate(360deg);
  }
}

/* ==============================
   Article
============================== */

.news-article{
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(67, 151, 168, 0.12);
}

.news-article-head{
  padding: 38px 42px 28px;
}

.news-article-meta{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.news-article-meta time{
  font-size: 14px;
  font-weight: 800;
  color: #8a7b70;
}

.news-article-meta span{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  padding: 6px 13px;
  border-radius: 999px;
  background: #f6b6c3;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.news-article-title{
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  line-height: 1.55;
  color: #3a3028;
  letter-spacing: 0.04em;
}

.news-article-mainvisual{
  margin: 0;
  width: 100%;
  background: #eefbff;
}

.news-article-mainvisual img{
  display: block;
  width: 100%;
  height: auto;
}

.news-article-body{
  padding: 42px;
}

.news-article-body p{
  margin: 0 0 22px;
  font-size: 16px;
  font-weight: 500;
  line-height: 2.05;
  color: #5f5148;
}

.news-article-body p:last-child{
  margin-bottom: 0;
}

.news-article-body h3{
  margin: 42px 0 18px;
  padding-left: 18px;
  border-left: 5px solid #16b4c6;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.6;
  color: #3a3028;
}

.news-article-nav{
  padding: 0 42px 44px;
  text-align: center;
}

.news-back-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #16b4c6, #64cfe0);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(22, 180, 198, 0.24);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.news-back-link:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(22, 180, 198, 0.32);
}

/* ==============================
   Sidebar
============================== */

.news-sidebar{
  display: grid;
  gap: 24px;
}

.news-side-box{
  background: #fff;
  border-radius: 24px;
  padding: 26px 24px;
  box-shadow: 0 16px 38px rgba(67, 151, 168, 0.11);
  border: 1px solid rgba(22, 180, 198, 0.10);
}

.news-side-title{
  position: relative;
  margin: 0 0 18px;
  padding-bottom: 14px;
  font-size: 18px;
  font-weight: 900;
  color: #3a3028;
  letter-spacing: 0.05em;
}

.news-side-title::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: #16b4c6;
}

.archive-list,
.category-list{
  margin: 0;
  padding: 0;
  list-style: none;
}

.archive-list li,
.category-list li{
  border-bottom: 1px solid rgba(22, 180, 198, 0.12);
}

.archive-list li:last-child,
.category-list li:last-child{
  border-bottom: none;
}

.archive-list a,
.category-list a{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  color: #5f5148;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.archive-list a::after,
.category-list a::after{
  content: "→";
  color: #16b4c6;
  font-weight: 900;
}

.archive-list a:hover,
.category-list a:hover{
  color: #16b4c6;
}

/* ==============================
   SP
============================== */

@media (max-width: 900px){

  .news-detail-inner{
    grid-template-columns: 1fr;
  }

  .news-sidebar{
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 768px){

  .news-detail-hero{
    padding: 118px 16px 58px;
  }

  .news-detail-decoration{
    gap: 8px;
    margin-top: 18px;
  }

  .news-detail-decoration span{
    width: 8px;
    height: 8px;
  }

  .breadcrumb{
    padding: 14px 16px;
  }

  .breadcrumb-list{
    font-size: 12px;
  }

  .news-detail{
    padding: 58px 16px 76px;
  }

  .news-detail-inner{
    gap: 32px;
  }

  .news-article{
    border-radius: 24px;
  }

  .news-article-head{
    padding: 28px 22px 22px;
  }

  .news-article-body{
    padding: 28px 22px;
  }

  .news-article-body p{
    font-size: 15px;
    line-height: 1.95;
  }

  .news-article-body h3{
    margin: 34px 0 16px;
    font-size: 19px;
  }

  .news-article-nav{
    padding: 0 22px 34px;
  }

  .news-sidebar{
    grid-template-columns: 1fr;
  }

  .news-detail .common-bg{
    width: 96px;
    height: 96px;
    opacity: 0.08;
  }

  .common-bg--detail01{
    top: 42px;
    left: -32px;
  }

  .common-bg--detail02{
    right: -42px;
    bottom: 54px;
    width: 120px;
    height: 120px;
  }

}