

.pconly {display: none;}
.sponlyn .spmaintopmargin {
  padding: 70px 0 0 0;
}
.mainimage {
  position:relative;
}
.main-cover {
  position:absolute;
  top:70px;
  left:0; 
  width:100%;
}
.cover1 {
  position:absolute;
  top:0;
  left:0; 
  z-index:100;
  height:auto;
    max-height: 250px;
    width: 100%;
}
.cover2 {
  position:absolute;
    top: 0;
  left:0;
  right:0;
  width:100%;
  height:150px;
  z-index:90;
}
.container {
    width: 90%;
    margin: 0 auto;
}
.top-main {
     position: relative;
}
.top-main:before {
    content: url(../img/topback1.png);
    display: block;
    position: absolute;
    z-index: -5;
    top: 0;
}
.top-main-l{
    text-align: center;
}
.top-main-l img {
    width: 20%;
    margin: 0 auto;
}
.top-main-l h1 {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0.15em;
    line-height: 180%;
}
.top-main-r {
    margin: 20px 0 0 0;
    padding: 30px 0 0 0;
    background:url(../img/miline1.png);
    background-repeat: repeat-x;
    background-position: center top;
}
.top-main-r a.main-btn {
    /*background-color: #FF0;
    width: 100%;
    max-width: 350px;
    padding: 10px 0;
    display: block;
    text-align: center;
    margin: 10px 0 0 0;
    border: solid 3px orange;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.02em;*/
    background-color: #fff;
    width: 100%;
    /* max-width: 350px; */
    padding: 10px 0;
    display: block;
    text-align: center;
    margin: 10px 0 0 0;
    border: solid 3px #9dd1df;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.02em;
    color: #e4825b;
    box-sizing: border-box;
}
.top-add1 {
    margin: 50px auto 0 auto;
    padding: 50px 0 0 0;
    background:url(../img/miline2.png);
    background-repeat: repeat-x;
    background-position: center top;
     max-width: 1000px;
    position: relative;
}
.top-add1 ul li {
    margin: 0 0 10px 0;
    padding: 0 0 10px 0;
    border-bottom: dotted 1px #ccc;
}
.top-add1 ul li:last-child {
  border-bottom: none;
}
.top-add1 h2 {
    text-align: center;
}
.top-add1 .top-add1-l {
    margin: 0 0 50px 0;
}
.top-add1 .top-add1-r {
}
.top-main2 {
    margin: 50px auto 0 auto;
    padding: 50px 0 0 0;
    background:url(../img/miline2.png);
    background-repeat: repeat-x;
    background-position: center top;
     max-width: 1000px;
    position: relative;
}
.top-main2:before {
    content: url(../img/topback2.png);
    display: block;
    position: absolute;
    z-index: -5;
    left: -40px;
    top: 45px;
    -webkit-transform: scale(0.7);
    transform: scale(0.7);
}
.top-main2:after {
    content: url(../img/topback3.png);
    display: block;
    position: absolute;
    z-index: -5;
    right: -35px;
    top: 5px;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
}
.top-main2 h2 {
    text-align: center;
}
.top-main2 ul.top-cate {
    display: flex;
    display: -webkit-flex;/*--- safari（PC）用 ---*/
    flex-wrap: wrap;
    -webkit-flex-wrap:wrap;/*--- safari（PC）用 ---*/
}
.top-main2 ul.top-cate li {
  font-size: 18px;
  font-weight: bold;
    width: 48%;
    height: 120px;
    margin: 60px 4% 30px 0;
    border-radius: 20px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    text-align: center;
    padding: 15px 1%;
    display: flex;
    display: -webkit-flex;/*--- safari（PC）用 ---*/
    position: relative;
 align-items: center; /* 縦方向中央揃え */
 -webkit-align-items: center; /* 縦方向中央揃え（Safari用） */
 -webkit-justify-content: center; /* 横方向中央揃え（Safari用） */
 justify-content: center; /* 横方向中央揃え */
}
.top-main2 ul.top-cate li:nth-child(2n) {
    margin: 60px 0 30px 0;
}
.top-main2 ul.top-cate li img {
    position: absolute;
    top: -60px;
	width:100%;
}
.border1{
    border:solid 5px #65AADD;
    color:#65AADD;
}
.border1 a {
    color:#65AADD;
}
.border2{
    border:solid 5px #CC7DB1;
}
.border2 a {
    color:#CC7DB1;
}
.border3{
    border:solid 5px #EF845D;
}
.border3 a {
    color: #EF845D;
}
.border4{
    border:solid 5px #69BD83;
}
.border4 a {
    color: #69BD83;
}
.border5{
    border:solid 5px #65AADD;
}
.border5 a {
    color: #65AADD;
}
.border6{
    border:solid 5px #CC7DB1;
}
.border6 a {
    color: #CC7DB1;
}
.border7{
    border:solid 5px #A59FB4;
}
.border7 a {
    color: #A59FB4;
}
  .foot-c li {
    width:100%;
    margin:0 0 15px 0;
  }

