:root {
  --grip-blue: #087fbd;
  --grip-blue-dark: #075a88;
  --grip-navy: #18374d;
  --grip-sky: #dff3fb;
  --grip-mist: #f3f8fb;
  --grip-ink: #1c2933;
  --grip-muted: #5c6a74;
  --grip-line: #d5e0e7;
  --grip-white: #fff;
  font-family: "Segoe UI", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--grip-ink);
  background: var(--grip-mist);
  line-height: 1.75;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: linear-gradient(180deg, #eef7fb 0, #f7fafc 560px, #f4f6f8 100%); }
a { color: var(--grip-blue-dark); text-underline-offset: .18em; }

.site-header {
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(24, 55, 77, .12);
  box-shadow: 0 4px 20px rgba(24, 55, 77, .06);
}
.site-header__inner,
.site-footer__inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header__inner { min-height: 74px; }
.site-brand { display: inline-flex; align-items: baseline; gap: 12px; color: var(--grip-ink); text-decoration: none; }
.site-brand__name { font-size: 1.55rem; font-weight: 800; letter-spacing: .16em; line-height: 1; }
.site-brand__tagline { color: var(--grip-muted); font-size: .72rem; letter-spacing: .06em; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--grip-ink); font-size: .9rem; font-weight: 650; text-decoration: none; }
.site-nav a:last-child { padding: 8px 15px; border: 1px solid var(--grip-blue); border-radius: 999px; color: var(--grip-blue-dark); }

