@charset "utf-8";
/*
Theme Name: BIBILAB
Theme URI: https://www.bibi-lab.jp/
Description: ビビラボサイトテーマ。ここに管理画面＞外観でテーマ選ぶときに出てくる色々が表示されます。
Version: 1.0
Author: Kae
Author URI: https://www.bibi-lab.jp/
*/


/* 共通部分
--------------------*/

html{
    font-size:100%;
}

.small-txt{
  font-size: 0.8rem;
}
body{
    font-family:"NotoSans jp","NotoSans","Roboto",sans-serif; 
    line-height:1.7;
    color:#5A5A5A;
    overflow-x: hidden;/* 横スクロールを防止 */
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
a {
  text-decoration: none; /* リンクの下線を削除 */
  color: inherit; /* リンクの色を親要素の色に合わせる */
}
a:hover,
a:visited {
  color: inherit; /* ホバー時や訪問済みでも親の色を継承 */
}
img{
    max-width: 100%;
    height: auto;
    width: auto;
    vertical-align: middle;
}
.wrapper{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4% 30px;
}
h1 {
  margin: 0;
}
h2 {
  font-size: 1.2rem;
}
h3 {
  font-size: 1.15rem;
}


/*シリーズバナー*/
.series {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding-top: 10px;
  padding-bottom: 24px;
}
.series .banner {
  border-radius: 10% / 20%;
  width: 100%;
  max-width: 24%;
  height: auto;
  overflow: hidden; /* 角丸のはみ出し防止 */
}
.series img {
  object-fit: cover;
  width: 100%;  /* 親要素いっぱいに広げる */
  height: 100%; /* 親の高さに合わせる */
  display: block; /* 画像の下の隙間を消す */
}
.banner img{
  transition: opacity 0.3s; /* 画像の拡大と透明度のアニメーション */
}
.banner:hover img {
  opacity: 0.9; /* 画像を少し透明にして白っぽい印象に */
}

/* 共通スタイル　ページャー */
.pager ul {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0;
  margin: 30px 0;
  list-style: none;
}
.pager li {
  display: inline-block;
}
.pager li a,
.pager li span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;           /* 幅 */
  height: 40px;          /* 高さ：幅と同じで正円に */
  border: 1px solid #ccc;
  color: #5A5A5A;
  border-radius: 50%;    /* ここで丸くする */
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.pager li a:hover {
  color: #ffffff;
  background-color: #434343;
}
.pager li .current {
  background-color: #5A5A5A;
  color: #fff;
  pointer-events: none;
  border-color: #5A5A5A;
}

/* 共通スタイル　アニメーション */
/* AOS初期状態（アニメーション前）の移動距離を短く */
[data-aos="fade-left"] {
  transform: translate3d(-10px, 0, 0) !important;
}

[data-aos="fade-up"] {
  transform: translate3d(0, 20px, 0) !important;
}


/* 共通スタイル　ヘッダー */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  background-color: white;
  color: #5a5a5a;
  position: fixed;/*ヘッダーを画面上部に固定*/
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 20px;
  box-sizing: border-box;/*幅や高さの計算にパディングやボーダーを含める*/
  border-bottom: 1px solid #e8e8e8;
}
.logo {
  width: 150px;
}
.drawer_hidden {
  display: none;
}
.drawer_open {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 20px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 1010;
}
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #333;
  position: absolute;
  transition: 0.5s;
}
.drawer_open span:before {
  top: -8px;
}
.drawer_open span:after {
  top: 8px;
}

/* メニューの中身 */
.nav_content {
  position: fixed;
  top: 0;
  left: 100%; /* 画面外 */
  height: 100%;
  background-color: rgba(90, 90, 90, 0.95);
  z-index: 1000;
  text-align: center;
  padding-top: 100px;
  transition: 0.3s ease-in-out;
}
/* メニューリスト */
.nav_list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left; /* 文字を左寄せ */
  padding-left: 30px; /* 左の余白を追加 */
  width: 100%; /* 親要素の幅を超えないようにする */
  box-sizing: border-box; /* パディングを幅に含める */
}
.nav_list .series-item{
  text-indent: 1rem;/*シリーズ字下げ*/
  list-style: none; /* デフォルトのマーカーを消す */
}
.series-item li {
  position: relative; /* 疑似要素の位置調整のため必須 */
  padding-left: 20px; /* マーカー分のスペースを確保 */
}

