:root{--green:#078a43;--green2:#12a85d;--deep:#053b24;--dark:#062819;--mint:#eaf7ee;--pale:#f6fbf7;--text:#0f3022;--muted:#5b7066;--yellow:#f7b927;--white:#fff;--line:#deece3;--shadow:0 24px 70px rgba(3,58,31,.18);--radius:28px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;color:var(--text);background:#fff;line-height:1.75}.container{width:min(1120px,92%);margin:0 auto}.site-header{position:sticky;top:0;z-index:99;background:rgba(255,255,255,.96);box-shadow:0 2px 18px rgba(0,0,0,.05);backdrop-filter:blur(12px)}.header-inner{height:86px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand img{height:58px;width:auto;display:block}.global-nav{display:flex;align-items:center;gap:28px}.global-nav a{color:#101b17;text-decoration:none;font-weight:900;font-size:14px;letter-spacing:.14em;white-space:nowrap}.nav-contact{background:linear-gradient(135deg,var(--green),#08763a);color:#fff!important;border-radius:999px;padding:13px 22px;box-shadow:0 12px 26px rgba(7,138,67,.22)}.menu-btn{display:none;background:var(--green);color:#fff;border:0;border-radius:12px;font-size:24px;padding:7px 12px}.hero{position:relative;overflow:hidden;min-height:720px;padding:70px 0 80px}.hero-bg{position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.88) 42%,rgba(255,255,255,.30) 100%),url('../img/greenhouse-hero.png') center center/cover no-repeat;z-index:-2}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.18));z-index:-1}.hero-content{display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:40px}.tag{display:inline-flex;background:linear-gradient(135deg,var(--green),var(--green2));color:#fff;font-weight:900;border-radius:999px;padding:13px 24px;margin-bottom:22px;box-shadow:0 12px 26px rgba(7,138,67,.24);font-size:19px}.hero-sub{font-size:25px;font-weight:900;color:#08281a;margin:0 0 10px}.hero h1{margin:0 0 25px;color:var(--deep);font-size:clamp(44px,6.4vw,72px);line-height:1.14;font-weight:1000;letter-spacing:-.05em}.hero-lead{font-size:19px;font-weight:800;color:#25372f;margin:0}.hero-buttons{display:flex;gap:18px;margin-top:38px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-width:205px;text-decoration:none;border-radius:999px;padding:16px 28px;font-weight:900;letter-spacing:.06em}.btn-green{background:linear-gradient(135deg,var(--green),#087036);color:#fff;box-shadow:0 15px 34px rgba(7,138,67,.30)}.btn-outline{background:rgba(255,255,255,.90);border:2px solid var(--green);color:var(--green)}.phone-mock{display:flex;justify-content:center}.phone-frame{width:330px;background:#fff;border:10px solid #111817;border-radius:48px;padding:24px 20px;position:relative;box-shadow:0 34px 85px rgba(0,0,0,.28)}.speaker{position:absolute;left:50%;top:10px;transform:translateX(-50%);width:115px;height:23px;border-radius:0 0 16px 16px;background:#111817}.phone-title{display:flex;justify-content:space-between;margin-top:32px;font-size:15px;align-items:center}.metric-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.metric{background:#f3faf5;border:1px solid #e4f0e7;border-radius:17px;padding:12px;position:relative}.metric small{display:block;color:#67756e;font-weight:800}.metric b{font-size:22px;color:var(--green);line-height:1.3}.metric em{position:absolute;right:11px;top:13px;font-style:normal;font-size:23px;opacity:.7}.mini-chart{border:1px solid #e0ece4;border-radius:18px;background:#fff;padding:13px}.mini-chart strong{font-size:13px}.chart-legend{display:flex;gap:10px;font-size:10px;font-weight:800;margin:5px 0;color:#4d6258}.chart-legend span:before{content:"";display:inline-block;width:10px;height:3px;border-radius:999px;margin-right:4px;vertical-align:middle}.temp:before{background:var(--green)}.hum:before{background:#62b75d}.co2:before{background:var(--yellow)}svg{width:100%;height:auto}svg line{stroke:#d9e6dd;stroke-width:2}svg text{font-size:12px;fill:#67756e}.graph-line{fill:none;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}.temp-line{stroke:var(--green)}.hum-line{stroke:#61b356}.co2-line{stroke:var(--yellow)}.phone-switches{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.phone-switches div{background:#f3faf5;border-radius:17px;padding:13px;text-align:center;font-weight:900}.phone-switches span{display:block;font-size:13px}.phone-switches b{display:inline-block;margin-top:8px;border-radius:999px;color:#fff;padding:4px 17px;font-size:12px}.on{background:var(--green)}.off{background:#89948e}section{padding:74px 0}.section-heading{text-align:center;margin-bottom:34px}.section-heading p{margin:0 0 5px;color:var(--green);font-weight:1000;letter-spacing:.18em}.section-heading h2{margin:0;color:#062819;font-size:clamp(30px,3.5vw,42px);line-height:1.28;font-weight:1000}.section-heading h2:after{content:"";display:block;width:54px;height:3px;background:var(--green);border-radius:999px;margin:14px auto 0}.section-heading.left{text-align:left}.section-heading.left h2:after{margin-left:0}.features{background:linear-gradient(180deg,#fff,#f4fbf6)}.feature-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:15px}.feature-grid article{background:rgba(255,255,255,.92);border:1px solid #e4eee8;border-radius:22px;padding:28px 18px;text-align:center;box-shadow:0 14px 35px rgba(6,59,36,.06)}.feature-grid .icon{font-size:43px;margin-bottom:14px;color:var(--green)}.feature-grid h3{margin:0 0 10px;color:var(--deep);font-size:17px;line-height:1.55}.feature-grid p{margin:0;color:#4f675c;font-size:13.5px;font-weight:700}.problem{position:relative;overflow:hidden;background:#eef8f1;padding:54px 0}.problem-bg{position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.82) 47%,rgba(255,255,255,.15) 100%),url('../img/greenhouse-hero.png') center center/cover no-repeat;opacity:.95}.problem-inner{position:relative;display:grid;grid-template-columns:1fr .9fr;gap:40px;align-items:center;min-height:300px}.problem ul{list-style:none;padding:0;margin:24px 0 0;max-width:520px}.problem li{background:rgba(255,255,255,.86);border:1px solid #dcece3;border-radius:12px;margin:11px 0;padding:10px 16px 10px 44px;position:relative;font-weight:900}.problem li:before{content:"✓";position:absolute;left:14px;top:10px;width:22px;height:22px;border-radius:50%;border:2px solid var(--green);color:var(--green);display:grid;place-items:center;font-size:13px;background:#fff}.iot-device{justify-self:center;width:310px;height:215px;border-radius:18px;background:linear-gradient(145deg,#767f7a,#303633);border:6px solid #59615d;box-shadow:0 26px 60px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.25);position:relative;display:grid;place-items:center;text-align:center;color:#fff}.antenna{position:absolute;right:44px;top:-82px;width:10px;height:94px;border-radius:999px;background:#26312b}.device-logo{font-size:22px;font-weight:1000;letter-spacing:.03em}.iot-device small{position:absolute;bottom:44px;color:#dbe7e0}.screw{position:absolute;width:16px;height:16px;border-radius:50%;background:#9aa39d;border:3px solid #c7cec9}.s1{left:18px;top:16px}.s2{right:18px;top:16px}.s3{left:18px;bottom:16px}.s4{right:18px;bottom:16px}.flow{background:#fff}.flow-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;align-items:stretch}.flow-steps div{position:relative;background:linear-gradient(180deg,#edf8f1,#fff);border:1px solid #e0eee6;border-radius:50%;aspect-ratio:1/1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:22px;box-shadow:0 10px 30px rgba(6,59,36,.04)}.flow-steps div:not(:last-child):after{content:"›";position:absolute;right:-18px;top:50%;transform:translateY(-50%);color:var(--green);font-size:42px;font-weight:900}.flow-steps span{font-size:25px;color:var(--green);font-weight:1000;line-height:1}.flow-steps h3{font-size:17px;margin:6px 0 5px}.flow-steps p{font-size:12px;color:#40584d;font-weight:700;margin:0}.case{padding:42px 0;background:#f6fbf7}.case-box{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#fff;border:1px solid var(--line);border-radius:28px;padding:28px 34px;box-shadow:0 16px 42px rgba(6,59,36,.08)}.case p{color:var(--green);font-weight:1000;letter-spacing:.16em;margin:0}.case h2{margin:5px 0;color:var(--deep)}.case span{color:var(--muted);font-weight:700}.plan{background:#fff}.plan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.plan-grid article{border:1px solid #e0eee6;border-radius:24px;padding:28px;text-align:center;background:#fff;box-shadow:0 12px 32px rgba(6,59,36,.06)}.plan-grid .hot{border:2px solid var(--green);transform:translateY(-8px);background:#f3faf5}.plan-grid h3{font-size:22px;color:var(--deep);margin:0 0 8px}.plan-grid p{color:var(--muted);font-weight:700}.plan-grid b{color:var(--green);font-size:22px}.contact{background:linear-gradient(135deg,#08743b,#064327 70%,#032a18);color:#fff;border-radius:18px 18px 0 0;margin-top:10px;padding:35px 0 38px}.contact-inner{display:grid;grid-template-columns:.9fr 1.1fr;gap:34px;align-items:center}.contact-left{display:flex;gap:26px;align-items:center}.hand-phone{width:155px;height:210px;border-radius:35px;background:linear-gradient(160deg,#b9efd0,#58b87c);box-shadow:0 20px 45px rgba(0,0,0,.25);transform:rotate(-13deg);display:grid;place-items:center;border:8px solid #e7fff0}.mini-screen{text-align:center;color:#08743b;font-weight:1000;font-size:38px}.mini-screen span{font-size:18px}.contact h2{font-size:36px;margin:0 0 12px}.contact p{font-weight:700;margin:0 0 24px}.contact-badges{display:flex;gap:12px;flex-wrap:wrap}.contact-badges span{width:88px;height:88px;border-radius:50%;border:1px solid #e2c547;color:#fff;display:grid;place-items:center;text-align:center;font-weight:900;font-size:15px}.contact-form{display:grid;gap:13px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:13px}.contact-form input,.contact-form textarea{width:100%;border:0;border-radius:8px;padding:16px 18px;font:inherit;font-weight:700;background:#fff;color:#143526;outline:none}.contact-form textarea{resize:vertical}.contact-form button{border:0;border-radius:999px;background:linear-gradient(135deg,#f4b52a,#f8c64f);color:#262007;font-size:18px;font-weight:1000;letter-spacing:.18em;padding:15px;cursor:pointer;box-shadow:0 12px 28px rgba(0,0,0,.16)}.footer{background:linear-gradient(135deg,#064126,#032616);color:#fff;padding:36px 0 44px}.footer-inner{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:34px}.footer-brand img{height:72px;width:auto;filter:brightness(1.05)}address{font-style:normal;font-size:18px;line-height:1.8;font-weight:700}@media (max-width:980px){.header-inner{height:74px}.brand img{height:46px}.menu-btn{display:block}.global-nav{position:absolute;top:74px;left:0;right:0;background:#fff;display:none;flex-direction:column;align-items:stretch;gap:0;padding:14px 5%;box-shadow:0 20px 40px rgba(0,0,0,.08)}.global-nav.open{display:flex}.global-nav a{padding:13px 0}.nav-contact{text-align:center;margin-top:8px}.hero{padding:48px 0 60px}.hero-content,.problem-inner,.contact-inner{grid-template-columns:1fr}.hero-text{text-align:left}.phone-frame{width:min(330px,100%)}.feature-grid,.flow-steps{grid-template-columns:1fr 1fr}.flow-steps div{border-radius:24px;aspect-ratio:auto;min-height:150px}.flow-steps div:after{display:none}.plan-grid{grid-template-columns:1fr}.plan-grid .hot{transform:none}.case-box{flex-direction:column;align-items:flex-start}.footer-inner{grid-template-columns:1fr}.contact-left{flex-direction:column;align-items:flex-start}.hand-phone{display:none}}@media (max-width:620px){.container{width:92%}.hero h1{font-size:42px}.hero-sub{font-size:20px}.hero-lead{font-size:16px}.tag{font-size:15px}.btn{width:100%}.feature-grid,.flow-steps{grid-template-columns:1fr}.form-row{grid-template-columns:1fr}.contact-badges span{width:78px;height:78px;font-size:13px}.footer-brand img{height:54px}address{font-size:15px}.metric b{font-size:19px}.hero-bg{background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,.76)),url('../img/greenhouse-hero.png') center center/cover no-repeat}}


/* デモサイト：パソコン・タブレット・スマホ表示 */
.demo-site{background:linear-gradient(180deg,#f7fbf8,#fff);padding:78px 0}
.demo-actions{text-align:center;margin:-12px 0 32px}
.device-preview-grid{display:grid;grid-template-columns:1.25fr .72fr .45fr;gap:24px;align-items:end}
.preview-card{background:#fff;border:1px solid #dbece2;border-radius:24px;box-shadow:0 22px 60px rgba(6,59,36,.16);overflow:hidden}
.preview-head{height:44px;background:#edf7f0;display:flex;align-items:center;gap:8px;padding:0 16px;color:#16432b;font-weight:900}
.preview-head span{width:10px;height:10px;border-radius:50%;background:#87c698;display:inline-block}
.preview-head b{margin-left:8px}
.preview-head.compact{height:36px;justify-content:center;padding:0}
.preview-screen{background:#fff;overflow:hidden}
.preview-screen iframe{display:none}
.pc .preview-screen{height:390px}
.tablet{background:transparent;border:0;box-shadow:none;overflow:visible}
.tablet-frame{background:#111;border:12px solid #111;border-radius:30px;box-shadow:0 22px 60px rgba(6,59,36,.16);overflow:hidden}
.tablet .preview-screen{height:410px}
.smartphone{background:transparent;border:0;box-shadow:none;overflow:visible}
.smart-frame{background:#111;border:11px solid #111;border-radius:38px;box-shadow:0 22px 60px rgba(6,59,36,.16);overflow:hidden;position:relative}
.smart-notch{position:absolute;top:6px;left:50%;transform:translateX(-50%);width:76px;height:15px;background:#111;border-radius:0 0 10px 10px;z-index:2}
.smartphone .preview-screen{height:430px}
.demo-note{text-align:center;color:#5d7168;font-size:13px;margin:22px auto 0;max-width:780px;font-weight:700}

@media (max-width:1024px){
  .device-preview-grid{grid-template-columns:1fr 1fr}
  .device-preview-grid .pc{grid-column:1/-1}
}
@media (max-width:760px){
  .device-preview-grid{grid-template-columns:1fr}
  .tablet-frame,.smart-frame{max-width:420px;margin:auto;width:100%}
  .smart-frame{max-width:315px}
  .pc .preview-screen,.tablet .preview-screen{height:360px}
  .smartphone .preview-screen{height:520px}
}


/* iframe拒否対策：デモ画面をLP内モック表示に変更 */
.device-preview-grid.no-iframe a{text-decoration:none;color:inherit}
.mock-dashboard{background:linear-gradient(180deg,#f7fbf8,#eef7f1);height:100%;padding:18px;display:flex;flex-direction:column;gap:14px;color:#153328}
.desktop-mock{display:grid;grid-template-columns:150px 1fr;gap:16px;min-height:390px}
.mock-sidebar{background:#083c25;color:#fff;border-radius:18px;padding:16px;display:flex;flex-direction:column;gap:10px}
.mock-sidebar strong{font-size:13px;line-height:1.35}
.mock-sidebar em{font-style:normal;font-size:11px;opacity:.9}
.mock-sidebar small{background:rgba(255,255,255,.12);border-radius:10px;padding:8px;font-weight:700}
.mock-main{display:flex;flex-direction:column;gap:14px}
.mock-title{font-weight:900;color:#063b24;font-size:18px}
.mock-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.tablet-mock .mock-cards,.phone-mock-preview .mock-cards{grid-template-columns:repeat(2,1fr)}
.mock-cards div{background:#fff;border:1px solid #dcece2;border-radius:14px;padding:12px;box-shadow:0 8px 20px rgba(6,59,36,.06)}
.mock-cards small{display:block;color:#5d7168;font-weight:800}
.mock-cards b{display:block;color:#0b8a45;font-size:20px;line-height:1.2}
.mock-chart{height:120px;background:
  linear-gradient(135deg,transparent 20%,rgba(11,138,69,.12) 20% 22%,transparent 22% 40%,rgba(247,185,40,.16) 40% 42%,transparent 42%),
  repeating-linear-gradient(0deg,#fff 0 22px,#eef7f1 23px 24px);
  border:1px solid #dcece2;border-radius:16px;position:relative;overflow:hidden}
.mock-chart:before{content:"";position:absolute;left:18px;right:18px;top:58px;height:4px;background:#0b8a45;border-radius:999px;transform:rotate(-6deg)}
.mock-chart:after{content:"";position:absolute;left:18px;right:18px;top:76px;height:4px;background:#f7b928;border-radius:999px;transform:rotate(4deg)}
.mock-switch-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.mock-switch-row span,.mock-switch-col span{background:#fff;border:1px solid #dcece2;border-radius:999px;padding:8px 10px;text-align:center;font-weight:900;color:#0b8a45}
.mock-switch-col{display:flex;flex-direction:column;gap:8px}
.tablet-mock{min-height:410px}
.phone-mock-preview{min-height:430px;padding-top:42px}
.no-iframe .preview-card:hover{transform:translateY(-4px);transition:.2s ease;box-shadow:0 28px 70px rgba(6,59,36,.22)}
@media (max-width:760px){
  .desktop-mock{grid-template-columns:1fr;min-height:auto}
  .mock-sidebar{display:none}
  .mock-cards{grid-template-columns:repeat(2,1fr)}
  .mock-switch-row{grid-template-columns:1fr}
}


/* 修正：スマホ表示の黒い線を削除 */
.smart-notch,
.phone-notch {
  display: none !important;
}

.smart-frame .preview-head,
.smartphone .preview-head {
  margin-top: 0 !important;
}

.smart-frame {
  border-top-width: 10px !important;
}

/* デモ内容を見るボタンが外部リンクとして分かるように */
.hero-buttons a[href*="systemvi.xsrv.jp"],
a[href*="systemvi.xsrv.jp/IoT/agri/index.php"] {
  cursor: pointer;
}
