@charset "utf-8";

/* 初回の1号だけ */
.img_news01 {
  min-width: 300px;
  height: auto;
  font-weight: bold;
}
.img_news01 img {
  border-radius: 10px;
}
#news02,#news03,#news04,#news05 {
  position: none;
}
/* 初回の1号だけ 下記にも記載あり　768px以上 下記にあり*/
.text-item a:has(.disabled) {
  pointer-events: none !important;
  transform: scale(1);
   color: #CCC !important;
}
.news_item.disabled a:hover {
  color: #CCC !important;
}
.news_item.disabled dt {
  white-space: nowrap;
  padding-right: 4rem;
}
.news_item:not(.disabled) {
  /* font-weight: bold;
  font-size: 110%; */
}

/*********************************/
.messe_news .container.slider {
  padding: 0;
}

.slider-wrapper {
  display: block;
  /* gap: 100px; */
  padding: 1rem 0;
}

.slider-container {
  max-width: 300px;
  width: 100%;
  margin: 0 auto 1rem;
}

ul.text-list {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow: hidden;
  max-height: 300px;
  overflow: auto;
}

.text-item {
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: 0.3s;
}

.text-item.active {
  font-size: 110%;
  font-weight: bold;
}
.messe_news .text-item a {
  color: #333333;
}
.text-item:hover {
  opacity: 0.6;
}
.news_slider .slick-slide img {
  max-width: 100%;
  display: block;
}
.news_slider .slick-slide img:hover {
  opacity: 0.6;
}

