@charset "utf-8";

/* Top
---------------------------------------------------- */

#wrapper section {
  margin: 80px auto 0;
  width: 1000px;
  text-align: left;
}

#wrapper a {
  color: #222;
}

#wrapper a.more {
  color: #fff;
}

/* Main Image */
#main-img {
  position: relative;
  height: 500px;
}

#main-img h2 {
  margin-left: -500px;
  position: absolute;
  top: 170px;
  left: 50%;
  color: #fff;
  letter-spacing: 0.1em;
  font-weight: normal;
  font-size: 24px;
  text-shadow: 0 0 20px rgba(0, 0, 0, 1);
  text-align: left;
}

#main-img h2 span {
  border-bottom: 1px solid #fff;
  font-size: 54px;
  display: inline-block;
  margin-bottom: 10px;
}

/* News */
#news {
  position: relative;
  width: 1000px;
  height: 404px;
  background-color: #f7f6f5;
  text-align: left;
}

#news h3,
#news nav,
#news a.more {
  position: absolute;
  left: 20px;
}

#news h3 {
  padding: 10px 0 30px 50px;
  border-bottom: 1px solid #777;
  width: 150px;
  top: 20px;
  background: url('/static/img/ab/corp/common/icon/news.png') 0 0 no-repeat;
  background-size: 37px 44px;
  font-weight: normal;
  font-size: 24px;
  letter-spacing: 0.3em;
}

#news nav {
  top: 110px;
}

#news nav ul li {
  margin-bottom: 15px;
  padding-left: 8px;
  position: relative;
}

#news nav ul li::before {
  content: url('/static/img/ab/corp/common/curret-blue.png');
  margin-top: -3px;
  position: absolute;
  top: 0;
  left: 0;
}

#news nav ul li span.current {
  color: #0068b7;
  font-weight: bold;
}

#news nav ul li span:hover {
  text-decoration: underline;
  cursor: pointer;
}

#news > ul {
  padding-left: 20px;
  width: 740px;
  height: 404px;
  position: absolute;
  left: 240px;
  background-color: #fff;
  overflow: hidden;
}

#news > ul li {
  border-bottom: 1px solid #e3e3e3;
  width: 740px;
  height: 80px;
  display: table;
  line-height: 1.5;
  vertical-align: middle;
}

#news > ul li:last-child {
  border-bottom: 0;
}

#news > ul li a,
#news > ul li span {
  display: table-cell;
  vertical-align: middle;
  text-align: left;
}

#news > ul li a[target="_blank"]::after {
  content: '';
  margin-left: 0;
}

#news > ul li span.date {
  width: 240px;
}

#news > ul li span.date::after {
  margin: -3px 0 0 15px;
  padding: 3px 0;
  border-radius: 3px;
  display: inline-block;
  width: 140px;
  color: #fff;
  font-size: 10px;
  text-align: center;
}

#news ul li.mds span.date::after {
  content: 'もしもドロップシッピング';
  background-color: #448aca;
}

#news ul li.maf span.date::after {
  content: 'もしもアフィリエイト';
  background-color: #99c737;
}

#news ul li.ts span.date::after {
  content: 'TopSeller';
  background-color: #eb9a32;
}

#news ul li.fc span.date::after {
  content: 'フリーキャリア総研';
  background-color: #e36485;
}

#news ul li.cp span.date::after {
  content: 'コーポレート';
  background-color: #54c3f1;
}

#news ul li.web span.date::after {
  content: 'web';
  background-color: #69bd83;
}

#news ul li.mag span.date::after {
  content: '雑誌・書籍';
  background-color: #796baf;
}

#news ul li.tv span.date::after {
  content: 'テレビ';
  background-color: #ee87b4;
}

#news ul li.radio span.date::after {
  content: 'ラジオ';
  background-color: #f9c270;
}

#news ul li.newspaper span.date::after {
  content: '新聞';
  background-color: #db9681;
}

#news ul li.etc span.date::after {
  content: 'その他';
  background-color: #bbbbbb;
}

#news ul#release,
#news ul#media {
  display: none;
}

#news a.more {
  bottom: 20px;
}

/* Service */
#service ul {
  margin-bottom: 40px;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}

