/*基本情報*/

body {
  font-family: "Avenir", "Helvetica Neue", "Helvetica", "Arial", "Hiragino Sans", "ヒラギノ角ゴシック", YuGothic, "Yu Gothic", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

#sukima {
  padding-bottom: 20px;
}

#midashi {
  padding-bottom: 20px;
}

.main-banner {
  img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

h1.pageTitle {
  padding: 1rem 2rem;
  border-bottom: 3px solid #2589d0;
  background: #efefef;
}

h2.midashi {
  position: relative;
  padding: 0.6em;
  background: -webkit-repeating-linear-gradient(-45deg, #ffffff, #ffffff 4px, #ffd1d1 3px, #ffd1d1 8px);
  background: repeating-linear-gradient(-45deg, #ffe9e9, #ffe9e9 4px, #ffd1d1 3px, #ffd1d1 8px);
  border-radius: 7px;
  font-size: 25px;
  font-family: "メイリオ", Meiryo, "ヒラギノ角ゴシック", "Hiragino Sans";
  font-weight: 600;
}

h2.midashi::after {
  position: absolute;
  content: "";
  top: 100%;
  left: 30px;
  border: 15px solid transparent;
  border-top: 15px solid #ffd1d1;
  width: 0;
  height: 0;
}

.wb {
  word-break: auto-phrase;
}

/*小見出し*/
h3.komidashi {
  position: relative;
  font-family: "メイリオ", Meiryo, "ヒラギノ角ゴシック", "Hiragino Sans";
  color: #ce0000;
}

h3.komidashi::after {
  position: absolute;
  top: 20px;
  left: 0;
  content: "";
  width: 100%;
  height: 3px;
  background-color: #ffd1d1;
  border-radius: 1.5px;
}

#komidashi {
  display: flex;
  flex-direction: column;
  row-gap: 25px;
  line-height: 1;
  margin: 28px 20px 20px 20px;
  text-align: justify;
}

#n-komidashi {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  line-height: 0.5;
  text-align: justify;
}

#n-komidashi p {
  line-height: 1.5;
}

.article {
  margin-bottom: 30px;
}
.article p {
  padding-top: 10px;
}

.scene {
  margin-top: 10px;
}

.h3-text {
  line-height: 1.5;
}

h3.n-h3 {
  color: #c8161d;
  border-bottom: 1px solid #c8161d;
  margin-bottom: 10px;
}

h4 {
  font-size: 20px;
  color: rgb(20, 137, 220);
}

#setumei {
  margin-bottom: 40px;
}

#setumei .reportsiyou {
  padding: 20px 0 10px 0;
}

a {
  text-decoration: none;
}

.mane-banner picture {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.mane-banner img {
  width: 80%;
  height: auto;
  object-fit: contain;
}

.anchor {
  display: block;
  padding-top: 20px;
  margin-top: -20px;
}

@media (width <= 650px) {
  .anchor {
    display: block;
    padding-top: 220px;
    margin-top: -220px;
  }
}

/*レイアウト*/

#Flame {
  display: flex;
  flex-direction: column;
}
#Bread {
  display: flex;
  width: 70%;
  margin: auto;
  margin-bottom: -10px;
  margin-top: 10px;
}
#mein-Contents {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 1em;
  margin: 0 auto;
  padding: 0;
  margin-top: 20px;
}

#sideMenu {
  float: left;
  width: 18%;
  padding-bottom: 20px;
}

#Main {
  float: right;
  width: 52%;
}

#footer {
  clear: both;
}

@media (650px < width < 1020px) {
  #Main {
    width: 80%;
  }

  #Bread {
    width: 80%;
  }
}

@media (width <= 650px) {
  #Main {
    width: 90%;
  }

  #Bread {
    width: 90%;
  }
}

@media (418px < width < 550px) {
  #setumei h2.midashi {
    font-size: 5vw;
  }

  h3.komidashi {
    font-size: 3.5vw;
  }
}

@media (width < 419px) {
  #setumei h2.midashi {
    font-size: 5vw;
  }

  h3.komidashi {
    font-size: 3.666vw;
  }
}

