﻿/* ============================================
   NEWS PAGE STYLES
   ============================================ */

.news-page {
  background: #ffffff;
}

.news-page-hero {
  background: #ffffff;
}

.news-page-hero__container {
  display: flex;
  flex-direction: column;
  row-gap: 0;
  padding-top: 48px;
  padding-bottom: 64px;
}

.news-page-header {
  padding-top: 48px;
  padding-bottom: 16px;
}

.news-page-title {
  margin: 0;
  color: var(--color-neutral-opacity-gray-900);
  font-family: "Dunbar Text", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: var(--font-size-64-fluid);
  font-weight: 700;
  line-height: var(--line-height-64-fluid);
  letter-spacing: -0.64px;
}

.news-page-hero .contentsAll {
  padding-top: 48px;
  padding-bottom: 64px;
}

.news-page-featured {
  padding-top: 104px;
  padding-bottom: 120px;
}

.news-page-featured::before {
  display: none;
}

.news-section h2 {
  margin: 0;
  color: var(--color-neutral-opacity-gray-900);
  font-family: "Dunbar Text", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: var(--font-size-64-fluid);
  font-weight: 700;
  line-height: var(--line-height-64-fluid);
  letter-spacing: -0.64px;
}

.latest-news-section {
  background: #ffffff;
  padding: 48px 0 120px;
}

.latest-news-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 48px;
}

.latest-news-title {
  margin: 0;
  color: var(--color-neutral-opacity-gray-900);
  font-family: "Dunbar Text", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: var(--font-size-54-fluid);
  font-weight: 700;
  line-height: var(--line-height-54-fluid);
  letter-spacing: 0;
}

.latest-news-list {
  width: 100%;
}

.latest-news-item {
  width: 100%;
  border-bottom: 1px solid #dddddd;
}

.latest-news-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 23px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.latest-news-toggle:active {
  background: transparent;
}

.latest-news-toggle__meta {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  column-gap: 24px;
}

.latest-news-meta-row {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  column-gap: 24px;
}

.latest-news-date {
  flex: 0 0 auto;
  width: 90px;
  color: var(--color-neutral-solid-gray-536);
  font-family: Roboto, "Hiragino Sans", "Meiryo", sans-serif;
  font-size: var(--font-size-15-fluid);
  font-weight: 400;
  line-height: var(--line-height-15-fluid);
}

.latest-news-tag {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  padding: 4px 12px;
  border-radius: 4px;
  font-family: Roboto, "Hiragino Sans", "Meiryo", sans-serif;
  font-size: var(--font-size-15-fluid);
  font-weight: 700;
  line-height: calc(var(--font-size-15-fluid) * 1.5333);
}

.latest-news-tag--corporate {
  background: #daecfa;
  color: #1c7dcd;
}

.latest-news-tag--technology {
  background: #e8ddf9;
  color: #4e07bb;
}

.latest-news-heading {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--color-neutral-solid-gray-900);
  font-family: Roboto, "Hiragino Sans", "Meiryo", sans-serif;
  font-size: var(--font-size-16-fluid);
  font-weight: 400;
  line-height: var(--line-height-16-fluid-base);
}

.latest-news-toggle__icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: #1c7dcd;
  transition: transform 0.24s ease, color 0.24s ease;
}

.latest-news-toggle__icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

.latest-news-toggle:focus-visible {
  outline: 2px solid #1c7dcd;
  outline-offset: 4px;
}

.latest-news-item.is-open .latest-news-heading {
  color: #1c7dcd;
}

@media (hover: hover) and (pointer: fine) {
  .latest-news-toggle:hover .latest-news-heading {
    color: #1c7dcd;
  }
}

.latest-news-item.is-open .latest-news-toggle__icon {
  transform: rotate(180deg);
}

.latest-news-panel { display: flex; flex-direction: column; align-items: flex-start; row-gap: 16px; padding: 0 24px 0 114px; overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding-bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1); }

.latest-news-panel[hidden] { /* handled by max-height:0 */ } .latest-news-item.is-open .latest-news-panel { padding-bottom: 24px; opacity: 1; }

.latest-news-summary {
  margin: 0;
  max-width: none;
  color: #4D4D4D;
  font-family: Roboto, "Hiragino Sans", "Meiryo", sans-serif;
  font-size: var(--font-size-15-fluid);
  font-weight: 400;
  line-height: var(--line-height-15-fluid);
}