#service ul li {
  width: 300px;
  position: relative;
}

#service h3 {
  position: absolute;
  bottom: 20px;
  right: 20px;
  color: #fff;
  font-weight: normal;
  font-size: 30px;
  z-index: 5;
  transition: all .4s;
}

#service a:hover h3 {
  right: 220px;
}

#service figure {
  position: relative;
  overflow: hidden;
  width: 300px;
  line-height: 1.5;
  background: #0068b7;
}

#service figure img {
  position: relative;
  z-index: 1;
  transition: all .4s;
}

#service figcaption {
  padding-top: 110px;
  position: absolute;
  bottom: 0;
  right: -200px;
  z-index: 2;
  width: 200px;
  height: 100%;
  color: #fff;
  background-color: #0068b7;
  background-position: center 48px;
  background-repeat: no-repeat;
  background-size: 42px 42px;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  transition: all .4s;
  box-sizing: border-box;
}

#service li.service-message figcaption {
  background-image: url('/static/img/ab/corp/common/icon/message.png');
}

#service li.service-service figcaption {
  background-image: url('/static/img/ab/corp/common/icon/service.png');
}

#service li.service-history figcaption {
  background-image: url('/static/img/ab/corp/common/icon/history.png');
}

#service a:hover figure img {
  -webkit-transform: translateX(-200px);
  transform: translateX(-200px);
}

#service a:hover figure figcaption {
  right: 0;
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

#service a#policy {
  padding: 30px 0;
  border: 1px solid #e3e3e3;
  border-radius: 3px;
  display: block;
  position: relative;
  overflow: hidden;
  height: 20px;
  background: #fff url('/static/img/ab/corp/common/icon/policy.png') 1000px 17px no-repeat;
  background-size: 40px 44px;
  font-size: 16px;
  transition: all .6s;
}

#service a#policy:hover {
  background-position: center 17px;
  text-decoration: none;
}

#service a#policy span {
  position: absolute;
  left: 387px;
  transition: all .6s;
}

#service a#policy:hover span {
  left: -250px;
}

/* Recruit */
#wrapper section#recruit {
  width: 100%;
  height: 500px;
  background: #e3e3e3 url('/static/img/ab/corp/index/img-recruit.jpg') center 0 no-repeat;
  background-size: cover;
}

#recruit > div {
  margin: 0 auto;
  padding-top: 40px;
  width: 1000px;
  text-align: center;
}

#recruit h3 {
  margin-bottom: 10px;
  padding: 10px;
  color: #fff;
  letter-spacing: 0.1em;
  font-weight: normal;
  font-size: 34px;
  text-shadow: 0 0 20px rgba(0, 0, 0, 1);
}

#recruit div >  a {
  margin: 0 auto;
  border-radius: 3px;
  display: block;
  position: relative;
  overflow: hidden;
  width: 340px;
  height: 50px;
  color: #fff;
  background: rgba(0, 104, 183, 0.9) url('/static/img/ab/corp/common/icon/recruit.png') 340px 3px no-repeat;
  background-size: 42px 44px;
  font-size: 24px;
  transition: all .4s;
}

#recruit div > a:hover {
  background-position: center 3px;
  text-decoration: none;
}

#recruit div > a span {
  position: absolute;
  top: 14px;
  left: 124px;
  transition: all .4s;
}

#recruit div > a:hover span {
  left: -100px;
}

/* Access */
#access {
  padding-left: 420px;
  min-height: 260px;
  line-height: 1.5;
  box-sizing: border-box;
  position: relative;
}

#access .msmmap {
  width: 400px;
  height: 260px;
  position: absolute;
  top: 0;
  left: 0;
}

#access address {
  padding: 5px 0 15px;
  font-style: normal;
}

#access p {
  margin-bottom: 15px;
}

#access p.station {
  padding: 10px;
  background-color: #f6f6f6;
}

#access p:last-child {
  text-align: right;
}

/* important notice */
#important {
  margin: 80px auto 0;
  text-align: left;
  font-size: 1.5em;
  padding: 20px;
  width: 960px;
  border: 1px solid #777;
}

#important p {
  text-align: center;
  padding: 3px;
}

#important a {
  color: #0068b7;
}
