/*
Theme Name: kaepro
Description: カエプロ
Version: 1.0
*/

/* =========================
   リセット
========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 横スクロール防止（最重要） */
body {
  overflow-x: hidden;
}

/* スクロールバー非表示（見た目だけ） */
html {
  -ms-overflow-style: none;   /* IE・Edge */
  scrollbar-width: none;      /* Firefox */
  scroll-behavior:smooth;
  scroll-padding-top:calc(
    var(--header-height) + 20px
  );

}

html::-webkit-scrollbar {
  display: none;              /* Chrome・Safari */
}

a{
  color:inherit;
}

.p-confirmList dd {
  margin: 0;
}

.p-confirmList dt,
.p-confirmList dd {
  margin: 0;
}

:root {
  --menu-btn-height: 60px;
  --header-height: 65px;
}

header {
  height:var(--header-height);
}

body {
  margin: 0;
  font-family: "Zen Maru Gothic", sans-serif;
  line-height: 1.6;
  background-color: rgb(255, 255, 255);
  color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6{
  margin:0;

  font-size:inherit;

  font-weight:inherit;
}

ul, li {
  margin: 0;
  padding: 0;
  list-style: none;
}


/* IE / Edge */
.l-main {
  -ms-overflow-style: none;
  padding-bottom: 0;
  
}

/* ボーダーデザイン */
.c-borderLine {
  position: relative;
  padding-bottom: 14px;
  margin:0 auto 15px;
}


/* 下ライン */

.c-borderLine::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 100%;
  height: 8px;

  background:
    repeating-linear-gradient(
      -45deg,
      #43a047,
      #43a047 2px,
      #e8f5e9 2px,
      #e8f5e9 4px
    );

  border-radius: 999px;
}


/* =========================
ページタイトル
========================= */

h1 {
  position: relative;

  /* margin-bottom: 28px; */
  /* padding-bottom: 14px; */
  /* padding-left:20px; */
  font-size: 24px;
  font-weight: bold;
  line-height: 1.4;

  color: #2d2d2d;
}







/* =========================
   画像
========================= */
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* =========================
   レイアウト
========================= */

/* 背景ラッパー */
.l-wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;

}


/* 中央コンテンツ */

/* コンテナ固定 */
.l-container {
  position:relative;
  width: 100%;
  max-width: 1200px;
  margin: var(--header-height) auto 0;
  box-shadow:
    0 -10px 30px rgba(0,0,0,0.15),
    0 -2px 10px rgba(0,0,0,0.1);
  padding-bottom: 0;
  flex: 1;
  background-color: #fff;
}

/* ぱんくず */
.p-breadcrumb{
    font-size:15px;
    gap:6px;
    padding:5px 10px;
    background:linear-gradient(135deg, #2e7d32,#66bb6a );
    color:#fff;
  }


/* メニュー開いてる時だけ余白 */
body.is-menu-open .l-container {
  padding-bottom: 150px;
}

/* 閉じてる時は余白なし */
body:not(.is-menu-open) .l-container {
  padding-bottom: 100px;
}



.home .l-container {
  /* position: fixed; */
  /* transform: translateX(-50%); */
  /* height: calc(100vh - var(--header-height) - 5px); */
  /* top: calc(var(--header-height) + 5px);
  left: 50%; */
  /* margin: 0;  */
  position: static;
  height: auto;
  transform: none;
}







/* =========================
   ヘッダー
========================= */
.l-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3000;
  background: linear-gradient(135deg, #66bb6a, #2e7d32);
  color: #fff;
  padding: 0;
}

.l-header a {
  color: #fff;
  text-decoration: none;
}

.l-header__inner {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
}

/* =========================
   ヘッダーメニュー
========================= */
.c-nav--pc {
  display: none;
}

.l-header__logo img {
  height: calc(var(--header-height) - 15px);
  width: auto;
  display: block;
  margin-top: 7px;
}

/* =========================
   ヘッダーメニューモーダル
========================= */


.l-header__menuBtn {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);

  width: 30px;
  height: 20px;
}

.l-header__menuBtn span {
  display: block;
  height: 2px;
  background: #fff;
  margin-bottom: 5px;
  transition: 0.3s;
}

.l-header__menuBtn.is-active span:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}

.l-header__menuBtn.is-active span:nth-child(2) {
  opacity: 0;
}

.l-header__menuBtn.is-active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}

.c-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
}

/* 背景 */
.c-modal__bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  opacity: 0;
  transition: 0.3s;
}

/* ×ボタン */
.c-modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

/* 本体（右から） */
.c-modal__body {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  color: #535353;
  padding: 0;
  transform: translateX(100%);
  transition: 0.3s;
}

/* 開いた時 */
.c-modal.is-open {
  pointer-events: auto;
}

.c-modal.is-open .c-modal__bg {
  opacity: 1;
}

.c-modal.is-open .c-modal__body {
  transform: translateX(0);
}

.c-nav__list {
  list-style: none;
  margin: 0;
  /* padding: calc(var(--header-height) + 10px) 0 20px; */
  padding: var(--header-height) 0 20px;
}

.c-nav__list li {
  list-style: none;
}

.c-nav--sp .c-nav__list {
  display: flex;
  flex-direction: column;
  /* gap: 12px; */
}

.c-nav--sp .c-nav__list li a {
  display: block;
  width: 100%;
  padding: 16px 16px 16px 20px;
  background: rgba(255,255,255,0.1); /* ←黒に合わせる */
  /* border-radius: 12px; */
  text-align: left;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  text-decoration: none;
  transition: 0.2s;
}

.c-nav--sp .c-nav__list li a:active {
  transform: scale(0.96);
  background: rgba(255,255,255,0.2);
}

/* menu2用 */
.p-modalLinks{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;

  margin-top:10px;
  padding:5px;

  list-style:none;
}

.p-modalLinks li{
  margin:0;
}

.p-modalLinks a{

  display:flex;
  align-items:center;
  justify-content:center;

  min-height:64px;

  padding:12px;

  background:#fff;

  border:1px solid #e5e7eb;
  border-radius:12px;

  text-decoration:none;

  color:#333;
  font-weight:700;
  font-size:14px;

  transition:.2s;
}

.p-modalLinks a:hover{

  transform:translateY(-2px);

  box-shadow:
    0 4px 12px rgba(0,0,0,.08);

}

/* =========================
   投稿カード（index用）
========================= */
.c-postCard {
  margin-bottom: 20px;
}

.c-postCard__title {
  font-size: 18px;
}

.c-postCard__title a {
  text-decoration: none;
  color: #333;
}

/* =========================
   ユーティリティ
========================= */
.u-center {
  text-align: center;
}

.u-mt20 {
  margin-top: 20px;
}

/* 背景固定 */
.l-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('./assets/img/web-background.webp') center/cover no-repeat;
  z-index: -1;
  
}

/* 白オーバーレイ */
.l-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7); /* ←調整ポイント */
}


/* .c-menu {
  position: fixed;
  bottom: 0;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  max-width: 500px;
  z-index: 1000;
} */

.c-menu {
  position: fixed;
  bottom: 0;

  width: min(100%, 800px);

  left: 50%;
  translate: -50% 0;

  z-index: 1000;
}

.c-menu,
.c-menu__toggle{
  display:block;
}



