@charset "utf-8";
/*
Theme Name: BIBIPLANTS
Theme URI: https://www.bibiplants.jp/
Description: ビビプランツサイトテーマ。ここに管理画面＞外観でテーマ選ぶときに出てくる色々が表示されます。
Version: 1.0
Author: Kae
Author URI: https://www.bibiplants.jp/
*/


/* 共通部分
--------------------*/

@font-face {
  font-family: 'Anton';
  src: url('font/Anton-Regular.woff2') format('woff2');
  font-display: swap;
}

html{
    font-size:100%;
}
.small-txt{
  font-size: 0.8rem;
}
body{
    font-family:"Noto Sans jp","NotoSans","Roboto",sans-serif; 
    line-height:1.7;
    color:#5A5A5A;
    overflow-x: hidden;/* 横スクロールを防止 */
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}
h1, h2, h3 {/*見出しだけAntonフォント*/
  font-family: 'Anton', "Noto Sans JP", sans-serif;
  font-weight: 900;
}
.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;
}

/* 共通コンテナ（PC：最大1200px＋左右4% / スマホ：左右40pxでトップページと完全統一） */
.wrapper{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4%;
  box-sizing: border-box;
}
@media screen and (max-width: 768px) {
  .wrapper {
    padding-left: 30px;
    padding-right: 30px;
  }
}

/* =========================================================
 Go To Top ボタン 
 =========================================================*/
#goTop {
  position: fixed;
  bottom: 30px;  /* デフォルト位置 */
  right: 15px;
  width: 50px;
  height: 50px;
  border-radius: 50%; /* 円形 */
  background-color: #D4FF00;
  border: 1px solid #0D2818;
  cursor: pointer;
  z-index: 9999;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, transform 0.2s ease;
}
#goTop::before,
#goTop::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #0D2818;
  transform: translateX(-50%);
}
#goTop::before {
  top: 15px;
}
#goTop::after {
  top: 25px;
}
#goTop:hover {
  transform: scale(1.1);
}
#goTop.show {
  opacity: 1;
  transform: translateY(0);
}
.products-bar,
.blogs-bar,
.sales-bar {
  display: none;
}


/*=========================================================
 共通スタイル ページャー 
 =========================================================*/
.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: #0D2818;
  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: #D4FF00;
}
.pager li .current {
  background-color: #0D2818;
  color: #fff;
  pointer-events: none;
  border-color: #0D2818;
}
@media screen and (max-width: 768px) {
  .pager {
    margin-top: 10px;
  }
  .pager ul {
    gap: 6px;
    margin: 10px 0;
  }
  .pager ul li a,
  .pager ul li span {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  .category .series-top-contents .allproducts .pager,
  .tag .series-top-contents .allproducts .pager {
    margin-top: 5px;
  }
}

/*=========================================================
 共通スタイル アニメーション
 ========================================================= */
[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: #0D2818;
  color: #0D2818;
  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: 200px;
}
.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;
  background-color: #D4FF00;
}
.drawer_open span:before {
  top: -8px;
}
.drawer_open span:after {
  top: 8px;
}

.nav_content {
  position: fixed;
  top: 0;
  right: 0;
  width: 25%;
  height: 100%;
  background-color: rgba(13, 40, 24, 0.95);
  z-index: 1000;
  text-align: center;
  padding-top: 100px;
  transform: translateX(100%);
  transition: transform 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 a {
  font-family: 'Anton', "Noto Sans JP", sans-serif;
  letter-spacing: 0.08em;
  color: #ffffff;
  transition: color 0.3s ease;
}
.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: #D4FF00;
}
.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 {
  transform: translateX(0);
}
#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;
}
@media screen and (max-width: 768px) {
  .nav_content {
    width: 100%;
    padding-top: 100px;
    box-sizing: border-box;
  }
  .nav_list {
    padding-left: 10%;
  }
}

/*=========================================================
バナー
=========================================================*/
.home-under-banner-area {
  width: 100%;
  max-width: 720px;
  margin: 56px auto 40px;
  padding: 0;
  box-sizing: border-box;
}
.home-under-banner a,
.home-under-banner img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.banner-box.one-box {
  margin-top: 24px; 
  margin-bottom: -15px;
}
.banner-box.one-box .series {
  padding-bottom: 0;
}
.banner-box.one-box .series,
.banner-box.one-box .banner {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 0;
}
.banner-box.one-box img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
@media screen and (max-width: 768px) {
  .banner-box.one-box {
    width: 100%;
    margin-top: 24px;       
    margin-bottom: -10px;   
  }
  .banner-box.one-box .banner {
    aspect-ratio: auto; 
    border-radius: 0;   
    overflow: visible;  
  }
}

/* ポップアップバナー */
.popup-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}
.popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}
.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
}
.popup-content img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.popup-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 40px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}
.popup-close:hover {
  color: #dddddd;
}

/*=========================================================
404エラーページ
=========================================================*/
.page-404 {
  position: relative;
  min-height: 75vh;
  margin-top: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0;
  box-sizing: border-box;
  background: linear-gradient(rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.55)),
              url('images/404/404.webp') center/cover no-repeat;
}
.content-404 {
  max-width: 600px;
  width: 100%;
}
.title-404 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(80px, 15vw, 140px);
  font-weight: 900;
  line-height: 1;
  color: #0D2818;
  text-shadow: 4px 4px 0px #D4FF00;
  letter-spacing: 2px;
  margin-bottom: 20px;
  display: block;
  animation: shake 3s infinite;
}
.badge-notfound {
  display: inline-block;
  background-color: #000;
  color: #ffffff;
  font-family: 'Anton', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  margin-bottom: 24px;
}
.message-404 {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #000;
  margin: 0 0 36px 0;
  font-weight: 500;
}
.btn-home a {
  display: inline-block;
  width: 240px;
  padding: 12px 0;
  background-color: #D4FF00;
  border: 1px solid #D4FF00;
  color: #0D2818;
  font-family: 'Anton', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  transition: all 0.3s ease;
}
.btn-home a:hover {
  background-color: #0D2818;
  color: #D4FF00;
  border-color: #0D2818;
}
@media screen and (max-width: 768px) {
  .page-404 {
    margin-top: 60px;
    padding: 50px 0;
    min-height: 70vh;
  }
  .title-404 {
    font-size: clamp(110px, 28vw, 160px);
    margin-bottom: 16px;
  }
  .badge-notfound {
    font-size: 0.95rem;
    padding: 7px 18px;
    margin-bottom: 20px;
  }
  .message-404 {
    font-size: 0.95rem;
    margin-bottom: 32px;
  }
  .btn-home a {
    width: 200px;
    padding: 10px 0;
    font-size: 1rem;
  }
}
@keyframes shake {
  0%, 90%, 100% { transform: translate(0, 0); }
  92% { transform: translate(-3px, 2px); }
  94% { transform: translate(3px, -1px); }
  96% { transform: translate(-2px, -2px); }
  98% { transform: translate(2px, 1px); }
}

