/* =========================================================
  壁面マット・パネル page
  調整版：文字小さめ / 上余白あり / トップ画像白背景なし / 写真角丸
========================================================= */

.hekimen-page-wrap{
  --main:#01C8BD;
  --main-dark:#00a79f;
  --cream:#F5F2EA;
  --white:#fff;
  --text:#242424;
  --sub:#5d5750;
  --yellow:#F4CC00;
  --orange:#FF7E00;
  --red:#EE4848;
  --purple:#752DB7;
  --line:#e7ded2;
  --shadow:0 18px 45px rgba(96,70,32,.12);

  position:relative;
  overflow:hidden;
  background:var(--cream);
}

.hekimen-page-wrap *,
.hekimen-page-wrap *::before,
.hekimen-page-wrap *::after{
  box-sizing:border-box;
}

.hekimen-page-wrap img{
  display:block;
  max-width:100%;
  height:auto;
}

.hekimen-page-wrap a{
  color:inherit;
  text-decoration:none;
}

/* =========================================
   Product Template / Top
========================================= */

.product-template-page{
  color:#222;
  overflow:hidden;
}

.pt-section{
  position:relative;
  min-height:auto;
  padding:145px 40px 100px;
  overflow:hidden;
}

.pt-inner{
  position:relative;
  z-index:2;
  width:min(1500px,100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:45% 55%;
  align-items:center;
  gap:20px;
}

.pt-bg-orange{
  position:absolute;
  top:-170px;
  left:-160px;
  width:560px;
  height:340px;
  background:#FF7A00;
  border-radius:50%;
  z-index:1;
}

.pt-bg-green{
  position:absolute;
  top:-220px;
  right:-160px;
  width:640px;
  height:430px;
  background:#08BEB8;
  border-radius:50%;
  z-index:1;
}

.pt-content{
  position:relative;
  z-index:2;
  padding-top:0;
}

.pt-title-row{
  display:flex;
  align-items:center;
  gap:16px;
  margin-bottom:22px;
}

.pt-icon{
  position:relative;
  width:52px;
  height:34px;
  display:block;
  flex:0 0 auto;
}

.pt-icon::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  background:conic-gradient(#0D92DF 0 35%, #7131C7 35% 70%, #08BEB8 70% 100%);
}

.pt-icon::after{
  content:"";
  position:absolute;
  top:10px;
  left:15px;
  width:24px;
  height:13px;
  background:#FF7A00;
  border-radius:50%;
}

.pt-title-row h1{
  margin:0;
  font-size:30px;
  line-height:1.25;
  font-weight:900;
  letter-spacing:.05em;
}

.pt-dash{
  width:100%;
  max-width:420px;
  border-top:3px dashed #cfc6b8;
  margin-bottom:30px;
}

.pt-content h2{
  margin:0 0 18px;
  color:#08BEB8;
  font-size:20px;
  line-height:1.6;
  font-weight:900;
  letter-spacing:.04em;
}

.pt-lead{
  margin:0 0 28px;
  font-size:15px;
  line-height:1.9;
  font-weight:700;
  letter-spacing:.04em;
}

.pt-spec-table{
  width:100%;
  max-width:560px;
  border:1px solid #fff;
  border-radius:8px;
  overflow:hidden;
  margin-bottom:26px;
  background:rgba(255,255,255,.35);
}

.pt-spec-row{
  display:grid;
  grid-template-columns:110px 1fr;
  border-bottom:1px solid #fff;
}

.pt-spec-row:last-child{
  border-bottom:none;
}

.pt-spec-row-4{
  grid-template-columns:110px 145px 110px 1fr;
}

.pt-spec-head,
.pt-spec-data{
  min-height:42px;
  display:flex;
  align-items:center;
  padding:8px 16px;
  font-size:14px;
  line-height:1.5;
  font-weight:700;
}

.pt-spec-head{
  justify-content:center;
  background:#fff;
  font-weight:900;
}

.pt-spec-data{
  background:rgba(255,255,255,.45);
}

.pt-btn{
  width:240px;
  height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 34px 0 38px;
  color:#222;
  background:#fff;
  border:3px solid #222;
  border-radius:999px;
  text-decoration:none;
  font-size:17px;
  font-weight:900;
  transition:.25s;
}



.pt-btn:hover{
  background:#222;
  color:#fff;
}

.pt-btn:hover i,
.pt-btn:hover i::before,
.pt-btn:hover i::after{
  background:#fff;
}

.pt-image-area{
  position:relative;
  z-index:2;
}

.pt-image-box{
  width:100%;
  min-height:540px;
  background:transparent;
  border-radius:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}

.pt-image-box img{
  width:100%;
  max-width:960px;
  height:auto;
  display:block;
  border-radius:30px;
}

/* ===============================
  商品一覧
================================ */

.ww-products{
  position:relative;
  z-index:2;
  width:min(1240px,100%);
  margin:0 auto;
  padding:40px 24px 90px;
}

.category-name{
  display:table;
  margin:0 auto 34px;
  padding:0 18px 6px;
  font-size:4rem;
  line-height:1.45;
  font-weight:900;
  text-align: center;
}

.ww-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:34px;
}