.pdfprint-main { width: min(1040px, calc(100% - 40px)); margin: 0 auto; padding: 24px 0 80px; }
.service-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; color: var(--grip-muted); font-size: .82rem; }
.service-breadcrumb a { color: inherit; }
.service-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .75fr);
  gap: 50px;
  align-items: center;
  padding: clamp(34px, 6vw, 66px);
  margin: 0 0 30px;
  color: var(--grip-white);
  background: linear-gradient(125deg, #12344b 0%, #075f8d 58%, #0b8ec0 100%);
  border: 0;
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(17, 61, 86, .18);
}
.service-hero::after { content: ""; position: absolute; width: 360px; height: 360px; right: -160px; top: -180px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.service-hero__copy { position: relative; z-index: 1; }
.service-label { margin: 0 0 12px; color: #75d4f2; font-size: .74rem; font-weight: 800; letter-spacing: .16em; }
.service-hero h1 { margin: 0 0 24px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.34; letter-spacing: .02em; }
.service-hero h1 span { white-space: nowrap; }
.service-hero p { max-width: 680px; }
.service-hero__lead { margin-bottom: 12px; font-size: clamp(1.06rem, 2vw, 1.28rem); font-weight: 700; }
.text-link { display: inline-block; margin-top: 10px; color: var(--grip-white); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.7); }
.service-hero__visual { position: relative; z-index: 1; text-align: center; }
.paper-stack { position: relative; width: 210px; height: 190px; margin: 0 auto 14px; }
.paper-slide,.paper-sheet { position: absolute; display: block; background: rgba(255,255,255,.96); border-radius: 4px; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.paper-slide { width: 106px; height: 64px; left: 0; border-left: 7px solid #45bfdc; }
.paper-slide::after { content: ""; position: absolute; left: 17px; right: 14px; bottom: 16px; height: 5px; background: #c9dbe4; box-shadow: 0 -13px 0 #d9e6ec; }
.paper-slide--one { top: 12px; transform: rotate(-5deg); }
.paper-slide--two { bottom: 18px; transform: rotate(4deg); }
.paper-sheet { width: 102px; height: 150px; right: 0; top: 20px; padding: 18px 13px; }
.paper-sheet i { display: block; height: 45px; margin-bottom: 13px; border: 2px solid #75bcd3; background: linear-gradient(135deg, #d9f1f8 45%, #7cc8df 46% 58%, #eaf7fb 59%); }
.service-hero__visual p { margin: 0; color: rgba(255,255,255,.88); font-size: .78rem; font-weight: 800; letter-spacing: .12em; }
.service-hero__visual p span { padding: 0 9px; color: #8ee4f7; font-size: 1.1rem; }

.pdfprint-main > section:not(.service-hero) {
  position: relative;
  background: var(--grip-white);
  border: 1px solid var(--grip-line);
  border-radius: 6px;
  padding: clamp(24px, 4vw, 40px);
  margin: 24px 0;
  box-shadow: 0 8px 24px rgba(24, 55, 77, .045);
}
.pdfprint-main > section:not(.service-hero)::before { content: ""; position: absolute; top: 0; left: 0; bottom: 0; width: 4px; background: linear-gradient(var(--grip-blue), #51c2d9); border-radius: 6px 0 0 6px; }
h2 { margin: 0 0 18px; color: var(--grip-navy); font-size: clamp(1.28rem, 2.2vw, 1.6rem); line-height: 1.45; }
h3 { margin-top: 30px; color: var(--grip-navy); font-size: 1.08rem; }
p:first-child { margin-top: 0; }

label { display: block; margin: 18px 0; font-weight: 650; }
input:not([type=checkbox]),select,textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 620px;
  margin-top: 7px;
  padding: 12px 13px;
  color: var(--grip-ink);
  background: var(--grip-white);
  font: inherit;
  font-weight: 400;
  border: 1px solid #899aa6;
  border-radius: 4px;
}
input[type=file] { padding: 10px; background: #f9fbfc; }
input[type=checkbox] { inline-size: 1.05rem; block-size: 1.05rem; margin-right: .42rem; accent-color: var(--grip-blue); vertical-align: -.14rem; }
button,.button {
  display: inline-block;
  min-width: 180px;
  padding: 13px 22px;
  color: var(--grip-white);
  background: linear-gradient(135deg, var(--grip-blue-dark), var(--grip-blue));
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border: 0;
  border-radius: 4px;
  box-shadow: 0 7px 16px rgba(8, 127, 189, .18);
  cursor: pointer;
}
button:hover,.button:hover { background: linear-gradient(135deg, #06476c, #0874ad); }
button:disabled { opacity: .5; cursor: wait; }
.button--secondary { color: var(--grip-blue-dark); background: var(--grip-white); border: 1px solid var(--grip-blue); box-shadow: none; }
.button--secondary:hover { color: #06476c; background: #edf8fc; }
.error { padding: 16px; color: #8c2626; background: #fff0f0; border-left: 4px solid #b93c3c; }
.quality-advice { padding: 16px; color: #284b63; background: #edf4fa; }
details { margin: 18px 0; padding: 14px 16px; background: #f8fafb; border: 1px solid var(--grip-line); border-radius: 4px; }
summary { color: var(--grip-navy); font-weight: 700; cursor: pointer; }
canvas { width: 100%; height: auto; border: 1px solid var(--grip-line); }
canvas:not([width]) { display: none; }

.submission-row { display: flex; max-width: 720px; margin: 8px 0; gap: 0; }
.submission-row span { flex: 1; overflow-wrap: anywhere; padding: 16px 8px; text-align: center; background: #fff; border: 1px solid #aab3c0; }

.service-return { margin: 48px 0 0; padding: clamp(28px, 5vw, 50px); text-align: center; background: #eaf6fb; border: 1px solid #cae4ef; border-radius: 6px; }
.service-return .service-label { color: var(--grip-blue-dark); }
.service-return h2 { margin-bottom: 12px; }
.service-return p:not(.service-label) { max-width: 680px; margin: 0 auto; }
.service-return__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.site-footer { padding: 34px 0; color: rgba(255,255,255,.74); background: var(--grip-navy); }
.site-footer p { margin: 0; font-size: .78rem; }
.site-footer strong { margin-right: 14px; color: #fff; letter-spacing: .12em; }

a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible { outline: 3px solid #dc8500; outline-offset: 3px; }

@media (max-width: 760px) {
  .site-header__inner { min-height: 64px; }
  .site-brand__tagline { display: none; }
  .site-nav { gap: 14px; }
  .site-nav a { font-size: .78rem; }
  .site-nav a:last-child { padding: 6px 10px; }
  .pdfprint-main { width: min(100% - 24px, 1040px); padding-top: 16px; }
  .service-hero { grid-template-columns: 1fr; gap: 30px; padding: 30px 24px; }
  .service-hero h1 br { display: none; }
  .service-hero h1 span { white-space: normal; }
  .service-hero__visual { display: none; }
  .pdfprint-main > section:not(.service-hero) { padding: 24px 20px; }
  .service-return__actions { display: grid; }
  .site-footer__inner { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (max-width: 430px) {
  .site-header__inner { width: calc(100% - 24px); }
  .site-nav a:first-child { display: none; }
  .site-brand__name { font-size: 1.3rem; }
  .service-hero h1 { font-size: 1.8rem; }
  button,.button { width: 100%; min-width: 0; }
  .submission-row { flex-direction: column; }
}
