@charset "UTF-8";
/* ==========================================================
   YOGABOND FOR KUMAMOTO Landing Page
   ========================================================== */
:root {
  --color-dark: #231815;
  --color-yellow: #b9a800;
  --color-text: #333;
  --color-gray-bg: #f7f7f6;
  --color-placeholder: #b5b5b5;
  --font-en: "Anton", sans-serif;
  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

button{
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
  background-color: transparent;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 2;
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

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

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}
.container--narrow { max-width: 1000px; }

.container-s {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 100px 0; }

.pc { display: inline; }

/* ----------------------------------------------------------
   Hero
---------------------------------------------------------- */
.hero__inner { display: block; line-height: 0; }
.hero__inner img { width: 100%; height: auto; }

/* ----------------------------------------------------------
   Section title
---------------------------------------------------------- */
.sec-title {
  text-align: center;
  margin-bottom: 60px;
}
.sec-title__en {
  display: block;
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 64px;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--color-dark);
  text-transform: uppercase;
}
.sec-title__en .accent { color: var(--color-yellow); }
.sec-title__ja {
  display: block;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.15em;
  margin-top: 10px;
  color: var(--color-dark);
}

/* ----------------------------------------------------------
   About
---------------------------------------------------------- */
.about { text-align: center; }
.about__kumamon { margin-bottom: 50px; }
.about__kumamon img { width: 280px; }
.about__catch {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 40px;
  color: var(--color-dark);
}
.about__body p { margin-bottom: 2em; }
.about__body p:last-child { margin-bottom: 0; }

.btn-outline {
  display: inline-block;
  min-width: 320px;
  margin-top: 40px;
  padding: 18px 40px;
  border: 1px solid #999;
  color: var(--color-dark);
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 0.06em;
  transition: background-color .3s, color .3s, border-color .3s;
}
.btn-outline:hover {
  background-color: var(--color-dark);
  border-color: var(--color-dark);
  color: #fff;
}

/* ----------------------------------------------------------
   CV area
---------------------------------------------------------- */
.cv {
  background-color: var(--color-dark);
  padding: 100px 20px;
}
.cv__box {
  max-width: 680px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.7);
  padding: 90px 30px;
  text-align: center;
  color: #fff;
}
.cv__logo {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 44px;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--color-yellow);
}
.cv__sub {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.08em;
  margin-top: 8px;
}
.cv__lead {
  font-size: 18px;
  margin-top: 44px;
}
.cv__date {
  font-size: 24px;
  font-weight: 700;
  margin-top: 44px;
}
.cv__date b { font-size: 44px; font-weight: 700; line-height: 1; }
.cv__price {
  font-size: 24px;
  font-weight: 700;
  margin-top: 12px;
}
.cv__price b { font-size: 52px; font-weight: 700; line-height: 1; }
.cv__note { font-size: 14px; margin-top: 14px; }
.cv__form { margin-top: 44px; }

.btn-cta {
  display: inline-block;
  min-width: 360px;
  padding: 22px 40px;
  background-color: var(--color-yellow);
  color: #fff;
  font-family: var(--font-ja);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  transition: opacity .3s;
}
.btn-cta:hover { opacity: 0.85; }

/* ----------------------------------------------------------
   Class (timeline)
---------------------------------------------------------- */
.class__total {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 60px;
}
.class__total b {
  color: var(--color-yellow);
  font-size: 44px;
  font-weight: 700;
  padding: 0 2px;
  line-height: 1;
  vertical-align: sub;
}

.timeline {
  position: relative;
  padding-left: 46px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 0;
  left: 14px;
  width: 8px;
  background-color: var(--color-yellow);
}
.timeline__item {
  position: relative;
  padding-bottom: 90px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -46px;
  width: 24px;
  height: 24px;
  border: 6px solid var(--color-yellow);
  border-radius: 50%;
  background-color: #fff;
}
.timeline__time {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-dark);
  margin-bottom: 24px;
}
.timeline__content {
  display: flex;
  gap: 44px;
  align-items: flex-start;
  padding-left: 10px;
}
.timeline__photo {
  flex: 0 0 42%;
  aspect-ratio: 14 / 9;
  overflow: hidden;
  background-color: var(--color-placeholder);
}
.timeline__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.timeline__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline__photo--placeholder span {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.1em;
}
.timeline__text { flex: 1; }
.timeline__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-dark);
}
.timeline__teacher {
  font-size: 16px;
  margin-top: 6px;
  color: var(--color-text);
}
.timeline__desc {
  font-size: 16px;
  margin-top: 24px;
}

