@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Noto+Sans+JP:wght@400;500;700&family=SF+Pro+Text:wght@400;700&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: 0 0 80px 80px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-container.nav-scrolled {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.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-links a.nav-active {
  color: #585858;
}

.nav-contact-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0 24px;
  height: 40px;
  background: #101010;
  color: #FFFFFF !important;
  border-radius: 80px;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.43;
  transition: opacity 0.2s;
}

.nav-contact-btn:hover {
  opacity: 0.8;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

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

/* ======================== */
/* Hero Section Heading     */
/* ======================== */
.news-hero {
  width: 100%;
  height: 264px;
  background: #5FA9D1;
  padding: 56px 156px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

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

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

.news-hero-heading {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.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: -5px;
}

.news-heading-icon {
  width: 40px;
  height: 40px;
  margin-top: 10px;
}

/* ======================== */
/* Main Content             */
/* ======================== */
.news-main {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 64px 0 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.news-content {
  width: 744px;
  max-width: calc(100% - 80px);
}

/* ======================== */
/* Category Tags            */
/* ======================== */
.news-tags {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 68px;
  position: relative;
}

.news-tag {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.43;
  color: #FFFFFF;
  background: #101010;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  border: none;
}

.news-tag:hover {
  opacity: 0.8;
}

.news-tag.active {
  background: #585858;
}

.news-list-wrap {
  position: relative;
}

.news-list-heading {
  display: none;
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.21;
  text-transform: uppercase;
  color: #101010;
}

.news-attach-icon {
  position: absolute;
  right: 0;
  top: 6px;
  width: 24px;
  height: 24px;
}

/* ======================== */
/* News List                */
/* ======================== */
.news-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.news-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.news-item:first-child {
  padding: 0 0 24px;
}

.news-item:not(:first-child) {
  padding: 24px 0;
}

.news-item:hover {
  opacity: 0.7;
  transform: translateX(20px);
}

.news-item-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.news-item-meta {
  display: flex;
  align-items: center;
  gap: 40px;
}

.news-item-date {
  font-family: 'Inter', -apple-system, 'SF Pro Text', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.71;
  color: #6A7282;
  white-space: nowrap;
}

.news-item-pickup {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 8px;
  background: #5FA9D1;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.43;
  color: #FFFFFF;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.news-item-tag {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 8px;
  background: #101010;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.43;
  color: #FFFFFF;
  width: 80px;
  white-space: nowrap;
}

.news-item-title {
  flex: 1;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
  color: #101010;
}

/* ======================== */
/* Pagination               */
/* ======================== */
.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}

.page-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-family: 'Inter', -apple-system, 'SF Pro Text', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.43;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s, border-color 0.2s;
}

.page-btn.page-num {
  background: #FFFFFF;
  border: 1px solid #C2C2C2;
  color: #212B36;
}

.page-btn.page-num:hover {
  background: #f5f5f5;
}

.page-btn.page-num.active {
  border: 1px solid #101010;
  color: #101010;
  background: #FFFFFF;
}

.page-btn.page-arrow {
  background: none;
  border: none;
  padding: 0;
}

.page-btn.page-arrow img {
  width: 32px;
  height: 32px;
}

.page-btn.page-arrow.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ======================== */
/* 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: 10px 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;
}

/* 与 index.html（style.css）页脚版权行一致 */
.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1px;
}

.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.6s ease, transform 0.6s ease;
}

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

/* ======================== */
/* Responsive: 1280px       */
/* ======================== */
@media (max-width: 1280px) {
  .news-hero {
    padding: 56px 40px;
    height: auto;
    min-height: 200px;
  }

  .news-main {
    padding: 48px 40px 60px;
  }

  .news-content {
    width: 100%;
    max-width: 744px;
  }

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

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

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

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

/* ======================== */
/* 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-container.nav-scrolled {
    background: transparent;
    box-shadow: none;
  }

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

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

  .nav-links.open {
    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 Section --- */
  .news-hero {
    height: 200px;
    padding: 120px 16px 40px;
    align-items: flex-start;
  }

  .news-hero-content {
    gap: 2px;
  }

  .news-hero-label {
    font-size: 10px;
  }

  .news-hero-heading {
    gap: 2px;
  }

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

  .news-heading-icon {
    width: 10px;
    height: 10px;
    margin-top: 8px;
  }

  /* --- Main Content --- */
  .news-main {
    padding: 40px 16px 48px;
  }

  .news-content {
    width: 100%;
    max-width: 100%;
  }

  /* --- Category Tags --- */
  .news-tags {
    gap: 24px;
    margin-bottom: 72px;
    flex-wrap: wrap;
  }

  .news-tag {
    font-size: 14px;
  }

  .news-list-heading {
    display: block;
    margin-bottom: 40px;
  }

  .news-attach-icon {
    display: none;
  }

  /* --- News Items --- */
  .news-list {
    gap: 16px;
  }

  .news-item {
    border-bottom: 1px solid #C2C2C2;
  }

  .news-item:first-child {
    padding: 8px 0;
  }

  .news-item:not(:first-child) {
    padding: 8px 0;
  }

  .news-item-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .news-item-meta {
    gap: 8px;
  }

  .news-item-date {
    font-size: 10px;
    line-height: 2.4;
    color: #585858;
  }

  .news-item-pickup {
    font-size: 10px;
    line-height: 2;
    padding: 4px 12px;
  }

  .news-item-tag {
    font-size: 10px;
    line-height: 2;
    padding: 4px 12px;
  }

  .news-item-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 2.29;
  }

  /* --- Pagination --- */
  .news-pagination {
    margin-top: 40px;
    gap: 40px;
  }

  .page-num{
    display: none;
  }

  /* --- Footer --- */
  .company-footer{
    background-image: url(../imgs/footer_bg_mob.png) !important;
  }
  .footer-cta-area {
    padding: 64px 16px;
    height: auto;
  }

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

  .footer-company-info{
    width: 100%;
    margin-top:20px;
  }
  .footer-cta-card {
    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;
    gap: 30px;
  }

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

  .footer-company-name {
    font-size: 14px;
    line-height: 1.71;
  }

  .footer-address {
    font-size: 14px;
    line-height: 1.43;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 0px;
  }

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

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

  .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: 0px;
  }

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

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