.news_slider .news_item {
  padding-bottom: 1rem;
  border-bottom: 1px solid #EEE;
}
.news_slider .news_item dd{
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.news_slider .slick-next::after,
.news_slider .slick-prev::after {
  width: 3rem;
  height: 3rem;
  border-top: 1.33vw solid #F05BDD;
  border-right: 1.33vw solid #F05BDD;
  z-index: 2;
  filter:none;
}

/* next */
.news_slider .slick-next {
  right: 0;
}
.news_slider .slick-next::after {
  right: 2px;
  transform: rotate(45deg);
}

/* prev */
.news_slider  .slick-prev {
  left: 0;
}
.news_slider .slick-prev::after {
  left: 2px;
  transform: rotate(-135deg);
}

.text-list-wrapper {
  /* max-width: auto; */
  width: 95%;
  margin: auto;
  /* padding: 2rem 0 2rem 2rem; */
  padding: 0;
  background: #FFF;
  border-radius: 10px;
  box-shadow: 4px 6px 10px rgba(55, 50, 136, 0.19);
  box-sizing: border-box;
  min-height: 300px;
}
.slider-container {
  filter: drop-shadow(4px 6px 10px rgba(55, 50, 136, 0.5));
}

/* 囲み 960px slider除く */
.messe_news .container.news_wrapper {
  padding: 2rem;
  margin: 4rem auto;
  border-top: 1px solid #DDDDDD;
  border-bottom: 1px solid #DDDDDD;
  max-width: 960px;
  width: calc(100% - 2px);
  box-sizing: border-box;
  box-shadow: 4px 6px 10px rgba(55, 50, 136, 0.1);
}
.news_headL {
  font-size: clamp(2.4rem,3.9vw,3rem);
  font-weight: bold;
  text-decoration: underline;
  background: #CCFD99;
  display: inline-block;
  padding: 1rem 1rem;
  line-height: 1.2;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}
.news_headL+.theme+p {
  margin-top: 0;
}
.news_headM {
  font-size: clamp(2rem,3.3vw,2.6rem);
  font-weight: bold;
  text-decoration: underline;
  color: #5E31F7;
  line-height: 1.2;
  margin-top: 4rem;
  margin-bottom: 0.5rem;
  position: relative;
}
.news_headM:has(.waku) {
  /* padding-left: 24rem; */
  padding-top: 4rem;
}
.news_headM .waku {
  position: absolute;
  top: calc(50% - 3rem);
  left: 0;
  padding: 0.5rem 1rem;
  border: 1px solid #333333;
  display: inline-block;
  line-height: 1;
}
.messe_news p {
  font-size: clamp(1.4rem,2vw,1.6rem);
  line-height: 1.6;
  margin-top: 2.5rem;
  text-indent: 1.8rem;
}
.matome_waku {
  padding: 1rem 1.5rem;
  border: 3px solid #92D04F;
  margin-top: 4rem;
}
.matome_waku_orange {
  padding: 1rem 0;
  /* border: 2px solid #FFC000;
  margin-top: 1rem; */
  text-indent: -0.5rem;
  font-size: 90%;
}
.messe_news a.external {
  background: url(../images/icon-external_blue.svg) no-repeat right center;
  padding-right: 2.5rem;
  width: 10px;
  height: 10px;
}
.messe_news .text_flex {
  display: flex;
  flex-direction: column;
}
.messe_news .text_flex > P {
    margin-top: 2.5rem;
    /* line-height: 1.7; */
    line-height: 2;
}
.messe_news .text_flex .img {
  max-width:fit-content;
  width: 100%;
  text-align: center;
  margin: 1.5rem auto;
  flex-shrink: 0;
  /* object-fit: contain; */
}
.messe_news .text_flex+P {
    margin-top: 0;
    /* background: red; */
}

/* 3つ画像横並び */
.img_flex {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 1rem;
  margin-top: 1rem;
}
.img_flex img {
  width:100%;
}

/* メッセ2025 ニュース」 第２号 */
.messe_news .inner_explanation {
  margin-top: 3rem;
}
/* メッセ2025 ニュース」 第5号 */
.messe_news .pamphlet {
  text-indent: 0;
  /* font-weight: bold; */
  margin-top: 1rem;
}
.messe_news .pamphlet a {
  position: relative;
}
.messe_news .pamphlet a::before {
  content: "";
  display: inline-block;
  background: url(../images/icon-pdf.svg) no-repeat;
  width: 18px;
  height: 18px;
  position: absolute;
  top: 0;
  right: -2.5rem;
  z-index: 2;
}


@media screen and (min-width: 768px) ,print{
  .slider-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 100px;
    padding: 6rem 5% 2rem;
  }

  .slider-container {
    width: 300px;
  }

  ul.text-list {
    max-height: 400px;
  }
  .text-item {
    padding: 1.8rem 2rem;
  }
  /* 初回の1号だけ 下記にも記載あり*/
  /* .text-item {
    padding: 1rem 2rem;
    line-height: 1.7;
  } */

  .news_slider .slick-next::after,
  .news_slider .slick-prev::after {
    width: 3rem;
    height: 3rem;
    border-top: 5px solid #333;
    border-right: 5px solid #333;
  }

  /* next */
  .news_slider .slick-next::after {
    right: -7rem;
  }
  /* prev */
  .news_slider .slick-prev::after {
    left: -7rem;
  }
  .text-list-wrapper {
    max-width: 680px;
    width: 100%;
    padding: 1rem 0 1rem 1rem;
    /* background: #FFF; */
    /* border-radius: 10px; */
    box-shadow: 4px 6px 10px rgba(55, 50, 136, 0.5);
    /* box-sizing: border-box; */
    min-height: 420px;
    margin: 0 auto;
  }
  

  /* 囲み 960px slider除く */
  .messe_news .container.news_wrapper {
    padding: 6rem;
    margin: 4rem auto;
    border: 1px solid #DDDDDD;
    /* border: 1px solid #EEEEEE; */
    max-width: 960px;
    width: 100%;
  }
  .news_headL {
    /* font-size: clamp(2.4rem,3.9vw,3rem);
    font-weight: bold;
    text-decoration: underline;
    background: #CCFD99;
    display: inline-block; */
    padding: 1rem 1rem;
    line-height: 1.2;
  }
  .news_headM {
    /* font-size: clamp(2rem,3.3vw,2.6rem);
    font-weight: bold;
    text-decoration: underline;
    color: #5E31F7; */
    line-height: 1.2;
    margin-top: 6rem;
  }
  .news_headM:has(.waku) {
    padding-left: 24rem;
    padding-top: 0;
  }
  .news_headM .waku {
    top: -0.5rem;
  }
  .messe_news p {
    font-size: clamp(1.4rem,2.3vw,1.8rem);
    /* line-height: 1.6; */
    line-height: 2;
    margin-top: 3rem;
    text-indent: 1.8rem;
  }
  .messe_news .text_flex {
    flex-direction: row;
    justify-content: space-between;
    margin-top: 2rem;
    /* margin-top: 3rem; */
    gap: 3rem;
  }
  .messe_news .text_flex > P {
    /* width: 70%; */
    width: calc(100% - 230px);
    margin-top: 0;
  }
  .messe_news .text_flex .img {
    max-width: 200px;
    margin-top: 0;
  }
  .messe_news .text_flex .img.sizeS {
    max-width: 235px;
    margin-top: 0;
  }
  .messe_news .text_flex .img.sizeM {
    max-width: 250px;
  }
  .messe_news .text_flex .img.sizeL {
    max-width: 340px;
  }
  .matome_waku {
    padding: 1rem 1.5rem;
    border: 3px solid #92D04F;
    margin-top: 6rem;
  }

 /* メッセ2025 ニュース」 第２号 */
  .messe_news .inner_explanation {
    font-size: 85%;
    line-height: 1.4;
    margin-top: 0;
  }
  .first-adjust.img img {
    padding-top: 2rem;
  }
  .messe_news .inner_explanation .company01 {
    display: inline-block;
    padding: 4.5rem 0 0.5rem;
    /* padding: 2.5rem 0 0.5rem; */
  }
  .messe_news .inner_explanation .company02 {
    display: inline-block;
    padding: 0.5rem 0;
  }
  .inner_explanation .cap {
    font-size: 1.2rem;
    color: #0E306A;
  }
  .messe_news .inner_explanation .img {
    max-width: 100%;
    width: 400px;
    /* background: #EEE6F1; */
  }

  /* 3つ画像横並び */
  .img_flex {
    flex-direction: row;
    width: calc(838px - 2rem);
    gap: 1rem;
    margin-top: 1rem;
  }
  .img_flex img {
    width: calc((100% - 2rem) / 3);
  }


  .messe_news .mbm3 { margin-bottom: -3rem; }

  /* 削除しない */
}

@media print {
  header,
  .container_breadcrumb,
  .main_title,
  .news-list,
  .bnr_area,
  footer {
    display: none;
  }
}
