@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300&family=Jost:wght@200;300;400&display=swap');

/* ▼ 新規追加：目次クリック時に滑らかにスクロールさせる設定 ▼ */
html {
  scroll-behavior: smooth;
}

/* ==============================================================
   リセット＆スコープ化（フォントの全体指定を削除し干渉を防ぐ）
   ============================================================== */
#custom-wrapper-3tshirt {
  background: #fff;
  color: #111;
  overflow-x: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* ==============================================================
   PC / SP 表示切り替えユーティリティ
   ============================================================== */
/* PC表示時の設定：スマホ専用要素（.sp_only）を隠す */
#custom-wrapper-3tshirt .sp_only {
  display: none !important;
}

/* スマホ表示時の設定（768px以下） */
@media (max-width: 768px) {
  /* PC専用要素（.pc_only）を隠す */
  #custom-wrapper-3tshirt .pc_only {
    display: none !important;
  }
  
  /* スマホ専用要素（.sp_only）を表示する */
  #custom-wrapper-3tshirt .sp_only {
    display: block !important;
  }
  
  /* 改行タグ（br）や インライン要素（span）の場合は、自然な表示にするための調整 */
  #custom-wrapper-3tshirt br.sp_only,
  #custom-wrapper-3tshirt span.sp_only {
    display: inline !important;
  }
}

/* =====================
   HEADER BANNER
   ===================== */
#custom-wrapper-3tshirt .header-banner {
  width: 100%;
  position: relative;
  height: 90vh; 
  height: 90svh; 
  overflow: hidden;
}

#custom-wrapper-3tshirt .hero-row {
  display: flex;
  width: 100%;
  height: 100%;
}

#custom-wrapper-3tshirt .hero-col {
  flex: 1;
  position: relative;
  overflow: hidden;
}

#custom-wrapper-3tshirt .hero-col-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

#custom-wrapper-3tshirt .hero-col-slider .slide.active {
  opacity: 1;
}

#custom-wrapper-3tshirt .hero-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* スマホ版ヘッダーの特定の画像（2枚目）を右端基準にする設定 */
#custom-wrapper-3tshirt .hero-col img.align-right {
  object-position: right top;
}

#custom-wrapper-3tshirt .header-title {
  position: absolute;
  top: 50%;
  left: 50%; 
  transform: translate(-50%, -50%); 
  text-align: center; 
  width: 100%; 
  z-index: 10;
  color: #fff;
  pointer-events: none;
}

#custom-wrapper-3tshirt .header-title .en-title {
  font-family: 'EB Garamond', serif;
  font-size: 57px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.3;
  display: block;
  margin-bottom: 12px;
}

#custom-wrapper-3tshirt .header-title .en-title em {
  font-style: italic;
}

#custom-wrapper-3tshirt .header-title .sub {
  font-family: 'Jost', "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

#custom-wrapper-3tshirt .header-vertical-text {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  white-space: nowrap;
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  z-index: 10;
  pointer-events: none;
  font-weight: 600;
}

/* =====================
   TOC (目次) SECTION
   ===================== */
#custom-wrapper-3tshirt .toc-wrapper {
  max-width: 900px;
  margin: 60px auto 0;
  padding: 0 20px;
}

#custom-wrapper-3tshirt .toc-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

#custom-wrapper-3tshirt .toc-list li {
  flex: 1;
  text-align: center;
  position: relative;
}

#custom-wrapper-3tshirt .toc-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 60%;
  width: 1px;
  background-color: #666;
}

#custom-wrapper-3tshirt .toc-list li a {
  display: block;
  padding: 20px 10px;
  text-decoration: none;
  color: #333;
  font-family: 'EB Garamond', serif; 
  font-size: 18px;
  letter-spacing: 0.1em;
  transition: opacity 0.3s ease;
}

#custom-wrapper-3tshirt .toc-list li a:hover {
  opacity: 0.5;
}

/* =====================
   INTRO TEXT
   ===================== */
#custom-wrapper-3tshirt .intro {
  margin: 120px auto;
  padding: 0 20px;
  max-width: 600px;
  text-align: center;
}

