/* VTT Brand Kit — 上質・控えめ・日本語優先
   Palette: cream #F7F1E8 / ivory #FBF8F2 / burgundy #5B1A2A / gold #B08D57 / ink #2A2220 */
:root{
  --vtt-cream:#F7F1E8; --vtt-ivory:#FBF8F2; --vtt-burgundy:#5B1A2A; --vtt-burgundy-2:#7A2B3D;
  --vtt-gold:#B08D57; --vtt-gold-text:#7A5C2B; --vtt-ink:#2A2220; --vtt-muted:#6E625C; --vtt-line:rgba(91,26,42,.14);
  --vtt-serif:"Shippori Mincho","Hiragino Mincho ProN","Yu Mincho","Noto Serif JP",serif;
  --vtt-sans:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",system-ui,sans-serif;
  --vtt-latin:"Cormorant Garamond","Times New Roman",serif;
  --vtt-wrap:min(1120px,calc(100vw - 48px));
}
body.vtt-brand{font-family:var(--vtt-sans);letter-spacing:.02em;-webkit-font-smoothing:antialiased}
body.vtt-brand.vtt-light{background:var(--vtt-ivory)!important;color:var(--vtt-ink)}
body.vtt-brand h1,body.vtt-brand h2,body.vtt-brand h3,body.vtt-brand h4,body.vtt-brand .wp-block-site-title{font-family:var(--vtt-serif);font-weight:500;letter-spacing:.06em;line-height:1.55}
body.vtt-brand .wp-block-site-title a{font-family:var(--vtt-latin);font-weight:600;letter-spacing:.14em;text-transform:uppercase;font-size:1.05rem}

