/*
Theme Name: Yasui Randoseru Fixed
Template: cocoon-master
Version: 4.32.24
Description: 安いランドセル一覧・商品詳細・通常記事・サイト情報ページ統合デザイン（共通テンプレート版）
*/

:root {
  --ysr-sky: #aee1ec;
  --ysr-sky-line: #8fd6e4;
  --ysr-yellow: #ffed4a;
  --ysr-blue: #315ca8;
  --ysr-blue-dark: #234b91;
  --ysr-pink: #ed2857;
  --ysr-text: #203047;
  --ysr-white: #fff;
  --ysr-border: #d5dde6;
  --ysr-heading-size: 22px;
  --ysr-bookmark-lift: 28px;
}

body.ysr-page {
  background: var(--ysr-sky) !important;
  color: var(--ysr-text);
}

/* Cocoon側の白背景を透明にして、外側の水色をしっかり見せる */
body.ysr-page #container,
body.ysr-page #content,
body.ysr-page .content-in,
body.ysr-page #main,
body.ysr-page main.main,
body.ysr-page .main {
  background: transparent !important;
}

body.ysr-page #content,
body.ysr-page .content-in,
body.ysr-page #main,
body.ysr-page main.main {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.ysr-page #sidebar,
body.ysr-page .sidebar,
body.ysr-page .breadcrumb,
body.ysr-page .entry-title,
body.ysr-page .date-tags,
body.ysr-page .sns-share,
body.ysr-page .sns-follow,
body.ysr-page .author-box,
body.ysr-page .under-entry-content {
  display: none !important;
}

.ysr-site,
.ysr-site * {
  box-sizing: border-box;
}

.ysr-site {
  width: calc(100% - 120px);
  max-width: 1400px;
  margin: 34px auto;
  padding: var(--ysr-bookmark-lift) 52px 34px;
  background: #fff;
  border-radius: 12px;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

.ysr-title-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 30px;
}

.ysr-bookmark {
  position: relative;
  flex: 0 0 76px;
  width: 76px;
  height: 109px;
  margin-top: calc(-1 * var(--ysr-bookmark-lift));
  background: linear-gradient(135deg, #2d559d, #4269b1);
  border-radius: 0 0 3px 3px;
}

.ysr-bookmark::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 0;
  border-left: 38px solid transparent;
  border-right: 38px solid transparent;
  border-bottom: 24px solid #fff;
}

.ysr-title-wrap {
  flex: 1;
  max-width: 920px;
}

.ysr-page-title {
  margin: 0 !important;
  color: var(--ysr-blue-dark);
  font-size: var(--ysr-heading-size) !important;
  line-height: 1.25 !important;
  font-weight: 800;
  letter-spacing: .02em;
}

.ysr-title-line {
  width: 100%;
  height: 14px;
  background: var(--ysr-yellow);
}

.ysr-home-description {
  max-width: 980px;
  margin: -8px 0 24px;
  color: #42536b;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 600;
}

.ysr-filter-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 16px;
  align-items: end;
  margin: 0 0 26px;
}

.ysr-filter-item label {
  display: block;
  margin: 0 0 8px;
  color: var(--ysr-blue-dark);
  font-size: 16px;
  font-weight: 800;
}

.ysr-filter-item select,
.ysr-reset-button {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  color: #1f304a;
  background: #fff;
  border: 1px solid #cbd3dc;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: none;
}

.ysr-reset-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  color: var(--ysr-blue);
  text-decoration: none !important;
}

.ysr-reset-button::before {
  content: "↻";
  font-size: 24px;
  line-height: 1;
}

.ysr-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  align-items: start;
}

/* トップページはサイドバーなしで商品一覧を横幅いっぱいに使う */
.ysr-layout-home {
  grid-template-columns: minmax(0, 1fr);
}

.ysr-home-site .ysr-products {
  width: 100%;
}

.ysr-result-count {
  margin: 0 0 18px;
  text-align: right;
  font-size: 17px;
}

.ysr-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 20px;
}

.ysr-card {
  display: flex;
  flex-direction: column;
  min-height: 304px;
  padding: 4px 18px 14px;
  background: #fff;
  border: 3px solid var(--ysr-sky-line);
  border-radius: 24px;
  overflow: hidden;
}

.ysr-card-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 158px;
  margin: 0 0 4px;
  overflow: hidden;
}

.ysr-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.ysr-card-maker {
  display: block;
  width: 75%;
  margin: 0 auto 8px;
  padding: 1px 10px 2px;
  color: #182a42;
  background: var(--ysr-yellow);
  border-radius: 999px;
  text-align: center;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
}

.ysr-card-title {
  min-height: 46px;
  margin: 0 0 4px !important;
  color: var(--ysr-blue-dark);
  font-size: 19px;
  line-height: 1.35;
  text-align: center;
  font-weight: 800;
}

.ysr-card-title a {
  color: inherit;
  text-decoration: none;
}

.ysr-price {
  margin: auto 0 9px;
  color: var(--ysr-pink);
  text-align: center;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 800;
}

.ysr-price small {
  font-size: 12px;
  font-weight: 700;
}

.ysr-detail-button,
.ysr-buy-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 38px 6px 18px;
  color: #fff !important;
  background: linear-gradient(90deg, #315da8, #3f67b2);
  border-radius: 999px;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 800;
}

.ysr-detail-button::after {
  content: "›";
  position: absolute;
  right: 8px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  color: var(--ysr-blue);
  background: #fff;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
}

.ysr-sidebar {
  padding-top: 0;
}

.ysr-side-box {
  margin-bottom: 16px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #a9e0ec;
  border-radius: 18px;
}

.ysr-side-title {
  margin: 0 0 14px !important;
  padding: 0 0 8px;
  color: var(--ysr-blue-dark);
  border-bottom: 5px solid var(--ysr-yellow);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
}

.ysr-search-form {
  display: flex;
}

.ysr-search-form input[type="search"] {
  width: calc(100% - 40px);
  height: 38px;
  padding: 0 10px;
  border: 1px solid #ccd2d8;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
}

.ysr-search-form button {
  width: 40px;
  height: 38px;
  padding: 0;
  color: #fff;
  background: var(--ysr-blue);
  border: 0;
  border-radius: 0 4px 4px 0;
  font-size: 20px;
}

.ysr-category-list,
.ysr-popular-list {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.ysr-category-list li {
  margin: 0 0 8px;
}

.ysr-category-list a {
  position: relative;
  display: block;
  padding-left: 18px;
  color: var(--ysr-blue-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.ysr-category-list a::before {
  content: "›";
  position: absolute;
  left: 0;
  top: -3px;
  font-size: 24px;
  font-weight: 400;
}

.ysr-popular-list li {
  margin: 0 0 10px;
}

.ysr-popular-list a {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  color: var(--ysr-blue-dark);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
}

.ysr-popular-list img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 8px;
}

.ysr-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin: 14px 0 0;
}

.ysr-pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 9px;
  color: var(--ysr-blue-dark);
  background: #fff;
  border: 1px solid #7fa4db;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 800;
}

.ysr-pagination .current {
  color: #fff;
  background: var(--ysr-blue);
}

.ysr-empty {
  padding: 40px;
  border: 2px solid var(--ysr-sky-line);
  border-radius: 24px;
  text-align: center;
}

/* 商品詳細 */
.ysr-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
}