.nav_item {
  margin: 30px 0;
  color: white;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.nav_item a {
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
  transition: color 0.2s;
}
.nav_item a:hover {
  color: #ddd;
}

.nav_item > a {
  display: inline-block;
  margin-bottom: 0;   /* ← ここで余白を消す */
  line-height: 1.5;   /* ← 必要なら詰める */
}
.nav_item .series-item {
  line-height: 1.5;
}
.nav_item > div > .series-item {
  margin-top: 0px; /* ここで初めて効いてくるようになる */
}
.nav_item.show {
  opacity: 1;
  transform: translateY(0);
}

/* ハンバーガーメニュー表示時のスタイル */
#drawer_input:checked ~ .nav_content {
  left: 75%; /* PCで画面の右1/4に展開 */
  width: 25%; /* メニューの幅を1/4に設定 */
}
#drawer_input:checked ~ .drawer_open span {
  background: transparent;
}
#drawer_input:checked ~ .drawer_open span:before {
  transform: rotate(45deg);
  top: 0;
}
#drawer_input:checked ~ .drawer_open span:after {
  transform: rotate(-45deg);
  top: 0;
}





/*TOPページ*/
/*------ TOPスライダー ------*/
.top-slider-logo{
  position: relative;
}
.slider-logo{
  position: absolute; /* 親要素(top-slider-wrapper)内で絶対配置 */
  top: 45%; /* 垂直方向のほぼ中央に配置 */
  left: 50%; /* 水平方向の中央に配置 */
  transform: translate(-50%, -50%); /* 左右の中央揃え */
  z-index: 10; /* スライダーより前面に表示 */
  width: 15%; /* 親要素の幅に対して30%の大きさに設定 */
  height: auto; /* アスペクト比を維持 */
}

.top-slider{
  width: 100%;
  margin-top: 80px;
  overflow: hidden;
}
.top-slider .slick-dots {
  position: static; /* ドットを画像外に移動 */
  text-align: center;
  margin-top: 5px; /* ドットと画像の間に余白を追加 */
  margin-bottom: 20px; /* ドットの下に余白を追加 */
}
.top-slider img{
  width: 100%;
  height: 100%;
  display: block;
}
.top-slider .slick-slide{
	height:auto!important;
}


/*------ ミニスライダー ------*/
.mini-slider div{
  text-align: center;
  color:#5A5A5A;
}
.mini-slider img {
  width: 80%; /* 必要に応じて調整 */
  margin: 10px auto;
}
.slider-caption p{
  margin: 10px 0 0 0;
  font-weight: bold;
}
.mini-slider .slick-prev, .slick-next {
  z-index: 10; /* 他の要素より前面に表示 */
  border-radius: 50%;
  top: 50%; /* 縦方向中央 */
  transform: translateY(-50%);
}
.mini-slider .slick-prev {
  left: 0; /* ラッパー内に収める */
}
.mini-slider .slick-next {
  right: 0; /* ラッパー内に収める */
}
.mini-slider {
  max-width: 100%; /* ラッパー内に収まるように設定 */
  position: relative; /* 矢印を内部に配置 */
}


/*------ その他TOP ------*/
.top-obi {
  text-align: center;
  border-width: 2px 0 2px 0;
  border-style: solid;
  border-color: #d1d1d1;
  margin: 30px 0 24px;
  padding: 5px 0;
}


.more-button{
  border: 1px solid #d1d1d1; 
  margin: 30px auto 0;
  padding: 10px;
  text-align: center;
  width: 300px;
  background-color: white;
}
.more-button a {
  display: block;
  text-decoration: none; /* リンクの下線を削除 */
  color: #5A5A5A; /* 初期状態の文字色を黒に設定 */
}
.more-button:hover {
  background-color: #434343; /* ホバー時の背景色 */
}
.more-button:hover a {
  color: #ffffff; /* ホバー時の文字色を白に変更 */
}


