@charset "utf-8";

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(#000 0.5); /* 半透明白背景 */
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* 軽く影つけて浮かせる */
  backdrop-filter: blur(5px); /* 対応ブラウザで背景ぼかしも */
}

img {
    vertical-align: bottom;
    max-width: 100%;
    width: 80%;
    box-shadow: 5px 5px 5px#333;

}
h2 {
    text-align: center;
    /* margin: 40px; */
}
ul {
    display: flex;
    margin: 10px;
    justify-content: center;
    font-weight: bold;
    color: #333;

}

li {
    padding-right: 100px;
}

h1 {
    margin: 10px 40px;
}
.flex {
    display: flex;
    /* margin: 40px; */

 
}
.flex .h2 {
    padding: 10px 0 ;
    box-shadow: 5px 5px 10px #333;
    font-size: 16px;
    margin-top:150px;
}
.flex .dt-img2 {
    margin-top: 100px;
}
.flex p,
.flex h2{
    text-align: center;
    font-size: 20px;
    line-height: 2;
    margin-bottom: 20px
}
.flex div{
    margin: 20px;
}


footer{
    text-align: center;
    margin: 100px;
}
section {
    display: flex;
}
.detail {
    list-style: disc;
    font-size: 16px;
    padding-left: 20px;
    display: block;
}
.detail-img {
    margin: 20px ;
padding: 20px;
}

section .detail-text {
    font-size: 1.5rem;
}
section .detail-p {
    text-align: left;
}
.price {
    font-weight: bold;
}

h4 {
    margin-top: 100px;
    font-weight: normal;
    line-height: 1.5;
}
.buy{
    padding: 10px 30px;
    border-radius: 50px;
    box-shadow: 3px 3px 6px #333;
background-color: #e9bc53;
font-size: 1.5rem;

}



.first-view {
  width: 100%;
  height: 60vh;
  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;


}
.first-view-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 25vh;
  z-index: -1;
 margin: 20px;
 box-shadow: 3px 3px 2px #333;
}

.first-view-slider img {
  width: 100%;
  height: 25vh;
  object-fit: cover;
  background-color: #f4f4f4;
padding: 20px 60px;
margin: 0 10px;

box-shadow: 3px 3px 3px #333;
}
header button {
   
    width: 50px;
    height: 50px;
    position:absolute;
    top: 3%;
    right: 3%   ;
    display: block;
}
.line {
    
display: block;
width: 90%;
height: 4px;
border-radius: 5px;
background-color: #000;
position: relative;

}
.line:before,
.line::after {
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    border-radius: 5px;
    background-color: #000;
position: absolute; 
}
.line:before {
    
    top: -10px;

}

.line::after {
    
    top: 10px;

}
/* .toggle-menu-button.is-show .line {
    background-color: #00000000;
    transition: 0.5s;
}
.toggle-menu-button.is-show .line::before{
    top: 0;
    transform: rotate(45deg);
    background-color: #000;
    height: 3px;
    transition: 0.5s;
}
.toggle-menu-button.is-show .line::after{
    top: 0;
    transform: rotate(-45deg);
    background-color: #000;
    height: 3px;
    transition: 0.5s;
} */




@media screen and (max-width: 768px) {
  .flex {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }

  .h2 {
    width: 100%;
  }

  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 999;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  main {
    padding-top: 120px; /* headerの高さ分、余白あける */
  }

  nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  nav ul a li {
    font-size: 14px;
  }
.first-view {
  width: 100%;
  height: 60vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  /* padding: 削除 */
  /* margin: 削除 */
}

.first-view-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 25vh;
  z-index: -1;
  margin: 0;
  box-shadow: 3px 3px 2px #333;
}

.first-view-slider img {
  width: 100%;
  height: 25vh;
  object-fit: cover;
  background-color: #f4f4f4;
padding: 0 5px;
margin: 0 ;
  box-shadow: 3px 3px 3px #333;
}
 header button {
   
    width: 40px;
    height: 40px;
    position:absolute;
    top: 10;
    right: 10   ;
    display: block;
}

}
