
    :root{--ink:#172033;--muted:#667085;--blue:#0d5bd7;--cyan:#00a6d6;--orange:#ff8a00;--paper:#f6f8fb;--white:#fff;--line:#e6eaf0;--shadow:0 22px 70px rgba(23,32,51,.12);--radius:24px}
    *{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic","Noto Sans JP",sans-serif;color:var(--ink);background:var(--white);line-height:1.75;letter-spacing:.02em}a{color:inherit;text-decoration:none}button{font:inherit;border:0;cursor:pointer}.text-reveal{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;background:#eef5ff;color:var(--blue);font-weight:800}.privacy-note{margin-top:16px;color:var(--muted);font-size:13px}.wrap{width:min(1120px,calc(100% - 40px));margin-inline:auto}
    header{position:sticky;top:0;z-index:20;backdrop-filter:blur(16px);background:rgba(255,255,255,.82);border-bottom:1px solid rgba(230,234,240,.8)}.nav{height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{font-weight:800;font-size:18px;letter-spacing:.06em}.brand span{display:block;font-size:11px;color:var(--muted);font-weight:700;letter-spacing:.14em}.navlinks{display:flex;align-items:center;gap:24px;font-size:14px;font-weight:700}
    .btn{display:inline-flex;align-items:center;justify-content:center;gap:.5em;padding:13px 20px;border-radius:999px;background:var(--ink);color:#fff;font-weight:800;box-shadow:0 12px 28px rgba(23,32,51,.18);transition:.2s ease}.btn:hover{transform:translateY(-2px);box-shadow:0 18px 34px rgba(23,32,51,.22)}.btn.sub{background:#fff;color:var(--ink);border:1px solid var(--line);box-shadow:none}
    .hero{position:relative;overflow:hidden;background:radial-gradient(circle at 12% 20%,rgba(0,166,214,.22),transparent 30%),radial-gradient(circle at 84% 12%,rgba(255,138,0,.22),transparent 28%),linear-gradient(135deg,#f8fbff 0%,#eef5ff 54%,#fff7ed 100%);padding:88px 0 74px}.hero:before{content:"";position:absolute;inset:0;opacity:.18;background-image:linear-gradient(90deg,#172033 1px,transparent 1px),linear-gradient(#172033 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(to bottom,#000,transparent 78%)}.hero-grid{position:relative;display:grid;grid-template-columns:1.04fr .96fr;gap:46px;align-items:center}.eyebrow{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:999px;background:rgba(13,91,215,.09);color:var(--blue);font-size:13px;font-weight:800;margin-bottom:18px}h1{font-size:clamp(36px,6vw,68px);line-height:1.12;margin:0 0 22px;letter-spacing:.01em}.lead{font-size:clamp(16px,2vw,20px);color:#394150;margin:0 0 32px;max-width:680px}.hero-actions{display:flex;gap:14px;flex-wrap:wrap}.hero-card{background:rgba(255,255,255,.86);border:1px solid rgba(255,255,255,.9);border-radius:34px;padding:26px;box-shadow:var(--shadow);position:relative;overflow:hidden}
    .print-art{min-height:430px;border-radius:26px;background:linear-gradient(135deg,rgba(13,91,215,.95),rgba(0,166,214,.85)),radial-gradient(circle at 80% 18%,rgba(255,138,0,.95),transparent 30%);position:relative;overflow:hidden;color:white;padding:28px}.sheet{position:absolute;background:#fff;border-radius:12px;box-shadow:0 22px 40px rgba(0,0,0,.18)}.s1{width:54%;height:62%;right:7%;top:10%;transform:rotate(7deg)}.s2{width:48%;height:58%;left:8%;bottom:8%;transform:rotate(-8deg)}.sheet:before{content:"";position:absolute;left:20px;right:20px;top:22px;height:12px;border-radius:99px;background:#0d5bd7}.sheet:after{content:"";position:absolute;left:20px;right:50px;top:54px;height:76px;border-radius:12px;background:linear-gradient(135deg,#eef5ff,#ffd89d)}.dots{position:absolute;left:26px;bottom:26px;font-weight:900;font-size:42px;letter-spacing:.08em}.badge{position:absolute;right:24px;bottom:24px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.28);border-radius:18px;padding:14px 16px;backdrop-filter:blur(10px);font-weight:800}
    .section{padding:86px 0}.section.alt{background:var(--paper)}.center{text-align:center}h2{font-size:clamp(28px,4vw,44px);line-height:1.2;margin:0 0 16px}.section-lead{color:var(--muted);max-width:760px;margin:0 auto 38px}

    .cards{
      display:grid;
      grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
      gap:34px 24px;
      align-items:stretch;
    }
.card:hover{
      transform:translateY(-4px);
      box-shadow:0 24px 58px rgba(23,32,51,.12);
    }
    .card-img{
      width:100%;
      height:170px;
      margin:-38px auto 8px;
      display:flex;
      align-items:center;
      justify-content:center;
      filter:drop-shadow(0 12px 14px rgba(23,32,51,.08));
      pointer-events:none;
    }
    .card-img img{
      max-width:100%;
      max-height:100%;
      width:auto;
      height:auto;
      object-fit:contain;
      display:block;
    }
    .card h3{
      font-size:21px;
      margin:0 0 8px;
      text-align:center;
    }
    .card p{
      margin:0;
      color:var(--muted);
      text-align:left;
    }

.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px;box-shadow:0 10px 30px rgba(23,32,51,.05)}
.split{display:grid;grid-template-columns:.9fr 1.1fr;gap:44px;align-items:start}.list{display:grid;gap:14px}.item{display:flex;gap:14px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px}.check{flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:#e8f2ff;color:var(--blue);display:grid;place-items:center;font-weight:900}
    .process{counter-reset:step;display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.step{background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px;position:relative}.step:before{counter-increment:step;content:"0" counter(step);font-weight:900;color:var(--blue);font-size:14px}.step h3{margin:8px 0 8px;font-size:19px}.step p{margin:0;color:var(--muted);font-size:14px}.cta{background:linear-gradient(135deg,#172033,#0d5bd7);color:#fff;border-radius:34px;padding:46px;display:grid;grid-template-columns:1fr auto;gap:26px;align-items:center;box-shadow:var(--shadow)}.cta p{color:rgba(255,255,255,.78);margin:8px 0 0}.cta .btn{background:#fff;color:var(--ink)}.info{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:24px}.info div{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px}.info dt{font-weight:900}.info dd{margin:4px 0 0;color:var(--muted)}footer{padding:32px 0;color:var(--muted);font-size:13px}
    @media (max-width:860px){.navlinks a:not(.btn){display:none}.hero{padding:56px 0}.hero-grid,.split,.cta{grid-template-columns:1fr}.cards,.process,.info{grid-template-columns:1fr}.print-art{min-height:320px}}
  
    /* ===== TPくん ヒーロー修正版 ===== */
    .hero-card.tp-hero-card{
      overflow:visible !important;
      background:rgba(255,255,255,.78) !important;
      border-radius:34px;
      padding:18px !important;
      box-shadow:var(--shadow);
    }

    .tp-hero{
      position:relative !important;
      min-height:500px !important;
      display:flex !important;
      align-items:center !important;
      justify-content:center !important;
      padding:0 0 58px !important;
      overflow:visible !important;
    }

    .tp-hero::before{
      content:"";
      position:absolute;
      left:50%;
      bottom:38px;
      width:78%;
      height:40px;
      transform:translateX(-50%);
      border-radius:50%;
      background:rgba(13,91,215,.13);
      filter:blur(2px);
      animation:tpShadowMove 3s ease-in-out infinite;
      z-index:1;
    }

    .tp-mascot{
      position:relative !important;
      z-index:2 !important;
      width:min(100%, 500px) !important;
      max-width:500px !important;
      height:auto !important;
      display:block !important;
      animation:tpFloatMove 3s ease-in-out infinite !important;
      filter:drop-shadow(0 26px 28px rgba(23,32,51,.16));
    }

    .tp-bubble{
      position:absolute !important;
      right:-24px !important;
      bottom:108px !important;
      z-index:5 !important;
      width:230px !important;
      padding:18px 22px !important;
      background:rgba(255,255,255,.97) !important;
      border:2px solid rgba(0,166,214,.62) !important;
      border-radius:999px !important;
      color:var(--blue) !important;
      font-weight:900 !important;
      text-align:center !important;
      line-height:1.75 !important;
      box-shadow:0 18px 40px rgba(23,32,51,.14) !important;
      animation:tpBubbleMove 3s ease-in-out infinite !important;
    }

    .tp-bubble::after{
      content:"";
      position:absolute;
      left:28px;
      bottom:-14px;
      width:28px;
      height:22px;
      background:rgba(255,255,255,.97);
      border-left:2px solid rgba(0,166,214,.62);
      border-bottom:2px solid rgba(0,166,214,.62);
      transform:rotate(-22deg);
      border-bottom-left-radius:18px;
    }

    @keyframes tpFloatMove{
      0%,100%{transform:translateY(0)}
      50%{transform:translateY(-18px)}
    }

    @keyframes tpShadowMove{
      0%,100%{transform:translateX(-50%) scale(1);opacity:.8}
      50%{transform:translateX(-50%) scale(.86);opacity:.48}
    }

    @keyframes tpBubbleMove{
      0%,100%{transform:translateY(0)}
      50%{transform:translateY(-10px)}
    }

    @media (max-width:860px){
      .tp-hero{
        min-height:390px !important;
        padding:0 0 88px !important;
      }

      .tp-mascot{
        width:min(92%, 350px) !important;
        max-width:350px !important;
      }

      .tp-bubble{
        right:50% !important;
        bottom:8px !important;
        transform:translateX(50%) !important;
        width:240px !important;
        font-size:14px !important;
      }

      @keyframes tpBubbleMove{
        0%,100%{transform:translateX(50%) translateY(0)}
        50%{transform:translateX(50%) translateY(-7px)}
      }
    }

  
    /* ===== メインビジュアル：TPkun001画像版 ===== */
    .hero-sample{
      position:relative;
      overflow:hidden;
      padding:70px 0;
      background:
        radial-gradient(circle at 5% 35%, rgba(13,91,215,.08), transparent 60px),
        radial-gradient(circle at 95% 85%, rgba(13,91,215,.08), transparent 70px),
        linear-gradient(180deg,#f8fbff 0%,#ffffff 100%);
    }

    .hero-sample-grid{
      display:grid;
      grid-template-columns:1fr 1fr;
      align-items:center;
      gap:60px;
    }

    .hero-copy .eyebrow{
      display:inline-block;
      background:#eaf4ff;
      color:#0d5bd7;
      font-weight:900;
      padding:10px 22px;
      border-radius:16px;
      margin-bottom:30px;
      font-size:18px;
    }

    .hero-copy h1{
      font-size:clamp(52px,6vw,82px);
      line-height:1.2;
      margin:0 0 25px;
      color:#081c52;
      font-weight:900;
      letter-spacing:.04em;
    }

    .hero-line{
      width:90px;
      height:5px;
      background:#1694ff;
      border-radius:999px;
      margin-bottom:25px;
    }

    .hero-copy .lead{
      font-size:20px;
      line-height:1.9;
      color:#172033;
      margin-bottom:35px;
      font-weight:600;
    }

    .hero-actions{
      display:flex;
      gap:18px;
      flex-wrap:wrap;
    }

    .hero-actions .btn{
      padding:18px 34px;
      background:linear-gradient(135deg,#0877ea,#0d5bd7);
      box-shadow:none;
    }

    .hero-actions .btn.sub{
      background:#fff;
      color:#0d5bd7;
      border:1px solid #d9e6f5;
      box-shadow:0 10px 24px rgba(13,91,215,.12);
    }

    .hero-visual{
      display:flex;
      justify-content:center;
      align-items:center;
    }

    .hero-main-image{
      width:100%;
      max-width:650px;
      height:auto;
      display:block;
    }

    @media(max-width:960px){
      .hero-sample{
        padding:54px 0;
      }

      .hero-sample-grid{
        grid-template-columns:1fr;
        gap:30px;
      }

      .hero-copy{
        text-align:center;
      }

      .hero-line{
        margin-left:auto;
        margin-right:auto;
      }

      .hero-main-image{
        max-width:450px;
      }
    }

    @media(max-width:640px){
      .hero-copy h1{
        font-size:38px;
      }

      .hero-copy .eyebrow{
        font-size:14px;
      }

      .hero-copy .lead{
        font-size:15px;
      }

      .hero-actions .btn,
      .hero-actions .btn.sub{
        width:100%;
      }
    }

  
    /* ===== メインビジュアル：3行コピー調整版 ===== */
    .hero-sample{
      position:relative;
      overflow:hidden;
      padding:64px 0 58px;
      background:
        radial-gradient(circle at 5% 35%, rgba(13,91,215,.08), transparent 60px),
        radial-gradient(circle at 95% 85%, rgba(13,91,215,.08), transparent 70px),
        linear-gradient(180deg,#f8fbff 0%,#ffffff 100%);
    }

    .hero-sample-grid{
      display:grid;
      grid-template-columns:.94fr 1.06fr;
      align-items:center;
      gap:54px;
      min-height:540px;
    }

    .hero-copy .eyebrow{
      display:inline-block;
      background:#eaf4ff;
      color:#0d5bd7;
      font-weight:900;
      padding:10px 22px;
      border-radius:16px;
      margin-bottom:28px;
      font-size:18px;
      letter-spacing:.05em;
    }

    .hero-copy h1{
      font-size:clamp(48px,5.4vw,76px);
      line-height:1.23;
      margin:0 0 24px;
      color:#081c52;
      font-weight:900;
      letter-spacing:.035em;
    }

    .hero-line{
      width:92px;
      height:5px;
      background:#1694ff;
      border-radius:999px;
      margin-bottom:24px;
    }

    .hero-copy .lead{
      font-size:18px;
      line-height:1.9;
      color:#172033;
      margin-bottom:32px;
      font-weight:600;
    }

    .hero-actions{
      display:flex;
      gap:18px;
      flex-wrap:wrap;
    }

    .hero-actions .btn{
      padding:17px 32px;
      background:linear-gradient(135deg,#0877ea,#0d5bd7);
      box-shadow:none;
    }

    .hero-actions .btn.sub{
      background:#fff;
      color:#0d5bd7;
      border:1px solid #d9e6f5;
      box-shadow:0 10px 24px rgba(13,91,215,.12);
    }

    .hero-visual{
      display:flex;
      justify-content:center;
      align-items:center;
      padding-left:10px;
    }

    .hero-main-image{
      width:100%;
      max-width:690px;
      height:auto;
      display:block;
    }

    @media(max-width:960px){
      .hero-sample{
        padding:54px 0;
      }

      .hero-sample-grid{
        grid-template-columns:1fr;
        gap:30px;
        min-height:auto;
      }

      .hero-copy{
        text-align:center;
      }

      .hero-line{
        margin-left:auto;
        margin-right:auto;
      }

      .hero-main-image{
        max-width:500px;
      }
    }

    @media(max-width:640px){
      .hero-copy h1{
        font-size:40px;
      }

      .hero-copy .eyebrow{
        font-size:14px;
      }

      .hero-copy .lead{
        font-size:15px;
      }

      .hero-actions .btn,
      .hero-actions .btn.sub{
        width:100%;
      }
    }

  
    /* ===== スマホ時だけTPくんをメイン先頭に表示 ===== */
    @media(max-width:960px){
      .hero-sample-grid{
        display:flex !important;
        flex-direction:column !important;
      }

      .hero-visual{
        order:1 !important;
        padding-left:0 !important;
        margin-bottom:6px;
      }

      .hero-copy{
        order:2 !important;
      }

      .hero-main-image{
        max-width:420px;
        width:92%;
        margin:0 auto;
      }
    }

    @media(max-width:640px){
      .hero-main-image{
        max-width:360px;
        width:96%;
      }

      .hero-sample{
        padding-top:32px;
      }
    }

  
.logo-brand{
  display:flex;
  align-items:center;
}
.logo-brand img{
  height:54px;
  width:auto;
  display:block;
}
@media(max-width:640px){
  .logo-brand img{
    height:42px;
  }
}


    /* ===== 大画面でもメインタイトル3行維持・バランス調整 ===== */
    .hero-sample{
      padding:64px 0 58px;
    }

    .hero-sample .wrap{
      max-width:1320px;
    }

    .hero-sample-grid{
      display:grid;
      grid-template-columns:580px 650px;
      justify-content:space-between;
      align-items:center;
      gap:60px;
      min-height:540px;
    }

    .hero-copy{
      max-width:580px;
      min-width:0;
    }

    .hero-copy h1{
      font-size:72px;
      line-height:1.2;
      font-weight:900;
      letter-spacing:.03em;
      margin:0 0 24px;
      white-space:normal;
    }

    .hero-copy h1 br{
      display:block;
    }

    .hero-copy .lead{
      max-width:560px;
      font-size:18px;
      line-height:1.9;
    }

    .hero-visual{
      max-width:650px;
      width:100%;
    }

    .hero-main-image{
      width:100%;
      max-width:650px;
      height:auto;
      display:block;
    }

    @media(max-width:1200px){
      .hero-sample-grid{
        grid-template-columns:minmax(0, 1fr) minmax(420px, 1fr);
        gap:42px;
      }

      .hero-copy h1{
        font-size:clamp(48px,5.4vw,68px);
      }
    }

    @media(max-width:960px){
      .hero-sample-grid{
        display:flex !important;
        flex-direction:column !important;
        gap:30px;
        min-height:auto;
      }

      .hero-visual{
        order:1 !important;
        max-width:500px;
        margin:0 auto 6px;
      }

      .hero-copy{
        order:2 !important;
        max-width:640px;
        text-align:center;
      }

      .hero-copy h1{
        font-size:clamp(38px,9vw,56px);
      }

      .hero-line{
        margin-left:auto;
        margin-right:auto;
      }

      .hero-main-image{
        max-width:420px;
        width:92%;
        margin:0 auto;
      }
    }

    @media(max-width:640px){
      .hero-sample{
        padding-top:32px;
      }

      .hero-main-image{
        max-width:360px;
        width:96%;
      }

      .hero-copy h1{
        font-size:40px;
      }
    }


    /* ===== タイトルとTPくんの距離を少し近づける ===== */
    .hero-sample-grid{
        grid-template-columns:560px 680px !important;
        gap:0 !important;
    }

    .hero-visual{
        margin-left:-45px !important;
    }

    @media(max-width:960px){
        .hero-visual{
            margin-left:0 !important;
        }
    }


.taisetsuni-image{
    text-align:center;
    margin:30px auto 10px;
}

.taisetsuni-image img{
    width:100%;
    max-width:340px;
    height:auto;
    display:block;
    margin:auto;
}

@media(max-width:860px){
    .taisetsuni-image{
        margin:20px auto;
    }

    .taisetsuni-image img{
        max-width:260px;
    }
}


/* ===== ご相談から納品までの流れ：アイコン配置 ===== */
.flow-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 16px;
  height:140px;
}

.flow-icon img{
  width:100%;
  max-width:190px;
  max-height:140px;
  object-fit:contain;
  display:block;
}

.step{
  text-align:center;
  padding:26px 20px;
}

.step h3{
  margin:10px 0 8px;
}

@media(max-width:860px){
  .flow-icon{
    height:120px;
    margin-bottom:12px;
  }

  .flow-icon img{
    max-width:170px;
    max-height:120px;
  }
}


/* ===== ご相談から納品までの流れ：番号を大きく目立たせる ===== */
.step{
  position:relative;
  overflow:hidden;
  text-align:center;
}

.step:before{
  counter-increment:step;
  content:"0" counter(step);
  position:absolute;
  top:10px;
  right:16px;
  font-size:72px;
  font-weight:900;
  line-height:1;
  color:rgba(13,91,215,.09);
  z-index:1;
}

.step h3,
.step p,
.flow-icon{
  position:relative;
  z-index:2;
}

@media(max-width:860px){
  .step:before{
    font-size:64px;
    top:8px;
    right:14px;
  }
}


/* ===== ご相談から納品までの流れ：番号を見やすく、イラストと被らない配置 ===== */
.process{
  counter-reset:step;
}

.step{
  position:relative;
  overflow:hidden;
  text-align:center;
  padding:34px 22px 26px;
}

.step:before{
  counter-increment:step;
  content:"0" counter(step);
  position:static;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:58px;
  height:58px;
  margin:0 auto 16px;
  border-radius:18px;
  background:linear-gradient(135deg, rgba(13,91,215,1), rgba(0,166,214,1));
  color:#fff;
  font-size:24px;
  font-weight:900;
  line-height:1;
  box-shadow:none;
  z-index:2;
}

.flow-icon{
  height:128px;
  margin:0 auto 16px;
}

.flow-icon img{
  max-width:180px;
  max-height:128px;
}

.step h3,
.step p,
.flow-icon{
  position:relative;
  z-index:2;
}

@media(max-width:860px){
  .step{
    padding:30px 20px 24px;
  }

  .step:before{
    width:52px;
    height:52px;
    font-size:22px;
    margin-bottom:14px;
  }

  .flow-icon{
    height:118px;
  }

  .flow-icon img{
    max-width:165px;
    max-height:118px;
  }
}


.company-table{max-width:900px;margin:50px auto 0;background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:0 10px 30px rgba(23,32,51,.05)}
.company-row{display:grid;grid-template-columns:220px 1fr;border-bottom:1px solid var(--line)}
.company-row:last-child{border-bottom:none}
.company-th{background:#f6f8fb;padding:22px;font-weight:800}
.company-td{padding:22px}
.business-list{margin:0;padding-left:1.2em;line-height:1.9}
.business-list li{margin:0}
@media(max-width:768px){
.company-row{grid-template-columns:1fr}
.company-th{padding:14px 18px}
.company-td{padding:18px}
}


.footer{
background:linear-gradient(135deg,#101828,#172033 55%,#0d356b);
color:#fff;
text-align:center;
padding:60px 20px;
}
.footer-logo{
font-size:32px;
font-weight:900;
letter-spacing:.15em;
margin-bottom:10px;
}
.footer-tagline{
color:rgba(255,255,255,.7);
letter-spacing:.25em;
font-size:12px;
margin-bottom:18px;
}
.footer-copy{
color:rgba(255,255,255,.55);
font-size:12px;
letter-spacing:.1em;
}


/* ===== 最終調整：メインボタン中央配置 ===== */
.hero-copy .hero-actions{
  justify-content:center !important;
  width:100% !important;
}

.hero-copy .hero-actions .btn{
  margin-left:auto !important;
  margin-right:auto !important;
  box-shadow:none !important;
}

/* ===== 最終調整：流れ番号バッジ ===== */
.process .step:before{
  width:70px !important;
  height:70px !important;
  border-radius:14px !important;
  background:#0d5bd7 !important;
  background-image:none !important;
  color:#fff !important;
  font-size:28px !important;
  font-weight:900 !important;
  box-shadow:none !important;
  margin:0 auto 18px !important;
}

@media(max-width:860px){
  .process .step:before{
    width:64px !important;
    height:64px !important;
    border-radius:14px !important;
    font-size:26px !important;
  }
}


/* ===== メインお問い合わせボタン：メイン全体の中央配置 ===== */
.hero-contact-center{
  display:flex;
  justify-content:center;
  align-items:center;
  margin-top:-18px;
  position:relative;
  z-index:3;
}

.hero-contact-btn{
  min-width:260px;
  padding:18px 38px !important;
  background:#0d5bd7 !important;
  color:#fff !important;
  box-shadow:none !important;
}

.hero-contact-btn:hover{
  transform:translateY(-2px);
  box-shadow:none !important;
}

@media(max-width:960px){
  .hero-contact-center{
    margin-top:24px;
  }

  .hero-contact-btn{
    width:min(100%, 360px);
  }
}



.hero-copy{
    text-align:center !important;
    margin:0 auto !important;
}
.hero-line{
    margin:0 auto 24px !important;
}
.hero-copy .lead{
    margin-left:auto !important;
    margin-right:auto !important;
    text-align:center !important;
}


.hero-copy .eyebrow{
    display:block !important;
    text-align:center !important;
    margin:0 auto 30px !important;
    font-size:22px !important;
    font-weight:900 !important;
    padding:12px 28px !important;
    width:fit-content;
}


.company-layout{display:grid;grid-template-columns:420px 1fr;gap:40px;align-items:center;margin-top:40px}
.company-visual{padding:0;border:none;border-radius:0;background:transparent;box-shadow:none}
.company-visual img{width:100%;display:block}
@media(max-width:900px){.company-layout{grid-template-columns:1fr}}

/* ===== スマホ用ハンバーガーメニュー ===== */
.hamburger{
  display:none;
  width:44px;
  height:44px;
  padding:0;
  border:none;
  border-radius:12px;
  background:rgba(255,255,255,.9);
  cursor:pointer;
  position:relative;
  z-index:31;
}

.hamburger span{
  display:block;
  width:28px;
  height:3px;
  margin:5px auto;
  border-radius:999px;
  background:#172033;
  transition:.22s ease;
}

.hamburger.is-open span:nth-child(1){
  transform:translateY(8px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2){
  opacity:0;
}
.hamburger.is-open span:nth-child(3){
  transform:translateY(-8px) rotate(-45deg);
}

@media(max-width:860px){
  .nav{
    position:relative;
  }

  .hamburger{
    display:block;
  }

  .navlinks{
    display:flex !important;
    position:absolute;
    top:72px;
    left:50%;
    width:calc(100vw - 32px);
    transform:translateX(-50%) translateY(-12px);
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:14px 18px 18px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:0 0 22px 22px;
    box-shadow:0 18px 40px rgba(23,32,51,.14);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:.22s ease;
    z-index:30;
  }

  .navlinks.open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateX(-50%) translateY(0);
  }

  .navlinks a,
  .navlinks a:not(.btn){
    display:flex;
    justify-content:center;
    align-items:center;
    padding:13px 8px;
    border-bottom:1px solid #edf1f6;
    font-size:15px;
  }

  .navlinks a:last-child{
    border-bottom:none;
  }

  .navlinks .btn{
    margin-top:10px;
    padding:13px 20px;
    color:#fff;
  }
}

/* ===== スマホ時：コピーの下にTPくんを表示 ===== */
@media(max-width:960px){
  .hero-sample-grid{
    display:flex !important;
    flex-direction:column !important;
  }

  .hero-copy{
    order:1 !important;
  }

  .hero-visual{
    order:2 !important;
    margin:10px auto 0 !important;
    padding-left:0 !important;
  }

  .hero-main-image{
    max-width:360px;
    width:90%;
    margin:0 auto;
  }

  .hero-contact-center{
    margin-top:22px;
  }
}

@media(max-width:640px){
  .hero-main-image{
    max-width:320px;
    width:92%;
  }
}

/* =========================
   TPくん スクロール登場アニメーション
========================= */

.hero-visual {
  position: relative;
}

.hero-main-image {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(80px);
  transition:
    opacity .8s ease,
    transform .8s ease;
  will-change: opacity, transform;
}

.hero-visual.is-show .hero-main-image {
  opacity: 1;
  transform: translateY(0);
  animation: tpFloat 3s ease-in-out .8s infinite;
}

@keyframes tpFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.hero-visual::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 15px;
  width: 65%;
  height: 22px;
  background: rgba(0,0,0,.12);
  border-radius: 50%;
  transform: translateX(-50%) scale(.8);
  filter: blur(5px);
  z-index: 1;
  opacity: 0;
  transition:
    opacity .8s ease,
    transform .8s ease;
}

.hero-visual.is-show::after {
  opacity: .25;
  transform: translateX(-50%) scale(1);
  animation: tpShadow 3s ease-in-out .8s infinite;
}

@keyframes tpShadow {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    opacity: .25;
  }
  50% {
    transform: translateX(-50%) scale(.82);
    opacity: .12;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-main-image,
  .hero-visual::after {
    transition: none;
    animation: none !important;
  }

  .hero-visual.is-show .hero-main-image {
    opacity: 1;
    transform: none;
  }
}

/* =========================
   フッター英字ロゴ スマホ表示調整 v2
========================= */

/* 英字社名を必ず1行表示にする */
.footer-company-line {
  display: inline-block;
  white-space: nowrap;
  max-width: 100%;
  line-height: 1.2;
  transform-origin: center;
}

/* 親要素側で折り返し・はみ出しが起きないように調整 */
.footer-company-line,
.footer-company-line * {
  word-break: keep-all;
  overflow-wrap: normal;
}

@media (max-width: 768px) {
  .footer-company-line {
    font-size: clamp(14px, 4.5vw, 18px) !important;
    letter-spacing: 0.02em !important;
  }
}

@media (max-width: 480px) {
  .footer-company-line {
    font-size: clamp(13px, 4.2vw, 16px) !important;
    letter-spacing: 0 !important;
  }
}

@media (max-width: 375px) {
  .footer-company-line {
    font-size: 12px !important;
    letter-spacing: 0 !important;
    transform: scale(.92);
  }
}


/* =========================
   会社概要 社屋イラスト外枠削除
========================= */
.company-section .company-visual {
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.company-section .company-visual img {
  display: block;
  width: 100%;
}


/* =====================================
   会社概要・FAQ 横幅完全統一
===================================== */

.company-section .wrap,
.faq-section .wrap{
    max-width: 1100px !important;
    margin: 0 auto !important;
}

.company-layout,
.faq-section .company-table{
    width: 100% !important;
}

@media (max-width: 1024px){

    .company-section .wrap,
    .faq-section .wrap{
        width: calc(100% - 40px) !important;
        max-width: none !important;
    }

    .company-layout,
    .faq-section .company-table{
        width: 100% !important;
        margin: 0 !important;
    }
}

@media (max-width: 768px){

    .company-section .wrap,
    .faq-section .wrap{
        width: calc(100% - 24px) !important;
    }

    .company-layout,
    .faq-section .company-table{
        width: 100% !important;
    }
}

@media (max-width: 480px){

    .company-section .wrap,
    .faq-section .wrap{
        width: calc(100% - 20px) !important;
    }
}


/* =====================================
   会社概要・よくある質問 テーブル幅 完全統一 v2
   HTML側にも same-width-table-wrap を追加
===================================== */

/* すべてのサイズでテーブルの基準幅を同一にする */
.same-width-table-wrap {
  width: 100% !important;
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

.company-info-table,
.faq-info-table {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

/* FAQ側の余白を会社概要テーブルと合わせる */
.faq-table-wrap {
  margin-top: 50px !important;
}

/* PCでは会社概要の既存横並びを維持 */
.company-table-wrap {
  margin-top: 0 !important;
}

/* タブレット以下は会社概要も1カラムにして、FAQと同じ幅に固定 */
@media (max-width: 1024px) {

  .company-section .wrap,
  .faq-section .wrap {
    width: calc(100% - 40px) !important;
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .company-layout {
    display: block !important;
    width: 100% !important;
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .company-visual {
    width: 100% !important;
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .company-table-wrap,
  .faq-table-wrap {
    width: 100% !important;
    max-width: 900px !important;
    margin-top: 32px !important;
  }

  .company-info-table,
  .faq-info-table {
    width: 100% !important;
  }
}

@media (max-width: 768px) {

  .company-section .wrap,
  .faq-section .wrap {
    width: calc(100% - 24px) !important;
  }

  .company-layout,
  .company-table-wrap,
  .faq-table-wrap {
    max-width: none !important;
  }
}

@media (max-width: 480px) {

  .company-section .wrap,
  .faq-section .wrap {
    width: calc(100% - 20px) !important;
  }
}


/* =====================================
   フッター Instagram TPくん配置
===================================== */

.footer-brand-instagram{
  display:flex;
  align-items:flex-end;
  justify-content:center;
  gap:34px;
  margin:0 auto 14px;
}

.footer-brand-text{
  text-align:center;
}

.footer-instagram-mascot{
  display:inline-block;
  line-height:0;
  text-decoration:none;
}

.footer-instagram-mascot img{
  display:block;
  width:118px;
  max-width:100%;
  height:auto;
  border-radius:0;
  transition:transform .3s ease, opacity .3s ease;
}

.footer-instagram-mascot:hover img{
  transform:translateY(-5px);
  opacity:.92;
}

@media(max-width:900px){
  .footer-brand-instagram{
    flex-direction:column;
    gap:16px;
  }

  .footer-instagram-mascot img{
    width:130px;
  }
}

@media(max-width:480px){
  .footer-brand-instagram{
    gap:14px;
  }

  .footer-instagram-mascot img{
    width:112px;
  }
}

/* できること説明文：左揃え */
.service-lead-left{
  text-align:left;
}


/* ===== AIO / SEO 強化追加 ===== */
.hero-copy .hero-subcopy{
  font-size:clamp(22px,3vw,34px);
  line-height:1.5;
  margin:0 0 12px;
  color:#0d5bd7;
  font-weight:900;
}
.service-summary{
  max-width:920px;
  margin:52px auto 0;
  padding:30px;
  border:1px solid var(--line);
  border-radius:24px;
  background:#fff;
  box-shadow:0 12px 34px rgba(23,32,51,.06);
  text-align:left;
}
.service-summary h3{
  margin:0 0 18px;
  font-size:clamp(22px,3vw,30px);
  text-align:center;
}
.service-summary ul{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px 24px;
  margin:0;
  padding-left:1.3em;
  color:var(--muted);
  font-weight:700;
}
@media (max-width:700px){
  .service-summary{
    padding:24px 20px;
    margin-top:38px;
  }
  .service-summary ul{
    grid-template-columns:1fr;
  }
}


/* ===== AIO SEOキーワードは控えめ、メインコピーを強調 ===== */
.hero-title{
  margin:0 0 24px;
}

.hero-title-small{
  display:block;
  font-size:clamp(14px,1.35vw,18px);
  line-height:1.6;
  font-weight:800;
  letter-spacing:.08em;
  color:#5f6f8f;
  margin-bottom:16px;
}

.hero-title-main{
  display:block;
  font-size:72px;
  line-height:1.2;
  color:#081c52;
  font-weight:900;
  letter-spacing:.03em;
}

@media(max-width:1200px){
  .hero-title-main{
    font-size:clamp(48px,5.4vw,68px);
  }
}

@media(max-width:960px){
  .hero-title-small{
    font-size:14px;
    margin-bottom:12px;
  }

  .hero-title-main{
    font-size:clamp(38px,9vw,56px);
  }
}

@media(max-width:640px){
  .hero-title-main{
    font-size:40px;
  }
}


/* ===== SEO / AIO向け説明文：非表示にせず控えめに表示 ===== */
.seo-lead{
  max-width:760px;
  margin:0 0 22px;
  font-size:13px;
  line-height:1.8;
  color:#6b7280;
  font-weight:500;
  letter-spacing:.02em;
}

@media(max-width:760px){
  .seo-lead{
    font-size:12.5px;
    line-height:1.75;
  }
}


/* ===== AIO自然対策・ヒーロー調整：SEO説明文は左揃え、TPくん下にお問い合わせ ===== */
.hero-copy .eyebrow{
  display:none !important;
}

.seo-lead{
  text-align:left !important;
  max-width:560px;
  margin:18px 0 24px !important;
  font-size:0.9rem;
  line-height:1.9;
  color:#667085;
}

.hero-copy{
  text-align:left !important;
}

.hero-line{
  margin-left:0 !important;
  margin-right:auto !important;
}

.hero-copy .lead{
  text-align:left !important;
  margin-left:0 !important;
  margin-right:0 !important;
}

.hero-visual{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  transform:translateY(-34px);
}

.hero-main-image{
  margin-bottom:10px !important;
}

.hero-contact-btn{
  margin-top:-6px;
  min-width:260px;
  padding:18px 38px !important;
  background:#0d5bd7 !important;
  color:#fff !important;
  box-shadow:none !important;
}

.hero-contact-btn:hover{
  transform:translateY(-2px);
  box-shadow:none !important;
}

@media(max-width:960px){
  .hero-copy{
    text-align:center !important;
  }

  .seo-lead{
    text-align:left !important;
    margin:16px auto 24px !important;
    max-width:640px;
  }

  .hero-line{
    margin-left:auto !important;
    margin-right:auto !important;
  }

  .hero-copy .lead{
    text-align:center !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  .hero-visual{
    transform:translateY(-16px);
    margin-bottom:0 !important;
  }

  .hero-contact-btn{
    width:min(100%, 360px);
  }
}

@media(max-width:640px){
  .hero-visual{
    transform:translateY(-10px);
  }
}

/* ===== タブレット・スマホ：メイン説明文を左揃え ===== */
@media(max-width:960px){
  .hero-copy .lead{
    text-align:left !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }
}


/* ===== キャッチコピー：PC・タブレット・スマホで必ず2行固定 ===== */
.hero-title{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  gap:0.05em !important;
  margin:0 0 24px !important;
  max-width:none !important;
}

.hero-title-line{
  display:block !important;
  white-space:nowrap !important;
  word-break:keep-all !important;
  overflow-wrap:normal !important;
  line-break:strict !important;
  font-size:clamp(44px,4.2vw,60px) !important;
  line-height:1.16 !important;
  color:#081c52 !important;
  font-weight:900 !important;
  letter-spacing:.02em !important;
}

@media(max-width:1200px){
  .hero-title-line{
    font-size:clamp(40px,4.7vw,54px) !important;
  }
}

@media(max-width:960px){
  .hero-title{
    align-items:center !important;
  }
  .hero-title-line{
    font-size:clamp(36px,8vw,52px) !important;
  }
}

@media(max-width:520px){
  .hero-title-line{
    font-size:clamp(30px,9.2vw,40px) !important;
    letter-spacing:0 !important;
  }
}

.footer-x-mascot{
  display:inline-flex;
  align-items:flex-end;
  line-height:0;
  text-decoration:none;
}
.footer-x-mascot img{
  display:block;
  width:118px;
  height:auto;
  border-radius:0;
  transition:transform .3s ease, opacity .3s ease;
}
.footer-x-mascot:hover img{
  transform:translateY(-2px);
  opacity:.9;
}

/* ===== フッターSNSアイコン微調整 =====
   Instagramのキャラクター足下とXロゴ下端を揃え、Xを少し左へ寄せる */
.footer-x-mascot{
  position:relative;
  top:16px;
  margin-left:-30px;
}
.footer-x-mascot:hover img{
  transform:translateY(-2px);
}
@media(max-width:900px){
  .footer-x-mascot{
    top:16px;
    margin-left:0;
  }
}
@media(max-width:480px){
  .footer-x-mascot{
    top:15px;
  }
}


/* ===== フッター最終調整：SNS位置・タブレット/スマホ表示 ===== */
/* PC：X画像をさらに15px Instagram側へ寄せる */
.footer-x-mascot{
  margin-left:-45px !important;
}

/* タブレット・スマホ：文字中央、SNS横並び、コピーライトの上に配置 */
@media(max-width:900px){
  .footer{
    text-align:center !important;
  }

  .footer .wrap{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
  }

  .footer-brand-instagram{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:wrap !important;
    align-items:flex-end !important;
    justify-content:center !important;
    gap:0 18px !important;
    width:100% !important;
    margin:0 auto 18px !important;
    text-align:center !important;
  }

  .footer-brand-text{
    order:1 !important;
    flex:0 0 100% !important;
    width:100% !important;
    text-align:center !important;
    margin:0 auto 14px !important;
  }

  .footer-logo,
  .footer-tagline,
  .footer-copy{
    text-align:center !important;
    width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  .footer-instagram-mascot,
  .footer-x-mascot{
    order:2 !important;
    display:inline-flex !important;
    align-items:flex-end !important;
    justify-content:center !important;
    line-height:0 !important;
  }

  .footer-instagram-mascot img{
    width:130px !important;
    height:auto !important;
  }

  .footer-x-mascot{
    position:relative !important;
    top:16px !important;
    margin-left:-15px !important;
  }

  .footer-x-mascot img{
    width:118px !important;
    height:auto !important;
  }

  .footer-copy{
    order:3 !important;
    margin-top:8px !important;
  }
}

@media(max-width:480px){
  .footer-brand-instagram{
    gap:0 12px !important;
    margin-bottom:16px !important;
  }

  .footer-instagram-mascot img{
    width:112px !important;
  }

  .footer-x-mascot{
    top:15px !important;
    margin-left:-15px !important;
  }

  .footer-x-mascot img{
    width:118px !important;
  }
}

/* ===== TPくんメイン画像 変倍修正 ===== */
.hero-visual picture,
.hero-main-image{
  aspect-ratio: auto !important;
}
.hero-visual picture{
  display:block;
  width:min(100%, 482px);
  max-width:482px;
  margin:0 auto;
}
.hero-main-image{
  width:100% !important;
  max-width:482px !important;
  height:auto !important;
  object-fit:contain !important;
  display:block;
}
@media (max-width:960px){
  .hero-visual picture{width:min(92vw, 430px);}
  .hero-main-image{max-width:430px !important;}
}
@media (max-width:640px){
  .hero-visual picture{width:min(88vw, 360px);}
  .hero-main-image{max-width:360px !important;}
}

/* ===== Instagram Graph API 最新投稿セクション ===== */
.instagram-section{
  background:
    radial-gradient(circle at 8% 15%, rgba(13,91,215,.08), transparent 120px),
    radial-gradient(circle at 94% 88%, rgba(0,166,214,.10), transparent 140px),
    #fff;
}
.instagram-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:30px;
}
.instagram-eyebrow{
  display:inline-flex;
  margin:0 0 10px;
  padding:7px 13px;
  border-radius:999px;
  background:rgba(13,91,215,.09);
  color:var(--blue);
  font-weight:900;
  font-size:13px;
  letter-spacing:.08em;
}
.instagram-lead{
  margin:0;
  max-width:660px;
}
.instagram-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:22px;
}
.instagram-card{
  overflow:hidden;
  background:#fff;
  border:1px solid var(--line);
  border-radius:26px;
  box-shadow:0 14px 36px rgba(23,32,51,.07);
  transition:transform .22s ease, box-shadow .22s ease;
}
.instagram-card:hover{
  transform:translateY(-4px);
  box-shadow:0 22px 54px rgba(23,32,51,.12);
}
.instagram-image-link{
  display:block;
  position:relative;
  aspect-ratio:1 / 1;
  overflow:hidden;
  background:#f2f6fb;
}
.instagram-image-link img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:transform .3s ease;
}
.instagram-card:hover .instagram-image-link img{
  transform:scale(1.035);
}
.instagram-card-body{
  padding:18px 18px 20px;
}
.instagram-date{
  margin:0 0 7px;
  color:var(--blue);
  font-size:12px;
  font-weight:900;
  letter-spacing:.04em;
}
.instagram-caption{
  min-height:4.9em;
  margin:0 0 14px;
  color:var(--muted);
  font-size:14px;
  line-height:1.7;
}
.instagram-card-link{
  display:inline-flex;
  align-items:center;
  color:var(--ink);
  font-weight:900;
  font-size:13px;
}
.instagram-card-link::after{
  content:"→";
  margin-left:6px;
  color:var(--blue);
}
.instagram-note{
  margin:18px 0 0;
  color:var(--muted);
  font-size:12px;
  text-align:right;
}
.instagram-skeleton{
  aspect-ratio:1 / 1;
  background:linear-gradient(90deg,#eef2f7,#f8fafc,#eef2f7);
  background-size:220% 100%;
  animation:instagramSkeleton 1.2s ease-in-out infinite;
}
@keyframes instagramSkeleton{
  0%{background-position:0 0}
  100%{background-position:220% 0}
}
@media(max-width:900px){
  .instagram-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .instagram-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
  .instagram-note{
    text-align:left;
  }
}
@media(max-width:640px){
  .instagram-grid{
    grid-template-columns:1fr;
  }
  .instagram-more-btn{
    width:100%;
  }
}

/* Instagram API with Instagram Login：本文2〜3行・エラー表示 */
.instagram-caption{
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  line-clamp:3;
  min-height:5.1em;
}
.instagram-error{
  grid-column:1 / -1;
  padding:34px 24px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  text-align:center;
  box-shadow:0 14px 36px rgba(23,32,51,.07);
}
.instagram-error p{
  margin:0 0 18px;
  color:var(--muted);
  line-height:1.8;
}

/* メインビジュアル下：スクロール連動の左右フェードイン */
.js-scroll-reveal .section-scroll-reveal{
  opacity:0;
  transform:translate3d(var(--reveal-x, -52px), 0, 0);
  transition:opacity .8s cubic-bezier(.22,1,.36,1),
             transform .8s cubic-bezier(.22,1,.36,1);
  will-change:opacity, transform;
}
.js-scroll-reveal .section-scroll-reveal.reveal-from-right{
  --reveal-x:52px;
}
.js-scroll-reveal .section-scroll-reveal.is-visible{
  opacity:1;
  transform:translate3d(0,0,0);
}
@media(max-width:640px){
  .js-scroll-reveal .section-scroll-reveal{
    --reveal-x:-26px;
    transition-duration:.68s;
  }
  .js-scroll-reveal .section-scroll-reveal.reveal-from-right{
    --reveal-x:26px;
  }
}
@media(prefers-reduced-motion:reduce){
  .js-scroll-reveal .section-scroll-reveal,
  .js-scroll-reveal .section-scroll-reveal.reveal-from-right{
    opacity:1;
    transform:none;
    transition:none;
  }
}

/* スクロールアニメーションをより大きく見せる */
.js-scroll-reveal .section-scroll-reveal{
  transform:translate3d(var(--reveal-x, -110px), 0, 0) scale(.975);
  transition:opacity 1s cubic-bezier(.22,1,.36,1),
             transform 1s cubic-bezier(.22,1,.36,1);
}
.js-scroll-reveal .section-scroll-reveal.reveal-from-right{
  --reveal-x:110px;
}
.js-scroll-reveal .section-scroll-reveal.is-visible{
  transform:translate3d(0,0,0) scale(1);
}

/* 「各種印刷」「ノベルティ」のイラストをカード枠内に収める */
#service .card:nth-child(4) .card-img img,
#service .card:nth-child(5) .card-img img{
  max-width:86%;
  max-height:86%;
}

@media(max-width:640px){
  .js-scroll-reveal .section-scroll-reveal{
    --reveal-x:-58px;
    transition-duration:.82s;
  }
  .js-scroll-reveal .section-scroll-reveal.reveal-from-right{
    --reveal-x:58px;
  }
  #service .card:nth-child(4) .card-img img,
  #service .card:nth-child(5) .card-img img{
    max-width:82%;
    max-height:82%;
  }
}

@media(prefers-reduced-motion:reduce){
  .js-scroll-reveal .section-scroll-reveal,
  .js-scroll-reveal .section-scroll-reveal.reveal-from-right,
  .js-scroll-reveal .section-scroll-reveal.is-visible{
    transform:none;
  }
}


/* 2026-07 調整：ゆっくり中央到達型の左右フェード */
.js-scroll-reveal .section-scroll-reveal{
  transition:opacity 1.45s cubic-bezier(.16,1,.3,1),
             transform 1.45s cubic-bezier(.16,1,.3,1);
}

/* 各種印刷・ノベルティ：picture自体も画像枠内に固定して余白を確保 */
#service .card:nth-child(4) .card-img,
#service .card:nth-child(5) .card-img{
  height:185px;
  margin-top:-28px;
  padding:18px 22px 12px;
}
#service .card:nth-child(4) .card-img picture,
#service .card:nth-child(5) .card-img picture{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
}
#service .card:nth-child(4) .card-img img,
#service .card:nth-child(5) .card-img img{
  width:auto;
  height:auto;
  max-width:72%;
  max-height:72%;
  object-fit:contain;
}

@media(max-width:640px){
  .js-scroll-reveal .section-scroll-reveal{
    transition-duration:1.25s;
  }
  #service .card:nth-child(4) .card-img,
  #service .card:nth-child(5) .card-img{
    height:170px;
    margin-top:-22px;
    padding:20px 26px 14px;
  }
  #service .card:nth-child(4) .card-img img,
  #service .card:nth-child(5) .card-img img{
    max-width:68%;
    max-height:68%;
  }
}

/* 2026-07 再調整：各種印刷・ノベルティの画像サイズを戻し、下へ移動 */
#service .card:nth-child(4),
#service .card:nth-child(5){
  position:relative;
}
#service .card:nth-child(4) .card-img,
#service .card:nth-child(5) .card-img{
  height:190px;
  margin-top:-28px;
  margin-bottom:-8px;
  padding:0;
  overflow:visible;
  transform:translateY(26px);
  position:relative;
  z-index:2;
}
#service .card:nth-child(4) .card-img picture,
#service .card:nth-child(5) .card-img picture{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:visible;
}
#service .card:nth-child(4) .card-img img,
#service .card:nth-child(5) .card-img img{
  width:auto;
  height:auto;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}
#service .card:nth-child(4) h3,
#service .card:nth-child(5) h3,
#service .card:nth-child(4) p,
#service .card:nth-child(5) p{
  position:relative;
  z-index:1;
}

@media(max-width:640px){
  #service .card:nth-child(4) .card-img,
  #service .card:nth-child(5) .card-img{
    height:180px;
    margin-top:-24px;
    margin-bottom:-10px;
    padding:0;
    transform:translateY(24px);
  }
  #service .card:nth-child(4) .card-img img,
  #service .card:nth-child(5) .card-img img{
    max-width:100%;
    max-height:100%;
  }
}

/* 2026-07 最終調整：文字をイラストより前面に表示 */
#service .card:nth-child(4) .card-img,
#service .card:nth-child(5) .card-img{
  z-index:1;
}
#service .card:nth-child(4) h3,
#service .card:nth-child(5) h3,
#service .card:nth-child(4) p,
#service .card:nth-child(5) p{
  position:relative;
  z-index:3;
}

/* 2026-07 位置微調整：各種印刷・ノベルティのイラストを10px上へ */
#service .card:nth-child(4) .card-img,
#service .card:nth-child(5) .card-img{
  transform:translateY(16px);
}
@media(max-width:640px){
  #service .card:nth-child(4) .card-img,
  #service .card:nth-child(5) .card-img{
    transform:translateY(14px);
  }
}

/* 2026-07 最終位置調整
   1・2・3・6番目は現在位置から15px下へ
   4・5番目は現在位置から10px上へ */
#service .card:nth-child(1) .card-img,
#service .card:nth-child(2) .card-img,
#service .card:nth-child(3) .card-img,
#service .card:nth-child(6) .card-img{
  transform:translateY(15px);
}
#service .card:nth-child(4) .card-img,
#service .card:nth-child(5) .card-img{
  transform:translateY(6px);
}