/*ABOUTページ*/
/* Aboutページヒーローエリア */
.about-hero {
  position: relative;
  overflow: hidden;
}

.about-hero img.about-hero-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 80px;
}

.about-hero .about-hero-title {
  position: absolute;
  top: 58%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 25%;
  height: auto;
  font-size: 3rem;
  font-weight: bold;
  display: flex;               /* Flexboxで中身中央 */
  justify-content: center;     /* 横中央 */
  align-items: center;         /* 縦中央 */
  text-align: center;
  line-height: 1.2;
  margin: 0;
}
.txt-white{
  color: white;
}

.page-id-149 .productpage-contents{
  text-align: center;
}
.about-all {
 margin : 24px auto 48px;
 display: flow-root;
}
.about-title{
  margin: 24px auto 48px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}
.about-title.show {
  opacity: 1;
  transform: translateY(0);
}
/* フェードイン共通ブロック */
.fade-block {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  padding-bottom: 1rem;
}
.fade-block.show {
  opacity: 1;
  transform: translateY(0);
}
.about-text{
  font-size: 0.8rem;
  padding-top: 5px;
}
.about-list {
  position: relative;
  margin: 5em auto 4em auto; /* 左右中央寄せ */
  max-width: 500px;          /* 最大幅600px */
  background: #fff;          /* 背景白 */
  border: 1px solid #D1D1D1; /* 枠線 */
  box-shadow: 0 2px 3px rgba(0,0,0,0.05);
}

.about-list:after {
  position: absolute;
  content: "";
  top: 10px;
  width: 30%;
  height: 45px;
  opacity: 0.9;
  margin: -35px auto 10px 35%;
  background: repeating-linear-gradient(
    -45deg,
    #ffffff,
    #ffffff 2px,
    #D1D1D1 3px,
    #D1D1D1 7px
  );
  transform: rotate(-2deg);
  left: 0px;
  right: 10px;
  pointer-events: none;
}
.about-list dl {
  margin: 0;
  padding: 0 0.5em;
  text-align: center;
  /* 文字色指定なし → 継承 */
}
.about-list dt {
  font-weight: bold;
  padding: 0.5em 0 0.3em 0;
  position: relative;
}
.about-list dl dt:not(:first-child) {
  border-top: 1px dashed #D1D1D1;
  width: 80%;
  margin: 10px auto 0; 
  padding-top: 10px; /* お好みで調整 */
}
.about-list dd {
  margin-left: 1.2em;
  padding: 0.5em 0;
  border: none; /* 枠線なし */
  display: inline-block;
  text-align: left;
}
.about-text dl{
  margin: 48px auto;
}
.about-text dt{
  font-weight: bold;
}
.about-text dd{
  margin:auto 10px;
  max-width: 400px;
  text-align: left;     /* ←追加：テキストを左寄せに */
  word-wrap: break-word; /* ←追加：長い単語の折り返し防止 */
}



/*シリーズTOPページ*/
.series-top-contents {
  overflow-x: hidden;
  overflow-y: hidden;  /* これでスクロールはほぼ抑えられる */
  position: relative;
}
.series-main{
  position: relative;
}
.series-logo{
  position: absolute; /* 親要素(top-slider-wrapper)内で絶対配置 */
  top: 50%; /* 垂直方向の中央に配置 */
  left: 50%; /* 水平方向の中央に配置 */
  transform: translate(-50%, -50%); /* 左右の中央揃え */
  z-index: 10; /* スライダーより前面に表示 */
  width: 25%; /* 親要素の幅に対して30%の大きさに設定 */
  height: auto; /* アスペクト比を維持 */
  display: block;
}
.series-overlay {
  position: relative;
}
.series-concept{
  width: 100%;
  margin-top: 80px;
  overflow: hidden;
  display: block;
}
.series-main h2 {
  margin: 0;
  padding: 0;
  line-height: 1;
  font-size: 0; /* これ重要！ */
}
.series-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}
/* ページごとの色 */
.series-fav .series-overlay::before {
  background-color: rgba(214, 65, 133, 0.5); /* 桃のレイヤー */
}
.series-meow .series-overlay::before {
  background-color: rgba(188, 160, 23, 0.4); /* 黄のレイヤー */
}
.series-plants .series-overlay::before {
  background-color: rgba(0, 104, 55, 0.4); /* 緑のレイヤー */
}
.series-living .series-overlay::before {
  background-color: rgba(3, 88, 135, 0.5); /* 青のレイヤー */
}

