@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap');

:root {
  /* カラーパレット */
  --color-primary: #BC3434;
  --color-text: #1A1A1A;
  --color-white: #FFF;
  --color-gray-light: #f5f5f5;
  --color-gray: #e0e0e0;
  --color-gray-dark: #666;
  
  /* フォントサイズ */
  --font-xs: 1.2rem;
  --font-sm: 1.4rem;
  --font-base: 1.8rem;
  --font-lg: 2.4rem;
  --font-xl: 3rem;
  
  /* ブレークポイント */
  --breakpoint-desktop: 1100px;
  
  /* コンテナー幅 */
  --container-max-width: 1200px;
  
  /* スペーシング */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
}

/* モダンリセット */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: var(--font-base);
  font-weight: 400;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  color: var(--color-text);
  line-height: 1.8;
}

table, input, textarea, select, option {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.8;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #9c2b2b;
}

/* アクセシビリティ */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* レスポンシブデザイン */
@media (min-width: 1101px) {
  .sp {
    display: none !important;
  }
}

@media (max-width: 1100px) {
  .pc {
    display: none !important;
  }
}

/* コンテナー */
.container {
  margin: auto;
  position: relative;
  max-width: var(--container-max-width);
  width: 100%;
  padding: 0 var(--space-md);
}

/* ボタン */
.btn {
  display: inline-block;
  font-size: var(--font-sm);
  padding: 10px 18px;
  background: var(--color-primary);
  border-radius: 40px;
  color: var(--color-white);
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  border: none;
}

.btn:hover {
  background-color: #a02c2c;
  transform: translateY(-2px);
}

.btn--secondary {
  background: var(--color-gray-dark);
}

.btn--secondary:hover {
  background-color: #444;
}

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

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

.btn--large {
  padding: 12px 24px;
  font-size: var(--font-base);
}

.btn--small {
  padding: 6px 12px;
  font-size: var(--font-xs);
}

/* モーダル */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal.active {
  display: flex;
}

.modal__content {
  background: var(--color-white);
  padding: var(--space-md);
  border-radius: 4px;
  max-width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal__close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  cursor: pointer;
  font-size: var(--font-xl);
}

/* 追加のヘルパークラス */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.hidden {
  display: none;
}

.visible {
  display: block;
}

/* アニメーション */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

/* スクリーンリーダー専用 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}


