@charset "utf-8";

#contentsWrap {
	padding-top:65px;
}

#blockA {
  width:950px;
  margin:0 auto 65px;
  text-align: left;
  overflow: hidden;
}

#disability {
  float: left;
  width:324px;
  border: 3px solid #33A437;
  /* background: url("images/disabilityBack.png") no-repeat 200px bottom #F3FFF3; */
  background: #F3FFF3;
  margin-right:15px;
  cursor: pointer;
}

#business {
  float: left;
  width:324px;
  border: 3px solid #EA0008;
  /* background: url("images/businessBack.png") no-repeat 195px bottom #FFF1F2; */
  background: #FFF1F2;
  cursor: pointer;
}

#blockMenu {
  float: right;
}

#blockMenu p#menuBottom {
  margin-bottom: 0;
}

#blockA h2 {
  margin: 15px 15px 10px;
  font-size: 140%;
  font-weight: bold;
}

#blockA p {
  margin: 10px 15px 17px;
  font-size: 95%;
}

#blockA p.checkButton {
  margin-top: 35px;
}

#blockA #blockMenu p {
  margin: 0;
}

#blockA #blockMenu p {
  margin-bottom: 10px;
}

#blockA #blockMenu p#menuBottom {
  margin-bottom: 0;
}

#blockBBack {
  background: #D7E5F3;
}

#blockB {
  width: 950px;
  margin: 0 auto;
  padding: 18px 0;
  text-align: left;
  position: relative;
}

#blockB h2 {
  border-bottom: 4px solid #1C7DC1;
  padding-bottom: 15px;
  margin: 0 20px;
}

#blockB .toDetail {
  position: absolute;
  top: 23px;
  right: 20px;
}

#blockB .toDetail a {
  background: url("images/arrowDetail.png") no-repeat left center;
  padding-left: 10px;
  text-decoration: none;
}

#blockB table {
  width: 886px;
  margin: 10px 32px;
}

#blockB th,
#blockB td {
  padding: 8px;
  border-bottom: 2px dotted #FFF;
  vertical-align: top;
  color: #0C3151;
  font-size: 1rem;
}

#blockB th {
  font-weight: normal;
  text-align: left;
  padding-left: 18px;
  white-space: nowrap;
  width: 130px;
}

#blockB a {
  color: #0C3151;
  text-decoration: none;
}

#blockC {
  width: 950px;
  margin: 0 auto;
  padding: 45px 0;
  text-align: left;
  color: #0C3151;
  overflow: hidden;
}

#blockC ul li {
  border: 1px solid #FAAF29;
  padding: 0 25px;
  background: url("images/blockCMenuBack.png") no-repeat right center #FAF6EB;
  width: 256px;
  float: left;
  margin: 5px;
  font-size: 110%;
}

#blockC ul li.rightEnd {
  margin-right:0;
}

#blockC ul li a {
  color: 0C3151;
  text-decoration: none;
  display: block;
  padding: 20px 0;
}





	/* Style of active button */

	/* 白 */
.bg1 { background:#ffffff; color:#000000;}
.bg1 a:link		{ color: #003296; }
.bg1 a:visited	{color: #880088; }
.bg1 a:hover		{ color: #cc0000; }
.bg1 a:active	{ color: #cc0000; }

	/* 黒 */
.bg2 { background:#000000; color:#ffffff !important;}
.bg2 * { background:#000000; color:#ffffff !important;}
.bg2 #blockBBack {background: #000; color: #FFF;}
.bg2 #blockBBack th {background: #000; color: #FFF;}
.bg2 #blockBBack a {background: #000; color: #FF0;}
.bg2 #blockC ul li {background: #000; color: #FFF;}
.bg2 #blockC ul li a {background: #000; color: #FF0;}
.bg2 a:link		{ color:#ffffff !important;}
.bg2 a:visited	{ color:#ffffff !important;}
.bg2 a:hover		{ color:#ffff00 !important;}
.bg2 a:active	{ color:#ffff00 !important;}

	/* 青 */
.bg3 { background:#0000ff; color:#ffff00 !important;}
.bg3 * { background:#0000FF; color:#ffff00 !important;}
.bg3 #blockBBack {background: #00F; color: #FF0;}
.bg3 #blockBBack th {background: #00F; color: #FF0;}
.bg3 #blockBBack a {background: #00F; color: #FF0;}
.bg3 #blockC ul li {background: #00F; color: #FF0;}
.bg3 #blockC ul li a {background: #00F; color: #FF0;}
.bg3 a:link		{ color:#ffff00 !important;}
.bg3 a:visited	{ color:#ffff00 !important;}
.bg3 a:hover		{ color:#ffffff !important; }
.bg3 a:active	{ color:#ffffff !important;}


	/* ボタン内 */

	/* 白 */
#bgcss dd a.bg1 {background:#ffffff; color:#000000;}

	/* 黒 */
#bgcss dd a.bg2 {background:#000000; color:#ffffff;}

	/* 青 */
#bgcss dd a.bg3 {background:#0000ff; color:#ffff00;}


#block-A {
  display: flex;
  justify-content: space-between;
  width: 950px;
  margin: 0 auto 65px;
}

#block-A h2 {
  margin: 15px 15px 10px;
  font-size: 140%;
  font-weight: bold;
}

#block-A p {
  margin: 10px 15px 17px;
  font-size: 95%;
}

#block-A p.checkButton {
  margin-top: 35px;
}

#block-A #blockMenu p {
  margin: 0;
}

#block-A #blockMenu p {
  margin-bottom: 10px;
}

#block-A #blockMenu p#menuBottom {
  margin-bottom: 0;
}

#block-A #disability {
  margin-right: 0;
}

#block-A #business {
  margin-right: 15px;
}

#blockMenu * {
  box-sizing: border-box;
}

#blockMenu ul {
  width: 250px;
}

#blockMenu ul li {
  line-height: 1.2;
  font-weight: bold;
  display: table;
  align-items: center;
  height: 70px;
  margin-bottom: 10px;
}

#blockMenu ul li a {
  display: table-cell;
  vertical-align: middle;
  width: 250px;
  min-height: 70px;
  padding: 0 20px 0 60px;
  color: #3B5C7B;
  background: url(images/iconInfo.svg) no-repeat 15px center #D7E5F2;
  text-decoration: none;
  position: relative;
}

#blockMenu ul li a::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid #3B5C7B;
  border-bottom: 2px solid #3B5C7B;
  transform: rotate(-45deg);
  position: absolute;
  top: calc(50% - 5.5px);
  right: 15px;
}

#blockMenu ul li a:hover {
  opacity: 0.9;
}

#blockMenu ul li#sodanForm a {
  background: url(images/saiyo-kun.jpg) no-repeat left center #D83500;
  background-size: 70px 70px;
  border: 1px solid #CCC;
  border-radius: 4px;
  color: #FFF;
  padding: 0 0 0 90px;
  line-height: 1.4;
}

#blockMenu ul li#sodanForm a::after {
  border-right: 2px solid #FFF;
  border-bottom: 2px solid #FFF;
}

