/* Step 1: top page only. Keep the existing content, links and images. */
.dir-top {
  --ink: #302e2b;
  --muted: #66615b;
  --accent: #85363e;
  --line: #e4dfd8;
  --paper: #f7f5f1;
}
.dir-top body {
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: break-word;
}
.dir-top a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.dir-top .lead-text { margin-top: 24px; line-height: 1.85; }
.dir-top .site-main__body.top > section,
.dir-top .site-main__body.top > article { margin: 72px 0; }
.dir-top .site-main__body.top > section:first-child { margin-top: 0; }
.dir-top .site-main__body.top h2 {
  font-size: 26px;
  line-height: 1.5;
  letter-spacing: .035em;
  margin-bottom: 20px !important;
}
.dir-top .site-main__body.top h3 { font-size: 21px; line-height: 1.55; }
.dir-top .site-main__body.top h4 { font-size: 17px; line-height: 1.7; }
.dir-top .site-main__body.top .text-danger { color: var(--accent) !important; }
.dir-top .site-main__body.top .red-headline {
  background: transparent;
  color: var(--ink);
  border-top: 2px solid var(--accent);
  border-bottom: 1px solid var(--line);
  text-align: left;
  padding: 18px 0;
  margin: 0 0 24px;
}
.dir-top .site-main__body.top .bg-light {
  background: var(--paper) !important;
  margin: 0 !important;
  padding: 32px 0 !important;
}
.dir-top .site-main__body.top .bg-arrow { background: none; padding-bottom: 12px; }
.dir-top .site-main__body.top .y-bg { background: var(--paper); padding: 24px 0; }
.dir-top .creative-type ul.row,
.dir-top .pickup ul.row { margin: 0 -12px; row-gap: 32px; padding-top: 32px; }
.dir-top .creative-type ul.row > li,
.dir-top .pickup ul.row > li { padding: 0 12px; margin-top: 0 !important; }
.dir-top .creative-type article,
.dir-top .pickup article { border-bottom: 1px solid var(--line); padding-bottom: 24px; height: 100%; }
.dir-top .creative-type article .ml-2,
.dir-top .pickup article .ml-2 { margin-left: 0 !important; }
.dir-top .creative-type h3,
.dir-top .pickup h3 { margin: 16px 0 12px !important; }
.dir-top .site-main__body.top .creative-type h4 {
  background: var(--paper);
  color: var(--muted);
  border-left: 2px solid var(--line);
  font-size: 14px;
  padding: 8px 12px !important;
  margin-bottom: 12px;
}
.dir-top .creative-type footer,
.dir-top .pickup footer { margin-top: 16px !important; }
.dir-top .site-main__body.top .read-more {
  color: var(--accent);
  text-underline-offset: 4px;
  font-size: 15px;
  display: inline-block;
  padding: 4px 0;
}
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .dir-top .site-main__body.top a.read-more:hover { text-decoration: underline; }
}
.dir-top .site-main__body.top .character { margin-bottom: 0; }
.dir-top .site-main__body.top .character li > div { background: var(--paper); }
.dir-top .site-main__body.top .detail ul { border-color: var(--line); }
.dir-top .site-main__body.top .detail a { border-color: var(--line); }
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .dir-top .site-main__body.top .detail a:hover { background: var(--paper); }
}
.dir-top .site-main__body.top .bg-secondary {
  background: var(--accent) !important;
  border-radius: 4px;
  box-shadow: 0 3px 14px rgb(0 0 0 / 6%);
}
@media (min-width: 768px) {
  .dir-top .creative-type article > a > .row { height: 100%; display: flex; flex-direction: column; }
  .dir-top .creative-type article > a > .row > .col-md-12 { flex: none; }
  .dir-top .creative-type article > a > .row > .col-md-12:last-child { flex: 1; display: flex; }
  .dir-top .creative-type article .ml-2 { display: flex; flex-direction: column; width: 100%; }
  .dir-top .creative-type h4 { min-height: 64px; }
  .dir-top .creative-type article p { flex: 1; }
  .dir-top .creative-type figure img { width: 100%; height: auto; }
}
@media (max-width: 767px) {
  .dir-top .site-main__body.top > section,
  .dir-top .site-main__body.top > article { margin: 48px 0; }
  .dir-top .site-main__body.top > section:first-child { margin-top: 32px; }
  .dir-top .site-main__body.top h2 { font-size: 23px; }
  .dir-top .site-main__body.top h3 { font-size: 20px; }
  .dir-top .lead-text { margin: 20px 0 32px; }
  .dir-top .creative-type article > a > .row,
  .dir-top .pickup article > a > .row { display: block; }
  .dir-top .creative-type article > a > .row > div,
  .dir-top .pickup article > a > .row > div { width: 100%; max-width: 100%; }
  .dir-top .creative-type figure img { width: 100%; max-width: 240px; }
  .dir-top .pickup figure img { max-width: 180px; width: 100%; }
  .dir-top .site-main__body.top .bg-light { padding: 28px 0 !important; }
  .dir-top .site-main__body.top .red-headline { padding: 16px 0; }
}