#custom-wrapper-3tshirt .intro p {
  font-family: 'Jost', "Zen Kaku Gothic New", sans-serif;
  font-weight: 400; 
  font-size: 14px;
  line-height: 2.4;
  letter-spacing: 0.15em;
  color: #333;
}

/* =====================
   TEXT BLOCK
   ===================== */
#custom-wrapper-3tshirt .text-block {
  margin: 120px auto;
  padding: 0 20px;
  max-width: 600px;
  text-align: left;
}

#custom-wrapper-3tshirt .text-block.center {
  text-align: center;
}

#custom-wrapper-3tshirt .text-block p {
  font-family: 'Jost', "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.12em;
  color: #333;
  margin-bottom: 17px;
}

#custom-wrapper-3tshirt .text-block p:last-child {
  margin-bottom: 0;
}

#custom-wrapper-3tshirt .text-block .sub-heading {
  font-family: 'EB Garamond', "Zen Old Mincho", serif;
  font-size: 20px;
  font-weight: 400;
  color: #111;
  margin-bottom: 50px;
}

#custom-wrapper-3tshirt .text-block .note {
  font-family: 'EB Garamond', "Zen Old Mincho", serif;
  font-weight: 400;
  font-size: 11px;
  color: #666;
  line-height: 1.6;
}

/* =====================
   CONTENT SECTIONS
   ===================== */
#custom-wrapper-3tshirt .content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

#custom-wrapper-3tshirt .section {
  margin: 120px 0;
}

@media (min-width: 769px) {
  #custom-wrapper-3tshirt .sp-only-slide,
  #custom-wrapper-3tshirt .sp-only-dot {
    display: none !important;
  }
}

/* --- Single full-width image --- */
#custom-wrapper-3tshirt .single-img {
  width: 100%;
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

#custom-wrapper-3tshirt .single-img::before {
  content: '';
  display: block;
  padding-bottom: 60%; 
}

#custom-wrapper-3tshirt .single-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* ==============================================
   FEATURE SECTION (MERINO WOOL / HIGH TWIST 等の共通スタイル)
   ============================================== */
#custom-wrapper-3tshirt .feature-section {
  margin: 120px 0;
}

/* メイン画像スライダー */
#custom-wrapper-3tshirt .feature-img-wrap {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 10px;
  overflow: hidden;
}
#custom-wrapper-3tshirt .feature-img-wrap::before {
  content: '';
  display: block;
  padding-bottom: 90%; 
}

#custom-wrapper-3tshirt .feature-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

#custom-wrapper-3tshirt .feature-img-wrap .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
#custom-wrapper-3tshirt .feature-img-wrap .slide.active {
  opacity: 1;
}

/* 横並びのサブ画像 */
#custom-wrapper-3tshirt .feature-sub-imgs {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 3%; 
}
#custom-wrapper-3tshirt .feature-sub-imgs .sub-img {
  flex: 1;
  position: relative;
  overflow: hidden;
}
#custom-wrapper-3tshirt .feature-sub-imgs .sub-img::before {
  content: '';
  display: block;
  padding-bottom: 150%; 
}
#custom-wrapper-3tshirt .feature-sub-imgs .sub-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* スライダー用ドット */
#custom-wrapper-3tshirt .slider-dots {
  position: absolute;
  bottom: 16px; 
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px; 
  z-index: 10;
  pointer-events: none; 
}

#custom-wrapper-3tshirt .slider-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4); 
  box-shadow: 0 1px 3px rgba(0,0,0,0.2); 
  transition: background-color 0.4s ease;
}

#custom-wrapper-3tshirt .slider-dots .dot.active {
  background-color: #fff; 
}


/* =====================
   PRODUCT LIST (PC向け・罫線追加・縦並び)
   ===================== */
#custom-wrapper-3tshirt .product-list {
  display: flex;
  flex-direction: column; 
  align-items: flex-end;  
  gap: 0;                 
  width: 100%;
  max-width: 900px;       
  margin: 0 auto 60px;
}

