:root{
  --green:#17813c;--green-dark:#0f5f2a;--green-soft:#e8f6ee;--green-pale:#f6fbf8;
  --yellow:#f7c94b;--text:#16351f;--muted:#5f7165;--border:#d7eadc;--white:#fff;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
section[id]{scroll-margin-top:84px}
@media(max-width:900px){section[id]{scroll-margin-top:150px}}
body{font-family:'Noto Sans JP',sans-serif;color:var(--text);background:var(--green-pale);line-height:1.8}
a{text-decoration:none;color:inherit}img{max-width:100%;display:block}
.header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(8px);box-shadow:0 2px 14px rgba(0,0,0,.06)}
.header-inner{max-width:1180px;margin:auto;height:72px;padding:0 28px;display:flex;align-items:center;justify-content:space-between;gap:20px}.logo{display:flex;align-items:center;gap:12px;font-weight:700;color:var(--green-dark)}.logo img{width:50px;height:50px;border-radius:50%}.logo small{display:block;font-size:12px;font-weight:500;color:var(--muted)}.logo span{font-family:'Noto Serif JP',serif;font-size:22px;letter-spacing:1px}.nav{display:flex;align-items:center;gap:18px;font-size:14px;font-weight:700}.nav a{padding:8px 6px;border-bottom:2px solid transparent}.nav a:hover,.nav a.active{color:var(--green);border-color:var(--green)}.nav .contact-btn{background:var(--green);color:#fff;border-radius:999px;padding:10px 20px;border:none;box-shadow:0 5px 14px rgba(23,129,60,.22)}
.hero{background:linear-gradient(135deg,#f7fcf9 0%,#e8f6ee 100%);padding:34px 28px 36px}.hero-inner{max-width:1180px;margin:auto;display:grid;grid-template-columns:1fr 1.25fr;gap:44px;align-items:center}.badge{display:inline-block;background:var(--yellow);padding:7px 20px;border-radius:999px;font-weight:700;font-size:15px;margin-bottom:18px}.hero h1{font-family:'Noto Serif JP',serif;font-weight:500;font-size:clamp(42px,5.2vw,72px);line-height:1.14;letter-spacing:2px;color:var(--green-dark);margin-bottom:18px}.hero p{font-size:18px;margin-bottom:28px;color:#253b2c}.hero-actions{display:flex;gap:16px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 28px;border-radius:999px;font-weight:700;border:2px solid var(--green);transition:.2s}.btn-main{background:var(--green);color:#fff}.btn-sub{background:#fff;color:var(--green)}.btn:hover{transform:translateY(-2px)}.hero-image img{width:100%;height:320px;object-fit:cover;border-radius:22px;box-shadow:0 18px 44px rgba(22,53,31,.16)}
.hero-philosophy-title{text-align:left;max-width:560px;margin:0 auto 10px;font-family:'Noto Serif JP',serif;color:var(--green-dark);font-size:20px;font-weight:600}
.hero-philosophy{display:flex;flex-direction:column;gap:10px;text-align:left;max-width:560px;margin:0 auto}
.hero-philosophy-item{display:flex;align-items:flex-start;gap:10px;background:#fff;border-left:4px solid var(--green);border-radius:8px;padding:10px 14px;font-size:14px;line-height:1.6;color:#253b2c;box-shadow:0 4px 12px rgba(22,53,31,.06)}
.hero-philosophy-num{flex-shrink:0;width:22px;height:22px;border-radius:50%;background:var(--green);color:#fff;font-weight:700;font-size:12px;display:inline-flex;align-items:center;justify-content:center}
.hero-collage{position:relative;height:340px}
.hero-photo{position:absolute;background-size:cover;background-position:center;background-repeat:no-repeat;border-radius:20px;box-shadow:0 14px 32px rgba(22,53,31,.2);border:4px solid #fff;animation:hero-float 5s ease-in-out infinite}
.hero-photo-a{width:30%;height:52%;left:0;top:0;transform:rotate(-3deg);animation-delay:0s}
.hero-photo-b{width:30%;height:42%;left:0;bottom:0;transform:rotate(3deg);animation-delay:.7s}
.hero-photo-c{width:32%;height:96%;left:34%;top:2%;transform:rotate(-2deg);animation-delay:1.4s}
.hero-photo-e{width:30%;height:28%;right:0;top:0;transform:rotate(3deg);animation-delay:2.1s}
.hero-photo-f{width:30%;height:28%;right:0;top:36%;transform:rotate(-3deg);animation-delay:2.8s}
.hero-photo-d{width:30%;height:28%;right:0;bottom:0;transform:rotate(3deg);animation-delay:3.5s}
@keyframes hero-float{0%,100%{transform:translateY(0) rotate(var(--r,0deg))}50%{transform:translateY(-14px) rotate(var(--r,0deg))}}
.hero-photo-a{--r:-3deg}.hero-photo-b{--r:3deg}.hero-photo-c{--r:-2deg}.hero-photo-d{--r:3deg}.hero-photo-e{--r:3deg}.hero-photo-f{--r:-3deg}
@media(max-width:900px){.hero-collage{height:420px;margin-top:20px}}
.section{max-width:1180px;margin:0 auto 28px;padding:0 28px}.panel{background:#fff;border:1px solid var(--border);border-radius:22px;box-shadow:0 8px 28px rgba(0,0,0,.06);padding:30px}.section-title{text-align:center;margin-bottom:20px}.section-title small{display:block;color:var(--green);font-size:12px;font-weight:800;letter-spacing:3px;text-transform:uppercase}.section-title h2{font-family:'Noto Serif JP',serif;color:var(--green-dark);font-size:32px;font-weight:600}.purpose{margin-top:24px}.purpose-grid{display:grid;grid-template-columns:260px 1fr 220px;gap:28px;align-items:center}.purpose-mark{display:flex;gap:16px;align-items:center}.purpose-icon{font-size:58px;color:var(--green);line-height:1}.purpose h2{font-family:'Noto Serif JP',serif;color:var(--green-dark);font-size:36px;line-height:1.35}.purpose-text{font-size:16px}.check-list{margin-top:14px;display:grid;gap:6px}.check-list div:before{content:'✓';background:var(--green);color:#fff;border-radius:50%;font-size:12px;margin-right:9px;padding:1px 5px}.purpose img{height:160px;width:100%;object-fit:cover;border-radius:16px}
.benefits .panel{padding:24px}
.benefits-intro{display:flex;align-items:center;justify-content:center;gap:10px;background:linear-gradient(90deg,#fff6d8,#fdeec2,#fff6d8);border:1px dashed #e3b93a;border-radius:999px;padding:8px 18px;margin:8px 0 14px;flex-wrap:wrap}
.benefits-intro-emoji{font-size:24px;line-height:1;animation:benefits-bounce 1.6s ease-in-out infinite}
.benefits-intro-emoji-r{animation-delay:.4s}
.benefits-intro p{margin:0;font-weight:700;font-size:14px;color:#8a5c00;display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:center}
.benefits-intro-badge{background:#e03a3a;color:#fff;border-radius:999px;padding:2px 12px;font-size:12px;font-weight:800}
@keyframes benefits-bounce{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-4px) rotate(-8deg)}}
.benefit-grid{display:grid !important;grid-template-columns:repeat(4,1fr) !important;gap:8px !important;writing-mode:horizontal-tb !important}
.benefit{border:1px solid var(--border);border-radius:10px;background:#fff;padding:8px 10px !important;text-align:left !important;min-height:40px;display:flex !important;align-items:center !important;justify-content:flex-start !important;gap:6px !important;font-weight:700;font-size:13px !important;color:var(--green-dark);writing-mode:horizontal-tb !important}
.benefit span{display:inline-block;flex-shrink:0;font-weight:800}.activities-grid{display:grid;grid-template-columns:1.1fr 1fr .9fr;gap:24px;align-items:center}.activities-grid img{height:210px;width:100%;object-fit:cover;border-radius:16px}.activities-text small{color:var(--green);font-weight:800;letter-spacing:3px}.activities-text h2{font-family:'Noto Serif JP',serif;color:var(--green-dark);font-size:30px;margin:4px 0 12px}.activities-text p{color:#35483a;margin-bottom:16px}.philosophy-grid{display:grid;grid-template-columns:250px 1fr 250px;gap:30px;align-items:center}.emblem{width:160px;height:160px;border:4px solid #e9d98e;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column;margin:auto;color:var(--green-dark);font-family:'Noto Serif JP',serif}.emblem strong{font-size:58px;line-height:1}.philosophy-text small{color:var(--green);font-weight:800;letter-spacing:3px}.philosophy-text h2{font-family:'Noto Serif JP',serif;color:var(--green-dark);font-size:30px;margin:4px 0}.philosophy-text h3{font-family:'Noto Serif JP',serif;color:var(--green-dark);font-size:20px;margin:20px 0 10px}.principles{counter-reset:item;display:grid;gap:12px}.principles li{list-style:none;position:relative;padding-left:38px}.principles li:before{counter-increment:item;content:counter(item);position:absolute;left:0;top:2px;background:var(--green);color:white;border-radius:50%;width:25px;height:25px;text-align:center;line-height:25px;font-size:12px;font-weight:700}.note{margin-top:18px;background:var(--green);color:#fff;border-radius:16px;padding:22px}.note h3{color:var(--yellow);margin:0 0 10px}.note ul{padding-left:20px}.range-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:10px}.range-item{background:var(--green-soft);border-left:4px solid var(--green);border-radius:8px;padding:10px 12px;font-weight:600;color:#31523a}.philosophy-grid img{height:180px;width:100%;object-fit:cover;border-radius:16px}
.footer{background:#eaf6ee;margin-top:50px;border-top:1px solid var(--border)}.footer-inner{max-width:1180px;margin:auto;padding:36px 28px;display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:30px}.footer-inner-2col{grid-template-columns:1fr 1fr}.footer-logo{display:flex;align-items:center;gap:12px;margin-bottom:12px}.footer-logo img{width:54px;border-radius:50%}.footer h3{color:var(--green-dark);margin-bottom:10px}.footer li{list-style:none;margin:4px 0;color:#425946}.copyright{background:var(--green-dark);color:#fff;text-align:center;padding:12px;font-size:13px}
@media(max-width:900px){.header-inner{height:auto;padding:12px 18px;flex-direction:column}.nav{flex-wrap:wrap;justify-content:center;gap:10px}.hero-inner,.purpose-grid,.activities-grid,.philosophy-grid,.footer-inner{grid-template-columns:1fr}.hero{text-align:center}.hero-actions{justify-content:center}.hero-image img{height:260px}.benefit-grid{grid-template-columns:repeat(2,1fr)}.purpose img,.activities-grid img,.philosophy-grid img{height:190px}.range-grid{grid-template-columns:1fr}}
@media(max-width:520px){.section{padding:0 14px}.panel{padding:22px}.hero{padding:28px 16px}.hero h1{font-size:38px}.hero p{font-size:15px}.btn{width:100%}.benefit-grid{grid-template-columns:repeat(2,1fr) !important}.section-title h2{font-size:26px}.purpose h2{font-size:30px}}
/* スマホ：基本理念・会員の特典のレイアウト修正 */
@media(max-width:768px){
  #philosophy .panel > div[style*="grid-template-columns:1fr 280px"]{display:block !important}
  #philosophy .panel > div > div:last-child{display:none !important}
  #philosophy p[style*="font-size:22px"]{font-size:16px !important}
  #philosophy div[style*="padding:24px 28px"]{padding:14px 16px !important}
  #philosophy span[style*="width:48px"]{width:36px !important;height:36px !important;font-size:18px !important;flex-shrink:0 !important}
  #benefits .benefit-grid{grid-template-columns:repeat(3,1fr) !important;gap:8px !important}
  .benefit{font-size:13px !important;padding:8px 6px !important;min-height:44px !important;justify-content:flex-start !important}
  .benefit span{min-width:1.8em !important;font-size:12px !important}
}