/*=========================================================
一覧ページのヒーローエリア
=========================================================*/
.page-hero {
  padding: 100px 0 120px;
  color: #ffffff;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
  text-align: left;
}
.page-hero .page-hero-title {
  padding-left: 6%;
  padding-right: 6%;
  box-sizing: border-box;
}
.page-hero .main-title {
  font-family: 'Anton', sans-serif;
  font-weight: 900;
  -webkit-text-stroke: 1.5px #ffffff;
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  line-height: 1.05;
  color: #ffffff;
  letter-spacing: 0.08em;
  margin: 0;
}
.page-about .page-hero {
  background: linear-gradient(rgba(10, 30, 18, 0), rgba(10, 30, 18, 0.92)),
              url('images/hero/about-hero.webp') center/cover no-repeat;
}
.page-hero.hero-products {
  background: linear-gradient(rgba(10, 30, 18, 0), rgba(10, 30, 18, 0.92)),
              url('images/hero/all-products.webp') center/cover no-repeat;
}
.page-hero.hero-blog {
  background: linear-gradient(rgba(10, 30, 18, 0), rgba(10, 30, 18, 0.92)),
              url('images/hero/all-journal.webp') center/cover no-repeat;
}
.page-hero.hero-news {
  background: linear-gradient(rgba(10, 30, 18, 0), rgba(10, 30, 18, 0.92)),
              url('images/hero/all-news.webp') center/cover no-repeat;
}


@media screen and (max-width: 768px) {
  .page-hero {
    padding: 60px 0 80px;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  }
  .page-hero .page-hero-title {
    padding-left:  20px;
    padding-right: 20px;
    box-sizing: border-box;
  }
  .page-hero .main-title {
    font-size: clamp(4rem, 15vw, 6rem);
  }
}

/*=========================================================
ABOUTページ
=========================================================*/
.page-about {
  margin-top: 80px;
}
.page-about .about-lead {
  padding: 60px 0;
}
.page-about .about-lead .hero-text {
  max-width: 100%;
  border-left: 4px solid #D4FF00;
  padding-left: 24px;
  box-sizing: border-box;
  font-size: 0.95rem;
  line-height: 2;
  color: #5A5A5A;
}
.page-about .about-lead .hero-text p {
  margin-bottom: 20px;
}
.page-about .about-lead .hero-text p:last-child {
  margin-bottom: 0;
}

.page-about .about-mission {
  padding: 80px 0;
}
.page-about .about-mission .top-obi h2 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  color: #0D2818;
  line-height: 1;
  margin: 0 0 20px 0;
  letter-spacing: 0.08em;
}
.page-about .about-mission .mission-catch {
  font-size: 1.3rem;
  font-weight: bold;
  color: #1a1a1a;
  margin: 0 0 20px 0;
  letter-spacing: 0.04em;
}
.mission-btn-wrap {
  margin-top: 32px;
}
.mission-btn {
  display: inline-block;
  min-width: 240px;
  padding: 12px 24px;
  background-color: #D4FF00;
  border: 1px solid #D4FF00;
  color: #0D2818;
  font-family: 'Anton', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  transition: all 0.3s ease;
}
.mission-btn:hover {
  background-color: #0D2818;
  color: #D4FF00;
  border-color: #0D2818;
}

@media screen and (max-width: 768px) {
  .page-about {
    margin-top: 60px;
  }
  .page-about .about-lead {
    padding: 40px 0;
  }
  .page-about .about-lead .hero-text {
    border-left-width: 3px;
    padding-left: 16px;
    font-size: 0.85rem;
    line-height: 1.8;
  }
  .page-about .about-mission {
    padding: 50px 0;
  }
  .page-about .about-mission .top-obi h2 {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
    margin-bottom: 12px;
  }
  .page-about .about-mission .mission-catch {
    font-size: 1.1rem;
    margin-bottom: 16px;
  }
  .mission-btn-wrap {
    margin-top: 24px;
  }
  .mission-btn {
    min-width: 200px;
    padding: 10px 16px;
    font-size: 1rem;
  }
}

/* =========================================================
  製品ページ
  ========================================================= */
.productpage-contents {
  margin-top: 80px;
  margin-bottom: 0;
}
body.single-products .productpage-contents {
  margin-top: 110px;
}
.productpage-contents .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;
}
.middle-box {
  grid-column: 3/4;
  grid-row: 1/3;
}
.obi-box, .one-box {
  grid-column: 1/4;
}
.obi-box {
  text-align: left;
  margin: 0 0 40px 0;
  padding: 0;
}
.obi-box h3 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  letter-spacing: 0.08em;
  color: #0D2818;
  margin: 0;
  line-height: 1;
}
.one-box {
  text-align: center;
  margin: 1px auto;
}
.spec-group,
.recommend-group {
  display: flow-root;
  margin-top: 0;
  margin-bottom: 0;
}
@media screen and (max-width: 768px) {
  .productpage-contents {
    margin-top: 90px;
  }
  .productpage-contents .grid {
    display: block;
    padding-bottom: 0;
  }
  body.single-products .productpage-contents .grid {
    padding-bottom: 30px;
  }
  .big-box {
    margin: 0 auto 24px;
    width: 100%;
  }
  .obi-box {
    width: 100%;
    text-align: left;
  }
}

#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);
}
.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;
}

.product-name {
  margin-top: 15px;
}
.product-name > .small-txt {
  display: inline-block;
  background-color: #0D2818;
  color: #D4FF00;
  padding: 3px 10px;
  font-weight: bold;
  margin-bottom: 8px;
}
.product-name h1 {
  margin: 5px 0;
  font-size: 24px;
}
.product-name h1 .small-txt {
  margin: 3px 0 0;
  display: block;
  font-weight: normal;
  letter-spacing: 0.08em;
}
.product-copy {
  border-left: 4px solid #D4FF00;
  font-size: 1.1rem;
  padding-left: 10px;
  margin: 20px 0 15px;
  color: #0D2818;
}
.bullet h3 {
  border: 1px solid #0D2818; 
  color: #0D2818;
  margin: 30px 0 0;
  padding: 10px;
  text-align: center;
  vertical-align: middle;
}
.product-info .bullet h3 {
  letter-spacing: 0.08em;
}
.bullet ul {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}
.bullet ul li {
  position: relative;
  padding: 5px 0 5px 20px;
}
.bullet ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: calc(5px + 0.85em);
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: #D4FF00;
  border-radius: 50%;
}
.amazon-button {
  text-align: center;
  background-color: #D4FF00;
  border: 1px solid #D4FF00;
  margin: 30px 0 0;
  padding: 0;
  border-radius: 0;
  transition: all .3s ease;
  position: relative; 
  overflow: hidden;
}
.amazon-button a {
  display: block;
  padding: 10px;
  font-size: 1.17em;
  line-height: 1.7;
  letter-spacing: 0.08em;
  color: #0D2818;
  font-family: 'Anton', "Noto Sans JP", sans-serif;
  font-weight: bold;
  text-decoration: none;
  border-radius: 0;
  position: relative;
  z-index: 2;
  transition: all .3s ease;
}
.amazon-button a::after {
  content: '';
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  margin-left: 8px;
  vertical-align: -0.08em;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.amazon-button:hover {
  background-color: #0D2818;
}
.amazon-button:hover a {
  color: #D4FF00;
}
.amazon-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
      120deg,
      transparent 0%,
      rgba(255, 255, 255, 0.25) 45%,
      rgba(255, 255, 255, 0.35) 50%,
      rgba(255, 255, 255, 0.25) 55%,
      transparent 100%
  );
  transform: skewX(-20deg);
  animation: shine 4s ease-out infinite;
  pointer-events: none;
}
@keyframes shine {
  0% { left: -150%; }
  20% { left: 150%; }
  100% { left: 150%; }
}
@media screen and (max-width: 768px) {
  .amazon-button {
    margin: 30px auto 0;
    width: 220px;
    padding: 10px;
  }
}

