:root {
  --font-sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-serif: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-family: var(--font-sans);
  color: #232b25;
  background: #faf9f4;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body, figure, p, h1, h2, h3, ul, li {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

body {
  line-height: 1.75;
}

a {
  color: inherit;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a:focus-visible {
  outline: 3px solid #22699a;
  outline-offset: 4px;
}

.frame {
  width: min(1140px, calc(100% - 48px));
  margin-inline: auto;
}

/* 4パターンのテーマカラー定義 */
.b-1 {
  --ink: #2c4432;
  --accent: #4c6b3c;
  --accent-sub: #749263;
  --wash: #eef3e8;
  --paper: #fafbf7;
  --edge: #cad6c0;
}

.b-2 {
  --ink: #2d341c;
  --accent: #435224;
  --accent-sub: #6c7e44;
  --wash: #eff1e4;
  --paper: #f9f8f2;
  --edge: #c7ccb0;
}

.c-1 {
  --ink: #3c221d;
  --accent: #b84a32;
  --accent-sub: #d66f56;
  --wash: #fcece7;
  --paper: #fffaf8;
  --edge: #ebc2b7;
}

.c-2 {
  --ink: #38231c;
  --accent: #8f3d26;
  --accent-sub: #b55b3e;
  --wash: #f5e6de;
  --paper: #fcf7f3;
  --edge: #d8b5a6;
}

body:not(.compare) {
  background: var(--paper);
  color: var(--ink);
}

/* 最上部：自主制作サンプル明記バー */
.demo {
  background: var(--ink);
  color: #fff;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}

.demo .frame {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px 20px;
  flex-wrap: wrap;
  min-height: 38px;
  padding-block: 6px;
}

.demo a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ヘッダー・グローバルナビ */
.site-head {
  padding-block: 16px;
  border-bottom: 1px solid var(--edge);
  background: #fff;
}

.site-head .frame {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
  flex-wrap: wrap;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
  line-height: 1.3;
  border-right: 1px solid var(--edge);
  padding-right: 12px;
}

.brand-name {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-role {
  font-size: 0.8125rem;
  font-weight: 700;
  opacity: 0.85;
}

.site-head nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 20px;
  font-weight: 700;
  font-size: 0.9rem;
}

.site-head nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  text-decoration: none;
  padding-inline: 4px;
}

.site-head nav a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.site-head nav a.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 6px 18px;
  border-radius: 6px;
}

.site-head nav a.nav-cta:hover {
  background: var(--ink);
  text-decoration: none;
}

/* 共通ボタン・セクション見出し */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 26px;
  border: 2px solid var(--accent);
  border-radius: 99px;
  transition: background 0.2s, color 0.2s;
}

.button:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.button.outline {
  background: #fff;
  color: var(--accent);
}

.button.outline:hover {
  background: var(--wash);
  color: var(--ink);
}

.c-1 .button, .c-2 .button {
  border-radius: 6px;
}

.sec-head {
  margin-bottom: 32px;
}

.sec-en {
  display: block;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 4px;
}

.sec-title {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.35;
  font-weight: 800;
}

.sec-lead {
  margin-top: 8px;
  font-size: 0.95rem;
  opacity: 0.88;
}

/* B案（b-1, b-2）は中央揃え見出し */
.b-1 .sec-head, .b-2 .sec-head {
  text-align: center;
}

.b-1 .hero h1, .b-1 .sec-title {
  font-family: var(--font-serif);
}

