@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@700&display=swap');

/* ============================================================
   有限会社増田冷菓 コーポレートサイト — デザインシステム
   コンセプト：「朝の台所」— 生成り×バター色、角丸の効いたゴシック体。
   Claude Designで検討した3案（2a/2b/2c）のうち「2a」を採用し、
   実際のヒアリング内容に基づいて8ページに展開したもの。
   ============================================================ */

:root {
  color-scheme: light;
  --cream: #fffbf2;
  --cream-soft: #fff3dc;
  --panel: #f6f1e6;
  --ink: #33291f;
  --ink-soft: #6b5f4e;
  --ink-faint: #82715a;
  --line: #efe6d4;
  --white: #ffffff;
  --butter: #f0b93f;
  --butter-dark: #c6941f;
  --blue-soft: #eaf1f2;
  --blue-ink: #4a7183;
  --dark: #33291f;
  --dark-card: rgba(64, 52, 39, 0.4);
  --dark-card-line: rgba(85, 70, 52, 0.5);
  --dark-ink: #f7f0e2;
  --dark-ink-soft: #cbbfa9;

  --f-display: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --f-ui: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --f-body: "Noto Sans JP", sans-serif;

  --maxw: 1080px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -20px rgba(70, 55, 35, 0.22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--f-display); color: var(--ink); line-height: 1.4; margin: 0 0 0.5em; font-weight: 900; letter-spacing: 0.01em; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.7; }
:focus-visible { outline: 3px solid var(--butter); outline-offset: 2px; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-family: var(--f-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue-ink);
  background: var(--blue-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 1em;
}

/* ---------------- Header ---------------- */
.site-header {
  background: #ffffff;
  background-color: #ffffff;
  opacity: 1;
  isolation: isolate;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(51, 41, 31, 0.06);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 16px; padding-top: 10px; padding-bottom: 10px; flex-wrap: nowrap; }
.brand-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 34vw; }
.nav { min-width: 0; }
.tel-badge { flex: none; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--f-ui); }
.brand-logo {
  width: 86px;
  height: 62px;
  min-width: 86px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: visible;
  border-radius: 4px;
  background: transparent;
}
.brand-logo img {
  width: 86px;
  max-width: none;
  height: auto;
  display: block;
  flex: none;
}
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%; background: var(--butter);
  display: grid; place-items: center; font-family: var(--f-display); font-size: 19px; font-weight: 700; color: var(--white); flex: none;
}
.brand-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.brand-name {
  font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.075em;
  color: var(--ink);
  white-space: nowrap;
}
.brand-sub { font-size: 0.65rem; letter-spacing: 0.1em; color: var(--ink-faint); }

.nav { display: flex; align-items: center; gap: 22px; font-size: 0.88rem; flex-wrap: nowrap; }
.nav a { color: var(--ink); white-space: nowrap; }
.nav a[aria-current="page"] { color: var(--butter-dark); font-weight: 700; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); padding: 8px 12px; font-size: 0.95rem;
  white-space: nowrap; flex-shrink: 0;
}
.tel-badge {
  display: flex; align-items: center; gap: 10px; background: var(--cream-soft);
  border: 1px solid #f2dfae; border-radius: 999px; padding: 7px 16px 7px 14px; white-space: nowrap;
}
.tel-badge .label { font-size: 0.62rem; font-weight: 700; color: var(--butter-dark); line-height: 1.3; }
.tel-badge .num { font-family: var(--f-display); font-size: 1.05rem; font-weight: 700; }

@media (max-width: 900px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
    position: absolute; top: 82px; left: 0; right: 0; background: var(--white);
    padding: 18px 24px 26px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-toggle { display: inline-block; }
  .tel-badge { display: none; }
}

@media (max-width: 480px) {
  .brand-logo, .brand-logo img { width: 60px; min-width: 60px; }
  .brand-name { font-size: 0.92rem; letter-spacing: 0.04em; }
  .brand-sub { max-width: 28vw; }
  .nav-toggle { padding: 8px 9px; font-size: 0.82rem; }
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-ui); font-weight: 700; font-size: 0.9rem;
  padding: 15px 28px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: transform 0.15s ease;
  white-space: nowrap; flex-shrink: 0;
}
.btn:hover { transform: translateY(-1px); opacity: 1; }
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: #4a3c2c; }
.btn-line { background: var(--white); border-color: var(--line); color: var(--ink); }
.btn-line:hover { border-color: var(--butter-dark); }
.btn-butter { background: var(--butter); color: var(--dark); }

