@charset "UTF-8";
@import url('https://fonts.googleapis.com/css?family=Fjalla+One&text=HOMELINEUP GOODSSPECIALNEWSewsOPTwitter');
/* CSS Document */

/*--------Init----------*/

* {
  box-sizing: border-box;
}

img {
  border-width: 0;
}

.clearfix:after {
  content: "　";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}

.clearfix {
  min-height: 1px;
}

ul {
  margin: 0;
  padding: 0;
}

.sub {
  text-indent: -1em;
  margin-left: 1em;
  font-size: 80%;
  opacity: 0.8;
}

.mobile {
  display: none;
}

.sp-item {
  display: none;
}

.oneword {
  display: inline-block;
}

img {
  vertical-align: bottom;
}

html {
  height: 100%;
}

/*----------------base--------------*/
body {
  height: 100%;
  font-size: 15px;
  line-height: 1.5;
  font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

body {
  margin: 0;
  background-image: url(../images/common/master_bg.jpg);
  background-repeat: repeat-x;
  background-color: #FFF;
  background-attachment: fixed;
}

#wrapper {
  width: 100%;
  height: 100%;
}

#content {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  min-height: 100%;
  position: relative;
  background-color: #000;
  border: 1px #111 solid;
  border-width: 0;
  box-shadow: 1px 0 10px rgba(0, 0, 0, 0.5);
  box-shadow: -1px 0 10px rgba(0, 0, 0, 0.5);
  background-size: 100% auto;
  position: relative;
}

header,
section,
nav {
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 2;
}

/*--------*/

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /*position:absolute;
  z-index:2;
  top:0;
  left:0;*/
  background-color: rgba(0, 0, 0, 1);
  padding: 6px 3%;
}

header #sitename {
  display: inline-block;
  font-family:"メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 100%;
  margin-left: 0;
  color: #DDD;
}


header .header_sns{
  display: flex;
  align-items: center;
}

header .sns_list{
  display: flex;
  list-style: none;
}

header .sns_list li{
  padding-left:8px;
}


header .sns_list img{
  width:30px;
  padding:5px 0;
}


header .sns_text{
  color:#fff;
  margin: 0;
  padding-right:5px;
  font-family:'Oswald', sans-serif;
}

#apis {
  float: right;
  width: 250px;
  margin-top: 10px;
}

.api {
  float: right;
}

.api iframe {
  width: 110px !important;
  overflow: hidden;
}


#billboard {
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

#billboard img#main_image {
  width: 100%;
  mask-image: linear-gradient(to top,rgba(0,0,0,0),rgba(0,0,0,1) 30%);
  -webkit-mask-image: linear-gradient(to top,rgba(0,0,0,0),rgba(0,0,0,1) 30%);
}



footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #000;
  text-align: center;
}

footer div {
  text-align: center;
  color: #EEE;
  margin: 3%;
}

footer div a {
  display: inline-block;
  text-decoration: none;
  color: #EEE;
}

/*-----nav----*/
nav {
  /*margin-top:-18%;*/
  /*background-color:rgba(129, 118, 167, 0.85);*/
  background-color: rgba(78, 72, 97, 0.95);
  position: relative;
  overflow: visible;
}


#logo {
  width: 11.5%;
  max-width: 100px;
  position: absolute;
  bottom: 6.5%;
  left: 1%;
  z-index: 2;
  display: block;
}


nav ul {
  width: 100%;
  margin: 0 auto;
  padding: 0;

  width: 85%;
}

nav ul li {
  display: block;
  float: left;
  /*width:33%;*/
  width: 25%;
  height: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  border: 1px #999 solid;
  border-width: 0 0 0 1px;
  cursor: pointer;
  font-size: 140%;
  position: relative;
}



nav ul li:last-child {
  border-right: 1px #999 solid;
}



nav ul li.check:before {
  content: "CHECK";
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -70%);
  -ms-transform: translate(-50%, -70%);
  background-color: rgba(155, 0, 0, 0.8);
  color: #FF0;
  font-size: 40%;
  padding: 1% 5% 0;
}

nav ul li span {
  /*  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  -ms-transform:translate(-50%,-50%);*/
  padding: 5% 2%;
  color: #FFF;
  font-family:'Oswald', sans-serif;
  display: inline-block;
  width: 100%;
  text-align: center;
}