.c-menu__row--2 li a {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.c-menu__row--2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 押した時 */
.c-menu__row--2 li a:active {
  transform: scale(0.97);
}

.c-menu__row--3 li a{
  padding:0;
  background:none;
  box-shadow:none;
}

.c-menu__row--3 li img{
  display:block;
  width:100%;
  aspect-ratio:1 / 1;
  object-fit:contain;
}

/* 押した時 */
.c-menu__row--3 li a:active {
  transform: scale(0.96);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.c-menu__row {
  display: grid;
  gap: 10px;
  margin-bottom: 15px;
}

.c-menu__row--2 {
  grid-template-columns: repeat(2, 1fr);
}

.c-menu__row--3 {
  grid-template-columns: repeat(3, 1fr);
}

.c-menu__body {
  padding: 15px;
}

/* メニュー中身 */
.c-menu__body {
  background: linear-gradient(
  rgba(255,255,255,0.7),
  rgba(255,255,255,0.7)
),
linear-gradient(135deg, #66bb6a, #c2fac4);
  color:#fff;
  padding: 5px 0 0;
  position: relative;
  z-index: 1;
  transition: transform 0.4s;
  transform: translateY(0);
  /* outline: 3px solid red; */
}



/* 閉じた時：中身だけ下へ */
/* 共通（基本） */
/* .c-menu.is-closed .c-menu__body {
  transform: translateY(100%);
  pointer-events: none;
} */



.c-menu.is-closed .c-menu__body {
  transform: translateY(100%);
  height: 0;
  overflow: hidden;
}


/* ボタン */
.c-menu__toggle {
  width: 100%;
  padding: 10px;
  background: #333;
  color: #fff;
  border: none;
  position: relative;
  z-index: 2;
  transition: transform 0.2s;
  animation: pulseBtn 2s infinite;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* アニメーション定義 */
@keyframes pulseBtn {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(46, 125, 50, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(46, 125, 50, 0);
  }
}

.c-menu__row {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  width:100%;
  box-sizing: border-box;
  /* outline: 2px solid red; */
}

.c-menu__row + .c-menu__row {
  margin-top: 6px;
}

.c-menu__row img {
  width: 100%;
  height: auto;
  display: block;
}

.c-menu__row li {
  overflow: hidden;
}

/* 2カラム */
.c-menu__row--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* 3カラム */
.c-menu__row--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

  .c-menu__row--3 li {
    aspect-ratio: 3 / 2;
  }

/* 共通 */
.c-menu__row--3 li a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #43a047;
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  height:100%;

}

.p-hero {
  position: relative;
  width: 100%;
  background: #fff; /* 動画の上下余白対策 */
  border-radius: inherit;
  overflow: hidden;

}

/* 暗幕 */
.p-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1;
}

/* 網掛け */
.p-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.5) 1.5px, transparent 1.5px);
  background-size: 8px 8px;
  opacity: 0.8;
  z-index: 2;
  pointer-events: none;
}

/* ロゴ */
.p-hero__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
}

.p-hero__video {
  width: 100%;
  height: auto;
  display: block;
}



.p-hero__logo img {
  max-width: 500px;
  height: auto;
}

.p-frontSection{
  scroll-margin-top:calc(
    var(--header-height) + 20px
  );
}

/* frontオプションカード */

.p-accessories__grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:5px;
  padding:10px
}

/* frontメーカーセレクト */

.p-makers__panels{
  padding:10px;
}

.p-makers__tabs{

  display:flex;
  gap:16px;
  flex-wrap:wrap;
  margin-top:32px;

}

.p-makers__tab{

  display:flex;
  align-items:center;
  justify-content:center;

  padding:12px;

  background:#fff;

  border:2px solid #e5e7eb;

  border-radius:16px;

  cursor:pointer;

  transition:.25s;

  box-shadow:
    0 2px 8px rgba(0,0,0,.05);

}

.p-makers__tab img{

  height:36px;
  width:auto;
  display:block;

}

.p-makers__tab:hover{

  transform:translateY(-2px);

  box-shadow:
    0 8px 20px rgba(0,0,0,.12);

  border-color:#ff6b00;

}

.p-makers__tab.is-active{

  border-color:#ff6b00;

  background:#fff7f2;

  box-shadow:
    0 8px 20px rgba(255,107,0,.15);

}

.p-makers__panel{

  display:none;
  margin-top:40px;

}

.p-makers__panel.is-active{

  display:block;

}

.p-makers__seriesGrid{

  display:grid;
  grid-template-columns:
    repeat(2,1fr);

  gap:5px;
  margin-top:5px;
  padding:10px;
}

.p-makers__spTitle{
  display:none;
}

@media(max-width:767px){

  .p-makers__seriesGrid{

    grid-template-columns:1fr;

  }

    .p-makers__tabs{
    display:none;
  }

  .p-makers__panel{
    display:block !important;
  }

  .p-makers__spTitle{

    display:flex;

    align-items:flex-end;

    gap:12px;
    padding:10px 0;
    border-bottom:3px solid #ff6b00;

  }

  .p-makers__spLogo{

      height:32px;
      width:auto;
      object-fit:contain;

  }

  .p-makers__spTitle span{

    font-size:22px;

    font-weight:700;

    line-height:1;

  }


}
/* 機能一覧front */
.p-featurePanel{

  display:none;
  margin-top:24px;

}

.p-featurePanel.is-active{

  display:block;
  min-width:0;

}



.p-featureItem{

    display:flex;
    position:relative;
    align-items:center;

    gap:8px;

    margin-bottom:8px;
    min-width:0;

}

.p-featureChild{

    display:inline-flex;
    min-width:0;
    word-break:break-word;

}

.p-featureMaker{

  position:relative;

  background:#fff;

  border:1px solid #ddd;

  border-radius:12px;

  padding:28px 16px 16px;
  min-width:0;

}

.p-featureMaker__title{

  position:absolute;

  top:-14px;

  left:16px;

  background:#fff;

  border:1px solid #ddd;

  border-radius:999px;

  padding:6px 16px;

  font-size:14px;

  font-weight:700;

  line-height:1;

}



.p-featureTabs{

  display:flex;

  flex-wrap:wrap;

  gap:12px;

  justify-content:center;

  margin-top:24px;

}

.p-featureTabs__btn{

  --button-color:#3223b3;

  --button-border:#3223b3;

  --button-background-hover:#ece9fb;

  display:flex;

  align-items:center;

  justify-content:center;

  min-width:180px;

  height:56px;

  padding:8px 24px;

  font-size:16px;

  font-weight:700;

  color:var(--button-color);

  text-align:center;

  background:transparent;

  border:2px solid var(--button-border);

  border-radius:999px;

  cursor:pointer;

  transition:
    background-color .2s,
    color .2s,
    transform .2s;

}

.p-featureTabs__btn:hover{

  background:var(
    --button-background-hover
  );

}

.p-featureTabs__btn.is-active{

  color:#fff;

  background:#19be22;

}


@media(min-width:768px){

  .p-featurePanel.is-active{

    display:grid;

    grid-template-columns:
      repeat(3,1fr);

    gap:24px;

  }

}

.p-featureHelp{

  position:relative;

  width:22px;
  height:22px;

  border-radius:50%;

  cursor:pointer;

}



.p-featureModal{

    position:fixed;

    inset:0;

    z-index:5000;

    display:none;

}

.p-featureModal.is-open{

    display:flex;

    align-items:center;

    justify-content:center;

}

.p-featureModal__bg{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.6);

}

.p-featureModal__body{

    position:relative;

    width:min(90vw,500px);

    max-height:80vh;

    overflow:auto;

    background:#fff;

    border-radius:16px;

    padding:24px;

    text-align:center;

}

.p-featureModal__img{

    display:block;

    width:100%;

    max-width:300px;

    margin:0 auto 16px;

}

.p-featureModal__close{

    position:absolute;

    top:12px;

    right:12px;

    width:36px;

    height:36px;

    border:none;

    background:none;

    font-size:28px;

    cursor:pointer;

}



@media(max-width:767px){

  .p-accessories__grid{
    grid-template-columns:1fr;
  }

}

.p-optionCard{
  max-width:500px;
  background:#fff;
  border:3px solid #e5e5e5;
  border-radius:5px;
  padding:10px;
  padding-bottom:5px;
}

.p-optionCard__content{
  display:flex;
  gap:5px;
  align-items:stretch;
  font-size:14px;
}

.p-optionCard__imageWrap{
  position:relative;
  width:auto;
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
}

.p-optionCard__img{
  width:100px;
  height:100px;
  object-fit:cover;
  display:block;
}

.p-optionCard__maker{
  position:absolute;
  top:2px;
  left:2px;
}

.p-optionCard__maker{
  max-width:70%;
}

.p-optionCard__foot{
  margin-top:10px;
  text-align:right;

  display:flex;

  justify-content:space-between;

  align-items:center;

  gap:16px;

  margin-top:auto;

}

