/* Sub-pages added in T38 (draft, 2026-11-23): /ja/package/ and /ja/contact/.
   Loaded after site.css. Only adds new classes; nothing in site.css is overridden except where noted. */

/* page heading block (both pages) */
.page-head{padding:72px 0 64px;border-bottom:1px solid var(--line)}
.page-head .ver{font-size:13px;line-height:1.8;letter-spacing:.08em;color:var(--muted);margin:0 0 18px}
.page-title{font-family:var(--heading);font-weight:600;font-size:clamp(25px,3.4vw,40px);line-height:1.5;letter-spacing:.08em;margin:0 0 22px}
.page-head .lead{max-width:680px;margin:0 0 40px;font-size:17px;line-height:2;color:var(--ink-2)}
.page-head .lead:last-child{margin-bottom:0}
.page-head .btn-row{justify-content:flex-start}
@media (max-width:620px){.page-head{padding:56px 0 48px}.page-head .lead{font-size:16px}}

/* reading column */
.prose{max-width:760px}
.prose p{margin:0 0 16px;font-size:15.5px;line-height:2;color:var(--ink-2)}
.prose p:last-child{margin-bottom:0}
.promise{font-family:var(--heading);font-weight:600;color:var(--ink) !important;border-left:2px solid var(--ink);padding-left:16px;margin-top:24px !important}

/* dash list, same mark as the service cards */
.dash{list-style:none;margin:0;padding:0;max-width:760px}
.dash li{position:relative;padding:0 0 0 24px;margin:0 0 14px;font-size:15.5px;line-height:2;color:var(--ink-2)}
.dash li::before{content:"\2014";position:absolute;left:0;color:var(--line-2)}
.dash li:last-child{margin-bottom:0}