@media (380px < width < 550px) {
  h2.midashi {
    font-size: 3.333vw;
  }
}

@media (width < 380px) {
  h2.midashi {
    font-size: 5.5vw;
  }
}

/*みんなDE印刷を学ぼうに戻るボタン*/
.button-51 {
  display: flex;
  justify-content: center;
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0.9em 2em;
  border: none;
  border-bottom: 2px solid #e6edf3;
  background-color: #eeeeee;
  color: #333;
  font-weight: 600;
  font-size: 1em;
}

.button-51::after {
  position: absolute;
  bottom: -3px;
  left: 0;
  transform: scaleX(0);
  transform-origin: center left;
  width: 100%;
  height: 2px;
  background-color: #2589d0;
  content: "";
  transition: transform 0.3s ease;
}

.button-51:hover::after {
  transform: scaleX(1);
}

/*目次-list008*/
.list-008 {
  position: relative;
  padding: 1.5em 1em 1em 2.5em;
  border: 2px solid #2589d0;
}

.list-008 > div {
  position: absolute;
  top: -0.75em;
  left: 1em;
  padding: 0 0.5em;
  background-color: #fff;
  color: #2589d0;
  font-weight: 600;
}

.list-008 ul {
  list-style-type: disc;
  margin: 0;
  padding: 0;
}

.list-008 li {
  padding: 0.3em 0.3em 0.3em 0;
}

.list-008 li::marker {
  color: #2589d0;
  font-size: 1.1em;
}

.list-008 a {
  color: #2589d0;
}

.list-008 a:hover {
  color: rgb(255, 248, 145);
}

.list-1 {
  list-style-type: disc;
  padding: 1em 1em 1em 2.5em;
}

.list-1 li {
  padding: 0.3em 0.3em 0.3em 0;
  font-feature-settings: "palt";
}

.list-1 li::marker {
  color: #000000;
  font-size: 1.1em;
}

/*******基本情報ここまで*******/

/*関連商品*/
.connection-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5em;
}

.connection {
  background-color: #87b7ff;
  text-align: center;
  padding: 10px;
  border-radius: 15px;
  color: #fff;
}

.connection:hover {
  background-color: #ffdb87;
}

@media (1020px <= width < 1078px) {
  .connection {
    font-size: 1.3vw;
  }
}

@media (width < 700px) {
  .connection-list {
    display: flex;
    flex-direction: column;
  }
}

.heading-17 {
  display: flex;
  justify-content: start;
  align-items: center;
  position: relative;
  padding: 0.5em 0.7em;
  overflow: hidden;
  border: 2px solid #2589d0;
  border-radius: 5px;
  color: #333333;
  margin-bottom: 15px;
  font-size: 1.47rem;
}

.heading-17:before {
  position: absolute;
  top: -50%;
  left: -30px;
  z-index: -1;
  transform: rotate(22deg);
  width: 130px;
  height: 200%;
  background-color: #2589d0;
  content: "";
}

.heading-17 span {
  margin-right: 1.1em;
  color: #fff;
  font-size: 1.1em;
}

@media (600px < width < 1220px) {
  .heading-17 {
    font-size: 1.2em;
  }
  .heading-17:before {
    position: absolute;
    top: -50%;
    left: -50px;
    z-index: -1;
    transform: rotate(20deg);
    width: 130px;
    height: 200%;
    background-color: #2589d0;
    content: "";
  }
}
@media (width <= 600px) {
  .heading-17 {
    display: flex;
    flex-direction: column;
    padding: 0;
  }

  .heading-17 p {
    padding: 10px;
    font-size: 3.85vw;
  }
  .heading-17:before {
    display: none;
  }
  .heading-17 span {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    background-color: #2589d0;
    color: #fff;
    font-weight: 600;
    margin: 0;
    font-size: 3.5vw;
  }

  .ream-weight {
    flex-direction: column;
  }

  .ream-weight02 {
    flex-direction: column;
  }

  .ream-img {
    width: 50%;
    height: auto;
    object-fit: cover;
  }
}

