/* =========================================================
   摂南サイエンスキャンプ 2026
   style.css

   構成：
   01. 色・サイズ変数
   02. 基本設定
   03. 共通パーツ
   04. ヘッダー
   05. ヒーロー
   06. セクション本文
   07. 開催概要
   08. プログラム
   09. アクセス・問い合わせ
   10. フッター
   11. スマホ対応
========================================================= */


/* =========================================================
   01. 色・サイズ変数
   ---------------------------------------------------------
   色を変える場合は、まずここを編集してください。
========================================================= */

:root {
  --orange: #f47c20;
  --orange-dark: #d85f00;
  --orange-light: #fff3e8;

  --blue-dark: #112032;
  --gray-900: #1f2933;
  --gray-700: #4b5563;
  --gray-500: #6b7280;
  --gray-100: #f5f7fa;

  --white: #ffffff;

  --shadow-soft: 0 18px 48px rgba(17, 32, 50, 0.10);
  --shadow-card: 0 12px 30px rgba(17, 32, 50, 0.10);

  --radius-large: 28px;
  --radius-medium: 18px;
  --radius-small: 10px;

  --container: 1120px;
}


/* =========================================================
   02. 基本設定
========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  font-family:
    "Hiragino Sans",
    "Yu Gothic",
    "Meiryo",
    sans-serif;

  color: var(--gray-900);
  background: var(--white);

  line-height: 1.8;
  letter-spacing: 0.02em;
}

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

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

p {
  margin: 0 0 1.2em;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.35;
}


/* =========================================================
   03. 共通パーツ
========================================================= */

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

.section {
  padding: 96px 0;
}

.section-soft {
  background: var(--gray-100);
}

.section-dark {
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(244, 124, 32, 0.35), transparent 36%),
    var(--blue-dark);
}

.section-label {
  margin: 0 0 10px;

  color: var(--orange);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 32px;

  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 900;
}

.button-row,
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;
  padding: 12px 22px;

  border-radius: 999px;

  font-weight: 800;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 10px 24px rgba(244, 124, 32, 0.35);
}

.button-secondary {
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.75);
}

.button-disabled {
  color: var(--gray-500);
  background: #e5e7eb;
  cursor: not-allowed;
}

.button-disabled:hover {
  transform: none;
}


/* =========================================================
   04. ヘッダー
========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);

  border-bottom: 1px solid rgba(17, 32, 50, 0.08);
}

.header-inner {
  width: min(1200px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;

  font-weight: 900;
}

.site-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;

  color: var(--white);
  background: var(--orange);

  border-radius: 14px;

  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

.site-logo-text {
  font-size: 1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;

  font-size: 0.92rem;
  font-weight: 800;
}

.site-nav a {
  color: var(--gray-700);
}

.site-nav a:hover {
  color: var(--orange);
}

.nav-toggle {
  display: none;
}

/* ========================================
   摂南大学シンボル
======================================== */

.setsunan-symbol{
  width:100px;
  height:auto;
  object-fit:contain;
}


/* =========================================================
   05. ヒーロー
========================================================= */

.hero {
  position: relative;
  overflow: hidden;

  padding: 80px 0 96px;

  color: var(--white);
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.24), transparent 24%),
    linear-gradient(135deg, #ff7a1a 0%, #ff9d21 48%, #f47c20 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(rgba(255,255,255,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.10) 1px, transparent 1px);

  background-size: 42px 42px;
}

.hero-layout {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: 1fr 0.92fr;
  align-items: center;
  gap: 54px;
}

.eyebrow {
  display: inline-flex;

  margin: 0 0 22px;
  padding: 6px 14px;

  color: var(--orange-dark);
  background: rgba(255, 255, 255, 0.92);

  border-radius: 999px;

  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(3.1rem, 7vw, 5.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-lead {
  max-width: 680px;
  margin-top: 26px;

  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 600;
}

.hero-visual img {
  width: 100%;

  border-radius: var(--radius-large);

  box-shadow: 0 24px 80px rgba(90, 40, 0, 0.25);
}


/* =========================================================
   06. セクション本文
========================================================= */

#about p {
  font-size: 1.05rem;
  color: var(--gray-700);
}


/* =========================================================
   07. 開催概要
========================================================= */

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.info-card {
  padding: 28px 22px;

  background: var(--white);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-card);
}

.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  margin-bottom: 14px;

  color: var(--white);
  background: var(--orange);

  border-radius: 999px;

  font-size: 0.9rem;
  font-weight: 900;
}

.info-card h3 {
  margin-bottom: 8px;

  font-size: 1.15rem;
  font-weight: 900;
}

.info-card p {
  margin: 0;
  color: var(--gray-700);
}

.notice-box {
  margin-top: 28px;
  padding: 24px;

  background: var(--orange-light);
  border-left: 6px solid var(--orange);
  border-radius: var(--radius-medium);
}

.notice-box p {
  margin: 8px 0 0;
  color: var(--gray-700);
}


/* =========================================================
   08. プログラム
========================================================= */

.campus-block + .campus-block {
  margin-top: 60px;
}