#blockMenu ul li#toDownload a {
  background: url(images/toDownload.png) no-repeat center center;
  background-size: cover;
  border: 1px solid #CCC;
  border-radius: 4px;
  padding: 0;
  text-indent: -9999px;
}

#blockMenu ul li#toNavigate a {
  background: url(images/toRiyosodan.png) no-repeat center center;
  background-size: cover;
  border: 1px solid #CCC;
  border-radius: 4px;
  padding: 0;
  text-indent: -9999px;
}

#blockMenu ul li#toDownload a:after,
#blockMenu ul li#toNavigate a:after {
  display: none;
}

#blockMenu ul li#toDownload {
  margin-bottom: 0;
}

#block-B {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
#denshiSystem {
  width: 100%;
  margin: 15px 15px 0 0;
  background: #ffe699;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#denshiSystem h2 {
  text-align: center;
}

#block-A #denshiSystem p {
  margin: 10px 65px 17px;
}

#kochiraButton {
  display: flex;
  justify-content: space-around;
  margin: 20px 50px;
}

#kochiraButton a {
  display: block;
  padding: 10px 20px;
  border-radius: 32px;
  min-width: 13em;
  text-align: center;
  color: #000;
  text-decoration: none;
  font-size: 120%;
  font-weight: bold;
}

#kochiraButton li:first-child a {
  border: 2px solid #33A437;
  background: url(images/arrowShien.svg) no-repeat 10px center #F3FFF3;
}

#kochiraButton li:last-child a {
  border: 2px solid #EA0008;
  background:  url(images/arrowKigyo.svg) no-repeat 10px center #FFF1F2;
}

#kochiraButton a:hover {
  opacity: 0.6;
}

@media screen and (max-width:479px) {
  #blockA {
    width: 100%;
    padding: 0 20px;
  }
  #disability,
  #business {
    width: 100%;
    margin: 0 0 10px;
    float: none;
  }
  #blockMenu {
    float: none;
  }
  #blockA #blockMenu p {
    background: #D7E5F2;
    text-align: center;
  }
  #blockB {
    width: 100%;
    padding: 18px;
  }
  #blockB h2 {
    margin: 0 0 10px;
  }
  #blockB .toDetail {
    display: none;
  }
  #blockB table {
    width: 100%;
    margin: 0;
  }
  #blockB table th,
  #blockB table td {
    display: block;
    border: none;
    width: 100%;
  }
  #blockB table tr {
    border-bottom: 2px dotted #FFF;
  }
  #blockC {
    width: 100%;
    padding: 30px 0 5px;
  }
  #blockC ul li {
    width: 100%;
    margin: 0 0 5px;
  }
  #blockC ul li a {
    padding: 10px 0;
  }

  #block-A {
    display: block;
    padding: 0 20px;
  }

  #block-A #disability,
  #block-A #business {
    height: 200px !important;
    width: 100%;
    margin: 0 0 20px;
    box-sizing: border-box;
  }
  #blockMenu ul {
    width: 100%;
  }
  #blockMenu ul li {
    width: 100%;
  }
  #blockMenu ul li a {
    padding: 0 10px 0 80px;
    background: url(images/iconInfo.svg) no-repeat 25px center #D7E5F2;
  }

  #denshiSystem {
    margin: 0 0 30px;
  }

  #kochiraButton {
    display: block;
    margin: 20px 30px;
  }
  #kochiraButton li {
    margin-bottom: 20px;
  }

  #block-A #denshiSystem p {
    margin: 0 30px 15px;
  }

  #block-A #denshiSystem p br {
    display: none;
  }

  #blockMenu ul li#toDownload a {
    background: url(images/toDownloadSP.png) no-repeat center center;
    background-size: cover;
  }

  #blockMenu ul li#toNavigate a {
    background: url(images/toRiyosodanSP.png) no-repeat center center;
    background-size: cover;
  }
}