@charset "UTF-8";

main section{
    padding: 1em;
}

h1{
 font-size: 2rem;
 text-align: center;
 margin:1.5em 0;
}

h2{
    font-size: 1.6rem;
    margin: 0.5em;
}

h3{
    font-size: 1.2rem;
    margin: 0.5em;
}
p{
	line-height: 1.5em;
}
li{
	line-height: 1.5em;
}
.fl{
    display: flex;
    justify-content: space-between;
    margin-bottom: 5em ;
}

.fl li.left{
    width:49%;
}
.fl li.left span{
	background: rgba(0,137,167,.7);
	color: rgba(255,255,255,1.00);
	font-weight: bold;
	padding: 0.5em;
	border-radius: 5px;
	display: block;
	width: fit-content;
	margin-bottom: 1em;
}

ul.list{
    display: flex;
}
ul.list li{
    padding: 0.5em;
	width: 48%;
}
ul.list li img{
    width:100%;
}
ul.list{
 padding: 1em;
 margin-top: 3em;;
}

.fl li.imgbox{
    text-align: center;
    width:48%;
}

@media screen and (max-width:480px) {
    h1{
        font-size: 1.8rem;
    }
    h2{
        font-size: 1.5rem;
    }
    h3{
        font-size: 1rem;
    }
   .fl{
       flex-direction:column;
}
.fl li.left{
    width:100%;
}
.fl li.left ul.list{
    padding: 0;
}

.fl li.left ul.list li{
    font-size: 0.8rem;
    margin-bottom: 1em;
}

.fl li.imgbox{
    width:100%;
}
.fl li.imgbox img{
    width:100%;
}
}



/*タブ切り替え*/
section.typeA{
	display: flex;
	flex-wrap: wrap;
}
section.typeA::after {
	content: '';
	width: 100%;
	height: 3px;
	order: -1;
	display: block;
	background: rgba(0,137,167,.7);
}
section.typeA .tabLabel {	/* タブ */
	margin-right: 3px;
	padding: 24px 12px;
	flex: 1;
	order: -1;
	border-radius: 3px 3px 0 0;
	color: #444;
	background: rgba(0,137,167,.3);
	transition: .5s ;
	cursor: pointer;
	text-align: center;
	font-weight: bold;
	
}
section.typeA .tabLabel:nth-last-of-type(1){ margin-right: 0; }
section.typeA input {		/* ラジオボタン非表示 */
	display: none;
}
section.typeA .content {	/* 本文 */
	width: 100%;
	height: 0;
	overflow: hidden;
	opacity: 0;
}
/*アクティブ設定*/
section.typeA input:checked + .tabLabel {
	color: #fff;
	background: rgba(0,137,167,.7);
}
section.typeA input:checked + .tabLabel + .content {
	padding: 15px;
	height: auto;
	overflow: auto;
	box-shadow: 0 0 5px rgba(0,0,0,.2);
	transition: .5s opacity;
	opacity: 1;
}
@media screen and (max-width:480px) {
section.typeA .tabLabel {	/* タブ */
	margin: 3px auto;
	/*flex: none; 他のJR社が出来たら解放 */
	width: 40%;
}
}


/* モーダルCSS */
.modalArea {
  display: none;
  position: fixed;
  z-index: 10; /*サイトによってここの数値は調整 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.modalBg {
  width: 100%;
  height: 100%;
  background-color: rgba(30,30,30,0.9);
}

.modalWrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform:translate(-50%,-50%);
  width: 70%;
  max-width: 500px;
  padding: 10px 30px;
  background-color: #D7D7D7;
  height : 50%; 
  overflow : auto;
}

.closeModal {
  position: absolute;
  top: 0.3rem;
  right: 1rem;
  cursor: pointer;
font-size: 40px;
}

#openModal {
	text-align: center;
	margin: 1em auto;
	border: rgba(179,179,179,1.00) dashed 2px;
	padding: 0.5em;
	width: fit-content;
	cursor: pointer;
}
#openModal::after{
	font-family:"Font Awesome 5 Pro";
	content:'\f24d';
	font-weight:400;
	margin-left: 0.1em;
}
.modalContents table{
	border-collapse:  collapse;
	width: 100%;
	margin-top: 2em;
}
.modalContents table tr td{
	padding: 0.5em;
	border: solid 1px;
}
.modalContents table tr td.middlearea{
	width: 20%;
	text-align: center;
	vertical-align: middle;
	background-color: #f1f1f1;
	font-weight: bold;
}
.modalContents table tr td.sta{
	vertical-align: middle;
	background-color: rgba(255,255,255,1.00);
}
@media screen and (max-width:480px) {
.modalContents table tr td.middlearea{
	width: 32%;
}
}
