/* ===== グラビア共和 共通スタイル ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark:        #1c2e1a;
  --dark-deep:   #111e11;
  --green:       #3a6b2f;
  --green-light: #f4f7f3;
  --silver:      #8c9696;
  --silver-line: #c8d0d0;
  --silver-light:#f0f2f2;
  --white:       #ffffff;
  --bg:          #f8faf7;
  --text:        #0d1a0c;
  --text-sub:    #4b5563;
  --text-light:  #6b7280;
  --border:      #dde8dd;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Hiragino Kaku Gothic ProN","Hiragino Sans","Meiryo",sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  background: var(--white);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===== HEADER ===== */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--dark);
  position: sticky;
  top: 0;
  z-index: 200;
}
.header-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 28px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-area { display: flex; align-items: center; gap: 14px; }
.logo-mark {
  width: 46px; height: 46px;
  background: var(--dark);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 900; color: #fff; letter-spacing: -1px;
  flex-shrink: 0;
}
.logo-mark.placeholder {
  background: rgba(28,46,26,0.08);
  border: 1.5px dashed rgba(28,46,26,0.2);
  font-size: 9px; font-weight: 400; color: rgba(28,46,26,0.3);
  letter-spacing: 0; line-height: 1.3; text-align: center;
}
.logo-text strong { font-size: 14px; font-weight: 700; color: var(--dark); display: block; }
.logo-text small  { font-size: 9.5px; color: var(--silver); font-weight: 400; letter-spacing: 0.04em; word-break: keep-all; line-height: 1.0; display: block; margin-top: 2px; }

