/*
Theme Name: iyi School Renewal
Theme URI: https://iyischool.com/
Author: iyi
Description: Minimal responsive original theme for iyi school website renewal.
Version: 1.0.0
*/

:root{--black:#111;--text:#222;--muted:#777;--line:#ddd;--bg:#fff;--soft:#f7f7f5;--accent:#66745c;--max:1180px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--text);background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",YuGothic,Meiryo,sans-serif;line-height:1.8;font-size:16px;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
.container{width:min(calc(100% - 48px),var(--max));margin-inline:auto}
.site-header{position:absolute;z-index:20;top:0;left:0;width:100%;padding:26px 0}
.header-inner{display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center;gap:16px}
.brand-mark{font-size:48px;line-height:.8;font-weight:800;letter-spacing:-.08em}
.brand-name{font-size:14px;font-weight:700;letter-spacing:.08em}
.brand-tagline{display:block;color:#777;font-size:11px;font-weight:400;letter-spacing:.04em;margin-top:2px}
.header-contact{background:var(--black);color:#fff;padding:12px 22px;border-radius:3px;font-size:13px;font-weight:700;transition:.25s}
.header-contact:hover{opacity:.8}
.hero{min-height:760px;display:flex;align-items:center;position:relative;overflow:hidden;background:linear-gradient(90deg,#fff 0%,#fff 49%,#f4f4f1 100%)}
.hero:after{content:"";position:absolute;right:-8%;top:0;width:58%;height:100%;background:radial-gradient(circle at 65% 45%,rgba(255,255,255,.95),rgba(235,236,230,.55) 45%,rgba(215,216,208,.2) 70%,transparent 72%);pointer-events:none}
.hero-inner{position:relative;z-index:2;width:min(calc(100% - 48px),var(--max));margin:auto;padding-top:70px}
.eyebrow{font-size:17px;letter-spacing:.42em;margin:0 0 8px;color:#222}
.hero-title{font-size:clamp(64px,9vw,128px);line-height:.92;letter-spacing:-.055em;margin:0 0 34px;font-weight:850}
.hero-copy{max-width:510px}
.hero-copy h2{font-size:clamp(25px,3vw,38px);line-height:1.45;margin:0 0 25px;letter-spacing:.02em}
.hero-copy p{font-size:15px;margin:0 0 10px;color:#555}
.hero-note{margin-top:28px!important;color:#222!important;font-weight:600}
.hero-visual{position:absolute;z-index:1;right:4%;bottom:0;width:min(47vw,620px);height:58%;background:linear-gradient(135deg,rgba(255,255,255,.15),rgba(220,222,215,.55));clip-path:polygon(18% 0,100% 0,100% 100%,0 100%);opacity:.9}
.section{padding:110px 0}
.section-label{text-align:center;display:flex;align-items:center;justify-content:center;gap:24px;font-size:13px;letter-spacing:.38em;margin-bottom:42px}
.section-label:before,.section-label:after{content:"";width:58px;height:1px;background:#999}
.about{text-align:center}
.about h2{font-size:clamp(28px,4vw,48px);line-height:1.45;margin:0 0 26px;letter-spacing:.02em}
.about p{max-width:850px;margin:0 auto;color:#555;font-size:16px}
.services{background:var(--soft)}
.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:20px}
.service-card{padding:20px 42px 15px;border-right:1px solid var(--line)}
.service-card:last-child{border-right:0}
.service-icon{font-size:35px;line-height:1;margin-bottom:20px}
.service-card h3{font-size:21px;margin:0 0 4px;letter-spacing:.04em}
.service-card .en{font-size:12px;color:var(--muted);letter-spacing:.16em;margin-bottom:18px}
.service-card ul{padding:0;margin:0;list-style:none;color:#555;font-size:14px}
.service-card li{margin-bottom:4px}
.contact{padding:0;background:#fff}
.contact-inner{display:grid;grid-template-columns:40% 60%;min-height:330px}
.contact-photo{background:linear-gradient(135deg,#d9ded5,#f4f4f1);min-height:330px}
.contact-copy{padding:70px clamp(35px,6vw,85px);display:flex;flex-direction:column;justify-content:center}
.contact-copy .section-label{justify-content:flex-start;margin:0 0 25px}
.contact-copy h2{font-size:clamp(24px,3vw,36px);line-height:1.5;margin:0 0 12px}
.contact-copy p{color:#666;margin:0 0 28px}
.contact-buttons{display:flex;gap:12px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 22px;border:1px solid var(--black);font-size:13px;font-weight:700;transition:.25s}
.btn-primary{background:var(--black);color:#fff}.btn:hover{opacity:.75}
.site-footer{border-top:1px solid var(--line);padding:32px 0}
.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:20px}
.footer-brand{display:flex;align-items:center;gap:12px}.footer-brand .brand-mark{font-size:32px}.footer-brand small{font-size:11px;color:#777}
.footer-links{display:flex;gap:24px;font-size:12px;color:#666}
.copyright{font-size:11px;color:#999}
@media(max-width:800px){
 .container,.hero-inner{width:min(calc(100% - 36px),var(--max))}
 .site-header{padding:20px 0}.brand-mark{font-size:40px}.brand-name{font-size:12px}.brand-tagline{display:none}.header-contact{padding:10px 15px;font-size:12px}
 .hero{min-height:700px;background:#fff}.hero-inner{padding-top:80px}.hero-title{font-size:clamp(62px,19vw,100px);margin-bottom:28px}.hero-copy h2{font-size:25px}.hero-copy p{font-size:14px}.hero-visual{right:-35%;bottom:0;width:100%;height:43%;opacity:.45}
 .section{padding:78px 0}.section-label{margin-bottom:30px;gap:14px;font-size:11px}.section-label:before,.section-label:after{width:38px}.about h2{font-size:29px}.about p{font-size:14px;text-align:left}
 .service-grid{grid-template-columns:1fr}.service-card{padding:28px 0;border-right:0;border-bottom:1px solid var(--line)}.service-card:last-child{border-bottom:0}.service-icon{font-size:30px}
 .contact-inner{grid-template-columns:1fr}.contact-photo{min-height:180px}.contact-copy{padding:55px 24px}.contact-copy .section-label{justify-content:flex-start}.contact-buttons{flex-direction:column}.btn{width:100%}
 .footer-inner{flex-direction:column;align-items:flex-start}.footer-links{flex-wrap:wrap;gap:10px 18px}
}
