@charset "UTF-8";

/* 全体 */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* border: red solid 1px; */
}

/* 基本 */
:root{
    --v-space:clamp(90px,9vw,120px);
}

body{
    /* background-color: #892621; */
    padding-top: 112px;

}

img{
    display: block;
    max-width: 100%;
    height: auto;

}

/* 横幅と左右の余白 */
.w-container{
    width: min(92%,1166px);
    margin: auto;
    position: relative;

}

/* ヘッダー */
.header{
    height: 112px;
    background-color: #fff;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 900;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);

}

.header-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;

}

/* ナビゲーションボタン */
.navbtn{
    outline: none;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #892621;
    font-size: 30px;

}

.open .navbtn{
    z-index: 110;
    color: #fff;

}

.navbtn .fa-bars{
    display: revert;

}

.open .navbtn .fa-bars{
    display: none;

}

.navbtn .fa-times{
    display: none;

}

.open .navbtn .fa-times{
    display: revert;

}

@media(min-width:768px){
    .navbtn{display: none;
    }
}

/* ナビゲーションメニュー：モバイル */
@media(max-width:767px){
    .nav{
        position: fixed;
        inset: 0 -100% 0 100%;
        z-index: 100;
        background-color:rgba(112, 112, 112, 0.8);
        transition: transform 0.3s;
    }

    .open .nav{
        transform: translate(-100%, 0);
    }

    .open body{
        position: fixed;
        overflow: hidden;
    }
}

.nav ul{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 40px;
    list-style: none;
    text-decoration: none;

}

.nav ul a{
    text-decoration: none;
    color: #fffff0;
}

/* ▼ モバイル版（767px以下）だけ適用 */
@media (max-width: 767px) {
  /* 「アイテム」リンクを非表示にする */
    .dropdown > a {
      display: none;
    }
}

/* ナビゲーションメニュー：PC */
@media(min-width:768px){
    .nav ul{
        flex-direction: row;
        gap: 40px;

    }

    .nav ul a{
        text-decoration: none;
        color:#707070;

    }

    .nav > li > li{
        width: 20%;

    }

    /* サブメニュー初期状態（非表示） */
    .submenu{
        display: none;
        position: absolute;
        background: #fff;
        padding: 5px 0;
        z-index: 10;
        left: -30%;

    }

    /* サブメニュー内のリンク設定 */
    .submenu li{
        /* padding: 0px 20px; */
        height: 0;
        overflow: hidden;
        transition-duration: 0.3s;
        display: block;
        white-space: nowrap;
        line-height: 0.5;

    }

    .submenu li a{
        line-height: 30px;
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        display: block;
        padding: 0px 10px; 
        text-decoration: none;
        text-orientation: mixed;
        color: #fffff0;

    }

    /* アイテムをホバーでサブメニュー */
    .dropdown:hover .submenu{
        display: block;
        
    }

    .dropdown:hover .submenu li{
        height: 40px;
        overflow: visible;
        display: block;
        background-color:rgba(169, 169, 169, 0.9);
        border-radius: 5%;

    }

    .dropdown:hover .submenu li:hover{
        background-color:rgba(112, 112, 112, 0.8);
    }

    .dropdown{
        position: relative;

    }
}

/* ヒーロー */
.hero{
    height: calc(100vh - 112px);
    background-image: url(img/hero767.jpg);
    background-position: center;
    background-size: cover;
    font-family: "Hina Mincho", serif;
    color: #fffff0;

}

.hero-container{
    height: 100%;
    position: relative;

}

.hero-container h1{
    position: absolute;
    top: 30%;
    left: 13%;
    text-align: center;
    font-size: clamp(1rem, 0.7876rem + 0.9061vw, 1.875rem);
    min-height: 0vw;
    color: #fffff0;
    white-space: pre-wrap;
}

/* 各文字が左から順にフェードイン */
.hero-container h1 span {
  display: inline-block;
  opacity: 0;
  filter: blur(2px);
  animation: letterFade 3.0s forwards;
}