.header-right { display: flex; align-items: center; gap: 20px; }
.header-tel {
  font-size: 17px; font-weight: 700; color: var(--dark);
  display: flex; align-items: center; gap: 6px;
}
.header-tel::before {
  content: ""; display: block;
  width: 16px; height: 16px;
  background: var(--dark);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07A19.5 19.5 0 0 1 4.69 12 19.79 19.79 0 0 1 1.65 3.4 2 2 0 0 1 3.62 1h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L7.91 8.69a16 16 0 0 0 6 6l.91-1.17a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 21.73 16l.19.92z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07A19.5 19.5 0 0 1 4.69 12 19.79 19.79 0 0 1 1.65 3.4 2 2 0 0 1 3.62 1h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L7.91 8.69a16 16 0 0 0 6 6l.91-1.17a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 21.73 16l.19.92z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.header-tel span { font-size: 10px; font-weight: 400; color: var(--silver); display: block; }

/* hamburger */
.hamburger {
  width: 44px; height: 44px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 6px; cursor: pointer; border-radius: 4px;
  transition: background 0.15s;
  background: var(--dark);
}
.hamburger:hover { background: var(--green); }
.hamburger span {
  display: block; width: 20px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: all 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== NAV OVERLAY ===== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 300;
  display: flex;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.nav-overlay-inner {
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  padding: 100px 48px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(40px);
  transition: transform 0.3s ease;
}
.nav-overlay.open .nav-overlay-inner { transform: translateX(0); }
.nav-close {
  position: absolute;
  top: 20px; right: 28px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: rgba(255,255,255,0.7); font-size: 28px;
}
.nav-close:hover { color: #fff; }
.nav-main { display: flex; flex-direction: column; gap: 4px; }
.nav-main a {
  font-size: 22px; font-weight: 700; color: rgba(255,255,255,0.85);
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
  display: block; letter-spacing: 0.02em;
  transition: color 0.15s, padding-left 0.15s;
}
.nav-main a:hover { color: #fff; padding-left: 8px; }
.nav-label {
  font-size: 10px; font-weight: 600; color: rgba(255,255,255,0.3);
  letter-spacing: 0.12em; margin-top: 32px; margin-bottom: 8px;
}
.nav-sub { display: flex; flex-direction: column; gap: 2px; }
.nav-sub a {
  font-size: 15px; color: rgba(255,255,255,0.5);
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
  display: block; transition: color 0.15s;
}
.nav-sub a:hover { color: rgba(255,255,255,0.85); }
.nav-footer-info {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.nav-footer-info p { font-size: 12px; color: rgba(255,255,255,0.35); line-height: 1.9; }
.nav-footer-info a { font-size: 20px; font-weight: 700; color: rgba(255,255,255,0.7); }
.nav-bg-left {
  flex: 1;
  background: rgba(0,0,0,0.4);
  cursor: pointer;
}

/* ===== 創業30周年バー ===== */
.anniversary-bar {
  background: var(--dark);
  padding: 9px 24px;
  text-align: center;
}
.anniversary-bar p { font-size: 12px; color: rgba(255,255,255,0.8); letter-spacing: 0.06em; }
.anniversary-bar strong { font-size: 15px; font-weight: 700; margin: 0 6px; color: #fff; }

/* ===== LAYOUT ===== */
.container { max-width: 1040px; margin: 0 auto; padding: 0 28px; }
section { padding: 72px 0; }
.bg-white   { background: var(--white); }
.bg-light   { background: var(--green-light); }
.bg-silver  { background: var(--silver-light); }
.bg-dark    { background: var(--dark); }
.bg-darkest { background: var(--dark-deep); }

.eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--dark); margin-bottom: 8px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content:""; width:20px; height:2px; background:var(--dark); display:block; }
.eyebrow.light { color: rgba(255,255,255,0.45); }
.eyebrow.light::before { background: rgba(255,255,255,0.3); }

.sec-title { font-size: clamp(20px,3vw,26px); font-weight: 700; color: var(--text); margin-bottom: 10px; }
.sec-title.light { color: #fff; }
.sec-desc  { font-size: 14px; color: var(--text-sub); margin-bottom: 40px; max-width: 640px; line-height: 1.9; }
.sec-desc.light { color: rgba(255,255,255,0.65); }

/* ===== FOOTER ===== */
.site-footer { background: var(--dark-deep); padding: 36px 28px; }
.footer-inner {
  max-width: 1040px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px;
}
.footer-logo strong { font-size: 14px; font-weight: 700; color: #fff; display: block; }
.footer-logo small  { font-size: 10px; color: #fff; margin-top: 3px; display: block; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: #fff; transition: color 0.15s; }
.footer-links a:hover { color: #ccc; }
.footer-info { font-size: 13px; color: #fff; line-height: 2; }
.footer-info a { color: #fff; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.7); margin-top: 24px; text-align: center; }

/* ===== BUTTONS ===== */
.btn { display: inline-block; font-size: 14px; font-weight: 600; padding: 12px 28px; border-radius: 4px; cursor: pointer; border: none; font-family: inherit; transition: background 0.15s, color 0.15s; }
.btn-primary { background: var(--dark); color: #fff; }
.btn-primary:hover { background: var(--green); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--silver-line); }
.btn-outline:hover { border-color: var(--dark); color: var(--dark); }
.btn-outline-white { background: transparent; color: rgba(255,255,255,0.85); border: 1.5px solid rgba(255,255,255,0.25); }
.btn-outline-white:hover { border-color: rgba(255,255,255,0.6); color: #fff; }

/* ===== FORM ===== */
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { margin-bottom: 14px; }
label { display: block; font-size: 12px; font-weight: 600; color: var(--text-sub); margin-bottom: 5px; }
.req { color: #c0392b; margin-left: 2px; }
input, select, textarea {
  width: 100%; padding: 10px 13px; border: 1px solid var(--border);
  border-radius: 5px; font-size: 14px; font-family: inherit;
  color: var(--text); background: var(--white);
  transition: border-color 0.15s; -webkit-appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--dark);
  box-shadow: 0 0 0 3px rgba(28,46,26,0.07);
}
textarea { height: 110px; resize: vertical; }
.btn-submit {
  background: var(--dark); color: #fff; border: none;
  padding: 13px 32px; border-radius: 5px; font-size: 14px; font-weight: 600;
  cursor: pointer; width: 100%; font-family: inherit; transition: background 0.15s; margin-top: 4px;
}
.btn-submit:hover { background: var(--green); }
.form-note { font-size: 11px; color: var(--text-light); margin-top: 10px; text-align: center; }

/* ===== MOBILE ===== */
@media (max-width: 680px) {
  .header-tel { display: none; }
  .anniversary-bar p { font-size: 11px; letter-spacing: 0; }
  .form-row-2 { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
  .container { padding: 0 16px; }
  .nav-overlay-inner { padding: 90px 28px 40px; max-width: 100%; }
  .nav-main a { font-size: 18px; }
  .footer-inner { flex-direction: column; gap: 16px; }
  .footer-links { gap: 14px; }
}
