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

@import url('https://fonts.googleapis.com/css2?family=Aoboshi+One&family=Zen+Kaku+Gothic+New:wght@700&family=Noto+Sans+JP:wght@400;500&display=swap');

: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);
}

.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: 1000;
  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;
}