@charset "UTF-8";

html {
  font-size: 100%;
}

body {
  background-color: #e6e2d7;
  color: #000;
  /*<!--Google Fontsの設定-->*/
  font-family: 'Noto Serif JP', serif;
}

a {
  color: #fff;
  text-decoration: none;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

li {
  list-style: none;
}

.site-title {
  line-height: 1px;
  margin-left: 60px;
}

.site-title a {
  display: block;
}

.site-title img {
  width: 40px;
}

.wrapper {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 20px;
}

#header {
  width: 100%;
  height: 100vh;
  background: url(../img/cs_sousaku_mainvisual-pc.jpg);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 60px 80px;
  margin-bottom: 180px;
  position: relative;
  /*rl = right to left*/
  writing-mode: vertical-rl;

  /*ベンダープレフィックス*/
  -webkit-writing-mode: vertical-rl;/*Chrome,Safari用*/
  -moz-writing-mode: vertical-rl;/*Firefox用*/
  /*tb = top to bottom*/
  -ms-writing-mode: tb-rl;/*Internet Explorer用*/
}

#header .onlinestore {
  /*background-colorはcolorのみの設定*/ 
  /*backgroundは背景色や背景画像(並び方 スクロール 位置)を一括で指定できる*/
  background: rgba(255, 255, 255, 0.2);
  padding: 8px;
  position: absolute;
  left: 40px;
  bottom: 30px;
}

#header .onlinestore a {
  display: block;
  border: solid 1px #ccc;
  padding: 30px 18px;
}

#header .onlinestore a:hover {
  opacity: 0.7;
}

#nav li {
  margin-left: 25px;
}

#news {
  margin-bottom: 180px;
  display: flex;
  flex-direction: row-reverse;
}

#news .section-title {
  font-weight: normal;
  line-height: 1;
  writing-mode: vertical-rl;
  /*ベンダープレフィックス*/
  -webkit-writing-mode: vertical-rl;
  -moz-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
}

#news .section-title .en {
  display: block;
  font-size: 0.875rem;
  margin-left: 15px;
}

#news .section-title .ja {
  display: block;
  font-size: 2.25rem;
  /*0.1em(エム)だと文字の高さの1/10の大きさの字間ができる*/
  letter-spacing: 0.1em;
}

#news .list {
  padding: 80px 100px 0 0;
  writing-mode: vertical-rl;
  /*ベンダープレフィックス*/
  -webkit-writing-mode: vertical-rl;
  -moz-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
}

#news .list dt {
  border-right: solid 1px #000;
  font-size: 0.75rem;
  padding: 15px 30px 15px 5px;
}

#news .list dd {
  padding: 15px 0 15px 30px;
}

#news .list dd:last-child {
  border-left: solid 1px #000;
}

.products {
  display: flex;
  margin-bottom: 180px;
}

.products .section-title {
  font-weight: normal;
  line-height: 1;
}

.products .section-title .ja {
  font-size: 2rem;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.products .section-title .en {
  font-size: 0.875rem;
}

.products .img {
  width: 65%;
  margin-top: 100px;
  position: relative;
}

.products .text {
  width: 56%;
  color: #fff;
  padding: 50px 0;
  text-align: center;
  position: absolute;
  bottom: -20px;
}

#products1 {
  flex-direction: row-reverse;
}

#products1 .section-title {
  margin-left: 20px;
  writing-mode: vertical-lr;
  -webkit-writing-mode: vertical-lr;
  -moz-writing-mode: vertical-lr;
  -ms-writing-mode: tb-lr;
}

#products1 .text {
  background: rgba(249, 233, 6, 0.6);
  left: -20px;
}

#products2 .section-title {
  margin-right: 20px;
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  -moz-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
}

#products2 .text {
  background: rgba(149, 42, 38, 0.6);
  right: -20px;
}

#shop iframe {
  width: 100%;
  vertical-align: bottom;
}

#footer {
  background-color: #000;
  color: #fff;
  padding: 80px 80px 30px 30px;
}

#footer .inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  margin-bottom: 10px;
}

#footer .inner .left,
#footer .inner .right {
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  -moz-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
}

#footer .inner .logo {
  width: 40px;
  margin-left: 60px;
}

#footer .inner .info {
  line-height: 2;
}

#footer .menu {
  font-size: 1rem;
  margin-right: 60px;
}

#footer .menu li {
  margin-left: 25px;
}

#footer .copyright {
  font-size: 0.625rem;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .wrapper {
    max-width: 100%;
  }

  #header {
    /*sp = smartphone*/
    background-image: url(../img/cs_sousaku_mainvisual-sp.jpg);
    padding: 20px;
    margin-bottom: 80px;
  }

  #header .onlinestore {
    left: 20px;
    bottom: 20px;
  }

  #news {
    margin-bottom: 80px;
  }

  #news .section-title .ja {
    font-size: 1.75rem;
  }

  #news .list {
    padding: 20px 30px 0 0;
  }

  #news .list dt {
    padding: 15px 12px 15px 5px;
  }

  /*4つ目以降を非表示*/
  /*nth = n番目の,,n倍の*/
  #news .list dt:nth-of-type(n + 4) {
    display: none;
  }

  #news .list dd {
    padding: 15px 0 15px 30px;
  }

  #news .list dd:nth-of-type(n + 4) {
    display: none;
  }

  #news .list dd:nth-of-type(3) {
    border-left: solid 1px #000;
  }

  .products {
    margin-bottom: 100px;
  }

  .products .section-title .ja {
    font-size:1.5rem ;
  }

  .products .section-title .en {
    display: none;
  }

  .products .img {
    width: 90%;
    margin-top: 70px;
  }

  .products .text {
    width: 64%;
    font-size: 0.875rem;
    padding: 30px 0;
  }

  #products1 .section-title {
    margin-left: 10px;
  }

  #products2 .section-title {
    margin-right: 10px;
  }

  #footer {
    padding: 40px 20px 30px 20px;
  }

  #footer .inner .logo {
    margin-left: 25px;
  }

  #footer .menu {
    font-size: 0.875rem;
    margin-right: 25px;
  }

  #footer .menu li {
    margin-left: 10px;
  }
}