@import url(../../../css/kurenai.css);

body {
  font-feature-settings: "palt" 1;
}

/* ===== ISSUE 49 STYLES ===== */

.contents p,
.contents ul,
.contents ol,
.contents table {
  margin-left: 30px;
  margin-right: 30px;
}

.contents h1,
.contents h2,
.contents h3 {
  margin-left: 30px;
  margin-right: 30px;
}

.gk49-hero {
  position: relative;
  background: #ffffff;
  padding: 1.7rem 1.7rem 1.4rem;
  overflow: hidden;
}

.gk49-header {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 1;
}

.gk49-subject {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 0;
}

.gk49-label {
  display: inline-flex;
  align-items: stretch;
  align-self: flex-start;
  background: #1d9fce;
  color: #fff;
  border-radius: 999px;
  overflow: hidden;
}

.gk49-label-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.46rem 1.2rem 0.52rem;
}

.gk49-label-teacher {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem 1.2rem 0.5rem;
  border-left: 2px dotted rgba(255,255,255,0.7);
}

.gk49-subject-group {
  display: block;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin-bottom: 0.14rem;
}

.gk49-course {
  display: block;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.08;
}

.gk49-teacher {
  display: block;
  font-size: 2.1rem;
  font-weight: bold;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
}

.gk49-teacher-role {
  font-size: 1.2rem;
}

.gk49-affil {
  font-size: 1.2rem;
  color: #fff;
  line-height: 1.3;
  margin-top: 2px;
}

.gk49-icon {
  flex-shrink: 0;
}

.gk49-icon img {
  width: 130px;
  height: auto;
  display: block;
  margin-left: 15px;
}

.gk49-title {
  font-size: 4rem !important;
  font-weight: bold;
  margin: 0.6rem 0 0 !important;
  line-height: 1.18 !important;
  letter-spacing: -0.06em;
  font-feature-settings: "palt" 1;
}

.gk49-title-large {
  font-size: 1.2em;
  display: inline;
}

.gk49-blue {
  color: #169dce;
}

.gk49-dark {
  color: #000;
}

.gk49-lead-section {
  display: flex;
  align-items: flex-end;
  gap: 1.6rem;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
  padding-left: 0px;
  padding-right:0px;
  padding-bottom: 0;
}

.gk49-lead-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 0.5px;
  background: #005e5c;
}

.gk49-lead {
  flex: 1 1 auto;
  order: 1;
  color: #005e5c !important;
  font-size: 1.52rem;
  line-height: 1.58;
  font-weight: 700;
  margin: 5px !important;
}

.gk49-profile {
  order: 2;
}



.gk49-profile-photo {
  width: 170px;
}

.gk49-profile-photo img {
    width: 80%;
    height: auto;
    display: block;
}

.gk49-profile-text {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.55;
  color: #000;
  font-weight: 600;
}

/* ===== CONTENT SECTION ===== */

.gk49-content {
  padding: 0 25px;
  overflow: hidden;
}

.gk49-intro {
  font-size: 1.42rem;
  font-weight: 400;
  line-height: 1.88;
  color: #222;
  margin: 0rem 0 0rem !important;
  padding: 0 !important;
}

.gk49-h2 {
  font-size: 2.15rem !important;
  font-weight: 700 !important;
  color: #00A3D2 !important;
  line-height: 1.3 !important;
  margin: 2rem 0 1.1rem !important;
  padding: 0 !important;
  letter-spacing: -0.02em;
  font-feature-settings: "palt" 1;
}

.gk49-body-text {
  font-size: 1.42rem;
  line-height: 1.88;
  color: #222;
  margin: 0 0 0.85em !important;
  padding: 0 !important;
}

/* ===== DIALOGUE BOX ===== */

.gk49-dialogue {
  background: #f4fbfd;
  border: 2px solid #b2e0f0;
  border-radius: 8px;
  padding: 1.3rem 1.5rem;
  margin: 1.6rem 0 !important;
}

.gk49-dialogue-item {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.65rem 0;
  border-bottom: 1px dotted #c7e9f5;
}

.gk49-dialogue-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.gk49-dialogue-item:first-child {
  padding-top: 0;
}

.gk49-dialogue-speaker {
  flex-shrink: 0;
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.18em 0.72em;
  border-radius: 999px;
  white-space: nowrap;
  margin-top: 0;
  line-height: 1.5;
}

