/* ラジオボタンは画面に表示しない */
.tab-radio {
  display: none;
}

/* タブメニュー部分 */
.tab-menu {
  display: block;
  float: left;
  width: calc(100% / 2);
  text-align: center;
  padding: 1em 0;
  background-color: #f2f2f2; /* 非アクティブ時の背景色 */
  color: #555; /* 非アクティブ時の文字色 */
  cursor: pointer;
  transition: background-color 0.2s;
  /* 境界線をなくす */
  border-bottom: none;
}

/* タブメニューにカーソルが乗った時 */
.tab-menu:hover {
  background-color: #e8e8e8;
}

/* コンテンツは最初はすべて非表示 */
.tab-content-item {
  display: none;
  padding: 20px;
  clear: both;
}

/* ▼切り替えの核となる部分▼ */

/* チェックされたラジオボタンに続くコンテンツを表示 */
#tab01:checked ~ #tabContent01,
#tab02:checked ~ #tabContent02,
#tab03:checked ~ #tabContent03 {
  display: block;
}

/* チェックされたラジオボタンに対応するタブメニューのスタイル */
#tab01:checked ~ #tabMenu01,
#tab02:checked ~ #tabMenu02,
#tab03:checked ~ #tabMenu03 {
  background-color: #f3baf5; /* アクティブ時の背景色（例：青） */
  color: #000000; /* アクティブ時の文字色 */
}

ul.kanren{
	width: 100%;
	margin: 0 30px;
}
ul.kanren li {
	width: 20%;
	display: inline-block;
	list-style-type: none;
	text-align: center;
	font-size: 0.8em;
	margin: 0;
	padding: 0;
	vertical-align: top;
	line-height: 1.3em;
}


.header {
  background-color: #ffffff;
  margin: 0;
  max-width:750px;
  box-sizing: border-box;
}
.contents {
  border: 1px solid #aaaaaa;
  margin: 0;
  width: 100%;
  font-size: x-large;
}
.base {
  position: fixed;
  display: flex;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  flex-direction: column;
  align-items: center
}
.flexHeader {
}
.flexHeaderContents {
  overflow: auto
}

footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 65%;
  background: #fcf0fc
}