.latest-news-readmore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 4px;
  min-width: 200px;
  padding: 9px 19px 9px 23px;
  border: 1px solid #1c7dcd;
  border-radius: 4px;
  background: #ffffff;
  color: #1c7dcd;
  font-family: Roboto, "Hiragino Sans", "Meiryo", sans-serif;
  font-size: var(--font-size-16-fluid);
  font-weight: 700;
  line-height: var(--line-height-16-fluid-loose);
  text-decoration: none;
  transition: background-color 0.24s ease, color 0.24s ease, border-color 0.24s ease;
}

.latest-news-readmore span {
  white-space: nowrap;
}

.latest-news-readmore__icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  transition: filter 0.24s ease;
}

.latest-news-readmore:hover,
.latest-news-readmore:focus-visible {
  background: #1c7dcd;
  color: #ffffff;
}

.latest-news-readmore:hover .latest-news-readmore__icon,
.latest-news-readmore:focus-visible .latest-news-readmore__icon {
  filter: brightness(0) invert(1);
}

.latest-news-footer {
  align-self: flex-start;
}

.latest-news-footer .btn-business {
  column-gap: 4px;
  padding: 9px 19px 9px 23px;
  border-radius: 4px;
}

.latest-news-footer .btn-business span {
  font-size: var(--font-size-16-fluid);
  line-height: var(--line-height-16-fluid-loose);
}

@media (max-width: 1366px) {
  .news-page-header {
    padding-top: 35px;
  }

  .news-page-hero .contentsAll {
    padding-top: 35px;
    padding-bottom: 44px;
  }

  .news-page-featured {
    padding-top: 91px;
    padding-bottom: 80px;
  }

  .latest-news-section {
    padding-bottom: 80px;
  }
}

@media (max-width: 1024px) {
  .news-page-featured {
    padding-top: 91px;
    padding-bottom: 80px;
  }

  .latest-news-toggle__meta {
    column-gap: 16px;
  }

  .latest-news-panel {
    padding-right: 24px;
    padding-left: 114px;
  }
}

@media (max-width: 991px) {
  .news-page-featured {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .latest-news-section {
    padding: 48px 0 64px;
  }
.news-section h2{
  font-size: 34px !important;
}
body.is-mobile .news-page-featured .news-container{
  row-gap: 48px !important;
}
  .latest-news-container {
    row-gap: 32px;
  }

  .news-page-featured .news-grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .latest-news-toggle {
    align-items: center;
    gap: 16px;
    padding: 24px 0 23px;
  }

  .latest-news-toggle__meta {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 12px;
    column-gap: 0;
  }

  .latest-news-meta-row {
    align-self: stretch;
    column-gap: 8px;
  }

  .latest-news-date {
    width: 90px;
    font-size: 15px;
    line-height: 19px;
  }

  .latest-news-tag {
    min-width: 120px;
    width: 120px;
    padding: 4px 12px;
    font-size: 15px;
    line-height: 23px;
  }

  .latest-news-heading {
    width: 100%;
    font-size: 16px;
    line-height: 24px;
  }

  .latest-news-panel { padding: 0 0 0 0; row-gap: 16px; } .latest-news-item.is-open .latest-news-panel { padding-bottom: 23px; }

  .latest-news-summary {
    font-size: 15px;
    line-height: 19px;
  }

  .latest-news-readmore {
    width: 100%;
    min-width: 0;
  }

  .latest-news-footer {
    width: 100%;
    margin-top: 16px;
  }

  .latest-news-footer .btn-business {
    display: flex;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  body.is-mobile .news-page {
    padding-top: 0;
  }

  .news-page-header {
    padding-top: 48px;
  }

  .news-page-hero .contentsAll {
    padding-top: 48px;
    padding-bottom: 16px;
  }

  body.is-mobile .news-page-title,
  body.is-mobile .news-section h2,
  body.is-mobile .latest-news-title {
    font-size: 34px;
    line-height: 44px;
    letter-spacing: -0.34px;
  }

  body.is-mobile .news-page-featured {
    padding: 48px 0px 64px 0px;
  }

  body.is-mobile .news-page-featured .news-container {
    row-gap: 54px;
  }

  body.is-mobile .news-page-featured .news-grid {
    row-gap: 33px;
  }

  .latest-news-container {
    row-gap: 32px;
  }
}
