/* ==================================================
   Global
================================================== */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding-top: 60px;
    font-family: "Segoe UI", "Yu Gothic UI", sans-serif;
}

section + section {
    margin-top: 1rem;
}


/* ==================================================
   Header
================================================== */
.navbar {    
    background-color: #005AAA !important;
    height: 60px;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: .05em;
    color: #ffffff !important;
}

.navbar a {
    color: #ffffff !important;
    text-decoration: none;
}

.navbar a:hover {
    color: rgba(255,255,255,.8) !important;
}

.nav-link {
    color: #ffffff !important;
    font-weight: 500;
    margin-left: .4rem
}

.nav-link:hover::after {
    width: 100%;
}

/* ==================================================
   Hero
================================================== */
.hero {
    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;

    background:
        linear-gradient(
            135deg,
            #002855,
            #003366,
            #004A8F
        );
}

.hero-subtitle {

    font-size: 3rem;
    font-weight: 300;

    color: rgba(255,255,255,.95);
}

.hero .container {
    margin-top: 40px;
    margin-bottom: 30px;
}

/* ==================================================
   Buttons
================================================== */
.btn-primary {
    background-color: #00A3E0;
    border-color: #00A3E0;
}

.btn-primary:hover {
    background-color: #008bc2;
    border-color: #008bc2;
}

/* ==================================================
   Hero Keywords
================================================== */
.keyword-badge {
    display: inline-block;
    padding: .75rem 1rem;
    border-radius: 999px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    color: white;
}

/* ==================================================
   Hero Statistics
================================================== */
.hero-stat {
    padding: 1rem;
    text-align: center;
    background: rgba(255,255,255,.12);
    border-radius: 16px;
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: 700;
}

.hero-stat-label {

    font-size: .9rem;
}

/* ==================================================
   Sections
================================================== */

.section-title {

    font-weight: 700;
    margin-bottom: 2rem;
}

/* ==================================================
   Cards
================================================== */

.card {

    border: none;
    border-radius: 16px;

    transition: all .3s ease;
}

.card:hover {

    transform: translateY(-4px);

    box-shadow:
        0 10px 20px rgba(0,0,0,.15);
}


.card-body {
    padding-top: 1.5rem;
}


/* ==================================================
   Footer
================================================== */
footer {
    background: #002855;
    color: white;
    display: block;
    unicode-bidi: isolate;
    color: white;
}

footer .area {
    background: #002855;
    color: white;
    padding: 2rem 0;
}

footer .copy {
    background: #005AAA;
    color: #fff;
    text-align: center;
    font-weight: 700;
    font-size: .7em;
    padding: 15px 0;
}

footer ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

footer ul li a {
    color: #ffffff;
    text-decoration: none;
}

footer ul li a:hover {
    color: #dbeafe;
    text-decoration: underline;
}


/* ==================================================
   Mobile
================================================== */

@media (max-width: 768px) {

    body {
        margin: 0;
        padding: 0;

        padding-top: 76px;
    }

    .hero {
        min-height: auto;
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
    }
}


/* ==================================================
   History
================================================== */
.history-svg {
    max-width: 1400px;
    margin: 20px auto 25px auto;
}

.history-svg img {
    width: 100%;
    height: auto;
    display: block;
    margin: 20px auto 25px auto;
}

/* ==================================================
   Logo 
================================================== */
.partner-logo {
    display: block;
    max-width: 160px;
    max-height: 100px;
    width: auto;
    height: auto;
    margin: auto;
    object-fit: contain;
}

.project-logo {
    display: block;
    max-width: 160px;
    width: auto;
    height: 100px;
    margin: auto;
    object-fit: contain;
}