@media(max-width:640px){
  #service .card:nth-child(1) .card-img,
  #service .card:nth-child(2) .card-img,
  #service .card:nth-child(3) .card-img,
  #service .card:nth-child(6) .card-img{
    transform:translateY(15px);
  }
  #service .card:nth-child(4) .card-img,
  #service .card:nth-child(5) .card-img{
    transform:translateY(4px);
  }
}

/* =========================================================
   メインビジュアル背景写真（印刷機・カラーチャート・インク）
   2026-07-15 直接調整版
========================================================= */
.hero.hero-sample{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:600px;
  padding:46px 0 42px;
  background-image:url("../images/main-hero-bg.jpg");
  background-image:image-set(
    url("../images/main-hero-bg.webp") type("image/webp"),
    url("../images/main-hero-bg.jpg") type("image/jpeg")
  );
  background-repeat:no-repeat;
  background-position:center center;
  background-size:cover;
}

/* 写真の雰囲気を残しながら文字を読みやすくする白いレイヤー */
.hero.hero-sample::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  opacity:1;
  background:
    linear-gradient(90deg,
      rgba(255,255,255,.90) 0%,
      rgba(255,255,255,.78) 38%,
      rgba(255,255,255,.56) 62%,
      rgba(255,255,255,.40) 100%);
  mask-image:none;
  background-size:auto;
}

