/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

body {
    background-color: #F7F1E3;
    font-family: 'Noto Sans JP', sans-serif;
    text-align: center;
    font-size: 0.9rem;
    color: #333333;
}

.hero {
    background-color: #F7F1E3;
    padding: 60px 20px;
    border-radius: 10px;
    margin: 20px auto;
}

.hero img {
    max-width: 225px;
    margin-bottom: 20px;
}

.catchphrase {
    color: #000000;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

.catchphrase2 {
    color: #000000;
    font-size: 2.0rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
}

.content-block {
    font-size: 1rem;
    line-height: 1.9;
    color: #2E2E2E;
    text-align: center;
    padding: 0 1rem;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.content-block .intro-line {
    font-size: 1.15rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    display: block;
    white-space: nowrap;
}

.lead {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.8;
    color: #2E2E2E;
    margin-bottom: 1rem;
    white-space: nowrap;
}

ul {
    list-style: disc inside;
    padding-left: 1rem;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 500;
}

.message-box {
    background-color: #AFCEC2;
    border-radius: 10px;
    padding: 20px;
    margin: 20px auto;
    width: 90%;
    font-weight: 600;
    font-size: 1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-radius: 30px;
    color: #333;
    font-weight: 500;
    background-color: #ffffff;
    transition: background-color 0.3s, color 0.3s;
}

.social-icons a:hover {
    background-color: #EFEFEF;
    color: #000;
}

.social-icons a img {
    width: 24px;
    height: 24px;
}

.btn-primary {
    background-color: #EAA9A4;
    border-color: #EAA9A4;
    font-size: 0.95rem;
    padding: 10px 30px;
    border-radius: 30px;
    margin-bottom: 10px;
}

.container-fixed {
    max-width: 900px;
    margin: auto;
    padding: 0 15px;
    text-align: center;
}

.two-column-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    text-align: left;
    font-size: 1rem;
    line-height: 1.9;
    font-weight: 500;
    color: #2E2E2E;
}

.two-column-section .text {
    flex: 1 1 50%;
}

.two-column-section .image {
    flex: 1 1 40%;
    text-align: center;
}

.two-column-section .image img {
    max-width: 100%;
    max-height: 350px;
    height: auto;
    border-radius: 10px;
}

.two-column-left-image {
    flex-direction: row-reverse;
}

.price-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px auto 10px;
    display: block;
}

.access-info {
    text-align: left;
    margin: 40px auto 10px;
    padding: 0 1rem;
    max-width: 900px;
}

.access-heading {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: underline;
    margin-bottom: 5px;
    text-align: left;
}

.access-address {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    text-align: left;
}

.btn-highlight {
    background-color: #FFA500;
    border: none;
    font-size: 1.05rem;
    padding: 14px 36px;
    border-radius: 30px;
    font-weight: 700;
    color: white;
    margin: 30px auto 20px;
    display: inline-block;
    text-align: center;
    transition: background-color 0.3s;
}

.btn-highlight:hover {
    background-color: #ff8800;
}

.class-schedule {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  text-align: left;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 25px 20px;
  margin-top: 40px;
  justify-content: space-between;
}

.schedule-title {
  width: 100%;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #444;
  border-left: 6px solid #EAA9A4;
  padding-left: 10px;
}

.class-group {
  flex: 1 1 45%;
  margin-bottom: 1rem;
}

.class-group h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 0.5rem;
}

.class-group ul {
  padding-left: 1rem;
  margin-bottom: 0;
}

.class-group ul li {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 3px;
}

/* Review Section Styles */
.review-section {
    display: flex;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.review-card {
    flex: 1;
    min-width: 250;
    max-width: 280;
    background: #ffffff;
    border: 2px solid #f8d7da;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: relative;
}

.review-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 8px;
    background: linear-gradient(90deg, #f8d7da, #f5c6cb, #f8d7da);
    border-radius: 4px;
}

.review-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #333;
    font-weight: 500;
}

.reviewer-info {
    border-top: 2px solid #f8d7da;
    padding-top: 15px;
    margin-top: 20px;
}

.reviewer-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.reviewer-role {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}

.schedule-caption {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 10px;
    color: #333;
}

/* --- Event Section --- */
.event-section {
    margin-top: 20px;
    margin-bottom: 40px;
}

.event-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-align: left;
}

.event-month {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
}

.event-image {
    flex: 1;
}

.event-image img {
    border-radius: 10px;
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* --- Map Section --- */
.map-container {
    width: 100% !important;
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 15px !important;
    box-sizing: border-box;
    margin-top: 40px;
    margin-bottom: 40px;
}

.map-container iframe {
    width: 100% !important;
    max-width: 100% !important;
    height: 400px;
    border: 0;
    display: block;
}


/* --- Mobile Responsive Styles --- */
@media (max-width: 767px) {
  body {
      font-size: 0.85rem;
  }

  .catchphrase {
      font-size: 1.6rem;
      text-align: center;
  }

  .catchphrase2 {
      font-size: 1.4rem;
      text-align: center;
  }

  .hero img {
      display: block;
      margin-left: auto;
      margin-right: auto;
  }

  .two-column-section,
  .two-column-left-image {
      display: flex;
      flex-direction: column;
      text-align: left;
  }

  .two-column-section .image,
  .two-column-left-image .image {
      order: 1;
  }

  .two-column-section .text,
  .two-column-left-image .text {
      order: 2;
  }
  .two-column-section .text,
  .two-column-section .image,
  .two-column-left-image .text,
  .two-column-left-image .image {
      flex: 1 1 100%;
  }

  .price-image {
      width: 90%;
      display: block;
      margin-left: auto;
      margin-right: auto;
  }

  .content-block {
      text-align: left;
  }
  
  .class-group {
    flex: 1 1 100%;
  }

  .review-section {
    flex-direction: column;
    gap: 20px;
  }
  
  .review-card {
    min-width: auto;
  }

  .event-item {
      flex-direction: column;
  }
  
  .event-month {
      font-size: 1.5rem;
      text-align: left;
      width: 100%;
      margin-bottom: 10px;
  }

  /* ✅ ここを追加しました */
  .event-image img {
      height: auto; /* スマートフォンでは高さを自動調整 */
  }
}

@media (min-width: 768px) {
    .content-block {
        text-align: left;
        padding: 0 2rem;
    }
}
