.kd-hide-intro{
   display:none;
}
h1, h2, h3{
  font-family: var(--font-title);
}
.font-accent{
  font-family: var(--font-accent) !important;
}
/* ==================================================================
   1. ヘッダー（出現アニメーション・レイアウト）
================================================================== */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background-color: var(--linen-deep) !important;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.site-header a{ color: var(--ink) !important; }
.site-header.is-visible{
  transform: translateY(0);
  opacity: 1;
}
body.shop #mainHeader.site-header{
  width: 100%;
  max-width: none;
  margin: 0;
  box-shadow: 0 2px 14px rgba(59,42,24,0.18);
  background-image: var(--texture1);
  background-size: cover;
  background-repeat: no-repeat;
  background-blend-mode: multiply;
}
body.shop #mainHeader.site-header #shopHeader{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  width: 100%;
  margin: 0;
  padding: 2px 10px;
}
body.shop #mainHeader.site-header #shopHeader h1{
  margin: 10px;
  font-size: 1.3rem;
  text-align: left;
  letter-spacing: 0.05em;
}
body.shop #mainHeader.site-header #shopHeader h1 img{
  max-width: 240px;
  width: auto;
}
body.shop #mainHeader.site-header nav{
  width: auto;
  border: none;
  margin: 5px;
  margin-right: 12%;
}
#baseMenu{
  top: 8px;
  right: 4%;
}

body.shop #mainHeader.site-header nav ul{
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  width: auto;
  gap: 20px;
}
body.shop #mainHeader.site-header nav ul li{
  height: auto;
  width: 120px;
  text-align: center;
}
body.shop #mainHeader.site-header nav ul li a{
  padding: 6px 14px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}
body.shop #mainHeader.site-header nav ul li a:hover{
  background-color: var(--white);
}
@media (max-width: 760px){
  body.shop #mainHeader.site-header #shopHeader{
    justify-content: space-between;
    align-items: center;
  }
  body.shop #mainHeader.site-header nav{
    margin-right: 40px;
  }
  body.shop #mainHeader.site-header nav ul{
    display: none;
  }
  #baseMenu{
    right:60px;
  }
  #baseMenu > ul > li a{
    padding: 6px 8px !important;
    font-size: 12px !important;
  }
  #baseMenu > ul > li a:hover{
    padding: 6px 8px !important;
  }
}

