@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

html { font-size: 62.5%; } /* 10px */

/* 1280px以下：10px → 8.125px（本文最小13px） */
@media (max-width: 1280px) {
  html {
    font-size: calc(
      8.125px + (10 - 8.125) * ((100vw - 375px) / (1280 - 375))
    );
  }
}

/* ▼ここが追加：iPad帯（<=1024）だけ、もう一段締める */
@media (max-width: 1024px) and (min-width: 768px) {
  html {
    /* 1024で9px、768で8.125px（本文は13px未満にならない） */
    font-size: calc(
      8.125px + (9 - 8.125) * ((100vw - 768px) / (1024 - 768))
    );
  }
}

/* 375px以下：下限固定 */
@media (max-width: 375px) {
  html { font-size: 8.125px; }
  html { font-size: 8.75px; } /*14px*/
  /* html {font-size:62.5%;} */
}

/* 本文（クラス運用でもOK） */
body {
  font-size: 1.7rem; /* 16px → 最小13px */
  line-height: 1.7;
}

@media (min-width: 1025px) {
  .md, .sp {
    display: none;
  }
}

@media (max-width: 1024px) {
}


/* html
-------------------------------------------------*/
html {
    overflow-y: scroll;
}

/* リセットスタイル */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
background: linear-gradient(to right,  rgba(0,0,0,1) 0%,rgba(17,17,17,1) 50%,rgba(0,0,0,1) 100%);
  color: #fff;
  line-height: 1.6;
  font-family:'Noto Sans JP','Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Arial, sans-serif;;
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}
.en {
  font-family: 'Roboto',sans-serif;
  letter-spacing: 1px;
}



/* コンテナ */
.container {
  max-width: 1200px;
  width:95%;
  margin: 0 auto;
  padding: 0 1rem;
}
.container.big {
  max-width:1400px;
}
.container.medium {
  max-width:1280px;
}
.container.base {
  max-width:1000px;
}
.inner {
  max-width:1200px;
  width:95%;
  margin:0 auto;
}
.hidden {
    display: none !important;
}


/* ヘッダー */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 2%;
}

.header .logo {
  max-width: 340px;
  width:20%;
  position: relative;
  top: 18px;
  left: 0;
}
.logo img {

}

header.is-scrolled {
  /* background: rgba(0,0,0,0.9);*/
  transition: background .3s ease;
  -webkit-backdrop-filter: blur(10px);
background: linear-gradient(to bottom,  rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%);
}


header {
background: transparent;
background: linear-gradient(to bottom,  rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%);
}

/* デスクトップナビゲーション */
.desktop-nav {
  display: none;
  gap: 2rem;
}

.desktop-nav a {
  font-family: 'Roboto',sans-serif;
  font-size: 1.1em;
  font-weight: 500;
  letter-spacing: 1.5px;
  transition: color 0.3s ease;
}

/* モバイルメニューボタン */
.menu-toggle {
  background: transparent;
  color: white;
  display: block;
  z-index: 1001;
}

.menu-toggle svg {
  width: 30px;
  height: 30px;
}

/* モバイルメニュー */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2em;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu a {
  font-size: 1.4em;
}

/* ヒーローセクション */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  object-fit: cover;
  width: 100%;
  height: auto;
}

.hero-content {
    max-width: 1340px;
    position: absolute;
    top: 0;
    bottom:0;
    left: 0;
    right: 0;
    margin: auto;
    width: 81%;
    display: flex;
    align-items: center;
    align-content: center;
    line-height: 1;
}
.btn-secondary {
  padding: 0.75rem 2rem;
  border: 1px solid white;
  color: white;
  border-radius: 0.375rem;
  background: transparent;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
}

.btn-secondary:hover {
  background-color: white;
  color: black;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -10px);
  }
}

/* セクション共通 */
section {
  padding: 4rem 0;
}

.section-title {
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.section-subtitle {
  color: #9ca3af;
  font-size: 0.875rem;
}

/* loop */
	@keyframes infinity-scroll-left {
from {
  transform: translateX(0);
}
  to {
  transform: translateX(-100%);
}

}
.scroll-infinity__wrap {
  display: flex;
  overflow: hidden;
}
.scroll-infinity__list {
  display: flex;
  list-style: none;
}
.scroll-infinity__list--left {
  animation: infinity-scroll-left 100s infinite linear 0.5s both;
}
.scroll-infinity__item {
  width: calc(100vw / 2.3);
  margin:0 5px;
}
.scroll-infinity__item>img {
  width: 100%;
}

/*read*/
#read-wrap {
  background: url(../img/bg.jpg)no-repeat center bottom;
  background-size:cover;
  width:100%;
  height: 100%;
}
#top-read {
  padding-bottom:10rem;
}
#top-read p {
  line-height: 2.8;
  letter-spacing: 2px;
  font-size: 1.2em;
}

