body {
  margin: 0;
  background: #dfeeff;
  font-family: "MS PGothic", sans-serif;
  color: #222;
}

.wrapper {
  width: 960px;
  margin: auto;
  background: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
}


/* ヘッダー */
.header {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(
    to bottom,
    #7cc6ff,
    #dff4ff
  );
  border-bottom: 4px solid #5ea8d9;
}

.header h1 {
  margin: 0;
  font-size: 42px;
  color: #004b7a;
}

.sub-title {
  margin-top: 15px;
  font-size: 18px;
  line-height: 1.8;
  text-align: left;
}

.sub-title a {
  color: #0055cc;
  font-weight: bold;
  text-decoration: none;
}

.sub-title a:hover {
  text-decoration: underline;
}



/* メニュー */
.menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background: #f5f5f5;
  border-bottom: 1px solid #ccc;
}

.menu a {
  padding: 16px 22px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.menu a:hover {
  background: #dff4ff;
}


/* セクション */
section {
  padding: 40px;
}

section h2 {
  font-size: 28px;
  border-left: 8px solid #4ea4da;
  padding-left: 15px;
  margin-bottom: 30px;
}

section h3 {
  font-size: 24px;
  margin-top: 30px;
}

/* トップメッセージ */
.top-message {
  max-width: 900px;

  margin: 40px auto;

  padding: 10px 20px;

  text-align: center;

  line-height: 2;

  font-size: 18px;
}

.top-message a {
  color: #0055cc;
  font-weight: bold;
  text-decoration: none;
}

.top-message a:hover {
  text-decoration: underline;
}

/*スケジュール*/
.schedule-section {
  display: flex;
  gap: 30px;
  padding: 40px;
  background: #eef7ff;
}

.schedule-card {
  flex: 1;
  background: white;
  border-radius: 14px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  text-align: center;
}

.schedule-card h2 {
  margin-top: 0;
  font-size: 20px;
  border-left: 6px solid #4ea4da;
  padding-left: 12px;
  text-align: left;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.schedule-table th {
  background: #dff1ff;
  padding: 12px;
  border: 1px solid #aaa;
}

.schedule-table td {
  padding: 12px;
  border: 1px solid #aaa;
}


/* お知らせ */
.news-box {
  line-height: 2;
}

.news-box a {
  color: #0055cc;
}

.news-section {
  margin: 50px auto;
  max-width: 1000px;
  padding: 0 20px;
}

.news-section h2 {
  font-size: 32px;
  color: #0b4f8a;
  margin-bottom: 25px;
  border-left: 8px solid #4da6ff;
  padding-left: 15px;
}

.news-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border: 1px solid #dbe9f6;
}

.news-card h3 {
  color: #0b4f8a;
  margin-bottom: 10px;
  font-size: 22px;
}

.news-card p {
  line-height: 1.8;
  font-size: 16px;
}

.news-card a {
  color: #0066cc;
  font-weight: bold;
  text-decoration: none;
}

.news-card a:hover {
  text-decoration: underline;
}

/* 行事表 */
.event-table {
  width: 100%;
  border-collapse: collapse;
}

.event-table th {
  background: #d9efff;
  padding: 14px;
  border: 1px solid #999;
}

.event-table td {
  padding: 18px;
  border: 1px solid #999;
  vertical-align: top;
}

.event-table td:first-child {
  width: 240px;
  text-align: center;
  font-weight: bold;
}


/* 写真 */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.photo-card {
  background: #fafafa;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.photo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.photo-card p {
  text-align: center;
  padding: 15px;
}

/* 会報誌ページ */
.kaihou-section h2 {
  font-size: 32px;
  color: #0b4f8a;
  border-left: 8px solid #4da6ff;
  padding-left: 15px;
  margin-bottom: 25px;
}

.kaihou-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  line-height: 2;
  font-size: 17px;
  border: 1px solid #dbe9f6;

  text-align: center;
}

.kaihou-card .date {
  text-align: right;
  margin-bottom: 30px;
  color: #666;
}

.owabi-title {
  color: #0b4f8a;
  font-size: 32px;
  margin-bottom: 20px;
}

/* =========================
   サークル紹介ページ main
========================= */

.circle-main {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

/* タイトル */

.page-title {
  text-align: center;
  margin-bottom: 40px;
}

.page-title h2 {
  font-size: 38px;
  color: #004b7a;
  margin-bottom: 10px;
}

.page-title p {
  font-size: 18px;
  color: #555;
}

/* カード共通 */

.intro-card,
.info-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 35px;
  margin-bottom: 35px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  line-height: 2;
}

/* 見出し */

.intro-card h3,
.info-card h3 {
  font-size: 28px;
  color: #004b7a;
  margin-bottom: 20px;
  border-left: 8px solid #7cc6ff;
  padding-left: 15px;
}

/* 本文 */

.intro-card p,
.info-card p {
  font-size: 17px;
  color: #333;
  margin-bottom: 20px;
}

/* 会員数 */

