:root {
  --main: #01C8BD;
  --main-dark: #00a79f;
  --cream: #f7f2e9;
  --white: #fff;
  --text: #1f1f1f;
  --sub: #5d5750;
  --yellow: #fac900;
  --orange: #ff8a18;
  --blue: #8edcff;
  --green: #dff7ad;
  --line: #e7ded2;
  --shadow: 0 18px 45px rgba(96, 70, 32, .12);
  --radius: 26px;
}

.jm-page-wrap {
  background: var(--cream);
}

.jm-page {
  position: relative;
  color: var(--text);
  font-family:"Zen Kaku Gothic New",sans-serif;
  font-weight: 700;
  line-height: 1.8;
  overflow-x: hidden;
}

.jm-page * {
  box-sizing: border-box;
}

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

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

.jm-page ul {
  margin: 0;
  padding-left: 1.3em;
}

.jm-hero {
  position: relative;
  width: min(100%, 1180px);
  margin: 56px auto 28px;
  text-align: center;
}

.jm-eyebrow {
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.45;
}

.jm-hero h1 {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  margin: 22px 0 18px;
  font-size: clamp(18px, 2.2vw, 25px);
  font-weight: 900;
}



.jm-lead {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.jm-strong {
  margin: 8px 0 22px;
  font-size: 17px;
  font-weight: 900;
}

.jm-type-heading {
  margin: 0 0 18px;
  font-size: 17px;
  font-weight: 900;
}

.jm-type-heading b {
  color: var(--main);
  font-size: 36px;
}

.jm-type-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: min(920px, 100%);
  margin: 0 auto;
  margin-bottom:10%;
}

.jm-type-card {
  position: relative;
  overflow: hidden;
  min-height: 126px;
  padding: 20px 16px;
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  text-align: center;
}

