/* E案「Lab & Field」：RE:PUBLIC（研究して実践する会社・顔の見えるプロジェクト）を骨格に、
   さとゆめの「地図に旗」と Huuuu の縦組みを合わせ、D案の活動の時系列を「フィールドノート」として地図と連動させた案 */
:root {
  --paper: #fbfaf6;
  --sand: #f1ece2;
  --ink: #23292f;
  --muted: #6c727a;
  --line: #e2ddd2;
  --navy: #2c4c6f;
  --navy-deep: #1c3148;
  --teal: #3d8c8a;
  --teal-soft: #e3f0ee;
  --kaki: #d9733f;
  --kaki-soft: #fbe9de;
  --gothic: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --mincho: "Zen Old Mincho", "Hiragino Mincho ProN", serif;
  --hand: "Caveat", cursive;
  --gutter: clamp(20px, 5vw, 64px);
  --blob1: 62% 38% 54% 46% / 52% 58% 42% 48%;
  --blob2: 44% 56% 38% 62% / 58% 42% 58% 42%;
  --blob3: 50% 50% 62% 38% / 40% 60% 40% 60%;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--gothic); font-size: 15px; line-height: 2; letter-spacing: .04em; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }

/* ヘッダー */
.header { position: sticky; top: 0; z-index: 20; background: rgb(251 250 246 / .94); backdrop-filter: blur(8px); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo img { width: 220px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.nav a { text-decoration: none; }
.nav a:not(.cta):hover { color: var(--kaki); }
.nav .cta { padding: 9px 22px; border-radius: 999px; background: var(--kaki); color: #fff; font-weight: 700; }
.menu { display: none; }

/* ファーストビュー：縦組みのコピーと、丸く切り抜いた写真 */
.hero { position: relative; padding-block: 24px 72px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.hero h1 { margin: 24px 0 0; writing-mode: vertical-rl; font-family: var(--mincho); font-weight: 900; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.5; letter-spacing: .14em; color: var(--navy-deep); height: 13.2em; }
.hero h1 em { font-style: normal; color: var(--kaki); }
.collage { position: relative; aspect-ratio: 1.25 / 1; }
.collage img { position: absolute; object-fit: cover; }
.collage .c1 { width: 70%; height: 72%; right: 0; top: 0; border-radius: var(--blob1); }
.collage .c2 { width: 40%; height: 48%; left: 4%; bottom: 0; border-radius: var(--blob2); object-position: 30% 30%; }
.collage .c3 { width: 26%; height: 32%; right: 12%; bottom: -2%; border-radius: var(--blob3); }
.collage .tag { position: absolute; left: 2%; top: 6%; font-family: var(--hand); font-weight: 700; font-size: clamp(40px, 5vw, 64px); line-height: 1; color: var(--kaki); transform: rotate(-8deg); }
.collage .tag small { display: block; font-family: var(--gothic); font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--ink); transform: rotate(4deg); margin: 8px 0 0 12px; }
.collage .doodle { position: absolute; left: 20%; top: 28%; width: 18%; color: var(--kaki); }
.hero .lead { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-top: 24px; }
.hero .lead p { margin: 0; max-width: 34em; font-size: 16px; }
.hero .lead p b { color: var(--navy); }
.scroll { font-family: var(--hand); font-size: 22px; color: var(--muted); text-decoration: none; }

/* 見出し：手書きの英字＋日本語 */
.section { padding-block: clamp(80px, 10vw, 128px); }
.head { margin-bottom: 40px; }
.head .hand { display: block; font-family: var(--hand); font-weight: 700; font-size: clamp(30px, 3.4vw, 40px); line-height: 1; color: var(--kaki); transform: rotate(-3deg); transform-origin: left; }
.head h2 { margin: 6px 0 0; font-size: clamp(24px, 2.8vw, 34px); font-weight: 900; line-height: 1.5; color: var(--navy-deep); }
.head p { margin: 10px 0 0; color: var(--muted); max-width: 40em; }
.more { display: inline-flex; align-items: center; gap: 10px; margin-top: 36px; font-weight: 700; font-size: 14px; text-decoration: none; color: var(--navy); }
.more::after { content: ""; width: 34px; height: 34px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .3s; }
.more:hover::after { transform: translateX(4px); }

/* 研究所のしごと：調べる・つくる・つなぐ */
.intro { background: #fff; border-radius: 40px 40px 0 0; }
.intro .statement { position: relative; max-width: 860px; margin: 0 auto 64px; text-align: center; font-size: clamp(19px, 2.2vw, 26px); font-weight: 700; line-height: 2; color: var(--navy-deep); text-wrap: balance; }
.intro .statement span { color: var(--teal); }
.intro .statement b { color: var(--kaki); }
.intro .sticker { position: absolute; right: -40px; top: -48px; font-family: var(--hand); font-size: 30px; color: var(--teal); transform: rotate(8deg); font-weight: 700; }
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work { border-radius: 24px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.work .top { position: relative; padding: 28px 28px 22px; color: #fff; min-height: 168px; }
.work:nth-child(1) .top { background: var(--navy); }
.work:nth-child(2) .top { background: var(--teal); }
.work:nth-child(3) .top { background: var(--kaki); }
.work .top .n { font-family: var(--hand); font-size: 26px; line-height: 1; opacity: .85; }
.work .top h3 { margin: 6px 0 0; font-size: 30px; font-weight: 900; line-height: 1.3; letter-spacing: .12em; }
.work .top h3 small { display: block; margin-top: 4px; font-size: 13px; letter-spacing: .14em; font-weight: 500; opacity: .85; }
.work .top svg { position: absolute; right: 22px; bottom: 18px; width: 56px; height: 56px; opacity: .9; }
.work .body { padding: 22px 28px 28px; font-size: 14px; }
.work .body p { margin: 0 0 14px; }
.work ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.work li { font-size: 12px; padding: 1px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }

/* フィールドノート：地図と時系列が連動する */
.field { background: #fff; padding-top: 0; }
.fn { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.map { position: sticky; top: 100px; padding: 20px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); }
.map-svg { display: block; width: 100%; height: auto; }
.map-svg .land { fill: url(#landdot); }
.map-svg pattern circle { fill: var(--navy); opacity: .28; }
.map-svg .sea { fill: var(--paper); }
.map-svg .coast { fill: none; stroke: var(--navy); stroke-width: 1.2; opacity: .55; }
.map-svg .fuji { fill: var(--navy); opacity: .82; }
.map-svg .snow { fill: #fff; }
.map-svg .area { font-family: var(--gothic); font-size: 12px; fill: var(--muted); text-anchor: middle; letter-spacing: .2em; }
.map-svg .pin { cursor: pointer; outline: none; }
.map-svg .pin .ring { fill: var(--kaki); opacity: 0; transform-box: fill-box; transform-origin: center; transition: opacity .3s, transform .3s; }
.map-svg .pin .dot { fill: var(--kaki); stroke: #fff; stroke-width: 2; }
.map-svg .pin .key { font-family: var(--gothic); font-size: 9px; font-weight: 900; fill: #fff; text-anchor: middle; pointer-events: none; }
.map-svg .pin .name { font-family: var(--gothic); font-size: 13px; font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 4px; }
.map-svg .pin.on .ring, .map-svg .pin:hover .ring, .map-svg .pin:focus-visible .ring { opacity: .3; transform: scale(1.5); }
.map-svg .pin.dim { opacity: .35; }
.map .legend { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.map .legend button { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px 3px 4px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 12px; cursor: pointer; }
.map .legend button i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--kaki); color: #fff; font-style: normal; font-size: 10px; font-weight: 900; }
.map .legend button.on { border-color: var(--kaki); background: var(--kaki-soft); }
.map .note { margin: 12px 0 0; font-size: 11px; color: var(--muted); line-height: 1.7; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; }
.filters button { padding: 6px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 500; cursor: pointer; }
.filters button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.filters .place { margin-left: auto; font-size: 13px; color: var(--kaki); font-weight: 700; display: none; }
.filters .place.show { display: inline-flex; gap: 8px; align-items: center; }
.filters .place button { padding: 0 10px; border: 0; background: var(--kaki-soft); color: var(--kaki); }
.year { display: grid; grid-template-columns: 44px 1fr; gap: 12px; }
.year + .year { margin-top: 12px; }
.year > b { writing-mode: vertical-rl; font-family: var(--hand); font-weight: 700; font-size: 34px; line-height: 1; color: var(--teal); padding-top: 14px; letter-spacing: .04em; }
.year ol { list-style: none; margin: 0; padding: 0; border-left: 2px dashed var(--line); }
.notecard { position: relative; display: grid; grid-template-columns: 78px 1fr; gap: 16px; margin: 0 0 10px 18px; padding: 16px 18px; border-radius: 16px; background: var(--paper); border: 1px solid transparent; transition: border-color .3s, background .3s, transform .3s; }
.notecard:hover, .notecard.on { border-color: var(--kaki); background: #fff; transform: translateX(4px); }
.notecard::before { content: ""; position: absolute; left: -26px; top: 26px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--teal); }
.notecard .date { font-family: var(--hand); font-weight: 700; font-size: 28px; line-height: 1; color: var(--navy); }
.notecard .date small { display: block; font-family: var(--gothic); font-size: 11px; font-weight: 500; color: var(--muted); margin-top: 6px; letter-spacing: .06em; }
.notecard .chip { display: inline-block; font-size: 11px; font-weight: 700; padding: 0 10px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); }
.notecard .chip.media { background: #eceff6; color: var(--navy); }
.notecard .chip.lecture { background: var(--kaki-soft); color: var(--kaki); }
.notecard h3 { margin: 4px 0 4px; font-size: 15px; line-height: 1.7; font-weight: 700; }
.notecard .where { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.notecard .where i { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--kaki); color: #fff; font-style: normal; font-size: 9px; font-weight: 900; }
.notecard .where i.off { background: var(--muted); }
.notecard .latest { position: absolute; right: 14px; top: -12px; font-family: var(--hand); font-size: 22px; font-weight: 700; color: var(--kaki); transform: rotate(6deg); }
.notecard[hidden], .year[hidden] { display: none; }

/* プロジェクト：顔の見えるカード */
.projects { background: var(--paper); }
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pcard { display: flex; flex-direction: column; text-decoration: none; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgb(28 49 72 / .1); }
.pcard figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--teal); }
.pcard figure img { width: 100%; height: 100%; object-fit: cover; }
.pcard figure.type { display: grid; place-items: center; color: #fff; text-align: center; }
.pcard figure.type b { font-family: var(--hand); font-size: 64px; line-height: 1; }
.pcard figure.type span { display: block; font-size: 12px; letter-spacing: .2em; }
.pcard .series { padding: 6px 18px; background: var(--teal); color: #fff; font-size: 12px; font-weight: 700; }
.pcard .body { padding: 14px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.pcard h3 { margin: 0 0 12px; font-size: 14px; line-height: 1.75; font-weight: 700; }
.pcard .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); }
.faces { display: flex; align-items: center; }
.faces img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid #fff; }
.faces span { margin-left: 6px; font-size: 11px; }

/* 所長の言葉：縦組み */
.words { background: var(--sand); overflow: hidden; }
.words .wrap { display: grid; grid-template-columns: auto auto 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; justify-content: center; }
.words .big { margin: 0; writing-mode: vertical-rl; font-family: var(--mincho); font-weight: 900; font-size: clamp(44px, 6vw, 80px); line-height: 1.2; letter-spacing: .12em; color: var(--navy-deep); }
.words .big ruby rt { font-family: var(--gothic); font-size: .18em; font-weight: 500; color: var(--kaki); letter-spacing: .2em; }
.words .vtext { writing-mode: vertical-rl; height: 18.5em; font-family: var(--mincho); font-weight: 700; font-size: 16px; line-height: 2.3; letter-spacing: .1em; color: var(--ink); }
.words .vtext p { margin: 0 0 0 1.6em; }
.words .vtext .mission { color: var(--teal); }
.words .vtext ruby rt { font-size: .5em; }
.words figure { margin: 0; justify-self: end; max-width: 360px; }
.words figure img { border-radius: var(--blob2); aspect-ratio: 4 / 5; object-fit: cover; }
.words figcaption { margin-top: 14px; font-size: 13px; }
.words figcaption b { display: block; font-family: var(--mincho); font-size: 20px; color: var(--navy-deep); }
.values { display: flex; gap: 18px; margin-top: 18px; font-family: var(--hand); font-weight: 700; font-size: 26px; color: var(--navy); }
.values span small { display: block; font-family: var(--gothic); font-size: 11px; font-weight: 500; color: var(--muted); margin-top: -4px; }

/* 相談の入口 */
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.box { position: relative; padding: clamp(32px, 4vw, 48px); border-radius: 28px; overflow: hidden; }
.box.check { background: var(--kaki-soft); }
.box.talk { background: var(--navy); color: #fff; }
.box .hand { font-family: var(--hand); font-weight: 700; font-size: 30px; line-height: 1; color: var(--kaki); }
.box.talk .hand { color: var(--hand-dark); }
.box h2 { margin: 8px 0 12px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 900; line-height: 1.5; }
.box p { margin: 0 0 28px; font-size: 14px; }
.box.talk p { color: rgb(255 255 255 / .8); }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; background: var(--kaki); color: #fff; transition: transform .2s; }
.btn:hover { transform: translateY(-2px); }
.box.talk .btn { background: #fff; color: var(--navy-deep); }

.footer { background: var(--navy-deep); color: rgb(255 255 255 / .8); padding-block: 56px 28px; font-size: 13px; }
.footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.footer img { width: 220px; margin-bottom: 14px; }
.footer nav { display: grid; gap: 4px; }
.footer nav a { text-decoration: none; }
.footer .hand { font-family: var(--hand); font-size: 22px; color: var(--hand-dark); }
.footer small { grid-column: 1 / -1; margin-top: 28px; font-size: 11px; opacity: .7; }

.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s, transform .8s; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; font-family: var(--hand); font-weight: 700; font-size: 24px; color: var(--kaki); }
  .menu summary::-webkit-details-marker { display: none; }
  .menu nav { position: absolute; right: 0; top: 44px; width: 240px; padding: 10px 22px; border-radius: 18px; background: #fff; box-shadow: 0 16px 36px rgb(28 49 72 / .16); display: grid; }
  .menu nav a { padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 14px; }
  .menu nav a:last-child { border-bottom: 0; color: var(--kaki); font-weight: 700; }
  .works, .pgrid { grid-template-columns: 1fr 1fr; }
  .works .work:last-child { grid-column: 1 / -1; }
  .fn { grid-template-columns: 1fr; }
  .map { position: static; max-width: 520px; }
  .words .wrap { grid-template-columns: auto 1fr; }
  .words figure { grid-column: 1 / -1; justify-self: start; display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: center; max-width: none; }
  .contact .wrap, .footer .wrap { grid-template-columns: 1fr; }
  .intro .sticker { right: 0; top: -44px; }
}
@media (max-width: 600px) {
  body { font-size: 14px; }
  .header .wrap { height: 64px; }
  .logo img { width: 180px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { writing-mode: horizontal-tb; height: auto; margin: 8px 0 0; font-size: 26px; letter-spacing: .06em; }
  .collage { margin-top: 8px; }
  .hero .lead { flex-direction: column; align-items: start; }
  .works, .pgrid { grid-template-columns: 1fr; }
  .works .work:last-child { grid-column: auto; }
  .intro { border-radius: 28px 28px 0 0; }
  .notecard { grid-template-columns: 1fr; gap: 4px; margin-left: 14px; }
  .notecard .date { font-size: 24px; display: flex; align-items: baseline; gap: 8px; }
  .notecard .date small { margin: 0; }
  .year { grid-template-columns: 30px 1fr; gap: 6px; }
  .year > b { font-size: 26px; }
  .words .wrap { grid-template-columns: 1fr; }
  .words .big { writing-mode: horizontal-tb; font-size: 40px; }
  .words .vtext { writing-mode: horizontal-tb; height: auto; font-size: 15px; line-height: 2; }
  .words .vtext p { margin: 0 0 1em; }
  .words figure { grid-template-columns: 120px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
/* 配色1「名刺トンマナ」：名刺のチャコール・ベージュ・ジンジバ！のティールに合わせた配色 */
:root { --paper: #ffffff; --sand: #eeded3; --ink: #26272e; --muted: #6e6d72; --line: #e8e0d8;
  --navy: #353642; --navy-deep: #26272f; --teal: #00898a; --teal-soft: #e0f3f2; --kaki: #00a5a6; --kaki-soft: #e6f5f4; --hand-dark: #7fd6d6; }
.header { background: rgb(255 255 255 / .94); }
.head h2, .work .top h3 { font-family: var(--mincho); }
.work:nth-child(2) .top { background: var(--sand); color: var(--ink); }
.work:nth-child(3) .top { background: #00acac; }
.intro, .field { background: #fff; }
.projects { background: var(--sand); }
/* 所長の言葉は、名刺のチャコールの面に白い明朝で */
.words { background: var(--navy); color: #fff; }
.words .big, .words figcaption b, .words .values, .words .more { color: #fff; }
.words .big ruby rt { color: #7fd6d6; }
.words .vtext { color: rgb(255 255 255 / .85); }
.words .vtext .mission { color: #7fd6d6; }
.words figcaption, .words .values span small { color: rgb(255 255 255 / .7); }
.words .more::after { background-color: #00acac; }
.nav .cta, .btn { background: var(--navy); }
.box.check { background: var(--sand); }
.box.check .btn { background: var(--navy); }
.box.talk .btn { background: #00acac; color: #fff; }

/* ── 下層ページ ───────────────────────── */
.nav a.on { color: var(--kaki); }
.phero { position: relative; padding-block: 40px 64px; overflow: hidden; }
.phero .wrap { position: relative; min-height: 260px; }
.crumb { font-size: 12px; color: var(--muted); margin-bottom: 28px; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--kaki); }
.phero .hand { display: block; font-family: var(--hand); font-weight: 700; font-size: 34px; line-height: 1; color: var(--kaki); transform: rotate(-3deg); transform-origin: left; }
.phero h1 { text-wrap: balance; margin: 10px 0 18px; font-family: var(--mincho); font-weight: 900; font-size: clamp(34px, 5vw, 58px); line-height: 1.3; letter-spacing: .1em; color: var(--navy-deep); }
.phero .lead { margin: 0; max-width: 32em; font-size: 16px; }
.phero .blob { position: absolute; right: var(--gutter); top: 0; width: min(36vw, 400px); aspect-ratio: 1.15; object-fit: cover; border-radius: var(--blob1); }
.phero.has-blob .text { max-width: calc(100% - min(36vw, 400px) - 40px); }

.tone-sand { background: var(--sand); }
.tone-white { background: #fff; }
.tone-dark { background: var(--navy); color: #fff; }
.tone-dark .head h2 { color: #fff; }
.tone-dark .head p { color: rgb(255 255 255 / .7); }

/* 事業内容：3つのしごと */
.svc .svc-grid { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.svc-side { position: sticky; top: 100px; padding: 30px 28px; border-radius: 24px; color: #fff; background: var(--c); }
.svc-side.light { color: var(--ink); }
.svc-side .n { font-family: var(--hand); font-size: 28px; line-height: 1; opacity: .85; }
.svc-side h2 { margin: 8px 0 4px; font-family: var(--mincho); font-weight: 900; font-size: 40px; letter-spacing: .14em; line-height: 1.3; }
.svc-side p { margin: 0; font-size: 13px; letter-spacing: .1em; opacity: .85; }
.svc-body > .lead { margin: 0 0 28px; font-size: 17px; font-weight: 700; line-height: 1.9; color: var(--navy-deep); }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.col { padding: 22px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.tone-sand .col { border-color: transparent; }
.col h3 { margin: 0 0 10px; font-size: 16px; font-weight: 900; color: var(--navy-deep); }
.col ul { margin: 0; padding: 0; list-style: none; font-size: 14px; }
.col li { position: relative; padding: 5px 0 5px 18px; border-bottom: 1px dashed var(--line); }
.col li:last-child { border-bottom: 0; }
.col li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 7px; height: 7px; border-radius: 50%; background: var(--kaki); }
.col p { margin: 0; font-size: 14px; }
.col .link { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--teal); font-weight: 700; }
.note-box { margin-top: 20px; padding: 18px 22px; border-radius: 16px; background: var(--kaki-soft); font-size: 14px; }
.note-box b { color: var(--teal); }

.strengths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.strength { padding: 28px 26px; border-radius: 20px; background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .15); }
.strength .n { font-family: var(--hand); font-size: 30px; line-height: 1; color: #7fd6d6; }
.strength h3 { margin: 8px 0 0; font-family: var(--mincho); font-size: 20px; line-height: 1.6; }
.diff { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.diff div { padding: 20px 24px; border-radius: 18px; background: #00acac; color: #fff; font-weight: 700; }
.diff small { display: block; font-family: var(--hand); font-size: 22px; font-weight: 700; opacity: .9; }

/* 会社案内 */
.message { display: grid; grid-template-columns: 360px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.message figure { margin: 0; }
.message figure img { border-radius: var(--blob2); aspect-ratio: 4 / 5; object-fit: cover; }
.message h2 { margin: 0 0 24px; font-family: var(--mincho); font-weight: 900; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.7; color: var(--navy-deep); }
.message p { margin: 0 0 1.4em; }
.message .sign { text-align: right; font-size: 13px; color: var(--muted); }
.message .sign b { display: block; font-family: var(--mincho); font-size: 24px; letter-spacing: .2em; color: var(--navy-deep); }
.philo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.philo div { padding: 30px 28px; border-radius: 22px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .15); }
.philo small { font-family: var(--hand); font-size: 26px; font-weight: 700; color: #7fd6d6; }
.philo b { display: block; margin: 6px 0 12px; font-family: var(--mincho); font-weight: 900; font-size: 26px; line-height: 1.5; }
.philo b rt { font-family: var(--gothic); font-size: 10px; font-weight: 400; color: #7fd6d6; }
.philo p { margin: 0; font-size: 14px; color: rgb(255 255 255 / .8); }
.creed { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.creed article { padding: 26px 28px; border-radius: 22px; background: #fff; }
.creed h3 { margin: 0 0 4px; font-family: var(--mincho); font-weight: 900; font-size: 21px; color: var(--navy-deep); }
.creed .why { margin: 0 0 14px; font-size: 13px; color: var(--teal); font-weight: 700; }
.creed ul { margin: 0; padding: 0; list-style: none; font-size: 14px; }
.creed li { padding: 6px 0 6px 26px; position: relative; border-bottom: 1px dashed var(--line); }
.creed li::before { content: "×"; position: absolute; left: 4px; color: var(--kaki); font-weight: 900; }
.creed li:last-child { border-bottom: 0; }
.prof { display: grid; grid-template-columns: 360px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.prof .photo { position: sticky; top: 100px; }
.prof .photo img { border-radius: 24px; aspect-ratio: 4 / 5; object-fit: cover; }
.prof .photo p { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.prof .photo p b { display: block; font-family: var(--mincho); font-size: 24px; color: var(--navy-deep); letter-spacing: .14em; }
.prof .sns { display: flex; gap: 8px; margin-top: 12px; }
.prof .sns a { font-size: 12px; padding: 3px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; background: #fff; }
.prof h3 { margin: 32px 0 10px; font-family: var(--hand); font-size: 28px; font-weight: 700; color: var(--kaki); line-height: 1; }
.prof h3:first-child { margin-top: 0; }
.prof .out { margin: 0; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { font-size: 13px; padding: 4px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.tl2 { margin: 0; padding: 0; list-style: none; border-left: 2px dashed var(--line); }
.tl2 li { position: relative; display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 8px 0 8px 22px; font-size: 14px; line-height: 1.8; }
.tl2 li::before { content: ""; position: absolute; left: -7px; top: 15px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--teal); }
.tl2 b { font-family: var(--hand); font-size: 22px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.tl2 a { color: var(--teal); }
.outline { margin: 0; border-top: 1px solid var(--line); }
.outline div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.outline dt { font-weight: 700; color: var(--navy); }
.outline dd { margin: 0; }
.outline ul { margin: 0; padding-left: 1.2em; }

/* フィールドノート一覧 */
.count { margin-left: 4px; font-family: var(--hand); font-size: 16px; opacity: .8; }
.notecard .chip.write { background: #f1ebe4; color: #7a6a5c; }
.notecard .chip.history { background: var(--navy); color: #fff; }
.notecard a.read { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--teal); }
.fn-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 40px; }
.fn-summary div { padding: 18px 20px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.fn-summary b { display: block; font-family: var(--hand); font-size: 44px; line-height: 1; color: var(--navy); }
.fn-summary span { font-size: 12px; color: var(--muted); }

/* プロジェクト */
.series { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); align-items: start; padding: clamp(28px, 4vw, 44px); border-radius: 28px; background: #fff; }
.series + .series { margin-top: 24px; }
.series figure { margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; }
.series figure img { width: 100%; height: 100%; object-fit: cover; }
.series .type-fig { display: grid; place-items: center; background: var(--navy); color: #fff; text-align: center; }
.series .type-fig b { display: block; font-family: var(--mincho); font-weight: 900; font-size: 56px; letter-spacing: .14em; }
.series .type-fig span { font-family: var(--hand); font-size: 22px; color: #7fd6d6; }
.series .tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 12px; border-radius: 999px; background: var(--kaki-soft); color: var(--teal); }
.series h2 { text-wrap: balance; margin: 10px 0 10px; font-family: var(--mincho); font-weight: 900; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.5; color: var(--navy-deep); }
.series > div > p { margin: 0 0 18px; font-size: 14px; }
.vols { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.vols li { display: grid; grid-template-columns: 72px 92px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; align-items: baseline; }
.vols b { font-family: var(--hand); font-size: 22px; color: var(--kaki); line-height: 1; }
.vols time { font-family: var(--hand); font-size: 18px; color: var(--navy); }
.vols small { display: block; color: var(--muted); }

/* お問い合わせ */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.form { padding: clamp(24px, 4vw, 44px); border-radius: 28px; background: #fff; }
.form dl { margin: 0; }
.form dt { font-weight: 700; font-size: 14px; margin-top: 20px; }
.form dt:first-child { margin-top: 0; }
.form dt em { margin-left: 8px; font-style: normal; font-size: 11px; padding: 1px 8px; border-radius: 999px; background: #00acac; color: #fff; vertical-align: 2px; }
.form dd { margin: 6px 0 0; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); font: inherit; color: var(--ink); }
.form input:focus, .form textarea:focus { outline: 2px solid #00acac; outline-offset: 1px; background: #fff; }
.terms { margin-top: 24px; height: 200px; overflow: auto; padding: 16px 18px; border-radius: 14px; background: var(--paper); font-size: 12px; line-height: 1.8; color: var(--muted); }
.agree { display: flex; gap: 10px; align-items: center; margin-top: 16px; font-weight: 700; }
.agree input { width: 20px; height: 20px; accent-color: #00acac; }
.form .btn { margin-top: 24px; border: 0; cursor: pointer; }
.form .msg { margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--kaki-soft); font-size: 14px; display: none; }
.form .msg.show { display: block; }
.aside .box + .box { margin-top: 16px; }

@media (max-width: 960px) {
  .phero .blob { position: static; width: 100%; max-width: 420px; margin-top: 28px; }
  .phero.has-blob .text { max-width: none; }
  .svc .svc-grid, .message, .prof, .contact-grid, .series { grid-template-columns: 1fr; }
  .svc-side, .prof .photo { position: static; }
  .prof .photo { max-width: 360px; }
  .strengths, .philo { grid-template-columns: 1fr 1fr; }
  .creed, .diff { grid-template-columns: 1fr; }
  .fn-summary { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .strengths, .philo { grid-template-columns: 1fr; }
  .outline div { grid-template-columns: 1fr; gap: 4px; }
  .vols li { grid-template-columns: 60px 1fr; }
  .vols li > span:last-child { grid-column: 1 / -1; }
  .tl2 li { grid-template-columns: 1fr; gap: 0; }
}
/* 掲載確認エクセルから入れた原稿・写真 */
.notecard .nbody { margin: 6px 0 4px; font-size: 13.5px; line-height: 1.85; }
.nphotos { width: min(100%, 360px); margin: 10px 0 6px; }
.nphotos img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; background: var(--sand); }
.nphotos .frame { aspect-ratio: 16 / 10; display: grid; place-items: center; border: 2px dashed #cdbfb2; border-radius: 10px; font-size: 12px; color: var(--muted); }
.notecard .latest.soon { color: var(--teal); }
.xgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 22px; }
.xcard { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #fff; }
.tone-white .xcard { background: var(--paper); }
.xcard figure { margin: 0; aspect-ratio: 16 / 10; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; background: var(--sand); }
.xcard figure img { width: 100%; height: 100%; object-fit: cover; }
.xcard figure.type { place-items: center; padding: 0 24px; background: var(--navy); color: #fff; font-family: var(--mincho); font-weight: 900; font-size: 24px; letter-spacing: .12em; text-align: center; line-height: 1.5; }
.xcard .txt { padding: 20px 22px 26px; }
.xcard .tag { font-size: 12px; font-weight: 700; color: var(--teal); letter-spacing: .06em; }
.xcard .num { font-family: var(--hand); font-size: 26px; font-weight: 700; line-height: 1; color: var(--kaki); }
.xcard h3 { margin: 6px 0 8px; font-family: var(--mincho); font-weight: 900; font-size: 20px; line-height: 1.5; color: var(--navy-deep); }
.xcard .what { margin: -4px 0 10px; font-size: 12.5px; font-weight: 700; color: var(--kaki); }
.xcard p { margin: 0; font-size: 14px; line-height: 1.85; }
.svc-list { padding-top: 0; }
/* ナビが6項目になったので、中くらいの幅では詰めて1行に収める */
.nav a { white-space: nowrap; }
@media (max-width: 1240px) and (min-width: 961px) { .nav { gap: 16px; font-size: 13px; } .nav .cta { padding: 8px 16px; } }
/* ブログ一覧・記事 */
.blog-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 4vw, 56px); align-items: start; }
.bchip { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 10px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); text-decoration: none; }
.bdate { font-family: var(--hand); font-size: 20px; font-weight: 700; color: var(--navy); line-height: 1; }
.pickup { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 18px; margin-bottom: 36px; }
.pick { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #fff; text-decoration: none; color: inherit; transition: transform .3s; }
.pick:hover { transform: translateY(-3px); }
.pick:first-child { grid-row: span 2; }
.pick figure { margin: 0; aspect-ratio: 16 / 10; background: var(--sand); overflow: hidden; }
.pick:first-child figure { aspect-ratio: 4 / 3; }
.pick figure img { width: 100%; height: 100%; object-fit: cover; }
.pick .type, .brow .type { display: grid; place-items: center; height: 100%; background: var(--navy); color: #fff; font-family: var(--mincho); font-weight: 900; letter-spacing: .14em; }
.pick .txt { padding: 16px 20px 20px; }
.pick h3 { margin: 8px 0 0; font-family: var(--mincho); font-weight: 900; font-size: 17px; line-height: 1.6; color: var(--navy-deep); }
.pick:first-child h3 { font-size: 22px; }
.pick .meta, .brow .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.bchip { white-space: nowrap; }
.blist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.brow { display: grid; grid-template-columns: 1fr 132px; gap: 20px; padding: 20px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.brow:hover h3 { color: var(--teal); }
.brow h3 { margin: 8px 0 6px; font-size: 16px; font-weight: 700; line-height: 1.6; transition: color .2s; }
.brow p { margin: 0; font-size: 13px; line-height: 1.8; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.brow figure { margin: 0; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--sand); }
.brow figure img { width: 100%; height: 100%; object-fit: cover; }
.brow .type { font-size: 13px; letter-spacing: .08em; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.pager a, .pager span { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--navy); background: #fff; }
.pager .on { background: var(--navy); color: #fff; }
.pager .dots { background: none; }
.bside { position: sticky; top: 96px; display: grid; gap: 18px; }
.bbox { padding: 22px 22px 24px; border-radius: 20px; background: #fff; }
.bbox h3 { margin: 0 0 12px; font-family: var(--hand); font-size: 24px; font-weight: 700; line-height: 1; color: var(--kaki); }
.bbox ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bbox li a { display: inline-flex; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--paper); font-size: 12.5px; text-decoration: none; color: var(--ink); }
.bbox li a small { color: var(--muted); }
.bbox li a.on { background: var(--navy); color: #fff; }
.bbox li a.on small { color: #cfd2dc; }
.author { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; }
.author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.author b { display: block; font-family: var(--mincho); font-size: 17px; letter-spacing: .12em; color: var(--navy-deep); }
.author span { font-size: 12px; color: var(--muted); line-height: 1.7; }
.article { min-width: 0; padding: clamp(24px, 4.5vw, 60px); border-radius: 28px; background: #fff; }
.article > * { max-width: 720px; margin-inline: auto; }
.ahead .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.ahead h1 { text-wrap: balance; margin: 14px 0 18px; font-family: var(--mincho); font-weight: 900; font-size: clamp(24px, 3.2vw, 36px); line-height: 1.55; letter-spacing: .04em; color: var(--navy-deep); }
.ahead .by { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.ahead .by img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.akv { margin: 28px 0 0; border-radius: 24px; overflow: hidden; }
.akv img { display: block; width: 100%; height: auto; }
.toc { margin: 32px 0 8px; padding: 20px 24px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.toc b { display: block; font-family: var(--hand); font-size: 22px; color: var(--kaki); line-height: 1; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.4em; font-size: 14px; line-height: 2; }
.toc a { color: var(--navy); text-decoration: none; }
.toc a:hover { color: var(--teal); }
.prose { margin-top: 24px; font-size: 16px; line-height: 2.05; }
.prose p { margin: 0 0 1.4em; }
.prose h2 { margin: 2.4em 0 .9em; padding: 0 0 12px; font-family: var(--mincho); font-weight: 900; font-size: clamp(20px, 2.4vw, 25px); line-height: 1.6; color: var(--navy-deep); border-bottom: 2px solid var(--line); position: relative; scroll-margin-top: 90px; }
.prose h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 64px; height: 2px; background: var(--teal); }
.prose h3 { margin: 2em 0 .6em; font-size: 18px; font-weight: 700; color: var(--navy); }
.prose a { color: var(--teal); word-break: break-all; }
.prose figure { margin: 1.6em 0; }
.prose img { max-width: 100%; height: auto; border-radius: 14px; }
.prose .wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 8px; }
.prose .wp-block-gallery figure { margin: 0; aspect-ratio: 3 / 2; }
.prose .wp-block-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.prose .has-text-align-center { text-align: center; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--kaki); color: var(--muted); }
.afoot { margin-top: 48px; display: grid; gap: 18px; }
.afoot .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.related { padding: 22px 24px; border-radius: 20px; background: var(--paper); }
.related .hand { font-family: var(--hand); font-size: 22px; font-weight: 700; color: var(--kaki); }
.related ol { list-style: none; margin: 8px 0 0; padding: 0; }
.related li { margin: 0; }
.related .notecard { margin: 0; }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.prevnext a { padding: 16px 20px; border-radius: 16px; background: var(--paper); text-decoration: none; color: var(--ink); font-size: 14px; line-height: 1.7; }
.prevnext a small { display: block; font-family: var(--hand); font-size: 18px; color: var(--teal); }
.prevnext a:last-child { text-align: right; }
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; }
  .bside { position: static; }
  .pickup { grid-template-columns: 1fr; }
  .pick:first-child { grid-row: auto; }
  .brow { grid-template-columns: 1fr 96px; gap: 14px; }
  .prevnext { grid-template-columns: 1fr; }
  .prevnext a:last-child { text-align: left; }
}
.xcard .outputs { margin: 14px 0 0; padding: 14px 16px; list-style: none; border-radius: 14px; background: var(--sand); font-size: 13px; line-height: 1.8; }
.xcard .outputs b { display: block; margin-bottom: 4px; font-size: 12px; color: var(--teal); letter-spacing: .06em; }
.xcard .outputs li { position: relative; padding-left: 14px; }
.xcard .outputs li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--kaki); }
.collage .c2 { object-position: 50% 50%; }
.xcard figure.slot { place-items: center; background: repeating-linear-gradient(135deg, var(--sand) 0 14px, #f3e7de 14px 28px); }
.xcard figure.slot span { font-family: var(--hand); font-size: 22px; font-weight: 700; color: #b9a596; letter-spacing: .08em; }
.nphotos img.fit, .xcard figure img.fit { object-fit: contain; background: #fff; }

/* お問い合わせ：営業・ご提案は別の窓口へ */
.sales-note { margin: 0 0 24px; padding: 12px 16px; border-radius: 12px; background: #f6efe8; font-size: 13px; line-height: 1.7; }
.sales-note a { font-weight: 700; }
/* 営業・ご提案の窓口：選択肢（ラジオ）を縦に並べる */
.form .choices { display: grid; gap: 8px; }
.form .choices label { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-size: 14px; }
.form .choices label:has(input:checked) { border-color: #00acac; background: #fff; }
.form .choices input { width: 18px; height: 18px; accent-color: #00acac; }

/* 機械よけの欄（人には見せない） */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