.function-group {
  background-color: #0D2818;
  padding: 60px 0 80px;
  display: flow-root;
}
.function-group .obi-box h3 {
  color: #D4FF00;
}
.function-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
}
.function {
  border: 1px solid #ffffff;
  margin: 0 auto;
  padding: 0 0 15px 0;
  box-sizing: border-box;
}
.function img {
  width: 100%;
  display: block;
}
.function h4 {
  color: #D4FF00;
  font-size: 1.1rem;
  margin: 15px 0 10px 0;
  padding: 0 15px;
}
.function p {
  margin: 0 0 15px 0;
  padding: 0 15px;
  color: #ffffff;
}
@media screen and (max-width: 768px) {
  .function-group {
    padding: 50px 0;
  }
  .function-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 17px;
  }
  .function {
    display: flex;
    flex-direction: column;
    padding: 0 0 15px 0;
    text-align: left;
    box-sizing: border-box;
  }
  .function img {
    width: 100%;
    height: auto;
  }
  .function h4 {
    font-size: 0.9rem;
    margin: 10px 0;
    padding: 0 8px;
    text-align: left;
    line-height: 1.3;
  }
  .function p {
    font-size: 0.75rem;
    line-height: 1.5;
    margin: 0;
    padding: 0 8px;
    text-align: left;
  }
}

.size-group {
  padding: 60px 0 80px;
}
.size.obi-box h3 {
  border: none;
  background: none; 
  text-align: left;
  letter-spacing: 0.08em;
  color: #0D2818; 
  margin-top: 0;
  padding-top: 0;
}
.size img {
  width: 60%;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  .size-group {
    padding: 50px 0;
  }
  .size img {
    width: 100%;
  }
  .size.one-box {
    margin-bottom: 0;
  }
}

.spec-group {
  background-color: #0D2818;
  padding: 60px 0 80px;
  display: flow-root;
}
.spec-group .obi-box h3 {
  color: #D4FF00;
}
.spec.one-box {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
.spec table {
  max-width: 100%;
  width: 100%;
  border-collapse: collapse;
  border: 3px solid #ffffff;
  margin: 0 auto 20px;
}
.spec table th {
  width: 25%;
  background-color: #ffffff;
  color: #0D2818;
  font-weight: bold;
  border: 1px solid #d1d1d1;
  padding: 12px 15px;
  vertical-align: middle;
  text-align: left;
}
.spec table td {
  background-color: #0D2818;
  color: #ffffff;
  border: 1px solid #d1d1d1;
  padding: 12px 15px;
  text-align: left;
}
.spec table td a {
  color: #D4FF00;
  text-decoration: underline;
}
.spec ul {
  text-align: left;
  padding: 15px 0 0 1em;
  font-size: small;
  list-style: none;
  padding-left: 1em;
  text-indent: -1em;
  color: #ffffff;
}
@media screen and (max-width: 768px) {
  .spec-group {
    padding: 50px 0;
  }
  .spec.one-box {
    width: 100%;
    text-align: left;
  }
  .spec table {
    width: 100%;
    margin: 0 0 20px;
    border: 2px solid #ffffff;
  }
  .spec table tr,
  .spec table th,
  .spec table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
  }
  .spec table th {
    border-bottom: none;
    padding: 8px 12px;
    background-color: #ffffff;
    color: #0D2818;
  }
  .spec table td {
    padding: 8px 12px 12px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
  .spec ul {
    padding: 10px 0 0;
    margin: 0;
    list-style: none;
  }
  .spec ul li {
    position: relative;
    padding-left: 1.2em;
    text-indent: -1.2em;
    line-height: 1.6;
    margin-bottom: 6px;
    text-align: left;
    word-break: break-all;
  }
}

.recommend-group {
  background-color: #F5F5F5;
  padding: 60px 0;
  display: flow-root;
}
.recommend-group .obi-box h3 {
  color: #0D2818;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.recommend-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  box-sizing: border-box;
}
.recommend-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}
.recommend-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 30px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
.recommend-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.recommend-info {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.recommend-info h4 {
  color: #0D2818;
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0 0 5px 0;
  line-height: 1.4;
}
.recommend-info p {
  color: #666666;
  margin: 0 0 15px 0;
  font-family: 'Anton', "Noto Sans JP", sans-serif;
  letter-spacing: 0.08em;
  font-size: 1rem;
}
.recommend-btn {
  margin-top: auto;
  background-color: #D4FF00;
  color: #0D2818;
  font-family: 'Anton', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 8px 0;
  transition: all 0.3s ease;
}
.recommend-card:hover .recommend-btn {
  background-color: #0D2818;
  color: #D4FF00;
}
@media screen and (max-width: 768px) {
  .recommend-group {
    padding: 50px 0;
  }
  .recommend-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 15px;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
  }
  .recommend-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
}
/* スマホ版：製品ページ下部固定バー＆トップボタン位置調整 */
@media screen and (max-width: 768px) {
  /* フッターが固定バーに隠れないよう余白確保 */
  .productpage-contents + footer,
  .productpage-contents ~ footer {
    padding-bottom: 90px;
  }

  /* 固定バー本体 */
  .products-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;      
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px; 
    background-color: #0D2818;
    border-top: 1px solid #D4FF00;
    padding: 0 15px;
    box-sizing: border-box;
    z-index: 999;
  }

  /* 製品名・型番のテキスト */
  .products-bar .products-bar-name {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    margin-right: 15px;
    flex-grow: 1;
    white-space: normal; 
    max-height: none;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.3; 
    font-family: 'Anton', "Noto Sans JP", sans-serif;
    letter-spacing: 0.08em;
  }

  .products-bar .products-bar-name .series-model {
    font-size: 12px; 
    color: #fff;    
    display: block; 
  }

  /* Amazonボタン（白枠カードデザイン） */
  .products-bar .amazon-fixed-button {
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-shrink: 0; 
    background-color: #ffffff;
    border-radius: 6px;
    border: 1px solid #ccc;
    height: 55px; 
    min-width: 130px;
    padding: 0 15px; 
    box-sizing: border-box;
  } 

  .products-bar .amazon-fixed-button img {
    max-height: 53px; 
    min-width: 100px;
    width: auto;
  }

  /* ページトップボタン（黄色）を固定バーの上に回避 */
  body.single-products #goTop {
    bottom: 90px; 
  }

  /* バナー調整 */
  .banner-box.one-box {
    width: 90%;
    max-width: 90%;
    margin-top: 24px;       
    margin-bottom: -10px;   
    margin-left: auto;      
    margin-right: auto;     
  }

  .banner-box.one-box .banner {
    aspect-ratio: auto; 
    border-radius: 0;   
    overflow: visible;  
  }
}