.p-optionCard__price{

  display:flex;

  flex-direction:column;

  align-items:flex-start;

  text-align:left;

  gap:2px;
  margin-top:5px;

}

.p-optionCard__priceLabel{
  font-size:12px;
  line-height:1;
}

.p-optionCard__price strong{

  display:block;

  font-size:16px;

  font-weight:700;

  color:#e53935;

  line-height:1.05;

}

.p-optionCard__link{

  flex-shrink:0;
  margin-left:auto;

}

.p-optionCard__desc{
  flex:1;
  border:2px solid #ddd;
  padding:5px;
  line-height:1.5;
}


@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.p-banners {
  padding: 5px;
}

.c-banner {
  display: block;
  margin-bottom: 10px;
}

.c-banner--cta img {
  border: 2px solid #ff9800;
}

.c-banner:active {
  transform: scale(0.97);
}

.page .l-container {
  position: static;
  height: auto;
  transform: none;
}

.page .l-main {
  overflow: visible;
  height: auto;
  padding: 10px 15px 100px;
}

.wpcf7 {
  width: 100%;
}

.wpcf7-form-control {
  width: 100%;
}

.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

.wpcf7 input[type="submit"] {
  background: #ff9800;
  color: #fff;
  border: none;
  font-weight: bold;
  padding: 15px;
}

/* 横並び */



.p-features {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  text-align: center;
}

/* アイテム */
.p-features__item {
  flex: 1;
}

/* 二重丸 */
.p-features__icon {
  display: block;
  width: 50px;
  height: 50px;
  margin: 0 auto 8px;
  border-radius: 50%;
  border: 2px solid #2e7d32;
  position: relative; /* ←これ超重要 */
}

/* 内側の丸 */
.p-features__icon::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border-radius: 50%;
  border: 2px solid #66bb6a;
}

.p-special {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.p-special__card{
  display:flex;
  flex-direction:column;
}

.p-special__item {
  position: relative;
  display: block;
  overflow: hidden;
}

/* 画像 */
.p-special__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  display: block;
  transition: 0.3s;
  transition:.25s;
}

.p-special__subTitle{
  margin-top:8px;

  font-size:14px;
  font-weight:700;

  line-height:1.5;
}

/* ホバー */
.p-special__item:hover img {
  opacity:.85;
}

.p-news {
  margin: 10px auto;
  padding: 10px;
  background: #fff3cd;
}

.p-news__text {
  margin: 0;
  font-size: 14px;
  color: #856404;
}

.p-price__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

/* 特集ページ */

.p-specialDetail {
  max-width: 800px;
  margin: 0 auto;
  padding: 16px 12px 60px;
}

.p-specialDetail__thumb {
  margin-bottom: 16px;
}

.p-specialDetail__thumb img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.p-specialDetail__content {
  font-size: 15px;
  line-height: 1.9;
  color: #333;
}

.p-specialDetail__content h2 {
  font-size: 20px;
  margin: 28px 0 12px;
  padding-left: 10px;
  border-left: 4px solid #000;
}

.p-specialDetail__content h3 {
  font-size: 17px;
  margin: 20px 0 10px;
}

.p-specialDetail__content img {
  max-width: 100%;
  height: auto;
  margin: 16px 0;
  border-radius: 8px;
}

.p-specialDetail__contact {
  margin-top: 40px;
}

.c-contactBanner {
  display: block;
  width: 100%;
  text-align: center;
  background: #ff6b00;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  padding: 16px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  transition: 0.3s;
}

.c-contactBanner:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* ボックス */

.p-price{
  padding:5px;
}

.p-price__img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .35s ease;
}

.p-price__item {
  display: block;
  overflow: hidden;
  text-decoration: none;
  aspect-ratio: 4 / 3;
  overflow:hidden;
  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.p-price__line {
  display: block;            /* ←重要 */
  width: 50px;
  height: 2px;               /* ←これ無いと見えない */
  background: #2e7d32;       /* ←色 */
  margin: 10px auto;
}

/* hover */
.p-price__item:hover{
  transform:translateY(-4px);

  box-shadow:
    0 10px 24px rgba(0,0,0,.15);
}

.p-price__item:hover .p-price__img{
  transform:scale(1.05);
}

/* tap */
.p-price__item:active{
  transform:scale(.98);
}

/* 見出し */
.c-sectionTitle {
  text-align: center;
  margin: 0 0 5px;
}

/* 英語（上） */
.c-sectionTitle__en {
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #888;
}

/* 日本語（メイン） */
.c-sectionTitle__jp {
  display: block;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.p-popular .c-sectionTitle__en {
  
  font-size: 14px;
  color: #888;
}

.p-popular .c-sectionTitle__jp {
color: #fff;
font-size: 20px;

}

/* =========================
フロント 人気商品
========================= */

.p-popular {
    padding: 0 0 10px 5px;
    background-color: #ffac30a6;
    margin-bottom:10px;
    border-radius: 10px;
}

@media (min-width:768px){
  .p-popular {
      padding: 10px;
  }
}


/* =========================
スライダー
========================= */

.p-popular__slider {
  position: relative;
  overflow: hidden;
}


/* =========================
カード
========================= */

.p-popular__item {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 12px;
  background: #fff;
  box-shadow:
    0 2px 10px rgba(0,0,0,0.08);
}


/* =========================
商品情報
========================= */

.p-popular__spec {
  display: flex;
  flex-direction: column;

  height: 100%;
}


/* =========================
ロゴ
========================= */

.p-popular__logo {
  width: 80px;
  height: 24px;

  margin-bottom: 10px;
}

.p-popular__logo img {
  width: 100%;
  height: 100%;

  object-fit: contain;
}


/* =========================
画像
========================= */

.p-popular__img {
  position: relative;
  display: block;
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 10px;
  background: #f7f7f7;
}

.p-popular__rank {
  position: absolute;
  top: 40px;
  left: 8px;
  width:70px;
  z-index:20;
  pointer-events:none;
}

.p-popular__img .discount-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  right:0;

  width: 64px;
  height: 64px;

  border-radius: 50%;

  background: #ff5722;

  color: #fff;

  line-height: 1;

  box-shadow:
    0 4px 10px rgba(0,0,0,0.2);
}


/* 商品 */

.p-popular__img .discount-text {
  margin-bottom: 2px;

  font-size: 10px;
  font-weight: bold;
}


/* 数字 */

.p-popular__img .discount-rate {
  display: flex;
  align-items: baseline;

  gap: 1px;
}

.p-popular__img .discount-num {
  font-size: 20px;
  font-weight: bold;
}

.p-popular__img .discount-unit {
  font-size: 11px;
}


/* OFF */

.p-popular__img .discount-off {
  margin-top: 1px;

  font-size: 12px;
  font-weight: bold;
}

.p-popular__img img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}


/* =========================
下部
========================= */

.p-popular__metaWrap {
  display: flex;
  align-items: center;

  margin-top: auto;
}


/* 左 */

.p-popular__metaArea {
  width: 50%;

  display: flex;
  flex-direction: column;
  justify-content: center;

  text-align: center;
}


/* メーカー / シリーズ */

.p-popular__meta {
  display: flex;
  flex-direction: column;

  align-items: center;

  line-height: 1.3;
}

.p-popular__maker {
  font-size: 11px;
  font-weight: bold;
}

.p-popular__series {
  font-size: 11px;

  color: #666;
}


/* 品番 */

.p-popular__model {
  margin-top: 4px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.4;

  color: #2d2d2d;

  text-align: center;
}


/* 右 */
.p-popular__priceLabel {
  margin-bottom: 4px;

  font-size: 11px;
  font-weight: bold;

  color: #e53935;

  line-height: 1.2;
}

.p-popular__price {
  width: 50%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;

  font-size: 20px;
  font-weight: bold;

  line-height: 1.2;

  color: #43a047;
}

.p-popular__price span {
  font-size: 11px;
  font-weight: normal;
}


/* =========================
ボタン
========================= */

