@charset "UTF-8";
/* ============================================
   デコ生　チョコパイノート
   Naming: BEM / g- (global) / l- (page-local)
   Design: 1366px (PC)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* --- Variables --- */
:root {
  --c-bg: #f2ecdd;
  --c-brown-dark: #2e1b00;
  --c-brown: #94564d;
  --c-brown-text: #975552;
  --c-brown-text-dk: #7d4b49;
  --c-brown-text-sub: #9f645f;
  --c-white: #fff;
  --c-tag-easy: #0ba3ae;
  --c-tag-celebrate: #ffc800;
  --c-tag-season: #fba2ca;
  --c-season-spring: #ff95c5;
  --c-season-winter: #e00000;
  --c-btn: #ffd400;
  --c-section: #94564d;
  --f-main: 'Noto Sans JP', sans-serif;
  --w-content: 970px;
  --w-page: 1000px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--f-main); background: var(--c-bg); color: #333; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; vertical-align: bottom; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ============================================
   GLOBAL COMPONENTS (g-)
   ============================================ */

/* --- g-wrapper --- */
.g-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background-image: url('../images/choco.svg');
  background-repeat: no-repeat;
  background-position: top -65px center;
  background-size: auto 745px;
}

/* --- g-deco (product decoration via pseudo-elements) --- */
.g-wrapper::before,
.g-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 320px;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  background-image:
    url('../images/chocopie.webp'),
    url('../images/chocopie.webp'),
    url('../images/chocopie.webp');
  background-size: 320px auto;
  background-repeat: no-repeat;
}

.g-wrapper::before {
  left: -60px;
  background-position: 0 796px, 0 2398px, 0 4269px;
}

.g-wrapper::after {
  right: -60px;
  left: auto;
  background-position: 0 1232px, 0 2916px, 0 4880px;
  transform: scaleX(-1);
}

/* --- SP --- */
@media (max-width: 768px) {
  .g-wrapper::before,
  .g-wrapper::after {
    width: 160px;
    background-size: 160px auto;
  }

  .g-wrapper::before {
    left: -60px;
    background-position: 0 626px, 0 2098px, 0 3869px;
  }

  .g-wrapper::after {
    right: -60px;
    background-position: 0 1132px, 0 2816px, 0 4780px;
  }
}


/* --- g-content --- */
.g-content {
  width: 100%;
  max-width: var(--w-content);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* --- g-header --- */
.g-header {
  position: relative;
  min-height: 90px;
  z-index: 10;
}

.g-header__inner {
  position: relative;
  z-index: 2;
  max-width: var(--w-page);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px 15px;
  box-sizing: border-box;
}

.g-header__logo {
display: block;
height: auto;
max-width: 417px;
aspect-ratio: 417 / 71;
width: 100%;
margin-left: -100px;
}

.g-header__logo img {
  height: auto;
  max-width: 417px;
  aspect-ratio: 417 / 71;
  width: 100%;
  display: block;
}

.g-header__nav {
  display: flex;
  gap: 16px;
  color: var(--c-white);
}

.g-header__nav a {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-white);
  white-space: nowrap;
}

/* --- g-footer --- */
.g-footer {
  background: var(--c-brown-dark);
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
  flex-direction: column;
  padding: 10px;
  box-sizing: border-box;
}

.g-footer__inner{
  padding: 20px 30px;
  border: 2px solid #fff;
  border-radius: 12px;
  margin: 20px;
  max-width: 630px;
  margin: 20px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  background: var(--c-bg);
  text-align: center;
}

.g-footer__inner h3{
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
}

.g-footer__inner p{
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 5px;
}

.g-footer__contact{
  flex: 1;
}

.g-footer__copy {
  font-size: 12px;
  font-weight: 500;
  color: var(--c-white);
}

/* --- g-deco (product decoration) --- */
.g-deco {
  display: none;
}

.g-deco img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.g-deco--left-1  { width: 553px; height: 553px; left: -340px; top: 596px; transform: rotate(10deg); }
.g-deco--right-1 { width: 567px; height: 567px; right: -340px; top: 1232px; transform: rotate(-10deg); }
.g-deco--left-2  { width: 553px; height: 553px; left: -361px; top: 2198px; transform: rotate(10deg); }
.g-deco--right-2 { width: 567px; height: 567px; right: -356px; top: 2916px; transform: rotate(-10deg); }
.g-deco--left-3  { width: 553px; height: 553px; left: -354px; top: 3969px; transform: rotate(10deg);}
.g-deco--right-3 { width: 567px; height: 567px; right: -346px; top: 4880px; transform: rotate(-10deg); }

