﻿/* あこ｜事務・オンライン秘書 ポートフォリオサイト（原型） */
:root {
  --brand: #1e4d3b;
  --brand-2: #2f6a52;
  --ink: #222624;
  --sub: #5c625f;
  --line: #d9dcd9;
  --soft: #f0f2f0;
  --paper: #ffffff;
  --accent: #c8372d;
  --radius: 14px;
  --maxw: 1040px;
  --gutter: 20px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  background: var(--paper); color: var(--ink);
  font-family: "Noto Sans JP", "Yu Gothic UI", "Hiragino Sans", "Meiryo", system-ui, sans-serif;
  font-size: 16px; line-height: 1.85; -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--brand); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-weight: 700; color: var(--brand); text-decoration: none; letter-spacing: .06em; display: flex; align-items: center; gap: 10px; }
.brand img { width: 28px; height: 28px; }
.nav { display: none; }
.nav a { color: var(--ink); text-decoration: none; font-size: 14px; padding: 6px 10px; border-radius: 8px; }
.nav a:hover { background: var(--soft); }
.menu-btn { background: none; border: 1px solid var(--line); border-radius: 10px; padding: 7px 12px; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; }
.nav.open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 60px; background: #fff; border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 16px; }
.nav.open a { padding: 12px 6px; font-size: 16px; border-bottom: 1px solid var(--soft); }
@media (min-width: 860px) {
  .menu-btn { display: none; }
  .nav { display: flex; gap: 2px; align-items: center; }
  .nav .cta-mini { background: var(--brand); color: #fff; margin-left: 8px; padding: 7px 16px; }
  .nav .cta-mini:hover { background: var(--brand-2); }
}

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 10px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid var(--brand); font: inherit; font-weight: 700; cursor: pointer; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); border-color: var(--brand-2); }
.btn-ghost { background: #fff; color: var(--brand); }
.btn-ghost:hover { background: var(--soft); }
.btn-small { min-height: 40px; padding: 6px 16px; font-size: 14px; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---- hero ---- */
.hero { padding: 40px 0 28px; background: linear-gradient(180deg, var(--soft), #fff 85%); }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.eyebrow { color: var(--sub); font-size: 14px; letter-spacing: .12em; }
.status { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; background: #fff; border: 1px solid var(--brand); color: var(--brand); border-radius: 999px; padding: 4px 14px; font-size: 14px; font-weight: 700; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }
h1 { font-size: clamp(30px, 7.4vw, 46px); line-height: 1.35; color: var(--brand); margin: 10px 0 14px; letter-spacing: .02em; }
.lead { font-size: 17px; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.rule { width: 56px; height: 4px; background: var(--accent); border-radius: 2px; margin: 14px 0; }
.hero-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 2px 18px rgba(30,77,59,.08); }
.hero-person { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.hero-person img { width: 84px; height: 84px; border-radius: 50%; border: 3px solid var(--soft); background: var(--soft); }
.hero-person b { font-size: 22px; color: var(--brand); letter-spacing: .06em; display: block; line-height: 1.3; }
.hero-person span { font-size: 14px; color: var(--sub); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fact { background: var(--soft); border-radius: 10px; padding: 10px 12px; line-height: 1.5; }
.fact b { display: block; font-size: 20px; color: var(--brand); }
.fact span { font-size: 13px; color: var(--sub); }
@media (min-width: 860px) {
  .hero { padding: 72px 0 56px; }
  .hero-grid { grid-template-columns: 1.25fr 1fr; gap: 56px; }
}

/* ---- sections ---- */
section { padding: 56px 0; }
section.alt { background: var(--soft); }
.sec-label { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .16em; }
h2 { font-size: clamp(24px, 5.4vw, 32px); color: var(--brand); line-height: 1.4; margin: 4px 0 12px; }
h3 { font-size: 18px; color: var(--brand); line-height: 1.5; }
.sec-lead { max-width: 40em; color: var(--ink); margin-bottom: 26px; }
.note { font-size: 14px; color: var(--sub); line-height: 1.7; }

.cards { display: grid; gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin-bottom: 8px; }
.card .num { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .14em; }
.card ul { padding-left: 1.2em; margin: 8px 0; }
.card li { margin-bottom: 2px; }
.card .why { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--sub); line-height: 1.7; }
.card .why b { color: var(--brand); }
@media (min-width: 760px) { .cards.two { grid-template-columns: 1fr 1fr; } .cards.four { grid-template-columns: repeat(4, 1fr); } }
.worry { display: grid; gap: 12px; }
@media (min-width: 760px) { .worry { grid-template-columns: 1fr 1fr; } }
.worry li { list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 14px 40px; position: relative; }
.worry li::before { content: ""; position: absolute; left: 18px; top: 23px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.worry li::after { content: none; }
.ng { margin-top: 20px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--brand); border-radius: 10px; padding: 16px 18px; }
.ng h3 { font-size: 16px; margin-bottom: 4px; }
.ng ul { padding-left: 1.2em; }

/* ---- experience timeline ---- */
.timeline { list-style: none; border-left: 3px solid var(--line); margin-left: 8px; }
.timeline li { position: relative; padding: 0 0 26px 22px; }
.timeline li::before { content: ""; position: absolute; left: -10px; top: 8px; width: 17px; height: 17px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.timeline li.now::before { background: var(--brand); }
.tl-years { display: inline-block; font-size: 13px; font-weight: 700; color: #fff; background: var(--brand); border-radius: 999px; padding: 1px 12px; }
.tl-title { font-weight: 700; font-size: 17px; margin-top: 4px; }
.tl-body { color: var(--sub); font-size: 15px; line-height: 1.75; }
.tl-body em { color: var(--accent); font-style: normal; font-weight: 700; }
.two-col { display: grid; gap: 28px; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1.3fr 1fr; gap: 48px; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 18px; list-style: none; }
.chips li { background: #fff; border: 1px solid var(--brand); color: var(--brand); border-radius: 999px; padding: 2px 14px; font-size: 14px; font-weight: 700; }
.kv h3 { margin-top: 16px; font-size: 16px; }
.kv p { color: var(--ink); }
.promise { display: grid; gap: 14px; margin-top: 8px; }
.promise div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.promise b { color: var(--brand); display: block; }

/* ---- samples ---- */
.sample { display: grid; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 20px; }
.sample-thumb { position: relative; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--soft); cursor: zoom-in; padding: 0; width: 100%; display: block; }
.sample-thumb img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; }
.sample-thumb .pages { position: absolute; right: 8px; bottom: 8px; background: rgba(30,77,59,.92); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.sample h3 { font-size: 20px; margin: 2px 0 6px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 1px 10px; margin: 0 6px 6px 0; border: 1px solid var(--brand); color: var(--brand); background: #fff; }
.tag.red { border-color: var(--accent); color: var(--accent); }
.sample .shows { margin: 10px 0 14px; }
.sample .shows b { font-size: 14px; color: var(--brand); }
.sample .shows ul { padding-left: 1.2em; font-size: 15px; }
.sample-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.official-note { font-size: 13px; color: var(--accent); font-weight: 700; margin: 6px 0; line-height: 1.6; }
@media (min-width: 860px) { .sample { grid-template-columns: 1.1fr 1fr; align-items: center; padding: 24px; gap: 32px; } }
.honest { background: #fff; border: 1px solid var(--brand); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 22px; }
.honest b { color: var(--brand); }

/* ---- table ---- */
.dl { display: grid; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.dl div { display: grid; padding: 14px 18px; border-bottom: 1px solid var(--line); gap: 2px; }
.dl div:last-child { border-bottom: 0; }
.dl dt { font-weight: 700; color: var(--brand); }
.dl dd { color: var(--ink); }
@media (min-width: 760px) { .dl div { grid-template-columns: 11em 1fr; gap: 16px; } }

/* ---- flow ---- */
.flow { list-style: none; display: grid; gap: 14px; counter-reset: step; }
.flow li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px 16px 64px; position: relative; }
.flow li::before { content: counter(step); position: absolute; left: 16px; top: 14px; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; display: grid; place-items: center; }
.flow li b { color: var(--brand); display: block; }
@media (min-width: 860px) { .flow { grid-template-columns: repeat(4, 1fr); } .flow li { padding: 60px 16px 16px; } .flow li::before { left: 16px; top: 16px; } }

/* ---- faq ---- */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 44px 14px 18px; font-weight: 700; list-style: none; position: relative; color: var(--brand); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; position: absolute; right: 16px; top: 12px; color: var(--accent); }
.faq details[open] summary::after { content: "－"; }
.faq details p { padding: 0 18px 16px; }

/* ---- contact ---- */
.contact { background: var(--brand); color: #fff; }
.contact h2, .contact .sec-label { color: #fff; }
.contact .sec-label { opacity: .8; }
.contact .sec-lead { color: #fff; }
.methods { display: grid; gap: 12px; margin: 20px 0; }
@media (min-width: 760px) { .methods { grid-template-columns: repeat(2, 1fr); } }
.method { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.35); border-radius: 12px; padding: 14px 18px; }
.method b { display: block; }
.method .btn { margin-top: 8px; }
.contact .note { color: #e8efec; }
.contact .btn-primary { background: #fff; color: var(--brand); border-color: #fff; }
.contact a { color: #fff; }

/* ---- footer ---- */
.site-footer { padding: 28px 0 90px; font-size: 13px; color: var(--sub); }
.site-footer .wrap { display: grid; gap: 6px; }

/* ---- floating cta (mobile) ---- */
.float-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); padding: 10px var(--gutter); transform: translateY(110%); transition: transform .25s; display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.float-cta.show { transform: none; }
.float-cta span { font-size: 13px; color: var(--sub); line-height: 1.4; }
@media (min-width: 860px) { .float-cta { display: none; } .site-footer { padding-bottom: 28px; } }

/* ---- lightbox ---- */
dialog.lb { border: 0; border-radius: 14px; padding: 0; width: min(96vw, 1100px); max-height: 94vh; background: #fff; overflow: hidden; }
dialog.lb::backdrop { background: rgba(20,30,26,.72); }
.lb-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.lb-title { font-weight: 700; color: var(--brand); font-size: 15px; }
.lb-body { background: var(--soft); padding: 10px; display: grid; place-items: center; max-height: calc(94vh - 130px); overflow: auto; }
.lb-body img { max-height: calc(94vh - 160px); width: auto; border: 1px solid var(--line); background: #fff; }
.lb-foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; padding: 10px 14px; border-top: 1px solid var(--line); }
.lb-count { font-size: 14px; color: var(--sub); min-width: 4em; text-align: center; }
.lb-nav { display: flex; gap: 8px; align-items: center; }
.lb-note { font-size: 12px; color: var(--sub); flex-basis: 100%; }
/* スマホでは、画像を大きく表示して、指で動かして読む */
@media (max-width: 700px) {
  .lb-body { place-items: start; overflow: auto; -webkit-overflow-scrolling: touch; }
  .lb-body img { max-height: none; max-width: none; width: 860px; }
  .lb-body::before { content: "指で動かすと、大きく読めます"; position: sticky; left: 0; top: 0; display: block; font-size: 12px; color: var(--sub); padding-bottom: 6px; }
}

/* ---- 公開前に入れる情報の印 ---- */
.todo { background: #fff3b0; color: #222; padding: 0 4px; border-radius: 3px; font-weight: 700; }
.contact .todo { background: #fff3b0; color: #222; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-cta { transition: none; }
}
@media print { .site-header, .float-cta { display: none; } }

.b .tl-body strong, .tl-body strong { color: var(--brand); font-weight: 700; }

/* ---- 押しやすさ・読みやすさ（2026-11-24） ---- */
.btn-small { min-height: 44px; }
.menu-btn { min-height: 44px; }
.brand { min-height: 44px; }
.tag { font-size: 13px; }
.sample-thumb .pages { font-size: 13px; }
.lb-note { font-size: 13px; }

