/* Owner-approved reusable Notes layout. The homepage and published CSS are unchanged. */
.guides-page .note-v2-deals{margin-top:12px}
.guides-page .note-v2-deals .deal-note-heading{margin-bottom:22px}
.guides-page .note-v2-deals .deal-note-heading p{max-width:62ch}
.guides-page .note-deal-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;
  width:100%;margin:22px 0 18px;align-items:stretch
}
.guides-page .note-deal-card{
  min-width:0;display:flex;flex-direction:column;overflow:hidden;
  border:1px solid #e7d8c9;border-radius:20px;background:#fffdfa;
  box-shadow:0 10px 24px rgba(70,38,20,.065);
  transition:transform .16s ease,box-shadow .16s ease
}
.guides-page .note-deal-card:hover{transform:translateY(-3px);box-shadow:0 17px 34px rgba(70,38,20,.11)}
.guides-page .note-deal-card-link{
  display:flex;flex-direction:column;flex:1;text-decoration:none;color:#39281c;
  min-width:0;min-height:0
}
.guides-page .note-deal-card-link:focus-visible{outline:3px solid #c4491c;outline-offset:-4px}
.guides-page .note-deal-media{
  position:relative;aspect-ratio:1/1;display:flex;align-items:center;
  justify-content:center;background:#fff;border-bottom:1px solid #f3e5d5;
  overflow:hidden
}
.guides-page .note-deal-media img{
  display:block;width:100%;height:100%;object-fit:contain;
  object-position:center;min-width:0;min-height:0
}
.guides-page .note-deal-pr{
  position:absolute;z-index:2;top:14px;left:14px;background:#a74319;
  color:#fff;font-size:.73rem;font-weight:900;border-radius:100px;padding:6px 10px;
  box-shadow:0 3px 10px #311c121f
}
.guides-page .note-deal-copy{padding:20px 18px 18px;display:flex;flex:1;flex-direction:column;min-width:0}
.guides-page .note-deal-topline{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  color:#97512f;font-weight:850;font-size:.72rem;line-height:1.4;
  flex-wrap:wrap
}
.guides-page .note-deal-topline span:last-child{color:#876f5f;font-weight:700}
.guides-page .note-deal-copy h3{
  font-size:clamp(1.13rem,1.45vw,1.33rem);letter-spacing:-.04em;line-height:1.4;
  margin:12px 0 8px;font-weight:900;overflow-wrap:anywhere;color:#39281c
}
.guides-page .note-deal-benefit{
  font-size:.87rem;color:#76665c;line-height:1.72;margin:0 0 16px;flex:1
}
.guides-page .note-deal-prices{
  display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:end;
  background:#fff3e8;border:1px solid #f3dcc7;border-radius:14px;
  padding:15px 13px;margin-top:auto
}
.guides-page .note-deal-prices>div{display:flex;flex-direction:column;min-width:0;gap:4px}
.guides-page .note-deal-prices>div+div{border-left:1px solid #e8c7b1;padding-left:12px}
.guides-page .note-deal-prices span{
  font-size:.7rem;line-height:1.45;color:#85634c;font-weight:750;
  overflow-wrap:anywhere
}
.guides-page .note-deal-prices strong{
  font-size:clamp(1.9rem,2.4vw,2.65rem);letter-spacing:-.07em;line-height:1.1;
  color:#ad4218;font-weight:950;white-space:nowrap
}
.guides-page .note-deal-prices s{font-size:1.06rem;font-weight:850;color:#806657}
.guides-page .note-deal-prices small{font-size:.72rem;color:#9d441d;font-weight:900;line-height:1.4}
.guides-page .note-deal-bottom{
  display:flex;align-items:center;justify-content:space-between;gap:11px;
  flex-wrap:wrap;margin-top:15px;font-size:.76rem;line-height:1.5
}
.guides-page .note-deal-bottom>span{color:#817064}
.guides-page .note-deal-bottom strong{font-size:.86rem;color:#a33d15;white-space:nowrap}
.guides-page .note-v2-deals .deal-note-footnote{margin-top:16px;max-width:88ch}
@media(max-width:1080px){
  .guides-page .note-deal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .guides-page .note-deal-prices strong{font-size:2.35rem}
}
@media(max-width:700px){
  .guides-page .note-deal-grid{grid-template-columns:1fr;gap:16px}
  .guides-page .note-deal-card{max-width:550px;width:100%;margin-inline:auto}
  .guides-page .note-deal-media{aspect-ratio:1.16/1}
  .guides-page .note-deal-copy{padding:17px}
  .guides-page .note-deal-prices strong{font-size:clamp(2.15rem,8vw,2.8rem)}
}
@media(max-width:370px){
  .guides-page .note-deal-prices{grid-template-columns:1fr}
  .guides-page .note-deal-prices>div+div{border-left:0;border-top:1px solid #e8c7b1;padding-left:0;padding-top:8px}
}
@media(prefers-reduced-motion:reduce){
  .guides-page .note-deal-card{transition:none}
  .guides-page .note-deal-card:hover{transform:none}
}

/* Review v2.1: independent alignment and readable comparison layout.
   Avoid two half-width price columns, which caused yen values to collide. */
.guides-page .note-deal-copy{padding:17px 16px 16px}
.guides-page .note-deal-topline{
  min-height:31px;
  gap:3px 10px;
  align-content:start;
  font-size:.69rem;
  line-height:1.3;
}
.guides-page .note-deal-copy h3{
  font-size:clamp(1.12rem,1.4vw,1.25rem);
  line-height:1.4;
  min-height:78px;
  margin:7px 0 7px;
  word-break:normal;
  overflow-wrap:break-word;
  text-wrap:pretty;
}
.guides-page .note-deal-title-keep{white-space:nowrap}
.guides-page .note-deal-benefit{
  flex:1 1 auto;
  min-height:57px;
  margin:0 0 11px;
  font-size:.82rem;
  line-height:1.65;
  text-wrap:pretty;
}
.guides-page .note-deal-prices{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  flex:0 0 150px;
  min-height:150px;
  margin-top:auto;
  padding:12px 13px;
  gap:0;
}
.guides-page .note-deal-prices>div{
  width:100%;
  min-width:0;
}
.guides-page .note-deal-prices .note-deal-price-now{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:space-between;
  min-height:53px;
  gap:8px;
  padding:0 0 9px;
}
.guides-page .note-deal-prices .note-deal-price-now span{
  display:block;
  max-width:43%;
  font-size:.69rem;
  line-height:1.35;
}
.guides-page .note-deal-prices .note-deal-price-now strong{
  font-size:clamp(1.95rem,2.55vw,2.35rem);
  line-height:1.1;
  letter-spacing:-.06em;
  white-space:nowrap;
  flex-shrink:0;
}
.guides-page .note-deal-prices .note-deal-price-reference{
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  gap:4px;
  border-left:0;
  border-top:1px solid #edcbb7;
  padding:9px 0 0;
  min-height:68px;
}
.guides-page .note-deal-prices .note-deal-price-reference>span{
  font-size:.67rem;
  line-height:1.35;
  color:#866452;
  min-height:14px;
}
.guides-page .note-deal-reference-values{
  display:flex;
  gap:8px;
  justify-content:space-between;
  align-items:baseline;
  min-width:0;
  font-variant-numeric:tabular-nums;
}
.guides-page .note-deal-reference-values s{
  font-size:.84rem;
  font-weight:750;
  color:#846857;
  white-space:nowrap;
}
.guides-page .note-deal-reference-values small{
  color:#a8471d;
  font-size:.75rem;
  font-weight:900;
  white-space:nowrap;
}
.guides-page .note-deal-bottom{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:space-between;
  flex:0 0 57px;
  min-height:57px;
  gap:4px;
  margin-top:10px;
}
.guides-page .note-deal-bottom>span{
  font-size:.70rem;
  line-height:1.35;
  color:#807064;
  min-height:29px;
}
.guides-page .note-deal-bottom strong{
  display:block;
  font-size:.83rem;
  text-align:right;
  border-top:1px solid #eee4da;
  padding-top:6px;
  line-height:1.3;
  white-space:nowrap;
}
@media(max-width:700px){
  .guides-page .note-deal-copy{padding:17px 16px}
  .guides-page .note-deal-prices .note-deal-price-now strong{font-size:clamp(2rem,7vw,2.5rem)}
}
@media(max-width:370px){
  .guides-page .note-deal-prices{display:flex;flex-direction:column}
  .guides-page .note-deal-prices .note-deal-price-reference{border-left:0;border-top:1px solid #edcbb7;padding:9px 0 0}
  .guides-page .note-deal-prices .note-deal-price-now strong{font-size:2rem}
}

/* Keep the CTA aligned inside the full card even at 320px when the model text is long. */
.guides-page .note-deal-bottom > span,
.guides-page .note-deal-bottom > strong{box-sizing:border-box;width:100%;min-width:0;max-width:100%;}

/* Final fix: previous flex-wrap would wrap a vertical footer into a second COLUMN.
   Use a two-ROW grid so the condition and CTA cannot sit side by side or escape. */
.guides-page .note-deal-bottom{
  display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:30px minmax(24px,auto);
  flex:0 0 65px;min-height:65px;gap:5px;align-items:start;justify-content:stretch;
  flex-wrap:nowrap;
}
.guides-page .note-deal-bottom>span,
.guides-page .note-deal-bottom>strong{width:100%;min-width:0;max-width:100%}

/* 2026-10-18 Owner lock: square product-first media, newest-first cards,
   bounded 9-card Notes feed plus responsive accessible archive. */
.guides-page .note-deal-media{
  background:#f6f0e8;
  isolation:isolate;
  overflow:hidden;
}
.guides-page .note-deal-media img{
  display:block;
  width:100%;height:100%;
  min-width:0;min-height:0;
  object-fit:cover;
  object-position:center center;
  transform:none;
}
.guides-page .note-deal-media--contain img{
  object-fit:contain;
}
.guides-page .note-deal-pr{
  z-index:3;
  pointer-events:none;
}
.guides-page .note-archive-cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:14px;
  margin:22px 0 18px;
  border:1px solid #efddcd;
  background:#fffaf5;
  padding:16px 20px;
  border-radius:16px;
  color:#735745;
  font-size:.88rem;
  font-weight:700;
}
.guides-page .note-archive-cta a{
  color:#a7441b;
  font-weight:850;
  text-decoration:underline;
  text-underline-offset:3px;
}
.guides-page .note-archive-cta a:focus-visible,
.guides-page .note-archive-list a:focus-visible,
.guides-page .note-archive-pages a:focus-visible{
  outline:3px solid #c64e24;
  outline-offset:3px;
}
.guides-page .note-archive-page{
  max-width:960px;
  margin:0 auto;
  padding:80px 26px 60px;
}
.guides-page .note-archive-page h1{
  font-size:clamp(1.8rem,3.7vw,3rem);
  margin:10px 0 14px;
}
.guides-page .note-archive-page>p{
  color:#766457;
  line-height:1.75;
  max-width:68ch;
}
.guides-page .note-archive-list{
  padding:0;
  margin:32px 0;
  list-style:none;
  display:grid;
  gap:12px;
}
.guides-page .note-archive-item a{
  display:grid;
  gap:6px;
  min-width:0;
  padding:18px 22px;
  border:1px solid #eaddd2;
  background:#fffdfa;
  border-radius:15px;
  color:#35291e;
  text-decoration:none;
}
.guides-page .note-archive-item a:hover{
  border-color:#dcae95;
  background:#fff5ed;
}
.guides-page .note-archive-item .note-archive-metadata{
  color:#b2562e;
  font-size:.78rem;
  font-weight:800;
}
.guides-page .note-archive-item strong{
  font-size:1.15rem;
  overflow-wrap:break-word;
  line-height:1.4;
}
.guides-page .note-archive-item a>span:last-child{
  font-size:.8rem;
  color:#725b4f;
  overflow-wrap:break-word;
}
.guides-page .note-archive-pages{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin:24px 0;
  font-size:.88rem;
}
.guides-page .note-archive-pages a{
  color:#ad491d;
  font-weight:850;
  text-decoration:underline;
}
.guides-page .note-archive-footer{
  padding:26px;
  text-align:center;
  border-top:1px solid #eeded1;
  color:#8d7563;
}
@media(max-width:700px){
  .guides-page .note-archive-page{padding:48px 18px}
  .guides-page .note-archive-cta{padding:14px 16px}
}
