/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto sans Japanese', 'M PLUS 1p', 'Helvetica Neue', 'Arial', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic ProN', 'メイリオ', 'Meiryo', 'sans-serif';
  line-height: 1.6;
  color: #333;
  background: linear-gradient(to bottom, #eff6ff, #ffffff);
  min-height: 100vh;
}
/*headerメニューここからコピー*/
.nav-menu {
    display: none;
    /* Hidden by default for mobile (controlled by JS for hamburger) */
    flex-direction: column;
    position: absolute;
    top: 4rem;
    /* Header height */
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    gap: 0;
    z-index: 1000;
}

.nav-menu.active {
    display: flex;
}

.nav-menu .nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.nav-menu .nav-link:last-child {
    border-bottom: none;
}

.logo-image {
    width: 50%;
    height: auto;
}


.nav {
    display: none;
    gap: 1.5rem;
}
.mobile-menu-btn {
    display: flex;
    /* Visible by default for mobile */
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 1.5rem;
    height: 2px;
    background: #374151;
    transition: all 0.3s;
}

.header {
    background: #F6F8FB;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e5e7eb;
    top: 0;
}
.header-container {
  padding:0 1rem 1rem 1rem;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.facility-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.facility-header i {
    color: #2563eb;
    font-size: 1.5rem;
}

.facility-header h3 {
    font-size: 1.5rem;
    font-weight: bold;
    font-size: clamp(8px, 5vw, 38px);
    color: #1e3a8a;
}
.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    background: #2563eb;
    padding: 0.5rem;
    border-radius: 0.5rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text > div {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

.logo-text p {
    font-size: 0.875rem;
    color: #6b7280;
}

/*headerメニューここまでコピー*/

/* Footerここからコピー */
.footer {
    padding: 1rem 0;
}


.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    font-size: 0.875rem;
}
/*footerここまでコピー*/

/*ロケーションコピーここから*/
.location-section {
  padding: 3rem 0;
}
.location-card {
  max-width: 32rem;
  margin: 0 auto;
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.map-container {
  background: white;
  border-radius: 0.5rem;
  /* rounded-lg */
  padding: 0.5rem;
  /* p-2 */
  margin-top: 2rem;
  /* mt-8 */
}

.map-wrapper {
  aspect-ratio: 16 / 9;
  width: 100%;
}

iframe {
  border-radius: 0.375rem;
  /* rounded-md */
}
.location-content {
  padding: 1.5rem;
}

.address-info {
  display: flex;
  align-items: flex-start;
  gap: 1%;
  margin-bottom: 1rem;
}

.address-text {
  font-size: 1rem;
  /* text-base */
  font-weight: 600;
  /* font-semibold */
  color: var(--color-gray-800);
}

.address {
  font-size: 1.125rem;
  font-weight: 600;
    color : #000000;
}
.address > span {
  font-size: 0.9rem;
    font-weight: 500;
}
.phone-link {
  color : #000000;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 600;
  transition: color 0.3s;
}

.phone-link:hover {
  color: #dbeafe;
}

.contact-item {
  padding-left: 6%;
  display: flex;
  align-items: center;
  gap: 1%;
}
.contact-item02 {
  padding-left: 6%;
  display: flex;
  align-items:flex-start;
  gap: 1%;
}

.hours {
  font-size: 1.125rem;
    opacity: 0.8;
    font-weight: 600;
     color: #000000;
 
}
.hours-badge {
  color: #000000;
 padding-left: 6%;
margin : 0 auto;
  font-size: 1.125rem;
  display: inline-block;
}
.hours-badge > span{
 font-weight: 600;
}
/*ロケーションここまで*/

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

.phone-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.badge {
  background: #6b7280;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  display: inline-block;
}

/* Mobile-first hero section */
.hero {
  background: linear-gradient(to right, #2563eb, #1e40af);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-description {
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

/* Button Styles */
.btn {
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: #ea580c;
  color: white;
}

.btn-primary:hover {
  background: #dc2626;
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background: white;
  color: #2563eb;
}

.btn-outline-small {
  background: transparent;
  color: #2563eb;
  border: 2px solid #2563eb;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-outline-small:hover {
  background: #eff6ff;
}

/* Mobile-first section styles */
section {
  padding: 0.5rem 0;
}

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

.section-title {
  text-align: center;
  font-size: 1.7rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}
.section-title > strong {
  color:#ff0000;
  font-weight: 700;
}
.section-description {
  text-align: left;
  color: #6b7280;
  max-width: 32rem;
  margin: 0 auto;
}
.list-check {
    list-style: none;
    /* デフォルトのリストスタイルを削除 */
    padding-left: 0;
    margin-top:0;
}

.list-check li {
    position: relative;
    padding-left: 1.8rem;
    /* チェックアイコン分のスペース */
    margin-bottom: 0.5rem;
    color:#222222;
}

.list-check li::before {
    content: '\f00c';
    /* Font Awesomeのチェックアイコン */
    font-family: 'Font Awesome 5 Free';
    font-weight: 800;
    position: absolute;
    left: 0;
    color: #0000ff;
    /* チェックアイコンの色 */
}
/* Infection Control Section */
.infection-control {
  background: white;
}

/* Mobile-first grid layout */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.list-check {
    list-style: none;
    /* デフォルトのリストスタイルを削除 */
    padding-left: 0;
    margin-top:0;
}

.list-check li {
    position: relative;
    padding-left: 1.2rem;
    /* チェックアイコン分のスペース */
    margin-bottom: 0.5rem;
    font-size: 1rem
}

.list-check li::before {
    content: "※";
    /* Font Awesomeのチェックアイコン */
    font-family: 'Font Awesome 5 Free';
    font-weight: 800;
    position: absolute;
    color :#000000;
    left: 0;
}



.card {
  background: white;
  border: 2px solid #bfdbfe;
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.card-content p {
  color: #222222;
  line-height: 1.6;
}
.card-image {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 0.25rem;
   object-fit: cover;
  transition: none;
}
/* Why Choose Us Section */
.why-choose-us {
  background: #eff6ff;
}

/* Mobile-first reasons grid */
.reasons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.reason {
  text-align: center;
  display: flex;
  align-items: center;
}

.reason-number {
   vertical-align: middle; /* これが上下の位置を揃えるプロパティ */
}
.reason img {
  width: 80px;
  height: 80px;
  margin-right: 10px;
  /* 画像とテキストを垂直方向で中央に揃える */

  border-radius: 5px; /* 例として10pxを指定 */
}
.reason-title {
  font-size: 1.125rem;
  font-weight: 700;
   vertical-align: middle; /* これが上下の位置を揃えるプロパティ */
}

.reason-description {
  color: #222222;
  line-height: 1.6;
  padding-bottom:0.5rem;
}

/* Course Section */
.courses {
  background: white;
}

/* Mobile-first course cards */
.course-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

.course-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.course-header {
  padding: 1.5rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.course-card.children .course-header {
  background: linear-gradient(to right, #3b82f6, #2563eb);
}

.course-card.adult .course-header {
  background: linear-gradient(to right, #10b981, #059669);
}

.course-card.competitive .course-header {
  background: linear-gradient(to right, #f59e0b, #d97706);
}

.course-icon {
  font-size: 1.75rem;
}

.course-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.course-subtitle {
  opacity: 0.9;
  font-size: 0.875rem;
}

.course-content {
  padding: 1.5rem;
}

.course-details {
  margin-bottom: 1.5rem;
}

.course-details h4 {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.course-details ul {
  list-style: none;
  color: #6b7280;
  font-size: 0.875rem;
}

.course-details li {
  margin-bottom: 0.25rem;
}

.course-pricing {
  margin-bottom: 1.5rem;
}

.course-pricing h4 {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.price {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.course-card.children .price {
  color: #2563eb;
}

.course-card.adult .price {
  color: #059669;
}

.course-card.competitive .price {
  color: #d97706;
}

.price-note {
  font-size: 0.875rem;
  color: #6b7280;
}

.btn-course {
  width: 100%;
  background: #2563eb;
  color: white;
}
.free-trial {
  color:#ffffff;
  font-weight: 700;
    text-decoration: none;
}
.course-card.adult .btn-course {
  background: #059669;
}

.course-card.competitive .btn-course {
  background: #d97706;
}

.btn-course:hover {
  opacity: 0.9;
}
.details {
  font-size: 1.125rem;
  background: #f9fafb;
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.support-title {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.support-icon {
  font-size: 1.75rem;
  background: #eff6ff;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.support-item h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.support-item p {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Testimonials Section */
.testimonials {
  background: #eff6ff;
}

/* Mobile-first testimonial cards */
.testimonial-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.testimonial-card {
  background: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s;
}

.testimonial-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  background: #eff6ff;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.testimonial-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.testimonial-role {
  font-size: 0.875rem;
  color: #6b7280;
}

.testimonial-content p {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.rating {
  font-size: 1rem;
}

/* Mobile-first stats */
.stats {
  background: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.stats-title {
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stats-grid .stat-item:nth-child(1) .stat-number {
  color: #2563eb;
}

.stats-grid .stat-item:nth-child(2) .stat-number {
  color: #059669;
}

.stats-grid .stat-item:nth-child(3) .stat-number {
  color: #d97706;
}

.stat-item p {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Mobile-first access section */
.access {
  background: white;
}

.access-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.map-container {
  background: #f3f4f6;
  height: 12rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #6b7280;
}

.map-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.map-note {
  font-size: 0.875rem;
}

.access-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-section h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-details {
  color: #6b7280;
}

.info-details p {
  margin-bottom: 0.5rem;
}

.holiday-note {
  color: #dc2626 !important;
  font-size: 0.875rem;
}

.bus-description {
  color: #6b7280;
  margin-bottom: 1rem;
}

/* CTA Section */
.cta {
  background: linear-gradient(to right, #ea580c, #dc2626);
  color: white;
  text-align: center;
}

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

.cta-description {
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.btn-cta-primary {
  background: white;
  color: #ea580c;
}

.btn-cta-primary:hover {
  background: #f3f4f6;
}

.btn-cta-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-cta-outline:hover {
  background: white;
  color: #ea580c;
}

/* Desktop-first media queries converted to mobile-first min-width queries */
@media (min-width: 480px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 640px) {
  .hero-buttons,
  .cta-buttons {
    flex-direction: row;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .hero-description,
  .cta-description {
    font-size: 1.125rem;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (min-width: 768px) {
  .header-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

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

  .header-title {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .cta-title {
    font-size: 2.25rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

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

  section {
    padding: 4rem 0;
  }

  .hero {
    padding: 4rem 0;
  }

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

  .map-container {
    height: 16rem;
  }

  .testimonial-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
  }

}

@media (min-width: 1024px) {
  .header-title {
    font-size: 2.25rem;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

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

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

  .course-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
  }

  .support-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .support-features {
    padding: 2rem;
  }

  .stats {
    padding: 2rem;
  }

}

@media (min-width: 1200px) {
  .hero-title {
    font-size: 4rem;
  }

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