/* Page styles; site navigation and footer remain shared with the other pages. */
body.birthdate-guide-page{--birth-navy:#123453;--birth-teal:#117a75;--birth-ink:#304c62;--birth-muted:#5d7385;--birth-line:#dce6ec;background:#fff;color:var(--birth-ink);font-family:"Inter","Noto Sans JP","Yu Gothic","YuGothic",sans-serif;line-height:1.8;letter-spacing:.01em}
.birthdate-guide-page .navbar{box-shadow:0 1px 0 #12345314!important}
.birthdate-guide-page .navbar .nav-link{color:#102044;font-weight:700}
.birthdate-guide-page .navbar .nav-link:hover{color:var(--birth-teal)}
.birthdate-guide-page .navbar .navbar-toggler:focus-visible{outline:3px solid var(--birth-teal);outline-offset:3px}
.birth-container{width:min(1120px,calc(100% - 48px));margin:0 auto}
.birthdate-guide-page .birth-skip-link{position:fixed;top:8px;left:12px;z-index:1100;transform:translateY(-150%);padding:10px 18px;border-radius:8px;background:#123453;color:#fff}
.birthdate-guide-page .birth-skip-link:focus{transform:translateY(0)}
.birthdate-guide-page main a:focus-visible,.birthdate-guide-page main summary:focus-visible,.birth-hero a:focus-visible{outline:3px solid var(--birth-teal);outline-offset:4px}
.birth-hero{padding:22px 0 54px;background:linear-gradient(115deg,#f8fbfc 0%,#eef7f6 72%,#f6fafc 100%);border-bottom:1px solid #e4ecef}
.birth-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:35px;font-size:12px;color:var(--birth-muted)}
.birth-breadcrumb a{color:var(--birth-muted);text-decoration:underline;text-underline-offset:3px}
.birth-hero-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:center;gap:60px}
.birth-eyebrow{margin:0 0 12px;color:var(--birth-teal);font-size:12px;font-weight:700;letter-spacing:.08em}
.birth-hero h1{margin:0 0 18px;color:var(--birth-navy);font-size:clamp(32px,3.8vw,48px);font-weight:700;line-height:1.35;letter-spacing:.01em}
.birth-hero h1 span{color:var(--birth-teal)}
.birth-hero-lead{margin:0;color:var(--birth-ink);font-size:15px;line-height:2}
.birth-hero-lead strong{font-weight:700;color:var(--birth-navy)}
.birth-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin-top:26px}
.birth-button{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:48px;padding:12px 18px;border:1px solid transparent;border-radius:9px;font-size:14px;font-weight:700;line-height:1.6;text-decoration:none}
.birth-button-primary{background:var(--birth-navy);color:#fff}
.birth-button-primary:hover{background:#0d2943;color:#fff}
.birth-button-outline{background:#fff;color:var(--birth-navy);border-color:#bacbd7}
.birth-button-outline:hover{background:#f2f7f8;color:var(--birth-navy);border-color:var(--birth-navy)}
.birth-text-link{font-size:13px;font-weight:600;color:var(--birth-navy);text-decoration:underline;text-underline-offset:4px}
.birth-text-link:hover{color:var(--birth-teal)}
.birth-example{padding:27px 28px 22px;border:1px solid #d6e4e8;border-top:3px solid var(--birth-teal);border-radius:15px;background:#fff;box-shadow:0 8px 25px #12345307}
.birth-example-label{display:inline-block;margin:0 0 12px;padding:3px 10px;border-radius:5px;background:#edf6f5;color:#176c69;font-size:11px;font-weight:700}
.birth-example h2{margin:0;color:var(--birth-navy);font-size:21px;font-weight:700;line-height:1.6}
.birth-example-arrow{margin:8px 0;color:var(--birth-teal);font-size:22px;line-height:1.4}
.birth-example-fields{display:grid;grid-template-columns:minmax(0,1.35fr) repeat(2,minmax(0,1fr));gap:9px;margin:0}
.birth-example-fields>div{padding:10px 8px 8px;border:1px solid var(--birth-line);border-radius:8px;background:#f8fafb;text-align:center}
.birth-example-fields dt{color:var(--birth-muted);font-size:11px;font-weight:500}
.birth-example-fields dd{margin:3px 0 0;color:var(--birth-navy);font-size:27px;font-weight:700;line-height:1.5;font-variant-numeric:tabular-nums;white-space:nowrap}
.birth-example-fields dd span{margin-left:4px;font-size:12px;font-weight:500}
.birth-example-note{margin:12px 0 0;color:var(--birth-muted);font-size:11px;line-height:1.8}
.birth-main{padding:0 0 46px}
.birth-page-nav{display:flex;gap:28px;padding:19px 0;border-bottom:1px solid var(--birth-line)}
.birth-page-nav a{color:var(--birth-navy);font-size:13px;font-weight:600;text-decoration:none}
.birth-page-nav a:hover{color:var(--birth-teal)}
.birth-page-nav a span{margin-right:5px;color:var(--birth-teal);font-size:11px;font-variant-numeric:tabular-nums}
.birth-section{padding-top:48px;scroll-margin-top:110px}
.birth-section-heading{margin-bottom:22px}
.birth-section-heading .birth-eyebrow{margin-bottom:8px}
.birth-section-heading h2{margin:0;color:var(--birth-navy);font-size:24px;font-weight:700;line-height:1.6;letter-spacing:.01em}
.birth-section-heading>p:last-child:not(.birth-eyebrow){margin:10px 0 0;color:var(--birth-muted);font-size:14px}
.birth-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0;padding:0;list-style:none}
.birth-steps li{display:flex;align-items:flex-start;gap:12px;padding:20px 18px;border:1px solid var(--birth-line);border-radius:12px;background:#fff}
.birth-step-number{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:#e5f3f1;color:#116a66;font-size:13px;font-weight:700}
.birth-steps h3{margin:1px 0 7px;color:var(--birth-navy);font-size:16px;font-weight:700;line-height:1.6}
.birth-steps p{margin:0;color:var(--birth-muted);font-size:13px;line-height:1.9}
.birth-steps strong{color:var(--birth-navy);font-weight:600}
.birth-check-note{display:flex;align-items:flex-start;gap:9px;margin:17px 0 0;padding:12px 15px;border-radius:8px;background:#f2f7f8;color:var(--birth-ink);font-size:12px;line-height:1.9}
.birth-check-note>span:first-child{color:var(--birth-teal);font-weight:800}
.birth-era-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:18px}
.birth-era{min-width:0;overflow:hidden;border:1px solid var(--birth-line);border-radius:12px;background:#fff;scroll-margin-top:110px}
.birth-era summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:90px;padding:20px;cursor:pointer;list-style:none}
.birth-era summary::-webkit-details-marker{display:none}
.birth-era summary:hover{background:#f4f9f9}
.birth-era-heading{display:flex;flex-direction:column;gap:4px}
.birth-era-heading strong{color:var(--birth-navy);font-size:21px;font-weight:700}
.birth-era-heading>span{color:var(--birth-muted);font-size:12px}
.birth-era-toggle{display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;border-radius:50%;background:#edf5f4;color:var(--birth-teal);font-size:22px;line-height:1}
.birth-era-toggle::before{content:"+"}
.birth-era[open] .birth-era-toggle::before{content:"−"}
.birth-era[open] summary{background:#f0f7f7;border-bottom:1px solid var(--birth-line)}
.birth-era-body{padding:0 16px 12px}
.birth-era-note{margin:14px 0;color:var(--birth-muted);font-size:12px;line-height:1.9}
.birth-era-table{width:100%;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}
.birth-era-table caption{padding:0;width:1px;height:1px;overflow:hidden;position:absolute;clip-path:inset(50%);white-space:nowrap}
.birth-era-table th,.birth-era-table td{width:50%;padding:9px 10px;border-bottom:1px solid #e8eef1;text-align:left;white-space:nowrap}
.birth-era-table thead th{background:#f0f5f8;color:var(--birth-navy);font-size:12px;font-weight:600}
.birth-era-table tbody th{color:var(--birth-ink);font-weight:500}
.birth-era-table td{color:var(--birth-navy);font-weight:600}
.birth-era-table tbody tr:nth-child(even){background:#fafcfd}
.birth-era-table tbody tr:last-child>*{border-bottom:0}
.birth-boundary{margin-top:20px;padding:20px 22px;border-left:3px solid var(--birth-teal);border-radius:0 9px 9px 0;background:#f3f8f8}
.birth-boundary h3{margin:0 0 7px;color:var(--birth-navy);font-size:16px;font-weight:700}
.birth-boundary>p{margin:0;color:var(--birth-ink);font-size:13px}
.birth-boundary dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:16px 0 0}
.birth-boundary dl>div{display:flex;align-items:flex-start;gap:14px}
.birth-boundary dt{flex-shrink:0;color:var(--birth-navy);font-size:14px;font-weight:700}
.birth-boundary dd{margin:0;color:var(--birth-ink);font-size:12px;line-height:2}
.birth-boundary dd strong{font-weight:600}
.birth-boundary .birth-source{margin-top:12px;font-size:11px;color:var(--birth-muted)}
.birth-source a{color:var(--birth-muted);text-decoration:underline;text-underline-offset:3px}
.birth-return-note{display:flex;align-items:flex-start;gap:15px;margin-top:36px;padding:20px 22px;border:1px solid var(--birth-line);border-radius:12px;background:#fafcfd}
.birth-return-icon{color:var(--birth-teal);font-size:27px;line-height:1.3}
.birth-return-note h2{margin:0 0 5px;color:var(--birth-navy);font-size:16px;font-weight:700;line-height:1.7}
.birth-return-note p{margin:0;color:var(--birth-muted);font-size:13px;line-height:1.9}
.birth-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.birth-contact-card{display:flex;flex-direction:column;align-items:flex-start;padding:24px;border:1px solid var(--birth-line);border-radius:12px;background:#fff}
.birth-contact-tag{margin-bottom:12px;padding:3px 9px;border-radius:5px;background:#eaf4f3;color:#166d69;font-size:11px;font-weight:600}
.birth-contact-card h3{margin:0 0 10px;color:var(--birth-navy);font-size:18px;font-weight:700;line-height:1.6}
.birth-contact-card p{margin:0 0 12px;color:var(--birth-muted);font-size:13px;line-height:1.9}
.birth-contact-card .birth-contact-small{font-size:12px;margin-bottom:18px}
.birth-contact-small a{color:var(--birth-navy);text-decoration:underline;text-underline-offset:3px}
.birth-contact-card>.birth-button{margin-top:auto}
.birth-related{margin-top:30px;border-top:1px solid var(--birth-line);border-bottom:1px solid var(--birth-line);scroll-margin-top:110px}
.birth-related summary{padding:16px 2px;color:var(--birth-navy);font-size:13px;font-weight:600;cursor:pointer}
.birth-related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;padding:0 0 20px}
.birth-related h2{margin:5px 0 10px;color:var(--birth-navy);font-size:14px;font-weight:700}
.birth-related a{display:block;padding:4px 0;color:var(--birth-muted);font-size:12px;text-decoration:underline;text-underline-offset:3px}
.birth-related a:hover{color:var(--birth-teal)}
@media(max-width:991px){
    .birth-hero-layout{gap:30px}
    .birth-hero-lead{font-size:14px}
    .birth-example{padding:22px 20px}
    .birth-example-fields dd{font-size:21px}
    .birth-desktop-break{display:none}
    .birth-steps{gap:12px}
    .birth-steps li{flex-direction:column;padding:17px}
    .birth-boundary dl{gap:14px}
    .birth-boundary dl>div{flex-direction:column;gap:3px}
}
@media(max-width:767px){
    .birth-container{width:calc(100% - 32px)}
    .birth-hero{padding:16px 0 30px}
    .birth-breadcrumb{gap:8px;margin-bottom:25px;font-size:11px}
    .birth-hero-layout{grid-template-columns:minmax(0,1fr);gap:25px}
    .birth-hero h1{font-size:32px;margin-bottom:14px}
    .birth-hero-lead{font-size:14px;line-height:1.9}
    .birth-hero-actions{gap:15px;margin-top:20px}
    .birth-hero-actions .birth-button{font-size:13px;padding:11px 15px}
    .birth-text-link{font-size:12px}
    .birth-example{padding:20px}
    .birth-example h2{font-size:18px}
    .birth-example h2 br{display:none}
    .birth-example-fields dd{font-size:25px}
    .birth-main{padding-bottom:32px}
    .birth-page-nav{justify-content:space-between;gap:8px;padding:16px 0}
    .birth-page-nav a{font-size:11px}
    .birth-page-nav a span{display:block;margin:0 0 2px;font-size:10px}
    .birth-section{padding-top:32px;scroll-margin-top:90px}
    .birth-section-heading{margin-bottom:17px}
    .birth-section-heading h2{font-size:21px;line-height:1.6}
    .birth-section-heading>p:last-child:not(.birth-eyebrow){font-size:13px}
    .birth-steps{grid-template-columns:minmax(0,1fr);gap:10px}
    .birth-steps li{flex-direction:row;padding:16px;gap:12px}
    .birth-steps h3{font-size:15px;margin-bottom:4px}
    .birth-steps p{font-size:12px}
    .birth-check-note{font-size:12px;padding:12px}
    .birth-era-grid{grid-template-columns:minmax(0,1fr);gap:10px}
    .birth-era summary{min-height:76px;padding:15px 18px}
    .birth-era-heading{flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px 14px}
    .birth-era-heading strong{font-size:19px}
    .birth-era{scroll-margin-top:90px}
    .birth-boundary{padding:17px 15px;margin-top:17px}
    .birth-boundary dl{grid-template-columns:minmax(0,1fr);gap:13px;margin-top:13px}
    .birth-boundary dl>div{flex-direction:row;gap:14px}
    .birth-boundary dt{font-size:13px}
    .birth-boundary dd{font-size:12px}
    .birth-return-note{gap:11px;margin-top:25px;padding:16px}
    .birth-return-note p{font-size:12px}
    .birth-contact-grid{grid-template-columns:minmax(0,1fr);gap:13px}
    .birth-contact-card{padding:20px}
    .birth-contact-card h3{font-size:16px}
    .birth-contact-card>.birth-button{width:100%;font-size:13px;gap:12px}
    .birth-related-grid{grid-template-columns:minmax(0,1fr);gap:16px}
}
@media(max-width:359px){
    .birthdate-guide-page .navbar .navbar-brand{padding-left:12px!important;padding-right:0!important;margin-right:0!important}
    .birthdate-guide-page .navbar .navbar-toggler{margin-right:12px!important}
    .birth-example-fields{grid-template-columns:minmax(0,1.5fr) repeat(2,minmax(0,1fr));gap:6px}
    .birth-example-fields>div{padding-left:6px;padding-right:6px}
    .birth-example-fields dd{font-size:22px}
}
@media(prefers-reduced-motion:reduce){html:has(body.birthdate-guide-page){scroll-behavior:auto}.birthdate-guide-page a{transition:none}}
