@charset "UTF-8";

/* ============================================
   NEWS詳細 - Stylesheet
   ============================================ */

/* ---------- Variables ---------- */
:root {
  --color-primary: #0a337c;
  --color-secondary: #18181c;
  --color-bg: #ffffff;
  --color-card-bg: #f8f9fa;
  --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;
}

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: 8px;
  width: 100%;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 1px;
  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: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 24px 80px;
  gap: 80px;
}

/* ============================================
   Article Section
   ============================================ */
.article {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

/* Category Tag */
.article__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border-radius: 8px;
  border: 1px solid #cac4d0;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #1d1b20;
  letter-spacing: 0.1px;
  line-height: 1.43;
  text-align: center;
  width: fit-content;
}

.article__tag--seminar {
  background: #f3fafc;
}

.article__tag--event {
  background: #fcf3fa;
}

.article__tag--consultation {
  background: #f6fcf3;
}

/* Article Header */
.article__header {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.article__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.article__title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-secondary);
  letter-spacing: 0.8px;
}

.article__subtitle {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--color-secondary);
  letter-spacing: 0.8px;
}

/* Article Body */
.article__body {
  max-width: 840px;
  margin: 0 auto;
  width: 100%;
}

.article__text {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-secondary);
  letter-spacing: 0.8px;
  line-height: 1.75;
  text-align: center;
}

/* ============================================
   Detail Box (開催概要・開催日時)
   ============================================ */
.detail-box {
  background: var(--color-card-bg);
  border-radius: 20px;
  padding: 40px 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.detail-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-block__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-secondary);
  letter-spacing: 1.1px;
  line-height: 1.5;
}

.detail-block__content {
  padding: 10px;
}

.detail-block__text {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-secondary);
  letter-spacing: 0.8px;
  line-height: 1.7;
}

/* ============================================
   Contact Box (お問い合わせ)
   ============================================ */
.contact-box {
  background: var(--color-card-bg);
  border: 2px solid transparent;
  border-radius: 24px;
  padding: 40px 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.contact-box__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-secondary);
  letter-spacing: 0.8px;
  line-height: 1.5;
}

.contact-box__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-box__item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-box__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #207175;
}

.contact-box__label {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-secondary);
  letter-spacing: 0.8px;
  line-height: 1.7;
}

.contact-box__value {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-secondary);
  letter-spacing: 0.8px;
  line-height: 1.7;
}

.contact-box__notes {
  padding-top: 25px;
  border-top: 1px solid var(--color-primary);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-box__note {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  color: #666666;
  letter-spacing: 0.8px;
  line-height: 1.71;
}

/* ============================================
   News Main Image
   ============================================ */
.news-main-image {
  display: flex;
  justify-content: center;
}

.news-main-image img {
  width: 100%;
  max-width: 794px;
  height: auto;
  display: block;
}

/* ============================================
   Detail Link
   ============================================ */
.news-detail-link {
  padding: 24px 0 40px;
  display: flex;
  justify-content: center;
}

.news-detail-link__btn {
  display: inline-flex;
  align-items: center;
  padding: 18px 48px;
  background-color: var(--color-primary);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.news-detail-link__btn:hover {
  opacity: 0.8;
}

/* ============================================
   A4 Images
   ============================================ */
.a4-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 40px 0;
}

.a4-image {
  width: 100%;
  max-width: 794px;
  height: auto;
  display: block;
  border: 2px solid #cccccc;
}

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

/* ============================================
   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
   ============================================ */

/* --- スマホ（767px以下）--- */
@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;
    gap: 40px;
  }

  .article__title {
    font-size: 22px;
  }

  .article__subtitle {
    font-size: 18px;
  }

  .article__text {
    font-size: 14px;
    text-align: left;
  }

  .detail-box {
    padding: 24px 20px;
  }

  .detail-block__title {
    font-size: 18px;
  }

  .contact-box {
    padding: 24px 20px;
  }

  .contact-box__title {
    font-size: 20px;
  }

  .contact-box__item {
    flex-wrap: wrap;
  }

  .back-button {
    width: 100%;
    font-size: 14px;
    padding: 14px 24px;
  }

  .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;
  }

  .article__title {
    font-size: 28px;
  }

  .detail-box {
    padding: 32px 40px;
  }

  .contact-box {
    padding: 32px 40px;
  }
}
