/* ===================================
   甲栄企画印刷 - 共通スタイル
=================================== */

/* --- リセット & 基本設定 --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-navy:    #1a2e4a;
  --color-navy-light: #243d61;
  --color-accent:  #e8622a;
  --color-accent-light: #f0824f;
  --color-gray:    #f4f5f7;
  --color-gray-mid: #e0e3e8;
  --color-text:    #2d2d2d;
  --color-text-sub: #666;
  --color-white:   #ffffff;

  --font-base: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  --radius: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  line-height: 1.7;
  background: var(--color-white);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --- コンテナ --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- セクション共通 --- */
.section {
  padding: 80px 0;
}

.section--gray {
  background: var(--color-gray);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1rem;
  color: var(--color-text-sub);
  max-width: 600px;
  margin-bottom: 48px;
}

/* --- ボタン --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,98,42,0.35);
}

.btn--outline {
  background: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
}

.btn--outline:hover {
  background: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--color-white);
  color: var(--color-accent);
}

.btn--white:hover {
  background: var(--color-gray);
  transform: translateY(-2px);
}

/* ===================================
   ヘッダー
=================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: background var(--transition);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.header__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header__logo-main {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: 0.05em;
}

.header__logo-sub {
  font-size: 0.65rem;
  color: var(--color-text-sub);
  letter-spacing: 0.1em;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-accent);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__cta {
  background: var(--color-accent);
  color: var(--color-white) !important;
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--transition);
}

.nav__cta:hover {
  background: var(--color-accent-light);
  transform: translateY(-1px);
}

.nav__cta::after {
  display: none !important;
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================================
   フッター
=================================== */
.footer {
  background: var(--color-navy);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer__logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
}

.footer__tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
  line-height: 1.6;
}

.footer__contact-item {
  font-size: 0.85rem;
  margin-bottom: 4px;
  color: rgba(255,255,255,0.75);
}

.footer__nav-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-white);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer__nav-list li {
  margin-bottom: 10px;
}

.footer__nav-list a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer__nav-list a:hover {
  color: var(--color-accent);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

/* ===================================
   ページヘッダー（内部ページ用）
=================================== */
.page-hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  color: var(--color-white);
  padding: 120px 0 60px;
  text-align: center;
}

.page-hero__label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.page-hero__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
}

/* ===================================
   パンくず
=================================== */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.8rem;
  color: var(--color-text-sub);
  border-bottom: 1px solid var(--color-gray-mid);
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb__item:not(:last-child)::after {
  content: '›';
  margin-left: 8px;
  color: var(--color-gray-mid);
}

.breadcrumb__link {
  color: var(--color-text-sub);
  transition: color var(--transition);
}

.breadcrumb__link:hover {
  color: var(--color-accent);
}

/* ===================================
   カード共通
=================================== */
.card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

/* ===================================
   レスポンシブ
=================================== */
@media (max-width: 768px) {
  .section { padding: 56px 0; }

  .hamburger { display: flex; }

  .nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    padding: 32px 24px;
    flex-direction: column;
    z-index: 999;
    overflow-y: auto;
  }

  .nav.open {
    display: flex;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .nav__link {
    display: block;
    padding: 16px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--color-gray-mid);
    width: 100%;
  }

  .nav__cta {
    display: inline-block;
    margin-top: 24px;
    text-align: center;
    width: 100%;
    padding: 14px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
