@charset "UTF-8";
@media print, screen and (min-width: 751px) {
  #mainContents a:hover img {
    filter: alpha(opacity=80);
    -moz-opacity:0.8;
    opacity:0.8;
}
  #mainContents .type4 a:hover img,
  #mainContents .type5 a:hover img{
    filter: alpha(opacity=100);
    -moz-opacity:1;
    opacity:1;
}
  #mainContents p,#mainContents ul,#mainContents li{
    padding-top: 0;
    font-size: 0;
    line-height: 0;
  }
  #mainimage {
    background-image: url(/welfare/sc/images/main_bg.gif);
    background-repeat: repeat-x;
    margin-bottom: 40px;
    border-top: solid 3px #0a3a98;
  }
  .box100 {
    max-width: 1233px;
    margin-right: auto;
    margin-left: auto;
    padding-left: 4vw;
    padding-right: 4vw;
  }
  #mainimage .box100{
    padding-left: 0;
    padding-right: 0;
  }
  #boxtype1 {
    background-color: #E5E5E5;
  }
  #boxtype1 .box100 {
    position: relative;
  }
  #boxtype1 #banner {
    position: absolute;
    display: block;
    max-width: 240px;
    width: 25%;
    top: 30%;
    left: 33%;
  }
  #boxtype2 {
    background: url(/welfare/sc/images/bg1.gif) repeat-x #D6F2C7 center top;
    position: relative;
  }
  .box_supported{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .supported01{
    width: 28.571429%
  }
  .supported02{
    width: 22.44898%
  }
  .supported03{
    width: 23.469388%
  }
  .supported04{
    width: 25.510204%
  }
  .supported05{
    width: 50%
  }
  .supported06{
    width: 50%
  }
  #boxtype3 {
    background: url(/welfare/sc/images/bg2.gif) repeat-x center top;
    position: relative;
  }
  .box_voice{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .voice1{
    width: 34.693878%
  }
  .voice2{
    width: 18.367347%
  }
  .voice3{
    width: 23.469388%
  }
  .voice4{
    width: 23.469388%
  }
  .voice5{
    width: 34.693878%
  }
  .voice6{
    width: 30.612245%
  }
  .voice7{
    width: 34.693878%
  }
  .type1{
    width: 59.387755%;
  }
  .type2{
    width: 40.612245%;
  }
  .type3{
    width: 16.836735%;
  }
  .type4{
    width: 42.55102%;
  }
  .type5{
    width: 40.612245%;
  }
  .type1,.type2,.type3,.type4,.type5{
    float: left;
  }
  #boxtype4 {
    position: relative;
  }
  #boxtype4 ul {
    position: absolute;
    width: 66.653%;
    left: 7.06%;
    top: 60.8365%;
  }
  #boxtype4 li {
    width: 49.295775%;
  }
  #boxtype4 li:first-child{
    float: left;
  }
  #boxtype4 li:last-child{
    float: right;
  }
  #boxtype5 {
    position: relative;
    background-color: #EBEBEB;
  }
  #boxtype5 ul {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
  #boxtype5 li {
    padding-left: 5px;
    padding-right: 5px;
    float: left;
  }
  #anzen {
    margin-top: 20px;
    padding-bottom: 20px;
  }
  #boxtype6 {
    position: relative;
    background-color: #366CB4;
    padding-bottom: 20px;
  }
  #boxtype6 li {
    padding-right: 4px;
    padding-top: 4px;
    float: left;
    width: calc(25% - 3px);
  }
  #boxtype6 li:nth-child(4),
  #boxtype6 li:nth-child(8) {
    padding-right: 0px;
  }
}
@media print, screen and (min-width: 751px) and   (max-width: 1340px){
  #boxtype2{
    background-size: 112.85% auto;
  }
  #boxtype3 {
    background-size: 20.65% auto;
    }
}
@media only screen and (max-width: 750px) { 
  #mainContents p,#mainContents ul,#mainContents li{
    padding-top: 0;
    font-size: 0;
    line-height: 0;
  }
  .box100 img {
    width: 100%;
    height: auto;
  }
  .box15 {
    width: 15%;
    display: block;
  }
  .box20 {
    width: 20%;
    display: block;
  }
  .box25 {
    width: 25%;
    display: block;
  }
  .box30 {
    width: 30%;
    display: block;
  }
  .box35{
    width: 35%;
    display: block;
  }
  .box40{
    width: 40%;
    display: block;
  }
  .box50 {
    width: 50%;
    display: block;
  }
  .box60{
    width: 60%;
    display: block;
  }
  .box65 {
    width: 65%;
    display: block;
  }
  .box15,
  .box20,
  .box25,
  .box30,
  .box35,
  .box40,
  .box50,
  .box60,
  .box65 {
    float: left;
  }
  .box15 img,
  .box20 img,
  .box25 img,
  .box30 img,
  .box35 img,
  .box40 img,
  .box50 img,
  .box60 img,
  .box65 img {
    width: 100%;
    height: auto;
  }
  #boxtype1 {
    background-color: #E5E5E5;
    text-align: center;
    padding-bottom: 10px;
  }
  #boxtype1 #banner{
    display: block;
    max-width: 240px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  .box_voice{
    display: flex;
    flex-wrap: wrap;
  }
  .box_voice picture{
    display: block;
    width: 100%;
  }
  .box_voice .voice1{
    -webkit-order: 1;
    order: 1;
    width: 65%;
  }
  .box_voice .voice6{
    -webkit-order: 2;
    order: 2;
    width: 35%;
  }
  .box_voice .voice3{
    -webkit-order: 3;
    order: 3;
    width: 50%;
  }
  .box_voice .voice4{
    -webkit-order: 4;
    order: 4;
    width: 50%;
  }
  .box_voice .voice7{
    -webkit-order: 5;
    order: 5;
    width: 100%;
  }
  #boxtype6 {
    background-color: #366CB4;
    padding-bottom: 15px;
  }
}