/* Parts added on top of master v29 for the live site. */
.hp-field{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.form-status.is-error{color:#a23b2a}
.footer-row a{text-decoration:underline;text-underline-offset:3px}

/* 2026-10-13 Kenta, phone widths too: item names without bold, "Instagramで見る" a little larger. */
body.hero-calm.hero-editorial #items .purchase-card h3{font-weight:400!important}
@media (max-width: 1023.98px){
  body.hero-calm.hero-editorial .instagram-profile-link{font-size:16px;gap:9px}
  body.hero-calm.hero-editorial .instagram-profile-link .instagram-icon{width:22px;height:22px}
}

/* 2026-10-13 Kenta: the "+" of the second entrance-guide row matches the first (car) row. */
.route-accordion>summary.store-route-summary:after{right:20px;font-size:22px}

/* 2026-10-13 Kenta: less space above and below "Instagramで見る" (all widths). */
body.hero-calm.hero-editorial #purchase-examples h2.store-section-title{margin-bottom:6px!important}
body.hero-calm.hero-editorial #purchase-examples .instagram-profile-link{margin-top:0}
@media (max-width: 1023.98px){
  body.hero-calm.hero-editorial #purchase-examples{padding-bottom:20px}
}

/* 2026-10-13 Kenta: item pictograms a little thinner on phone widths only (1.25 -> 1.0). */
@media (max-width: 1023.98px){
  body.hero-calm.hero-editorial .purchase-pictogram svg{stroke-width:1}
}

/* 2026-10-13 Kenta (all widths): "そのほかのご相談" in the same near-black as the item names,
   and "買取の流れを見る" a little larger (14px -> 16px). */
body.hero-calm.hero-editorial #items .purchase-other h3{color:#18263d!important}
body.hero-calm.hero-editorial #items .first-visit-links a{font-size:16px!important}

/* 2026-10-13 Kenta (all widths, option A): every heading except the decorative "キャンペーン"
   uses the same near-black. These three were still navy. */
#contact .contact-grid h2,
#contact .form-heading,
.route-accordion>summary{color:#18263d!important}

/* 2026-10-13 Kenta (all widths): every blue on the site is the Daikichi blue #100169.
   The message band was the only exception (a darker three-stop gradient). */
#design-two-message{background:#100169!important}

/* ---- Blog (2026-10-13): cards on the top page and the list, article parts ---- */
.blog-cards{list-style:none;margin:20px 0 0;padding:0;display:grid;gap:20px}
.blog-card{display:grid;grid-template-columns:112px minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:14px;color:#18263d;text-decoration:none}
.blog-card-image{grid-row:1 / 3;aspect-ratio:4 / 3;background:#ebe7dd;overflow:hidden}
.blog-card-image img{width:100%;height:100%;object-fit:cover;display:block}
.blog-card time{font-size:12px;line-height:1.6;color:#59677b}
.blog-card-title{font-size:15px;line-height:1.6;text-decoration:underline;text-underline-offset:3px}
.blog-more{margin:18px 0 4px}
.blog-pager{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center;margin:36px 0 8px}
.blog-pager a,.blog-pager span{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;border:1px solid #100169;color:#100169;font-size:15px;text-decoration:none}
.blog-pager .is-current{background:#100169;color:#fff}
.entry-image{margin:0 0 24px}
.entry-image img{width:100%;height:auto;display:block}
.entry-body h2{font-size:18px;line-height:1.6;margin:28px 0 10px;color:#18263d}
.entry-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:8px 0 32px}
.entry-actions .button{width:100%}
.blog-neighbors{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:18px 0;margin:0 0 24px;border-top:1px solid #ded7c9;border-bottom:1px solid #ded7c9}
.blog-neighbor{grid-column:1;color:#18263d;font-size:14px;line-height:1.6;text-decoration:underline;text-underline-offset:3px}
.blog-neighbor span{display:block;font-size:12px;color:#59677b}
.blog-neighbor.is-newer{grid-column:2;text-align:right}
.blog-back{margin:0 0 20px}
@media (min-width: 761px){
  .blog-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 28px}
  .blog-card{display:block}
  .blog-card-image{display:block;aspect-ratio:16 / 10;margin-bottom:12px}
  .blog-card time{display:block}
  .blog-card-title{display:block;font-size:16px}
  .entry-actions{max-width:520px}
}
.campaign-preview-content .blog-cards{margin-top:0;margin-bottom:36px}
.campaign-preview-content .blog-pager{margin-top:0;margin-bottom:36px}

/* 2026-10-14 Kenta: Instagram at the bottom of every page. */
.footer-links{display:flex;flex-wrap:wrap;align-items:center;gap:10px 24px}
.footer-instagram{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0;border:0;background:none;color:#100169;font:inherit;font-size:14px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.footer-instagram .instagram-icon{width:22px;height:22px;flex:none}

/* 2026-10-14 Kenta: card photos are shown whole, never cropped. The frame is 16:9; a photo of
   another shape sits inside it with a plain margin instead of being cut. */
.blog-card{grid-template-columns:128px minmax(0,1fr)}
.blog-card-image{aspect-ratio:16 / 9;background:#efece4}
.blog-card-image img{object-fit:contain}
@media (min-width: 761px){
  .blog-card-image{aspect-ratio:16 / 9}
}

/* 2026-10-14 Kenta: the SNS row of the store table is as tall as the phone row.
   The link keeps its 44px touch area; the negative margin only stops it from stretching the row. */
.info-list .instagram-table-link{margin-top:-11px!important;margin-bottom:-11px!important}

/* 2026-10-14 Kenta (修正案6, all widths): the text of the second entrance-guide row starts where the first row's does. */
.route-accordion>summary.store-route-summary{padding-left:16px!important}
@media (min-width: 761px){ .route-accordion>summary.store-route-summary{padding-left:20px!important} }
.footer-links a{text-decoration:underline;text-underline-offset:3px}
/* 2026-10-14 Kenta: "ブログ" at the very bottom reads the same as "Instagram" next to it (size, colour). */
.footer-links a.footer-blog{display:inline-flex;align-items:center;min-height:44px;font-size:14px!important;color:#100169!important}

/* ---- 2026-10-14 Kenta, phone widths only ("全部スマホ版。パソコンはあとで") ---- */
@media (max-width: 1023.98px){
  /* お買取りの流れ: the "詳しく見る" link after the first sentence is not shown */
  #flow .appraisal-assurance .inline-link{display:none!important}
  /* under "査定中にお買い物をされる場合": "来店時の持ち物を確認する" starts on its own line */
  #flow .small-note .inline-link::before{content:"\A";white-space:pre}
  /* the sentence under the campaign picture is not shown */
  body.hero-calm.hero-editorial .hero .hero-carousel figcaption{display:none!important}
}
@media (max-width: 760.98px){
  /* blog cards: the picture fills the width of its box (no empty bands at the sides); the box takes
     the picture's own shape, so nothing is cut off. A card without a picture keeps the 16:9 box. */
  .blog-card{align-items:start}
  .blog-card-image{aspect-ratio:auto!important;background:none!important;align-self:start}
  .blog-card-image:empty{aspect-ratio:16 / 9!important;background:#efece4!important}
  .blog-card-image img{width:100%!important;height:auto!important}
}

/* 2026-10-14 お買取りの流れ: each step is a fold (see site.js). PC: looks exactly as before. */
#flow .step-fold > summary{display:block;list-style:none;cursor:default;padding:0!important;line-height:inherit!important}
#flow .step-fold > summary::-webkit-details-marker{display:none}
@media (max-width: 1023.98px){
  /* phones: the same ▶ mark as 「査定中にお買い物をされる場合」 just below */
  #flow .step-fold > summary{display:list-item;list-style:disclosure-closed inside;cursor:pointer}
  #flow .step-fold[open] > summary{list-style-type:disclosure-open}
  #flow .step-fold > summary h3{display:inline;margin:0!important;text-indent:0!important}
  #flow .step-fold > p{margin-top:8px!important}
}

/* 2026-10-14 top slides are dot's 3:2 pictures: the frame takes the same shape so they fill it (both). */
body.hero-calm.hero-editorial .hero .carousel-frame{aspect-ratio:3 / 2!important}
@media (max-width: 1023.98px){
  /* phones: closed steps are shorter rows */
  body.hero-calm.hero-editorial #flow .step{padding-top:14px;padding-bottom:14px}
}
@media (max-width: 1023.98px){
  /* phones (2026-10-14 Kenta「細い線の幅があってない」「揃えた方が」): the three steps and
     「査定中にお買い物をされる場合」 are one list — same gap between the lines, ▶ at the same left edge */
  body.hero-calm.hero-editorial #flow .step{padding-left:0;padding-right:0}
  body.hero-editorial #flow .shopping-during-appraisal{margin-top:0!important}
}

/* ---- 2026-10-14 Kenta, PC only (修正案 1・2・3・5). Phones are not touched. ---- */
@media (min-width: 1024px){
  /* 1「このスライドでかすぎるかも」: back to the earlier height (632px). Still 3:2, so 948px wide,
     left edge where it was (the left edge of the store information). */
  body.hero-calm.hero-editorial .hero .hero-carousel{max-width:948px;margin-left:0;margin-right:auto}
  /* 2「買取実績の写真が枠ぴったりじゃない」: the frame takes the picture's own shape, as on phones;
     a card without a picture keeps the 16:9 box. Tops of the frames stay level. */
  .blog-cards{align-items:start}
  .blog-card-image{aspect-ratio:auto!important;background:none!important}
  .blog-card-image:empty{aspect-ratio:16 / 9!important;background:#efece4!important}
  .blog-card-image img{width:100%!important;height:auto!important}
  /* 3 お買取りの流れ: no "詳しく見る" */
  #flow .appraisal-assurance .inline-link{display:none!important}
  /* 5「お買取りの流れの上下の隙間がおおすぎる」: less empty space inside the section */
  body.hero-calm.hero-editorial #flow{padding-top:40px!important;padding-bottom:36px!important}
  body.hero-calm.hero-editorial #flow .section-head{margin-bottom:10px!important}
  body.hero-calm.hero-editorial #flow .section-head>.store-section-title{margin-bottom:0!important}
  body.hero-calm.hero-editorial #flow .appraisal-assurance{margin-bottom:14px!important}
  body.hero-calm.hero-editorial #flow .small-note{margin-top:8px!important}
  body.hero-calm.hero-editorial #flow .step{padding-top:16px;padding-bottom:16px}
  body.hero-editorial #flow .shopping-during-appraisal{margin-top:0!important}
  body.hero-editorial #flow .shopping-during-appraisal summary{padding:10px 0}
}

/* 2026-10-14 blog table of contents (both widths): kinds of post as buttons with how many; the shown one filled. */
.blog-toc{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}
.blog-toc a{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:6px 14px;border:1px solid #100169;border-radius:999px;color:#100169;text-decoration:none;font-size:14px;line-height:1.4;background:#fff}
.blog-toc a span{font-size:12px;color:#59677b}
.blog-toc a[aria-current="page"]{background:#100169;color:#fff}
.blog-toc a[aria-current="page"] span{color:#fff}
.blog-card-cat{display:block;font-size:12px;line-height:1.5;color:#100169}
.entry-cat{margin:0 0 4px;font-size:13px}
.entry-cat a{color:#100169}
/* the phone card now has three lines next to the picture (kind, date, title) */
.blog-card-image{grid-row:1 / 4}
.blog-card{grid-template-rows:auto auto 1fr}

/* 2026-10-14 Kenta (案1-B): PC — large slide on the left, every slide small on the right, both ending at the
   same height (width set in build.py as --thumb-w). The one shown is framed in 大吉ブルー, the others dimmed. */
.hero-thumbs{display:none}
@media (min-width: 1024px){
  body.hero-calm.hero-editorial .hero .hero-carousel.has-thumbs{display:grid!important;grid-template-columns:minmax(0,1fr) var(--thumb-w);column-gap:16px;align-items:start;max-width:none!important;width:100%;margin:0}
  body.hero-calm.hero-editorial .hero .hero-carousel.has-thumbs>*{grid-column:1 / -1}
  body.hero-calm.hero-editorial .hero .hero-carousel.has-thumbs>.carousel-frame{grid-column:1;grid-row:1}
  body.hero-calm.hero-editorial .hero .hero-carousel.has-thumbs>.hero-thumbs{grid-column:2;grid-row:1;display:grid;gap:12px}
  body.hero-calm.hero-editorial .hero .hero-carousel.has-thumbs>.carousel-dot-controls{display:none!important}
  .hero-thumb{all:unset;box-sizing:border-box;display:block;aspect-ratio:3 / 2;cursor:pointer;overflow:hidden;position:relative;opacity:.55;transition:opacity .2s}
  .hero-thumb img{display:block;width:100%;height:100%;object-fit:cover}
  .hero-thumb:hover{opacity:.85}
  .hero-thumb[aria-pressed="true"]{opacity:1}
  .hero-thumb[aria-pressed="true"]::after{content:"";position:absolute;inset:0;border:3px solid #100169;pointer-events:none}
  .hero-thumb:focus-visible{outline:3px solid #7478cd;outline-offset:2px}
}

/* 2026-10-15 Kenta「詳細を見るボタン消して」: the label covered the store name on the slide. The whole picture still opens the detail page. PC and phone. */
body .hero-carousel .campaign-image-label{display:none!important}

/* 2026-10-19 Kenta: the entrance-guide photos (store.json "routes"). Whole picture, no cropping; caption and guide text in black. PC and phone. */
.route-photo img{display:block;width:100%;height:auto;aspect-ratio:4/3}
.route-photo figcaption{color:#18263d;font-size:13px;text-align:left}
.route-text{color:#18263d;font-size:14px;line-height:1.9;margin:0 0 18px}

/* 2026-10-23 Kenta (top bar only): the head office said the logo differs from the master.
   Official side-by-side logo 01 (white) is shown whole with the margin it ships with
   (96.6pt of art in a 452.3 x 142.3pt file). Kenta chose this over the stacked logo (option B).
   Drawn height: 29px below 1024px (same as the head-office site on phones), 45px on PC
   (Kenta 2026-10-23: 50px felt large; 45px is about the VI minimum of 12mm).
   The store name uses the head-office type, Source Han Sans Bold; menu lines unchanged. */
#design-two-top .logo-viewport.logo-official{width:calc(29px*452.3/96.6);height:calc(29px*142.3/96.6)}
@media (min-width:1024px){
  #design-two-top .logo-viewport.logo-official{width:calc(45px*452.3/96.6);height:calc(45px*142.3/96.6)}
}
#design-two-top .logo-viewport.logo-official .brand-logo{position:static;display:block;width:100%;height:100%;max-width:none;left:auto;top:auto}
#design-two-top .store-name{font-family:'Source Han Sans JP',sans-serif}
#design-two-top .store-name,#design-two-top .store-name *{font-weight:700!important}
/* 2026-10-23 Kenta asked to centre the name on the menu lines (all widths): drop the sample's 10px push-down, which
   lined the name up with the old logo's lettering; the name now sits on the menu lines' centre. */
#design-two-top .store-name{transform:none}

/* 2026-10-26 Kenta: phones (under 1024px) — a fixed conditions box right under the top slides, for the money
   campaign in frame 1 (build.py top_terms_box). Text 16px, the site's black and line colour. Not on PC. */
.hero-terms{margin:16px 0 0;padding:16px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font-size:16px;line-height:1.7}
.hero-terms h3{margin:0 0 8px;font-size:18px;line-height:1.5;color:var(--ink)}
.hero-terms h3 span{display:inline-block}
.hero-terms dl{margin:0}
.hero-terms dl>div{padding:8px 0;border-top:1px solid var(--line)}
.hero-terms dt{font-size:14px;color:var(--ink)}
.hero-terms dd{margin:0;overflow-wrap:anywhere}
@media (min-width:1024px){.hero-terms{display:none!important}}
/* 2026-11-17 Kenta: apology note above the キャンペーン heading (store.json top_note) */
.top-note-section{padding:40px 0 16px}
.top-note{padding:16px 20px;border:2px solid #100169;border-radius:8px;background:#fff;color:#18263d;font-size:13px;line-height:1.7;font-weight:400}
.top-note-title{margin:0 0 8px;font-size:15px;line-height:1.7;font-weight:400;color:#100169}
.top-note p{margin:0}.top-note p+p{margin-top:8px}
.top-note-phrase{display:inline-block}
.top-note a{color:#100169;text-decoration:underline}