/* --- g-section-header --- */
.g-section-header {
  background: var(--c-section);
  border: 2px solid var(--c-white);
  border-radius: 6px;
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
}

.g-section-header__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-white);
  white-space: nowrap;
}

.g-section-header--spring { background: var(--c-season-spring); }
.g-section-header--winter { background: var(--c-season-winter); }

/* --- g-grid --- */
.g-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 31px 20px;
  width: 100%;
  max-width: 970px;
  margin: 0 auto 40px;
}

/* --- g-card --- */
.g-card {
  position: relative;
  background: var(--c-white);
  border-radius: 12px;
  width: 100%;
  max-width: 310px;
  min-height: 340px;
  display: block;
  transition: opacity 0.2s;
  padding: 16px;
}

.g-card__image {
  overflow: hidden;
  border-radius: 6px;
}

.g-card__image img {
  transition: transform 0.3s ease;
}

.g-card:hover .g-card__image img {
  transform: scale(1.05);
}

.g-card__clip {
  position: absolute;
  top: -7px;
  left: 17px;
  width: 35px;
  height: 88px;
  z-index: 2;
  display: block;
  line-height: 0;
}

.g-card__clip svg {
  width: 100%;
  height: 100%;
  display: block;
}

.g-card__image {
  width: 100%;
  margin: 0px;
  position: relative;
  padding: 0px;
}

.g-card__image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  overflow: hidden;
  max-width: 100%;
  aspect-ratio: 273 / 180;
  object-fit: cover;
  object-position: center;
}

.g-card__body {
  padding: 0px;
  min-height: 70px;
  padding-top: 18px;
  box-sizing: border-box;
}

.g-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-brown-text);
  line-height: 1.5;
}

.g-card__tag {
  position: absolute;
  bottom: 12px;
  left: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 23px;
  padding: 0 15px;
  border-radius: 14px;
  border: 3px solid;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-white);
  letter-spacing: 0.64px;
  white-space: nowrap;
}

.g-card__tag--easy      { background: var(--c-tag-easy);      border-color: var(--c-tag-easy); }
.g-card__tag--celebrate { background: var(--c-tag-celebrate); border-color: var(--c-tag-celebrate); }
.g-card__tag--season    { background: var(--c-tag-season);    border-color: var(--c-tag-season); }

/* --- g-btn --- */
.g-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 235px;
  min-height: 40px;
  background: var(--c-btn);
  border-radius: 33px;
  margin: 0 auto;
  font-size: 16px;
  font-weight: 600;
  color: var(--c-brown-text-dk);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  position: relative;
}

.g-btn:hover { opacity: 0.8; }

.g-btn__arrow {
  width: 0;
  height: 0;
  border-left: 6px solid var(--c-brown-text-dk);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* --- g-pagination --- */
.g-pagination {
  margin: 40px 0;
}

.g-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.g-pagination .page-numbers {
  width: 40px;
  height: 40px;
  background: var(--c-btn);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--c-brown-text-dk);
  text-decoration: none;
}

.g-pagination .page-numbers:hover { opacity: 0.8; }

.g-pagination .page-numbers.current {
  background: var(--c-brown-text-dk);
  color: var(--c-white);
}

.g-pagination .prev,
.g-pagination .next { display: none; }

.g-pagination h2 { display: none; }

/* --- g-hero-card --- */
.g-hero-card {
  background: var(--c-white);
  border-radius: 12px;
  padding: 18px;
  position: relative;
  margin-top: 0px;
  margin-bottom: 30px;
}

.g-hero-card__clip {
  position: absolute;
  top: -7px;
  left: 20px;
  max-width: 35px;
  height: auto;
  z-index: 3;
  aspect-ratio: 35 / 88;
}

.g-hero-card__clip svg {
  width: 100%;
  height: 100%;
  display: block;
}

.g-hero-card__header {
  background: var(--c-section);
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 643px;
  margin: 0 0 20px;
  border-radius: 6px;
}

.g-hero-card__header-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-white);
}

/* --- g-category-section --- */
.g-category-section {
  margin-bottom: 50px;
  position: relative;
  z-index: 10;
}

/* ============================================
   TOP PAGE (l-top-)
   ============================================ */

/* --- l-top-hero --- */
.l-top-hero {
  display: flex;
  gap: 20px;
  align-items: center;
}

