/*
Theme Name: Flatsome Child
Theme URI: https://tonarinotshatuyasan.com/
Description: となりのTシャツ屋さん 用の Flatsome 子テーマ。印刷屋（CMYK・トンボ・ステッカー）の見た目。
Author: HIRUandON
Template: flatsome
Version: 1.1.6
Text Domain: flatsome-child
*/

/* ===== 0. 変数・基礎 ===== */
:root{
  --bg:#FFFFFF; --paper:#FBFBFA; --ink:#0E0E10; --fg:#0E0E10; --muted:#5C6066; --hair:#E3E4E6;
  --m:#E5007D; --y:#FFD500; --c:#00A3E0; --k:#0E0E10; --kk:#3A3A3E; --white:#FFFFFF;
  --dela:"Dela Gothic One","Zen Kaku Gothic New",sans-serif;
  --zen:"Zen Kaku Gothic New","Hiragino Sans","Noto Sans JP",sans-serif;
  --cmyk:linear-gradient(90deg,var(--c) 0 25%,var(--m) 25% 50%,var(--y) 50% 75%,var(--k) 75%);
}
html{-webkit-text-size-adjust:100%}
body.tn{background:var(--bg);color:var(--fg);font-family:var(--zen);font-size:16px;line-height:1.75;font-feature-settings:"palt";overflow-x:hidden}
body.tn a{color:var(--c)}
body.tn a:hover{color:var(--m)}
body.tn h1,body.tn h2,body.tn h3,body.tn h4,body.tn .tn-dela,body.tn .product-title,body.tn .section-title span{font-family:var(--dela);font-weight:400;line-height:1.2;text-transform:none;letter-spacing:.01em;color:var(--ink)}
body.tn h1{font-size:34px}
body.tn h2{font-size:28px;margin-bottom:18px}
body.tn h3{font-size:17px;margin-bottom:8px}
body.tn h2 em{font-style:normal;color:var(--m)}
body.tn p{margin:0 0 12px}
body.tn .container{max-width:1112px}
.tn-num,body.tn .amount,body.tn .price{font-variant-numeric:tabular-nums}
.tn-muted{color:var(--muted)}
.tn-small{font-size:13px}
.tn-note{font-size:13px;color:var(--muted);margin-top:10px}
.tn-chk{font-family:var(--zen);font-size:11px;color:var(--m);font-weight:700;white-space:nowrap;background:var(--y);padding:0 4px;vertical-align:middle}
.tn-tag{display:inline-block;font-family:var(--zen);font-size:12px;font-weight:700;letter-spacing:.06em;color:var(--ink);background:var(--y);border:2px solid var(--ink);padding:1px 8px;vertical-align:middle;margin-left:6px}
.tn-kicker{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;letter-spacing:.1em;color:var(--ink);margin-bottom:10px;background:var(--y);padding:2px 10px;border:2px solid var(--ink);font-family:var(--zen)}
.tn-cmyk{display:inline-flex;gap:2px}
.tn-cmyk i{display:block;width:10px;height:6px}
.tn-cmyk i:nth-child(1){background:var(--c)}
.tn-cmyk i:nth-child(2){background:var(--m)}
.tn-cmyk i:nth-child(3){background:var(--y)}
.tn-cmyk i:nth-child(4){background:var(--k)}
.tn-cmykbar{height:4px;background:var(--cmyk)}
.tn-reg{font-family:sans-serif;color:var(--ink);font-size:14px}
.tn-sec{padding:44px 0}
.tn-sec .tn-wrap{max-width:1080px;margin:0 auto}
@media (min-width:760px){body.tn h2{font-size:40px}}
@media (max-width:759px){body.tn h2 em{display:block}}

/* ===== 1. ボタン（Flatsome .button と Gutenberg の両方） ===== */
body.tn .button,body.tn button.button,body.tn input[type=submit].button,body.tn .wp-block-button__link,body.tn .tn-btn,
body.tn .single_add_to_cart_button,body.tn .checkout-button,body.tn .wc-proceed-to-checkout .button,body.tn .woocommerce-form-login .button,body.tn #place_order{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:12px 22px;border-radius:2px!important;
  font-family:var(--dela);font-weight:400;font-size:16px;letter-spacing:.01em;text-transform:none;
  border:3px solid var(--ink);cursor:pointer;line-height:1.3;text-align:center;box-shadow:4px 4px 0 var(--ink);
  transition:transform .08s,box-shadow .08s,background .15s,color .15s;color:var(--ink);background:var(--white);margin:0 0 .5em;min-height:0;height:auto}