.ww-card{
  position:relative;
  background:#f1f1f1;
  border-radius:18px;
  padding:12px 12px 24px;
  overflow:hidden;
}

.ww-head{
  padding-top:5%;
  min-height:68px;
}

.ww-head h3{
  margin:5px 0 0;
  color:#111;
  font-size:1.5rem;
  line-height:1.5;
  font-weight:900;
  letter-spacing:.04em;
}

.ww-img{
  position:relative;
  width:100%;
  height:250px;
  background:#fff;
  display:grid;
  place-items:center;
  overflow:hidden;
  margin-bottom:20px;
  border-radius:18px;
}

.ww-img img{
  width:70%;
  height:100%;
  object-fit:contain;
  object-position:center;
  display:block;
  transition:opacity .18s ease;
  border-radius:18px;
}

.ww-nav{
  position:absolute;
  bottom:14px;
  z-index:10;
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border:2px solid #08beb8;
  border-radius:50%;
  background:#fff;
  color:#08beb8;
  font-size:19px;
  line-height:1;
  font-weight:900;
  cursor:pointer;
  padding:0;
}

.ww-prev{
  left:12px;
}

.ww-next{
  right:12px;
}

.ww-nav:hover{
  background:#08beb8;
  color:#fff;
}

.ww-size{
  min-height:48px;
  background:#d9d9d9;
  border-radius:7px;
  padding:9px 13px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:18px;
}

.ww-size p{
  margin:0;
  color:#222;
  font-size:10px;
  line-height:1.6;
  font-weight:900;
}

/* ==========================
   Order Button
========================== */

.cart-order-btn{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  max-width:220px;
  height:50px;
  margin:16px auto 0;
  background:#fff;
  border:3px solid #2c2c2c;
  border-radius:999px;
  color:#2c2c2c;
  text-decoration:none;
  overflow:hidden;
  transition:.3s;
}

.cart-order-text{
  flex:1;
  text-align:center;
  font-size:14px;
  font-weight:900;
  letter-spacing:.08em;
}

.cart-order-icon{
  width:46px;
  height:100%;
  border-left:3px solid #2c2c2c;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.3s;
}

.cart-order-icon svg{
  width:17px;
  height:17px;
}

.cart-order-btn:hover{
  background:#2c2c2c;
  color:#fff;
}

.cart-order-btn:hover .cart-order-icon{
  border-left-color:#fff;
}

/* ===============================
  SVG decoration
=============================== */

.hekimen-page-wrap .ps_object1,
.hekimen-page-wrap .ps_object2,
.hekimen-page-wrap .ps_object3,
.hekimen-page-wrap .ps_object4,
.hekimen-page-wrap .ps_object5{
  position:absolute;
  z-index:1;
  display:block;
  height:auto;
  max-width:none;
  object-fit:contain;
  pointer-events:none;
  opacity:0;
  animation:svgPoyonUp 2s cubic-bezier(.19, 1, .22, 1) forwards;
  will-change:transform, opacity;
}

.hekimen-page-wrap .ps_object1{
  width:20%;
  top:5%;
  right:0;
  animation-delay:.2s;
}