/*flex*/
.flex {
  display: flex;
}
@media screen and (min-width:768px) {
  .flex-pc {
    display: flex;
    justify-content: space-between;
}
}

/*btn*/
.btn-more {
  padding: 1.4rem 2rem;
  border: 1px solid white;
  color: white;
  background: transparent;
  transition: all 0.3s ease;
  max-width: 100%;
  width: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  text-align: center;
  font-size: 0.9em;
}
.btn-more:hover {
  background-color: white;
  color: black;
}

/* ニュースセクション */
.news-outer {
  background-color: #333;
  clip-path: polygon(2% 0, 98% 0, 100% 10%, 100% 90%, 98% 100%, 2% 100%, 0 92%, 0 10%);
}
.news-inner {
  padding:3rem 0;
}
.top-news-main .cate {
  margin:3px 5px 5px 5px;
  white-space: nowrap;
}

.ttl-news {
  font-size: 2.5em;
  margin:0 0 2rem;
}
.news-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px solid #374151;
  margin-bottom: 1rem;
  transition: background-color 0.3s ease;
}
.cate {
  background-color: #555;
  line-height: 1.2;
  padding:0.2em 0.5em;
  font-size: 0.8em;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
}
.news-archive .day {
  margin-right:1em;
  font-size: 0.95em;
}
.news-item:hover {
  background-color: rgba(0, 0, 0, 0.7);
}
.news-date {
  color: #9ca3af;
  font-size: 0.875rem;
}
.news-ttl a,
.desktop-nav a,
.link {
  position: relative;
}
.news-ttl a:after,
.desktop-nav a:after,
.link:after {
  background-color: #fff; /* 下線の色 */
  bottom: -4px; /* 要素の下端からの距離 */
  content: ""; /* 要素に内容を追加 */
  height: 1px; /* 下線の高さ */
  left: 0; /* 要素の左端からの距離 */
  position: absolute; /* 絶対位置指定 */
  transform: scale(0, 1); /* 下線を横方向に0倍、縦方向に1倍に変形（非表示） */
  transform-origin: left top; /* 変形の原点を左上に指定 */
  transition: transform .3s; /* 変形をアニメーション化 */
  width: 100%; /* 要素の幅 */
}
/* リンクにホバーした際の下線の表示 */
.news-ttl a:hover:after,
.desktop-nav a:hover:after,
.link:hover:after {
  transform: scale(1, 1); /* 下線を横方向に1倍、縦方向に1倍に変形（表示） */
}


/* グリッドレイアウト */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3%;
}

/*value*/
.brand {
  padding:10rem 0 15rem;
}

/* ブランドバリューカード */
.value-image {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
  aspect-ratio: 1;
}
.ttl-card {
  margin-bottom:1rem;
}

/* テクノロジーセクション */
.technology {
  padding-top:10rem;
  background: url(../img/tech-point.svg)no-repeat 50% top;
  background-size:40%;
}
.technology .ttl-jp {
  margin-bottom:1.8em;
  font-size: 2.2em;
}
/* .tech-text h3 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
} */

.tech-text p {
  line-height: 2.5;
  font-size: 1.1em;
}
video {
  width: 100%; /* 動画をレスポンシブ化 */
  max-width: 410px; /* 動画の最大幅 */
}



/* 製品セクション */
.ttl-jp {
  margin:1rem 0 4rem;
}
.product-flex {
  margin:3em 0;
}
.product-card {
  padding:2rem;
  border:1px solid #fff;
    text-align: center;
}
.product-card a:hover img {
  transform: scale(1.1);
}
.product-card img {
  transition: transform 0.5s ease;
}
.product-card-ttl {
  margin-bottom:1em;
}
.product-card .card-ttl {
  font-size: 1.53em;
  font-weight: bold;
  letter-spacing: 1px;
}


/* OEMセクション */
.oem {
  background:url(../img/bg-oem.png)no-repeat center top;
  background-size:auto 768px;
  padding:10rem 0 15rem;
}
.oem-txt {
  line-height: 2;
  font-size: 1.1em;
  letter-spacing: 1px;
  margin-bottom:2em;
}

