/*
Theme Name: Gogen Yurai Mania 99
Theme URI: https://etymology-encyclopedia.com/
Author: Etymology Encyclopedia Editorial Team
Description: 語源辞典と99レベルの学習冒険をつなぐオリジナルWordPressテーマ
Version: 2.6.0
Text Domain: gogen-yurai-mania-99
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/
:root{--g99-paper:#fcfaf5;--g99-white:#fff;--g99-ink:#213845;--g99-muted:#60717a;--g99-navy:#193d4d;--g99-red:#c63c56;--g99-red-dark:#a92e48;--g99-blue:#2a7589;--g99-gold:#e4b66d;--g99-line:#e8e6de;--g99-shadow:0 8px 26px rgba(24,54,65,.075);--g99-max:1160px;--g99-serif:"Hiragino Mincho ProN","Yu Mincho","Noto Serif JP",serif;--g99-sans:"Hiragino Kaku Gothic ProN","Yu Gothic","Noto Sans JP",sans-serif}
*,*:before,*:after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:95px}
body.g99-theme{margin:0;background:var(--g99-paper);font:500 16px/1.85 var(--g99-sans);color:var(--g99-ink);-webkit-font-smoothing:antialiased;overflow-x:hidden}
body.g99-theme a{color:var(--g99-blue);text-decoration:none}
body.g99-theme a:hover{color:var(--g99-red)}
body.g99-theme img{max-width:100%;height:auto}
button,input,select,textarea{font:inherit}
button{cursor:pointer}button:disabled{cursor:default}
::selection{background:#f7dca8;color:#222}
:focus-visible{outline:3px solid #f4a948;outline-offset:4px}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);height:1px;width:1px;overflow:hidden;white-space:nowrap}
.g99-skip{position:fixed;z-index:10000;left:16px;top:-100px;background:#fff;padding:10px 14px;border-radius:10px}
.g99-skip:focus{top:12px}
.g99-container{max-width:var(--g99-max);margin:0 auto;padding:0 28px}
.g99-site-header{position:relative;z-index:30;background:rgba(255,255,255,.98);box-shadow:0 2px 12px rgba(14,50,63,.06);border-bottom:1px solid #edf0ed}
.g99-header-inner{max-width:1240px;margin:0 auto;min-height:82px;padding:10px 29px;display:flex;align-items:center;gap:28px}
.g99-brand{display:flex;align-items:center;gap:10px;color:var(--g99-ink)!important;flex-shrink:0;min-width:0}
.g99-brand img{width:46px;height:46px;flex:0 0 46px}
.g99-brand strong{display:block;font-family:var(--g99-serif);font-weight:900;font-size:20px;white-space:nowrap;letter-spacing:-.035em;line-height:1.2}
.g99-brand-number{color:var(--g99-red);font-family:Georgia,serif;font-size:23px}
.g99-brand small{display:block;font-size:10px;font-weight:700;line-height:1.7;color:#71828a;white-space:nowrap}
.g99-nav{margin-left:auto;display:flex;align-items:center;gap:10px}
.g99-nav a{display:inline-flex;align-items:center;justify-content:center;padding:11px 14px;font-size:13px;font-weight:800;color:#374e5b!important;white-space:nowrap;border-radius:99px;transition:background .2s,transform .2s}
.g99-nav a:hover,.g99-nav a[aria-current=page]{background:#f5f4ee;color:#ac3f55!important}
.g99-nav a.g99-nav-quest{background:#c53c56;color:#fff!important;padding:11px 19px;box-shadow:0 4px 0 #a82d45}
.g99-nav a.g99-nav-quest:hover{background:#a92e48;transform:translateY(-2px)}
.g99-nav .g99-nav-quest span{font-size:16px;margin-left:6px}
.g99-header-search{margin-left:2px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#527580!important;font-size:30px;line-height:1;min-width:40px}
.g99-header-search span{font-size:10px;margin-top:3px}
.g99-mobile-nav{display:none;position:relative}
.g99-hero{background-image:linear-gradient(90deg,rgba(252,250,245,.97) 0%,rgba(252,250,245,.9) 24%,rgba(252,250,245,.45) 51%,rgba(252,250,245,0) 78%),url('assets/hero-world.svg');background-size:cover;background-position:center center;position:relative;isolation:isolate;min-height:460px;display:flex;align-items:center;border-bottom:6px solid #f0ddbb}
.g99-hero:after{content:"";position:absolute;inset:auto 0 0;height:45px;background:linear-gradient(0deg,rgba(34,79,73,.12),transparent);pointer-events:none}
.g99-hero__inner{width:100%;max-width:1160px;margin:0 auto;padding:52px 28px 60px;position:relative}
.g99-hero__content{max-width:660px;position:relative;z-index:2}
.g99-hero__eyebrow,.g99-eyebrow{margin:0 0 8px;color:#b23c56;font-family:Georgia,serif;font-size:12px;letter-spacing:.2em;font-weight:800}
.g99-hero__overline{font-size:14px;margin:0 0 7px;font-weight:800;color:#315e66;letter-spacing:.04em}
.g99-hero h1{font:900 clamp(37px,4.75vw,68px)/1.24 var(--g99-serif);letter-spacing:-.045em;margin:0 0 19px;color:#193948;text-shadow:0 2px 2px #fff9}
.g99-hero h1 em{font:900 1.02em Georgia,serif;color:var(--g99-red);font-style:normal}
.g99-hero__lead{margin:0 0 28px;font-size:clamp(15px,1.5vw,19px);color:#3d5c66;font-weight:800;line-height:1.8;text-shadow:0 1px 5px #fff}
.g99-actions{display:flex;gap:11px;align-items:center;flex-wrap:wrap}
.g99-btn{min-height:51px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 24px;border-radius:999px;font-weight:900;font-size:15px;line-height:1.45;box-shadow:0 4px 0 rgba(20,51,55,.13);transition:transform .2s,box-shadow .2s;border:1px solid transparent}
a.g99-btn:hover,.g99-btn:hover{transform:translateY(-3px);box-shadow:0 7px 18px rgba(26,45,63,.15)}
a.g99-btn--red,.g99-btn--red{background:var(--g99-red);color:#fff!important;border-color:#b3324a}
a.g99-btn--blue,.g99-btn--blue{background:#287b8b;color:#fff!important;border-color:#216777}
a.g99-btn--light,.g99-btn--light{background:#fff;color:#2c5d6f!important;border-color:#d8e2e1}
.g99-hero__stamp{position:absolute;right:35px;bottom:23px;z-index:1;display:flex;align-items:center;gap:12px;color:#fff;padding:14px 19px;border-radius:15px;background:rgba(24,65,70,.86);backdrop-filter:blur(5px);box-shadow:0 8px 25px #254b4220;transform:rotate(-3deg)}
.g99-hero__stamp strong{font:900 39px/1 Georgia,serif;color:#f3d091}
.g99-hero__stamp span{font-size:12px;font-weight:800;line-height:1.5}
.g99-main{padding-bottom:64px}.g99-section{padding:58px 0 10px}
.g99-section--surface{background:#fff;border-top:1px solid #f0eee9;border-bottom:1px solid #f0eee9;padding:58px 0 64px}
.g99-section--narrow{padding-top:43px}
.g99-section-heading{text-align:center;margin:0 0 26px}
.g99-section-heading h2{font:900 clamp(26px,3vw,39px)/1.42 var(--g99-serif);letter-spacing:-.03em;margin:2px 0 7px;color:#203d4e}
.g99-section-heading p:last-child{margin:0;color:#74828b;font-size:14px}
.g99-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px}
.g99-choice-card{background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 8px 25px rgba(24,58,70,.07);border:1px solid #e2e6e0;transition:transform .25s,box-shadow .25s}
.g99-choice-card:hover{transform:translateY(-5px);box-shadow:0 16px 32px rgba(26,45,62,.13)}
.g99-choice-card--quest{border-color:#e3ccce}.g99-choice-card--study{border-color:#c8dfe1}
.g99-choice-card__image{display:block;position:relative;height:236px;overflow:hidden;background:#e6f4ed}
.g99-choice-card__image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s}
.g99-choice-card:hover img{transform:scale(1.045)}
.g99-choice-card__tag{position:absolute;top:16px;left:16px;background:#204b58e6;color:#fff;border-radius:999px;padding:5px 15px;font-size:11px;font-weight:800;letter-spacing:.05em}
.g99-choice-card__tag--red{background:#a72c48ee}
.g99-choice-card__body{padding:24px 26px 29px}
.g99-choice-card__body h3{font:900 clamp(23px,2.4vw,29px)/1.45 var(--g99-serif);margin:0 0 10px;color:#1d3d4e}
.g99-choice-card__body>p{color:#647682;font-size:14px;line-height:1.85;margin:0 0 12px;min-height:52px}
.g99-tags{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 16px}
.g99-tags span{background:#f0f5f5;border-radius:999px;color:#4b6872;padding:2px 10px;font-size:11px;font-weight:800}
.g99-choice-card .g99-btn{font-size:13px;min-height:44px;padding:10px 19px}
.g99-step-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.g99-step{padding:23px 21px;border:1px solid #eee4d4;background:linear-gradient(135deg,#fffdf8,#fff);border-radius:17px;min-height:158px;position:relative}
.g99-step b{font:900 32px Georgia,serif;color:#ddb77a;display:block;line-height:1.2}
.g99-step h3{margin:12px 0 5px;font-size:17px;font-weight:900;color:#274e5e}
.g99-step p{margin:0;font-size:13px;color:#687b84;line-height:1.75}
.g99-kana-box{border:1px solid #e6e5df;border-radius:19px;background:#fff;padding:26px;box-shadow:var(--g99-shadow)}
.g99-kana-grid{display:grid;grid-template-columns:repeat(11,minmax(0,1fr));gap:8px}
.g99-kana-grid a{display:flex;align-items:center;justify-content:center;min-height:46px;border-radius:10px;background:#f4f8f7;border:1px solid #e4ecea;font-size:18px;font-weight:900;color:#28667a;transition:transform .2s,background .2s}
.g99-kana-grid a:hover{background:#e3f3f2;color:#164d5a;transform:translateY(-2px)}
.g99-kana-note{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:17px;color:#77858c;font-size:12px}
.g99-kana-note a{font-size:13px;font-weight:900}
.g99-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.g99-post-card{border:1px solid #e5e9e7;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 5px 20px #27445708}
.g99-post-card__link{display:block;height:100%;color:#213845!important}
.g99-post-card__image{display:flex;height:162px;overflow:hidden;background:#e2efec;align-items:center;justify-content:center}
.g99-post-card__image img{display:block;height:100%;width:100%;object-fit:cover;transition:transform .3s}
.g99-post-card__link:hover img{transform:scale(1.05)}
.g99-post-card__image--blank{background:linear-gradient(120deg,#ddeee8,#f9f0de)}
.g99-post-card__image--blank span{font:900 64px var(--g99-serif);color:#5c9c95;opacity:.55}
.g99-post-card__body{display:flex;flex-direction:column;padding:19px 19px 21px;min-height:180px}
.g99-post-card__meta{font-size:10px;font-weight:900;letter-spacing:.1em;color:#3d9092}
.g99-post-card__body strong{font:900 18px/1.6 var(--g99-serif);color:#233c49;margin:8px 0 10px}
.g99-post-card__excerpt{font-size:12px;color:#75818b;line-height:1.8;flex:1}
.g99-post-card__more{font-size:12px;color:#bc3653;font-weight:900;margin-top:auto;padding-top:14px}
.g99-section-footer{text-align:center;margin:27px 0 0}
.g99-ad-slot{max-width:950px;margin:26px auto;min-height:0}
.g99-site-footer{background:#233e4c;color:#d6e1dd;padding:44px 0 18px;margin-top:0}
.g99-footer-inner{max-width:var(--g99-max);padding:0 28px;margin:0 auto}
.g99-footer-top{display:flex;justify-content:space-between;gap:36px;padding-bottom:32px}
.g99-footer-logo{display:flex;align-items:center;gap:8px;font:900 21px var(--g99-serif);color:#fff}
.g99-footer-logo img{width:44px;height:44px}
.g99-footer-logo strong{font:900 24px Georgia,serif;color:#f5bd86}
.g99-footer-brand p{margin:10px 0;color:#aebfbe;font-size:13px;line-height:1.8}
.g99-footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 22px;align-content:center}
.g99-footer-links a{color:#e6eee9!important;font-size:13px;font-weight:700}
.g99-footer-links a:hover{color:#f3c68f!important}
.g99-footer-bottom{padding:16px 0 0;border-top:1px solid #ffffff23;display:flex;justify-content:space-between;gap:10px;color:#95afac;font-size:11px}
.g99-content-main{padding:47px 0 70px}
.g99-content-shell{max-width:870px;margin:0 auto;padding:0 24px}
.g99-content-shell--wide{max-width:1100px}
.g99-breadcrumb{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 24px;font-size:12px;color:#8b9599}
.g99-breadcrumb a{color:#5a8088!important;font-weight:700}
.g99-article,.g99-generic-page{padding:34px clamp(20px,4vw,48px) 46px;background:#fff;border:1px solid var(--g99-line);box-shadow:var(--g99-shadow);border-radius:18px;min-width:0}
.g99-article-hero{padding-bottom:22px;border-bottom:1px solid #ecebe6;margin-bottom:27px}
.g99-article-label{color:#b53c58;font-size:12px;font-weight:900;letter-spacing:.07em;margin:0 0 12px}
.g99-content-title{font:900 clamp(25px,4vw,43px)/1.45 var(--g99-serif);letter-spacing:-.035em;color:#234052;margin:0 0 13px;overflow-wrap:anywhere}
.g99-content-intro{font-size:14px;color:#74838c}
.g99-article-eyecatch{margin:0 0 30px;border-radius:13px;overflow:hidden}
.g99-article-eyecatch img{display:block;width:100%;height:auto;max-height:440px;object-fit:contain}
.g99-article-content{font-size:17px;line-height:2.05;overflow-wrap:anywhere;min-width:0}
.g99-article-content>p{margin:0 0 1.5em}
.g99-article-content h2{font:900 clamp(21px,2.5vw,27px)/1.55 var(--g99-serif);margin:2.1em 0 .95em;border-left:6px solid #c64261;border-bottom:1px solid #e6e8e3;background:#f8faf6;padding:13px 16px;border-radius:0 9px 9px 0;color:#253f4a}
.g99-article-content h3{font:900 20px/1.55 var(--g99-serif);margin:1.8em 0 .65em;padding-bottom:8px;border-bottom:2px solid #d8e6e3;color:#295263}
.g99-article-content h4{font-weight:900;font-size:18px;margin:1.4em 0 .7em;color:#2d5061}
.g99-article-content ul,.g99-article-content ol{padding-left:1.6em;margin:1.1em 0 1.4em}
.g99-article-content li{margin:.4em 0}
.g99-article-content a{text-decoration:underline;text-underline-offset:3px;color:#196b8a}
.g99-article-content blockquote{margin:1.8em 0;padding:18px 24px;border-left:4px solid var(--g99-gold);background:#fbf7ee;border-radius:0 10px 10px 0}
.g99-article-content table{border-collapse:collapse;max-width:100%;width:100%;display:block;overflow-x:auto;font-size:15px}
.g99-article-content th,.g99-article-content td{border:1px solid #dfe8e5;padding:12px 14px;text-align:left;vertical-align:top}
.g99-article-content th{background:#eff7f5}
.g99-article-content img{max-width:100%;height:auto;object-fit:contain}
.g99-article-content .wp-block-image{margin:1.5em 0}
.g99-article-content .wp-block-buttons{display:flex;flex-wrap:wrap;gap:10px}
.g99-related-cta{background:linear-gradient(125deg,#fff8ec,#f1f9f8);padding:24px;border-radius:14px;border:1px solid #e9dfce;margin-top:40px;display:flex;justify-content:space-between;gap:20px;align-items:center}
.g99-related-cta strong{display:block;font-size:18px}
.g99-related-cta p{font-size:13px;color:#6b7a80;margin:4px 0 0}
.g99-related-cta a{white-space:nowrap}
.g99-nextprev{display:flex;gap:12px;margin:20px 0;justify-content:space-between}
.g99-nextprev a{flex:1;border:1px solid #e2e8e5;background:#fff;border-radius:12px;padding:15px 18px;font-size:13px;font-weight:800;line-height:1.7}
.g99-page-heading{padding:0 0 18px;margin:0 0 22px;border-bottom:1px solid #eee}
.g99-page-heading p{color:#77858d;margin:0}
.g99-archive-header{text-align:left;margin:0 0 25px}
.g99-pagination ul{display:flex;flex-wrap:wrap;gap:7px;align-items:center;justify-content:center;list-style:none;margin:34px 0;padding:0}
.g99-pagination a,.g99-pagination span{display:block;background:#fff;border:1px solid #ddd;padding:7px 14px;border-radius:8px;font-weight:800;color:#2e6676}
.g99-pagination .current{background:#2c7185;color:#fff}
.g99-search-results{display:grid;gap:12px}
.g99-search-hit{padding:22px;background:#fff;border-radius:14px;border:1px solid #e2e8e5}
.g99-search-hit h2{font:900 21px/1.5 var(--g99-serif);margin:0 0 6px}
.g99-search-hit p{color:#6d7d85;margin:0}
.g99-results-hero{padding:20px 0 30px}
.g99-results-hero .g99-content-title{margin:0 0 12px}
.g99-quest-hero{position:relative;isolation:isolate;margin:0 0 42px;background:linear-gradient(90deg,rgba(19,58,65,.94),rgba(23,79,82,.58)),url('assets/quest-map.svg') center/cover;border-radius:22px;padding:42px 44px 40px;color:#fff;overflow:hidden;min-height:230px;display:flex;flex-direction:column;justify-content:center}
.g99-quest-hero .g99-eyebrow{color:#f2c5a3}
.g99-quest-hero h1{font:900 clamp(28px,4vw,45px)/1.35 var(--g99-serif);margin:0 0 12px;color:#fff}
.g99-quest-hero p{margin:0;max-width:690px;color:#edf5f1}
.g99-quest-label{text-align:center;margin:34px 0 23px}
.g99-quest-label h2{font:900 30px var(--g99-serif);margin:0 0 8px}
.g99-quest-label p{font-size:14px;color:#73818a;margin:0}
.g99-level-section{margin:27px 0 0}
.g99-level-section__head{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e2e4df;padding:0 0 11px;margin:0 0 15px}
.g99-level-section__head h3{font:900 19px var(--g99-serif);margin:0;color:#284657}
.g99-level-section__head span{font-size:12px;color:#7b8c8f}
.g99-level-grid{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:10px}
.g99-level{display:flex;align-items:center;flex-direction:column;justify-content:center;min-height:79px;padding:8px 3px;border-radius:13px;background:#fff;color:#69747b;font-weight:900;line-height:1.4;border:1px solid #e5e6e4}
.g99-level span{font-size:12px}.g99-level small{font-size:10px;font-weight:700;color:#9a9e9c}
a.g99-level--active{background:#fae8db;color:#a33b4e;border:2px solid #d7a07d;box-shadow:0 4px 0 #e0c0a0}
.g99-level--completed{background:#ecf8e9!important;border-color:#a4c9a8!important}
a.g99-level--active small{color:#a33b4e}
.g99-level--inactive{opacity:.72}
.g99-quiz-box{border-radius:18px;padding:28px;background:#fff;box-shadow:var(--g99-shadow);border:1px solid var(--g99-line);margin:35px 0}
.g99-quiz-box__header{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:center}
.g99-quiz-box__header span{font-weight:900;color:#bc3c54}
.g99-quiz-box__header strong{font-size:14px;color:#526a74}
.g99-quiz-box h2{font:900 24px var(--g99-serif);margin:0 0 15px}
.g99-question{font-size:21px;font-weight:900;line-height:1.65;margin:26px 0 19px}
.g99-answer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.g99-answer-grid button{border:1px solid #d6e2e0;border-radius:12px;background:#fff;padding:15px 16px;color:#264b57;text-align:left;font-size:16px;font-weight:800;min-height:60px}
.g99-answer-grid button:hover:not(:disabled){background:#eff9f6;border-color:#609e93}
.g99-answer-grid button.g99-correct{border:2px solid #4b9b7e;background:#e6f6ed}
.g99-answer-grid button.g99-wrong{border:2px solid #ca665f;background:#fff0ed}
.g99-explanation{border:1px solid #dcece7;background:#f4faf7;border-radius:12px;margin:19px 0 0;padding:18px;font-size:15px}
.g99-explanation p{margin:4px 0}.g99-explanation strong{color:#255b56}
.g99-quiz-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.g99-small-note{color:#7c8a90;font-size:13px;line-height:1.8}
.g99-quest-panel{padding:21px;background:#fff;border:1px solid #e5e9e6;border-radius:15px;margin-top:26px}
.g99-quest-panel h2{font:900 21px var(--g99-serif);margin:0 0 9px}
.g99-quest-panel ul{padding-left:23px;margin:0}
.g99-quest-panel li{margin:5px 0}
.g99-quest-panel button{border:0;background:#f3ede7;color:#5b5963;border-radius:9px;padding:10px 15px;margin-top:12px;font-weight:800}
.g99-quest-panel [hidden],.g99-quiz-box [hidden]{display:none!important}
.g99-empty{background:#fff;padding:30px;border-radius:12px}
.g99-results-form{max-width:660px;margin:15px 0}.g99-search-form{display:flex;gap:10px;width:100%;background:#fff;padding:7px;border:1px solid #dce6e1;border-radius:14px;box-shadow:0 6px 20px #25445410}
.g99-search-form input{flex:1;width:100%;min-width:0;border:0;background:#fff;padding:10px 13px;color:#1e3f4b;font-size:16px;outline:none}
.g99-search-form button{padding:11px 21px;border:0;border-radius:10px;background:#287b8b;color:#fff;font-weight:900;white-space:nowrap}
.g99-search-form button:hover{background:#1c5e6a}
@media(max-width:980px){.g99-header-inner{gap:12px;padding:11px 19px}.g99-brand strong{font-size:18px}.g99-brand small{font-size:9px}.g99-nav{gap:1px}.g99-nav a{font-size:12px;padding:10px}.g99-nav a.g99-nav-quest{padding:10px 14px}.g99-hero{min-height:430px}.g99-hero__stamp{right:20px;bottom:16px}.g99-kana-grid{grid-template-columns:repeat(9,minmax(0,1fr))}.g99-level-grid{grid-template-columns:repeat(9,minmax(0,1fr))}}
@media(max-width:760px){.g99-container{padding:0 17px}.g99-header-inner{padding:8px 16px;min-height:70px}.g99-brand img{width:39px;height:39px;flex-basis:39px}.g99-brand strong{font-size:17px}.g99-brand-number{font-size:19px}.g99-brand small{font-size:9px}.g99-nav{display:none}.g99-header-search{margin-left:auto;font-size:26px;min-width:33px}.g99-header-search span{font-size:9px}.g99-mobile-nav{display:block;margin-left:5px}.g99-mobile-nav summary{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;list-style:none;width:35px;height:40px;cursor:pointer}.g99-mobile-nav summary::-webkit-details-marker{display:none}.g99-mobile-nav summary span{display:block;width:20px;height:2px;background:#335563;border-radius:2px}.g99-mobile-nav nav{position:absolute;top:50px;right:-10px;min-width:230px;background:#fff;border:1px solid #e1ebe7;border-radius:12px;box-shadow:0 12px 30px #253d5130;padding:9px;z-index:50;display:grid}.g99-mobile-nav nav a{display:block;color:#2b5564;font-size:15px;font-weight:800;padding:12px 14px;border-radius:8px}.g99-mobile-nav nav a:hover{background:#f1f8f5}
.g99-hero{min-height:492px;align-items:flex-start;background-position:61% center;background-image:linear-gradient(180deg,rgba(252,250,245,.96) 0%,rgba(252,250,245,.89) 44%,rgba(252,250,245,.05) 90%),url('assets/hero-world.svg')}
.g99-hero__inner{padding:37px 19px 124px}.g99-hero__content{max-width:100%}.g99-hero h1{font-size:clamp(33px,8.5vw,49px);line-height:1.3}.g99-hero__lead{font-size:15px;margin-bottom:18px}.g99-hero__overline{font-size:12px}
.g99-hero__stamp{bottom:18px;right:17px;transform:rotate(-2deg);padding:9px 13px;gap:7px}.g99-hero__stamp strong{font-size:28px}.g99-hero__stamp span{font-size:10px}
.g99-actions{gap:9px}.g99-btn{min-height:47px;padding:11px 17px;font-size:13px}
.g99-section,.g99-section--surface{padding:42px 0 47px}.g99-section--narrow{padding-top:34px}
.g99-section-heading{margin-bottom:22px}.g99-section-heading h2{font-size:27px}.g99-section-heading p:last-child{font-size:13px}
.g99-choice-grid{grid-template-columns:1fr;gap:17px}.g99-choice-card__image{height:205px}.g99-choice-card__body{padding:20px}.g99-choice-card__body>p{min-height:0}
.g99-step-grid{grid-template-columns:1fr;gap:11px}.g99-step{min-height:0;padding:17px 18px}.g99-step b{font-size:25px}.g99-step h3{margin:6px 0 3px}
.g99-kana-box{padding:14px}.g99-kana-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.g99-kana-grid a{min-height:48px;font-size:18px}
.g99-post-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.g99-post-card__image{height:119px}.g99-post-card__body{padding:13px;min-height:162px}.g99-post-card__body strong{font-size:15px}.g99-post-card__excerpt{display:none}
.g99-footer-top{display:block}.g99-footer-links{margin-top:22px}.g99-footer-bottom{display:block}.g99-footer-bottom span{display:block;padding-bottom:6px}
.g99-content-main{padding:25px 0 55px}.g99-content-shell{padding:0 13px}.g99-article,.g99-generic-page{padding:24px 18px 30px}.g99-content-title{font-size:29px}.g99-article-content{font-size:16px;line-height:2}.g99-article-content h2{font-size:21px;padding:12px 13px}
.g99-article-content h3{font-size:18px}.g99-related-cta{display:block}.g99-related-cta .g99-btn{margin-top:13px}.g99-nextprev{display:block}.g99-nextprev a{display:block;margin-bottom:8px}
.g99-quest-hero{padding:31px 20px;min-height:240px}.g99-level-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.g99-level{min-height:69px;border-radius:10px}.g99-quiz-box{padding:19px 14px}.g99-answer-grid{grid-template-columns:1fr}.g99-question{font-size:19px}.g99-quest-label h2{font-size:25px}
}
@media(max-width:375px){.g99-brand strong{font-size:15px}.g99-brand small{font-size:8px}.g99-brand img{width:34px;height:34px;flex-basis:34px}.g99-hero h1{font-size:31px}.g99-hero__inner{padding-left:16px;padding-right:16px}.g99-post-grid{grid-template-columns:1fr}.g99-post-card__image{height:145px}.g99-footer-links{grid-template-columns:1fr}}
.g99-hero__mascot{position:absolute;right:3px;bottom:-13px;width:250px;height:auto;z-index:3;filter:drop-shadow(0 8px 9px rgba(25,65,57,.16))}.g99-hero__stamp{right:230px;bottom:25px}@media(max-width:760px){.g99-hero__mascot{width:143px;right:-5px;bottom:1px}.g99-hero__stamp{display:none}}@media(max-width:390px){.g99-hero__mascot{width:129px}}
.g99-dict-banner{position:relative;border-radius:20px;border:1px solid #dfebdc;background:linear-gradient(90deg,rgba(255,252,245,.98) 0%,rgba(255,252,245,.93) 52%,rgba(255,252,245,.24) 100%),url('assets/study-desk.svg') right center/auto 100% no-repeat,#faf4e9;padding:30px 35px;margin-bottom:24px;overflow:hidden}
.g99-dict-banner h1{font:900 clamp(27px,3.7vw,39px)/1.5 var(--g99-serif);margin:0 0 9px;color:#234455}
.g99-dict-banner p:not(.g99-eyebrow){font-size:14px;color:#526f78;margin:0 0 19px}
.g99-dict-banner .g99-results-form{max-width:660px}
.g99-dictionary-index .g99-kana-box{margin:0 0 35px}
.g99-kana-grid a[aria-current=page]{background:#c8475d!important;color:#fff!important;border-color:#b23249!important}
.g99-index-list{background:#fff;border:1px solid #ecebe5;border-radius:19px;padding:32px;box-shadow:var(--g99-shadow)}
.g99-index-head{text-align:center;margin:0 0 26px}
.g99-index-head h2{font:900 28px/1.4 var(--g99-serif);color:#234556;margin:4px 0 8px}
.g99-index-head p:last-child{font-size:13px;color:#75838b;margin:0}
.g99-index-list .g99-word-links>h2{display:none}
.g99-index-list .g99-word-links>img:first-of-type,.g99-index-list .g99-word-links img[src*="hiragana_"]{display:none}
.g99-level-section{background:#fff;border:1px solid #e7e8e3;padding:20px 22px;border-radius:17px;box-shadow:0 5px 18px #293f4809}
.g99-level-section__head h3{color:#22586b}
.g99-level-section:nth-of-type(2n){border-color:#e9dfcf;background:#fffdf9}
@media(max-width:760px){.g99-level-section{padding:17px 12px}.g99-level-section__head{align-items:flex-start}.g99-level-section__head h3{font-size:17px}.g99-level-section__head span{text-align:right;max-width:115px;line-height:1.5}}
.g99-word-links ul{list-style:none!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:0!important;margin:15px 0!important}
.g99-word-links li{margin:0!important;border:1px solid #e6eae5;border-radius:10px;background:#fff;padding:0!important;overflow:hidden}
.g99-word-links li a{display:block;padding:10px 14px;line-height:1.65;text-decoration:none!important;font-size:15px;font-weight:800;color:#236477}
.g99-word-links li a:hover{background:#e9f5f1;color:#a63d52}
.g99-word-links li a span{color:inherit!important}
.g99-index-paging{display:flex;justify-content:center;gap:15px;align-items:center;flex-wrap:wrap;margin:30px 0;color:#788b8f;font-size:13px}
.g99-index-paging a{border-radius:10px;background:#fff;border:1px solid #dce6df;padding:10px 17px;font-weight:800}
@media(max-width:760px){.g99-dict-banner{padding:23px 17px;background-image:linear-gradient(90deg,rgba(255,252,245,.98),rgba(255,252,245,.8)),url('assets/study-desk.svg')}.g99-index-list{padding:20px 12px}.g99-word-links ul{grid-template-columns:1fr;gap:6px}.g99-word-links li a{padding:12px;font-size:16px}.g99-index-head h2{font-size:24px}.g99-dictionary-index .g99-kana-box{padding:14px}}

.g99-article-layout{max-width:1230px;margin:0 auto;padding:0 27px;display:grid;grid-template-columns:minmax(0,1fr) 277px;gap:24px;align-items:start}
.g99-article-layout__main{min-width:0}
.g99-article-sidebar{min-width:0;padding-top:42px}
.g99-article-sidebar .g99-widget{border:1px solid #e6e9e3;border-radius:13px;background:#fff;padding:17px 15px;box-shadow:0 4px 15px #2042590a;margin-bottom:17px;overflow-wrap:anywhere}
.g99-widget__title{font:900 17px/1.5 var(--g99-serif);color:#275768;border-bottom:2px solid #ebede4;padding:0 0 9px;margin:0 0 12px}
.g99-article-sidebar .g99-widget ul{list-style:none;margin:0;padding:0}
.g99-article-sidebar .g99-widget li{border-bottom:1px solid #eff1ef;margin:0;padding:9px 0;font-size:13px;font-weight:700}
.g99-article-sidebar .g99-widget img{max-width:100%;height:auto}
.g99-article-sidebar .g99-widget input{max-width:100%}
.g99-post-ads--desktop,.g99-post-ads--mobile{margin-top:26px}
.g99-post-ads--mobile{display:none}
.g99-post-ads--desktop .g99-widget{margin:12px 0 18px;max-width:100%}
.g99-post-ads--desktop img,.g99-post-ads--mobile img{max-width:100%;height:auto}
@media(max-width:960px){.g99-article-layout{grid-template-columns:minmax(0,1fr) 235px;gap:16px;padding:0 16px}}
@media(max-width:760px){.g99-article-layout{grid-template-columns:minmax(0,1fr);gap:8px;padding:0 12px}.g99-article-sidebar{padding-top:12px}.g99-article-sidebar .g99-widget{padding:15px}.g99-post-ads--desktop{display:none}.g99-post-ads--mobile{display:block}.g99-article-sidebar .g99-widget li{font-size:14px}}
.g99-legacy-colwrap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.g99-legacy-col{min-width:0;overflow:hidden}.g99-legacy-col ins.adsbygoogle{max-width:100%}@media(max-width:760px){.g99-legacy-colwrap{grid-template-columns:1fr}}

/* ============================================================
   G99 PERFECT HOME — bright fantasy learning / game theme
   Screens are composed of readable HTML, not a screenshot.
   ============================================================ */
