﻿@charset "UTF-8";

/* PC用のCSSはﾒﾃﾞｨｱｸｴﾘの外に記述する */
/* 全画面表示CSS */

.hero1 {
  height: 100vh; /* 全画面表示 */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  }


/* 表示調整用CSS */

body{
  margin: 0;
  padding: 0;
  background: #ffffff;
padding-top: 30px; 
}

  /* スライダー */
.slider {
    position: relative;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
     margin: 0;
    padding: 0;
}

/* スライド画像のコンテナ */
.slides {
    width: 100%;
    height: 100%;
    position: relative;
     margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
.hero1, .slide, .slider {
  height: 80vh!important;
margin-bottom: -5vh; /* 外側から下を削る（スライドが下にはみ出す） */
}
}

h1 {
  text-align: center;
  margin: 20px 0;
}

@media (max-width: 600px) {
  .site-logo img {
    max-width: 150px;
  }
}

/* PC 大画面 */
@media (min-width: 1200px) {
  .site-logo img {
    max-width: 250px;
  }
}





.woodbox-title {
  text-align: center;
  margin: 20px 0;
}

.woodbox-title a {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}






#canyonsawmill {
  position: fixed;
  top: 20px;
  left: 20px;   
  z-index: 999;
}

/* PC の時だけ中央寄りにする */
@media (min-width: 769px) {
  #canyonsawmill {
    left: 260px;   /* ← 好きな数値に調整できます */
  }
}

#canyonsawmill img {
  width: 80px;          /* PC表示サイズ（元サイズちょうど） */
  height: auto;
}

/* --- タブレット --- */
@media (max-width: 768px) {
  #canyonsawmill img {
    width: 60px;        /* 小さめに */
  }
}

/* --- スマホ --- */
@media (max-width: 480px) {
  #canyonsawmill img {
    width: 45px;        /* さらに小さく */
  }

}



@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@500&display=swap');