/* =========================================================
全製品一覧ページ
========================================================= */
.series-top {
  margin-top: 80px;
}
.series-top-contents {
  overflow-x: hidden;
  overflow-y: hidden;
  position: relative;
}
.series-about {
  text-align: center;
  margin: 32px auto 48px;
}
.allproducts .top-obi h2 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  color: #0D2818;
  line-height: 1;
  margin: 0 0 40px 0;
  letter-spacing: 0.08em;
}
.series-top-contents .grid {
  display: grid;
  gap: 50px 20px;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
}
.product-list {
  width: 100%;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
  font-family: 'Anton', "Noto Sans JP", sans-serif;
  letter-spacing: 0.08em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-list img {
  width: 75%;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s, opacity 0.3s;
}
.product-list:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

@media screen and (max-width: 768px) {
  .series-top {
    margin-top: 60px;
  }
  .series-about {
    text-align: center;
    margin: 30px auto 15px;
  }
  .allproducts {
    padding: 20px 0 50px 0;
  }
  .allproducts .top-obi h2 {
    font-size: 3rem;
  }
  .series-top-contents .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
    width: 100%;
    margin: 0 auto;
  }
  .product-list {
    padding: 8px 0;
  }
  .product-list img {
    width: 100%;
  }
  .product-list .slider-caption {
    margin-top: 4px;
    line-height: 1.3;
    font-size: 0.85rem;
  }
  .product-list .slider-caption small {
    display: block;
    margin-top: 7px;
  }
}

/* =========================================================
ブログジャーナルTOPページ
========================================================= */
.blog-group .mini-slider img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.blog-list {
  width: 80%;
  text-align: center;
  overflow: hidden;
}
.product-list.blog-card-item .product-img {
  width: 100%;
  overflow: hidden;
}
.product-list.blog-card-item .product-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.blog-list img {
  transition: transform 0.3s, opacity 0.3s;
}
.blog-list:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}
.series-top .grid .slider-caption p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.blog-switcher-js {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  margin-bottom: 40px;
  width: 100%;
}
.blog-tab-btn {
  display: inline-block;
  padding: 10px 24px;
  background-color: #ffffff;
  border: 1px solid #0D2818;
  color: #0D2818;
  font-weight: bold;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.08em;
  outline: none;
}
.blog-tab-btn:focus-visible {
  outline: 2px solid #0D2818;
  outline-offset: 2px;
}
.blog-tab-btn:hover {
  background-color: #f5f5f5;
}
.blog-tab-btn.is-active {
  background-color: #0D2818;
  color: #D4FF00;
  border-color: #0D2818;
}
.blog-card-item {
  padding: 0 0 16px 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  opacity: 1;
  transform: scale(1);
}
.blog-card-item .product-model {
  font-family: "Noto Sans JP", "Roboto", sans-serif;
  font-weight: normal;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: #666666;
  margin-top: 4px;
}
@media screen and (max-width: 768px) {
  .blog-switcher-js {
    gap: 8px;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 0;
  }
  .blog-tab-btn {
    padding: 8px 18px;
    font-size: 0.8rem;
    line-height: 1.2;
  }
  .product-list.blog-card-item {
    width: 100%;
    padding: 0 0 12px 0;
    text-align: center;
  }
  .product-list.blog-card-item .slider-caption {
    padding: 0;
  }
  .blog-card-item .product-model {
    font-size: 0.75rem;
    margin: 5px auto;
  }
}


/* =========================================================
   ブログ記事詳細（投稿シングル）
========================================================= */
.single-post .productpage-contents {
  margin-top: 90px;
}


@media screen and (max-width: 768px) {
  .single-post .productpage-contents {
    margin-top: 80px;
  }
}

.single-post .productpage-contents h1 {
  font-size: 2.2rem;
  font-weight: bold;
  color: #333333;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 25px;
}
.single-post .post-meta-labels {
  max-width: 1200px;
  margin: 15px auto 25px;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.single-post .post-meta-labels__categories,
.single-post .post-meta-labels__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  width: 100%;
}
.single-post .post-meta-labels__cat-link,
.news-detail-main .news-badge {
  display: inline-block;
  background-color: #0D2818;
  color: #D4FF00;
  font-size: 0.85rem;
  font-weight: bold;
  padding: 4px 12px;
  text-decoration: none;
  line-height: 1.4;
  border: 1px solid #0D2818;
  box-sizing: border-box;
}
.single-post .post-meta-labels__cat-link:hover,
.news-detail-main .news-badge:hover {
  opacity: 0.85;
}
.single-post .post-meta-labels__tag-link {
  display: inline-block;
  background-color: #ffffff;
  color: #0D2818 !important;
  border: 1px solid #0D2818;
  font-size: 0.85rem;
  font-weight: bold;
  padding: 4px 12px;
  text-decoration: none;
  line-height: 1.4;
  box-sizing: border-box;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.single-post .post-meta-labels__tag-link:hover {
  background-color: #0D2818;
  color: #ffffff !important;
}
@media screen and (max-width: 768px) {
  .single-post .productpage-contents h1 {
    font-size: 24px;
  }
}

.single-post .blog-top-section__image {
  width: 100%;
  text-align: center;
}
.single-post .blog-top-section__image img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  margin: 30px auto 50px;
}
.single-post .blog-top-section__lead {
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.8;
}
.single-post .blog-top-section__toc {
  max-width: 400px;
  margin: 50px auto;
  padding: 30px 25px;
  background-color: #0D2818;
  border: 1px solid #0D2818;
  box-sizing: border-box;
}
.single-post .blog-top-section__toc .toc-title {
  font-size: 1.05rem;
  font-weight: bold;
  color: #D4FF00;
  margin: 0 0 12px;
  text-align: center;
}
.single-post #custom-auto-toc {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.single-post #custom-auto-toc .toc-item {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
  line-height: 1.5;
}
.single-post #custom-auto-toc .toc-item::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.7em;
  width: 8px;
  height: 8px;
  background-color: #D4FF00;
  border-radius: 50%;
}
.single-post #custom-auto-toc .toc-item:last-child {
  margin-bottom: 0;
}
.single-post #custom-auto-toc .toc-link {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.single-post #custom-auto-toc .toc-link:hover {
  color: #D4FF00;
  text-decoration: underline;
}
@media screen and (max-width: 768px) {
  .single-post .blog-top-section__image {
    margin-bottom: 30px;
  }
  .single-post .blog-top-section__lead {
    padding: 0;
  }
  .single-post .blog-top-section__toc {
    max-width: 100%;
  }
}