.p-popular__btn {
  display: flex;
  align-items: center;
  justify-content: center;

  margin-top: 10px;

  padding: 10px 12px;

  border-radius: 999px;

  background: #111;

  color: #fff;

  font-size: 13px;
  font-weight: bold;

  text-decoration: none;
}



/* =========================
   キャンペーン告知
========================= */

.c-banner{
  display:block;

  overflow:hidden;


  aspect-ratio:245 / 64;
}

.c-banner img{
  width:100%;
  height:100%;

  object-fit:cover;

  display:block;
}

/* =========================
   WORKS
========================= */

.p-works{
  padding:10px 15px 50px;
}

/* grid */
.p-works__grid{
  display:grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap:22px 14px;
  min-width:0;
}

/* item */
.p-works__item{
  display:flex;
  flex-direction:column;
  gap:10px;
  color:#222;
  text-decoration:none;
  padding:10px;
  border-radius: 2px;
  background:#fff;
  box-shadow:0 2px 10px rgba(0,0,0,.05);
  color:#222;
  text-decoration:none;
  transition:
    transform .25s ease,
    box-shadow .25s ease;
  min-width:0;
}

.p-works__item:hover{
  transform:translateY(-3px);

  box-shadow:
    0 8px 20px rgba(0,0,0,.08);
}

/* image wrap */
.p-works__thumbWrap{
  position:relative;
  overflow:hidden;
}

/* image */
.p-works__thumb{
  position:relative;
  aspect-ratio:4 / 3;
  overflow:hidden;
}

.p-works__thumb img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:
    transform .5s ease;
}

.p-works__item:hover .p-works__thumb img{
  transform:scale(1.06);
}

/* NEW */
.p-works__new{
  position:absolute;

  top:0;
  left:0;

  width:58px;

  z-index:2;
}

/* body */
.p-works__body{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:0;
}

/* date */
.p-works__date{
  font-size:11px;

  color:#888;
}

/* lead */
.p-works__lead{
  position:relative;
  min-height:3.2em;
  font-size:13px;
  line-height:1.6;
  color:#333;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  
  
}

.p-works__lead::after{
  content:"...続き";

  position:absolute;

  right:0;
  bottom:2px;

  padding-left:6px;

  background:#fff;

  font-size:12px;
  font-weight:700;

  color:#2e7d32;
}

/* tags */
.p-works__tags{
  display:flex;
  gap:6px;
  width:100%;
  overflow:hidden;
  min-width:0;
}

/* tag */
.p-works__tag{
  display:flex;

  align-items:center;
  justify-content:center;

  min-width:0;

  padding:4px 8px;

  border:1px solid currentColor;

  border-radius:5px;

  font-size:10px;
  font-weight:700;

  white-space:nowrap;

  overflow:hidden;

  text-overflow:ellipsis;
}

/* 1個目 */
.p-works__tag:nth-child(1){

  border-color:#ff7043;

  color:#ff7043;
  
}

/* 2個目 */
.p-works__tag:nth-child(2){

  border-color:#2e7d32;

  color:#2e7d32;
  
}

/* 3個目 */
.p-works__tag:nth-child(3){
  border-color:#1976d2;

  color:#1976d2;
  
}

.p-works__more{
  display:flex;

  align-items:center;
  justify-content:center;

  width:100%;
  max-width:320px;

  margin:36px auto 0;

  padding:16px 24px;

  border-radius:5px;

  background:
    linear-gradient(
      135deg,
      #66bb6a,
      #2e7d32
    );

  color:#fff;

  font-size:14px;
  font-weight:700;

  text-decoration:none;

  box-shadow:
    0 8px 20px rgba(46,125,50,.22);

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    opacity .2s ease;
}

.p-works__more:hover{
  transform:translateY(-2px);

  box-shadow:
    0 12px 24px rgba(46,125,50,.28);
}

.p-works__more:active{
  transform:scale(.98);
}

.p-works__grid,
.p-works__item,
.p-works__body,
.p-works__tags{
  min-width:0;
}

@media (min-width:768px){

    .p-work__compare{

        display:flex;
        gap:32px;
        align-items:flex-start;

    }

    .p-work__after,
    .p-work__beforeWrap{

        flex:1;

    }

    .p-work__beforeWrap{

        display:block;

    }

    .p-work__after img,
    .p-work__before img{

        width:100%;
        aspect-ratio:4 / 3;

        object-fit:cover;

        display:block;

    }

    .p-work__lead{

      margin-top:16px;

  }


}

/* =========================
   COLUMN
========================= */

.p-column{
  padding:10px 15px 60px;
}

.p-column__list{
  display:grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap:5px;
}

@media (max-width: 767px) {
  .p-column__list{
    grid-template-columns:
    repeat(3, 1fr);
  }
}


.p-column__item{
  display:flex;
  flex-direction:column;

  background:#fff;

  border-radius:14px;

  overflow:hidden;

  text-decoration:none;

  color:#222;

  box-shadow:
    0 2px 10px rgba(0,0,0,.06);

  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.p-column__item:hover{
  transform:translateY(-3px);

  box-shadow:
    0 10px 24px rgba(0,0,0,.12);
}

/* サムネ */

.p-column__thumb{
  aspect-ratio:4 / 3;

  overflow:hidden;

  background:#f5f5f5;
}

.p-column__thumb img{
  width:100%;
  height:100%;

  object-fit:cover;

  transition:
    transform .4s ease;
}

.p-column__item:hover
.p-column__thumb img{
  transform:scale(1.05);
}

/* body */

.p-column__body{
  display:flex;
  flex-direction:column;

  gap:8px;

  padding:14px;
}

/* タイトル */

.p-column__title{
  font-size:14px;
  font-weight:700;

  line-height:1.7;

  color:#333;

  display:-webkit-box;

  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;

  overflow:hidden;

  min-height:3.4em;
}

/* 日付 */

.p-column__date{
  font-size:12px;

  color:#888;
}

/* 続きを見る */

.p-column__more{
  display:flex;

  align-items:center;
  justify-content:center;

  width:100%;
  max-width:320px;

  margin:32px auto 0;

  padding:16px 24px;

  border-radius:5px;

  background:
    linear-gradient(
      135deg,
      #66bb6a,
      #2e7d32
    );

  color:#fff;

  font-size:14px;
  font-weight:700;

  text-decoration:none;

  box-shadow:
    0 8px 20px rgba(46,125,50,.22);

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.p-column__more:hover{
  transform:translateY(-2px);

  box-shadow:
    0 12px 24px rgba(46,125,50,.28);
}

.p-column__more:active{
  transform:scale(.98);
}


/* =========================
スワイプヒント
========================= */

.p-swipeHint {
  position: absolute;

  top: 50%;
  left: 50%;

  transform: translate(130%, -50%);

  z-index: 10;

  pointer-events: none;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;

  opacity: 0.8;
}


/* 指 */

.p-swipeHint__finger {
  width: 80px;
  height: 80px;

  margin: 0 auto;

  opacity: 0.8;

  background:
    url('./assets/img/finger.png')
    center / contain
    no-repeat;

  animation: swipeMove 1.5s infinite;
}


@media (min-width:768px){

  .p-popular__prev,
  .p-popular__next{

    width:30px;
    height:30px;

    border-radius:8px;

    background:rgba(255,255,255,.85);

    backdrop-filter:blur(4px);

    border:1px solid rgba(0,0,0,.08);

    box-shadow:
      0 4px 12px rgba(0,0,0,.08);

    transition:.25s;
  }

  .p-popular__prev:hover,
  .p-popular__next:hover{

    background:rgba(255,255,255,.9);

    transform:translateY(-2px);

  }

  .p-popular__prev::after,
  .p-popular__next::after{

    font-size:20px;
    font-weight:700;

    color:#888;
  }

}

/* PCでは非表示 */
@media (min-width:768px){

  .p-swipeHint{
    display:none;
  }

}
/* 矢印はSP非表示 */
@media (max-width:767px){

  .swiper-button-prev,
  .swiper-button-next{
    display:none !important;
  }

}

/* 商品ページ*/
/* =========================
   PRODUCT PAGE
========================= */

/* 全体 */
.p-product {
  padding: 10px;
}


/* ■ 告知画像 */
.p-product__banner img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}


/* ■ スペック */
.p-product__spec{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-bottom:10px;
}

.p-product__meta{
  padding:6px 10px;
  border-radius:5px;
  background:#f5f5f5;
  font-size:12px;
  font-weight:700;
  line-height:1.3;
}

.p-product__specLink{
  color:inherit;
  text-decoration:none;
}

.p-product__main {
  position: relative; 
}

.p-product__makerLogo{
  position:absolute;

  top:10px;
  left:10px;

  z-index:10;

  display:flex;

  align-items:center;
  justify-content:center;

  width:120px;
  height:42px;

  padding:6px 10px;

  border-radius:8px;

  background:
    rgba(255,255,255,.92);

  box-shadow:
    0 2px 10px rgba(0,0,0,.12);

  backdrop-filter:blur(4px);
}

.p-product__makerLogo img{
  width:100%;
  height:100%;

  object-fit:contain;

  display:block;
}

.p-product__comment{

  margin-top:15px;

  padding:12px 16px;

  background:#fff8e1;

  border-left:4px solid #ff9800;

  border-radius:6px;

  font-size:14px;

  line-height:1.8;

  color:#555;

}



/* ■ メイン画像 */

#js-mainImg{
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  /* border-radius: 10px; */
  display:block;
}
/* .p-product__main img {

} */