/* ----------------------------------------------------------
   Message
---------------------------------------------------------- */
.message__list { margin-top: 20px; }
.message__item {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 100px;
}
.message__item:last-child { margin-bottom: 0; }
.message__item--reverse { flex-direction: row-reverse; }

.message__bubble {
  position: relative;
  flex: 1;
  border: 1px solid #ccc;
  border-radius: 16px;
  padding: 40px 44px;
  background-color: #fff;
}
.message__bubble::before,
.message__bubble::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-style: solid;
}
/* tail: photo on right */
.message__item:not(.message__item--reverse) .message__bubble::before {
  right: -22px;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent #ccc;
}
.message__item:not(.message__item--reverse) .message__bubble::after {
  right: -20px;
  border-width: 13px 0 13px 21px;
  border-color: transparent transparent transparent #fff;
}
/* tail: photo on left */
.message__item--reverse .message__bubble::before {
  left: -22px;
  border-width: 14px 22px 14px 0;
  border-color: transparent #ccc transparent transparent;
}
.message__item--reverse .message__bubble::after {
  left: -20px;
  border-width: 13px 21px 13px 0;
  border-color: transparent #fff transparent transparent;
}
.message__bubble p { font-size: 16px; }
.message__name {
  margin-top: 24px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-dark);
}
.message__name span {
  font-size: 13px;
  font-weight: 400;
  margin-left: 10px;
}
.message__photo {
  flex: 0 0 300px;
  aspect-ratio: 3 / 3.2;
  overflow: hidden;
  /*background-color: var(--color-placeholder);*/
}
.message__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.message__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.message__photo--placeholder span {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.1em;
}

/* ----------------------------------------------------------
   How to join
---------------------------------------------------------- */
.join__zoom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto 70px;
}
.join__zoom-icon { flex: 0 0 150px; text-align: center; }
.join__zoom-icon svg { width: 110px; height: 110px; }
.join__zoom-word {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.2;
  color: #2D8CFF;
  letter-spacing: 0.01em;
  margin-top: 4px;
}
.join__zoom-text { flex: 1; font-size: 16px; }

.join__notice {
  max-width: 960px;
  margin: 0 auto;
  background-color: var(--color-gray-bg);
  padding: 60px 8%;
}
.join__notice-title {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 30px;
}
.join__notice dt {
  font-weight: 500;
  color: var(--color-dark);
}
.join__notice dd {
  margin-bottom: 2em;
  font-size: 16px;
}
.join__notice dd:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------
   Overview
---------------------------------------------------------- */
.overview__table {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  border-collapse: collapse;
}
.overview__table th,
.overview__table td {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 26px 10px;
  font-size: 16px;
  text-align: left;
  vertical-align: top;
}
.overview__table th {
  width: 30%;
  font-weight: 700;
  color: var(--color-dark);
  white-space: nowrap;
}

/* ----------------------------------------------------------
   FAQ
---------------------------------------------------------- */
.faq__list { border-bottom: 1px solid #ddd; }
.faq__item { border-top: 1px solid #ddd; }

.faq__q {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  padding: 26px 4px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-ja);
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text);
}
.faq__q-label {
  font-family: var(--font-ja);
  font-weight: 700;
  color: var(--color-yellow);
  font-size: 17px;
  flex: 0 0 auto;
  padding-top: 1px;
}
.faq__q-text { flex: 1; }

