h3{
  text-align: center;
}
p{
  color: inherit;
}

/* 重要なお知らせ */
.p-top-important{
  background-color: rgba(232, 71, 81, 0.15);
  padding: 7px 0px;
}
.p-top-important__container{
  max-width: 1240px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
  position: relative;
}
.p-top-important__label{
  display: flex;
  align-items: center;
  gap: 6px;
  padding-right: 20px;
  border-right: 1px solid #E84751;
  flex-shrink: 0;
}
@media screen and (max-width: 845px) {
  .p-top-important__label{
    border-right: none;
    display: block;
    padding-right: 0;
  }
}
.p-top-important__label__icon{
  width: 20px;
  height: auto;
}
.p-top-important__label__txt{
  font-size: 15px;
  font-weight: 500;
  color: #E84751;
  line-height: 1;
  letter-spacing: 0;
}
@media screen and (max-width: 845px) {
  .p-top-important__label__txt{
    display: none;
  }
}

.p-top-important__news{
  width: 80%;
  flex: 1 1 auto;    /* ラベルの横で残り幅を占める */
  min-width: 0;      /* ★これが超重要 */
  overflow: hidden;
}
.p-top-important__link {
  display: grid;
  grid-template-columns: auto 126px 1fr;
  grid-template-areas:"date cat title";
  align-items: center;
  grid-template-rows: 1fr;
  text-align: center;
  color: inherit;
  column-gap: 20px;
}
@media screen and (max-width: 845px) {
  .p-top-important__link {
    grid-template-columns: auto 1fr;
    grid-template-areas:"date cat" "title title";
    column-gap: 10px;
  }
}
.p-top-important__link:hover .p-top-important__title {
  text-decoration: underline;
  color: #004BDC;
}
.p-top-important__date {
  grid-area: date;
  color: #004BDC;
  text-align: left;
  font-size: 14px;
}
@media screen and (max-width: 845px) {
  .p-top-important__date {
    font-size: 12px;
  }
}
.p-top-important__cat {
  grid-area: cat;
  font-size: 12px;
  color: #fff;
  background: #004BDC;
  border-radius: calc(infinity * 1px);
  padding: 3px 12px;
  font-weight: 400;
  white-space: nowrap;
}
@media screen and (max-width: 845px) {
  .p-top-important__cat {
    font-size: 12px;
    max-width: 150px;
  }
}
.p-top-important__cat.corporate{
  background-color: #FFA8D8;
}

.p-top-important__cat.foreign-safety{
  background-color: #E84751;
}

.p-top-important__cat.sdgs{
  background-color: #006985;
}

.p-top-important__cat.airline{
  background-color: #3E3A39;
}
.p-top-important__title {
  grid-area: title;
  font-size: 14px;
  display: inline-block;
  color: #232021;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  text-box-trim: trim-both;
  font-weight: normal;
}
@media screen and (max-width: 845px) {
  .p-top-important__title {
    font-size: 14px;
    margin-top: 4px;
  }
}
.p-important__arrow{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.p-important__arrow--prev{
  width: 17px;
  height: 5px;
  background-image: url(../img/image_new/arrow-black.svg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  transform: scale(-1, 1);
  cursor: pointer;
}
.p-important__arrow--next{
  width: 17px;
  height: 5px;
  background-image: url(../img/image_new/arrow-black.svg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer;

}



/* ニュースリリース */
.p-top-news{
  max-width: 1040px;
  padding: 100px 20px 130px;
  margin:  0 auto;
}
@media screen and (max-width: 845px) {
  .p-top-news{
    padding: 60px 20px 60px;
  }
}
.p-top-news__ttl{
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 4px;
}
@media screen and (max-width: 845px) {
  .p-top-news__ttl{
    margin-bottom: 20px;
  }
}
.p-top-news__ttl--jp{
  font-weight: 600;
  line-height: 1;
  font-size: clamp( 30px, 2vw, 42px);  
}
@media screen and (max-width: 845px) {
  .p-top-news__ttl--jp{
    font-size: 24px;  
  }
}
.p-top-news__ttl--en{
  font-size: 20px;
  font-family: din-condensed, sans-serif;
  font-weight: 300;
  letter-spacing: 0.8;
  line-height: 1.5;
  color: #004BDC;
}
@media screen and (max-width: 845px) {
  .p-top-news__ttl--en{
    font-size: 18px;
  }
}

.p-top-news__list {
  display: flex;
  flex-direction: column;
  margin-top: 60px;
}
@media screen and (max-width: 845px) {
  .p-top-news__list {
    margin-top: 40px;
  }  
}

.p-top-news__item {
  border-bottom: 1px solid #e6e6e6;
}

.p-top-news__item:first-child {
  border-top: 1px solid #e6e6e6;
}

.p-top-news__link {
  display: grid;
  grid-template-columns: auto 160px 1fr;
  grid-template-areas:
    "date cat title";
  align-items: start;
  grid-template-rows: 1fr;
  text-align: center;
  color: inherit;
  padding-block: 30px;
  column-gap: 20px;
}
@media screen and (max-width: 845px) {
  .p-top-news__link {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "date cat"
      "title title";
    column-gap: 10px;
    padding-block: 20px;
  }
}
.p-top-news__link:hover .p-top-news__title {
  text-decoration: underline;
  color: #004BDC;
}

.p-top-news__date {
  grid-area: date;
  color: #004BDC;
  text-align: left;
}
@media screen and (max-width: 845px) {
  .p-top-news__date {
    font-size: 14px;
  }
}

.p-top-news__cat {
  grid-area: cat;
  font-size: 14px;
  color: #fff;
  background: #004BDC;
  border-radius: calc(infinity * 1px);
  padding: 3px 12px;
  font-weight: 400;
  white-space: nowrap;
}
@media screen and (max-width: 845px) {
  .p-top-news__cat {
    font-size: 12px;
    max-width: 150px;
  }
}
.p-top-news__cat.corporate{
  background-color: #FFA8D8;
}

.p-top-news__cat.foreign-safety{
  background-color: #E84751;
}

.p-top-news__cat.sdgs{
  background-color: #006985;
}

.p-top-news__cat.airline{
  background-color: #3E3A39;
}

.p-top-news__title {
  grid-area: title;
  font-size: 16px;
  display: inline-block;
  color: #232021;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  text-box-trim: trim-both;
  font-weight: normal;
}
@media screen and (max-width: 845px) {
  .p-top-news__title {
    font-size: 14px;
    margin-top: 10px;
  }
}

.p-top-news__none {
  text-align: center;
  font-size: 14px;
  color: #666;
  padding: 40px 0;
}
.p-top-news__btn{
  width: fit-content;
  margin:  40px auto 0;
}
@media screen and (max-width: 845px) {
  .p-top-news__btn{
    margin:  20px auto 0;
  }
}