.single-post .productpage-contents p,
.single-post .productpage-contents h2 {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.single-post .productpage-contents h2 {
  margin: 50px auto 8px;
  padding: 6px 0 6px 16px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #333333;
  border-left: 5px solid #D4FF00;
  line-height: 1.4;
}
@media screen and (max-width: 768px) {
  .single-post .productpage-contents p {
    margin: 0 auto;
  }
  .single-post .productpage-contents h2 {
    margin: 50px auto 14px;
  }
}

.single-post .wp-block-lazyblock-blog-slider,
.single-post .wp-block-lazyblock-button-links,
.single-post .wp-block-lazyblock-layout-items-list,
.single-post .wp-block-lazyblock-pickup-item-card {
  max-width: 800px;
  margin: 35px auto;
  width: 100%;
}
.single-post .wp-block-lazyblock-cooperation,
.single-post .wp-block-lazyblock-recommend-products {
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.single-post .wp-block-lazyblock-blog-slider {
  margin-top: 25px;
}
.single-post .wp-block-lazyblock-blog-slider .main-image,
.single-post .wp-block-lazyblock-blog-slider .slider-container,
.single-post .wp-block-lazyblock-blog-slider .slick-slider {
  margin-top: 0;
  padding-top: 0;
}
.single-post .wp-block-lazyblock-blog-slider img {
  width: 100%;
  height: auto;
}
@media screen and (max-width: 768px) {
  .single-post .wp-block-lazyblock-blog-slider {
    margin: 25px auto;
  }
}

.single-post .wp-block-lazyblock-layout-items-list {
  max-width: 800px;
  margin: 50px auto;
  width: 100%;
}
.single-post .wp-block-lazyblock-layout-items-list table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  border: 1px solid #d1d1d1;
}
.single-post .wp-block-lazyblock-layout-items-list th {
  background-color: #0D2818;
  color: #D4FF00;
  padding: 10px 16px;
  font-size: 1.1rem;
  text-align: center;
  border: 1px solid #0D2818;
  font-family: 'Anton', "Noto Sans JP", sans-serif;
  font-weight: bold;
  letter-spacing: 0.08em;
}
.single-post .wp-block-lazyblock-layout-items-list td {
  padding: 12px 16px;
  font-size: 0.9rem;
  color: #333333;
  border-bottom: 1px solid #e5e5e5;
  line-height: 1.5;
  text-align: center;
}
.single-post .wp-block-lazyblock-layout-items-list tr:last-child td {
  border-bottom: none;
}
.single-post .wp-block-lazyblock-layout-items-list td a {
  color: #0D2818;
  font-family: 'Anton', "Noto Sans JP", sans-serif;
  font-weight: bold;
  text-decoration: none;
  margin-right: 8px;
  letter-spacing: 0.08em;
}
.single-post .wp-block-lazyblock-layout-items-list td a:hover {
  text-decoration: underline;
}
@media screen and (max-width: 768px) {
  .single-post .wp-block-lazyblock-layout-items-list {
    width: 100%;
  }
  .single-post .wp-block-lazyblock-layout-items-list td a {
    display: block;
    margin-right: 0;
    margin-bottom: 4px;
  }
}

.single-post .wp-block-lazyblock-pickup-item-card {
  max-width: 800px;
  margin: 35px auto;
  width: 100%;
}
.single-post .product-blog-card {
  display: flex;
  align-items: stretch;
  gap: 25px;
  background-color: #0D2818;
  border: 1px solid #0D2818;
  padding: 30px;
  box-sizing: border-box;
}
.single-post .product-blog-card__thumb-box {
  flex: 1;
  min-width: 0;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  padding: 10px;
  box-sizing: border-box;
  overflow: hidden;
}
.single-post .product-blog-card__thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}
.single-post .product-blog-card:hover .product-blog-card__thumb-box img {
  transform: scale(1.05);
  opacity: 0.9;
}
.single-post .product-blog-card__content-box {
  flex: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.single-post .product-blog-card__header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.single-post .product-blog-card__title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff;
}
.single-post .product-blog-card__model {
  font-size: 0.9rem;
  color: #ffffff;
  font-family: 'Anton', "Noto Sans JP", sans-serif;
  letter-spacing: 0.08em;
}
.single-post .product-blog-card__description {
  font-size: 0.9rem;
  color: #dddddd;
  line-height: 1.6;
  margin: auto 0;
}
.single-post .product-blog-card__buttons {
  display: flex;
  gap: 12px;
  margin-top: auto;
  width: 100%;
}
.single-post .product-blog-card__btn-detail,
.single-post .product-blog-card__btn-amazon {
  flex: 1;
  display: inline-block;
  padding: 12px 16px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  transition: opacity 0.2s ease;
  font-family: 'Anton', "Noto Sans JP", sans-serif;
  letter-spacing: 0.08em;
}
.single-post .product-blog-card__btn-detail {
  background-color: #0D2818;
  color: #D4FF00 !important;
  border: 1px solid #D4FF00;
}
.single-post .product-blog-card__btn-amazon {
  background-color: #D4FF00;
  color: #0D2818 !important;
  border: 1px solid #D4FF00;
}
.single-post .product-blog-card__btn-detail:hover,
.single-post .product-blog-card__btn-amazon:hover {
  background-color: #fff;
  border-color: #fff;
  color: #0D2818 !important;
}
@media screen and (max-width: 768px) {
  .single-post .product-blog-card {
    flex-direction: column;
    padding: 16px;
    gap: 16px;
  }
  .single-post .wp-block-lazyblock-pickup-item-card {
    width: 100%;
  }
  .single-post .product-blog-card__thumb-box {
    width: 100%;
    max-width: none;
    margin: 0 auto;
  }
  .single-post .product-blog-card__title {
    font-size: 1.05rem;
  }
  .single-post .product-blog-card__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .single-post .product-blog-card__description {
    font-size: 0.85rem;
    margin: 8px 0;
  }
  .single-post .product-blog-card__buttons {
    flex-direction: column;
    gap: 8px;
  }
  .single-post .product-blog-card__btn-detail,
  .single-post .product-blog-card__btn-amazon {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
  }
}

.series-sns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 auto;
  padding: 20px 0;
  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 #D4FF00; 
  padding: 12px 16px;
  text-align: center;
  background-color: #0D2818;  
  margin: 20px auto;
  box-sizing: border-box;
  width: 80%;
  font-family: 'Anton', "Noto Sans JP", sans-serif;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
  text-decoration: none;
}
.follow-btn img {
  width: 24px;
  height: auto;
}
.follow-btn span,
.follow-btn a {
  color: #D4FF00 !important;
  font-family: 'Anton', "Noto Sans JP", sans-serif;
  font-size: 1.05rem;
  transition: color 0.3s ease;
}
.follow-btn:hover {
  background-color: #D4FF00;
  border-color: #D4FF00;
}
.follow-btn:hover span,
.follow-btn:hover a {
  color: #0D2818 !important;
}
@media screen and (max-width: 768px) {
  .series-sns {
    flex-direction: column;
    gap: 16px;
    padding: 40px 0;
  }
  .sns-qr img {
    height: 180px;
  }
  .sns-follow {
    width: 100%;
  }
  .follow-btn {
    width: 80%;
  }
}

