/* ＝＝＝　　event01（イベントページのCSS）2026年7月25日のマシュマロタワーイベント　　 ＝＝＝ */
.p-event01 {
  padding-bottom: 80px;
  background: #f3fbff;
}

.p-event01 .c-cta {
  display: none !important;
}


/* ==========================
   Hero
========================== */

.p-event01-hero {
  padding: 32px 16px 0;
  background: #f3fbff;
}

.p-event01-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.p-event01-hero img {
  display: block;
  width: 100%;
  height: auto;
}

.p-event01-hero__sp {
  display: none;
}





.p-event01-cta {
  margin: 40px 0 56px;
  text-align: center;
}

.p-event01-cta a {
  display: inline-block;
  min-width: 320px;
  padding: 18px 40px;
  background: #ef6a9a;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 6px 0 #d84f80;
  transition: 0.2s;
}

.p-event01-cta a:hover {
  transform: translateY(3px);
  box-shadow: 0 3px 0 #d84f80;
}

.p-event01__inner {
  max-width: 1100px;
}

.p-event01-section {
  margin-bottom: 56px;
  padding: 48px;
  background: #fff;
  border: 3px solid #00a6df;
  border-radius: 28px;
}

.p-event01-section h2 {
  margin: 0 0 28px;
  color: #0075bd;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.p-event01-section h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 5px;
  margin: 14px auto 0;
  background: #ffe84d;
  border-radius: 999px;
}

.p-event01-section p {
  margin: 0 0 18px;
  line-height: 1.9;
}

.p-event01-table {
  width: 100%;
  border-collapse: collapse;
}

.p-event01-table th,
.p-event01-table td {
  padding: 18px 20px;
  border-bottom: 1px solid #dcecf5;
  text-align: left;
  vertical-align: top;
  line-height: 1.8;
}

.p-event01-table th {
  width: 180px;
  background: #eaf8fd;
  color: #0075bd;
  font-weight: 700;
}