.counter-hero {
  position: relative;
  max-width: 1260px; /* ←固定せず最大幅に */
  width: 100%;
  height: 780px;
  margin: 0 auto;
  background-image: url('../img/top-009.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 40px;
  overflow: hidden;
}




.counter-hero1 {
  position: relative;
  max-width: 1260px; /* ←固定せず最大幅に */
  width: 100%;
  height: 780px;
  margin: 0 auto;
  background-image: url('../img/top-010.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 40px;
  overflow: hidden;
}
/* レスポンシブ対応 */
@media (max-width: 768px) {
  .counter-hero1 {
    height: 380px;
    padding-top: 30px;
  }
}

@media (max-width: 480px) {
  .counter-hero1 {
    height: 260px;
    padding-top: 20px;
  }
 
}





.counter-hero2 {
  position: relative;
  max-width: 1260px; /* ←固定せず最大幅に */
  width: 100%;
  height: 780px;
  margin: 0 auto;
  background-image: url('../img/top-011.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 40px;
  overflow: hidden;
}
/* レスポンシブ対応 */
@media (max-width: 768px) {
  .counter-hero2 {
    height: 380px;
    padding-top: 30px;
  }
}

@media (max-width: 480px) {
  .counter-hero2 {
    height: 260px;
    padding-top: 20px;
  }
 
}









.counter-hero3 {
  position: relative;
  max-width: 1260px; /* ←固定せず最大幅に */
  width: 100%;
  height: 780px;
  margin: 0 auto;
  background-image: url('../img/top-012.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 40px;
  overflow: hidden;
}
/* レスポンシブ対応 */
@media (max-width: 768px) {
  .counter-hero3 {
    height: 380px;
    padding-top: 30px;
  }
}

@media (max-width: 480px) {
  .counter-hero3 {
    height: 260px;
    padding-top: 20px;
  }
 
}






.counter-title {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.3rem;
  color: #333;
  letter-spacing: 2px;
  opacity: 0;
  animation: fadeIn 1.2s ease-out forwards;
}



.counter-description {
  padding: 30px 20px;
  background-color: #ffffff;
  text-align: center;
}

.counter-description p {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.1rem;
  color: #333;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .counter-hero {
    height: 380px;
    padding-top: 30px;
  }
  .counter-title {
    font-size: 2rem;
  }
  .counter-description p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .counter-hero {
    height: 260px;
    padding-top: 20px;
  }
  .counter-title {
    font-size: 1.3rem;
  }
  .counter-description p {
    font-size: 0.95rem;
  }

}







.counter-category {
  margin-top: 0px;
  padding-bottom: 70px;
  background-color: #fefefe;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  margin-bottom: 80px;
}








.woodbox-hero {
  position: relative;
  max-width: 1260px; /* ←固定せず最大幅に */
  width: 100%;
  height: 780px;
  margin: 0 auto;
  background-image: url('../img/top-009.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 40px;
  overflow: hidden;
}

.woodbox-title {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.6rem;
  color: #333;
  letter-spacing: 2px;
  opacity: 0;
  animation: fadeIn 1.2s ease-out forwards;
  margin-top: 0px;
}
.woodbox-title a {
  color: inherit;           /* 親要素の色を引き継ぐ */
  text-decoration: none;    /* 下線を消す */
}

.woodbox-title a:hover {
  text-decoration: underline; /* ホバー時に下線表示などお好みで */
}
/* 下の説明文 */
.woodbox-description {
  padding: 30px 20px;
  background-color: #ffffff;
  text-align: center;
}

.woodbox-description p {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.0rem;
  color: #333;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* アニメーション */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .woodbox-hero {
    height: 380px;
    padding-top: 30px;
  }
  .woodbox-title {
    font-size: 2rem;
  }
  .woodbox-description p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .woodbox-hero {
    height: 260px;
    padding-top: 20px;
  }
  .woodbox-title {
    font-size: 1.6rem;
  }
  .woodbox-description p {
    font-size: 0.95rem;
  }
}















.product-list {
  padding: 0px 20px;
  text-align: center;
  background-color: #ffffff;
}

.product-heading {
  font-size: 1.0rem;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  color: #333;
  position: relative;
  display: inline-block;
  margin: 10px auto 40px;
  padding: 0 20px;
  margin-bottom: 10px; 
}

/* 上下に線をつける */
.product-heading::before,
.product-heading::after {
  content: "";
  display: block;
  width: 100px;
  height: 1px;
  background-color: #ccc;
  margin: 10px auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 常に2列 */
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.product-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-item img {
  width: 100%;
  max-width: 100%;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-item img:hover {
  transform: scale(1.05);
}

.product-name {
  margin-top: 10px;
  font-size: 1rem;
  color: #333;
  font-family: 'M PLUS Rounded 1c', sans-serif;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  /*
  .product-grid {
    grid-template-columns: 1fr;
  }
  */

.product-heading {
    font-size: 1.2rem; /* woodbox と同じくらいに調整 */
}
}



.more-button-wrapper {
  text-align: center;
  margin-top: 30px;
  padding: 12px 30px;
}

.more-button {
  
  background-color: #333;
  color: white;
  border: none;
  padding: 12px 36px;
  font-size: 1rem;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.more-button:hover {
  background-color: #555;
}




@media (max-width: 480px) {
 .more-button {
    font-size: 0.8rem;
    padding: 7px 18px;
  }
}


















/* 各スライド */
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* 最初のスライドを表示 */
.slide.active {
    opacity: 1;
}

.block2{
  background: #333;
  padding: 50px 0;
  width: 100%;
  margin: 0 auto;
  color: #FFF;
  text-align: center;
}
.block3{
  background: #666;
  padding: 50px 0;
  width: 100%;
  margin: 0 auto;
  color: #FFF;
  text-align: center;
}

header {
width:100%;
  height: auto;
  margin: 0;
  text-align: center;
 position: sticky;
  top:0;
  margin: -30px;
  z-index: 1;
}






































#checkbox {
  opacity: 0;
  width: 0;
  height: 0;
}

/*///// lineMenu /////*/
#lineMenu {
  position: fixed;
  top: 1.5rem;
  right: 5rem;
  width: 36px;
  height: 16px;
  background: none;
  border: none;
  appearance: none;
  cursor: pointer;
}

#lineMenu,
#lineMenu span {
  z-index: 10;
}

#lineMenu span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #000;
  border-radius: 6px;
  transition: all 0.5s;
}

#lineMenu span:nth-of-type(1) {
  top: 0;
}

#lineMenu span:nth-of-type(2) {
  bottom: 0;
}

#lineMenu p {
  position: absolute;
  top: 0;
  left: 2.6rem;
  transform: translateY(-50%);
  font-weight: bold;
}

#checkbox:checked ~ label span:nth-of-type(1) {
  transform: translateY(6px) rotate(-20deg);
}

#checkbox:checked ~ label span:nth-of-type(2) {
  transform: translateY(-6px) rotate(20deg);
}

