/* Public, fully rendered feature guides. No JavaScript is needed for navigation. */
html[lang="ja"] .tg-site :is(h1, h2, h3, p, li, th, td, summary, a) { word-break: normal; overflow-wrap: anywhere; }
.tgf-hero > *, .tgf-index-hero > *, .tgf-benefit > *, .tgf-how-layout > *, .tgf-scenarios > *, .tgf-notes > * { min-width: 0; }
.tgf-breadcrumb { padding: 23px 0 0; font-size: 12px; color: #637068; }
.tgf-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px 12px; list-style: none; }
.tgf-breadcrumb li + li::before { content: '/'; margin-right: 12px; color: #8a9685; }
.tgf-breadcrumb a { text-decoration: none; }
.tgf-breadcrumb a:hover { text-decoration: underline; }
.tgf-hero, .tgf-index-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 68px; align-items: center; padding-block: 49px 66px; }
.tgf-hero h1, .tgf-index-hero h1 { font-size: clamp(35px, 3.9vw, 58px); line-height: 1.19; white-space: pre-line; font-weight: 600; margin: 21px 0 24px; }
.tgf-hero .tg-lead, .tgf-index-hero .tg-lead { font-size: 16px; line-height: 1.95; max-width: 560px; }
.tgf-highlights { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: 12px; }
.tgf-highlights li { display: flex; gap: 7px; align-items: baseline; }
.tgf-highlights li > span { color: #527440; }
.tgf-hero-actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: 33px; }
.tgf-hero-actions .tg-text-link { font-size: 12px; }
.tgf-toc-bar { position: sticky; top: 86px; z-index: 20; background: #fafbf6f5; backdrop-filter: blur(16px); border-block: 1px solid #dce1d5; }
.tgf-toc { min-height: 66px; display: flex; gap: 35px; align-items: center; }
.tgf-toc > span { margin-right: auto; font-size: 11px; color: #637068; }
.tgf-toc a { font-size: 12px; font-weight: 500; padding-block: 16px; text-underline-offset: 5px; text-decoration-color: transparent; }
.tgf-toc a:hover { text-decoration-color: currentColor; }
.tgf-detail [id], #feature-list { scroll-margin-top: 70px; }
.tgf-section-intro { margin-bottom: 38px; }
.tgf-section-intro h2, .tgf-how-layout h2 { font-size: clamp(29px, 3vw, 42px); font-weight: 500; margin-top: 14px; }
.tgf-benefit { display: grid; grid-template-columns: 70px 1fr 1.3fr; gap: 36px; align-items: start; padding: 35px 0; border-top: 1px solid #d9e0d1; }
.tgf-benefit-no { font: 400 28px/1.2 'DM Sans', sans-serif; color: #79936d; }
.tgf-benefit h3 { font-size: 23px; font-weight: 500; }
.tgf-benefit p, .tgf-scenarios p { font-size: 15px; line-height: 1.95; color: #5c6b60; }
.tgf-how-band { background: #173f35; color: #f7f9ec; }
.tgf-how-layout { display: grid; grid-template-columns: .8fr 1.5fr; gap: 85px; }
.tgf-how-layout .tg-eyebrow { color: #bdd39c; }
.tgf-how-layout > div > p:not(.tg-eyebrow) { color: #c9d9c7; font-size: 15px; margin-top: 25px; line-height: 1.9; }
.tgf-how-cta { display: inline-block; color: #e7f3b6 !important; text-underline-offset: 6px; margin-top: 28px; font-size: 13px; }
.tgf-steps { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 38px; }
.tgf-steps li { padding-top: 22px; border-top: 1px solid #56755e; }
.tgf-step-no { font: 400 27px/1 'DM Sans', sans-serif; color: #bed69b; }
.tgf-steps h3 { font-size: 19px; font-weight: 500; margin: 20px 0 14px; }
.tgf-steps p { font-size: 14px; line-height: 1.95; color: #d0dfcc; }
.tgf-scenarios { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.tgf-scenarios article { padding: 34px; background: #f0f2e7; border-radius: 10px; }
.tgf-scenario-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #c9d3b9; border-radius: 50%; margin-bottom: 24px; font-size: 20px; }
.tgf-scenarios h3 { font-size: 22px; font-weight: 500; margin-bottom: 17px; }
.tgf-notes { display: grid; grid-template-columns: 210px 1fr; gap: 42px; margin-top: 42px; padding: 28px 0 0; border-top: 1px solid #d9e0d1; }
.tgf-notes h3 { font-size: 15px; font-weight: 600; }
.tgf-notes ul { padding-left: 18px; font-size: 13px; color: #637068; line-height: 1.95; }
.tgf-notes li + li { margin-top: 10px; }
.tgf-related { border-top: 1px solid #dce1d5; }
.tgf-card { text-decoration: none; display: flex; flex-direction: column; position: relative; transition: border-color .2s; }
.tgf-card:hover { border-top-color: #245b46; }
.tgf-card:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.tgf-card-top { display: flex; align-items: center; justify-content: space-between; }
.tgf-card-icon { color: #57744b; display: grid; place-items: center; }
.tgf-card p { flex: 1; }
.tgf-card-link { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 12px; font-weight: 500; margin-top: 24px; }
.tgf-card-link > span { font-size: 20px; }
.tgf-download-back { display: inline-block; margin-top: 14px; color: #e7f3b6 !important; text-underline-offset: 5px; font-size: 12px; }
/* Feature directory */
.tgf-index-hero { align-items: start; padding-block: 56px 25px; }
.tgf-index-hero .tg-button { margin-top: 30px; }
.tgf-index-panel { background: #e8eedb; padding: 34px; border-radius: 14px; }
.tgf-index-count { display: flex; align-items: center; justify-content: space-between; color: #52724b; font: 400 96px/1 'DM Sans', sans-serif; letter-spacing: -.07em; }
.tgf-index-count > span { font-size: 80px; color: #9cb278; }
.tgf-index-panel h2 { font-size: 24px; margin: 21px 0 12px; font-weight: 500; }
.tgf-index-panel > p { font-size: 13px; line-height: 1.9; color: #5e6f54; }
.tgf-index-chips { margin-top: 24px; border-top: 1px solid #c6d2b3; }
.tgf-index-chips a { display: flex; align-items: center; gap: 13px; min-height: 42px; padding: 10px 0; border-bottom: 1px solid #c6d2b3; text-decoration: none; font-size: 12px; }
.tgf-index-chips a > span:first-child { color: #617a4f; font-size: 10px; }
.tgf-index-chips a > span:last-child { margin-left: auto; }
.tgf-index-chips a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tgf-journey-band { background: #eef1e5; }
.tgf-journey-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 45px; }
.tgf-journey-grid article { border-top: 1px solid #c6d2b8; padding-top: 26px; }
.tgf-journey-grid .tgf-step-no { color: #6b8852; }
.tgf-journey-grid h3 { font-size: 22px; font-weight: 500; margin: 22px 0 16px; }
.tgf-journey-grid p { font-size: 14px; line-height: 1.9; color: #617056; }
.tgf-journey-grid article > div { display: grid; gap: 10px; margin-top: 24px; }
.tgf-journey-grid a { text-underline-offset: 5px; font-size: 12px; }
.tgf-compare { margin-top: 30px; width: 100%; border-collapse: collapse; text-align: left; }
.tgf-compare th, .tgf-compare td { padding: 22px 12px; border-bottom: 1px solid #d9e0d1; }
.tgf-compare thead th { color: #637068; font-size: 12px; font-weight: 500; }
.tgf-compare tbody th { font-size: 16px; font-weight: 500; width: 58%; }
.tgf-compare td a { font-size: 14px; text-underline-offset: 5px; }
/* Each feature uses its own illustration, with visible sample labeling. */
.tgf-visual { margin: 0; min-width: 0; }
.tgf-visual-stage { position: relative; min-height: 480px; border-radius: 14px; overflow: hidden; background: #e9eedf; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 30px; }
.tgf-visual figcaption { margin-top: 12px; font-size: 10px; line-height: 1.8; color: #677660; }
.tgf-map { position: absolute; inset: 0; background: #2d5546; }
.tgf-map svg { width: 100%; height: 100%; object-fit: cover; }
.tgf-map-title { position: absolute; inset: 24px 24px auto; color: white; display: flex; justify-content: space-between; font-size: 12px; }
.tgf-distance { display: grid; grid-template-columns: repeat(3, 1fr); position: absolute; inset: auto 24px 73px; padding: 19px 10px; border-radius: 8px; background: #fafbf6f5; text-align: center; }
.tgf-distance > div + div { border-left: 1px solid #d2dbc8; }
.tgf-distance span { display: block; font-size: 11px; color: #637068; }
.tgf-distance strong { display: block; font: 500 29px/1.4 'DM Sans', sans-serif; }
.tgf-distance small { font: 400 11px 'Inter', sans-serif; margin-left: 3px; }
.tgf-location { position: absolute; bottom: 25px; left: 24px; right: 24px; display: flex; align-items: center; gap: 8px; font-size: 11px; color: #f4f6e8; }
.tgf-location .tg-status-dot { background: #d5edb0; }
.tgf-score-sheet { width: 100%; max-width: 350px; background: #fffef7; padding: 25px; border-radius: 9px; box-shadow: 0 18px 40px #193d3120; transform: rotate(-3deg); }
.tgf-sheet-brand { font: 500 18px 'DM Sans', sans-serif; letter-spacing: -1px; }
.tgf-sheet-brand > span { color: #8fa858; }
.tgf-score-sheet h2 { font-size: 12px; font-weight: 400; color: #64715e; margin-top: 8px; }
.tgf-score-total { display: flex; align-items: baseline; justify-content: space-between; margin: 19px 0; }
.tgf-score-total strong { font: 400 69px/1.1 'DM Sans', sans-serif; letter-spacing: -4px; }
.tgf-score-total > span { font-size: 11px; color: #728369; }
.tgf-score-sheet table { width: 100%; text-align: center; border-collapse: collapse; }
.tgf-score-sheet th, .tgf-score-sheet td { padding: 10px 4px; border-bottom: 1px solid #dce2d1; font-size: 13px; font-weight: 400; }
.tgf-score-sheet thead th { font-size: 10px; color: #637068; border-top: 1px solid #dce2d1; }
.tgf-score-sheet td:nth-child(3) { background: #edf2dc; font-weight: 600; }
.tgf-saved { margin-top: 18px; font-size: 11px; color: #4e6c40; display: flex; gap: 8px; align-items: center; }
.tgf-saved > span { background: #e7f0d3; border-radius: 50%; width: 23px; height: 23px; display: grid; place-items: center; }
.tgf-visual-title { position: relative; font-size: 14px; font-weight: 500; text-align: center; margin-bottom: 24px; }
.tgf-visual-ai-scorecard .tgf-visual-stage { background: #eaeadd; }
.tgf-scan-paper { position: relative; width: 100%; max-width: 320px; background: #fffef6; padding: 20px; transform: rotate(-4deg); box-shadow: 0 12px 22px #27413216; border-radius: 3px; }
.tgf-scan-paper > span:first-child { font: 500 11px 'DM Sans', sans-serif; color: #6d7e60; }
.tgf-paper-grid { display: grid; grid-template-columns: repeat(9, 1fr); margin-top: 15px; border-top: 1px solid #d4dbc7; border-left: 1px solid #d4dbc7; }
.tgf-paper-grid > span { text-align: center; padding: 8px 0; font: italic 15px Georgia, serif; border-right: 1px solid #d4dbc7; border-bottom: 1px solid #d4dbc7; }
.tgf-scan-line { position: absolute; left: -8px; right: -8px; height: 30px; top: 58px; border-top: 2px solid #698e45; background: linear-gradient(#98c46240, transparent); }
.tgf-scan-flow { position: relative; width: 100%; max-width: 320px; list-style: none; margin-top: 32px; }
.tgf-scan-flow li { display: flex; gap: 14px; align-items: center; background: #fffef7; border-radius: 5px; padding: 12px 17px; font-size: 12px; }
.tgf-scan-flow li + li { margin-top: 7px; }
.tgf-scan-flow li:last-child { background: #244b3b; color: #eaf5cf; }
.tgf-scan-flow li > span { font-size: 10px; opacity: .75; }
.tgf-scan-flow b { margin-left: auto; font-size: 15px; }
.tgf-visual-note { margin-top: 17px; font-size: 10px; text-align: center; color: #677660; }
.tgf-visual-scorecard-design .tgf-visual-stage { background: #e7e4d8; padding: 24px; }
.tgf-design-word { position: absolute; left: 25px; top: 40px; color: #b0b895; font: 500 76px/.95 'DM Sans', sans-serif; letter-spacing: -5px; }
.tgf-design-phone { width: 193px; border: 5px solid #253c32; border-radius: 26px; background: #253c32; overflow: hidden; transform: rotate(7deg) translateX(28px); box-shadow: 0 20px 35px #253b3330; }
.tgf-design-phone img { width: 100%; height: auto; display: block; }
.tgf-design-swatch { display: flex; gap: 8px; position: absolute; bottom: 30px; left: 24px; padding: 13px; background: #fffef2; border-radius: 40px; box-shadow: 0 6px 18px #35442b12; }
.tgf-design-swatch i { display: block; border-radius: 50%; width: 21px; height: 21px; background: #45654b; }
.tgf-design-swatch i:nth-child(2) { background: #c3a060; }
.tgf-design-swatch i:nth-child(3) { background: #9eaba0; }
.tgf-design-swatch i:nth-child(4) { background: #e5d7ae; }
.tgf-visual-scorecard-sharing .tgf-visual-stage { background: #e4eadd; }
.tgf-share-card { background: #fffef6; width: 100%; max-width: 320px; border-radius: 7px; box-shadow: 0 15px 30px #203f3020; overflow: hidden; transform: rotate(-4deg); margin-bottom: 27px; }
.tgf-share-landscape svg { display: block; width: 100%; }
.tgf-share-result { display: flex; flex-direction: column; text-align: center; padding: 17px; }
.tgf-share-result > span { font-size: 10px; }
.tgf-share-result > strong { font: 400 63px/1.2 'DM Sans', sans-serif; letter-spacing: -3px; }
.tgf-visual-scorecard-sharing .tgf-visual-title { margin-bottom: 16px; }
.tgf-share-flow { display: grid; grid-template-columns: repeat(2, 1fr); width: 100%; gap: 7px; max-width: 335px; }
.tgf-share-flow > span { display: flex; align-items: baseline; gap: 9px; font-size: 10px; padding: 8px 0; }
.tgf-share-flow b { font-weight: 400; color: #6c8554; }
.tgf-visual-round-album .tgf-visual-stage { background: #e4ebe1; }
.tgf-album-mosaic { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto 106px; gap: 8px; width: 100%; max-width: 350px; }
.tgf-album-mosaic > div { overflow: hidden; border-radius: 6px; }
.tgf-album-scenery { grid-column: span 2; }
.tgf-album-scenery svg { width: 100%; display: block; }
.tgf-album-video { background: #315740; position: relative; }
.tgf-album-video svg { width: 100%; height: 100%; }
.tgf-album-video > span { position: absolute; right: 10px; bottom: 7px; font-size: 9px; color: #e5efcf; }
.tgf-album-date { background: #f9f6e5; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.tgf-album-date > span { font-size: 9px; letter-spacing: .15em; color: #60734c; }
.tgf-album-date > strong { font: 400 43px/1.2 'DM Sans', sans-serif; letter-spacing: -2px; }
.tgf-album-caption { width: 100%; max-width: 350px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; align-items: baseline; margin-top: 20px; }
.tgf-album-caption strong { font-weight: 500; font-size: 14px; }
.tgf-album-caption > span { font-size: 10px; color: #677660; }
.tgf-album-tags { width: 100%; max-width: 350px; display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 11px; font-size: 10px; color: #56694b; }
@media (max-width: 1160px) {
  .tgf-hero, .tgf-index-hero { gap: 38px; }
  .tgf-benefit { grid-template-columns: 45px 1fr 1.3fr; gap: 24px; }
  .tgf-how-layout { gap: 48px; }
  .tgf-toc { gap: 23px; }
  .tgf-visual-stage { min-height: 445px; padding: 24px; }
  .tgf-score-sheet { padding: 22px; }
}
@media (max-width: 850px) {
  .tgf-hero, .tgf-index-hero { grid-template-columns: 1fr; gap: 35px; padding-block: 35px 44px; }
  .tgf-hero h1, .tgf-index-hero h1 { font-size: 45px; }
  .tgf-visual { width: 100%; max-width: 530px; margin-inline: auto; }
  .tgf-visual-stage { min-height: 470px; }
  .tgf-toc-bar { top: 74px; }
  .tgf-toc { justify-content: space-between; gap: 16px; }
  .tgf-toc > span { display: none; }
  .tgf-benefit { grid-template-columns: 45px 1fr; gap: 15px 22px; }
  .tgf-benefit p { grid-column: 2; }
  .tgf-how-layout { grid-template-columns: 1fr; gap: 38px; }
  .tgf-how-layout > div > p:not(.tg-eyebrow) { max-width: 550px; }
  .tgf-notes { grid-template-columns: 1fr; gap: 15px; }
  .tgf-scenarios article { padding: 27px; }
  .tgf-journey-grid { gap: 25px; }
  .tgf-index-panel { max-width: 600px; width: 100%; }
  .tgf-index-chips { display: grid; grid-template-columns: 1fr 1fr; column-gap: 25px; }
}
@media (max-width: 640px) {
  .tgf-breadcrumb { font-size: 10px; padding-top: 17px; }
  .tgf-breadcrumb ol { gap: 5px 8px; }
  .tgf-breadcrumb li + li::before { margin-right: 8px; }
  .tgf-hero h1, .tgf-index-hero h1 { font-size: clamp(29px, 8.5vw, 40px); letter-spacing: -.055em; margin-top: 17px; }
  .tgf-hero .tg-lead, .tgf-index-hero .tg-lead { font-size: 14px; line-height: 1.95; }
  .tgf-highlights { gap: 9px 16px; font-size: 11px; margin-top: 22px; }
  .tgf-hero-actions { gap: 18px; margin-top: 27px; }
  .tgf-hero-actions .tg-text-link { font-size: 11px; }
  .tgf-hero-actions .tg-button { padding-inline: 17px; font-size: 12px; }
  .tgf-toc-bar { top: 68px; }
  .tgf-toc { min-height: 57px; gap: 8px; flex-wrap: wrap; padding-block: 8px; }
  .tgf-toc a { font-size: 10px; padding-block: 8px; line-height: 1.5; }
  .tgf-detail [id], #feature-list { scroll-margin-top: 40px; }
  .tgf-section-intro { margin-bottom: 26px; }
  .tgf-section-intro h2, .tgf-how-layout h2 { font-size: 29px; }
  .tgf-benefit { grid-template-columns: 30px 1fr; gap: 13px 13px; padding-block: 26px; }
  .tgf-benefit-no { font-size: 20px; }
  .tgf-benefit h3 { font-size: 20px; }
  .tgf-benefit p, .tgf-scenarios p { font-size: 14px; }
  .tgf-steps { grid-template-columns: 1fr; gap: 28px; }
  .tgf-steps h3 { margin-top: 15px; }
  .tgf-scenarios { grid-template-columns: 1fr; gap: 16px; }
  .tgf-scenarios article { padding: 25px; }
  .tgf-scenarios h3 { font-size: 21px; }
  .tgf-notes { margin-top: 28px; }
  .tgf-notes ul { font-size: 12px; }
  .tgf-journey-grid { grid-template-columns: 1fr; gap: 32px; }
  .tgf-index-panel { padding: 26px; }
  .tgf-index-count { font-size: 76px; }
  .tgf-index-count > span { font-size: 62px; }
  .tgf-index-chips { grid-template-columns: 1fr; }
  .tgf-compare th, .tgf-compare td { padding: 17px 5px; }
  .tgf-compare tbody th { font-size: 13px; padding-right: 20px; width: 54%; }
  .tgf-compare td a { font-size: 12px; }
  .tgf-visual-stage { min-height: 430px; padding: 25px; }
  .tgf-visual figcaption { font-size: 9px; }
  .tgf-distance { inset-inline: 17px; padding-inline: 5px; }
  .tgf-distance strong { font-size: 26px; }
  .tgf-design-phone { width: 177px; }
  .tgf-design-word { font-size: 62px; left: 18px; }
  .tgf-design-swatch { left: 18px; }
  .tgf-score-sheet { padding: 20px; }
  .tgf-score-sheet th, .tgf-score-sheet td { font-size: 12px; }
  .tgf-score-sheet thead th { font-size: 9px; }
  .tgf-scan-paper { padding: 16px; }
  .tgf-paper-grid > span { font-size: 13px; }
  .tgf-share-flow { gap: 5px 12px; }
  .tgf-share-flow > span { font-size: 9px; gap: 7px; }
  .tgf-album-mosaic { grid-template-rows: auto 95px; }
  .tgf-visual-title { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .tgf-card { transition: none; }
}
