:root{
    --hare-white:#FAFAF8;
    --hare-ink:#1F2421;
    --hare-ink-soft:#4B5350;
    --hare-sora:#3D7EA6;
    --hare-sora-deep:#2C5D80;
    --hare-hidamari:#E8A33D;
    --hare-kiri:#E7E4DC;
    --hare-kiri-line:#D8D4C9;
    --serif:'Shippori Mincho', serif;
    --sans:'Zen Kaku Gothic New', sans-serif;
    --maxw:1160px;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    font-family:var(--sans);
    background:var(--hare-white);
    color:var(--hare-ink);
    line-height:1.85;
    font-weight:700;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  img{max-width:100%; display:block;}
  a{color:inherit; text-decoration:none;}
  ul{list-style:none;}
  .wrap{max-width:var(--maxw); margin:0 auto; padding:0 32px;}

  /* signature scroll accent line */
  .clarity-line{
    position:fixed; top:0; left:0; width:4px; height:100vh;
    background:linear-gradient(to bottom, #C7C4BB 0%, #C7C4BB 20%, var(--hare-sora) 55%, var(--hare-hidamari) 100%);
    background-size:100% 500%;
    background-position:0 0%;
    z-index:60;
    transition:background-position .1s linear;
  }

  :focus-visible{outline:3px solid var(--hare-sora); outline-offset:3px;}

  /* header */
  header{
    position:fixed; top:0; left:0; right:0; z-index:50;
    background:rgba(250,250,248,0.9); backdrop-filter:blur(10px);
    border-bottom:1px solid transparent;
    transition:border-color .3s ease, padding .3s ease;
    padding:22px 0;
  }
  header.scrolled{border-color:var(--hare-kiri-line); padding:14px 0;}
  header .wrap{display:flex; align-items:center; justify-content:space-between;}
  .logo{font-family:var(--serif); font-size:22px; font-weight:700; letter-spacing:.05em; display:flex; align-items:center; gap:10px;}
  .logo-mark{height:38px; width:auto; display:block;}
  .logo span{color:var(--hare-sora);}
  nav ul{display:flex; gap:36px; font-size:14.5px;}
  nav a{position:relative; padding:4px 0;}
  nav a::after{content:'';position:absolute; left:0; bottom:0; width:0; height:1px; background:var(--hare-sora); transition:width .25s ease;}
  nav a:hover::after{width:100%;}
  .nav-cta{
    background:var(--hare-ink); color:#fff; padding:10px 24px; border-radius:100px;
    font-size:14px; font-weight:700; white-space:nowrap;
  }
  .nav-toggle{
    display:none; background:none; border:none; cursor:pointer; padding:6px;
    flex-direction:column; gap:5px; width:32px; height:32px; align-items:center; justify-content:center;
  }
  .nav-toggle span{display:block; width:24px; height:2px; background:var(--hare-ink); border-radius:2px; transition:transform .25s ease, opacity .25s ease;}
  .nav-toggle.open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
  .nav-toggle.open span:nth-child(2){opacity:0;}
  .nav-toggle.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

  .mobile-nav-overlay{
    position:fixed; inset:0; background:rgba(31,36,33,.4); z-index:64;
    opacity:0; pointer-events:none; transition:opacity .3s ease;
  }
  .mobile-nav-overlay.open{opacity:1; pointer-events:all;}
  .mobile-nav{
    position:fixed; top:0; right:0; height:100vh; width:78%; max-width:320px;
    background:var(--hare-white); z-index:65; padding:100px 32px 40px;
    transform:translateX(100%); transition:transform .3s ease;
    box-shadow:-10px 0 30px rgba(31,36,33,.12);
    display:flex; flex-direction:column; gap:4px; overflow-y:auto;
  }
  .mobile-nav.open{transform:translateX(0);}
  .mobile-nav a{display:block; padding:14px 0; font-size:17px; font-weight:700; border-bottom:1px solid var(--hare-kiri-line);}
  .mobile-nav .btn{margin-top:24px; justify-content:center;}

  /* hero */
  .hero{
    min-height:100vh; display:flex; flex-direction:column; justify-content:center;
    padding:140px 0 80px; position:relative; overflow:hidden;
  }
  .hero-bg{position:absolute; inset:0; z-index:0;}
  .hero-bg svg{width:100%; height:100%; display:block;}
  .hero-bg img{width:100%; height:100%; object-fit:cover; display:block;}
  .hero-scrim{
    position:absolute; inset:0; z-index:1;
    background:linear-gradient(100deg, rgba(250,250,248,.98) 0%, rgba(250,250,248,.95) 30%, rgba(250,250,248,.8) 48%, rgba(250,250,248,.4) 66%, rgba(31,36,33,.12) 100%);
  }
  .hero-scrim::after{
    content:''; position:absolute; inset:0;
    background:linear-gradient(to top, rgba(31,36,33,.28) 0%, rgba(31,36,33,0) 38%);
  }
  .hero .wrap{position:relative; z-index:2;}
  .hero-photo-credit{
    position:absolute; z-index:2; bottom:28px; right:32px; font-size:12px; font-weight:700; color:rgba(31,36,33,.65);
    background:rgba(250,250,248,.85); padding:6px 14px; border-radius:100px;
  }
  .eyebrow{
    font-size:13px; letter-spacing:.25em; color:var(--hare-sora-deep); font-weight:700;
    display:flex; align-items:center; gap:10px; margin-bottom:28px;
    opacity:1; transform:translateY(12px); animation:fadeUp .9s ease .1s forwards;
  }
  .eyebrow::before{content:''; width:32px; height:1px; background:var(--hare-sora);}
  h1.hero-title{
    font-family:var(--serif); font-weight:700;
    font-size:clamp(34px, 5.4vw, 64px);
    line-height:1.55; letter-spacing:.02em;
    opacity:1; transform:translateY(16px); animation:fadeUp 1s ease .3s forwards;
  }
  .hero-title em{font-style:normal; color:var(--hare-sora);}
  .hero-sub{
    margin-top:28px; font-size:16.5px; font-weight:700; color:var(--hare-ink-soft); max-width:560px;
    opacity:1; transform:translateY(16px); animation:fadeUp 1s ease .5s forwards;
    text-shadow:0 1px 12px rgba(250,250,248,.6);
  }
  .hero-cta{
    display:flex; gap:16px; margin-top:36px; flex-wrap:wrap;
    opacity:1; transform:translateY(16px); animation:fadeUp 1s ease .7s forwards;
  }
  .btn{
    display:inline-flex; align-items:center; gap:8px;
    padding:15px 30px; border-radius:100px; font-size:15px; font-weight:700;
    transition:transform .25s ease, box-shadow .25s ease; cursor:pointer; border:none;
  }
  .btn-primary{background:var(--hare-ink); color:#fff;}
  .btn-primary:hover{transform:translateY(-2px); box-shadow:0 10px 24px rgba(31,36,33,.2);}
  .btn-outline{background:transparent; color:var(--hare-ink); border:1.5px solid var(--hare-kiri-line);}
  .btn-outline:hover{border-color:var(--hare-sora); color:var(--hare-sora-deep); transform:translateY(-2px);}
  .hero-outline-btn{
    background:rgba(250,250,248,.92); border:1.5px solid rgba(31,36,33,.15);
    color:var(--hare-ink); box-shadow:0 8px 22px rgba(31,36,33,.12);
  }
  .hero-outline-btn:hover{background:#fff; border-color:var(--hare-sora); color:var(--hare-sora-deep); transform:translateY(-2px); box-shadow:0 12px 26px rgba(31,36,33,.18);}

  @keyframes fadeUp{to{opacity:1; transform:translateY(0);}}
  /* 常に表示された状態(opacity:1)にしておき、スクロールで少し上にスライドするだけの
     控えめな演出に変更。JS未対応/プレビュー環境でもコンテンツが必ず見える */
  .reveal{opacity:1; transform:translateY(28px); transition:opacity .8s ease, transform .8s ease;}
  .reveal.in{opacity:1; transform:translateY(0);}

  section{padding:120px 0;}
  #about{padding-bottom:60px;}
  #about + section{padding-top:60px;}
  .section-head{max-width:640px; margin-bottom:64px;}
  .section-eyebrow{font-size:13px; letter-spacing:.2em; color:var(--hare-sora-deep); font-weight:700; margin-bottom:16px;}
  h1,h2{font-family:var(--serif); font-size:clamp(26px,3.4vw,38px); font-weight:700; line-height:1.5;}
  .section-lead{margin-top:20px; color:var(--hare-ink-soft); font-size:15.5px;}

  /* 課題提起 */
  .problems{background:var(--hare-kiri);}
  .problem-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:24px;}
  .problem-card{
    background:var(--hare-white); padding:44px 40px 40px; border-radius:14px;
    position:relative; overflow:hidden; border:1px solid var(--hare-kiri-line);
    transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    display:flex; gap:28px; align-items:flex-start;
  }
  .problem-card:hover{transform:translateY(-5px); box-shadow:0 22px 44px rgba(31,36,33,.09); border-color:transparent;}
  .problem-card .mark{
    font-family:var(--serif); font-size:76px; font-weight:700; line-height:1; flex-shrink:0;
    color:transparent; -webkit-text-stroke:1.5px var(--hare-kiri-line); opacity:.9;
    transition:color .3s ease, -webkit-text-stroke .3s ease;
    width:90px;
  }
  .problem-card:nth-child(1) .mark, .problem-card:nth-child(1) .p-icon{--accent:var(--hare-sora);}
  .problem-card:nth-child(2) .mark, .problem-card:nth-child(2) .p-icon{--accent:var(--hare-hidamari);}
  .problem-card:nth-child(3) .mark, .problem-card:nth-child(3) .p-icon{--accent:var(--hare-sora-deep);}
  .problem-card:nth-child(4) .mark, .problem-card:nth-child(4) .p-icon{--accent:var(--hare-hidamari);}
  .problem-card:nth-child(5) .mark, .problem-card:nth-child(5) .p-icon{--accent:var(--hare-sora);}
  .problem-card:nth-child(6) .mark, .problem-card:nth-child(6) .p-icon{--accent:var(--hare-sora-deep);}
  .problem-card:hover .mark{-webkit-text-stroke:1.5px var(--accent); color:transparent;}
  .problem-card .p-body{flex:1;}
  .problem-card .p-icon{width:40px; height:40px; margin-bottom:16px; color:var(--accent);}
  .problem-card h3{font-size:21px; font-weight:700; margin-bottom:12px; letter-spacing:.01em;}
  .problem-card p{font-size:15px; color:var(--hare-ink-soft);}

  /* HARE AI section */
  .hareai-section{
    background:var(--hare-ink); color:#fff; position:relative; overflow:hidden;
  }
  .hareai-section::before{
    content:''; position:absolute; inset:0;
    background:radial-gradient(ellipse at 20% 20%, rgba(61,126,166,.35), transparent 55%),
               radial-gradient(ellipse at 80% 80%, rgba(232,163,61,.18), transparent 55%);
  }
  .hareai-inner{position:relative; display:grid; grid-template-columns:1fr 1.1fr; gap:64px; align-items:center;}
  .hareai-badge{
    display:inline-flex; align-items:center; gap:10px; padding:8px 18px; border-radius:100px;
    border:1px solid rgba(255,255,255,.25); font-size:13px; margin-bottom:24px;
  }
  .hareai-badge .dot{width:7px;height:7px;border-radius:50%;background:var(--hare-hidamari); box-shadow:0 0 0 4px rgba(232,163,61,.2);}
  .hareai-section h1, .hareai-section h2{color:#fff;}
  .hareai-section .section-lead{color:rgba(255,255,255,.72);}
  .hareai-cta-btn{
    background:var(--hare-hidamari); color:var(--hare-ink);
    box-shadow:0 10px 26px rgba(232,163,61,.3);
  }
  .hareai-cta-btn:hover{background:#f0c07a; transform:translateY(-2px); box-shadow:0 14px 30px rgba(232,163,61,.4);}
  .hareai-mock{
    background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14); border-radius:16px;
    padding:28px; backdrop-filter:blur(6px);
  }
  .hareai-mock .msg{
    background:rgba(255,255,255,.08); border-radius:14px 14px 14px 2px; padding:18px 20px;
    font-size:14.5px; line-height:1.9; max-width:92%;
  }
  .hareai-mock .msg + .msg{margin-top:14px;}
  .hareai-mock .who{font-size:12px; letter-spacing:.1em; color:var(--hare-hidamari); margin-bottom:8px; font-weight:700;}
  .hareai-mock-btn{
    margin-top:18px; display:inline-block; background:var(--hare-hidamari); color:var(--hare-ink);
    padding:12px 24px; border-radius:100px; font-size:14px; font-weight:700; cursor:pointer; border:none;
  }

  /* services */
  .service-grid{display:grid; grid-template-columns:1fr 1fr; gap:32px;}
  .service-card{
    border:1px solid var(--hare-kiri-line); border-radius:12px; overflow:hidden;
    transition:transform .3s ease, box-shadow .3s ease;
  }
  .service-card:hover{transform:translateY(-6px); box-shadow:0 20px 40px rgba(31,36,33,.08);}
  .service-media{aspect-ratio:16/10; background:linear-gradient(135deg,#e4ecf1,#f4ede1); position:relative; display:flex; align-items:center; justify-content:center; overflow:hidden;}
  .service-media svg{width:96px; height:96px;}
  .service-media img{width:100%; height:100%; object-fit:cover; display:block;}
  .service-num{position:absolute; top:20px; left:20px; font-family:var(--serif); font-size:13px; font-weight:700; color:var(--hare-sora-deep); background:rgba(255,255,255,.9); padding:4px 12px; border-radius:100px; z-index:2;}
  .service-body{padding:32px;}
  .service-body h3{font-family:var(--serif); font-size:22px; margin-bottom:14px;}
  .service-body p{color:var(--hare-ink-soft); font-size:14.5px; margin-bottom:18px;}
  .tag-list{display:flex; gap:8px; flex-wrap:wrap; margin-bottom:22px;}
  .tag{background:var(--hare-kiri); font-size:12.5px; padding:6px 14px; border-radius:100px; color:var(--hare-ink-soft); border:1.5px solid rgba(31,36,33,.28);}
  .service-link{font-size:14.5px; font-weight:700; color:var(--hare-sora-deep); display:inline-flex; align-items:center; gap:6px;}
  .service-link svg{transition:transform .25s ease;}
  .service-card:hover .service-link svg{transform:translateX(4px);}

  /* cases */
  .cases{background:var(--hare-kiri);}

  /* flagship single case (1案件の具体事例) */
  .flagship-case{
    background:#fff; border-radius:20px; overflow:hidden; margin-bottom:40px;
    display:grid; grid-template-columns:1fr 1.05fr; border:1px solid var(--hare-kiri-line);
  }
  .flagship-visual{
    background:linear-gradient(150deg,#f0e6d2,#e5eef2); position:relative;
    display:flex; align-items:center; justify-content:center; overflow:hidden;
    min-height:320px;
  }
  .flagship-visual svg{width:80%; max-width:280px;}
  .flagship-visual img{width:100%; height:100%; object-fit:cover; display:block;}
  .flagship-body{padding:52px 56px;}
  .flagship-tag{
    display:inline-flex; align-items:center; gap:8px; font-size:12.5px; font-weight:700;
    letter-spacing:.1em; color:var(--hare-sora-deep); background:rgba(61,126,166,.1);
    padding:7px 16px; border-radius:100px; margin-bottom:22px;
  }
  .flagship-body h3{font-family:var(--serif); font-size:26px; line-height:1.6; margin-bottom:18px;}
  .flagship-body .story{font-size:14.5px; color:var(--hare-ink-soft); margin-bottom:30px;}
  .flagship-stats{display:flex; gap:44px; border-top:1px solid var(--hare-kiri-line); padding-top:26px;}
  .flagship-stats .stat .num{font-family:var(--serif); font-size:44px; font-weight:700; color:var(--hare-sora-deep); line-height:1;}
  .flagship-stats .stat .num small{font-size:18px;}
  .flagship-stats .stat .label{font-size:12.5px; color:var(--hare-ink-soft); margin-top:8px;}

  /* prominent industry cases */
  .case-feature-list{display:flex; flex-direction:column; gap:28px;}
  .case-feature{
    background:#fff; border-radius:20px; border:1px solid var(--hare-kiri-line); overflow:hidden;
    display:grid; grid-template-columns:340px 1fr; transition:transform .3s ease, box-shadow .3s ease;
  }
  .case-feature:hover{transform:translateY(-4px); box-shadow:0 24px 48px rgba(31,36,33,.1);}
  .case-feature:nth-child(even){grid-template-columns:1fr 340px;}
  .case-feature:nth-child(even) .cf-visual{order:2;}
  .cf-visual{
    background:linear-gradient(155deg,#e7eef1,#f3ede0); display:flex; align-items:center; justify-content:center; padding:36px;
  }
  .cf-visual svg{width:70%; max-width:200px;}
  .cf-visual.has-photo{padding:0;}
  .cf-visual.has-photo img{width:100%; height:100%; object-fit:cover; display:block;}
  .cf-body{padding:44px 48px;}
  .case-industry{
    display:inline-block; font-size:12.5px; letter-spacing:.12em; font-weight:700; color:#fff;
    background:var(--hare-sora); padding:7px 18px; border-radius:100px; margin-bottom:20px;
  }
  .case-feature:nth-child(2) .case-industry{background:var(--hare-hidamari); color:var(--hare-ink);}
  .case-feature:nth-child(3) .case-industry{background:var(--hare-sora-deep);}
  .cf-body h4{font-family:var(--serif); font-size:24px; margin-bottom:16px; line-height:1.6;}
  .cf-body .cf-lead{font-size:14.5px; color:var(--hare-ink-soft); margin-bottom:22px;}
  .cf-detail{display:flex; gap:28px; flex-wrap:wrap;}
  .cf-detail div{flex:1; min-width:150px;}
  .cf-detail .k{font-size:11.5px; letter-spacing:.1em; color:var(--hare-sora-deep); font-weight:700; margin-bottom:6px;}
  .cf-detail .v{font-size:14px; color:var(--hare-ink-soft); line-height:1.7;}

  /* about */
  .about-inner{display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center;}
  .about-media{aspect-ratio:4/5; background:linear-gradient(160deg,#eef1e9,#e2e9ee); border-radius:8px; display:flex; align-items:center; justify-content:center; overflow:hidden;}
  .about-media svg{width:70%; height:70%;}
  .about-media img{width:52%; height:auto; object-fit:contain;}
  .about-media svg.about-illustration{width:100%; height:100%;}
  .about-quote{font-family:var(--serif); font-size:22px; line-height:1.9; margin-bottom:24px;}
  .about-sign{font-size:14px; color:var(--hare-ink-soft);}
  .about-info{margin-top:28px; padding-top:24px; border-top:1px solid var(--hare-kiri-line); display:flex; flex-direction:column; gap:10px;}
  .about-info div{display:flex; gap:16px; font-size:14px; color:var(--hare-ink-soft);}
  .about-info .k{flex-shrink:0; width:76px; font-weight:700; color:var(--hare-ink);}
  .about-info a{color:var(--hare-sora-deep); font-weight:700;}
  .about-info a:hover{text-decoration:underline;}

  /* FAQ (SEO/AEO向けに視認できるQ&Aとして掲載) */
  .faq-list{display:flex; flex-direction:column; gap:14px; max-width:800px;}
  .faq-item{
    background:var(--hare-white); border:1px solid var(--hare-kiri-line); border-radius:12px;
    padding:22px 26px; transition:border-color .2s ease;
  }
  .faq-item[open]{border-color:var(--hare-sora);}
  .faq-item summary{
    font-weight:700; font-size:16px; cursor:pointer; list-style:none;
    display:flex; align-items:center; justify-content:space-between; gap:16px;
  }
  .faq-item summary::-webkit-details-marker{display:none;}
  .faq-item summary::after{
    content:'+'; font-size:22px; color:var(--hare-sora-deep); flex-shrink:0; transition:transform .2s ease;
  }
  .faq-item[open] summary::after{transform:rotate(45deg);}
  .faq-item p{margin-top:14px; font-size:14.5px; color:var(--hare-ink-soft); line-height:1.85;}

  /* final cta */
  .final-cta{
    background:linear-gradient(135deg, var(--hare-sora-deep), var(--hare-ink)); color:#fff; text-align:center;
    border-radius:0;
  }
  .final-cta h2{color:#fff; font-size:clamp(26px,4vw,42px);}
  .final-cta p{color:rgba(255,255,255,.75); margin:22px 0 40px; font-size:15px;}
  .final-cta .btn-primary{background:#fff; color:var(--hare-ink);}
  .final-cta .btn-outline{border-color:rgba(255,255,255,.35); color:#fff;}
  .final-cta .btns{display:flex; gap:16px; justify-content:center; flex-wrap:wrap;}
  .final-note{margin-top:24px; font-size:12.5px; color:rgba(255,255,255,.5);}

  footer{padding:64px 0 40px; border-top:1px solid var(--hare-kiri-line);}
  .footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; margin-bottom:48px;}
  .footer-grid h5{font-size:13px; font-weight:700; margin-bottom:16px; color:var(--hare-ink-soft); letter-spacing:.05em;}
  .footer-grid li{margin-bottom:10px; font-size:14px;}
  .footer-grid li a:hover{color:var(--hare-sora-deep);}
  .footer-bottom{display:flex; justify-content:space-between; font-size:12.5px; color:var(--hare-ink-soft); flex-wrap:wrap; gap:12px;}
  .footer-grid .soon{color:var(--hare-ink-soft); opacity:.6; cursor:default;}
  .footer-grid address{font-style:normal;}

  /* HARE AI floating concierge */
  .hare-fab{
    position:fixed; bottom:28px; right:28px; z-index:70;
    background:var(--hare-ink); color:#fff; border:none; border-radius:100px;
    padding:14px 22px 14px 16px; display:flex; align-items:center; gap:10px;
    font-family:var(--sans); font-size:14.5px; font-weight:700; cursor:pointer;
    box-shadow:0 12px 30px rgba(31,36,33,.28);
    transition:transform .25s ease;
  }
  .hare-fab:hover{transform:translateY(-3px);}
  .hare-fab .mark{
    width:26px; height:26px; border-radius:50%; overflow:hidden;
    background:radial-gradient(circle at 35% 30%, var(--hare-hidamari), var(--hare-sora) 70%);
    display:flex; align-items:center; justify-content:center; flex-shrink:0;
  }
  .hare-fab .mark img{width:100%; height:100%; object-fit:cover;}
  .hare-panel{
    position:fixed; bottom:100px; right:28px; width:380px; max-width:calc(100vw - 32px);
    height:560px; max-height:calc(100vh - 140px); background:#fff; border-radius:18px;
    box-shadow:0 30px 70px rgba(31,36,33,.25); z-index:70;
    display:flex; flex-direction:column; overflow:hidden;
    opacity:0; transform:translateY(16px) scale(.98); pointer-events:none;
    transition:opacity .25s ease, transform .25s ease;
    border:1px solid var(--hare-kiri-line);
  }
  .hare-panel.open{opacity:1; transform:translateY(0) scale(1); pointer-events:all;}
  .hare-panel-head{
    background:var(--hare-ink); color:#fff; padding:18px 20px; display:flex; align-items:center; gap:12px;
  }
  .hare-panel-head .mark{
    width:34px; height:34px; border-radius:50%; overflow:hidden;
    background:radial-gradient(circle at 35% 30%, var(--hare-hidamari), var(--hare-sora) 70%);
    flex-shrink:0;
  }
  .hare-panel-head .mark img{width:100%; height:100%; object-fit:cover;}
  .hare-panel-head .name{font-weight:700; font-size:14.5px;}
  .hare-panel-head .status{font-size:11.5px; color:rgba(255,255,255,.6);}
  .hare-close{margin-left:auto; background:none; border:none; color:rgba(255,255,255,.7); font-size:18px; cursor:pointer; padding:4px;}
  .hare-messages{flex:1; overflow-y:auto; padding:20px; display:flex; flex-direction:column; gap:14px; font-size:14px;}
  .hare-msg{max-width:85%; padding:12px 16px; border-radius:14px; line-height:1.75;}
  .hare-msg.bot{background:var(--hare-kiri); align-self:flex-start; border-bottom-left-radius:3px;}
  .hare-msg.user{background:var(--hare-sora); color:#fff; align-self:flex-end; border-bottom-right-radius:3px;}
  .hare-quick{display:flex; gap:8px; flex-wrap:wrap; padding:0 20px 16px;}
  .hare-chip{
    background:#fff; border:1px solid var(--hare-kiri-line); border-radius:100px;
    padding:8px 14px; font-size:12.5px; cursor:pointer; transition:border-color .2s ease;
  }
  .hare-chip:hover{border-color:var(--hare-sora);}
  .hare-input-row{display:flex; gap:8px; padding:16px 20px; border-top:1px solid var(--hare-kiri-line);}
  .hare-input-row input{
    flex:1; border:1px solid var(--hare-kiri-line); border-radius:100px; padding:11px 16px; font-size:14px; font-family:var(--sans);
  }
  .hare-input-row input:focus{outline:none; border-color:var(--hare-sora);}
  .hare-send{background:var(--hare-ink); color:#fff; border:none; border-radius:50%; width:40px; height:40px; cursor:pointer; flex-shrink:0;}
  .typing-dots span{display:inline-block; width:5px; height:5px; border-radius:50%; background:var(--hare-ink-soft); margin-right:3px; animation:blink 1.2s infinite;}
  .typing-dots span:nth-child(2){animation-delay:.2s;} .typing-dots span:nth-child(3){animation-delay:.4s;}
  @keyframes blink{0%,80%,100%{opacity:.25} 40%{opacity:1}}

  /* サブページ共通(会社概要・サービス詳細・お問い合わせ・トピックス) */
  .page-head{padding:160px 0 60px; background:var(--hare-kiri);}
  .breadcrumb{font-size:12.5px; color:var(--hare-ink-soft); margin-bottom:20px;}
  .breadcrumb a{color:var(--hare-sora-deep); font-weight:700;}
  .first-section{padding-top:160px;}
  .breadcrumb-light{color:rgba(255,255,255,.65);}
  .breadcrumb-light a{color:#fff;}
  .page-end-cta{padding:60px 0 100px; text-align:center;}
  .page-head h1{font-family:var(--serif); font-size:clamp(28px,4vw,44px); font-weight:700; line-height:1.5;}
  .page-head .lead{margin-top:18px; color:var(--hare-ink-soft); font-size:15.5px; max-width:640px;}

  .info-table{width:100%; border-collapse:collapse; max-width:720px;}
  .info-table tr{border-bottom:1px solid var(--hare-kiri-line);}
  .info-table th{text-align:left; padding:18px 24px 18px 0; width:150px; font-size:14px; color:var(--hare-ink-soft); font-weight:700; vertical-align:top; white-space:nowrap;}
  .info-table td{padding:18px 0; font-size:14.5px; line-height:1.8;}
  .info-table td.tbd{color:var(--hare-hidamari); font-style:normal;}
  .info-table td.tbd::before{content:'ご記入ください: '; font-size:12px; font-weight:700;}

  .steps{display:flex; flex-direction:column; gap:22px; max-width:720px;}
  .step{display:flex; gap:20px; align-items:flex-start;}
  .step .num{
    font-family:var(--serif); font-weight:700; font-size:20px; color:var(--hare-sora-deep); flex-shrink:0;
    width:44px; height:44px; border-radius:50%; border:1.5px solid var(--hare-kiri-line);
    display:flex; align-items:center; justify-content:center;
  }
  .step h4{font-size:16.5px; margin-bottom:6px;}
  .step p{font-size:14.5px; color:var(--hare-ink-soft);}

  .detail-block{margin-bottom:56px;}
  .detail-block:last-child{margin-bottom:0;}
  .detail-block h2{margin-bottom:20px;}

  .contact-form{max-width:640px; display:flex; flex-direction:column; gap:22px;}
  .form-row{display:flex; flex-direction:column; gap:8px;}
  .form-row label{font-size:14px; font-weight:700;}
  .form-row .req{color:var(--hare-hidamari); font-size:12px; margin-left:4px; font-weight:700;}
  .form-row input, .form-row select, .form-row textarea{
    border:1px solid var(--hare-kiri-line); border-radius:10px; padding:12px 16px; font-size:14.5px; font-family:var(--sans); color:var(--hare-ink); background:#fff;
  }
  .form-row textarea{min-height:140px; resize:vertical;}
  .form-row input:focus, .form-row select:focus, .form-row textarea:focus{outline:none; border-color:var(--hare-sora);}
  .form-note{font-size:12.5px; color:var(--hare-ink-soft);}
  .form-alt{margin-top:28px; padding-top:24px; border-top:1px solid var(--hare-kiri-line); font-size:14px; color:var(--hare-ink-soft);}
  .form-alt a{color:var(--hare-sora-deep); font-weight:700;}

  .topics-empty{
    border:1.5px dashed var(--hare-kiri-line); border-radius:16px; padding:64px 32px; text-align:center; color:var(--hare-ink-soft);
  }
  .topics-empty p{ font-size:15px; max-width:480px; margin:12px auto 0;}
  .topic-categories{display:flex; gap:10px; flex-wrap:wrap; justify-content:center; margin-top:28px;}

  /* トピックス記事一覧 */
  .topic-list{display:flex; flex-direction:column; gap:20px; max-width:820px;}
  .topic-card{
    display:flex; gap:28px; align-items:stretch; background:#fff; border:1px solid var(--hare-kiri-line); border-radius:16px;
    padding:20px; transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease; overflow:hidden;
  }
  .topic-card:hover{transform:translateY(-4px); box-shadow:0 20px 40px rgba(31,36,33,.08); border-color:transparent;}
  .topic-thumb{flex:0 0 220px; border-radius:10px; overflow:hidden; background:var(--hare-kiri);}
  .topic-thumb img{width:100%; height:100%; min-height:140px; object-fit:cover; transition:transform .4s ease;}
  .topic-card:hover .topic-thumb img{transform:scale(1.05);}
  .topic-card-body{flex:1; min-width:0; padding:12px 16px 12px 0;}
  .topic-meta{display:flex; gap:12px; align-items:center; margin-bottom:14px; flex-wrap:wrap;}
  .topic-meta time{font-size:12.5px; color:var(--hare-ink-soft);}
  .topic-meta .tag{margin:0;}
  .topic-card h3{font-family:var(--serif); font-size:20px; margin-bottom:12px; line-height:1.6;}
  .topic-card p{font-size:14.5px; color:var(--hare-ink-soft); margin-bottom:0;}

  /* 記事本体ページ */
  .article-body{max-width:760px;}
  .article-body h2{font-size:clamp(21px,2.6vw,26px); margin-top:52px; margin-bottom:18px;}
  .article-body h2:first-child{margin-top:0;}
  .article-body p{font-size:15.5px; color:var(--hare-ink-soft); line-height:1.95; margin-bottom:20px;}
  .article-body ul{margin:0 0 20px; padding-left:22px; list-style:disc;}
  .article-body li{font-size:15px; color:var(--hare-ink-soft); line-height:1.9; margin-bottom:8px;}
  .article-lead{font-size:16px; color:var(--hare-ink-soft); line-height:1.95; padding-bottom:8px; border-bottom:1px solid var(--hare-kiri-line); margin-bottom:44px;}

  /* 記事サムネイル(アイキャッチ) */
  .article-hero-img{
    max-width:760px; margin:48px 0 48px; border-radius:16px; overflow:hidden;
    box-shadow:0 20px 44px rgba(31,36,33,.1);
  }
  .article-hero-img img{width:100%; height:auto; max-height:420px; object-fit:cover;}

  /* 記事本文内の差し込み画像 */
  .article-body figure{margin:36px 0 40px;}
  .article-body figure img{width:100%; height:auto; border-radius:14px; box-shadow:0 16px 36px rgba(31,36,33,.09);}
  .article-body figcaption{font-size:13px; color:var(--hare-ink-soft); margin-top:12px; text-align:center; line-height:1.7;}
  .article-body .figure-pair{display:flex; gap:20px; margin:36px 0 40px;}
  .article-body .figure-pair figure{margin:0; flex:1;}

  /* 企業診断ツール */
  .diagnosis-card{
    background:#fff; border:1px solid var(--hare-kiri-line); border-radius:20px; padding:40px; max-width:640px;
  }
  .diagnosis-row{display:flex; flex-direction:column; gap:8px; margin-bottom:22px;}
  .diagnosis-row label{font-size:14px; font-weight:700;}
  .diagnosis-row select, .diagnosis-row textarea{
    border:1px solid var(--hare-kiri-line); border-radius:10px; padding:12px 16px; font-size:14.5px; font-family:var(--sans); color:var(--hare-ink); background:#fff;
  }
  .diagnosis-row textarea{min-height:100px; resize:vertical;}
  .diagnosis-row select:focus, .diagnosis-row textarea:focus{outline:none; border-color:var(--hare-sora);}
  .diagnosis-row .optional{font-weight:400; color:var(--hare-ink-soft); font-size:12.5px;}
  .diagnosis-result{
    margin-top:28px; padding-top:28px; border-top:1px solid var(--hare-kiri-line);
  }
  .diagnosis-result-label{font-size:12.5px; letter-spacing:.1em; color:var(--hare-sora-deep); font-weight:700; margin-bottom:12px;}
  .diagnosis-result p{font-size:15px; line-height:1.9; margin-bottom:20px;}

  /* 課題別「対応できる例」ページ */
  .issue-hero-icon{
    width:64px; height:64px; border-radius:50%; display:flex; align-items:center; justify-content:center;
    background:rgba(255,255,255,.12); border:1.5px solid rgba(255,255,255,.3); margin-bottom:22px;
  }
  .issue-hero-icon svg{width:30px; height:30px; color:#fff;}

  /* 写真ヘッダーに半分重ねる浮遊カード(境目の違和感を解消) */
  .issue-stat-wrap{padding:0; position:relative; z-index:3; margin-top:-64px;}
  .issue-stat-card{
    display:flex; align-items:center; gap:32px; flex-wrap:wrap;
    background:#fff; border-radius:20px; border:1px solid var(--hare-kiri-line);
    box-shadow:0 26px 54px rgba(31,36,33,.16); padding:36px 44px;
  }
  .issue-stat-card .num{font-family:var(--serif); font-size:52px; font-weight:700; line-height:1; flex-shrink:0;}
  .issue-stat-card .num small{display:block; font-size:14.5px; font-weight:700; color:var(--hare-ink-soft); letter-spacing:.05em; margin-top:8px;}
  .issue-stat-card .txt{flex:1; min-width:240px; font-size:15.5px; color:var(--hare-ink-soft); line-height:1.9; margin:0;}
  .issue-stat-card .txt strong{color:var(--hare-ink);}

  .solution-section{padding-top:76px; padding-bottom:50px;}
  .solution-list{
    display:grid; grid-template-columns:repeat(2, 1fr); gap:22px; margin-top:8px;
  }
  .solution-item{
    position:relative; display:flex; gap:20px; align-items:flex-start; padding:30px 28px 32px;
    background:#fff; border:1px solid var(--hare-kiri-line); border-radius:18px; overflow:hidden;
    transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  }
  .solution-item:hover{transform:translateY(-5px); box-shadow:0 22px 44px rgba(31,36,33,.1); border-color:transparent;}
  .solution-item::after{
    content:attr(data-num); position:absolute; right:2px; bottom:-26px; z-index:0; pointer-events:none;
    font-family:var(--serif); font-weight:700; font-size:88px; line-height:1; color:var(--hare-kiri-line); opacity:.6;
  }
  .solution-num{
    position:relative; z-index:1; flex-shrink:0; width:44px; height:44px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    font-family:var(--serif); font-weight:700; font-size:17px; color:#fff; background:var(--hare-sora-deep);
  }
  .solution-item p{position:relative; z-index:1; font-size:16.5px; line-height:1.85; margin:0; padding-top:5px;}

  .issues-sora .solution-num{background:var(--hare-sora);}
  .issues-hidamari .solution-num{background:var(--hare-hidamari); color:var(--hare-ink);}
  .issues-sora-deep .solution-num{background:var(--hare-sora-deep);}
  .issues-sora .solution-item:hover{border-color:var(--hare-sora);}
  .issues-hidamari .solution-item:hover{border-color:var(--hare-hidamari);}
  .issues-sora-deep .solution-item:hover{border-color:var(--hare-sora-deep);}
  .issues-sora .issue-hero-icon{background:rgba(61,126,166,.25); border-color:var(--hare-sora);}
  .issues-hidamari .issue-hero-icon{background:rgba(232,163,61,.22); border-color:var(--hare-hidamari);}
  .issues-sora-deep .issue-hero-icon{background:rgba(44,93,128,.3); border-color:var(--hare-sora-deep);}
  .issues-sora .issue-stat-card .num{color:var(--hare-sora);}
  .issues-hidamari .issue-stat-card .num{color:var(--hare-hidamari);}
  .issues-sora-deep .issue-stat-card .num{color:var(--hare-sora-deep);}

  .issue-back-section{padding-top:20px; padding-bottom:60px;}
  .issue-back-card{
    display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
    background:var(--hare-kiri); border-radius:18px; padding:30px 34px;
  }
  .issue-back-card p{font-size:15.5px; color:var(--hare-ink-soft); margin:0;}
  .issue-back-card .service-link{white-space:nowrap; font-size:15px;}

  /* 共同開発のご相談 バナー(services.html) */
  .codev-banner{
    display:grid; grid-template-columns:260px 1fr; gap:48px; align-items:center;
    background:var(--hare-kiri); border-radius:24px; padding:52px 56px;
  }
  .codev-banner h2{margin-top:6px;}
  .codev-banner .section-lead{font-size:16.5px; line-height:1.9;}
  .codev-media{display:flex; align-items:center; justify-content:center;}
  .codev-media svg{width:100%; max-width:220px; height:auto;}

  /* 共同開発ページ全体の文字サイズ・余白を拡大 */
  .codev-page section{padding:90px 0;}
  .codev-page .page-head-photo{padding:170px 0 70px;}
  .codev-page .lead{font-size:16.5px; line-height:1.9;}
  .codev-page .section-lead{font-size:16.5px; line-height:1.9;}
  .codev-page .problem-card p{font-size:16px;}
  .codev-page .problem-card h3{font-size:22px;}

  /* 私たちが提供できること: 導入イラスト付き2カラム */
  .offer-intro{display:grid; grid-template-columns:1.25fr 1fr; gap:52px; align-items:center; margin-bottom:40px;}
  .offer-media{display:flex; align-items:center; justify-content:center;}
  .offer-media svg{width:100%; max-width:260px; height:auto;}

  /* 提供できることカード */
  .offer-grid{display:grid; grid-template-columns:repeat(auto-fit, minmax(200px, 1fr)); gap:18px;}
  .offer-card{
    display:flex; flex-direction:column; gap:16px; align-items:flex-start;
    background:#fff; border:1.5px solid var(--hare-kiri-line); border-radius:16px; padding:28px 24px;
    transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }
  .offer-card:hover{transform:translateY(-4px); box-shadow:0 16px 32px rgba(31,36,33,.08); border-color:var(--hare-sora);}
  .offer-icon-wrap{
    width:48px; height:48px; border-radius:12px; background:rgba(61,126,166,.12);
    display:flex; align-items:center; justify-content:center;
  }
  .offer-icon-wrap svg{width:24px; height:24px; color:var(--hare-sora-deep);}
  .offer-card span{font-size:15.5px; font-weight:700; color:var(--hare-ink); line-height:1.6;}

  /* 進め方: カード型ステップ */
  .codev-steps-grid{display:grid; grid-template-columns:repeat(2, 1fr); gap:22px;}
  .codev-step-card{
    position:relative; background:#fff; border:1px solid var(--hare-kiri-line); border-radius:18px;
    padding:32px 28px; transition:transform .2s ease, box-shadow .2s ease;
  }
  .codev-step-card:hover{transform:translateY(-4px); box-shadow:0 18px 36px rgba(31,36,33,.08);}
  .codev-step-num{
    width:42px; height:42px; border-radius:50%; background:var(--hare-sora-deep); color:#fff;
    display:flex; align-items:center; justify-content:center; font-family:var(--serif); font-weight:700;
    font-size:17px; margin-bottom:18px;
  }
  .codev-step-card h4{font-size:18.5px; margin-bottom:10px;}
  .codev-step-card p{font-size:15.5px; color:var(--hare-ink-soft); line-height:1.85; margin:0;}

  /* 課題カードをリンクにした際のクリックヒント */
  .problem-card{position:relative;}
  .problem-card .p-more{font-size:13px; font-weight:700; color:var(--hare-sora-deep); margin-top:14px; display:inline-flex; align-items:center; gap:6px;}

  /* ミッションページの写真つきヘッダー */
  .page-head-photo{
    position:relative; padding:170px 0 70px; overflow:hidden; background:var(--hare-ink);
  }
  .page-head-photo .photo-bg{position:absolute; inset:0; z-index:0;}
  .page-head-photo .photo-bg img{width:100%; height:100%; object-fit:cover; display:block;}
  .page-head-photo .photo-scrim{
    position:absolute; inset:0; z-index:1;
    background:linear-gradient(100deg, rgba(31,36,33,.92) 0%, rgba(31,36,33,.82) 35%, rgba(31,36,33,.55) 65%, rgba(31,36,33,.25) 100%);
  }
  .page-head-photo .wrap{position:relative; z-index:2;}
  .page-head-photo .breadcrumb{color:rgba(255,255,255,.65);}
  .page-head-photo .breadcrumb a{color:#fff;}
  .page-head-photo .section-eyebrow{color:var(--hare-hidamari);}
  .page-head-photo h1{color:#fff;}
  .page-head-photo .lead{color:rgba(255,255,255,.85);}

  /* 成長・希望のイメージイラスト */
  .growth-illustration{display:flex; justify-content:center; margin:8px 0 48px;}
  .growth-illustration svg{width:100%; max-width:560px; height:auto;}

  @media (max-width:860px){
    nav, .nav-cta{display:none;}
    .nav-toggle{display:flex;}
    .hareai-inner, .service-grid, .about-inner, .footer-grid{grid-template-columns:1fr;}
    .problem-grid{grid-template-columns:1fr;}
    .problem-card{padding:32px 26px;}
    .problem-card .mark{font-size:50px; width:60px;}
    .flagship-case{grid-template-columns:1fr;}
    .flagship-body{padding:36px 28px;}
    .flagship-stats{flex-wrap:wrap; gap:24px;}
    .case-feature, .case-feature:nth-child(even){grid-template-columns:1fr;}
    .case-feature:nth-child(even) .cf-visual{order:0;}
    .cf-body{padding:32px 28px;}
    section{padding:80px 0;}
    .page-head{padding:120px 0 40px;}
    .first-section{padding-top:120px;}
    .page-head-photo{padding:130px 0 50px;}
    .solution-list{grid-template-columns:1fr;}
    .issue-stat-wrap{margin-top:-36px;}
    .issue-stat-card{padding:26px 24px; gap:20px;}
    .issue-stat-card .num{font-size:40px;}
    .solution-section{padding-top:50px; padding-bottom:30px;}
    .issue-back-section{padding-top:10px; padding-bottom:40px;}
    .issue-back-card{padding:26px 24px;}
    .codev-banner{grid-template-columns:1fr; padding:36px 28px; text-align:center;}
    .codev-media{order:-1;}
    .codev-media svg{max-width:160px;}
    .offer-intro{grid-template-columns:1fr;}
    .offer-media{order:-1; margin-bottom:12px;}
    .offer-media svg{max-width:180px;}
    .codev-steps-grid{grid-template-columns:1fr;}
    .codev-page section{padding:60px 0;}
    .hare-panel{right:16px; left:16px; width:auto;}
    .hare-fab{right:16px; bottom:20px;}
    .clarity-line{width:3px;}
    .topic-card{flex-direction:column; padding:16px;}
    .topic-thumb{flex-basis:auto; aspect-ratio:16/9;}
    .topic-card-body{padding:16px 4px 4px;}
    .article-body .figure-pair{flex-direction:column;}
    .article-hero-img{margin-top:32px;}
    .article-hero-img img{max-height:260px;}
  }