/* ==================================================================
   2. メインエリア（4分割の垂れ幕）
================================================================== */
.n-maindrapes{
  display: flex;
  width: 100%;
  height: 100vh;
  min-height: 480px;
}
.n-band{
  flex: 1;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: clamp(32px, 6vw, 64px);
  overflow: hidden;
  animation: n-drape-drop 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.n-band + .n-band{
  box-shadow: inset 2px 0 0 rgba(0,0,0,0.12);
}
.n-band--1{ background: var(--band-red);    color: var(--white); animation-delay: 0s; }
.n-band--2{ background: var(--band-linen);  color: var(--ink);   animation-delay: 0.12s; }
.n-band--3{ background: var(--band-nezumi); color: var(--white); animation-delay: 0.24s; }
.n-band--4{ background: var(--band-navy);   color: var(--white); animation-delay: 0.36s; }
.n-band__label{
  writing-mode: vertical-rl;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  letter-spacing: 0.15em;
  line-height: 1.9;
  margin: 0;
}
@keyframes n-drape-drop{
  from{ transform: translateY(-100%); }
  to{ transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce){
  .n-band{ animation: none; }
}
@media (max-width: 760px){
  .n-maindrapes{ height: 52vh; min-height: 330px; max-height: 460px; }
  .n-band--1, .n-band--2, .n-band--3{
    display: none;
  }
  .n-band--4{
    width: 100%;
    animation-delay: 0s;
  }
}

/* テクスチャ乗算（現在は全バンド共通でtexture1を使用） */
.n-band--2, .n-band--3,
.n-band--1, .n-band--4{
  background-image: var(--texture1);
  background-repeat: repeat;
  background-blend-mode: multiply;
}

/* ==================================================================
   3. NEWSカルーセル（Swiper.js／カバーフローエフェクト）
================================================================== */
.n-news{
  background: var(--white);
  padding: clamp(40px, 6vw, 64px) clamp(20px, 5vw, 56px);
}
.n-news__heading{
  font-size: 1.3rem;
  color: var(--ink);
  margin: 0 0 28px;
}
.n-news, .n-reveal-section.bg-white,
.n-reveal-section.bg-linen{
  background-image: var(--texture1);
  background-repeat: repeat;
  background-blend-mode: multiply;
}

.n-news-swiper{
  position: relative;
}
.n-news-swiper .swiper-slide{
  position: relative;
  width: 600px;
  height: 280px;
  overflow: hidden;
  background: var(--linen-pale);
}
.n-news-swiper .swiper-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.n-news-swiper .swiper-slide-active:hover img{
  transform: scale(1.04);
}
/* 中央以外のバナーにうっすらグレーを乗算 */
.n-news-swiper .swiper-slide::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(90, 90, 90, 0.5);
  mix-blend-mode: multiply;
  opacity: 1;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.n-news-swiper .swiper-slide-active::after{
  opacity: 0;
}
.n-news__link{
  display: block;
  width: 100%;
  height: 100%;
}
@media (max-width: 700px){
  .n-news-swiper .swiper-slide{
    width: 72vw;
    height: calc(72vw * 280 / 600);
  }
}

/* 左右の三角ボタン */
.n-news__prev,
.n-news__next{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ddd;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 16px;
  color: #333;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: background 0.2s ease, transform 0.2s ease;
}
.n-news__prev:hover,
.n-news__next:hover{
  background: #ffffff;
  transform: translateY(-50%) scale(1.08);
}
:root{
  --news-banner-half: 300px;
  --news-btn-offset: 64px;
}
@media (max-width: 760px){
  :root{
    --news-banner-half: 36vw;
  }
}
.n-news__prev{
  left: calc(50% - var(--news-banner-half) - var(--news-btn-offset));
}
.n-news__next{
  right: calc(50% - var(--news-banner-half) - var(--news-btn-offset));
}

/* ==================================================================
   4. フェードイン紹介セクション（reveal演出）
================================================================== */
.n-reveal-section{
  padding: clamp(96px, 14vw, 160px) clamp(20px, 6vw, 72px);
  min-height: 70vh;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.n-reveal-section.bg-white{ background: var(--white); }
.n-reveal-section.bg-linen{ background: var(--linen-pale); }

.n-reveal-inner{
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: clamp(12px, 2.5vw, 28px);
  align-items: center;
  opacity: 0;
  transform: scale(0.2);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.n-reveal-inner.is-visible{
  opacity: 1;
  transform: scale(1);
}
.n-reveal-inner > div{
  text-align: center;
  margin-left: -20px;
}
.n-reveal-section.rev .n-reveal-inner{ direction: rtl; }
.n-reveal-section.rev .n-reveal-inner > *{ direction: ltr; }

.n-reveal-illust img{
  width: 100%; height: auto; display: block;
}
.n-reveal-heading{
  font-family: var(--font-title);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  display: inline-block;
  padding: 10px 24px;
  border-radius: 14px;
  margin: 0 0 20px;
  line-height: 1.4;
}
.n-reveal-section.bg-linen .n-reveal-heading{
  background: var(--band-red);
  color: var(--white);
}
.n-reveal-section.bg-white .n-reveal-heading{
  background: var(--band-navy);
  color: var(--white);
}
.n-reveal-text{
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--ink);
  margin: 0;
}
@media (max-width: 760px){
  .n-reveal-inner{ grid-template-columns: 1fr; }
  .n-reveal-section{
    padding: 56px 20px;
    min-height: 0;
  }
  .n-reveal-inner > div{ margin-left: 0; }
  .n-reveal-illust img{
    max-width: 72%;
    margin: 0 auto;
  }
  .n-reveal-heading{
    font-size: 1.2rem;
    padding: 8px 18px;
    margin-bottom: 14px;
  }
}

.n-reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.n-reveal.is-visible{ opacity: 1; transform: none; }
.n-reveal--d2{ transition-delay: 0.15s; }
.n-reveal--d3{ transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce){
  .n-reveal{ opacity: 1; transform: none; transition: none; }
}
.n-reveal-follow{
  width: 100%;
}

/* ==================================================================
   5. ABOUTページ：目次・セクション共通の骨組み
================================================================== */
.about-toc{
  max-width: 960px;
  margin: 48px auto;
  padding: 24px clamp(20px, 5vw, 40px);
  background: var(--linen-pale);
  background-image: var(--texture1);
  background-repeat: repeat;
  background-blend-mode: multiply;
  border-radius: 14px;
}
.about-toc ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
}
.about-toc a{
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--band-red);
  padding-bottom: 2px;
}
.about-toc a:hover{
  color: var(--band-red);
}

.about-block{
  padding: clamp(24px, 8vw, 88px) clamp(20px, 5vw, 40px);
  scroll-margin-top: 100px;
}
.about-block.bg-white{
  background: var(--white);
  background-image: linear-gradient(var(--texture-fade), var(--texture-fade)), var(--texture1);
  background-size: cover;
  background-repeat: no-repeat;
  background-blend-mode: normal, multiply;
}
.about-block.bg-linen{
  background: var(--linen-pale);
  background-image: linear-gradient(var(--texture-fade), var(--texture-fade)), var(--texture1);
  background-size: cover;
  background-repeat: no-repeat;
  background-blend-mode: normal, multiply;
}
.about-block__inner{
  max-width: 960px;
  margin: 0 auto;
  min-height: 1080px;
}
.about-block__heading{
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--ink);
  display: inline-block;
  margin: 0 0 24px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--band-red);
}
.about-block__body{
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--ink);
  text-align: center;
}

