@charset "utf-8";

/* ==================================================
   Base Settings
   ================================================== */
:root {
  --primary-color: #003366;    /* 広島大ネイビー */
  --accent-color: #00796B;     /* 報告用のアクセント緑 */
  --bg-color: #f4f7f6;         /* 背景色：薄いグレー */
  --text-color: #333333;
  --text-muted: #666666;
  --card-bg: #ffffff;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

/* 共通コンテナ */
.container {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
}

/* ==================================================
   Header
   ================================================== */
.site-header {
  background-color: var(--primary-color);
  color: #fff;
  padding: 15px 0; /* 少し高さをスリムに */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
}

.site-header h1 {
  margin: 0;
  font-size: 1.8rem; /* メインタイトルのサイズ */
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

/* 小さくしたい組織名のスタイル */
.site-header h1 .header-sub {
  display: block;        /* 強制的に改行して2段にする */
  font-size: 0.9rem;     /* 文字サイズを小さく (14px-15px相当) */
  font-weight: normal;   /* 太字を解除してスッキリさせる */
  opacity: 0.9;          /* 少しだけ薄くしてメインとの差をつける */
  margin-bottom: 5px;    /* 下のタイトルとの隙間 */
}

/* スマホ用の微調整 */
@media screen and (max-width: 768px) {
  .site-header h1 {
    font-size: 1.5rem;
  }
  .site-header h1 .header-sub {
    font-size: 0.8rem;
  }
}

.sp-only { display: none; } /* PCでは改行しない */

/* ==================================================
   Main Content
   ================================================== */
main {
  padding: 40px 0 60px;
}

.intro-text {
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-muted);
  font-weight: bold;
}

/* ==================================================
   Navigation Cards (Buttons)
   ================================================== */
.portal-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
}

.nav-card {
  background: var(--card-bg);
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--text-color);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

.nav-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* アイコン装飾 */
.card-icon {
  background: #e8f0fe;
  color: var(--primary-color);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.nav-card.highlight .card-icon {
  background: #e0f2f1;
  color: var(--accent-color);
}

.material-icons-round {
  font-size: 32px;
}

/* テキスト周り */
.nav-card h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  color: var(--primary-color);
}

.nav-card.highlight h2 {
  color: var(--accent-color);
}

.nav-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 25px;
  flex-grow: 1; /* 高さを揃えるため */
}

/* 矢印ボタン風 */
.btn-arrow {
  background: var(--primary-color);
  color: #fff;
  padding: 10px 25px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: bold;
}

.nav-card.highlight .btn-arrow {
  background: var(--accent-color);
}

.nav-card:hover .btn-arrow {
  opacity: 0.9;
}

/* ==================================================
   Schedule & Info Section
   ================================================== */
.info-section {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin-bottom: 30px;
}

.info-section h3 {
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
}

.icon-sm {
  font-size: 1.2rem;
  color: var(--text-muted);
}

.schedule-list dl {
  margin: 0;
}

.schedule-list dt {
  font-weight: bold;
  margin-top: 15px;
  color: var(--primary-color);
}

.schedule-list dd {
  margin-left: 0;
}

.schedule-list ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.schedule-list li {
  padding: 5px 0;
  border-bottom: 1px dashed #eee;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* 終了分のスタイル */
.schedule-list li.ended {
  color: #aaa;
}

.schedule-list li.ended span {
  font-size: 0.8em;
  background: #eee;
  padding: 2px 6px;
  border-radius: 4px;
  color: #888;
}

/* ==================================================
   Alert Box (VPN)
   ================================================== */
.alert-box {
  background: #fff3cd;
  border-left: 5px solid #ffc107;
  padding: 20px;
  border-radius: 4px;
  color: #856404;
}

.alert-box h4 {
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.alert-box a {
  color: #533f03;
  text-decoration: underline;
  font-weight: bold;
}

/* ==================================================
   Footer
   ================================================== */
.site-footer {
  text-align: center;
  padding: 20px 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: auto;
}

/* ==================================================
   Responsive (Mobile)
   ================================================== */
@media screen and (max-width: 768px) {
  .portal-nav {
    flex-direction: column; /* 縦並び */
    align-items: center;
    gap: 20px;
  }
  
  .sp-only { display: block; } /* スマホではタイトル改行 */
  
  .schedule-list li {
    font-size: 0.9rem;
  }
}