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

:root {
  --bg: #faf8fb;
  --surface: #ffffff;
  --text: #2a2a2a;
  --muted: #6b6f7a;
  --line: #e3e6ee;
  --accent: #5a3fa0;
  --accent2: #e04a3a;
  --accent3: #f07a2b;
  --max: 1200px;
  --header-h: 110px;
  --radius: 18px;
  --shadow: 0 12px 30px rgba(60, 30, 120, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans JP", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #f3eefc 100%);
  line-height: 1.7;
}

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

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

.wrap {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

/* ===== HEADER ===== */
.site-header {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: 420px 1fr 420px;
  align-items: center;
}

.site-logo {
  padding-left: 8px;
}

.site-logo img {
  width: min(340px, 100%);
  max-height: 96px;
  object-fit: contain;
}

.site-title {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  white-space: nowrap;
  padding: 0 20px;
}

/* ===== HERO ===== */
.hero {
  padding: 20px 0 0;
}













.hero__media {
  width: 100%;
  min-height: 520px;
  padding: 88px 20px;

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

  position: relative;
  overflow: hidden;

  background:
    linear-gradient(rgba(255,255,255,0.35), rgba(255,255,255,0.35)),
    url("../assets/amams.png") center / cover no-repeat;
}

.hero__media2 {
  width: 100%;
  min-height: 520px;
  padding: 88px 20px;

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

  position: relative;
  overflow: hidden;

  background:
    linear-gradient(rgba(255,255,255,0.35), rgba(255,255,255,0.35)),
    url("../assets/amams2.png") center / cover no-repeat;
}



















.hero-text {
  position: relative;
  z-index: 3;
  width: min(90%, 860px);
  margin: 0 auto;
  text-align: center;
  color: rgba(42, 42, 42, 0.88);
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.35);
  pointer-events: none;
}









/* テキスト白色 */
.hero-text {
  position: relative;
  z-index: 3;

  width: min(90%, 860px);
  margin: 0 auto;

  text-align: center;

  color: rgba(255,255,255,0.96);

  text-shadow:
    0 2px 10px rgba(0,0,0,.35),
    0 0 24px rgba(0,0,0,.18);

  pointer-events: none;
}
















.hero-text p {
  margin: 0;
  font-family: "Noto Sans JP", Arial, sans-serif;
}

.hero-text__lead {
  font-size: clamp(22px, 2.1vw, 34px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.hero-text__sub {
  font-size: clamp(15px, 1.2vw, 21px);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.04em;
}

/* ===== SECTION ===== */
.section {
  padding: 48px 0 0;
}

.section__title {
  margin: 0 0 16px;
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(90deg, #7a5bcf, #5a3fa0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== CARD ===== */
.news-card,
.about-card,
.societies-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 28px 20px;
  position: relative;
}

.news-card::before,
.about-card::before,
.societies-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent2), var(--accent3), var(--accent));
}

/* ===== NEWS ===== */
.news-item__meta {
  display: flex;
  align-items: baseline;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin-bottom: 14px;
}

.news-item__date {
  font-size: 0.9rem;
  color: var(--muted);
  opacity: 0.6;
}

.news-item__headline {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}

/* ===== TEXT ===== */
.news-item__body,
.about-card p {
  margin: 0;
  font-size: 1rem;
}

.about-card p + p {
  margin-top: 12px;
}

/* ===== SOCIETIES ===== */
.society-list {
  display: grid;
  gap: 22px;
}

.society-item {
  border-top: 1px solid rgba(90, 63, 160, 0.12);
  padding-top: 22px;
}

.society-item:first-child {
  border-top: none;
  padding-top: 0;
}

.society-item__title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
}

.society-item__title::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
}

.society-item__logos {
  display: grid;
  grid-template-columns: repeat(3, 176px);
  gap: 16px;
  margin-top: 16px;
}

.logo-link {
  width: 176px;
  height: 128px;
  border: 1px solid rgba(90,63,160,0.14);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.logo-link__mark {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-link__mark img {
  max-height: 56px;
  object-fit: contain;
}

.logo-link__name {
  margin-top: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
}

/* ===== LOGO LINK HOVER（控えめ） ===== */
.logo-link {
  transition: all 0.2s ease;
}

.logo-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(60, 30, 120, 0.06);
}

/* ===== DISABLED（AiSVIM / ACCM） ===== */
.logo-link--disabled {
  opacity: 0.85;
  cursor: default;
  filter: saturate(0.9);
}

.logo-link--disabled:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(90,63,160,0.14);
}

/* ===== MILESTONES ===== */
#milestones .society-list {
  position: relative;
}

#milestones .society-list::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(90,63,160,0.2);
}

#milestones .society-item__title::before {
  margin-left: -14px;
}

#milestones .society-item__text {
  margin-left: 22px;
  line-height: 1.8;
}






#milestones .society-item__title {
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(42, 42, 42, 0.65);
}

#milestones .milestone-year {
  font-weight: 400;
  color: rgba(42, 42, 42, 0.55);
}

#milestones .milestone-date {
  font-size: 0.9rem;
  opacity: 0.65;
  margin-left: 6px;
}




.milestone-era {
  margin: 0 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--accent);
  font-weight: 700;
  color: var(--accent);
}

.milestone-year {
  font-weight: 600;
  color: #333;
}

.milestone-date {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-left: 6px;
}

/* ===== FOOTER ===== */
.site-footer {
  text-align: center;
  padding: 70px 0 50px;
}

.site-footer img.footer-logo {
  width: 40%;
  max-width: 40%;
  height: auto;
  display: block;
  margin: 0 auto 16px;
}

/* ===== TABLET ===== */
@media (max-width: 900px) {
  .site-header__inner {
    grid-template-columns: 300px 1fr 300px;
  }

  .site-logo img {
    width: min(260px, 100%);
    max-height: 84px;
  }

  .site-title {
    font-size: 1.1rem;
    padding: 0 16px;
  }

  .society-item__logos {
    grid-template-columns: repeat(2, 176px);
  }

  .hero__media {
    min-height: 440px;
    padding: 72px 20px;
  }

  .hero-text {
    width: min(92%, 760px);
  }
}

/* ===== SP ===== */
@media (max-width: 640px) {
  .site-header__inner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 0;
  }

  .site-logo {
    padding-left: 0;
  }

  .site-title {
    text-align: left;
    font-size: 1rem;
    white-space: normal;
    padding: 0;
  }

  .hero__media {
    min-height: 320px;
    padding: 56px 16px;
  }

  .hero-text {
    width: min(92%, 560px);
  }

  .hero-text__lead {
    font-size: clamp(18px, 5vw, 24px);
    line-height: 1.45;
    margin-bottom: 8px;
  }

  .hero-text__sub {
    font-size: clamp(13px, 3.5vw, 16px);
    line-height: 1.6;
    letter-spacing: 0.02em;
  }

  .section {
    padding-top: 36px;
  }

  .society-item__logos {
    grid-template-columns: 1fr 1fr;
  }

  .logo-link {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .society-item__logos {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .footer-logo {
    max-width: 180px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .footer-logo {
    width: 140px !important;
  }
}

@media (max-width: 640px) {
  .footer-logo {
    width: 100% !important;
    max-width: 180px !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
  }
}