/* ==================================================================
   6. ABOUTカード（グッズの種類・布の種類など）
================================================================== */
.about-card-grid{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 72px;
}
.about-card{
  width: 100%;
  max-width: 960px;
}
.about-card__main{
  width: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}
.about-card__row{
  display: flex;
  flex-direction: row-reverse; /* 画像を左、文字を右に */
  gap: 12px;
  align-items: flex-start;
}
.about-card__content{
  flex: 2;
  min-width: 0;
  text-align: left;
}
.about-card__media{
  flex: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 480px;
}
.about-card__subimages{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}
.about-card__subimages img{
  width: 80px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}
@media (max-width: 760px){
  .about-card__row{
    flex-direction: column;
  }
  .about-card__media{
    order: 1;
    width: 100%;
  }
  .about-card__content{
    order: 2;
    margin-top: 16px;
  }
}

/* ==================================================================
   7. 見出しスタイル（about-card / about-block__body 共通）
================================================================== */

.about-card h3, .about-block__body h3{
  background: var(--band-navy);
  color: var(--white);
  display: inline-block;
  padding: 6px 16px;
  border-radius: 8px;
  font-family: var(--font-title);
  font-size: 1.2rem;
  margin: 0;
  width: 92%;
  margin-bottom: 12px;
}
.about-card h4, .about-block__body h4{
  border: 2px solid var(--band-navy);
  color: var(--band-navy);
  font-weight: bold;
  display: inline-block;
  padding: 2px 14px;
  border-radius: 4px;
  font-family: var(--font-sub);
  font-size: 0.95rem;
  margin: 10px 0;
}
.about-card h5, .about-block__body h5{
  color: var(--band-red);
  font-weight: bold;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border-left: 6px double var(--band-red);
  padding-left: 8px;
  margin: 0;
}
.about-card h6, .about-block__body h6{
  font-weight: bold;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--ink);
  margin: 0;
}
.about-block__body p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink);
  max-width: 600px;
  margin: 0 auto 12px auto;
}
.about-card p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink);
  max-width: 600px;
  margin: 0 0 12px 14px;
}
.about-card a, .about-block__body a{
  color: var(--band-red);
  text-decoration: underline;
}

/* 要素同士の間隔を、個別のmarginではなくここで一括管理する */
.about-card__content > * + *,
.about-block__body > * + * {
  margin-top: 20px;
}

/* ==================================================================
   8. ブログ記事へのリンク一覧（Q and A・配送についてなどで使用）
================================================================== */
.about-link-list{
  list-style: none;
  margin: 20px auto 16px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.about-link-list li{
  margin: 0;
}
.about-link-list a{
  display: inline-block;
  padding: 10px 18px;
  background: var(--linen-pale);
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-sub);
}
.about-link-list a:hover{
  background: var(--band-red);
  color: var(--white);
}
.about-block.bg-linen .about-link-list a{
  background: var(--white);
  box-shadow:2px 2px 2px #CCC;
}
.about-block.bg-linen .about-link-list a:hover{
  background: var(--band-red);
  color: var(--white);
  box-shadow:2px 2px 2px #CCC;
}

.about-card__banner{
  display: block;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 720 / 240;
  object-fit: cover;
  margin: 16px auto;
  cursor: zoom-in;
}

/* ==================================================================
   9. タペストリー風メニュー
================================================================== */

.tapestry-menu{
  position: fixed;
  top: 100px;
  left: 40%;
  transform: translateX(-50%);
  width: 220px;
  z-index: 90;
  cursor: grab;
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
  animation: n-drape-drop 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  user-select: none;
  background: var(--band-red);
}
.tapestry-menu::before{
  content: "";
  position: absolute;
  top: 26px;
  bottom: 26px;
  left: 0;
  right: 0;
  background-image: var(--texture2);
  background-size: 50vw;
  background-position: center;
  background-repeat: no-repeat;
  mix-blend-mode: multiply;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}
