*{
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: 'tekito';
  src: url('sozai/cap/TekitouPoem.ttf') format('truetype');
  font-weight: 100;
}
@font-face {
  font-family: 'tekito';
  src: url('sozai/cap/TekitouPoem_SemiBold.ttf') format('truetype');
  font-weight: 300;
}
@font-face {
  font-family: 'tekito';
  src: url('sozai/cap/TekitouPoem_Bold.ttf') format('truetype');
  font-weight: 500;
}
@font-face {
  font-family: 'tekito';
  src: url('sozai/cap/TekitouPoem_ExtraBold.ttf') format('truetype');
  font-weight: 700;
}

body{
  background-color: #FFE100;
  overflow-x: hidden;
  font-family: sans-serif;
}
.tekito{
    font-family: 'tekito', sans-serif;
    font-weight: 500;
}

header{
    background-color: #F2EFEB;
    width: 100%;
    height: 140px;
    position: fixed;
    box-sizing: border-box;
    z-index: 10;
}

header nav{
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

}

header h1{
  position: absolute;
  left: 50%;
  /* top: 50%; */
  transform: translate(-50%, -50%);
  margin: 0;
  display: block;
  /* z-index: 1; */
}
header h1 img{
  height: 80px;
  width: auto;
}

header img{
  height: 28px;
  width: auto;
}

header ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    list-style: none;
    margin: 0 20px;
    height: 100px;
}

header ul li{
  display: flex;
  justify-content: center;
  gap: 20px;
}

header p{
  display: flex;
  justify-content: center;
  background-color: black;
  color: #D9FF00;
  height: 40px;
  align-items: center;
  font-size: 10px;
}




/* ハンバーガーボタンのスタイル（デフォルトのボタン枠線を消す） */
.menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex; /* 画像の余白を消すため */
}
.menu-btn img {
  height: 28px; /* 既存のheader imgに合わせる */
  width: auto;
}

/* モバイルメニュー（全画面オーバーレイ） */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 40%;
  height: 100vh;
  background-color: rgba(242, 239, 235, 0.98); /* 背景色(#F2EFEB)を少し透過 */
  z-index: 100; /* ヘッダーより上に表示 */
  transform: translateX(-100%); /* 最初は左に隠しておく */
  transition: transform 0.3s ease-in-out; /* スライドのアニメーション */
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

/* クラスがついたら表示 */
.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-inner {
  width: 100%;
  text-align: center;
  position: relative;
}

/* 閉じるボタン */
.close-btn {
  position: absolute;
  top: 30px;
  left: 46px;
  background: none;
  border: none;
  font-size: 40px;
  cursor: pointer;
  color: #000;
}

.mobile-menu nav{
  display: flex;
  flex-direction: column;
  margin-top: 100px;
  overflow-y: scroll;
}

/* メニュー内のリンクスタイル */
.mobile-menu nav ul {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.mobile-menu nav ul li {
  margin: 20px 0;
}

.mobile-menu nav ul li a {
  font-size: 12px;
  font-weight: bold;
  color: black;
  text-decoration: none;
}



.sns-hamburgermenu{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px;
    list-style: none;
  }
.sns-hamburgermenu img{
     filter: brightness(0) saturate(0%) invert(0%) sepia(0%) saturate(0%) hue-rotate(0) brightness(105%) contrast(101%);;
  }


main article{
  padding-top: 140px;
  display: block;

}
article ul{
    position: relative;
    height: auto;
    width: 100%;
    list-style: none;

}

.top img{
    width: 100%;
    height: auto;
}

.caption{
    display: flex;
    justify-content: center;
    text-align: center;
    height: 300px;
    align-items: center;
}
.caption p.tekito{
  font-weight: 300;
  font-size: 18px;
  color: #333;
  line-height: 1.2;
}

.lineup{
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
}

.lineup ul {
  display: grid;
  list-style: none;
  padding: 6px 0;
  margin: 0;
  background-image: 
    url('sozai/cap/line-x.svg'), /* 上の線 */
    url('sozai/cap/line-x.svg'); /* 下の線 */
  background-position: top left, bottom left;
  background-repeat: repeat-x, repeat-x;
  background-size: auto 6px; 
}

.lineup li {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  
  /* 各アイテムの「右」に縦線、「下」に横線を敷く */
  background-image: 
    url('sozai/cap/line-y.svg'), /* 右の縦線 */
    url('sozai/cap/line-x.svg'); /* 下の横線 */
  background-position: 
    right top, 
    left bottom;
  background-repeat: 
    repeat-y, /* 縦方向にリピート */
    repeat-x;
  background-size: 
    6px auto, /* 縦線の太さ */
    auto 6px; /* 横線の太さ */
}

.lineup div{
  width: 70%;
}
.lineup img{
  width: 100%;
  height: auto;
}

h2{
  font-size: 24px;
}
.jp_title{
  font-size: 16px;
  font-family: 'tekito', sans-serif;
  line-height: 1.2;
}

#cap01{
    width: 100%;
    height: auto;
    padding-top: 100px;
    padding-bottom: 40px;
}
#cap02{
    width: 100%;
    height: auto;
    padding-bottom: 40px;
}
#cap03{
    width: 100%;
    height: auto;
    padding-bottom: 40px;
}
#cap04{
    width: 100%;
    height: auto;
    padding-bottom: 40px;
}
#cap05{
    width: 100%;
    height: auto;
    padding-bottom: 40px;
}
#cap06{
    width: 100%;
    height: auto;
    padding-bottom: 40px;
}

