/* ============================================
   DR.VAMOS home.css — トップページ専用スタイル
   (旧 index.html のインラインCSSから移植)
   ============================================ */
.home-main .eyebrow { font-size: 11px; letter-spacing: .14em; font-weight: 700; }

.hero { position: relative; overflow: hidden; min-height: 650px; background: #e5e5e5; }
.hero-media, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; background-image: var(--desktop); background-size: cover; background-position: center; transition: opacity .8s ease; }
.hero-slide.is-active { opacity: 1; }
/* 2枚目以降のスライド画像はページ表示後に読み込む(main.js が is-ready を付与) */
.hero-slide:not(.is-active):not(.is-ready) { background-image: none !important; }
.hero::after { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.54) 35%, rgba(255,255,255,0) 61%); }
.hero-copy { position: relative; z-index: 3; padding-block: 160px 80px; max-width: 530px; }
.hero h1 { margin: 14px 0 31px; font-family: Georgia, "Hiragino Mincho ProN", serif; font-weight: 500; font-size: clamp(33px, 3.5vw, 54px); line-height: 1.45; letter-spacing: .08em; }
.hero p { color: #555; font-size: 14px; line-height: 2; margin: 0 0 33px; }
.hero-dots { position: absolute; z-index: 4; left: max(48px, calc((100% - 1344px) / 2)); bottom: 28px; display: flex; gap: 9px; }
.hero-dot { width: 28px; height: 3px; background: rgba(17,17,17,.25); border: 0; padding: 0; cursor: pointer; }
.hero-dot.is-active { background: var(--black); }

.assurances { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.assurance { display: flex; align-items: center; gap: 14px; min-height: 108px; padding: 18px 25px; border-right: 1px solid var(--line); }
.assurance:last-child { border: 0; }
.assurance b { display: block; font-size: 13px; margin-bottom: 5px; }
.assurance span { font-size: 11px; color: var(--muted); line-height: 1.5; }
.assurance-mark { font-family: Georgia, serif; font-size: 25px; }

.products { padding-block: 104px; } /* .shellの左右余白を消さないようblock方向のみ */
.products-heading { display: flex; justify-content: space-between; align-items: center; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card { background: var(--gray); padding: 20px; }
.product-visual { position: relative; overflow: hidden; height: 315px; background: #e9e9e9; }
.product-visual img { position: absolute; height: 100%; width: auto; max-width: none; top: 0; left: 0; }
.product-visual.jerky img { width: 206%; height: auto; top: 12%; left: -2%; }
.product-visual.wing img, .product-visual.momiji img { width: 195%; height: auto; top: 0; left: 0; }
.product-category { color: var(--muted); font-size: 10px; margin: 20px 0 9px; }
.product-name { margin: 0; min-height: 48px; font-size: 16px; line-height: 1.5; }
.product-desc { min-height: 43px; color: #555; font-size: 12px; line-height: 1.7; margin: 10px 0 15px; }
.product-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #c7c7c7; padding-top: 15px; font-size: 13px; font-weight: 700; }

/* トップのWooCommerce商品グリッドをブランドデザインに合わせる */
.home-main .woocommerce ul.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; }
.home-main .woocommerce ul.products.columns-4 { grid-template-columns: repeat(4, 1fr); }
.home-main .woocommerce ul.products li.product { width: auto; margin: 0; }
/* Wooのclearfix疑似要素がグリッドの1マス目を占有して先頭商品を押し出すのを防ぐ */
.home-main .woocommerce ul.products::before,
.home-main .woocommerce ul.products::after { display: none; }

.quality { background: var(--gray); display: grid; grid-template-columns: 1fr 1fr; min-height: 460px; }
.quality-image { min-height: 460px; background: url("../img/generated/quality-treat-still-life.webp") center/cover no-repeat; }
.quality-copy { padding: 76px 11% 64px; display: flex; flex-direction: column; justify-content: center; }
.quality h2 { font-family: Georgia, "Hiragino Mincho ProN", serif; font-size: 33px; font-weight: 500; line-height: 1.45; margin: 18px 0 23px; letter-spacing: .08em; }
.quality p { font-size: 13px; line-height: 2; color: #4f4f4f; margin: 0 0 28px; }

.origin { position: relative; min-height: 490px; margin-top: 104px; background: url("../img/generated/hokkaido-origin-landscape.webp") center/cover no-repeat; color: #fff; display: flex; align-items: center; }
.origin::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.58), rgba(0,0,0,.12)); }
.origin .shell { position: relative; z-index: 1; }
.origin-content { max-width: 490px; padding: 70px 0; }
.origin h2 { margin: 17px 0 20px; font-family: Georgia, "Hiragino Mincho ProN", serif; font-size: 36px; line-height: 1.45; font-weight: 500; letter-spacing: .08em; }
.origin p { margin: 0; font-size: 13px; line-height: 2; color: #f5f5f5; }

.brand-story { display: grid; grid-template-columns: 1fr 1fr; min-height: 460px; }
.brand-story-image { background: url("../img/generated/brand-values-dog-field.webp") center/cover no-repeat; min-height: 460px; }
.brand-story-copy { padding: 76px 11%; display: flex; flex-direction: column; justify-content: center; background: #111; color: #fff; }
.brand-story h2 { margin: 18px 0 22px; font-family: Georgia, "Hiragino Mincho ProN", serif; font-size: 33px; line-height: 1.45; letter-spacing: .08em; font-weight: 500; }
.brand-story p { margin: 0; color: #dedede; font-size: 13px; line-height: 2; }

.journal { padding-block: 103px; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.instagram-panel { background: #222 url("../img/generated/journal-dog-portrait.webp") center/cover no-repeat; color: #fff; padding: 41px; position: relative; overflow: hidden; display: block; }
.instagram-panel::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.56); }
.instagram-panel::after { content: "@dr.vamos_naturalfood"; position: absolute; right: -24px; bottom: 8px; font-size: 30px; font-weight: 700; color: rgba(255,255,255,.27); white-space: nowrap; }
.instagram-panel .ig-icon { position: relative; z-index: 1; display: block; width: 32px; height: 32px; color: #fff; margin-bottom: 12px; }
.instagram-panel p { max-width: 330px; font-family: Georgia, "Hiragino Mincho ProN", serif; font-size: 25px; line-height: 1.55; position: relative; z-index: 1; }
.instagram-panel .link-arrow { position: relative; z-index: 1; }

/* 取り扱い店舗 */
.stores { padding-bottom: 104px; }
.stores-lead { margin: -10px 0 26px; font-size: 13px; line-height: 2; color: #555; }
.store-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.store { background: var(--gray); padding: 26px 28px; }
.store h3 { margin: 0 0 10px; font-size: 16px; letter-spacing: .05em; }
.store p { margin: 0 0 14px; font-size: 12px; line-height: 1.9; color: #555; }
.store .link-arrow { font-size: 12px; }
.store h3 a:hover { border-bottom: 1px solid var(--black); }
.store-links { display: flex; gap: 22px; flex-wrap: wrap; }

.reveal .product-card:nth-child(2) { transition-delay: .08s; }
.reveal .product-card:nth-child(3) { transition-delay: .16s; }

@media (max-width: 800px) {
  .hero { min-height: 670px; }
  .hero-slide { background-image: var(--mobile); }
  .hero::after { background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.65) 38%, rgba(255,255,255,0) 65%); }
  .hero-copy { padding-block: 77px 0; max-width: 300px; }
  .hero h1 { margin-top: 12px; font-size: 33px; }
  .hero p { display: none; }
  .hero .button { position: absolute; top: 276px; left: 0; }
  .hero-dots { left: 22px; bottom: 16px; }
  .assurances { grid-template-columns: repeat(3, 1fr); }
  .assurance { min-height: 115px; display: block; padding: 18px 8px; text-align: center; }
  .assurance:last-child { display: none; }
  .assurance-mark { margin-bottom: 5px; }
  .assurance b { font-size: 11px; }
  .assurance span { font-size: 9px; }
  .products { padding-block: 64px; }
  .products-heading { flex-wrap: wrap; gap: 4px 16px; }
  .products-heading .link-arrow { font-size: 12px; }
  .product-grid { display: flex; width: calc(100% + 22px); overflow-x: auto; gap: 13px; padding-right: 22px; scrollbar-width: none; }
  .product-grid::-webkit-scrollbar { display: none; }
  .product-card { min-width: 78%; padding: 14px; }
  .product-visual { height: 285px; }
  .home-main .woocommerce ul.products { display: flex; width: calc(100% + 22px); overflow-x: auto; gap: 13px; padding-right: 22px; scrollbar-width: none; }
  .home-main .woocommerce ul.products li.product { min-width: 78%; }
  .quality { margin: 0 -22px; grid-template-columns: 1fr; }
  .quality-image { min-height: 250px; }
  .quality-copy { padding: 50px 22px; }
  .quality h2 { font-size: 28px; }
  .origin { min-height: 420px; margin: 64px -22px 0; }
  .origin-content { padding: 50px 0; max-width: 280px; }
  .origin h2 { font-size: 29px; }
  .brand-story { margin: 0 -22px; grid-template-columns: 1fr; }
  .brand-story-image { min-height: 250px; }
  .brand-story-copy { padding: 50px 22px; }
  .brand-story h2 { font-size: 28px; }
  .journal { padding-block: 65px; grid-template-columns: 1fr; gap: 36px; }
  .stores { padding-bottom: 64px; }
  .store-grid { grid-template-columns: 1fr; gap: 13px; }
  .store { padding: 20px 22px; }
  .instagram-panel { min-height: 230px; padding: 28px; }
  .instagram-panel p { font-size: 22px; }
}