.faq__icon {
  position: relative;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  margin-top: 2px;
  border-radius: 50%;
  background-color: var(--color-yellow);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
}
.faq__icon::before { width: 14px; height: 2px; }
.faq__icon::after { width: 2px; height: 14px; transition: transform .3s; }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.faq__a-inner { overflow: hidden; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner p {
  background-color: var(--color-gray-bg);
  padding: 26px 30px;
  margin: 0 0 26px;
  font-size: 16px;
}

/* ----------------------------------------------------------
   Modal（主催者の想い）
---------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal[hidden] { display: none; }
.modal__overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
}
.modal__box {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: auto;
  background-color: #fff;
}
.modal__close {
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background-color: var(--color-dark);
  cursor: pointer;
  transition: opacity .3s;
}
.modal__close:hover { opacity: 0.8; }
.modal__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background-color: #fff;
}
.modal__close span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.modal__close span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }
.modal__body {
  padding: 60px 8%;
  font-size: 16px;
  text-align: left;
}
.modal__body p { margin-bottom: 1.8em; }
.modal__body p:last-of-type { margin-bottom: 0; }
.modal__footer {
  text-align: center;
  padding-top: 20px;
}
.modal__close-btn {
  margin-top: 0;
  min-width: 220px;
  padding: 14px 40px;
  background: none;
  font-family: var(--font-ja);
  cursor: pointer;
}
body.is-modal-open { overflow: hidden; }

/* ----------------------------------------------------------
   Terms（サイト利用規約）
---------------------------------------------------------- */
.terms__intro {
  font-size: 16px;
  margin-bottom: 60px;
}
.terms__block {
  margin-bottom: 50px;
}
.terms__block h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-dark);
  border-bottom: 2px solid var(--color-yellow);
  padding-bottom: 8px;
  margin-bottom: 20px;
}
.terms__block p {
  font-size: 16px;
  margin-bottom: 1.2em;
}
.terms__block p:last-child { margin-bottom: 0; }
.terms__block ul {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
}
.terms__block ul:last-child { margin-bottom: 0; }
.terms__block li {
  font-size: 16px;
  margin-bottom: 0.4em;
}
.terms__date {
  text-align: right;
  font-size: 15px;
  margin-top: 60px;
}
.terms__back {
  text-align: center;
  margin-top: 60px;
}
.terms__back .btn-outline { margin-top: 0; }