.campus-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 20px;
  padding: 10px 16px;

  color: var(--orange-dark);
  background: var(--orange-light);

  border-radius: 999px;

  font-size: 1rem;
  font-weight: 900;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.program-card {
  overflow: hidden;

  background: var(--white);
  border: 1px solid rgba(17, 32, 50, 0.08);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 60px rgba(17, 32, 50, 0.16);
}

.program-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.program-content {
  padding: 24px;
}

.program-content h4 {
  margin: 10px 0 10px;

  font-size: 1.15rem;
  font-weight: 900;
}

.program-content p {
  margin: 0;

  color: var(--gray-700);
  font-size: 0.95rem;
}

.program-wide {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
}

.program-wide img {
  height: 100%;
  aspect-ratio: auto;
}

.tag {
  display: inline-flex;

  padding: 5px 10px;

  color: var(--orange-dark);
  background: var(--orange-light);

  border-radius: 999px;

  font-size: 0.78rem;
  font-weight: 900;
}


/* =========================================================
   09. アクセス・問い合わせ
========================================================= */

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.access-grid h3 {
  margin: 0 0 8px;

  color: var(--orange-dark);
  font-size: 1.2rem;
}

.access-grid h3:not(:first-child) {
  margin-top: 28px;
}

/* アクセスマップ画像用 */
.access-grid img {
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
}


/* =========================================================
   Contact専用レイアウト
   ※ 摂南大学ロゴを角丸にしないため、access-gridと分離
========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}

.contact-grid img {
  width: 400px;
  height: auto;

  border-radius: 0;
  box-shadow: none;
}

/* お問い合わせメール */
.contact-mail {
  margin-top: 22px;

  font-size: 1.2rem;
  font-weight: 900;
}

.contact-mail span {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.75;
}


/* 濃色背景セクション内の見出し */
.section-dark .section-label,
.section-dark .section-title {
  color: var(--white);
}

/* =========================================================
   10. フッター
========================================================= */

.site-footer {
  padding: 36px 0;

  color: var(--white);
  background: #0b1220;

  text-align: center;
}

.footer-title {
  margin-bottom: 4px;

  font-weight: 900;
}


/* =========================================================
   11. スマホ対応
========================================================= */

@media (max-width: 900px) {
  .hero-layout,
  .program-wide,
  .access-grid {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


@media (max-width: 720px) {
  .container,
  .header-inner {
    width: calc(100% - 28px);
  }

  .section {
    padding: 72px 0;
  }

  .header-inner {
    min-height: 68px;
  }

  .site-logo-text {
    font-size: 0.92rem;
  }



.contact-logo{
  max-width:320px;
  width:100%;
  background:white;
  padding:20px;
  border-radius:20px;
}


  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;

    width: 44px;
    height: 44px;

    padding: 0;

    border: 0;
    background: transparent;

    cursor: pointer;
  }

  .nav-toggle span {
    display: block;

    width: 24px;
    height: 2px;
    margin: 0 auto;

    background: var(--gray-900);

    transition: 0.2s ease;
  }

  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;

    display: none;
    flex-direction: column;
    gap: 0;

    padding: 10px 20px 16px;

    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(17, 32, 50, 0.08);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 12px 0;

    border-bottom: 1px solid rgba(17, 32, 50, 0.06);
  }

  .hero {
    padding: 54px 0 72px;
  }

  .hero-layout {
    gap: 34px;
  }

  .hero-copy {
    text-align: left;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 15vw, 4rem);
  }

  .button-row,
  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .info-grid,
  .program-grid {
    grid-template-columns: 1fr;
  }

  .program-content {
    padding: 22px;
  }
}


@media (max-width: 420px) {
  .site-logo-text {
    display: none;
  }

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

  .section-title {
    font-size: 1.8rem;
  }
}


/* =========================================================
   Flyer / チラシ
========================================================= */

.flyer-section {
  text-align: center;
}

.flyer-lead {
  max-width: 560px;
  margin: 0 auto 32px;

  color: var(--gray-700);
  font-size: 1rem;
}

.flyer-images {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 28px;

  margin-top: 28px;
}

.flyer-images a {
  display: block;
  width: min(420px, 46%);
}

.flyer-images img {
  width: 100%;
  height: auto;

  border: 1px solid rgba(17, 32, 50, 0.12);
  border-radius: 18px;

  background: var(--white);
  box-shadow: var(--shadow-card);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.flyer-images img:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 22px 60px rgba(17, 32, 50, 0.18);
}

.download-link {
  margin-top: 32px;
}

.download-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;
  padding: 12px 24px;

  color: var(--white);
  background: var(--orange);

  border-radius: 999px;

  font-weight: 800;

  box-shadow: 0 10px 24px rgba(244, 124, 32, 0.35);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.download-link a:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(244, 124, 32, 0.45);
}


/* スマホではチラシを縦並びにする */
@media (max-width: 720px) {
  .flyer-images {
    flex-direction: column;
    gap: 20px;
  }

  .flyer-images a {
    width: 100%;
  }
}

/* ==========================
   申し込みリンク強調
========================== */

.apply-link{
  color:#d62828;
  font-size:1.3rem;
  font-weight:900;
}

.apply-link:hover{
  color:#b00020;
}