@charset "UTF-8";

/* ====================================================
   Variables & Reset
==================================================== */
:root {
  --color-primary: #153c8a;
  --color-secondary: #4a9e22;
  --color-accent: #f36c21;
  --color-text-main: #222222;
  --color-footer-bg: #eaf2f8;
  --font-base: 'Noto Sans JP', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-base);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

ul {
  list-style: none;
}

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

.material-symbols-outlined.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35em;
  line-height: 1;
  vertical-align: middle;
}

/* ====================================================
   Animations
==================================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
}

.fade-in-up.is-visible {
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ====================================================
   Section Title
==================================================== */
.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 40px;
  position: relative;
}

/* ====================================================
   Page Hero
==================================================== */
.page-hero {
  background-color: #f1f8ff;
  padding: 48px 20px 48px;
}

.page-hero__inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.page-hero__title {
  font-size: clamp(1.75rem, 4.5vw, 2.25rem);
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 16px;
  line-height: 1.4;
}

.page-hero__lead {
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  line-height: 1.8;
  color: #444;
}

.br-pc {
  display: none;
}

@media screen and (min-width: 601px) {
  .br-pc {
    display: inline;
  }
}

/* ====================================================
   Instructors Section
==================================================== */
.instructors {
  padding: 48px 20px 56px;
  background-color: #fff;
}

.instructors--alt {
  background-color: #f8faf5;
}

.instructors__inner {
  max-width: 960px;
  margin: 0 auto;
}

.instructors__grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ====================================================
   Instructor Card
==================================================== */
.instructor-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: #ffffff;
  border-radius: 20px;
  border: 2px solid #d9e6d9;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.instructors--alt .instructor-card {
  border-color: #d2e4f6;
}

.instructor-card__photo {
  flex-shrink: 0;
  width: 220px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #eef3f8;
}

.instructor-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.instructor-card__photo--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 2px dashed #c5d4c5;
  background-color: #f5f7f5;
}

.instructor-card__photo--empty span {
  font-size: 1rem;
  font-weight: 700;
  color: #999;
  letter-spacing: 0.1em;
}

.instructor-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 24px 28px;
  flex: 1;
  min-width: 0;
}

.instructor-card__role {
  display: inline-flex;
  align-self: flex-start;
  background: var(--color-secondary);
  color: #fff;
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 0.82rem;
  font-weight: 700;
}

.instructor-card__name {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.45;
}

.instructor-card__ruby {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: #888;
  margin-top: 4px;
}

.instructor-card__schedule {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.5;
}

.instructor-card__bio {
  font-size: 0.92rem;
  line-height: 1.85;
  color: #333;
  margin-top: 4px;
}

.instructor-card__bio--pending {
  color: #999;
  font-style: italic;
  margin-top: auto;
}

.instructor-card--placeholder .instructor-card__body {
  min-height: 0;
}

/* ====================================================
   Bottom CTA
==================================================== */
.bottom-cta {
  background-color: #8cc63f;
  padding: 40px 20px;
}

.bottom-cta__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.bottom-cta__lead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.bottom-cta__text {
  color: #ffffff;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 700;
  line-height: 1.5;
}

.bottom-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 10px 30px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 0 #0b2a61;
  transition: transform 0.2s, box-shadow 0.2s;
}

.bottom-cta__btn .icon {
  font-size: 1.4rem;
}

.bottom-cta__btn:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #0b2a61;
  opacity: 1;
}

.bottom-cta__contact {
  background: #ffffff;
  color: var(--color-text-main);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
  text-align: left;
}

.bottom-cta__office {
  color: var(--color-primary);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
}

.bottom-cta__company {
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 10px;
}

.bottom-cta__address {
  font-style: normal;
  line-height: 1.8;
  margin-bottom: 14px;
}

.bottom-cta__contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 12px;
}

.bottom-cta__contact-list a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bottom-cta__organizer {
  border-top: 1px solid rgba(21, 60, 138, 0.15);
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.7;
  padding-top: 12px;
}

/* ====================================================
   Footer（トップページと共通）
==================================================== */
.footer {
  background-color: var(--color-footer-bg);
  padding: 0 0 20px;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer__info {
  display: flex;
  gap: 30px;
}

.footer__contact {
  text-align: left;
}

.footer__item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.footer__label {
  border: 1px solid #333;
  padding: 2px 10px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  background-color: #fff;
  white-space: nowrap;
}

.footer__text {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.footer__text strong {
  font-size: 16px;
}

.footer__copy {
  text-align: center;
  font-size: 12px;
  color: #666;
  border-top: 1px solid #ccc;
  padding-top: 15px;
}

/* ====================================================
   Responsive
==================================================== */
@media screen and (min-width: 601px) {
  .instructor-card__photo {
    width: 240px;
  }
}

@media screen and (max-width: 768px) {
  .bottom-cta__lead {
    flex-direction: column;
  }

  .bottom-cta__contact {
    border-radius: 18px;
    padding: 15px;
  }
}

@media screen and (max-width: 600px) {
  .page-hero {
    padding: 28px 16px 36px;
  }

  .instructors {
    padding: 36px 16px 44px;
  }

  .instructors__grid {
    gap: 20px;
  }

  .instructor-card {
    flex-direction: column;
  }

  .instructor-card__photo {
    width: 100%;
    max-width: none;
  }

  .instructor-card__photo--empty {
    border-right: none;
    border-bottom: 2px dashed #c5d4c5;
  }

  .instructor-card__body {
    padding: 16px 18px 20px;
  }

  .instructor-card__name {
    font-size: 1.2rem;
  }

  .footer__inner {
    flex-direction: column;
    gap: 20px;
  }

  .footer__info {
    flex-direction: row;
    gap: 16px;
    width: 100%;
  }

  .footer__info .footer__item {
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
  }

  .footer__contact .footer__item {
    flex-direction: column;
    gap: 5px;
  }
}
