 :root{
    --wrap: 1220px;
    --text: #111;
    --line: #e9e9e9;
    --bg: #fff;
    --muted: #f2f2f2;
    --muted-hover: #e0e0e0;
    --card-hover: #fafafa;
  }


.mv02 { width: 100%; }

/* 共通：画像は幅100% */
.mv02__img{
  width: 100%;
  height: auto;
  display: block;
}

/* 初期：スマホ表示 */
.mv02__img--pc{ display: none !important; }
.mv02__img--sp{ display: block !important; }

/* PC以上：PC画像に切替 */
@media (min-width: 768px){
  .mv02__img--pc{ display: block !important; }
  .mv02__img--sp{ display: none !important; }
}







/* 初期状態（ここが上書きされると動かないので !important を付ける） */
.mv__base{
  opacity: 0 !important;
  transform: scale(1.03) !important;
  will-change: opacity, transform;
}
.mv__overlay{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;

  opacity: 0 !important;
  transform: translateY(10px) !important;
  will-change: opacity, transform;
}

/* 発火後 */
.mv.is-anim .mv__base{
  animation: mvBase 1.6s ease-out forwards;
}
.mv.is-anim .mv__overlay{
  animation: mvOverlay 1.8s ease-out forwards;
  animation-delay: 1.0s;
}

@keyframes mvBase{
  to { opacity: 1; transform: scale(1); }
}
@keyframes mvOverlay{
  to { opacity: 1; transform: translateY(0); }
}



  /* ===== 共通 ===== */
  .page {
    color: var(--text);
    background: var(--bg);
  }

  .wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0px 12px;
  }



  /* メイン画像 */
  .hero {
    background: #111;
  }
  .hero__inner {
    max-width: var(--wrap);
    margin: 0 auto;
  }
  .hero__img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* 説明文（任意） */
  .lead {
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
    margin: 40px 0;
  }
  @media (max-width: 600px) {
       .lead {
        font-size: 14px;
      }
}


p.subTtl{
  text-align: center;
    padding: 35px 0 10px;
    font-weight: bold;
    font-size: 18px;
}

  /* ===== 5つのショートカット ===== */
  .icon-nav {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    margin: 0 0 26px;
  }

  .icon-nav__list {
    list-style: none;
    margin: 0;
    padding: 0 20px 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .icon-nav__item {
    flex: 0 0 calc((100% - 20px) / 3); /* モバイル: 3つ */
  }

  /* モバイル: 下2個を2列に（= 4,5番目だけ50%） */
  .icon-nav__item:nth-child(n+4) {
    flex-basis: calc((100% - 10px) / 2); /* 2つ */
  }

  .icon-nav__link {
    display: grid;
    justify-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text);
    padding: 8px 6px;
    border-radius: 12px;
    -webkit-tap-highlight-color: transparent;
    transition: transform .15s ease, background-color .15s ease;
  }

  .icon-nav__icon {
    width: 80px;
    height: 80px;
    background: var(--muted);
    display: grid;
    place-items: center;
    transition: background-color .15s ease;
  }

  .icon-nav__icon img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    display: block;
  }

