/* ポートフォリオサイト（2026-11-24 直し版）
   色：白・黒が基本。ピンク #DABFD1 は「枠・線」に使い、面は薄いピンクだけ。文字は黒。
   形：ボタン・箱・表は、すべて角丸の四角。
   例外：いちばん下の補足だけ小さいグレー。本文は Light 300、見出しは Medium 500。 */
:root {
  --accent: #DABFD1;
  --soft: #faf5f8;
  --soft2: #f4eaf1;
  --black: #000;
  --white: #fff;
  --gray: #6b6b6b;
  --photo: #e6e6e6;
  --line: #ebdfe7;
  --max: 1040px;
  --r: 14px;
  --r-s: 10px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  font-weight: 300; font-size: 16px; line-height: 1.9;
  color: var(--black); background: var(--white);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
b, strong { font-weight: 500; }
ul { list-style: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.small { font-size: 13.5px; line-height: 1.85; }
.grey { color: var(--gray); font-size: 12.5px; line-height: 1.8; }

/* 空欄の目印（あとで決めて書き換える所） */
.blank { background: var(--soft2); border: 1.5px dashed var(--accent); border-radius: 6px; padding: 0 8px; font-weight: 400; white-space: nowrap; }

/* ボタン（角丸の四角。ピンクは枠だけ） */
.btn {
  display: inline-block; text-decoration: none; background: var(--soft2); color: var(--black);
  font-weight: 500; font-size: 15px; padding: 11px 26px; border: 2px solid var(--accent); border-radius: var(--r-s);
  cursor: pointer; font-family: inherit; line-height: 1.5;
}
.btn:hover { background: var(--white); border-color: var(--black); }
.btn.line { background: var(--white); }
.btn.line:hover { background: var(--soft); }
.btn.sm { font-size: 13.5px; padding: 7px 18px; }

/* ヘッダー */
header.site {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; gap: 14px; min-height: 62px; }
.logo { font-weight: 500; font-size: 20px; letter-spacing: .06em; text-decoration: none; margin-right: 6px; }
nav.menu { margin-left: auto; display: flex; gap: 4px; font-size: 13.5px; }
nav.menu a { text-decoration: none; padding: 5px 14px; border: 2px solid var(--accent); border-radius: var(--r-s); white-space: nowrap; }
nav.menu a:hover, nav.menu a.here { border-color: var(--accent); background: var(--soft); }

/* セクション共通 */
section.block { padding: 72px 0; }
section.block.tint { background: var(--soft); }
h2.title {
  font-size: 25px; font-weight: 500; letter-spacing: .04em; line-height: 1.6;
  padding-bottom: 12px; border-bottom: 2px solid var(--accent); margin-bottom: 14px;
}
.lead { max-width: 42em; margin-bottom: 34px; }
h3 { font-size: 17.5px; font-weight: 500; line-height: 1.7; }

/* トップ */
.hero { padding: 64px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 52px; align-items: center; }
.hero h1 { font-size: 31px; font-weight: 500; line-height: 1.6; letter-spacing: .03em; }
.hero .sub { margin-top: 22px; max-width: 30em; }
.hero .cta { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero .tagline { margin-top: 24px; font-size: 14.5px; }
.card-id { background: var(--white); border: 2px solid var(--accent); border-radius: var(--r); padding: 26px 28px 22px; }
.card-id .head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.card-id .name { font-size: 26px; font-weight: 500; letter-spacing: .08em; }
.card-id .role { font-size: 13.5px; }
.facts { display: grid; gap: 0; }
.facts > div { display: grid; grid-template-columns: 74px 1fr; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); align-items: baseline; }
.facts dt { font-size: 12.5px; font-weight: 500; letter-spacing: .06em; }
.facts dd { margin: 0; font-size: 12.5px; line-height: 1.7; }
.facts dd b { display: block; font-size: 19px; line-height: 1.5; }
.hero-note { margin-top: 10px; }

/* 困りごと */
.worries { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.worry {
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r); padding: 22px 26px;
  text-decoration: none; display: block;
}
.worry:hover { border-color: var(--accent); background: var(--soft); }
.worry b { display: block; font-size: 17px; line-height: 1.7; margin-bottom: 4px; }
.worry span { font-size: 14px; display: block; }
.worry em { font-style: normal; font-size: 13px; border-bottom: 1.5px solid var(--accent); }

/* 頼める仕事 */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service { background: var(--white); border: 2px solid var(--accent); border-radius: var(--r); padding: 26px 24px; }
.service h3 { margin-bottom: 6px; }
.service dl { margin-top: 14px; font-size: 14.5px; line-height: 1.85; }
.service dt { font-weight: 500; font-size: 13px; margin-top: 10px; letter-spacing: .06em; }
.service dd { margin: 0; }
.tools { margin-top: 24px; padding: 20px 26px; background: var(--soft); border: 1.5px solid var(--line); border-radius: var(--r); font-size: 14.5px; }
.tint .tools { background: var(--white); }
.support { margin-top: 24px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: 14.5px; }
.support span.chip { padding: 2px 0; font-size: 14px; background: none; }
.support span.chip + span.chip::before { content: "／"; margin-right: 10px; color: var(--accent); }

/* 事例 */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.case { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r); padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.case .tag { font-size: 12.5px; font-weight: 500; color: var(--black); }
.case .theme { display: block; font-size: 19px; font-weight: 500; line-height: 1.55; margin-top: 2px; }
.fig { background: var(--soft); border-radius: var(--r-s); padding: 10px 14px 12px; }
.fig .lab { font-size: 12.5px; margin-bottom: 6px; }
.fig .pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.fig .box { background: var(--white); border: 1.5px solid var(--line); border-radius: 8px; padding: 6px 10px; text-align: center; line-height: 1.5; }
.fig .box small { display: block; font-size: 11.5px; }
.fig .box b { font-size: 16px; }
/* 前→後の矢印：ピンクで塗った、右向きの三角 */
.fig .arrow { width: 0; height: 0; border-left: 15px solid var(--accent); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.case dl { display: grid; grid-template-columns: 72px 1fr; gap: 6px 12px; font-size: 14.5px; line-height: 1.8; }
.case dt { font-weight: 500; font-size: 13px; padding-top: 2px; }
.case dd { margin: 0; }

/* 見本 */
.exhibit { display: grid; grid-template-columns: 250px 1fr; gap: 36px; align-items: start; }
.thumb-small {
  display: block; width: 100%; padding: 0; border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden;
  background: var(--white); cursor: zoom-in; font-family: inherit; color: inherit; text-align: left;
}
.thumb-small:hover { border-color: var(--accent); }
.thumb-small img { width: 100%; height: 230px; object-fit: cover; object-position: top; }
.thumb-small span { display: block; font-size: 12.5px; padding: 8px 14px; border-top: 1px solid var(--line); }
.points { display: grid; gap: 12px; }
.points li { font-size: 15px; line-height: 1.8; padding-left: 18px; position: relative; }
.points li::before { content: ""; position: absolute; left: 0; top: 12px; width: 8px; height: 8px; border-radius: 3px; border: 2px solid var(--accent); }
.points li b { display: block; }
.actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.mini-label { font-size: 13px; font-weight: 500; letter-spacing: .06em; margin: 44px 0 12px; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.slot {
  border: 1.5px dashed var(--accent); border-radius: var(--r); background: var(--white); padding: 16px 20px;
  display: flex; flex-direction: column; gap: 2px; font-size: 13.5px;
}
.slot b { font-size: 15px; }
.thumb-card { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r); padding: 12px 12px 16px; font-size: 14.5px; text-align: left; font-family: inherit; cursor: pointer; width: 100%; color: inherit; }
.thumb-card:hover { border-color: var(--accent); }
.thumb-card img { width: 100%; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; }
.thumb-card b { display: block; font-size: 15.5px; }
.note-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 30px; align-items: center; }
.note-row .thumb { border: 1.5px solid var(--line); border-radius: var(--r); }
.diagrams { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.diagrams img { border: 1.5px solid var(--line); border-radius: var(--r-s); background: var(--white); }

/* 確認のやり方 */
.checks { display: grid; grid-template-columns: 1.5fr auto 1fr; gap: 14px; align-items: center; }
.check { padding: 20px 24px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r); align-self: stretch; }
.pill { display: inline-block; font-size: 12.5px; border: 1.5px solid var(--accent); border-radius: 20px; padding: 1px 14px; margin-bottom: 10px; background: var(--soft); }
.check h3 { margin-bottom: 2px; font-size: 16.5px; }
.check p { font-size: 14px; }
.check .or { text-align: center; font-size: 13px; margin: 8px 0; }
/* ピンクで塗った右向きの三角（流れの矢印） */
.tri { width: 0; height: 0; border-left: 14px solid var(--accent); border-top: 9px solid transparent; border-bottom: 9px solid transparent; flex: none; }

/* 流れ */
.steps { display: flex; align-items: center; gap: 8px; }
.step { flex: 1; align-self: stretch; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-s); padding: 12px 12px; font-size: 12.5px; line-height: 1.7; }
.step h3 { font-size: 14.5px; margin-bottom: 2px; }
.prepare { margin-top: 22px; padding: 18px 24px; background: var(--soft); border: 1.5px solid var(--line); border-radius: var(--r); font-size: 14.5px; }
.tint .prepare { background: var(--white); }
.prepare b { display: block; margin-bottom: 2px; }

/* 料金 */
.tbl-wrap { border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--white); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
table.tbl th, table.tbl td { text-align: left; padding: 13px 20px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.8; }
table.tbl tr:last-child td { border-bottom: 0; }
table.tbl th { background: var(--soft2); font-weight: 500; font-size: 14px; }
table.tbl td:first-child { font-weight: 500; width: 26%; }

/* 守秘 */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r); padding: 24px 28px; }
.panel h3 { margin-bottom: 8px; }
.panel li { position: relative; padding-left: 20px; font-size: 14.5px; margin-bottom: 6px; line-height: 1.8; }
.panel li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* プロフィール */
.profile { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.profile .side { background: var(--white); border: 2px solid var(--accent); border-radius: var(--r); padding: 30px 24px; text-align: center; }
.profile .side .name { font-size: 25px; font-weight: 500; letter-spacing: .08em; }
.profile .side p { font-size: 14.5px; margin-top: 10px; }
.photo {
  width: 120px; height: 120px; border-radius: 50%; background: var(--photo);
  display: grid; place-items: center; margin: 0 auto 14px; font-size: 14px; overflow: hidden;
  border: 3px solid var(--accent);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.profile h3 { margin: 24px 0 8px; padding-bottom: 6px; border-bottom: 2px solid var(--accent); }
.profile h3:first-child { margin-top: 0; }
.profile li { position: relative; padding-left: 20px; margin-bottom: 4px; font-size: 15px; }
.profile li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.slide-card { margin-top: 28px; }
.slide-card .thumb-card { max-width: 380px; }

/* 質問ページ */
.faq details { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r); margin-bottom: 10px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 15px 24px; font-weight: 500; list-style: none; position: relative; padding-right: 54px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 11px; font-size: 22px; font-weight: 300; }
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { background: var(--soft); }
.faq .ans { padding: 12px 24px 16px; font-size: 15px; }

/* 相談 */
.cta-band { padding: 40px 0; }
.cta-band .box { border: 2px solid var(--accent); border-radius: var(--r); padding: 18px 26px; background: var(--soft); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; }
.cta-band p { font-size: 16px; margin-right: 8px; }
/* ボタンの前の、ピンクの三角 */
.tri-btn { display: inline-flex; align-items: center; gap: 10px; }
.tri-btn::before { content: ""; width: 0; height: 0; border-left: 9px solid var(--accent); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.contact { max-width: 640px; margin: 0 auto; }
.contact-card { background: var(--white); border: 2px solid var(--accent); border-radius: var(--r); padding: 30px 32px 28px; }
.contact-card .btn { width: 100%; text-align: center; margin-top: 4px; }
.result { margin-top: 24px; }
.result .btn { margin-top: 10px; }
.contact-head { max-width: 640px; margin: 0 auto 26px; text-align: center; }
.contact-head h2.title { border-bottom: 0; padding-bottom: 0; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 500; margin-bottom: 4px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; padding: 10px 14px; border: 1.5px solid var(--black); background: var(--white); border-radius: var(--r-s); color: var(--black);
}
.field textarea { min-height: 110px; line-height: 1.8; }
#memoOut { min-height: 220px; background: var(--soft); border-color: var(--accent); }
.contact-way { background: var(--white); border: 2px solid var(--accent); border-radius: var(--r); padding: 22px 26px; margin-top: 16px; font-size: 14.5px; }

footer.site { background: var(--soft); border-top: 2px solid var(--accent); padding: 30px 0; text-align: center; }

/* 見本ビューア */
dialog.viewer { border: none; border-radius: var(--r); overflow: hidden; padding: 0; width: min(1000px, 96vw); height: min(92vh, 1100px); background: var(--white); box-shadow: 0 20px 60px rgba(0,0,0,.35); }
dialog.viewer::backdrop { background: rgba(0,0,0,.55); }
.viewer-bar { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--soft2); border-bottom: 2px solid var(--accent); flex-wrap: wrap; }
.viewer-bar .ttl { font-weight: 500; font-size: 14.5px; margin-right: auto; }
.viewer-bar a, .viewer-bar button { font: inherit; font-size: 13px; padding: 5px 14px; background: var(--white); border: 1.5px solid var(--accent); border-radius: var(--r-s); text-decoration: none; cursor: pointer; color: var(--black); }
.viewer iframe { width: 100%; height: calc(100% - 54px); border: 0; background: #e6e6e6; }

/* スマホ */
@media (max-width: 860px) {
  body { font-size: 15.5px; }
  header.site .wrap { flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; gap: 6px 10px; }
  header.site .btn { margin-left: auto; }
  nav.menu { order: 3; width: 100%; margin-left: 0; overflow-x: auto; padding-bottom: 4px; }
  section.block { padding: 52px 0; }
  h2.title { font-size: 22px; }
  .hero .wrap, .exhibit, .note-row, .profile, .two { grid-template-columns: 1fr; gap: 28px; }
  .contact-card { padding: 22px 20px; }
  .hero h1 { font-size: 27px; }
  .worries, .services, .checks, .cases, .slots { grid-template-columns: 1fr; }
  .steps { flex-direction: column; align-items: stretch; }
  .steps .tri, .checks .tri { align-self: center; justify-self: center; transform: rotate(90deg); margin: 4px 0; }
  .exhibit .thumb-small { max-width: 280px; }
  .exhibit .actions button[data-open="proposal"] { display: none; }
  .case dl { grid-template-columns: 1fr; gap: 0; }
  .case dt { margin-top: 6px; }
  /* 図解は横3つのまま。小さい画面では横にスクロール */
  .diagrams { grid-template-columns: repeat(3, 78%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .diagrams img { scroll-snap-align: start; }
}
@media print { header.site, dialog { display: none; } }