.l-top-hero__text {
  flex: 1;
  padding: 20px;
}

.l-top-hero__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--c-brown-text-dk);
  text-align: center;
  line-height: 1.4;
  margin-bottom: 16px;
}

.l-top-hero__desc {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-brown-text-dk);
  line-height: 1.8;
}

.l-top-hero__desc p{
  font-size: 14px;
  font-weight: 500;
  color: var(--c-brown-text-dk);
  line-height: 1.8;
}

.l-top-hero__desc p + p{
  margin-top: 1em;
}

.l-top-hero__desc strong {
  font-weight: 700;
}

.l-top-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-btn);
  border-radius: 6px;
  padding: 6px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-brown-text-dk);
  margin-top: 12px;
}

.l-top-hero__image {
  width: 100%;
  max-width: 490px;
  aspect-ratio: 490 / 320;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
}

.l-top-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- l-top-category --- */
.l-top-category {
  text-align: center;
  margin: 30px 0 40px;
}

.l-top-category__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-brown-text-sub);
  border: 2px solid var(--c-white);
  border-radius: 35px;
  min-height: 45px;
  padding: 0 22px;
  padding-left: 34px;
  min-width:  230px;
  gap: 8px;
  font-size: 19px;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 24px;
  position: relative;
}

.l-top-category__pill::before{
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background-image: url('../images/ico_search.svg');
  background-size: auto 18px;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
}

.l-top-category__items {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.l-top-category__item {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  background: var(--c-white);
  border-radius: 12px;
  width: 100%;
  max-width: calc((100% - 24px * 3)/4);
  aspect-ratio: 206 / 213;
  position: relative;
}

.l-top-category__item::before {
  content: '';
  display: block;
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  width: 83px;
  height: 70px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top center;
  z-index: 2;
  pointer-events: none;
}

.l-top-category__item:nth-child(1)::before { background-image: url('../images/maste1.png'); }
.l-top-category__item:nth-child(2)::before { background-image: url('../images/maste2.png'); }
.l-top-category__item:nth-child(3)::before { background-image: url('../images/maste3.png'); }
.l-top-category__item:nth-child(4)::before { background-image: url('../images/maste4.png'); }

.l-top-category__item-image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.l-top-category__item-image img {
  max-width: 136px;
  max-height: 136px;
  object-fit: contain;
}

.l-top-category__item-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-brown-text);
  margin-top: 8px;
}

/* ============================================
   LIST PAGE (l-list-)
   ============================================ */

.l-list-hero {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 0px 0 0px;
}

.l-list-hero__text {
  flex: 1;
}

.l-list-hero__desc {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-brown-text-dk);
  line-height: 1.8;
  padding: 20px 0;
}

.l-list-hero__image {
  width: 100%;
  max-width: 273px;
  aspect-ratio: 273 / 180;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  background-color: #fff;
  border: 1px solid #e8e8e8;
}

.l-list-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

/* ============================================
   DETAIL PAGE (l-detail-)
   ============================================ */

.l-detail-card {
  /*background: var(--c-white);*/
  position: relative;
  margin-bottom: 40px;
  position: relative;
  z-index: 10;
}

.l-detail-card__container {
  position: relative;
  z-index: 20;
  border-radius: 12px;
  padding: 0 40px 40px;
  overflow: hidden;
  display: block;
}

.l-detail-card__container::before{
  content: '';
  display: block;
  width: calc(100% - 40px);
  height: 100%;
  background: var(--c-white);
  position: absolute;
  top: 0;
  left: 40px;
  z-index: -1;
}

.l-detail-card__container::after{
  content: '';
  display: block;
  width: 45px;
  height: 100%;
  background-image: url('../images/dot.svg');
  background-size: auto 44px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.l-detail-card__clip {
  position: absolute;
  top: -7px;
  left: 20px;
  max-width: 35px;
  height: auto;
  z-index: 25;
  aspect-ratio: 35 / 88;
}

.l-detail-card__header {
  background: var(--c-section);
  border-radius: 6px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px -20px 20px;
  position: relative;
  z-index: 20;
}

.l-detail-card__header-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-white);
}

.l-detail-card__desc {
  text-align: center;
  font-size: 17px;
  font-weight: 500;
  color: var(--c-brown-text-dk);
  line-height: 3.0;
  margin-bottom: 18px;
  position: relative;
  z-index: 20;
  /*text-align: left;*/
}

/*
.l-detail-card__desc br{
  display: block;
}*/