.gk49-dialogue-editor {
  display: inline-flex;
  align-items: center;
  background: none;
  color: #007fa3;
  border: none;
  padding-left: 0;
  padding-right: 0;
  font-size: 1.4rem;
}

.gk49-dialogue-editor::after {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #9fd8ee;
  margin-left: 4px;
}

.gk49-dialogue-prof {
  display: inline-flex;
  align-items: center;
  background: none;
  color: #005e5c;
  border: none;
  padding-left: 0;
  padding-right: 0;
  font-size: 1.4rem;
}

.gk49-dialogue-prof::after {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #67b2b0;
  margin-left: 4px;
}

.gk49-dialogue-text {
  font-size: 1.34rem;
  line-height: 1.75;
  color: #2c2c2c;
  margin: 0 !important;
  padding: 0 !important;
  flex: 1;
  text-align: left;
  align-self: auto;
}

/* ===== FIGURE ===== */

.gk49-figure-layout {
  display: flex;
  align-items: flex-start;
  gap: 1.6rem;
  margin: 0rem 0;
}

.gk49-figure-layout-students {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: 1.2rem;
  margin: 1.2rem 0 1.4rem;
  align-items: start;
}

.gk49-figure-layout-students .gk49-figure {
  flex: 1 1 0;
  width: auto;
  height: auto;
  box-sizing: border-box;
}

.gk49-figure-layout-students .gk49-figure img {
  max-width: 100%;
}

.gk49-figure-layout-students .gk49-figure:first-child {
  padding: 1.8rem 1.1rem;
}

.gk49-figure-layout-students .gk49-figure:first-child img {
  max-width: 80%;
}

.gk49-figure-layout-students .gk49-figure:last-child {
  align-self: stretch;
  display: flex;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  padding: 0;
}

.gk49-figure-layout-students .gk49-figure:last-child img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.gk49-figure-body {
  flex: 1;
  min-width: 0;
}