#custom-wrapper-3tshirt .product-item {
  display: flex;
  align-items: center;    
  padding: 16px 10px;     
  border-bottom: 1px solid #9e9e9e; 
  width: 100%;
  max-width: 420px;       
  text-decoration: none;
  font-family: 'EB Garamond', "Zen Old Mincho", serif;
  transition: background-color 0.3s ease;
}



#custom-wrapper-3tshirt .product-item:hover {
  text-decoration: none;
  opacity: 0.7;
}

/* 文字の開始位置（縦のライン）を綺麗に揃えるための幅固定 */
#custom-wrapper-3tshirt .product-item .name {
  font-size: 15px;
  letter-spacing: 0.15em;
  color: #111;
  font-weight: 400;
  font-family: inherit; 
  width: 70px; 
}

#custom-wrapper-3tshirt .product-item .item-number {
  font-size: 15px;
  letter-spacing: 0.08em;
  color: #111 !important;
  font-family: inherit;
  font-weight: 400;
  width: 110px; 
}

#custom-wrapper-3tshirt .product-item .price {
  font-size: 15px;
  letter-spacing: 0.08em;
  color: #111 !important;
  font-family: inherit;
  font-weight: 400;
  margin-left: auto; 
  text-align: right;
}


/* ▼ タイトル部分 ▼ */
#custom-wrapper-3tshirt .feature-header {
text-align: center;
  margin: 5% auto;
}
#custom-wrapper-3tshirt .feature-header .title-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}
#custom-wrapper-3tshirt .feature-header .main-title {
  display: flex;
  align-items: baseline;
  gap: 15px;
}
#custom-wrapper-3tshirt .feature-header .num {
  font-family: 'EB Garamond', serif;
  font-size: 40px;
  color: #333;
  line-height: 1;
}
#custom-wrapper-3tshirt .feature-header .title {
  font-family: 'EB Garamond', serif;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #333;
  margin: 0;
}
#custom-wrapper-3tshirt .feature-header .sub-title {
  font-family: 'EB Garamond', "Zen Old Mincho", serif;
  font-size: 15px;
  color: #555;
  margin-top: 12px;
  letter-spacing: 0.15em;
  font-weight: 400;
}

/* セクション間の罫線 */
#custom-wrapper-3tshirt .feature-divider {
  width: 20%;
  height: 1px;
  background-color: #9e9e9e;
  border: none;
  margin: 60px auto;
}

/* 説明グリッド (2x2) */
#custom-wrapper-3tshirt .feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 40px;
  margin: 0 auto; 
  max-width: 800px;
  padding: 0 20px;
}
#custom-wrapper-3tshirt .grid-item {
  text-align: left;
}
#custom-wrapper-3tshirt .grid-item .en-head {
  font-family: 'EB Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  color: #333;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

#custom-wrapper-3tshirt .grid-item .ja-head {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  margin-bottom: 10px;
  letter-spacing: 0.1em;
}

#custom-wrapper-3tshirt .grid-item .desc {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 12px;
  line-height: 1.8;
  color: #444;
  letter-spacing: 0.08em;
  margin: 0;
}

/* コメント部分 */
#custom-wrapper-3tshirt .feature-comment {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}
#custom-wrapper-3tshirt .feature-comment .comment-title {
  font-family: 'EB Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  color: #333;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
#custom-wrapper-3tshirt .feature-comment .comment-text {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 14px;
  line-height: 2;
  color: #444;
  letter-spacing: 0.08em;
  text-align: left;
  display: inline-block;
  padding: 2% 0; 
}

/* =====================
   FOOTER BUTTONS
   ===================== */
#custom-wrapper-3tshirt .footer-btns {
  margin: 80px auto 150px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

#custom-wrapper-3tshirt .btn {
  display: block;
  width: 100%;
  max-width: 560px;
  padding: 18px 20px;
  text-align: center;
font-family: 'EB Garamond', "Zen Old Mincho", serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.2em;
  transition: background 0.3s, color 0.3s;
  border: 1px solid #333;
  background: transparent;
  color: #333;
  text-decoration: none; 
}

#custom-wrapper-3tshirt .btn:hover {
  opacity: 0.7;
  text-decoration: none; 
}

