/* ============================================================
   株式会社勝和 — 共通スタイルシート
   Editorial / Refined Minimal
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Noto+Sans+JP:wght@300;400;500&family=Noto+Serif+JP:wght@400;700&display=swap');

/* ── 変数 ── */
:root {
  --cream:        #faf8f5;
  --blush:        #f5ede8;
  --rust:         #c8694a;
  --rust-d:       #a04e34;
  --ink:          #1e1a18;
  --mid:          #7a6e68;
  --line:         #e2d8d2;
  --white:        #ffffff;
  --bg:           #fdf8f5;

  /* 旧変数との互換性 */
  --orange:       #c8694a;
  --orange-dark:  #a04e34;
  --orange-light: #f5ede8;
  --accent:       #4a7ac8;
  --text:         #1e1a18;
  --text-sub:     #7a6e68;
  --border:       #e2d8d2;

  --max-w:    1200px;
  --radius:   4px;
  --font-en:  'Cormorant Garamond', serif;
  --font-jp:  'Noto Sans JP', sans-serif;
  --font-ser: 'Noto Serif JP', serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--cream);
  font-size: 15px;
  line-height: 1.8;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
address { font-style: normal; }

/* ── HEADER ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,248,245,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  height: 72px;
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo-img { display: flex; align-items: center; }
.site-logo-img img {
  height: 200px;   /* ← ヘッダーロゴサイズ */
  width: auto;
  display: block;
}
nav.global-nav ul { display: flex; gap: 4px; }
nav.global-nav a {
  display: block;
  padding: 7px 13px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .1em;
  color: var(--ink);
  transition: color .2s;
}
nav.global-nav a:hover,
nav.global-nav a.active { color: var(--rust); }
nav.global-nav a.nav-contact {
  border: 1px solid var(--ink);
  padding: 7px 18px;
  transition: background .2s, color .2s, border-color .2s;
}
nav.global-nav a.nav-contact:hover {
  background: var(--ink);
  color: var(--white);
}

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  transition: .3s;
}

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 200;
}
.mobile-menu.open { display: block; }
.mobile-menu-inner {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 260px;
  background: var(--cream);
  padding: 80px 28px 32px;
}
.mobile-menu-inner a {
  display: block;
  padding: 14px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  letter-spacing: .08em;
}
.mobile-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none; border: none;
  font-size: 22px; cursor: pointer;
}

/* ── PAGE TOP OFFSET ── */
.page-top { padding-top: 72px; }

/* ── PAGE HERO (subpages) ── */
.page-hero {
  margin-top: 72px;
  padding: 72px 40px 56px;
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -60px; bottom: -60px;
  width: 300px; height: 300px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 50%;
}
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; }
.page-hero-en {
  font-family: var(--font-en);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: .02em;
  margin-bottom: 10px;
}
.page-hero-jp {
  font-size: 12px;
  letter-spacing: .2em;
  color: rgba(255,255,255,.45);
  font-weight: 300;
}
.page-hero-jp::before { content: '— '; color: var(--rust); }

/* ── BREADCRUMB ── */
.breadcrumb {
  background: var(--blush);
  padding: 10px 40px;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--mid);
  border-bottom: 1px solid var(--line);
}
.breadcrumb .container { max-width: var(--max-w); margin: 0 auto; }
.breadcrumb a { color: var(--rust); }
.breadcrumb span { margin: 0 6px; opacity: .5; }

/* ── SECTION TITLES ── */
.sec-en {
  font-family: var(--font-en);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
}
.sec-jp {
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--mid);
  font-weight: 300;
  margin-top: 6px;
  margin-bottom: 48px;
}
.sec-jp::before { content: '— '; color: var(--rust); }

/* ── SECTION WRAPPER ── */
.sec-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 96px 40px;
}
.sec-wrap.narrow { max-width: 800px; }
.sec-wrap.bg-blush { background: var(--blush); max-width: none; padding-left: 0; padding-right: 0; }
.sec-wrap.bg-blush .sec-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.sec-wrap.bg-ink { background: var(--ink); max-width: none; padding-left: 0; padding-right: 0; }
.sec-wrap.bg-ink .sec-inner { max-width: var(--max-w); margin: 0 auto; padding: 96px 40px; }

/* legacy support */
.section { padding: 72px 24px; }
.section.bg-gray { background: var(--blush); }
.section.bg-green { background: var(--blush); }
.container { max-width: var(--max-w); margin: 0 auto; }
.section-title {
  font-family: var(--font-en);
  font-size: clamp(22px,3vw,38px);
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  margin-bottom: 6px;
}
.section-title::after {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--rust);
  margin: 10px auto 0;
}
.section-sub {
  text-align: center;
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--mid);
  margin-bottom: 48px;
}

/* ── DIVIDER ── */
.divider { width: 32px; height: 1px; background: var(--rust); margin: 14px 0 24px; }

