@charset "UTF-8";

html {
  font-size: 100%;
}

body {
  background-color: #e6e2d7;
  color: #000;
  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*/
#header {
  width: 100%;
  /* 背景を画面下まで設定 */
  height: 100vh;
  background-image: url(img/main-pc.jpg);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 60px 80px;
  margin-bottom: 180px;
  /* 「オンラインストアを見る」ボタンを配置するためのposition */
  position: relative;
  writing-mode: vertical-rl;
}

/*
「オンラインストアを見る」ボタン
positionで左下に配置
backgroundのrgbaで透過設定
*/
#header .onlinestore {
  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
flexで横並び　そのままだとタイトルが左に来るためrowreverseで順序を入れ替える*/

#news {
  margin-bottom: 180px;
  display: flex;
  flex-direction: row-reverse;
}

#news .section-title {
  font-weight: normal;
  line-height: 1;
  writing-mode: vertical-rl
}

#news .section-title .en {
  display: block;
  font-size: 2.25rem;
  letter-spacing: 0.1rem;
}

#news .list {
  padding: 80px 100px 0 0;
  writing-mode: vertical-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*/
.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;
}

/*
画像の上にテキストを重ねるためのpositionを設定
*/
.products .img {
  width: 65%;
  margin-top: 100px;
  position: relative;
}

/*
「position: absolute;」でテキストを画像の上に配置
左右の配置位置は「#products1」と「#products2」で個別に指定
*/
.products .text {
  width: 56%;
  color: #fff;
  padding: 50px 0;
  text-align: center;
  position: absolute;
  bottom: -20px;
}

/*
productsの共通定義以外は、idを指定（#products1、#products2）して個別に設定
*/
/*-------------------------------------------
Products1
-------------------------------------------*/
/*
そのままではタイトルが左にくるため、「row-reverse」で順序を入れ替える。
*/

#products1 {
  flex-direction: row-reverse;
}

#products1 .section-title {
  margin-left: 20px;
  writing-mode: vertical-lr;
}

#products1 .text {
  background: rgba(249, 233, 6, 0.6);
  left: -20px;
}

/*-------------------------------------------
Products2
-------------------------------------------*/
#products2 .section-title {
  margin-right: 20px;
  writing-mode: vertical-rl;
}

#products2 .text {
  background: rgba(149,42, 38, 0.6);
  right: -20px;
}


/*-------------------------------------------
Shop
-------------------------------------------*/
/*
iframeのwidthに100%を指定して全幅で表示する
「vertical-align: bottom;」を指定することで、Google Mapの下にできる隙間を消す
*/
#shop iframe {
  width: 100%;
  vertical-align: bottom;
}

/*footer*/
#footer {
  background-color: #fe5076;
  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;
}

#footer .inner .info {
  line-height: 2;
}

#footer .menu {
  font-size: 1rem;
  margin-right: 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;
}

/*sp*/
@media  section and  (max-width: 768px) {
  .wrapper {
    max-width: 100%;
  }

  /*header*/

  #header {
    background-image: url(img/main-sp.jpg);
    padding: 20px;
    margin-bottom: 80px;
  }

  #header .onlinestore {
    left: 20px;
    bottom: 20px;
  }

  /*news*/
  #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;
  }

  /*スマホの場合は４つ目以降を非表示にする*/
  #news .list dt:nth-of-type(n+4){
    display: none;
  }

  #news .list dd {
    padding: 15px 0 15px 12px;
  }

  /*三つ目の左側に罫線*/
  #news .list dd:nth-of-type(3){
    border-left: 1px solid #000;
  }

  /*スマホの場合は４つ目以降を非表示にする*/
  #news .list dd:nth-of-type(n+4){
    display: none;
  }

  /*products*/
  .products {
    margin-bottom: 100px;
  }

  .products .section-title .ja {
    font-size: 1.5rem;
  }

  /*スマホの場合は英語タイトル非表示*/
  .products .img {
    width: 90px;
    margin-top: 70px;
  }

  .products .text {
    width: 64px;
    font-size: 0.875rem;
    padding: 30px 0;
  }

  /*products1*/
  #products1 .section-title {
    margin-left: 10px;
  }

  /*products2*/
  #products2 .section-title {
    margin-right: 10px;
  }

  /*footer*/
  #footer {
    padding: 40px 20px 30px 20px;
  }

  #footer .inner .logp {
    margin-left: 25px;
  }

  #footer .menu li {
    margin-left: 10px;
  }

  #footer .menu {
    font-size: 0.875rem;
    margin-right: 25px;
  }
  
}
 