/* テキスト＋矢印を縦並び */
.icon-nav__text {
  font-size: 12px;
  line-height: 2.4;
  font-weight: 600;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

/* CSSだけで作る下矢印 ▼ */
.icon-nav__arrow {
  width: 8px;
  height: 8px;
  border-right: 1px solid #666;
  border-bottom: 1px solid #666;
  transform: rotate(45deg);   /* 下向き矢印になる */
  opacity: 0.8;
}



  /* hover / tap で暗め＆押せる感 */
  @media (hover:hover){
    .icon-nav__link:hover .icon-nav__icon { background: var(--muted-hover); }
    .icon-nav__link:hover { transform: scale(.97);  }
  }
  .icon-nav__link:active .icon-nav__icon { background: var(--muted-hover); }
  .icon-nav__link:active { transform: scale(.97);  }

/* PC: 5個を完全に均等割り */
@media (min-width: 768px){
  .icon-nav__list{
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 16px 130px;
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* ← 5等分 */
    gap: 0;
  }

  .icon-nav__item{
    width: 100%;
  }
}

  /* ===== 中見出し ===== */
  .section-title {
    text-align: center;
    font-weight: 700;
    margin: 35px 0 10px;
    font-size: 24px;
  }

    @media (max-width: 600px) {
       .section-title {
        font-size: 16px;
      }
}

  .section-subtext{
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 18px;
  }

  /* ===== 中見出し下：2つリンク ===== */
  .mini-nav {
    margin: 0 0 45px;
  }
  .mini-nav__list{
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 80%;
    margin: 0 auto;
  }

        @media (max-width: 600px) {
 .mini-nav__list{
        width: 100%;
      }
}

   .mini-nav__list li a img{width: 25%}

  .mini-nav__link{
    text-decoration: none;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 10px;
    display: grid;
    gap: 6px;
    justify-items: center;
    background: #fff;
    transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .mini-nav__thumb{
    width: 100%;
    aspect-ratio: 16/9;
    background: #111;
    border-radius: 10px;
  }
  .mini-nav__text{
    font-size: 16px;
    font-weight: 700;
  }
        @media (max-width: 600px) {
 .mini-nav__text{
        font-size: 12px;
      }
}


  /* アクション分かる（hover/active/focus） */
@media (hover:hover){
  .mini-nav__link:hover{
    border-color: #111;        /* 黒枠 */
    transform: translateY(-2px);
    background: #fff;          /* 背景は変えない */
  }
}

.mini-nav__link:active{
  border-color: #111;
  transform: translateY(0);
  background: #fff;
}

.mini-nav__link:focus-visible{
  outline: none;
  border-color: #111;
}

  /* ===== 商品エリア ===== */
  .products {
    background: #f7f7f7; /* 画像のグレー帯イメージ */
    padding: 26px 0 50px;
    margin-top: 8px;
  }

  .products__title{
    text-align: center;
    font-weight: 800;
    margin: 25px 0 40px;
    font-size: 24px;
  }

   @media (max-width: 600px) {
           .products__title{
        font-size:20px;
      }
}

  .product-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* SP: 2列 */
    gap: 30px;
  }

 @media (max-width: 600px) {
         .product-grid{
        gap: 14px;
      }
}

  /* PC: 3列 / max1220 */
  @media (min-width: 768px){
    .product-grid{
      grid-template-columns: repeat(3, 1fr);
      gap: 35px;
    }
  }

  .product-card{
    text-decoration: none;
    color: var(--text);
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #ddd;
    display: grid;
    grid-template-rows: auto 1fr;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
    -webkit-tap-highlight-color: transparent;
  }


.product-card__main-link{
  display: block;
  text-decoration: none;
  color: inherit;
}
  .product-card__img{
    width: 100%;
    aspect-ratio: 4/4;
    background: #111; /* 画像未設定時のダミー */
    display: block;
  }

  .product-card__body{
    padding: 10px 10px 12px;
    display: grid;
    gap: 6px;
  }

  .product-card__title{
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    padding: 10px 10px 0;
  }

 @media (max-width: 600px) {
         .product-card__title{
        font-size: 3.4vw;
        padding: 5px 5px 0;
      }
}

  .product-card__desc{
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    padding: 0 0 0 10px;
  }
 @media (max-width: 600px) {
           .product-card__desc{
        font-size: 2.8vw;
        padding: 0 0 0 5px;
      }
}


  /* 下段の「小さい画像 + 右テキスト」 */
.product-card__meta{
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

 @media (max-width: 600px) {
         .product-card__meta{
margin-top: 0px;
      }
}

.product-card__meta-icon{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
  flex: 0 0 auto;
  border: 1px solid #e6e6e6;
  background: #fff;
  margin: 0 5px 0 10px;
}

.product-card__meta-text{
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
  color: #111;
  position: relative;
  top: -10px;  /* ← 数値を調整（-1px〜-4pxくらいで微調整） */
}


 @media (max-width: 600px) {
         .product-card__meta-text{
 font-size: 10px;
      }
}


  /* 「リンクだ」と分かるアクション */
  @media (hover:hover){
    .product-card:hover{
      transform: translateY(-2px);
      border-color: #cfcfcf;
      background: #fbfbfb;
      box-shadow: 0 8px 18px rgba(0,0,0,.08);
    }
  }
  .product-card:active{
    transform: translateY(0);
    background: #fbfbfb;
  }
  .product-card:focus-visible{
    outline: 2px solid #111;
    outline-offset: 4px;
  }

  #subheading,
#products {
  scroll-margin-top: 100px; /* ヘッダー高さに合わせて調整 */
}


#productsHangerrack,#productsDininng,#productsLaundrychest,#productsWood{background: #fff;}

.more-btn { width: 340px !important;}

 @media (max-width: 600px) {
         .more-btn { width: 280px !important; font-size:12px; }
}

  /* スムーススクロール（CSS） */
  html { scroll-behavior: smooth; }


  .wrap2{
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 12px;
}

/* 一覧 */
.tile-grid{
  list-style: none;
  margin: 0;
  padding: 0;

  display: grid !important;           /* ← 既存CSSに負けないように */
  grid-template-columns: 1fr 1fr;      /* PC：2列 */
  gap: 28px;
}

/* スマホ：1列 */
@media (max-width: 767px){
  .tile-grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* カード */
.tile{
  display: block;
}

/* ダミー画像 */
.tile__thumb{
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #d9d9d9;
}

/* テキスト */
.tile__title{
  margin-top: 12px;
  font-size: 22px;
  font-weight: 700;
}
