@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Noto+Sans+JP:wght@400;500;700&family=Sofia+Sans+Extra+Condensed:wght@400&family=Phudu:wght@500&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #101010;
  background: #FFFFFF;
  overflow-x: hidden;
}

/* ======================== */
/* Navigation               */
/* ======================== */
.nav-container {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1128px;
  max-width: calc(100% - 40px);
  z-index: 100;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 80px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 80px;
  height: 56px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.43;
  color: #101010;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #5FA9D1;
}

.nav-active {
  color: #585858 !important;
}

.nav-contact-btn {
  background: #101010;
  color: #FFFFFF !important;
  border-radius: 80px;
  padding: 0 24px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

.nav-contact-btn:hover {
  background: #333;
  color: #FFFFFF !important;
}

.nav-scrolled {
  transform: translateX(-50%) translateY(-100%);
  opacity: 0;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 110;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #101010;
  transition: 0.3s;
}

/* ======================== */
/* Hero / Header            */
/* ======================== */
.news-hero {
  width: 100%;
  height: 264px;
  background-color: #5FA9D1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.news-hero-inner {
  width: 100%;
  max-width: 1440px;
  padding: 56px 156px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.news-hero-heading {
  display: flex;
  flex-direction: column;
  gap: 0px;
  width: 100%;
  max-width: 1128px;
}

.news-hero-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 815px;
}

.news-hero-label-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  color: #FFFFFF;
}

.news-hero-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-hero-title-text {
  font-family: 'Inter', sans-serif;
  font-size: 80px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-left: -6px;
}

.news-hero-plus {
  width: 40px;
  height: 40px;
  margin-top: -18px;
  margin-left: -4px;
}

/* ======================== */
/* Article Content           */
/* ======================== */
.article-section {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 156px;
}

.article-back {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  text-decoration: none;
  color: #101010;
  transition: opacity 0.2s;
}

.article-back:hover {
  opacity: 0.6;
}

.article-back-icon {
  width: 16px;
  height: 16px;
}

.article-back-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.71;
  color: #101010;
}

.article-header {
  margin-top: 32px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.article-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.75;
  text-align: center;
  color: #101010;
  flex: 1;
}

.article-date {
  font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.71;
  color: #6A7282;
  flex-shrink: 0;
  margin-left: 24px;
}

.article-body {
  margin-top: 24px;
  /* max-width: 744px; */
  padding-bottom: 80px;
}

.article-body-text,.article-body p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 2;
  color: #101010;
  text-align: justify;
}

/* ======================== */
/* Footer                   */
/* ======================== */
.company-footer {
  position: relative;
  width: 100%;
  background-image: url('../imgs/footer-bg-350a86.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.footer-cta-area {
  padding: 80px 156px;
}

.footer-cta-cards {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.footer-cta-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 49px;
  flex: 1;
  max-width: 554px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  text-decoration: none;
  color: #101010;
  transition: background 0.3s ease;
}

.footer-cta-card:hover {
  background: rgba(255, 255, 255, 0.6);
}

.footer-cta-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-cta-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  color: #101010;
}

.footer-cta-sub {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-cta-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  color: #585858;
}