/* 商品詳細用（デカくする） */
.p-product .discount-label {
  width: 100px;
  height: 100px;
}

/* 数字 */
.p-product .discount-num {
  font-size: 30px;
}

/* % と OFF */
.p-product .discount-unit,
.p-product .discount-off {
  font-size: 20px;
}

/* 税込 */
.p-product__imgPrice span {
  display: block;
  font-size: 20px;
  color: #666;
}

/* ■ サムネ */
.p-product__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* ←4等分 */
  gap: 6px;
  margin-top: 10px;
}

.p-product__thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;

  border: 1px solid #ddd;
  border-radius: 6px;

  cursor: pointer;
}

.p-product__thumbs img:hover {
  border-color: #e53935;
  opacity: 0.8;
}



.js-thumb.is-active {
  border: 2px solid #e53935;
}


/* ■ 説明 */
.p-product__content {
  margin-top: 15px;
  line-height: 1.7;
}

.p-product__widths{
  display:flex;
  justify-content:flex-start;
  gap:6px;
  margin-bottom:10px;
}

.p-product__widthCard {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    padding: 10px 10px;
    font-size: 1.2em;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

/* 60cm */
.p-product__widthCard:nth-child(1){
  background:#5c6bc0;
}

/* 75cm */
.p-product__widthCard:nth-child(2){
  background:#26a69a;
}

.p-product__widthCard:hover{
  transform:translateY(-2px);
  border-color:#66bb6a;
}



/* ■ 価格 */
/* ===== 2カラム価格（ボタン風） ===== */
.p-priceGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 10px 0;
}

/* カード共通 */
.p-priceCard {
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #ddd;
}

/* ラベル */
.p-priceCard__label {
  font-size: 1em;
  margin-bottom: 5px;
  color: #e53935;
  font-weight: bold;

}

/* 金額 */
.p-priceCard__value {
  display:flex;
  align-items: baseline;
  justify-content: center; 
  gap: 4px;
  font-size: 26px;
  font-weight: bold;
  line-height: 1.2;
}

.p-priceCard__value span {
  display: inline;
  font-size: 15px;
  color: #e53935;
  margin-top: 3px;
}

.p-priceMaker {
  font-size: 16px;
  color: #999;
}

.p-priceMaker span {
  font-size: 12px;
  color: #999;
}

/* 本体（強） */
.p-priceCard--main {
  background: #fff3f3;
  border: 2px solid #e53935;
}

.p-priceCard--main .p-priceCard__value {
  font-size: 32px;        /* 少し大きく */
  color: #e53935;
  font-weight: bold;
}

/* 工事費（中強） */
.p-priceCard--work {
  background: #fff8e1;
  border: 2px solid #ff9800;
}

.p-priceCard--work .p-priceCard__value {
  font-size: 28px;        /* 少し差つける */
  color: #ff9800;
  font-weight: bold;
}

.p-priceCard--work .p-priceCard__value span {
  display: inline;
  font-size: 15px;
  color: #ff9800;
  margin-top: 3px;
}

/* 合計（最強） */
.p-totalLabel {
  display: inline-block;
  background: #ddd;
  color: #555;
  font-size: 1em;
  padding: 10px;
  border-radius: 3px;
  letter-spacing: 0.05em;
  width: 100%;
  box-sizing: border-box;
  margin-top:15px;
  text-align:center;
}

.p-product_Label {
  background: #f5f5f5;
  padding: 5px;
  border-radius: 10px;
  text-align: center;
  margin: 15px 0;
}

/* 合計BOX */

/* 説明 */
.p-totalText {
  font-size: 1em;        /* 少し大きく */
  font-weight:bold;
  color: #e53935;            /* コントラストUP */
  margin-bottom: 10px;
  text-align: center;     /* ←中央 */
  line-height: 1.6;       /* ←読みやすさ */
}

/* 金額（メイン） */
.p-totalPrice {
  display:flex;
  align-items: baseline;
  gap: 4px;
  justify-content: center; 
  font-size: 38px;        /* 少し強化 */
  font-weight: bold;
  color: #e53935;         /* ←赤に変更 */
  line-height: 1.2;
  text-align: center;     /* ←中央 */
}

/* 税込 */
.p-totalPrice span {
  display: inline;
  font-size: 16px;
  color: #e53935;
  margin-top: 4px;
}

/* ＋ */
.p-pricePlus {
  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 28px;     /* 大きめ */
  font-weight: 900;    /* 太く */
  color: #333;
}

.p-btn {
  margin-top: 15px;
  display: block;
  width: 100%;
}


/* ■ タグ */
/* タグ全体の箱 */
.p-product__tags {
  border: 1px solid #c8e6c9;
  background: #f1f8f4;
  padding: 10px;
  border-radius: 8px;
  margin-top: 15px;
}

/* タグ */
.p-product__tags a {
  display: inline-block;
  background: #ffffff;
  border: 1px solid #a5d6a7;
  padding: 5px 10px;
  margin: 4px;
  font-size: 12px;
  color: #2e7d32;
  text-decoration: none;
  border-radius: 4px;
}

.p-product__tags a:hover {
  background: #4caf50;
  color: #fff;
  border-color: #4caf50;
}

.p-product__tagsTitle {
  font-size: 13px;
  margin-bottom: 6px;
  color: #2e7d32;
}

/* 関連施工例 */
.p-relatedWorks{
  margin-top:40px;
}

.p-relatedWorks__title{
  margin-bottom:14px;

  font-size:20px;
  font-weight:700;
}

.p-relatedWorks__grid{
  display:grid;

  grid-template-columns:
    repeat(2,1fr);

  gap:12px;
}

.p-relatedWorks__card{
  display:block;

  overflow:hidden;

  border-radius:12px;

  background:#fff;

  color:#222;
  text-decoration:none;

  box-shadow:
    0 2px 10px rgba(0,0,0,.08);
}

.p-relatedWorks__thumb{
  aspect-ratio:4 / 3;

  overflow:hidden;
}

.p-relatedWorks__thumb img{
  width:100%;
  height:100%;

  object-fit:cover;

  display:block;
}

.p-relatedWorks__body{
  padding:10px;
}

.p-relatedWorks__meta{
  display:flex;
  gap:6px;

  margin-bottom:6px;

  font-size:11px;
  color:#2e7d32;
}

.p-relatedWorks__text{
  font-size:13px;
  line-height:1.6;
}


/* ■ CTA */
.p-btn {
  display: block;
  background: #ff9800;
  color: #fff;
  text-align: center;
  padding: 15px;
  border-radius: 8px;
  margin-top: 15px;
  text-decoration: none;
  font-weight: bold;
}

