/* Lower pages share the approved TOP's tokens, header, footer and controls. */
@import url('top-v6.css');
@font-face{font-family:SubpageNoto;src:url('assets/fonts/NotoSansJP-subpages-v6.woff') format('woff');font-weight:100 900;font-display:swap}
body{font-family:SubpageNoto,Noto,sans-serif}
.global-nav [aria-current=page]:not(.header-cta){text-decoration:underline;text-underline-offset:7px;text-decoration-thickness:2px;color:var(--blue)}
.breadcrumb{background:#fff;border-bottom:1px solid var(--line)}
.breadcrumb .container{display:flex;gap:12px;flex-wrap:wrap;align-items:center;min-height:44px;padding-block:10px;font-size:12px;color:var(--muted)}
.breadcrumb a{color:var(--blue)}
.page-hero{padding:48px 0;background:#edf8fd;border-bottom:1px solid var(--line)}
.hero-simple{position:relative;padding-block:16px}
.illustrated-hero,.hero-split{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:center;gap:32px}
.page-hero h1{font-size:40px;line-height:1.55;letter-spacing:-.035em;text-wrap:pretty}
.lead{font-size:16px;line-height:1.95;margin-top:22px;max-width:680px}
.feature-hero-art,.partner-hero-visual{width:100%;min-width:0}
.feature-person,.partner-scene{width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;object-position:center}
.hero-inline-cta{margin-top:28px;min-width:0}
.subpage-hero-icon{float:right;width:96px;height:96px;padding:22px;background:white;border:1px solid var(--line);border-radius:18px;margin-left:32px}
.hero-simple:not(.illustrated-hero):not(.hero-split){min-height:160px}
.section-heading{text-align:left;margin-bottom:40px}
.section-heading p:not(.eyebrow){margin-top:18px;font-size:16px;line-height:1.9}
.section-heading h2{margin:0}
.cards,.price-grid,.related-links{display:grid;gap:32px;margin:0}
.cards.three,.price-grid,.related-links{grid-template-columns:repeat(3,minmax(0,1fr))}
.cards.two,.cards.four{grid-template-columns:repeat(2,minmax(0,1fr))}
.card{box-shadow:none;min-width:0}
.card h3{font-size:20px;margin-bottom:14px}
.card p{font-size:15px;line-height:1.95}
.sub-card-icon{width:88px;height:64px;object-fit:contain;margin-bottom:24px}
.split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px;align-items:start}
.split p{margin-top:20px}
.compact-split{padding:36px;border:1px solid var(--line);border-radius:12px;background:white}
.consultation-map{padding:0;border:0;gap:64px;align-items:center}
.consultation-person{width:330px;max-width:100%;aspect-ratio:3/2;object-fit:contain;margin:28px auto 0}
.check-summary{display:grid;gap:20px}
.check-summary span{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px;background:var(--pale);border:1px solid var(--line);border-radius:9px;font-size:17px;font-weight:700}
.check-map-icon{width:72px;height:48px;object-fit:contain;flex-shrink:0}
.flow-list{list-style:none;display:grid;gap:24px;margin:0;padding:0;max-width:960px;margin-inline:auto}
.flow-list li{position:relative;display:grid;grid-template-columns:90px 100px minmax(0,1fr);align-items:center;gap:28px;background:#fff;border:1px solid var(--line);border-radius:9px;padding:28px 32px}
.flow-list li:not(:last-child):after{content:'↓';position:absolute;bottom:-25px;left:70px;color:var(--blue);line-height:24px}
.flow-list li>span{font-size:12px;font-weight:700;color:var(--blue);text-align:center;padding:8px;background:var(--pale);border-radius:24px}
.step-icon{width:100px;height:70px;object-fit:contain}
.flow-list h3{font-size:20px}.flow-list p{font-size:15px;margin-top:8px}
.flow-list .conditional-step{border-color:#ebdab3;background:#fffaf0}
.price-card{display:flex;flex-direction:column;align-items:center;text-align:center;padding:28px;border-radius:9px;background:#fff;gap:0}
.price-card.featured{background:#edf8fd}.price-stage-2{background:#fff9ed;border-color:#eadcb9}
.price-visual{width:150px;height:110px;display:grid;place-items:center;margin-bottom:24px}
.price-symbol{width:140px;height:100px;object-fit:contain}
.price-card>p{font-size:17px;font-weight:700;color:var(--navy);margin:0 0 12px}
.price-card>strong{font-size:28px;line-height:1.55;color:var(--blue);margin-bottom:16px;white-space:nowrap}
.price-card>strong small{display:block;font-size:14px}
.price-card>span{font-size:14px;color:var(--muted);margin-top:auto}
.price-stage-2>strong{font-size:25px;color:#795b1b}
.table-wrap{border:1px solid var(--line);border-radius:9px;overflow:hidden}
table{table-layout:fixed;min-width:0}th,td{font-size:16px;line-height:1.8;padding:20px 24px;overflow-wrap:anywhere;border:0;border-bottom:1px solid var(--line)}
th{background:var(--pale);text-align:left}td{text-align:left;white-space:normal;width:auto;font-weight:400}td:last-child{font-weight:700}
th:first-child,td:first-child{width:58%}tr:last-child td{border-bottom:0}
.table-note{font-size:13px;margin-top:20px}
.notice{padding:24px 28px;border:1px solid #e9dcbe;border-radius:9px;background:#fff9ed;margin-top:28px}
.notice p{font-size:15px;margin-top:10px}
.related-section{background:var(--pale)}
.related-links a{background:#fff;border:1px solid var(--line);border-radius:9px;display:flex;align-items:center;gap:16px;padding:24px;min-height:100px;font-size:15px;font-weight:700}
.related-links a:hover{border-color:var(--blue);box-shadow:0 4px 12px #163b5c12}
.sub-link-icon{width:64px;height:48px;object-fit:contain;flex-shrink:0}
.subpage-cta{padding:80px 0;background:white}
.subpage-cta>.container{padding:48px;background:#eff8fc;border:1px solid var(--line);border-radius:16px;text-align:center}
.subpage-cta h2{font-size:28px;max-width:850px;margin:auto}
.subpage-cta .eyebrow{font-size:13px;color:var(--blue);margin:0 0 16px}
.subpage-cta p{font-size:15px;margin:20px 0 28px}
.button.white{background:var(--blue);color:white;min-width:300px;min-height:60px}
.button.white:hover{color:white;background:#086588}
.illustrated-cases{grid-template-columns:1fr!important;gap:40px}
.illustrated-cases .card{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:center;gap:48px;padding:40px;background:#edf8fd}
.illustrated-cases .card:nth-child(2){background:#f0f7ef;border-color:#d6e6d2}
.illustrated-cases .card:nth-child(3){background:#fff9ed;border-color:#eadfbe}
.case-art{position:relative;min-width:0}.case-person{width:100%;aspect-ratio:3/2;object-fit:contain}
.case-number{position:absolute;left:0;top:-10px;color:var(--blue);font-size:26px;font-weight:700}
.badge{display:inline-block;padding:3px 14px;border:1px solid var(--line);border-radius:24px;background:white;color:var(--blue);font-size:12px;margin-bottom:18px}
.case-copy h3{font-size:25px;margin-bottom:22px;line-height:1.65}.case-copy p{padding-top:20px;border-top:1px solid var(--line);font-size:16px}
.profile-box{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:56px;align-items:center}
.portrait img{width:100%;aspect-ratio:3/2;object-fit:contain}.profile-box h2{font-size:32px;margin-bottom:18px}.profile-box p{font-size:16px}.profile-box .eyebrow{font-size:13px}
.sub-book-placeholder{width:130px;float:left;margin:0 26px 18px 0}
.page-books .card{display:flow-root}
.page-faq .section{background:var(--pale)}
.faq-list summary{padding-left:70px}.faq-list summary:before{content:'Q';position:absolute;left:22px;top:21px;border-radius:50%;width:30px;height:30px;line-height:30px;text-align:center;color:var(--blue);background:var(--pale)}
.faq-list details p{padding-left:70px;margin:0}
.guide-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.guide-item{border:1px solid var(--line);border-radius:9px;padding:28px;background:white;display:flex;flex-direction:column;align-items:flex-start}
.guide-icon{width:100%;height:130px;object-fit:contain;padding:18px;background:#eff7fb;border-radius:6px;margin-bottom:24px}
.guide-item:nth-child(3n+2) .guide-icon{background:#f0f7ef}.guide-item:nth-child(3n+3) .guide-icon{background:#fff9ed}
.guide-item>span{font-size:12px;color:var(--blue)}.guide-item h3{font-size:19px;margin:14px 0}.guide-item p{font-size:15px;margin-bottom:24px}
.guide-item .guide-status{margin-top:auto;padding:4px 12px;border:1px solid var(--line);border-radius:20px;background:var(--pale);font-size:12px}
.page-contact .section{background:#f6fbfe}.page-contact .section>.container{max-width:960px}.page-contact .notice{margin:0}
.form-grid,.optional-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.form-grid{background:white;border:1px solid var(--line);border-radius:12px;padding:40px}
.field{display:flex;flex-direction:column;gap:10px;min-width:0}.field.full{grid-column:1/-1}
.field label{font-size:15px;font-weight:700}.required{display:inline-block;font-size:11px;line-height:1.7;padding:2px 8px;background:var(--blue);border-radius:20px;color:white;margin-left:5px}
input,select,textarea{font:inherit;font-size:16px;color:var(--navy);width:100%;max-width:100%;min-height:52px;padding:12px;border:1px solid #a8c6d7;border-radius:6px;background:white}
textarea{min-height:180px;resize:vertical}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #bc7300;outline-offset:3px}
.optional-fields{padding:0 20px;border:1px solid var(--line);border-radius:9px;background:#f6fbfe}.optional-fields summary{padding:18px 0;cursor:pointer;font-size:14px;font-weight:700}.optional-grid{padding-bottom:24px}
.form-note,.prototype-note{font-size:13px;line-height:1.9}.form-submit{align-items:flex-start}.form-submit .button{border:0;cursor:pointer}.prototype-note:focus{outline:3px solid #bc7300;outline-offset:5px}
/* Contact Form 7 wrappers and submit input use the static form layout. */
.page-contact .wpcf7 .field>p{display:contents}
.page-contact .wpcf7 .wpcf7-form-control-wrap{display:block;width:100%}
.page-contact .wpcf7 .form-submit .wpcf7-submit{width:auto}
@media(max-width:767px){.page-contact .wpcf7 .form-submit .wpcf7-submit{width:100%;min-width:0}}
.page-privacy-policy .section>.container,.page-terms .section>.container,.page-tokushoho .section>.container{max-width:980px}
.page-privacy-policy .card,.page-terms .card{padding:40px}.page-privacy-policy .card h3,.page-terms .card h3{margin-top:32px;padding-top:28px;border-top:1px solid var(--line)}
.page-tokushoho th:first-child,.page-tokushoho td:first-child{width:30%}
.footer-grid h2{font-size:14px}.footer-grid a{margin:0}.site-footer .brand-name{font-size:30px}.footer-grid p{font-size:13px}
@media(max-width:1200px){.page-hero h1{font-size:34px}.cards,.price-grid,.related-links,.guide-list{gap:28px}.price-card{padding:24px 18px}.price-card>strong{font-size:26px}.price-stage-2>strong{font-size:23px}.related-links a{padding:20px;gap:12px}.sub-link-icon{width:48px}.guide-item{padding:24px}.case-copy h3{font-size:23px}}
@media(max-width:1000px){.page-hero{padding:36px 0}.illustrated-hero,.hero-split{gap:24px}.page-hero h1{font-size:32px}.section-heading{margin-bottom:36px}.split{gap:32px}.cards.three{grid-template-columns:repeat(2,minmax(0,1fr))}.related-links{grid-template-columns:1fr}.related-links a{min-height:88px}.price-grid{grid-template-columns:1fr;max-width:680px;margin:auto}.price-card{display:grid;grid-template-columns:150px 1fr;text-align:left;column-gap:24px;padding:28px}.price-visual{grid-row:1/4;margin:0}.price-card>span{margin:0}.price-card>strong{margin-bottom:10px}.guide-list{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-box{gap:32px}.illustrated-cases .card{gap:28px;padding:32px}.subpage-cta h2{font-size:26px}}
@media(max-width:900px){.illustrated-hero,.hero-split{grid-template-columns:1fr;max-width:640px;margin:auto;gap:24px}.feature-hero-art,.partner-hero-visual{max-width:480px;margin:auto}.page-hero h1{font-size:34px}.split,.profile-box{grid-template-columns:1fr}.consultation-map{gap:32px}.consultation-person{max-width:330px}.profile-box .portrait{max-width:400px;margin:auto}.cards.three{grid-template-columns:1fr}.cards.three:not(.illustrated-cases){max-width:640px;margin:auto}.flow-list li{grid-template-columns:78px 80px minmax(0,1fr);gap:20px;padding:24px}.step-icon{width:80px}.illustrated-cases .card{grid-template-columns:1fr}.case-art{max-width:420px;width:100%;margin:auto}.case-copy h3{font-size:24px}}
@media(max-width:767px){.page-hero{padding:32px 0}.hero-simple{padding:0}.page-hero h1{font-size:clamp(27px,6.7vw,32px)}.lead{font-size:15px;margin-top:18px}.feature-hero-art,.partner-hero-visual{max-width:380px}.page-hero .eyebrow{font-size:12px}.hero-inline-cta{width:100%}.subpage-hero-icon{width:64px;height:64px;padding:14px;margin:0 0 24px;float:none}.hero-simple:not(.illustrated-hero):not(.hero-split){min-height:0}.section-heading{margin-bottom:32px}.section-heading p:not(.eyebrow){font-size:15px}.cards.two,.cards.four,.guide-list{grid-template-columns:1fr}.cards,.related-links,.guide-list{gap:28px}.card{padding:26px}.card h3{font-size:19px}.split{gap:32px}.compact-split{padding:24px}.consultation-map{padding:0}.check-summary{gap:16px}.check-summary span{font-size:16px;padding:20px}.check-map-icon{width:60px}.flow-list{gap:28px}.flow-list li{grid-template-columns:64px minmax(0,1fr);gap:12px 20px;padding:24px 20px}.flow-list li>span{grid-column:1;grid-row:1;font-size:10px;padding:6px}.step-icon{grid-column:1;grid-row:2;width:64px;height:48px}.flow-list li>div{grid-column:2;grid-row:1/3}.flow-list li:not(:last-child):after{bottom:-28px;left:44px;line-height:27px}.flow-list h3{font-size:18px}.flow-list p{font-size:14px}.price-card{display:flex;align-items:center;text-align:center;padding:28px}.price-visual{margin-bottom:20px}.price-card>strong{font-size:28px}.price-stage-2>strong{font-size:25px}.price-card>span{margin-top:8px}th,td{font-size:13px;padding:16px 12px}th:first-child,td:first-child{width:56%}.notice{padding:22px}.notice p{font-size:14px}.table-note{font-size:12px}.subpage-cta{padding:64px 0}.subpage-cta>.container{padding:30px 24px}.subpage-cta h2{font-size:24px}.subpage-cta .button{width:100%;min-width:0}.illustrated-cases .card{padding:30px 24px;gap:24px}.case-copy h3{font-size:21px}.case-copy p{font-size:15px}.case-number{font-size:23px}.profile-box p{font-size:15px}.profile-box h2{font-size:28px}.sub-book-placeholder{float:none;margin:0 auto 28px}.faq-list summary{padding-left:55px}.faq-list summary:before{left:14px;top:20px;width:28px;height:28px;line-height:28px}.faq-list details p{padding:0 20px 22px}.guide-item{padding:28px}.guide-item h3{font-size:19px}.form-grid,.optional-grid{grid-template-columns:1fr;gap:24px}.form-grid{padding:26px 20px}.form-submit .button{width:100%;min-width:0}.optional-fields{padding:0 16px}.page-privacy-policy .card,.page-terms .card{padding:26px}.page-tokushoho th:first-child,.page-tokushoho td:first-child{width:34%}.footer-grid h2{font-size:13px}.footer-bottom{padding-bottom:0}.page-contact .site-footer{padding-bottom:32px}}

table{background:#fff}.subpage-cta h2{text-wrap:balance;max-width:780px}.related-section{background:#fff}.related-links a{background:var(--pale)}

.keep-phrase{display:inline-block;white-space:nowrap}

/* Legal pages */
.legal-content h3{margin:2.2em 0 .7em;font-size:20px}.legal-content h3:first-child{margin-top:0}.legal-content p{margin-top:0;margin-bottom:1.15em}.legal-content ul{margin:.4em 0 1.4em;padding-left:1.4em;color:var(--muted)}.legal-content li+li{margin-top:.45em}.legal-table th[scope="row"]{width:28%;font-weight:700;text-align:left;white-space:normal}.legal-table td{font-weight:400;text-align:left;white-space:normal;width:auto}@media(max-width:767px){.legal-content h3{font-size:18px}.legal-table th[scope="row"]{width:34%}.legal-table th,.legal-table td{padding:14px 12px;font-size:13px}}

/* Profile credentials beside the name and role. */
.profile-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.profile-heading > div { min-width: 0; }
.profile-heading p:last-child { margin-bottom: 0; }
.profile-seo-badge {
  flex: 0 0 220px;
  margin: 0;
  text-align: center;
}
.profile-seo-badge img { display: block; width: 220px; max-width: 100%; height: auto; }
.profile-seo-badge figcaption {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--navy);
}
@media (max-width: 600px) {
  .profile-heading { flex-wrap: wrap; gap: 20px; }
  .profile-seo-badge { flex-basis: 200px; }
  .profile-seo-badge img { width: 200px; }
}