.tapestry-menu.is-dragging{
  cursor: grabbing;
}
.tapestry-menu__cap{
  height: 26px;
  width: calc(100% + 20px);
  margin-left: -10px;
  background: var(--linen-deep);
}
.tapestry-menu__body{
  position: relative;
  background: transparent;
  padding: 20px 18px;
  max-height: 60vh;
  overflow-y: auto;
  z-index: 1;
}


.tapestry-menu__item{
  margin-bottom: 8px;
}
.tapestry-menu__item:last-child{
  margin-bottom: 0;
}
.tapestry-menu__item > a{
  color: var(--white);
  font-family: var(--font-title);
  font-size: 0.88rem;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 2px;
}
.tapestry-menu__item > a:hover{
  text-decoration: underline;
}
.tapestry-menu__item > a.is-current{
  font-weight: bold;
  border-bottom: 5px dotted var(--white);
  padding-bottom: 3px;
}

/* 副題：今見ているセクションの時だけ、ふわっと伸びて表示 */
.tapestry-menu__sub{
  list-style: none;
  margin: 0;
  padding-left: 0;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease;
}
.tapestry-menu__sub.is-visible{
  opacity: 1;
  max-height: 300px;
  margin-top: 6px;
}
.tapestry-menu__sub li{
  margin-bottom: 6px;
}
.tapestry-menu__sub a{
  color: rgba(255,255,255,0.85);
  font-family: var(--font-body);
  font-size: 0.6rem;
  text-decoration: none;
}
.tapestry-menu__sub a:hover{
  text-decoration: underline;
}

/* ==================================================================
   10. スマホ用ハンバーガーボタン（ヘッダー右下）
================================================================== */
.menu-toggle{
  display: none;
  position: absolute;
  right: 14px;
  bottom: 8px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 6px;
  background: var(--band-red);
  color: var(--white);
  font-size: 1.15rem;
  line-height: 36px;
  cursor: pointer;
  z-index: 3000;
}
@media (max-width: 760px){
  .tapestry-menu{
    display: none;
    position: fixed;
    left: 12px !important;
    right: 12px !important;
    width: auto;
    transform: none !important;
    animation: none;
    box-shadow: 0 -6px 20px rgba(0,0,0,0.2);
    background: rgba(166, 59, 46, 0.85);
    border-radius: 16px;
  }
  .tapestry-menu.is-open{
    display: block;
  }
  .tapestry-menu__cap{
    display: none;
  }
  .tapestry-menu::before{
    display: none;
  }
  .tapestry-menu__body{
    text-align: center;
    max-height: 50vh;
  }
  .menu-toggle{
    display: block !important;
    top:30px;
    transform: translate(-50%, -50%) !important;
  }
  /* メニューの無いページ（ブログなど）用に、JSが作る簡易メニュー */
  .tapestry-menu--sheet{
    top: 64px;
  }
  .tapestry-menu--sheet .tapestry-menu__item{
    margin-bottom: 12px;
  }
}
/* 簡易メニューはスマホ専用。PCでは出さない */
@media (min-width: 761px){
  .tapestry-menu--sheet{
    display: none !important;
  }
}

.about-card img[src$=".jpg"],
.about-card img[src$=".jpeg"],
.about-block__body img[src$=".jpg"],
.about-block__body img[src$=".jpeg"] {
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.15);
}