/* お問い合わせセクション */
.cta {
  position: relative;
  background: url(../img/bg-cta.png)no-repeat 0 0;
  background-size:cover;
  display: flex;
  align-items: center;
}

.cta-area {
  align-items: flex-end;
  align-content: flex-end;;
  line-height: 1;
}
.cta-sub {
  line-height: 1.8;
  letter-spacing: 1px;
}
.btn-area {
  margin: 2rem auto;
  text-align: center;
}
.cta-btn {
  max-width:100%;
}
.btn01 {
  width:480px;
  max-width:100%;
  height: 90px;
  text-decoration: none;
}
.btn01 {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  line-height: 1.2;
  font-size: 1.1em;
  font-weight: bold;
  position: relative;
  padding: 0.5em 1em;
  color: #fff;
  background-color:none;
  border:1px solid #fff;
  margin: 0;
}
.btn01:hover {
  background-color: #fff;
  color:#000;
}
.btn01.s {
  width:290px;
  max-width:100%;
  height:54px;
  font-size: 1.5rem;
  background-size: auto 8px;
}


/* フッター */
footer {
  height: 7em;
  display: flex;
  align-items: center;
  align-content: center;
  line-height: 1.2;
  justify-content: center;
  text-align: center;
}
.footer-company a {
  letter-spacing: 2px;
  font-size: 0.7em;
}




/* レスポンシブデザイン */

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
    width:80%;
    margin: 0 auto 0 10%;
  }
  
  .menu-toggle {
    display: none;
  }
  
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  section {
    padding: 5rem 0;
  }
}




@media screen and (min-width: 768px) {
  .sp {
    display: none;
  }
.hero .mv-ttl {
  width:45%;
  margin-top:-2%;
}
.hero,
.hero-content,
.hero-bg {
  height:clamp(300px,calc(700/1400*100vw),calc(700/1400*100vw));
}
header.is-scrolled {
  backdrop-filter: blur(10px);
}
.news-archive dl {
  display: flex;
  padding:1rem 0;
}

.top-news-sub {
  width:20%;
}
.top-news-main {
  width:80%;
  padding-left:5%;
}
.news-archive dt {
  display: flex;
  align-items: flex-start;
}
.news-archive dd {
  padding-left:1em;
}
.tech-detail {
  width:65%;
  padding-right: 5%;
}
.tech-img {
  width:35%;
}
.tech-text {
  clip-path: polygon(3% 0, 97% 0, 100% 6%, 100% 94%, 97% 100%, 3% 100%, 0 94%, 0 6%);
  padding: 2.2em 10% 2.5em;
  max-width:105%;
  margin-left:-10%;
  background:url(../img/tech-point.svg)no-repeat right 90%;
  background-size:auto;
  background-color: #333;
}
.ttl-jp {
  font-size: 2em;
}
.ttl-value {
  max-width:534px;
  width:65%;
}
.ttl-tech {
  max-width:516px;
  width:60%;
  margin-bottom:2.5rem;
}
.ttl-product {
  max-width:368px;
  width:40%;
}
.oem {
  overflow: hidden;
}
.oem-detail {
  width:44%;
}
.ttl-oem {
  width:167px;
  max-width:35%;
}
.oem .ttl-jp {
  font-size: 2.2em;
  margin-bottom:2.5rem;
}
.oem-img {
  width: 57%;
  margin: 4rem -6% 0 auto;
}
.cta-detail {
  width:60%;
}
.cta-btn-area {
  width:35%;
  align-content: flex-end;
}
.ttl-contact {
  width:360px;
  max-width:40%;
  margin-bottom:5em;
}
.cta {
  max-height: 4480px;
  min-height: 260px;
  height: clamp(12vw, calc(448 / 1400 * 100vw), 448px);
}
.bg01 {
  background:url(../img/bg01.jpg)repeat 0 -21rem;
  background-size:cover;
}
}


@media (min-width: 768px) and (max-width:1024px) {
  .desktop-nav a {
    font-size: 1.5vw;
  }
  .technology .ttl-jp,
  .oem .ttl-jp {
    font-size: 3vw;
  }
  .btn01 {
    height: 4em;
  }
  .product-card .card-ttl {
    font-size: 2vw;
  }
  #top-read p,
  .tech-text p,
  .oem-txt {
    font-size: 1em;
  }
}