/* ヒーローセクション（4パターン個別表現） */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(32px, 5vw, 64px);
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.24;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.hero-name-plate {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.hero-name-plate span {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
}

.hero .intro {
  max-width: 42ch;
  font-size: 0.975rem;
}

/* B-1（女性・セージグリーン）：柔らかい楕円・優しい印象 */
.b-1 .hero {
  background: linear-gradient(135deg, #f3f7ee 0%, #e4ecdc 100%);
}
.b-1 .hero-grid {
  grid-template-columns: 0.95fr 1.05fr;
}
.b-1 .portrait {
  aspect-ratio: 1.25;
  border-radius: 44% 56% 38% 62% / 48% 44% 56% 52%;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: 0 12px 30px rgba(44, 68, 50, 0.1);
}

/* B-2（男性・オリーブグリーン）：誠実・端正な2カラム */
.b-2 .hero {
  background: linear-gradient(180deg, #eef0e2 0%, #f9f8f2 100%);
}
.b-2 .hero-grid {
  grid-template-columns: 0.9fr 1.1fr;
}
.b-2 .portrait {
  aspect-ratio: 1.15;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(45, 52, 28, 0.12);
}

/* C-1（女性・コーラル）＆ C-2（男性・テラコッタ）：斜めカッティング・行動力 */
.c-1 .hero {
  background: linear-gradient(115deg, #fff5f2 58%, var(--accent) 58.2%);
}
.c-2 .hero {
  background: linear-gradient(115deg, var(--ink) 56%, var(--accent) 56.2%);
  color: #fff;
}
.c-2 .hero .hero-eyebrow,
.c-2 .hero .hero-name-plate span {
  color: #f3c4b3;
}
.c-1 .hero-grid, .c-2 .hero-grid {
  grid-template-columns: 1.08fr 0.92fr;
}
.c-1 .portrait, .c-2 .portrait {
  aspect-ratio: 1.12;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
  overflow: hidden;
  background: var(--wash);
}
.c-1 .portrait img, .c-2 .portrait img {
  object-position: center 20%;
}

/* 重点政策（4カード） */
.policy-sec {
  padding-block: clamp(44px, 6vw, 76px);
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.policy-card {
  background: #fff;
  border: 1px solid var(--edge);
  border-radius: 12px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.policy-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.c-1 .policy-card, .c-2 .policy-card {
  border-radius: 4px;
  border-top: 4px solid var(--accent);
}

.policy-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--wash);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.policy-card h3 {
  font-size: 1.125rem;
  font-weight: 800;
}

.policy-card p {
  font-size: 0.875rem;
  line-height: 1.65;
  opacity: 0.9;
}

/* 最新の活動報告（3カード） */
.report-sec {
  background: var(--wash);
  padding-block: clamp(44px, 6vw, 76px);
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.report-card {
  background: #fff;
  border-radius: 10px;
  padding: 22px;
  border: 1px solid var(--edge);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.c-1 .report-card, .c-2 .report-card {
  border-radius: 4px;
}

.report-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
}

.report-tag {
  background: var(--accent);
  color: #fff;
  padding: 2px 10px;
  border-radius: 99px;
  font-weight: 700;
}

.report-date {
  opacity: 0.75;
  font-weight: 700;
}

.report-card h3 {
  font-size: 1.075rem;
  line-height: 1.45;
  margin-top: 4px;
}

.report-card p {
  font-size: 0.875rem;
  opacity: 0.88;
}

.sec-more {
  margin-top: 28px;
  text-align: center;
}

/* プロフィール概要 */
.profile-sec {
  padding-block: clamp(44px, 6vw, 72px);
}

.profile-box {
  background: #fff;
  border: 1px solid var(--edge);
  border-radius: 14px;
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: center;
}

.profile-thumb {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--wash);
}

.c-1 .profile-thumb, .c-2 .profile-thumb {
  border-radius: 8px;
}

.profile-info h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.profile-info h3 span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  margin-left: 8px;
}

/* お問い合わせバナー */
.contact-band {
  background: var(--accent);
  color: #fff;
  padding-block: clamp(36px, 5vw, 56px);
  text-align: center;
}

.contact-band h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 10px;
}

.contact-band p {
  font-size: 0.95rem;
  opacity: 0.95;
  max-width: 48ch;
  margin-inline: auto;
}

.contact-band .button {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
  margin-top: 20px;
}

.contact-band .button:hover {
  background: var(--wash);
  color: var(--ink);
}

/* フッター */
.footer {
  background: var(--ink);
  color: #fff;
  padding-block: 24px;
  font-size: 0.85rem;
}

.footer .frame {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  flex-wrap: wrap;
}

/* 比較用トップページ（index.html） */
.compare {
  background: #f9f8f3;
}
.compare-head {
  padding-block: 48px 24px;
}
.compare-head h1 {
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  line-height: 1.25;
  margin: 8px 0 12px;
}
.compare-note {
  font-size: 0.9rem;
  font-weight: 700;
  color: #426451;
}
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding-bottom: 54px;
}
.sample {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  overflow: hidden;
  background: var(--wash);
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--edge);
  border-radius: 10px;
}
.sample img {
  min-height: 230px;
  max-height: 290px;
  object-position: center 25%;
}
.sample-copy {
  padding: 20px;
  display: grid;
  gap: 8px;
  align-content: center;
}
.sample-copy h2 {
  font-size: 1.4rem;
}
.sample-link {
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* レスポンシブ（タブレット・スマートフォン対応） */
@media (max-width: 950px) {
  .policy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .report-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .compare-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .frame {
    width: calc(100% - 32px);
  }
  .hero-grid,
  .b-1 .hero-grid,
  .b-2 .hero-grid,
  .c-1 .hero-grid,
  .c-2 .hero-grid {
    grid-template-columns: 1fr;
  }
  .c-1 .hero {
    background: linear-gradient(180deg, #fff5f2 65%, var(--accent) 65.2%);
  }
  .c-2 .hero {
    background: linear-gradient(180deg, var(--ink) 65%, var(--accent) 65.2%);
  }
  .policy-grid,
  .report-grid {
    grid-template-columns: 1fr;
  }
  .profile-box {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .profile-thumb {
    margin-inline: auto;
    width: 140px;
    height: 140px;
  }
  .sample {
    grid-template-columns: 1fr;
  }
  .sample img {
    aspect-ratio: 1.6;
    min-height: 0;
  }
}
/* Subpage layout and AI sample imagery */
.page-hero{background:var(--wash);padding:48px 0}.page-hero h1{font-size:clamp(28px,4vw,44px);margin:8px 0}.page-hero p{max-width:780px}.sub-sec{padding:48px 0 72px}.sub-photo{margin:0 0 34px;background:white;border:1px solid var(--edge);border-radius:14px;overflow:hidden;box-shadow:0 10px 26px #2d341c12}.sub-photo img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:center 42%}.img-note{display:block;padding:12px 16px;font-size:13px;color:var(--ink);background:var(--paper)}.policy-detail,.article-item{background:white;border:1px solid var(--edge);border-radius:10px;padding:clamp(20px,4vw,34px);margin:0 0 20px}.policy-detail-head{display:flex;align-items:center;gap:16px;margin-bottom:12px}.policy-detail-head .policy-icon{flex-shrink:0}.policy-list{list-style:disc;padding-left:1.5em;margin-top:12px}.article-list{margin-top:20px}.article-item h3{margin:10px 0}.qa-box{background:var(--wash);padding:18px;margin-top:16px;border-left:3px solid var(--accent)}.bio-table{width:100%;border-collapse:collapse;margin:36px 0}.bio-table th,.bio-table td{padding:16px;border:1px solid var(--edge);text-align:left;vertical-align:top}.bio-table th{background:var(--wash);width:25%}.form-box{min-width:0;padding:28px;background:white;border:1px solid var(--edge);border-radius:10px}.form-notice{background:var(--wash);padding:14px}.form-group{margin:20px 0}.form-group label{display:block;font-weight:700;margin-bottom:6px}.form-group input,.form-group textarea{width:100%;border:1px solid var(--edge);border-radius:4px;padding:12px;font:inherit}.form-group textarea{min-height:160px}.contact-layout{display:grid;grid-template-columns:1fr 1.1fr;gap:28px;align-items:start}.contact-layout .sub-photo img{aspect-ratio:1}.sub-sec .btn-group{margin-top:24px}.sub-sec h2{margin-bottom:16px}@media(max-width:720px){.contact-layout{grid-template-columns:1fr}.sub-sec{padding:30px 0 48px}.bio-table th,.bio-table td{padding:9px;font-size:14px}.sub-photo img{aspect-ratio:4/3}.form-box{padding:18px}}