.hekimen-page-wrap .ps_object3{
  width:20%;
  top:50%;
  right:0;
  animation-delay:.7s;
}

.hekimen-page-wrap .ps_object4{
  width:20%;
  top:0;
  left:0;
  animation-delay:.95s;
}

.hekimen-page-wrap .ps_object5{
  width:20%;
  top:90%;
  left:20%;
  animation-delay:1.2s;
}

@keyframes svgPoyonUp{
  0%{
    opacity:0;
    transform:translateY(80px) scale(.85);
  }

  60%{
    opacity:1;
    transform:translateY(-10px) scale(1.04);
  }

  80%{
    transform:translateY(4px) scale(.98);
  }

  100%{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

/* ========================================
  右下追従ボタン
======================================== */

.floating-reference{
  position:fixed;
  right:22px;
  bottom:26px;
  z-index:9999;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.floating-reference-btn{
  width:130px;
  height:130px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-decoration:none;
  text-align:center;
  color:#242424;
  font-family:"Zen Kaku Gothic New",sans-serif;
  font-weight:900;
  background:url("../img/reference_btn_bg.svg") center/contain no-repeat;
  transition:.25s ease;
}

.floating-reference-btn:hover{
  transform:translateY(-4px);
}

.floating-reference-btn span{
  font-size:16px;
  font-weight:bold;
  line-height:1.1;
  text-align:center;
}

.floating-reference-btn img{
  width:40px;
  height:40px;
  object-fit:contain;
}

/* modal */
.tcm-modal,
.color-modal,
#template-colors-modal{
  display:none;
}

.tcm-modal.is-open,
.color-modal.is-open,
#template-colors-modal.is-open{
  display:block;
}

/* =========================================
   tablet
========================================= */

@media(max-width:1200px){

  .pt-section{
    padding:125px 24px 70px;
  }

  .pt-inner{
    grid-template-columns:1fr;
    gap:34px;
  }

  .pt-content{
    max-width:760px;
  }

  .pt-title-row h1{
    font-size:28px;
  }

  .pt-content h2{
    font-size:19px;
  }

  .pt-lead{
    font-size:14px;
  }

  .pt-spec-head,
  .pt-spec-data{
    font-size:13px;
  }

  .pt-image-box{
    min-height:auto;
    padding:10px;
  }

  .pt-image-box img{
    max-width:780px;
    border-radius:26px;
  }

  .ww-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:28px;
  }

  .floating-reference{
    right:12px;
    bottom:16px;
    flex-direction:row;
    gap:8px;
  }

  .floating-reference-btn{
    width:96px;
    height:96px;
  }

  .floating-reference-btn span{
    font-size:12px;
    line-height:1.25;
  }

  .floating-reference-btn img{
    width:26px;
    height:26px;
  }
}

/* =========================================
   mobile
========================================= */