/* --- 1. PARTNERS（協力企業） --- */
.single-post .wp-block-lazyblock-cooperation {
  background-color: #ffffff;
  margin-top: 60px;
  margin-bottom: 60px;
  width: 100%;
}
.single-post .wp-block-lazyblock-cooperation h2,
.single-post .wp-block-lazyblock-cooperation .obi-box {
  margin-top: 0;
  margin-bottom: 40px;
}
.single-post .coop-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* PC版は中央寄せ */
  gap: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.single-post .coop-grid > * {
  width: calc((100% - (20px * 3)) / 4); 
  box-sizing: border-box;
  text-align: center;
}
.single-post .coop-name,
.coop-name {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  font-weight: bold;
  color: #333333;
  margin: 0;
}
.single-post .coop-grid a,
.single-post .coop-grid img {
  transition: opacity 0.3s ease;
}
.single-post .coop-grid a:hover,
.single-post .coop-grid img:hover {
  opacity: 0.85;
  cursor: pointer;
}
@media screen and (max-width: 768px) {
  .single-post .wp-block-lazyblock-cooperation {
    width: 100%;
    margin: 40px auto;
  }
  .single-post .coop-grid {
    justify-content: center; /* 左寄せ(flex-start)から中央寄せに変更 */
    gap: 20px;
    padding-left: 40px;
    padding-right: 40px;
  }
  .single-post .coop-grid > * {
    width: calc((100% - 20px) / 2);
    box-sizing: border-box;
  }
  .single-post .coop-name {
    line-height: 1.25;
    margin-top: 6px;
  }
}

/* --- 2. RECOMMEND（レコメンド） --- */
.single-post .recommend-group {
  background-color: #F5F5F5;
  padding: 60px 0;
  display: flow-root;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
}
.single-post .recommend-group .obi-box,
.single-post .recommend-grid {
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 4%;
  padding-right: 4%;
  box-sizing: border-box;
}
.single-post .recommend-group .obi-box h3 {
  color: #0D2818;
}
.single-post .recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}
.single-post .recommend-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  box-sizing: border-box;
}
.single-post .recommend-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}
.single-post .recommend-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 30px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
.single-post .recommend-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.single-post .recommend-info {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: left;
}
.single-post .recommend-info h4 {
  color: #0D2818;
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0 0 5px 0;
  line-height: 1.4;
  text-align: left;
}
.single-post .recommend-info p {
  color: #666666;
  margin: 0 0 15px 0;
  font-family: 'Anton', "Noto Sans JP", sans-serif;
  letter-spacing: 0.08em;
  font-size: 1rem;
  text-align: left;
}
.single-post .recommend-btn {
  margin-top: auto;
  background-color: #D4FF00;
  color: #0D2818;
  font-family: 'Anton', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 8px 0;
  transition: all 0.3s ease;
}

/* RECOMMEND スマホ調整（横スワイプ＋左端40pxパツパツ防止） */
@media screen and (max-width: 768px) {
  /* 1. 親枠（.wrapper）の左右40px余白分だけ背景を外側に広げる */
  .single-post .recommend-group {
    width: auto;
    position: static;
    left: auto;
    right: auto;
    margin-left: -40px;
    margin-right: -40px;
    padding: 50px 0;
    box-sizing: border-box;
  }
  /* 2. 見出し（RECOMMEND）の位置を親の40pxラインに合わせる */
  .single-post .recommend-group .obi-box {
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
  }
  /* 3. 横スクロールコンテナ（scroll-padding-leftで吸着位置を40pxに固定） */
  .single-post .recommend-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 40px; /* ★スワイプ停止時・初期位置の左端余白を40pxに固定 */
    gap: 16px;
    padding: 0 40px 16px;
    margin: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
  }
  /* 1枚目のカードの左側に隙間（40px）を確保する安全なダミー要素 */
  .single-post .recommend-grid::before {
    content: '';
    display: block;
    flex: 0 0 24px; /* gap(16px) + 24px = 40px の正確な余白を生成 */
  }
  .single-post .recommend-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
}

/* =========================================================
   セール・キャンペーン・イベント詳細（single-news.php）PC版
========================================================= */
/*
   0. 全体・ヘッダー・共通要素（上部）
*/
.news-detail-main {
  margin-top: 80px;
  padding-top: 30px;
  width: 100%;
}
.news-detail-main .news-header {
  margin-bottom: 25px;
}
.news-detail-main .news-meta {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 15px;
}
.news-detail-main .news-title {
  font-size: 2.2rem;
  font-weight: bold;
  color: #333333;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 25px;
  word-break: break-word;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
.news-detail-main .news-main-visual {
  margin-bottom: 40px;
  text-align: center;
}
.news-detail-main .news-main-visual img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.news-detail-main .news-lead-text,
.news-detail-main .rules-body {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  text-align: left;
  line-height: 1.8;
  color: #5A5A5A;
}
.news-detail-main .news-lead-text p,
.news-detail-main .rules-body p {
  margin: 0 0 1em;
  text-align: center;
}
.news-detail-main .news-period-box,
body.single-news .news-action-button,
body.single-news .btn-primary {
  width: 100%;
  max-width: min(90%, 520px);;
  box-sizing: border-box;
}
body.single-news .news-action-button {
  margin: 40px auto 80px;
}
.news-detail-main .news-period-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background-color: #0D2818;
  border: 1px solid #0D2818;
  padding: 12px 15px;
  white-space: nowrap;
  border-radius: 0;
  margin-bottom: 40px;
}
.news-detail-main .period-label {
  font-size: 0.95rem;
  color: #ffffff;
}
.news-detail-main .period-dates {
  font-size: 1.1rem;
  font-weight: bold;
  color: #D4FF00;
  letter-spacing: 0.05em;
}
.news-detail-main .news-period-box.is-finished {
  background-color: #eeeeee;
  border-color: #cccccc;
}
.news-detail-main .news-period-box.is-finished .period-dates {
  color: #666666;
  font-weight: bold;
}
body.single-news .btn-primary {
  display: block;
  width: 100%;
  padding: 12px 6px;
  margin: 0 auto;
  border-radius: 0;
  text-align: center;
  box-sizing: border-box;
  background-color: #D4FF00;
  color: #0D2818;
  font-family: 'Anton', "Noto Sans JP", sans-serif;
  font-size: clamp(0.75rem, 3.2vw, 1.05rem);
  font-weight: bold;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  text-decoration: none;
  border: 1px solid #D4FF00;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.product-prize-card .news-action-button {
  margin: 15px auto 0;
}
body.single-news .btn-primary:hover {
  background-color: #ffffff;
  color: #0D2818;
  border-color: #0D2818;
}
.product-prize-card .rules-body,
.product-prize-card .news-lead-text p {
  margin-bottom: 16px;
}
/*
   1. イベント概要（EVENT INFO）ブロック
*/
.news-detail-main .news-section.spec-group {
  background-color: transparent;
  padding: 0;
  margin: 50px auto 40px;
  width: 100%;
  box-sizing: border-box;
}
.news-detail-main .spec-group .obi-box h3 {
  color: #0D2818;
}
.news-detail-main .spec.one-box table {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
  border: 1px solid #e0e0e0;
  background-color: #ffffff;
}
.news-detail-main .spec.one-box th {
  width: 25%;
  background-color: #0D2818;
  color: #fff;
  font-weight: bold;
  border: 1px solid #e0e0e0;
  padding: 12px 16px;
  text-align: left;
  vertical-align: middle;
}
.news-detail-main .spec.one-box td {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
  padding: 12px 16px;
  text-align: left;
  vertical-align: middle;
}

