@font-face{font-family:'Shippori Mincho';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/shippori-mincho-400.woff2') format('woff2');}
@font-face{font-family:'Shippori Mincho';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/shippori-mincho-700.woff2') format('woff2');}
@font-face{font-family:'Zen Kaku Gothic New';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/zen-kaku-gothic-new-400.woff2') format('woff2');}
@font-face{font-family:'Zen Kaku Gothic New';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/zen-kaku-gothic-new-700.woff2') format('woff2');}
:root{
    --paper:#F1ECDE;
    --paper-rgb:241,236,222;
    --paper-line: rgba(34,32,27,0.14);
    --ink:#201E19;
    --ink-soft:#514C40;
    --ink-faint:#84795F;
    --red:#C0392B;
    --stamp:#2F6B54;
    --gold:#B98A2E;
    --surface:#FFFFFF;
    --surface-rgb:255,255,255;
    --border:#C9BC98;
    --radius:2px;
    --cta-sub:#C9C3B2;
    color-scheme: light;
  }
  @media (prefers-color-scheme: dark){
    :root:not([data-theme="light"]){
      --paper:#18160F;
      --paper-rgb:24,22,15;
      --paper-line: rgba(255,252,240,0.09);
      --ink:#F2EEDF;
      --ink-soft:#C7C0A8;
      --ink-faint:#8E876E;
      --red:#E06A56;
      --stamp:#5FBE96;
      --gold:#D9A93E;
      --surface:#231F16;
      --surface-rgb:35,31,22;
      --border:#433D2B;
      --cta-sub:#6B6450;
      color-scheme: dark;
    }
  }
  :root[data-theme="dark"]{
    --paper:#18160F;
    --paper-rgb:24,22,15;
    --paper-line: rgba(255,252,240,0.09);
    --ink:#F2EEDF;
    --ink-soft:#C7C0A8;
    --ink-faint:#8E876E;
    --red:#E06A56;
    --stamp:#5FBE96;
    --gold:#D9A93E;
    --surface:#231F16;
    --surface-rgb:35,31,22;
    --border:#433D2B;
    --cta-sub:#6B6450;
    color-scheme: dark;
  }
  *{box-sizing:border-box;margin:0;padding:0;}
  html{scroll-behavior:smooth;}
  body{
    font-family:'Zen Kaku Gothic New', sans-serif;
    color:var(--ink);
    background-color:var(--paper);
    background-image:
      linear-gradient(var(--paper-line) 1.2px, transparent 1.2px),
      linear-gradient(90deg, var(--paper-line) 1.2px, transparent 1.2px);
    background-size: 32px 32px;
    line-height:1.85;
    -webkit-font-smoothing:antialiased;
    transition: background-color .3s ease, color .3s ease;
  }
  body.modal-open{overflow:hidden;}
  a{color:inherit;}
  .mincho{font-family:'Shippori Mincho', serif;}
  .wrap{max-width:1080px;margin:0 auto;padding:0 24px;}
  img{max-width:100%;display:block;}

  /* ===== Header ===== */
  header{
    position:sticky; top:0; z-index:40;
    background:rgba(var(--paper-rgb),0.92);
    backdrop-filter: blur(6px);
    border-bottom:1px solid var(--border);
  }
  .header-inner{
    max-width:1080px;margin:0 auto;padding:14px 24px;
    display:flex;align-items:center;gap:32px;
  }
  .brand{
    font-family:'Shippori Mincho', serif;
    font-size:18px; font-weight:700; letter-spacing:.04em;
    display:flex; align-items:center; gap:10px;
    padding-right:24px; border-right:1px solid var(--border);
  }
  .brand .seal{
    width:24px;height:24px;border:1.6px solid var(--red);border-radius:50%;
    display:flex;align-items:center;justify-content:center;
    font-family:'Shippori Mincho',serif; font-size:12px; color:var(--red);
    transform:rotate(-6deg); flex-shrink:0;
  }
  nav{display:flex;gap:24px;font-size:13.5px; flex:1;}
  nav a{text-decoration:none;color:var(--ink-soft);position:relative;padding:4px 0;}
  nav a:hover{color:var(--ink);}
  nav a::after{
    content:'';position:absolute;left:0;bottom:-2px;width:0;height:1px;background:var(--red);
    transition:width .25s ease;
  }
  nav a:hover::after{width:100%;}
  @media (max-width:760px){ nav{display:none;} }

  .theme-switch{
    display:inline-flex; align-items:center; gap:2px;
    border:1.4px solid var(--border); border-radius:999px; padding:3px;
    background:var(--surface); flex-shrink:0;
  }
  .theme-switch__btn{
    width:28px;height:28px;border-radius:50%; border:none; background:transparent;
    color:var(--ink-faint); cursor:pointer; font-size:13px;
    display:flex; align-items:center; justify-content:center;
    transition: background .25s ease, color .25s ease, box-shadow .25s ease;
  }
  .theme-switch__btn:hover{ color:var(--ink); }
  .theme-switch__btn.is-active{
    background:var(--gold); color:#fff;
    box-shadow:0 0 0 1px var(--gold), 0 0 10px rgba(185,141,46,.55);
  }
  .theme-switch__btn.is-active:hover{ color:#fff; }

  /* ===== Marquee ===== */
  .marquee{
    overflow:hidden; border-top:1px solid var(--border); border-bottom:1px solid var(--border);
    background:var(--surface); padding:14px 0;
  }
  .marquee-track{
    display:inline-flex; white-space:nowrap; animation:marquee 26s linear infinite;
  }
  .marquee-track span{
    font-family:'Shippori Mincho',serif; font-size:13px; letter-spacing:.06em; color:var(--ink-soft);
    padding:0 4px;
  }
  .marquee-track .sep{ color:var(--red); padding:0 22px; font-family:sans-serif; }
  @keyframes marquee{ from{transform:translateX(0);} to{transform:translateX(-50%);} }
  @media (prefers-reduced-motion: reduce){ .marquee-track{ animation:none; } }

  /* ===== Section shell ===== */
  section{padding:76px 0;}
  .eyebrow-row{
    display:flex;align-items:center;gap:12px;margin-bottom:14px;
  }
  .stamp{
    width:40px;height:40px;border-radius:50%;
    border:2px solid var(--red);color:var(--red);
    font-family:'Shippori Mincho',serif;font-size:16px;font-weight:700;
    display:flex;align-items:center;justify-content:center;
    transform:scale(1.7) rotate(-10deg); opacity:0;
    transition: transform .5s cubic-bezier(.2,1.4,.4,1), opacity .35s ease;
    flex-shrink:0;
  }
  .stamp.in-view{ transform:scale(1) rotate(-8deg); opacity:1; }
  .eyebrow{
    font-size:12.5px; letter-spacing:.16em; color:var(--ink-faint);
  }
  h2.section-title{
    font-family:'Shippori Mincho',serif; font-size:clamp(22px,3vw,30px);
    font-weight:700; margin-bottom:14px; line-height:1.5;
  }
  .section-lead{color:var(--ink-soft); font-size:14.5px; max-width:640px; margin-bottom:48px;}

  /* ===== Hero ===== */
  .hero{
    padding:36px 0 90px;
    border-bottom:1px solid var(--border);
  }
  .hero .wrap{
    display:grid; grid-template-columns:7fr 3fr; gap:48px; align-items:center;
  }
  .hero-visual{
    position:relative; display:flex; align-items:center; justify-content:center;
    min-height:380px;
  }
  .seal-cluster{ display:flex; flex-direction:column; align-items:center; }
  .hero-visual .plate{
    width:230px;height:230px; border-radius:50%;
    border:3px solid var(--red); color:var(--red);
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    font-family:'Shippori Mincho',serif; transform:rotate(-9deg);
    background:rgba(var(--surface-rgb),0.5);
    animation: plateIn .7s .3s cubic-bezier(.2,1.3,.4,1) both;
  }
  .hero-visual .plate .big{font-size:52px; font-weight:700; letter-spacing:.06em; line-height:1;}
  .hero-visual .plate .small{
    font-size:11px; letter-spacing:.16em; margin-top:10px;
    max-width:76%; text-align:center; line-height:1.6;
  }
  @keyframes plateIn{ from{opacity:0; transform:rotate(-9deg) scale(.7);} to{opacity:1; transform:rotate(-9deg) scale(1);} }
  .floater{
    position:absolute; font-family:'Shippori Mincho',serif; color:var(--ink-faint);
    border:1px solid var(--border); background:var(--surface); border-radius:999px;
    padding:6px 14px; font-size:12px; box-shadow:0 8px 18px rgba(0,0,0,0.06);
  }
  .floater.f1{top:-9%; left:-6%; transform:rotate(-6deg); color:var(--red); border-color:var(--red);}
  .floater.f2{bottom:-1%; right:4%; transform:rotate(4deg);}
  .floater.f3{bottom:-1%; left:2%; transform:rotate(3deg);}
  @media (max-width:900px){
    .hero .wrap{ grid-template-columns:1fr; }
    .hero-visual{ min-height:220px; order:-1; }
    .hero-visual .plate{ width:150px;height:150px; }
    .hero-visual .plate .big{font-size:34px;}
    .hero-visual .plate .small{font-size:9px; letter-spacing:.08em; max-width:80%;}
  }
  .hero-tag{
    display:inline-block; font-size:12px; letter-spacing:.1em;
    border:1px solid var(--border); padding:6px 14px; border-radius:999px;
    color:var(--ink-soft); background:var(--surface);
  }
  .hero-tags{ display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-bottom:28px; }
  .hero-tag--accent{
    border-color:var(--red); color:var(--red); font-weight:700; background:transparent;
    margin-left:auto;
  }
  @media (max-width:900px){
    .hero-tags{ flex-direction:column; align-items:flex-start; gap:8px; }
    .hero-tag--accent{ margin-left:0; align-self:flex-start; }
  }
  .genko{
    display:inline-flex; gap:6px; margin-bottom:28px; flex-wrap:wrap;
  }
  .genko .cell{
    width:42px;height:42px;
    border:1px solid var(--ink-faint);
    background:var(--surface);
    display:flex;align-items:center;justify-content:center;
    font-family:'Shippori Mincho',serif; font-size:20px; position:relative;
  }
  .genko--seal{ margin:0 0 18px; justify-content:center; }
  .genko--seal .cell{ width:32px;height:32px; font-size:15px; }
  .genko .cell.marked{position:relative;}
  .genko .mark-circle{
    position:absolute; inset:-9px; overflow:visible;
  }
  .genko .mark-circle ellipse{
    fill:none; stroke:var(--red); stroke-width:2.4;
    stroke-dasharray: 220; stroke-dashoffset:220;
    animation: draw 1.1s .6s ease forwards;
  }
  @keyframes draw{ to{ stroke-dashoffset:0; } }

  .hero h1{
    font-family:'Shippori Mincho',serif;
    font-size:clamp(28px, 4.4vw, 44px);
    line-height:1.6; font-weight:700; max-width:820px; margin-bottom:10px;
  }
  .hero h1 .accent{color:var(--red);}
  @media (max-width:480px){
    .hero h1{ font-size:clamp(18px, 5.3vw, 24px); line-height:1.5; }
  }
  .hero h2.sub-en{
    font-family:'Shippori Mincho',serif; font-weight:400;
    font-size:clamp(15px,1.8vw,18px); color:var(--ink-soft); margin-bottom:36px;
  }
  .hero-copy{max-width:620px; color:var(--ink-soft); font-size:15px; margin-bottom:40px;}
  .hero-copy p{margin-bottom:18px;}
  .hero-copy strong{color:var(--ink); font-weight:700; border-bottom:1px solid var(--red);}

  .cta-row{display:flex; gap:16px; flex-wrap:wrap;}
  .btn{
    display:inline-flex; align-items:center; gap:8px;
    padding:14px 26px; font-size:14px; font-weight:700;
    border-radius:999px; cursor:pointer; text-decoration:none;
    border:1.6px solid var(--ink); transition:all .2s ease;
  }
  .btn-primary{background:var(--ink); color:var(--paper);}
  .btn-primary:hover{background:var(--gold); border-color:var(--gold);}
  .btn-secondary{background:transparent; color:var(--ink);}
  .btn-secondary:hover{border-color:var(--gold); color:var(--gold);}

  /* ===== Strengths ===== */
  .strength-grid{
    display:grid; grid-template-columns:repeat(3,1fr); gap:1px;
    background:var(--border); border:1px solid var(--border);
  }
  .strength-card{
    background:var(--surface); padding:34px 28px;
  }
  .strength-card .mark{
    font-family:'Shippori Mincho',serif; color:var(--red); font-size:13px;
    border:1px solid var(--red); border-radius:50%;
    width:30px;height:30px; display:flex;align-items:center;justify-content:center;
    margin-bottom:18px;
  }
  .strength-card h3{font-family:'Shippori Mincho',serif; font-size:17px; margin-bottom:12px;}
  .strength-card p{font-size:13.5px; color:var(--ink-soft);}

  /* ===== Why us (badge breakdown) ===== */
  .why-us .stamp{ border-color:var(--red); color:var(--red); }
  .why-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--border); border:1px solid var(--border); }
  .why-card{ background:var(--surface); padding:36px 30px; border-top:3px solid var(--red); }
  .why-label{ font-family:'Shippori Mincho',serif; font-size:26px; font-weight:700; color:var(--red); margin-bottom:8px; }
  .why-sub{ font-size:11.5px; letter-spacing:.1em; color:var(--ink-faint); margin-bottom:16px; }
  .why-card p:last-child{ font-size:13px; color:var(--ink-soft); line-height:1.85; }
  @media (max-width:760px){ .why-grid{ grid-template-columns:1fr; } }

  /* ===== Credentials / 実績根拠 ===== */
  .stat-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--border); border:1px solid var(--border); }
  .stat-card{ background:var(--surface); padding:34px 28px; text-align:center; }
  .stat-num{ font-family:'Shippori Mincho',serif; font-size:36px; color:var(--gold); line-height:1; margin-bottom:12px; }
  .stat-num span{ font-size:15px; margin-left:2px; color:var(--gold); }
  .stat-label{ font-size:13px; color:var(--ink-soft); line-height:1.7; }
  .cred-detail{ display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--border); border:1px solid var(--border); border-top:none; }
  .cred-block{ background:var(--surface); padding:32px 28px; }
  .cred-block h3{ font-family:'Shippori Mincho',serif; font-size:15px; margin-bottom:16px; color:var(--ink); }
  .cred-process{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
  .cred-process .step{ font-size:13px; color:var(--ink-soft); background:var(--paper); border:1px solid var(--border); padding:7px 13px; border-radius:4px; }
  .cred-process .arrow{ color:var(--red); font-size:14px; }
  .scope-list{ display:flex; flex-wrap:wrap; gap:8px; }
  .scope-chip{ font-size:12px; padding:6px 13px; border:1px solid var(--border); border-radius:100px; color:var(--ink-soft); background:var(--paper); }
  @media (max-width:760px){ .stat-row, .cred-detail{ grid-template-columns:1fr; } }
  @media (max-width:760px){ .strength-grid{grid-template-columns:1fr;} }

  /* ===== Gallery / demo selector (uploaded component, restyled) ===== */
  .demo-section{
    background-color:var(--paper);
    background-image:
      linear-gradient(var(--paper-line) 1.2px, transparent 1.2px),
      linear-gradient(90deg, var(--paper-line) 1.2px, transparent 1.2px);
    background-size: 32px 32px;
    border-top:1px solid var(--border); border-bottom:1px solid var(--border);
  }
  .selector-panel{
    background:var(--paper); border:1px solid var(--border); border-radius:var(--radius); padding:26px;
  }
  .selector-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:14px;}
  .select-item{
    display:flex; align-items:flex-start; gap:12px; padding:16px;
    border:1.4px solid var(--border); border-radius:var(--radius);
    cursor:pointer; background:var(--surface); transition:all .2s ease; user-select:none;
    position:relative;
  }
  .item-num{
    position:absolute; top:10px; right:12px;
    font-family:'Shippori Mincho',serif; font-size:11px; color:var(--ink-faint);
    letter-spacing:.05em;
  }
  .select-item:hover{border-color:var(--ink-faint);}
  .select-item input[type="checkbox"]{
    width:17px;height:17px; margin-top:3px; accent-color:var(--stamp); cursor:pointer;
  }
  .select-item.is-selected{border-color:var(--stamp); background:color-mix(in srgb, var(--stamp) 10%, var(--surface));}
  .select-item.is-disabled{opacity:.45; cursor:not-allowed; background:var(--paper);}
  .select-item.is-disabled input{cursor:not-allowed;}
  .item-badge{
    display:inline-block; font-size:10px; font-weight:700; letter-spacing:.04em;
    background:var(--ink); color:var(--paper); padding:2px 7px; border-radius:3px; margin-bottom:6px;
  }
  .item-badge--muted{ background:var(--ink-faint); }
  .item-title{font-size:14px; font-weight:700; color:var(--ink); margin-bottom:5px;}
  .item-desc{font-size:12px; color:var(--ink-soft); line-height:1.55;}

  .select-item--link{
    text-decoration:none; border-style:dashed; align-items:center;
    justify-content:space-between; background:var(--paper);
  }
  .select-item--link:hover{ border-color:var(--red); }
  .select-item--link .link-arrow{
    font-size:18px; color:var(--red); flex-shrink:0; align-self:center;
  }

  .result-panel{animation: fadeIn .5s ease forwards;}
  .result-title{font-family:'Shippori Mincho',serif; font-size:18px; margin-bottom:26px; text-align:center;}
  .demo-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
  .demo-card{
    background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
    overflow:hidden; display:flex; flex-direction:column; position:relative;
    animation:popUp .4s ease forwards;
  }
  .card-badge{
    position:absolute; top:12px; left:12px; background:rgba(34,32,27,0.85); color:#fff;
    font-size:10.5px; padding:4px 8px; border-radius:3px;
  }
  .card-thumb{ position:relative; }
  .card-thumb img{width:100%; height:170px; object-fit:cover;}
  .ui-mock{
    position:absolute; right:10px; bottom:10px; width:108px;
    background:#fff; border:1px solid var(--border); border-radius:6px;
    padding:9px; box-shadow:0 10px 22px rgba(0,0,0,0.3);
  }
  .ui-mock__bar{ display:flex; gap:3px; margin-bottom:7px; }
  .ui-mock__bar span{ width:5px;height:5px;border-radius:50%; background:#DED6C2; }
  .ui-mock__line{ height:5px; border-radius:2px; background:#EDE7D6; margin-bottom:5px; }
  .ui-mock__line:nth-child(2){ width:88%; }
  .ui-mock__line:nth-child(3){ width:60%; }
  .ui-mock__line:nth-child(4){ width:72%; }
  .ui-mock__btn{ height:12px; width:55%; border-radius:3px; background:var(--red); margin-top:2px; }
  .ui-mock__label{
    font-size:8.5px; color:#8B8368; margin-top:6px; letter-spacing:.02em;
  }
  .card-content{padding:20px; display:flex; flex-direction:column; flex-grow:1;}
  .card-content h3{font-family:'Shippori Mincho',serif; font-size:15.5px; margin-bottom:10px;}
  .card-desc{font-size:12.5px; color:var(--ink-soft); margin-bottom:14px;}
  .ux-point{
    background:var(--paper); border-left:3px solid var(--red); padding:8px 10px;
    font-size:11.5px; color:var(--ink-soft); margin-bottom:16px;
  }
  .ux-point strong{color:var(--ink);}
  .card-open-btn{
    display:block; width:100%; padding:11px 0; background:var(--ink); color:var(--paper);
    border:none; border-radius:4px; font-size:12.5px; font-weight:700; cursor:pointer;
    margin-top:auto; transition:background .2s ease;
  }
  .card-open-btn:hover{background:var(--red);}
  .reselect-wrapper{text-align:center; margin-top:40px;}
  .reselect-btn{
    padding:12px 26px; background:transparent; color:var(--ink); border:1.4px solid var(--ink);
    border-radius:999px; font-size:13px; font-weight:700; cursor:pointer;
  }
  .reselect-btn:hover{border-color:var(--red); color:var(--red);}

  .execute-btn{
    display:none; position:fixed; bottom:28px; left:50%; transform:translateX(-50%);
    padding:13px 30px 13px 22px; border-radius:999px; font-weight:700; font-size:14.5px;
    color:#fff; border:none; cursor:pointer; box-shadow:0 10px 28px rgba(34,32,27,0.25);
    overflow:hidden; z-index:100; align-items:center; gap:10px;
    transition:transform .3s ease; --charge:0%; --btn-color:var(--red);
    background:linear-gradient(to right, var(--btn-color) var(--charge), #3a362c var(--charge));
  }
  .btn-text, .stamp-icon{position:relative; z-index:2;}
  .stamp-icon{
    width:22px;height:22px;border-radius:50%;border:1.6px solid #fff;
    display:flex;align-items:center;justify-content:center;font-family:'Shippori Mincho',serif;font-size:11px;
  }
  .execute-btn.is-max{ transform:translateX(-50%) scale(1.06); }
  .execute-btn.launch .stamp-icon{ animation: stampDown .45s ease; }
  @keyframes stampDown{
    0%{transform:scale(1) rotate(0deg);}
    40%{transform:scale(0.72) rotate(-14deg);}
    70%{transform:scale(1.15) rotate(-4deg);}
    100%{transform:scale(1) rotate(0deg);}
  }

  .demo-modal{
    display:none; position:fixed; inset:0; background:rgba(20,18,14,0.9); z-index:9999; flex-direction:column;
  }
  .demo-modal.is-active{display:flex; animation:fadeIn .3s ease forwards;}
  .modal-header{
    height:52px; background:var(--ink); color:var(--paper); display:flex;
    justify-content:space-between; align-items:center; padding:0 20px; flex-shrink:0;
  }
  .modal-title{font-size:13.5px; font-weight:700; font-family:'Shippori Mincho',serif;}
  .close-btn{
    background:var(--red); color:#fff; border:none; padding:7px 16px; border-radius:999px;
    font-size:12px; font-weight:700; cursor:pointer;
  }
  .modal-body{flex-grow:1; width:100%; height:calc(100vh - 52px); background:#fff;}
  .modal-body iframe{width:100%; height:100%; border:none; display:block;}
  .modal-note{
    padding:14px 20px; font-size:12px; color:var(--ink-soft); background:var(--paper);
    border-top:1px solid var(--border);
  }

  @keyframes fadeIn{from{opacity:0;} to{opacity:1;}}
  @keyframes popUp{from{opacity:0; transform:scale(.96);} to{opacity:1; transform:scale(1);}}
  @media (max-width:900px){ .selector-grid, .demo-grid{grid-template-columns:1fr;} }

  /* ===== Capabilities (技術デモ・対応できること) ===== */
  .cap-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
  .cap-card{
    background:var(--surface); border:1px solid var(--border); border-radius:8px;
    padding:26px; display:flex; flex-direction:column;
  }
  .cap-card h3{ font-family:'Shippori Mincho',serif; font-size:15px; margin:10px 0 8px; }
  .cap-card p{ font-size:12.5px; color:var(--ink-soft); margin-bottom:18px; flex-grow:1; }
  .cap-card .card-open-btn{
    width:100%; padding:10px 0; background:transparent; color:var(--ink);
    border:1.4px solid var(--ink); border-radius:4px; font-size:12.5px; font-weight:700;
    cursor:pointer; transition:all .2s ease;
  }
  .cap-card .card-open-btn:hover{ background:var(--ink); color:var(--paper); }
  @media (max-width:760px){ .cap-grid{ grid-template-columns:1fr; } }
  .flow-list{display:flex; flex-direction:column; gap:14px;}
  .flow-item{
    display:grid; grid-template-columns:80px 1fr; gap:24px; padding:26px 24px;
    background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
    transition: border-color .2s ease, transform .2s ease;
  }
  .flow-item:hover{ border-color:var(--red); transform:translateX(4px); }
  .flow-num{display:flex; gap:2px; align-self:start;}
  .flow-num span{
    width:24px;height:32px; border:1px solid var(--ink-faint); background:var(--paper);
    display:flex; align-items:center; justify-content:center;
    font-family:'Shippori Mincho',serif; font-size:14px;
  }
  .flow-item h3{font-family:'Shippori Mincho',serif; font-size:16.5px; margin-bottom:8px;}
  .flow-item p{font-size:13.5px; color:var(--ink-soft); max-width:560px;}
  @media (max-width:600px){
    .flow-item{ grid-template-columns:56px 1fr; gap:16px; padding:20px 16px; }
  }

  /* ===== Pricing (Google One風カードグリッド) ===== */
  .pricing-carousel{ position:relative; }
  .pricing-grid{
    display:grid; grid-template-columns:repeat(3,1fr); gap:20px; align-items:stretch;
  }
  .price-card{
    background:var(--surface); border:1.4px solid var(--border); border-radius:10px;
    padding:32px 26px; display:flex; flex-direction:column; cursor:pointer;
    position:relative; transition: border-color .2s ease, transform .25s ease, box-shadow .25s ease;
  }
  .price-card:hover{ transform:translateY(-4px); box-shadow:0 16px 30px rgba(0,0,0,0.08); }
  .price-card.is-featured{
    border-color:var(--stamp); border-width:2px;
    transform:translateY(-8px) scale(1.02);
    box-shadow:0 18px 34px rgba(0,0,0,0.1);
  }
  .price-card .featured-badge{
    position:absolute; top:-13px; left:50%; transform:translateX(-50%);
    background:#2F6B54; color:#fff; font-size:11px; font-weight:700;
    padding:4px 14px; border-radius:999px; letter-spacing:.04em; white-space:nowrap;
    opacity:0; transition:opacity .2s ease; pointer-events:none;
  }
  .price-card.is-featured .featured-badge{ opacity:1; }
  .price-card .plan-name{
    font-family:'Shippori Mincho',serif; font-size:16.5px; font-weight:700; margin-bottom:6px;
  }
  .price-card .plan-price{
    font-family:'Shippori Mincho',serif; font-size:30px; font-weight:700; margin-bottom:4px;
  }
  .price-card .plan-price span{ font-size:13px; font-weight:400; color:var(--ink-soft); }
  .price-card .plan-tax{ font-size:11.5px; color:var(--ink-faint); margin-bottom:14px; }
  .price-card .plan-desc{ font-size:12.5px; color:var(--ink-faint); margin-bottom:22px; }
  .price-card ul{ list-style:none; margin-bottom:26px; flex-grow:1; }
  .price-card li{
    font-size:13px; color:var(--ink-soft); padding-left:22px; position:relative; margin-bottom:12px; line-height:1.6;
  }
  .price-card li::before{
    content:'✓'; position:absolute; left:0; top:0; color:var(--stamp); font-weight:700;
  }
  .price-card .btn{ width:100%; justify-content:center; position:relative; z-index:2; }

  .carousel-nav{
    position:absolute; top:50%; transform:translateY(-50%);
    width:46px;height:46px; border-radius:50%; border:2px solid var(--gold);
    background:var(--paper); color:var(--gold); font-size:18px;
    display:flex; align-items:center; justify-content:center; cursor:pointer;
    transition: background .2s ease, color .2s ease;
    z-index:3;
  }
  .carousel-nav:hover{ background:var(--gold); color:#fff; }
  .carousel-nav.prev{ left:-58px; }
  .carousel-nav.next{ right:-58px; }
  @media (max-width:1180px){
    .carousel-nav.prev{ left:-8px; }
    .carousel-nav.next{ right:-8px; }
  }
  @media (max-width:900px){
    .pricing-grid{grid-template-columns:1fr; max-width:420px; margin:0 auto;}
    .carousel-nav{ display:none; }
  }

  /* ===== CTA ===== */
  .cta-section{
    background:var(--ink); color:var(--paper); text-align:center; border-radius:2px;
    padding:70px 40px; margin:0 24px;
  }
  .cta-section h2{font-family:'Shippori Mincho',serif; font-size:clamp(20px,3vw,28px); margin-bottom:14px;}
  .cta-section p{color:var(--cta-sub); font-size:14px; margin-bottom:30px;}
  .cta-section .btn-primary{background:color-mix(in srgb, var(--gold) 62%, black); border-color:color-mix(in srgb, var(--gold) 62%, black); color:#fff;}
  .cta-section .btn-primary:hover{background:var(--gold); border-color:var(--gold);}

  .cta-arrow{ width:70px; height:58px; margin:0 auto -6px; }
  .cta-arrow svg{ width:100%; height:100%; overflow:visible; }
  .cta-arrow path{
    fill:none; stroke:var(--gold); stroke-width:3; stroke-linecap:round; stroke-linejoin:round;
    stroke-dasharray:140; stroke-dashoffset:140;
  }
  .cta-arrow.in-view path{ animation: arrowDraw .7s .15s ease forwards; }
  @keyframes arrowDraw{ to{ stroke-dashoffset:0; } }

  footer{padding:50px 0 40px; border-top:1px solid var(--border); margin-top:40px;}
  .footer-inner{display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px 20px; font-size:12px; color:var(--ink-faint);}
  .footer-links a{ color:var(--ink-faint); }
  .footer-links a:hover{ color:var(--red); }

  /* ===== Contact form ===== */
  .contact-form-card{
    background:var(--surface); border:1px solid var(--border); border-radius:10px;
    padding:44px; margin-top:56px;
  }
  .form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:14px; }
  .form-field{ display:flex; flex-direction:column; gap:6px; margin-bottom:14px; }
  .form-field--full{ grid-column:1 / -1; }
  .form-field span{ font-size:12.5px; font-weight:700; color:var(--ink); display:flex; align-items:center; gap:8px; }
  .form-field em{
    font-style:normal; font-size:10px; font-weight:700; color:#fff; background:#B4321F;
    padding:1px 6px; border-radius:3px; letter-spacing:.04em;
  }
  .form-field em.optional{ background:#5F5948; }
  .form-field input, .form-field select, .form-field textarea{
    font-family:inherit; font-size:13.5px; color:var(--ink); background:var(--paper);
    border:1.4px solid var(--border); border-radius:6px; padding:8px 12px;
    transition:border-color .2s ease;
  }
  .form-field input:focus, .form-field select:focus, .form-field textarea:focus{
    outline:none; border-color:var(--gold);
  }
  .form-field textarea{ resize:vertical; }
  .policy-note{
    font-size:13px; color:var(--ink-soft); margin-bottom:28px;
  }
  .policy-link{ color:var(--ink); font-weight:700; text-decoration-color:var(--red); }
  .policy-link:hover{ color:var(--red); }
  .form-actions{ display:flex; justify-content:flex-end; }
  .form-submit{ display:inline-flex; }
  .contact-form-card .form-submit.btn-primary{ background:#1D4635; border-color:#1D4635; color:#fff; }
  .contact-form-card .form-submit.btn-primary:hover{ background:var(--stamp); border-color:var(--stamp); }
  /* 送信中インジケータ（不定長プログレスバー） */
  .form-progress{
    height:3px; margin-top:16px; border-radius:2px; overflow:hidden;
    background:color-mix(in srgb, var(--stamp) 20%, transparent);
  }
  .form-progress::after{
    content:''; display:block; height:100%; width:40%;
    background:var(--stamp); border-radius:2px;
    animation:formProgress 1.1s ease-in-out infinite;
  }
  @keyframes formProgress{
    from{ transform:translateX(-100%); }
    to{ transform:translateX(250%); }
  }
  @media (prefers-reduced-motion: reduce){
    .form-progress::after{ animation:none; width:100%; }
  }
  .form-note{
    margin-top:16px; font-size:13.5px; color:var(--stamp); font-weight:700;
    text-align:left; line-height:1.9;
    padding:12px 14px; border-left:3px solid var(--stamp); border-radius:0 4px 4px 0;
    background:color-mix(in srgb, var(--stamp) 5%, transparent);
  }
  .field-hint{
    margin-top:8px; font-size:12.5px; line-height:1.8; color:var(--red);
    padding-left:10px; border-left:2px solid var(--red);
  }
  .form-note__mail{ text-decoration:underline; text-underline-offset:3px; word-break:break-all; }
  .form-note--error{
    color:var(--red); border-left-color:var(--red);
    background:color-mix(in srgb, var(--red) 5%, transparent);
  }
  @media (max-width:700px){
    .contact-form-card{ padding:28px 22px; }
    .form-grid{ grid-template-columns:1fr; }
  }

  /* ===== Privacy policy modal ===== */
  .policy-modal{
    display:none; position:fixed; inset:0; background:rgba(20,18,14,0.55);
    z-index:9999; align-items:center; justify-content:center; padding:24px;
  }
  .policy-modal.is-active{ display:flex; animation:fadeIn .25s ease forwards; }
  .policy-modal__box{
    background:var(--surface); border-radius:8px; max-width:640px; width:100%;
    padding:38px; position:relative; max-height:82vh; overflow:auto;
    border:1px solid var(--border);
  }
  .policy-modal__box h3{ font-size:18px; margin-bottom:20px; padding-right:80px; }
  .policy-modal__body p{ font-size:13px; color:var(--ink-soft); margin-bottom:12px; line-height:1.8; }
  .policy-modal__body h4{
    font-family:'Shippori Mincho',serif; font-size:14px; color:var(--ink);
    margin:24px 0 8px; padding-top:16px; border-top:1px solid var(--border);
  }
  .policy-modal__body h4:first-of-type{ border-top:none; padding-top:0; margin-top:8px; }
  .policy-modal__body ul{ margin:0 0 12px 20px; }
  .policy-modal__body li{ font-size:13px; color:var(--ink-soft); line-height:1.8; margin-bottom:4px; }
  .policy-modal__meta{
    background:var(--paper); border:1px solid var(--border); border-radius:6px;
    padding:14px 16px; font-size:12.5px; line-height:1.9;
  }
  .policy-modal__flag{ font-size:11.5px; color:var(--red); margin-top:14px; }
  .policy-modal__box .close-btn{ position:absolute; top:18px; right:18px; }

  /* --- 2026-09 改善：スキップリンク・中間CTA・追従CTA --- */
  .skip-link{
    position:absolute; left:-9999px; top:0; z-index:200;
    background:var(--ink); color:var(--paper); padding:10px 18px; font-size:14px;
  }
  .skip-link:focus{ left:8px; top:8px; }

  .cta-mid{ padding:56px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
  .cta-mid__inner{
    display:flex; align-items:center; justify-content:space-between; gap:28px; flex-wrap:wrap;
  }
  .cta-mid__text{ font-size:15.5px; line-height:1.9; color:var(--ink-soft); }
  .cta-mid__text strong{ color:var(--ink); }
  @media(max-width:767px){
    .cta-mid{ padding:40px 0; }
    .cta-mid__inner{ flex-direction:column; align-items:flex-start; }
  }

  .sticky-cta{ display:none; }
  @media(max-width:767px){
    .sticky-cta{
      position:fixed; left:16px; right:16px; bottom:16px; z-index:150;
      display:flex; align-items:center; justify-content:center;
      padding:14px 16px; border-radius:var(--radius);
      background:#B4321F; color:#fff; font-size:15px; font-weight:700;
      text-decoration:none; box-shadow:0 6px 20px rgba(0,0,0,.22);
    }
    body{ padding-bottom:78px; }
  }
  @media(prefers-reduced-motion:reduce){
    html{ scroll-behavior:auto; }
  }