.footer-cta-arrow {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.footer-cta-arrow img {
  width: auto;
  height: 32px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.footer-cta-cards a:hover .footer-cta-arrow img {
  opacity: 1;
  transform: translateX(20px);
}

.footer-bottom {
  padding: 0 156px;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  padding-top: 1px;
}

.footer-bottom-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 48px 32px;
}

.footer-info {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.footer-company-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* flex: 1; */
  margin-top: 50px;
  width: 409px;
}

.footer-company-name {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.71;
  color: #585858;
}

.footer-address {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.43;
  color: #585858;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  flex: 1;
  gap: 16px;
  align-content: start;
}

.footer-links a {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.43;
  color: #585858;
  text-decoration: none;
  padding: 4px 16px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #5FA9D1;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social img {
  width: 20px;
  height: 20px;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: #C2C2C2;
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
}

.footer-copyright {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.43;
  color: #C2C2C2;
}

.footer-privacy {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.43;
  color: #C2C2C2;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-privacy:hover {
  color: #585858;
}

/* ======================== */
/* Scroll Animations        */
/* ======================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ======================== */
/* Responsive: 1280px       */
/* ======================== */
@media (max-width: 1280px) {
  .nav-inner {
    padding: 0 40px;
  }

  .news-hero-inner {
    padding: 56px 40px;
  }

  .article-section {
    padding: 0 40px;
  }

  .article-body {
    max-width: 100%;
  }

  .footer-cta-area {
    padding: 60px 40px;
  }

  .footer-bottom {
    padding: 0 40px;
  }

  .footer-info {
    flex-direction: column;
  }

  .footer-links {
    grid-template-columns: repeat(3, auto);
  }
}

/* ======================== */
/* Responsive: 768px        */
/* ======================== */
@media (max-width: 768px) {

  /* --- Navigation --- */
  .nav-container {
    max-width: calc(100% - 32px);
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    margin-top: 30px;
  }

  .nav-inner {
    padding: 0 16px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 24px;
    gap: 16px;
    border-radius: 16px;
    box-shadow: none;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu-btn.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* --- Hero --- */
  .news-hero {
    height: 200px;
    padding: 0;
    align-items: flex-start;
  }

  .news-hero-inner {
    padding: 120px 16px 40px;
    align-items: flex-start;
  }

  .news-hero-heading {
    gap: 0;
  }

  .news-hero-label-text {
    font-size: 10px;
    line-height: 1.2;
  }

  .news-hero-title-row {
    gap: 2px;
    align-items: flex-start;
  }

  .news-hero-title-text {
    font-size: 32px;
    line-height: 1.21;
    margin-left: -2px;
  }

  .news-hero-plus {
    width: 10px;
    height: 10px;
    margin-top: 8px;
    margin-left: 0;
  }

  /* --- Article --- */
  .article-section {
    padding: 0 16px;
  }

  .article-header {
    flex-direction: column;
    gap: 8px;
  }

  .article-title {
    text-align: left;
    font-size: 14px;
    line-height: 2;
  }

  .article-date {
    margin-left: 0;
    font-size: 10px;
    line-height: 2.4;
    color: #585858;
  }

  .article-body {
    max-width: 100%;
    padding-bottom: 48px;
  }

  .article-body-text {
    font-size: 12px;
    line-height: 2;
  }

  /* --- Footer --- */
  .company-footer {
    background-image: url(../imgs/footer_bg_mob.png) !important;
  }

  .footer-cta-area {
    padding: 64px 16px;
  }

  .footer-cta-cards {
    flex-direction: column;
    gap: 16px;
  }

  .footer-cta-card {
    max-width: 100%;
    padding: 16px;
    border-radius: 4px;
    gap: 2px;
  }

  .footer-cta-title {
    font-size: 16px;
    line-height: 2;
  }

  .footer-cta-desc {
    font-size: 14px;
    line-height: 1.71;
  }

  .footer-bottom {
    padding: 0;
    margin-top: 0;
  }

  .footer-bottom-inner {
    padding: 48px 16px 38px;
    position: relative;
  }

  .footer-info {
    flex-direction: column;
    gap: 48px;
  }

  .footer-company-info {
    width: 100%;
    margin-top: 20px;
  }

  .footer-links {
    grid-template-columns: auto auto;
    gap: 16px;
    margin-top: 0px;
  }

  .footer-links a {
    font-size: 14px;
    line-height: 1.43;
    padding: 0;
  }

  .footer-social {
    position: static;
    padding: 30px 10px;
    gap: 32px;
    border-top: 1px solid #C2C2C2;
    margin-top: 4px;
    padding-bottom: 0;
  }

  .footer-social img {
    width: 24px;
    height: 24px;
  }

  .footer-divider {
    display: none;
  }

  .footer-bottom-bar {
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
    padding-top: 0;
  }

  .footer-copyright {
    font-size: 10px;
    line-height: 2;
  }

  .footer-privacy {
    font-size: 10px;
    line-height: 2;
  }
}