.hero.hero-sample .hero-sample-grid{
  position:relative;
  z-index:1;
  min-height:512px;
}

.hero.hero-sample .hero-copy{
  padding:34px 32px;
  border-radius:28px;
  background:rgba(255,255,255,.48);
  box-shadow:0 14px 42px rgba(5,42,91,.08);
  backdrop-filter:blur(2px);
  -webkit-backdrop-filter:blur(2px);
}

.hero.hero-sample .hero-title,
.hero.hero-sample .lead,
.hero.hero-sample .seo-lead{
  text-shadow:0 1px 1px rgba(255,255,255,.9);
}

@media(max-width:960px){
  .hero.hero-sample{
    min-height:auto;
    padding:38px 0 34px;
    background-position:center center;
  }

  .hero.hero-sample::before{
    background:rgba(255,255,255,.74);
  }

  .hero.hero-sample .hero-sample-grid{
    min-height:auto;
  }

  .hero.hero-sample .hero-copy{
    width:100%;
    padding:28px 24px;
    background:rgba(255,255,255,.66);
  }
}

@media(max-width:640px){
  .hero.hero-sample{
    padding:26px 0 30px;
    background-position:center center;
  }

  .hero.hero-sample::before{
    background:rgba(255,255,255,.80);
  }

  .hero.hero-sample .hero-copy{
    padding:22px 16px;
    border-radius:20px;
  }
}