.series-about {
  text-align: center;
  margin: 24px auto;
}

.series-top-contents .grid{
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); 
  justify-items: center; /* 子要素をグリッドの中心に配置 */
}
.product-list {
  width: 80%;
  text-align: center;
  overflow: hidden; /* 画像がはみ出さないようにする */
}
.product-list img {
  transition: transform 0.3s, opacity 0.3s; /* 画像の拡大と透明度のアニメーション */
}
.product-list:hover img {
  transform: scale(1.05); /* 画像を5%拡大 */
  opacity: 0.9; /* 画像を少し透明にして白っぽい印象に */
}

.series-sns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 auto;
  overflow: hidden;      /* 追加 */
  position: relative;    /* 追加 */
}
.sns-icon {
  width: 250px;
}
.sns-icon img{
  object-fit: cover;
}
.sns-qr img{
  height: 230px;
  width: auto;
  margin: 5px 10px;
}
.sns-follow{
  display: flex;
  flex-direction: column;
  align-items: center; /* 子要素を水平方向に中心揃え */
  justify-content: center; /* 子要素を垂直方向に中心揃え */
  width: 300px;
}
.sns-info{
  text-align: center;
}
.sns-info p{
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 20px;
}
.follow-btn{
  display: flex;
  align-items: center;
  justify-content:  center;
  gap: 10px;
  border: 1px solid #d1d1d1; 
  padding: 10px;
  text-align: center;
  background-color: white;  
  margin: 20px 0;
  box-sizing: border-box; /* パディングを含めて幅を計算 */
  width: 80%; /* 幅を80%に設定 */
}
.follow-btn img{
  width: 30px;
}
.follow-btn a {
  display: block;
  color: #5A5A5A; /* 初期状態の文字色を黒に設定 */
}
.follow-btn:hover {
  background-color: #434343; /* ホバー時の背景色 */
}
.follow-btn:hover span {
  color: #ffffff; /* ホバー時の文字色を白に変更 */
}







 
  /*製品ページ
  --------------------*/
.productpage-contents{
  margin-bottom: 24px;
}

.grid{
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
  padding-bottom: 24px;
  
}
.big-box{
  grid-column: 1/3;
  grid-row: 1/3;
  margin-top: 90px; /* ヘッダーの高さ分だけ下に配置 */
}

.middle-box{
  grid-column: 3/4;
  grid-row: 1/3;
  margin-top: 90px; /* ヘッダーの高さ分だけ下に配置 */
}
.obi-box, .one-box{
  grid-column: 1/4;
}
.obi-box{
  text-align: center;
  font-weight: bold;
  border-width: 2px 0 2px 0;
  border-style: solid;
  border-color: #d1d1d1;
  margin: 30px 0 0;
  padding: 5px 0;
}
.one-box{
  text-align: center;
  margin: 1px auto;
}
.product-name{
  margin-top: 15px;
}
.product-name .small-txt{
  margin: 0;
}

.product-name h2{
  margin: 5px 0;
  font-size: 1.5rem;
}
.bullet h2{
  border: 1px solid #d1d1d1; 
  margin: 30px 0 0;
  padding: 10px;
  text-align: center;
  vertical-align: middle;
}
.bullet ul li{
  padding-top: 5px;
  padding-bottom: 5px;
}
.amazon-button{
  text-align: center;
  background-color: #5A5A5A;
  color: #ffffff;
  margin: 30px 0 0;
  padding: 15px;
  border-radius: 100vh;
}
.amazon-button:hover{
  color: #ffffff;
  background-color: #434343;
}
.amazon-button a{
  color: #ffffff;
}



