@charset "utf-8";

/* 背景の色 */

body{
    background-color: #f4f4f4;
}

.shop_area{
    background-color: #f4f4f4;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* 線 */
hr {
    border-top: 5px solid black;
}



.title{
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    color: #000000;
    font-size: clamp(14px, 2.0vw, 26px);
    text-shadow: 0px 20px 8px rgba(0, 0, 0, 0.4);
    font-weight: bold;
    margin: 50px 0 50px;
}





.book,
.goods{
    width: 60%;
    margin: 0 auto 50px; 
    padding-bottom: 10px;
    border-bottom: black solid 3px;
}

.book_title_area{
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.book_title{
    background-color: black;
    color: white;
    writing-mode: vertical-rl;
    order: 3;
    font-size: clamp(16px, 2.5vw, 30px);
    padding: 20px 10px;
    letter-spacing: 0.3em;
    margin-left: 15px;
}

.product_name{
    writing-mode: vertical-rl;
    order: 2;
}

.product_name h3 {
  font-size: clamp(16px, 2.5vw, 46px);
  font-weight: bold;
  color: black;
  text-shadow: 
    2px 2px 5px rgba(0,0,0,0.9),
    0 0 15px red;
  animation: shadow-flicker 1.5s infinite alternate;
}

@keyframes shadow-flicker {
  0%   { text-shadow: 2px 2px 5px rgba(0,0,0,0.8); }
}

.product_book img{
    width: 600px;
}

.book_description p{
    font-size: clamp(12px, 2.5vw, 13px);
    line-height: 2.0;
}

h4{
    margin-top: 10px;
}


.goods{
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.goods_title{
    background-color: black;
    color: white;
    writing-mode: vertical-rl;
    font-size: clamp(20px, 2.5vw, 35px);
    padding: 30px 10px;
    letter-spacing: 0.3em;
    margin-right: 5%;
}

.goods img{
    width: 60%;
    height: 50%;
}

.goods h3{
    background-color: black;
    color: white;
    font-weight: bold;
    text-align: center;
    font-size: clamp(16px, 2.5vw, 22px);
    margin-bottom: 10px;
}

.goods p{
    font-size: clamp(12px, 2.5vw, 14px);
}

.goods_area_1{
    display: flex;
    justify-content: center;
    gap: 5%;
}

.description{
    display: flex;
    margin-bottom: 30px;
    word-break:keep-all
}



.goods_page_area{
    width: 50%;
    height: 50%;
}

.goods_text{
    margin-left: 10px;
}




.note{
    margin: 0 auto 50px;
    font-size: 14px;
    background-color: #d9d9d9;
    width: 60%;
    line-height: 1.8;
    padding: 10px;
}

.shop_area img {
    animation: spooky-shake 2s infinite;
  }
  
  @keyframes spooky-shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(1deg); }
    50% { transform: rotate(-1deg); }
    75% { transform: rotate(1deg); }
  }

  .letter {
    opacity: 0;
    display: inline-block;
    transform: translateY(20px);
    animation: fadeInUp 1.5s forwards;
  }

  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }








  @media screen and (max-width: 768px) {
    .title h1 {
        font-size: 20px;
        text-align: center;
        padding: 0 10px;
      }

    .book, .goods {
      width: 90%;
      flex-direction: column;
      padding: 0;
      border-bottom: 2px solid black;
    }
  
    .book_title_area {
      flex-direction: column-reverse;
      align-items: center;
      text-align: center;
    }
  
    .product_book img {
      width: 100%;
      max-width: 100%;
      height: auto;
    }
  
    .book_title,
    .product_name {
      writing-mode: horizontal-tb;
      margin: 10px 0;
    }

    .book_title,
    .goods_title{
        padding: 10px 20px;
    }
  
    .goods {
      flex-direction: column;
      align-items: center;
    }
  
    .goods_title {
      writing-mode: horizontal-tb;
      margin: 0 auto 20px;
      text-align: center;
    }
  
    .goods_area_1 {
      flex-direction: column;
      gap: 30px;
    }
  
    .goods_page_area {
      width: 100%;
    }
  
    .description {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    .description img {
      width: 80%;
      height: auto;
    }
  
    .goods_text {
      margin: 10px 0 0;
    }
  
    .note {
      width: 95%;
      font-size: 12px;
      padding: 10px;
    }

    .description p,
    .book_description p{
      text-align: left;
    }
  }
  
  @media screen and (max-width: 480px) {
    .title h1 {
      font-size: 14px;
      text-align: center;
      padding: 0 10px;
    }
  
    .book_title,
    .product_name,
    .goods_title {
      font-size: 18px;
      letter-spacing: 0.1em;
    }
  
    .goods img {
      width: 100%;
      height: auto;
    }
  
    .footer_area_center {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    .footer_nav_area {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
  
    .sns_logo a {
      margin: 0 5px;
    }
  
    .note p {
      font-size: 11px;
    }
  }
  