.gk49-figure {
  flex-shrink: 0;
  width: 45%;
  margin: 0 !important;
  background: #FAF7EE;
  border-radius: 8px;
  padding: 0.15rem 1.1rem 0.15rem;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.gk49-figure-title {
  font-size: 2.3rem !important;
  font-weight: 700 !important;
  color: #000000 !important;
  background: none;
  display: block;
  padding: 0 !important;
  margin: 0 0 0.9rem !important;
  letter-spacing: 0.06em;
  text-align: center;
}

.gk49-figure img {
  max-width: 82%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.gk49-figure figcaption {
  font-size: 1.15rem;
  color: #666;
  line-height: 1.68;
  margin-top: 0.9rem;
  text-align: left;
  padding: 0;
}

@media screen and (max-width: 600px) {
  .gk49-figure-layout-students {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .gk49-figure-layout-students .gk49-figure:last-child {
    display: block;
    align-self: auto;
    overflow: visible;
    padding: 0.15rem 0.3rem;
  }

  .gk49-figure-layout-students .gk49-figure:last-child img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .gk49-figure-layout {
    flex-direction: column;
  }
  .gk49-figure {
    width: 100%;
    padding: 0.8rem 0;
  }
  .gk49-figure img {
    max-width: 100%;
    margin: 0 auto;
  }
  .gk49-figure figcaption {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-top: 0.6rem;
    padding: 0 0.4rem;
  }
}

/* ===== RESPONSIVE: 601px〜1055px ===== */

@media screen and (min-width: 601px) and (max-width: 1055px) {
  .gk49-hero {
    padding: 1.2rem 25px 1rem;
  }

  .gk49-header {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    grid-template-areas:
      "icon label"
      "title title";
    column-gap: 0.7rem;
    row-gap: 0.5rem;
    align-items: end;
  }

  .gk49-icon {
    grid-area: icon;
    align-self: end;
  }

  .gk49-icon img {
    width: 84px;
    margin-left: 0;
  }

  .gk49-subject {
    display: contents;
  }

  .gk49-label {
    grid-area: label;
    flex-direction: column;
    border-radius: 12px;
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    min-width: 0;
    justify-self: start;
    align-self: end;
  }

  .gk49-label-meta {
    padding: 0.38rem 1.2rem 0.3rem;
  }

  .gk49-label-teacher {
    border-left: none;
    border-top: 2px dotted rgba(255,255,255,0.7);
    padding: 0.35rem 1.2rem;
    gap: 0.6rem;
  }

  .gk49-subject-group {
    font-size: 1.1rem;
  }

  .gk49-course {
    font-size: 1.55rem;
  }

  .gk49-teacher {
    font-size: 1.75rem;
  }

  .gk49-teacher-role {
    font-size: 1.1rem;
  }

  .gk49-affil {
    font-size: 1.1rem;
  }

  .gk49-title {
    grid-area: title;
    font-size: 2.75rem !important;
    line-height: 1.18 !important;
    margin: 0.35rem 0 0 !important;
    letter-spacing: -0.045em;
  }

  .gk49-title-large {
    font-size: 1.1em;
  }

  .gk49-lead {
    font-size: 1.38rem;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .gk49-lead-section::after {
    left: 0;
    right: 0;
  }

  /* Figure layout */
  .gk49-figure-layout,
  .gk49-figure-layout-reverse {
    flex-direction: column;
  }

  .gk49-figure {
    width: 100%;
    padding: 0.8rem 0;
  }

  .gk49-figure img {
    max-width: 90%;
    margin: 0 auto;
  }

  .gk49-figure figcaption {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-top: 0.6rem;
  }

  /* Students grid */
  .gk49-figure-layout-students {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .gk49-figure-layout-students .gk49-figure:last-child {
    display: block;
    align-self: auto;
    overflow: visible;
    padding: 0.15rem 0.3rem;
  }

  .gk49-figure-layout-students .gk49-figure:last-child img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  /* Float right figure */
  .gk49-figure-float-right {
    float: none;
    width: 100%;
    margin: 0 0 1rem !important;
  }

  /* ミサイル写真などの縦並びfigure */
  .gk49-figure-vm {
    width: 70% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Section2: 2段組解除・フロート解除 */
  .gk49-section2 .gk49-figure-body {
    column-count: 1;
    display: block;
  }

  .gk49-section2 .gk49-figure-layout-two-col .gk49-two-col-text {
    column-count: 1;
  }

  .gk49-section2 .gk49-figure-layout-two-col .gk49-two-col-text .gk49-jazz-right-column {
    -webkit-column-break-before: auto;
    break-before: auto;
    margin-left: 0 !important;
  }

  .gk49-section2 .gk49-figure {
    width: 65% !important;
    max-width: 65% !important;
    margin: 0 auto 1rem !important;
    float: none !important;
    position: static !important;
    right: auto !important;
    -webkit-shape-outside: none;
    shape-outside: none;
  }

  .gk49-section2 .gk49-figure-layout-two-col .gk49-figure-jazz {
    width: 65% !important;
    float: none !important;
    margin: 0 auto 1rem !important;
    position: static !important;
    right: auto !important;
    -webkit-shape-outside: none;
    shape-outside: none;
  }

  .gk49-section2 .gk49-figure-layout-ballet-mag .gk49-figure-ballet-inline {
    float: none;
    width: 65%;
    max-width: 220px;
    margin: 0 auto 0.8rem !important;
    -webkit-shape-outside: none;
    shape-outside: none;
  }

  .gk49-section2 .gk49-figure figcaption {
    width: 100%;
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 0;
  }

  .gk49-section2 .gk49-figure-jazz figcaption br {
    display: none;
  }
}

/* ===== RESPONSIVE ===== */

@media screen and (max-width: 600px) {
  .gk49-content {
    padding: 0 12px;
  }

  .gk49-h2 {
    font-size: 1.65rem !important;
    margin: 1.1rem 0 0.9rem !important;
  }

  .gk49-body-text {
    font-size: 1.28rem;
    line-height: 1.9;
  }

  .gk49-dialogue {
    padding: 1rem 1rem;
  }

  .gk49-dialogue-text {
    font-size: 1.22rem;
  }
}

@media screen and (max-width: 600px) {
  .gk49-hero {
    padding: 1rem 12px 0.9rem;
  }

  .gk49-header {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    grid-template-areas:
      "icon label"
      "title title";
    column-gap: 0.6rem;
    row-gap: 0.45rem;
    margin-bottom: 0.5rem;
    align-items: end;
  }

  .gk49-icon {
    grid-area: icon;
    align-self: end;
  }

  .gk49-icon img {
    width: 70px;
    margin-left: 0;
  }

  .gk49-subject {
    display: contents;
  }

  .gk49-label {
    grid-area: label;
    flex-direction: column;
    border-radius: 12px;
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    min-width: 0;
    justify-self: start;
    align-self: end;
  }

  .gk49-label-meta {
    padding: 0.38rem 0.9rem 0.3rem;
  }

  .gk49-label-teacher {
    border-left: none;
    border-top: 2px dotted rgba(255,255,255,0.7);
    padding: 0.35rem 0.9rem;
    gap: 0.5rem;
  }

  .gk49-subject-group {
    font-size: 1rem;
  }

  .gk49-course {
    font-size: 1.3rem;
  }

  .gk49-teacher {
    font-size: 1.55rem;
  }

  .gk49-teacher-role {
    font-size: 1rem;
  }

  .gk49-affil {
    font-size: 1rem;
    margin-top: 1px;
  }

  .gk49-title {
    grid-area: title;
    font-size: 1.95rem !important;
    line-height: 1.22 !important;
    margin: 0.55rem 0 0.6rem !important;
    letter-spacing: -0.04em;
  }

  .gk49-title-large {
    font-size: 1em;
  }

  .gk49-lead-section {
    display: block;
    padding-bottom: 0.8rem;
    overflow: hidden;
  }

  .gk49-lead-section::after {
    left: 0;
    right: 0;
  }

  .gk49-profile {
    float: right;
    margin: 0 0 0.4rem 0.8rem;
  }

  .gk49-profile-photo {
    width: 72px;
  }

  .gk49-profile-photo img {
    width: 100%;
    height: auto;
    display: block;
  }

  .gk49-lead {
    font-size: 1.05rem;
    line-height: 1.68;
    margin: 0 !important;
  }

  .gk49-profile-text {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}
.gk49-figure-layout-reverse {
  flex-direction: row-reverse;
}

.gk49-float-wrap {
  overflow: hidden;
  margin: 0rem 0;
}

.gk49-figure-float-right {
  float: right;
  width: 45%;
  margin: 0 0 1rem 1.6rem !important;
  padding-top: 1rem !important;
}

@media screen and (max-width: 600px) {
  .gk49-figure-float-right {
    float: none;
    width: 100%;
    margin: 0 0 1rem !important;
  }
  .gk49-figure-vm {
    width: 85% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

.gk49-figure-photo {
  background: #FAF7EE;
}

.gk49-figure-vm {
  width: 35%;
  padding-top: 1rem !important;
  margin-bottom: 1rem !important;
}

@media screen and (max-width: 600px) {
  .gk49-figure-layout-reverse {
    flex-direction: column;
  }
}

.gk49-figure-standalone {
  width: 60%;
  margin: 1.4rem auto !important;
}

.bullet_number {
  color: #005e5c;
  font-weight: 700;
}

/* ===== SECTION BADGES (❶❷) ===== */

.gk49-section-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  color: #333 !important;
  margin: 0 0 0.8rem !important;
  padding: 0 !important;
}

.gk49-badge-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  color: #005e5c;
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
}

/* ===== CRITERIA SECTION 1 (❶ inside box) ===== */

.gk49-criteria-section1 {
  margin-bottom: 1.6rem;
}

.gk49-criteria-section1 img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ===== CRITERIA BOX (❶❷ combined) ===== */

.gk49-criteria-box {
  background: #FAF7EE;
  border-style: solid;
  border-color: #005e5c;
  border-width: 15px;
  border-radius: 0;
  padding: 1.4rem 1.6rem 1rem;
  margin: 1.4rem -25px !important;
  position: relative;
}

.gk49-criteria-sensei {
  position: absolute;
  bottom: 0;
  left: -40px;
  width: 110px;
  height: auto;
  display: block;
}

.gk49-criteria-wrap {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  padding-left: 35px;
}

.gk49-criteria-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.gk49-criteria-item {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: #ffffff;
  border: 2px solid #1d9fce;
  border-radius: 999px;
  overflow: hidden;
  padding: 0;
}

.gk49-criteria-label {
  flex: 0 0 9em;
  display: flex;
  align-items: center;
  background: #1d9fce;
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
  border-radius: 999px 0 0 999px;
  padding: 0.34em 1.05em;
  white-space: nowrap;
  text-align: left;
}

.gk49-criteria-desc {
  flex: 1;
  display: flex;
  align-items: center;
  font-size: 1.28rem;
  line-height: 1.45;
  color: #000;
  margin: 0 !important;
  padding: 0.34em 1em 0.34em 0.8em !important;
  font-weight: 600;
}

.gk49-criteria-photo {
  flex-shrink: 0;
  width: 110px;
  align-self: flex-end;
}

.gk49-criteria-caption {
  font-size: 1.1rem !important;
  color: #888 !important;
  margin: 0.7rem 0 0 !important;
  padding: 0 !important;
  text-align: right;
}

@media screen and (max-width: 600px) {
  .gk49-criteria-box {
    margin: 1.4rem -12px !important;
    padding: 1rem 1rem 0.8rem;
    border-width: 10px;
  }
  .gk49-criteria-sensei {
    display: none;
  }
  .gk49-criteria-wrap {
    flex-direction: column;
    padding-left: 0;
  }
  .gk49-criteria-photo {
    display: none;
  }
  .gk49-criteria-item {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 16px;
    padding: 0;
  }
  .gk49-criteria-label {
    display: block;
    border-radius: 14px 14px 0 0;
    padding: 0.38em 0.9em 0.38em 1.1rem;
    white-space: normal;
  }
  .gk49-criteria-desc {
    padding: 0.45em 0.9em 0.65em 1.1rem !important;
  }
  .gk49-section-badge {
    font-size: 1.5rem !important;
    margin: 0 0 0.6rem !important;
  }
  .gk49-figure-standalone {
    width: 90%;
  }
}

/* ===== SECTION 2 (文化外交) ===== */

.gk49-section2 {
  background-color: #FAF7EE !important;
  margin-top: 3rem;
  padding: 3.35rem 2.4rem 3.2rem;
}

.gk49-section2-header {
  margin-left: 30px;
  margin-right: 30px;
  margin-bottom: 1rem;
}

.gk49-section2-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 0.5rem;
}

.gk49-section2-icon {
  flex-shrink: 0;
}

.gk49-section2-icon img {
  width: 96px;
  height: auto;
  display: block;
}

.gk49-s2-particle {
  font-size: 0.65em;
  vertical-align: baseline;
}

.gk49-section2-title {
  font-size: 3.8rem !important;
  font-weight: 700 !important;
  color: #101010 !important;
  line-height: 1.08 !important;
  margin: 0 0 0 !important;
  padding: 0 0 0 1.2rem !important;
  letter-spacing: -0.04em;
  font-feature-settings: "palt" 1;
  border-left: 2px dotted #888;
  margin-left: 1rem !important;
}

.gk49-section2-lead {
  color: #005e5c !important;
  font-size: 1.24rem;
  line-height: 1.52;
  font-weight: 700;
  margin: 0 !important;
  padding: 10px !important;
}

.gk49-section2-photo {
  flex-shrink: 0;
  width: 130px;
  align-self: flex-start;
}

.gk49-section2-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 2px 4px 12px rgba(0,0,0,0.15);
}

.gk49-section2-content {
  background: #ffffff;
  border-radius: 8px;
  border-right: 2px solid #2a9ec4;
  border-bottom: 2px solid #46716f;
  padding: 0.85rem 2rem 0.9rem;
  overflow: visible;
  margin-left: 30px;
  margin-right: 30px;;
}

.gk49-h3 {
  font-size: 2.15rem !important;
  font-weight: 700 !important;
  color: #0f5f7a !important;
  background: #ffffff;
  border: 2.5px solid #2a9ec4;
  border-radius: 6px;
  box-shadow: 5px 5px 0 0 #2a9ec4;
  line-height: 1.25 !important;
  margin: 1.4rem 0 1.4rem !important;
  padding: 0.24em 1em 0.28em !important;
  letter-spacing: -0.01em;
  display: inline-block;
}

.gk49-section2 .gk49-figure-layout {
  display: block;
  overflow: hidden;
}

.gk49-section2 .gk49-figure-jazz {
  float: right;
  width: 38%;
  margin: 0 0 1rem 1.4rem;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  shape-margin: 14px;
}

.gk49-section2 .gk49-figure-ballet {
  float: left;
  width: 38%;
  margin: 0 1.4rem 1rem 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  shape-margin: 14px;
}

/* Let text wrap along the transparent silhouette of each PNG image. */
.gk49-section2 .gk49-figure-jazz {
  -webkit-shape-outside: url("../img/49_gakumon_jyanzu.png");
  shape-outside: url("../img/49_gakumon_jyanzu.png");
  shape-image-threshold: 0.12;
}

.gk49-section2 .gk49-figure-ballet {
  -webkit-shape-outside: url("../img/49_gakumon_ballet.png");
  shape-outside: url("../img/49_gakumon_ballet.png");
  shape-image-threshold: 0.12;
}

.gk49-section2 .gk49-figure img {
  max-width: 100%;
  width: 100%;
}

.gk49-section2 .gk49-figure figcaption {
  font-size: 1rem;
  line-height: 1.55;
  margin-top: 0.55rem;
  color: #222;
}

.gk49-section2 .gk49-figure-body {
  column-count: 1;
  display: block;
}

.gk49-section2 .gk49-figure-layout-two-col .gk49-two-col-text {
  column-count: 1;
}

.gk49-section2 .gk49-figure-layout-two-col .gk49-two-col-text .gk49-body-text {
  break-inside: avoid;
}

.gk49-section2 .gk49-figure-layout-two-col .gk49-two-col-text .gk49-jazz-right-column {
  -webkit-column-break-before: always;
  break-before: column;
  margin-left: 0 !important;
}

.gk49-section2 .gk49-figure-layout-two-col .gk49-figure-jazz {
  float: right;
  width: 28%;
  margin: 0rem 1.2rem !important;
  position: static;
  right: auto;
  border-radius: 6px;
  padding: 0.7rem 0.8rem 0.5rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  -webkit-shape-outside: none;
  shape-outside: none;
}

.gk49-section2 .gk49-figure-layout-two-col {
  min-height: auto;
  max-height: none;
  overflow: hidden;
}

.gk49-section2 .gk49-figure-layout-two-col .gk49-two-col-text {
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.gk49-section2 .gk49-figure-layout-two-col::after {
  content: "";
  display: block;
  clear: both;
}

.gk49-section2 .gk49-figure-layout-two-col .gk49-figure-ballet {
  width: 32%;
}

.gk49-section2 .gk49-figure-layout-ballet-mag .gk49-figure-body {
  display: block;
}

.gk49-section2 .gk49-figure-layout-ballet-mag .gk49-two-col-text {
  column-count: 1;
}

.gk49-section2 .gk49-figure-layout-ballet-mag .gk49-figure-ballet-inline {
  float: left;
  display: block;
  width: 200px;
  margin: 0.2rem 1.4rem 1rem 0 !important;
  -webkit-shape-outside: url("../img/49_gakumon_ballet.png");
  shape-outside: url("../img/49_gakumon_ballet.png");
  shape-image-threshold: 0.12;
  shape-margin: 8px;
}

.gk49-section2 .gk49-body-text {
  font-size: 1.34rem;
  line-height: 1.8;
}

@media screen and (max-width: 600px) {
  .gk49-section2 {
    margin-top: 2rem;
    padding: 1.5rem 1.2rem 1.5rem;
  }
  .gk49-section2-title-wrap {
    gap: 0;
  }
  .gk49-section2-icon img {
    width: 68px;
  }
  .gk49-section2-title {
    font-size: 3.0rem !important;
    line-height: 1.15 !important;
    padding: 0 0 0 0.9rem !important;
    margin-left: 0.7rem !important;
  }
  .gk49-section2-lead {
    font-size: 1.1rem;
    margin-top: 0.8rem !important;
  }
  .gk49-section2-header {
    margin-left: 0;
    margin-right: 0;
  }
  .gk49-section2-content {
    margin-left: 0;
    margin-right: 0;
    padding: 0.8rem 1.2rem 0.9rem;
  }
  .gk49-h3 {
    font-size: 1.85rem !important;
    margin: 1rem 0 1rem !important;
    padding: 0.28em 0.8em !important;
    box-shadow: 4px 4px 0 0 #2a9ec4;
  }
  .gk49-section2 .gk49-figure-layout {
    flex-direction: column;
  }
  .gk49-section2 .gk49-figure-body {
    column-count: 1;
    display: block;
  }
  .gk49-section2 .gk49-figure-layout-two-col .gk49-two-col-text {
    column-count: 1;
  }
  .gk49-section2 .gk49-figure-layout-two-col .gk49-two-col-text .gk49-jazz-right-column {
    -webkit-column-break-before: auto;
    break-before: auto;
    margin-left: 0 !important;
  }
  .gk49-section2 .gk49-figure-layout-ballet-mag .gk49-figure-ballet-inline {
    float: none;
    width: 100%;
    max-width: 220px;
    margin: 0 auto 0.8rem !important;
    -webkit-shape-outside: none;
    shape-outside: none;
  }
  .gk49-section2 .gk49-figure {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 1rem !important;
    float: none !important;
    position: static !important;
    right: auto !important;
    -webkit-shape-outside: none;
    shape-outside: none;
  }
  .gk49-section2 .gk49-figure-layout-two-col .gk49-figure-jazz {
    width: 65% !important;
    float: none !important;
    margin: 0 auto 1rem !important;
    position: static !important;
    right: auto !important;
    -webkit-shape-outside: none;
    shape-outside: none;
  }
  .gk49-section2 .gk49-figure figcaption {
    width: 100%;
    text-align: left;
    font-size: 0.92rem;
    line-height: 1.5;
    padding: 0;
  }
  .gk49-section2 .gk49-figure-jazz figcaption br {
    display: none;
  }
  .gk49-section2-content .gk49-figure {
    max-width: 65% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .gk49-section2-content .gk49-figure img {
    max-width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .gk49-section2 {
    border-radius: 0 14px 14px 14px;
    padding: 1rem 0.9rem 1.05rem;
  }

  .gk49-section2-icon img {
    width: 58px;
  }

  .gk49-section2-title {
    font-size: 2.4rem !important;
    line-height: 1.2 !important;
    padding: 0 0 0 0.8rem !important;
    margin-left: 0.6rem !important;
  }

  .gk49-section2-lead {
    font-size: 1.1rem;
    margin-top: 0.8rem !important;
  }

  .gk49-h3 {
    font-size: 1.85rem !important;
    margin: 1rem 0 1rem !important;
    padding: 0.28em 0.8em !important;
    box-shadow: 4px 4px 0 0 #2a9ec4;
    display: inline-block;
  }

  .gk49-section2 .gk49-figure-layout {
    flex-direction: column;
  }

  .gk49-section2 .gk49-figure-body {
    column-count: 1;
  }

  .gk49-section2 .gk49-figure-layout-two-col .gk49-two-col-text {
    column-count: 1;
  }

  .gk49-section2 .gk49-figure-layout-two-col .gk49-two-col-text .gk49-jazz-right-column {
    -webkit-column-break-before: auto;
    break-before: auto;
    margin-left: 0 !important;
  }

  .gk49-section2 .gk49-figure-layout-ballet-mag .gk49-figure-ballet-inline {
    float: none;
    width: 100%;
    max-width: 220px;
    margin: 0 auto 0.8rem !important;
    -webkit-shape-outside: none;
    shape-outside: none;
  }

  .gk49-section2 .gk49-figure {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 1rem !important;
    float: none !important;
    position: static !important;
    right: auto !important;
    -webkit-shape-outside: none;
    shape-outside: none;
  }
  .gk49-section2 .gk49-figure-layout-two-col .gk49-figure-jazz {
    width: 65% !important;
    float: none !important;
    margin: 0 auto 1rem !important;
    position: static !important;
    right: auto !important;
    -webkit-shape-outside: none;
    shape-outside: none;
  }
  .gk49-section2-content .gk49-figure {
    max-width: 65% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* ===== PROFESSOR PROFILE ===== */

.gk49-prof-profile {
  margin-top: 0;
  padding: 1.4rem 1.8rem 1.3rem;
  background: #ffffff;
}

.gk49-prof-profile-inner {
  background: #fafbfe;
  border: 1px solid #d7dbe6;
  border-radius: 4px;
  padding: 1.1em 1.2em;
  line-height: 1.9;
  color: #30343b;
}

.gk49-prof-profile-name {
  font-size: 1.45rem !important;
  font-weight: 700 !important;
  color: #1f2e52 !important;
  letter-spacing: 0.02em;
  display: inline-block;
  margin: 0 0 0.2em !important;
  padding: 0 !important;
  line-height: 1.3;
}

.gk49-prof-profile-bio {
  font-size: 1.28rem !important;
  line-height: 1.9 !important;
  color: #30343b !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media screen and (max-width: 600px) {
  .gk49-prof-profile {
    padding: 1.2rem 0.9rem 1.1rem;
  }

  .gk49-prof-profile-name {
    font-size: 1.28rem !important;
  }

  .gk49-prof-profile-bio {
    font-size: 1.15rem !important;
  }
}

/* ===== END ISSUE 49 STYLES ===== */