.p-event01-flow {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.p-event01-flow li {
  position: relative;
  margin-bottom: 14px;
  padding: 20px 22px 20px 80px;
  background: #f3fbff;
  border-radius: 14px;
  line-height: 1.7;
}

.p-event01-flow li::before {
  counter-increment: flow;
  content: counter(flow);
  position: absolute;
  top: 20px;           /* ← 上に固定 */
  left: 24px;
  width: 40px;
  height: 40px;
background: #f6d43a;
color: #0075bd;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  line-height: 40px;
  text-align: center;
}

.p-event01-flow li h3 {
  margin: 0 0 8px;
  color: #0075bd;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.p-event01-flow li p {
  margin: 0;
  color: #333;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;
}




.p-event01-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-event01-list li {
  position: relative;
  padding: 18px 22px 18px 48px;
  background: #fff8dc;
  border-radius: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.p-event01-list li::before {
  content: "✓";
  position: absolute;
  top: 18px;
  left: 22px;
  color: #ef6a9a;
  font-weight: 700;
}

.p-event01-teacher {
  display: grid;
  grid-template-columns: 380px 1fr; /* 280 → 380 */
  gap: 50px;                        /* 36 → 50 */
  align-items: center;
  max-width: 900px;                 /* 全体幅を少し狭く */
  margin: 0 auto;
}

.p-event01-teacher__image {
  text-align: center;
}

.p-event01-teacher__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.p-event01-teacher__body h3 {
  margin: 0 0 12px;
  color: #0075bd;
  font-size: 25px;
  font-weight: 700;
}

.p-event01-teacher__school {
  font-weight: 700;
}

.p-event01-teacher__body a {
  color: #0075bd;
  font-weight: 700;
  text-decoration: underline;
}

.p-event01-form {
  background: #fff;
}
/* ==========================
   SP
========================== */

@media (max-width: 767px) {

  .p-event01 {
    padding-bottom: 60px;
  }

  .p-event01-hero {
    padding: 0;
  }

  .p-event01-hero__pc {
    display: none;
  }

  .p-event01-hero__sp {
    display: block;
  }

  .p-event01__inner {
    padding: 0 16px;
  }

  .p-event01-section {
    padding: 32px 20px;
    margin-bottom: 32px;
    border-radius: 20px;
  }

  .p-event01-section h2 {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .p-event01-cta {
    margin: 28px 16px 40px;
  }

  .p-event01-cta a {
    width: 100%;
    min-width: auto;
    font-size: 18px;
    padding: 18px;
  }

  .p-event01-table th,
  .p-event01-table td {
    display: block;
    width: 100%;
  }

  .p-event01-table th {
    padding: 14px 16px;
  }

  .p-event01-table td {
    padding: 14px 16px 20px;
  }

  .p-event01-list {
    grid-template-columns: 1fr;
  }

  .p-event01-teacher {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .p-event01-teacher__image {
    max-width: 280px;
    margin: 0 auto;
  }

  .p-event01-teacher__body h3 {
    font-size: 30px;
  }

  .p-event01-flow li {
    padding: 18px 18px 18px 64px;
  }

  .p-event01-flow li::before {
    top: 18px;
    left: 16px;
    width: 36px;
    height: 36px;
    line-height: 36px;
    font-size: 16px;
  }

  .p-event01-flow li h3 {
    font-size: 20px;
  }

}
.p-event01-hero__pc {
  display: block;
}

.p-event01-hero__sp {
  display: none;
}

@media (max-width: 767px) {
  .p-event01-hero__pc {
    display: none !important;
  }

  .p-event01-hero__sp {
    display: block !important;
  }
}
.p-event01-hero__pc {
  display: block !important;
}

.p-event01-hero__sp {
  display: none !important;
}

@media screen and (max-width: 767px) {
  .p-event01-hero__pc {
    display: none !important;
  }

  .p-event01-hero__sp {
    display: block !important;
  }
}




/* ========================================
   IB生の大学進学セミナー 2026.08.21
======================================== */

.p-event-ielts-hero {
  width: 100%;
  margin: 0 auto 64px;
  overflow: hidden;
}

.p-event-ielts-hero img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.p-event-ielts-hero__sp {
  display: none !important;
}

.p-event-ielts-content {
  width: min(100% - 40px, 1000px);
  margin: 0 auto;
  color: #333;
  font-size: 16px;
  line-height: 1.9;
}

.p-event-ielts-section {
  margin: 0 0 80px;
}

.p-event-ielts-section > h2,
.p-event-ielts-entry .c-section__title h2 {
  position: relative;
  margin: 0 0 36px;
  padding: 0 0 16px;
  color: #253b80;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.p-event-ielts-section > h2::after,
.p-event-ielts-entry .c-section__title h2::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: #f18b63;
  content: "";
  transform: translateX(-50%);
}

.p-event-ielts-section p {
  margin: 0 0 1.4em;
}

.p-event-ielts-section strong {
  color: #253b80;
  font-weight: 700;
}

.p-event-ielts-list {
  margin: 0;
  padding: 28px 32px;
  border: 1px solid #dfe5f4;
  border-radius: 12px;
  background: #f7f9ff;
  list-style: none;
}

.p-event-ielts-list li {
  position: relative;
  margin: 0 0 14px;
  padding-left: 30px;
}

.p-event-ielts-list li:last-child {
  margin-bottom: 0;
}

.p-event-ielts-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #f18b63;
  content: "\2713";
  font-weight: 700;
}

.p-event-ielts-teacher {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 0 0 36px;
  padding: 32px;
  border: 1px solid #e3e7f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(37, 59, 128, 0.08);
}

.p-event-ielts-teacher:last-child {
  margin-bottom: 0;
}

.p-event-ielts-teacher__image {
  flex: 0 0 220px;
}

.p-event-ielts-teacher__image img {
  display: block;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
}

.p-event-ielts-teacher__body {
  flex: 1;
  min-width: 0;
}

.p-event-ielts-teacher__body h3 {
  margin: 0 0 6px;
  color: #253b80;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
}

.p-event-ielts-teacher__school {
  margin-bottom: 18px !important;
  color: #666;
  font-size: 14px;
  font-weight: 700;
}

.p-event-ielts-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.p-event-ielts-table th,
.p-event-ielts-table td {
  padding: 18px 20px;
  border: 1px solid #dfe3eb;
  text-align: left;
  vertical-align: top;
}

.p-event-ielts-table th {
  width: 24%;
  background: #eef2ff;
  color: #253b80;
  font-weight: 700;
}

.p-event-ielts-table + p {
  margin-top: 24px;
}

.p-event-ielts-entry {
  padding: 48px 40px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f2f5ff 0%, #fff4ee 100%);
  text-align: center;
}

.p-event-ielts-entry .c-section__title {
  margin: 0;
}

.p-event-ielts-entry__text {
  margin-bottom: 28px !important;
}

.p-event-ielts-entry__button {
  text-align: center;
}

.p-event-ielts-entry__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 520px);
  min-height: 64px;
  padding: 16px 32px;
  border-radius: 999px;
  background: #06c755;
  box-shadow: 0 8px 20px rgba(6, 199, 85, 0.25);
  color: #fff !important;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none !important;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.p-event-ielts-entry__link:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .p-event-ielts-hero {
    margin: 0 auto 44px;
  }

  .p-event-ielts-hero__pc {
    display: none !important;
  }

  .p-event-ielts-hero__sp {
    display: block !important;
  }

  .p-event-ielts-content {
    width: min(100% - 32px, 1000px);
    font-size: 15px;
    line-height: 1.8;
  }

  .p-event-ielts-section {
    margin-bottom: 56px;
  }

  .p-event-ielts-section > h2,
  .p-event-ielts-entry .c-section__title h2 {
    margin-bottom: 28px;
    padding-bottom: 13px;
    font-size: 23px;
  }

  .p-event-ielts-list {
    padding: 22px 18px;
  }

  .p-event-ielts-list li {
    margin-bottom: 12px;
    padding-left: 26px;
  }

  .p-event-ielts-teacher {
    display: block;
    margin-bottom: 28px;
    padding: 24px 20px;
  }

  .p-event-ielts-teacher__image {
    width: 180px;
    margin: 0 auto 22px;
  }

  .p-event-ielts-teacher__image img {
    width: 180px;
    height: 180px;
  }

  .p-event-ielts-teacher__body h3 {
    font-size: 22px;
    text-align: center;
  }

  .p-event-ielts-teacher__school {
    text-align: center;
  }

  .p-event-ielts-table,
  .p-event-ielts-table tbody,
  .p-event-ielts-table tr,
  .p-event-ielts-table th,
  .p-event-ielts-table td {
    display: block;
    width: 100%;
  }

  .p-event-ielts-table tr {
    margin-bottom: 14px;
  }

  .p-event-ielts-table th,
  .p-event-ielts-table td {
    padding: 13px 15px;
  }

  .p-event-ielts-table td {
    border-top: 0;
  }

  .p-event-ielts-entry {
    padding: 36px 18px;
    border-radius: 14px;
  }

  .p-event-ielts-entry__text br {
    display: none;
  }

  .p-event-ielts-entry__link {
    min-height: 58px;
    padding: 14px 20px;
    font-size: 17px;
  }
}



/* スマホ下部の固定ボタンを非表示 */
@media screen and (max-width: 767px) {
  a.link-line,
  a.link-contact {
    display: none !important;
  }
}