.ysr-product-panel {
  padding: 28px;
  border: 3px solid var(--ysr-sky-line);
  border-radius: 30px;
}

.ysr-product-title {
  margin: 0 0 20px !important;
  color: var(--ysr-blue-dark);
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.35;
  font-weight: 800;
}

.ysr-product-top {
  display: grid;
  grid-template-columns: minmax(280px, 44%) 1fr;
  gap: 30px;
  align-items: start;
}

.ysr-product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 18px;
  border: 1px solid #d9edf2;
  border-radius: 24px;
}

.ysr-product-image img,
.ysr-product-image > a img {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  max-height: 430px;
  object-fit: contain;
}

.ysr-product-maker {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 22px;
  background: var(--ysr-yellow);
  border-radius: 999px;
  font-weight: 800;
}

.ysr-product-price {
  margin: 0 0 18px;
  color: var(--ysr-pink);
  font-size: 34px;
  font-weight: 800;
}

.ysr-spec-table {
  width: 100%;
  margin: 0 0 22px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--ysr-sky-line);
  border-radius: 16px;
}

.ysr-spec-table th,
.ysr-spec-table td {
  padding: 13px 15px;
  border: 0;
  border-bottom: 1px solid #dceef2;
  vertical-align: middle;
  text-align: left;
}

.ysr-spec-table tr:last-child th,
.ysr-spec-table tr:last-child td {
  border-bottom: 0;
}

.ysr-spec-table th {
  width: 34%;
  color: var(--ysr-blue-dark);
  background: #eefbfe;
  font-weight: 800;
}

.ysr-spec-table td {
  background: #fff;
}

.ysr-buy-button {
  min-height: 54px;
  font-size: 19px;
}

.ysr-product-content {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 10px solid var(--ysr-yellow);
  line-height: 1.9;
}

@media (max-width: 1100px) {
  .ysr-site { width: calc(100% - 28px); padding: 24px; }
  .ysr-filter-form { grid-template-columns: repeat(3, 1fr); }
  .ysr-layout, .ysr-single-layout { grid-template-columns: 1fr; }
  .ysr-card-grid { grid-template-columns: repeat(3, 1fr); }
  .ysr-sidebar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .ysr-side-box { margin: 0; }
}

