@charset "UTF-8";

/* ============================================
   FUKUOKA LINK とは - Stylesheet
   ============================================ */

/* ---------- Variables ---------- */
:root {
  --color-primary: #0a337c;
  --color-secondary: #18181c;
  --color-bg: #ffffff;
  --color-card-bg: #fcfae8;
  --color-footer-bg: #dfe4ed;
  --color-hero-bg: rgba(241, 243, 247, 0.8);
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-display: 'Zen Kaku Gothic New', sans-serif;
  --font-mono: 'Montserrat', sans-serif;
  --font-open: 'Open Sans', sans-serif;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--color-secondary);
  background: var(--color-bg);
  line-height: 1.75;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   Page Hero Section
   ============================================ */
.page-hero {
  width: 100%;
  background: var(--color-hero-bg) url('../img/bg_headder_containts.png') center center / cover no-repeat;
  margin-top: 77px;
}

.page-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 24px;
}

.page-hero__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.8px;
  line-height: 0.86;
}

.page-hero__subtitle {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 400;
  color: var(--color-primary);
  letter-spacing: 0.8px;
  line-height: 0.93;
}

/* ============================================
   Main Content
   ============================================ */
.main {
  width: 100%;
}

.main__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 24px;
  gap: 32px;
}

/* ---------- Consortium Section ---------- */
.consortium-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 840px;
}

.consortium-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.consortium-heading__title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.8px;
  text-align: center;
}

.consortium-heading__logo {
  width: 332px;
  height: 59px;
  object-fit: contain;
}

/* ---------- Description ---------- */
.consortium-description {
  width: 100%;
  text-align: center;
}

.consortium-description p {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-secondary);
  letter-spacing: 0.8px;
  line-height: 1.75;
}

/* ---------- FUKUOKA BOX ---------- */
.fukuoka-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 2px solid #d2dae8;
  border-radius: 24px;
  overflow: hidden;
  padding: 24px;
  gap: 16px;
}

.fukuoka-box__text {
  flex-shrink: 0;
  width: 287px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fukuoka-box__text p {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 1.1px;
  line-height: 1.75;
}

.fukuoka-box__photo {
  flex-shrink: 0;
  width: 447px;
}

.fukuoka-box__photo img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* ============================================
   Policy Section
   ============================================ */
.policy-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 840px;
}

/* ---------- Policy Heading ---------- */
.policy-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.policy-heading__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 1px;
  line-height: 2.5;
  text-align: center;
}

.policy-heading__divider {
  width: 128px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 9999px;
}

/* ---------- Policy Cards ---------- */
.policy-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.policy-card {
  background: var(--color-card-bg);
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 34px;
}

.policy-card__inner {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.policy-card__number-area {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.policy-card__circle {
  width: 80px;
  height: 80px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 5.25px -4px rgba(0, 0, 0, 0.1),
    0 10px 13.125px -3px rgba(0, 0, 0, 0.1);
}

.policy-card__number {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.5;
}

.policy-card__icon-badge {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 38px;
  height: 38px;
  background: #ffffff;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 2px 3.5px -2px rgba(0, 0, 0, 0.1),
    0 4px 5.25px -1px rgba(0, 0, 0, 0.1);
}

.policy-card__icon-badge svg {
  width: 24px;
  height: 24px;
}

.policy-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}

.policy-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 2px;
  line-height: 1.83;
}

.policy-card__desc {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-secondary);
  line-height: 1.5;
}

/* ---------- Policy Image ---------- */
.policy-image {
  width: 100%;
  max-width: 774px;
  display: flex;
  justify-content: center;
}

.policy-image img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--color-footer-bg);
  width: 100%;
}

.footer__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 79px;
  padding: 60px 40px 40px 40px;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.footer__contact-title {
  font-family: var(--font-open);
  font-size: 20px;
  font-weight: 700;
  color: #333333;
  line-height: 1.8;
  padding-bottom: 15px;
  border-bottom: 1px solid #a0a3aa;
}

.footer__contact-info {
  display: flex;
  flex-direction: column;
}

.footer__contact-name {
  font-family: var(--font-open);
  font-size: 16px;
  font-weight: 400;
  color: #333333;
  line-height: 1.8;
}

.footer__contact-detail {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 400;
  color: #333333;
  line-height: 1.8;
}

.footer__copyright {
  font-family: var(--font-open);
  font-size: 16px;
  font-weight: 600;
  color: #110a51;
  line-height: 1.8;
}

/* ============================================
   Responsive
   ============================================ */

/* --- タブレット（768px以下）--- */
@media (max-width: 767px) {
  .page-hero__inner {
    padding: 40px 20px;
  }

  .page-hero__title {
    font-size: 36px;
    line-height: 1.2;
  }

  .page-hero__subtitle {
    font-size: 16px;
  }

  .main__inner {
    padding: 40px 16px;
  }

  .consortium-heading__title {
    font-size: 22px;
  }

  .consortium-heading__logo {
    width: 200px;
    height: auto;
  }

  .consortium-description p {
    font-size: 14px;
    text-align: left;
  }

  .consortium-description p br {
    display: none;
  }

  .fukuoka-box {
    flex-direction: column;
    padding: 20px;
  }

  .fukuoka-box__text {
    width: 100%;
    padding: 0;
  }

  .fukuoka-box__text p {
    font-size: 14px;
  }

  .fukuoka-box__photo {
    width: 100%;
    padding: 0;
  }

  .fukuoka-box__photo img {
    max-width: 100%;
  }

  .policy-heading__title {
    font-size: 18px;
  }

  .policy-card {
    padding: 20px 16px;
  }

  .policy-card__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .policy-card__body {
    padding-top: 0;
    align-items: center;
  }

  .policy-card__title {
    font-size: 16px;
  }

  .policy-card__desc {
    font-size: 14px;
  }

  .policy-image {
    max-width: 100%;
  }

  .policy-image img {
    border-radius: 12px;
  }

  .footer__inner {
    padding: 40px 20px 30px;
    gap: 40px;
  }

  .footer__contact-title {
    font-size: 18px;
  }

  .footer__contact-name,
  .footer__contact-detail {
    font-size: 14px;
  }

  .footer__copyright {
    font-size: 14px;
  }
}

/* --- 中間サイズ（768px〜1023px）--- */
@media (min-width: 768px) and (max-width: 1023px) {
  .page-hero__title {
    font-size: 56px;
  }

  .page-hero__subtitle {
    font-size: 20px;
  }

  .consortium-heading__title {
    font-size: 28px;
  }

  .fukuoka-box {
    flex-direction: column;
    padding: 24px;
  }

  .fukuoka-box__text {
    width: 100%;
  }

  .fukuoka-box__photo {
    width: 100%;
  }
}

/* ============================================
   Back Button
   ============================================ */
.back-button-wrapper {
  padding: 40px 0;
  display: flex;
  justify-content: center;
}

.back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 40px;
  border: 2px solid #0e508e;
  border-radius: 9999px;
  background: #ffffff;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.8px;
  line-height: 1.5;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.back-button:hover {
  background: var(--color-primary);
  color: #ffffff;
}

@media (max-width: 767px) {
  .back-button {
    width: 100%;
    font-size: 14px;
    padding: 14px 24px;
  }
}