/* work guarantee box */
.guarantee{max-width:760px;margin:32px 0 0;padding:22px 26px;border:1px solid var(--ink);background:var(--paper)}
.section.alt .guarantee{background:#fff}
.guarantee p{margin:0;font-size:15.5px;line-height:2;color:var(--ink-2)}
.guarantee b{font-family:var(--heading);font-weight:600;color:var(--ink)}
@media (max-width:620px){.guarantee{padding:18px 18px}}

/* price table: three columns on wide screens, stacked rows on phones */
.price{width:100%;max-width:760px;border-collapse:collapse;margin:0 0 36px;border-top:1px solid var(--ink)}
.price th,.price td{padding:18px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:baseline;font-size:15.5px;line-height:1.8;color:var(--ink-2)}
.price th:first-child,.price td:first-child{padding-left:0}
.price th:last-child,.price td:last-child{padding-right:0}
.price thead th{font-family:var(--heading);font-weight:600;font-size:13px;letter-spacing:.16em;color:var(--muted);border-bottom:1px solid var(--line-2);padding-top:12px;padding-bottom:12px}
.price tbody th{font-family:var(--heading);font-weight:600;color:var(--ink)}
.price .n{text-align:right;white-space:nowrap}
.price td.n{font-size:17px;color:var(--ink)}
@media (max-width:620px){
  .price thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .price,.price tbody,.price tr,.price th,.price td{display:block}
  .price tr{padding:16px 0;border-bottom:1px solid var(--line)}
  .price th,.price td{border:0;padding:0}
  .price tbody th{margin:0 0 6px}
  .price td.n{display:flex;justify-content:space-between;align-items:baseline;gap:16px;text-align:left;font-size:16px}
  .price td.n::before{content:attr(data-label);font-family:var(--heading);font-size:13px;letter-spacing:.14em;color:var(--muted)}
}

/* numbered steps */
.steps{list-style:none;margin:0;padding:0;max-width:760px;counter-reset:step;border-top:1px solid var(--line-2)}
.steps li{position:relative;counter-increment:step;padding:22px 0 22px 64px;border-bottom:1px solid var(--line);font-size:15.5px;line-height:2;color:var(--ink-2)}
.steps li::before{content:counter(step,decimal-leading-zero);position:absolute;left:0;top:20px;font-family:var(--display);font-size:30px;line-height:1;color:#cfcabf;letter-spacing:0}
@media (max-width:620px){.steps li{padding-left:52px}.steps li::before{font-size:26px}}

/* FAQ: open/close with <details>, no script */
.faq-group{max-width:820px;margin:0 0 48px}
.faq-group:last-child{margin-bottom:0}
.faq-group h3{font-family:var(--heading);font-weight:600;font-size:17px;letter-spacing:.12em;color:var(--muted);margin:0 0 6px}
.faq{border-top:1px solid var(--line-2)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{position:relative;display:block;list-style:none;cursor:pointer;padding:20px 44px 20px 0;font-family:var(--heading);font-weight:600;font-size:16px;line-height:1.85;letter-spacing:.06em;color:var(--ink)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";position:absolute;right:6px;top:30px;width:12px;height:12px;border-right:1.5px solid var(--ink-2);border-bottom:1.5px solid var(--ink-2);transform:rotate(45deg);transition:transform .2s}
.faq details[open] summary::after{transform:translateY(5px) rotate(-135deg)}
.faq summary:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.faq .a{padding:0 0 24px}
.faq .a p{margin:0;font-size:15px;line-height:2.05;color:var(--ink-2)}
@media (prefers-reduced-motion:reduce){.faq summary::after{transition:none}}
@media (max-width:620px){.faq summary{font-size:15.5px;padding-right:36px}.faq summary::after{right:4px}}

/* closing block on the package page (dark, like the home page contact) */
.contact .fine{max-width:600px;margin:40px auto 0;font-size:13px;line-height:2;color:#a9a397}
html[lang="ja"] .contact .fine{font-size:13px;line-height:2}
.contact .fine a{color:#cfcac0}

/* contact form (moved here from drafts/contact-form/contact.html so the page needs no inline style) */
.cf{max-width:640px;margin:0 auto}
.cf .field{margin:0 0 26px}
.cf label,.cf legend{display:block;font-family:var(--heading);font-weight:600;margin:0 0 6px}
.cf .req{color:#9a3b2e;font-size:.85em;margin-left:.5em;white-space:nowrap}
.cf .opt{color:var(--muted);font-size:.85em;margin-left:.5em;font-weight:400;white-space:nowrap}
.cf input[type=text],.cf input[type=email],.cf input[type=tel],.cf select,.cf textarea{width:100%;padding:12px 14px;font:inherit;letter-spacing:.03em;color:var(--ink);background:#fff;border:1px solid var(--line-2);border-radius:0}
.cf select{-webkit-appearance:none;appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--ink-2) 50%),linear-gradient(135deg,var(--ink-2) 50%,transparent 50%);background-position:calc(100% - 20px) 50%,calc(100% - 14px) 50%;background-size:6px 6px;background-repeat:no-repeat;padding-right:40px}
.cf textarea{min-height:180px;resize:vertical}
.cf input:focus,.cf select:focus,.cf textarea:focus{outline:2px solid var(--ink);outline-offset:1px}
.cf .cf-note{margin:0 0 12px;font-size:13.5px;line-height:1.9;color:var(--ink-2)}
.cf .consent{display:flex;gap:10px;align-items:flex-start;font-family:var(--text);font-weight:400;font-size:15px;line-height:1.8}
.cf .consent input{margin-top:.45em;width:18px;height:18px;flex:none}
.cf .hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.cf .cf-turnstile{min-height:65px}
.cf button.btn{cursor:pointer;background:var(--ink);color:var(--paper)}
.cf button.btn:hover{background:transparent;color:var(--ink)}
.cf button.btn:disabled{opacity:.5;cursor:not-allowed}
.cf-msg{margin:24px 0 0;padding:16px 18px;border:1px solid var(--line-2);display:none}
.cf-msg.is-ok,.cf-msg.is-err{display:block}
.cf-msg.is-ok{background:var(--paper-2)}
.cf-msg.is-err{border-color:#9a3b2e;color:#9a3b2e}
.cf-head{margin-bottom:40px}
.cf-head .page-title{margin-bottom:14px}
.cf-head .intro{margin:0;color:var(--ink-2);font-size:15.5px;line-height:1.85}
