/* いとりん先生のアプリひろば — 3つの参考画像をベースにした共通スタイル */
:root{
 --navy:#0a1c49; --navy-soft:#1a3966; --blue:#087ff3; --blue-dark:#0065db;
 --mint:#0abd97; --green:#29bd82; --sky:#e5f6ff; --mint-pale:#e9fbf2;
 --stroke:#d5e8f6; --shadow:0 6px 20px rgba(29,91,150,.055);
 --radius:15px; --main-width:1460px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:85px}
body{margin:0;background:#fff;color:var(--navy);font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Hiragino Sans", "Yu Gothic", Meiryo,sans-serif;font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.6}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #ffbb43;outline-offset:3px}
svg.icon{width:1.15em;height:1.15em;fill:none;stroke:currentColor;stroke-width:1.95;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:-.1em}
.container{width:min(calc(100% - 80px),var(--main-width));margin-inline:auto}
.skip-link{position:fixed;top:-120px;left:10px;padding:10px 18px;background:#fff;z-index:9999;border:2px solid var(--blue)}
.skip-link:focus{top:10px}
[hidden]{display:none!important}
.desktop-only{display:inline}
.mobile-only{display:none}
.accent-blue{color:var(--blue)}
.accent-gradient{background:linear-gradient(110deg,#0587ed 5%,#09bc92 94%);color:transparent;background-clip:text;-webkit-background-clip:text}
/* ヘッダー */
.site-header{position:sticky;top:0;background:#fff;z-index:50;border-bottom:1px solid #f2f7fa}
.header-inner{height:65px;width:min(calc(100% - 80px),var(--main-width));margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px}
.site-logo{display:flex;align-items:center;min-width:0;gap:18px;white-space:nowrap}
/* ロゴ＝ファビコンの絵＋文字。絵の大きさは文字の大きさに合わせて画面幅ごとに変える */
.logo-lockup{display:flex;align-items:center;gap:10px;min-width:0}.logo-mark{width:40px;height:40px;flex-shrink:0;display:block}
.footer-mark{width:28px;height:28px;flex-shrink:0;display:block}
.logo-main{font-size:27px;line-height:1.25;letter-spacing:-.055em;font-weight:900;color:var(--navy)}
.logo-blue{color:#008de4}.logo-green{color:#00ad88}
.logo-tagline{padding-left:18px;border-left:1px solid #cfdfeb;font-weight:600;font-size:12px;line-height:1.4;color:#263c67;letter-spacing:0;white-space:normal}
.desktop-nav{display:flex;align-items:center;gap:4px;margin-left:auto}
.nav-link{padding:17px 10px;display:flex;align-items:center;gap:5px;white-space:nowrap;position:relative;font-size:13px;font-weight:700}
.nav-link .icon{width:17px;height:17px;opacity:.75}
.nav-link:hover,.nav-link.is-active{color:var(--blue-dark)}
.nav-link.is-active::after{content:"";position:absolute;height:2px;left:9px;right:9px;bottom:10px;background:var(--blue)}
.nav-contact{display:flex;align-items:center;gap:6px;background:#eef8fe;color:var(--blue-dark);border-radius:50px;padding:9px 13px;font-weight:750;font-size:12px;white-space:nowrap;margin-left:5px;transition:background .2s}
.nav-contact:hover{background:#d9efff}
.header-actions{display:flex;align-items:center;gap:5px}
.icon-button{border:0;background:none;color:var(--navy);padding:7px;border-radius:8px;display:grid;place-items:center}
.icon-button:hover{background:#ecf7fd}
.icon-button svg{width:22px;height:22px}
.menu-toggle{display:none}
.site-search-panel{position:absolute;top:100%;left:0;right:0;background:#fff;box-shadow:0 14px 30px #12386221;padding:20px max(40px,calc((100% - var(--main-width))/2));border-top:1px solid var(--stroke)}
.site-search-panel form{max-width:900px;margin:auto}
.site-search-panel label{font-weight:800;display:block;margin-bottom:8px}
.search-row{display:flex;gap:9px}
.search-row input{flex:1;border:1px solid #cbdff0;border-radius:9px;padding:12px;font-size:16px}
.search-row .btn-primary{min-width:128px}
.mobile-nav{background:#fff;box-shadow:0 13px 24px #12386224;padding:12px 25px}
.mobile-nav a{display:block;padding:11px 4px;border-bottom:1px solid #e5f0f6;font-weight:750;font-size:14px}
/* 共通ボタン */
.btn-primary{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:40px;border-radius:999px;padding:9px 20px;border:2px solid white;box-shadow:0 0 0 1px #8bcaf9,0 3px 9px #0063c329;background:linear-gradient(180deg,#18a3ff 0%,#0786fc 38%,#0069e8 100%);color:white;font-weight:850;white-space:nowrap;transition:transform .16s ease,filter .16s ease,box-shadow .16s ease}
.btn-primary:hover{filter:saturate(1.16) brightness(1.025);transform:translateY(-2px);box-shadow:0 0 0 1px #5eb9fc,0 8px 17px #0063c33a}
.btn-primary .icon{stroke-width:2.4}
.btn-outline{display:flex;align-items:center;justify-content:center;gap:10px;background:white;border:1px solid #a1c8e7;color:var(--navy);border-radius:999px;font-weight:800;padding:10px 12px;font-size:13px}
.btn-outline:hover{background:#e9f7ff;color:var(--blue-dark)}
/* トップページ */
.hero-home{position:relative;isolation:isolate;height:330px;overflow:hidden;background:linear-gradient(95deg,#ecf9ff,#f2faff)}
.hero-illustration{position:absolute;z-index:-2;right:0;top:0;bottom:0;width:66%;background:url('assets/hero-art.webp') right top/cover no-repeat}
.hero-home::after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#f0fbff 0%,#f0fbfffa 24%,#f0fbff88 36%,transparent 50%);pointer-events:none}
.hero-home-inner{height:100%;display:flex;align-items:center}
.hero-copy{max-width:530px;padding:0 0 5px 10px}
.hero-copy h1{font-size:clamp(34px,3.48vw,57px);letter-spacing:.01em;line-height:1.22;font-weight:900;margin:0 0 4px;color:#081940}
.hero-copy h1 span{color:#0585ed;white-space:nowrap}
.hero-lead{font-size:clamp(17px,1.6vw,23px);font-weight:860;margin:8px 0 6px;letter-spacing:.035em}
.hero-description{font-size:13.5px;color:#344f75;font-weight:550;line-height:1.55;margin:0}
.home-content{padding-top:12px;padding-bottom:34px}
.filter-panel{display:grid;grid-template-columns:215px minmax(0,1fr);gap:14px;background:#f6faff;border:1px solid #f4f9ff;border-radius:13px;padding:12px 15px;box-shadow:inset 0 1px white}
.filter-intro{border-right:1px solid #c8dced;display:flex;flex-direction:column;justify-content:center;padding:0 14px 0 0}
.filter-intro-title{display:flex;align-items:center;gap:10px;font-size:14px;white-space:nowrap}
.filter-intro-title .icon{width:25px;height:25px;color:var(--blue)}
.filter-intro p{font-size:12px;color:#516c90;line-height:1.45;margin:7px 0 0 35px}
.filter-controls{min-width:0;display:flex;flex-direction:column}
.filter-toggle{display:none}
.filter-row{display:grid;grid-template-columns:122px minmax(0,1fr);align-items:center;gap:0;min-height:45px}
.filter-row + .filter-row{border-top:1px solid #d7e6f0;padding-top:5px;margin-top:3px}
.filter-row h2{font-size:14px;line-height:1.1;margin:0;font-weight:850;white-space:nowrap}
.filter-pills{display:flex;gap:7px;flex-wrap:wrap;align-items:center}
.filter-pill{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid transparent;border-radius:100px;font-size:12.5px;font-weight:800;line-height:1.2;padding:8px 10px;min-height:34px;color:#006bd6;background:#e2f4fe;transition:.18s}
.filter-pill:hover{border-color:#91c8f0;transform:translateY(-1px)}
.filter-pill .icon{width:17px;height:17px;stroke-width:2.3}
.filter-pill.is-selected{background:linear-gradient(180deg,#159eff,#0074ed);color:white;box-shadow:0 2px 9px #1687ef4a;border:2px solid white;outline:1px solid #80cafa;padding:7px 9px}
.subject-kokugo:not(.is-selected){background:#ffebf2;color:#c81f6a}.subject-shakai:not(.is-selected){background:#dff7eb;color:#007a4e}
.subject-sansuu:not(.is-selected),.subject-taiiku:not(.is-selected){background:#e6f2ff;color:#0a6bc2}.subject-rika:not(.is-selected),.subject-ongaku:not(.is-selected){background:#f2ebff;color:#6d3fc4}
.subject-zukou:not(.is-selected){background:#fff1e7;color:#b84a14}.subject-katei:not(.is-selected){background:#fff5e5;color:#8a5a00}
.subject-eigo:not(.is-selected){background:#def9f3;color:#0f6f6b}.subject-other:not(.is-selected){background:#ebeff4;color:#536579}
.grade-pill{min-width:66px;background:#e5f2fc;color:#18528c;font-size:14px}.grade-middle:not(.is-selected){background:#def7eb;color:#077a54}
.grade-note{font-size:12px;color:#526b88;margin:15px 0 0}
.materials-heading{margin:17px 4px 10px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #d4e4f2;padding-bottom:5px}
.materials-heading h2{font-size:19px;line-height:1.35;margin:0;font-weight:900}
.count-label{font-size:12px;vertical-align:middle;font-weight:700;color:#0a6fd1;margin-left:5px}
.selected-summary{font-size:11px;margin:1px 0 0;color:#5d7695}
.clear-filter{border:0;background:none;color:var(--blue-dark);display:flex;align-items:center;gap:8px;font-size:13px;font-weight:850;white-space:nowrap}
.clear-filter .icon{width:15px;height:15px}
.material-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.material-card{--art-w:47%;border:1px solid #dcebf5;position:relative;min-height:161px;overflow:hidden;border-radius:12px;background:#fff;box-shadow:var(--shadow);isolation:isolate;transition:box-shadow .2s,transform .2s}
.material-card:hover{box-shadow:0 8px 24px #1763a526;transform:translateY(-2px)}
.material-card-copy{padding:10px 10px 11px 14px;width:calc(100% - var(--art-w));height:100%;display:flex;flex-direction:column;align-items:flex-start;position:relative;z-index:1}
.material-card h3{font-size:17px;line-height:1.24;letter-spacing:-.01em;font-weight:900;margin:5px 0 4px}
.material-card p{font-size:13px;color:#526b88;line-height:1.5;margin:0 0 10px;max-width:275px}
.subject-badge{display:inline-block;padding:1px 11px;border-radius:5px;font-size:11px;font-weight:900;line-height:19px}
.badge-kokugo{background:#ffebf3;color:#c81f6a}.badge-shakai{background:#dff8eb;color:#007a4e}.badge-ongaku{background:#eee5ff;color:#6d3fc4}.badge-rika{background:#eee5ff;color:#6d3fc4}.card-badges{display:flex;flex-wrap:wrap;gap:4px}.grade-badge{background:#e5f2fc;color:#18528c}
.material-cta{min-height:32px;padding:5px 14px;font-size:13px;line-height:1.1;margin-top:auto;min-width:180px}
.material-cta .icon{width:16px;height:16px}
.material-art{position:absolute;z-index:0;right:0;inset-block:0;width:var(--art-w);background-image:var(--art-image);background-size:cover;background-position:var(--art-pos,right center);-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 25%);mask-image:linear-gradient(to right,transparent 0%,#000 25%)}
.empty-state{border:1px dashed #a5cfe9;border-radius:16px;padding:50px 20px;text-align:center;background:#f6fbff}
.empty-state>.icon{width:40px;height:40px;color:#1585e5}.empty-state h3{margin:8px 0;font-size:19px}.empty-state p{color:#62748e}
/* 全下層ページ共通：淡い楕円と葉っぱだけのヒーロー背景 */
.sub-hero{background:#f4fbff url('assets/header-pattern.svg') center center/cover no-repeat;min-height:225px}
.sub-hero-inner{padding-block:22px 24px;padding-left:clamp(55px,8vw,128px)}
.breadcrumbs{display:flex;align-items:center;gap:11px;color:#365c82;font-size:12px;font-weight:700;margin-bottom:20px}
.breadcrumbs a:hover{text-decoration:underline;color:var(--blue-dark)}
.sub-hero h1{font-size:clamp(32px,3.5vw,49px);line-height:1.25;letter-spacing:-.045em;font-weight:900;margin:0 0 10px}
.sub-hero p{font-size:16px;line-height:1.55;letter-spacing:.02em;margin:0;font-weight:580}
/* おしらせ */
.notice-content{padding-top:21px;padding-bottom:22px}
.notice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.notice-card{border:1px solid #d5e8f4;box-shadow:var(--shadow);border-radius:13px;background:#fff;min-height:161px;padding:16px 13px;display:flex;gap:12px;align-items:center}
.notice-illustration{display:grid;place-items:center;flex-shrink:0;width:65px;height:75px;border-radius:50%;color:#0289eb;margin-top:0}
.notice-illustration svg{width:48px;height:48px;stroke-width:1.8;filter:drop-shadow(1px 3px 1px #107fbd15)}
.illust-blue{background:linear-gradient(135deg,#dcecff,#ebfaff)}
.illust-mint{background:linear-gradient(135deg,#e2faf1,#f3fff6)}
.illust-yellow{background:linear-gradient(135deg,#e9f7ff,#f4fff5);color:#ffc032}
.notice-text{min-width:0}.notice-card h2{font-size:17px;font-weight:900;line-height:1.25;margin:0 0 7px}
.notice-card p{color:#496789;font-size:14px;font-weight:550;line-height:1.66;margin:0}
.notice-card-wide{grid-column:1/-1;min-height:0}.notice-card p a{color:#0a6fd1;text-decoration:underline}
.notice-bottom{background:linear-gradient(115deg,#e1f5ff 0%,#f2faff 45%,#e4f9f2 100%);border-radius:15px;min-height:112px;margin-top:16px;padding:16px 22px;display:flex;align-items:center;gap:22px}
.banner-icon{width:75px;height:75px;border-right:1px solid #b9d8ef;display:flex;align-items:center;flex-shrink:0;color:#088def}
.banner-icon svg{width:50px;height:50px;stroke-width:1.3;fill:#b4e8ff}
.notice-bottom small{font-size:13px;font-weight:700}.notice-bottom h2{font-size:24px;margin:0;line-height:1.25;white-space:nowrap}
.notice-bottom p{font-size:12px;color:#526d8a;margin:0 auto;line-height:1.5}.banner-button{min-width:240px;min-height:47px}
.notice-faq-link{text-align:center;color:#607c98;font-size:12px;margin:15px 0 0}.notice-faq-link a{color:var(--blue-dark);font-weight:800;text-decoration:underline}
/* お問い合わせ */
.contact-content{padding-block:22px 36px}
.contact-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(300px,.93fr);gap:18px;align-items:start}
.form-panel,.aside-card{background:#fff;border:1px solid #d7e7f5;border-radius:15px;box-shadow:var(--shadow)}
.form-panel{padding:22px 27px 25px}
.panel-heading{display:flex;gap:13px;align-items:start;margin-bottom:18px}.panel-heading>.icon{width:37px;height:37px;stroke-width:1.8;color:var(--blue);flex:none}
.panel-heading h2{margin:0;font-size:24px;font-weight:900;line-height:1.2}.panel-heading p{color:#526e8e;margin:7px 0 0;font-size:13px}
.form-note{font-size:11px;color:#7189a0}
.form-consent{font-size:13px;color:#4b6988;line-height:1.65;margin:6px 0 14px}.form-consent a{color:#0a6fd1;text-decoration:underline}
#contact-form{padding-inline:1px}
.form-field{margin:0 0 14px}
.form-field label:not(.radio-group label),fieldset legend{display:block;font-size:13px;font-weight:800;margin-bottom:6px}
.required{font-size:10px;border-radius:3px;background:#ff6079;color:white;font-weight:900;padding:2px 5px;margin-left:5px;vertical-align:2px;white-space:nowrap}
.form-field input:not([type=radio]),.form-field select,.form-field textarea{width:100%;border:1px solid #c6d9eb;background:#fff;border-radius:6px;padding:10px 13px;font-size:14px;color:var(--navy);outline-color:#77bdf8;min-height:42px;display:block}
.form-field input::placeholder,.form-field textarea::placeholder{color:#92a8bf}
.form-field textarea{resize:vertical;min-height:115px}
.form-field select{appearance:auto;background-color:#fff}
.form-field .is-invalid{border-color:#e65870!important;background:#fff8fa!important}
.field-error{color:#d7435f;font-size:11px;font-weight:700;min-height:0;display:block;margin-top:3px}
.fieldset{padding:0;border:0;min-inline-size:0}.radio-group{display:flex;gap:12px 20px;flex-wrap:wrap;padding:4px 0}
.radio-group label{font-size:13px;white-space:nowrap;display:flex;align-items:center;gap:5px;cursor:pointer}.radio-group input{accent-color:var(--blue);width:16px;height:16px}
.form-submit{text-align:center;padding-top:3px}.send-button{min-width:310px;min-height:50px;font-size:17px;gap:20px}
.submit-message{font-size:12px;color:#566f8d;min-height:19px;margin:12px 0 0}
.submit-message.is-warning{color:#a34d10;font-weight:800}.submit-message.is-success{color:#067e53;font-weight:800}
.contact-aside,.faq-aside{display:flex;flex-direction:column;gap:14px}
.aside-card{padding:20px 20px}.aside-card h2{font-size:19px;font-weight:900;margin:0 0 14px;line-height:1.35}
.help-card{background:linear-gradient(150deg,#effaff,#e5f6ff)}
.help-card h2{display:flex;align-items:center;gap:9px}.help-card h2 .icon{color:#ffc321;width:27px;height:27px}
.help-items,.check-card ul{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.help-items li,.check-card li{display:flex;align-items:center;gap:14px;font-size:13px;color:#284c75;font-weight:620}
.help-items li .icon,.check-card li .icon{height:34px;width:34px;padding:6px;border-radius:100%;background:#fff;color:#119ff2;flex:none}
.help-items li:nth-child(3) .icon{color:#efbf2f}.help-items li:nth-child(4) .icon{color:#00b1ba}
.faq-teaser{background:linear-gradient(135deg,#effaf0,#e6ffed)}
.faq-teaser-title{display:flex;gap:14px;align-items:start;margin-bottom:16px}.faq-teaser-title>.icon{height:39px;width:39px;color:#0789de;flex:none}
.faq-teaser h2{margin:0 0 5px}.faq-teaser p{font-size:12px;color:#506987;line-height:1.6;margin:0}
.contact-tip{display:flex;align-items:start;gap:14px;background:#fff9e9;border:1px solid #f9e3b4;border-radius:14px;padding:16px;color:#745b2c}.contact-tip .icon{width:30px;height:30px;color:#e5b62d}.contact-tip p{font-size:12px;margin:0}
/* よくある質問 */
.faq-hero{min-height:190px}.faq-hero .sub-hero-inner{padding-block:13px 17px}.faq-hero .breadcrumbs{margin-bottom:12px}.faq-hero h1{margin-bottom:5px}
.faq-hero p{font-size:14px}
.faq-content{padding-block:17px 30px}
.faq-layout{display:grid;grid-template-columns:minmax(0,2.16fr) minmax(300px,1fr);gap:22px;align-items:start}
.faq-list{display:flex;flex-direction:column;gap:9px}
.faq-item{background:#fff;border:1px solid #dceaf6;box-shadow:var(--shadow);border-radius:13px;overflow:hidden}
.faq-item:hover{border-color:#9cd1f4}
.faq-question{margin:0}.faq-toggle{display:flex;align-items:center;gap:18px;width:100%;border:0;background:transparent;text-align:left;color:var(--navy);padding:12px 17px 0;font-size:16px;font-weight:900}
.q-mark{background:linear-gradient(160deg,#39b7ff,#087cf0);height:34px;width:34px;display:grid;place-items:center;flex-shrink:0;color:#fff;font-weight:900;font-size:20px;border-radius:50%}
.faq-question-text{flex:1;min-width:0}
.faq-answer{display:flex;align-items:flex-start;gap:18px;padding:10px 40px 16px 17px}.a-mark{height:34px;width:34px;display:grid;place-items:center;flex-shrink:0;border-radius:50%;background:#e3f7ee;color:#0a9b63;font-weight:900;font-size:20px}.faq-answer p{font-size:15px;line-height:1.75;color:#3f5d7f;font-weight:560;margin:5px 0 0}
.faq-aside .aside-card h2{font-size:19px}.categories-card{padding:19px 20px}
.category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.category-filter{border:1px solid #cadfed;background:#fff;border-radius:60px;color:#2b4a75;display:flex;align-items:center;justify-content:center;gap:7px;padding:10px 8px;font-size:12px;font-weight:850;white-space:nowrap}
.category-filter:hover,.category-filter.is-selected{background:#e7f5ff;border-color:#60baf6;color:#0070dc}
.category-filter .icon{color:#159ef1;width:20px;height:20px}.category-filter:nth-child(2) .icon{color:#62c57e}.category-filter:nth-child(4) .icon{color:#edb129}
.show-all-faq{font-size:12px;color:var(--blue-dark);border:0;background:none;font-weight:800;display:block;margin:15px auto 0;text-decoration:underline}
.check-card{background:linear-gradient(160deg,#f0faff,#e7f7fd);border-color:#e1f5fb}.check-card li .icon{width:30px;height:30px}
.faq-contact-card{background:linear-gradient(125deg,#efffeb,#e6fcf3);border-color:#e7f7e7;position:relative;overflow:hidden}
.faq-contact-card h2{display:flex;align-items:flex-start;gap:9px}.faq-contact-card h2>.icon{height:36px;width:36px;color:#078ced;flex:none}
.faq-contact-card h2 .faq-contact-heading{color:var(--navy);font-size:18px}.faq-contact-card h2 em{font-style:normal;color:#0ca99c}.faq-contact-card p{font-size:12px;color:#4f6f8b;margin:0 0 13px}.faq-contact-card .btn-primary{width:100%;font-size:13px}
.empty-faq{text-align:center;background:#f3faff;border:1px solid #b9ddf4;padding:25px;border-radius:12px}.empty-faq button{background:none;color:var(--blue);font-weight:800;border:0;text-decoration:underline;display:block;margin:10px auto 0}
/* フッター */
.site-footer{border-top:1px solid #d9eaf2;background:#fff;margin-top:0}
.footer-inner{width:min(calc(100% - 80px),var(--main-width));margin:auto;padding:12px 0;display:flex;align-items:center;gap:16px;color:#2c4b76}
.footer-brand{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:15px;font-weight:900;color:var(--navy)}
.footer-brand strong{color:#098df2;font-size:19px;letter-spacing:-.04em}.footer-brand strong span{color:#0eb38d}
.mini-logo{display:grid;place-items:center;border-radius:4px;background:linear-gradient(135deg,#0b94ec,#30dc83);width:24px;height:25px;color:#fff;font-size:19px}
.footer-desc{font-size:10px;border-left:1px solid #cce0ed;padding-left:12px;white-space:nowrap;line-height:1.25}
.footer-inner nav{margin-left:auto;display:flex;align-items:center;gap:0}
.footer-inner nav a{font-size:11px;padding:0 12px;border-right:1px solid #cfe1ee;white-space:nowrap}
.footer-inner nav a:hover{color:var(--blue-dark);text-decoration:underline}
.footer-inner small{font-size:10px;white-space:nowrap}
/* レスポンシブ */
@media (max-width:1350px){
 .container,.header-inner,.footer-inner{width:min(calc(100% - 52px),var(--main-width))}
 .logo-main{font-size:23px}.logo-tagline{font-size:10px;padding-left:12px}.site-logo{gap:12px}.logo-mark{width:36px;height:36px}
 .nav-link{font-size:12px;padding:17px 7px}.nav-contact{font-size:11px;padding:8px 9px}
 .filter-panel{grid-template-columns:205px minmax(0,1fr)}.filter-row{grid-template-columns:112px minmax(0,1fr)}.filter-pills{gap:5px}.filter-pill{padding:7px 9px;font-size:11.5px;min-height:31px}.grade-pill{min-width:56px}
 .material-card h3{font-size:15px}.material-cta{min-width:155px}
 .notice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.notice-card{min-height:133px}.notice-card p{font-size:14px}.notice-illustration{width:76px;height:76px}
}
@media (max-width:1060px){
 .desktop-nav{display:none}.menu-toggle{display:grid}.header-inner{height:65px}
 .hero-home{height:330px}.hero-illustration{width:72%;right:0;opacity:.9}.hero-home::after{background:linear-gradient(90deg,#f0fbff 0%,#f0fbfff7 42%,#f0fbff1a 83%)}
 .filter-panel{grid-template-columns:1fr;padding:14px 16px}.filter-intro{padding:0 0 10px;border-right:0;border-bottom:1px solid #d2e6f3}.filter-intro p{margin:4px 0 0 34px}.filter-row{grid-template-columns:120px minmax(0,1fr)}
 .material-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.material-card{min-height:175px}.material-card h3{font-size:17px}
 .notice-bottom{flex-wrap:wrap}.notice-bottom p{margin-left:0}
 .contact-layout,.faq-layout{grid-template-columns:minmax(0,1fr) 300px;gap:14px}
 .footer-inner{flex-wrap:wrap}.footer-inner nav{order:3;width:100%;justify-content:center}.footer-inner small{margin-left:auto}
}
@media (max-width:760px){
 .container,.header-inner,.footer-inner{width:calc(100% - 34px)}
 .header-inner{gap:7px}.logo-main{font-size:clamp(15px,4.2vw,24px)}.logo-tagline{display:none}.logo-lockup{gap:8px}.logo-mark{width:32px;height:32px}.footer-mark{width:24px;height:24px}.header-actions{gap:0}.icon-button{padding:12px}.icon-button svg{height:20px;width:20px}
 .hero-home{height:auto;min-height:460px;display:flex;align-items:flex-start}.hero-illustration{position:absolute;top:auto;bottom:0;right:-12%;height:220px;width:105%;background-size:cover;background-position:center bottom;opacity:.97}
 .hero-home::after{background:linear-gradient(180deg,#f0fbff 0%,#f0fbfff7 44%,#f0fbff22 76%,transparent 100%)}
 .hero-home-inner{align-items:start;padding-top:22px}.hero-copy{padding:0 4px;max-width:100%}.hero-copy h1{font-size:clamp(30px,7vw,42px)}.hero-lead{font-size:16px}.hero-description{font-size:12px}.hero-description br{display:none}
 .home-content{padding-top:12px}.filter-panel{padding:12px}.filter-row{grid-template-columns:1fr;gap:6px;padding:6px 0}.filter-row h2{font-size:13px}.filter-pills{gap:6px}.filter-pill{padding:8px 10px;font-size:12px}.grade-pill{min-width:55px}
 .materials-heading h2{font-size:17px}.material-grid{grid-template-columns:1fr}.material-card{min-height:165px}.material-card h3{font-size:16px}.material-cta{min-width:175px;min-height:44px}
 .sub-hero{min-height:200px;background-position:60% center}.sub-hero-inner{padding-block:18px 19px;padding-left:0}.sub-hero h1{font-size:clamp(29px,7vw,41px);letter-spacing:-.04em}.sub-hero p{font-size:13px;max-width:490px}.breadcrumbs{margin-bottom:14px;font-size:11px}
 .notice-grid{grid-template-columns:1fr}.notice-card{min-height:110px}.notice-card h2{font-size:17px}.notice-card p{font-size:14px}.notice-bottom{gap:12px;padding:15px}.notice-bottom h2{font-size:22px}.notice-bottom .banner-icon{width:47px;height:50px}.banner-icon svg{height:39px;width:39px}.notice-bottom p{width:100%}.banner-button{width:100%}
 .contact-layout,.faq-layout{grid-template-columns:1fr}.form-panel{padding:20px 16px}.panel-heading h2{font-size:21px}.panel-heading p{font-size:12px}.contact-aside,.faq-aside{gap:11px}
 .faq-hero{min-height:185px}.faq-toggle{font-size:14px;gap:12px;padding:12px 12px 0}.faq-answer{gap:12px;padding:8px 14px 12px 12px}.faq-answer p{font-size:14px}.faq-aside{margin-top:3px}
 .footer-inner{gap:9px}.footer-brand{font-size:11px}.footer-brand strong{font-size:14px}.footer-desc{font-size:9px}.footer-inner nav{justify-content:flex-start;flex-wrap:wrap;gap:8px 0}.footer-inner nav a{padding:0 10px 0 0;margin-right:10px;font-size:11px}.footer-inner small{font-size:10px}
 .mobile-only{display:inline}.desktop-only{display:none}
 .site-search-panel{padding:15px 17px}.search-row .btn-primary{min-width:93px;padding:8px 10px;font-size:12px}
}
@media (max-width:420px){
 .site-logo .logo-main{font-size:clamp(13px,4.1vw,17px)}.logo-lockup{gap:6px}.logo-mark{width:clamp(24px,7.2vw,28px);height:clamp(24px,7.2vw,28px)}.hero-copy h1{font-size:31px}.material-card h3{font-size:16px}.material-cta{min-width:151px;font-size:13px}.material-card{--art-w:40%}
 .radio-group{gap:10px 12px}.radio-group label{font-size:12px}.send-button{width:100%;min-width:0}.notice-illustration{width:55px;height:63px}.notice-illustration svg{height:41px;width:41px}
}
/* スマートフォン：絞り込み欄は最初は閉じておき、ボタンで開く（is-collapsed は script.js が付ける） */
@media (max-width:760px){
 .filter-toggle{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:2px;border:0;background:none;color:var(--navy);font:inherit;font-size:14px;font-weight:900;text-align:left;cursor:pointer}
 .filter-toggle>.icon{width:22px;height:22px;color:var(--blue);flex-shrink:0}
 .filter-toggle-current{margin-left:auto;padding:3px 10px;border-radius:999px;background:#e5f2fc;color:#18528c;font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:45%}
 .filter-toggle-chevron{width:18px;height:18px;flex-shrink:0;transition:transform .2s}
 .filter-toggle[aria-expanded="true"] .filter-toggle-chevron{transform:rotate(180deg)}
 .filter-panel .filter-intro{display:none}
 .filter-panel{gap:0;padding:8px 12px}
 .filter-panel .filter-controls{border-top:1px solid #d2e6f3;margin-top:6px;padding-top:2px}
 .filter-panel.is-collapsed .filter-controls{display:none}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}


/* プライバシーポリシー：下層ページと共通の余白・楕円・葉っぱ背景 */
.privacy-hero{min-height:206px}
.privacy-hero .sub-hero-inner{padding-top:18px;padding-bottom:24px}
.privacy-hero .breadcrumbs{margin-bottom:12px}
.privacy-hero h1{margin-bottom:9px}
.privacy-hero p{font-size:15px;max-width:850px}
.privacy-content{padding-block:25px 52px}
.privacy-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:27px;align-items:start;max-width:1260px;margin-inline:auto}
.privacy-aside{display:flex;flex-direction:column;gap:16px;min-width:0;position:sticky;top:81px}
.privacy-toc-card,.privacy-help-card{background:#fff;border:1px solid #d9eaf7;border-radius:16px;box-shadow:var(--shadow);overflow:hidden}
.privacy-toc-title{background:linear-gradient(100deg,#ecf8ff,#eefcf6);display:flex;align-items:center;gap:10px;font-weight:900;font-size:17px;padding:17px 18px}
.privacy-toc-title .icon{color:var(--blue);width:22px;height:22px}
.privacy-toc{display:flex;flex-direction:column;padding:10px}
.privacy-toc a{padding:9px 12px;border-radius:9px;display:flex;gap:13px;align-items:center;color:#375b7f;font-size:13px;font-weight:700;line-height:1.3}
.privacy-toc a span{color:#0a92e9;font-size:12px;font-weight:900;font-variant-numeric:tabular-nums}
.privacy-toc a:hover,.privacy-toc a.is-current{color:#005fd6;background:#e9f6ff}
.privacy-help-card{padding:19px 17px;background:linear-gradient(135deg,#e5f9ff,#effff2);text-align:center}
.privacy-help-icon{border:1px solid #8ad0fa;background:#fff;display:grid;place-items:center;height:43px;width:43px;border-radius:50%;margin:0 auto 10px;color:var(--blue)}
.privacy-help-icon .icon{width:24px;height:24px}
.privacy-help-card h2{font-size:16px;font-weight:900;margin:0 0 4px}
.privacy-help-card p{color:#4a6681;font-size:12px;margin:0 0 14px}
.privacy-help-card .btn-primary{font-size:12px;width:100%}
.privacy-article{min-width:0}
.privacy-intro{background:linear-gradient(110deg,#f3fbff,#f9fefb);border:1px solid #cde7f8;box-shadow:var(--shadow);border-radius:16px;padding:22px 25px;display:flex;gap:19px;align-items:start;margin-bottom:15px}
.privacy-intro-icon{width:54px;height:54px;display:grid;place-items:center;flex-shrink:0;border-radius:50%;background:linear-gradient(140deg,#def2ff,#dffaea);color:#087dea}
.privacy-intro-icon .icon{height:29px;width:29px}
.privacy-intro-kicker{color:#007bd9;font-size:12px;font-weight:900;margin-bottom:4px}
.privacy-intro p{font-size:14px;color:#284f75;line-height:1.85;margin:0;font-weight:560}
.privacy-section{background:#fff;border:1px solid #d9eaf7;box-shadow:var(--shadow);border-radius:16px;padding:20px 25px 23px;margin-bottom:14px;scroll-margin-top:22px}
.privacy-section h2{display:flex;align-items:center;gap:12px;font-size:20px;line-height:1.45;margin:0 0 12px;font-weight:900;letter-spacing:-.025em}
.privacy-number{border-radius:50%;background:linear-gradient(155deg,#23b1fc,#0179eb);color:#fff;font-size:13px;letter-spacing:0;font-weight:900;width:36px;height:36px;display:grid;place-items:center;flex-shrink:0;box-shadow:0 2px 6px #0484ee2a}
.privacy-section:nth-of-type(even) .privacy-number{background:linear-gradient(145deg,#1dcaad,#04a889)}
.privacy-section-body{color:#365474;line-height:1.88;font-size:14px}
.privacy-section-body p{margin:0 0 11px}
.privacy-section-body p:last-child{margin-bottom:0}
.privacy-section-body h3{font-size:14px;color:#092753;font-weight:850;margin:12px 0 5px}
.privacy-section-body h3:first-child{margin-top:0}
.privacy-section-body ul{padding-left:1.35em;margin:8px 0 14px}
.privacy-section-body li{padding-left:2px;margin:3px 0}
.privacy-section-body a{color:#0077e4;text-decoration:underline;text-underline-offset:3px;text-decoration-color:#91c9f1;font-weight:750;overflow-wrap:anywhere}
.privacy-section-body a:hover{color:#0057ad;text-decoration-color:currentColor}
.privacy-table-scroll{width:100%;overflow-x:auto;overscroll-behavior-inline:contain;border:1px solid #d7e9f6;border-radius:10px;margin:16px 0 16px}
.privacy-table-scroll:focus-visible{outline:3px solid #ffbf51;outline-offset:3px}
.privacy-table{border-collapse:collapse;min-width:720px;width:100%;font-size:12px;line-height:1.62}
.privacy-table th,.privacy-table td{padding:11px 12px;border-bottom:1px solid #deedf6;text-align:left;vertical-align:top}
.privacy-table thead th{background:#e8f6ff;color:#173a62;font-weight:850;white-space:nowrap}
.privacy-table tbody th{background:#f8fcff;color:#123d66;font-weight:850;min-width:130px}
.privacy-table tbody tr:last-child th,.privacy-table tbody tr:last-child td{border-bottom:0}
.privacy-table small{color:#5b7290;font-size:10px}
.privacy-external-links{list-style:none;padding:0!important;margin-bottom:0!important}
.privacy-external-links li{margin-bottom:8px!important;position:relative;padding-left:15px}
.privacy-external-links li::before{content:'•';color:#11b6a5;position:absolute;left:0;font-size:16px}
.privacy-external-links a .icon{height:12px;width:12px;transform:rotate(-45deg);margin-left:5px}
.privacy-date{color:#5a748e;font-size:13px;text-align:right;margin:21px 4px 19px;font-weight:700}
.privacy-bottom{padding:20px 23px;border-radius:16px;background:linear-gradient(105deg,#e3f6ff,#f1fdf3);display:flex;align-items:center;gap:15px}
.privacy-bottom-icon{color:#0688e9;border-radius:50%;background:#fff;padding:10px;flex:none;display:grid;place-items:center}
.privacy-bottom-icon .icon{width:30px;height:30px}
.privacy-bottom-copy{flex:1;min-width:0}
.privacy-bottom h2{font-size:18px;font-weight:900;margin:0 0 2px}
.privacy-bottom p{font-size:12px;color:#4b6988;margin:0}
.privacy-bottom .btn-primary{font-size:13px;white-space:nowrap}
@media(max-width:1060px){.privacy-layout{grid-template-columns:210px minmax(0,1fr);gap:16px}.privacy-toc a{font-size:12px}.privacy-bottom{flex-wrap:wrap}.privacy-bottom .btn-primary{margin-left:auto}}
@media(max-width:760px){.privacy-content{padding-block:15px 35px}.privacy-layout{display:flex;flex-direction:column;gap:15px}.privacy-aside{position:static;width:100%;order:2}.privacy-article{order:1;width:100%}.privacy-toc-card{display:none}.privacy-help-card{margin-top:3px}.privacy-hero .sub-hero-inner{padding-block:17px 20px}.privacy-intro{padding:15px;gap:11px}.privacy-intro-icon{width:39px;height:39px}.privacy-intro-icon .icon{width:23px;height:23px}.privacy-intro p{font-size:12px}.privacy-section{padding:16px 15px;margin-bottom:10px}.privacy-section h2{gap:9px;font-size:16px}.privacy-number{width:29px;height:29px;font-size:11px}.privacy-section-body{font-size:13px;line-height:1.83}.privacy-section-body h3{font-size:13px}.privacy-table{min-width:620px;font-size:11px}.privacy-bottom{padding:16px}.privacy-bottom h2{font-size:16px}.privacy-bottom .btn-primary{width:100%}}
/* スマートフォンでは、本文の最後のお問い合わせ案内と重複するサイドカードを非表示にする */
@media (max-width:760px){.privacy-aside{display:none}}