/*メイン内容*/
.ream-weight {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;

  img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

.ream-weight02 {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;

  img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

.ream-weight-ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.ream-weight-ul h3 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  border-radius: 10px 10px 0px 0px;
  -webkit-border-radius: 10px 10px 0px 0px;
  -moz-border-radius: 10px 10px 0px 0px;
  color: #fff;
  background-color: #2589d0;
}

.ream-weight-ul li {
  grid-row: span 4;
  display: grid;
  gap: 0.2rem;
  grid-template-rows: subgrid;
  border: 1px solid #dadada;
  border-radius: 10px;
}

#indent {
  padding: 0 10px;
  margin: 10px;
}

.ream-weight-ul li .indent {
  text-align: justify;
  text-indent: -3em;
  padding-left: 3em;
}

.ream-weight-ul li .marker {
  text-align: justify;
  padding: 10px;
  margin: 10px 10px 0px 10px;
  background-color: #fff6c6;
  font-weight: 600;
}

.ream-weight-ul li a .btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #8fc31f;
  border-radius: 30px;
  margin: auto 10px 10px 10px;
  padding: 5px;
  color: #fff;
}

.ream-weight-ul li a .btn:hover {
  opacity: 0.7;
}

/*ポイント枠*/
.box-007 {
  margin: 20px auto;
  border: 2px solid #2589d0;
  border-radius: 5px;
  color: #333333;
}

.box-007 div {
  display: inline-flex;
  align-items: center;
  column-gap: 4px;
  position: relative;
  top: -13px;
  left: 10px;
  margin: 0 7px;
  padding: 0 8px;
  background: #fff;
  color: #2589d0;
  font-weight: 600;
  vertical-align: top;
}

.box-007 p {
  margin: 0;
  padding: 0 1.5em 1em;
}

/*相関表*/
.table_ream-weight {
  border-spacing: 0;
  border-collapse: separate;
  width: 100%;
}
.table_ream-weight th,
.table_ream-weight td {
  border-top: 1px solid #76b0bf;
  border-left: 1px solid #76b0bf;
  text-align: center;
  vertical-align: middle;
}
.table_ream-weight th {
  width: 25%;
  padding: 5px 11px;
  background: #89c6cf;
  color: #ffffff;
  font-weight: bold;
}

.table_ream-weight .th_purpose {
  width: 50%;
}
.table_ream-weight td {
  padding: 8px 10px;
  background: #fcfcfc;
  color: #000000;
}
.table_ream-weight tr:nth-child(even) td {
  background: #eeeeee;
}
.table_ream-weight th:last-child,
.table_ream-weight td:last-child {
  border-right: 1px solid #76b0bf;
}
.table_ream-weight tr:last-child th,
.table_ream-weight tr:last-child td {
  border-bottom: 1px solid #76b0bf;
}
.table_ream-weight tr:first-child :first-child {
  border-top-left-radius: 5px;
}
.table_ream-weight tr:first-child :last-child {
  border-top-right-radius: 5px;
}
.table_ream-weight tr:last-child :first-child {
  border-bottom-left-radius: 5px;
}
.table_ream-weight tr:last-child :last-child {
  border-bottom-right-radius: 5px;
}
.table_ream-weight tr:not(:first-child) th,
.table_ream-weight tr:not(:first-child) td {
  border-top: none;
}

/*紙の説明*/
.box-017 {
  max-width: 100%;
  margin: 20px auto;
  padding: 0.5em 1.5em 1em;
  border-top: 5px solid #2589d0;
  border-radius: 3px;
  background-color: #f2f2f2;
}

.box-017 > div {
  margin-bottom: 0.5em;
  color: #2589d0;
  font-weight: 600;
  font-size: 1.2em;
}

.box-017 > p {
  margin: 0;
  color: #333;
}

/*関連商品*/
.connection-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
}

.connection {
  background-color: #8fc31f;
  text-align: center;
  padding: 10px;
  border-radius: 15px;
  color: #fff;
}