.l-detail-card__dots {
  border-bottom: 2px dotted #ccc;
  margin: 0 0 24px;
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.note-ruled-lines {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 120px;
  margin-left: 20px;
  padding-right: 20px;
}

.note-ruled-lines::before{
  content: '';
  display: block;
  width: 50px;
  height: 76px;
  background: var(--c-white);
  position: absolute;
  top: -80px;
  left: -60px;
  z-index: 5;
}

.note-ruled-lines::after{
  content: '';
  display: block;
  width: 50px;
  height: 30px;
  background: var(--c-white);
  position: absolute;
  bottom: -43px;
  left: -60px;
  z-index: 4;
}

.note-ruled-lines__content {
  position: relative;
  background: transparent;
  z-index: 1;
  padding: 18px 20px;
  padding-top: 0px;
  padding-bottom: 40px;
}

.note-ruled-lines__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  /*background-image:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 47px,
      #f9f1d4 47px,
      #f9f1d4 49px
    );
  -webkit-mask-image:
    repeating-linear-gradient(
      to right,
      black 0 6px,
      transparent 6px 12px
    );
  mask-image:
    repeating-linear-gradient(
      to right,
      black 0 6px,
      transparent 6px 12px
    );
    */
}

/* Responsive adjustment for smaller screens, optional */
@media (max-width: 600px) {
  .note-ruled-lines__content {
    padding: 12px 8px;
  }
}


.l-detail-card__body {
  display: flex;
  gap: 40px;
  margin-bottom: 24px;
}

.l-detail-card__photo {
  width: 100%;
  max-width: 460px;
  /*overflow: hidden;*/
  flex-shrink: 0;
  position: relative;
}