/* =====================
   SCROLL FADE-IN ANIMATION
   ===================== */
#custom-wrapper-3tshirt .fade-in {
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

#custom-wrapper-3tshirt .fade-in.is-visible {
  opacity: 1;
}

/* =====================
   CARE GUIDE SECTION
   ===================== */
#custom-wrapper-3tshirt .care-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 20px;
  margin: 60px auto 60px;
  max-width: 1000px;
  padding: 0 20px;
}

#custom-wrapper-3tshirt .care-item {
  text-align: center;
  padding: 40px 20px;
  border: 1px solid #e0e0e0; 
  background: #fff;
}

#custom-wrapper-3tshirt .care-item .care-num {
  display: block;
  font-family: 'EB Garamond', serif;
  font-size: 36px;
  color: #333;
  margin-bottom: 20px;
  line-height: 1;
}

#custom-wrapper-3tshirt .care-item .ja-head {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  letter-spacing: 0.05em;
}

#custom-wrapper-3tshirt .care-item .desc {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 12px;
  line-height: 1.8;
  color: #444;
  letter-spacing: 0.08em;
  margin: 0;
  text-align: left;
}

#custom-wrapper-3tshirt .care-note {
  max-width: 545px;
  margin: 0 auto 120px;
  text-align: left;
  background-color: #e1e1e187;
  padding: 30px;
}

#custom-wrapper-3tshirt .care-note p {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 14px;
  line-height: 2;
  color: #333;
  margin: 0;
  letter-spacing: 0.08em;
  margin: 2% 0;
}

#custom-wrapper-3tshirt .care-note p strong {
  font-weight: 600;
  color: #333;
}

/* =====================
   RESPONSIVE — MOBILE
   ===================== */
