:root {
  --paper: #FBF6EC;
  --wool: #F3EBDB;
  --ink: #3A2E26;
  --tea: #4F7030;
  --post: #C93A2B;
  --white: #fff;
  --line: #E6DCCB;
  --muted: #6B5D52;
  --post-shadow: #9C2A1E;
  --panel: #FFFDF8;
  --soft-line: #CFC3AE;
  --tea-light: #EAF1DF;
  --bubble: #FFF3D6;
  --row-line: #F0E8D9;
  --gutter: clamp(16px, 4vw, 40px);
  --content-width: 1040px;
  --post-cycle: 5s;
}

body{margin:0;background:var(--paper);color:var(--ink);font-family:'Zen Maru Gothic','Hiragino Maru Gothic ProN',sans-serif;font-weight:500;line-height:1.7;-webkit-text-size-adjust:100%}
a{color:var(--tea)}a:hover{color:var(--post)}
button,input{font-family:inherit}
@keyframes gcHopB{0%,60%,100%{transform:translateY(0)}20%{transform:translateY(-16px)}35%{transform:translateY(0)}45%{transform:translateY(-6px)}}
@keyframes gcSwayA{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(2deg)}}
@keyframes gcIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes gcPostIn{0%,48%{transform:translateY(-8%);opacity:0}49%{transform:translateY(-8%);opacity:1}60%{transform:translateY(-8%)}82%,100%{transform:translateY(105%);opacity:1}}
@keyframes gcFly{0%{transform:translate(520%,-230%) scale(.35) rotate(12deg);opacity:0}8%{opacity:1}28%{transform:translate(260%,-520%) scale(.85) rotate(-8deg);opacity:1}48%{transform:translate(0,-8%) scale(1) rotate(0);opacity:1}49%,100%{transform:translate(0,-8%);opacity:0}}
@keyframes gcSpark{0%,80%{opacity:0;transform:scale(.4)}88%{opacity:1;transform:scale(1.2)}100%{opacity:0;transform:scale(.8) translateY(-6px)}}
@keyframes gcFluff{0%,100%{transform:scale(1)}50%{transform:scale(1.025)}}
.gc-wool{height:22px;display:block}
.gc-wool-cream{background:radial-gradient(circle at 50% 100%,var(--wool) 13px,transparent 14px) 0 100%/28px 14px repeat-x,radial-gradient(circle at 50% 100%,var(--wool) 20px,transparent 21px) 14px 100%/44px 22px repeat-x,linear-gradient(var(--wool),var(--wool)) 0 100%/100% 6px no-repeat}
.gc-wool-brown{background:radial-gradient(circle at 50% 100%,var(--ink) 13px,transparent 14px) 0 100%/28px 14px repeat-x,radial-gradient(circle at 50% 100%,var(--ink) 20px,transparent 21px) 14px 100%/44px 22px repeat-x,linear-gradient(var(--ink),var(--ink)) 0 100%/100% 6px no-repeat}
.gc-wool-down{transform:scaleY(-1)}
.gc-walker{position:absolute;width:clamp(60px,7vw,76px);top:calc(clamp(60px,7vw,76px) * -0.68);left:calc(100% - clamp(60px,7vw,76px));animation:gcWalk 26s linear infinite}
.gc-bob{animation:gcBob .7s ease-in-out infinite}
@keyframes gcWalk{0%,4%{left:calc(100% - clamp(60px,7vw,76px));transform:scaleX(1)}46%,49.9%{left:0;transform:scaleX(1)}50%,54%{left:0;transform:scaleX(-1)}96%,99.9%{left:calc(100% - clamp(60px,7vw,76px));transform:scaleX(-1)}100%{left:calc(100% - clamp(60px,7vw,76px));transform:scaleX(1)}}
@keyframes gcBob{0%,100%{transform:translateY(0) rotate(-1.5deg)}50%{transform:translateY(-4px) rotate(1.5deg)}}


/* ヘッダー */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { max-width: var(--content-width); margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-logo { height: 34px; display: block; }
.brand-name { font-size: 13px; font-weight: 700; }
.header-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.header-link { padding: 10px; font-size: 14px; text-decoration: none; color: var(--ink); }
.shop-link { padding: 10px 16px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--white); background: var(--tea); border-radius: 999px; }