@media(max-width:640px){

  .pt-section{
    padding:100px 18px 54px;
    min-height:auto;
  }

  .pt-bg-orange{
    top:-115px;
    left:-150px;
    width:350px;
    height:230px;
  }

  .pt-bg-green{
    top:-160px;
    right:-180px;
    width:380px;
    height:260px;
  }

  .pt-inner{
    gap:28px;
  }

  .pt-title-row{
    gap:12px;
    margin-bottom:20px;
  }

  .pt-icon{
    width:42px;
    height:30px;
  }

  .pt-icon::after{
    top:9px;
    left:13px;
    width:20px;
    height:11px;
  }

  .pt-title-row h1{
    font-size:24px;
  }

  .pt-dash{
    margin-bottom:26px;
    border-top-width:3px;
  }

  .pt-content h2{
    font-size:17px;
    line-height:1.6;
    margin-bottom:18px;
  }

  .pt-lead{
    font-size:13px;
    line-height:1.85;
    margin-bottom:24px;
  }

  .pt-spec-row,
  .pt-spec-row-4{
    grid-template-columns:88px 1fr;
  }

  .pt-spec-row-4 .pt-spec-head:nth-child(3),
  .pt-spec-row-4 .pt-spec-data:nth-child(4){
    border-top:1px solid #fff;
  }

  .pt-spec-head,
  .pt-spec-data{
    min-height:40px;
    padding:8px 10px;
    font-size:12px;
  }

  .pt-btn{
    width:210px;
    height:60px;
    padding:0 28px 0 32px;
    font-size:15px;
    border-width:3px;
  }

  .pt-btn i{
    height:32px;
  }

  .pt-btn i::before,
  .pt-btn i::after{
    right:-18px;
    width:16px;
    height:3px;
  }

  .pt-image-box{
    padding:0;
  }

  .pt-image-box img{
    max-width:100%;
    border-radius:20px;
  }

  .ww-products{
    padding:32px 14px 70px;
  }

  .category-name{
    font-size:17px;
  }

  .ww-grid{
    grid-template-columns:1fr;
    gap:26px;
  }

  .ww-card{
    border-radius:16px;
  }

  .ww-head h3{
    font-size:1.3rem;
  }

  .ww-img{
    height:230px;
    border-radius:16px;
  }

  .ww-img img{
    border-radius:16px;
  }

  .cart-order-btn{
    max-width:200px;
    height:48px;
  }

  .cart-order-text{
    font-size:13px;
  }

  .cart-order-icon{
    width:44px;
  }

  .floating-reference{
    right:8px;
    bottom:10px;
    gap:6px;
  }

  .floating-reference-btn{
    width:82px;
    height:82px;
  }

  .floating-reference-btn span{
    font-size:10px;
    line-height:1.2;
  }

  .floating-reference-btn img{
    width:22px;
    height:22px;
  }
}

/* =========================================================
  Wall layout rethink based on urethane cushion structure
  - iPad: 商品説明(main/pt)を縦並びにせず2カラム維持
  - PC: 左右に広がりすぎないよう中央へ集約
  - SP: 見やすさ優先で1カラム
  - 商品カード: ウレタン系と同じく中央寄せグリッド
========================================================= */

/* ---------- PC 商品説明 ---------- */
@media (min-width:1025px){

  .pt-section{
    padding:130px 40px 90px;
  }

  .pt-inner{
    width:min(1180px, 100%);
    max-width:1180px;
    margin:0 auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:72px;
  }

  .pt-content{
    max-width:500px;
    margin-left:auto;
  }

  .pt-image-area{
    display:flex;
    justify-content:flex-start;
    align-items:center;
  }

  .pt-image-box{
    width:100%;
    min-height:auto;
    padding:0;
    display:flex;
    justify-content:flex-start;
    align-items:center;
    background:transparent;
  }

  .pt-image-box img{
    width:100%;
    max-width:520px;
    border-radius:30px;
  }

}

/* ---------- iPad / Tablet 商品説明 ---------- */
@media (min-width:768px) and (max-width:1024px){

  .pt-section{
    padding:110px 28px 72px;
  }

  .pt-inner{
    width:min(920px, 100%);
    max-width:920px;
    margin:0 auto;
    display:grid;
    grid-template-columns:48% 52%;
    align-items:center;
    gap:28px;
  }

  .pt-content{
    max-width:none;
    margin:0;
  }

  .pt-title-row{
    gap:12px;
    margin-bottom:18px;
  }

  .pt-title-row h1{
    font-size:24px;
    line-height:1.3;
  }

  .pt-icon{
    width:42px;
    height:30px;
    flex:0 0 auto;
  }

  .pt-content h2{
    font-size:16px;
    line-height:1.65;
    margin-bottom:16px;
  }

  .pt-lead{
    font-size:12.5px;
    line-height:1.8;
    margin-bottom:22px;
  }

  .pt-dash{
    width:100%;
    max-width:320px;
    margin-bottom:22px;
  }

  .pt-spec-table{
    width:100%;
    max-width:100%;
    margin-bottom:22px;
  }

  .pt-spec-row{
    grid-template-columns:82px 1fr;
  }

  .pt-spec-row-4{
    grid-template-columns:82px 1fr;
  }

  .pt-spec-row-4 .pt-spec-head:nth-child(3),
  .pt-spec-row-4 .pt-spec-data:nth-child(4){
    border-top:1px solid #eee;
  }

  .pt-spec-head,
  .pt-spec-data{
    min-height:38px;
    padding:7px 9px;
    font-size:11px;
    line-height:1.45;
  }

  .pt-btn{
    width:190px;
    height:54px;
    padding:0 26px 0 30px;
    font-size:14px;
  }

  .pt-image-area{
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .pt-image-box{
    width:100%;
    min-height:auto;
    padding:0;
    display:flex;
    align-items:center;
    justify-content:center;
    background:transparent;
  }

  .pt-image-box img{
    width:100%;
    max-width:410px;
    border-radius:24px;
  }

}

/* ---------- 商品一覧：ウレタン系と同じ中央寄せ ---------- */
.ww-products{
  width:min(1240px, 100%);
  margin:0 auto;
  padding:40px 24px 90px;
}

.ww-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(340px, 380px));
  justify-content:center;
  gap:34px;
}

