@charset "utf-8";

/* リセット＆基本設定 */
html, body2 {
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-family: "Noto Serif JP", serif;
  background: #fff;
  color: #666;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

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

p, h1, h2, h3, h4, h5, h6, li, dd, dt, a, span, div {
  word-break: break-word;
  white-space: normal;
}

/* テキストサイズの階層 */
h2 {
  font-size: 20px;
  margin-top: 3rem;
  margin-bottom: 1rem;
  text-align: center;
}

h3 {
  font-size: 20px;
  margin-top: 1.5rem;
}

h4 {
  font-size: 16px;
}

p {
  font-size: 14px;
  margin-bottom: 1.5rem;
  text-align: left;
text-align: justify
}

.c{
  font-size: 14px;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* コンテナ */
#container2 {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
}

/* mainエリア */
main2 {
  padding: 0px 0;
}

/* greeting（背景画像付きセクション） */
#greeting, #greeting2 {
  background: no-repeat center center / cover;
  padding: 1rem;
  width: 100%;
  color: #000;
  margin: 0 auto;
}

/* 2カラム対応（.c2） */
.c2 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.c2 .text, .c2 .image {
  width: 100%;
  padding: 0 5px;
}

/* PC時は横並びに */
@media screen and (min-width: 900px) {
  .c2 {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .c2 .text, .c2 .image {
    width: 50%;
  }
}

/* リスト表示（list） */
.list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 0;
}

.list figure {
  flex: 0 0 20%;
}

.list div {
  flex: 1;
}

/* テーブル表示 */
.ta1 {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.ta1 caption {
  background: #555;
  color: #fff;
  padding: 10px;
  font-weight: bold;
  border-radius: 5px;
}

.ta1 th, .ta1 td {
  padding: 10px;
  border: 1px solid #ccc;
  text-align: left;
}

.ta1 th {
  width: 30%;
}

/* フッター */
footer {
  font-size: 12px;
  text-align: center;
  padding: 20px 0;
}

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