/* タブレット・モバイル：左右からスライドするスクロール演出を無効化 */
@media (max-width: 1024px){
  .js-scroll-reveal .section-scroll-reveal,
  .js-scroll-reveal .section-scroll-reveal.reveal-from-right,
  .js-scroll-reveal .section-scroll-reveal.is-visible{
    opacity:1 !important;
    transform:none !important;
    transition:none !important;
    will-change:auto !important;
  }
}

/* =========================================================
   できること：タブレット・モバイル時のイラストサイズ統一
   各種印刷・紙製品／ノベルティ・一点もの制作と同じ見え方に調整
========================================================= */
@media (max-width:1024px){
  #service .card .card-img{
    width:100%;
    height:180px;
    margin:-24px auto -4px;
    padding:16px 22px 12px;
    transform:none !important;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    z-index:1;
  }
  #service .card .card-img picture{
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
  }
  #service .card .card-img img{
    width:auto !important;
    height:auto !important;
    max-width:76% !important;
    max-height:76% !important;
    object-fit:contain;
    display:block;
  }
  #service .card h3,
  #service .card p{
    position:relative;
    z-index:3;
  }
}

@media (max-width:640px){
  #service .card .card-img{
    height:165px;
    margin:-20px auto 0;
    padding:18px 24px 10px;
  }
  #service .card .card-img img{
    max-width:72% !important;
    max-height:72% !important;
  }
}