/* ── BUTTON ── */
.btn {
  display: inline-block;
  padding: 12px 32px;
  background: var(--rust);
  color: var(--white);
  font-size: 12px;
  letter-spacing: .12em;
  border: 1px solid var(--rust);
  cursor: pointer;
  transition: background .2s, border-color .2s;
  font-family: var(--font-jp);
}
.btn:hover { background: var(--rust-d); border-color: var(--rust-d); }
.btn-outline {
  background: transparent;
  color: var(--rust);
}
.btn-outline:hover { background: var(--rust); color: var(--white); }
.btn-accent { background: var(--accent); border-color: var(--accent); }
.btn-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.btn-dark:hover { background: #3a3330; border-color: #3a3330; }
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 15px;
  font-style: italic;
  color: var(--rust);
  letter-spacing: .08em;
  transition: gap .2s;
}
.btn-text::after { content: '→'; }
.btn-text:hover { gap: 16px; }

/* ── INFO TABLE ── */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.8;
  text-align: left;
  vertical-align: top;
}
.info-table th {
  width: 180px;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--mid);
  white-space: nowrap;
}

/* ── CARD ── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { background: var(--cream); transition: background .2s; }
.card:hover { background: var(--white); }
.card-body { padding: 32px 28px; }
.card-body h3 { font-size: 14px; font-weight: 500; margin-bottom: 10px; letter-spacing: .05em; }
.card-body p { font-size: 12px; color: var(--mid); line-height: 1.9; font-weight: 300; }

/* ── NEWS ── */
.news-item {
  display: flex;
  gap: 20px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: padding-left .2s;
}
.news-item:hover { padding-left: 6px; }
.news-date {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--mid);
  white-space: nowrap;
  min-width: 90px;
}
.news-tag {
  font-size: 10px;
  padding: 2px 8px;
  border: 1px solid var(--rust);
  color: var(--rust);
  white-space: nowrap;
  letter-spacing: .05em;
}
.news-title { font-size: 13px; color: var(--ink); flex: 1; line-height: 1.7; }

/* ── FORM ── */
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 12px;
  letter-spacing: .08em;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--mid);
}
.form-group label .required {
  font-size: 10px;
  background: var(--rust);
  color: var(--white);
  padding: 1px 6px;
  margin-left: 6px;
  letter-spacing: .05em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 14px;
  font-family: var(--font-jp);
  color: var(--ink);
  border-radius: 0;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--rust);
  box-shadow: 0 0 0 3px rgba(200,105,74,.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* ── FOOTER ── */
footer {
  background: var(--ink);
  color: rgba(255,255,255,.55);
  padding: 56px 40px 28px;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 24px;
}
.footer-brand address {
  font-size: 12px;
  line-height: 2.2;
  margin-top: 20px;
  color: rgba(255,255,255,.4);
}
.footer-nav h4 {
  font-family: var(--font-en);
  font-size: 11px;
  font-style: italic;
  letter-spacing: .18em;
  color: rgba(255,255,255,.3);
  margin-bottom: 20px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  letter-spacing: .06em;
  transition: color .2s;
}
.footer-nav a:hover { color: var(--white); }
.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,.22);
  text-align: center;
  letter-spacing: .1em;
}
.footer-logo {
  height: 240px;   /* ← フッターロゴサイズ */
  width: auto;
  display: block;
  margin-bottom: 16px;
}

/* ── SPLIT LAYOUT ── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}
.split-img { overflow: hidden; }
.split-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.split-section:hover .split-img img { transform: scale(1.03); }
.split-body {
  padding: 72px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream);
}
.split-body.bg-blush { background: var(--blush); }
.split-body p { font-size: 13px; line-height: 2.1; color: var(--mid); font-weight: 300; margin-bottom: 28px; }

/* ── PROCESS LIST ── */
.process-list { max-width: 720px; margin: 0 auto; }
.process-item {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.process-item:last-child { border-bottom: none; }
.process-num {
  flex-shrink: 0;
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 600;
  color: var(--line);
  line-height: 1;
  width: 52px;
  text-align: right;
}
.process-item h3 { font-size: 14px; font-weight: 500; margin-bottom: 8px; letter-spacing: .05em; }
.process-item p { font-size: 12px; color: var(--mid); line-height: 1.9; font-weight: 300; }

/* ── JOB CARD ── */
.job-card { border: 1px solid var(--line); margin-bottom: 24px; }
.job-card-header {
  background: var(--ink);
  color: var(--white);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.job-card-header h3 { font-size: 14px; font-weight: 500; letter-spacing: .06em; }
.job-badge {
  font-size: 10px;
  padding: 3px 12px;
  border: 1px solid rgba(255,255,255,.4);
  letter-spacing: .1em;
}
.job-card-body { padding: 28px; }
.job-table { width: 100%; border-collapse: collapse; }
.job-table th, .job-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
  text-align: left;
  vertical-align: top;
}
.job-table th {
  width: 140px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--mid);
  white-space: nowrap;
}

