@charset "utf-8";
/* CSS Document */

:root{--green:#08662d;--dark:#064821;--gold:#c99b28;--red:#c91e23;--ink:#18233a;--pale:#f0f8f0}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
/*body{margin:0;font-family:"Noto Sans JP","Yu Gothic",Meiryo,sans-serif;color:var(--ink);line-height:1.75;background:#fff}*/
#niau { margin:70px 0 0; text-align:left; font-size:16px; font-family:"Noto Sans JP","Yu Gothic",Meiryo,sans-serif; color:var(--ink); line-height:1.75; background:#fff;}
h1,h2,h3,p{margin-top:0}
.wrap{max-width:1080px;margin:auto;padding:0 26px}
.hero{background:linear-gradient(165deg,#f5faf7,#fff 65%,#e9f4e9);border-top:8px solid var(--green);padding:28px 20px 46px;text-align:center}
.hero-grid{display:grid;grid-template-columns:1fr 1.45fr 1fr;max-width:1200px;align-items:center;margin:auto;gap:12px}
.portrait{width:100%;height:/*300px*/100%;object-fit:cover;border-radius:18px;mask-image:linear-gradient(to bottom,#000 72%,transparent 100%)}
.man{object-position:center top}
.student{object-position:center top}
.eyebrow{font-weight:700;font-size:clamp(13px,1.4vw,18px)}
h1{font-family:serif;color:var(--dark);font-size:clamp(42px,6.3vw,78px);line-height:1.2;margin:4px 0 10px}
.hero-sub{font-size:clamp(16px,2.1vw,25px);font-weight:800;margin-bottom:4px}
.hero-emphasis{font-size:clamp(20px,2.8vw,35px);font-weight:900;line-height:1.45;color:var(--red);margin-bottom:12px}
.hero-emphasis strong{background:var(--red);color:white;padding:1px 14px;border-radius:5px}
.badge{display:inline-block;background:var(--green);color:white;padding:8px 20px;border-radius:99px;font-weight:800}
.flow{display:flex;max-width:940px;margin:26px auto 0;align-items:center;justify-content:center;gap:18px}
.flow-box{flex:1;/*border:2px solid var(--gold);border-radius:16px;background:#fff;padding:14px;*/display:flex;flex-direction:column;align-items:center;line-height:1.4;min-height:155px;justify-content:center}
/*.flow-box.core{background:#f2f8ff;border-color:#4284ae}
.flow-icon{font-size:38px;color:var(--green)}*/
.flow-box b{font-size:19px}
.flow-box small{font-size:12px;margin-top:6px}
.arrow{color:var(--gold);font-size:35px;font-weight:900}
.section{padding:65px 0}
.section.alt{background:var(--pale)}
h2{font-size:clamp(24px,3vw,33px);color:var(--dark);border-left:9px solid var(--gold);padding-left:16px;margin-bottom:27px;line-height:1.45}
h2 small{font-size:14px;color:#506255}
.lead{font-size:clamp(17px,2vw,22px);background:#f5faf2;padding:24px;border-radius:14px}
.comparison{display:grid;grid-template-columns:1fr 46px 1fr;gap:14px;align-items:center}
.compare{border:1px solid #d5dfda;border-radius:12px;overflow:hidden;background:white}
.compare h3{padding:12px 18px;text-align:center;background:#e4e9ed;margin:0}
.compare.new h3{background:var(--red);color:white}
.compare ul{padding:16px 24px 18px 40px;margin:0}
.compare li{margin:9px 0}
.compare-arrow{text-align:center;font-size:35px;color:var(--green)}
.scenes{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.scenes>div,.effects>div{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border-radius:12px;background:#fff;padding:17px 8px;min-height:138px}
.scenes span{font-size:35px;color:var(--green)}
.scenes b{font-size:15px}
.scenes small{font-size:12px}
.benefits{padding:0;list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:14px}
.benefits li{padding:16px 18px 16px 42px;background:#f5faf2;border-radius:9px;position:relative}
.benefits li:before{content:'✓';position:absolute;left:15px;color:var(--gold);font-weight:900}
.note{font-size:14px;color:#516052}
.effects{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.effects>div{font-size:32px;color:var(--green);background:#fff;min-height:150px}
.effects b{font-size:14px;color:var(--ink);line-height:1.5}
.steps{display:grid;grid-template-columns:repeat(5,1fr);list-style:none;gap:10px;padding:0}
.steps li{background:#e8f5e7;padding:22px 12px;border-radius:12px;display:flex;flex-direction:column;gap:8px;text-align:center;min-height:140px;justify-content:center}
.steps strong{color:var(--green)}
.steps b{font-size:14px}
.faq{display:grid;grid-template-columns:1fr;gap:12px}
.faq details{border:1px solid #d4e1d4;background:white;border-radius:10px;padding:15px 20px}
.faq summary{cursor:pointer;font-weight:800;color:var(--dark)}
.faq p{margin:12px 0 0}
.contact{background:linear-gradient(135deg,#03451f,#08772c);color:white;text-align:center;padding:55px 0 30px;border-top:5px solid var(--gold)}
.contact h2{color:white;border:none;padding:0}
.button{display:inline-block;background:#fff;color:var(--green) !important;padding:14px 32px;border-radius:40px;text-decoration:none;font-weight:900;font-size:20px;margin:12px}
.footer-logo{display:block;width:230px;max-width:70%;margin:28px auto 0;background:white;padding:6px;border-radius:4px}
@media(max-width:810px){
.hero-grid{grid-template-columns:1fr 1.5fr 1fr;gap:4px}
.portrait{height:230px}
.hero{padding:20px 7px 30px}
.badge{font-size:12px;padding:8px}
/*.flow{gap:5px}
.flow-box{padding:8px 4px;min-height:130px}
.flow-box b{font-size:12px}
.flow-box small{font-size:10px}*/
.flow-icon{font-size:25px}
.arrow{font-size:18px}
.section{padding:43px 0}
.comparison{grid-template-columns:1fr}
.compare-arrow{transform:rotate(90deg)}
.scenes{grid-template-columns:repeat(2,1fr)}
.benefits{grid-template-columns:1fr}
.effects{grid-template-columns:repeat(2,1fr)}
.steps{grid-template-columns:1fr}
.steps li{min-height:75px}
.hero-emphasis strong{padding:2px 4px}
.wrap{padding:0 17px}
}
@media all and (max-width:719px)
{
#niau { margin:70px 0 0;}
}
@media(max-width:440px){
/*.portrait{height:170px}
.hero-grid{grid-template-columns:24% 52% 24%}
.eyebrow{font-size:10px}
.hero-sub{font-size:12px}
.hero-emphasis{font-size:15px}
h1{font-size:33px}
.badge{font-size:10px}
.flow-box b{font-size:11px}*/
}

/*追加記述*/
.hero-grid_new { max-width:1200px; margin:auto;
display:grid;
grid-template-columns:1fr 1.45fr 1fr;
grid-template-rows:auto;
grid-column-gap:5px;
grid-row-gap:5px;
}
.hero-grid_new > div:nth-of-type(1) { grid-area: 1 / 2 / 2 / 3;}
.hero-grid_new > div:nth-of-type(2) { grid-area: 2 / 2 / 3 / 3;}
.hero-grid_new > div:nth-of-type(3) { grid-area: 1 / 1 / 3 / 2;}
.hero-grid_new > div:nth-of-type(4) { grid-area: 1 / 3 / 3 / 4;}
.flow_new { max-width:940px;margin:26px auto 0;
display: grid;
grid-template-columns:1fr 1.2fr 1fr;
grid-template-rows:auto;
grid-column-gap:40px;
grid-row-gap:0px;
align-items:center;
}
.flow_new > div { position:relative;}
.flow_new > div:nth-of-type(1) { grid-area: 1 / 2 / 2 / 3;}
.flow_new > div:nth-of-type(2) { grid-area: 1 / 1 / 2 / 2;}
.flow_new > div:nth-of-type(3) { grid-area: 1 / 3 / 2 / 4;}
.flow_new > div:nth-of-type(2):before { position:absolute; top:50%; right:-30px; transform:translateY(-50%); width:21px; height:20px; background:var(--gold); content:"";}
.flow_new > div:nth-of-type(2):after { position:absolute; top:50%; right:-50px; transform:translateY(-50%); width:25px; height:40px; background:var(--gold); content:""; clip-path:polygon(0 0, 0 100%, /*100% 100%,*/ 100% 50%);}
.flow_new > div:nth-of-type(3):before { position:absolute; top:50%; left:-50px; transform:translateY(-50%); width:21px; height:20px; background:var(--gold); content:"";}
.flow_new > div:nth-of-type(3):after { position:absolute; top:50%; left:-30px; transform:translateY(-50%); width:25px; height:40px; background:var(--gold); content:""; clip-path:polygon(0 0, 0 100%, /*100% 100%,*/ 100% 50%);}
.flow-box.core01 { padding:14px; border:2px solid var(--gold); border-radius:16px; background-image:radial-gradient(circle at 50% 20%, #ffffff, #ffffff 50%, #f8f0b6);}
.flow-box.core02 {}
.flow-box.core03 { padding:0;}
.flow-img { width:100%;}
.flow-img img { width:100%; height:auto;}
.flow-box.core01 .flow-img { max-width:160px; margin:1.0em auto 0;}
.flow-box.core03 > div { display:block; width:100%; margin:0 auto 10px; border-radius:16px; text-align:left; font-size:18px; font-weight:bold; color:#FFFFFF;}
.flow-box.core03 > div:nth-of-type(1) { background-color:#ED1516;}
.flow-box.core03 > div:nth-of-type(2) { background-color:#268417;}
.flow-box.core03 > div:nth-of-type(3) { background-color:#226798;}
.flow-box.core03 > div > img { display:inline-block; vertical-align:middle; width:80px; height:auto;}
.flow-box.core03 > div > p { display:inline-block; vertical-align:baseline; min-height:30px; padding:0 10px 0 40px; background-repeat:no-repeat; background-position:5px center; background-size:30px 30px;}
.flow-box.core03 > div:nth-of-type(1) > p { background-image:url(../img/top/flow-img03_icon01.png);}
.flow-box.core03 > div:nth-of-type(2) > p { background-image:url(../img/top/flow-img03_icon02.png);}
.flow-box.core03 > div:nth-of-type(3) > p { background-image:url(../img/top/flow-img03_icon03.png);}
.scenes > div > span img { display:block; width:100%; max-width:80px; height:auto; margin:0 auto;}
.effects > div > img { display:block; width:100%; max-width:80px; height:auto; margin:0 auto;}
.steps > li > img { display:block; width:100%; max-width:80px; height:auto; margin:0 auto;}
@media(max-width:840px){
.flow_new { max-width:600px;
display: grid;
grid-template-columns:repeat(2, 1fr);
grid-template-rows:auto;
grid-column-gap:20px;
grid-row-gap:60px;
align-items:stretch;
}
.flow_new > div:nth-of-type(1) { grid-area: 1 / 1 / 2 / 3;}
.flow_new > div:nth-of-type(2) { grid-area: 2 / 1 / 3 / 2;}
.flow_new > div:nth-of-type(3) { grid-area: 2 / 2 / 3 / 3;}
.flow_new > div:nth-of-type(2):before { top:-26px; right:60px; width:20px; height:22px; transform:translateY(0%);}
.flow_new > div:nth-of-type(2):after { top:-50px; right:50px; width:40px; height:25px; transform:translateY(0%); clip-path:polygon(50% 0, 0 100%, 100% 100%/*, 100% 0*/);}
.flow_new > div:nth-of-type(3):before { top:-50px; left:60px; width:20px; height:22px; transform:translateY(0%);}
.flow_new > div:nth-of-type(3):after { top:-30px; left:50px; width:40px; height:25px; transform:translateY(0%); clip-path:polygon(0 0, /*0 100%,*/ 50% 100%, 100% 0);}
.flow-box { max-width:320px; margin:0 auto;}
}
@media(max-width:640px){
.hero-grid_new {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows:auto;
grid-column-gap: 5px;
grid-row-gap: 5px;
}
.hero-grid_new > div:nth-of-type(1) { grid-area: 1 / 1 / 2 / 3; }
.hero-grid_new > div:nth-of-type(2) { grid-area: 3 / 1 / 4 / 3; }
.hero-grid_new > div:nth-of-type(3) { grid-area: 2 / 1 / 3 / 2; }
.hero-grid_new > div:nth-of-type(4) { grid-area: 2 / 2 / 3 / 3; }
.eyebrow { font-size:clamp(13px,1.4vw,18px);}
h1 { font-size:clamp(42px,10.2vw,78px);}
.hero-sub { font-size:clamp(18px,4.2vw,25px);}
.hero-emphasis { font-size:clamp(22px,4.8vw,35px);}
.badge { font-size:14px;}
}
@media(max-width:500px){
.flow-box b { font-size:14px;}
.flow-box.core03 > div > img { width:60px;}
.flow-box.core03 > div > p { min-height:20px; padding:0 10px 0 30px; font-size:14px; background-size:20px 20px;}
}
@media(max-width:400px){
.flow_new { grid-column-gap:10px;}
.flow-box.core03 > div > img { width:50px;}
.flow-box.core03 > div > p { min-height:0; vertical-align:top; padding:30px 10px 5px 5px; font-size:14px; background-position:5px 5px; background-size:20px 20px;}
}