/*
   2. みどころ（HIGHLIGHTS）ブロック（全幅緑背景）
*/
.news-detail-main .news-highlights-section {
  background-color: #0D2818;
  padding: 60px 0 80px;
  width: 100%;
  box-sizing: border-box;
}
.news-detail-main .news-highlights-section .obi-box h3 {
  color: #D4FF00;
}
.news-detail-main .news-highlights-section .function-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}
.news-detail-main .news-highlights-section .function {
  border: 1px solid #ffffff;
  margin: 0;
  padding: 0 0 15px 0;
  box-sizing: border-box;
  width: 100%;
}
.news-detail-main .news-highlights-section .function img {
  width: 100%;
  height: auto;
  display: block;
}
.news-detail-main .news-highlights-section .function h4 {
  color: #D4FF00;
  font-size: 1.1rem;
  margin: 15px 0 10px 0;
  padding: 0 15px;
  text-align: left;
}
.news-detail-main .news-highlights-section .function p {
  margin: 0;
  padding: 0 15px;
  color: #ffffff;
  line-height: 1.7;
  text-align: left;
}

/*
   3. 連動キャンペーン（CAMPAIGN INFO）＆ 汎用商品・景品ブロック
*/
/* A. イベントページの CAMPAIGN INFO（薄グレー背景・黒文字） */
.news-detail-main section.news-campaign-section {
  background-color: #f9f9f9;
}
.news-detail-main section.news-campaign-section .obi-box h3 {
  color: #0D2818;
}
.news-detail-main .news-campaign-section .prize-set-name {
  color: #0D2818; 
}
/* NEWS詳細：CAMPAIGN INFOボタン下の余白とセクション下の隙間を詰める */
body.single-news .news-campaign-section .news-action-button {
  margin-bottom: 0;
}

body.single-news .news-campaign-section {
  padding-bottom: 80px;
}

/* カード（枠）が2つ以上並んだ場合の間隔を設定 */
body.single-news .product-prize-card + .product-prize-card {
  margin-top: 60px; /* 1つ目と2つ目のカード間の距離（お好みで調整） */
}

/* B. キャンペーンページの CAMPAIGN PRIZES（黄緑文字・当選本数調整） */
.news-detail-main .prize-set-name {
  color: #fff;
  border-left: 4px solid #D4FF00;
  padding-left: 12px;
  margin: 0 0 25px 0;
  font-size: 1.3rem;
  font-weight: bold;
  text-align: left;
}
.news-detail-main .prize-winners {
  margin-top: 30px;
  width: 100%;
  background-color: #0D2818;
  padding: 12px 20px;
  text-align: center;
  box-sizing: border-box;
  border: 1px solid #D4FF00;
}
.news-detail-main .prize-winners .winners-label {
  color: #ffffff;
  font-weight: bold;
  font-size: 1.05rem;
}
.news-detail-main .prize-winners .winners-count {
  color: #D4FF00;
  font-weight: bold;
  font-size: 1.2rem;
  margin-left: 6px;
}
/* スマホ表示時（768px以下）のNEWSキャンペーン枠調整 */
@media screen and (max-width: 768px) {
  /* ボタン下の重なった余白をリセット */
  body.single-news .news-campaign-section .news-action-button {
    margin-bottom: 0;
  }

  /* キャンペーンセクション自体の下余白（画面に合わせて少し小さく圧縮） */
  body.single-news .news-campaign-section {
    padding-bottom: 50px;
  }

  /* 枠（カード）が2つ以上並んだ場合の間隔 */
  body.single-news .product-prize-card + .product-prize-card {
    margin-top: 45px;
  }
}

/*
   4. 物販情報（EVENT SHOPPING）ブロック
*/
.news-detail-main .news-section.news-shopping-section {
  background-color: #ffffff;
  padding-bottom: 20px;
}
.news-detail-main .news-shopping-section .obi-box h3 {
  color: #333333;
}
.news-detail-main .news-shopping-section .prize-set-name {
  color: #333333;
  border-left-color: #0D2818;
}
.news-detail-main .news-shopping-section .btn-primary {
  background-color: #0D2818;
  color: #ffffff;
  border: 1px solid #0D2818;
}
.news-detail-main .news-shopping-section .news-action-button .btn-primary {
  margin-bottom: 0;
}

/*
   5. 展示アイテム（DISPLAY ITEMS）＆ グリッド共通（全幅緑背景）
*/
.news-detail-main .news-section {
  padding: 60px 0 80px;
  display: block;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}
.news-detail-main .news-products-section {
  background-color: #0D2818;
  padding: 60px 0 80px;
  width: 100%;
  box-sizing: border-box;
}
.news-detail-main .news-products-section .obi-box h3 {
  color: #D4FF00;
}
.news-detail-main .news-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px 20px;
  justify-items: center;
  padding: 0;
  width: 100%;
}
.news-detail-main .sale-list {
  width: 100%;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
  font-family: 'Anton', "Noto Sans JP", sans-serif;
  letter-spacing: 0.08em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-detail-main .sale-list a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.news-detail-main .sale-list img,
.news-detail-main .no-image-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background-color: #ffffff;
  padding: 15px;
  box-sizing: border-box;
  border: 1px solid #e0e0e0;
  margin: 0 auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.news-detail-main .sale-list:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}
.news-detail-main .sale-list .slider-caption {
  margin-top: 10px;
}
.news-detail-main .sale-list .slider-caption p {
  font-size: 1rem;
  color: #ffffff;
  margin: 0;
  line-height: 1.4;
  font-weight: bold;
}
.news-detail-main .sale-list .slider-caption small {
  display: block;
  font-size: 0.85rem;
  color: #dddddd;
  margin-top: 4px;
}

/*
   6. 協力企業紹介（PARTNERS）ブロック
*/
.news-detail-main .news-coop-section {
  width: 100%;
  margin: 60px auto;
  padding: 0;
  box-sizing: border-box;
}
.news-detail-main .coop-card.sale-list {
  overflow: visible;
  transition: none;
}
.news-detail-main .news-coop-section .obi-box {
  margin-top: 0;
  margin-bottom: 40px;
}
.news-detail-main .coop-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
}
.news-detail-main .coop-grid > * {
  width: calc((100% - (20px * 3)) / 4);
  box-sizing: border-box;
  text-align: center;
}
.news-detail-main .coop-logo {
  width: 100%;
  margin-bottom: 10px;
}
.news-detail-main .coop-logo img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border: none;
  background-color: transparent;
  padding: 0;
}
.news-detail-main .coop-name {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  font-weight: bold;
  color: #333333;
  margin: 0;
  text-align: center;
}
.news-detail-main .coop-grid a,
.news-detail-main .coop-grid img {
  transition: opacity 0.3s ease;
}
.news-detail-main .coop-grid a:hover,
.news-detail-main .coop-grid img:hover {
  transform: none;
  opacity: 0.85;
}