/* ==================================================
   Logo 
================================================== */
.history-map {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.history-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ==================================================
   Publications 
================================================== */
.publication-intro {
  max-width: 960px;
  padding: 2rem;
  background: #f4f7fa;
  border-left: 5px solid #00a3e0;
  border-radius: 0 16px 16px 0;
  font-size: 1.05rem;
  line-height: 1.9;
}

.publication-date {
  margin-top: 0.75rem;
  color: #6c757d;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ==================================================
   Publication introduction
================================================== */

.publication-message {
  padding: 64px 0;
  background:
    linear-gradient(
      135deg,
      #f4f8fc 0%,
      #ffffff 55%,
      #eef7fb 100%
    );
}

.publication-message-inner {
  max-width: 1050px;
  margin: 0 auto;
  padding: 48px 56px;

  background: #fff;
  border-radius: 18px;
  border-top: 5px solid #00a3e0;

  box-shadow:
    0 12px 35px rgba(0, 45, 85, 0.10);
}

.publication-message-label {
  display: inline-block;

  margin-bottom: 12px;

  color: #00a3e0;

  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.publication-message-heading h2 {
  margin-bottom: 28px;

  color: #003b70;

  font-size: 2rem;
  font-weight: 700;
  line-height: 1.45;
}

.publication-message-text {
  max-width: 900px;

  color: #444;

  font-size: 1.05rem;
  line-height: 2;
}


/* Process */

.publication-process {
  display: flex;
  align-items: stretch;
  gap: 12px;

  margin: 32px 0;
}

.process-item {
  flex: 1;

  display: flex;
  flex-direction: column;
  justify-content: center;

  min-height: 90px;
  padding: 16px;

  text-align: center;

  background: #f4f8fc;
  border-radius: 10px;

  color: #005aaa;
}

.process-number {
  margin-bottom: 4px;

  color: #00a3e0;

  font-size: 0.7rem;
  font-weight: 700;

  letter-spacing: 0.08em;
}

.process-item strong {
  font-size: 1rem;
}

.process-arrow {
  display: flex;
  align-items: center;

  color: #00a3e0;

  font-size: 1.8rem;
}

.process-result {
  color: #fff;
  background:
    linear-gradient(
      135deg,
      #005aaa,
      #0078b8
    );
}

.process-result .process-number {
  color: #9ee7ff;
}


/* Download message */

.publication-download-note {
  margin: 0;
  padding: 18px 22px;

  color: #003b70;

  background: #eef8fc;

  border-left: 4px solid #00a3e0;
  border-radius: 6px;

  font-weight: 600;
}


/* Smartphone */

@media (max-width: 768px) {

  .publication-message {
    padding: 32px 0;
  }

  .publication-message-inner {
    padding: 30px 22px;
    border-radius: 12px;
  }

  .publication-message-heading h2 {
    font-size: 1.5rem;
  }

  .publication-process {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .process-arrow {
    display: none;
  }
}

/* =========================
   Members
========================= */

.member-name {
  display: block !important;
  width: 100%;
  text-align: center;
}

.member-name-ja,
.member-name-en {
  display: block !important;
  width: 100%;
}

.member-name-ja {
  color: #003b70;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
}

.member-name-en {
  margin-top: 3px;
  color: #6c757d;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.03em;
}

/* ========================================
   Publications -> Research
======================================== */

.publication-research-link {
  padding: 10px 0 56px;
}

.research-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;

  max-width: 1050px;
  margin: 0 auto;
  padding: 30px 36px;

  background: #f4f8fc;

  border-left: 5px solid #00a3e0;
  border-radius: 0 16px 16px 0;
}

.research-link-content {
  flex: 1;
}

.research-link-content h2 {
  margin: 6px 0 12px;

  color: #003b70;

  font-size: 1.45rem;
  font-weight: 700;
}

.research-link-content p {
  margin: 0;

  color: #4e5964;

  line-height: 1.8;
}

.research-link-action {
  flex: 0 0 auto;
}


/* Smartphone */

@media (max-width: 768px) {

  .publication-research-link {
    padding-bottom: 40px;
  }

  .research-link-card {
    display: block;

    padding: 24px 22px;
  }

  .research-link-action {
    margin-top: 20px;
  }

  .research-link-action .btn {
    width: 100%;
  }

}

/* ========================================
   TOP Latest News
======================================== */

.news-card-link {
  display: block;

  color: inherit;

  text-decoration: none;
}

.news-card-link:hover {
  color: inherit;
}

.news-card {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.news-card-link:hover .news-card {
  transform: translateY(-3px);

  box-shadow:
    0 10px 24px rgba(0, 45, 85, 0.12)
    !important;
}

.news-card-arrow {
  color: #00a3e0;

  font-size: 1.3rem;
  font-weight: 600;

  transition: transform 0.2s ease;
}

.news-card-link:hover .news-card-arrow {
  display: inline-block;

  transform: translateX(4px);
}
