/* すべての要素のボックスサイジングをボーダーボックスに設定 */
* {
  box-sizing: border-box;
}

.container {
  max-width: 768px;
  margin: 0 auto;
  padding: 15px;
}

.tab-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tab-list .tab-item {
  flex: 1;
  border: 1px solid #333; /* ボーダーを追加 */
  border-bottom: none; /* ボトムボーダーを削除 */
  font-size: 15px;
  text-align: center;
  padding: 15px;
  color: #333;
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.tab-list .tab-item:first-child {
  border-left: 1px solid #333; /* 最初のタブの左ボーダーを維持 */
}

.tab-list .tab-item:hover,
.tab-list .tab-item.active {
  background: #333;
  color: #fff;
}

.tab-container {
  border: 0px solid #333;
  padding: 15px;
  line-height: 2;
}

.tab-content {
  display: none; /* 初期状態では非表示 */
}

.tab-content.active {
  display: block; /* activeクラスがある場合に表示 */
}

/* メディアクエリ */
@media screen and (max-width: 768px) {
  .tab-list {
    flex-direction: column;
  }
  .tab-list .tab-item {
    width: 100%; /* スマートフォンで全幅にする */
    border-left: 1px solid #333; /* スマートフォンでもボーダーを表示 */
  }
}

@media screen and (max-width: 480px) {
  .tab-list .tab-item {
    font-size: 10px;
  }
}

 


.image-container img {
    display: inline-block;
    margin-right: 20px; /* 画像間の隙間を設定 */
}

img{
    max-width: 100%;
    height: auto;
}

iframe{
    max-width: 100%;
    height: auto;
}

span.sample1 {
    font-family: "ＭＳ Ｐ明朝";
}
span.sample2 {
    font-family: "arial black";
}
span.sample3 {
    font-family: "Comic Sans MS";
}

span.sample4 {
    font-family: "Times New Roman";
}

.btm{
    width: 200px;
    padding: 20px;
    box-sizing: border-box;
    background: #0099FF;
}

.btm01{
    width: 100%;
    height: 100%;
　display: flex;
    justify-content:space-around;
　table-layout:fixed;
    border-radius : 5%;
    box-sizing:border-box;
    padding: 0px;
    background: #0099FF;
    text-align : center;
    color         : #ffffff;
}

.kyujintable{
    max-width: 768px;
    width:80%;
    height: 100px;
    table-layout: fixed;
    margin: auto;
    text-align: center;
}

.kyujintable th{
    background: #b7efb7;
}

.toiawasetable{
    max-width: 768px;
    width:80%;
    table-layout: fixed;
    margin: left;
    text-align: center;
}

.toiawasetable th{
    vartical-align: top;
    text-align: end;
    width:20%
}

.toiawasetable td{
    text-align: left;
　table-layout: fixed;
    width: 70%;
}

.txt1{
    width: 100%;
    line-height: 2;
}