@media (max-width: 768px) {
  #custom-wrapper-3tshirt .pc-only-img {
    display: none !important;
  }

  #custom-wrapper-3tshirt .hero-row {
    flex-direction: column;
  }
  #custom-wrapper-3tshirt .hero-col-right {
    display: none;
  }
  
  #custom-wrapper-3tshirt .header-title {
    left: 50%; 
  }
  
  #custom-wrapper-3tshirt .header-title .en-title {
    font-size: 30px;
  }

  #custom-wrapper-3tshirt .header-title .sub {
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
  }
    
  #custom-wrapper-3tshirt .header-vertical-text {
    right: 20px;
    font-size: 10px;
  }

  /* ▼ 目次をスマホで「雑誌のインデックス（メニュー）風」に変更 ▼ */
  #custom-wrapper-3tshirt .toc-wrapper {
    margin: 50px auto 0;
    padding: 0 33px;
  }

  #custom-wrapper-3tshirt .toc-list {
    flex-direction: column;
    padding: 1% 0;
  }

  #custom-wrapper-3tshirt .toc-list li {
    width: 100%;
    position: relative;
  }

  /* 以前のセンタリング用の線を消去 */
  #custom-wrapper-3tshirt .toc-list li:not(:last-child)::after {
    display: none;
  }

  /* 項目の間に薄いグレーの線を引く */
  #custom-wrapper-3tshirt .toc-list li:not(:last-child) {
    border-bottom: 1px solid #e0e0e0;
  }

  #custom-wrapper-3tshirt .toc-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    padding: 20px 10px;
    letter-spacing: 0.1em;
    text-align: left; /* 左揃えにして安定感を出す */
  }

  /* 右側に上品な矢印（>）をCSSで描画して追加 */
  #custom-wrapper-3tshirt .toc-list li a::after {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    transform: rotate(45deg);
    margin-right: 5px;
  }
  
  #custom-wrapper-3tshirt .intro, 
  #custom-wrapper-3tshirt .section, 
  #custom-wrapper-3tshirt .footer-btns {
    margin: 70px auto; 
  }

  /* スマホ版の product-list の調整 */
  #custom-wrapper-3tshirt .product-list {
    flex-direction: column;
    align-items: flex-end; 
    gap: 0;
    width: 100%;
    margin-bottom: 60px;
    padding-right: 15px; 
  }

  #custom-wrapper-3tshirt .product-item {
    padding: 14px 5px;
    max-width: 245px;
  }

  #custom-wrapper-3tshirt .product-item .name {
    font-size: 13px; 
    width: 55px; 
  }

  #custom-wrapper-3tshirt .product-item .item-number {
    font-size: 13px;
    width: 90px; 
  }

  #custom-wrapper-3tshirt .product-item .price {
    font-size: 13px;
  }

  /* feature-section スマホ対応 */
  #custom-wrapper-3tshirt .feature-img-wrap {
    margin-bottom: 15px; 
  }
  #custom-wrapper-3tshirt .feature-img-wrap::before {
    padding-bottom: 90%; 
  }

  #custom-wrapper-3tshirt .feature-sub-imgs {
    gap: 15px; 
    margin-bottom: 40px;
  }
    
  /* タイトル部分（スマホ対応） */
  #custom-wrapper-3tshirt .feature-header {
    margin: 40px 0;
  }
    
  #custom-wrapper-3tshirt .feature-header .main-title {
    flex-direction: column;
    align-items: center;    
    gap: 10px;
  }
  #custom-wrapper-3tshirt .feature-header .num {
    font-size: 32px;
  }
  #custom-wrapper-3tshirt .feature-header .title {
    font-size: 23px;
  }
  #custom-wrapper-3tshirt .feature-header .sub-title {
    font-size: 14px;
    margin-top: 8px;
  }
  
  #custom-wrapper-3tshirt .feature-divider {
    margin: 40px auto; 
    width: 50%;
  }

  #custom-wrapper-3tshirt .feature-grid {
    grid-template-columns: 1fr; 
    gap: 20px;
    margin-bottom: 0; 
  }
    
  /* スマホでの text-block（序文・その他）の調整 */
  #custom-wrapper-3tshirt .text-block {
    margin: 90px auto 70px auto; 
  }

  #custom-wrapper-3tshirt .text-block .sub-heading {
    font-family: 'EB Garamond', "Zen Old Mincho", serif;
    font-size: 20px;
    font-weight: 400;
    color: #111;
    margin-bottom: 50px;
  }

  #custom-wrapper-3tshirt .text-block .note {
    font-family: 'EB Garamond', "Zen Old Mincho", serif;
    font-weight: 400;
    font-size: 11px;
    color: #666;
    line-height: 1.6;
  }
      
  #custom-wrapper-3tshirt .text-block.center {
    text-align: left;
    padding: 0 35px;
  }
      
  #custom-wrapper-3tshirt .text-block.center p,
  #custom-wrapper-3tshirt .text-block.center .sub-heading {
    text-align: left;
    line-height: 2;
  }

  #custom-wrapper-3tshirt .text-block:not(.center) p {
    text-align: center;
  }
      
  #custom-wrapper-3tshirt .grid-item .en-head {
    font-size: 22px;
    margin-bottom: 3px;
  }
      
  #custom-wrapper-3tshirt .grid-item .ja-head {
    margin-bottom: 3px;
    font-size: 13px;
  }
    
  /* CARE GUIDE スマホ対応 */
  #custom-wrapper-3tshirt .care-grid {
    grid-template-columns: repeat(2, 1fr); 
    gap: 15px;
    margin-bottom: 40px;
      padding: 0px 10px;
  }
  #custom-wrapper-3tshirt .care-item {
    padding: 25px 15px;
  }
  #custom-wrapper-3tshirt .care-item .care-num {
    font-size: 28px;
    margin-bottom: 12px;
  }
  #custom-wrapper-3tshirt .care-item .ja-head {
    font-size: 13px;
    letter-spacing: 0.02em;
  }
  #custom-wrapper-3tshirt .care-item .desc {
    font-size: 11px;
  }
  #custom-wrapper-3tshirt .care-note {
    padding: 20px;
    margin: 0 10px 80px;
  }
  #custom-wrapper-3tshirt .care-note p {
    font-size: 12px;
    text-align: left;
    margin: 5% 0;
  }
    
#custom-wrapper-3tshirt .btn {
  width: 90%;
    }
}