/* メインビジュアル */
.hero { max-width: var(--content-width); margin: 0 auto; padding: clamp(28px,6vw,64px) var(--gutter) clamp(24px,4vw,40px); display: flex; flex-wrap: wrap; align-items: center; gap: clamp(20px,4vw,48px); }
.hero-copy { flex: 1 1 320px; min-width: 0; }
.season { display: inline-block; font-size: 13px; font-weight: 700; color: var(--post); border: 1.5px solid var(--post); border-radius: 999px; padding: 3px 14px; margin-bottom: 16px; }
.hero-title { font-size: clamp(34px,7.4vw,60px); line-height: 1.25; font-weight: 900; margin: 0 0 18px; letter-spacing: .02em; }
.hero-lead { font-size: clamp(15px,2.2vw,17px); margin: 0 0 26px; max-width: 30em; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-primary { min-height: 54px; padding: 0 28px; font-size: 16px; font-weight: 700; color: var(--white); background: var(--post); border: none; border-radius: 999px; cursor: pointer; box-shadow: 0 4px 0 var(--post-shadow); transition: transform .15s; }
.hero-secondary { min-height: 54px; padding: 0 24px; font-size: 16px; font-weight: 700; color: var(--ink); background: var(--white); border: 1.5px solid var(--ink); border-radius: 999px; cursor: pointer; transition: transform .15s; }
.hero-visual { flex: 1 1 300px; min-width: 0; display: flex; justify-content: center; }

/* 郵便局検索 */
.search { max-width: var(--content-width); margin: 0 auto; padding: clamp(48px,7vw,64px) var(--gutter) clamp(40px,7vw,72px); }
.search-card { position: relative; background: var(--white); border: 1.5px solid var(--ink); border-radius: 22px; padding: clamp(18px,4vw,36px); box-shadow: 0 6px 0 var(--line); }
.walker-track { position: absolute; left: clamp(20px,5vw,48px); right: clamp(20px,5vw,48px); top: 0; height: 0; }
.section-title { font-size: clamp(22px,4vw,28px); font-weight: 900; margin: 0 0 4px; }
.section-intro { margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.search-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; background: var(--wool); border-radius: 14px; padding: 5px; margin-bottom: 18px; }
.search-tab { min-height: 48px; border: none; border-radius: 10px; font-size: clamp(13px,3.4vw,15px); font-weight: 700; cursor: pointer; background: transparent; color: var(--muted); }
.field-label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.search-fields { display: flex; gap: 8px; flex-wrap: wrap; }
.zip-input { flex: 1 1 180px; min-width: 0; height: 54px; padding: 0 16px; font-size: 20px; font-weight: 700; letter-spacing: .08em; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--panel); color: var(--ink); }
.search-submit { flex: 0 0 auto; height: 54px; padding: 0 28px; font-size: 16px; font-weight: 700; color: var(--white); background: var(--tea); border: none; border-radius: 12px; cursor: pointer; }
.address-input { flex: 1 1 220px; min-width: 0; height: 54px; padding: 0 16px; font-size: 17px; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--panel); color: var(--ink); }
.suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.suggestion { min-height: 44px; padding: 0 14px; font-size: 14px; font-weight: 700; border: 1.5px solid var(--soft-line); border-radius: 999px; background: var(--white); color: var(--ink); cursor: pointer; }
.geo-submit { width: 100%; min-height: 58px; font-size: 17px; font-weight: 700; color: var(--white); background: var(--tea); border: none; border-radius: 12px; cursor: pointer; }
.geo-note { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.geo-help { margin-top: 4px; font-size: 13px; color: var(--muted); }
.geo-help summary { width: fit-content; padding: 6px 0; color: var(--tea); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.geo-help p { margin: 0; }
.search-status { margin-top: 22px; }
.loading { margin: 0; font-weight: 700; }
.result-summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.result-bubble { margin: 0; font-size: 17px; font-weight: 900; background: var(--bubble); border: 1.5px solid var(--ink); border-radius: 16px 16px 16px 4px; padding: 8px 16px; animation: gcIn .35s both; }
.result-sheep { display: inline-block; width: 38px; vertical-align: -5px; margin-right: 6px; }
.clear-search { min-height: 44px; padding: 0 14px; font-size: 14px; font-weight: 700; background: none; border: none; color: var(--muted); text-decoration: underline; cursor: pointer; }
.result-note { margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.result-note:has(+ .result-stock-note:not([hidden])) { margin-bottom: 4px; }
.result-stock-note { margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.result-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.result-row { border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 16px; background: var(--panel); display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; animation: gcIn .4s both; }
.result-details { flex: 1 1 240px; min-width: 0; }
.result-tier { display: inline-block; font-size: 12px; font-weight: 700; color: var(--tea); background: var(--tea-light); border-radius: 6px; padding: 1px 8px; margin-bottom: 4px; }
.result-name { font-size: 18px; font-weight: 900; line-height: 1.4; }
.result-address { font-size: 14px; color: var(--muted); }
.map-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.map-link { display: flex; align-items: center; min-height: 46px; padding: 0 18px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--white); background: var(--post); border-radius: 999px; }
.directions-link { display: flex; align-items: center; min-height: 46px; padding: 0 16px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--ink); background: var(--white); border: 1.5px solid var(--ink); border-radius: 999px; }
.more-results { margin-top: 12px; width: 100%; min-height: 48px; font-size: 15px; font-weight: 700; background: var(--white); border: 1.5px dashed var(--ink); border-radius: 12px; color: var(--ink); cursor: pointer; }
.empty-result { border: 1.5px dashed var(--soft-line); border-radius: 16px; padding: 18px; background: var(--panel); }
.empty-message { margin: 0 0 12px; }
.action-row { display: flex; flex-wrap: wrap; gap: 10px; }
.list-button { min-height: 46px; padding: 0 18px; font-size: 14px; font-weight: 700; color: var(--white); background: var(--tea); border: none; border-radius: 999px; cursor: pointer; }
.official-link { display: flex; align-items: center; min-height: 46px; padding: 0 18px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 999px; }

/* 都道府県一覧 */
.directory { background: var(--wool); padding: clamp(36px,7vw,72px) 0; }
.directory-inner { position: relative; max-width: var(--content-width); margin: 0 auto; padding: 0 var(--gutter); }
.data-error { background: var(--white); border: 1.5px solid var(--post); border-radius: 14px; padding: 16px; margin: 0 0 16px; }
.regions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.region-button { min-height: 46px; padding: 0 16px; font-size: 15px; font-weight: 700; border: 1.5px solid var(--ink); border-radius: 999px; cursor: pointer; background: var(--white); color: var(--ink); }
.prefectures { display: grid; grid-template-columns: repeat(auto-fill,minmax(112px,1fr)); gap: 8px; margin-bottom: 22px; }
.prefecture-button { min-height: 52px; padding: 6px 8px; border-radius: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1.3; border: 1.5px solid var(--soft-line); background: var(--white); color: var(--ink); }
.prefecture-label { display: inline-flex; align-items: baseline; gap: 6px; }
.prefecture-name { font-size: 16px; font-weight: 700; }
.prefecture-count { font-size: 12px; }
.directory-card { background: var(--white); border-radius: 20px; padding: clamp(16px,3.5vw,28px); border: 1.5px solid var(--ink); }
.directory-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.directory-title { margin: 0; font-size: clamp(20px,4vw,24px); font-weight: 900; }
.directory-count { font-size: 14px; font-weight: 700; color: var(--post); }
.filter-controls { display: flex; gap: 8px; flex: 1 1 240px; max-width: 380px; min-width: 0; }
.filter-input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; font-size: 15px; border: 1.5px solid var(--soft-line); border-radius: 10px; background: var(--panel); color: var(--ink); }
.filter-clear { height: 46px; padding: 0 12px; font-size: 14px; font-weight: 700; background: var(--wool); border: none; border-radius: 10px; color: var(--ink); cursor: pointer; }
.no-rows { margin: 8px 0; color: var(--muted); }
.municipality { margin-top: 14px; }
.municipality-heading { display: flex; align-items: baseline; gap: 8px; font-size: 14px; font-weight: 700; color: var(--tea); border-bottom: 1.5px solid var(--line); padding-bottom: 4px; }
.municipality-count { font-size: 12px; color: var(--muted); }
.municipality-list { list-style: none; margin: 0; padding: 0; }
.office-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 11px 0; border-bottom: 1px solid var(--row-line); }
.office-details { flex: 1 1 230px; min-width: 0; }
.office-name { font-size: 16px; font-weight: 700; line-height: 1.45; }
.office-address { font-size: 13px; color: var(--muted); }
.office-map { flex: 0 0 auto; display: flex; align-items: center; min-height: 44px; padding: 0 14px; font-size: 13px; font-weight: 700; text-decoration: none; color: var(--post); border: 1.5px solid var(--post); border-radius: 999px; background: var(--white); }

