@charset "UTF-8";

/* sec01 */
.container01 {
  width: 100%;
  height: 45vw;
  position: relative;
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
}

.container01.news {
  background-image: url(../images/posts/mv_news_sp.png);
}

@media screen and (min-width: 999.8px) {

  /* sec01 */
  .container01 {
    height: 27vw;
  }

  .container01.news {
    background-image: url(../images/posts/mv_news.png);
  }
}

/* sec03 news*/
#sec03 {
  margin-top: 4.5vw;
  margin-bottom: 8vw;
}

.container__sec03 {
  letter-spacing: 0.1em;
}

.contents__sec03 {
  display: flex;
  justify-content: space-between;
  margin-top: 8rem;
}

.f18_26 {
  position: relative;
  font-size: 1.8rem;
  color: var(--color-main);
  margin-bottom: 1rem;
}

.f18_26::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 1px;
  background-color: var(--color-main);
  width: 100%;
}

.news__sec03 {
  flex: 1;
}

/* .news__sec03>ul {
  margin-bottom: 2rem;
  padding-inline: 2rem;
} */

.news__sec03>ul>li {
  list-style: none;
  margin-bottom: 4px;
}

.news__sec03>ul:last-of-type {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;

  &>li {
    flex: 1;
    width: calc(25% - 1rem);
    text-align: center;
  }
}


.item__sec03 {
  border-bottom: solid 1px var(--color-main);
  /* padding: 4.5vw 0; */
}

.text__sec03 {
  display: flex;
  justify-content: space-between;
}

.text__sec03 p {
  transition: color 0.3s ease;
}

.text__sec03 p:hover {
  color: var(--color-main);
}

.under {
  border-bottom: solid 1px var(--color-main);
  display: none;
}

.spUnder {
  border-bottom: solid 1px var(--color-main);
}

/* .box__sec03 {
  padding-top: 4.5vw;
} */

.d-content {
  display: block;
  flex-grow: 1;
}

.d-flex {
  display: flex;
  align-items: center;
  padding: 2rem 0;
}

.button__news {
  display: block;
  text-align: end;
  padding-top: 9vw;
}

.bottom__sec03 {
  padding-right: 2%;
}

.box__sec03 {
  border-top: solid 1px var(--color-main);
}

@media screen and (min-width: 999.8px) {
  /* .contents {
    padding: 4.5vw 0;
  } */

  .d-flex {
    display: contents;
  }

  .d-content {
    display: contents;
  }
  

  #sec03 {
    border-top: 1px solid var(--color-main);
  }

  #sec03 .contents {
    padding: 0;
  }

  .flex__sec03 {
    display: flex;
    justify-content: space-between;
    /* gap: 7%; */
  }

  .f18_26 {
    font-size: 2rem;
    white-space: nowrap;
    display: inline-block;
  }

  .text__title {
    padding-top: 0px;
    font-size: 1.7rem;
  }

  .contents__sec03 {
    flex: 1 1 300px;
    border-left: 1px solid var(--color-main);
    padding-top: 1.5vw;
    padding-left: 1.5vw;
    margin-top: 0;
  }

  .box__sec03 {
    width: 83%;
    padding-top: 0;
    padding-bottom: 8rem;
    border-top:none;
  }

  .bottom__sec03 {
    font-size: 1.8rem;
  }

  .item__sec03 a{
    display: flex;
    gap: 4rem;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
  }

  .news__sec03>ul {
    margin-bottom: 2rem;
    padding-inline: 0;
  }

  .news__sec03>ul>li {
    list-style: none;
    margin-bottom: 4px;
  }

  .news__sec03>ul:last-of-type {
    flex-direction: column;
    gap: 0;
    flex-wrap: nowrap;
    justify-content: flex-start;

    &>li {
      flex: 1;
      width: 100%;
      text-align: left;

    }
  }


  .text__sec03 {
    width: calc(100% - 100px);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .under {
    display: flex;
  }

  .spUnder {
    border-bottom: none;
  }

  .button__news {
    padding-top: 3vw;
  }
}

/* sec09, footer */