.title_img{
  display: flex;
  width: 100%;
  height: auto;
  justify-content: center;
}
.title_img img{
  width: 100%;
  height: auto;
}
.visual{
  width: 100%;
  height: auto;
}
.cap_info{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  margin: 20px;
}
.br01{
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333;
}
.br01 ul{
    display: flex;
    justify-content: center;
    gap: 8px;
}



main section{
  margin: 40px 0;
}


.product-list{
  display: flex;
  justify-content: center;
}
a.product-link{
    color: #333;
    text-decoration: none;
    font-size: 12px;
  }
  p.product-name{
  margin-bottom: 4px;
}


main section ul{
    width: 100%;
    list-style: none;
    overflow-x: auto;
    display: flex;
}

main section li{
    display: flex;
    justify-content: flex-start;
  }


footer{
    background-color: #000;
    padding: 20px;
    background-position: center;
    background-size: cover;
    padding: 40px 0 40px;
    text-align: center;
  }

footer img.rogo{
  height: 80px;
}

footer h3{
    color: #F2EFEB;
    font-size: 16px;
  }

  footer ul{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    list-style: none;
    margin: 40px;
  }

  footer ul li a{
    color: #F2EFEB;
    font-size: 12px;
    text-decoration: none;
    transition: 1ms;
  }
  footer ul li a:hover{
    color: #D9FF00;
  }

footer ul.sns-footer{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px;
    list-style: none;
  }

  /* 彩度・明度・コントラストを操作して目的の色に近づける*/
footer img{
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(199deg) brightness(105%) contrast(101%);;
    transition: 1ms;
}
footer img:hover{
    filter: none;
}

  footer p{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
    font-size: 12px;
    color: gray;
  }


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

.pc_top { display: none !important; }
.sp_top { display: block !important; }

header{
  height: 120px;
}
header ul{
  height: 80px;
}
header h1 img{
  height: 60px;
  width: auto;
}
.close-btn {
  top: 20px;
  left: 26px;
}
.sns-hamburgermenu{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    list-style: none;
    gap: 0px;
}
.mobile-menu nav ul li {
  margin: 10px 0;
}


main article{
  padding-top: 120px;
}

main section{
  margin: 20px 0;
}


.lineup ul {
    grid-template-columns: 1fr 1fr; /* 2列 */
  }
  
  /* 右端（2, 4番目）の右線を消して、下の横線だけにする */
  .lineup li:nth-child(2n) {
    background-image: url('sozai/cap/line-x.svg');
    background-position: left bottom;
    background-size: auto 6px;
    background-repeat: repeat-x;
  }
  
  /* 左下（5番目）の下線を消して、右の縦線だけにする */
  .lineup li:nth-child(5) {
    background-image: url('sozai/cap/line-y.svg');
    background-position: right top;
    background-size: 6px auto;
    background-repeat: repeat-y;
  }
  
  /* 右下（6番目）は両方消す */
  .lineup li:last-child {
    background-image: none;
  }



img.product-img{
    width: 120px;
    height: 100px;
    display: block;
    object-fit: cover;
  }

div.product-info{
  width: 120px;
  padding: 8px;
  box-sizing: border-box;
  }

}


  @media screen and (min-width: 768px){
.pc_top { display: block !important; }
.sp_top { display: none !important; }

header ul{
    margin: 0 40px;
  }
header ul li{
  gap: 40px;
}

.caption p.tekito{
  font-size: 24px;
}

.lineup ul {
    grid-template-columns: 1fr 1fr 1fr; /* 3列 */
  }
  
  /* 右端（3, 6番目）の右線を消して、下の横線だけにする */
  .lineup li:nth-child(3n) {
    background-image: url('sozai/cap/line-x.svg');
    background-position: left bottom;
    background-size: auto 6px;
    background-repeat: repeat-x;
  }
  
  /* 下の段（4, 5番目）の下線を消して、右の縦線だけにする */
  .lineup li:nth-child(4),
  .lineup li:nth-child(5) {
    background-image: url('sozai/cap/line-y.svg');
    background-position: right top;
    background-size: 6px auto;
    background-repeat: repeat-y;
  }
  
  /* 右下（6番目）は両方消す */
  .lineup li:last-child {
    background-image: none;
  }

div.br01{
  margin: 0 80px;
}

.title_img img{
  width: 50%;
  height: auto;
}
.visual{
  width: 50%;
  height: auto;
}
h2.tekito{
  font-size: 32px;
  font-weight: 500;
}
.jp_title{
  font-size: 20px;
}

main section div.title{
  padding-right: 40px;
  padding-left: 40px;
}

img.product-img{
    width: 252px;
    height: 340px;
    display: block;
    object-fit: cover;
  }

div.product-info{
  width: 120px;
  padding: 8px;
  }
  
ul.product-list{
  display: flex;
  padding-left: 40px;
}
ul.product-list li{
  gap: 40px;
}

  }