.ww-card{
  min-width:0;
}

/* ---------- iPad 商品一覧 ---------- */
@media (min-width:768px) and (max-width:1024px){

  .ww-products{
    padding:36px 22px 80px;
  }

  .ww-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:28px;
  }

  .ww-head h3{
    font-size:13px;
    line-height:1.6;
  }

  .ww-img{
    height:235px;
  }

}

/* ---------- SP 商品説明・商品一覧 ---------- */
@media (max-width:767px){

  .pt-section{
    padding:90px 18px 54px;
  }

  .pt-inner{
    width:100%;
    max-width:100%;
    display:grid;
    grid-template-columns:1fr;
    gap:28px;
  }

  .pt-content{
    max-width:100%;
    margin:0;
  }

  .pt-title-row h1{
    font-size:24px;
  }

  .pt-content h2{
    font-size:17px;
    line-height:1.6;
  }

  .pt-lead{
    font-size:13px;
    line-height:1.85;
  }

  .pt-spec-row,
  .pt-spec-row-4{
    grid-template-columns:88px 1fr;
  }

  .pt-spec-row-4 .pt-spec-head:nth-child(3),
  .pt-spec-row-4 .pt-spec-data:nth-child(4){
    border-top:1px solid #eee;
  }

  .pt-spec-head,
  .pt-spec-data{
    font-size:12px;
    padding:8px 10px;
  }

  .pt-image-box{
    padding:0;
  }

  .pt-image-box img{
    max-width:100%;
    border-radius:20px;
  }

  .ww-products{
    padding:32px 14px 70px;
  }

  .ww-grid{
    grid-template-columns:1fr;
    gap:26px;
  }

}



/* =========================================================
  SPのみ：main product画像を製造国の上へ
  PC・iPadのデザインはそのまま
========================================================= */

.pt-image-area-sp{
  display:none;
}

@media (max-width:767px){

  .pt-image-area-pc{
    display:none !important;
  }

  .pt-image-area-sp{
    display:block !important;
    width:100%;
    margin:0 0 22px;
  }

  .pt-image-area-sp .pt-image-box{
    display:flex;
    justify-content:center;
    align-items:center;
    padding:0;
  }

  .pt-image-area-sp img{
    width:100%;
    max-width:320px;
    margin:0 auto;
    border-radius:20px;
  }

}


/* ==========================================
 商品カードレイアウトのみ変更
 PC:3カラム / iPad:2カラム / SP:1カラム
 （他デザインは変更なし）
========================================== */

.ww-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:34px;
  justify-content:initial;
}

@media (min-width:768px) and (max-width:1024px){
  .ww-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:28px;
  }
}

@media (max-width:767px){
  .ww-grid{
    grid-template-columns:1fr;
    gap:26px;
  }

  .ww-card{
    width:100%;
    max-width:420px;
    margin:0 auto;
  }
}
/* ==========================
   ALL ITEM 見出し
========================== */

.vaultingbox-products-inner{
    text-align:center;
    margin-top: 100px;
}

.vaultingbox-products-en{
    margin:0 0 12px;
    color:var(--main);
    font-size:2rem;
    line-height:1;
    font-weight:900;
    letter-spacing:.08em;

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

.vaultingbox-products-title{
    margin:0 0 60px;
    color:#222;
    font-size:clamp(30px,4vw,48px);
    line-height:1.42;
    font-weight:900;
    letter-spacing:.04em;
}