.l-detail-card__photo img{
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.l-detail-card__photo::before{
  content: '';
  display: block;
  width: 168px;
  height: 116px;
  background-image: url('../images/detail_masute.svg');
  background-size: auto 116px;
  background-repeat: no-repeat;
  background-position: top left;
  position: absolute;
  top: -55px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.8;
}

.l-detail-card__photo img {
  width: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.l-detail-card__info {
  flex: 1;
  margin-top: -8px;
}

.l-detail-card__material-label {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.l-detail-card__material-label{
  /* マーカー風装飾 */
  display: inline-block;
  background:linear-gradient(transparent 60%, rgba(255, 200, 0, 0.62) 60%);
}

.l-detail-card__material-label::after {
  content: '';
  display: none;
  width: 64px;
  height: 9px;
  background: rgba(255, 200, 0, 0.62);
  position: absolute;
  bottom: -2px;
  left: 0;
  z-index: -1;
}

.l-detail-card__material-list {
  font-size: 17px;
  font-weight: 700;
  color: #000;
  line-height: 2.8;
}

.l-detail-card__material-row {
  display: flex;
  justify-content: space-between;
}

.l-detail-card__tag {
  margin-top: 0px;
  position: absolute;
  z-index: 20;
  left: 40px;
  bottom: 20px;
}

.l-detail-card__notice {
  font-size: 11px;
  color: var(--c-brown-text-sub);
  text-align: right;
  margin: 12px 20px 0;
  line-height: 1.6;
}

.l-detail-card__notebook {
  position: absolute;
  left: 0;
  top: 40px;
  bottom: 0;
  width: 16px;
  z-index: 3;
}

.l-detail-card__notebook img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.video__block{
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 490 / 320;
  width: 100%;
  max-width: 490px;
}

.video__block iframe{
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 490 / 320;
}

.sp-only{
  display: none;
}

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

@media (max-width: 1366px) {
  .g-content {
    padding: 0 20px;
  }
  .g-deco { display: none; }
}

@media (max-width: 1024px) {
  .g-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .l-top-hero {
    flex-direction: column;
  }
  .l-top-hero__image {
    max-width: 100%;
  }
  .l-detail-card__body {
    flex-direction: column;
  }
  .l-detail-card__photo {
    max-width: 100%;
  }
  .l-top-category__items {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .g-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .g-header__nav { font-size: 14px; }
  .l-list-hero {
    flex-direction: column;
  }
  .l-list-hero__image {
    max-width: 100%;
  }
}


@media (max-width: 560px) {
  .g-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    gap: 15px 10px;
  }
  .g-header__nav { font-size: 14px; }
  .l-list-hero {
    flex-direction: column;
  }
  .l-list-hero__image {
    max-width: 100%;
  }

  .g-section-header{
    margin-bottom: 18px;
  }

  .g-section-header__title{
    font-size: 18px;
    padding-bottom: 2px;
  }

  .g-card{
    max-width: 100%;
    min-height: 220px;
    padding: 9px;
  }

  .g-card__body{
    padding-top: 9px;
  }

  .g-card__tag{
    bottom: 9px;
    left: 9px;
    font-size: 10px;
    padding: 0 4px;
line-height: 1.1em;
    min-height: 19px;
  }

  .l-top-hero__cta{
    max-width: 100%;
    display: flex;
    justify-content: center;
  }
  .l-top-hero__text{
    padding: 0;
  }
  .l-top-category__pill{
    gap: 6px;
    font-size: 14px;
    min-width: 198px;
  }

  .l-top-category__item{
    max-width: calc((100% - 12px * 1) / 2);
    margin-bottom: 10px;
  }
  .l-top-category__items{
    gap: 12px;
  }

  .g-header{
    min-height: 45px;
  }
  .g-header__inner{
    padding: 15px 20px 10px;
  }

  .g-header__nav{
    display: none;
  }

  .g-header__logo{
    max-width: 230px;
    margin-left: -20px;
  }

  .g-card__clip{
    max-width: 20px;
    aspect-ratio: 35 / 88;
    width: auto;
    height: auto;
    top: -3px;
    left: 13px;
  }

  .l-detail-card__material-list{
    font-size: 16px;
    font-weight: 700;
    color: #000;
    line-height: 2.2;
  }
  .g-hero-card__clip{
    top: -4px;
    left: 13px;
    max-width: 23px;
  }

  .l-top-hero__text{
    width: 100%;
  }

  .l-top-hero__desc p{
    text-align: left;
  }

  .l-top-category__pill::before{

  }

  .l-top-category__item-label{
    margin-top: 4px;
    font-size: 13px;
    padding-bottom: 3px;
  }

  .l-detail-card__container::after{
    background-size: auto 30px;
    width: 40px;
    background-position: -6px 12px;
  }
  .l-detail-card__container::before{
    width: calc(100% - 20px);
    left: 20px;
  }
  .l-detail-card__clip{
    max-width: 20px;
    aspect-ratio: 35 / 88;
    width: auto;
    height: auto;
    top: -3px;
    left: 13px;
  }
  .l-detail-card__container{
    padding: 0 20px 20px;
  }
  .l-detail-card__header{
    margin: 10px -10px 10px;
  }
  .note-ruled-lines{
    margin-left: 10px;
    padding-right: 10px;
    padding-top: 2px;
  }
  .l-detail-card__desc{
    font-size: 15px;
    line-height: 2.25em;
  }
  .note-ruled-lines__lines{
    /*background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 32px, #f9f1d4 32px, #f9f1d4 34px);
    -webkit-mask-image: repeating-linear-gradient(to right, black 0 6px, transparent 6px 12px);
    mask-image: repeating-linear-gradient(to right, black 0 6px, transparent 6px 12px);*/
  }

  .l-detail-card__tag{
    left: 25px;
    bottom: 10px;
  }

  .g-card__title{
    font-size: 14px;
  }

  .l-top-category__item-image{
    max-width: 120px;
  }

  .l-top-category__item-image img{
    max-width: 120px;
  }

  .l-list-hero__image{
    display: none;
  }

  .l-list-hero__text{
    width: 100%;
  }

  .l-list-hero__desc{
    margin-top: 0px;
    padding: 0px;
  }

  .g-hero-card{
    padding: 15px;
  }

  .g-hero-card__header{
    margin-bottom: 10px;
  }

  .sp-only{
    display: block;
  }

  .note-ruled-lines::before{
    width: 40px;
    left: -40px;
  }

  .l-detail-card__header-title{
    padding: 5px;
    padding-left: 25px;
    padding-right: 10px;
    line-height: 1.4em;
    font-size: 17px;
  }

  .l-detail-card__material-label{
    font-size: 15px;
    margin-bottom: 8px;
  }

  .l-detail-card__material-list{
    font-size: 15px;
    line-height: 2.25em;
  }

  .g-footer__inner{
    padding: 10px 15px;
  }

  .g-footer__inner{
    margin: 0px auto 20px;
  }

  .g-footer__inner h3{
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
  }
  
  .g-footer__inner p{
    font-size: 10px;
    font-weight: 400;
    margin-bottom: 5px;
    white-space: nowrap;
  }
  
}
