/* Katie_works ポートフォリオサイト
   色：白・黒・グレーのモノクロ＋アクセントは深いピンク（#C2185B）1色。グレーは線と背景だけ。文字は黒。
   参考にした雰囲気：余白をたっぷり、やわらかい言葉、ページを分けて整理（Katie の好み） */

:root {
  --pink: #C2185B;
  --pink-soft: #fbeef3;
  --ink: #1a1a1a;
  --line: #e2e2e2;
  --bg: #f7f7f7;
  --white: #fff;
  --radius: 14px;
  --wrap: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.9;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.pink { color: var(--pink); }
.todo { color: var(--pink); font-weight: 700; } /* 〇〇（あとで記入）の所 */
/* 日本語の改行を、言葉の切れ目でするようにする（1文字だけ次の行に落ちるのを防ぐ） */
h1, h2, h3, p, li, dd { word-break: auto-phrase; text-wrap: pretty; }

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { font-weight: 900; font-size: 22px; text-decoration: none; letter-spacing: .01em; }
.logo span { color: var(--pink); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--pink); }
.nav .btn { padding: 8px 20px; font-size: 14px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font: inherit; font-size: 14px; cursor: pointer; }

/* ---------- ボタン ---------- */
.btn { display: inline-block; background: var(--pink); color: #fff !important; text-decoration: none; font-weight: 700; border-radius: 999px; padding: 14px 32px; transition: opacity .2s; }
.btn:hover { opacity: .85; }
.btn.ghost { background: #fff; color: var(--pink) !important; border: 2px solid var(--pink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---------- セクション共通 ---------- */
section { padding: 96px 0; }
section.gray { background: var(--bg); }
.sec-label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--pink); margin-bottom: 8px; }
.sec-title { font-size: 30px; font-weight: 700; line-height: 1.5; margin-bottom: 20px; }
.sec-lead { max-width: 720px; margin-bottom: 48px; }
.center { text-align: center; }
.center .sec-lead { margin-left: auto; margin-right: auto; }
.more { margin-top: 40px; text-align: center; }
.more a { font-weight: 700; color: var(--pink); text-decoration: none; border-bottom: 2px solid var(--pink); padding-bottom: 2px; }

/* ---------- トップの最初の画面 ---------- */
.hero { padding: 88px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 56px; }
.hero .tag { display: inline-block; font-size: 14px; font-weight: 700; color: var(--pink); background: var(--pink-soft); border-radius: 999px; padding: 4px 16px; margin-bottom: 20px; }
.hero h1 { font-size: 44px; font-weight: 900; line-height: 1.45; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 64%, var(--pink-soft) 64%); }
.hero p.lead { font-size: 18px; margin-top: 24px; }
.hero .photo { justify-self: center; width: min(340px, 80%); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid var(--pink); }
.hero .photo img { width: 100%; height: 100%; object-fit: cover; }
.hero .name { text-align: center; font-weight: 900; font-size: 20px; margin-top: 16px; }

/* ---------- お悩みのチェックリスト ---------- */
.checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 860px; margin: 0 auto; }
.checks li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px 20px 60px; position: relative; font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 24px; top: 26px; width: 18px; height: 10px; border-left: 3px solid var(--pink); border-bottom: 3px solid var(--pink); transform: rotate(-45deg); }
.answer { max-width: 760px; margin: 48px auto 0; text-align: center; font-size: 18px; }
.answer strong { font-size: 24px; display: block; margin-bottom: 8px; }

/* ---------- 大切にしていること ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { border-top: 4px solid var(--pink); padding-top: 20px; }
.value .no { font-size: 14px; font-weight: 700; color: var(--pink); letter-spacing: .1em; }
.value h3 { font-size: 20px; margin: 4px 0 8px; }

/* ---------- できること ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; }
.service.main { grid-column: 1 / -1; border: 2px solid var(--pink); display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.service .badge { display: inline-block; font-size: 12px; font-weight: 700; color: #fff; background: var(--pink); border-radius: 4px; padding: 1px 10px; margin-bottom: 10px; }
.service h3 { font-size: 21px; margin-bottom: 8px; line-height: 1.5; }
.service ul { padding-left: 1.2em; margin-top: 8px; }
.service li { margin: 2px 0; }
.service.main img { border-radius: 10px; border: 1px solid var(--line); }

/* ---------- 作品のカード（トップ） ---------- */
.work-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.work-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.work-card .thumb { aspect-ratio: 16 / 10; background: var(--bg); overflow: hidden; border-bottom: 1px solid var(--line); }
.work-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work-card .body { padding: 20px 22px 24px; }
.work-card .kind { font-size: 13px; font-weight: 700; color: var(--pink); }
.work-card h3 { font-size: 18px; line-height: 1.5; margin-top: 4px; }

/* ---------- 進め方 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--pink); color: #fff; font-weight: 700; margin-bottom: 12px; }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 44px; border-left: 8px solid var(--pink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* ---------- 小さく試せるメニュー ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; }
.plan .plan-name { font-size: 14px; font-weight: 700; color: var(--pink); letter-spacing: .1em; }
.plan h3 { font-size: 21px; line-height: 1.5; margin: 4px 0 12px; }
.plan .price { font-size: 22px; font-weight: 700; margin: 8px 0 14px; }
.plan .price small { font-size: 13px; font-weight: 500; margin-left: 4px; }
.plan .price .blank { display: inline-block; width: 5em; height: 1.3em; border-bottom: 2px solid var(--line); margin-right: 4px; vertical-align: bottom; } /* 金額は決まり次第入れる */
.plan .inc { font-size: 14px; font-weight: 700; margin-top: 4px; }
.plan ul { padding-left: 1.2em; font-size: 15px; }
.plan .for { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14px; }