@keyframes letterFade {
  0% {
    opacity: 0;
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}

/* モバイル改行 */
.sp-br{
    position: absolute;
    top: 105%;
    right: -15%;

}

@media(min-width:820px){
    .hero-container h1{
      top: 42%;
      left: 50%;
      transform: translateX(-50%);

    }
    .sp-br{
      position: static;
    }
}

.note{
    font-size: 0.9rem;
    text-align: right;
    color: #707070;
    background-color: #892621; 

}

/* 記事一覧 */
.heading{
    font-size: clamp(1.125rem, 0.9126rem + 0.9061vw, 2rem);
  }

.posts{
    padding: var(--v-space) 0;
    background-color: #892621; 

}

.posts .w-container{
    width: min(100%,1166px);

}

.posts-container{
    display: grid;
    grid-template-columns: repeat(2,1fr);

}

@media(min-width:768px){
.posts-container{
    grid-template-columns: repeat(3,1fr);
    gap: 10px 10px;
    padding: 0 15px 0 15px;
    }    
}

/* 記事一覧の記事 */
/* 写真をホバー、クリックした時に色が暗くなる */
.post img {
  transition: 0.3s ease; /* アニメーションをなめらかに */

}

.post:hover img{
  filter: brightness(70%); /* ← 明るさ70%で少し暗くなる */

}

.post a{
    display: block;

}

.post img{
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;

}

/* ソールドアウト */
.product {
  position: relative;
  display: inline-block;

}

.product a {
  display: block;

}

.product figure {
  margin: 0;

}

.product-image {
  display: block;
  width: 100%;
  height: auto;

}

/* SOLD OUT画像を上に重ねる */
.soldout {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none; /* ← リンクを邪魔しない */

}

/* ソールドアウト　詳細ページ */
.soldout-wrap {
  position: relative;
  display: inline-block;

}

/* SOLD OUT画像 */
.soldout-wrap .soldout {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none; /* ← リンクを邪魔しない */

}

@media(min-width:768px){
.post img{
    aspect-ratio: 3 / 2;

    }   
}

@supports not(aspect-ratio: 3 / 2){
.post img{
    height: 180px;

    }    
}

/* パーツの見出し */
.heading{
    font-family: "Hina Mincho", serif;
    min-height: 0vw;
    font-weight: 300;
    color: #fffff0;
    text-align: center;
    font-size: clamp(1.125rem, 0.9126rem + 0.9061vw, 2rem);

}
.heading span{
    display: block;
    font-size: clamp(0.8rem, 0.7515rem + 0.2071vw, 1rem);
    margin-bottom: 16px;

}


/* フッター */
.footer{
    padding: 50px 20px 0;
    background-color: #fff;
    color: #707070;
    font-size: 13px;
    text-align: center;

}

.footer-container{
    display: grid;
    gap: 40px;
    justify-items: center;

}

.footer-inner{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;

}

@media(min-width:768px){
    .footer-inner{
      flex-direction: row;   
      justify-content: space-evenly;
      align-items: center;
      width: 70%;
    
    }

    .footer-inner .logo{
      margin-right: auto;

    }
}

.footer-x svg{
    opacity: 0.8;
    transition: opacity 0.3s;
    vertical-align: middle;

}

.footer-x:hover svg{
    opacity: 1;

}

.footer-tel{
    font-size: 0.9rem;
    color: #707070;
    text-decoration: none;
    transition: color 0.3s;

}

.footer-tel:hover{
    color: #000;

}

.footer-copy{
    font-size: 12px;
    margin-bottom: 6px;

}


/* product */
.product-title{
  font-family: "Montserrat", sans-serif;

}

.product-section {
  background-color: #892621; 

}

/* 中央1166pxに白いカードを置く */
.product-section .inner {
  background-color: #fff;
  max-width: 1166px;
  margin: 0 auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);

}

/* モバイルでは縦並び */
.product {
  display: block;

}

/* 写真 */
.product-image img {
  width: 100%;
  height: auto;
  display: block;

}

/* 商品情報 */
.product-info {
  margin-top: 3.5rem;
  padding-left: 1rem;

}

.product-name {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  margin-top: 2rem;
  font-weight: bold;

}

.price {
  font-size: 1.5rem;
  color: #c00;
  font-weight: bold;
  margin: 1rem 0;

}

.stock {
  color: #555;
  margin-bottom: 1rem;
  margin-top: 1rem;

}

.contact {
  margin-top: 2.5rem;
  font-size: 1rem;

}

.order{
    margin-bottom: 1.5rem;
    color: #707070;

}

.contact a {
  color: #0078d7;
  font-weight: bold;
  font-size: 1.4rem;
  text-decoration: none;
  margin-top: 1rem;

}

.contact a:hover {
  text-decoration: underline;

}

.times{
    margin-top: 0.5rem;
    color: #707070;
    margin-bottom: 1.5rem;

    }

.operator {
  display: block;
  color: #666;
  font-size: 0.9rem;
  margin-top: 1rem;

}

/* ボタン */
.buy-btn {
  background: #0078d7;
  color: #fff;
  border: none;
  padding: 0.9rem 1.6rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;

}

.buy-btn:hover {
  background: #005fa3;

}

/* PC版（768px以上） */
@media (min-width: 768px) {
  .product {
    display: flex;
    gap: 2rem;
    align-items: flex-start;

  }

  .product-image {
    flex: 0 0 60%; /* 左60% */

  }

  .product-info {
    flex: 1; /* 右40% */
    margin-top: 0; /* 上余白リセット */
    padding-left: 0;

  }

  .product-name {
    font-size: 1.5rem;

  }

  .price {
    font-size: 1.8rem;

  }

  .contact {
    font-size: 1.1rem;

  }
}


/* 詳細ページ専用 */
.detail-container {
  /* padding: 2rem 1rem; */
  background-color: #892621;
  border-bottom: 2px solid #ddd;

}

.detail-container .w-container{
  background: #fff;
  padding: 2rem 2rem;
}

.detail-container p {
  line-height: 1.8;
  margin-bottom: 1.2em;
  color: #333;

}

.detail-container h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 600;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.4rem;
  text-align: center;

}

.detail-container .comment {
  font-style: italic;
  color: #555;
  margin-top: 1em;

}

@media (min-width: 768px){
    .detail-container{
        /* padding: 2rem 8rem; */
    }
}
