/* ========================================
   リセット & ベーススタイル
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* アンカーリンク時、固定ヘッダー分のオフセット（会社概要・LINE CTA等） */
#company,
#line-cta,
#service {
    scroll-margin-top: 88px;
}

@media (max-width: 768px) {
    #company,
    #line-cta,
    #service {
        scroll-margin-top: 80px;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* パララックスページでは背景を透明（parallax.cssで詳細指定） */
body.parallax-page {
    background-color: transparent;
}

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

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

ul, ol {
    list-style: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* ========================================
   コンテナ
   ======================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-small {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-medium {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 1rem;
}
/* ========================================
   ヘッダー（改善版）
   ======================================== */

.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.header-content{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height: 80px;
  gap: 16px;
}

.logo-area{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 0;
}

/* 画像ロゴをきれいに */
.logo-area img{
  display:block;
  height: 44px;
  width:auto;
}

/* ========== PC ナビ ========== */
.nav-desktop{
  display:flex;
  align-items:center;
  gap: 20px;
}

.nav-link{
  /* button の素の見た目を消す */
  appearance:none;
  border:none;
  background:transparent;
  cursor:pointer;

  color:#111827;
  font-size: 1rem;
  font-weight:700;
  letter-spacing:.04em;
  padding: 10px 8px;
  position:relative;
  opacity:.88;
  transition: opacity .2s ease, transform .2s ease;
}

.nav-link:hover{
  opacity:1;
  transform: translateY(-1px);
}

/* 下線アニメ */
.nav-link::after{
  content:"";
  position:absolute;
  left: 8px;
  right: 8px;
  bottom: 6px;
  height: 2px;
  background: linear-gradient(90deg, #10b981, #059669);
  transform: scaleX(0);
  transform-origin:left;
  transition: transform .22s ease;
  border-radius: 999px;
}
.nav-link:hover::after{
  transform: scaleX(1);
}

.nav-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding: 10px 16px;
  border-radius: 9999px;
  color:#fff;
  font-weight:700;
  letter-spacing:.02em;
  text-decoration:none;

  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 10px 24px rgba(16,185,129,.22);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.nav-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(16,185,129,.28);
  filter: brightness(1.02);
}

/* ========== SP ボタン ========== */
.nav-mobile{
  display:none;
}

.mobile-menu-btn{
  width: 44px;
  height: 44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 12px;
  background: rgba(255,255,255,.9);
  cursor:pointer;
  color:#111827;
  transition: transform .2s ease, background .2s ease;
}
.mobile-menu-btn:hover{
  transform: translateY(-1px);
  background: #fff;
}

/* ========== SP メニュー（右から出るドロワー） ========== */
/* ※ mobileMenu要素に適用する想定 */
.mobile-menu{
  position: fixed;
  top: 80px;              /* header-contentの高さに合わせる */
  right: 12px;
  width: min(340px, calc(100% - 24px));
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,.18);

  transform: translateX(12px);
  opacity: 0;
  pointer-events: none;
  transition: all .22s ease;

  padding: 10px;
}

.mobile-menu.is-open{
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

/* mobile menu 内のリンクを“メニューっぽく” */
.mobile-menu button,
.mobile-menu a{
  width: 100%;
  display:flex;
  align-items:center;

  padding: 12px 12px;
  border-radius: 12px;

  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .03em;
  color:#111827;
  text-decoration:none;

  border:none;
  background: transparent;
  cursor:pointer;
  transition: background .15s ease;
}

.mobile-menu button:hover,
.mobile-menu a:hover{
  background: rgba(16,185,129,.10);
}

/* SP時に高さを少し詰める */
@media (max-width: 768px){
  .header-content{ height: 72px; }
  .logo-area img{ height: 40px; }

  .nav-desktop{ display:none; }
  .nav-mobile{ display:block; }

  .mobile-menu{ top: 72px; }
}

/* ========================================
   フッター
   ======================================== */
.footer {
    background-color: #111827;
    color: #fff;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 3rem 0;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo-placeholder {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.875rem;
}

.footer-logo-area .footer-company-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.footer-company-name {
    font-size: 1.125rem;
}

.footer-company-info {
    color: #9ca3af;
    font-size: 0.875rem;
    line-height: 1.8;
}

.footer-contact {
    padding-top: 0.5rem;
}

.footer-heading {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-links a {
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #10b981;
}

.footer-sns {
    display: flex;
    gap: 1rem;
}

.footer-sns-icon {
    width: 48px;
    height: 48px;
    background-color: #1f2937;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    font-size: 1.25rem;
}

.footer-sns-icon:hover {
    background-color: #10b981;
}

.footer-sns-text {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-top: 1.5rem;
}

.footer-copyright {
    border-top: 1px solid #374151;
    padding: 2rem 0;
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ========================================
   セクション共通
   ======================================== */
.section {
    padding: 6rem 1rem;
}

.section-white {
    background-color: #fff;
}

.section-gray {
    background-color: #f9fafb;
}

.section-green-light {
    background-color: #f0fdf4;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #1f2937;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 1.125rem;
    margin-bottom: 4rem;
}

.section-green-light .section-subtitle {
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 1rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
}

/* ========================================
   MVVセクション
   ======================================== */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.mvv-item {
    text-align: center;
}

.mvv-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
}

.mvv-heading {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #10b981;
    font-weight: 600;
}

.mvv-text {
    color: #6b7280;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .mvv-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ========================================
   サービス詳細セクション
   ======================================== */
.service-detail-section {
    background-color: #fff;
}

.service-detail-grid {
    display: grid;
    gap: 3rem;
    max-width: 1024px;
    margin: 0 auto;
}

.service-detail-item {
    background-color: #f9fafb;
    border-radius: 1rem;
    padding: 2.5rem;
    border-left: 4px solid #10b981;
}

.service-detail-heading {
    font-size: 1.75rem;
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.service-detail-text {
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.service-detail-list {
    color: #4b5563;
    line-height: 2;
    padding-left: 1.5rem;
}

.service-detail-list li {
    list-style: disc;
    margin-bottom: 0.5rem;
}

/* ========================================
   スタッフ紹介セクション
   ======================================== */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.staff-card {
    background-color: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.staff-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.staff-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.staff-info {
    padding: 1.5rem;
}

.staff-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.staff-role {
    font-size: 0.875rem;
    color: #10b981;
    margin-bottom: 1rem;
}

.staff-description {
    color: #6b7280;
    line-height: 1.8;
    font-size: 0.9375rem;
    white-space: pre-line;
}

@media (max-width: 1024px) {
    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .staff-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   公式LINEセクション
   ======================================== */
.line-cta-section {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 5rem 1rem;
    text-align: center;
    color: #fff;
}

.line-cta-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
}

.line-cta-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.line-cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.line-cta-btn {
    display: inline-block;
    background-color: #fff;
    color: #10b981;
    padding: 1.25rem 3rem;
    border-radius: 9999px;
    transition: all 0.3s;
    font-size: 1.125rem;
    font-weight: 600;
}

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

/* ========================================
   会社概要セクション
   ======================================== */
.company-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.company-info-card {
    background-color: #fff;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Google Map埋め込み */
.company-map-card {
    background-color: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.company-map-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 240px;
}

.company-map-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 768px) {
    .company-map-wrap {
        aspect-ratio: 4 / 3;
        min-height: 200px;
    }
}

.company-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 1.25rem 0;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 2rem;
}

.company-item:last-child {
    border-bottom: none;
}

.company-label {
    font-weight: 600;
    color: #10b981;
}

.company-value {
    color: #4b5563;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .company-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* ========================================
   募集要項セクション
   ======================================== */
.recruitment-card {
    background-color: #fff;
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.recruitment-section-title {
    font-size: 1.75rem;
    color: #10b981;
    margin-bottom: 2rem;
    font-weight: 600;
    border-bottom: 3px solid #10b981;
    padding-bottom: 0.75rem;
}

.recruitment-item {
    margin-bottom: 2rem;
}

.recruitment-label {
    font-size: 1.125rem;
    color: #1f2937;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.recruitment-value {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.recruitment-list {
    color: #4b5563;
    line-height: 1.9;
    padding-left: 1.5rem;
}

.recruitment-list li {
    list-style: disc;
    margin-bottom: 0.5rem;
}

.recruitment-highlight {
    background-color: #f0fdf4;
    border-left: 4px solid #10b981;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0.5rem;
}

/* ========================================
   戻るナビゲーション
   ======================================== */
.back-nav {
    background-color: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
}

.back-link,
.back-link:link,
.back-link:visited {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: black !important;
    font-weight: 700;
    transition: color 0.3s;
}

.back-link:hover {
    color: #059669 !important;
}

.back-link svg {
    width: 20px;
    height: 20px;
    stroke: black !important;
}

/* ========================================
   アニメーション - フェードイン
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* ========================================
   アニメーション - スライドイン
   ======================================== */
.slide-in {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-visible {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   アニメーション - スケールイン
   ======================================== */
.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in-visible {
    opacity: 1;
    transform: scale(1);
}

/* ========================================
   アニメーション - スタガー（順次表示）
   ======================================== */
.stagger-item {
    opacity: 0;
    animation: staggerFadeIn 0.6s ease-out forwards;
}

@keyframes staggerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   ヘッダートランジション
   ======================================== */
.header {
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

/* ========================================
   リップルエフェクト
   ======================================== */
.cta-btn, .line-cta-btn, .btn-primary {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ========================================
   ページローダー
   ======================================== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.page-loader.fade-out {
    opacity: 0;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f0fdf4;
    border-top: 4px solid #10b981;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   ロゴローディングアニメーション
   ======================================== */
.logo-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

.logo-loader.hide {
    opacity: 0;
    visibility: hidden;
}

.logo-loader-image {
    width: 300px;
    height: auto;
    opacity: 0;
    animation: logoFadeIn 1.5s ease-out forwards;
}

.logo-loader-text {
    color: linear-gradient(135deg, #10b981 0%, #059669 100%);
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    opacity: 0;
    animation: textFadeIn 1s ease-out 0.8s forwards;
}

.logo-loader-progress {
    width: 200px;
    height: 3px;
    background-color: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 9999px;
    margin-top: 1.5rem;
    overflow: hidden;
    opacity: 0;
    animation: textFadeIn 1s ease-out 1s forwards;
}

.logo-loader-progress-bar {
    height: 100%;
    background-color: linear-gradient(135deg, #10b981 0%, #059669 100%);
    width: 0%;
    animation: progressBar 1.5s ease-out forwards;
    border-radius: 9999px;
}

@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(30px);
    }
    60% {
        opacity: 1;
        transform: scale(1.1) translateY(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes textFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes progressBar {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .logo-loader-image {
        width: 200px;
    }
    
    .logo-loader-text {
        font-size: 1.2rem;
    }
}

/* ========================================
   スクロール進捗バー
   ======================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #e5e7eb;
    z-index: 100;
}

.scroll-progress-bar {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    transform-origin: left;
    transform: scaleX(0);
    will-change: transform;
}

/* ========================================
   トップに戻るボタン
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease-out;
    z-index: 90;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* ========================================
   ホバーエフェクト強化
   ======================================== */
.staff-card, .other-member-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.staff-card:hover, .other-member-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #10b981;
    transition: width 0.3s ease-out;
}

.nav-link:hover::after {
    width: 100%;
}

/* ========================================
   パララックス効果
   ======================================== */
.parallax {
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* ========================================
   カウンターアニメーション
   ======================================== */
.counter-number {
    font-size: 3rem;
    font-weight: 700;
    color: #10b981;
    display: block;
    margin-bottom: 0.5rem;
}

.counter-label {
    font-size: 1rem;
    color: #6b7280;
}

/* ========================================
   画像の遅延読み込み
   ======================================== */
img {
    transition: opacity 0.3s ease-out;
}

img.loaded {
    opacity: 1;
}

/* ========================================
   プログレスバー
   ======================================== */
.progress-container {
    width: 100%;
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 9999px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    width: 0;
    transition: width 1.5s ease-out;
    border-radius: 9999px;
}

/* ========================================
   モーダル
   ======================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #fff;
    border-radius: 1rem;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease-out;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    background-color: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.modal-close:hover {
    background-color: #e5e7eb;
}

/* ========================================
   アコーディオン
   ======================================== */
.accordion-header {
    padding: 1.25rem;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
    margin-bottom: 0.5rem;
}

.accordion-header:hover {
    background-color: #f0fdf4;
}

.accordion-header.active {
    background-color: #d1fae5;
    border-color: #10b981;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.25rem;
}

.accordion-icon {
    transition: transform 0.3s ease-out;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

/* ========================================
   グロー効果
   ======================================== */
.glow {
    animation: glow-animation 2s ease-in-out infinite;
}

@keyframes glow-animation {
    0%, 100% {
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(16, 185, 129, 0.8);
    }
}

/* ========================================
   パルス効果
   ======================================== */
.pulse {
    animation: pulse-animation 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-animation {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* ========================================
   バウンス効果
   ======================================== */
.bounce {
    animation: bounce-animation 1s infinite;
}

@keyframes bounce-animation {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ========================================
   レスポンシブ対応
   ======================================== */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 48px;
        height: 48px;
    }
    
    .counter-number {
        font-size: 2rem;
    }
}