  :root{
    --navy:#0f2540;
    --teal:#0e7c74;
    --teal-pale:#e6f4f2;
    --mint:#9fe3da;
    --bg:#f7f8fa;
    --card:#ffffff;
    --cream:#f7f6f2;
    --text:#1f2937;
    --muted:#6b7280;
    --border:#e5e8ee;
    --radius:10px;
    --shadow:0 10px 30px rgba(15,37,64,0.10);
  }
  *{box-sizing:border-box;margin:0;padding:0;}
  /* htmlにoverflow-x:hiddenを付けるとposition:stickyのヘッダーが
     スクロール追従しなくなる不具合があるため、横スクロール抑止はbody側だけに残す */
  html{scroll-behavior:smooth;scroll-padding-top:65px;max-width:100%;overflow-anchor:none;}
  body{
    font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;
    color:var(--text);
    background:var(--bg);
    line-height:1.7;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
    max-width:100%;
    text-wrap:pretty;
    overflow-anchor:none;
  }
  h1,h2,h3,h4{
    font-family:"Noto Serif JP","Noto Sans JP",serif;
    color:var(--navy);
    line-height:1.5;
  }
  a{color:inherit;text-decoration:none;}
  img{max-width:100%;display:block;}
  .container{max-width:1080px;margin:0 auto;padding:0 24px;}
  section{padding:30px 0;}
  .section-tag{
    display:inline-block;font-size:12.5px;letter-spacing:.16em;
    color:var(--teal);font-weight:700;margin-bottom:14px;
  }
  .section-title{font-size:clamp(24px,3.2vw,32px);margin-bottom:18px;font-weight:700;}
  .section-desc{color:var(--muted);max-width:600px;font-size:15px;}
  .section-head{text-align:center;margin:0 auto 26px;max-width:640px;}
  .section-head .section-desc{margin:0 auto;}
  @media (min-width:821px){
    .flow-desc{white-space:nowrap;max-width:none;}
  }

  /* ---------- Header ---------- */
  /* ロゴ画像の背景色(#f7f6f2)と完全に一致する不透明色にする。
     半透明+backdrop-filterだと背後の色によって微妙に色味が変わり、ロゴの白背景箱と
     ズレて見えてしまうため、透過をやめて単色にする(headerに直接filter系を付けない
     ことで、モバイル固定ナビの基準点がheaderになってしまう不具合も併せて回避)。 */
  header{
    position:sticky;top:0;left:0;right:0;z-index:1000;
    background:#f7f6f2;
    border-bottom:1px solid rgba(15,37,64,0.08);
  }
  .nav-wrap{
    max-width:1080px;margin:0 auto;padding:0 24px;height:64px;
    display:flex;align-items:center;justify-content:space-between;
  }
  .header-app{display:none;}
  .logo-mark{display:inline-flex;align-items:center;flex-shrink:0;}
  .logo-mark img{height:56px;width:auto;}
  nav ul{display:flex;gap:34px;list-style:none;align-items:center;}
  nav a{color:var(--navy);font-size:14px;font-weight:500;transition:color .2s;}
  nav a:hover{color:var(--teal);}
  nav a{white-space:nowrap;}
  @media (min-width:821px) and (max-width:1060px){
    nav ul{gap:16px;}
    nav a{font-size:13px;}
    .nav-cta{padding:10px 14px !important;font-size:13px !important;}
  }
  .nav-cta{
    /* 登記完了・受付開始までは赤で「受付停止中」を明示（開始時は
       background:var(--navy) / 文言「お問い合わせ」に戻す） */
    background:#b3261e;color:#fff !important;padding:10px 22px;
    border-radius:6px;font-weight:700;font-size:13.5px;
  }
  .nav-toggle{
    display:none;background:none;border:none;padding:6px;margin:-6px;
    color:var(--navy);cursor:pointer;
  }
  .nav-toggle svg{width:26px;height:26px;stroke:currentColor;display:block;}
  @media (max-width:820px){
    .nav-toggle{display:inline-flex;}
    /* ロゴぎりぎりまで寄せて、その分できたスペースを文字サイズに回す */
    .nav-wrap{justify-content:flex-start;gap:6px;}
    nav{
      position:fixed;top:auto;left:auto;right:16px;
      bottom:calc(78px + env(safe-area-inset-bottom, 0px));
      /* 閉じている間もbackground/border/box-shadowが効いてしまうと、
         max-height:0で潰れた高さ(content-boxなのでborder分の1〜2pxは
         残る、また端末によってはサブピクセルの丸め誤差で1px未満の
         隙間から背景色だけが細い帯として透けて見えることがある)。
         閉じている間はbackgroundも含めて完全に透明にしておき、
         開いた時だけ見せる。 */
      background:transparent;
      border:1px solid transparent;
      border-radius:10px;
      box-shadow:none;
      max-height:0;overflow:hidden;
      transition:max-height .25s ease, border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
      width:190px;
      z-index:1000;
    }
    nav.nav-open{
      background:var(--cream);
      max-height:420px;
      border-color:rgba(15,37,64,0.1);
      box-shadow:0 14px 30px rgba(15,37,64,0.16);
    }
    nav ul{flex-direction:column;align-items:stretch;gap:0;padding:6px 16px;}
    nav ul li{border-top:1px solid rgba(15,37,64,0.08);}
    nav ul li:first-child{border-top:none;}
    nav a{display:block;padding:10px 0;font-size:13px;}
    .nav-cta-item{border-top:none;margin:8px 0 6px;}
    .nav-cta{display:inline-block;padding:9px 16px;font-size:12.5px;}
  }

  /* ---------- Hero ---------- */
  .hero{
    position:relative;
    overflow:hidden;
    background:#081424;
    color:#fff;padding:0;
  }
  .hero-media{
    position:relative;
    width:100%;aspect-ratio:2800/1576;height:auto;
    background:#081424 url('assets/hero-video-poster.jpg') center/cover no-repeat;
  }
  .hero-video{
    position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:0;
  }
  .hero-media::before{
    content:"";position:absolute;inset:0;z-index:1;
    background:linear-gradient(0deg, rgba(8,20,36,0.7) 0%, rgba(8,20,36,0.25) 16%, transparent 34%);
  }
  /* PC: ファーストビューにぴったり収める(ヘッダー65px分を引いた画面高さ。元動画の縦横比より縦長にはならない) */
  @media (min-width:821px){
    .hero-media{
      aspect-ratio:auto;
      height:min(calc(100vh - 65px), 56.29vw);
      height:min(calc(100svh - 65px), 56.29vw);
      min-height:420px;
    }
  }
  .hero-top{position:absolute;top:32px;left:0;right:0;z-index:2;display:flex;justify-content:space-between;align-items:flex-start;gap:12px;}
  .hero-badge{display:inline-flex;align-items:center;gap:10px;background:rgba(255,255,255,0.96);border:2px solid var(--teal);border-radius:999px;padding:5px 6px 5px 20px;box-shadow:0 4px 16px rgba(0,0,0,0.25);white-space:nowrap;}
  .hero-badge{margin-left:auto;}
  .hero-badge .a{color:#111;font-size:12px;font-weight:700;}
  .hero-badge .k{color:var(--teal);font-size:17px;font-weight:900;}
  .hero-badge .k em{font-style:normal;color:#111;margin:0 2px;}
  .hero-badge i{font-style:normal;background:#b3261e;color:#fff;border-radius:999px;font-size:12.5px;font-weight:800;padding:5px 13px;}
  .hero-bottom{position:absolute;left:0;right:0;bottom:40px;z-index:2;}
  @media (max-width:820px){
    .hero{
      display:flex;flex-direction:column;
    }
    .hero-media{
      order:1;
    }
    .hero-top{
      display:none;
    }
    .header-app{
      display:flex;align-items:center;gap:8px;margin-left:auto;
      background:#fff;border:1.5px solid var(--teal);border-radius:12px;
      padding:4px 4px 4px 11px;color:var(--navy);line-height:1.2;white-space:nowrap;
    }
    .header-app .t{display:flex;flex-direction:column;}
    .header-app small{font-size:9.5px;color:#111;font-weight:700;letter-spacing:.06em;}
    .header-app b{font-size:13px;font-weight:900;color:var(--teal);line-height:1.3;}
    .header-app i{font-style:normal;background:#b3261e;color:#fff;border-radius:8px;font-size:10px;font-weight:800;padding:5px 7px;text-align:center;line-height:1.2;}
  }
  @media (max-width:340px){.header-app{gap:5px;padding:3px 3px 3px 8px;}.header-app b{font-size:13px;}.header-app i{font-size:9px;padding:4px 5px;}}
  .hero-eyebrow{
    display:inline-flex;align-items:center;gap:8px;font-size:12.5px;letter-spacing:.1em;
    color:#fff;border:1px solid rgba(255,255,255,0.4);padding:7px 16px;
    border-radius:999px;background:rgba(255,255,255,0.08);
  }
  @media (min-width:821px){
    .hero-top{top:36px;}
    .hero-eyebrow{font-size:15px;padding:10px 22px;}
    .hero-badge{gap:12px;padding:6px 7px 6px 22px;border-width:2px;}
    .hero-badge .a{font-size:14px;}
    .hero-badge .k{font-size:21px;}
    .hero-badge i{font-size:15px;padding:7px 16px;}
  }
  @media (min-width:821px) and (max-width:1060px){
    .hero-eyebrow{font-size:13.5px;padding:9px 18px;letter-spacing:.06em;}
    .hero-badge{gap:10px;padding:5px 6px 5px 18px;}
    .hero-badge .a{font-size:12.5px;}
    .hero-badge .k{font-size:19px;}
    .hero-badge i{font-size:13.5px;padding:6px 14px;}
  }
  /* 左右2つの枠を、同じ大きさにそろえる（PC表示） */
  @media (min-width:821px){
    .hero-top .hero-eyebrow,.hero-top .hero-badge{box-sizing:border-box;width:440px;height:56px;justify-content:center;white-space:nowrap;}
  }
  @media (min-width:821px) and (max-width:1060px){
    .hero-top .hero-eyebrow,.hero-top .hero-badge{width:384px;height:50px;}
  }
  @media (min-width:821px) and (max-width:900px){.hero-top .hero-eyebrow{display:none;}}
  .hero h1{color:#fff;font-size:clamp(22px,3.4vw,38px);font-weight:600;text-shadow:0 2px 16px rgba(0,0,0,0.25);white-space:normal;}
  .hero h1 em{font-style:normal;color:var(--mint);}
  .hero h1 .hl-a,.hero h1 .hl-b{display:block;}
  .hero h1 .ln{white-space:nowrap;}
  .btn{display:inline-block;padding:15px 30px;border-radius:6px;font-weight:700;font-size:14px;transition:transform .2s,box-shadow .2s,background .2s;}

  /* ---------- Services ---------- */
  .service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
  @media (max-width:1000px){
    .service-grid{grid-template-columns:1fr 1fr;}
  }
  .service-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow);min-width:0;display:flex;flex-direction:column;}
  .service-card h3{color:var(--navy);font-size:clamp(19px,2.1vw,25px);margin-bottom:16px;font-weight:700;letter-spacing:.04em;}
  .service-card h3::after{content:"";display:block;width:100%;height:3px;border-radius:2px;background:var(--teal);margin-top:10px;}
  .service-price-grid{
    display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;
    margin-bottom:14px;padding-bottom:14px;border-bottom:1px solid var(--border);
  }
  .service-price-grid .price-item{display:flex;flex-direction:column;min-width:0;}
  .service-price-grid .price-label{
    font-size:11px;font-weight:700;letter-spacing:.06em;color:var(--muted);margin-bottom:6px;
  }
  .service-price-grid .price-value{
    color:var(--navy);font-size:clamp(14px,3vw,18px);font-weight:700;line-height:1.4;
  }
  .service-price-grid .price-value + .price-value{margin-top:6px;}
  .service-price-grid .price-amount{white-space:nowrap;}
  .service-price-grid .price-note{
    display:inline;font-size:11.5px;font-weight:500;color:var(--muted);margin-left:2px;
  }
  .service-price-grid{min-height:72px;}
  .service-price-grid.price-quote{display:flex;align-items:center;}
  .service-price-grid.price-quote p{margin:0;color:var(--navy);font-size:12.5px;font-weight:700;line-height:1.5;}
  @media (max-width:480px){
    .service-price-grid{grid-template-columns:1fr;gap:10px;}
  }
  .service-card .feature-list{list-style:none;margin:0 0 16px;padding:0;}
  .service-card .feature-list li{
    font-size:13.5px;color:var(--text);padding:7px 0;
    border-top:1px solid var(--border);display:flex;gap:10px;align-items:flex-start;
  }
  .service-card .feature-list li:first-child{border-top:none;}
  @media (max-width:340px){.service-card .feature-list li{font-size:12px;gap:7px;}}
  .service-card .feature-list li svg{width:14px;height:14px;stroke:var(--teal);flex-shrink:0;margin-top:3px;}
  .service-track-record{
    margin-top:14px;padding:14px 18px;
    background:var(--teal-pale);border:1px solid rgba(14,124,116,0.25);border-radius:8px;
  }
  .service-card .service-track-record{margin-top:auto;padding-top:14px;}
  .service-track-record .label{
    display:block;font-size:11.5px;font-weight:700;letter-spacing:.08em;
    color:var(--teal);margin-bottom:8px;
  }
  .service-track-record .trc-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;}
  .service-track-record .trc-list li{padding-top:10px;border-top:1px dashed rgba(14,124,116,0.22);}
  .service-track-record .trc-list li:first-child{padding-top:0;border-top:none;}
  .service-track-record .trc-sub{display:flex;flex-direction:column;align-items:flex-start;gap:4px;font-size:12.5px;}
  .service-track-record .trc-shop{color:var(--muted);}
  @media (max-width:374px){.service-track-record .trc-shop{font-size:11px;}}
  .service-track-record a{
    color:var(--navy);font-size:12.5px;font-weight:600;
    display:inline-flex;align-items:center;gap:5px;
    overflow-wrap:anywhere;
  }
  .service-track-record a:hover{color:var(--teal);text-decoration:underline;}
  .service-track-record a svg{width:12px;height:12px;stroke:currentColor;flex-shrink:0;}
  .service-track-record .trc-preview{
    display:block;width:100%;position:relative;margin-top:10px;border-radius:8px;overflow:hidden;
    border:1px solid rgba(14,124,116,0.25);background:#fff;aspect-ratio:16/10;
    transition:box-shadow .2s,border-color .2s;
  }
  .service-track-record .trc-preview:hover{border-color:var(--teal);box-shadow:0 4px 14px rgba(14,124,116,0.2);}
  .trc-preview iframe{
    position:absolute;top:0;left:0;width:400%;height:400%;
    transform:scale(0.25);transform-origin:top left;border:0;pointer-events:none;
  }

  /* ---------- Process ---------- */
  .process{background:#fff;}
  .process-chevrons{
    display:flex;list-style:none;margin:0 0 36px;padding:0;
  }
  .process-chevrons li{
    position:relative;flex:1;min-width:0;
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
    text-align:center;padding:14px 18px 14px 32px;
    color:#fff;line-height:1.4;
    clip-path:polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 18px 50%);
    margin-left:-16px;
  }
  .process-chevrons li:first-child{
    margin-left:0;padding-left:20px;
    clip-path:polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%);
  }
  .process-chevrons li:nth-child(odd){background:var(--navy);}
  .process-chevrons li:nth-child(even){background:var(--teal);}
  .chevron-num{font-size:11px;font-weight:700;opacity:.8;}
  .chevron-label{display:flex;flex-direction:column;gap:2px;}
  .chevron-label strong{font-size:12.5px;font-weight:700;}
  .chevron-label em{font-style:normal;font-size:10.5px;opacity:.85;}
  .chevron-desc{width:100%;font-style:normal;font-size:10.5px;line-height:1.55;opacity:.85;margin-top:4px;}
  @media (max-width:700px){
    .process-chevrons{flex-direction:column;gap:10px;}
    .process-chevrons li{
      flex-direction:row;align-items:stretch;justify-content:flex-start;
      clip-path:none;margin-left:0;padding:0;overflow:hidden;
      border-radius:10px;background:var(--card);border:1px solid var(--border);
    }
    .process-chevrons li:first-child{clip-path:none;padding:0;}
    .process-chevrons li:nth-child(odd),
    .process-chevrons li:nth-child(even){background:var(--card);}
    .chevron-num{
      flex:0 0 56px;display:flex;align-items:center;justify-content:center;
      color:#fff;font-size:16px;opacity:1;
      clip-path:polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
    }
    .process-chevrons li:nth-child(odd) .chevron-num{background:var(--navy);}
    .process-chevrons li:nth-child(even) .chevron-num{background:var(--teal);}
    .chevron-label{
      flex:1 1 auto;flex-direction:row;align-items:baseline;gap:8px;flex-wrap:wrap;
      padding:12px 16px 12px 20px;text-align:left;color:var(--navy);
    }
    .chevron-label strong{font-size:14px;}
    .chevron-label em{font-size:11.5px;color:var(--muted);}
    .chevron-desc{color:var(--muted);}
  }
  .process-highlight{
    display:inline-block;margin-top:14px;color:var(--teal);font-weight:700;font-size:14px;
    border:1px solid rgba(14,124,116,0.3);background:var(--teal-pale);
    padding:8px 20px;border-radius:999px;
  }

  /* ---------- Team ---------- */
  .team{background:#f2f4f8;}
  .team-list{display:flex;flex-direction:column;gap:18px;}
  .member-card{
    display:flex;gap:28px;align-items:flex-start;
    background:var(--card);border:1px solid var(--border);border-radius:var(--radius);
    box-shadow:var(--shadow);padding:26px;
  }
  .avatar{
    flex:0 0 auto;width:88px;height:88px;border-radius:50%;
    background:var(--teal-pale);
    border:2px solid var(--mint);
    overflow:hidden;
  }
  .avatar img{width:100%;height:100%;object-fit:cover;object-position:top;display:block;}
  .team-tabs{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:fit-content;margin:0 auto 28px;}
  .team-tab{
    background:var(--card);border:1px solid var(--border);color:var(--muted);
    font-size:14px;font-weight:700;padding:10px 24px;border-radius:999px;cursor:pointer;text-align:center;
    transition:background .2s,color .2s,border-color .2s;
  }
  .team-tab:hover{border-color:var(--teal);color:var(--teal);}
  .team-tab.is-active{background:var(--navy);border-color:var(--navy);color:#fff;}
  .team-tab.is-active:hover{color:#fff;}
  .member-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;}
  .member-mini{
    display:flex;align-items:flex-start;gap:16px;
    background:var(--card);border:1px solid var(--border);border-radius:var(--radius);
    box-shadow:var(--shadow);padding:20px;
  }
  .avatar-sm{width:64px;height:64px;display:flex;align-items:center;justify-content:center;flex:0 0 auto;}
  .avatar-sm span{color:#fff;font-family:"Noto Serif JP",serif;font-size:22px;font-weight:700;}
  .member-mini-body{flex:1 1 auto;min-width:0;}
  .member-mini-body h3{font-size:16px;font-weight:700;color:var(--navy);margin-bottom:4px;}
  .member-mini-body .role-jp{margin:2px 0 0;font-size:12px;}
  .member-mini-career{font-size:12.5px;color:var(--muted);line-height:1.6;margin-top:8px;}
  @media (max-width:600px){
    .member-grid{grid-template-columns:1fr;}
  }
  .member-body{flex:1 1 auto;min-width:0;}
  .member-head{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;margin-bottom:4px;}
  .member-head h3{font-size:19px;font-weight:700;}
  .role-en{font-size:12px;font-weight:700;letter-spacing:.14em;color:var(--teal);}
  .role-jp{font-size:13px;color:var(--muted);margin-bottom:14px;}
  .member-badges{display:flex;flex-wrap:wrap;gap:8px;margin:-4px 0 14px;}
  .member-badge{
    display:inline-block;background:var(--teal-pale);color:var(--teal);
    font-size:11.5px;font-weight:700;padding:4px 11px;border-radius:999px;
  }
  .member-divider{border:none;border-top:1px dotted var(--teal);opacity:.55;margin:14px 0 16px;}
  .member-profile{font-size:13.5px;color:var(--muted);}
  .member-profile .label{font-weight:700;color:var(--navy);margin-bottom:6px;display:block;font-size:13px;}
  /* ご挨拶: 縦書き(右→左)。mobileでは列数が増えすぎないよう高さを広げ、はみ出し分は横スクロール */
  .greeting-message{
    writing-mode:vertical-rl;-webkit-writing-mode:vertical-rl;
    font-family:"Noto Serif JP","Hiragino Mincho ProN","Yu Mincho","Noto Serif CJK JP",serif;
    height:430px;width:fit-content;max-width:100%;margin:0 auto 34px;
    overflow-x:auto;overflow-y:hidden;padding:8px 0;
    color:var(--navy);line-height:2.1;
    line-break:strict;word-break:normal;overflow-wrap:break-word;
  }
  .greeting-message .quote{font-size:19px;color:var(--navy);font-weight:600;margin-block-end:1.4em;line-height:2;}
  .greeting-message p:not(.quote){color:var(--navy);font-size:15px;font-weight:500;margin:0;margin-block-end:1.1em;text-align:justify;text-justify:inter-character;}
  .greeting-message .tcy{text-combine-upright:all;-webkit-text-combine:horizontal;}
  .greeting-message p.greeting-signature{text-align:end;margin-block-start:1.6em;margin-block-end:0;}
  .greeting-message p.greeting-signature img{display:inline-block;height:150px;width:auto;}
  @media (max-width:600px){
    .member-card{flex-direction:column;align-items:center;text-align:center;gap:16px;}
    .member-head{justify-content:center;}
    .member-badges{justify-content:center;}
    .member-mini{flex-direction:column;align-items:center;text-align:center;}
  }

  /* ---------- Product (経費カルテ) ---------- */
  .product{background:#eef7f6;}
  .kc-mock{background:#f7f6f2;border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);padding:16px 14px 12px;font-size:12.5px;color:var(--navy);}
  .kc-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;}
  .kc-brand,.kk-brand{flex:0 0 auto;}
  .kc-brand img,.kk-brand img{height:28px;width:106px;max-width:none;}
  .kc-brand strong,.kk-brand strong{display:block;font-size:14px;font-weight:800;letter-spacing:.12em;text-align:center;line-height:1.3;margin-top:2px;}
  .kc-org{border:1px solid var(--border);background:#fff;border-radius:999px;padding:7px 11px;font-size:11.5px;font-weight:700;white-space:nowrap;}
  .kc-stats{display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border:1px solid var(--border);border-radius:10px;margin-bottom:8px;}
  .kc-stats div{padding:8px 10px;border-left:1px solid var(--border);text-align:right;}
  .kc-stats div:first-child{border-left:none;}
  .kc-stats small{display:block;font-size:10px;color:var(--muted);margin-bottom:1px;white-space:nowrap;}
  .kc-stats b{font-size:14.5px;font-weight:700;}
  .kc-stats div:nth-child(3) b{color:var(--teal);}
  .kc-chip{display:inline-block;font-size:9.5px;font-weight:700;color:var(--teal);border:1px solid var(--teal);border-radius:999px;padding:0 7px;margin-left:4px;}
  .kc-tools{display:grid;grid-template-columns:1fr auto auto;gap:8px;margin-bottom:10px;}
  .kc-tools span{background:#fff;border:1px solid var(--border);border-radius:10px;padding:8px 9px;font-weight:700;font-size:11.5px;white-space:nowrap;}
  .kc-tools span:not(:first-child){border:1.5px solid var(--teal);color:var(--teal);white-space:nowrap;}
  .kc-list{list-style:none;margin:0 0 10px;padding:0;display:grid;gap:7px;}
  .kc-list li{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--border);border-radius:10px;padding:8px 10px;}
  .kc-thumb{flex:0 0 auto;width:34px;height:42px;border-radius:5px;background:repeating-linear-gradient(0deg,#e5e8ee 0 2px,#fff 2px 6px);border:1px solid var(--border);}
  .kc-info{flex:1 1 auto;min-width:0;}
  .kc-info strong{display:block;font-size:13px;line-height:1.35;}
  .kc-info small{display:block;font-size:10.5px;color:var(--muted);margin:1px 0 3px;}
  .kc-tag{display:inline-block;font-size:10px;font-weight:700;padding:1px 8px;border-radius:999px;background:var(--teal-pale);color:var(--teal);margin-right:4px;}
  .kc-tag.is-none{background:#fbeedc;color:#8a5a12;}
  .kc-tag.is-cat{background:#eef0f3;color:#4b5563;}
  .kc-tag.is-pay,.kc-tag.is-keep{background:#fff;color:#4b5563;box-shadow:inset 0 0 0 1px #cfd5dd;}
  .kc-g{display:block;line-height:1.9;}
  .kc-amount{font-weight:700;font-size:13.5px;white-space:nowrap;}
  .kc-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
  .kc-actions span{display:block;text-align:center;font-size:12px;font-weight:700;padding:10px 6px;border-radius:10px;border:1px solid var(--border);background:#fff;}
  .kc-actions span:first-child{background:var(--navy);border-color:var(--navy);color:#fff;}
  /* ---------- 自社アプリ(製品紹介) ---------- */
  .apps.is-single{grid-template-columns:minmax(0,1fr);max-width:480px;}
  .apps{max-width:960px;margin:0 auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:stretch;}
  .app-card{background:#dcebe8;border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow);display:flex;flex-direction:column;overflow:hidden;}
  .app-visual{padding:24px 24px 0;height:430px;overflow:hidden;}
  .app-visual .kc-mock,.app-visual .kk-mock{max-width:330px;margin:0 auto;border-bottom-left-radius:0;border-bottom-right-radius:0;}
  .app-body{background:#fff;border-radius:22px 22px 0 0;margin-top:-22px;position:relative;padding:28px 26px 26px;display:flex;flex-direction:column;flex:1;box-shadow:0 -6px 18px rgba(15,37,64,0.06);}
  .app-kind{font-size:12.5px;color:var(--teal);font-weight:700;letter-spacing:.08em;margin-bottom:4px;}
  .app-body h3{font-size:25px;color:var(--navy);font-weight:700;letter-spacing:.04em;margin:0 0 8px;}
  .app-catch{font-size:15.5px;font-weight:700;color:var(--navy);line-height:1.75;margin:0 0 8px;}
  .app-desc{font-size:13.5px;color:var(--muted);line-height:1.9;margin:0;}
  .app-more{margin-top:auto;padding-top:18px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
  .app-btn{font-family:inherit;font-size:14px;font-weight:700;border:none;border-radius:999px;padding:11px 26px;background:#e5e8ee;color:#8b93a1;cursor:not-allowed;}
  .app-soon{font-size:12px;color:var(--muted);}
  .kk-mock{background:#f4f2ee;border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);padding:14px 14px 12px;color:var(--navy);}
  .kk-top{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #dedbd4;padding-bottom:8px;margin-bottom:10px;}
  .kk-help{border:1.5px solid #b5573a;color:#b5573a;border-radius:999px;padding:6px 11px;font-size:11px;font-weight:700;white-space:nowrap;}
  .kk-date{display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:8px;}
  .kk-date b{font-size:17px;font-weight:800;}
  .kk-date small{font-size:11px;font-weight:800;color:var(--teal);}
  .kk-arrow{flex:0 0 auto;width:30px;height:30px;border-radius:50%;background:#fff;border:1.5px solid #e1ded7;display:flex;align-items:center;justify-content:center;font-size:15px;line-height:1;color:var(--navy);}
  .kk-date b{margin-left:auto;}
  .kk-date small{margin-right:auto;}
  .kk-arrow.is-off{color:#c6c9cf;background:#f4f2ee;}
  .kk-hint{font-size:10.5px;line-height:1.6;color:var(--muted);margin:0 0 10px;}
  .kk-card{background:#fff;border:1.5px solid #e6e3dc;border-radius:14px;padding:12px 14px 14px;margin-bottom:9px;}
  .kk-card h4{display:flex;justify-content:space-between;align-items:baseline;font-size:13.5px;font-weight:800;margin:0 0 10px;}
  .kk-card h4 small{font-size:10.5px;font-weight:700;color:var(--teal);border-bottom:1.5px solid var(--teal);}
  .kk-faces{display:flex;justify-content:space-between;gap:2px;}
  .kk-faces span{flex:1 1 0;display:flex;flex-direction:column;align-items:center;gap:5px;}
  .kk-faces svg{width:34px;height:34px;}
  .kk-faces small{font-size:9px;font-weight:700;color:#374151;white-space:nowrap;letter-spacing:.02em;}
  .kk-pills{display:flex;gap:7px;flex-wrap:wrap;}
  .kk-pills span{border:1.5px solid #dedbd4;border-radius:999px;padding:7px 14px;font-size:12px;font-weight:700;background:#fff;}
  .kk-pills.is-round span{width:36px;height:36px;padding:0;display:flex;align-items:center;justify-content:center;}
  @media (max-width:380px){
    .app-visual{padding:16px 10px 0;}
    .kc-mock,.kk-mock{padding-left:10px;padding-right:10px;}
    .kc-org{font-size:10.5px;padding:6px 8px;min-width:0;overflow:hidden;text-overflow:ellipsis;}
    .kk-help{font-size:10px;padding:5px 8px;}
    .kk-faces small{font-size:8px;letter-spacing:0;}
    .kc-tools{gap:5px;}
    .kc-stats div{padding:8px 6px;}
    .kc-stats small{font-size:9px;}
    .kc-chip{margin-left:2px;padding:0 5px;font-size:9px;}
    .kc-tools span{font-size:10.5px;padding:7px 6px;}
  }
  @media (max-width:820px){
    .apps{grid-template-columns:minmax(0,1fr);gap:22px;max-width:480px;}
    .app-visual{height:390px;padding:20px 20px 0;}
    .app-body{padding:26px 20px 24px;}
  }

  /* ---------- Company ---------- */
  .company-page{background:#fff;}
  .company-page-inner{max-width:1080px;margin:0 auto;}
  .info-table{width:100%;border-collapse:collapse;background:var(--card);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);}
  .info-table tr{border-bottom:1px solid var(--border);}
  .info-table tr:last-child{border-bottom:none;}
  .info-table th,.info-table td{text-align:left;padding:17px 22px;font-size:14.5px;}
  .info-table th{background:#f2f4f8;color:var(--navy);font-weight:700;width:min(34%,200px);}
  .info-table td{color:var(--muted);}
  .info-table td a{color:var(--teal);font-weight:600;}
  @media (max-width:600px){
    .info-table th{white-space:nowrap;width:auto;padding:14px 14px;font-size:13.5px;}
    .info-table td{padding:14px 14px;font-size:13.5px;}
  }

  /* ---------- Contact ---------- */
  .contact{background:#f2f4f8;}
  .contact-grid{max-width:1080px;margin:0 auto;}
  .form-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:36px 32px;}
  .form-card h3{font-size:1.3rem;color:var(--navy);margin:0 0 8px;}
  .form-intro{color:var(--muted);font-size:14.5px;margin:0 0 24px;}
  .form-group{margin-bottom:18px;}
  .form-row{display:grid;grid-template-columns:1fr 1fr;gap:0 18px;}
  @media (max-width:600px){.form-row{grid-template-columns:1fr;}}
  .form-group label{display:block;font-size:13.5px;font-weight:600;color:var(--navy);margin-bottom:6px;}
  .form-group input,.form-group textarea{width:100%;border:1px solid var(--border);border-radius:8px;padding:11px 13px;font-size:14.5px;font-family:inherit;color:var(--text);background:#fff;}
  .form-group textarea{min-height:110px;resize:vertical;}
  .form-group input:focus,.form-group textarea:focus{outline:none;border-color:var(--teal);}
  .form-submit{width:100%;border:none;border-radius:8px;background:var(--navy);color:#fff;font-size:15px;font-weight:700;padding:13px;cursor:pointer;font-family:inherit;transition:background .2s;}
  .form-submit:hover{background:var(--teal);}
  .form-submit:disabled{cursor:not-allowed;opacity:.5;background:var(--navy);}
  .form-fieldset{border:0;margin:0;padding:0;min-width:0;}
  .form-fieldset:disabled input,.form-fieldset:disabled textarea{background:#f3f4f6;color:#9ca3af;cursor:not-allowed;}
  .form-fieldset:disabled label{color:#9ca3af;}
  .form-notice{margin:0 0 20px;padding:12px 14px;border-radius:8px;background:#fdecea;border:1px solid rgba(179,38,30,0.25);color:#b3261e;font-size:14.5px;font-weight:700;text-align:center;}
  .form-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}
  .form-status{margin-top:14px;padding:12px 14px;border-radius:8px;font-size:14px;line-height:1.7;display:none;}
  .form-status.is-ok{display:block;background:var(--teal-pale);color:var(--teal);border:1px solid rgba(14,124,116,0.25);}
  .form-status.is-error{display:block;background:#fdecea;color:#b3261e;border:1px solid rgba(179,38,30,0.25);}

  footer{background:var(--cream);color:var(--muted);border-top:1px solid rgba(15,37,64,0.08);padding:16px 0;}
  footer .container{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:16px;}
  footer small{font-size:12.5px;}

  @media (max-width:820px){
    section{padding:20px 0;}
    .service-grid{grid-template-columns:1fr;}
    .service-card h3{font-size:25px;}
    body{padding-bottom:72px;}
    .section-tag{margin-bottom:6px;}
    .section-title{margin-bottom:10px;}
    .section-head{margin:0 auto 16px;}
    .greeting-message{--gf:clamp(10px,calc((100vw - 48px) / 28.5),14px);height:calc(var(--gf) * 41.5);line-height:1.6;}
    .greeting-message .quote{font-size:calc(var(--gf) * 1.27);}
    .greeting-message p:not(.quote){font-size:var(--gf);}
    .greeting-message p:not(.quote){margin-block-end:.45em;}
    .greeting-message .quote{margin-block-end:.7em;}
    .greeting-message p.greeting-signature{margin-block-start:.7em;}
    .greeting-message p.greeting-signature img{height:calc(var(--gf) * 8.2);}
    .section-desc{line-height:1.6;}
    .hero-bottom{
      top:0;bottom:0;
    }
    .hero h1{
      position:relative;width:100%;height:100%;
      font-size:clamp(14px,4vw,18px);
      text-shadow:0 1px 3px rgba(0,0,0,0.35),0 2px 10px rgba(0,0,0,0.45);
    }
    .hero h1 .hl-a,.hero h1 .hl-b{
      position:absolute;white-space:nowrap;
    }
    .hero h1 .ln{display:block;}
    .hero h1 .hl-a{top:4px;left:0;}
    .hero h1 .hl-b{bottom:4px;right:0;text-align:right;}
  }

  /* ---------- お知らせ（新着3件＋履歴ダイアログ） ---------- */
  .notice{background:#fff;border-bottom:1px solid var(--border);padding:24px 0;}
  .notice-box{display:flex;align-items:stretch;border:1px solid var(--border);border-radius:12px;background:#fff;overflow:hidden;box-shadow:var(--shadow);}
  .notice-label{flex:0 0 190px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:16px 18px;background:var(--navy);color:#fff;}
  .notice-head{display:flex;flex-direction:column;align-items:center;color:#fff;text-decoration:none;}
  .notice-head b{font-size:15px;font-weight:800;letter-spacing:.14em;line-height:1.3;}
  .notice-head small{font-size:10px;font-weight:700;letter-spacing:.2em;opacity:.7;line-height:1.3;}
  .notice-more{display:inline-block;border:1px solid rgba(255,255,255,.55);border-radius:999px;padding:3px 14px;font-size:12px;font-weight:700;color:#fff;text-decoration:none;white-space:nowrap;transition:background .15s,color .15s;}
  .notice-more:hover{background:#fff;color:var(--navy);}
  .notice-head:focus-visible,.notice-more:focus-visible{outline:2px solid var(--mint);outline-offset:3px;border-radius:6px;}
  .notice-list{list-style:none;margin:0;padding:0;}
  .notice-box>.notice-list{flex:1 1 auto;min-width:0;padding:6px 28px;display:flex;flex-direction:column;justify-content:center;}
  .notice-list li{display:flex;align-items:baseline;gap:4px 14px;padding:12px 0;border-top:1px dashed var(--border);font-size:14px;line-height:1.7;color:var(--text);}
  .notice-list li:first-child{border-top:none;}
  .notice-list time{flex:0 0 auto;min-width:84px;color:var(--muted);font-size:13px;font-weight:700;letter-spacing:.04em;}
  .notice-list .nw{flex:0 0 auto;background:#b3261e;color:#fff;font-size:10px;font-weight:800;letter-spacing:.06em;padding:1px 8px;border-radius:999px;line-height:1.6;align-self:center;}
  .notice-list a.ntitle{flex:1 1 0;min-width:0;color:var(--text);text-decoration:none;word-break:auto-phrase;line-break:strict;overflow-wrap:anywhere;}
  .notice-list a.ntitle:hover{color:var(--teal);text-decoration:underline;}
  .notice-list a.ntitle:focus-visible{outline:2px solid var(--teal);outline-offset:2px;border-radius:4px;}
  .notice-empty{color:var(--muted);}
  @media (max-width:820px){
    .notice{padding:16px 0;}
    .notice-box{flex-direction:column;}
    .notice-label{flex:0 0 auto;flex-direction:row;justify-content:space-between;gap:10px;padding:8px 14px;}
    .notice-head{flex-direction:row;align-items:baseline;gap:8px;}
    .notice-head b{font-size:14px;}
    .notice-box>.notice-list{padding:2px 16px 4px;}
    .notice-list li{flex-wrap:wrap;font-size:13px;padding:10px 0;}
    .notice-list time{min-width:0;font-size:12.5px;}
    .notice-list a.ntitle{flex:1 1 100%;}
  }

  /* ---------- Mobile fixed contact bar (+ hamburger, 右下=親指操作しやすい位置) ---------- */
  .mobile-cta-bar{display:none;}
  @media (max-width:820px){
    .mobile-cta-bar{
      display:block;
      position:fixed;left:0;right:0;bottom:0;z-index:999;
      /* 以前はrgba(...,0.97)+backdrop-filter:blur()の半透明ガラス調にしていたが、
         わずかでも透過があると、下に重なったコンテンツ（角丸カードやiframe枠など）
         の輪郭がブラー越しに薄く透けて見えてしまっていた（今回の「消して」の帯の
         正体）。何が下に来ても透けないよう完全な不透明色に変更し、backdrop-filter
         も廃止する。 */
      background:#f7f6f2;
      /* 以前はborder-top+box-shadowも付けていたが、下の帯が背景コンテンツに
         重なった時に薄い横線として目立ってしまうため廃止した。
         それでもなお、本文側の背景色(--bg:#f7f8fa)とこの帯の背景色
         (#f7f6f2)がごくわずかに異なるため、端末によっては固定表示された
         この帯の上端と本文の継ぎ目にサブピクセル単位の細い线（アンチ
         エイリアシングによる縁）が見えることがある。box-shadowで帯と
         同じ色を上方向にも数px分「にじませて」継ぎ目を覆い隠す。 */
      box-shadow:0 -6px 0 0 #f7f6f2;
      padding:10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    }
    /* お問い合わせボタンとハンバーガーを1つの帯(pill)にまとめる。
       「お問い合わせ」の文字はハンバーガーを含めた帯全体の中央に来るよう、
       アンカー自身の実領域(タップ領域)は広げず、内側にハンバーガーと同じ
       幅(48px)のpadding-leftを入れて中身だけを右に寄せる。
       ※以前はtransform:translateX()で文字ごと右にずらしていたが、
       transformは見た目だけでなく実際のタップ判定領域まで一緒にずらして
       しまい、その分ハンバーガー側にタップ領域が重なってしまっていたため
       padding方式に変更した。 */
    .mobile-cta-bar .cta-pill{
      display:flex;align-items:stretch;
      background:var(--navy);border-radius:8px;overflow:hidden;
    }
    .mobile-cta-bar .cta-pill a{
      flex:1 1 auto;display:flex;align-items:center;justify-content:center;
      height:48px;text-align:center;
      color:#fff;font-weight:700;font-size:14.5px;
      padding-left:48px;
    }
    .mobile-cta-bar .cta-pill .nav-toggle{
      flex:0 0 auto;width:48px;height:48px;
      display:inline-flex;align-items:center;justify-content:center;
      background:transparent;
      color:#fff;margin:0;padding:0;
    }
    .mobile-cta-bar .cta-pill .nav-toggle svg{width:22px;height:22px;}
    /* モバイルは下部固定バーに常時お問い合わせがあるため、ドロップダウン内の重複したお問い合わせ項目は非表示 */
    .nav-cta-item{display:none;}
  }

  /* ---------- お知らせ一覧ページ ---------- */
  html:has(.news-page){background:var(--cream);}
  body:has(.news-page){background:var(--cream);}
  .news-page{padding:48px 0 64px;background:var(--bg);}
  .news-card{max-width:800px;margin:0 auto;background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow);padding:6px 24px;}
  .news-card .notice-list li{padding:14px 0;font-size:14.5px;}
  .news-card.news-detail{padding:28px 30px 32px;}
  .nd-meta{display:flex;align-items:center;gap:10px;margin-bottom:8px;}
  .nd-meta time{color:var(--muted);font-size:13px;font-weight:700;letter-spacing:.04em;}
  .nd-meta .nw{background:#b3261e;color:#fff;font-size:10px;font-weight:800;letter-spacing:.06em;padding:1px 8px;border-radius:999px;line-height:1.6;}
  .nd-title{font-size:20px;line-height:1.55;color:var(--navy);font-weight:700;margin-bottom:18px;padding-bottom:16px;border-bottom:1px solid var(--border);word-break:auto-phrase;line-break:strict;overflow-wrap:anywhere;}
  .nd-body a{color:var(--teal);text-decoration:underline;text-underline-offset:3px;word-break:break-all;}
  .nd-body a:hover{opacity:.75;}
  .nd-body{white-space:pre-wrap;line-height:1.95;font-size:15px;overflow-wrap:anywhere;word-break:auto-phrase;line-break:strict;}
  .nd-img{display:block;margin:0 0 22px;line-height:0;}
  .nd-img img{display:block;max-width:100%;max-height:520px;border-radius:10px;border:1px solid var(--border);}
  .pager{max-width:800px;margin:26px auto 0;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;}
  .pager a,.pager span{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 12px;border-radius:10px;font-size:14px;font-weight:700;text-decoration:none;line-height:1;}
  .pager a{background:#fff;border:1px solid var(--border);color:var(--navy);transition:background .15s,color .15s,border-color .15s;}
  .pager a:hover{background:var(--teal-pale);border-color:var(--teal);color:var(--teal);}
  .pager a:focus-visible{outline:2px solid var(--teal);outline-offset:2px;}
  .pager .pg-cur{background:var(--navy);border:1px solid var(--navy);color:#fff;}
  .pager .pg-gap{min-width:auto;padding:0 2px;color:var(--muted);}
  .pager .pg-nav{padding:0 16px;}
  .nd-nav{max-width:800px;margin:18px auto 0;display:grid;grid-template-columns:1fr 1fr;gap:14px;}
  .nd-nb{white-space:normal;display:flex;flex-direction:column;gap:4px;min-width:0;padding:14px 18px;background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow);text-decoration:none;color:var(--text);transition:border-color .15s;}
  a.nd-nb:hover{border-color:var(--teal);}
  .nd-nb.next{text-align:right;}
  .nd-nb.none{visibility:hidden;box-shadow:none;}
  .nd-nl{font-size:12.5px;font-weight:800;color:var(--teal);letter-spacing:.04em;}
  .nd-nt{font-size:13.5px;line-height:1.6;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere;}
  @media (max-width:560px){.nd-nav{grid-template-columns:1fr;gap:10px;}.nd-nb.none{display:none;}.nd-nb.next{text-align:left;}}
  .news-back{max-width:800px;margin:22px auto 0;text-align:center;}
  .news-back a+a{margin-left:22px;}
  .news-back a{color:var(--teal);font-weight:700;font-size:14px;text-decoration:none;}
  .news-back a:hover{text-decoration:underline;}
  .back-top{margin-left:auto;font-size:13px;font-weight:700;color:var(--navy);text-decoration:none;white-space:nowrap;}
  .back-top:hover{color:var(--teal);}
  @media (max-width:820px){.news-page{padding:28px 0 44px;}.news-card{padding:2px 16px;}.news-card .notice-list li{font-size:13px;}.news-card.news-detail{padding:20px 18px 24px;}.pager{gap:6px;}.pager a,.pager span{min-width:38px;height:38px;padding:0 10px;font-size:13px;}.pager .pg-nav{padding:0 12px;}.nd-title{font-size:17px;}.nd-body{font-size:14px;}}
