@charset "UTF-8";

/* 全体共通 */
body {
  tac
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  background: #fefefe;
  color: #333;
  line-height: 1.6;
}

header {
  padding: 2rem 1rem;
  background: #f0f8ff;
  text-align: center;
}

header h1 {
  margin-bottom: 1rem;
  color: #2a5d7d;
}

/* カード型の兄弟姉妹募集一覧 */
.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
}

.card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
  width: 200px;
  padding: 1rem;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: scale(1.03);
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

.card h2 {
  margin: 0.5rem 0 0.2rem;
  font-size: 1.1rem;
  font-weight: bold;
  color: #2a5d7d;
  line-height: 1.4;
}

.card .address {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

/* ボタン */
.button, .line-button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.button {
  background: #00796b;
  color: white;
}

.button:hover {
  background: #004d40;
}

.line-button {
  background-color: #06c755;
  color: white;
}

.line-button:hover {
  background-color: #04a84d;
}

/* QRセクション */
.qr-section {
  text-align: center;
  padding: 2rem 1rem;
  background: #f9f9f9;
}

.qr-section p {
  font-weight: bold;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.qr-section img {
  width: 160px;
  height: auto;
  border: 2px solid #ccc;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.line-button-wrapper {
  margin-top: 1rem;
}

/* お知らせエリア */
.announcement {
  background-color: #f0f8ff;
  padding: 30px 20px;
  border-radius: 10px;
  margin: 40px auto;
  max-width: 800px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  text-align: center;
}


.announcement h2 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.0em;
  color: #2c3e50;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* 予定表（4組） */
.timetable-group {
  padding: 30px 20px;
  border-radius: 10px;
  margin: 40px auto;
  max-width: 900px;
}

.timetable-group.group1 {
  background-color: #f0f8ff;
}
.timetable-group.group2 {
  background-color: #fffaf0;
}
.timetable-group.group3 {
  background-color: #f5f5f5;
}
.timetable-group.group4 {
  background-color: #f3f0ff;
}

.timetable-group h2 {
  text-align: center;
  font-size: 1.8em;
  margin-bottom: 25px;
  color: #2c3e50;
}

/* 各日カードコンテナ（スマホでも2列） */
.timetable-group .card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  padding: 10px 10px;
}

.timetable-group .day-card {
  flex: 0 0 calc(50% - 10px);
  max-width: calc(50% - 10px);
  box-sizing: border-box;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.2s ease;
}

.timetable-group .day-card h4 {
  font-size: 1em;
  margin: 0 0 0.4em;
  color: #2a5d7d;
}

.timetable-group .day-card p {
  font-size: 0.9em;
  margin: 0;
}

/* レスポンシブ調整 */
@media screen and (max-width: 768px) {
  header {
    padding: 1.5rem 1rem;
  }

  header h1 {
    font-size: 1.4rem;
  }

  .button {
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
  }

  .timetable-group h2 {
    font-size: 1.4em;
  }

  .timetable-group .day-card {
    padding: 10px;
  }

  .timetable-group .day-card h4 {
    font-size: 0.95em;
  }

  .timetable-group .day-card p {
    font-size: 0.85em;
  }
}