/* ── VOICE CARD ── */
.voice-card {
  border: 1px solid var(--line);
  padding: 28px;
  position: relative;
}
.voice-card::before {
  content: '\201C';
  position: absolute;
  top: 12px; left: 20px;
  font-family: var(--font-en);
  font-size: 56px;
  color: var(--line);
  line-height: 1;
}
.voice-card p { font-size: 13px; line-height: 1.9; color: var(--mid); margin-bottom: 16px; font-weight: 300; padding-top: 20px; }
.voice-card .voice-name { font-size: 11px; letter-spacing: .1em; color: var(--rust); }

/* ── CONTACT INFO BOX ── */
.contact-info-box {
  border: 1px solid var(--line);
  padding: 28px;
  margin-bottom: 20px;
}
.contact-info-box h3 {
  font-size: 11px;
  letter-spacing: .15em;
  color: var(--mid);
  margin-bottom: 14px;
  font-weight: 500;
}
.contact-info-box .tel-num {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: 14px;
  letter-spacing: .04em;
}
.contact-info-box dl { font-size: 12px; line-height: 2.2; }
.contact-info-box dt { font-weight: 500; color: var(--mid); font-size: 11px; letter-spacing: .08em; margin-top: 8px; }
.contact-info-box dd { color: var(--ink); }

/* ── ARTICLE (news-detail) ── */
.article-header { border-bottom: 1px solid var(--line); padding-bottom: 28px; margin-bottom: 48px; }
.article-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.article-date { font-family: var(--font-en); font-size: 13px; color: var(--mid); }
.article-title { font-family: var(--font-en); font-size: clamp(22px,3vw,34px); font-weight: 600; color: var(--ink); line-height: 1.4; }
.article-body { font-size: 14px; line-height: 2.1; color: var(--ink); }
.article-body p { margin-bottom: 20px; font-weight: 300; }
.article-body h2 { font-size: 16px; font-weight: 500; color: var(--ink); border-left: 2px solid var(--rust); padding-left: 14px; margin: 36px 0 16px; letter-spacing: .05em; }
.article-body ul { list-style: none; padding-left: 0; margin-bottom: 20px; }
.article-body ul li { padding-left: 16px; position: relative; margin-bottom: 8px; font-size: 13px; font-weight: 300; }
.article-body ul li::before { content: '—'; position: absolute; left: 0; color: var(--rust); font-family: var(--font-en); }
.article-body table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 13px; }
.article-body table th, .article-body table td { padding: 10px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-body table th { width: 160px; font-size: 11px; letter-spacing: .08em; color: var(--mid); font-weight: 500; }
.nav-arrows { display: flex; justify-content: space-between; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.nav-arrow { font-family: var(--font-en); font-size: 13px; font-style: italic; color: var(--rust); display: flex; align-items: center; gap: 6px; transition: opacity .2s; }
.nav-arrow:hover { opacity: .65; }
.nav-arrow.disabled { color: var(--mid); pointer-events: none; opacity: .3; }

/* ── THANKS BOX ── */
.thanks-box {
  display: none;
  border: 1px solid var(--line);
  padding: 56px 40px;
  text-align: center;
}
.thanks-box h3 { font-family: var(--font-en); font-size: 28px; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.thanks-box p { font-size: 13px; color: var(--mid); line-height: 2; font-weight: 300; }

/* ── GALLERY ── */
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.gallery-item { overflow: hidden; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s ease, filter .4s; filter: brightness(.9); }
.gallery-item:hover img { transform: scale(1.06); filter: brightness(1); }

/* ── CONTACT WRAP ── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
}

/* ── MAPS ── */
.map-wrap { overflow: hidden; border: 1px solid var(--line); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav.global-nav { display: none; }
  .hamburger { display: flex; }
  .header-inner { padding: 0 20px; }
  .page-hero { padding: 56px 24px 44px; }
  .breadcrumb { padding: 10px 24px; }
  .sec-wrap { padding: 64px 24px; }
  .split-section { grid-template-columns: 1fr; }
  .split-img { min-height: 260px; }
  .split-body { padding: 48px 28px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { aspect-ratio: 16/9; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 32px; }
  footer { padding: 40px 24px 20px; }
  .news-item { flex-direction: column; gap: 6px; }
}
@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; }
  .info-table th { width: 110px; }
  .job-table th { width: 110px; }
}

/* ── LOGO IMAGE ── */
@media (max-width: 900px) {
  .site-logo-img img { height: 52px; }
  .footer-logo { height: 52px; }
}

/* ── LANGUAGE SWITCHER ── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 16px;
  border: 1px solid var(--line);
  padding: 4px 8px;
  border-radius: 2px;
}
.lang-btn {
  background: none;
  border: none;
  font-size: 11px;
  font-family: var(--font-jp);
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--mid);
  cursor: pointer;
  padding: 3px 6px;
  border-radius: 2px;
  transition: background .15s, color .15s;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.active { background: var(--ink); color: var(--white); }
.lang-sep { font-size: 10px; color: var(--line); }
@media (max-width: 900px) {
  .lang-switcher { margin-left: 8px; }
}