.dir-top .creative-type article > a,
.dir-top .pickup article > a { display: block; height: 100%; }
.dir-top .site-main__body.top .top-youto footer p,
.dir-top .site-main__body.top .top-pickup footer p { color: var(--accent); margin-bottom: 0; }

/* Step 2: real full-card anchors, soft shadows and dark hover feedback. */
.dir-top .site-main__body.top .bg-light.production-examples {
  background: #eeebe6 !important;
  color: var(--ink);
}
.dir-top .site-main__body.top .production-examples .text-danger { color: var(--accent) !important; }
.dir-top .production-examples .carousel-control-prev,
.dir-top .production-examples .carousel-control-next { opacity: 1; }
.dir-top .production-examples .carousel-control-prev-icon,
.dir-top .production-examples .carousel-control-next-icon {
  background-image: none;
  width: 14px;
  height: 14px;
  border-top: 2px solid #514c47;
  border-right: 2px solid #514c47;
}
.dir-top .production-examples .carousel-control-prev-icon { transform: rotate(-135deg); }
.dir-top .production-examples .carousel-control-next-icon { transform: rotate(45deg); }
.dir-top .production-examples .carousel-indicators li { background: #c9c2b9; }
.dir-top .production-examples .carousel-indicators li.active { background: #655d54; }
.dir-top .creative-type article,
.dir-top .pickup article,
.dir-top .character .content-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 3px 16px rgb(40 32 24 / 8%);
  padding: 0;
}
.dir-top .creative-type article > a,
.dir-top .pickup article > a,
.dir-top .content-card__link {
  display: block;
  position: relative;
  isolation: isolate;
  border-radius: 6px;
  padding: 18px;
  color: var(--ink);
  text-decoration: none;
  height: 100%;
}
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .dir-top .content-card__link:hover { color: var(--ink); text-decoration: none; }
}
.dir-top .site-main__body.top .character a.content-card__link { color: var(--ink); }
.dir-top .site-main__body.top .character .content-card li > div { background: var(--paper); color: var(--muted); }
.dir-top .character > .row { row-gap: 28px; }
.dir-top .character > .row > .col-md-6 { display: flex; }
.dir-top .character .content-card { width: 100%; margin-bottom: 0 !important; }
.dir-top .character .content-card__link { display: flex; flex-direction: column; }
.dir-top .character .content-card__link > .container { display: flex; flex-direction: column; flex: 1; }
.dir-top .character .content-card footer { margin-top: auto !important; padding-top: 16px; }
.dir-top .character .content-card figure img { max-width: 100%; height: auto; }
.dir-top .detail ul.row { border: 0; gap: 16px; }
.dir-top .detail ul.row > li { flex: 0 0 calc((100% - 32px) / 3); max-width: calc((100% - 32px) / 3); }
.dir-top .detail a {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line) !important;
  border-radius: 6px;
  box-shadow: 0 3px 14px rgb(40 32 24 / 7%);
}
.dir-top .detail a,
.dir-top .carousel-item > a { position: relative; display: block; }
.dir-top .site-main__body.top .bg-secondary { padding: 0 !important; }
.dir-top .site-main__body.top .bg-secondary > a { display: block; padding: 12px 24px; border-radius: 4px; }
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .dir-top .site-main__body.top .bg-secondary > a:hover { background: rgb(0 0 0 / 12%); }
}
.dir-top .carousel-inner,
.dir-top .carousel-control-prev,
.dir-top .carousel-control-next,
.dir-top .carousel-control-prev-icon,
.dir-top .carousel-control-next-icon {
  box-shadow: none;
  filter: none;
}
/* An overlay darkens the whole clickable surface without fading text. */
.dir-top :is(.creative-type article > a, .pickup article > a, .content-card__link, .detail a, .carousel-item > a)::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgb(0 0 0 / 9%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .dir-top .site-main__body.top :is(.top-youto, .top-pickup) a:hover { opacity: 1; }
}
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .dir-top :is(.creative-type article > a, .pickup article > a, .content-card__link, .detail a, .carousel-item > a):hover::after { opacity: 1; }
  .dir-top .site-sub__bnr a:hover img { opacity: 1; filter: brightness(.9); }
  .dir-top .fixed-btn__link:hover { opacity: 1; filter: brightness(.9); }
  .dir-top .main-estimate a:hover,
  .dir-top .color-btn:hover { filter: brightness(.9); }
}
.dir-top :is(.creative-type article > a, .pickup article > a, .content-card__link, .detail a):focus-visible::after { opacity: 1; }
@media (max-width: 767px) {
  .dir-top .detail ul.row > li { flex-basis: calc((100% - 16px) / 2); max-width: calc((100% - 16px) / 2); }
  .dir-top .creative-type article > a,
  .dir-top .pickup article > a,
  .dir-top .content-card__link { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .dir-top .site-main__body.top a::after { transition: none; }
}

/* TOP sidebar navigation only; keep original banners and phone image. */
.dir-top .sidebar-refined .site-sub__navigation { font-size: 14px; line-height: 1.65; letter-spacing: 0; background: none; padding: 0; border-top: 1px solid var(--line); }
.dir-top .sidebar-refined .site-sub__navigation dl { padding: 22px 0 16px; border-bottom: 1px solid var(--line); }
.dir-top .sidebar-refined .site-sub__navigation dt { padding: 0 12px 0 14px; margin: 0 0 12px; border-left: 3px solid var(--accent); color: var(--ink); font-size: 15px; font-weight: 700; line-height: 1.6; }
.dir-top .sidebar-refined .site-sub__navigation dd { background: none; margin: 0; padding: 0; }
.dir-top .sidebar-refined .site-sub__navigation ul { margin: 0; }
.dir-top .sidebar-refined .site-sub__navigation li { background: none; border: 0; margin: 0; padding: 0; font-size: 13px; line-height: 1.65; }
.dir-top .sidebar-refined .site-sub__navigation li a { display: block; position: relative; min-height: 40px; padding: 10px 26px 10px 17px; color: #514c47; border-radius: 3px; }
.dir-top .sidebar-refined .site-sub__navigation li a::after { content: ""; position: absolute; top: 17px; right: 12px; width: 5px; height: 5px; border-top: 1px solid #91867b; border-right: 1px solid #91867b; transform: rotate(45deg); }
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .dir-top .sidebar-refined .site-sub__navigation li a:hover { color: var(--accent); background: #eeebe6; }
}

/* Touch screens: taps do not latch hover dimming or hover transitions.
   Keep normal link navigation, keyboard outlines and carousel controls. */
@media (max-width: 767px), (hover: none), (pointer: coarse) {
  .dir-top a,
  .dir-top a img,
  .dir-top a::before,
  .dir-top a::after {
    transition: none !important;
    animation: none !important;
  }
  .dir-top :is(.creative-type article > a, .pickup article > a, .content-card__link, .detail a, .carousel-item > a)::after {
    opacity: 0 !important;
  }
  .dir-top .site-main__body.top :is(.top-youto, .top-pickup) a:hover,
  .dir-top .site-sub__bnr img:hover,
  .dir-top .fixed-btn__link:hover { opacity: 1; filter: none; }
  .dir-top .main-estimate a:hover,
  .dir-top .color-btn:hover { filter: none; }
  .dir-top .site-main__body.top .detail a:hover { background: #fff; }
  .dir-top .site-main__body.top a.read-more:hover { text-decoration: none; }
  .dir-top .sidebar-refined .site-sub__navigation li a:hover { color: #514c47; background: none; }
  .dir-top .site-sub a:hover { color: inherit; }
  .dir-top .carousel-control-prev,
  .dir-top .carousel-control-next { opacity: 1; }
}

/* Ordering guide: editorial layouts, not a second card system. */
.dir-top .editorial { padding: 0 15px; }
.dir-top .editorial p { line-height: 1.85; }
.dir-top .overview-intro { border-top: 3px solid var(--accent); padding-top: 24px; margin-bottom: 32px; }
.dir-top .order-overview h1 { font-size: clamp(27px, 2.6vw, 34px); font-weight: 700; letter-spacing: .02em; line-height: 1.5; margin: 0 0 20px; }
.dir-top .overview-intro > p { margin: 0; color: #514c47; font-size: 15px; }
.dir-top .overview-guide { background: #f7f5f1; padding: 24px; }
.dir-top .site-main__body.top .overview-guide h2 { font-size: 19px; letter-spacing: .02em; font-weight: 700; margin: 0 0 20px !important; }
.dir-top .order-facts { margin: 0; background: #fff; border-top: 1px solid var(--line); }
.dir-top .order-facts > div { display: grid; grid-template-columns: 92px 1fr; border-bottom: 1px solid var(--line); }
.dir-top .order-facts dt { display: flex; align-items: flex-start; background: #ede9e2; padding: 18px 12px; font-size: 14px; font-weight: 700; }
.dir-top .order-facts dd { margin: 0; padding: 16px; font-size: 15px; }
.dir-top .order-facts strong { display: block; font-weight: 500; line-height: 1.7; }
.dir-top .order-facts small { display: block; color: #625b53; font-size: 13px; line-height: 1.75; margin-top: 6px; }
.dir-top .overview-guide .editorial-actions { padding-top: 22px; }
.dir-top .editorial-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.dir-top a.editorial-button { display: inline-block; color: #fff; background: var(--accent); padding: 14px 24px; font-size: 15px; font-weight: 700; border-radius: 3px; text-decoration: none; }
.dir-top .editorial-text-link { display: inline-block; padding: 8px 0; color: var(--accent); font-size: 14px; text-underline-offset: 4px; }
.dir-top .page-index { margin-top: 32px; }
.dir-top .page-index > p { margin: 0 0 14px; font-size: 15px; font-weight: 700; }
.dir-top .page-index ul { display: grid; grid-template-columns: 1fr 1fr; margin: 0; column-gap: 24px; list-style: none; }
.dir-top .page-index li { border-bottom: 1px solid var(--line); }
.dir-top .page-index a { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 52px; padding: 12px 0; font-size: 14px; color: var(--ink); text-decoration: none; line-height: 1.65; }
.dir-top .page-index a span { color: var(--accent); flex: 0 0 auto; }
.dir-top .editorial h2 { text-align: left !important; }
.dir-top .editorial-note { font-size: 13px; color: var(--muted); margin: 18px 0 0; }
.dir-top .comparison-scroll { overflow-x: auto; margin-top: 24px; }
.dir-top .method-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 580px; line-height: 1.8; }
.dir-top .method-table th, .dir-top .method-table td { padding: 16px 12px; vertical-align: top; border-bottom: 1px solid var(--line); text-align: left; }
.dir-top .method-table thead th { background: var(--paper); font-weight: 700; border-top: 1px solid var(--line); }
.dir-top .method-table tbody th { width: 120px; padding-left: 0; white-space: nowrap; }
.dir-top .method-table a { color: var(--accent); text-underline-offset: 4px; }
.dir-top .table-hint { display: none; margin: 14px 0 0; font-size: 12px; color: var(--muted); }
.dir-top .case-stories { margin-top: 40px; }
.dir-top .case-stories > h3 { font-weight: 700; margin: 0 0 12px; }
.dir-top .case-story { display: grid; grid-template-columns: 38% 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.dir-top .case-story figure { margin: 0; align-self: start; }
.dir-top .case-story img { display: block; width: 100%; height: auto; }
.dir-top .case-story h4 { font-weight: 700; margin: 0 0 12px; }
.dir-top .case-context { font-size: 12px; color: var(--accent); margin: 0 0 8px; }
.dir-top .case-story p { font-size: 14px; }
.dir-top .case-story .case-spec { font-size: 12px; color: var(--muted); }
.dir-top .case-story a { color: var(--accent); font-size: 13px; text-underline-offset: 4px; }
.dir-top .flow-list { list-style: none; counter-reset: flow; margin: 28px 0 16px; padding: 0; }
.dir-top .flow-list li { position: relative; padding: 22px 0 22px 46px; border-top: 1px solid var(--line); counter-increment: flow; }
.dir-top .flow-list li:last-child { border-bottom: 1px solid var(--line); }
.dir-top .flow-list li::before { content: counter(flow, decimal-leading-zero); position: absolute; left: 0; top: 22px; font-size: 16px; color: var(--accent); font-variant-numeric: tabular-nums; }
.dir-top .site-main__body.top .flow-list h3 { font-size: 17px; margin: 0 0 8px; font-weight: 700; }
.dir-top .flow-list p { font-size: 14px; margin: 0; }
.dir-top .order-faq details, .dir-top .preparation-reading > details { border-bottom: 1px solid var(--line); }
.dir-top .order-faq details:first-of-type, .dir-top .preparation-reading > details { border-top: 1px solid var(--line); }
.dir-top .editorial summary { position: relative; cursor: pointer; padding: 22px 36px 22px 0; list-style: none; font-size: 16px; font-weight: 700; }
.dir-top .editorial summary::-webkit-details-marker { display: none; }
.dir-top .editorial summary::after { content: '+'; position: absolute; right: 6px; top: 20px; color: var(--accent); font-size: 22px; font-weight: 400; }
.dir-top .editorial details[open] > summary::after { content: '−'; }
.dir-top .order-faq details > div { padding: 0 24px 16px 0; font-size: 15px; }
.dir-top .order-faq details p { margin: 0; }
.dir-top .order-faq details a { color: var(--accent); text-underline-offset: 4px; }
.dir-top .order-faq > a { margin-top: 20px; }
.dir-top .preparation-reading details > article { padding-bottom: 24px; }
.dir-top [id] { scroll-margin-top: 24px; }
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .dir-top a.editorial-button:hover { color: #fff; background: #6e2931; }
  .dir-top .page-index a:hover { color: var(--accent); text-decoration: underline; }
}
@media (max-width: 767px) {
  .dir-top .overview-intro { padding-top: 20px; margin-bottom: 24px; }
  .dir-top .overview-guide { padding: 20px 14px; }
  .dir-top .order-facts > div { grid-template-columns: 70px 1fr; }
  .dir-top .order-facts dt { font-size: 13px; padding: 15px 9px; }
  .dir-top .order-facts dd { padding: 13px 12px; }
  .dir-top .order-facts small { font-size: 13px; }
  .dir-top .overview-guide .editorial-button { width: 100%; text-align: center; font-size: 14px; padding: 14px 8px; }
  .dir-top .order-facts dd { font-size: 14px; }
  .dir-top .table-hint { display: block; }
  .dir-top .case-story { grid-template-columns: 1fr; gap: 18px; }
  .dir-top .case-story figure { max-width: 400px; width: 100%; }
  .dir-top .editorial summary { font-size: 15px; }
  .dir-top .page-index ul { grid-template-columns: 1fr; }
}
