@charset "utf-8";
/* CSS Document */

#contents {
  width: 960px;
  margin: 0 auto 30px;
}

/*top1*/
#top1 {
  position: relative;
  overflow: visible;
  width: 960px;
  height: 266px;
  background: url(../img/bg_top_01.png) no-repeat bottom right;
}
#top1 h2 {
  position: absolute;
  top: 0;
  left: -10px;
  width: 146px;
}
#top1 .inner {
  padding: 16px 0 0 135px;
  padding: 7px 6px 10px 135px;
  box-sizing: border-box;
  height: 100%;
}

/*top2*/
#top2 {
  float: left;
  position: relative;
  overflow: visible;
  width: 340px;
  margin: 11px 0 0 0;
  padding: 69px 0 0 0;
}
#top2 h2 {
  position: absolute;
  top: 0;
  left: -18px;
  z-index: 0;
}
#top2 ul {
  overflow: visible;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px 0;
}
#top2 ul li {
  width: 70px;
  font-size: 10px;
  text-align: center;
}
#top2 ul li.tops {
  width: 100%;
}
#top2 ul li.tops_last {
  width: 160px;
  margin: 0 0 15px 0;
}
#top2 ul li.last {
  margin: 0 0 15px 0;
}
#top2 ul li img {
  display: block;
  margin: 0 auto 5px;
}
#top2 ul li a {
  text-decoration: none;
}

/*top8*/
#top8 {
  float: left;
  width: 134px;
  margin: 20px 0 0 14px;
}
#top8 h2 {
  margin: 0 0 28px;
}
#top8 ul li {
  margin: 0 0 20px;
}
#top8 ul li a:hover img {
  opacity: 0.7;
  filter: alpha(opacity=70);
}

/*top3*/
#top3 {
  float: right;
  position: relative;
  width: 460px;
  height: 360px;
  margin: 20px 0 20px 0;
  background: url(../img/bg_top_02_2.png) no-repeat;
  display: flex;
  flex-direction: column;
}
#top3 .inner {
  padding: 5px 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 10px 10px;
}
#top3 .button {
  position: absolute;
  top: 34px;
  left: 249px;
}

/*top4*/
#top4 {
  float: left;
  position: relative;
  width: 600px;
  height: 360px;
  background: url(../img/bg_top_03.png) no-repeat;
  display: flex;
  flex-direction: column;
}
#top4 .inner {
  padding: 5px 15px;
  padding: 0 10px 10px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#top4 .button {
  position: absolute;
  top: 34px;
  left: 174px;
}

/*top5*/
#top5 {
  float: right;
  position: relative;
  width: 340px;
  height: 740px;
  margin: 0 0 20px 0;
  background: url(../img/bg_top_04_02.png) no-repeat;
  display: flex;
  flex-direction: column;
}
#top5 .inner {
  padding: 5px 15px;
  padding: 0 10px 10px;
  flex-grow: 1;
  text-align: center;
}
#top5 .button {
  position: absolute;
  top: 72px;
  left: 9px;
}

#top5_bnr {
  float: right;
  margin-bottom: 20px;
}

/*top6*/
#top6 {
  float: left;
  position: relative;
  width: 600px;
  height: 360px;
  margin: 20px 0 20px 0;
  background: url(../img/bg_top_05.png) no-repeat;
  display: flex;
  flex-direction: column;
}
#top6 .inner {
  padding: 5px 15px;
  padding: 0 10px 10px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#top6 .button {
  position: absolute;
  top: 34px;
  left: 224px;
}

/*top7*/
#top7 {
  clear: both;
  position: relative;
  width: 960px;
  background: url(../img/bg_top_06_01.png);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;
}
#top7 h2 {
  height: 70px;
  background: url(../img/bg_top_06.png) no-repeat;
}
#top7 .inner {
  margin: 0 10px;
  background: #fff;
  border-radius: 0 0 10px 10px;
  min-height: 180px;
}
#top7 .button {
  position: absolute;
  top: 36px;
  left: 172px;
}