@media (max-width: 760px) {
  :root {
    --ysr-heading-size: 19px;
    --ysr-bookmark-lift: 18px;
  }

  .ysr-site { width: calc(100% - 16px); margin: 8px auto; padding: var(--ysr-bookmark-lift) 14px 24px; border-radius: 10px; }
  .ysr-title-row { gap: 14px; margin-bottom: 22px; }
  .ysr-bookmark { flex-basis: 52px; width: 52px; height: 79px; }
  .ysr-bookmark::after { border-left-width: 26px; border-right-width: 26px; border-bottom-width: 17px; }
  .ysr-title-line { height: 9px; }
  .ysr-filter-form { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ysr-filter-item:last-of-type, .ysr-reset-button { grid-column: 1 / -1; }
  .ysr-card-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ysr-card { padding: 12px; border-radius: 22px; }
  .ysr-card-image { height: 125px; }
  .ysr-card-title { font-size: 16px; }
  .ysr-price { font-size: 20px; }
  .ysr-sidebar { grid-template-columns: 1fr; }
  .ysr-product-panel { padding: 18px; border-radius: 24px; }
  .ysr-product-top { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .ysr-filter-form, .ysr-card-grid { grid-template-columns: 1fr; }
  .ysr-filter-item:last-of-type, .ysr-reset-button { grid-column: auto; }
  .ysr-card-image { height: 180px; }
}

/* =========================================================
   Refactored shared components (v4.1.0)
   ========================================================= */
:root {
  --ysr-layout-width: 1400px;
  --ysr-layout-side: 120px;
  --ysr-section-gap: 24px;
  --ysr-panel-radius: 22px;
  --ysr-bar-radius: 12px;
  --ysr-bar-height: 24px;
}

/* Cocoon header/footer reset and common bar */
body.ysr-page #header-container,
body.ysr-page .header-container,
body.ysr-page #footer-container,
body.ysr-page .footer-container,
body.ysr-page .footer-container-in-wrap {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.ysr-page #header,
body.ysr-page header.header,
body.ysr-page .header,
body.ysr-page #footer,
body.ysr-page footer.footer,
body.ysr-page .footer {
  display: flex !important;
  align-items: center !important;
  width: calc(100% - var(--ysr-layout-side)) !important;
  max-width: var(--ysr-layout-width) !important;
  min-height: var(--ysr-bar-height) !important;
  height: var(--ysr-bar-height) !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  border: 0 !important;
  border-radius: var(--ysr-bar-radius) !important;
  background: var(--ysr-white) !important;
  color: var(--ysr-blue) !important;
  box-shadow: none !important;
}
body.ysr-page #header,
body.ysr-page header.header,
body.ysr-page .header { margin-top: 8px !important; }
body.ysr-page #footer,
body.ysr-page footer.footer,
body.ysr-page .footer { margin-bottom: 8px !important; }
body.ysr-page .header-container-in,
body.ysr-page .logo-header,
body.ysr-page .logo,
body.ysr-page .logo-text,
body.ysr-page .footer-in,
body.ysr-page .footer-bottom,
body.ysr-page .footer-bottom-content {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  max-width: none !important;
  min-height: var(--ysr-bar-height) !important;
  height: var(--ysr-bar-height) !important;
  margin: 0 !important;
  padding: 0 10px !important;
  box-sizing: border-box !important;
  border: 0 !important;
  background: transparent !important;
}
body.ysr-page .header-container-in,
body.ysr-page .logo-header,
body.ysr-page .logo,
body.ysr-page .logo-text { justify-content: flex-start !important; text-align: left !important; }
body.ysr-page .footer-in,
body.ysr-page .footer-bottom,
body.ysr-page .footer-bottom-content { justify-content: flex-end !important; text-align: right !important; }
body.ysr-page .site-name-text,
body.ysr-page .site-name-text a,
body.ysr-page .logo-text,
body.ysr-page .logo-text a,
body.ysr-page .footer,
body.ysr-page .footer a,
body.ysr-page .footer p,
body.ysr-page .footer span,
body.ysr-page .footer .copyright,
body.ysr-page .copyright {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--ysr-blue) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
}
body.ysr-page .footer p,
body.ysr-page .footer span,
body.ysr-page .footer .copyright,
body.ysr-page .copyright { margin-left: auto !important; text-align: right !important; }
body.ysr-page .logo img,
body.ysr-page .footer-bottom-logo,
body.ysr-page .footer-logo,
body.ysr-page .footer-logo-text { display: none !important; }
body.ysr-page #navi,
body.ysr-page .navi,
body.ysr-page .navi-in,
body.ysr-page .header-container .menu-header,
body.ysr-page .header-container .global-menu,
body.ysr-page .header-container .mobile-menu-buttons { display: none !important; }

/* Header banner and vertical rhythm */
body.ysr-page .ysr-top-banner {
  width: calc(100% - var(--ysr-layout-side)) !important;
  max-width: var(--ysr-layout-width) !important;
  margin: var(--ysr-section-gap) auto 0 !important;
  overflow: hidden !important;
  border-radius: var(--ysr-panel-radius) !important;
  line-height: 0 !important;
}
body.ysr-page .ysr-top-banner-link { display: block; width: 100%; border-radius: inherit; overflow: hidden; line-height: 0; }
body.ysr-page .ysr-top-banner img {
  display: block !important;
  width: 100% !important;
  height: clamp(170px, 17vw, 270px) !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
  border: 0 !important;
  border-radius: inherit !important;
  box-shadow: none !important;
}
body.ysr-page .ysr-top-banner + .ysr-site { margin-top: var(--ysr-section-gap) !important; }
body.ysr-page .ysr-main-links-gap,
body.ysr-information-page .ysr-information-banner-gap {
  display: block !important;
  width: 100% !important;
  height: var(--ysr-section-gap) !important;
  margin: 0 !important;
  padding: 0 !important;
  clear: both !important;
}

/* Cards refinements */
.ysr-card-image { height: 190px; padding: 14px 0; }
.ysr-card-image img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}
.ysr-card-title { min-height: 0; margin-bottom: 1px !important; font-size: 16px; line-height: 1.25; }
.ysr-card-color { margin: 0 0 5px; color: #657087; text-align: center; font-size: 13px; line-height: 1.25; font-weight: 600; }
.ysr-card-price-row { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 5px 8px; width: 100%; margin: auto 0 9px; }
.ysr-card-price-row .ysr-card-list-price,
.ysr-card-price-row .ysr-price { flex: 0 0 auto; margin: 0; white-space: nowrap; }
.ysr-card-list-price { color: #8b94a0; font-size: 12px; line-height: 1.2; font-weight: 600; text-decoration: line-through; }
.ysr-card-list-price span { margin-right: 4px; text-decoration: none; }
.ysr-card-price-row .ysr-price { font-size: 23px; line-height: 1.15; }
.ysr-discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 3px 9px;
  color: #fff;
  background: var(--ysr-pink);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
}
.ysr-price-box { margin-bottom: 18px; }
.ysr-list-price { margin: 0 0 4px; color: #87909d; font-size: 14px; font-weight: 600; line-height: 1.4; text-decoration: line-through; }
.ysr-price-box .ysr-product-price { margin-bottom: 0; }

/* Product details */
.ysr-single-affiliate-image { text-align: center; }
.ysr-single-affiliate-image a { display: inline-block; }
.ysr-single-affiliate-image img { display: block; width: auto; max-width: 400px; max-height: 460px; height: auto; margin: 0 auto; }
.ysr-single-affiliate-image img[width="1"],
.ysr-single-affiliate-image img[height="1"] { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; }
.ysr-product-info .ysr-spec-table { margin-bottom: 24px !important; }
.ysr-share-buttons { display: grid; grid-template-columns: repeat(5, 44px); justify-content: center; gap: 6px; margin: 0 0 24px; }
.ysr-share-buttons a,
.ysr-share-buttons button { display: grid; place-items: center; width: 44px; height: 32px; min-width: 0; padding: 0; border: 0; border-radius: 16px; color: #fff; font-size: 11px; line-height: 1; font-weight: 800; text-decoration: none; cursor: pointer; }
.ysr-share-buttons a:nth-child(1) { background: #111; }
.ysr-share-buttons a:nth-child(2) { background: #111; font-size: 9px; }
.ysr-share-buttons a:nth-child(3) { background: #1877f2; }
.ysr-share-buttons a:nth-child(4) { background: #06c755; }
.ysr-share-buttons .ysr-copy-url { background: #6b7280; }
.ysr-purchase-wide { width: 100%; margin: 28px 0 0; }
.ysr-purchase-wide .ysr-purchase-separator { width: 100%; height: 9px; margin: 0 0 24px; border-radius: 999px; background: var(--ysr-yellow); }
.ysr-purchase-wide .ysr-purchase-button { display: flex !important; align-items: center; justify-content: center; width: 100%; min-height: 64px; padding: 18px 24px; border-radius: 999px; background: var(--ysr-blue) !important; color: #fff !important; font-size: 19px; line-height: 1.2; font-weight: 800; text-align: center; text-decoration: none !important; }
.ysr-purchase-button-top { display: none !important; }
.ysr-product-content { margin-top: 30px; padding-top: 0; border-top: 0; }
.ysr-related-list { display: grid; gap: 10px; }
.ysr-related-item { display: grid; grid-template-columns: 72px 1fr; gap: 9px; align-items: center; color: var(--ysr-text); text-decoration: none; }
.ysr-related-image { display: flex; align-items: center; justify-content: center; height: 68px; overflow: hidden; border-radius: 8px; background: #fff; }
.ysr-related-image img { width: auto; height: auto; max-width: 100%; max-height: 68px; }
.ysr-related-text strong { display: block; font-size: 12px; line-height: 1.35; }
.ysr-related-text small { display: block; margin-top: 3px; color: #667085; font-size: 11px; }
.ysr-custom-breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: -12px 0 24px; color: #657087; font-size: 13px; line-height: 1.6; }
.ysr-custom-breadcrumbs a { color: var(--ysr-blue); text-decoration: none; }

/* Information pages */
body.ysr-information-page .ysr-information-content,
body.ysr-information-page .ysr-information-content .content-in,
body.ysr-information-page .ysr-information-main { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; background: transparent !important; }
body.ysr-information-page .ysr-information-article { width: calc(100% - var(--ysr-layout-side)) !important; max-width: var(--ysr-layout-width) !important; margin: 0 auto !important; padding: var(--ysr-bookmark-lift) clamp(24px, 3vw, 46px) clamp(24px, 3vw, 46px) !important; border: 0 !important; border-radius: var(--ysr-panel-radius) !important; background: #fff !important; box-shadow: none !important; box-sizing: border-box !important; overflow: hidden !important; }
body.ysr-page .ysr-information-links { display: flex !important; justify-content: center !important; align-items: center !important; flex-wrap: wrap !important; gap: 8px 20px !important; width: calc(100% - var(--ysr-layout-side)) !important; max-width: var(--ysr-layout-width) !important; margin: 0 auto var(--ysr-section-gap) !important; padding: 16px 20px !important; border-radius: var(--ysr-panel-radius) !important; background: #fff !important; box-sizing: border-box !important; text-align: center !important; }
body.ysr-page .ysr-information-links a { color: var(--ysr-blue) !important; font-size: 13px !important; font-weight: 700 !important; line-height: 1.4 !important; text-decoration: none !important; }

/* Footer ranking buttons */
body.ysr-page .ysr-ranking-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  width: calc(100% - var(--ysr-layout-side));
  max-width: var(--ysr-layout-width);
  margin: 0 auto var(--ysr-section-gap);
  box-sizing: border-box;
  text-align: right;
}
body.ysr-page .ysr-ranking-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 11px;
  border: 1px solid var(--ysr-blue);
  border-radius: 999px;
  background: #fff;
  color: var(--ysr-blue) !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
}
body.ysr-page .ysr-ranking-button:hover {
  background: var(--ysr-blue);
  color: #fff !important;
}
body.ysr-information-page .toc,
body.ysr-information-page .toc-container,
body.ysr-information-page .entry-title,
body.ysr-information-page .eye-catch,
body.ysr-information-page .author-info,
body.ysr-information-page .post-author,
body.ysr-information-page .sns-share,
body.ysr-information-page .ad-area,
body.ysr-information-page .ad-label,
body.ysr-information-page .main-before,
body.ysr-information-page .main-after { display: none !important; }
body.ysr-information-page .entry-content h2 { margin: 30px 0 12px !important; padding: 0 0 8px !important; border: 0 !important; border-bottom: 2px solid var(--ysr-sky-line) !important; background: transparent !important; color: var(--ysr-blue-dark) !important; font-size: 18px !important; line-height: 1.45 !important; }
body.ysr-information-page .entry-content ul,
body.ysr-information-page .entry-content ol { margin: 1em 0 1em 1.5em !important; padding: 0 !important; }
body.ysr-information-page .entry-content li { margin: .35em 0 !important; padding: 0 !important; background: none !important; }
body.ysr-information-page .ysr-site-url { overflow-wrap: anywhere; word-break: break-all; }

/* Contact form */
body.ysr-information-page .ysr-contact-form { width: 100%; max-width: 760px; margin: 24px 0 0; padding: 24px; border: 2px solid var(--ysr-sky-line); border-radius: 24px; background: #fff; box-sizing: border-box; text-align: left; }
.ysr-contact-field { margin: 0 0 18px; }
.ysr-contact-field label { display: block; margin-bottom: 7px; color: var(--ysr-text); font-size: 14px; font-weight: 700; }
.ysr-contact-field input,
.ysr-contact-field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--ysr-border); border-radius: 12px; background: #fff; font: inherit; box-sizing: border-box; }
.ysr-required { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: var(--ysr-pink); color: #fff; font-size: 10px; }
.ysr-contact-submit { display: block; width: 100%; padding: 15px 20px; border: 0; border-radius: 30px; background: var(--ysr-blue); color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; }
.ysr-contact-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ysr-contact-notice { max-width: 760px; margin: 20px 0; padding: 14px 18px; border-radius: 12px; font-size: 14px; font-weight: 700; }
.ysr-contact-success { background: #eef9f1; border: 1px solid #8ccf9a; }
.ysr-contact-error { background: #fff1f1; border: 1px solid #e5a0a0; }

@media (max-width: 1100px) {
  :root { --ysr-layout-side: 28px; }
}
@media (max-width: 760px) {
  :root { --ysr-layout-side: 16px; --ysr-section-gap: 16px; --ysr-panel-radius: 14px; --ysr-bar-radius: 10px; }
  body.ysr-page #header,
  body.ysr-page header.header,
  body.ysr-page .header { margin-top: 6px !important; }
  body.ysr-page #footer,
  body.ysr-page footer.footer,
  body.ysr-page .footer { margin-bottom: 6px !important; }
  body.ysr-page .header-container-in,
  body.ysr-page .logo-header,
  body.ysr-page .footer-in,
  body.ysr-page .footer-bottom,
  body.ysr-page .footer-bottom-content { padding: 0 8px !important; }
  body.ysr-page .ysr-top-banner img { height: 130px !important; }
  .ysr-card-image { height: 170px; }
  .ysr-card-title { font-size: 15px; }
  .ysr-card-color { font-size: 12px; }
  .ysr-card-price-row { gap: 4px 6px; }
  .ysr-card-price-row .ysr-price { font-size: 20px; }
  .ysr-discount-badge { min-height: 22px; padding: 3px 8px; font-size: 12px; }
  .ysr-home-description { margin-top: -6px; margin-bottom: 20px; font-size: 14px; line-height: 1.75; }
  .ysr-purchase-wide { margin-top: 24px; }
  .ysr-purchase-wide .ysr-purchase-separator { margin-bottom: 20px; }
  .ysr-purchase-wide .ysr-purchase-button { min-height: 58px; padding: 16px 18px; font-size: 17px; }
  .ysr-custom-breadcrumbs { margin-top: -8px; margin-bottom: 18px; gap: 6px; font-size: 12px; }
  body.ysr-information-page .ysr-information-article { padding: var(--ysr-bookmark-lift) 16px 22px !important; }
  body.ysr-page .ysr-information-links { gap: 10px 16px !important; padding: 14px 12px !important; }
  body.ysr-page .ysr-information-links a { font-size: 12px !important; }
  body.ysr-page .ysr-ranking-links { justify-content: center; text-align: center; }
  body.ysr-page .ysr-ranking-button { min-height: 27px; padding: 5px 10px; font-size: 10px; }
  body.ysr-information-page .entry-content h2 { font-size: 16px !important; }
  body.ysr-information-page .ysr-contact-form { margin-top: 18px; padding: 18px 14px; border-radius: 18px; }
  /* Mobile footer only: centered, one line. */
  body.ysr-page #footer,
  body.ysr-page footer.footer,
  body.ysr-page .footer,
  body.ysr-page .footer-in,
  body.ysr-page .footer-bottom,
  body.ysr-page .footer-bottom-content { justify-content: center !important; text-align: center !important; }
  body.ysr-page .footer p,
  body.ysr-page .footer span,
  body.ysr-page .footer .copyright,
  body.ysr-page .copyright { width: 100% !important; margin: 0 !important; text-align: center !important; white-space: nowrap !important; font-size: 10px !important; }
}
/* =========================================================
   トップページ：ランドセルお役立ち情報
   ========================================================= */
.ysr-help-section {
  width: 100%;
  margin: 46px 0 0;
  padding: 34px 0 4px;
  border-top: 1px solid #d9edf2;
}

.ysr-help-heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin: 0 0 14px;
}

.ysr-help-bookmark {
  position: relative;
  flex: 0 0 46px;
  width: 46px;
  height: 66px;
  margin-top: -34px;
  background: linear-gradient(135deg, #2d559d, #4269b1);
  border-radius: 0 0 3px 3px;
}

.ysr-help-bookmark::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 0;
  border-left: 23px solid transparent;
  border-right: 23px solid transparent;
  border-bottom: 15px solid #fff;
}

.ysr-help-heading-content {
  flex: 1;
  min-width: 0;
}

.ysr-help-title {
  margin: 0 !important;
  color: var(--ysr-blue-dark);
  font-size: 22px !important;
  line-height: 1.3 !important;
  font-weight: 800;
  letter-spacing: .02em;
}

.ysr-help-title-line {
  width: 100%;
  height: 10px;
  margin-top: 5px;
  background: var(--ysr-yellow);
}

.ysr-help-description {
  max-width: 850px;
  margin: 0 0 24px !important;
  color: #4d5d73;
  font-size: 15px;
  line-height: 1.8;
}

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

.ysr-help-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 3px solid var(--ysr-sky-line);
  border-radius: 24px;
}

.ysr-help-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eefbfe;
  text-decoration: none !important;
}

.ysr-help-image img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  object-fit: cover;
}

.ysr-help-no-image {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 20px;
  color: var(--ysr-blue);
  text-align: center;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 800;
}

.ysr-help-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 17px 18px 18px;
}

.ysr-help-date {
  display: block;
  margin: 0 0 6px;
  color: #7b8798;
  font-size: 12px;
  line-height: 1.4;
}

.ysr-help-card-title {
  margin: 0 0 9px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--ysr-blue-dark);
  font-size: 18px !important;
  line-height: 1.45 !important;
  font-weight: 800;
}

.ysr-help-card-title a {
  color: inherit !important;
  text-decoration: none !important;
}

.ysr-help-excerpt {
  margin: 0 0 16px !important;
  color: #4e5d70;
  font-size: 13px;
  line-height: 1.75;
}

.ysr-help-readmore,
.ysr-help-more {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 42px 9px 22px;
  color: #fff !important;
  background: linear-gradient(90deg, #315da8, #3f67b2);
  border-radius: 999px;
  text-decoration: none !important;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
}

.ysr-help-readmore {
  width: 100%;
  margin-top: auto;
}

.ysr-help-readmore::after,
.ysr-help-more::after {
  content: "›";
  position: absolute;
  right: 9px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  color: var(--ysr-blue);
  background: #fff;
  border-radius: 50%;
  font-size: 25px;
  line-height: 1;
}

.ysr-help-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}

.ysr-help-more {
  min-width: 240px;
}

@media (max-width: 900px) {
  .ysr-help-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .ysr-help-section {
    margin-top: 34px;
    padding-top: 27px;
  }

  .ysr-help-heading {
    gap: 13px;
  }

  .ysr-help-bookmark {
    flex-basis: 38px;
    width: 38px;
    height: 56px;
    margin-top: -27px;
  }

  .ysr-help-bookmark::after {
    border-left-width: 19px;
    border-right-width: 19px;
    border-bottom-width: 13px;
  }

  .ysr-help-title {
    font-size: 19px !important;
  }

  .ysr-help-title-line {
    height: 8px;
  }

  .ysr-help-description {
    margin-bottom: 18px !important;
    font-size: 14px;
  }

  .ysr-help-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .ysr-help-card {
    border-radius: 22px;
  }

  .ysr-help-card-title {
    font-size: 17px !important;
  }
}

/* =========================================================
   v4.2.0: standard posts use the existing shared design
   ========================================================= */
body.single-post.ysr-page .ysr-standard-post-site {
  margin-top: var(--ysr-section-gap);
}

body.single-post.ysr-page .ysr-standard-post {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.single-post.ysr-page .ysr-standard-post-content {
  color: var(--ysr-text);
  line-height: 1.9;
}

body.single-post.ysr-page .ysr-standard-post-content img {
  max-width: 100%;
  height: auto;
}

/* =========================================================
   v4.2.3: standard article readability
   Large section headings (H1 in article body) use the yellow rule.
   Subheadings use the blue left rule. TOC is intentionally unboxed.
   ========================================================= */
body.single-post.ysr-page .ysr-standard-post-content > :first-child {
  margin-top: 0 !important;
}

body.single-post.ysr-page .ysr-standard-post-content p {
  margin: 0 0 1.7em;
  line-height: 2;
}

/* v4.32.23: make every text link inside standard article content bold.
   Internal/external URLs are treated the same; HTML <strong> is not required. */
body.single-post.ysr-page .ysr-standard-post-content a {
  font-weight: 700 !important;
}

/* Article headings: H1 and H2 are major sections; H3 is a subsection. */
body.single-post.ysr-page .ysr-standard-post-content h1,
body.single-post.ysr-page .ysr-standard-post-content h2 {
  position: relative;
  margin: 46px 0 22px !important;
  padding: 0 0 13px !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--ysr-blue-dark) !important;
  font-size: 24px !important;
  line-height: 1.45 !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

body.single-post.ysr-page .ysr-standard-post-content h1::before,
body.single-post.ysr-page .ysr-standard-post-content h2::before {
  content: none !important;
  display: none !important;
}

body.single-post.ysr-page .ysr-standard-post-content h1::after,
body.single-post.ysr-page .ysr-standard-post-content h2::after {
  content: "" !important;
  display: block !important;
  width: 100% !important;
  height: 6px !important;
  margin-top: 10px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--ysr-yellow) !important;
}

body.single-post.ysr-page .ysr-standard-post-content h3 {
  margin: 36px 0 18px !important;
  padding: 4px 0 4px 14px !important;
  border: 0 !important;
  border-left: 6px solid var(--ysr-blue) !important;
  background: transparent !important;
  background-image: none !important;
  color: var(--ysr-blue-dark) !important;
  font-size: 21px !important;
  line-height: 1.5 !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

body.single-post.ysr-page .ysr-standard-post-content h3::before,
body.single-post.ysr-page .ysr-standard-post-content h3::after {
  content: none !important;
  display: none !important;
}

body.single-post.ysr-page .ysr-standard-post-content ul,
body.single-post.ysr-page .ysr-standard-post-content ol {
  margin: 1.5em 0 1.8em;
  padding: 18px 20px 18px 42px;
  border: 1px solid var(--ysr-sky-line);
  border-radius: 16px;
  background: #f7fcfd;
}

body.single-post.ysr-page .ysr-standard-post-content li + li {
  margin-top: 0.55em;
}

/* Cocoon table of contents: simple white panel with a neutral border. */
body.single-post.ysr-page .ysr-standard-post-content .toc,
body.single-post.ysr-page .ysr-standard-post-content .toc-container,
body.single-post.ysr-page .ysr-standard-post-content .toc-content {
  margin: 26px 0 !important;
  padding: 20px 24px !important;
  border: 1px solid var(--ysr-border) !important;
  border-radius: 16px !important;
  background: var(--ysr-white) !important;
  box-shadow: none !important;
}

body.single-post.ysr-page .ysr-standard-post-content .toc ul,
body.single-post.ysr-page .ysr-standard-post-content .toc ol,
body.single-post.ysr-page .ysr-standard-post-content .toc-container ul,
body.single-post.ysr-page .ysr-standard-post-content .toc-container ol,
body.single-post.ysr-page .ysr-standard-post-content .toc-content ul,
body.single-post.ysr-page .ysr-standard-post-content .toc-content ol {
  margin: 10px 0 0 !important;
  padding: 0 0 0 1.5em !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body.single-post.ysr-page .ysr-standard-post-content blockquote {
  margin: 28px 0;
  padding: 20px 22px;
  border: 0;
  border-left: 6px solid var(--ysr-yellow);
  border-radius: 0 16px 16px 0;
  background: #fffef0;
}

body.single-post.ysr-page .ysr-standard-post-content table {
  width: 100%;
  margin: 30px 0;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--ysr-border);
  border-radius: 16px;
}

body.single-post.ysr-page .ysr-standard-post-content th,
body.single-post.ysr-page .ysr-standard-post-content td {
  padding: 13px 15px;
  border-right: 1px solid var(--ysr-border);
  border-bottom: 1px solid var(--ysr-border);
  text-align: left;
  vertical-align: top;
}

body.single-post.ysr-page .ysr-standard-post-content th {
  background: #eefbfe;
  color: var(--ysr-blue-dark);
  font-weight: 800;
}

body.single-post.ysr-page .ysr-standard-post-content tr > :last-child {
  border-right: 0;
}

body.single-post.ysr-page .ysr-standard-post-content tr:last-child > * {
  border-bottom: 0;
}

body.single-post.ysr-page .ysr-standard-post-content img {
  display: block;
  margin: 30px auto;
  border-radius: 16px;
}

/* Reuse the exact top-page button component. */
body.single-post.ysr-page .ysr-article-search-button {
  margin-top: 44px;
}

body.single-post.ysr-page .ysr-article-search-button .ysr-detail-button {
  width: 100%;
  min-height: 62px;
  box-sizing: border-box;
  padding: 14px 56px 14px 24px;
  font-size: 20px;
}

@media (max-width: 768px) {
  body.single-post.ysr-page .ysr-standard-post-content h1,
  body.single-post.ysr-page .ysr-standard-post-content h2 {
    margin-top: 36px !important;
    font-size: 21px !important;
  }

  body.single-post.ysr-page .ysr-standard-post-content h3 {
    margin-top: 28px !important;
    font-size: 19px !important;
  }

  body.single-post.ysr-page .ysr-standard-post-content ul,
  body.single-post.ysr-page .ysr-standard-post-content ol {
    padding: 15px 15px 15px 34px;
  }

  body.single-post.ysr-page .ysr-standard-post-content .toc ul,
  body.single-post.ysr-page .ysr-standard-post-content .toc ol,
  body.single-post.ysr-page .ysr-standard-post-content .toc-container ul,
  body.single-post.ysr-page .ysr-standard-post-content .toc-container ol {
    padding-left: 1.25em !important;
  }

  body.single-post.ysr-page .ysr-standard-post-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.single-post.ysr-page .ysr-article-search-button {
    margin-top: 36px;
  }
}

/* =========================================================
   v4.2.3: article sidebar / popular randoseru
   Sticky on desktop; normal flow below the article on smaller screens.
   ========================================================= */
body.single-post.ysr-page .ysr-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  align-items: start;
  overflow: visible;
}

body.single-post.ysr-page .ysr-standard-post {
  min-width: 0;
}

body.single-post.ysr-page .ysr-article-sidebar {
  position: static;
  align-self: start;
  min-width: 0;
  height: auto;
}

body.single-post.ysr-page .ysr-popular-products-box {
  margin: 0;
  padding: 18px;
  border: 2px solid var(--ysr-sky-line);
  border-radius: 22px;
  background: #f8fdfe;
}

body.single-post.ysr-page .ysr-popular-products-title {
  margin: 0 0 16px !important;
  padding: 0 0 9px !important;
  border: 0 !important;
  border-bottom: 6px solid var(--ysr-yellow) !important;
  background: transparent !important;
  color: var(--ysr-blue-dark) !important;
  font-size: 19px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
}

body.single-post.ysr-page .ysr-popular-product-cards {
  display: grid;
  gap: 14px;
}

body.single-post.ysr-page .ysr-popular-product-card {
  margin: 0;
  padding: 13px;
  border: 1px solid var(--ysr-sky-line);
  border-radius: 18px;
  background: var(--ysr-white);
}

body.single-post.ysr-page .ysr-popular-product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 128px;
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: 13px;
  background: #fff;
}

body.single-post.ysr-page .ysr-popular-product-image img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 128px;
  margin: 0;
  object-fit: contain;
  border-radius: 0;
}

body.single-post.ysr-page .ysr-popular-product-maker {
  display: block;
  margin-bottom: 4px;
  color: #607087;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 700;
}

body.single-post.ysr-page .ysr-popular-product-name {
  margin: 0 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 800 !important;
}

body.single-post.ysr-page .ysr-popular-product-name a {
  color: var(--ysr-blue-dark);
  text-decoration: none;
}

body.single-post.ysr-page .ysr-popular-product-price {
  margin: 0 0 10px;
  color: var(--ysr-pink);
  font-size: 17px;
  line-height: 1.2;
  font-weight: 800;
}

body.single-post.ysr-page .ysr-popular-product-button {
  width: 100%;
  min-height: 34px;
  box-sizing: border-box;
}

body.single-post.ysr-page .ysr-popular-products-empty {
  margin: 0;
  color: #607087;
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 980px) {
  body.single-post.ysr-page .ysr-article-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  body.single-post.ysr-page .ysr-article-sidebar {
    position: static;
    height: auto;
  }

  body.single-post.ysr-page .ysr-popular-product-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  body.single-post.ysr-page .ysr-article-layout {
    gap: 24px;
  }

  body.single-post.ysr-page .ysr-popular-products-box {
    padding: 15px;
  }

  body.single-post.ysr-page .ysr-popular-product-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* =========================================================
   v4.2.7: article cards without thumbnails / share line below
   ========================================================= */
.ysr-help-image.ysr-help-title-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 180px;
  aspect-ratio: auto;
  padding: 24px;
  box-sizing: border-box;
  overflow: hidden;
  background: var(--ysr-sky);
  text-decoration: none !important;
}

.ysr-help-image.ysr-help-title-panel::after {
  content: none;
}

.ysr-help-title-panel .ysr-help-image-title {
  position: static;
  z-index: auto;
  display: block;
  width: 100%;
  margin: 0;
  color: var(--ysr-blue-dark);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 800;
  text-align: center;
  text-shadow: none;
}

body.single-post.ysr-page .ysr-article-share-wrap {
  margin: 38px 0 0;
  padding: 0 0 24px;
  border-top: 0;
  border-bottom: 6px solid var(--ysr-yellow);
}

body.single-post.ysr-page .ysr-article-share-wrap .ysr-share-buttons {
  margin-bottom: 0;
}

body.single-post.ysr-page .ysr-article-search-button {
  margin-top: 24px;
}

@media (max-width: 600px) {
  .ysr-help-image.ysr-help-title-panel {
    min-height: 150px;
    padding: 20px;
  }

  .ysr-help-title-panel .ysr-help-image-title {
    font-size: 16px;
  }
}

/* =========================================================
   v4.30.5: ランドセルお役立ち情報を独立パネル化
   「安いランドセルを探す」と同じ白パネル・共通見出しを使用する。
   ========================================================= */
.ysr-help-site {
  margin-top: var(--ysr-section-gap);
  margin-bottom: var(--ysr-section-gap);
}

.ysr-help-site .ysr-help-description {
  margin-top: 0 !important;
}

@media (max-width: 760px) {
  .ysr-help-site {
    margin-top: var(--ysr-section-gap);
    margin-bottom: var(--ysr-section-gap);
  }
}


/* ページ番号表示数：PCは最大5、スマホは最大3 */
@media screen and (max-width: 768px) {
  .ysr-pagination .ysr-mobile-hide {
    display: none;
  }
}


/* =========================================================
   v4.31.2: Google検索の代表画像を明確化
   通常記事のアイキャッチを本文上部にも表示し、OGP/構造化データと一致。
   ========================================================= */
body.single-post.ysr-page .ysr-standard-post-eyecatch {
  margin: 0 0 28px;
  text-align: center;
}

body.single-post.ysr-page .ysr-standard-post-eyecatch-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* =========================================================
   v4.31.9 Cocoon UI cleanup
   Remove unused Cocoon mobile navigation/search/sidebar UI.
   The site's own breadcrumbs and product related sidebar remain intact.
   ========================================================= */
body.ysr-page .mobile-footer-menu-buttons,
body.ysr-page .mobile-header-menu-buttons,
body.ysr-page .mobile-menu-buttons,
body.ysr-page #go-to-top,
body.ysr-page .go-to-top-button,
body.ysr-page .search-menu-content,
body.ysr-page .sidebar-menu-content,
body.ysr-page .navi-menu-content,
body.ysr-page .menu-content {
  display: none !important;
}

/* Rakuten Motion: standard article footer */
.ysr-rakuten-motion {
  width: 100%;
  margin: 32px auto;
  text-align: center;
  overflow: hidden;
}

/* v4.31.13: maker article <-> product automatic internal links */
.ysr-maker-link-box {
  margin: 28px 0 8px;
  padding: 22px;
  border: 2px solid var(--ysr-sky-line, #8fd6e4);
  border-radius: 22px;
  background: #fff;
}
.ysr-maker-link-title {
  margin: 0 0 10px;
  padding: 0 0 9px;
  border-bottom: 5px solid var(--ysr-yellow, #ffed4a);
  color: var(--ysr-blue, #315ca8);
  font-size: 1.15rem;
  line-height: 1.45;
}
.ysr-maker-link-text {
  margin: 12px 0 16px;
  color: var(--ysr-text, #203047);
  line-height: 1.8;
}
.ysr-maker-link-button {
  display: block;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}
.ysr-maker-products-link {
  margin-top: 30px;
  margin-bottom: 26px;
}
@media (max-width: 600px) {
  .ysr-maker-link-box {
    padding: 18px 15px;
    border-radius: 18px;
  }
  .ysr-maker-link-title {
    font-size: 1.05rem;
  }
}


/* =====================================================
   記事内：価格条件つき自動商品カード [ysr_products]
===================================================== */
.ysr-editorial-products,
.ysr-editorial-products * {
  font-family: inherit !important;
}

.ysr-editorial-products {
  margin: 28px 0 38px;
}

.ysr-editorial-products-count,
.ysr-editorial-products-empty {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  line-height: 1.8;
}

.ysr-editorial-products-count strong {
  color: var(--ysr-pink);
  font-size: 1.08em;
}

.ysr-editorial-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ysr-editorial-product-card {
  position: relative;
  overflow: hidden;
  margin: 0 !important;
  border: 3px solid var(--ysr-sky-line);
  border-radius: 24px;
  background: var(--ysr-white);
}

.ysr-editorial-product-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 18px;
  background: #fff;
  text-decoration: none !important;
}

.ysr-editorial-product-image img {
  display: block;
  width: 100%;
  max-width: 230px;
  height: 210px;
  object-fit: contain;
  margin: 0 auto;
}

.ysr-editorial-product-body {
  padding: 0 18px 18px;
}

.ysr-editorial-product-maker {
  margin-bottom: 5px;
  color: var(--ysr-blue);
  font-size: 16px;
  font-weight: 800;
}

.ysr-editorial-product-name {
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-size: 17px !important;
  line-height: 1.55;
}

.ysr-editorial-product-name a {
  color: var(--ysr-text) !important;
  text-decoration: none !important;
}

.ysr-editorial-product-prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px 9px;
  margin-bottom: 8px;
}

.ysr-editorial-product-list-price {
  color: #6b7280;
  font-size: 13px;
  text-decoration: line-through;
}

.ysr-editorial-product-price {
  color: var(--ysr-pink);
  font-size: 22px;
  font-weight: 900;
  white-space: nowrap;
}

.ysr-editorial-product-discount {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--ysr-yellow);
  color: var(--ysr-blue-dark);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.ysr-editorial-product-weight {
  margin: 2px 0 4px;
  color: #536075;
  font-size: 14px;
  font-weight: 800;
}

.ysr-editorial-product-colors {
  margin: 8px 0 14px;
  color: #536075;
  font-size: 14px;
  font-weight: 700;
}

.ysr-editorial-product-button {
  display: block;
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--ysr-blue);
  color: #fff !important;
  font-weight: 800;
  text-align: center;
  text-decoration: none !important;
}

.ysr-editorial-product-button:hover {
  background: var(--ysr-blue-dark);
  color: #fff !important;
}

@media (max-width: 900px) {
  .ysr-editorial-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .ysr-editorial-products-grid {
    grid-template-columns: 1fr;
  }
  .ysr-editorial-product-card {
    border-radius: 20px;
  }
  .ysr-editorial-product-image {
    min-height: 200px;
  }
}


/* ==========================================================
   v4.31.19: editorial product cards - price/button alignment
   Product names are intentionally omitted from editorial cards.
   ========================================================== */
.ysr-editorial-product-card {
  display: flex;
  flex-direction: column;
}

.ysr-editorial-product-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.ysr-editorial-product-prices {
  min-height: 64px;
  align-content: flex-start;
}

.ysr-editorial-product-weight {
  min-height: 22px;
}

.ysr-editorial-product-colors {
  min-height: 22px;
}

.ysr-editorial-product-button {
  margin-top: auto;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Product detail pages never show the article-search CTA. */
body.single-randoseru .ysr-article-search-button {
  display: none !important;
}


/* =========================================================
   404 page
   ========================================================= */
body.error404.ysr-page .ysr-404-site {
  text-align: left;
}
body.error404.ysr-page .ysr-404-message {
  max-width: 760px;
  margin: 0 0 28px;
  color: #42536b;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 600;
}
body.error404.ysr-page .ysr-404-actions {
  max-width: 520px;
}
body.error404.ysr-page .ysr-404-actions .ysr-detail-button {
  width: 100%;
  min-height: 52px;
}
@media (max-width: 768px) {
  body.error404.ysr-page .ysr-404-message {
    font-size: 14px;
  }
  body.error404.ysr-page .ysr-404-actions {
    max-width: none;
  }
}

/* =========================================================
   v4.31.22: 404 CTA spacing / larger button label
   ========================================================= */
body.error404.ysr-page .ysr-404-message {
  margin-bottom: 46px;
}

body.error404.ysr-page .ysr-404-actions .ysr-detail-button {
  min-height: 64px;
  padding: 16px 24px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.35;
}

@media (max-width: 768px) {
  body.error404.ysr-page .ysr-404-message {
    margin-bottom: 38px;
  }

  body.error404.ysr-page .ysr-404-actions .ysr-detail-button {
    min-height: 60px;
    padding: 15px 18px;
    font-size: 18px;
  }
}
.ysr-related-price { color: var(--ysr-blue) !important; font-weight: 800; }
.ysr-side-more-link { display: block; margin-top: 12px; color: var(--ysr-blue); font-size: 12px; line-height: 1.5; font-weight: 800; text-align: right; text-decoration: none; }
.ysr-side-more-link:hover { text-decoration: underline; }



/* =========================================================
   v4.31.41: Cocoon header recovery (desktop + mobile)
   Keep the compact white title bar stable across Cocoon markup.
   ========================================================= */
body.ysr-page #header-container,
body.ysr-page .header-container {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
}
body.ysr-page #header,
body.ysr-page header.header,
body.ysr-page .header {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: calc(100% - var(--ysr-layout-side)) !important;
  max-width: var(--ysr-layout-width) !important;
  min-height: 30px !important;
  height: 30px !important;
  margin: 8px auto 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: var(--ysr-bar-radius) !important;
  background: #fff !important;
  box-shadow: none !important;
}
body.ysr-page #header .header-in,
body.ysr-page #header .header-container-in,
body.ysr-page .header .header-in,
body.ysr-page .header .header-container-in,
body.ysr-page .logo-header,
body.ysr-page .logo,
body.ysr-page .logo-text {
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 30px !important;
  height: 30px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  box-sizing: border-box !important;
  background: transparent !important;
  text-align: left !important;
}
body.ysr-page #header .site-name-text,
body.ysr-page #header .site-name-text a,
body.ysr-page #header .logo-text,
body.ysr-page #header .logo-text a,
body.ysr-page .header .site-name-text,
body.ysr-page .header .site-name-text a,
body.ysr-page .header .logo-text,
body.ysr-page .header .logo-text a {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: var(--ysr-blue) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 30px !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  text-decoration: none !important;
}
body.ysr-page #header .logo img,
body.ysr-page .header .logo img { display: none !important; }
body.ysr-page #header-container #navi,
body.ysr-page #header-container .navi,
body.ysr-page #header-container .mobile-menu-buttons,
body.ysr-page .header-container #navi,
body.ysr-page .header-container .navi,
body.ysr-page .header-container .mobile-menu-buttons { display: none !important; }

@media (max-width: 760px) {
  body.ysr-page #header,
  body.ysr-page header.header,
  body.ysr-page .header {
    min-height: 30px !important;
    height: 30px !important;
    margin-top: 6px !important;
  }
  body.ysr-page #header .header-in,
  body.ysr-page #header .header-container-in,
  body.ysr-page .header .header-in,
  body.ysr-page .header .header-container-in,
  body.ysr-page .logo-header,
  body.ysr-page .logo,
  body.ysr-page .logo-text {
    min-height: 30px !important;
    height: 30px !important;
    padding: 0 9px !important;
  }
  body.ysr-page #header .site-name-text,
  body.ysr-page #header .site-name-text a,
  body.ysr-page #header .logo-text,
  body.ysr-page #header .logo-text a,
  body.ysr-page .header .site-name-text,
  body.ysr-page .header .site-name-text a,
  body.ysr-page .header .logo-text,
  body.ysr-page .header .logo-text a {
    font-size: 11px !important;
    line-height: 30px !important;
  }
}

/* =========================================================
   v4.31.42: header title full display + true center
   Desktop/mobile: center the site title vertically/horizontally.
   Mobile: never truncate the full title.
   ========================================================= */
body.ysr-page #header,
body.ysr-page header.header,
body.ysr-page .header {
  justify-content: center !important;
}
body.ysr-page #header .header-in,
body.ysr-page #header .header-container-in,
body.ysr-page .header .header-in,
body.ysr-page .header .header-container-in,
body.ysr-page .logo-header,
body.ysr-page .logo {
  justify-content: center !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
  text-align: center !important;
}
body.ysr-page #header .site-name-text,
body.ysr-page #header .site-name-text a,
body.ysr-page #header .logo-text,
body.ysr-page #header .logo-text a,
body.ysr-page .header .site-name-text,
body.ysr-page .header .site-name-text a,
body.ysr-page .header .logo-text,
body.ysr-page .header .logo-text a {
  width: auto !important;
  max-width: none !important;
  overflow: visible !important;
  white-space: nowrap !important;
  text-overflow: clip !important;
  text-align: center !important;
  padding: 0 !important;
  line-height: 1.2 !important;
}
@media (max-width: 760px) {
  body.ysr-page #header,
  body.ysr-page header.header,
  body.ysr-page .header {
    height: 36px !important;
    min-height: 36px !important;
  }
  body.ysr-page #header .header-in,
  body.ysr-page #header .header-container-in,
  body.ysr-page .header .header-in,
  body.ysr-page .header .header-container-in,
  body.ysr-page .logo-header,
  body.ysr-page .logo {
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 4px !important;
  }
  body.ysr-page #header .site-name-text,
  body.ysr-page #header .site-name-text a,
  body.ysr-page #header .logo-text,
  body.ysr-page #header .logo-text a,
  body.ysr-page .header .site-name-text,
  body.ysr-page .header .site-name-text a,
  body.ysr-page .header .logo-text,
  body.ysr-page .header .logo-text a {
    font-size: clamp(10px, 3.35vw, 12px) !important;
  }
}

/* =========================================================
   v4.31.60: mobile header title true vertical/horizontal center
   Show only the site title in the compact mobile header.
   ========================================================= */
@media (max-width: 760px) {
  body.ysr-page #header,
  body.ysr-page header.header,
  body.ysr-page .header {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
  }

  body.ysr-page #header .header-in,
  body.ysr-page #header .header-container-in,
  body.ysr-page .header .header-in,
  body.ysr-page .header .header-container-in,
  body.ysr-page .logo-header,
  body.ysr-page .logo,
  body.ysr-page .logo-text {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 36px !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: normal !important;
    text-align: center !important;
  }

  body.ysr-page #header .site-name-text,
  body.ysr-page #header .site-name-text a,
  body.ysr-page .header .site-name-text,
  body.ysr-page .header .site-name-text a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 36px !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: clamp(10px, 3.35vw, 12px) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    text-align: center !important;
    transform: none !important;
  }

  body.ysr-page #header .tagline,
  body.ysr-page #header .site-description,
  body.ysr-page #header .logo-text .tagline,
  body.ysr-page .header .tagline,
  body.ysr-page .header .site-description,
  body.ysr-page .header .logo-text .tagline {
    display: none !important;
  }
}


/* v4.31.99: 販売区分バッジを画像の左上「外側」に配置。画像には重ねない */
.ysr-card-badge-row,
.ysr-editorial-product-badge-row,
.ysr-single-sale-badge-row,
body.single-post.ysr-page .ysr-popular-product-badge-row {
  position: static !important;
  display: flex;
  clear: both;
  float: none !important;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  transform: none !important;
}

.ysr-card-badge-row {
  margin: 7px 0 2px;
}

.ysr-editorial-product-badge-row {
  padding: 10px 14px 0;
  margin: 0;
}

.ysr-single-sale-badge-row {
  margin: 0 0 8px;
}

body.single-post.ysr-page .ysr-popular-product-badge-row {
  margin: 0 0 6px;
}

.ysr-sale-badge {
  position: static !important;
  inset: auto !important;
  float: none !important;
  transform: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 2px 8px;
  border-radius: 999px;
  color: #fff !important;
  box-shadow: 0 1px 4px rgba(32, 48, 71, .10);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none !important;
  white-space: nowrap;
  pointer-events: none;
}

.ysr-sale-badge--outlet { background: #e33a2e; }
.ysr-sale-badge--old_model { background: #4262a1; }
.ysr-sale-badge--display_item { background: #8b5a2b; }
.ysr-sale-badge--sale { background: #d44b86; }
.ysr-sale-badge--early_discount { background: #3f8f35; }

@media (max-width: 600px) {
  .ysr-card-badge-row { margin: 6px 0 2px; }
  .ysr-editorial-product-badge-row { padding: 8px 12px 0; }
  .ysr-single-sale-badge-row,
  body.single-post.ysr-page .ysr-popular-product-badge-row { margin-bottom: 6px; }

  .ysr-sale-badge {
    min-height: 18px;
    padding: 2px 7px;
    font-size: 10px;
  }
}


/* =====================================================
   v4.32.15: 記事内商品カードの画像高さを統一
   縦長画像はカード内で縮小し、固定高の画像ステージ中央に表示する。
===================================================== */
.ysr-editorial-product-image {
  height: 220px;
  min-height: 220px;
  padding: 16px 18px;
  overflow: hidden;
}

.ysr-editorial-product-image img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 180px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
}

@media (max-width: 560px) {
  .ysr-editorial-product-image {
    height: 200px;
    min-height: 200px;
    padding: 14px 16px;
  }

  .ysr-editorial-product-image img {
    max-height: 165px !important;
  }
}