/* 商品一覧 */
.p-archive__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.p-archive__title {
  margin-bottom: 0;
  padding-left:20px;

  flex: 1;
}






/* select */

.p-sort {
  flex-shrink: 0;
  margin-right:20px;
}

.p-sort {
  padding: 8px 12px;

  border: 1px solid #ddd;
  border-radius: 999px;

  background: #fff;

  font-size: 12px;

  color: #333;
}


/* 4カラム */
.p-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 10px;
}

/* カード */
.p-card {
  display: block;
  border: 2px solid #66bb6a;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: #333;
}

/* メタ */
.p-card__meta {
  font-size: 11px;
  padding: 8px;
  line-height: 1.4;
}

/* ここ追加 */
.p-card__meta div:nth-child(2),
.p-card__meta div:nth-child(3) {
  display: inline-block;
  margin-right: 5px;
}

/* メーカー表示箇所 */

.p-card__maker {
  height: 18px;

  margin-bottom: 4px;
}

.p-card__maker img {
  width: auto;
  height: 100%;

  object-fit: contain;
}

.p-card__widths{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:6px;
}

.p-card__width{
  display:inline-flex;

  align-items:center;
  justify-content:center;

  min-width:64px;

  padding:5px 10px;

  font-size:11px;
  font-weight:700;

  line-height:1;

  color:#fff;
}

/* 60cm */
.p-card__width--60{
  background:#5c6bc0;
}

/* 75cm */
.p-card__width--75{
  background:#26a69a;
}




/* ボーダー */
.p-card__border {
  height: 1px;
  background: #ddd;
  margin: 0 8px;
}

.p-card__img {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  padding:15px;
}


.p-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-product__discontinued{
  margin:24px 0;

  padding:16px 18px;

  background:#fff5f5;

  border:1px solid #f0caca;
  border-left:4px solid #d66;

  color:#a33;

  font-size:14px;
  font-weight:700;

  border-radius:10px;
}

.discount-label {
  position: absolute;
  bottom: 8px;
  right: 6px;
  width: 50px;
  height: 50px;
  background: #ff4500;
  color: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* 上段（80%） */
.discount-top {
  display: flex;
  align-items: baseline;
  gap: 1px;
}

.p-card:hover .discount-label {
  transform: scale(1.1);
}

.discount-text{
  font-size: 0.7em;
  font-weight: 500;
}

/* 数字（デカく） */
.discount-num {
  font-size: 1.1em;
  font-weight: bold;
}

/* % */
.discount-unit {
  font-size: 0.9em;
  font-weight: 500;
}

/* OFF */
.discount-off {
  font-size: 0.8em;
  font-weight: 500;
}


.p-product__main .discount-text{
  font-size: 1.2em;
  font-weight: 500;
  margin-bottom:3px;
}

/* 数字（デカく） */
.p-product__main .discount-num {
  font-size: 1.8em;
  font-weight: bold;
}

/* % */
.p-product__main .discount-unit {
  font-size: 1.3em;
  font-weight: 500;
}

/* OFF */
.p-product__main .discount-off {
  font-size: 1.2em;
  font-weight: 500;
}


.p-card__top{
  display:flex;
  align-items:stretch;
  justify-content:space-between;
  gap:8px;
}

.p-card__maker{
  display:flex;
  align-items:center;
  min-height:30px;
}

.p-card__comment {
  display: -webkit-box;
  font-size: 12px;
  -webkit-line-clamp: 2;
  padding:0 3px;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  min-height: calc(1.4em * 2);
}


.p-card__bottom {
  display: block;
  padding: 0 8px 8px;
}

.p-card__priceWrap {
  text-align: center;
}

/* ラベル */
.p-card__label{
  min-width:0;
  font-size:clamp(
    10px,
    1.2vw,
    14px
  );

  color:#ff0000;
  margin-bottom:2px;
  font-weight:bold;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.p-card__price {
  display: flex;              /* ←横並び */
  justify-content: center;    /* 中央寄せ */
  align-items: baseline;
  gap: 3px;
  font-size: 22px;
  font-weight: bold;
  color: #e53935;
}

/* 税込 */
.p-card__price span {
  font-size: 15px;
  color: #e53935;
}

.p-card__btn {
  margin-top: 6px;
  width: 100%;
  padding: 8px;
  text-align: center;
  background: #ffa726;
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: bold;
}

.p-card__info{
  display:flex;
  flex-direction:column;
  padding:0 8px;
  text-align:center;
}

.p-card__series{

  font-size:clamp(
    11px,
    1.2vw,
    14px
  );

  font-weight:700;
  line-height:1.4;
  color:#222;

  white-space:nowrap;

  overflow:hidden;

  text-overflow:ellipsis;
}

.p-card__model{
  font-size:12px;
  color:#666;
  line-height:1.4;

  word-break:break-all;
}

.p-card__widths{
  display:flex;
  gap:6px;
  align-items:stretch;
}

.p-card__width{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
}


/* =========================
   MODAL（機能画像）
========================= */

.p-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.p-modal.is-open {
  display: block;
}

.p-modal__bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
}

.p-modal__img {
  position: absolute;
  max-width: 90%;
  max-height: 90%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/* 商品ページここまで */

/* アニメーション */
@keyframes swipeMove {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(20px);
  }
  100% {
    transform: translateX(0);
  }
}



/* =========================
   絞り込み部分
========================= */

/* 全体 */
.p-filter {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 80px;
}

/* .p-filterOpen {
  position: sticky;
  top: calc(var(--header-height) + 10px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 30%);
  margin: 10px auto;
  padding: 12px 16px;
  border: none;
  border-radius: 10px;
  background:
    linear-gradient(135deg, #66bb6a, #2e7d32);

  color: #fff;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.05em;

  box-shadow:
    0 8px 20px rgba(46,125,50,0.25);

  z-index: 100;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
} */

.p-filterOpen{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100%;
  padding:12px 16px;
  border:none;
  border-radius:10px;
  background:
    linear-gradient(
      135deg,
      #66bb6a,
      #2e7d32
    );

  color:#fff;
  font-size:14px;
  font-weight:700;
  letter-spacing:.05em;
  box-shadow:
    0 8px 20px
    rgba(46,125,50,.25);

  transition:
    transform .2s,
    box-shadow .2s;

  cursor:pointer;
}

.p-filterOpen:active {
  transform: scale(0.97);

  box-shadow:
    0 4px 10px rgba(46,125,50,0.2);
}

.p-filter__featureTitle{
  margin:18px 0 8px;

  font-size:14px;
  font-weight:700;

  color:#333;
}

.p-filterOpen--sticky{
  position:sticky;

  top:
    calc(
      var(--header-height)
      + 10px
    );

  z-index:100;
}




/* グループ */
.p-filter__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 横並びの箱 */
.p-filter__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

/* 親タイトル */
.p-filter__title {
  font-weight: bold;
  font-size: 14px;
}

/* 子を横並び */
.p-filter__group .p-filter__item {
  display: inline-flex;
  align-items: center;
  margin-right: 10px;
  margin-bottom: 6px;
  font-size: 12px;
  cursor: pointer;
}

.p-filter__item {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
}

.p-filter__group--feature .p-filter__list{
  display:grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap:6px;
}

.p-filter__group--feature .p-filter__title{
  width:100%;

  margin-bottom:8px;
}

/* モーダル全体 */
.p-filterModal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none; /* ←重要 */
  transition: 0.3s;
}



/* 開いた時 */
.p-filterModal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* 表示 */
.p-filterModal.is-open {
  pointer-events: auto;
}

/* 背景 */
.p-filterModal__overlay {
  pointer-events: auto;
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: 0.3s;
  z-index: 1;
}

/* 開いた時 */
.p-filterModal.is-open .p-filterModal__overlay {
  opacity: 1;
}

.p-filterModal.is-open .p-filterModal__content {
  transform: translate(-50%, 0);
}