/* ---------------- Hero ---------------- */
.hero { padding: clamp(28px, 5vw, 48px) 0 0; }
.hero .container.grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 0; align-items: stretch; }
.hero-copy { padding: clamp(36px, 6vw, 64px) 0; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.hero-copy h1 { font-size: clamp(2rem, 4.4vw, 2.9rem); line-height: 1.45; letter-spacing: 0.01em; }
.hero-copy .lead { font-size: 0.98rem; line-height: 2.05; color: var(--ink-soft); max-width: 36em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 4px; }

.hero-media {
  background: var(--cream-soft); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; gap: 14px; padding: 24px 24px 24px 0;
  margin: clamp(20px, 4vw, 34px) 0;
}
.hero-media img { border-radius: var(--radius); aspect-ratio: 5/4; object-fit: cover; width: 100%; }
.hero-stats { display: flex; gap: 14px; }
.hero-stats .stat { flex: 1; background: var(--white); border-radius: 16px; padding: 16px 18px; }
.hero-stats .stat .num { font-family: var(--f-display); font-size: 1.6rem; font-weight: 700; color: var(--butter); display: block; }
.hero-stats .stat .label { font-size: 0.72rem; color: var(--ink-faint); font-weight: 500; }

@media (max-width: 860px) {
  .hero .container.grid { grid-template-columns: 1fr; }
  .hero-media { padding: 0; margin-top: 0; }
}

/* ---------------- page-hero（内ページ共通） ---------------- */
.page-hero { padding: clamp(44px, 7vw, 72px) 0 clamp(32px, 5vw, 48px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); }
.page-hero .lead { color: var(--ink-soft); max-width: 60ch; font-size: 0.98rem; line-height: 2; margin: 0; }

.page-media { width: 100%; aspect-ratio: 16/6; border-radius: var(--radius); overflow: hidden; margin: 0 0 clamp(32px, 5vw, 48px); }
.page-media img { width: 100%; height: 100%; object-fit: cover; }

.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.media-row figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.media-row img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.media-row--portrait img { aspect-ratio: 3/4; }
.media-row figcaption { padding: 12px 16px; background: var(--white); border: 1px solid var(--line); border-top: none; font-family: var(--f-ui); font-size: 0.85rem; color: var(--ink-soft); }
@media (max-width: 720px) { .media-row { grid-template-columns: 1fr; } }

/* ---------------- Section shells ---------------- */
section { padding: clamp(48px, 7vw, 88px) 0; }
.section-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-alt { background: var(--white); }
.section-head .lead { color: var(--ink-soft); font-size: 0.96rem; }

/* ---------------- Cards ---------------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 860px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 14px; overflow: hidden;
}
.card img { border-radius: 14px; aspect-ratio: 16/10; object-fit: cover; margin: -30px -30px 4px; width: calc(100% + 60px); }
.card .num-badge {
  width: 34px; height: 34px; border-radius: 50%; background: var(--cream-soft); color: var(--butter-dark);
  display: grid; place-items: center; font-size: 13px; font-weight: 700; font-family: var(--f-ui);
}
.card h3 { font-size: 1.2rem; margin-bottom: 0.2em; }
.card p { color: var(--ink-soft); font-size: 0.94rem; margin-bottom: 0; }
.card .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.card .tags span { background: var(--panel); color: var(--ink-soft); border-radius: 999px; padding: 6px 13px; font-size: 0.76rem; font-weight: 700; }

/* ---------------- 取引先バー ---------------- */
.partner-bar {
  background: var(--panel); border-radius: 18px; padding: 20px 26px; display: flex; align-items: center; gap: 20px; font-size: 0.86rem; color: var(--ink-soft); flex-wrap: wrap;
}
.partner-bar strong { color: var(--ink); white-space: nowrap; }

/* ---------------- Safety dark panel ---------------- */
.safety-section { background: var(--dark); color: var(--dark-ink); border-radius: var(--radius); margin: 0 24px; padding: clamp(40px, 6vw, 60px) clamp(28px, 5vw, 46px); }
.safety-section .container { max-width: calc(var(--maxw) - 48px); padding: 0; }
.safety-section h2 { color: var(--dark-ink); }
.safety-section .eyebrow { background: rgba(240,185,63,0.15); color: var(--butter); }
.safety-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 860px) { .safety-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .safety-grid { grid-template-columns: 1fr; } }
.safety-item { background: var(--dark-card); border: 1px solid var(--dark-card-line); border-radius: 18px; padding: 22px 20px; }
.safety-item .t { color: var(--butter); font-size: 0.8rem; font-weight: 700; margin-bottom: 8px; font-family: var(--f-ui); }
.safety-item p { font-size: 0.85rem; line-height: 1.95; color: var(--dark-ink-soft); margin: 0; }

