css/*
Theme Name: GeneratePress Child
Template: generatepress
*/

:root {
  --max-width: 1400px;
  --page-accent-color: #2B7FE0;
  --color-bg: #ffffff;
  --color-bg-secondary: #f5f5f5;
  --color-bg-dark: #1a1a1a;
  --color-text: #1a1a1a;
  --color-text-secondary: #666666;
  --font-heading: 'Zen Kaku Gothic New', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --radius: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
}

html {
  scrollbar-gutter: stable;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: clamp(28px, 5vw, 56px); }
h2 { font-size: clamp(22px, 3.5vw, 40px); }
h3 { font-size: clamp(18px, 2.5vw, 28px); }

/* モーダル共通 */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9500;
  align-items: center;
  justify-content: center;
}
.modal.active { display: flex; }
.modal-inner {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 800px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
  font-size: 20px;
  background: none;
  border: none;
}

/* 共通ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1;
  color: var(--page-accent-color);
  text-decoration: none;
  padding: 12px 30px;
  border: 1px solid var(--page-accent-color);
  border-radius: 50px;
  transition: all 0.3s ease;
  background-color: transparent;
}
.btn::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--page-accent-color);
  border-right: 2px solid var(--page-accent-color);
  transform: rotate(45deg);
  margin-left: 10px;
  position: relative;
  top: -1px;
  transition: border-color 0.3s ease;
}
.btn:hover {
  background-color: var(--page-accent-color);
  color: #ffffff;
}
.btn:hover::after {
  border-color: #ffffff;
}

/* ヘッダー */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}
.site-header .inside-header {
  padding: 24px 28px;
  max-width: 100%;
  display: flex;
  align-items: center;
}
.site-header .site-logo img {
  height: 52px;
  width: auto;
}

/* コンテンツ上余白（固定ヘッダー分） */
.site-main {
  padding-top: 80px;
}

/* ナビゲーション非表示 */
.main-navigation {
  display: none;
}

.section {
  padding-top: clamp(3rem, 8vw, 6rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
}
.grecaptcha-badge {
  visibility: hidden;
}

/* SP */
@media (max-width: 767px) {
  .site-header .inside-header {
    padding: 18px 18px;
    position: relative;
    min-height: 64px;
  }
  .site-header .site-logo img {
    height: 38px;
    width: auto;
  }
  .site-header .site-logo {
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
  }
}

.copyright-bar {
  display: none !important;
}

.site-info {
  display: none !important;
}