/* 本体（上から） */
.p-filterModal__content {
  display:flex;
  flex-direction:column;
  position: absolute;
  top: calc(var(--header-height) + 20px);
  left: 50%;
  transform: translateX(-50%); /* 縦方向は消す */
  width: 90%;
  max-width: 1000px;
  max-height: calc(100% - var(--header-height) - 100px);
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  overflow-y: auto;
  /* 初期状態（上に隠す） */
  transform: translate(-50%, -120%);
  transition: 0.3s;

  box-shadow:
    0 20px 40px rgba(0,0,0,0.3),
    0 5px 15px rgba(0,0,0,0.2);
    z-index: 2000;
    position: relative;
}

.p-filterModal__close{
  position:sticky;
  top:0;
  margin-left:auto;
  z-index:20;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
}

.p-filter__submit {
  position: sticky;
  bottom: 0;
  width: 100%;
  padding: 14px;
  padding-bottom: calc(14px + env(safe-area-inset-bottom));
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #66bb6a, #2e7d32);
  color: #fff;
  z-index: 10;
  box-shadow:
    0 6px 16px rgba(46,125,50,0.25);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    background 0.2s ease;
}

.p-filter__submit:active {
  transform: scale(0.98);
}

.p-filter__submit.is-flip {
  transform: translateY(-3px);
  opacity: 0.6;
}


/* チェックボックスとテキストの間 */
.p-filter__item input {
  margin-right: 4px;
}

.p-filter__item input:checked + .p-filter__label {
  font-weight: bold;
}

.p-filter__item:has(input:checked) {
  background: #66bb6a;
  color: #fff;
}

/* 件数 */
.p-filter__count {
  font-size: 11px;
  color: #888;
  margin-left: 2px;
}

/* .p-filter__group--feature .p-filter__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
} */

/* 会社概要 */
/* =========================
   Company
========================= */

.p-company {
  padding: 80px 20px;
  background: #f7f8fa;
}

.p-company__inner {
  max-width: 960px;
  margin: 0 auto;
}

.p-company__header {
  text-align: center;
  margin-bottom: 48px;
}

.p-company__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #edf4f7;
  color: #3d6b7d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.p-company__title {
  margin-bottom: 16px;
  color: #222;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.3;
}

.p-company__lead {
  color: #666;
  font-size: 15px;
  line-height: 1.9;
}

.p-company__table {
  overflow: hidden;
  border: 1px solid #e5e8ec;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
}

.p-company__row {
  display: grid;
  grid-template-columns: 240px 1fr;
  border-bottom: 1px solid #edf1f4;
}

.p-company__row:last-child {
  border-bottom: none;
}

.p-company__head {
  padding: 28px 32px;
  background: #f9fafb;
  border-right: 1px solid #edf1f4;
  color: #3d6b7d;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
}

.p-company__body {
  padding: 28px 32px;
  color: #444;
  font-size: 15px;
  line-height: 2;
}

.p-company__list {
  padding-left: 1.2em;
}

.p-company__list li {
  margin-bottom: 8px;
}

@media (max-width: 767px) {

  .p-company {
    padding: 56px 16px;
  }

  .p-company__table {
    border-radius: 18px;
  }

  .p-company__row {
    grid-template-columns: 1fr;
  }

  .p-company__head {
    padding: 18px 20px;
    border-right: none;
    border-bottom: 1px solid #edf1f4;
  }

  .p-company__body {
    padding: 20px;
    font-size: 14px;
    line-height: 1.9;
  }

}

/* 利用規約 */
/* =========================
   Terms
========================= */

.p-terms {
  padding: 80px 20px;
  background: #f7f8fa;
}

.p-terms__inner {
  max-width: 960px;
  margin: 0 auto;
}

.p-terms__header {
  margin-bottom: 48px;
  text-align: center;
}

.p-terms__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #edf4f7;
  color: #3d6b7d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.p-terms__title {
  margin-bottom: 16px;
  color: #222;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.3;
}

.p-terms__lead {
  color: #666;
  font-size: 15px;
  line-height: 1.9;
}

.p-terms__container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.p-terms__section {
  padding: 32px;
  border: 1px solid #e5e8ec;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
}

.p-terms__heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.p-terms__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #3d6b7d;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}

.p-terms__titleSub {
  color: #222;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.p-terms__body {
  color: #444;
  font-size: 15px;
  line-height: 2;
}

.p-terms__list {
  margin-top: 16px;
  padding-left: 1.2em;
}

.p-terms__list li {
  margin-bottom: 10px;
}

/* =========================
   SITE MAP
========================= */

.p-sitemap{
  padding:20px 15px 100px;
}

/* セクション間 */
.p-sitemap__section + .p-sitemap__section{
  margin-top:32px;
}

/* 見出し */
.p-sitemap__heading{
  margin-bottom:14px;

  font-size:18px;
  font-weight:bold;
  line-height:1.4;

  color:#2e7d32;
}

/* リスト */
.p-sitemap__list{
  display:flex;
  flex-direction:column;
  gap:10px;

  margin:0;
  padding:0;

  list-style:none;
}

