/*--------------------------------------------------------------------------------
  共通
--------------------------------------------------------------------------------*/
.news_wrap {
  background: #fff;
  margin: 0 2.5vw;
  border-radius: 15px;
  margin-bottom: 60px;
}


/* ===============================================
news
=============================================== */

.news {
  width: min(90%, 1100px);
  margin: 0 auto;
  background: #fff;
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
}

.news::before {
  content: "お知らせ";
  display: inline-block;
  padding: 10px clamp(20px, 3%, 30px);
  background: var(--cl_main);
  position: absolute;
  top: 0;
  left: 0;
  font-weight: 700;
  color: #fff;
  border-radius: 0 0 8px 0;
}

.news_list {
  padding: 15px 0;
  padding-top: 55px;
}

.news_list li {
  width: 90%;
  margin: 0 auto;
  padding: 12px 0;
  padding-left: 10px;
  display: flex;
  gap: clamp(15px, calc(20 / 1200 * 100vw), 50px);
  border-bottom: 1px solid #dedede;
  font-size: clamp(14px, 1.8vw, 16px);
  position: relative;

}

.news_list li a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.news_list li:last-of-type {
  border-bottom: none;
}

.news_day {
  font-family: var(--ff_en);
  font-weight: 700;
}

/* hoverしたら */
.news_list li:hover .news_ttl {
  text-decoration: underline;
}

@media screen and (max-width: 750px) {
  .news {
    bottom: initial;
    top: 90%;
  }

  .news_list li {
    gap: 3px;
    flex-direction: column;
  }
}

/*--------------------------------------------------------------------------------
  一覧
--------------------------------------------------------------------------------*/
#news .news_list {
  padding-top: 0;
  padding: 15px 0;
}

#news .news_list li {
  padding: 25px 0;
}


/*--------------------------------------------------------------------------------
  詳細
--------------------------------------------------------------------------------*/
.news_detail_wrap {
  padding-bottom: 60px;
}

.news_detail {
  width: 90%;
  margin: 0 auto;
  padding: 30px 0;
  text-align: left;
  box-sizing: border-box;
}

.news_title_day {
  display: inline-block;
  margin-right: 1em;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.8;
}


@media print, screen and (min-width:751px) {
  .news_detail .detailHdline {
    margin-top: 0;
    margin-bottom: 2rem;
    padding-bottom: 0.5em;
    border-bottom: 4px double #E7B397;
  }
}

@media screen and (max-width:750px) {
  .news_detail .detailHdline {
    margin-top: 0;
    margin-bottom: 2rem;
    padding-bottom: 0.5em;
    border-bottom: 4px double #E7B397;
  }
}

.news_detail .p-glog {
  margin-bottom: 60px;
  overflow: hidden;
  box-sizing: border-box;
}

.news_detail .p-glog:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.news_detail .p-glog .p-glog__img--left {
  float: left;
  margin-right: 24px;
}

.news_detail .p-glog .p-glog__img--right {
  float: right;
  margin-left: 24px;
}

.news_detail .p-glog .p-glog__img--center {
  display: block;
  margin: 0 auto 24px;
  text-align: center;
}

.news_detail .btn {
  display: block;
  margin: 0 auto;
}

@media screen and (max-width:750px) {

  .news_detail .p-glog .p-glog__img--left,
  .news_detail .p-glog .p-glog__img--right {
    float: none;
    width: 100% !important;
    display: block;
    margin: 0 auto 24px;
  }

  .news_detail .p-glog .p-glog__img--center {
    width: 100% !important;
  }
}

.button {
  text-align: center;
}

.button a {
  background: #fff;
  border: 2px solid #1f2c5c;
  border-radius: 100px;
  padding: 15px 50px;
  max-width: 330px;
  position: relative;
  transition: all .3s;
  font-size: clamp(14px, 1.8vw, 16px);
  color: #1f2c5c;
  margin: 0 auto;
}

.button a:hover {
  background: #1f2c5c;
  color: #fff;
}


/*--------------------------------------------------------------------------------
  エラー
--------------------------------------------------------------------------------*/
.news_err {
  line-height: 2;
}

@media print, screen and (min-width:641px) {
  .news_err {
    padding-top: 40px;
    padding-bottom: 20px;
    font-size: 1.1em;
  }
}

@media screen and (max-width:640px) {
  .news_err {
    padding: 12% 6%;
  }
}


/*--------------------------------------------------------------------------------
  ページャー
--------------------------------------------------------------------------------*/
.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 30px;
  list-style: none;
}

.pager li {
  margin-right: .5em;
  margin-bottom: .5em;
  text-align: center;
  box-sizing: border-box;
}

.pager li:last-child {
  margin-right: 0;
}

.pager li a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2em;
  height: 2em;
  border: 2px solid var(--cl_main);
  border-radius: 1em;
  color: #121212;
  line-height: 1;
}

.pager li a:hover {
  color: var(--cl_main);
}

.pager li.active {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2em;
  height: 2em;
  background: var(--cl_main);
  border-radius: 1em;
  color: #ffffff;
  line-height: 1;
}