/* ---------------- Tables ---------------- */
.info-table, .job-table {
  width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden;
}
.info-table th, .info-table td, .job-table th, .job-table td {
  text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 0.92rem;
}
.info-table th, .job-table th { width: 160px; font-family: var(--f-ui); font-size: 0.8rem; color: var(--ink-faint); background: var(--panel); font-weight: 700; }
.info-table tr:last-child th, .info-table tr:last-child td,
.job-table tr:last-child th, .job-table tr:last-child td { border-bottom: none; }

.sample-notice { background: var(--cream-soft); border: 1px solid var(--butter); border-radius: var(--radius-sm); padding: 16px 20px; font-size: 0.88rem; color: #6b4a12; margin-bottom: 24px; }
.sample-notice strong { color: var(--butter-dark); }

/* ---------------- Timeline (1日の流れ) ---------------- */
.timeline { display: grid; gap: 0; }
.timeline-item { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.timeline-item:last-child { border-bottom: none; }
.timeline-item .time { font-family: var(--f-display); color: var(--butter-dark); font-weight: 700; font-size: 1rem; }
.timeline-item h3 { font-size: 1rem; margin-bottom: 0.3em; }
.timeline-item p { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }

/* ---------------- FAQ ---------------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item .q { display: flex; gap: 12px; font-weight: 700; color: var(--ink); margin-bottom: 10px; font-size: 1rem; }
.faq-item .q::before { content: "Q"; font-family: var(--f-display); color: var(--butter-dark); font-weight: 700; }
.faq-item .a { display: flex; gap: 12px; color: var(--ink-soft); font-size: 0.92rem; margin: 0; }
.faq-item .a::before { content: "A"; font-family: var(--f-display); color: var(--ink-faint); font-weight: 700; flex: none; }

/* ---------------- Voice / recruit cards ---------------- */
.voice-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.voice-card .role { font-family: var(--f-ui); font-size: 0.75rem; color: var(--butter-dark); font-weight: 700; }
.voice-card blockquote { margin: 12px 0 0; font-size: 0.95rem; color: var(--ink); }
.benefit-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 700px) { .benefit-list { grid-template-columns: 1fr; } }
.benefit-item { display: flex; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px; }
.benefit-item .mark { color: var(--butter-dark); font-weight: 700; }
.benefit-item p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }

/* ---------------- CTA band ---------------- */
.cta-band { background: var(--butter); border-radius: var(--radius); margin: 0 24px; padding: clamp(36px, 5vw, 52px) clamp(28px, 5vw, 46px); }
.cta-band .container { max-width: calc(var(--maxw) - 48px); padding: 0; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #3a2c0c; margin-bottom: 0.2em; }
.cta-band p { color: #6a5417; margin: 0; }
.cta-band .tel { font-family: var(--f-display); font-size: 1.8rem; font-weight: 700; color: var(--ink); white-space: nowrap; }

/* ---------------- Forms ---------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-weight: 700; font-size: 0.86rem; margin-bottom: 6px; color: var(--ink); font-family: var(--f-ui); }
input, select, textarea {
  width: 100%; font-family: var(--f-body); font-size: 0.95rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink);
}
input:focus, select:focus, textarea:focus { border-color: var(--butter-dark); outline: none; box-shadow: 0 0 0 3px rgba(240, 185, 63, 0.25); }
.required-mark { color: var(--butter-dark); margin-left: 4px; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); background: var(--panel); border-left: 3px solid var(--butter); padding: 12px 16px; border-radius: 0 10px 10px 0; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-card .tel { font-family: var(--f-display); font-size: 1.6rem; color: var(--ink); font-weight: 700; }

/* ---------------- Legal ---------------- */
.legal-body h2 { font-size: 1.15rem; margin-top: 2em; padding-top: 0.4em; border-top: 1px solid var(--line); }
.legal-body h2:first-of-type { border-top: none; margin-top: 0; }
.legal-body ul { padding-left: 1.4em; color: var(--ink-soft); }
.legal-body li { margin-bottom: 0.5em; }
.legal-meta { font-family: var(--f-ui); font-size: 0.82rem; color: var(--ink-faint); }
.legal-warn { margin-top: 2em; padding: 14px 18px; background: var(--cream-soft); border: 1px solid var(--butter); border-radius: 10px; color: #6b4a12; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: 44px 0 24px; font-size: 0.85rem; color: var(--ink-faint); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.footer-grid h4 { color: var(--ink); font-size: 0.82rem; font-family: var(--f-ui); margin-bottom: 1em; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.6em; }
.footer-bottom { padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.78rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------------- Utility ---------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.small { font-size: 0.85rem; color: var(--ink-faint); }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