/*------------------------------------------------
SP
-------------------------------------------------*/
@media screen and (max-width: 767px) {
.pc {
  display: none;
}
body {
  font-size: 1.6rem;
}
.container {
  width:90%;
}
.hero-content {
  align-items: flex-end;
  padding-bottom:2.5rem;
}
.hero,
.hero-content,
.hero-bg {
  height:clamp(590px,calc(600/1400*100vw),calc(700/1400*100vw));
}
.mv-ttl {
  width:90%;
  margin:0 auto;
}
.mv-ttl img {
  filter: drop-shadow(10px 10px 10px #000);
}
.header .logo {
width:50%;
}
.scroll-infinity__item {
  width: calc(100vw / 1.2);
  margin:0 5px;
}
.header-content {
  height: 60px;
}
.hero-bg {
  top:50px;
}
.header .logo {
  top:5px;
  z-index: 1;
}
#top-read {
  padding-top:2rem;
  padding-bottom:8rem;
}
#news {
  padding-top:6rem;
}
#top-read p {
    line-height: 2;
    letter-spacing: 2px;
    font-size: 1em;
    margin-bottom:1.5em;
}
.news-archive dl {
  padding:1rem 0;
}
.news-archive dl:first-of-type {
  padding-top:2rem;
}
.news-archive dt {
  margin-bottom:0.5em;
}
.news-inner {
    padding: 3rem 1rem 4rem;
}
.ttl-news {
  margin:0;
}
.top-news-sub {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  gap:0 5%;
}
.btn-more {
  width:auto;
  padding:1rem 1.5rem;
}
.news-outer {
    clip-path: polygon(4% 0, 96% 0, 100% 4%, 100% 96%, 96% 100%, 4% 100%, 0 96%, 0 4%);
}
.news-archive dt {
  display: flex;
}
#brand {
  padding-top:6rem;
  padding-bottom:10rem;
}
.ttl-value {
    max-width: 20em;
    width: 90%;
}
.ttl-jp {
    font-size: 1.65em;
}
.brand {
  padding-left:1rem;
  padding-right:1rem;
}
.value-card {
  margin-bottom:3em;
}
.technology {
    padding-top: 10rem;
    background: url(../img/tech-point.svg) no-repeat right top;
    background-size: 60%;
}
.ttl-tech {
    max-width: 19em;
    width: 92%;
    margin-bottom: 2.5rem;
}
.technology .ttl-jp {
  font-size: 1.5em;
}
.tech-text {
  clip-path: polygon(4% 0, 96% 0, 100% 4%, 100% 96%, 96% 100%, 4% 100%, 0 96%, 0 4%);
  padding: 2rem;
  max-width:100%;
  margin:0 auto 3em;
  background:url(../img/tech-point.svg)no-repeat right 90%;
  background-size:60%;
  background-color: #333;
}
.tech-text p {
  font-size: 1em;
  line-height: 2;
}
.ttl-product {
  max-width:16em;
  width:60%;
}
.product {
  padding-top:8rem;
}
.product .ttl-jp {
  font-size: 1.5em;
}
.oem {
  padding-bottom:9rem;
}
.ttl-oem {
  width:7em;
  max-width:32%;
}
.oem-img {
  margin-bottom:2em;
}
.oem .more-btn a {
  padding:1em;
  font-size: 1.1em;
}
.oem-txt {
 font-size: 1em;
}
.ttl-contact {
  width: 13em;
  max-width: 75%;
}
.cta-sub {
  margin:1.5em 0 2em;
}
.btn01{
  height: 60px;
}
footer {
    height: 5em;
}
.bg01 {
  background:url(../img/bg01.jpg)repeat-y 0 -21rem;
  background-size:contain;
}
}


/* Page Top Button Styles */
.page-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-top.show {
  opacity: 1;
  visibility: visible;
}

.page-top:hover {
  background-color: #555;
}

.page-top svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

/* スマートフォン表示調整 */
@media (max-width: 767px) {
  .page-top {
    bottom: 10px;
    right: 5px;
    width: 36px;
    height: 36px;
  }
  
  .page-top svg {
    width: 20px;
    height: 20px;
  }
}

/* Scroll Fade In Animation */
.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* 時差アニメーション用のディレイクラス */
.fade-in.delay-1 {
  transition-delay: 0.1s;
}

.fade-in.delay-2 {
  transition-delay: 0.3s;
}

.fade-in.delay-3 {
  transition-delay: 0.5s;
}

.fade-in.delay-4 {
  transition-delay: 0.7s;
}