.about-image-row{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 20px 0;
}
.about-image-row a{
  display: block;
}
.about-image-row img{
  width: 220px;
  height: 220px;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.about-image-row img:hover{
  transform: scale(1.03);
}

.about-h6-banner{
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  aspect-ratio: 600 / 120;
  object-fit: cover;
  margin: 28px auto 0;
  pointer-events: none;
  cursor: default;
}
.about-h6-banner + h6{
  margin-top: 8px;
}

body:has(.blogDetail){
  background: var(--linen-pale);
}
.blogDetail{
  background: var(--white);
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 40px;
  box-sizing: border-box;
}

.blog_title h2{
  background: var(--band-navy);
  color: var(--white);
  display: inline-block;
  padding: 6px 16px;
  border-radius: 8px;
  font-family: var(--font-title);
}
.blog_title h2 a{
  color: var(--white);
  text-decoration: none;
}

.blog_body img{
  display: block;
  margin: 20px auto;
}

.blog_body b{
  display: inline-block;
  color: var(--band-red);
  font-weight: bold;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border-left: 6px double var(--band-red);
  padding-left: 12px;
  margin: 2px 0 6px;
}

.blog_body h3{
  border: 2px solid var(--band-navy);
  color: var(--band-navy);
  font-weight: bold;
  display: block;
  width: fit-content;
  padding: 4px 14px;
  border-radius: 4px;
  font-family: var(--font-sub);
  font-size: 0.95rem;
  margin: 12px;
}

.blog_body a{
  color: var(--band-red);
  text-decoration: underline;
}

/* スマホ：ブログ記事の余白と文字を整える
   （BASE側の「.main #about{padding:0}」に勝つため、詳細度を上げている） */
@media (max-width: 760px){
  .main #about.blogDetail{
    padding: 76px 18px 40px;
    box-sizing: border-box;
  }
  .main #about.blogDetail .blog_inner,
  .main #about.blogDetail .blog_contents{
    padding: 0;
    margin: 0;
  }
  .blog_title h2{
    display: block;
    font-size: 1.1rem;
    line-height: 1.5;
    margin: 0 0 10px;
    padding: 8px 14px;
    word-break: normal;
    overflow-wrap: anywhere;
  }
  .blog_publish .publish_date,
  .blog_publish p{
    font-size: 0.8rem;
    margin: 0 0 18px;
    color: var(--band-nezumi);
  }
  .blog_body{
    font-size: 0.95rem;
    line-height: 1.9;
    word-break: normal;
    overflow-wrap: break-word;
    line-height: 1.6em;
  }
  .blog_body img{
    max-width: 100%;
    height: auto;
  }
  .blog_body b{
    margin: 10px 0 6px;
    line-height: 1.6;
  }
  /* 空行が何行も続く時は、1行分に詰める */
  .blog_body div:has(> br:only-child) + div:has(> br:only-child){
    display: none;
  }
}

.about-size-list{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0;
  padding: 0;
}
.about-size-list li{
color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 2px 12px 3px;
  border-radius: 5px;
  margin: 0;
  margin-left: 16px;
  border: solid 3px var(--tag-green);
}

.about-section-heading{
  text-align: center;
  margin: 0 auto 32px;
}
.about-section-heading h2{
  display: inline-block;
  background: var(--band-red);
  padding: 8px;
  margin: 0;
}
.about-section-heading h2 span{
  display: block;
  border: 2px solid var(--white);
  color: var(--white);
  padding: 2px 48px;
  width:480px;
  font-family: var(--font-title);
  font-size: 1.5rem;
}
.n-news__controls{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}
.n-news__pagination{
  position: static;
  text-align: center;
}
.n-news__dot{
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--band-navy);
  opacity: 0.4;
  margin: 0 4px;
  cursor: pointer;
}
.n-news__dot.is-active{
  background: var(--band-red);
  opacity: 1;
}

/* スマホ用矢印は、PCでは非表示 */
@media (max-width: 760px){
  .n-news__prev--desktop, .n-news__next--desktop{
    display: none;
  }
  .about-section-heading h2{
    display: block;
    width: calc(100% - 24px);
    margin: 0 auto;
    box-sizing: border-box;
  }
  .about-section-heading h2 span{
    width: 100%;
    padding: 12px 16px;
    font-size: 1.1rem;
    box-sizing: border-box;
  }
}
@media (min-width: 761px) {
  .tapestry-menu--index {
    display: none !important;
  }
}