/* =========================================================
   2026-07-15 再調整
   ・タブレット／モバイルの「できること」イラストを適正サイズへ
   ・メインの半透明パネルをTPくん側まで広げて視認性を向上
========================================================= */

/* メイン：文字側だけでなく、TPくんまで包む横長の薄いパネル */
.hero.hero-sample .hero-sample-grid{
  padding:30px 34px;
  border:1px solid rgba(255,255,255,.76);
  border-radius:32px;
  background:rgba(255,255,255,.58);
  box-shadow:0 16px 46px rgba(5,42,91,.10);
  backdrop-filter:blur(2.5px);
  -webkit-backdrop-filter:blur(2.5px);
}

.hero.hero-sample .hero-copy{
  padding:14px 10px;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}

@media (max-width:960px){
  .hero.hero-sample .hero-sample-grid{
    width:min(1120px,calc(100% - 32px));
    padding:24px 22px 18px;
    border-radius:26px;
    background:rgba(255,255,255,.70);
  }
  .hero.hero-sample .hero-copy{
    width:100%;
    padding:8px 4px 4px;
    background:transparent;
  }
}

@media (max-width:640px){
  .hero.hero-sample .hero-sample-grid{
    width:min(1120px,calc(100% - 24px));
    padding:20px 14px 14px;
    border-radius:22px;
    background:rgba(255,255,255,.78);
  }
  .hero.hero-sample .hero-copy{
    padding:4px 2px 0;
  }
}