#productpage-slider-thumbs .slick-current img{
  filter: brightness(70%) ;
  width:100%;
}
.slick-slide img{
  width: 100%;
  max-width: 100%;
  margin: auto;
}

.slick-slide{
  padding:2px;
  box-sizing: border-box; /* ボックスのサイズを包括的に計算 */
}


.slider-container .slick-prev::before,
.slider-container .slick-next::before {
  content: ''; /* デフォルト矢印を非表示 */
}

.slider-container .slick-prev,
.slider-container .slick-next {
  z-index: 2;
  width: 30px;
  height: 30px;
  background-color: transparent; /* 背景を透明に */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

/* クリック・フォーカス時に色が変わらないようにする */
.slider-container .slick-prev:active,
.slider-container .slick-next:active,
.slider-container .slick-prev:focus,
.slider-container .slick-next:focus {
  background-color: transparent; /* 背景を透明に */
  outline: none;
}

/* 矢印アイコン */
.slider-container .slick-prev::after{
  content: '‹'; /* 矢印文字を指定 */
  font-family: 'Arial', sans-serif;
  font-size: 35px; /* サイズを少し大きく */
  color: rgba(0, 0, 0, 0.3); /* 半透明の黒色 */
  font-weight: bold; /* 太字 */
  display: inline-block;
  text-shadow: -1px -1px 1px rgba(225,225,225,0.5),-1px 1px 1px rgba(225,225,225,0.5),1px -1px 1px rgba(225,225,225,0.5),1px 1px 1px rgba(225,225,225,0.5);
}

/* 逆向きの矢印（nextボタン） */
.slider-container .slick-next::after {
  content: '›'; /* 矢印文字を指定 */
  font-family: 'Arial', sans-serif;
  font-size: 35px; /* サイズを少し大きく */
  color: rgba(0, 0, 0, 0.3); /* 半透明の黒色 */
  font-weight: bold; /* 太字 */
  display: inline-block;
  text-shadow: -1px -1px 1px rgba(225,225,225,0.5),-1px 1px 1px rgba(225,225,225,0.5),1px -1px 1px rgba(225,225,225,0.5),1px 1px 1px rgba(225,225,225,0.5);
}
.productpage-slider .slick-prev {
  left: 0; /* ラッパー内に収める */
}
.productpage-slider .slick-next {
  right: 0; /* ラッパー内に収める */
}
.productpage-slider {
  max-width: 100%; /* ラッパー内に収まるように設定 */
  position: relative; /* 矢印を内部に配置 */
}
.functuion-grid{
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
}
.function {
  margin:10px auto;
}
.function h3 {
  margin: 10px 0;
}
.function p {
  margin: 0 0 0px;
}

.size img {
  width: 60%;
  margin: 0 auto;
}

.spec.one-box {
  width: 60%; /* 横幅を画面の1/2に設定 */
  margin: 0 auto; /* 中央寄せ */
  text-align: center; /* テキストの中央揃え */
}
.spec table{
max-width: 100%; /* 親要素の幅に収める */
width: 100%; /* 必要に応じて幅を親要素に合わせる */
border-collapse: collapse; /* セルの間隔をなくす */
margin: 0 auto; /* 中央寄せ */
}
.spec table th{
  width: 25%;
}
th, td{
  text-align: left;
  padding: 2%;
  border-bottom: 2px solid #F5F5F5;
}
.spec ul{
  text-align: left;
  padding: 2% 2% 0;
  font-size: small;
  list-style: none;
  padding-left: 1em;
  text-indent: -1em;
}
.recommend{
  padding-bottom: 24px;
}





/*404エラーページ
 --------------------*/
 .error_contents{
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
  margin-top: 80px
 }
 .error_img img {
    width: 60%;
    height: auto;
    border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
 }
 .error_img {
  display: grid;
  place-items: center;
  width: 600px;
  max-width: 100%;
  margin: 50px auto;
 }
 .error_text {
    display: flex;
    flex-direction: column;
    justify-content: center; /* ← 縦中央 */
    height: 100%; /* 親要素の高さに合わせる */
  }


/*----インフォ+ふるさと納税------*/
.furusato p{
  margin-bottom: 0;
}
.furusato-menu{
  width: 800px; /* ← 全体の幅を指定 */
  margin: 0 auto; /* ← ページの中央に配置 */
  padding: 24px 20px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  font-size: small;
  text-decoration: none;
  }
 .furusato-menu a { 
  color: #434343;
  margin: 0 20px;
  text-decoration: none;
  transition: color 0.3s;
 }
 .furusato-menu a:hover {
  color: #ccc; 
}
.furusato-menu li{
  border: 1px solid #d1d1d1; 
  margin: 20px auto;
  padding: 10px;
  text-align: center;
  width: 150px;
  background-color: white;
}
.furusato-menu li:hover {
  background-color: #434343; /* ホバー時の背景色 */
}
.furusato-menu li:hover a {
  color: #ffffff; /* ホバー時の文字色を白に変更 */
}

/*フッター
  --------------------*/
  .brand-concept {
    margin-bottom: 40px; /* 下の余白確保 */
    overflow: visible;   /* はみ出し隠さない */
  }
  .brand-concept img {
    width: 45%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 24px auto;
    padding: 10px 0;
  }
  
  footer {
    color: #ffffff;
    background-color: #434343;
    text-align: center;
    margin-top: 0;
    padding: 0 0 20px;
   }   
   .footer-obi{
    background-color: #F5F5F5;
   }

   .footer-menu{
    text-decoration: none;
    list-style: none;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    font-size: small;
    }

   .footer-menu a { 
    color: #434343;
    margin: 0 20px;
   }

    .sns-btn{
    text-decoration: none;
    background-color: #d1d1d1;
    list-style: none; 
    display: flex;
    justify-content: center; 
    margin: 0;
    padding: 10px 0;
  }
  .sns-btn li{
    width: 30px;
    margin: 0px;
    padding: 10px 30px 5px;
  }
   .page-footer a:hover {
    text-decoration: underline;
   }
   .page-footer .copyright {
    margin: 0;
    padding: 20px 0px;
   }     
     

   /*レスポンシブ--------------------*/ 
  @media screen and (max-width: 768px) {
    /*共通部分*/
    header {
      height: 60px;
    }
    .logo {
      width: 120px;
      padding: 0 10px;
    }
    #drawer_input:checked ~ .nav_content {
      left: 0%; 
      width: 100%; 
    }
    .footer-menu {
      flex-direction: column;
      align-items: center;
      font-size: small;
    }
    .sns-btn img {
      width: 25px;
    }
      /*シリーズバナー*/
  .series {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding-top: 10px;
    padding-bottom: 0;
  } 
  .series .banner {
    width: calc(45% - 10px); /* gapを考慮してきっちり半分 */
    max-width: 90%;
    aspect-ratio: 1.5/1;
    border-radius: 10% / 15%;
  }
  .post-type-archive-products .top-obi{
    margin-top: 0px;
  }
  .tax-products_cat .top-obi{
    margin-top: 0px;
  }

  /*インフォ+ふるさと納税*/
  .furusato-menu {
    width: 100%;
    flex-direction: column;
    align-items: center; /* 中央寄せ */
    padding: 24px 10px;
  }
  .furusato-menu li {
    width: 200px;
    margin: 10px 0;
  }
  .furusato-menu a {
    margin: 0; /* 横余白不要 */
  }
  .info-group p {
    width: 80%;
    margin: 0 auto;
  }


 /*aboutページ*/
  .about-hero img.about-hero-image{
  width: 100%;
  margin-top: 60px;
 }
 .about-hero img{
  object-fit: cover;
  aspect-ratio: 4/3;
  object-position: 75% 50%;
 }
 .about-hero-title{
  margin: 0;
 }
 .about-all{
  width: 90%;
 }
 .about-list {
  width: 90%;
  max-width: none; /* ←500px制限を無効化 */
}
.about-list dl dt:not(:first-child) {
  width: 100%;
}
.about-list dd{
  width: 90%;

}

  /*シリーズTOPページ*/
  .series-logo{
    width: 50%; /* 親要素の幅に対して30%の大きさに設定 */
    height: auto; /* アスペクト比を維持 */
  }
  .series-concept{
    width: 100%;
    margin-top: 60px;
  }
  .series-overlay img{
    object-fit: cover; /* 画像トリミング */
      aspect-ratio: 4 / 3;/* アスペクト比 */
      object-position:  15% 50%;
  }
  .series-top-contents {
    box-sizing: border-box;/*幅や高さの計算にパディングやボーダーを含める*/
    width: 100%;
  }
  .series-about{
    text-align: left;
    width: 90%;
  }
  .series-top-contents .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2列 */
    gap: 16px;
    width: 90%;
    margin: 0 auto;
  }
  .series-sns{
    width: 90%;
    flex-direction: column;
    align-items: center;    /* 子要素を左右中央に揃える */
    justify-content: center;
    gap: 0;
    margin-bottom: 24px;
  }
  .sns-icon {
    width: 150px;           /* 小さめに調整 */
    margin: 0 auto;         /* もしflexじゃなくても中央寄せ */
  }
  .sns-follow {
    width: 100%;
    max-width: 300px;       /* 最大幅の制限 */
  }


    /*製品ページ*/
    .productpage-contents {
      box-sizing: border-box;/*幅や高さの計算にパディングやボーダーを含める*/
      width: 100%;
    }
    .productpage-contents .grid{
      padding-bottom: 0;
    }
    .grid {
      display: block; /* グリッドレイアウトを縦並びに変更 */
    }
    .middle-box, .obi-box {
      margin: 0 auto 24px; 
      text-align: center; /* スマホでは中央揃え */
    }
    .big-box{
      margin: 80px auto 24px; 
      text-align: center; /* スマホでは中央揃え */
    }
    .main-image img, .function img, .size img {
      max-width: 100%; /* 画像が画面幅を超えないようにする */
      height: auto; /* アスペクト比を維持 */
    }
    .size img {
      width: 90%;
        }
    .slider-container {
      width: 100%; /* スライダーの幅を画面幅に合わせる */
    }  
    .productpage-text {
      text-align: left;
      width: 90%;
      margin: auto;
    }
    .productpage-contents li {
      text-align: left;
      width: 90%;
      margin: auto;
    }
    .bullet ul {
      padding: 0 20px 0;
    }
    .bullet li {
      font-size: 0.9rem; /* テキストを少し小さく */
      margin-bottom: 10px;
    }
    .bullet p {/*メインファンクション枠サイズ*/
      width: 90%;
      margin: 30px auto 0;
    }
    .obi-box {
      width: 90%;
      margin: 40px auto 24px;
    }
    .functuion-grid{
      grid-template-columns: repeat(2, 1fr); 
      width: 90%;
      gap: 10px;
    }
    .function {
      box-sizing: border-box;
      padding: 10px;
      text-align: left;
    }
  
    .amazon-button{
      margin: 30px auto 0;
      width: 80%;
    }
    .amazon-button a{
      font-size: 1.2rem;
    }
    .series {
      text-align: center; /* 中央揃え */
    }
    .spec.one-box {
      width: 80%;
      margin: 0 auto; /* 中央寄せ */
      text-align: left; 
    }
    .spec table{
    border-collapse: collapse; /* セルの間隔をなくす */
    margin: 0 auto; /* 中央寄せ */
    }
    .spec table th{
      width: 100%;
      border-bottom: none
    }
    th, td{
      display: block;
      text-align: left;
      padding: 0;
    }
    th {
      padding-top: 10px;
    }
    td {
      padding-bottom: 10px;
      padding-left: 1rem;/*字下げ*/
    }
    .recommend{
      padding-bottom: 0;
    }

    /*404ページ*/
    .error_contents {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 24px;
    }
  
    .error_img {
      width: 90%;
      margin: 40px auto 0;
    }
  
    .error_img img {
      width: 100%;
    }
  
    .error_text {
      text-align: center;
      padding: 0 16px;
    }
  
    .error_text h2 {
      font-size: 1.2rem;
    }
  
    .error_text p {
      font-size: 0.95rem;
    }

  }