.connection:hover {
  background-color: #8fc31f;
  opacity: 0.7;
}

@media (1020px <= width < 1078px) {
  .connection {
    font-size: 1.3vw;
  }
}

@media (width < 700px) {
  .ream-weight-ul {
    grid-template-columns: 1fr;
  }

  .connection-list {
    display: flex;
    flex-direction: column;
  }
}

/*商品詳細*/
.description {
  .explanation-001 {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 50px;
  }
  h4 {
    font-size: 20px;
    margin: 0px 0 15px 0;
    color: #333;
  }

  .product_002 {
    display: block;

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

      span {
        color: #c8161d;
        font-size: 40px;
      }

      .yen {
        font-size: 20px;
        color: #c8161d;
      }
    }

    .sheet {
      font-size: 15px;
      color: #333;
      background-color: #f5f5f5;
      padding: 5px 15px;
    }

    .selectbtn {
      display: flex;
      flex-direction: column;
      margin: 30px 0;

      div {
        display: flex;
        align-items: center;
      }
      p {
        font-size: 15px;
      }

      .notes {
        font-size: 13px;
        font-weight: 600;
        color: #c8161d;
        margin-top: 15px;
      }
    }
  }
}

input[name="es_item_qty"] {
  border: 1px solid #c0c0c0;
  border-radius: 30px;
  padding: 10px 15px;
  margin-left: 20px;
  width: 180px;
}

.buy-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  margin-top: 30px;
  margin-bottom: 30px;
  width: 100%;
  background-color: #333;
  font-weight: 700;
  color: #fff;
}

.buy-btn::after {
  transform: rotate(45deg);
  width: 5px;
  height: 5px;
  margin-left: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  content: "";
}

.buy-btn:hover {
  opacity: 0.7;
}

/*商品紹介テーブル*/
.table_001 {
  border-spacing: 0;
  border-collapse: separate;
  width: 100%;
  height: 30%;
}
.table_001 td {
  background: #e6e6e6;
  color: #333333;
  border-top: 1px solid #e0e0e0;
  border-left: 1px solid #e0e0e0;
  font-weight: 700;
}

.td_01 {
  padding: 10px;
  text-align-last: justify;
  width: 130px;
  border-right: 1px solid #e0e0e0;
}

.td_02 {
  padding-left: 10px;
  width: 472px;
}

.table_001 tr:nth-child(even) td {
  background: #ffffff;
}
.table_001 td:last-child {
  border-right: 1px solid #e0e0e0;
}
.table_001 tr:last-child td {
  border-bottom: 1px solid #e0e0e0;
}
.table_001 tr:first-child :first-child {
  border-top-left-radius: 15px;
}
.table_001 tr:first-child :last-child {
  border-top-right-radius: 15px;
}
.table_001 tr:last-child :first-child {
  border-bottom-left-radius: 15px;
}
.table_001 tr:last-child :last-child {
  border-bottom-right-radius: 15px;
}
.table_001 td:not(:first-child) {
  border-left: none;
}
.table_001 tr:not(:first-child) td {
  border-top: none;
}

.product_001 img {
  max-width: 100%;
}
.center {
  margin: auto;
  width: 400px;
  height: auto;
  object-fit: cover;
}
.center ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}
.center li {
  flex: 1 1 auto;
  margin-right: 8px;
}
li:last-of-type {
  margin-right: 0;
}

.delivery {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  margin-top: 50px;
  h2 {
    font-size: 20px;
    padding: 10px;
    color: #fff;
    background-color: #d2b48c;
  }

  .delivery-001 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  img {
    width: 40%;
    height: auto;
    object-fit: contain;
  }
}

/*1500px以下*/
@media (1200px < width < 1500px) {
  .center {
    width: 300px;
  }
}

@media (400px < width <= 1200px) {
  .explanation-001 {
    flex-direction: column;
    align-items: center;

    .center {
      width: 80%;
    }
  }
}

@media (width <= 400px) {
  .explanation-001 {
    flex-direction: column;
    align-items: center;

    .center {
      width: 100%;
    }
  }
}