.fade-in.delay-5 {
  transition-delay: 0.9s;
}

.fade-in.delay-6 {
  transition-delay: 0.11s;
}

/*------------------------------------------------
news
-------------------------------------------------*/
/* ニュース一覧ページ - ダークテーマCSS for BOOSTRIDE */

/* ================================
   ベース設定
   ================================ */
body.lower {
  color: #fff;
}


/* ================================
   KVエリア（タイトル部分）
   ================================ */
#kv {
  padding: 80px 0 40px;
}

.kv-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.kv-ttl {
  font-size: 4em;
  font-weight: bold;
  color: #fff;
  margin-bottom: 30px;
  letter-spacing: 0.05em;
}

.kv-ttl.en {
  font-family:'Roboto',sans-serif;
}

.kv-ttl span {
  display: block;
  font-size: 16px;
  font-weight: 400;
  margin-top: 10px;
  color: #999;
}

/* 検索ボックス */
.header-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 400px;
}

.header-search-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #fff;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.header-search-button:hover {
  background-color: #f0f0f0;
}

.header-search-button img {
  width: 20px;
  height: 20px;
}

.header-search-input {
  flex: 1;
  padding: 10px 15px;
  background-color: #1a1a1a;
  border: 1px solid #333;
  color: #fff;
  font-size: 14px;
  border-radius: 4px;
  transition: border-color 0.3s ease;
}

.header-search-input:focus {
  outline: none;
  border-color: #666;
}

.header-search-input::placeholder {
  color: #666;
}

/* ================================
   パンくずリスト
   ================================ */
#breadcrumb {
  padding: 15px 0;
}

.breadcrumbs {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 10px;
  list-style: none;
}

.breadcrumbs li {
  color: #999;
  font-size: 13px;
}

.breadcrumbs li a {
  color: #999;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumbs li a:hover {
  color: #fff;
}

.breadcrumbs li::after {
  content: ">";
  margin-left: 10px;
  color: #666;
}

.breadcrumbs li:last-child::after {
  content: "";
}

/* ================================
   カテゴリーエリア
   ================================ */
.category-area {
  padding: 30px 0;
}

.category-area.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.category-flex {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-flex li {
  margin: 0;
}

.category-flex a {
  display: inline-block;
  padding: 5px 20px;
  background-color: #1a1a1a;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid #333;
}

.category-flex a:hover {
  background-color: #fff;
  color: #000;
  border-color: #fff;
}

.category-all a {
  background-color: #fff;
  color: #000;
  border-color: #fff;
}

/* ================================
   ニュース一覧エリア
   ================================ */
.lower .bg01 {
  padding-bottom:8rem;
}
.bgb {
  background-color: #000;
  padding: 60px 0;
}

#news-index {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 20px;
}

/* ニュースグリッド */
.blog-archive {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 3em;
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-archive li {
  background-color: #0a0a0a;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #1a1a1a;
  margin-bottom:1em;
}

.blog-archive li:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
  border-color: #333;
}

.blog-archive a {
  display: block;
  text-decoration: none;
  color: #fff;
}

/* サムネイル画像 */
.blog-archive figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: #1a1a1a;
}

.blog-archive figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-archive li:hover figure img {
  transform: scale(1.05);
}

/* 日付とカテゴリー */
.day-cate {
  display: flex;
  align-items: center;
}
.blog-archive .day-cate {
  padding: 20px 20px 10px;
}
.cate-flex {
  line-height: 1;
}
.day-cate .day {
  color: #999;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.day-cate .cate {
  display: inline-flex;
  margin: 5px;
  padding: 4px 12px;
  background-color: #333;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.day-cate .cate i {
  font-style: normal;
  opacity: 0.7;
}
.single-detail p {
  line-height: 2;
  margin-bottom:1em;
}


