* {
    box-sizing: border-box;
  }

  body {
    margin: 0;
    background: rgb(51,89,153);
    background: linear-gradient(90deg, rgba(51,89,153,1) 0%, rgba(255,135,169,1) 100%);
    color: #4C4C4C;
    font-family: "Century Gothic","M PLUS 1", 'M PLUS Rounded 1c', "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji",sans-serif;
    font-weight: 400;
    line-height: 1.7;
    font-optical-sizing: none;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }

  .emoji {
  vertical-align: middle;
}

 .storng {
    font-weight:bold;
    font-size: 110%;
    color: lightseagreen;
}

.small{
  margin: 0.5em;
  font-size: 90%;
  color: #555;
}

  h1{
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 0.5em;
  }

  h2{
    color: #fff;
    border: solid 5px #191970;
    background: #191970;
    padding: 0.2em;
    border-radius: 0.5em;
    font-size:120%; 
    font-weight:bold;
  }

  h4{
    padding: 0.25em 0.5em;/*上下 左右の余白*/
    color: #494949;/*文字色*/
    background: transparent;/*背景透明に*/
    border-left: solid 5px lightseagreen;/*左線*/
    font-weight:bold;
  }

  h2.attention {
    color: #fff;
    border: solid 5px #701919;
    background: #701919;
    padding: 0.2em;
    border-radius: 0.5em;
    font-size:120%; 
    font-weight:bold;
  }

  a {
    color:dodgerblue;
    font-weight:bold;
   text-decoration: none;
  }

  /* ヘッダー */
  .header-img {
    text-align: center;
    background: rgb(51,89,153);
    background: linear-gradient(90deg, rgba(51,89,153,1) 0%, rgba(255,135,169,1) 100%);
    padding: 10px 0;
  }  
  .header-banner {
    width: 100%;      /* 親に合わせて調整 */
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  /* フッター */
.footer-basic {
  text-align: center;
  margin: 0 auto;
  margin-top: 20px;
  padding: 10px;
  font-size: 14px;
  color: #777;
  background: rgba(255,255,255,0.7);
}

  /* 一番上まで戻るボタン */
.back-to-top {
  display: inline-block;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #ffddee;
  color: #333;
  padding: 10px 15px;
  border-radius: 20px;
  font-size: 12px;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: background 0.3s, transform 0.2s;
}
.back-to-top:hover {
  background: #ffbbdd;
  transform: translateY(-2px);
}

/* タブ */
  .tabs {
    padding-top: 10px;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    gap: 0; /* ← 隙間ゼロ指定 */
  }
  .tabs input[type="radio"] {
    display: none;
  }
  .tabs label {
    display: inline-block;
    padding: 10px 20px;
    margin: 0; 
    margin-top: 5px;
    margin-left: -2px;
    margin-right: -2px;
    background: #ddd;
    color: #333; /* ← 文字色を明示的に */
    font-size: 16px; /* ← 小さすぎ防止 */
    cursor: pointer;
    text-align: center;
    min-width: 100px; /* ← 狭すぎるのを防止 */
    box-sizing: border-box;
    border-radius: 8px 8px 0 0;
    border-bottom: none; /* ← コンテンツとの境界を共有するため消す */
    z-index: 1;
  }
  .tabs label:hover {
    background-color: #eee;
  }
 /* 選択中タブのラベルデザイン */
  input[type="radio"]:checked + label {
      background: #fff;;
      border-radius: 8px 8px 0 0;
      position: relative;
      z-index: 2;
      border-bottom: none; /* ← コンテンツとの境界を共有するため消す */
        }
  /* ラジオボタンがチェックされているときの表示切り替え */
  #tab1:checked ~ .contents #content1,
  #tab2:checked ~ .contents #content2,
  #tab3:checked ~ .contents #content3,
  #tab4:checked ~ .contents #content4 {
    display: block;
  }

  /* コンテンツのボックス */
   .tabs .content {
    display: none;
    margin-top: 0px;
    padding: 20px;
    background: #fff;
    border-radius: 0px 8px 8px 8px;
  }

  .content-main {
    padding-top: 10px;
    max-width: 800px;
    border-radius: 10px;
    display:block;
    margin: 0 auto;
    padding-top: 10px;
    padding-right: 40px;
    padding-left: 40px;
    padding-bottom: 10px;
    background: #fff;
  }

  #midasi {
    color: #fff;
    border: solid 5px #191970;
    background: #191970;
    padding: 0.2em;
    border-radius: 0.5em;
    font-size:120%; 
    font-weight:bold;
  }


  /* レスポンシブ */
  @media screen and (max-width: 768px) {
    .tabs label {
      display: block;
      width: 100%;
      margin-right: 0;
    }
  }  

  @media screen and (max-width: 768px) {
  .content-main {
    display: block;
    width: 100%;
    margin-right: 0;
  }
}  

/* お知らせ全体 */
.tweet-list {
  max-width: 700px;
  margin: 0px auto;
  padding: 10px 10px;
}

/* カード本体 */
.tweet-card {
  background: #fffff0;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}

/* 見出し */
.tweet-card h3 {
  font-size: 15px;
  margin-bottom: 8px;
  color: #fff;
  background: rgb(51,89,153);
  display: inline-block;
  padding: 4px 4px;
  border-radius: 10px;
  font-weight: bold;
}

/* スクショ画像 */
.tweet-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  margin-top: 4px;
}

/* 説明文 */
.tweet-card p {
  margin-top: 5px;
  font-size: 14px;
  color: #555;
}

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

/* ダウンロードページ */
.download-page h3 {
  font-size: 15px;
  margin-bottom: 10px;
  color: #fff;
  background: rgb(51,89,153);
  display: inline-block;
  padding: 10px 15px 10px 15px;
  border-radius: 10px;
  font-weight: bold;
}

.download-page p.description {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
}

.thumbnail {
  width: 200px;      /* お好みで調整（例：200px） */
  height: auto;
  cursor: pointer;
  border: 2px solid #ccc;
  border-radius: 6px;
  transition: transform 0.2s;
}

.thumbnail:hover {
  transform: scale(1.05);
  border-color: #6ec4ff;
}

/* モーダル（拡大表示） */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

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