/*
Theme Name: ALVA GROWTH
Theme URI: https://alva-growth.jp
Author: ALVA GROWTH
Description: ALVA GROWTH（アルバグロース）コーポレートサイト用オリジナルテーマ
Version: 1.0
Text Domain: alva-growth
*/

  :root{
    --bg:#FAF9F5;
    --bg-alt:#F1EEE6;
    --navy:#2D3748;
    --navy-deep:#1F2733;
    --ink-soft:#5C6472;
    --ink-faint:#96A0AC;
    --sage:#4A9A85;
    --sage-light:#6BB89C;
    --sage-pale:#E6EFE9;
    --gold:#C7A465;
    --line:rgba(45,55,72,0.12);
    --line-strong:rgba(45,55,72,0.22);
    --paper:#FFFFFF;
  }
  *{margin:0;padding:0;box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--bg);
    color:var(--navy);
    font-family:'Zen Kaku Gothic New', sans-serif;
    font-weight:400;
    line-height:1.9;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  h1,h2,h3,.disp{
    font-family:'Shippori Mincho', serif;
    font-weight:600;
    letter-spacing:0.02em;
    color:var(--navy);
  }
  .eyebrow{
    font-family:'Zen Kaku Gothic New', sans-serif;
    font-size:12px;
    letter-spacing:0.32em;
    text-transform:uppercase;
    color:var(--sage);
    display:flex;
    align-items:center;
    gap:12px;
  }
  .eyebrow::before{
    content:"";
    width:24px;height:1px;
    background:var(--sage);
    display:inline-block;
  }
  .on-dark .eyebrow{color:var(--sage-light);}
  .on-dark .eyebrow::before{background:var(--sage-light);}
  a{color:inherit;text-decoration:none;}
  img{display:block;max-width:100%;}
  .wrap{max-width:1120px;margin:0 auto;padding:0 32px;}

  /* ---------- SPROUT SIGNATURE MOTIF ---------- */
  .sprout{display:inline-block;}
  .sprout .stem{
    stroke:var(--sage);
    stroke-width:2;
    fill:none;
    stroke-dasharray:60;
    stroke-dashoffset:60;
    animation:grow 1.1s ease forwards .3s;
  }
  .sprout .leaf{
    fill:var(--sage-light);
    opacity:0;
    animation:leafin .6s ease forwards;
  }
  .sprout .leaf.l1{animation-delay:.7s;}
  .sprout .leaf.l2{animation-delay:.9s;}
  .sprout .ring{
    stroke:var(--navy);
    stroke-width:2;
    fill:none;
  }
  @keyframes grow{ to{stroke-dashoffset:0;} }
  @keyframes leafin{ from{opacity:0; transform:scale(0.4);} to{opacity:1; transform:scale(1);} }
  @media (prefers-reduced-motion: reduce){
    .sprout .stem{animation:none; stroke-dashoffset:0;}
    .sprout .leaf{animation:none; opacity:1;}
  }

  /* stem divider used between sections/list items */
  .stem-rule{
    width:1px; height:34px;
    background:linear-gradient(var(--sage), transparent);
    margin:0 auto 22px;
    position:relative;
  }
  .stem-rule::after{
    content:"";
    position:absolute; left:50%; top:100%;
    width:6px; height:6px; margin-left:-3px;
    background:var(--sage-light);
    border-radius:50%;
  }

  /* ---------- HEADER ---------- */
  header{
    position:fixed; top:0; left:0; right:0; z-index:50;
    padding:20px 0;
    background:rgba(250,249,245,0.88);
    backdrop-filter:blur(6px);
    border-bottom:1px solid transparent;
    transition:border-color .3s;
  }
  header.scrolled{border-color:var(--line);}
  header .wrap{display:flex; align-items:center; justify-content:space-between;}
  .logo-img{height:30px; width:auto;}
  nav{display:flex; gap:40px;}
  nav a{
    font-size:13px;
    letter-spacing:0.08em;
    color:var(--ink-soft);
    position:relative;
    padding-bottom:4px;
  }
  nav a:hover{color:var(--navy);}
  nav a::after{
    content:"";
    position:absolute; left:0; bottom:0;
    width:0; height:1px;
    background:var(--sage);
    transition:width .3s ease;
  }
  nav a:hover::after{width:100%;}

  /* ---------- HERO ---------- */
  .hero{
    position:relative;
    min-height:100vh;
    display:flex;
    align-items:center;
    padding-top:100px;
  }
  .hero-grid{
    display:grid;
    grid-template-columns:1.15fr 0.85fr;
    gap:60px;
    align-items:center;
    width:100%;
  }
  .hero h1{
    font-size:clamp(32px, 4.6vw, 56px);
    line-height:1.5;
    margin:26px 0 30px;
  }
  .hero h1 em{
    font-style:normal;
    color:var(--sage);
  }
  .hero p{
    max-width:460px;
    color:var(--ink-soft);
    font-size:15.5px;
    margin-bottom:40px;
  }
  .cta-row{display:flex; gap:18px; align-items:center; flex-wrap:wrap;}
  .btn{
    display:inline-flex; align-items:center; gap:10px;
    padding:16px 30px;
    font-size:13px;
    letter-spacing:0.1em;
    border:1px solid var(--line-strong);
    transition:all .3s ease;
  }
  .btn-primary{
    background:var(--navy);
    color:#FAF9F5;
    border-color:var(--navy);
    font-weight:700;
  }
  .btn-primary:hover{background:var(--sage);border-color:var(--sage);}
  .btn-ghost{color:var(--navy);}
  .btn-ghost:hover{border-color:var(--navy); background:rgba(45,55,72,0.05);}

  /* ボタンが濃色背景（.profile, .cta-band以外の暗色部）に置かれる場合は明るい文字色にする */
  .on-dark .btn-ghost,
  .profile .btn-ghost{
    color:#FAF9F5;
    border-color:rgba(250,249,245,0.4);
  }
  .on-dark .btn-ghost:hover,
  .profile .btn-ghost:hover{
    border-color:#FAF9F5;
    background:rgba(250,249,245,0.08);
  }

  .hero-visual{
    position:relative;
    aspect-ratio:1/1;
    display:flex; align-items:center; justify-content:center;
  }
  .hero-visual svg{width:100%; height:100%; max-width:400px;}
  .growth-ring{
    stroke:var(--navy);
    stroke-width:1.4;
    fill:none;
  }
  .growth-stem{
    stroke:var(--sage);
    stroke-width:2.4;
    fill:none;
    stroke-dasharray:220;
    stroke-dashoffset:220;
    animation:grow 2s ease forwards .5s;
  }
  .growth-leaf{
    fill:var(--sage-light);
    opacity:0;
    transform-origin:center;
    animation:leafin .7s ease forwards;
  }
  .growth-leaf.l1{animation-delay:1.1s;}
  .growth-leaf.l2{animation-delay:1.4s;}
  .growth-dot{fill:var(--gold);}

  /* ---------- SECTION SCAFFOLD ---------- */
  section{padding:130px 0; position:relative;}
  .section-head{max-width:640px; margin-bottom:64px;}
  .section-head.center{margin-left:auto; margin-right:auto; text-align:center;}
  .section-head.center .eyebrow{justify-content:center;}
  .section-head h2{font-size:clamp(26px,3vw,38px); margin-top:20px; line-height:1.5;}
  .section-head p{color:var(--ink-soft); margin-top:20px; font-size:14.5px;}

  /* ---------- CONCEPT (split) ---------- */
  .concept-grid{
    display:grid;
    grid-template-columns:0.9fr 1.1fr;
    gap:70px;
    align-items:center;
  }
  .concept-img{
    position:relative;
    aspect-ratio:4/5;
    overflow:hidden;
  }
  .concept-img img{
    width:100%;height:100%;object-fit:cover;
  }
  .concept-img::before{
    content:"";
    position:absolute; inset:16px;
    border:1px solid var(--sage);
    z-index:2;
    pointer-events:none;
  }
  .concept-text p{color:var(--ink-soft); font-size:15px; margin-bottom:22px;}
  .concept-text p:first-of-type{color:var(--navy); font-size:16.5px;}

  /* ---------- FEATURES / PROMISES ---------- */
  .pillars{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:1px;
    background:var(--line);
    border:1px solid var(--line);
    margin-top:60px;
  }
  .pillar{
    background:var(--paper);
    padding:44px 40px;
  }
  .pillar h3{font-size:18px; margin-bottom:14px; font-weight:600;}
  .pillar p{color:var(--ink-soft); font-size:14px;}

  .promises{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:0;
    margin-top:70px;
    border-top:1px solid var(--line);
  }
  .promise{
    padding:40px 40px;
    border-right:1px solid var(--line);
  }
  .promise:first-child{padding-left:0;}
  .promise:last-child{border-right:none; padding-right:0;}
  .promise .label{
    font-size:11px; letter-spacing:0.14em; color:var(--gold);
    margin-bottom:12px; display:block;
  }
  .promise h4{font-size:16px; font-weight:600; margin-bottom:10px;}
  .promise p{color:var(--ink-soft); font-size:13.5px;}

  /* ---------- WORRIES ---------- */
  .worries{background:var(--bg-alt);}
  .worry-list{display:flex; flex-direction:column; max-width:720px; margin:0 auto;}
  .worry-item{
    display:flex; align-items:baseline; gap:24px;
    padding:26px 0;
    border-bottom:1px solid var(--line);
    font-size:16px;
  }
  .worry-item:first-child{border-top:1px solid var(--line);}
  .worry-item .q{
    font-family:'Shippori Mincho', serif;
    color:var(--sage);
    font-size:14px;
    flex-shrink:0;
  }

  /* ---------- SERVICES ---------- */
  .services-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:24px;
  }
  .service-card{
    background:var(--paper);
    border:1px solid var(--line);
    padding:40px 34px;
    transition:background .3s ease, border-color .3s ease;
    position:relative;
  }
  .service-card:hover{border-color:var(--sage);}
  .service-card:hover{background:var(--sage-pale);}
  .service-card .n{
    font-family:'Shippori Mincho', serif;
    font-size:13px;
    color:var(--ink-faint);
    letter-spacing:0.1em;
  }
  .service-card h3{font-size:17px; margin:16px 0 12px; font-weight:600;}
  .service-card p{color:var(--ink-soft); font-size:13.5px; margin-bottom:20px;}
  .service-card .more{
    font-size:12px; letter-spacing:0.08em; color:var(--sage);
    display:inline-flex; align-items:center; gap:6px;
  }

  /* ---------- PROFILE (dark contrast band) ---------- */
  .profile{
    background:var(--navy-deep);
    color:#FAF9F5;
  }
  .profile .eyebrow{color:var(--sage-light);}
  .profile .eyebrow::before{background:var(--sage-light);}
  .profile h2{color:#FAF9F5;}
  .profile-grid{
    display:grid;
    grid-template-columns:200px 1fr;
    gap:64px;
    align-items:start;
  }
  .profile-figure{
    aspect-ratio:3/4;
    background:linear-gradient(155deg, #26303F, #1a212b);
    border:1px solid rgba(255,255,255,0.14);
    display:flex; align-items:center; justify-content:center;
    position:relative;
    overflow:hidden;
    box-shadow:0 30px 60px -20px rgba(0,0,0,0.5);
  }
  .profile-figure img{
    width:100%; height:100%; object-fit:cover; object-position:center 20%;
  }
  .profile-name{font-size:13px; color:rgba(250,249,245,0.65); margin-top:18px; letter-spacing:0.06em;}
  .profile-name strong{color:#FAF9F5; font-family:'Shippori Mincho', serif; font-size:16px; display:block; margin-bottom:4px;}
  .profile-text p{color:rgba(250,249,245,0.72); font-size:14.5px; margin-bottom:20px;}
  .profile-stats{
    display:flex; gap:50px; margin-top:36px; padding-top:36px; border-top:1px solid rgba(255,255,255,0.14);
  }
  .profile-stats .stat b{
    font-family:'Shippori Mincho', serif;
    font-size:30px; color:var(--sage-light); display:block;
  }
  .profile-stats .stat span{font-size:12px; color:rgba(250,249,245,0.5);}

  /* ---------- CTA / FOOTER ---------- */
  .cta-band{
    text-align:center;
    padding:150px 0;
  }
  .cta-band h2{font-size:clamp(28px,4vw,44px);}
  .cta-band p{color:var(--ink-soft); margin:22px auto 40px; max-width:460px;}
  .cta-band .cta-row{justify-content:center;}

  footer{
    background:var(--navy-deep);
    color:rgba(250,249,245,0.7);
    padding:56px 0 40px;
  }
  .footer-grid{
    display:flex; justify-content:space-between; align-items:flex-end; flex-wrap:wrap; gap:30px;
  }
  .footer-logo{height:24px; filter:brightness(0) invert(1); opacity:.92;}
  .footer-nav{display:flex; gap:30px; flex-wrap:wrap;}
  .footer-nav a{font-size:12.5px; color:rgba(250,249,245,0.65);}
  .footer-meta{font-size:11.5px; color:rgba(250,249,245,0.4); margin-top:26px;}

  @media (max-width:960px){
    .services-grid{grid-template-columns:repeat(2, 1fr);}
  }
  @media (max-width:860px){
    nav{display:none;}
    .concept-grid,.profile-grid{grid-template-columns:1fr;}
    .hero-grid{grid-template-columns:1fr;}
    .hero-visual{order:-1; max-width:260px; margin:0 auto;}
    .pillars,.promises{grid-template-columns:1fr;}
    .promise{border-right:none; border-bottom:1px solid var(--line); padding:30px 0;}
    .promise:first-child, .promise:last-child{padding-left:0; padding-right:0;}
    section{padding:80px 0;}
  }
  @media (max-width:560px){
    .services-grid{grid-template-columns:1fr;}
  }

/* ---------- INNER PAGE HERO (service/profile/contact common banner) ---------- */
.page-hero{
  padding:180px 0 70px;
  background:var(--bg-alt);
  text-align:center;
}
.page-hero .eyebrow{justify-content:center;}
.page-hero h1{font-size:clamp(28px,4vw,42px); margin-top:20px;}
.page-hero p{color:var(--ink-soft); max-width:560px; margin:20px auto 0; font-size:14.5px;}

/* ---------- SERVICE DETAIL BLOCKS ---------- */
.service-detail{
  padding:70px 0;
  border-top:1px solid var(--line);
}
.service-detail:first-of-type{border-top:none;}
.service-detail-head{display:flex; align-items:baseline; gap:24px; margin-bottom:26px;}
.service-detail-head .n{font-family:'Shippori Mincho', serif; font-size:15px; color:var(--sage); letter-spacing:.1em;}
.service-detail-head h2{font-size:23px;}
.service-detail p.lead{color:var(--ink-soft); font-size:14.5px; max-width:680px; margin-bottom:34px;}
.service-detail-grid{display:grid; grid-template-columns:1fr 1fr; gap:40px;}
.service-detail-box{background:var(--paper); border:1px solid var(--line); padding:30px;}
.service-detail-box h4{font-size:13px; letter-spacing:.08em; color:var(--gold); margin-bottom:16px; text-transform:uppercase;}
.service-detail-box ul{list-style:none; margin:0; padding:0;}
.service-detail-box li{
  font-size:13.5px; color:var(--ink-soft); padding:10px 0 10px 20px; position:relative;
  border-bottom:1px solid var(--line);
}
.service-detail-box li:last-child{border-bottom:none;}
.service-detail-box li::before{
  content:""; position:absolute; left:0; top:18px; width:6px; height:6px; border-radius:50%;
  background:var(--sage-light);
}
.service-detail-box .steps{counter-reset:step;}
.service-detail-box .steps li{padding-left:28px;}
.service-detail-box .steps li::before{
  counter-increment:step; content:counter(step);
  width:16px; height:16px; border-radius:50%; background:var(--sage);
  color:#fff; font-size:10px; display:flex; align-items:center; justify-content:center; top:11px;
}

/* ---------- PROFILE PAGE FULL ---------- */
.profile-full{padding:80px 0 130px;}
.profile-full-grid{display:grid; grid-template-columns:260px 1fr; gap:70px; align-items:start;}
.profile-full-figure{aspect-ratio:3/4; overflow:hidden; border:1px solid var(--line); box-shadow:0 30px 60px -30px rgba(45,55,72,0.3);}
.profile-full-figure img{width:100%; height:100%; object-fit:cover; object-position:center 20%;}
.profile-full-name{margin-top:20px;}
.profile-full-name strong{font-family:'Shippori Mincho', serif; font-size:20px; display:block; color:var(--navy);}
.profile-full-name span{font-size:13px; color:var(--ink-soft);}
.profile-full-text p{color:var(--ink-soft); font-size:15px; margin-bottom:24px;}
.profile-full-text h3{font-size:16px; margin:36px 0 16px;}
.profile-full-stats{display:flex; gap:50px; margin-top:10px; padding-top:34px; border-top:1px solid var(--line); flex-wrap:wrap;}
.profile-full-stats .stat b{font-family:'Shippori Mincho', serif; font-size:28px; color:var(--sage); display:block;}
.profile-full-stats .stat span{font-size:12px; color:var(--ink-faint);}

/* ---------- CONTACT PAGE ---------- */
.contact-wrap{padding:80px 0 140px;}
.contact-grid{display:grid; grid-template-columns:1fr 1.3fr; gap:70px;}
.contact-info h3{font-size:17px; margin-bottom:18px;}
.contact-info p{color:var(--ink-soft); font-size:14px; margin-bottom:26px;}
.contact-info-item{display:flex; flex-direction:column; gap:4px; padding:18px 0; border-top:1px solid var(--line);}
.contact-info-item:last-child{border-bottom:1px solid var(--line);}
.contact-info-item .label{font-size:11px; letter-spacing:.1em; color:var(--gold);}
.contact-info-item .val{font-size:14.5px; color:var(--navy);}
.contact-form label{display:block; font-size:12.5px; letter-spacing:.05em; color:var(--ink-soft); margin-bottom:8px;}
.contact-form .row{margin-bottom:24px;}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea{
  width:100%; border:1px solid var(--line-strong); background:var(--paper);
  padding:14px 16px; font-family:inherit; font-size:14px; color:var(--navy);
}
.contact-form textarea{min-height:150px; resize:vertical;}
.contact-form input:focus, .contact-form textarea:focus{outline:none; border-color:var(--sage);}
.contact-form button{
  background:var(--navy); color:#FAF9F5; border:none; padding:16px 40px;
  font-size:13px; letter-spacing:.1em; cursor:pointer; transition:background .3s ease;
}
.contact-form button:hover{background:var(--sage);}
.form-notice{padding:16px 20px; margin-bottom:26px; font-size:13.5px;}
.form-notice.success{background:var(--sage-pale); color:var(--navy); border:1px solid var(--sage);}
.form-notice.error{background:#FBEAEA; color:#8A3A3A; border:1px solid #D98B8B;}

@media (max-width:860px){
  .service-detail-grid,.profile-full-grid,.contact-grid{grid-template-columns:1fr;}
  .page-hero{padding:150px 0 60px;}
}