/* ----------------------------------------------------------
   Footer
---------------------------------------------------------- */
.footer {
  padding: 90px 20px 0;
  text-align: center;
}
.footer__logo {
  width: 240px;
  margin: 0 auto;
}
.footer__logo svg { width: 62px; height: auto; }
.footer__logo-name {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 0.08em;
  color: var(--color-dark);
  margin-top: 18px;
  line-height: 1.3;
}
.footer__logo-sub {
  font-size: 14px;
  color: #555;
  margin-top: 4px;
}
.footer__nav {
  margin-top: 70px;
  font-size: 14px;
}
.footer__nav a {
  color: var(--color-text);
  text-decoration: none;
  transition: opacity .3s;
}
.footer__nav a:hover { opacity: 0.6; }
.footer__nav span { margin: 0 16px; color: #999; }
.footer__bottom {
  border-top: 1px solid #ccc;
  margin-top: 40px;
  padding: 28px 0;
  font-size: 12px;
  color: #555;
}

/* ==========================================================
   Responsive (mobile <= 768px)
   ========================================================== */
@media screen and (max-width: 768px) {

  body { font-size: 15px; line-height: 1.9; }
  .pc { display: none; }
  .section { padding: 60px 0; }
  .sec-title { margin-bottom: 40px; }
  .sec-title__en { font-size: 52px; }
  .sec-title__ja { font-size: 14px; margin-top: 6px; }

  /* About */
  .about__kumamon { margin-bottom: 30px; }
  .about__kumamon img { width: 220px; }
  .about__catch { font-size: 21px; margin-bottom: 28px; }
  .about__body { text-align: left; }
  .about__body p { margin-bottom: 1.6em; }
  .btn-outline {
    min-width: 0;
    width: 100%;
    max-width: 320px;
    margin-top: 24px;
    padding: 16px 20px;
  }

  /* CV */
  .cv { padding: 50px 20px; }
  .cv__box { padding: 50px 20px; }
  .cv__logo { font-size: 32px; }
  .cv__sub { font-size: 16px; }
  .cv__lead { font-size: 16px; margin-top: 30px; }
  .cv__date { font-size: 18px; margin-top: 30px; }
  .cv__date b { font-size: 32px; }
  .cv__price { font-size: 18px; }
  .cv__price b { font-size: 38px; }
  .cv__note { font-size: 14px; }
  .cv__form { margin-top: 30px; }
  .btn-cta {
    min-width: 0;
    width: 100%;
    max-width: 430px;
    padding: 18px 20px;
    font-size: 16px;
  }

  /* Class */
  .class__total { font-size: 18px; margin-bottom: 40px; }
  .class__total b { padding: 0 0px;font-size: 34px;vertical-align: sub; }
  .timeline { padding-left: 30px; }
  .timeline::before { left: 8px; width: 6px; }
  .timeline__item { padding-bottom: 60px; }
  .timeline__item::before {
    left: -33px;
    width: 18px;
    height: 18px;
    border-width: 5px;
  }
  .timeline__time { font-size: 18px; margin-bottom: 16px; }
  .timeline__content {
    flex-direction: column;
    gap: 20px;
    padding-left: 0;
  }
  .timeline__photo { flex: none; width: 100%; }
  .timeline__title { font-size: 18px; }
  .timeline__teacher { font-size: 15px; }
  .timeline__desc { font-size: 15px; margin-top: 14px; }

  /* Message */
  .message__item,
  .message__item--reverse {
    flex-direction: column;
    gap: 0;
    margin-bottom: 60px;
  }
  .message__photo {
    flex: none;
    order: 1;
    width: 220px;
    aspect-ratio: 1 / 1;
  }
  .message__bubble {
    order: 2;
    margin-top: 22px;
    padding: 26px 22px;
    width: 100%;
  }
  /* tail points up to photo on mobile */
  .message__item:not(.message__item--reverse) .message__bubble::before,
  .message__item--reverse .message__bubble::before {
    top: -22px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    border-width: 0 14px 22px 14px;
    border-color: transparent transparent #ccc transparent;
  }
  .message__item:not(.message__item--reverse) .message__bubble::after,
  .message__item--reverse .message__bubble::after {
    top: -20px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    border-width: 0 13px 21px 13px;
    border-color: transparent transparent #fff transparent;
  }
  .message__bubble p { font-size: 15px; }
  .message__name { font-size: 18px; margin-top: 16px; }

  /* Join */
  .join__zoom {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
  }
  .join__zoom-icon { flex: none; }
  .join__zoom-icon svg { width: 84px; height: 84px; }
  .join__zoom-word { font-size: 30px; }
  .join__zoom-text { font-size: 15px; }
  .join__notice { padding: 36px 20px; }
  .join__notice-title { font-size: 16px; margin-bottom: 20px; }
  .join__notice dd { font-size: 15px; margin-bottom: 1.6em; }

  /* Overview */
  .overview__table th,
  .overview__table td { padding: 18px 6px; font-size: 15px; }
  .overview__table th { width: 34%; }

  /* FAQ */
  .faq__q { padding: 20px 0; font-size: 16px; gap: 10px; }
  .faq__q-label { font-size: 16px; }
  .faq__icon { flex: 0 0 28px; width: 28px; height: 28px; }
  .faq__icon::before { width: 12px; }
  .faq__icon::after { height: 12px; }
  .faq__a-inner p { padding: 18px 16px; margin-bottom: 20px; font-size: 15px; }

  /* Modal */
  .modal { padding: 30px 15px; }
  .modal__close {
    top: -14px;
    right: -6px;
    width: 38px;
    height: 38px;
  }
  .modal__close span { width: 14px; }
  .modal__body { padding: 36px 20px; font-size: 15px; }
  .modal__close-btn { min-width: 180px; padding: 12px 30px; }

  /* Terms */
  .terms__intro { font-size: 15px; margin-bottom: 40px; }
  .terms__block { margin-bottom: 36px; }
  .terms__block h3 { font-size: 16px; }
  .terms__block p,
  .terms__block li { font-size: 15px; }
  .terms__date { font-size: 14px; margin-top: 40px; }
  .terms__back { margin-top: 40px; }

  /* Footer */
  .footer { padding: 60px 20px 0; }
  .footer__logo { width: 140px; }
  .footer__logo svg { width: 48px; }
  .footer__logo-name { font-size: 24px; margin-top: 14px; }
  .footer__logo-sub { font-size: 13px; }
  .footer__nav { margin-top: 44px; font-size: 13px; }
  .footer__nav span { margin: 0 8px; }
  .footer__bottom { margin-top: 28px; padding: 20px 0; font-size: 11px; }
}
