:root {
  --main-bg-color: #191970;
  --main-text-color: #000000;
  --header-text-color: #fff;
}

@media screen and (min-width:480px) { 
    /*　画面サイズが480pxからはここを読み込む　*/
 td {
   white-space: normal;
 }
}
@media screen and (min-width:1024px) {
    /*　画面サイズが1024pxからはここを読み込む　*/
 td {
   white-space: nowrap;
 }
}

body {
  background: #FFFFFF ;
}

.btn {
  border-color: ;
}

div.header {
  background: linear-gradient(90deg, var(--main-bg-color), var(--main-bg-color) );
  width: 100%;
  height: 30px;
  vertical-align: middle;
  font-size: 20px;
  color: var(--header-text-color); 
  font-weight: bold;
}

input.wide {
  width: 500px;
}
input.latin {
  ime-mode: disabled;
}
input.kana {
  ime-mode: active;
}

textarea.wide {
  width: 500px;
  height: 5em;
}

.button {
  appearance: none;
  border: 0;
  border-radius: 5px;
  background: #4676D7;
  color: #fff;
  padding: 8px 16px;
  font-size: 16px;
}

a:link, a:visited, a:hover, a:active {
  color: blue;
}

.marker_pink {
background: linear-gradient(transparent 80%, #ff66ff 80%);
}

.cols {
    -webkit-column-count: 2; /* Chrome, Safari, Opera */
    -moz-column-count: 2; /* Firefox */
    column-count: 2;
    
    -webkit-column-gap: 10px; /* Chrome, Safari, Opera */
    -moz-column-gap: 10px; /* Firefox */
    column-gap: 10px;
    
    display:flex;
    flex-wrap:wrap;
    
}

.box2 {
    padding: 0.5em 1em;
    margin: 2em 0;
    font-weight: bold;
    color: var(--main-text-color);/*文字色*/
    background: #000;
    color: #fff;
    border: none;/*線*/
    border-radius: 0px;/*角の丸み*/
}
.box2 p {
    margin: 0; 
    padding: 0;
}

.top {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;

  /* position: sticky; */
  top: 0;
}

.content {
  padding: 20px 20px 0;
  padding-bottom: 20px;
}

h4 {
  /*線の種類（実線） 太さ 色*/
  border-bottom: solid 2px black;
}

.footer {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  background-color: #000;
  color: #fff;
  text-align: center;
}

/*タブ切り替え全体のスタイル*/
.tabs {
  margin-top: 0px;
  padding-bottom: 0px;
  background-color: #fff;
/*  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); */
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

/*タブのスタイル*/
.tab_item {
  width: calc(100%/4);
  font-size: 80%;
  height: 30px;
  border-bottom: 3px solid #191970;
  background-color: #d9d9d9;
  line-height: 30px;
  text-align: center;
  color: #565656;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  margin-bottom: 0px;
}
.tab_item:hover {
  opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
  display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
  display: none;
  padding: 0px 0px 0;
  clear: both;
  overflow: hidden;
}


/*選択されているタブのコンテンツのみを表示*/
#T1:checked ~ #T1_content,
#T2:checked ~ #T2_content,
#T3:checked ~ #T3_content,
#T4:checked ~ #T4_content,
#T5:checked ~ #T5_content,
#T6:checked ~ #T6_content,
#T7:checked ~ #T7_content {
  display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked + .tab_item {
  background-color: #191970;
  color: #fff;
}

