﻿@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;
}

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

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

/* 各スライド */
.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;
}
#canyonsawmill {
  position: fixed;
  top: 2%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  text-shadow: 3px 3px 0 #fff;
  font-size: 3.4rem;


}
@media (max-width: 768px) {
   #canyonsawmill {
  font-size: 2rem;
  top: 1%;
  left: 40%;
}
}

@media (max-width: 480px) {
    #canyonsawmill {
  font-size: 2rem;
  top: 1%;
  left: 40%;
}
}



#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;
}






/* フルスクリーン背景 共通 */
.hero {
    position: relative;
    width: 100%;
    height: 100vh; /* 画面いっぱい */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* それぞれのセクションごとに異なる背景を設定 */
.hero-1 {
    background: url(../img/canyonsawmill-woodbox-pagetop.jpg) no-repeat center center/cover;
}
.hero-2 {
    background: url(../img/bottlestoragebox-pagetop.jpg) no-repeat center center/cover;
}
.hero-3 {
    background: url(../img/storageiscast-top2.jpg) no-repeat center center/cover;}

.hero-4 {
    background: url(../img/0-10.jpg) no-repeat center center/cover;}


/* 半透明のオーバーレイ */
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.0); /* 少し暗めにする */
}

/* テキストのスタイル */
.hero-text {
    width: 100%;
    top: 10%;
    position: absolute;
    color: white;
    padding: 10px;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
     text-align: center; 
    font-size: 1.2rem;
}


/* h1 見出しスタイル */
.hero-text h1 {
    text-align: center; 
    font-size: 5rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
     display: inline-block;
    padding: 8px 24px;
    top: 10%;
}
/* ボタン */
.btn {

    display: inline-block;
    margin-top: 15px;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.5); /* 少し暗めにする */
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.btn:hover {
    background: rgba(0, 0, 0, 0.8); /* 少し暗めにする */
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
   .hero-text h1 {
        font-size: 2rem;          /* 小さい画面では文字サイズを調整 */
        letter-spacing: 1px;
    }

  .hero-text {
        font-size: 16px;
        width: 90%;
    }
    .btn {
        padding: 10px 20px;
    }
.hero-3 {
        background: url(../img/storageiscast.jpg) no-repeat center center/cover;
    }
.hero-2 {
        background: url(../img/bottlestoragebox-top.jpg) no-repeat center center/cover;
    }
.hero-1 {
        background: url(../img/canyonsawmill-woodbox-top.jpg) no-repeat center center/cover;
    }
.hero-4 {
        background: url(../img/0-18.jpg) no-repeat center center/cover;
    }


}


.product-desc {
    font-size: 1.0em; /* 文字を小さくする */
    color: #333; /* 少し薄い色にする（任意） */
    margin-top: -20px;
   font-weight: bold;
}
.price {
    font-size: 1.2em;
    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%; /* 高さを均一に */
}


@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;
    }
}