/* タイトルテキスト */
.blog-archive-txt {
  padding: 0 20px 20px;
  font-size: 15px;
  line-height: 1.6;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

/* ================================
   レスポンシブ対応
   ================================ */

/* タブレット */
@media (max-width: 1024px) {
  .blog-archive {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* スマートフォン */
@media (max-width: 767px) {
  #kv {
    padding: 60px 0 30px;
  }

  .kv-ttl {
    font-size: 32px;
  }

  .kv-ttl span {
    font-size: 14px;
    margin-top: 8px;
  }

  .header-search {
    max-width: 100%;
  }

  .category-area {
    padding: 20px 0;
  }

  .category-flex {
    gap: 10px;
  }

  .category-flex a {
    padding: 8px 16px;
    font-size: 13px;
  }

  .blog-archive {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .bgb {
    padding: 40px 0;
  }

  .blog-archive-txt {
    font-size: 14px;
  }

  .day-cate {
    padding: 15px 15px 8px;
  }

  .blog-archive-txt {
    padding: 0 15px 15px;
  }
  .breadcrumbs {
    display: flex;
    overflow: hidden;
    overflow-x: scroll;
    width: 100%;
    height: 20px;
    justify-content: flex-start;
    padding: 0 0.5rem;
  }
  .breadcrumbs li *, .breadcrumbs li a, .breadcrumbs li {
    font-size: 10px;
    padding: 5px 0;
  }
  .breadcrumbs li {
    white-space: nowrap;
  }
}

/* single */
.single-wrap h1,
.ttl01 {
  padding: 2.5rem 0;
    border-bottom: 2px solid #fff;
    font-size: 3.4rem;
    color: #fff;
    line-height: 1.4;
    margin: 3em 0 1rem;
    position: relative;
}
.single-wrap h1:before,
.ttl01:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #fff;
}
.single-wrap h1:after,
.ttl01:after {
    content: "";
    position: absolute;
    top: 3px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #fff;
}
.single-wrap .day-cate {
  margin:2rem auto 3em;
}
.single-wrap h2 {
  margin:3em 0 1em;
  font-size: 2em;
  background-color: #999;
  color: #000;
  padding:0.3em 1em;
}
.single-wrap h3 {
  margin:3em 0 1em;
  font-size: 1.5em;
  border-bottom:1px solid #fff;
  padding-bottom:0.5em;
}
.single-nav {
    margin: 0 auto;
    padding: 8rem 0 5rem;
    list-style: none;
}
.single-nav {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    text-align: center;
    gap: 0 1.5%;
}
.single-nav .btn01 {
    width: calc(260 / 1300 * 100vw);
    max-width: 260px;
    max-height: 64px;
    height: calc(64 / 1300 * 100vw);
    text-decoration: none;
    font-size: 1em;
}
.read-404 * {
  line-height: 2;
}
.single-detail .wp-block-button {
  margin:2em 0 0;
}

.wp-pagenavi {
display: flex;
justify-content: center;
}
.wp-pagenavi a.page:hover, .wp-pagenavi span.current {
background-color: #262626;
color: #fff;
border: none;
}
.pager-wrap .wp-pagenavi a, .pager-wrap .wp-pagenavi span {
border-color: #b2b2b2;
margin: 5px;
}
.wp-pagenavi a, .wp-pagenavi span {
  text-decoration: none;
  margin: 0.5em;
  width: 2.5em;
  height: 2.5em;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  border-radius: 10em;
  border: none;
}
.wp-pagenavi a, .wp-pagenavi span {
    text-decoration: none;
    border: 1px solid #BFBFBF;
    padding: 3px 5px;
    margin: 2px;
}
.wp-block-buttons + .wp-block-buttons {
  margin-top:1em;
}

@media screen and (min-width:768px) {
.sec12 {
        padding: 12rem 0;
    }
    .secb4 {
        padding-bottom: 4rem;
    }
    .read-404 {
        text-align: center;
    }
  .pager {
        padding: 2rem 0;
    }
}



@media screen and (max-width:767px) {
  #breadcrumb  {
    padding-left:6%;
  }
  .sec12 {
        padding: 6rem 0;
    }
  .single-wrap h1,
  .ttl01 {
        font-size: 2rem;
        padding: 1.5rem 0;
        margin: 5rem 0 2rem;
    }
    .single-wrap h2 {
      font-size: 1.5em;
    }
    .single-wrap h3 {
      font-size: 1.3em;
    }
    .single-nav li {
      width:30%;
    }
    .single-nav .btn01 {
        max-width: 260px;
        width: 100%;
        font-size: 1.2rem;
        height: 40px;
        padding: 0 1em;
    }
    .single-nav {
      padding:8rem 0 0;
    }
    .pager-wrap {
        margin: 2rem auto;
    }
    .wp-pagenavi a:first-of-type, .wp-pagenavi a:last-of-type {
        border: none;
    }
    .wp-pagenavi a, .wp-pagenavi span {
        width: 2em;
        height: 2em;
        border-radius: 2em;
        margin: 5px;
        font-size: 1.4rem;
    }
}