nav ul li.active {
  background-color: rgba(3, 2, 50, 0.3);
}

nav ul li.inactive {
  cursor: default;
}

nav ul li.inactive span {
  opacity: 0.2;
  color: #c3d4e0;
}


/*---Tpic---*/

#topic {
  color: #eee;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2% 5%;
  position: absolute;
  top: 0;
  left: 0;
  border-width: 1px 0 0 0;
  transform: translate(0, -100%);
  -ms-transform: translate(0, -100%);

  display: none;
}

#topic #topic_box {
  width: 100%;
  padding-left: 6em;
  position: relative;

}

#topic h5,
#topic #topic_info {
  display: block;
}

#topic h5 {
  width: 90px;
  margin: 0;
  padding: 0;
  vertical-align: center;
  font-size: 120%;
  font-family: 'Fjalla One', "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0,-50%);
}

#topic #topic_info {
  width: 100%;
  border: 1px #666 solid;
  border-width: 0 0 0 1px;
  padding-left: 1em;
  font-size: 110%;
}

#topic #topic_info section{
}

#topic #topic_info b {
  /* display: none; */
  font-size: 80%;
  font-weight: 400;
  color:#bbb;
}

#topic #topic_info a {
  color: #ded098;
  text-decoration: none;
  display: block;
}

#topic #topic_info span {
  position: absolute;
  top: 8.5%;
  right:0;
  color: #ddd;
  background: #666;
  display: inline-block;
  padding: 0 0.5em;
  font-size: 0.7em;
  text-decoration: none;
}



/*---Main---*/

#main {
  margin-top: -15%;
  color: #eee;
  background-color: rgba(50, 50, 50, 0.8);
  background: linear-gradient(to bottom, rgba(75, 69, 99, 0.8), rgba(50, 50, 50, 0.7) 30%);
  padding: 3% 5%;
  padding-bottom: 10%;
  position: relative;
}



#main #content_body {
  min-height: 200px;
}

#main #content_body h2 {
  margin: 0;
  margin-top: 7%;
  margin-bottom: 2%;
  padding: 0;
  padding-left: 1%;
  border: 7px #FFF solid;
  border-width: 0 0 0 7px;
  font-size: 170%;
}

#main #content_body>section h2:first-child {
  margin-top: 0;
}


#main #content_body p.lead {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  margin-top: 0.5%;
  margin-bottom: 5%;
  line-height: 1.8;
  font-size: 120%;
}

#main #loading {
  display: block;
  width: 50px;
  position: absolute;
  top: 50px;
  left: 50%;
  margin-left: -25px;
  opacity: 0.7;
  animation: loading_blink 0.7s infinite;
  -ms-animation: loading_blink 0.7s infinite;
}

@keyframes loading_blink {
  0% {
    transform: rotate(0deg);
    -ms-transform: rotate(0deg);
  }

  100% {
    transform: rotate(359deg);
    -ms-transform: rotate(359deg);
  }
}


img.full {
  width: 100%;
}

img.half {
  width: 49%;
}

/*----Info----*/

#info {
  background-color: #AAA;
  background: linear-gradient(to bottom, #FFF, #AAA);
  padding: 3% 5%;
  display: flex;
  justify-content: space-between;
}

#info #news,
#info #twitter {
  /*width: 48.7%;*/
  flex: 1;
}

#info h5 {
  display: block;
  padding: 0;
  margin: 0;
  color: rgb(48, 70, 79);
  font-family: 'Fjalla One', "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 150%;
  position: relative;
}

#info h5 a {
  display: inline-block;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  background-color: #1DA1F2;
  color: #FFF;
  font-size: 65%;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  text-decoration: none;
  font-weight: normal;
  padding: 0.7% 4%;
  vertical-align: -1px;
  border-radius: 3px;
}

#info .info_content {
  border: 5px #a9a9a9 solid;
  background-color: #FFF;
  padding:20px 25px;
}

#news-container section{
  padding:12px 5px 12px 5px;
  border-bottom: #ddd solid 1px;
}
#news-container section b{
  color:#666;
  font-size: 0.9em;
  font-weight: 400;
}
#news-container section a{
  color:#625010;
  text-decoration: none;
}
#news-container section:hover{
  text-decoration: underline;
  text-decoration-color: #c5bfa5;

}
#news-container section span{
    color: #666;
    position: absolute;
    right: 0;
    top: 8px;
    display: inline-block;
    font-size: 80%;
    text-align: left;
    margin: 0.5em 0 0.5em;
    background-color: #efefef;
    padding: 0 1em;
}