.n-category-tree{
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.n-category-tree__heading{
  background: var(--band-navy);
  color: var(--white);
  display: inline-block;
  padding: 6px 16px;
  border-radius: 8px;
  font-family: var(--font-title);
  font-size: 1.2rem;
  margin: 0 0 28px;
}
.n-category-tree__list{
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}
.n-category-tree__large{
  flex: 0 1 200px;
}
.n-category-tree__large > h4{
  border: 2px solid var(--band-red);
  color: var(--band-navy);
  font-weight: bold;
  display: inline-block;
  padding: 8px 14px 4px;
  border-radius: 4px;
  font-family: var(--font-sub);
  font-size: 0.95rem;
  margin: 0;
}
.n-category-tree__large > h4 a{
  color: var(--band-navy);
  text-decoration: none;
}
.n-category-tree__large > h4 a:hover{
  text-decoration: underline;
}
.n-category-tree__medium-list{
  list-style: none;
  margin: 12px 0 0 12px;
  padding-left: 18px;
  border-left: 2px solid var(--band-linen);
}
.n-category-tree__medium{
  margin-bottom: 8px;
}
.n-category-tree__medium a{
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: normal;
  color: var(--ink);
  text-decoration: none;
}
.n-category-tree__medium a:hover{
  color: var(--band-red);
  text-decoration: underline;
}
/* スマホ：大カテゴリを3列で横に並べ、中カテゴリはその下に縦に並べる */
@media (max-width: 760px){
  .n-category-tree{
    max-width: 100%;
  }
  .n-category-tree__heading{
    font-size: 1.05rem;
    margin-bottom: 20px;
  }
  .n-category-tree__list{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
    margin-bottom: 30px;
  }
  .n-category-tree__large{
    min-width: 0;
    text-align: center;
  }
  .n-category-tree__large > h4{
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 56px;
    padding: 6px 4px;
    background: var(--white);
    font-size: 0.78rem;
    line-height: 1.4;
    text-align: center;
    word-break: normal;
    overflow-wrap: anywhere;
  }
  .n-category-tree__medium-list{
    margin: 10px 0 0;
    padding: 10px 0 0;
    text-align: center;
    border-left: none;
    border-top: 2px solid var(--band-linen);
  }
  .n-category-tree__medium{
    margin-bottom: 8px;
    line-height: 1.45;
  }
  .n-category-tree__medium a{
    font-size: 0.74rem;
    word-break: normal;
    overflow-wrap: anywhere;
  }
}

.about-card__price{
  display: block;
  text-align: right;
  font-weight: bold;
  font-family: var(--font-title);
  color: var(--ink);
  font-size: 1rem;
  margin: 0;
  margin-right: 12px;
}

/* is-pending クラスを .about-card__row に付けるだけで、
   見出しがグレーになり「現在準備中」の文字が付き、
   購入・テンプレートのリンクが無効化される */
.about-card__row.is-pending h3{
  background: #999;
}
.about-card__row.is-pending h3::after{
  content: "（現在準備中）";
  font-size: 0.75em;
  font-weight: normal;
  margin-left: 8px;
}
.about-card__row.is-pending ~ .about-link-list a{
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}

.about-section-heading p{
  margin: 0 auto !important;
  text-align: center;
}
.n-maindrapes{
  position: relative;
}
.n-logo-reveal{
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 1100px;
  aspect-ratio: 800 / 400;
  pointer-events: none;
  z-index: 10;
}

.n-logo-reveal__piece{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: translateY(-16px);
  animation: n-logo-drop 0.8s ease forwards;
  filter:
    drop-shadow(0 0 4px rgba(255,255,255,0.8))
}
@keyframes n-logo-drop{
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

.n-logo-reveal__piece--1{ animation-delay: 1.3s; }  /* 紺 */
.n-logo-reveal__piece--2{ animation-delay: 1.75s; } /* が */
.n-logo-reveal__piece--3{ animation-delay: 1.9s; }  /* り */
.n-logo-reveal__piece--4{ animation-delay: 2.2s; }  /* 堂 */
.n-logo-reveal__piece--5{ animation-delay: 2.65s; } /* 英字 */

.n-logo-random{
  position: absolute;
  left: 54%;
  bottom: 60%;
  margin-bottom: 4%;
  width: 30%;
  display: flex;
  justify-content: center;
  opacity: 0;
  animation: n-logo-random-drop 0.8s ease forwards;
  animation-delay: 3.2s;
  pointer-events: none;
}
.n-logo-random__img{
  width: 100%;
  height: auto;
  object-fit: contain;
}
@keyframes n-logo-random-drop{
  from{ opacity: 0; transform: translateX(-50%) translateY(-16px); }
  to{   opacity: 1; transform: translateX(-50%) translateY(0); }
}

@media (max-width: 760px){
  .n-logo-reveal{
    display: block;
    top: 44%;
    left: calc(50% - 4px);
    width: 90%;
  }
  .n-logo-reveal__piece{
    filter: brightness(0) invert(1);
  }
}
/* ==================================================================
   ブログ記事：ページ内検索（【検索】と書いた記事で表示）
================================================================== */
.kd-search{
  position: sticky;
  top: 0;
  z-index: 80;
  margin: 0 -8px 20px;
  padding: 10px 8px 6px;
  background: var(--white);
  border-bottom: 2px solid var(--band-red);
  transition: top 0.5s ease;
}
.kd-search__inner{
  position: relative;
}
.kd-search__input{
  display: block;
  width: 100%;
  box-sizing: border-box;
  height: 44px;
  padding: 0 44px 0 14px;
  border: 2px solid var(--band-navy);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px; /* 16px未満だと、スマホで入力時に画面が拡大される */
}
.kd-search__input:focus{
  outline: none;
  border-color: var(--band-red);
}
.kd-search__clear{
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--band-navy);
  font-size: 1.2rem;
  line-height: 32px;
  cursor: pointer;
}
.kd-search__clear[hidden]{
  display: none;
}
.kd-search__count{
  min-height: 1.4em;
  margin: 4px 2px 0;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--ink);
}
.kd-qa-hidden{
  display: none !important;
}