/* 年賀chayoriの紹介 */
.about { max-width: var(--content-width); margin: 0 auto; padding: clamp(40px,7vw,80px) var(--gutter); display: flex; flex-wrap: wrap; gap: clamp(20px,4vw,48px); align-items: center; }
.about-copy { flex: 1 1 300px; min-width: 0; }
.subheading { font-size: clamp(22px,4vw,28px); font-weight: 900; margin: 0 0 12px; }
.copy-paragraph { margin: 0 0 10px; text-wrap: pretty; }
.copy-ending { margin: 0 0 20px; text-wrap: pretty; }
.about-link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; font-size: 15px; font-weight: 700; text-decoration: none; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 999px; background: var(--white); }
.photo-grid { flex: 1.3 1 320px; min-width: 0; display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; }
.photo-large { grid-column: span 3; aspect-ratio: 1; border-radius: 14px; background: var(--wool); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); }
.photo-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-grid .photo-image { transform: scale(1.28); transform-origin: 62% 55%; }
.photo-small { grid-column: span 2; aspect-ratio: 1; border-radius: 14px; background: var(--wool); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); }

/* ショップ案内 */
.shop { max-width: var(--content-width); margin: 0 auto; padding: clamp(24px,4vw,40px) var(--gutter) clamp(48px,8vw,80px); }
.shop-card { position: relative; background: var(--white); border: 1.5px solid var(--ink); border-radius: 22px; padding: clamp(20px,4vw,36px); box-shadow: 0 6px 0 var(--line); display: flex; flex-wrap: wrap; gap: clamp(18px,3vw,32px); align-items: center; }
.shop-sheep { position: absolute; left: 28px; top: calc(64px * -0.68); width: 64px; }
.illustration { display: block; width: 100%; height: auto; }
.shop-flower { position: absolute; left: 100px; top: -46px; width: 22px; transform-origin: 50% 100%; animation: gcSwayA 6s ease-in-out infinite; }
.shop-badge { display: inline-block; font-size: 13px; font-weight: 700; color: var(--tea); background: var(--tea-light); border-radius: 999px; padding: 3px 14px; margin-bottom: 12px; }
.shop-heading { font-size: clamp(22px,4vw,28px); font-weight: 900; margin: 0 0 12px; line-height: 1.4; }
.shop-primary { display: inline-flex; align-items: center; min-height: 50px; padding: 0 24px; font-size: 15px; font-weight: 700; text-decoration: none; color: var(--white); background: var(--post); border-radius: 999px; box-shadow: 0 4px 0 var(--post-shadow); }
.shop-secondary { display: inline-flex; align-items: center; min-height: 50px; padding: 0 22px; font-size: 15px; font-weight: 700; text-decoration: none; color: var(--ink); background: var(--white); border: 1.5px solid var(--ink); border-radius: 999px; }
.products { flex: 1 1 260px; min-width: 0; list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.product-link { display: flex; align-items: center; gap: 14px; background: var(--panel); border: 1.5px solid var(--line); border-radius: 16px; padding: 10px 14px; text-decoration: none; color: var(--ink); }
.product-photo { flex: 0 0 96px; width: 96px; height: 96px; border-radius: 12px; overflow: hidden; }
.product-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-photo-greeting .product-image { transform: scale(1.18); transform-origin: 50% 80%; }
.product-photo-chayori .product-image { transform: scale(1.06); transform-origin: 50% 55%; }
.product-photo-gift .product-image { transform: scale(1.06); transform-origin: 50% 65%; }
.product-copy { min-width: 0; }
.product-category { display: block; font-size: 12px; color: var(--muted); }
.product-name { font-size: 15px; font-weight: 700; line-height: 1.5; }
.product-teacup { flex: 0 0 96px; width: 96px; height: 96px; border-radius: 12px; background: var(--wool); display: flex; align-items: center; justify-content: center; }
.product-teacup-image { height: 78px; width: auto; display: block; }

/* 販売案内・関連リンク */
.sales { max-width: var(--content-width); margin: 0 auto; padding: 0 var(--gutter) clamp(40px,7vw,72px); }
.sales-card { position: relative; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); padding: 22px 0; }
.sales-sheep { position: absolute; right: 8px; top: calc(72px * -0.68); width: 72px; }
.sales-sheep-small { position: absolute; right: 90px; top: calc(52px * -0.68); width: 52px; }
.sales-title { font-size: 20px; font-weight: 900; margin: 0 0 12px; }
.sales-details { margin: 0; display: grid; grid-template-columns: auto minmax(0,1fr); gap: 8px 20px; font-size: 16px; }
.sales-term { font-weight: 700; color: var(--tea); }
.sales-value { margin: 0; }
.sales-value time { white-space: nowrap; }
.sales-note { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.related { max-width: var(--content-width); margin: 0 auto; padding: 0 var(--gutter) clamp(48px,8vw,88px); display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 12px; }
.related-link { display: block; background: var(--white); border: 1.5px solid var(--ink); border-radius: 16px; padding: 18px 20px; text-decoration: none; color: var(--ink); transition: transform .15s; }

/* フッター */
.site-footer { background: var(--ink); color: var(--paper); padding: 28px var(--gutter); text-align: center; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; font-size: 13px; margin-bottom: 12px; }
.footer-link { color: var(--paper); text-decoration: none; padding: 8px 0; }

[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #C9A24B; outline-offset: 2px; }
.search-tab[aria-selected="true"] { background: var(--white); color: var(--ink); }
.region-button[aria-selected="true"] { background: var(--ink); color: var(--white); }
.prefecture-button[aria-pressed="true"] { background: var(--tea); border-color: var(--tea); color: var(--white); }
.shop-link:hover, .search-submit:hover, .geo-submit:hover, .list-button:hover { background: #3F5B25; color: var(--white); }
.hero-primary:hover, .hero-secondary:hover, .shop-primary:hover, .shop-secondary:hover { transform: translateY(-2px); }
.hero-primary:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--post-shadow); }
.shop-primary:hover { color: var(--white); }
.shop-secondary:hover, .related-link:hover { color: var(--ink); }
.related-link:hover { transform: translateY(-3px); }
.suggestion:hover { border-color: var(--tea); color: var(--tea); }
.map-link:hover { background: #A82E21; color: var(--white); }
.office-map:hover { background: var(--post); color: var(--white); }
.product-link:hover { border-color: var(--tea); color: var(--ink); }
.directory-title { overflow-wrap: anywhere; }
.result-bubble { overflow-wrap: anywhere; }
.map-actions { flex-wrap: wrap; max-width: 100%; }
.result-row:nth-child(2) { animation-delay: .06s; }
.result-row:nth-child(3) { animation-delay: .12s; }
.result-row:nth-child(4) { animation-delay: .18s; }
.result-row:nth-child(5) { animation-delay: .24s; }
.result-row:nth-child(6) { animation-delay: .30s; }
.result-row:nth-child(n+7) { animation-delay: .36s; }

/* ヒーローのイラストと投函アニメーション */
.hero-art { position: relative; width: min(100%, 440px); aspect-ratio: 1; }
.hero-wool { position: absolute; inset: 8% 4% 4%; animation: gcFluff 4s ease-in-out infinite; }
.hero-wool i, .hero-wool b { position: absolute; aspect-ratio: 1; border-radius: 50%; }
.hero-wool i { background: var(--wool); }
.hero-wool i:nth-child(1) { left: 18%; top: 16%; width: 64%; }
.hero-wool i:nth-child(2) { left: 0; top: 30%; width: 42%; }
.hero-wool i:nth-child(3) { left: 58%; top: 28%; width: 42%; }
.hero-wool i:nth-child(4) { left: 16%; top: 2%; width: 40%; }
.hero-wool i:nth-child(5) { left: 44%; top: 4%; width: 38%; }
.hero-wool i:nth-child(6) { left: 4%; top: 56%; width: 40%; }
.hero-wool i:nth-child(7) { left: 54%; top: 56%; width: 42%; }
.hero-wool i:nth-child(8) { left: 30%; top: 60%; width: 40%; }
.hero-wool b { width: 3.5%; background: var(--white); border: 1.5px solid var(--line); }
.hero-wool b:nth-of-type(1) { left: 8%; top: 22%; }
.hero-wool b:nth-of-type(2) { left: 86%; top: 40%; }
.hero-wool b:nth-of-type(3) { left: 12%; top: 82%; }
.hero-wool b:nth-of-type(4) { left: 90%; top: 78%; }
.hero-wool b:nth-of-type(5) { left: 50%; top: 94%; }
.hero-card { position: absolute; animation: gcHopB 2.8s ease-in-out infinite; }
.hero-card-left { left: 2%; top: 0; width: 46%; rotate: -7deg; }
.hero-card-right { right: 2%; top: 6%; width: 42%; rotate: 6deg; animation-delay: .5s; }
.hero-photo {
  position: relative;
  aspect-ratio: 1;
  background: var(--wool);
  border: 5px solid var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(58, 46, 38, .18);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--muted);
}
.hero-photo .photo-image { transform: scale(1.33); transform-origin: 69% 51%; }
.hero-sheep {
  position: absolute;
  right: 1%;
  bottom: 3%;
  width: 56%;
  z-index: 1;
  filter: drop-shadow(0 4px 6px rgba(58, 46, 38, .14));
  animation: gcHopB 3.4s ease-in-out infinite;
}
.postbox { position: absolute; left: 7%; bottom: 2%; width: 22%; }
.post-teacup {
  position: absolute;
  left: 33%;
  bottom: 100%;
  width: 34%;
  margin-bottom: -2%;
  transform-origin: 50% 100%;
  animation: gcSwayA 5s ease-in-out infinite;
}
.post-flight, .post-letter { filter: drop-shadow(0 2px 3px rgba(58, 46, 38, .25)); }
.post-flight {
  position: absolute;
  left: 23%;
  top: 0;
  width: 54%;
  aspect-ratio: 631 / 404;
  z-index: 3;
  opacity: 0;
  animation: gcFly var(--post-cycle) ease-in-out infinite;
}
.post-spark {
  position: absolute;
  line-height: 1;
  color: #D9A21B;
  opacity: 0;
  z-index: 3;
  animation: gcSpark var(--post-cycle) ease-out infinite;
}
.post-spark-right { right: -16%; top: -4%; font-size: clamp(14px, 3vw, 20px); }
.post-spark-left { left: -14%; top: 14%; font-size: clamp(10px, 2vw, 14px); animation-delay: .15s; }
.post-body {
  background: var(--post);
  border-radius: 46% 46% 8px 8px / 26% 26% 8px 8px;
  aspect-ratio: .78;
  position: relative;
  box-shadow: inset -8px 0 0 rgba(0, 0, 0, .08);
}
.post-slot { position: absolute; left: 18%; right: 18%; top: 24%; height: 7%; background: var(--ink); border-radius: 4px; }
.post-mask { position: absolute; left: 23%; right: 23%; bottom: 72%; height: 95%; overflow: hidden; z-index: 2; }
.post-letter {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  aspect-ratio: 631 / 404;
  display: block;
  animation: gcPostIn var(--post-cycle) ease-in-out infinite;
}
.post-mark {
  position: absolute;
  left: 0;
  right: 0;
  top: 44%;
  text-align: center;
  color: var(--white);
  font-weight: 900;
  font-size: clamp(16px, 4vw, 24px);
}
.post-leg { width: 26%; height: 22px; background: var(--post-shadow); margin: 0 auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .post-letter { transform: translateY(-8%); }
}

.image-unavailable { visibility: hidden; }