#info .info_content iframe {
  height: 250px !important;
  width: 100% !important;
  border-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

#load-more-btn{
  display: block;
  margin: 20px auto;
  color: #fff;
  background: #000;
  /* border-radius: 30px; */
  padding: 5px 15px;
  cursor: pointer;
}


#info #news {
  /*float: left;*/
}

#info #twitter {
  /*float: right;*/
  display: none;
}

/*----Greeting 20170101---*/
img#banner20170101 {
  width: 89%;
  display: block;
  margin: 3% auto;
}


/*-----banners---*/
#banners {
  text-align: center;
  margin-top: 2%;
}

#banners img {
  width: 100%;
  max-width: 810px;
  margin-top: 5%;
}

/*-----links---*/
#links {
  text-align: center;
  margin-top: 2%;
}

#links img {
  width: 28%;
  max-width: 500px;
  margin: 1%;
}



/*----Option----*/

.pickup {
  display: inline-block;
  position: relative;
}

.pickup:after {
  content: "";
  display: block;
  width: 8%;
  height: 100%;
  background-image: url(../images/home/pickupicon.png);
  background-repeat: no-repeat;
  background-position: top;
  background-size: 100% auto;
  position: absolute;
  top: -7px;
  /*-5%;*/
  left: -7px;
  /*-1%;*/
  animation: blink 0.5s ease -0.1s infinite alternate;
  -ms-animation: blink 0.5s ease -0.1s infinite alternate;
}

@keyframes blink {
  0% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

.btn-list{
  display: flex;
  list-style: none;
}
.btn-list li{
  padding: 1%;
}

.btn-default{
  position: relative;
  display: block;
  box-sizing: border-box;
  font-size:130%;
  padding:0.6rem 1rem;
  background: #bfb07b;
  color:#000;
  text-align: center;
  transition: filter 0.5s;
      border: #bfb07b solid 1px;
  cursor: pointer;
  transition : all 0.5s ease 0s;
  text-decoration: none;
}
.btn-default:hover{
      background:none;
      border: #bfb07b solid 1px;
      color: #bfb07b;
    }


@media screen and (max-width:768px) {

  body{font-size: 2.5vw;}

  header #sitename {
    margin-left: 16%;
  }

  nav ul {
    width: 82%;
  }

  #logo {
    width: 14%;
  }

#links img {
  width: 40%;
  max-width: 500px;
  margin: 1%;
}
.sp-item {
  display: block;
}

#main #content_body h2{font-size:120%;}

#info .info_content {
  padding:3% 3%;
}


}

@media screen and (max-width:768px)  {

  body{font-size: 2.5vw;}
  header #sitename {
    font-size: 90%;
  }

  #apis {
    width: 220px;
  }

  nav ul li {
    font-size: 100%;
  }

  #main {
    margin-top: -5%;
  }

  #topic #topic_info {
    font-size: 100%;
  }

  #banners img {
    width: 48%;
    margin: 1% 0.2%;
  }
}

@media screen and (max-width:768px) {

  body{font-size: 3vw;}
  header {
    display: none;
  }

  nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 4;
  }

  nav ul {
    width: 86%;
    height: 54px;
  }

  #logo {
    /*width:12%;*/
    width: 45px;
    top: 7%;
    bottom: auto;
  }

  nav ul li {
    /*font-size:80%;*/
    font-size: 3vw;
  }

  nav ul li:first-child {
    border-width: 0;
  }

  nav ul li span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    padding: 12% 1%;
  }

  nav ul li.check:before {
    transform: translate(-50%, -60%);
    -ms-transform: translate(-50%, -60%);
    font-size: 30%;
  }

  #billboard {
    padding-top: 53px;
  }

  #topic #topic_box {
    font-size: 80%;
    padding-left: 70px;
  }

  #topic h5 {
    width: 70px;
  }

  #info #news,
  #info #twitter {
    /*width: 100%;
    float: none;*/
  }

  #info #twitter {
    margin-top: 5%;
  }

  .pickup:after {
    width: 12%;
    /*top:-7%;
    left:-2%;*/
  }
}