@media (min-width:768px) {
  .pconly {display: block;}
  .sponly {display: none;}

.main-cover {
    top: 0px;
}

.cover1 {
  top:40px;
}
.cover2 {
  position:absolute;
  height:300px;
}

.top-main {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    display: -webkit-flex;/*--- safari（PC）用 ---*/
    flex-wrap: wrap;
    -webkit-flex-wrap:wrap;/*--- safari（PC）用 ---*/
    padding: 50px 0 0 0;
}
.top-main-l {
  width: 30%;
}
.top-main-r {
  width: 67%;
  margin: 0 0 0 3%;
}
.top-main-r img {
  width: 40%;
  float: right;
  margin: 15px 0 0 0;
}
.top-main-r .txtarea a.blogbtn img {
    width: 100%;
    display: block;
    float: none;
    margin: 0 0 0px 0;
}
.top-main-r .txtarea {
  width: 57%;
  float: left;
}

.top-add1 {
    justify-content: space-between;
}
.top-add1 h2 {
    text-align: left;
}
.top-add1 ul {
  margin: 0;
  padding: 0;
}
.top-add1 .top-add1-l {
    width: 45%;
    margin: 0 0 0 0;
}
.top-add1 .top-add1-r {
    width: 50%;
}
.top-main2 ul.top-cate li {
    /*width: 15%;*/
    width: 23%;
    margin: 80px 2% 0 0;
}
.top-main2 ul.top-cate li:nth-child(2n) {
    /*width: 15%;*/
    width: 23%;
    margin: 80px 2% 0 0;
}
.top-main2 ul.top-cate li:last-child {
    /*width: 15%;*/
    width: 23%;
    margin: 80px 0 0 0;
  }
.top-main2 ul.top-cate li img {
	/*width:60%;*/
      /*width: 100%;*/
      width: 65%;
}

.top-main2:before {
    content: url(../img/topback2.png);
    display: block;
    position: absolute;
    z-index: -5;
    left: -40px;
    top: 25px;
    -webkit-transform: scale(1);
    transform: scale(1);
}
.top-main2:after {
    content: url(../img/topback3.png);
    display: block;
    position: absolute;
    z-index: -5;
    right: -40px;
    top: 25px;
    -webkit-transform: scale(1);
    transform: scale(1);
}

  #footer {
    width: 90%;
     max-width: 1000px;
    margin: 80px auto 0 auto;
    padding: 80px 0 0 0;
    background:url(../img/miline2.png);
    background-repeat: repeat-x;
    background-position: center top;
     position: relative;
  }
  #footer:before {
    content: url(../img/footerback1.png);
    display: block;
    position: absolute;
    top: 10px;
    left: -50px;
    z-index: -5;
}
  .foot-l {
    width: 25%;
    float: left;
  }
  .foot-c {
    width: 70%;
	margin:0 0 0 5%;
    float: right;
  }
  .foot-c dt,
  .foot-c dd {
	      -webkit-margin-start: 0px;
  }
  .foot-c dl {
    -webkit-margin-before: 0em;
    -webkit-margin-after: 0em;
  }
  .foot-c li {
    margin: 0 1.5% 15px 1.5%;
    width: 22%;
    text-align: left;
}

  .foot-r {
    width: 70%;
    border-top: solid 0px #000;
    padding: 20px 0 35px 0;
    margin: 0;
    position: relative;
    float: right;
  }
  .foot-r .footermenu {
    display: block;
}
  .foot-r ul.footermenu {
    display: flex;
    display: -webkit-flex;/*--- safari（PC）用 ---*/
    flex-wrap: wrap;
    -webkit-flex-wrap:wrap;/*--- safari（PC）用 ---*/
    justify-content: space-between;
    -webkit-justify-content:space-between;/*--- safari（PC）用 ---*/
    border-bottom: solid 1px #000;
    padding: 0 0 40px 0;
    margin: 0 0 20px 0;
}
  .foot-r ul.footermenu li {
    margin: 0 0 0 0;
    text-align: center;
    font-size: 0.6vw;
}
  .foot-r ul.footermenu li:last-child {
    margin: 0 0 0 0;
    text-align: center;
}
.foot-r p.bosyu {
    width: auto;
    padding: 10px 20px;
    right: 0;
    position:absolute;
}
}

@media (min-width:768px) {
  .blogimage {
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
}