/*///// Global Nav /////*/
#globalNav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  width: 100dvw;
  height: 100vh;
  height: 100dvh;
  background-color: rgb(253, 245, 230, .9);
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s;
}

#checkbox:checked ~ #globalNav {
  visibility: visible;
  opacity: 1;
}

#globalNav ul {
  list-style: none;
  padding: 80px 4%;
  height: 100vh;
  height: 100dvh;
  overflow-y: scroll;
}

/*///// Global Nav and Webpage style /////*/
#globalNav li {
  margin: 0 auto 0.3rem;
  max-width: 800px;
  border-left: 6px solid #333;
}

#globalNav li a {
  display: block;
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, .5);
  color: #333;
  text-decoration: none;
  transition: all 0.5s;
}

#globalNav li a:hover {
  background-color: rgba(255, 255, 255, .8);
  padding-left: 2.5rem;
}


#pattern1 { margin: 0 auto 0.3rem;
  max-width: 800px;
  border-left: 1px solid #333;


}


summary {  background-color: rgba(255, 255, 255, .5);
  color: #333;
  text-decoration: none;
  transition: all 0.5s;
height: 2vh;
 padding:  4%;

}


#pattern1 li {
  margin: 0 auto 0.3rem;
  max-width: 800px;
  border-left: 6px;
}



































  .responsive-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; /* 中央配置 */
  }














   .textbox {
        position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      writing-mode: vertical-rl;
      text-orientation: mixed;
      font-family: 'Noto Serif JP', serif;
      font-size: 1.6rem;
      color: #333;
      line-height: 2;
    }
    .vertical {
        writing-mode: vertical-rl;
        text-orientation: mixed;
    }
    .vertical__part {
        text-orientation: upright;
    }


@media (max-width: 768px) {
  .vertical {
    font-size: 4.5vw !important;
    padding: 0.4em 0.8em;
    line-height: 1.3;
  }
}

/* スマホ向け */
@media (max-width: 480px) {
  .vertical {
    font-size: 5.2vw !important;
    padding: 0.3em 0.6em;
    line-height: 1.2;
  }
}





















.product-desc {
    font-size: 1.0rem;
 /* 文字を小さくする */
    color: #333; /* 少し薄い色にする（任意） */
    margin-top: -20px;
   font-weight: bold;
}
.price {
    font-size: 1.0em;
    font-weight: bold;
    color: #333;
     margin-top: -10px;
}
.product1 h2 { /* 商品名の高さを統一 */
   margin-top: -20px;


}

.product1 p { /* 価格や説明文の高さを統一 */
    min-height: 30px; /* 必要に応じて調整 */
}
.section-title {
    text-align: center;
    margin: 60px 0 40px; /* 商品との間隔を広げる */
    font-size: 24px;
    font-weight: bold;
    width: 100%;
    display: block;
    position: relative;
    padding: 10px 0;
}
.section-title::before, 
.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background-color: #333; /* 線の色 */
    margin: 10px auto;
}


.container1 {
   width: 100%;
    max-width: 100%;
    margin: 20px auto;
    text-align: center;
}
.product1-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  align-items: stretch; /* 高さを均等に */
}

.product1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  
   min-height: 400px;
}

.product1 img {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  
}


.product-details {
     display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* 高さを均一に */
}


h2 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.2rem;
  color: #333;
  letter-spacing: 2px;
 
  margin-top: 0px;
}

















@media (max-width: 768px) {
    .product1-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .product1-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}









/* フッター全体 */
footer {
    background-color: #fff;
    color: #696969;
    padding: 40px 20px;
    font-size: 14px;
    margin: 0;
    padding: 0;
}

/* フッターのコンテナ */
.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

/* フッター各セクション */
.footer-section {
    flex: 1;
    min-width: 250px;
    margin: 10px;
}

/* セクションタイトル */
.footer-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 2px solid #696969;
    padding-bottom: 5px;
}

/* ナビメニューのリスト */
.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 8px 0;
}

.footer-section ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #fff;
}

/* SNSリンク */
.social-links a {
    display: inline-block;
    margin-right: 10px;
    transition: transform 0.3s;
}

.social-links a img {
    width: 30px;
    height: 30px;
}

.social-links a:hover {
    transform: scale(1.1);
}

/* フッター下部のコピーライト */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid#696969;
    margin-top: 20px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 20px;
    }

    .social-links {
        justify-content: center;
    }
}