/* リンク */
.p-sitemap__link{
  display:block;

  padding:14px 16px;

  border-radius:12px;

  background:#fff;

  color:#333;
  text-decoration:none;

  box-shadow:
    0 2px 10px rgba(0,0,0,.08);

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

/* hover */
.p-sitemap__link:hover{
  transform:translateY(-2px);

  box-shadow:
    0 8px 20px rgba(0,0,0,.12);
}

/* tap */
.p-sitemap__link:active{
  transform:scale(.98);
}


/* 過去品番検索 */
.p-oldSeries{
  margin-top:40px;
  padding:32px;
  background:#fff;
  border-radius:16px;
  box-shadow:
    0 4px 12px rgba(0,0,0,.06);
}

.p-oldSeries__title{
  margin:0 0 24px;
  font-size:24px;
  line-height:1.4;
}

.p-oldSeries__list{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  padding:0;
  margin:0;
  list-style:none;
}

.p-oldSeries__item{
  flex:1 1 260px;
}


.p-oldSeries__link{
  display:flex;
  align-items:center;
  min-height:56px;
  padding:12px 16px;
  background:#f7f7f7;
  border-radius:10px;
  text-decoration:none;
  color:#222;
  font-weight:600;
  transition:.2s;
}

.p-oldSeries__link:hover{
  background:#ffe9e9;
  transform:translateY(-2px);
}

.p-oldModelSearch{
  padding:40px;
  background:#fff;
  border-radius:20px;
  box-shadow:
    0 4px 12px rgba(0,0,0,.06);
}

.p-oldModelSearch__title{
  margin:0 0 12px;
  font-size:32px;
  line-height:1.4;
}

.p-oldModelSearch__text{
  margin-bottom:24px;
  color:#666;
  line-height:1.8;
}

.p-oldModelSearch__form{
  display:flex;
  gap:12px;
}

.p-oldModelSearch__form input{
  flex:1;
  height:72px;
  padding:0 24px;
  border:1px solid #ddd;
  border-radius:16px;
  font-size:20px;
  font-weight:500;
  background:#fafafa;
}

.p-oldModelSearch__form input:focus{
  outline:none;
  border-color:#e60012;
  background:#fff;
}

.p-oldModelSearch__form button{
  width:160px;
  height:72px;
  border:none;
  border-radius:16px;
  background:#222;
  color:#fff;
  font-size:18px;
  font-weight:700;
  cursor:pointer;
  transition:.2s;
}

.p-oldModelSearch__form button:hover{
  background:#111;
}

/* 検索ボックス */
.p-searchArea{
  display:flex;
  gap:10px;
  flex-direction:column;
  margin-bottom:5px;
}

.p-searchBox{
  flex:1;
}

.p-searchBox__inputWrap{
  position:relative;
}

.p-searchBox__input{
  width:100%;
  height:48px;

  padding:0 16px;

  border:none;
  border-radius:10px;

  background:#fff;

  font-size:14px;

  box-shadow:
    0 2px 10px rgba(0,0,0,.06);
}

.p-searchBox__suggest{
  position:absolute;

  top:100%;
  left:0;

  width:100%;

  margin-top:6px;

  border-radius:10px;

  background:#fff;

  box-shadow:
    0 4px 20px rgba(0,0,0,.08);

  overflow:hidden;

  z-index:100;
}

.p-searchBox__suggestItem{
  display:flex;

  align-items:center;
  justify-content:space-between;

  gap:10px;

  padding:12px 14px;

  border-bottom:
    1px solid #eee;

  color:#333;

  text-decoration:none;

  font-size:14px;
}

.p-searchBox__suggestItem:hover{
  background:#f8f8f8;
}

.p-searchBox__suggestCount{
  color:#888;

  font-size:12px;
}

@media(max-width:768px){

  .p-searchArea{
    gap:8px;
  }

  .p-filterOpen{
    flex-shrink:0;
  }

}

@media(min-width:769px){

  .p-searchArea{
    display:grid;
    grid-template-columns:
      1fr 1fr;
    gap:12px;
    margin-top: 5px;
    padding: 5px;
    position:sticky;
    top:var(--header-height);
    z-index:90;
    background:#fff;
    padding:10px 0;
  }

  .p-searchArea{
  transition:
    padding .2s,
    box-shadow .2s;
}

}

/* 検索ボックスここまで */

@media(max-width:767px){

  .p-oldSeries{
    padding:20px;
  }

  .p-oldSeries__item{
    width:100%;
  }

  .p-oldModelSearch{
    padding:24px;
  }

  .p-oldModelSearch__title{
    font-size:24px;
  }

  .p-oldModelSearch__form{
    flex-direction:column;
  }

  .p-oldModelSearch__form button{
    width:100%;
  }

}

@media (max-width: 767px) {

  .p-terms {
    padding: 56px 16px;
  }

  .p-terms__section {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .p-terms__heading {
    gap: 10px;
    margin-bottom: 18px;
  }

  .p-terms__number {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .p-terms__titleSub {
    font-size: 20px;
  }

  .p-terms__body {
    font-size: 14px;
    line-height: 1.9;
  }

  .p-price__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .p-hero__logo img {
  max-width: 200px;
  height: auto;
  }



}

.p-searchResult{
  margin:32px 0 48px;
  padding:32px;
  background:#fff;
  border-radius:20px;
  box-shadow:
    0 4px 12px rgba(0,0,0,.06);
}

.p-searchResult__title{
  margin:0 0 20px;
  font-size:24px;
}

.p-searchResult__list{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  padding:0;
  margin:0;
  list-style:none;
}

.p-searchResult__item{
  flex:1 1 260px;
}

.p-searchResult__link{
  display:flex;
  align-items:center;
  min-height:60px;
  padding:12px 16px;
  background:#f7f7f7;
  border-radius:12px;
  text-decoration:none;
  color:#222;
  font-weight:700;
  transition:.2s;
}

.p-searchResult__link:hover{
  background:#fff1f1;
}

mark{
  background:#ffe066;
  color:#111;
  padding:0 2px;
  border-radius:4px;
}

/* area */

.p-area {
  max-width: 1200px;
  margin: 0 auto;
}

.p-area__prefecture {
  margin-bottom: 48px;
  padding: 32px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.p-area__prefectureTitle {
  margin-bottom: 24px;
  font-size: 28px;
  font-weight: 700;
}

.p-area__group {
  margin-bottom: 24px;
}

.p-area__groupTitle {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 700;
}

.p-area__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.p-area__list a {
  display: block;
  padding: 10px 16px;
  background: #f5f7fa;
  border-radius: 999px;
  text-decoration: none;
  color: #333;
  transition: .2s;
}

.p-area__list a:hover {
  background: #0068b7;
  color: #fff;
}

/* p-warranty */
.p-warranty{
  max-width:1200px;
  margin:0 auto;
  padding:80px 20px;
}

.p-warranty__hero{
  text-align:center;
  margin-bottom:80px;
}

.p-warranty__badge{
  display:inline-block;
  padding:8px 16px;
  border-radius:999px;
  background:#eef6ff;
  font-weight:700;
  margin-bottom:20px;
}

.p-warranty__title{
  font-size:42px;
  line-height:1.4;
  margin-bottom:24px;
}

.p-warranty__lead{
  max-width:800px;
  margin:0 auto;
  line-height:2;
}

.p-warranty__section{
  margin-bottom:80px;
}

.p-warranty__heading{
  text-align:center;
  font-size:32px;
  margin-bottom:40px;
}

.p-warranty__cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.p-warranty-card{
  padding:32px;
  border:1px solid #e5e7eb;
  border-radius:16px;
}

.p-warranty-card__icon{
  font-size:32px;
  margin-bottom:16px;
}

.p-warranty__grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}

.p-warranty-box{
  padding:24px;
  border-radius:12px;
  background:#f8fafc;
}

.p-warranty-flow{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}

.p-warranty-flow__item{
  padding:24px;
  border:1px solid #e5e7eb;
  border-radius:12px;
}

.p-warranty-flow__item span{
  font-weight:700;
}

.p-warranty__list{
  max-width:600px;
  margin:0 auto;
}

.p-warranty__list li{
  margin-bottom:12px;
}

.p-warranty__cta{
  text-align:center;
  padding:60px;
  border-radius:20px;
  background:#f8fafc;
}

.p-warranty__button{
  display:inline-block;
  margin-top:24px;
  padding:16px 32px;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
}


/* =========================
   RESPONSIVE
========================= */

/* SP */
@media (max-width: 768px) {

  :root {
    --header-height: 45px;
  }

  .l-container {
    margin: var(--header-height) auto 0;
  }

  .l-header__inner {
    justify-content: left;
  }

  .l-header__logo {
    
    padding-left:10px;
    
  }

  .p-special {
    grid-template-columns: 1fr;

  }

  .p-specialDetail__contact {
    position: sticky;
    bottom: 10px;
  }

  .p-specialDetail__content p {
  margin-bottom: 16px;
  }

  /* 2カラム */
  .p-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .p-breadcrumb{
    font-size:12px;
  }

  

  /* 商品ページスペック */
  .p-product__meta{
    font-size:clamp(
      10px,
      2.8vw,
      12px
    );
  }

  .p-product__makerLogo{
    width:90px;
    height:34px;
    top:8px;
    left:8px;
    padding:5px 8px;
  }



}

/* PC */
@media (min-width: 769px) {

  .l-header__inner {
    max-width: none;
    padding: 0 20px;
  }

  .c-nav--pc {
    display: block;
    margin-left: auto;
  }

  .c-nav--pc .menu-item a{
    display:flex;
    align-items:center;
    height:70px;
    font-size:14px;
    font-weight:700;
  }

  .c-nav--pc .c-nav__list {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 0;
    margin:0;
    list-style:none;
  }

  .l-header__menuBtn {
    display: none;
  }

  .c-modal {
    display: none;
  }

  .l-container {
    overflow: visible;
  }


  .p-archive__head{
    margin-top:40px;
  }

  .p-banners__grid{

    display:grid;

    grid-template-columns:
      repeat(2, 1fr);

    gap:20px;

  }

  .p-works__grid{
    grid-template-columns: repeat(4, 1fr);
  }

.p-product__top{
    display: grid;
    grid-template-columns:
      minmax(400px, 550px)
      minmax(400px, 1fr);
    gap: 10px;
    align-items: start;
  }

  .p-product__gallery{
    max-width: 550px; /* 左カラムの最大幅 */
    display:flex;
    flex-direction:column;
  }

  

  .p-product__summary{
    position:sticky;
    top:100px;
    background:#fff;
    border-radius:20px;
    padding:30px;
    width: 100%; /* 右カラムは600pxに収まるように */
    max-width: 600px;
  }

  .c-menu,
  .c-menu__toggle{
    display:none;
  }


}

@media (min-width:1024px){

  .p-frontLayout{
    display:flex;
    gap:24px;

    align-items:flex-start;
  }

  .p-frontSidebar{
    position:sticky;

    top:calc(
      var(--header-height) + 10px
    );

    width:320px;

    max-height:calc(
      100vh - var(--header-height) - 20px
    );

    overflow-y:auto;

    flex-shrink:0;
  }

  .p-frontContent{
    flex:1;

    min-width:0;
  }

}