#colorbox.aboutCb #cboxPrevious,
#colorbox.aboutCb #cboxNext{
  position: absolute;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  width: 44px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 44, 74, 0.72);
  border: none;
  border-radius: 6px;
  padding: 0;
  margin: 0;
  text-indent: 0;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  z-index: 5;
}
#colorbox.aboutCb #cboxPrevious{ left: 10px; right: auto; }
#colorbox.aboutCb #cboxNext{ right: 10px; left: auto; }
#colorbox.aboutCb #cboxPrevious:hover,
#colorbox.aboutCb #cboxNext:hover{
  background: var(--band-red);
}
#colorbox.aboutCb #cboxPrevious::before,
#colorbox.aboutCb #cboxNext::before{
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
}
#colorbox.aboutCb #cboxPrevious::before{
  border-width: 11px 16px 11px 0;
  border-color: transparent #fff transparent transparent;
  margin-right: 4px;
}
#colorbox.aboutCb #cboxNext::before{
  border-width: 11px 0 11px 16px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}
@media (max-width: 760px){
  #colorbox.aboutCb #cboxPrevious,
  #colorbox.aboutCb #cboxNext{
    width: 36px;
    height: 52px;
  }
  #colorbox.aboutCb #cboxPrevious{ left: 6px; }
  #colorbox.aboutCb #cboxNext{ right: 6px; }
}

/* 説明文のリンクをボタン風にする */
body#shopDetailPage .itemDescription a {
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
    margin: 4px 0 8px;
    padding: 8px 18px;
    background: var(--band-navy, #1F2C4A);
    color: #fff !important;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-all;
    transition: background .2s;
}
body#shopDetailPage .itemDescription a:hover {
    background: var(--band-red, #A63B2E);
}

/* 決まったリンクは URL の代わりに短い文言を出す */
body#shopDetailPage .itemDescription a[href*="/about#fabric-types"],
body#shopDetailPage .itemDescription a[href*="drive.google.com"],
body#shopDetailPage .itemDescription a[href*="script.google.com"] {
    font-size: 0;
    padding: 0;
}
body#shopDetailPage .itemDescription a[href*="/about#fabric-types"]::before,
body#shopDetailPage .itemDescription a[href*="drive.google.com"]::before,
body#shopDetailPage .itemDescription a[href*="script.google.com"]::before {
    display: block;
    padding: 8px 18px;
    font-size: 14px;
    line-height: 1.5;
}
body#shopDetailPage .itemDescription a[href*="/about#fabric-types"]::before { content: "布の違いを見る"; }
body#shopDetailPage .itemDescription a[href*="drive.google.com"]::before { content: "入稿用テンプレートを開く"; }
body#shopDetailPage .itemDescription a[href*="script.google.com"]::before { content: "仕上がりを確かめる"; }
/* 商品ページ：タイトルの【】をバッジにする */
body#shopDetailPage header h1.itemTitle .title-tag {
    display: inline-block;
    margin-right: 10px;
    padding: 2px 12px;
    border-radius: 3px;
    background: var(--band-nezumi, #9caeaf);
    color: #fff;
    font-size: 0.55em;
    font-weight: bold;
    line-height: 1.6;
    letter-spacing: 1px;
    vertical-align: middle;
}
body#shopDetailPage header h1.itemTitle .title-tag--order { background: var(--band-navy, #1F2C4A); }
body#shopDetailPage header h1.itemTitle .title-tag--official { background: var(--band-red, #A63B2E); }