/* 既存の法令バー：細く、控えめに */
.vtt-legal-notice{background:var(--vtt-burgundy)!important;color:#F3E9DC!important;font-size:12px!important;letter-spacing:.06em;line-height:1.6;padding:6px 16px!important;text-align:center}
.vtt-legal-notice strong{color:#E7D2A8;font-weight:500;margin-right:.6em}

/* 共通部品 */
.vtt-latin{font-family:var(--vtt-latin);font-style:italic;font-weight:500;letter-spacing:.04em}
.vtt-eyebrow{font-family:var(--vtt-latin);font-size:.9rem;font-weight:600;letter-spacing:.3em;text-transform:uppercase;color:var(--vtt-gold-text);margin:0 0 1rem}
.vtt-btn{display:inline-block;background:var(--vtt-burgundy);color:#fff!important;text-decoration:none!important;font-family:var(--vtt-serif);letter-spacing:.14em;font-size:.95rem;padding:.95em 2.2em;border:1px solid var(--vtt-burgundy);border-radius:0;transition:background .3s,color .3s;cursor:pointer}
.vtt-btn:hover{background:var(--vtt-burgundy-2);border-color:var(--vtt-burgundy-2)}
.vtt-btn--ghost{background:transparent;color:var(--vtt-burgundy)!important}
.vtt-btn--ghost:hover{background:var(--vtt-burgundy);color:#fff!important}
.vtt-actions,.vtt-hero__actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:2rem}
.vtt-small{font-size:.8rem;color:var(--vtt-muted);line-height:1.8}
.vtt-center{text-align:center}
.vtt-age-notice{text-align:center;font-size:.85rem;color:var(--vtt-muted);margin:2.5rem 0 0;letter-spacing:.08em}
.vtt-site-age-notice{background:var(--vtt-ink);color:#EFE6DC;text-align:center;font-size:12px;letter-spacing:.08em;padding:14px 20px;line-height:1.8}
.vtt-site-age-notice span{display:block;color:#CDBFB2;font-size:11px}

/* トップページ：ヒーロー */
.vtt-hero{position:relative;background:var(--vtt-cream);overflow:hidden;border-bottom:1px solid var(--vtt-line)}
.vtt-hero__media{position:absolute;inset:0}
.vtt-hero__media img{width:100%;height:100%;object-fit:cover;opacity:.22;filter:saturate(.7)}
.vtt-hero__inner{position:relative;width:var(--vtt-wrap);margin:0 auto;display:grid;grid-template-columns:1.25fr .75fr;align-items:center;gap:48px;padding:clamp(64px,9vw,128px) 0}
.vtt-hero__title{font-size:clamp(1.7rem,3.2vw,2.6rem);color:var(--vtt-ink);margin:0}
.vtt-hero__title .vtt-latin,.vtt-display .vtt-latin,.vtt-feature-alegria h2 .vtt-latin{display:block;font-size:1.55em;color:var(--vtt-burgundy);line-height:1.15;margin-bottom:.4em;letter-spacing:.02em}
.vtt-hero__lead{margin-top:1.6rem;color:var(--vtt-muted);font-size:1rem}
.vtt-hero__bottle img{display:block;width:100%;max-width:300px;height:auto;margin:0 auto;filter:drop-shadow(0 24px 30px rgba(42,34,32,.18))}

/* 既存の商品帯・商品カード（子テーマのダーク配色）はそのまま。BRUT のみ控えめに */
.vtt-card--quiet img{opacity:.7}
.vtt-low-stock{font-size:.85rem}

/* 固定ページ共通 */
.vtt-page{color:var(--vtt-ink)}
.vtt-page img{display:block;width:100%;height:auto}
.vtt-section{width:var(--vtt-wrap);margin:clamp(64px,9vw,120px) auto}
.vtt-page h2{font-size:clamp(1.35rem,2.4vw,1.9rem);margin:0 0 1.4rem;color:var(--vtt-ink)}
.vtt-page h3{font-size:1.1rem;margin:.4rem 0 .8rem}
.vtt-page p{margin:0 0 1.2rem}
.vtt-display{font-size:clamp(1.5rem,3vw,2.3rem);margin:0}

/* ワイナリーの物語 */
.vtt-cover{position:relative;min-height:min(78vh,760px);display:flex;align-items:flex-end;color:#fff;overflow:hidden}
.vtt-cover__img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover}
.vtt-cover::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,12,10,.05) 30%,rgba(20,12,10,.62))}
.vtt-cover__text{position:relative;z-index:1;width:var(--vtt-wrap);margin:0 auto;padding:0 0 clamp(48px,7vw,96px)}
.vtt-cover .vtt-eyebrow{color:#E7D2A8}
.vtt-cover .vtt-display{color:#fff}
.vtt-cover .vtt-display .vtt-latin{color:#fff}
.vtt-cover__lead{font-family:var(--vtt-serif);font-size:clamp(1rem,1.6vw,1.2rem);letter-spacing:.12em;margin-top:1.2rem}
.vtt-intro{max-width:720px;text-align:center}
.vtt-motto{font-size:clamp(1.6rem,3vw,2.4rem);color:var(--vtt-burgundy);margin-bottom:2rem!important}
.vtt-split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,6vw,88px);align-items:center}
.vtt-split--reverse .vtt-split__media{order:2}
.vtt-split__media img{aspect-ratio:4/5;object-fit:cover}
.vtt-timeline ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--vtt-line)}
.vtt-timeline li{padding:28px 20px 0 0;font-size:.92rem;color:var(--vtt-muted);border-right:1px solid var(--vtt-line);padding-left:20px}
.vtt-timeline li:last-child{border-right:0}
.vtt-timeline .vtt-latin{display:block;font-size:2.2rem;color:var(--vtt-burgundy);font-style:normal;margin-bottom:.4rem}
.vtt-gallery{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:16px}
.vtt-gallery figure{margin:0}
.vtt-gallery img{height:clamp(240px,34vw,460px);object-fit:cover}
.vtt-accolade{max-width:720px;text-align:center;padding:56px 32px;border-top:1px solid var(--vtt-gold);border-bottom:1px solid var(--vtt-gold)}
.vtt-accolade__score{margin:0!important}
.vtt-accolade__score .vtt-latin{font-size:4.5rem;color:var(--vtt-burgundy);font-style:normal;line-height:1}
.vtt-accolade__score small{font-family:var(--vtt-latin);letter-spacing:.3em;text-transform:uppercase;color:var(--vtt-gold-text);margin-left:.6em}
.vtt-feature-alegria{display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(32px,6vw,88px);align-items:center;background:var(--vtt-cream);padding:clamp(40px,6vw,80px)}
.vtt-feature-alegria__bottle img{max-width:280px;margin:0 auto;filter:drop-shadow(0 24px 30px rgba(42,34,32,.18))}
.vtt-closing{text-align:center;max-width:720px}

/* アレグリア業務用ページ */
.vtt-landing-hero{background:var(--vtt-cream);display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:40px;padding:clamp(56px,8vw,112px) max(24px,calc((100vw - 1120px)/2))}
.vtt-landing-hero__lead{color:var(--vtt-muted);margin-top:1.4rem!important}
.vtt-landing-hero__bottle img{max-width:300px;margin:0 auto;filter:drop-shadow(0 24px 30px rgba(42,34,32,.18))}
.vtt-points__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;margin-top:3rem}
.vtt-points__num{font-size:1.9rem;color:var(--vtt-gold-text);margin:0!important;font-style:normal}
.vtt-points__grid p{color:var(--vtt-muted);font-size:.95rem}
.vtt-list{list-style:none;padding:0;margin:0}
.vtt-list li{padding:.8rem 0;border-bottom:1px solid var(--vtt-line)}
.vtt-list li::before{content:"—";color:var(--vtt-gold);margin-right:.8em}
.vtt-specs{max-width:760px}
.vtt-specs__list{margin:2rem 0 0;border-top:1px solid var(--vtt-line)}
.vtt-specs__list div{display:grid;grid-template-columns:9em 1fr;padding:1rem 0;border-bottom:1px solid var(--vtt-line)}
.vtt-specs__list dt{color:var(--vtt-muted);font-size:.9rem}
.vtt-specs__list dd{margin:0}
.vtt-offer__card{max-width:820px;margin:0 auto;background:#fff;border:1px solid var(--vtt-line);padding:clamp(32px,5vw,64px);position:relative}
.vtt-offer__card::before{content:"";position:absolute;inset:8px;border:1px solid rgba(176,141,87,.35);pointer-events:none}
.vtt-steps{list-style:none;counter-reset:s;padding:0;margin:2rem 0}
.vtt-steps li{counter-increment:s;position:relative;padding:0 0 1.6rem 3.4rem}
.vtt-steps li::before{content:counter(s);position:absolute;left:0;top:-.1rem;width:2.2rem;height:2.2rem;border:1px solid var(--vtt-gold);color:var(--vtt-gold-text);font-family:var(--vtt-latin);display:flex;align-items:center;justify-content:center;font-size:1.1rem}
.vtt-steps strong{display:block;font-family:var(--vtt-serif);font-weight:500;font-size:1.05rem;margin-bottom:.3rem}
.vtt-steps span{display:block;color:var(--vtt-muted);font-size:.92rem}
.vtt-steps .vtt-offer__price,.vtt-offer__price .vtt-price-text{font-family:var(--vtt-serif);color:var(--vtt-burgundy)!important;font-size:1.4rem;letter-spacing:.06em}

/* お問い合わせフォーム */
.vtt-inquiry{max-width:820px}
.vtt-form{margin-top:2.5rem}
.vtt-form__grid{display:grid;grid-template-columns:1fr 1fr;gap:0 28px}
.vtt-form label{display:block;font-size:.88rem;margin-bottom:.4rem;letter-spacing:.06em}
.vtt-form label em{font-style:normal;font-size:.72rem;color:var(--vtt-burgundy);border:1px solid var(--vtt-line);padding:0 .5em;margin-left:.4em}
.vtt-form label span{font-size:.72rem;color:var(--vtt-muted);margin-left:.4em}
.vtt-form input[type=text],.vtt-form input:not([type]),.vtt-form input[type=email],.vtt-form input[type=tel],.vtt-form select,.vtt-form textarea{width:100%;box-sizing:border-box;border:1px solid rgba(42,34,32,.22);background:#fff;padding:.8em .9em;font:inherit;border-radius:0}
.vtt-form input:focus,.vtt-form select:focus,.vtt-form textarea:focus{outline:none;border-color:var(--vtt-burgundy);box-shadow:0 0 0 3px rgba(91,26,42,.08)}
.vtt-form__choices{border:0;padding:0;margin:0 0 1.2rem}
.vtt-form__choices legend{font-size:.88rem;margin-bottom:.6rem}
.vtt-form__choices label{display:flex;gap:.6em;align-items:center;font-size:.95rem;margin:.3rem 0}
.vtt-form__consent label{display:flex;gap:.6em;align-items:flex-start;font-size:.9rem}
.vtt-form__consent input{margin-top:.45em}
.vtt-form__note{font-size:.8rem;color:var(--vtt-muted)}
.vtt-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.vtt-form-notice{padding:1em 1.2em;margin:1.5rem 0;border-left:3px solid var(--vtt-gold);background:var(--vtt-cream)}
.vtt-form-notice--err{border-color:var(--vtt-burgundy)}

/* ページタイトル（テーマ側）を隠す：独自の見出しを持つページのみ */
body.vtt-brand.page-template-default .vtt-page{margin-top:0}

@media (max-width:860px){
  .vtt-hero__inner,.vtt-landing-hero,.vtt-split,.vtt-feature-alegria{grid-template-columns:1fr}
  .vtt-hero__bottle img,.vtt-landing-hero__bottle img{max-width:190px}
  .vtt-hero__bottle,.vtt-landing-hero__bottle{order:-1}
  .vtt-split--reverse .vtt-split__media{order:0}
  .vtt-split__media img{aspect-ratio:4/3}
  .vtt-timeline ol{grid-template-columns:1fr 1fr}
  .vtt-timeline li{border-right:0;padding:20px 12px 20px 0;border-bottom:1px solid var(--vtt-line)}
  .vtt-gallery{grid-template-columns:1fr 1fr}
  .vtt-gallery figure:first-child{grid-column:1/-1}
  .vtt-gallery img{height:200px}
  .vtt-gallery figure:first-child img{height:240px}
  .vtt-points__grid,.vtt-form__grid{grid-template-columns:1fr}
  .vtt-specs__list div{grid-template-columns:7em 1fr}
  .vtt-feature-alegria__bottle img{max-width:180px}
}

/* ===== 1.0.1: header, links, empty title band ===== */
/* Header: cream, dark text, gold rule (all pages) */
body.vtt-brand header.wp-block-template-part{background:var(--vtt-cream);border-bottom:1px solid rgba(176,141,87,.55);position:relative;z-index:10}
body.vtt-brand header.wp-block-template-part #header{padding-top:18px!important;padding-bottom:18px!important}
body.vtt-brand header.wp-block-template-part .wp-block-site-title,
body.vtt-brand header.wp-block-template-part .wp-block-site-title a{color:var(--vtt-burgundy)!important;margin:0}
body.vtt-brand header.wp-block-template-part .wp-block-site-title a{font-family:var(--vtt-latin)!important;font-weight:600;letter-spacing:.16em;text-transform:uppercase;font-size:clamp(1.05rem,1.6vw,1.35rem)}
body.vtt-brand header.wp-block-template-part .wp-block-navigation,
body.vtt-brand header.wp-block-template-part .wp-block-navigation .has-base-color,
body.vtt-brand header.wp-block-template-part .wp-block-navigation a,
body.vtt-brand header.wp-block-template-part .wp-block-navigation-item__label{color:var(--vtt-ink)!important}
body.vtt-brand header.wp-block-template-part .wp-block-navigation a{font-family:var(--vtt-serif)!important;letter-spacing:.14em;font-size:.95rem;text-decoration:none!important;padding:.3em 0;border-bottom:1px solid transparent;transition:border-color .25s,color .25s}
body.vtt-brand header.wp-block-template-part .wp-block-navigation a:hover,
body.vtt-brand header.wp-block-template-part .wp-block-navigation .current-menu-item > a,
body.vtt-brand header.wp-block-template-part .wp-block-navigation a[aria-current="page"]{color:var(--vtt-burgundy)!important;border-bottom-color:var(--vtt-gold)}
body.vtt-brand header.wp-block-template-part .wp-block-navigation__responsive-container-open,
body.vtt-brand header.wp-block-template-part .wp-block-navigation__responsive-container-open svg{color:var(--vtt-burgundy)!important;fill:currentColor}
/* Mobile menu once opened: deep burgundy panel, light text */
body.vtt-brand header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open{background:var(--vtt-burgundy)!important}
body.vtt-brand header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open a,
body.vtt-brand header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__label,
body.vtt-brand header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close{color:#FBF8F2!important;fill:currentColor}

/* Links in the plugin's light sections (the theme forces a{color:#f1faee!important}) */
body.vtt-brand .vtt-page a:not(.vtt-btn),
body.vtt-brand .vtt-hero a:not(.vtt-btn){color:var(--vtt-burgundy)!important;text-decoration:underline!important;text-underline-offset:.22em;text-decoration-color:rgba(91,26,42,.35)!important}
body.vtt-brand .vtt-page a:not(.vtt-btn):hover{color:var(--vtt-burgundy-2)!important;text-decoration-color:var(--vtt-burgundy-2)!important}
body.vtt-brand .vtt-page a:not(.vtt-btn) *{color:inherit!important}
body.vtt-brand .vtt-cover a:not(.vtt-btn){color:#fff!important}
body.vtt-brand a.vtt-btn{color:#fff!important;text-decoration:none!important}
body.vtt-brand a.vtt-btn.vtt-btn--ghost{color:var(--vtt-burgundy)!important}
body.vtt-brand a.vtt-btn.vtt-btn--ghost:hover{color:#fff!important}
body.vtt-brand .vtt-page,body.vtt-brand .vtt-page p,body.vtt-brand .vtt-page li,body.vtt-brand .vtt-page dd,body.vtt-brand .vtt-page label,body.vtt-brand .vtt-page legend{color:var(--vtt-ink)}
body.vtt-brand .vtt-page h1,body.vtt-brand .vtt-page h2,body.vtt-brand .vtt-page h3{color:var(--vtt-ink)}
body.vtt-brand .vtt-cover h1,body.vtt-brand .vtt-cover p:not(.vtt-eyebrow){color:#fff}
body.vtt-brand .vtt-cover .vtt-eyebrow{color:#F0DFBE}
body.vtt-brand .vtt-hero__title{color:var(--vtt-ink)}
body.vtt-brand .vtt-hero__lead{color:#4E4440}
body.vtt-brand .vtt-hero__media img{opacity:.16}

/* Empty theme title band (page template cover) on the plugin's pages: removed in PHP; CSS fallback */
body.vtt-light main > .wp-block-group > .wp-block-cover:has(> .wp-block-cover__inner-container:empty){display:none!important}
body.vtt-light main{padding-top:0!important}
/* Story cover: stronger scrim so white text stays legible over the bright vineyard photo */
body.vtt-brand .vtt-cover::after{background:linear-gradient(90deg,rgba(24,14,12,.72) 0%,rgba(24,14,12,.45) 45%,rgba(24,14,12,.08) 75%),linear-gradient(180deg,rgba(24,14,12,0) 40%,rgba(24,14,12,.55) 100%)}
body.vtt-brand .vtt-cover__text{text-shadow:0 1px 14px rgba(0,0,0,.45)}

/* ===== 1.0.2 ===== */
/* /shop/ display-only buttons: theme grey #6f7982 gives 4.15:1 with its light text; darken for AA */
body.vtt-brand .vtt-shop-card__button:not(.vtt-shop-card__button--primary){background-color:#4F565D!important;border-color:#4F565D!important}