/* 「できること」：小さすぎた画像を拡大しつつ、文字との間隔を確保 */
@media (max-width:1024px){
  #service .card .card-img,
  #service .card:nth-child(4) .card-img,
  #service .card:nth-child(5) .card-img{
    width:100%;
    height:205px;
    margin:-24px auto 4px;
    padding:6px 10px 4px;
    transform:none !important;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    z-index:1;
  }

  #service .card .card-img picture,
  #service .card:nth-child(4) .card-img picture,
  #service .card:nth-child(5) .card-img picture{
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
  }

  #service .card .card-img img,
  #service .card:nth-child(4) .card-img img,
  #service .card:nth-child(5) .card-img img{
    width:auto !important;
    height:auto !important;
    max-width:92% !important;
    max-height:92% !important;
    object-fit:contain;
    display:block;
  }

  #service .card h3{
    margin-top:2px;
  }
}

@media (max-width:640px){
  #service .card .card-img,
  #service .card:nth-child(4) .card-img,
  #service .card:nth-child(5) .card-img{
    height:185px;
    margin:-20px auto 6px;
    padding:4px 8px 2px;
  }

  #service .card .card-img img,
  #service .card:nth-child(4) .card-img img,
  #service .card:nth-child(5) .card-img img{
    max-width:90% !important;
    max-height:90% !important;
  }
}