/* ---------- 自己紹介（短い版） ---------- */
.intro { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: center; }
.intro img { border-radius: 50%; border: 4px solid var(--pink); }
.quotes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.quotes span { border: 1px solid var(--pink); color: var(--pink); border-radius: 999px; padding: 4px 16px; font-size: 14px; font-weight: 500; }

/* ---------- 相談（最後） ---------- */
.contact { background: var(--pink-soft); text-align: center; }
.contact .sec-title { margin-bottom: 12px; }
.contact .note { font-size: 14px; margin-top: 20px; }

/* ---------- 下層ページの見出し ---------- */
.page-head { padding: 72px 0 56px; background: var(--bg); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: 34px; font-weight: 900; }
.page-head p { margin-top: 12px; max-width: 760px; }

/* ---------- 作品ページ ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chips a { text-decoration: none; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 18px; font-size: 14px; font-weight: 500; }
.chips a:hover { border-color: var(--pink); color: var(--pink); }
.case { padding: 72px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.case:last-of-type { border-bottom: 0; }
.case-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 16px; margin-bottom: 24px; }
.case-head .kind { font-size: 13px; font-weight: 700; color: #fff; background: var(--pink); border-radius: 4px; padding: 2px 10px; }
.case-head .self { font-size: 13px; font-weight: 700; border: 1px solid var(--ink); border-radius: 4px; padding: 1px 10px; }
.case h2 { font-size: 26px; line-height: 1.5; width: 100%; }
.case-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.facts { border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; color: var(--pink); font-size: 15px; }
.facts dd { font-size: 15px; }
.facts ul { padding-left: 1.2em; }
.case-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.case-links .btn { padding: 10px 22px; font-size: 14px; }
.shot { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; cursor: zoom-in; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.gallery.two { grid-template-columns: 1fr 1fr; }
.gallery .shot { border-radius: 6px; }
.caption { font-size: 13px; margin-top: 8px; }
.ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; margin-top: 20px; }
.ba .arrow { width: 0; height: 0; border-left: 12px solid var(--pink); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.ba .lab { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.ba .lab.after { color: var(--pink); }
.cover-sample { max-width: 300px; margin: 0 auto; }

/* ---------- できることページ ---------- */
.svc-detail { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; padding: 48px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.svc-detail:last-child { border-bottom: 0; }
.svc-detail h2 { font-size: 24px; line-height: 1.5; }
.svc-detail .for { margin-top: 12px; font-size: 15px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; }
.box h3 { font-size: 16px; color: var(--pink); margin-bottom: 6px; }
.box ul { padding-left: 1.2em; }
.box + .box { margin-top: 16px; }
.office { columns: 2; column-gap: 40px; padding-left: 1.2em; }

/* ---------- わたしについて ---------- */
.profile { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: start; }
.profile img { border-radius: 50%; border: 6px solid var(--pink); }
.profile .msg p + p { margin-top: 16px; }
.strengths { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.strength { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; }
.strength .no { font-size: 14px; font-weight: 700; color: var(--pink); letter-spacing: .1em; }
.strength h3 { font-size: 20px; margin: 4px 0 10px; line-height: 1.5; }
.strength .why { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 15px; }
.strength .why b { color: var(--pink); margin-right: 6px; }
.career { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; }
.career li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; position: relative; }
.career li:last-child { border: 2px solid var(--pink); }
.career b { display: block; font-size: 18px; }
.career span { font-size: 14px; }
.tools { display: flex; flex-wrap: wrap; gap: 10px; }
.tools span { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 16px; font-weight: 500; }

/* ---------- よくある質問 ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; padding: 18px 40px 18px 44px; position: relative; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 0; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--pink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.faq summary::after { content: "＋"; position: absolute; right: 8px; top: 18px; color: var(--pink); }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 8px 22px 44px; position: relative; }
.faq .a::before { content: "A"; position: absolute; left: 7px; top: 0; font-weight: 700; color: var(--pink); }

/* ---------- フッター ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--pink); }

/* ---------- 画像を大きく見る ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.82); display: none; align-items: center; justify-content: center; z-index: 100; padding: 24px; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 92vh; max-width: 96vw; width: auto; border-radius: 6px; background: #fff; }

/* ---------- スマホ ---------- */
@media (max-width: 860px) {
  body { font-size: 15px; }
  section { padding: 64px 0; }
  .wrap { padding: 0 16px; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 16px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; width: auto; border: 0; padding: 10px 24px; }
  .hero { padding: 48px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero .photo-wrap { order: -1; }
  .hero .photo { width: 200px; }
  .hero h1 { font-size: 30px; }
  .hero p.lead { font-size: 16px; }
  .sec-title { font-size: 24px; }
  .checks, .values, .services, .work-cards, .plans, .strengths { grid-template-columns: 1fr; }
  .service.main { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { right: auto; left: 40px; top: auto; bottom: -14px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 8px solid var(--pink); border-bottom: 0; }
  .intro, .profile { grid-template-columns: 1fr; gap: 24px; }
  .intro img, .profile img { width: 160px; }
  .case-grid, .svc-detail { grid-template-columns: 1fr; gap: 28px; }
  .case h2 { font-size: 21px; }
  .page-head h1 { font-size: 26px; }
  .career { grid-template-columns: 1fr 1fr; }
  .office { columns: 1; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .answer br, .sec-lead br { display: none; } /* スマホでは自然に折り返す */
}