.member-box {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.member-item {
  background: #f0f9ff;
  border-radius: 15px;
  padding: 25px 40px;
  text-align: center;
  min-width: 220px;
}

.member-item .label {
  display: block;
  font-size: 20px;
  margin-bottom: 10px;
  color: #005b94;
  font-weight: bold;
}

.member-item .number {
  font-size: 32px;
  font-weight: bold;
  color: #ff7b00;
}

/* 歴史 */

.history-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.history-item {
  background: #f8fbff;
  border-left: 6px solid #7cc6ff;
  padding: 18px 20px;
  border-radius: 12px;
}

.history-item .year {
  font-weight: bold;
  color: #005b94;
  margin-bottom: 8px;
  font-size: 18px;
}

.history-item .text {
  line-height: 1.9;
}

.history-note {
  margin-top: 25px;
}

/* 市サ連 */

.circle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.circle-item {
  background: #f0f8ff;
  padding: 18px;
  border-radius: 12px;
  font-size: 16px;
  line-height: 1.8;
}

/* 活動リスト */

.activity-list {
  padding-left: 25px;
}

.activity-list li {
  margin-bottom: 12px;
  line-height: 1.9;
  font-size: 17px;
}

/* 地図 */

.map-box {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}



/* フッター */
.footer {
  text-align: center;
  background: #f1f1f1;
  padding: 40px 20px;
  margin-top: 50px;
}

.footer-menu {
  margin-bottom: 20px;
}

.footer-menu a {
  margin: 0 10px;
  text-decoration: none;
  color: #333;
}

.footer-menu a:hover {
  color: #0077cc;
}

/* =========================
   写真集ページ
========================= */

.photo-main {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

/* タイトル */

.page-title {
  text-align: center;
  margin-bottom: 40px;
}

.page-title h2 {
  font-size: 38px;
  color: #004b7a;
  margin-bottom: 10px;
}

.page-title p {
  color: #666;
  font-size: 18px;
}

/* カード */

.photo-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 35px;
  margin-bottom: 40px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

/* 日付 */

.photo-date {
  display: inline-block;
  background: #7cc6ff;
  color: white;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 15px;
  margin-bottom: 20px;
}

/* タイトル */

.photo-card h3 {
  font-size: 28px;
  color: #005b94;
  margin-bottom: 15px;
}

/* 本文 */

.photo-card p {
  font-size: 17px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 25px;
}

/* 画像 */

.photo-image {
  text-align: center;
}

.photo-image img {
  width: 100%;
  max-width: 850px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

/* =========================
   リンクページ
========================= */

.link-main {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

/* タイトル */

.page-title {
  text-align: left;
  margin-bottom: 5px;
}

.page-title h2 {
  font-size: 38px;
  color: #004b7a;
  margin-bottom: 10px;
}

.page-title p {
  color: #666;
  font-size: 18px;
}

/* リスト */

.link-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* カード */

.link-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.link-card:hover {
  transform: translateY(-4px);
}

/* タイトル */

.link-card h3 {
  margin-bottom: 15px;
  font-size: 25px;
}

/* リンク */

.link-card a {
  color: #005b94;
  text-decoration: none;
}

.link-card a:hover {
  text-decoration: underline;
}

/* 説明 */

.link-card p {
  font-size: 17px;
  line-height: 1.9;
  color: #444;
}

/* お世話になっているサイト */
.support-site {
  margin-top: 50px;
  text-align: left;
}

.support-site h3 {
  font-size: 20px;
  color: #004b7a;
  margin-bottom: 15px;
}

.support-site p {
  line-height: 2;
  font-size: 16px;
}

.support-site a {
  color: #0055cc;
  text-decoration: none;
}

.support-site a:hover {
  text-decoration: underline;
}


/* スマホ対応 */
@media (max-width: 768px) {

  /* 本文全体 */
  body {
    font-size: 14px;
  }

  /* ヘッダー */
  .header h1 {
    font-size: 30px;
  }

  .sub-title {
    font-size: 15px;
    margin: 5px 0 0;
  }

  /* メイン見出し */
  section h2,
  .page-title h2 {
    font-size: 24px;
  }

  /* 小見出し */
  section h3,
  .photo-card h3,
  .link-card h3,
  .news-card h3,
  .intro-card h3,
  .info-card h3 {
    font-size: 20px;
  }

   /* 本文 */
  p,
  li,
  td,
  th {
    font-size: 14px;
  }

  /* リンク説明 */
  .link-card p {
    font-size: 14px;
  }

  .wrapper {
    width: 100%;
  }

  section {
    padding: 20px;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }

  .event-table td:first-child {
    width: auto;
  }

  .menu {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 10px;
  }

  .menu a {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 14px 16px;
    font-size: 12px;
    border-bottom: none;
  }

  .schedule-section {
    flex-direction: column;
    padding: 10px;
    gap: 15px;
  }

  .schedule-card {
    padding: 15px;
  }

  .schedule-card h2 {
    font-size: 20px;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 8px;
    font-size: 14px;
  }

  .kaihou-card {
    padding: 25px;
    font-size: 15px;
  }

  .news-card {
    padding: 0px 20px;
  }

  .news-section h2 {
    font-size: 24px;
  }

  .event-section h2 {
    font-size: 24px;
  }

  .circle-main {
    padding: 0 15px;
  }

  .page-title h2 {
    font-size: 30px;
  }

  .intro-card,
  .info-card {
    padding: 25px;
  }

  .intro-card h3,
  .info-card h3 {
    font-size: 24px;
  }

  .member-item {
    width: 100%;
  }

  .photo-main {
    padding: 0 15px;
  }

  .page-title h2 {
    font-size: 24px;
  }

  .photo-card {
    padding: 25px;
  }

  .photo-card h3 {
    font-size: 24px;
  }

  .photo-card {
    margin-bottom: 15px;
  }

  .photo-card p {
    margin-top: 1;
    margin-bottom: 1px;
  }

  .link-main {
    padding: 0 15px;
  }

  .page-title h3 {
    font-size: 24px;
  }

  .link-card {
    padding: 6px 24px;
  }

  .link-card h3 {
    font-size: 22px;
  }
}