.jm-type-card span {
  color: var(--sub);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.jm-type-card b {
  color: var(--main);
  font-size: 26px;
  font-weight: 900;
}

.jm-type-card.active {
  background: var(--main);
}

.jm-type-card.active span,
.jm-type-card.active b {
  color: #fff;
}

.jm-product-card {
  width: min(100%, 1180px);
  margin: 0 auto 36px;
  background: var(--white);
  border-radius: 30px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.jm-product-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 26px;
  border-bottom: 3px solid var(--main);
  padding-bottom: 18px;
}

.jm-product-title span {
  color: var(--main);
  font-size: 14px;
  font-weight: 900;
}

.jm-product-title h2 {
  margin: 4px 0 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.35;
}

.jm-product-title strong {
  color: var(--main);
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1;
}

.jm-product-grid {
  display: grid;
  grid-template-columns: 43% 1fr;
  gap: 34px;
}

.jm-product-left h3,
.jm-product-right h3 {
  margin: 24px 0 12px;
  color: var(--main);
  font-size: 22px;
  font-weight: 900;
}

.jm-product-left h3:first-child,
.jm-product-right h3:first-child {
  margin-top: 0;
}

.jm-main-img {
  width: 100%;
  border-radius: 20px;
  background: #f7f7f7;
}

.jm-color-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.jm-color-row > div {
  text-align: center;
}

.jm-color {
  display: block;
  width: 58px;
  height: 58px;
  margin: 0 auto 6px;
  border-radius: 14px;
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.jm-color.green { background: #7aa35b; }
.jm-color.yellow { background: #d8bc40; }
.jm-color.ivory { background: #eee5d6; }
.jm-color.rose { background: #c77883; }
.jm-color.lightblue { background: #8cc9df; }
.jm-color.gray { background: #858585; }
.jm-color.brown { background: #8b5d3c; }

.jm-color-row p {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
}

.jm-note {
  color: var(--sub);
  font-size: 13px;
  line-height: 1.8;
}

.jm-spec-table,
.jm-option-box table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 14px;
}

.jm-spec-table th,
.jm-spec-table td,
.jm-option-box th,
.jm-option-box td {
  padding: 13px 14px;
  border: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
  text-align: left;
  vertical-align: top;
}

.jm-spec-table th,
.jm-option-box th {
  width: 96px;
  background: var(--main);
  color: #fff;
  font-weight: 900;
}

.jm-spec-table td,
.jm-option-box td {
  background: #fffdf8;
}

.jm-feature-list {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
}

.jm-feature-list li {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: #f7f4ec;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.75;
}

.jm-feature-list span {
  display: grid;
  place-items: center;
  min-height: 40px;
  padding: 8px;
  border-radius: 999px;
  background: var(--main);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.jm-price-box,
.jm-option-box,
.jm-buy-box {
  margin-top: 22px;
  padding: 22px;
  border-radius: 22px;
}

.jm-price-box {
  background: #fff7df;
}

.jm-option-box {
  background: #eefbf9;
}

.jm-buy-box {
  background: #f7f4ec;
}

.jm-price-box h3,
.jm-option-box h3,
.jm-buy-box h3 {
  margin-top: 0;
}

.jm-price {
  margin: 0 0 8px;
  color: #ef5757;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.25;
}

.jm-price small {
  color: var(--sub);
  font-size: 13px;
}

.jm-badge {
  display: inline-block;
  margin: 0;
  padding: 8px 14px;
  background: var(--orange);
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.jm-mini-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--main);
  font-weight: 900;
  text-decoration: underline;
}

.jm-contact-btn {
  display: grid;
  place-items: center;
  width: fit-content;
  min-width: 240px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--main);
  color: #fff !important;
  font-weight: 900;
}

.jm-info-card {
  width: min(100%, 1180px);
  margin: 0 auto 36px;
  background: var(--white);
  border-radius: 30px;
  padding: 34px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 32px;
}

.jm-info-text > p:first-child {
  margin: 0 0 8px;
  color: var(--main);
  font-weight: 900;
}

.jm-info-text h4 {
  margin: 0 0 22px;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.45;
}

.jm-info-text h3 {
  margin: 20px 0 8px;
  color: var(--main);
  font-size: 20px;
}

.jm-info-text p,
.jm-info-text li {
  color: var(--sub);
  font-size: 14px;
  line-height: 1.9;
}

.jm-info-images {
  display: grid;
  gap: 16px;
}

.jm-info-images article {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: #f7f4ec;
  border-radius: 18px;
}

.jm-info-images img {
  width: 100%;
  height: 116px;
  object-fit: cover;
  border-radius: 14px;
}

.jm-info-images h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.jm-info-images p {
  margin: 0;
  color: var(--sub);
  font-size: 13px;
  line-height: 1.7;
}

.jm-slope-card {
  width: min(100%, 1180px);
  margin: 0 auto 36px;
  background: var(--white);
  border-radius: 30px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.jm-slope-card h2,
.jm-link-section h2 {
  margin: 0 0 24px;
  text-align: center;
  font-size: clamp(24px, 3vw, 36px);
}

.jm-step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.jm-step-grid article {
  padding: 12px;
  background: #f7f4ec;
  border-radius: 18px;
}

.jm-step-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}

.jm-step-grid p {
  margin: 10px 0 0;
  color: var(--sub);
  font-size: 13px;
  line-height: 1.65;
  font-weight: 700;
}

.jm-slope-bottom {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 28px;
  padding: 22px;
  background: #fff7df;
  border-radius: 22px;
}

.jm-slope-bottom img {
  border-radius: 16px;
}

.jm-slope-bottom h3 {
  margin: 0 0 8px;
  color: var(--main);
}

.jm-calc {
  padding: 14px;
  background: #fff;
  border-radius: 14px;
}

.jm-link-section {
  width: min(100%, 1180px);
  margin: 0 auto 36px;
  background: var(--white);
  border-radius: 30px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.jm-chip-row,
.jm-category-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.jm-chip-row a,
.jm-category-row a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--main);
  color: #fff;
  font-weight: 900;
}

.jm-chip-row a:nth-child(2n),
.jm-category-row a:nth-child(2n) {
  background: var(--orange);
}

.jm-chip-row a:nth-child(3n),
.jm-category-row a:nth-child(3n) {
  background: #ef5757;
}

.jm-chip-row a:nth-child(4n),
.jm-category-row a:nth-child(4n),
.jm-chip-row a.active {
  background: #752db7;
}

.jm-category-row span {
  font-size: 20px;
}

@media (max-width: 1024px) {
  .jm-type-tabs,
  .jm-product-grid,
  .jm-info-card,
  .jm-slope-bottom {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .jm-page {
    padding: 24px 12px 56px;
  }

  .jm-hero {
    margin-top: 34px;
  }

  .jm-hero h1 {
    gap: 14px;
  }

  .jm-hero h1::before,
  .jm-hero h1::after {
    width: 34px;
  }

  .jm-product-card,
  .jm-info-card,
  .jm-slope-card,
  .jm-link-section {
    padding: 22px 16px;
    border-radius: 24px;
  }

  .jm-product-title {
    display: block;
  }

  .jm-product-title strong {
    display: block;
    margin-top: 12px;
  }

  .jm-feature-list li {
    grid-template-columns: 1fr;
  }

  .jm-info-images article {
    grid-template-columns: 1fr;
  }

  .jm-info-images img {
    height: 180px;
  }

  .jm-spec-table {
    display: table;
    width: 100%;
    table-layout: fixed;
  }

  .jm-spec-table tr {
    display: table-row;
  }

  .jm-spec-table th,
  .jm-spec-table td {
    display: table-cell;
    vertical-align: middle;
    padding: 10px;
    font-size: 12px;
  }

  .jm-spec-table th {
    width: 80px;
  }

  .jm-contact-btn {
    width: 100%;
    min-width: 0;
  }
}

/* =========================================================
   Joint Mat Design Polish
   配置は変えず、見た目だけ調整
========================================================= */

.jm-eyebrow {
  color: #1f1f1f;
}

.jm-hero h1 {
  color: var(--main);
}

.jm-strong {
  display: inline-block;
  padding: 10px 22px;
  background: #fff7df;
  color: #ef5757;
  border-radius: 999px;
}

.jm-type-card,
.jm-product-card,
.jm-info-card,
.jm-slope-card,
.jm-link-section {
  background: #fffdf8;
  border: 1px solid rgba(231, 222, 210, .9);
  box-shadow: 0 18px 45px rgba(96, 70, 32, .12);
}

.jm-type-card {
  transition: .25s ease;
}

.jm-type-card:hover {
  transform: translateY(-4px);
}

.jm-product-title {
  border-bottom: 0;
  position: relative;
}

.jm-product-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 90px;
  height: 8px;
  background: radial-gradient(circle at 4px 4px, var(--main) 4px, transparent 5px) 0 0 / 16px 8px repeat-x;
}

.jm-product-title strong {
  color: #fff;
  background: var(--main);
  border-radius: 50%;
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  font-size: 28px;
}

.jm-main-img,
.jm-product-main,
.jm-info-images article,
.jm-step-grid article {
  background: #f7f4ec;
  border-radius: 24px;
}

.jm-product-left h3,
.jm-product-right h3,
.jm-info-text h3,
.jm-slope-bottom h3 {
  color: var(--main);
}

.jm-feature-list li {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(96, 70, 32, .06);
}

.jm-feature-list span {
  background: var(--main);
}

.jm-price-box {
  background: #fff7df;
  border: 2px dashed rgba(250, 201, 0, .8);
}

.jm-option-box {
  background: #eefbf9;
  border: 2px dashed rgba(1, 200, 189, .45);
}

.jm-buy-box {
  background: #f7f4ec;
}

.jm-contact-btn,
.jm-chip-row a,
.jm-category-row a {
  box-shadow: 0 5px 0 var(--main-dark);
  transition: .2s ease;
}

.jm-contact-btn:hover,
.jm-chip-row a:hover,
.jm-category-row a:hover {
  transform: translateY(2px);
  box-shadow: 0 3px 0 var(--main-dark);
}

.jm-price {
  color: #ef5757;
}

.jm-badge {
  background: var(--orange);
}

.jm-info-text h4 {
  font-weight: 900;
}

.jm-info-images article {
  background: #fff;
  border: 1px solid var(--line);
}

.jm-slope-bottom {
  background: #fff7df;
  border: 2px dashed rgba(250, 201, 0, .75);
}

.jm-calc {
  background: #fff;
  box-shadow: 0 8px 20px rgba(96, 70, 32, .06);
}

@media (max-width: 640px) {
  .jm-product-title strong {
    width: 86px;
    height: 86px;
    font-size: 22px;
  }
}
.hero{
  position:relative;
  z-index:2;
  width:min(1180px,100%);
  margin:0 auto;
  padding:64px 18px 58px;
  text-align:center;
}

.kicker{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:26px;
  margin-bottom:14px;
}

.kicker span{
  width:92px;
  height:3px;
  background:#01C8BD;
  border-radius:999px;
}

.kicker strong{
  color:#01C8BD;
  font-size:25px;
  line-height:1;
  letter-spacing:.09em;
  font-weight:900;
}

.hero h1{
  margin:0;
  color:#242424;
  font-size:clamp(30px,4vw,42px);
  line-height:1.35;
  font-weight:900;
  letter-spacing:.05em;
}

.lead{
  max-width:900px;
  margin:20px auto 0;
  color:#5d5750;
  font-size:16px;
  line-height:2;
  font-weight:700;
}

.category-name{
  display:table;
  margin:24px auto 0;
  padding:0 18px 6px;
  font-size:22px;
  line-height:1.45;
  font-weight:900;
  color:#242424;
  background:linear-gradient(transparent 58%,#F4CC00 58%);
}





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

.ps_object1,
.ps_object2,
.ps_object3,
.ps_object4{
    position:absolute;
    height:auto;
    object-fit:contain;
    pointer-events:none;
}

/* ---------- PC ---------- */

.ps_object1{
    width:15%;
    top:10;
    left:0;
}

.ps_object2{
    width:20%;
    top:5%;
    right:0;
}


/* ---------- Tablet ---------- */

@media (max-width:1024px){

    .ps_object1{
        width:40%;

    }

    .ps_object2{
        width:20%;
        top:3%;

    }
  }


/* ---------- Mobile ---------- */

@media (max-width:767px){

    .ps_object1{
        width:50%;
    }

    .ps_object2{
        width:30%;
    }


}
/* ===========================
  用途で選べる3タイプ
=========================== */

.jm-type-card{
    background:#fff;
    border-radius:28px;
    box-shadow:0 16px 35px rgba(0,0,0,.08);
    transition:.3s;
}

.jm-type-card:hover{
    transform:translateY(-5px);
}

/* 共通文字色 */

.jm-type-card span{
    color:#fff;
}

.jm-type-card b{
    color:#fff;
    font-size:52px;
    font-weight:900;
}

/* ---------- 1枚目（抹茶） ---------- */

.jm-type-card:nth-child(1){
    background:#6F8F4E;
}

/* ---------- 2枚目（ブルー） ---------- */

.jm-type-card:nth-child(2){
    background:#4EA7D8;
}

/* ---------- 3枚目（ブラウン） ---------- */

.jm-type-card:nth-child(3){
    background:#9A6A42;
}
/* ===================================
   用途で選べる3タイプ
   iPad・スマホでも横並び
=================================== */

.jm-type-tabs{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

@media (max-width:1024px){

    .jm-type-tabs{
        grid-template-columns:repeat(3,1fr);
        gap:12px;
    }

    .jm-type-card{
        min-height:110px;
        padding:18px 12px;
    }

    .jm-type-card span{
        font-size:12px;
        line-height:1.5;
    }

    .jm-type-card b{
        font-size:34px;
    }

}

@media (max-width:640px){

    .jm-type-tabs{
        grid-template-columns:repeat(3,1fr);
        gap:8px;
    }

    .jm-type-card{
        min-height:90px;
        padding:12px 8px;
        border-radius:16px;
    }

    .jm-type-card span{
        font-size:10px;
        line-height:1.4;
    }

    .jm-type-card b{
        font-size:22px;
        margin-top:4px;
    }

}

/* =========================================================
  FINAL OVERRIDE：全体コンパクト・余白調整
  デザイン（色・角丸・影・配置）は変更せず、サイズ感のみ調整
========================================================= */

.jm-page-wrap,
.jm-page,
.jm-page *{
  box-sizing:border-box;
}

.jm-page{
  overflow-x:hidden;
}

.jm-hero,
.hero,
.jm-type-tabs,
.jm-product-card,
.jm-info-card,
.jm-slope-card,
.jm-link-section{
  margin-left:auto;
  margin-right:auto;
}

/* ---------- PC：少し小さく、中央に余白 ---------- */
@media (min-width:1025px){

  .jm-page{
    padding:0 24px 72px;
    font-size:14px;
    line-height:1.75;
  }

  .hero,
  .jm-hero,
  .jm-product-card,
  .jm-info-card,
  .jm-slope-card,
  .jm-link-section{
    width:min(1040px,100%);
  }

  .hero{
    padding:100px 18px 46px;
  }

  .kicker strong{
    font-size:22px;
  }

  .kicker span{
    width:78px;
  }

  .hero h1{
    font-size:clamp(28px,3.4vw,38px);
  }

  .lead{
    max-width:780px;
    font-size:14px;
    line-height:1.9;
  }

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

  .jm-hero{
    margin-top:34px;
    margin-bottom:24px;
  }

  .jm-type-heading{
    font-size:15px;
    margin-bottom:16px;
  }

  .jm-type-heading b{
    font-size:30px;
  }

  .jm-type-tabs{
    width:min(820px,100%);
    gap:16px;
    margin-bottom:72px;
  }

  .jm-type-card{
    min-height:108px;
    padding:18px 14px;
    border-radius:24px;
  }

  .jm-type-card span{
    font-size:12px;
  }

  .jm-type-card b{
    font-size:42px;
  }

  .jm-product-card,
  .jm-info-card,
  .jm-slope-card,
  .jm-link-section{
    margin-bottom:32px;
    padding:28px;
    border-radius:28px;
  }

  .jm-product-title{
    gap:20px;
    margin-bottom:22px;
    padding-bottom:16px;
  }

  .jm-product-title span{
    font-size:13px;
  }

  .jm-product-title h2{
    font-size:clamp(22px,2.6vw,32px);
  }

  .jm-product-title strong{
    width:96px;
    height:96px;
    font-size:24px;
  }

  .jm-product-grid{
    grid-template-columns:42% 1fr;
    gap:28px;
  }

  .jm-product-left h3,
  .jm-product-right h3,
  .jm-info-text h3,
  .jm-slope-bottom h3{
    font-size:18px;
    margin:20px 0 10px;
  }

  .jm-main-img{
    width:92%;
    margin:0 auto;
  }

  .jm-color-row{
    gap:16px;
  }

  .jm-color{
    width:50px;
    height:50px;
    border-radius:12px;
  }

  .jm-color-row p,
  .jm-note,
  .jm-feature-list li,
  .jm-info-images p,
  .jm-step-grid p{
    font-size:12px;
  }

  .jm-spec-table th,
  .jm-spec-table td,
  .jm-option-box th,
  .jm-option-box td{
    padding:11px 12px;
    font-size:12px;
  }

  .jm-feature-list{
    gap:10px;
  }

  .jm-feature-list li{
    grid-template-columns:104px 1fr;
    padding:10px;
  }

  .jm-feature-list span{
    min-height:36px;
    font-size:11px;
  }

  .jm-price-box,
  .jm-option-box,
  .jm-buy-box{
    margin-top:18px;
    padding:18px;
    border-radius:20px;
  }

  .jm-price{
    font-size:28px;
  }

  .jm-badge{
    font-size:11px;
    padding:7px 12px;
  }

  .jm-contact-btn{
    min-width:220px;
    min-height:48px;
    padding:0 24px;
    font-size:14px;
  }

  .jm-info-card{
    grid-template-columns:.9fr 1.1fr;
    gap:26px;
  }

  .jm-info-text h4{
    font-size:clamp(20px,2.6vw,30px);
  }

  .jm-info-text p,
  .jm-info-text li{
    font-size:13px;
  }

  .jm-info-images{
    gap:14px;
  }

  .jm-info-images article{
    grid-template-columns:140px 1fr;
    gap:14px;
    padding:12px;
  }

  .jm-info-images img{
    height:100px;
  }

  .jm-info-images h3{
    font-size:15px;
  }

  .jm-slope-card h2,
  .jm-link-section h2{
    font-size:clamp(22px,2.6vw,32px);
  }

  .jm-step-grid{
    gap:14px;
  }

  .jm-slope-bottom{
    gap:24px;
    margin-top:24px;
    padding:18px;
  }

  .jm-chip-row a,
  .jm-category-row a{
    padding:10px 16px;
    font-size:13px;
  }
}

/* ---------- iPad：画面いっぱいを防いで、読みやすく ---------- */
@media (min-width:641px) and (max-width:1024px){

  .jm-page{
    padding:0 32px 64px;
    font-size:13px;
    line-height:1.72;
  }

  .hero,
  .jm-hero,
  .jm-product-card,
  .jm-info-card,
  .jm-slope-card,
  .jm-link-section{
    width:min(820px,100%);
  }

  .hero{
    padding:100px 16px 40px;
  }

  .kicker{
    gap:18px;
    margin-bottom:12px;
  }

  .kicker span{
    width:64px;
  }

  .kicker strong{
    font-size:20px;
  }

  .hero h1{
    font-size:clamp(26px,4vw,34px);
  }

  .lead{
    max-width:680px;
    font-size:13px;
    line-height:1.85;
  }

  .category-name{
    font-size:18px;
    margin-top:20px;
  }

  .jm-type-heading{
    font-size:14px;
  }

  .jm-type-heading b{
    font-size:28px;
  }

  .jm-type-tabs{
    width:min(720px,100%);
    gap:12px;
    margin-bottom:64px;
  }

  .jm-type-card{
    min-height:96px;
    padding:14px 10px;
    border-radius:20px;
  }

  .jm-type-card span{
    font-size:11px;
  }

  .jm-type-card b{
    font-size:30px;
  }

  .jm-product-card,
  .jm-info-card,
  .jm-slope-card,
  .jm-link-section{
    padding:26px 24px;
    border-radius:26px;
    margin-bottom:30px;
  }

  .jm-product-title{
    gap:18px;
    margin-bottom:22px;
    padding-bottom:14px;
  }

  .jm-product-title span{
    font-size:12px;
  }

  .jm-product-title h2{
    font-size:clamp(21px,3.4vw,30px);
  }

  .jm-product-title strong{
    width:88px;
    height:88px;
    font-size:22px;
  }

  .jm-product-grid,
  .jm-info-card,
  .jm-slope-bottom{
    grid-template-columns:1fr;
    gap:24px;
  }

  .jm-product-left,
  .jm-product-right,
  .jm-info-text{
    max-width:680px;
    width:100%;
    margin:0 auto;
  }

  .jm-product-left h3,
  .jm-product-right h3,
  .jm-info-text h3,
  .jm-slope-bottom h3{
    font-size:17px;
    margin:18px 0 10px;
  }

  .jm-main-img{
    width:82%;
    max-width:520px;
    margin:0 auto;
  }

  .jm-color-row{
    justify-content:center;
    gap:15px;
  }

  .jm-color{
    width:48px;
    height:48px;
  }

  .jm-color-row p,
  .jm-note,
  .jm-feature-list li,
  .jm-info-images p,
  .jm-step-grid p{
    font-size:12px;
  }

  .jm-spec-table{
    max-width:620px;
    margin:0 auto;
  }

  .jm-spec-table th,
  .jm-spec-table td,
  .jm-option-box th,
  .jm-option-box td{
    padding:10px 11px;
    font-size:12px;
  }

  .jm-feature-list{
    gap:10px;
  }

  .jm-feature-list li{
    grid-template-columns:100px 1fr;
    padding:10px;
  }

  .jm-feature-list span{
    min-height:36px;
    font-size:11px;
  }

  .jm-price-box,
  .jm-option-box,
  .jm-buy-box{
    margin-top:18px;
    padding:18px;
    border-radius:20px;
  }

  .jm-price{
    font-size:26px;
  }

  .jm-badge{
    font-size:11px;
  }

  .jm-contact-btn{
    min-width:210px;
    min-height:46px;
    font-size:13px;
  }

  .jm-info-text h4{
    font-size:clamp(20px,3.4vw,28px);
  }

  .jm-info-text p,
  .jm-info-text li{
    font-size:13px;
  }

  .jm-info-images{
    max-width:680px;
    margin:0 auto;
    gap:14px;
  }

  .jm-info-images article{
    grid-template-columns:140px 1fr;
    gap:14px;
    padding:12px;
  }

  .jm-info-images img{
    height:104px;
  }

  .jm-info-images h3{
    font-size:15px;
  }

  .jm-slope-card h2,
  .jm-link-section h2{
    font-size:clamp(21px,3.4vw,30px);
  }

  .jm-step-grid{
    grid-template-columns:repeat(2,1fr);
    gap:14px;
  }

  .jm-slope-bottom{
    padding:18px;
  }

  .jm-slope-bottom img{
    width:78%;
    max-width:520px;
    margin:0 auto;
  }

  .jm-chip-row a,
  .jm-category-row a{
    padding:10px 15px;
    font-size:12px;
  }
}

/* ---------- スマホ：画面いっぱいを避けて中央に小さく ---------- */
@media (max-width:640px){

  .jm-page{
    padding:0 14px 52px;
    font-size:12px;
    line-height:1.7;
  }

  .hero,
  .jm-hero,
  .jm-product-card,
  .jm-info-card,
  .jm-slope-card,
  .jm-link-section{
    width:min(360px,100%);
  }

  .hero{
    padding:36px 8px 34px;
  }

  .kicker{
    gap:12px;
    margin-bottom:10px;
  }

  .kicker span{
    width:42px;
    height:2px;
  }

  .kicker strong{
    font-size:16px;
  }

  .hero h1{
    font-size:28px;
    line-height:1.35;
  }

  .lead{
    max-width:320px;
    margin-top:16px;
    font-size:12px;
    line-height:1.8;
  }

  .category-name{
    margin-top:18px;
    font-size:16px;
  }

  .jm-hero{
    margin-top:24px;
  }

  .jm-type-heading{
    font-size:13px;
    margin-bottom:14px;
  }

  .jm-type-heading b{
    font-size:24px;
  }

  .jm-type-tabs{
    width:100%;
    gap:7px;
    margin-bottom:52px;
  }

  .jm-type-card{
    min-height:82px;
    padding:10px 6px;
    border-radius:15px;
  }

  .jm-type-card span{
    font-size:9px;
    line-height:1.35;
  }

  .jm-type-card b{
    font-size:20px;
  }

  .jm-product-card,
  .jm-info-card,
  .jm-slope-card,
  .jm-link-section{
    padding:20px 14px;
    border-radius:22px;
    margin-bottom:26px;
  }

  .jm-product-title{
    margin-bottom:20px;
    padding-bottom:12px;
  }

  .jm-product-title span{
    font-size:11px;
  }

  .jm-product-title h2{
    font-size:20px;
    line-height:1.35;
  }

  .jm-product-title strong{
    width:76px;
    height:76px;
    font-size:19px;
  }

  .jm-product-grid,
  .jm-info-card,
  .jm-slope-bottom{
    grid-template-columns:1fr;
    gap:20px;
  }

  .jm-product-left h3,
  .jm-product-right h3,
  .jm-info-text h3,
  .jm-slope-bottom h3{
    font-size:15px;
    margin:16px 0 8px;
  }

  .jm-main-img{
    width:86%;
    margin:0 auto;
  }

  .jm-color-row{
    justify-content:center;
    gap:12px;
  }

  .jm-color{
    width:42px;
    height:42px;
    border-radius:10px;
  }

  .jm-color-row p,
  .jm-note,
  .jm-feature-list li,
  .jm-info-images p,
  .jm-step-grid p{
    font-size:11px;
  }

  .jm-spec-table{
    max-width:100%;
    table-layout:fixed;
  }

  .jm-spec-table th,
  .jm-spec-table td,
  .jm-option-box th,
  .jm-option-box td{
    padding:9px 8px;
    font-size:11px;
    line-height:1.55;
  }

  .jm-spec-table th,
  .jm-option-box th{
    width:72px;
  }

  .jm-feature-list{
    gap:9px;
  }

  .jm-feature-list li{
    grid-template-columns:1fr;
    gap:8px;
    padding:10px;
    line-height:1.6;
  }

  .jm-feature-list span{
    width:fit-content;
    min-height:32px;
    padding:7px 14px;
    font-size:10px;
    margin:0 auto;
  }

  .jm-price-box,
  .jm-option-box,
  .jm-buy-box{
    margin-top:16px;
    padding:16px 14px;
    border-radius:18px;
  }

  .jm-price{
    font-size:24px;
  }

  .jm-price small{
    display:block;
    margin-top:2px;
    font-size:11px;
  }

  .jm-badge{
    padding:7px 10px;
    font-size:10px;
    line-height:1.5;
  }

  .jm-mini-link{
    font-size:12px;
  }

  .jm-contact-btn{
    width:100%;
    min-width:0;
    min-height:44px;
    padding:0 18px;
    font-size:12px;
  }

  .jm-info-text h4{
    font-size:20px;
    line-height:1.45;
  }

  .jm-info-text p,
  .jm-info-text li{
    font-size:12px;
    line-height:1.75;
  }

  .jm-info-images{
    gap:12px;
  }

  .jm-info-images article{
    grid-template-columns:1fr;
    gap:10px;
    padding:11px;
    border-radius:16px;
  }

  .jm-info-images img{
    width:88%;
    height:145px;
    margin:0 auto;
    object-fit:cover;
  }

  .jm-info-images h3{
    font-size:14px;
    text-align:center;
  }

  .jm-info-images p{
    text-align:center;
  }

  .jm-slope-card h2,
  .jm-link-section h2{
    font-size:20px;
    line-height:1.45;
    margin-bottom:18px;
  }

  .jm-step-grid{
    grid-template-columns:repeat(2,1fr);
    gap:10px;
  }

  .jm-step-grid article{
    padding:9px;
    border-radius:14px;
  }

  .jm-step-grid img{
    border-radius:10px;
  }

  .jm-step-grid p{
    margin-top:8px;
    line-height:1.5;
  }

  .jm-slope-bottom{
    margin-top:22px;
    padding:15px;
    border-radius:18px;
  }

  .jm-slope-bottom img{
    width:88%;
    margin:0 auto;
  }

  .jm-calc{
    padding:12px;
    font-size:11px;
  }

  .jm-chip-row,
  .jm-category-row{
    gap:9px;
  }

  .jm-chip-row a,
  .jm-category-row a{
    padding:9px 13px;
    font-size:11px;
  }

  .ps_object1{
    width:38%;
  }

  .ps_object2{
    width:22%;
  }
}

@media (max-width:390px){
  .hero,
  .jm-hero,
  .jm-product-card,
  .jm-info-card,
  .jm-slope-card,
  .jm-link-section{
    width:min(330px,100%);
  }

  .jm-page{
    padding-left:12px;
    padding-right:12px;
  }

  .jm-type-card b{
    font-size:18px;
  }

  .jm-product-title h2,
  .jm-info-text h4,
  .jm-slope-card h2,
  .jm-link-section h2{
    font-size:19px;
  }

  .jm-main-img{
    width:90%;
  }

  .jm-info-images img{
    height:132px;
  }
}
/* =========================================================
   JOINMAT FIRST VIEW ONLY
   PC：左に文字、右に写真／タブレット・スマホ：縦並び
   ※ファーストビュー以外には影響しません
========================================================= */

.jm-page .jm-fv {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 58px;
  align-items: center;
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: 100px 18px 58px;
  text-align: left;
}

.jm-page .jm-fv-text {
  position: relative;
  min-width: 0;
}

.jm-page .jm-fv .kicker {
  justify-content: flex-start;
}

.jm-page .jm-fv h1 {
  margin: 0 0 24px;
}

.jm-page .jm-fv .lead {
  max-width: none;
  margin: 0;
}



.jm-page .jm-fv-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f7f4ec;
  border-radius: 22px;
}

@media (min-width: 641px) and (max-width: 1024px) {
  .jm-page .jm-fv {
    grid-template-columns: 1fr;
    gap: 36px;
    width: min(820px, 100%);
    padding: 100px 16px 46px;
    text-align: center;
  }

  .jm-page .jm-fv .kicker {
    justify-content: center;
  }

  .jm-page .jm-fv .lead {
    max-width: 680px;
    margin: 0 auto;
  }

  .jm-page .jm-fv-image {
    width: min(620px, 100%);
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .jm-page .jm-fv {
    grid-template-columns: 1fr;
    gap: 28px;
    width: min(360px, 100%);
    padding: 36px 8px 38px;
    text-align: center;
  }

  .jm-page .jm-fv .kicker {
    justify-content: center;
  }

  .jm-page .jm-fv h1 {
    margin-bottom: 16px;
  }

  .jm-page .jm-fv .lead {
    max-width: 320px;
    margin: 0 auto;
  }

  .jm-page .jm-fv-image {
    width: 100%;
    padding: 12px;
    border-radius: 22px;
  }

  .jm-page .jm-fv-image img {
    border-radius: 16px;
  }
}

/* Wooden/Urethane style FV */
.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-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-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;
}


/* =========================================================
   JOINMAT FV RESPONSIVE FIX
   ファーストビュー専用
========================================================= */

.jm-page > .pt-section{
  width:100%;
}

.jm-page > .pt-section .pt-image-box img{
  object-fit:contain;
}

@media(max-width:1024px){
  .jm-page > .pt-section{
    padding:90px 24px 70px;
  }

  .jm-page > .pt-section .pt-inner{
    grid-template-columns:1fr;
    gap:36px;
    width:min(820px,100%);
  }

  .jm-page > .pt-section .pt-content{
    text-align:center;
  }

  .jm-page > .pt-section .pt-title-row{
    justify-content:center;
  }

  .jm-page > .pt-section .pt-dash,
  .jm-page > .pt-section .pt-spec-table{
    margin-left:auto;
    margin-right:auto;
  }

  .jm-page > .pt-section .pt-btn{
    margin-left:auto;
    margin-right:auto;
  }

  .jm-page > .pt-section .pt-image-box{
    min-height:auto;
  }

  .jm-page > .pt-section .pt-image-box img{
    max-width:680px;
  }
}

@media(max-width:640px){
  .jm-page > .pt-section{
    padding:52px 16px 46px;
  }

  .jm-page > .pt-section .pt-inner{
    gap:26px;
  }

  .jm-page > .pt-section .pt-title-row h1{
    font-size:26px;
  }

  .jm-page > .pt-section .pt-title-row{
    gap:10px;
  }

  .jm-page > .pt-section .pt-icon{
    width:44px;
    height:30px;
  }

  .jm-page > .pt-section .pt-content h2{
    font-size:18px;
  }

  .jm-page > .pt-section .pt-lead{
    text-align:left;
    font-size:13px;
  }

  .jm-page > .pt-section .pt-spec-row,
  .jm-page > .pt-section .pt-spec-row-4{
    grid-template-columns:92px 1fr;
  }

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

  .jm-page > .pt-section .pt-btn{
    width:210px;
    height:54px;
    padding:0 26px;
    font-size:15px;
  }

  .jm-page > .pt-section .pt-image-box{
    padding:0;
  }

  .jm-page > .pt-section .pt-image-box img{
    border-radius:22px;
  }
}



/* =========================================================
   JOINMAT FIRST VIEW - IMAGE DISPLAY FIX
   PCとスマホの画像が同時表示されないように修正
   ※ファーストビュー以外には影響しません
========================================================= */

.jm-page .joinmat-cushion-fv .joinmat-fv-image-pc{
  display:flex !important;
  justify-content:flex-start !important;
}

.jm-page .joinmat-cushion-fv .joinmat-fv-image-sp{
  display:none !important;
}

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

.jm-page .joinmat-cushion-fv .pt-image-box img{
  display:block;
  width:100%;
  max-width:400px;
  height:auto;
  margin:0 auto;
  object-fit:contain;
  border-radius:24px;
}

@media(max-width:640px){
  .jm-page .joinmat-cushion-fv .joinmat-fv-image-pc{
    display:none !important;
  }

  .jm-page .joinmat-cushion-fv .joinmat-fv-image-sp{
    display:block !important;
    width:100%;
    margin:0 0 22px;
  }

  .jm-page .joinmat-cushion-fv .joinmat-fv-image-sp .pt-image-box{
    justify-content:center;
  }

  .jm-page .joinmat-cushion-fv .joinmat-fv-image-sp .pt-image-box img{
    width:100%;
    max-width:280px;
    margin:0 auto;
    border-radius:20px;
  }
}



/* =========================================================
   JOINMAT FIRST VIEW - URETHANE CUSHION SIZE MATCH
   ウレタンクッションと同じ寄せ・文字・画像サイズ
   ※「用途で選べる3タイプ」以降には影響しません
========================================================= */

.jm-page .joinmat-cushion-fv{
  position:relative !important;
  width:100% !important;
  min-height:auto !important;
  margin:0 !important;
  padding:110px 28px 70px !important;
  overflow:hidden !important;
}

.jm-page .joinmat-cushion-fv .pt-inner{
  position:relative !important;
  z-index:2 !important;
  width:min(1080px,100%) !important;
  max-width:1080px !important;
  margin:0 auto !important;
  display:grid !important;
  grid-template-columns:48% 52% !important;
  align-items:center !important;
  gap:34px !important;
}

.jm-page .joinmat-cushion-fv .pt-content{
  position:relative !important;
  z-index:2 !important;
  width:100% !important;
  max-width:460px !important;
  margin-left:auto !important;
}

.jm-page .joinmat-cushion-fv .pt-title-row{
  gap:12px !important;
  margin-bottom:16px !important;
}

.jm-page .joinmat-cushion-fv .pt-icon{
  width:42px !important;
  height:28px !important;
}

.jm-page .joinmat-cushion-fv .pt-title-row h1{
  font-size:25px !important;
}

.jm-page .joinmat-cushion-fv .pt-dash{
  width:100% !important;
  max-width:340px !important;
  margin-bottom:22px !important;
}

.jm-page .joinmat-cushion-fv .pt-content h2{
  margin-bottom:14px !important;
  font-size:17px !important;
}

.jm-page .joinmat-cushion-fv .pt-lead{
  margin-bottom:22px !important;
  font-size:13px !important;
  line-height:1.8 !important;
}

.jm-page .joinmat-cushion-fv .pt-spec-table{
  width:100% !important;
  max-width:460px !important;
  margin-bottom:22px !important;
}

.jm-page .joinmat-cushion-fv .pt-spec-row{
  grid-template-columns:90px 1fr !important;
}

.jm-page .joinmat-cushion-fv .pt-spec-row-4{
  grid-template-columns:90px 120px 90px 1fr !important;
}

.jm-page .joinmat-cushion-fv .pt-spec-head,
.jm-page .joinmat-cushion-fv .pt-spec-data{
  padding:9px 10px !important;
  font-size:13px !important;
}

.jm-page .joinmat-cushion-fv .pt-btn{
  width:210px !important;
  height:56px !important;
  padding:0 28px !important;
  font-size:14px !important;
}

.jm-page .joinmat-cushion-fv .joinmat-fv-image-pc{
  display:flex !important;
  justify-content:flex-start !important;
  width:100% !important;
}

.jm-page .joinmat-cushion-fv .joinmat-fv-image-sp{
  display:none !important;
}

.jm-page .joinmat-cushion-fv .pt-image-box{
  width:100% !important;
  min-height:auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  padding:0 !important;
  background:transparent !important;
}

.jm-page .joinmat-cushion-fv .pt-image-box img{
  display:block !important;
  width:100% !important;
  max-width:400px !important;
  height:auto !important;
  margin:0 !important;
  object-fit:contain !important;
  border-radius:24px !important;
}

/* スマホはウレタンクッションと同じ位置・サイズ */
@media(max-width:640px){
  .jm-page .joinmat-cushion-fv{
    padding:52px 16px 42px !important;
  }

  .jm-page .joinmat-cushion-fv .pt-inner{
    display:block !important;
    width:100% !important;
  }

  .jm-page .joinmat-cushion-fv .pt-content{
    display:block !important;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
  }

  .jm-page .joinmat-cushion-fv .pt-title-row{
    justify-content:center !important;
  }

  .jm-page .joinmat-cushion-fv .pt-title-row h1{
    font-size:24px !important;
  }

  .jm-page .joinmat-cushion-fv .pt-dash{
    margin-left:auto !important;
    margin-right:auto !important;
  }

  .jm-page .joinmat-cushion-fv .pt-content h2{
    text-align:center !important;
  }

  .jm-page .joinmat-cushion-fv .pt-lead{
    text-align:left !important;
  }

  .jm-page .joinmat-cushion-fv .joinmat-fv-image-pc{
    display:none !important;
  }

  .jm-page .joinmat-cushion-fv .joinmat-fv-image-sp{
    display:block !important;
    width:100% !important;
    margin:0 0 22px !important;
  }

  .jm-page .joinmat-cushion-fv .joinmat-fv-image-sp .pt-image-box{
    justify-content:center !important;
  }

  .jm-page .joinmat-cushion-fv .joinmat-fv-image-sp .pt-image-box img{
    width:100% !important;
    max-width:280px !important;
    margin:0 auto !important;
    border-radius:20px !important;
  }

  .jm-page .joinmat-cushion-fv .pt-spec-table{
    max-width:none !important;
  }

  .jm-page .joinmat-cushion-fv .pt-btn{
    margin:0 auto !important;
  }
}