.Product-description {
  margin: 50px 0;

  h4 {
    color: #4d4d4d;
    border-bottom: 2px solid #bababa;
    padding: 5px 10px;
    margin: 10px 0 20px 0;
    font-size: 25px;
    background-color: #f8f8f8;
    font-family: "M PLUS 1 Code", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
  }
}

.sample-sesal_delivery {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  i {
    font-size: 40px;
  }
}

.sample-sesal_delivery001 {
  display: flex;
  align-items: center;
  background-color: #f9f9f9;
  width: 100%;

  img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin: 15px;
  }

  p {
    text-align: justify;
    margin: 0 10px 10px 10px;
  }
}

.box-005 {
  margin: 10px auto;
  border: 2px solid #f06060;
  border-radius: 5px;
  color: #f06060;
  padding: 10px;
}

/* ========================================================================== 
   /entry/156/ 予備シール 専用調整
   元ページの #Flame / #mein-Contents / #sideMenu / #Main の指定を維持し、
   以下は .yobi-seal-page 内だけに適用する。
   ========================================================================== */
.yobi-seal-page {
  --ys-red: #a36a00;
  --ys-red-dark: #714900;
  --ys-navy: #26384a;
  --ys-text: #405360;
  --ys-muted: #6d7d87;
  --ys-border: #dce4e8;
  --ys-pale: #fff9e8;
  --ys-warm: #fffdf4;
  --ys-blue-pale: #eef7fb;
  --ys-shadow: 0 10px 28px rgba(38, 56, 74, 0.08);
}

.yobi-seal-page #Main,
.yobi-seal-page #Main * {
  box-sizing: border-box;
}

.yobi-seal-page #Main {
  min-width: 0;
}

.yobi-seal-page .yobi-seal-title {
  margin-bottom: 20px !important;
  line-height: 1.5;
}

.yobi-seal-page .yobi-seal-content {
  min-width: 0;
  color: var(--ys-text);
}

.yobi-seal-page .yobi-seal-content img {
  max-width: 100%;
  height: auto;
}

.yobi-seal-page .yobi-seal-content a {
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.yobi-seal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(250px, 0.85fr);
  gap: 28px;
  align-items: center;
  padding: 32px;
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid #ead9a8;
  border-radius: 18px;
  background: linear-gradient(135deg, #fffdfb 0%, #fff7d8 100%);
}

.yobi-seal-hero__body,
.yobi-seal-hero__image {
  min-width: 0;
}

.yobi-seal-eyebrow,
.yobi-seal-heading__en {
  margin: 0 0 7px;
  color: var(--ys-red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.yobi-seal-hero h2 {
  margin: 0 0 15px;
  color: var(--ys-navy);
  font-size: 28px;
  line-height: 1.5;
}

.yobi-seal-hero__body > p:not(.yobi-seal-eyebrow) {
  margin: 0;
  color: var(--ys-text);
  font-size: 15px;
  line-height: 1.9;
}

.yobi-seal-hero__image {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--ys-shadow);
}

.yobi-seal-hero__image img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.yobi-seal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.yobi-seal-badges li {
  padding: 7px 12px;
  border: 1px solid #e5cf8c;
  border-radius: 999px;
  background: #fff;
  color: var(--ys-navy);
  font-size: 12px;
  font-weight: 700;
}

.yobi-seal-local-nav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
  margin: 0 0 38px;
}

.yobi-seal-local-nav a {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid var(--ys-border);
  border-radius: 8px;
  background: #fff;
  color: var(--ys-navy) !important;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
}

.yobi-seal-local-nav a:hover {
  border-color: #efbdb8;
  background: var(--ys-pale);
  color: var(--ys-navy) !important;
}

.yobi-seal-section {
  margin: 0 0 58px;
  scroll-margin-top: 20px;
}

.yobi-seal-heading {
  padding-bottom: 13px;
  margin-bottom: 22px;
  border-bottom: 2px solid var(--ys-border);
}

.yobi-seal-heading h2 {
  margin: 0 0 5px;
  color: var(--ys-navy);
  font-size: 25px;
  line-height: 1.45;
}

.yobi-seal-heading > p:last-child {
  margin: 0;
  color: var(--ys-muted);
  line-height: 1.8;
}

.yobi-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: start;
}