/* 商品ページ：説明文の見出し・注意書きなど */
body#shopDetailPage .itemDescription .desc-gap { height: 12px; }
body#shopDetailPage .itemDescription .desc-gap + .desc-heading { margin-top: 6px; }
body#shopDetailPage .itemDescription .desc-heading {
    margin: 20px 0 6px;
    padding: 2px 0 2px 12px;
    border-left: 5px solid var(--band-red, #A63B2E);
    color: var(--ink, #3B2A18);
    font-family: var(--font-sub, serif);
    font-size: 17px;
    font-weight: bold;
    line-height: 1.6;
}
body#shopDetailPage .itemDescription .desc-note {
    position: relative;
    margin: 8px 0;
    padding: 8px 12px 8px 34px;
    background: var(--linen-pale, #EFE6CB);
    border-radius: 3px;
}
body#shopDetailPage .itemDescription .desc-note::before {
    content: "※";
    position: absolute;
    left: 12px;
    color: var(--band-red, #A63B2E);
    font-weight: bold;
}
body#shopDetailPage .itemDescription .desc-caution {
    position: relative;
    margin: 8px 0;
    padding: 8px 12px 8px 40px;
    border: 2px solid var(--band-red, #A63B2E);
    border-radius: 3px;
    background: rgba(166, 59, 46, 0.07);
}
body#shopDetailPage .itemDescription .desc-caution::before {
    content: "!";
    position: absolute;
    left: 10px;
    top: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--band-red, #A63B2E);
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}
body#shopDetailPage .itemDescription .desc-bullet {
    position: relative;
    padding-left: 1.2em;
}
body#shopDetailPage .itemDescription .desc-bullet::before {
    content: "・";
    position: absolute;
    left: 0;
}
body#shopDetailPage .itemDescription .desc-rule {
    height: 0;
    margin: 16px 0;
    border-top: 1px dotted var(--ink, #3B2A18);
}

/* 商品ページ：背景を HOME のグッズの種類と同じベージュのテクスチャにする */
body#shopDetailPage {
    background: var(--linen-pale, #EFE6CB);
    background-image: linear-gradient(var(--texture-fade, rgba(255,255,255,0.55)), var(--texture-fade, rgba(255,255,255,0.55))), var(--texture1);
    background-size: cover;
    background-repeat: no-repeat;
    background-blend-mode: normal, multiply;
}
body#shopDetailPage #mainContent {
    background-color: transparent;
}

/* 商品ページ：種類ごとの色（和風の落ち着いた緑） */
body#shopDetailPage {
    --band-green: #3A6B4C;
}
body#shopDetailPage header h1.itemTitle .title-tag--dekitate { background: var(--band-green); }

/* 商品ページ：カートに入れるボタンの色 */
body#shopDetailPage.item-type--order #purchase_form .purchaseButton .purchaseButton__btn--addToCart:not(:disabled) {
    background: var(--band-navy, #1F2C4A);
}
body#shopDetailPage.item-type--official #purchase_form .purchaseButton .purchaseButton__btn--addToCart:not(:disabled) {
    background: var(--band-red, #A63B2E);
}
body#shopDetailPage.item-type--dekitate #purchase_form .purchaseButton .purchaseButton__btn--addToCart:not(:disabled) {
    background: var(--band-green);
}
/* 商品ページ：背景を HOME のグッズの種類と同じベージュのテクスチャにする（画面いっぱいに固定） */
body#shopDetailPage {
    background: var(--linen-pale, #EFE6CB);
}
body#shopDetailPage::before {
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
    background: var(--linen-pale, #EFE6CB);
    background-image: linear-gradient(var(--texture-fade, rgba(255,255,255,0.55)), var(--texture-fade, rgba(255,255,255,0.55))), var(--texture1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: normal, multiply;
}
body#shopDetailPage #mainContent {
    background-color: transparent;
}

#shopHeader .categoryTitle01,
#shopHeader .childCategoryList01 { display: none; }

/* kongaridou.css の一番下に足す。
   あわせて、すでにある「.n-news__dot」と「.n-news__dot.is-active」の2つは、使わなくなるので消してよい */

/* NEWSのサムネ（最大８）。前面のものだけ赤い枠が光り、左上に種類の色が付く */
.n-news__pagination{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding: 8px 0;
}
.n-news__thumb{
  appearance: none;
  position: relative;
  width: 96px;
  height: 96px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--linen-pale);
  opacity: 0.6;
  cursor: pointer;
  transition: opacity 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.n-news__thumb img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.n-news__thumb:hover{
  opacity: 0.85;
}
.n-news__thumb:focus-visible{
  outline: 2px solid var(--band-navy);
  outline-offset: 3px;
}
.n-news__thumb.is-active{
  opacity: 1;
  transform: scale(1.04);
  box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--band-red), 0 0 16px 6px rgba(166,59,46,0.45);
}

/* 左上の斜めにカットした色（種類ごと） */
.n-news__thumb--info,
.n-news__thumb--event,
.n-news__thumb--dekitate{
  --tag-color: var(--band-navy);
}
.n-news__thumb--event{ --tag-color: var(--band-red); }
.n-news__thumb--dekitate{ --tag-color: var(--band-green, #3A6B4C); }
.n-news__thumb--info::before,
.n-news__thumb--event::before,
.n-news__thumb--dekitate::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  background: var(--tag-color);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

@media (max-width: 760px){
  .n-news__pagination{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 96px));
    justify-content: center;
    gap: 14px 12px;
  }
  .n-news__thumb{
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