body.tn .button:hover,body.tn .wp-block-button__link:hover,body.tn .tn-btn:hover{text-decoration:none;transform:translate(2px,2px);box-shadow:2px 2px 0 var(--ink);opacity:1}
body.tn .button:active,body.tn .tn-btn:active{transform:translate(4px,4px);box-shadow:0 0 0 var(--ink)}
body.tn .button.primary,body.tn .tn-btn-p,body.tn .single_add_to_cart_button,body.tn .checkout-button,body.tn #place_order,body.tn .wp-block-button:not(.is-style-outline) .wp-block-button__link{background:var(--m)!important;color:#fff!important;border-color:var(--ink)!important}
body.tn .button.primary:hover,body.tn .tn-btn-p:hover,body.tn .single_add_to_cart_button:hover,body.tn .checkout-button:hover,body.tn #place_order:hover{background:var(--ink)!important;color:#fff!important}
body.tn .button.is-outline,body.tn .tn-btn-s,body.tn .is-style-outline .wp-block-button__link{background:var(--white)!important;color:var(--ink)!important;border:3px solid var(--ink)!important}
body.tn .button.is-outline:hover,body.tn .tn-btn-s:hover,body.tn .is-style-outline .wp-block-button__link:hover{background:var(--y)!important;color:var(--ink)!important}
body.tn .button.secondary,body.tn .tn-btn-k{background:var(--ink)!important;color:#fff!important}
body.tn .button.secondary:hover,body.tn .tn-btn-k:hover{background:var(--m)!important;color:#fff!important}
body.tn .tn-btn-c{background:var(--c)!important;color:#fff!important}
body.tn .tn-btn-w{width:100%}
body.tn .button.is-link,body.tn .button.is-link:hover{border:0;box-shadow:none;background:transparent!important;color:var(--c)!important;padding:0;transform:none;font-family:var(--zen);font-weight:700;font-size:14px}
body.tn .button.is-link:hover{color:var(--m)!important}
body.tn .button i{display:none}
body.tn .wp-block-buttons{gap:14px}

/* ===== 2. ヘッダー ===== */
body.tn .header-wrapper{background:var(--white)}
body.tn .header-wrapper:after{content:"";display:block;height:4px;background:var(--cmyk)}
body.tn .header-main{background:var(--white)}
body.tn .header-main .header-inner{align-items:center}
body.tn .header-logo,body.tn .header-logo-dark{max-height:56px;width:auto}
body.tn .header-nav-main.nav>li>a{font-family:var(--zen);font-weight:700;font-size:14px;text-transform:none;letter-spacing:0;color:var(--ink)!important;padding:4px 2px;border-bottom:3px solid transparent;line-height:1.4}
body.tn .header-nav-main.nav>li>a:hover,body.tn .header-nav-main.nav>li.current-menu-item>a{color:var(--m)!important;border-bottom-color:var(--m)}
body.tn .nav-divided>li+li>a:before,body.tn .nav-divided>li+li>a:after{display:none}
body.tn .header-nav .nav>li{margin:0 7px}
body.tn .header-nav-main.nav{flex-wrap:nowrap;white-space:nowrap}
body.tn .header-inner .flex-left{flex:1 1 auto}
body.tn .header-nav-main.nav>li>a{font-size:13px!important}
body.tn .header-nav-main.nav>li.account-item>a,body.tn .header-nav-main.nav>li.menu-item>a{font-weight:700}
/* カート：黒縁の板 */
body.tn .header-nav .cart-item>a.header-cart-link{display:inline-flex;align-items:center;gap:6px;color:var(--ink);padding:5px 10px!important;border:3px solid var(--ink);border-radius:2px;background:var(--white);box-shadow:3px 3px 0 var(--ink);line-height:1;margin:0}
body.tn .header-nav .cart-item>a.header-cart-link:hover{background:var(--y);color:var(--ink)}
body.tn .header-cart-title{display:none}
body.tn .header-nav .cart-item .icon-shopping-cart{font-size:18px;margin:0}
body.tn [data-icon-label]:after{background:var(--m);color:#fff;font-family:var(--zen);font-weight:700;border-radius:999px;min-width:20px;height:20px;line-height:20px;font-size:12px;top:-8px;right:-14px;padding:0 4px}
body.tn .header-nav .cart-item.has-dropdown>a:after{display:none}
/* スマホ：ハンバーガーの板 */
body.tn .mobile-nav .nav-icon>a{background:var(--white);border:3px solid var(--ink);border-radius:2px;width:42px;height:38px;display:inline-flex;justify-content:center;align-items:center;box-shadow:3px 3px 0 var(--ink);padding:0;margin:0}
body.tn .mobile-nav .nav-icon>a i{font-size:20px;color:var(--ink)}
body.tn .mobile-nav>li{margin:0}
/* スマホ：オフキャンバスのメニュー */
body.tn .off-canvas .nav-sidebar>li>a{font-family:var(--dela);font-size:16px;color:var(--ink);padding:14px 16px;border-bottom:2px solid var(--ink);text-transform:none;letter-spacing:0}
body.tn .off-canvas .nav-sidebar>li>a:hover{background:var(--y);color:var(--ink)}
body.tn .off-canvas .nav-sidebar>li{border:0}
body.tn .off-canvas-left .mfp-content{border-right:3px solid var(--ink)}
body.tn .off-canvas .nav-sidebar>li.html,body.tn .off-canvas .searchform-wrapper{display:none}

/* ===== 3. トップ ===== */
body.tn .home .section{padding:0}
body.tn section.tn-sec{padding:0!important}
body.tn section.tn-sec>.section-content>.row{padding:0;max-width:1080px}
body.tn section.tn-sec .col{padding:44px 15px}
body.tn section.tn-sec .col-inner{max-width:1080px;margin:0 auto}
body.tn section.tn-hero .col,body.tn section.tn-ticker .col{padding:0 15px}
body.tn section.tn-ticker .col{padding:0}
body.tn section.tn-ticker>.section-content>.row{max-width:none}
body.tn section.tn-ticker .col-inner{max-width:none}
body.tn .section-bg{background:transparent}

/* hero */
body.tn section.tn-hero{background:var(--ink);color:#fff;overflow:hidden;position:relative}
body.tn section.tn-hero:before{content:"";position:absolute;inset:0;background-image:radial-gradient(circle,rgba(229,0,125,.45) 2.2px,transparent 2.8px);background-size:20px 20px;opacity:.55;pointer-events:none;z-index:0}
body.tn section.tn-hero .tn-band{position:absolute;left:-40%;top:38%;width:180%;height:120px;transform:rotate(-24deg);background:linear-gradient(180deg,var(--c) 0 25%,var(--m) 25% 50%,var(--y) 50% 75%,var(--kk) 75%);opacity:.95;pointer-events:none;z-index:0}
.tn-hero-g{position:relative;z-index:1}
body.tn section.tn-hero .section-content{position:relative;z-index:1}
body.tn section.tn-hero .col{padding:36px 15px 44px}
.tn-hero-g{display:grid;gap:36px;align-items:center}
body.tn section.tn-hero h1{font-size:clamp(40px,12vw,84px);line-height:1.05;letter-spacing:.01em;transform:skewX(-6deg);animation:tn-slidein .55s cubic-bezier(.2,.8,.2,1) both;color:#fff;margin:0;display:flex;flex-direction:column;align-items:flex-start;gap:.18em}
body.tn section.tn-hero h1 .w{color:#fff}
body.tn section.tn-hero h1 .m{color:var(--m)}
body.tn section.tn-hero h1 .y{color:var(--y)}
body.tn section.tn-hero h1 .l{display:block}
body.tn section.tn-hero h1 .l span{display:inline-block;background:var(--ink);padding:.02em .15em;line-height:1.05}
@keyframes tn-slidein{from{transform:translateX(-40px) skewX(-6deg)}to{transform:translateX(0) skewX(-6deg)}}
.tn-hero-top{display:flex;align-items:flex-start;flex-direction:column;gap:10px;margin-bottom:14px}
@media (min-width:640px){.tn-hero-top{flex-direction:row;align-items:center;gap:12px}}
.tn-tile{display:inline-block;background:#fff;border:3px solid var(--y);padding:6px 10px;flex:none;line-height:0}
.tn-tile img{height:30px;width:auto;display:inline-block}
.tn-kick{display:inline-block;white-space:nowrap;background:var(--y);color:var(--ink);font-family:var(--zen);font-weight:700;font-size:14px;padding:3px 10px;transform:skewX(-6deg)}
body.tn .tn-lead{font-size:17px;margin:.6em 0 22px;font-weight:500;line-height:1.3;color:#fff;display:flex;flex-direction:column;align-items:flex-start;gap:.35em}
body.tn .tn-lead span{display:inline-block;background:var(--ink);padding:.15em .5em}
body.tn .tn-lead br{display:none}
body.tn .tn-lead b{font-family:var(--dela);font-weight:400;font-size:34px;color:var(--y);line-height:1}
.tn-ctas{display:flex;flex-direction:column;gap:14px}
.tn-ctas .tn-btn{margin:0}
body.tn section.tn-hero .tn-btn{box-shadow:4px 4px 0 var(--y);border-color:var(--y)}
body.tn section.tn-hero .tn-btn:hover{box-shadow:2px 2px 0 var(--y)}
.tn-hero-fig{position:relative;padding:0 16px 16px 0;margin-top:12px}
.tn-hero-img{border:8px solid var(--m);box-shadow:12px 12px 0 var(--y);background:#fff;line-height:0}
.tn-hero-img img{width:100%;height:auto}
.tn-badge{position:absolute;background:var(--y);color:var(--ink);border:3px solid var(--ink);border-radius:999px;font-family:var(--dela);font-size:16px;line-height:1.2;padding:10px 14px;text-align:center;box-shadow:3px 3px 0 var(--ink);white-space:nowrap;z-index:2}
.tn-b1{top:-14px;left:-6px;transform:rotate(-8deg)}
.tn-b2{top:38%;right:-2px;transform:rotate(7deg);background:var(--c);color:#fff}
.tn-b3{bottom:2px;left:6px;transform:rotate(-5deg);background:#fff}
@media (min-width:760px) and (max-width:1023px){body.tn section.tn-hero h1{font-size:clamp(36px,6.4vw,60px)}body.tn .tn-lead b{font-size:34px!important}}
@media (min-width:760px){body.tn section.tn-hero .col{padding:64px 15px 72px}.tn-hero-g{grid-template-columns:1.1fr 1fr;gap:56px}.tn-ctas{flex-direction:row}body.tn .tn-lead{font-size:20px}body.tn .tn-lead b{font-size:44px}.tn-badge{font-size:16px}.tn-b1{top:-18px;left:-24px}.tn-b2{right:-28px}.tn-b3{bottom:10px;left:-18px}body.tn section.tn-hero .tn-band{top:34%}}

/* ticker */
.tn-ticker-box{background:var(--y);border-top:3px solid var(--ink);border-bottom:3px solid var(--ink);overflow:hidden;white-space:nowrap}
.tn-ticker-box .tn-track{display:inline-flex;width:max-content;animation:tn-tick 24s linear infinite}
.tn-ticker-box span{font-family:var(--dela);font-size:18px;color:var(--ink);padding:10px 0;display:inline-block}
.tn-ticker-box span i{font-style:normal;color:var(--m);margin:0 16px}
@keyframes tn-tick{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.tn-ticker-box .tn-track{animation:none}body.tn section.tn-hero h1{animation:none}}

/* steps */
.tn-stepgrid{display:grid;gap:22px}
.tn-step{border:3px solid var(--ink);border-radius:2px;padding:16px 18px 18px;background:#fff;position:relative;box-shadow:6px 6px 0 var(--ink);color:var(--ink)}
.tn-step .tn-n{font-family:var(--dela);color:var(--m);font-size:84px;line-height:.9;margin-bottom:6px;letter-spacing:-.02em}
body.tn .tn-step h3{font-size:20px;margin-bottom:8px}
.tn-step p{margin:0;font-size:14px;color:var(--muted)}
@media (min-width:760px){.tn-stepgrid{grid-template-columns:repeat(4,1fr);gap:18px}}

/* products（ux_products の出力をカードに） */
body.tn section.tn-products .row.large-columns-2{margin:0 -16px}
body.tn section.tn-products .product-small.col{padding:0 16px 30px;margin:0}
body.tn section.tn-products .product-small.box{border:3px solid var(--ink);border-radius:2px;overflow:visible;display:flex;flex-direction:column;box-shadow:8px 8px 0 var(--ink);position:relative;text-align:left;height:100%}
body.tn section.tn-products .post-273 .product-small.box{background:var(--y);color:var(--ink)}
body.tn section.tn-products .post-402 .product-small.box{background:var(--c);color:#fff}
body.tn section.tn-products .product-small.box .box-image{background:#fff;border:3px solid var(--ink);margin:14px 14px 0;border-radius:0}
body.tn section.tn-products .product-small.box .box-text{padding:14px 16px 18px;text-align:left;background:transparent}
body.tn section.tn-products .product-small .title-wrapper .product-title{font-family:var(--dela);font-size:24px;margin:0 0 4px;text-transform:none;letter-spacing:0}
body.tn section.tn-products .product-small .product-title a{color:inherit}
body.tn section.tn-products .product-small .product-title a:after{content:"";position:absolute;inset:0;z-index:3}
body.tn section.tn-products .product-small .category{display:none}
body.tn section.tn-products .product-small .title-wrapper:after{display:block;font-family:var(--zen);font-size:13px;margin-bottom:10px;font-weight:700;opacity:.85}
body.tn section.tn-products .post-273 .title-wrapper:after{content:"5.6oz 定番の厚手 ／ 白・黒 ／ 100〜XXXL・GS/GM/GL"}
body.tn section.tn-products .post-402 .title-wrapper:after{content:"5.6oz 長袖 ／ 白・黒"}
body.tn section.tn-products .product-small .price-wrapper{margin:0}
body.tn section.tn-products .product-small .price{display:block;font-size:14px;color:inherit}
body.tn section.tn-products .product-small .tn-bigprice{display:grid;grid-template-columns:auto 1fr;gap:0 14px;align-items:baseline;font-weight:700}
body.tn section.tn-products .product-small .tn-bp{display:contents}
body.tn section.tn-products .product-small .tn-bp:nth-child(3){display:none}
body.tn section.tn-products .product-small .tn-bigprice b{font-family:var(--dela);font-weight:400;font-size:42px;line-height:1.1;color:inherit}
body.tn section.tn-products .product-small .tn-bigprice b small{font-family:var(--zen);font-weight:700;font-size:16px}
body.tn section.tn-products .product-small .box-text:after{content:"この商品を見る";display:flex;justify-content:center;align-items:center;margin-top:14px;padding:12px 22px;border:3px solid var(--ink);background:var(--ink);color:#fff;font-family:var(--dela);font-size:16px;box-shadow:4px 4px 0 var(--ink);border-radius:2px}
body.tn section.tn-products .product-small.box:hover .box-text:after{background:var(--m)}
body.tn section.tn-products .product-small .box-text:before{position:absolute;top:10px;right:10px;background:var(--m);color:#fff;font-family:var(--dela);font-size:16px;padding:6px 10px;border:3px solid var(--ink);transform:rotate(6deg);z-index:2;line-height:1.2}
body.tn section.tn-products .post-273 .box-text:before{content:"定番"}
body.tn section.tn-products .post-402 .box-text:before{content:"長袖"}
body.tn section.tn-products .product-small .add-to-cart-button,body.tn section.tn-products .product-small .badge-container,body.tn section.tn-products .product-small .image-tools,body.tn section.tn-products .product-small .star-rating{display:none!important}
body.tn section.tn-products .product-small .box-image .image-fade_in_back .back-image{display:none}

/* sheet band */
.tn-sheetband{margin-top:10px;border:3px solid var(--ink);border-radius:2px;padding:18px 16px;background:var(--m);color:#fff;display:grid;gap:12px;box-shadow:8px 8px 0 var(--ink)}
.tn-sheetband .t{font-family:var(--dela);font-size:22px}
.tn-sheetband ul{margin:0;padding-left:18px;font-size:14px;font-weight:500}
.tn-sheetband b{font-family:var(--dela);font-weight:400;font-size:18px;color:var(--y)}
.tn-sheetband .tn-chk{color:var(--ink)}
.tn-sheetband .tn-btn{margin:0}
@media (min-width:760px){.tn-sheetband{grid-template-columns:1fr auto;align-items:center;padding:24px}}

/* dark section */
body.tn section.tn-sec-k{background:var(--ink);color:#fff}
body.tn section.tn-sec-k h2{color:#fff;font-size:32px}
body.tn section.tn-sec-k h2 em{color:var(--m)}
body.tn section.tn-sec-k .tn-note{color:#C8C9CC}
body.tn section.tn-sec-k a{color:var(--y)}
@media (min-width:760px){body.tn section.tn-sec-k h2{font-size:52px}}

/* tables */
.tn-tbl,body.tn .tn-section .wp-block-table table,body.tn .woocommerce-Tabs-panel table{width:100%;border-collapse:collapse;font-size:15px;font-variant-numeric:tabular-nums;border:0;margin:0}
.tn-tbl th,.tn-tbl td,body.tn .tn-section .wp-block-table th,body.tn .tn-section .wp-block-table td,body.tn .woocommerce-Tabs-panel td,body.tn .woocommerce-Tabs-panel th{border:0;border-bottom:2px solid var(--hair);padding:12px 8px;text-align:left;vertical-align:top;line-height:1.5}
.tn-tbl th,body.tn .tn-section .wp-block-table th,body.tn .woocommerce-Tabs-panel th{font-weight:700;color:var(--muted);font-size:13px;white-space:nowrap;background:transparent}
.tn-tbl td.r,.tn-tbl th.r{text-align:right;white-space:nowrap}
.tn-tbl td b{font-family:var(--dela);font-weight:400;font-size:18px}
.tn-tbl thead th,body.tn .tn-section .wp-block-table thead th,body.tn .woocommerce-Tabs-panel thead th{border-bottom:3px solid var(--ink);color:var(--ink)}
.tn-tblwrap,body.tn .tn-section .wp-block-table{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 0 12px}
body.tn section.tn-sec-k .tn-tbl th,body.tn section.tn-sec-k .tn-tbl td{border-bottom-color:var(--y)}
body.tn section.tn-sec-k .tn-tbl th{color:var(--y)}
body.tn section.tn-sec-k .tn-tbl thead th{border-bottom:3px solid var(--y)}
body.tn section.tn-sec-k .tn-tbl td b{font-size:22px}
body.tn .tn-section .wp-block-table table,body.tn .woocommerce-Tabs-panel .tn-size-table table{border:3px solid var(--ink)}
body.tn .tn-section .wp-block-table td,body.tn .tn-section .wp-block-table th{border-right:1px solid var(--hair)}
body.tn .tn-section .wp-block-table tbody td:first-child{font-weight:700}

/* three lines */
.tn-dtf3{display:grid;gap:12px}
.tn-dtf3 .l{display:flex;gap:12px;align-items:flex-start;font-size:17px;font-weight:500;border-left:6px solid var(--c);padding-left:14px}
.tn-dtf3 .l:nth-child(2){border-left-color:var(--m)}
.tn-dtf3 .l:nth-child(3){border-left-color:var(--y)}

/* point list */
.tn-pts{display:grid;gap:16px;margin:0!important;padding:0;list-style:none}
.tn-pts li{border:3px solid var(--ink);border-radius:2px;padding:14px 16px;font-size:14px;background:#fff;box-shadow:5px 5px 0 var(--y);margin:0;color:var(--ink)}
.tn-pts li b{display:block;font-family:var(--dela);font-weight:400;font-size:18px;margin-bottom:4px}
@media (min-width:760px){.tn-pts{grid-template-columns:repeat(2,1fr)}.tn-pts.four{grid-template-columns:repeat(4,1fr)}}

/* FAQ（トップの details と FAQ ページの wp:details） */
.tn-faq details,body.tn .tn-section details.tn-qa{border:0;border-bottom:2px solid var(--hair);padding:0;margin:0}
.tn-faq summary,body.tn .tn-section details.tn-qa summary{cursor:pointer;padding:14px 0;font-weight:700;font-size:16px;list-style:none;display:flex;gap:12px;align-items:center;color:var(--ink)}
.tn-faq summary::-webkit-details-marker,body.tn .tn-section details.tn-qa summary::-webkit-details-marker{display:none}
.tn-faq summary:before,body.tn .tn-section details.tn-qa summary:before{content:"Q";color:var(--ink);background:var(--y);border:3px solid var(--ink);border-radius:50%;width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;font-family:var(--dela);font-size:18px;flex:none;line-height:1}
.tn-faq summary:hover,body.tn .tn-section details.tn-qa summary:hover{color:var(--m)}
.tn-faq details[open] summary:before,body.tn .tn-section details.tn-qa[open] summary:before{background:var(--m);color:#fff}
.tn-faq details p,body.tn .tn-section details.tn-qa p{padding:0 0 16px 48px;margin:0;font-size:15px;color:var(--muted)}

/* お問い合わせの帯（黒地・マゼンタのボタン） */
.tn-contactband{background:var(--ink);color:#fff;border:3px solid var(--ink);border-radius:2px;padding:24px 16px;display:grid;gap:16px;text-align:center;box-shadow:8px 8px 0 var(--y);position:relative;overflow:hidden}
.tn-contactband:before{content:"";position:absolute;inset:0;background-image:radial-gradient(circle,rgba(229,0,125,.35) 2px,transparent 2.6px);background-size:18px 18px;opacity:.6;pointer-events:none}
.tn-contactband>*{position:relative}
.tn-contactband .t{font-family:var(--dela);font-size:30px;line-height:1.15;color:#fff}
.tn-contactband p{color:#C8C9CC;margin:8px 0 0;font-weight:700}
body.tn .tn-contactband .tn-btn{margin:0;box-shadow:4px 4px 0 var(--y);border-color:var(--y)}
@media (min-width:760px){.tn-contactband{grid-template-columns:1fr auto;text-align:left;align-items:center;padding:32px}.tn-contactband .t{font-size:44px}}

/* ===== 4. フッター ===== */
body.tn .footer-wrapper{background:var(--ink);color:#C8C9CC;font-size:14px}
body.tn .footer-wrapper:before{content:"";display:block;height:8px;background:var(--cmyk)}
body.tn .footer-widgets{background:var(--ink);padding:32px 0 10px;border:0}
body.tn .footer-widgets .widget{color:#C8C9CC}
body.tn .footer-widgets .widget-title{display:none}
body.tn .tn-ft-tile{display:inline-block;background:#fff;border:3px solid var(--y);padding:6px 10px;margin-bottom:12px;line-height:0}
body.tn .tn-ft-tile img{height:44px;width:auto;display:inline-block}
body.tn .tn-ft-name{font-family:var(--dela);font-size:22px;color:#fff}
body.tn .footer-widgets .widget_media_image img{border:3px solid var(--y);max-width:560px}
body.tn .absolute-footer{background:var(--ink);color:#C8C9CC;padding:10px 0 40px;font-size:13px}
body.tn .absolute-footer .footer-nav>li>a{color:#fff;font-weight:700;text-transform:none;letter-spacing:0;font-size:14px}
body.tn .absolute-footer .footer-nav>li>a:hover{color:var(--y)}
body.tn .absolute-footer .footer-nav>li+li{border-left:0}
body.tn .absolute-footer .copyright-footer{margin-top:8px}
body.tn .absolute-footer .copyright-footer:after{content:"";display:block;width:46px;height:6px;margin-top:8px;background:var(--cmyk)}
body.tn .absolute-footer .payment-icons svg{fill:#fff;opacity:.6}
body.tn .back-to-top{border:3px solid var(--ink);background:var(--y);color:var(--ink);border-radius:2px;box-shadow:3px 3px 0 var(--ink)}

/* ===== 5. 固定ページ（tshirt/dtf-sheet/flow/guide/faq/law） ===== */
body.tn .page-wrapper{padding-top:0}
body.tn .page .tn-section{padding:22px 0}
body.tn .page .tn-section.tn-intro{padding-top:24px}
body.tn .page .tn-section h1{font-size:34px;line-height:1.15;margin:0 0 6px}
body.tn .page .tn-section h1:after{content:"";display:block;height:8px;width:120px;background:var(--cmyk);margin-top:12px}
body.tn .page .tn-section h2{font-size:28px;margin:0 0 16px;padding-left:14px;border-left:8px solid var(--m)}
body.tn .page .tn-section h2:first-letter{color:var(--m)}
body.tn .page .tn-section h3{font-size:18px;margin:18px 0 8px}
body.tn .page .tn-section h3:before{content:"✚ ";font-family:sans-serif;color:var(--m)}
@media (min-width:760px){body.tn .page .tn-section h1{font-size:56px}body.tn .page .tn-section h2{font-size:40px}}
body.tn .page .tn-intro p{font-size:18px;font-weight:700}
body.tn .page .tn-section ul.wp-block-list,body.tn .page .tn-section ol.wp-block-list{padding-left:22px;margin-bottom:12px}
body.tn .page .tn-section ol.wp-block-list li::marker{font-family:var(--dela);color:var(--m);font-size:20px}
body.tn .page .tn-section .tn-source{font-size:12px;color:var(--muted)}
/* tshirt: 色と印刷面の疑似ボタン */
body.tn .tn-choice{display:inline-block;border:3px solid var(--ink);border-radius:2px;padding:6px 14px;font-size:14px;background:#fff;font-weight:700;box-shadow:3px 3px 0 var(--ink);margin:4px 8px 4px 0}
body.tn .tn-choice:first-of-type{background:var(--m);color:#fff}
body.tn .tn-options p{margin-bottom:14px}
/* gallery */
body.tn .tn-gallery .wp-block-image{border:3px solid var(--ink);background:#fff;padding:6px;box-shadow:6px 6px 0 var(--y)}
body.tn .tn-gallery.wp-block-gallery{gap:20px}
/* guide checklist */
body.tn .tn-check{list-style:none!important;padding:0!important;margin:0!important}
body.tn .tn-check li{display:flex;gap:12px;align-items:flex-start;padding:14px 0;border-bottom:2px solid var(--hair);font-size:15px;margin:0}
body.tn .tn-check li:before{content:"";flex:none;width:22px;height:22px;border:3px solid var(--ink);border-radius:2px;margin-top:3px;background:var(--y)}
body.tn .tn-check li strong{display:block;font-family:var(--dela);font-weight:400;font-size:18px}
body.tn .tn-check li:nth-last-child(3):before{border-color:var(--m);background:#fff}
body.tn .tn-guide .tn-section h2,body.tn .page-id-1353 .tn-section h2{font-size:24px}
/* law */
body.tn .page-id-243 .tn-section h1{font-size:26px}
body.tn .page-id-243 .wp-block-table th{width:180px;color:var(--muted);font-size:13px;background:var(--paper)}
body.tn .page-id-243 .wp-block-table table,body.tn .page-id-1353 .wp-block-table table{border-color:var(--hair)}
/* FAQ page: Q は黄丸（上の共通ルール）、セクション見出しは小さめ */
body.tn .page-id-176 .tn-section h2{font-size:22px;border-left-color:var(--c)}
@media (min-width:760px){body.tn .page-id-176 .tn-section h2{font-size:28px}}
/* dtf-sheet designer block */
body.tn .tn-designer{border:3px solid var(--ink);border-radius:2px;background:var(--y);padding:18px 16px;box-shadow:8px 8px 0 var(--ink)}
body.tn .tn-designer h2{border-left-color:var(--ink)}
body.tn .tn-transfer .wp-block-table th{width:160px}
/* flow steps: tn-step group */
body.tn .page .tn-section.tn-step{border:3px solid var(--ink);border-radius:2px;padding:16px 18px;background:#fff;box-shadow:6px 6px 0 var(--ink);margin-bottom:22px}
body.tn .page .tn-section.tn-step h2{border:0;padding:0;font-size:22px}
body.tn .page .tn-section.tn-step h2:first-letter{font-size:52px;color:var(--m);line-height:1;margin-right:6px}
body.tn .page .tn-section.tn-step p{margin:0;font-size:15px}

/* ===== 6. 商品ページ ===== */
body.tn .single-product .product-main{padding:24px 0 40px}
body.tn .woocommerce-breadcrumb{font-size:13px;color:var(--muted);text-transform:none;letter-spacing:0;font-weight:700}
body.tn .woocommerce-breadcrumb a{color:var(--c)}
body.tn .product-title{font-size:28px;margin:6px 0 10px}
body.tn .product-gallery .product-images{background:#fff;border:3px solid var(--ink);box-shadow:10px 10px 0 var(--y);padding:8px;margin:0 10px 22px 0!important}
body.tn .product-gallery .woocommerce-product-gallery__wrapper{margin:0!important}
body.tn .product-thumbnails .col a{display:block;border:3px solid var(--ink);border-radius:2px;padding:3px;background:#fff}
body.tn .product-thumbnails .col.is-nav-selected a{border-color:var(--m);box-shadow:3px 3px 0 var(--m)}
body.tn .product-thumbnails .col{padding-right:10px}
/* 価格の黒板 */
body.tn .price-wrapper .price,body.tn .woocommerce-variation-price .price{display:block;margin:8px 0 18px;padding:16px;background:var(--ink);color:#fff;border-radius:2px;font-size:13px;line-height:1.3}
body.tn .price-wrapper .price del,body.tn .price-wrapper .price ins{color:#fff}
body.tn .tn-bigprice{display:flex;gap:18px;flex-wrap:wrap}
body.tn .tn-bp{display:block;color:#C8C9CC;font-weight:700;font-size:13px}
body.tn .tn-bp-l{display:block}
body.tn .tn-bigprice b{display:block;font-family:var(--dela);font-weight:400;font-size:40px;color:var(--y);font-variant-numeric:tabular-nums;line-height:1.1}
body.tn .tn-bigprice b small{font-family:var(--zen);font-size:15px;font-weight:700}
body.tn .woocommerce-variation-price .price .amount{font-family:var(--dela);font-size:32px;color:var(--y)}
body.tn .product-short-description{font-size:14px;color:var(--muted)}
body.tn .product-short-description strong{color:var(--ink)}
/* バリエーション */
body.tn table.variations{margin:0 0 8px}
body.tn table.variations td,body.tn table.variations th{border:0;padding:0 0 16px;display:block;width:100%}
body.tn table.variations tr{display:block}
body.tn table.variations th.label label{font-family:var(--zen);font-weight:700;font-size:15px;margin-bottom:8px;display:block;color:var(--ink)}
body.tn table.variations select,body.tn select.tn-select{font-family:var(--zen);font-size:15px;font-weight:700;padding:10px 36px 10px 12px;border:3px solid var(--ink);border-radius:2px;background-color:#fff;color:var(--ink);width:100%;max-width:280px;box-shadow:3px 3px 0 var(--ink);height:auto;line-height:1.3}
body.tn table.variations select:focus{outline:2px solid var(--m);outline-offset:2px}
body.tn .reset_variations{display:inline-block;margin:6px 0 0 0;font-size:12px;color:var(--muted)}
body.tn .quantity{margin-bottom:12px}
body.tn .quantity .input-text.qty,body.tn .quantity .button.is-form{border:3px solid var(--ink);box-shadow:none;height:46px;font-weight:700;background:#fff;color:var(--ink);padding:0 10px;border-radius:2px;margin:0;font-family:var(--zen);transform:none}
body.tn .quantity .button.is-form{width:40px;font-size:18px}
body.tn .quantity .input-text.qty{width:60px;text-align:center;border-left:0;border-right:0}
body.tn .single_add_to_cart_button{width:100%;margin:8px 0 10px;font-size:18px;padding:14px 22px}
body.tn .tn-cart-note{font-size:13px;color:var(--muted)}
/* 入稿プラグイン（tonari-nyuko / tn-nyuko）用の汎用フォーム見た目 */
body.tn .tonari-nyuko,body.tn .tn-nyuko{border:3px solid var(--ink);border-radius:2px;background:#fff;padding:14px 16px;margin:0 0 16px;box-shadow:4px 4px 0 var(--y);font-size:14px;color:var(--ink)}
body.tn .tonari-nyuko__head,body.tn .tn-nyuko__head{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;margin-bottom:10px}
body.tn .tonari-nyuko__title,body.tn .tn-nyuko__title,body.tn .tn-nyuko label.tn-nyuko__label{display:inline-block;font-family:var(--zen);font-weight:700;font-size:15px;background:var(--y);border:2px solid var(--ink);padding:2px 10px}
body.tn .tonari-nyuko__spec,body.tn .tn-nyuko__spec{font-size:12px;color:var(--muted)}
body.tn .tonari-nyuko__choice label,body.tn .tn-nyuko__choice label{display:inline-flex;align-items:center;gap:6px;border:3px solid var(--ink);border-radius:2px;padding:6px 12px;margin:0 8px 8px 0;font-weight:700;background:#fff;box-shadow:3px 3px 0 var(--ink);cursor:pointer}
body.tn .tonari-nyuko__choice label:has(input:checked),body.tn .tn-nyuko__choice label:has(input:checked){background:var(--m);color:#fff}
body.tn .tonari-nyuko input[type=radio],body.tn .tn-nyuko input[type=radio]{margin:0}
body.tn .tonari-nyuko__drop,body.tn .tn-nyuko__drop{display:block;border:3px dashed var(--ink);border-radius:2px;padding:22px 14px;text-align:center;background:var(--paper);cursor:pointer;font-weight:700;margin:6px 0 10px}
body.tn .tonari-nyuko__drop:hover,body.tn .tn-nyuko__drop:hover{background:var(--y)}
body.tn .tonari-nyuko__file,body.tn .tn-nyuko__file{display:none}
body.tn .tonari-nyuko__preview,body.tn .tn-nyuko__preview{display:flex;gap:12px;align-items:flex-start;border:2px solid var(--hair);padding:10px;margin-bottom:8px}
body.tn .tonari-nyuko__thumb,body.tn .tn-nyuko__thumb{width:96px;height:96px;object-fit:contain;border:2px solid var(--ink);background:repeating-conic-gradient(#eee 0 25%,#fff 0 50%) 0 0/16px 16px}
body.tn .tonari-nyuko__warn,body.tn .tn-nyuko__warn{color:var(--m);font-weight:700}
body.tn .tonari-nyuko__progress,body.tn .tn-nyuko__progress{height:10px;border:2px solid var(--ink);background:#fff;margin:6px 0}
body.tn .tonari-nyuko__bar,body.tn .tn-nyuko__bar{height:100%;background:var(--c);width:0}
body.tn .tonari-nyuko__status,body.tn .tn-nyuko__status{font-size:13px;color:var(--muted)}
body.tn .tonari-nyuko__clear,body.tn .tn-nyuko__clear{font-family:var(--zen);font-size:13px;font-weight:700;border:2px solid var(--ink);background:#fff;padding:4px 10px;border-radius:2px;cursor:pointer;margin:4px 0}
body.tn .tonari-nyuko__notice,body.tn .tonari-nyuko__later,body.tn .tn-nyuko__notice{font-size:13px;color:var(--muted);border-left:6px solid var(--c);padding-left:12px;margin-top:8px}
body.tn .tonari-nyuko__line,body.tn .tn-nyuko__line{font-size:13px;color:var(--c);font-weight:700;margin-top:6px}
/* タブと本文 */
body.tn .product-footer{background:#fff;padding-bottom:40px}
body.tn .woocommerce-tabs .nav-pills>li>a{font-family:var(--zen);font-weight:700;font-size:15px;text-transform:none;letter-spacing:0;border:3px solid var(--ink);border-radius:2px;background:#fff!important;color:var(--ink)!important;padding:8px 16px;box-shadow:3px 3px 0 var(--ink);margin:0 10px 10px 0;line-height:1.3;opacity:1}
body.tn .woocommerce-tabs .nav-pills>li>a:before{display:none}
body.tn .woocommerce-tabs .nav-pills>li:not(.active)>a{background:#fff!important;color:var(--ink)!important}
body.tn .woocommerce-tabs .nav-pills>li.active>a,body.tn .woocommerce-tabs .nav-pills>li>a:hover{background:var(--m)!important;color:#fff!important}
body.tn .woocommerce-tabs .tab-panels{padding-top:20px}
body.tn .woocommerce-Tabs-panel .tn-section{padding:12px 0 24px}
body.tn .woocommerce-Tabs-panel .tn-section h2{font-family:var(--dela);font-size:26px;padding-left:14px;border-left:8px solid var(--m);margin-bottom:14px}
@media (min-width:760px){body.tn .woocommerce-Tabs-panel .tn-section h2{font-size:36px}}
body.tn .woocommerce-Tabs-panel .tn-area p{font-size:16px;font-weight:700;border:3px solid var(--ink);padding:14px 16px;box-shadow:6px 6px 0 var(--ink);display:inline-block;background:#fff}
body.tn .woocommerce-Tabs-panel .tn-size-table table{border:3px solid var(--ink)}
body.tn .woocommerce-Tabs-panel .tn-size-table td:not(:first-child),body.tn .woocommerce-Tabs-panel .tn-size-table th:not(:first-child){text-align:right;white-space:nowrap}
body.tn .woocommerce-Tabs-panel .tn-size-table tbody td:first-child{font-weight:700}
body.tn .woocommerce-Tabs-panel .tn-source{font-size:12px;color:var(--muted)}
body.tn .shop_attributes th{width:160px;color:var(--muted);font-size:13px}
body.tn .product-stacked-next-prev-nav,body.tn .next-prev-thumbs{display:none!important}
body.tn .related.products h3,body.tn .product-section-title{font-family:var(--dela);font-size:20px}

/* ===== 7. カート／チェックアウト／マイアカウント：書体とボタンだけ ===== */
body.tn .woocommerce-cart .cart_totals h2,body.tn .woocommerce-checkout h3,body.tn .woocommerce-account h2,body.tn .woocommerce-account h3,body.tn .cart-popup-title h4,body.tn .page-title-inner h1{font-family:var(--dela);text-transform:none;letter-spacing:0}
body.tn .woocommerce-cart .shop_table th{font-family:var(--zen);font-weight:700;color:var(--muted);text-transform:none;letter-spacing:0}
body.tn .woocommerce-cart .shop_table,body.tn .woocommerce-checkout-review-order-table{border:3px solid var(--ink)}
body.tn .form-row input.input-text,body.tn .form-row textarea,body.tn .select2-container .select2-selection--single,body.tn .woocommerce-form-login input.input-text{border:3px solid var(--ink);border-radius:2px;box-shadow:none;height:auto;padding:10px 12px}
body.tn .select2-container .select2-selection--single .select2-selection__rendered{line-height:1.5}
body.tn .woocommerce-cart .coupon .button,body.tn .woocommerce-cart .actions .button{font-size:14px;padding:8px 14px}
body.tn .checkout-button,body.tn #place_order{width:100%;font-size:18px}
body.tn .woocommerce-message,body.tn .woocommerce-info,body.tn .woocommerce-error{border:3px solid var(--ink);border-radius:2px;box-shadow:4px 4px 0 var(--y);background:#fff;color:var(--ink)}
body.tn .page-title{background:var(--paper);border-bottom:3px solid var(--ink)}
body.tn .shop-page-title .page-title-inner{padding:14px 0}
body.tn .nav-dropdown{border:3px solid var(--ink)!important;box-shadow:4px 4px 0 var(--ink)!important;border-radius:2px}
body.tn .nav-dropdown-has-arrow .nav-dropdown:before,body.tn .nav-dropdown-has-arrow .nav-dropdown:after{display:none}
/* デザイナーページ（1243-2 / 420-2）は触らない：ただし共通の h1 は付けない */

/* ===== 8. お問い合わせ（Contact Form 7） ===== */
body.tn .wpcf7 label{display:block;font-family:var(--zen);font-weight:700;font-size:15px;margin-bottom:16px}
body.tn .wpcf7 .wpcf7-form-control-wrap{display:block;margin-top:8px;font-family:var(--zen);font-weight:400}
body.tn .wpcf7 input.wpcf7-text,body.tn .wpcf7 input.wpcf7-email,body.tn .wpcf7 textarea{width:100%;max-width:560px;border:3px solid var(--ink);border-radius:2px;padding:10px 12px;box-shadow:3px 3px 0 var(--ink);font-family:var(--zen);font-size:15px;background:#fff;box-sizing:border-box;height:auto}
body.tn .wpcf7 textarea{min-height:180px}
body.tn .wpcf7 input.wpcf7-submit{background:var(--m)!important;color:#fff!important;border:3px solid var(--ink);border-radius:2px;box-shadow:4px 4px 0 var(--ink);font-family:var(--dela);font-size:16px;padding:12px 28px;cursor:pointer;margin:0}
body.tn .wpcf7 input.wpcf7-submit:hover{background:var(--ink)!important}
body.tn .wpcf7 .wpcf7-response-output{border:3px solid var(--ink);border-radius:2px;box-shadow:4px 4px 0 var(--y);margin:16px 0;padding:12px 16px}
body.tn .wpcf7 .wpcf7-not-valid-tip{color:var(--m);font-weight:700;font-size:13px}

/* ===== 9. チェックアウト：決済方法の選び直しが update_checkout 中の blockUI に飲まれないように ===== */
body.tn #payment .blockUI.blockOverlay{pointer-events:none!important}
body.tn #payment .payment_methods li{border:0;padding:6px 0}
body.tn #payment .payment_methods label{font-weight:700;cursor:pointer}

/* ===== 10. 61 色の色見本（スウォッチ） ===== */
/* 元の select は残す（WC の変動 JS がこれを読む）。目には出さない。 */
body.tn table.variations select.tn-sw-src{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;box-shadow:none;min-width:0;max-width:none}
body.tn .tn-sw-wrap{margin:0}
body.tn .tn-sw-head{font-family:var(--zen);font-weight:700;font-size:15px;line-height:1.5;margin:0 0 8px;display:flex;flex-wrap:wrap;gap:0 10px;align-items:baseline}
body.tn .tn-sw-head b{font-size:17px;color:var(--ink);border-bottom:3px solid var(--y);padding:0 2px}
body.tn .tn-sw-count{font-weight:400;font-size:13px;color:var(--muted)}
body.tn .tn-sw-grid{display:flex;flex-wrap:wrap;gap:8px;max-width:100%;padding:2px}
/* 44px の当たり判定に 30px の丸。指で押せる大きさ（WCAG 2.5.5）。 */
body.tn button.tn-sw{-webkit-appearance:none;appearance:none;display:flex;align-items:center;justify-content:center;
  width:44px;height:44px;min-width:44px;min-height:44px;padding:0;margin:0;border:0;background:none;cursor:pointer;
  border-radius:50%;line-height:0;box-shadow:none;flex:0 0 auto}
body.tn button.tn-sw .tn-sw-dot{display:block;width:30px;height:30px;border-radius:50%;background:var(--tn-c,#ccc);
  border:2px solid rgba(14,14,16,.28);box-sizing:border-box;transition:transform .08s ease}
/* 白系は背景に溶けるので枠線を濃く */
body.tn button.tn-sw.is-light .tn-sw-dot{border-color:var(--ink);border-width:2px}
body.tn button.tn-sw:hover .tn-sw-dot{transform:scale(1.12)}
body.tn button.tn-sw:focus-visible{outline:3px solid var(--c);outline-offset:1px}
body.tn button.tn-sw[aria-checked="true"] .tn-sw-dot,
body.tn button.tn-sw.is-on .tn-sw-dot{border-color:var(--ink);border-width:3px;
  box-shadow:0 0 0 3px #fff,0 0 0 6px var(--m);transform:scale(1.02)}
@media (max-width:549px){
  body.tn .tn-sw-grid{gap:6px}
  body.tn button.tn-sw{width:42px;height:42px;min-width:42px;min-height:42px}
  body.tn button.tn-sw .tn-sw-dot{width:32px;height:32px}
}
@media (prefers-reduced-motion:reduce){
  body.tn button.tn-sw .tn-sw-dot{transition:none}
  body.tn button.tn-sw:hover .tn-sw-dot{transform:none}
}
/* 色見本を出した行は select の幅指定が効かないので、value セルを広く使う */
body.tn table.variations td.value:has(.tn-sw-wrap){display:block;width:100%}
