/*
Theme Name: Dejima Juku 2026
Description: 出島情報塾のリニューアル用レスポンシブWordPressテーマ（検証用）。既存ページ・記事を表示し、トップページを新デザインにします。
Version: 0.9.0
Author: Dejima Juku Renewal Concept
Text Domain: dejima-juku
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
*/
/* Dejima Info Juku - 2026 draft */
:root{--ink:#19334d;--ink-soft:#536678;--navy:#142d4c;--green:#177d78;--mint:#e4f5ef;--orange:#f3b950;--cream:#fbfbf7;--line:#dce6e7;--white:#fff;--shadow:0 18px 40px rgba(18,51,74,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:95px}body{margin:0;background:#fff;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,'Hiragino Kaku Gothic ProN','Hiragino Sans','Yu Gothic',Meiryo,sans-serif;line-height:1.75;font-size:16px;font-weight:500}a{color:inherit;text-decoration:none}a:hover{color:var(--green)}button{font:inherit;cursor:pointer}img{max-width:100%;height:auto}strong{font-weight:800}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:.015em;line-height:1.45}h1{font-size:clamp(2.4rem,4.3vw,4.1rem);font-weight:850;letter-spacing:.03em}h2{font-size:clamp(1.75rem,2.7vw,2.75rem)}h3{font-size:1.22rem}p{color:var(--ink-soft)}.container{width:min(1160px,calc(100% - 44px));margin-inline:auto}.site-header{height:84px;background:rgba(255,255,255,.97);position:sticky;top:0;z-index:50;border-bottom:1px solid #eef1f1;backdrop-filter:blur(12px)}.header-inner{height:100%;display:flex;align-items:center;gap:26px}.brand{display:inline-flex;align-items:center;gap:11px;min-width:max-content}.brand-mark{display:grid;grid-template-columns:repeat(2,14px);grid-template-rows:repeat(2,14px);gap:4px;transform:rotate(-8deg)}.brand-mark span{border-radius:5px;background:#1d9286}.brand-mark span:nth-child(2){background:#efb446}.brand-mark span:nth-child(3){background:#9dd9cb}.brand-mark span:nth-child(4){background:#315f95}.brand-name{font-size:1.23rem;font-weight:900;letter-spacing:.05em;color:var(--navy);line-height:1.1}.brand-caption{font-size:.61rem;display:block;letter-spacing:.16em;font-weight:700;color:#78919d;margin-top:4px}.main-nav{display:flex;align-items:center;justify-content:flex-end;gap:20px;flex:1}.main-nav a{font-size:.82rem;white-space:nowrap;font-weight:750;transition:color .2s}.main-nav .nav-cta{background:var(--green);color:white;border-radius:100px;padding:11px 19px;box-shadow:0 5px 13px rgba(23,125,120,.16)}.main-nav .nav-cta:hover{background:#0d5958}.menu-toggle{display:none;background:transparent;border:0;color:var(--navy);font-size:1.45rem;line-height:1;min-width:44px;min-height:44px}
.hero{background:linear-gradient(125deg,#fafcf8 0%,#f3fbf8 65%,#f7fafb 100%);position:relative;overflow:hidden;padding:70px 0 78px}.hero:before{content:'';position:absolute;left:-180px;bottom:-160px;width:360px;height:360px;border-radius:50%;border:70px solid #edf6ed;opacity:.65}.hero-grid{position:relative;display:grid;grid-template-columns:1fr 1.05fr;align-items:center;gap:42px}.eyebrow{font-size:.78rem;font-weight:900;letter-spacing:.14em;color:var(--green);display:flex;align-items:center;gap:11px}.eyebrow:before{content:'';width:21px;height:3px;background:#e5b651;border-radius:2px}.hero h1{margin:20px 0 19px;color:var(--navy)}.hero h1 .accent{background:linear-gradient(transparent 66%,#ffe9ad 66%,#ffe9ad 91%,transparent 91%)}.hero-copy{max-width:520px;font-size:1.08rem;line-height:2;color:#506777}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:100px;padding:14px 23px;font-size:.94rem;font-weight:800;min-height:52px;transition:transform .2s,background .2s;white-space:nowrap}.btn:hover{transform:translateY(-2px)}.btn-primary{background:var(--green);color:white;box-shadow:0 8px 21px rgba(26,128,115,.2)}.btn-primary:hover{color:#fff;background:#12645d}.btn-outline{border:1.5px solid #b8d7d2;background:#fff;color:var(--green)}.btn-outline:hover{background:#e8f6f2}.btn-light{background:#fff;color:var(--navy)}.hero-facts{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px;font-size:.8rem;font-weight:800;color:#56716e}.hero-facts span{display:inline-flex;align-items:center;gap:8px}.hero-facts svg{color:#218c7b}.hero-visual{position:relative}.hero-visual img{width:100%;border-radius:30px;box-shadow:0 16px 44px rgba(43,83,96,.08)}.visual-tag{position:absolute;bottom:-20px;left:18px;background:#fff;border:1px solid #dbece9;border-radius:18px;box-shadow:var(--shadow);padding:12px 19px;display:flex;align-items:center;gap:11px;font-weight:800;font-size:.82rem}.visual-tag b{font-size:1.7rem;color:var(--green)}
.trust-strip{border-bottom:1px solid var(--line);background:#fff}.trust-inner{padding:23px 0;display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.trust-item{display:flex;align-items:center;gap:13px;font-size:.89rem;font-weight:750}.trust-item:not(:last-child){border-right:1px solid var(--line)}.trust-icon{width:46px;height:46px;display:grid;place-items:center;flex:none;background:#f0f8f5;color:#178a77;border-radius:13px;font-size:1.4rem}.trust-item small{display:block;font-weight:550;color:#718390;font-size:.75rem}
.section{padding:93px 0}.section-alt{background:var(--cream)}.section-heading{text-align:center;max-width:750px;margin:0 auto 38px}.section-heading .eyebrow{justify-content:center}.section-heading h2{margin:11px 0 13px;color:var(--navy)}.section-heading p{margin:0;font-size:.98rem}.section-lead{text-align:center;max-width:720px;margin:0 auto 45px}.course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.course-card{background:white;border:1px solid #e1ebeb;border-radius:24px;overflow:hidden;box-shadow:0 9px 29px rgba(24,64,73,.055);display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}.course-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.course-graphic{height:177px;display:grid;place-items:center;position:relative;overflow:hidden}.course-graphic:before{content:'';position:absolute;width:210px;height:210px;border:1.5px solid rgba(255,255,255,.7);border-radius:50%;right:-70px;top:-70px}.course-graphic:after{content:'';position:absolute;width:104px;height:104px;border:1.5px solid rgba(255,255,255,.65);border-radius:50%;left:-30px;bottom:-60px}.graphic-scratch{background:linear-gradient(135deg,#f7d68e,#f7e8c8)}.graphic-robot{background:linear-gradient(135deg,#bfe3f3,#e0f1ff)}.graphic-circuit{background:linear-gradient(135deg,#c3ede0,#e5f7e8)}.course-art{position:relative;z-index:1}.course-body{padding:27px 26px 25px;flex:1;display:flex;flex-direction:column}.course-kicker{font-size:.72rem;letter-spacing:.07em;font-weight:900;color:var(--green)}.course-body h3{font-size:1.31rem;margin:8px 0 12px;color:#1b3e54}.course-body p{font-size:.88rem;flex:1}.course-meta{display:flex;align-items:baseline;gap:8px;padding:12px 0 15px;margin-top:9px;border-top:1px solid #e9eeee}.course-meta strong{font-size:1.42rem;color:var(--navy)}.course-meta span{font-size:.74rem;color:#7c8a91}.card-link{font-size:.91rem;font-weight:850;color:#168577}.card-link:hover{color:#0d5f54}.pricing-note{color:#87949a;font-size:.74rem;margin:16px 0 0;text-align:center}
.features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:29px}.feature{text-align:center;padding:25px 16px}.feature-icon{margin:auto auto 22px;width:92px;height:92px;border-radius:25px;display:grid;place-items:center;font-size:2.9rem;background:#eef8f4}.feature h3{margin:0 0 11px}.feature p{font-size:.89rem;margin:0}
.exam-section{background:linear-gradient(115deg,#142f4d,#1f5368);color:#fff;overflow:hidden;position:relative}.exam-section:after{content:'';position:absolute;width:410px;height:410px;border-radius:50%;right:-125px;top:-200px;border:70px solid rgba(255,255,255,.025)}.exam-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:60px;align-items:center;position:relative;z-index:1}.exam-copy h2{color:white;margin:14px 0 13px}.exam-copy .eyebrow{color:#b1e9d3}.exam-copy p{color:#c8dbe4}.exam-tags{display:flex;flex-wrap:wrap;gap:10px;margin:25px 0 30px}.exam-tags span{background:#ffffff1e;border:1px solid #ffffff30;padding:7px 12px;border-radius:100px;font-size:.8rem}.exam-panel{background:white;border-radius:23px;padding:27px 29px;color:var(--navy);box-shadow:0 17px 38px rgba(0,0,0,.13)}.exam-panel h3{margin-bottom:11px}.exam-panel table{border-collapse:collapse;width:100%;font-size:.91rem}.exam-panel td{padding:11px 4px;border-bottom:1px solid #e8efef}.exam-panel tr:last-child td{border:0}.exam-panel td:last-child{text-align:right;font-weight:900}.exam-note{font-size:.75rem;color:#687d8c;margin-top:11px}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.step{position:relative;padding:24px 25px;border-radius:20px;background:white;border:1px solid #e4eeeb}.step-number{font-size:2.4rem;line-height:1;font-weight:900;color:#c9e6de}.step h3{margin:12px 0 10px}.step p{margin:0;font-size:.87rem}.step:not(:last-child):after{content:'→';position:absolute;right:-17px;top:40%;font-size:1.4rem;color:#3aaf94;z-index:1}.steps-cta{text-align:center;margin:30px 0 0}
.news-grid{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:start}.news-intro{max-width:420px}.news-intro h2{margin:14px 0}.news-list{border-top:1px solid #dae5e4}.news-list a{display:flex;gap:20px;align-items:baseline;padding:18px 2px;border-bottom:1px solid #dae5e4;font-size:.9rem;font-weight:750}.news-list a:hover{color:var(--green)}.news-list time{white-space:nowrap;font-size:.75rem;color:#81949d;font-weight:700}
.faq-section{background:#f5f9f8}.faq-list{max-width:820px;margin:0 auto}.faq-item{background:#fff;border:1px solid #e0ebea;border-radius:15px;margin-bottom:12px;overflow:hidden}.faq-button{border:0;background:none;color:var(--navy);width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;padding:18px 24px;font-size:.98rem;font-weight:800}.faq-button:after{content:'+';font-size:1.4rem;color:var(--green)}.faq-item.active .faq-button:after{content:'−'}.faq-answer{display:none;padding:0 24px 20px;color:#5f7180;font-size:.9rem}.faq-item.active .faq-answer{display:block}.faq-answer p{margin:0}
.access-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}.access-info h2{margin:13px 0 20px}.access-info dl{display:grid;grid-template-columns:110px 1fr;gap:13px 20px;font-size:.9rem}.access-info dt{font-weight:900}.access-info dd{margin:0;color:#667a82}.access-info p{font-size:.87rem}.access-map{border-radius:22px;overflow:hidden;min-height:320px;background:linear-gradient(125deg,#e2f0e9,#d2e8ee);display:grid;place-items:center;position:relative;border:1px solid #d9e5e2}.map-lines{position:absolute;inset:0;opacity:.67;background:repeating-linear-gradient(25deg,transparent 0 64px,#fff 65px,#fff 77px,transparent 78px 130px),repeating-linear-gradient(115deg,transparent 0 110px,#fff 111px,#fff 125px,transparent 126px 210px)}.map-marker{z-index:1;background:white;border-radius:17px;padding:19px 24px;text-align:center;box-shadow:var(--shadow);font-weight:850}.map-marker .pin{font-size:2.5rem;display:block}.access-map small{position:absolute;bottom:14px;right:15px;color:#71918d;font-size:.68rem}
.cta-section{background:#e8f5ef;text-align:center;padding:66px 0}.cta-section h2{margin:0 0 11px}.cta-section p{max-width:650px;margin:0 auto 25px}.cta-row{display:flex;justify-content:center;flex-wrap:wrap;gap:12px}.footer{background:#102a46;color:#d9e7ee;padding:53px 0 22px}.footer .brand-name{color:white}.footer .brand-caption{color:#b5c7d5}.footer-main{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:36px;padding-bottom:41px}.footer p{font-size:.81rem;color:#afc2cd}.footer h3{font-size:.94rem;color:white}.footer ul{padding:0;margin:0;list-style:none}.footer li{margin:9px 0;font-size:.84rem}.footer a:hover{color:#7ae1c4}.footer-bottom{border-top:1px solid #34506a;padding-top:21px;display:flex;gap:20px;justify-content:space-between;color:#8da9bb;font-size:.73rem}.generic-page{padding:60px 0 90px;min-height:60vh}.generic-page h1{font-size:2.3rem}.generic-page .page-entry{max-width:870px}.generic-page .page-entry img{height:auto}.generic-page .page-entry a{text-decoration:underline;color:var(--green)}.generic-page .page-entry form input,.generic-page .page-entry form select,.generic-page .page-entry form textarea{max-width:100%;font:inherit}.generic-page .page-entry :is(input,select,textarea){max-width:100%}.generic-page .page-entry p{line-height:1.85}.post-preview{border:1px solid var(--line);border-radius:16px;padding:25px;margin:20px 0}.post-preview time{font-size:.75rem;color:#8a9b9e}
@media(max-width:1060px){.main-nav{gap:12px}.main-nav a{font-size:.76rem}.brand-name{font-size:1.04rem}.hero-grid{gap:24px}.hero h1{font-size:3.1rem}}
@media(max-width:820px){.site-header{height:73px}.header-inner{justify-content:space-between}.menu-toggle{display:block}.main-nav{position:absolute;top:73px;left:0;right:0;display:none;flex-direction:column;align-items:stretch;padding:18px 22px 25px;background:white;gap:0;box-shadow:0 14px 23px rgba(29,49,63,.12)}.main-nav.is-open{display:flex}.main-nav a{font-size:.94rem;padding:12px;border-bottom:1px solid #eef2f0}.main-nav .nav-cta{margin-top:13px;text-align:center;border:0}.hero{padding:48px 0 64px}.hero-grid{grid-template-columns:1fr;gap:42px}.hero h1{font-size:clamp(2.2rem,6vw,3.6rem)}.hero-visual{max-width:610px;width:100%;margin:auto}.trust-inner{gap:11px}.trust-item{gap:8px;font-size:.76rem}.trust-item small{font-size:.68rem}.trust-icon{width:39px;height:39px;font-size:1.1rem}.course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.course-card:last-child{grid-column:span 2;max-width:calc(50% - 10px)}.exam-grid,.news-grid,.access-grid{grid-template-columns:1fr;gap:30px}.footer-main{grid-template-columns:1fr 1fr}.footer-main>*:first-child{grid-column:span 2}.section{padding:72px 0}}
@media(max-width:580px){body{font-size:15px}.container{width:min(100% - 34px,1160px)}.brand-name{font-size:1.13rem}.hero{padding:39px 0 56px}.hero h1{font-size:clamp(2.16rem,9.1vw,3.2rem)}.hero-copy{font-size:.95rem}.hero-actions .btn{width:100%}.visual-tag{position:relative;left:auto;bottom:auto;margin:-13px 12px 0;justify-content:center}.trust-inner{grid-template-columns:1fr;padding:20px 0;gap:16px}.trust-item:not(:last-child){border-right:0}.trust-icon{width:43px;height:43px}.section{padding:62px 0}.course-grid,.features-grid,.steps{grid-template-columns:1fr}.course-card:last-child{grid-column:auto;max-width:none}.features-grid{gap:6px}.feature{padding:17px 8px}.feature-icon{width:75px;height:75px;margin-bottom:15px;font-size:2.3rem}.step:not(:last-child):after{content:'↓';right:50%;top:auto;bottom:-25px}.step{padding:22px}.steps{gap:27px}.exam-panel{padding:22px}.news-list a{flex-direction:column;gap:2px}.access-info dl{grid-template-columns:84px 1fr;gap:12px}.access-map{min-height:260px}.cta-row .btn{width:100%}.footer-main{grid-template-columns:1fr}.footer-main>*:first-child{grid-column:auto}.footer-bottom{flex-direction:column;gap:6px}.generic-page{padding-top:32px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