.yobi-gallery,
.yobi-purchase-card {
  min-width: 0;
}

.yobi-gallery__main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--ys-border);
  border-radius: 14px;
  background: #fff;
}

.yobi-gallery__main img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.yobi-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 10px 0 0;
  list-style: none;
}

.yobi-gallery__thumbs li,
.yobi-gallery__thumbs li:last-of-type {
  min-width: 0;
  margin: 0;
}

.yobi-gallery__thumbs button {
  display: block;
  width: 100%;
  padding: 4px;
  overflow: hidden;
  border: 1px solid var(--ys-border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.yobi-gallery__thumbs button:hover,
.yobi-gallery__thumbs button:focus-visible {
  border-color: var(--ys-red);
  outline: none;
}

.yobi-gallery__thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.yobi-purchase-card {
  padding: 26px;
  border: 1px solid var(--ys-border);
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--ys-shadow);
}

.yobi-purchase-card__label {
  margin: 0 0 7px;
  color: var(--ys-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.yobi-purchase-card h3 {
  margin: 0 0 7px;
  color: var(--ys-navy);
  font-size: 27px;
  line-height: 1.4;
}

.yobi-purchase-card__lead {
  margin: 0 0 17px;
  color: var(--ys-text);
  line-height: 1.75;
}

.yobi-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
  padding: 15px 0 9px;
  border-top: 1px solid var(--ys-border);
}

.yobi-price__unit {
  margin-right: 5px;
  color: var(--ys-navy);
  font-weight: 700;
}

.yobi-price strong {
  color: var(--ys-red);
  font-size: 42px;
  line-height: 1;
}

.yobi-price__yen {
  color: var(--ys-red);
  font-size: 20px;
  font-weight: 700;
}

.yobi-price__tax {
  color: var(--ys-muted);
  font-size: 12px;
}

.yobi-pack-info {
  padding: 8px 12px;
  margin: 0 0 18px;
  border-radius: 7px;
  background: #f3f5f6;
  color: var(--ys-navy);
  font-size: 13px;
  font-weight: 700;
}

.yobi-cart-form {
  padding: 18px;
  margin: 0 0 22px;
  border: 1px solid #efd1cc;
  border-radius: 11px;
  background: var(--ys-pale);
}

.yobi-quantity-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.yobi-quantity-row label {
  flex: 0 0 auto;
  color: var(--ys-navy);
  font-weight: 700;
}

.yobi-seal-page .yobi-quantity-row input[name="es_item_qty"] {
  width: 120px;
  min-width: 0;
  padding: 10px 13px;
  margin: 0;
  border: 1px solid #b9c4ca;
  border-radius: 7px;
  background: #fff;
  font-size: 16px;
}

.yobi-cart-note {
  margin: 11px 0 0;
  color: var(--ys-red-dark);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.65;
}

.yobi-cart-note i {
  margin-right: 6px;
}

.yobi-seal-page .buy-btn {
  display: flex;
  width: 100%;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  margin: 16px 0 0;
  border: 1px solid var(--ys-red);
  border-radius: 8px;
  background: var(--ys-red);
  color: #fff !important;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.yobi-seal-page .buy-btn:hover,
.yobi-seal-page .buy-btn:focus-visible {
  border-color: var(--ys-red-dark);
  background: var(--ys-red-dark);
  color: #fff !important;
  opacity: 1;
  outline: none;
}

.yobi-seal-page .buy-btn::after {
  display: none;
}

.yobi-spec-table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.yobi-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.yobi-spec-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.yobi-spec-table th,
.yobi-spec-table td {
  padding: 10px 12px;
  border: 1px solid var(--ys-border);
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}

.yobi-spec-table th {
  width: 31%;
  background: #f4f6f7;
  color: var(--ys-navy);
}

.yobi-feature-grid,
.yobi-use-grid {
  display: grid;
  gap: 15px;
}

.yobi-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.yobi-feature-grid article,
.yobi-use-grid article {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--ys-border);
  border-radius: 13px;
  background: #fff;
}

.yobi-feature-grid article > span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--ys-red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.yobi-feature-grid h3,
.yobi-use-grid h3,
.yobi-check-list h3,
.yobi-delivery-steps h3,
.yobi-shipping-info h3 {
  margin: 0 0 7px;
  color: var(--ys-navy);
  font-size: 17px;
  line-height: 1.5;
}

.yobi-feature-grid p,
.yobi-use-grid p,
.yobi-check-list p,
.yobi-delivery-steps p,
.yobi-shipping-info p {
  margin: 0;
  color: var(--ys-text);
  line-height: 1.8;
}

.yobi-use-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.yobi-use-grid article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 15px;
}

.yobi-use-grid article > i {
  grid-row: 1 / span 2;
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--ys-pale);
  color: var(--ys-red);
  font-size: 20px;
}

