/* ===================================
   株式会社PURE - 共通スタイルシート
   カラー: スカイブルー × ホワイト × オレンジ
=================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

/* ---- CSS変数（カラーパレット） ---- */
:root {
  --color-navy:   #0ea5e9;
  --color-navy-dark: #0284c7;
  --color-orange: #f97316;
  --color-orange-hover: #ea6c0a;
  --color-white:  #ffffff;
  --color-gray-bg: #f0f9ff;
  --color-gray-light: #e0f2fe;
  --color-text:   #333333;
  --color-text-light: #666666;
  --color-border: #d0d4da;

  --font-base: 'Noto Sans JP', sans-serif;
  --max-width: 1140px;
  --header-height: 70px;
  --transition: 0.25s ease;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.14);
  --radius: 6px;
}

/* ---- リセット & ベース ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

/* ---- レイアウト共通 ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

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

/* ---- セクションタイトル ---- */
.section-title {
  text-align: center;
  margin-bottom: 56px;
}

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

.section-title__ja {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-navy);
  line-height: 1.3;
}

.section-title__ja::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--color-orange);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ---- ボタン ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-base);
  font-size: 0.95rem;
  font-weight: 700;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}

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

.btn--primary:hover {
  background: var(--color-orange-hover);
  border-color: var(--color-orange-hover);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

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

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

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

/* ---- ヘッダー ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--color-navy);
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  transition: background var(--transition);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-white);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}

.header__logo-mark {
  width: 40px;
  height: 40px;
  background: var(--color-orange);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--color-white);
  flex-shrink: 0;
}

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

.header__nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 4px;
}

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

.header__nav-link:hover,
.header__nav-link.active {
  color: var(--color-white);
}

.header__nav-link:hover::after,
.header__nav-link.active::after {
  width: 100%;
}

.header__cta {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* ハンバーガーメニュー（スマホ） */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger__line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

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

/* スマホナビ */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: var(--color-navy-dark);
  padding: 16px 0;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav__link {
  display: block;
  padding: 14px 24px;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition), color var(--transition);
}

.mobile-nav__link:hover {
  background: rgba(255,255,255,0.06);
  color: var(--color-white);
}

.mobile-nav__link--cta {
  margin: 12px 24px 0;
  display: block;
  text-align: center;
  border-bottom: none;
  border-radius: var(--radius);
  padding: 14px;
  background: var(--color-orange);
  color: var(--color-white);
  font-weight: 700;
}

/* ---- フッター ---- */
.footer {
  background: var(--color-navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 24px;
}

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

.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-white);
  font-weight: 900;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.footer__brand-mark {
  width: 36px;
  height: 36px;
  background: var(--color-orange);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  color: var(--color-white);
}

.footer__brand-desc {
  font-size: 0.85rem;
  line-height: 1.8;
}

.footer__heading {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__links li {
  margin-bottom: 8px;
}

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

.footer__links a:hover {
  color: var(--color-orange);
}

.footer__info-item {
  display: flex;
  gap: 10px;
  font-size: 0.875rem;
  margin-bottom: 10px;
  align-items: flex-start;
}

.footer__info-icon {
  color: var(--color-orange);
  flex-shrink: 0;
  margin-top: 2px;
}

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

/* ---- ページヒーロー（各ページ共通） ---- */
.page-hero {
  background: var(--color-navy);
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 100%);
  opacity: 0.85;
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.page-hero__en {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 8px;
}

.page-hero__title {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.page-hero__desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
}

/* ---- パンくずリスト ---- */
.breadcrumb {
  background: var(--color-gray-bg);
  padding: 12px 0;
  font-size: 0.8rem;
}

.breadcrumb__list {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--color-text-light);
}

.breadcrumb__list li:not(:last-child)::after {
  content: '›';
  margin-left: 8px;
  color: var(--color-border);
}

.breadcrumb__list a {
  color: var(--color-navy);
  transition: color var(--transition);
}

.breadcrumb__list a:hover {
  color: var(--color-orange);
}

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

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

/* ---- フォーム共通 ---- */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.form-label .required {
  display: inline-block;
  background: var(--color-orange);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-base);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.12);
}

.form-textarea {
  min-height: 160px;
  resize: vertical;
}

/* ---- ページ本文の上余白（固定ヘッダー分） ---- */
.page-content {
  padding-top: var(--header-height);
}

/* ---- アニメーション ---- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- レスポンシブ ---- */
@media (max-width: 960px) {
  .header__nav,
  .header__cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

  .section-title__ja {
    font-size: 1.6rem;
  }

  .page-hero__title {
    font-size: 1.8rem;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 56px 0;
  }

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

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

  .section-title__ja {
    font-size: 1.4rem;
  }

  .btn {
    padding: 12px 24px;
  }
}