/*
   7. レスポンシブ用（スマホ）
*/
@media screen and (max-width: 768px) {
/* 全体・ヘッダー周りの調整 */
.news-detail-main {
  margin-top: 90px;
  padding-top: 20px;
}
.news-detail-main .news-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.news-detail-main .news-main-visual {
  margin-bottom: 30px;
}
.news-detail-main .news-lead-text,
.news-detail-main .rules-body {
  margin-bottom: 0px;
  font-size: 0.9rem;
  line-height: 1.7;
}
.news-detail-main .news-period-box {
  flex-direction: column;
  gap: 4px;
  padding: 10px 15px;
  white-space: normal;
}


/* セクション上下余白の圧縮 */
.news-detail-main .news-section,
.news-detail-main .news-highlights-section,
.news-detail-main .news-products-section,
.news-detail-main .news-campaign-section,
.news-detail-main .news-shopping-section {
  padding: 40px 0 50px;
}

/* 1. EVENT INFO テーブルのスマホ最適化 */
.news-detail-main .spec.one-box table tr,
.news-detail-main .spec.one-box table th,
.news-detail-main .spec.one-box table td {
  display: block;
  width: 100%;
  box-sizing: border-box;
}
.news-detail-main .spec.one-box th {
  border-bottom: none;
  padding: 8px 12px;
}
.news-detail-main .spec.one-box td {
  padding: 8px 12px 12px 20px;
  border-top: 1px solid #e0e0e0;
}

/* 2. HIGHLIGHTS（みどころ）2列配置 */
.news-detail-main .news-highlights-section .function-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 12px;
}
.news-detail-main .news-highlights-section .function h4 {
  font-size: 0.95rem;
  padding: 0 10px;
  margin: 10px 0 6px;
}
.news-detail-main .news-highlights-section .function p {
  font-size: 0.75rem;
  padding: 0 10px;
}

/* 3. CAMPAIGN PRIZES / SALE ITEMS / DISPLAY ITEMS 2列配置 */
.news-detail-main .news-products-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 12px;
}
.news-detail-main .prize-set-name {
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.news-detail-main .sale-list .slider-caption p {
  font-size: 0.85rem;
}
.news-detail-main .sale-list .slider-caption small {
  font-size: 0.75rem;
}

/* 当選本数帯のスマホ微調整 */
.news-detail-main .prize-winners {
  margin-top: 20px;
  padding: 10px 15px;
}
.news-detail-main .prize-winners .winners-label {
  font-size: 0.95rem;
}
.news-detail-main .prize-winners .winners-count {
  font-size: 1.1rem;
}

/* 4. PARTNERS（協力企業）2列配置 */
.news-detail-main .news-coop-section {
  margin: 0px auto;
}
.news-detail-main .coop-grid {
  gap: 16px 12px;
}
.news-detail-main .coop-grid > * {
  width: calc((100% - 12px) / 2);
}
.news-detail-main .coop-name {
  font-size: 0.85rem;
}
/*リンクボタンの余白*/
body.single-news .news-action-button {
  margin-bottom: 50px;
}
}

/* =========================================================
   セール・キャンペーンお知らせ一覧TOP（JOURNALと完全統一）
========================================================= */
.news-switcher-js {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  margin-bottom: 40px;
  width: 100%;
}
.news-tab-btn {
  display: inline-block;
  padding: 10px 24px;
  background-color: #ffffff;
  border: 1px solid #0D2818;
  color: #0D2818;
  font-weight: bold;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.08em;
  outline: none;
}
.news-tab-btn:focus-visible {
  outline: 2px solid #0D2818;
  outline-offset: 2px;
}
.news-tab-btn:hover {
  background-color: #0D2818;
  color: #ffffff;
}
.news-tab-btn.is-active {
  background-color: #D4FF00;
  color: #0D2818;
  border-color: #0D2818;
}

.news-card-item {
  padding: 0 0 16px 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  opacity: 1;
  transform: scale(1);
}
.news-card-item.is-finished img {
  filter: grayscale(60%);
  opacity: 0.7;
  transition: filter 0.3s, opacity 0.3s;
}
.news-card-item.is-finished:hover img {
  filter: grayscale(20%);
  opacity: 0.9;
}

/* NEWSカードの文字・フォント調整（JOURNALと完全統一） */
.news-card-item .product-name {
  font-family: 'Anton', "Noto Sans JP", sans-serif;
  font-size: 1rem;
  line-height: 1.35;
  margin-top: 10px;
}

.news-card-item .product-model {
  font-family: "Noto Sans JP", "Roboto", sans-serif;
  font-weight: normal;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: #666666;
  margin-top: 4px;
}

/*画像サイズの調整*/
.product-list.news-card-item .product-img {
  width: 100%;
  overflow: hidden;
}
.product-list.news-card-item .product-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9; /* JOURNALと同様の16:9比率にする場合 */
  object-fit: cover;
  display: block;
}

/* グリッド配置・gap（JOURNAL基準） */
.page-template-page-news .product-list {
  width: 100%;
}
.page-template-page-news .series-top-contents .grid-ongoing,
.page-template-page-news .series-top-contents .grid-finished {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 20px;
  width: 100%;
  justify-items: stretch;
}
.page-template-page-news .series-top-contents .news-card-item {
  width: 100%;
  max-width: none;
}
.page-template-page-news .series-top-contents img {
  width: 100%;
  height: auto;
}

/* ページャー下の余白確保 */
.page-template-page-news #news-pagination-js {
  margin-top: 40px;
  margin-bottom: 80px;
}

/* スマホ対応（768px以下） */
@media screen and (max-width: 768px) {
  .news-switcher-js {
    gap: 8px;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 0;
  }
  .news-tab-btn {
    padding: 8px 18px;
    font-size: 0.8rem;
    line-height: 1.2;
  }
  .page-template-page-news .series-top-contents .grid-ongoing,
  .page-template-page-news .series-top-contents .grid-finished {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
  }
  .page-template-page-news .product-list .slider-caption small {
    font-size: 0.75rem;
  }
  .page-template-page-news #news-pagination-js {
    margin-top: 20px;
    margin-bottom: 50px;
  }
}
/* アニメーション減衰設定（OSの「動きを減らす」対応） */
@media (prefers-reduced-motion: reduce) {
  .title-404,
  .amazon-button::before {
    animation: none;
  }
}
/* --- JavaScript無効環境の表示補正 --- */

/* 1. NEWS・JOURNAL一覧のアニメーション非表示を解除 */
html:not(.aos-animate) [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* 2. ドロワーメニュー開閉時の表示補正 */
#drawer_input:checked ~ #drawer_menu .nav_item {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}