 /* ベーススタイル */
 * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #2c3e50;
  line-height: 1.7;
  background-color: #ffffff;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ヘッダー */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c5aa0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.logo a:hover {
  color: #1a4480;
}

.desktop-nav {
  display: none;
  gap: 3rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: #6c757d;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2c5aa0;
  transition: width 0.3s ease;
}

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

.nav-link:hover,
.nav-link.active {
  color: #2c5aa0;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #6c757d;
  transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
  color: #2c5aa0;
}

.mobile-menu {
  display: none;
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-menu.active {
  display: block;
}

.mobile-nav-link {
  display: block;
  padding: 1rem;
  color: #6c757d;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #2c5aa0;
  background-color: rgba(44, 90, 160, 0.05);
}

/* メインコンテンツ */
.main-content {
  padding: 0;
}

/* ヒーローセクション */
.hero-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(44, 90, 160, 0.6) 0%, rgba(74, 144, 226, 0.6) 100%), 
              url('images/syokai.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
  color: white;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(44, 90, 160, 0.3) 100%);
  z-index: 1;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 4rem 2rem;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(3px);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* セクション */
.section {
  padding: 6rem 0;
  position: relative;
}

.section:nth-child(even) {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: #2c5aa0;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #6c757d;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}

/* 医師紹介 */
.doctors-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.doctor-profile {
  margin-bottom: 4rem;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.doctor-profile:last-child {
  border-bottom: none;
}

.doctor-header {
  margin-bottom: 2rem;
}

.doctor-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c5aa0;
  margin-bottom: 0.5rem;
}

.doctor-info p {
  color: #6c757d;
  font-size: 1.125rem;
}

.greeting-content {
  background: rgba(44, 90, 160, 0.02);
  padding: 2rem;
  border-left: 4px solid #2c5aa0;
  margin-top: 2rem;
}

.greeting-content h4 {
  color: #2c5aa0;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.greeting-content p {
  color: #495057;
  line-height: 1.8;
}

.initiatives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.initiative-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(44, 90, 160, 0.08);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(44, 90, 160, 0.08);
  position: relative;
}

.initiative-card:hover {
  box-shadow: 0 20px 60px rgba(44, 90, 160, 0.15);
  transform: translateY(-8px);
  border-color: rgba(44, 90, 160, 0.15);
}

.initiative-card .initiative-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #2c5aa0 0%, #4a90e2 50%, #74b9ff 100%);
  color: white;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(44, 90, 160, 0.25);
  transition: all 0.3s ease;
}

.initiative-card:hover .initiative-icon {
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 12px 32px rgba(44, 90, 160, 0.35);
}

.initiative-card .initiative-icon svg {
  width: 36px;
  height: 36px;
}

.initiative-card .initiative-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2c5aa0;
  margin-bottom: 1.25rem;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.initiative-card .initiative-description {
  color: #495057;
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 400;
}


/* 設備紹介 */
.equipment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.equipment-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

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

.equipment-visual {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.equipment-visual svg {
  width: 3rem;
  height: 3rem;
  color: #4a90e2;
  margin-bottom: 0.5rem;
}

.equipment-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c5aa0;
  margin-bottom: 1rem;
}

.equipment-content p {
  color: #495057;
  line-height: 1.8;
}

/* アクセス情報 */
.access-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-icon {
  width: 24px;
  height: 24px;
  color: #2c5aa0;
  margin-top: 0.25rem;
}

.info-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #2c5aa0;
  margin-bottom: 0.5rem;
}

.info-content p {
  color: #495057;
  line-height: 1.7;
}

.directions-section {
  margin-bottom: 3rem;
}

.directions-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c5aa0;
  margin-bottom: 1.5rem;
}

.directions-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.direction-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(44, 90, 160, 0.02);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.direction-item:hover {
  background: rgba(44, 90, 160, 0.05);
  transform: translateX(5px);
}

.direction-number {
  width: 24px;
  height: 24px;
  background: #2c5aa0;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
}

.map-container {
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* スクロールトップボタン */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: #2c5aa0;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background: #1a4480;
  transform: translateY(-2px);
}

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

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

/* レスポンシブデザイン */
@media (min-width: 768px) {
  .desktop-nav {
      display: flex;
  }

  .mobile-menu-btn {
      display: none;
  }

  .mobile-menu {
      display: none !important;
  }

  .initiatives-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 3rem;
  }

  .initiative-item {
      border-bottom: none;
      padding: 2rem;
      background: rgba(255, 255, 255, 0.5);
      border-radius: 12px;
  }

  .initiative-description {
      margin-left: 0;
      margin-top: 1rem;
  }
}

@media (min-width: 1024px) {
  .initiatives-grid {
      grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .hero-content {
      padding: 2rem 1rem;
  }

  .section {
      padding: 4rem 0;
  }

  .doctors-container,
  .initiatives-grid,
  .equipment-grid,
  .access-container {
      padding: 0 1rem;
  }

  .greeting-content {
      padding: 1.5rem;
  }

  .equipment-item {
      grid-template-columns: 1fr;
      gap: 2rem;
      text-align: center;
  }

  .access-grid {
      grid-template-columns: 1fr;
      gap: 3rem;
  }

  .initiative-description {
      margin-left: 0;
      margin-top: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-content {
      padding: 1.5rem 0.5rem;
  }

  .section {
      padding: 3rem 0;
  }

  .equipment-visual {
      height: 120px;
  }
}

/* section-subtitleを非表示 */
.section-subtitle {
  display: none;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #2c5aa0;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
  letter-spacing: 0.02em;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #2c5aa0, #4a90e2);
}

/* フッター */
.footer {
  background: linear-gradient(135deg, #0a4b87, #1e40af);
  color: white;
  padding: 5rem 0 2rem 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.02em;
}

.footer-subtitle {
  color: #bfdbfe;
  margin-top: 0.5rem;
  font-style: italic;
}

.footer-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.footer-detail:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.footer-icon {
  color: #93c5fd;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.footer-note {
  font-size: 0.875rem;
  color: #bfdbfe;
  margin-top: 0.5rem;
  line-height: 1.5;
}

.footer-map {
  width: 100%;
  height: 18rem;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-iframe {
  border-radius: 15px;
  width: 100%;
  height: 100%;
}

.footer-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  margin: 4rem 0;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

.footer-nav-section h3 {
  color: #93c5fd;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
}

.footer-nav-list li {
  margin-bottom: 0.75rem;
}

.footer-nav-link {
  color: white;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  display: block;
  border-radius: 4px;
}

.footer-nav-link:hover {
  color: #93c5fd;
  transform: translateX(5px);
}

.footer-copyright {
  text-align: center;
  margin-top: 4rem;
  font-size: 0.875rem;
  color: #93c5fd;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* レスポンシブ対応：フッター */
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-nav {
    grid-template-columns: repeat(3, 1fr);
  }
}