.g99-perfect{background:#fff;color:#24394b;font-family:"Hiragino Kaku Gothic ProN","Yu Gothic","Noto Sans JP",sans-serif;font-size:16px}
.g99-perfect *{box-sizing:border-box}
.g99-perfect-wrap{max-width:1220px;margin:auto;padding:0 26px}
.g99-perfect a{text-decoration:none!important}
.g99-perfect-hero{position:relative;isolation:isolate;background:linear-gradient(90deg,rgba(255,252,226,.06),rgba(255,252,226,.04)),url("assets/hero-world.svg") center center/cover no-repeat;min-height:450px;overflow:hidden}
.g99-perfect-hero:before{content:"";position:absolute;left:0;right:0;bottom:0;height:78px;background:linear-gradient(0deg,rgba(255,252,241,.94),transparent);z-index:0;pointer-events:none}
.g99-perfect-hero__inner{position:relative;max-width:1440px;min-height:450px;margin:0 auto;padding:34px 40px 25px;display:flex;align-items:center;justify-content:center}
.g99-perfect-hero__cat{position:absolute;z-index:5;display:block;width:min(34%,360px);height:auto;left:3%;bottom:-16px;filter:drop-shadow(5px 13px 9px rgba(14,50,56,.25));transition:transform .3s}
.g99-perfect-hero__headline{position:relative;z-index:4;width:min(65%,750px);margin-left:27%;text-align:center}
.g99-perfect-hero__kicker{font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-size:clamp(15px,1.7vw,24px);font-weight:900;line-height:1.5;color:#553323;letter-spacing:.035em;text-shadow:1px 2px 0 #fff,-1px -1px 0 #fff,0 0 11px #fff;margin:0 0 11px}
.g99-perfect-hero__scroll{position:relative;isolation:isolate;padding:19px 42px 17px;margin:0 auto;width:min(100%,650px);background:linear-gradient(95deg,#f2d296 0%,#fff4d1 15%,#fff5d8 85%,#dba860 100%);border-radius:45px 25px 43px 22px;box-shadow:0 9px 21px rgba(111,74,40,.25),inset 0 4px 8px rgba(255,255,255,.68),inset 0 -6px 4px rgba(164,111,66,.13);border:2px solid #e6bd78;transform:rotate(-.5deg)}
.g99-perfect-hero__scroll:before,.g99-perfect-hero__scroll:after{content:"";position:absolute;top:6px;bottom:6px;width:25px;background:linear-gradient(90deg,#bb8249,#f7dfa7 50%,#ad7442);box-shadow:2px 1px 4px rgba(108,71,38,.13);z-index:-1}
.g99-perfect-hero__scroll:before{left:-12px;border-radius:14px 7px 7px 14px}
.g99-perfect-hero__scroll:after{right:-12px;border-radius:7px 14px 14px 7px}
.g99-perfect-hero__scroll h1{font:900 clamp(40px,5.8vw,76px)/1.18 "Hiragino Mincho ProN","Yu Mincho","Noto Serif JP",serif!important;letter-spacing:-.04em;color:#4e2a1e!important;text-shadow:0 3px #fff1d9,2px 2px #fff0d2;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
.g99-perfect-hero__scroll h1 span{white-space:nowrap}
.g99-perfect-hero__scroll em{font-family:Georgia,"Times New Roman",serif;font-style:normal;color:#d5293e;font-size:1.18em;letter-spacing:-.04em;text-shadow:0 3px #ffecde}
.g99-perfect-hero__feather{position:absolute;right:22px;top:11px;font-size:46px;transform:rotate(-23deg);color:#875b3d;opacity:.6}
.g99-perfect-hero__ribbon{position:relative;z-index:2;display:inline-block;max-width:96%;padding:13px 40px 14px;margin:-1px 0 0;background:linear-gradient(180deg,#f45163,#bb2439);color:white!important;border-radius:8px 7px 11px 6px;box-shadow:0 6px 12px rgba(146,22,45,.26);font-size:clamp(14px,1.85vw,24px);line-height:1.4;font-weight:900;text-shadow:0 1px 2px rgba(74,11,26,.27);transform:rotate(-2deg)}
.g99-perfect-hero__ribbon strong{color:#ffe873}
.g99-perfect-hero__spark{position:absolute;z-index:1;color:#fff2a7;text-shadow:0 0 12px #fff;font-size:38px}
.g99-perfect-hero__spark--a{top:12%;left:10%}
.g99-perfect-hero__spark--b{top:25%;right:6%}
.g99-perfect-portals{position:relative;z-index:10;margin-top:-25px;padding-bottom:18px}
.g99-perfect-portals__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.g99-perfect-portal{position:relative;min-height:242px;border:8px solid #fff;border-radius:30px;box-shadow:0 6px 16px rgba(28,54,70,.17);overflow:hidden;color:#fff;display:flex;align-items:center;justify-content:center;text-align:center}
.g99-perfect-portal--challenge{background:radial-gradient(ellipse at 17% 18%,rgba(255,196,96,.24),transparent 43%),linear-gradient(135deg,#f13850 0%,#c92346 65%,#ac1c39 100%)}
.g99-perfect-portal--study{background:radial-gradient(ellipse at 18% 18%,rgba(255,255,255,.25),transparent 37%),linear-gradient(140deg,#149de0 0%,#0873bb 52%,#055c9b 100%)}
.g99-perfect-portal:after{content:"";position:absolute;right:-47px;bottom:-90px;width:210px;height:185px;border-radius:50%;border:25px solid rgba(255,255,255,.06);pointer-events:none}
.g99-perfect-portal__art{position:absolute;left:22px;top:27px;font-size:61px;filter:drop-shadow(0 5px 2px rgba(17,30,62,.18));line-height:1}
.g99-perfect-portal__info{position:relative;z-index:1;width:100%;padding:25px 24px 23px 96px;text-align:center}
.g99-perfect-portal__label{font-size:11px;letter-spacing:.12em;font-weight:900;opacity:.82;margin:0 0 2px}
.g99-perfect-portal h2{color:#fff!important;font:900 clamp(20px,2.1vw,27px)/1.36 "Hiragino Mincho ProN","Yu Mincho",serif!important;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;text-shadow:0 2px 3px rgba(28,41,76,.17)}
.g99-perfect-portal h2 strong{display:inline-block;color:#ffed73;font-size:clamp(35px,3.4vw,47px);line-height:1.16;letter-spacing:.04em}
.g99-perfect-portal p:not(.g99-perfect-portal__label){font-size:clamp(12px,1.28vw,17px);line-height:1.75;font-weight:800;margin:6px 0 17px;color:#fff!important}
.g99-perfect-portal__button{display:flex!important;align-items:center;justify-content:space-between;gap:15px;max-width:330px;min-height:47px;margin:0 auto;background:linear-gradient(#fff,#fff6e8);border-radius:99px;color:#80403a!important;padding:9px 17px 9px 28px;font-weight:900;font-size:15px;box-shadow:0 4px 8px rgba(20,26,48,.2),inset 0 1px rgba(255,255,255,.8);transition:transform .2s}
.g99-perfect-portal--study .g99-perfect-portal__button{color:#105488!important}
.g99-perfect-portal__button:hover{transform:translateY(-3px);color:#a83e52!important}
.g99-perfect-portal__button span{font-size:25px;font-weight:900;line-height:1}
.g99-perfect-menu{padding:14px 0 28px;background:#fff}
.g99-perfect-heading{text-align:center;font:900 clamp(24px,3vw,34px)/1.45 "Hiragino Mincho ProN","Yu Mincho",serif!important;color:#4c2b1c!important;margin:22px auto 28px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
.g99-perfect-heading:before,.g99-perfect-heading:after{content:"";display:inline-block;vertical-align:middle;width:min(10vw,130px);height:2px;background:#7295a6;margin:0 20px}
.g99-perfect-menu__grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:13px}
.g99-perfect-menu__item{display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;min-height:115px;padding:16px 7px 12px;border:1px solid #e3e9ec;background:linear-gradient(#fff,#f3f9fc);border-radius:15px;box-shadow:0 4px 10px rgba(28,64,81,.09);transition:transform .2s,background .2s}
.g99-perfect-menu__item:hover{transform:translateY(-4px);background:#eff9ff}
.g99-perfect-menu__item strong{font-size:clamp(11px,1.2vw,15px);font-weight:900;line-height:1.6;color:#264253}
.g99-perfect-menu__item small{display:block;font-size:10px;color:#607986;margin-top:2px;line-height:1.4}
.g99-perfect-menu__icon{font-size:43px;font-weight:900;line-height:1.4}
.g99-perfect-menu__item--1 .g99-perfect-menu__icon{color:#28a9f2}
.g99-perfect-menu__item--2 .g99-perfect-menu__icon{color:#e7507b;font-family:"Hiragino Mincho ProN",serif}
.g99-perfect-menu__item--3 .g99-perfect-menu__icon{color:#53b875}
.g99-perfect-menu__item--4 .g99-perfect-menu__icon{color:#f3b600}
.g99-perfect-menu__item--5 .g99-perfect-menu__icon{color:#a16ad2}
.g99-perfect-menu__item--6 .g99-perfect-menu__icon{color:#2c98d4}
.g99-perfect-search{display:flex;align-items:center;justify-content:space-between;gap:25px;margin:30px auto 9px;padding:16px 24px;background:#f5fafc;border:1px solid #e3edf1;border-radius:14px}
.g99-perfect-search>div:first-child{max-width:390px}
.g99-perfect-search strong{font-size:17px;color:#23536a}
.g99-perfect-search p{font-size:12px;line-height:1.6;color:#687985;margin:3px 0 0}
.g99-perfect-search form{max-width:520px;flex:1}
.g99-perfect-today{padding:17px 0 0;background:#fff}
.g99-perfect-today__bar{position:relative;display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:24px;padding:20px 25px;border-radius:16px;background:linear-gradient(100deg,#fff7e5,#fff9ee 48%,#ffefd4);border:2px solid #f1d7ac;box-shadow:0 6px 10px rgba(160,112,50,.08)}
.g99-perfect-today__label{display:flex;gap:10px;align-items:center;white-space:nowrap;font-size:23px;color:#734324;font-weight:900}
.g99-perfect-today__label span{color:#d27c39;font-size:26px}
.g99-perfect-today__word{font:900 clamp(26px,3.2vw,41px) "Hiragino Mincho ProN","Yu Mincho",serif;color:#6a3923;border-left:2px solid #d8b483;padding-left:20px;white-space:nowrap}
.g99-perfect-today__bar p{font-size:15px;line-height:1.6;margin:0;color:#544d43}
.g99-perfect-today__link{background:linear-gradient(#f39016,#cf6206);color:#fff!important;border-radius:99px;padding:9px 24px;white-space:nowrap;font-size:15px;font-weight:900;box-shadow:0 4px #a54d08}
.g99-perfect-today__link:hover{color:#fff!important;filter:brightness(1.08)}
.g99-perfect-today__link span{font-size:23px;vertical-align:middle}
.g99-perfect-mountains{height:125px;background:linear-gradient(0deg,rgba(232,250,246,.7),transparent),url("assets/hero-world.svg") center 77%/cover no-repeat;margin-top:12px}
.g99-perfect-explore,.g99-perfect-articles{background:#f9fbfb;padding:55px 0}
.g99-perfect-section-title{text-align:center;margin-bottom:27px}
.g99-perfect-section-title p{color:#ca5063;font-size:11px;letter-spacing:.15em;font-weight:900;margin:0 0 6px}
.g99-perfect-section-title h2{font:900 clamp(25px,3vw,33px)/1.5 "Hiragino Mincho ProN","Yu Mincho",serif!important;margin:0 0 7px!important;color:#23475e!important;background:none!important;border:0!important;padding:0!important;box-shadow:none!important}
.g99-perfect-section-title span{font-size:13px;color:#7c8e94}
.g99-perfect-kana{max-width:960px;margin:0 auto;display:grid;grid-template-columns:repeat(11,minmax(0,1fr));gap:8px}
.g99-perfect-kana a{display:flex;align-items:center;justify-content:center;min-height:54px;border-radius:11px;background:#fff;border:1px solid #dae8eb;color:#27719c!important;font-size:19px;font-weight:900;box-shadow:0 2px 5px #17405b09}
.g99-perfect-kana a:hover{background:#e5f5ff;color:#b43b55!important}
.g99-perfect-explore__bottom{text-align:center;margin:24px auto 0}.g99-perfect-explore__bottom a{font-size:15px;font-weight:900}
.g99-perfect-themes{padding:55px 0;background:#fff}
.g99-perfect-themes__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.g99-perfect-topic{border:1px solid #e4e8e9;background:linear-gradient(#fff,#f9fcfb);border-radius:18px;min-height:220px;padding:23px}
.g99-perfect-topic__symbol{font-size:42px;display:block}
.g99-perfect-topic h3{font:900 20px "Hiragino Mincho ProN","Yu Mincho",serif;color:#26475c;margin:5px 0 16px}
.g99-perfect-topic a{display:inline-flex;margin:0 6px 7px 0;padding:7px 12px;background:#edf7fc;border-radius:8px;font-size:14px;font-weight:800;color:#286d98!important}
.g99-perfect-topic a:hover{background:#d8ecfb}
.g99-perfect-articles__foot{text-align:center;margin:27px 0 0}.g99-perfect-articles__foot a{display:inline-block;padding:12px 22px;border-radius:99px;color:#fff!important;background:#2b718b;font-weight:800}
.g99-perfect .g99-ad-slot{margin-top:0;margin-bottom:0}
.g99-ideal-header{background:rgba(255,255,255,.99);box-shadow:0 3px 10px #263a4112;border-bottom:1px solid #eaf0f0}
.g99-ideal-header__inner{max-width:1460px;min-height:67px;padding:8px 22px}
.g99-ideal-header__brand img{width:43px;height:40px;object-fit:contain;flex-basis:auto}
.g99-ideal-header__brand strong{font-size:clamp(15px,1.7vw,22px);color:#1d2025}
.g99-ideal-header__brand .g99-brand-number{font-size:1.3em;color:#dd273e}
.g99-ideal-header__brand small{display:none}
.g99-ideal-header__nav{margin-left:auto;gap:2px}
.g99-ideal-header__nav a{padding:8px 11px;font-weight:900;font-size:clamp(11px,1vw,14px);border-radius:11px;color:#203b4c!important}
.g99-ideal-header__nav a span{font-size:18px;line-height:1;vertical-align:middle}
.g99-ideal-header__nav a[aria-current=page]{background:#e0f3fd;color:#1580c3!important}
.g99-ideal-header__nav a:hover{background:#f0f8fc}
.g99-ideal-header .g99-header-search{display:none}
@media(max-width:1060px){
 .g99-ideal-header__nav a{padding:8px;font-size:12px}
 .g99-perfect-portal__info{padding-left:71px;padding-right:15px}
 .g99-perfect-portal__art{left:12px;font-size:47px}
 .g99-perfect-today__bar{gap:15px;padding:17px}
 .g99-perfect-today__label{font-size:20px}
 .g99-perfect-menu__grid{gap:8px}
}
@media(max-width:830px){
 .g99-perfect-wrap{padding:0 17px}
 .g99-ideal-header__nav{display:none}
 .g99-ideal-header .g99-header-search{display:flex;margin-left:auto}
 .g99-ideal-header__mobile{display:block}
 .g99-perfect-hero__inner{min-height:412px;padding:28px 17px}
 .g99-perfect-hero{min-height:412px}
 .g99-perfect-hero__cat{width:37%;left:-2%;bottom:-7px}
 .g99-perfect-hero__headline{margin-left:30%;width:68%}
 .g99-perfect-hero__scroll h1{font-size:clamp(34px,6vw,52px)!important}
 .g99-perfect-hero__scroll{padding:16px 25px}
 .g99-perfect-hero__ribbon{padding:10px 14px;font-size:16px}
 .g99-perfect-portal{min-height:227px}
 .g99-perfect-portal__art{font-size:37px;top:18px}
 .g99-perfect-portal__info{padding:24px 15px}
 .g99-perfect-portal h2{font-size:21px!important}
 .g99-perfect-portal h2 strong{font-size:32px}
 .g99-perfect-menu__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
 .g99-perfect-today__bar{grid-template-columns:auto minmax(0,1fr);gap:12px 18px}
 .g99-perfect-today__word{border-left:2px solid #d8b483}
 .g99-perfect-today__bar p{grid-column:1/2}
 .g99-perfect-today__link{justify-self:end}
 .g99-perfect-kana{grid-template-columns:repeat(8,minmax(0,1fr))}
}
@media(max-width:620px){
 .g99-perfect-hero{min-height:455px;background-position:59% center}
 .g99-perfect-hero__inner{min-height:455px;padding:22px 13px 80px;align-items:flex-start}
 .g99-perfect-hero__headline{width:96%;margin:0 auto}
 .g99-perfect-hero__kicker{font-size:14px;line-height:1.4;margin:0 0 11px}
 .g99-perfect-hero__scroll{width:98%;padding:13px 18px 11px}
 .g99-perfect-hero__scroll h1{font-size:clamp(33px,8.6vw,49px)!important}
 .g99-perfect-hero__feather{right:9px;top:1px;font-size:25px}
 .g99-perfect-hero__ribbon{font-size:13px;max-width:100%;padding:10px 9px;margin-top:6px}
 .g99-perfect-hero__cat{width:min(52%,220px);left:0;bottom:0;max-height:230px;object-fit:contain;object-position:bottom}
 .g99-perfect-portals{margin-top:-7px}
 .g99-perfect-portals__grid{grid-template-columns:1fr;gap:12px}
 .g99-perfect-portal{min-height:192px;border-width:6px;border-radius:23px}
 .g99-perfect-portal__art{left:18px;top:18px;font-size:50px}
 .g99-perfect-portal__info{padding:19px 20px 17px 76px}
 .g99-perfect-portal h2{font-size:22px!important}
 .g99-perfect-portal h2 strong{font-size:36px}
 .g99-perfect-portal p:not(.g99-perfect-portal__label){font-size:13px;margin:5px 0 12px}
 .g99-perfect-portal__button{min-height:42px;font-size:13px;padding:7px 14px 7px 20px}
 .g99-perfect-heading{font-size:24px!important}
 .g99-perfect-heading:before,.g99-perfect-heading:after{width:25px;margin:0 10px}
 .g99-perfect-menu{padding:13px 0 17px}
 .g99-perfect-menu__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .g99-perfect-menu__item{min-height:100px;padding:12px 6px}
 .g99-perfect-menu__icon{font-size:37px}
 .g99-perfect-menu__item strong{font-size:14px}
 .g99-perfect-menu__item small{font-size:10px}
 .g99-perfect-search{display:block;padding:15px;margin-top:23px}
 .g99-perfect-search form{margin-top:10px}
 .g99-perfect-today{padding:8px 0 0}
 .g99-perfect-today__bar{grid-template-columns:1fr auto;padding:17px 14px;gap:10px}
 .g99-perfect-today__label{font-size:18px}
 .g99-perfect-today__word{font-size:29px;border:0;padding:0;text-align:right}
 .g99-perfect-today__bar p{font-size:13px;grid-column:1/-1}
 .g99-perfect-today__link{grid-column:1/-1;justify-self:stretch;text-align:center;padding:7px 16px}
 .g99-perfect-mountains{height:80px}
 .g99-perfect-kana{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
 .g99-perfect-kana a{min-height:48px}
 .g99-perfect-themes__grid{grid-template-columns:1fr;gap:11px}
 .g99-perfect-topic{min-height:0;padding:18px}
 .g99-perfect-explore,.g99-perfect-themes,.g99-perfect-articles{padding:37px 0}
}
@media(max-width:360px){
 .g99-ideal-header__brand strong{font-size:15px}
 .g99-ideal-header__brand img{width:36px}
 .g99-perfect-hero__scroll h1{font-size:31px!important}
 .g99-perfect-hero__ribbon{font-size:11px}
 .g99-perfect-hero__cat{width:51%}
 .g99-perfect-portal__info{padding:18px 11px 15px 65px}
 .g99-perfect-portal__art{font-size:40px;left:9px}
}

.g99-ad-slot{max-width:1100px;margin:25px auto;padding:0 16px;overflow:hidden}.g99-ad-desktop{display:block}.g99-ad-mobile{display:none}.g99-ad-widget{margin:auto;text-align:center}.g99-ad-slot .g99-legacy-colwrap{display:flex;align-items:center;justify-content:center;gap:18px}.g99-ad-slot .g99-legacy-col{flex:0 1 340px}.g99-ad-slot .g99-legacy-col ins.adsbygoogle{max-width:100%}@media(max-width:760px){.g99-ad-desktop{display:none}.g99-ad-mobile{display:block}.g99-ad-slot{padding:0 12px;margin:20px auto}.g99-ad-slot .g99-legacy-colwrap{display:block}}
/* Small-text readability pass based on the mobile Lighthouse audit. */
.g99-perfect-section-title span,.g99-perfect-search p{color:#415968}
.g99-perfect-menu__item small{color:#405565;font-size:11px}
.g99-perfect-today__bar p{color:#463b31}
.g99-post-card__excerpt,.g99-kana-note,.g99-quest-label p{color:#435c66}
.g99-perfect-topic a{color:#175476!important}
.g99-perfect-portal__label{opacity:1}
@media(max-width:620px){.g99-perfect-menu__item small{font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
