@charset "UTF-8";
:root {
  --paper: #fffdf8;
  --ground: #f3f0e7;
  --forest: #56684f;
  --forest-deep: #354839;
  --gold: #8a704d;
  --ink: #20231f;
  --muted: #656d64;
  --line: #d9d4c8;
  --soft: #e9efe6;
  --shadow: 0 15px 45px rgba(43,52,39,.065);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #a7bda0; outline-offset: 4px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus {
  position: fixed !important;
  left: 12px !important;
  top: 12px;
  z-index: 1100;
  padding: 10px 15px;
  border: 2px solid var(--forest-deep);
  border-radius: 3px;
  background: var(--paper);
  color: var(--forest-deep);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.5;
}
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow { color: var(--gold); font-size: .69rem; font-weight: 750; letter-spacing: .23em; text-transform: uppercase; }
.portal-header {
  position: sticky; z-index: 40; top: 0; background: rgba(255,253,248,.96);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(16px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 79px; }
.site-brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand-monogram {
  display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #b6c0b0;
  background: #edf2ea; color: var(--forest-deep); border-radius: 50%; font: 22px Georgia,"Yu Mincho",serif;
}
.brand-text strong { display: block; font-size: 1rem; letter-spacing: .08em; line-height: 1.5; }
.brand-text small { display: block; font-size: .58rem; color: var(--muted); letter-spacing: .2em; line-height: 1.6; }
.desktop-nav { display: flex; gap: 23px; align-items: center; font-size: .76rem; font-weight: 650; }
.desktop-nav a { color: #62675f; white-space: nowrap; transition: color .2s; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--forest-deep); }
.nav-archive { border: 1px solid #bac6b5; padding: 9px 15px; border-radius: 24px; color: var(--forest-deep) !important; }
.mobile-nav { display: none; }
.hero-portal {
  position: relative; overflow: hidden; min-height: 510px; display: flex; align-items: center;
  background: radial-gradient(ellipse at 79% 38%,rgba(177,191,162,.29),transparent 32%),linear-gradient(130deg,#f8f6ef 10%,#edf1e7 100%);
  border-bottom: 1px solid var(--line);
}
.hero-portal::before {
  content: ""; position: absolute; inset: 0; opacity: .21;
  background-image: linear-gradient(120deg,transparent 43%,rgba(79,104,72,.1) 43.1%,transparent 43.3%),linear-gradient(60deg,transparent 55%,rgba(79,104,72,.1) 55.1%,transparent 55.3%);
  background-size: 180px 180px; pointer-events: none;
}
.hero-layout { display: grid; grid-template-columns: 1.4fr .6fr; align-items: center; gap: 32px; position: relative; padding-block: 90px; }
.hero-label { display: flex; align-items: center; gap: 13px; margin-bottom: 19px; }
.hero-label::before { content: ""; width: 26px; border-top: 1px solid var(--gold); }
h1,h2,h3,p { overflow-wrap: anywhere; }
.display-title { margin: 0; font-family: "Yu Mincho","Hiragino Mincho ProN",serif; font-size: clamp(2.4rem,5vw,3.85rem); font-weight: 500; line-height: 1.44; letter-spacing: .055em; }
.display-title span { display: block; }
.display-title .mobile-title-line { display: inline; }
.hero-copy { max-width: 620px; font-size: .9rem; line-height: 2.3; color: #5b665b; margin: 24px 0 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 11px; align-items: center; }
.btn {
  display: inline-flex; justify-content: center; align-items: center; min-height: 45px; gap: 9px;
  padding: 10px 20px; border: 1px solid var(--forest); border-radius: 3px; color: var(--forest-deep);
  font-size: .75rem; font-weight: 750; letter-spacing: .03em; transition: transform .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); background: var(--soft); }
.btn-solid { background: var(--forest-deep); color: #fff; border-color: var(--forest-deep); }
.btn-solid:hover { background: #4d674e; }
.hero-stamp { justify-self: center; position: relative; display: grid; place-items: center; width: min(290px,100%); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(79,103,73,.23); }
.hero-stamp::before, .hero-stamp::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(79,103,73,.16); inset: 16px; }
.hero-stamp::after { inset: -19px; border-style: dashed; }
.stamp-center { font-family: "Yu Mincho","Hiragino Mincho ProN",serif; font-size: clamp(2.7rem,5vw,4.6rem); letter-spacing: .2em; color: rgba(78,101,73,.65); transform: translateX(.1em); }
.stamp-caption { position: absolute; bottom: 55px; font-size: .55rem; letter-spacing: .3em; color: var(--gold); }
.section { padding-block: 85px; }
.section-tight { padding-block: 62px; }
.section-warm { background: #fbf9f3; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 32px; }
.section-head h2 { font-family: "Yu Mincho","Hiragino Mincho ProN",serif; font-size: clamp(1.8rem,3.4vw,2.6rem); margin: 6px 0 0; font-weight: 550; line-height: 1.45; letter-spacing: .05em; }
.section-intro { color: var(--muted); font-size: .78rem; max-width: 490px; margin: 0 0 4px; }
.text-link { color: var(--forest-deep); font-size: .75rem; font-weight: 700; border-bottom: 1px solid #aab8a6; padding-bottom: 3px; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; align-items: stretch; }
.work-card { min-height: 378px; padding: 34px; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.work-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--forest); }
.work-card:nth-child(2)::before { background: var(--gold); }
.work-index { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .67rem; letter-spacing: .11em; color: var(--gold); }
.work-card h3 { font-family: "Yu Mincho","Hiragino Mincho ProN",serif; font-size: clamp(1.4rem,2.3vw,1.85rem); font-weight: 600; line-height: 1.65; margin: 27px 0 13px; }
.work-card p { font-size: .8rem; color: var(--muted); margin: 0; line-height: 2; }
.work-card .actions { margin-top: auto; padding-top: 30px; }
.work-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { background: var(--soft); color: var(--forest-deep); padding: 4px 9px; font-size: .65rem; border-radius: 2px; font-weight: 650; }
.tag-warm { background: #f0eadf; color: #7c684c; }
.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.feature-card { background: var(--paper); border: 1px solid var(--line); min-height: 235px; padding: 26px; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.feature-card:hover { border-color: #a7b5a0; transform: translateY(-3px); }
.feature-card .marker { font-family: Georgia,serif; color: var(--gold); font-size: 1.5rem; }
.feature-card h3 { font-size: 1.06rem; margin: 22px 0 8px; }
.feature-card p { color: var(--muted); margin: 0; font-size: .73rem; flex: 1; }
.feature-card small { color: var(--forest-deep); margin-top: 16px; font-size: .69rem; font-weight: 750; }
.banner { padding: 38px 42px; border: 1px solid #d0d9c9; background: #e9efe6; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.banner h3 { margin: 0 0 8px; font-size: 1.14rem; }
.banner p { margin: 0; color: #5d695a; font-size: .77rem; }
.page-hero { padding: 74px 0 62px; border-bottom: 1px solid var(--line); background: linear-gradient(130deg,#fbf9f3,#e9efe6); }
.breadcrumbs { color: var(--muted); font-size: .67rem; margin: 0 0 30px; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.page-hero h1 { font-family: "Yu Mincho","Hiragino Mincho ProN",serif; font-size: clamp(2.1rem,4.7vw,3.7rem); font-weight: 550; line-height: 1.5; margin: 9px 0 18px; }
.page-hero .lead { color: #5d685c; font-size: .88rem; line-height: 2.1; max-width: 740px; margin: 0; }
.content-split { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(270px,.72fr); gap: 28px; }
.text-panel, .aside-panel { padding: 29px 31px; background: var(--paper); border: 1px solid var(--line); }
.text-panel h2, .aside-panel h2 { font-family: "Yu Mincho","Hiragino Mincho ProN",serif; font-size: 1.48rem; margin: 0 0 16px; }
.text-panel p, .aside-panel p { color: var(--muted); font-size: .8rem; margin: 0 0 15px; }
.aside-panel h2 { font-size: 1.1rem; }
.info-list { list-style: none; padding: 0; margin: 10px 0 0; border-top: 1px solid var(--line); }
.info-list li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .78rem; }
.info-list small { display: block; color: var(--muted); font-size: .65rem; }
.notice { padding: 20px 23px; border-left: 3px solid var(--gold); background: #f6f0e5; font-size: .77rem; color: #665c4e; margin-top: 23px; }
.notice strong { color: #5b4e3c; }
.link-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.link-list a { display: flex; justify-content: space-between; gap: 10px; padding: 15px 18px; background: var(--paper); border: 1px solid var(--line); font-size: .78rem; }
.link-list a:hover { border-color: #acbaa5; }
.link-list span { color: var(--forest); }
.relation-map { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; align-items: center; margin: 25px 0; padding: 32px 20px; background: #f7f5ee; border: 1px solid var(--line); }
.relation-node { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 118px; min-height: 93px; padding: 13px; border: 1px solid #a5b4a0; background: #fff; text-align: center; }
.relation-node b { font-size: .9rem; }
.relation-node small { color: var(--muted); font-size: .64rem; }
.relation-join { width: 45px; border-top: 2px solid var(--forest); position: relative; }
.relation-join::after { content: "↔"; background: #f7f5ee; color: var(--forest); position: absolute; top: -17px; left: 10px; font-size: 1rem; }
.search-form { display: flex; gap: 9px; }
.search-form input { flex: 1; min-width: 0; min-height: 49px; border: 1px solid #bfc8b9; background: white; padding: 10px 14px; font-size: .83rem; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.filter-button { border: 1px solid var(--line); background: white; color: #4f5c4d; padding: 7px 12px; font-size: .72rem; cursor: pointer; border-radius: 2px; }
.filter-button[aria-pressed="true"] { background: var(--forest); color: white; border-color: var(--forest); }
.result-list { display: grid; gap: 10px; margin-block: 18px; }
.result-list a { display: block; border: 1px solid var(--line); background: white; padding: 17px 20px; }
.result-list a:hover { border-color: #a8b8a3; }
.result-list strong { display: block; font-size: .9rem; }
.result-list small { color: var(--muted); font-size: .7rem; }
.result-list .eyebrow { font-size: .59rem; }
.muted-note { color: var(--muted); font-size: .77rem; }
.portal-footer { border-top: 1px solid #cfd7c9; background: #e8ede4; padding: 46px 0 50px; }
.footer-layout { display: flex; justify-content: space-between; align-items: start; gap: 32px; }
.footer-title { font-family: "Yu Mincho","Hiragino Mincho ProN",serif; letter-spacing: .1em; font-size: 1.2rem; }
.footer-description { margin-top: 7px; color: #646f61; font-size: .67rem; max-width: 380px; }
.footer-links { display: flex; gap: 14px 22px; flex-wrap: wrap; max-width: 530px; justify-content: flex-end; }
.footer-links a,.footer-links button { color: #455744; text-decoration: underline; text-underline-offset: 3px; font-size: .71rem; padding: 0; background: none; border: none; cursor: pointer; }
.footer-bottom { border-top: 1px solid #ced6c8; padding-top: 19px; margin-top: 25px; color: #5f6c5c; font-size: .63rem; }
[hidden] { display: none !important; }
.consentSettings { appearance:none; border:0; background:none; color:inherit; font:inherit; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.consentBanner[hidden] { display:none; }
.consentBanner { position:fixed; z-index:1000; left:12px; right:12px; bottom:12px; }
.consentInner { max-width:960px; margin:auto; display:flex; justify-content:space-between; align-items:center; gap:16px; padding:11px 16px; border:1px solid #c8c1b4; border-radius:14px; background:rgba(255,253,248,.98); box-shadow:0 18px 50px rgba(32,35,31,.22); backdrop-filter:blur(12px); }
.consentCopy { max-width:650px; }
.consentCopy h2 { font-size:14px; line-height:1.35; margin:0 0 2px; }
.consentCopy p { font-size:11px; line-height:1.45; color:var(--muted); margin:0 0 2px; }
.consentCopy .consentStatus { color:#445140; font-weight:700; }
.consentCopy a { font-size:10px; text-decoration:underline; text-underline-offset:3px; }
.consentActions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:7px; }
.consentActions button { border:1px solid var(--line); border-radius:99px; background:#fff; color:var(--ink); min-height:36px; padding:7px 12px; font-size:11px; cursor:pointer; }
.consentActions .consentAccept { background:var(--forest); border-color:var(--forest); color:#fff; }
@media(max-width:700px){.consentBanner{left:8px;right:8px;bottom:8px}.consentInner{display:block;padding:12px}.consentActions{justify-content:flex-start;margin-top:8px}.consentActions button{min-height:40px}}
@media(max-width:880px) {
  .desktop-nav { gap: 13px; font-size: .69rem; }
  .container { width: min(100% - 32px,1120px); }
  .hero-layout { gap: 26px; }
  .work-card { padding: 25px; }
  .content-split { grid-template-columns: 1fr; }
}
@media(max-width:700px) {
  .header-inner { min-height: 70px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { cursor: pointer; list-style: none; border: 1px solid var(--line); border-radius: 2px; padding: 8px 14px; font-size: .75rem; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav nav { position: absolute; top: 43px; right: 0; min-width: 210px; padding: 12px; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); display: grid; gap: 2px; }
  .mobile-nav:not([open]) > nav { display: none; }
  .mobile-nav[open] > nav { display: grid; }
  .mobile-nav a { padding: 10px 9px; font-size: .78rem; }
  .hero-portal { min-height: auto; }
  .hero-layout { display: block; padding-block: 74px; }
  .hero-stamp { display: none; }
  .display-title { font-size: clamp(2.15rem,10vw,2.5rem); }
  .display-title .mobile-title-line, .hero-copy-clause { display: block; }
  .hero-copy { font-size: .83rem; }
  .section { padding-block: 55px; }
  .section-tight { padding-block: 45px; }
  .section-head { display: block; margin-bottom: 23px; }
  .section-intro { margin-top: 12px; }
  .work-grid, .feature-grid { grid-template-columns: 1fr; }
  .work-card { min-height: 330px; }
  .banner, .footer-layout { display: block; }
  .banner .actions { margin-top: 21px; }
  .footer-links { justify-content: flex-start; margin-top: 23px; }
  .page-hero { padding-block: 45px; }
  .text-panel,.aside-panel { padding: 23px; }
  .relation-map { flex-direction: column; }
  .relation-join { height: 35px; width: 0; border-top: 0; border-left: 2px solid var(--forest); }
  .relation-join::after { left: -9px; top: 3px; }
  .search-form { flex-direction: column; }
}

/* Homepage contact shortcut: placed between Updates and About the Author. */
.home-contact {
  padding-block: 18px 30px;
}
.home-contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  border: 1px solid #cbd7c6;
  border-left: 5px solid var(--forest);
  background: linear-gradient(110deg, #edf3e9 0%, #f7f8f0 100%);
  padding: 31px 38px;
}
.home-contact-copy h2 {
  margin: 6px 0 6px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 550;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  letter-spacing: .05em;
}
.home-contact-copy p {
  margin: 0;
  color: #52614e;
  font-size: .8rem;
  line-height: 1.9;
}
.home-contact-panel .actions { flex-shrink: 0; }
.home-contact-action { min-height: 48px; white-space: nowrap; }
@media (max-width: 700px) {
  .home-contact { padding-block: 10px 20px; }
  .home-contact-panel { display: block; padding: 25px 23px; }
  .home-contact-panel .actions { margin-top: 21px; }
  .home-contact-action { width: 100%; white-space: normal; }
}