.yobi-spec-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: 22px;
  align-items: start;
}

.yobi-size-figure {
  padding: 18px;
  margin: 0;
  border: 1px solid var(--ys-border);
  border-radius: 13px;
  background: var(--ys-warm);
  text-align: center;
}

.yobi-size-figure img {
  display: block;
  width: 100%;
  max-height: 350px;
  object-fit: contain;
}

.yobi-size-figure figcaption {
  margin-top: 10px;
  color: var(--ys-muted);
  font-size: 13px;
  line-height: 1.6;
}

.yobi-check-list {
  display: grid;
  gap: 11px;
}

.yobi-check-list article {
  padding: 18px;
  border: 1px solid var(--ys-border);
  border-radius: 11px;
  background: #fff;
}

.yobi-check-list h3 {
  display: flex;
  align-items: center;
  gap: 9px;
}

.yobi-check-list h3 span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ys-navy);
  color: #fff;
  font-size: 11px;
}

.yobi-check-list a,
.yobi-faq a {
  color: var(--ys-red-dark) !important;
  text-decoration: underline !important;
}

.yobi-caution-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 15px;
  align-items: start;
  padding: 20px 22px;
  margin-top: 18px;
  border: 1px solid #e7cf94;
  border-radius: 12px;
  background: #fff9e8;
}

.yobi-caution-box > i {
  margin-top: 3px;
  color: #ac7100;
  font-size: 23px;
}

.yobi-caution-box h3 {
  margin: 0 0 5px;
  color: var(--ys-navy);
  font-size: 16px;
  line-height: 1.5;
}

.yobi-caution-box p {
  margin: 0;
  line-height: 1.8;
}

.yobi-delivery-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
  align-items: start;
}

.yobi-delivery-image {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--ys-border);
  border-radius: 13px;
  background: #f7f7f7;
}

.yobi-delivery-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.yobi-delivery-steps {
  display: grid;
  gap: 11px;
}

.yobi-delivery-steps article {
  position: relative;
  padding: 18px 18px 18px 82px;
  border: 1px solid var(--ys-border);
  border-radius: 11px;
  background: #fff;
}