/* =========================================================
   カーソル追従TPくん（パターン②：小走り）
   PC・マウス操作時のみ表示
========================================================= */
.tp-cursor-runner{
  position:fixed;
  left:0;
  top:0;
  width:64px;
  height:64px;
  z-index:9998;
  pointer-events:none;
  opacity:0;
  transform:translate3d(-120px,-120px,0);
  transition:opacity .3s ease;
  will-change:transform;
  contain:layout paint style;
}
.tp-cursor-runner.is-ready{opacity:1;}
.tp-cursor-runner img{
  position:relative;
  z-index:2;
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  transform-origin:50% 92%;
  user-select:none;
  -webkit-user-drag:none;
  filter:drop-shadow(0 4px 3px rgba(0,65,110,.16));
  will-change:transform;
}
.tp-cursor-runner__shadow{
  position:absolute;
  z-index:1;
  left:18%;
  right:18%;
  bottom:2px;
  height:8px;
  border-radius:50%;
  background:rgba(0,62,100,.16);
  filter:blur(2px);
  transform-origin:center;
  opacity:.72;
}
.tp-cursor-runner.is-running img{
  animation:tp-run-body .24s infinite ease-in-out;
}
.tp-cursor-runner.is-running .tp-cursor-runner__shadow{
  animation:tp-run-shadow .24s infinite ease-in-out;
}
.tp-cursor-runner.is-sprinting img{
  animation-duration:.16s;
}
.tp-cursor-runner.is-sprinting .tp-cursor-runner__shadow{
  animation-duration:.16s;
}
.tp-cursor-runner.is-braking img{
  animation:tp-brake .22s ease-out both;
}
@keyframes tp-run-body{
  0%,100%{transform:translateY(0) rotate(-2deg) scaleY(1);}
  25%{transform:translateY(-5px) rotate(2deg) scaleY(1.025);}
  50%{transform:translateY(1px) rotate(-1deg) scaleY(.97);}
  75%{transform:translateY(-4px) rotate(2deg) scaleY(1.02);}
}
@keyframes tp-run-shadow{
  0%,100%{transform:scaleX(1);opacity:.72;}
  25%,75%{transform:scaleX(.74);opacity:.45;}
  50%{transform:scaleX(1.08);opacity:.78;}
}
@keyframes tp-brake{
  0%{transform:translateX(0) rotate(0deg) scaleY(1);}
  45%{transform:translateX(4px) rotate(8deg) scaleY(.94);}
  100%{transform:translateX(0) rotate(0deg) scaleY(1);}
}
@media (max-width:1024px), (hover:none), (pointer:coarse){
  .tp-cursor-runner{display:none !important;}
}
@media (prefers-reduced-motion:reduce){
  .tp-cursor-runner{display:none !important;}
}


