@charset "UTF-8"

html{
  font-size: 100%;
  width: 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;
}

@media (max-width: 768px) {
  img {
    width: 100%; /* デバイス幅に合わせて縮小 */
    height: auto; /* 縦横比を維持 */
  }
}


li {
  list-style: none;
}

/***共通***/
.site-title {
  line-height: 1px;
  margin: 60px;
}
.site-title a {
  display: block;
}
.site-title img {
  width: 40px;
}
.wrapper {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
}
.bold {
  font-size: 1.2rem;
  font-weight: bold;
}

/***ヘッダー***/
#header {
  width: 100%;
  height: 100vh;
  background-image: url(img/mainvisual-pc.jpeg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  margin-bottom: 180px;
  writing-mode: vertical-rl;
}

#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.5;
}

#nav li {
  margin-left: 25px;
  font-size: 1.25rem;
}

#nav li:hover {
  opacity: 0.5;
}

/***news***/
#news {
  display: flex;
  margin-bottom: 180px;
  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: 0.875rem;
  margin-left: 15px;
}

#news .section-title .ja {
  display: block;
  font-size: 2.25rem;
  letter-spacing: 0.1em;
}
#news .list {
  writing-mode: vertical-rl;
  padding:  80px 100px 0 0;
}
#news .list dt {
  border-right: solid 1px #000;
  font-size: 0.95rem;
  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.1rem;
  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-rl;
}
#products1 .text {
  background: rgba(231, 201, 6, 0.815);
  left: 20px;
}

#products2 .section-title {
  margin-right: 20px;
  writing-mode: vertical-rl;
}
#products2 .text {
  background: rgba(246, 74, 47, 0.815);
  right: 20px;
}

#shop iframe {
  width: 100%;
  vertical-align: bottom;
}

#footer {
  background-color: #000;
  color: #fff;
}
#footer .inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  margin-bottom: 10px;
}

#footer .right {
  margin: 80px 80px 30px 40px;
}
#footer .left {
  margin: 80px 40px;
}

#footer .left a {
  display: inline-block; /* ブロック風に配置 */
  margin-right: 15px; /* リンク間に余白 */
  margin-bottom: 15px;
  text-decoration: none; /* 下線を削除 */
  color: #fff; /* テキストの色 */
  font-size: 16px; /* フォントサイズ */
  transition: color 0.3s; /* 色変更のアニメーション */
}

/* リンクをホバーしたときの効果 */
#footer .left a:hover {
  color: #e67e22; /* ホバー時の色変更 */
  text-decoration: underline; /* ホバー時に下線を表示 */
}

#footer .inner .left,
#footer .inner .right {
  writing-mode: vertical-rl;
}

#footer .inner .logo {
  width: 40px;
  margin-left: 60px;
}
#footer .inner .info {
  line-height: 3;
}
#footer .menu {
  font-size: 1rem;
  margin-right: 50px;
}
#footer .menu li {
  margin-left: 20px;
}
#footer .menu li:hover {
  opacity: 0.5;
}
#footer .copyright {
  font-size: 0.725rem;
  text-align: center;
  margin-top: 50px;
}

/***sp****/
@media screen and (max-width:768px) {

  .wrapper {
    max-width: 100%;
  }

  #header {
    width: 100%;
    height: 100vh;
    background-size: cover;
    margin-bottom: 80px;
  }
  #header .onlinestore {
    left: 20px;
    bottom: 80px;
  }
}

@media screen and (max-width:1250px) {
#news {
  margin-bottom: 80px;
  display:block;
  text-align: center;
}
#news .section-title{
  writing-mode: horizontal-tb;
}

#news .section-title .ja {
  font-size: 1.8rem;
  writing-mode: horizontal-tb;
  left: 20px;
}
#news .section-title .en {
  display: none;
}
  
#news .list {
  margin-top: 10px;
  writing-mode:horizontal-tb;
  padding: 20px 30px ;
}

#news .list dt {
  padding: 15px 12px 15px 5px;
}
#news .list dt:nth-of-type(n + 4) {
  display: none;
}
#news .list dd {
  padding: 20px 0px;
  margin: 0 auto;
  line-height: 2;
}

#news .list dd:nth-of-type(n + 4) {
  display: none;
}

#news .list dt,
#news .list dd:last-child {
  border: none;
}
}

@media screen and (max-width:768px){

.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 .menu li {
  margin-left: 10px;
}
#footer .menu {
  font-size: 0.875rem;
  margin-right: 25px;
}
}

@media screen and (max-width:615px){
  #footer .menu li {
    margin-left: 0px;
  }
  #footer .menu {
    font-size: 0.875rem;
    margin-right: 50px;
  }

  #footer .right {
    margin: 0;
  }
  #footer .left {
    margin: 0;
  }
  #footer .inner .logo {
    display: none;
  }
}