.yobi-delivery-steps article > span {
  position: absolute;
  top: 18px;
  left: 17px;
  display: inline-flex;
  min-width: 49px;
  min-height: 31px;
  align-items: center;
  justify-content: center;
  padding: 4px 7px;
  border-radius: 6px;
  background: var(--ys-red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.yobi-shipping-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.yobi-shipping-info article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  min-width: 0;
  padding: 17px;
  border: 1px solid #cfe0e8;
  border-radius: 11px;
  background: var(--ys-blue-pale);
}

.yobi-shipping-info article > i {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #fff;
  color: #2d789b;
  font-size: 18px;
}

.yobi-shipping-info h3 {
  margin-bottom: 2px;
  font-size: 14px;
}

.yobi-shipping-info p {
  font-size: 13px;
}

.yobi-delivery-note {
  padding: 12px 15px;
  margin: 12px 0 0;
  border-radius: 8px;
  background: #f6f7f8;
  color: var(--ys-muted);
  font-size: 12px;
  line-height: 1.7;
}

.yobi-faq details {
  border-bottom: 1px solid var(--ys-border);
  background: #fff;
}

.yobi-faq details:first-of-type {
  border-top: 1px solid var(--ys-border);
}

.yobi-faq summary {
  position: relative;
  padding: 18px 48px 18px 20px;
  color: var(--ys-navy);
  font-weight: 700;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

.yobi-faq summary::-webkit-details-marker {
  display: none;
}

.yobi-faq summary::after {
  content: "＋";
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  color: var(--ys-red);
  font-size: 21px;
}

.yobi-faq details[open] summary::after {
  content: "−";
}

.yobi-faq details p {
  padding: 0 20px 20px;
  margin: 0;
  color: var(--ys-text);
  line-height: 1.85;
}

.yobi-related {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: center;
  padding: 28px;
  margin: 0 0 48px;
  border-radius: 15px;
  background: var(--ys-navy);
  color: #fff;
}

.yobi-related h2 {
  margin: 0 0 9px;
  color: #fff;
  font-size: 24px;
  line-height: 1.5;
}

.yobi-related__intro > p:last-child {
  margin: 0;
  color: #dbe3e8;
  line-height: 1.8;
}

.yobi-related .yobi-seal-heading__en {
  color: #ffb6b9;
}

.yobi-related__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.yobi-related__grid a {
  display: flex;
  min-width: 0;
  min-height: 51px;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 8px;
  background: #fff;
  color: var(--ys-navy) !important;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none !important;
}

.yobi-related__grid a:hover,
.yobi-related__grid a:focus-visible {
  background: #fff0f0;
  color: var(--ys-navy) !important;
  outline: none;
}

.yobi-related__grid i {
  flex: 0 0 auto;
  color: var(--ys-red);
}

@media (max-width: 1180px) {
  .yobi-seal-hero {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.75fr);
  }

  .yobi-product-layout {
    grid-template-columns: 1fr;
  }

  .yobi-gallery {
    max-width: 640px;
    margin: 0 auto;
  }

  .yobi-seal-local-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .yobi-seal-hero {
    grid-template-columns: 1fr;
    padding: 25px 20px;
  }

  .yobi-seal-hero__image {
    max-width: 420px;
    margin: 0 auto;
  }

  .yobi-seal-hero h2 {
    font-size: 23px;
  }

  .yobi-seal-heading h2 {
    font-size: 22px;
  }

  .yobi-feature-grid,
  .yobi-use-grid,
  .yobi-spec-layout,
  .yobi-delivery-layout,
  .yobi-shipping-info,
  .yobi-related {
    grid-template-columns: 1fr;
  }

  .yobi-related__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .yobi-seal-local-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yobi-purchase-card {
    padding: 20px 17px;
  }

  .yobi-price strong {
    font-size: 36px;
  }

  .yobi-gallery__thumbs {
    gap: 5px;
  }

  .yobi-use-grid article {
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 12px;
    padding: 18px;
  }

  .yobi-use-grid article > i {
    width: 42px;
    height: 42px;
  }

  .yobi-delivery-steps article {
    padding: 60px 17px 17px;
  }

  .yobi-related {
    padding: 22px 18px;
  }
}

@media (max-width: 380px) {
  .yobi-seal-local-nav {
    grid-template-columns: 1fr;
  }

  .yobi-quantity-row {
    align-items: stretch;
    flex-direction: column;
    gap: 7px;
  }

  .yobi-seal-page .yobi-quantity-row input[name="es_item_qty"] {
    width: 100%;
  }
}


/* /entry/156/ 追加調整 */
.yobi-size-figure--photo img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.yobi-seal-page .buy-btn,
.yobi-seal-page .buy-btn:hover,
.yobi-seal-page .buy-btn:focus,
.yobi-seal-page .buy-btn:active {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}