/* =========================================================
   TOPへ戻るボタン
   PC・タブレット・スマホ共通
========================================================= */
.back-to-top{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:9999;
  width:64px;
  height:64px;
  padding:0;
  border:0;
  border-radius:50%;
  background:#14A3E2;
  color:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  font:inherit;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 8px 22px rgba(0,72,115,.28);
  opacity:0;
  visibility:hidden;
  transform:translateY(14px) scale(.92);
  transition:opacity .25s ease, visibility .25s ease, transform .25s ease, box-shadow .25s ease;
  -webkit-tap-highlight-color:transparent;
}
.back-to-top.is-visible{
  opacity:1;
  visibility:visible;
  transform:translateY(0) scale(1);
}
.back-to-top:hover{
  transform:translateY(-2px) scale(1.08);
  box-shadow:0 12px 28px rgba(0,72,115,.36);
}
.back-to-top:focus-visible{
  outline:3px solid rgba(20,163,226,.34);
  outline-offset:4px;
}
.back-to-top:active{
  transform:translateY(0) scale(.98);
}
.back-to-top__arrow{
  width:12px;
  height:12px;
  border-top:3px solid currentColor;
  border-left:3px solid currentColor;
  transform:rotate(45deg) translate(2px,2px);
}
.back-to-top__text{
  font-size:12px;
  line-height:1;
  letter-spacing:.04em;
}
/* 追従TPくんはボタンより下のレイヤー。ボタン付近では少し距離を取る */
.tp-cursor-runner{z-index:9998;}
@media (max-width:767px){
  .back-to-top{
    right:16px;
    bottom:16px;
    width:56px;
    height:56px;
  }
}
@media (prefers-reduced-motion:reduce){
  .back-to-top{transition:none;}
}
