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

.contents h1 .mini-title {
  font-size: 15px !important;
}
.contents h1 .bottom-padding {
  padding-bottom: 2%;
}

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;
}

@media screen and (max-width: 600px) {
  .contents h1 {
    margin-left: 12px !important;
    margin-right: 12px !important;
  }

  #toggle:before,
  #toggle a:before,
  #toggle a:after {
    left: 18px !important;
  }

  .pankuzu p {
    padding-left: 8px !important;
  }
}

/* ===== SCIENCE & ART EXHIBITION ===== */

.exhibition {
  --exhibition-blue: #009ed0;
  --exhibition-navy: #005f5d;
  --exhibition-pale: #f3efe3;
  margin: 4rem 0 0;
  padding: 0 30px 3rem;
  overflow: hidden;
}

.exhibition p,
.exhibition h2,
.exhibition h3,
.exhibition figure,
.exhibition blockquote {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.exhibition-header {
  position: relative;
  text-align: center;
  padding: 1rem 2rem 1.45rem;
  background: linear-gradient(var(--exhibition-blue), var(--exhibition-blue))
    top / 100% 4.6rem no-repeat;
  border-radius: 0;
  color: #222;
}

.exhibition-header::after {
  content: "";
  display: block;
  width: 4.8rem;
  height: 2px;
  margin: 1rem auto 0;
  background: var(--exhibition-blue);
}

.exhibition-title {
  position: relative;
  z-index: 1;
  max-width: 90%;
  text-align: center;
  color: var(--exhibition-blue) !important;
  background: #fff;
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 72, 95, 0.12);
  font-size: 2.25rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  line-height: 1.3 !important;
  margin: 0 auto !important;
  padding: 0.35em 2.2em 0.42em !important;
  box-sizing: border-box;
}

.exhibition-header .exhibition-title {
  margin-left: auto !important;
  margin-right: auto !important;
}

.exhibition-lead {
  color: #222;
  font-size: 1.18rem;
  line-height: 1.7;
  font-weight: 600;
  margin: 1.25rem 0 0 !important;
}

.exhibition-block {
  position: relative;
  padding: 2rem 0;
}

.exhibition-block:last-child {
  border-bottom: 0;
  padding-bottom: 1rem;
}

.exhibition-block-heading {
  margin-bottom: 1.65rem;
}

.exhibition-block-heading h3 {
  position: relative;
  color: var(--exhibition-blue) !important;
  background: linear-gradient(
      90deg,
      var(--exhibition-blue) 0 4.5rem,
      rgba(0, 158, 208, 0.18) 4.5rem 100%
    )
    left bottom / 100% 1px no-repeat;
  font-size: 2.15rem !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  margin: 0 0 0.65rem !important;
  padding: 0 0 0.55rem 1.25rem !important;
}

.exhibition-block-heading h3::before {
  content: "";
  position: absolute;
  top: 0.48em;
  left: 0.1rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--exhibition-blue);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(0, 158, 208, 0.14);
}

.exhibition-block-heading p {
  color: #222;
  font-size: 14px;
  line-height: 1.75;
  margin: 0 !important;
}

.exhibition-animation-grid {
  display: grid;
  gap: 0.8rem;
}

.exhibition-animation-row {
  display: grid;
  align-items: flex-start;
  gap: 0.8rem;
}

.exhibition-animation-row:first-child {
  grid-template-columns: 1.876fr 1.169fr;
}

.exhibition-animation-row:last-child {
  grid-template-columns: 1.875fr 1.812fr;
}

.exhibition-media {
  margin: 0 !important;
}

.exhibition-media img {
  width: 100%;
  height: auto;
  display: block;
}

.exhibition-voices {
  display: grid;
  grid-template-columns: minmax(0, 0.725fr) minmax(13rem, 1.55fr) minmax(
      0,
      0.725fr
    );
  gap: 1rem;
  align-items: center;
  margin-top: 1.4rem;
}

.exhibition-student-photo {
  margin: 0 !important;
}

.exhibition-student-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.exhibition-quote,
.exhibition-comment {
  position: relative;
  border: 2px solid var(--exhibition-blue);
  border-radius: 18px;
  background: #fff;
  padding: 1.15rem 1.25rem;
  box-sizing: border-box;
}

.exhibition-quote p,
.exhibition-comment p {
  color: #111;
  font-size: 14px;
  line-height: 1.75;
  margin: 0 !important;
}

.exhibition-quote-left::after,
.exhibition-quote-right::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: translateY(-50%) rotate(45deg);
}

.exhibition-quote-left::after {
  right: -8px;
  border-top: 2px solid var(--exhibition-blue);
  border-right: 2px solid var(--exhibition-blue);
}

.exhibition-quote-right::after {
  left: -8px;
  border-bottom: 2px solid var(--exhibition-blue);
  border-left: 2px solid var(--exhibition-blue);
}

.exhibition-poster-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
}

.exhibition-poster-layout figure {
  margin: 0 !important;
}

.exhibition-poster-layout img {
  width: 100%;
  height: auto;
  display: block;
}

.exhibition-poster-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.exhibition-comment-row {
  display: flex;
  align-items: flex-end;
  gap: 1.2rem;
  max-width: 88%;
  margin: 1.7rem auto 0;
}

.exhibition-comment-portrait {
  flex: 0 0 12rem;
  margin: 0 !important;
}

.exhibition-comment-portrait img {
  width: 100%;
  height: auto;
  display: block;
}

.exhibition-comment {
  flex: 1;
  margin-bottom: 1rem;
}

.exhibition-comment::before {
  content: "";
  position: absolute;
  top: 1.8rem;
  bottom: auto;
  left: -9px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-bottom: 2px solid var(--exhibition-blue);
  border-left: 2px solid var(--exhibition-blue);
  transform: rotate(45deg);
}

.exhibition-protein-stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  width: 84%;
  margin: 0.4rem auto 0;
}

.protein {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1.3;
  margin: 0 !important;
  filter: drop-shadow(0 12px 7px rgba(0, 42, 48, 0.18));
}

.protein img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.exhibition-comment-row-reverse {
  flex-direction: row-reverse;
}

.exhibition-comment-row-reverse .exhibition-comment::before {
  right: -9px;
  left: auto;
  border: 0;
  border-top: 2px solid var(--exhibition-blue);
  border-right: 2px solid var(--exhibition-blue);
}

@media screen and (max-width: 600px) {
  .exhibition {
    margin-top: 2.5rem;
    padding: 0 30px 2rem;
  }

  .exhibition-header {
    padding: 0.75rem 0.8rem 1.15rem;
    background: linear-gradient(var(--exhibition-blue), var(--exhibition-blue))
      top / 100% 3.6rem no-repeat;
  }

  .exhibition-title {
    max-width: 96%;
    font-size: 1.7rem !important;
    letter-spacing: 0;
    padding: 0.36em 1em 0.42em !important;
  }

  .exhibition-lead {
    font-size: 1.05rem;
    text-align: left;
    margin-top: 1rem !important;
  }

  .exhibition-block {
    padding: 0;
  }

  .exhibition-block:last-child {
    padding-bottom: 0;
  }

  .exhibition-block-heading {
    margin-bottom: 1.2rem;
  }

  .exhibition-block-heading h3 {
    font-size: 1.55rem !important;
    padding-left: 1.1rem !important;
  }

  .exhibition-animation-grid {
    gap: 0.45rem;
  }

  .exhibition-animation-row {
    gap: 0.45rem;
  }

  .exhibition-voices {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .exhibition-quote-left::after,
  .exhibition-quote-right::after {
    top: auto;
    right: auto;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
  }

  .exhibition-quote-left {
    margin-bottom: 0.6rem;
  }

  .exhibition-quote-left::after {
    bottom: -8px;
    border-top: none;
    border-right: 2px solid var(--exhibition-blue);
    border-bottom: 2px solid var(--exhibition-blue);
    border-left: none;
  }

  .exhibition-quote-right {
    margin-top: 0.6rem;
  }

  .exhibition-quote-right::after {
    top: -8px;
    bottom: auto;
    border-bottom: none;
    border-left: 2px solid var(--exhibition-blue);
    border-top: 2px solid var(--exhibition-blue);
    border-right: none;
  }

  .exhibition-poster-layout {
    grid-template-columns: 1fr;
  }

  .exhibition-poster-stack {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .exhibition-comment-row,
  .exhibition-comment-row-reverse {
    max-width: 100%;
    gap: 0.5rem;
    align-items: flex-end;
    margin-bottom: 1rem;
  }

  .exhibition-comment-portrait {
    flex-basis: 8.5rem;
  }

  .exhibition-comment {
    padding: 1.15rem 1rem 1rem;
  }
}

/* ===== 統合型複合科目 BOX ===== */

.integ-box {
  position: relative;
  background: #ede9da;
  border: 10px solid #005f5d;
  padding: 2.2rem 2rem 2.8rem;
  margin: 2.6rem 0 3.2rem;
}

.integ-label-wrap {
  text-align: center;
  margin: 0 0 1.3rem !important;
}

.integ-label {
  display: inline-block;
  border-top: 1px solid #0097c7;
  border-bottom: 1px solid #0097c7;
  color: #000;
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: 0.22em;
  padding: 0.4em 0.1em;
}

.integ-heading {
  text-align: center;
  color: #005f5d;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.5;
  margin: 0 0 1.3rem !important;
}

.integ-heading-large {
  font-size: 1.35em;
  display: inline-block;
  line-height: 1.3;
}

.sp-br {
  display: none;
}

@media screen and (max-width: 600px) {
  .sp-br {
    display: inline;
  }
}

.integ-body {
  text-align: left;
  color: #222;
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.9;
  margin: 0 0 2rem !important;
}

.integ-subheading {
  color: #000;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 0 1rem !important;
}

.integ-card {
  background: #fff;
  padding: 1.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.integ-item {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.integ-pill {
  flex: 0 0 auto;
  min-width: 4.6em;
  text-align: center;
  background: #0097c7;
  color: #fff;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  border-radius: 999px;
  padding: 0.15em 0.5em;
}

.integ-text {
  flex: 1;
  min-width: 0;
}

.integ-text p {
  color: #222;
  font-size: 14px;
  line-height: 1.4;
  margin: 0 !important;
  padding: 0 !important;
}

.integ-text .integ-example {
  color: #222;
  font-size: 14px;
  margin-top: 0 !important;
}

.integ-photo {
  position: absolute;
  right: 1.6rem;
  bottom: 0;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 2;
}

.integ-photo img {
  width: 150px;
  height: auto;
  display: block;
  border-radius: 8px;
}

@media screen and (max-width: 600px) {
  .integ-box {
    padding: 1.6rem 1.875rem 9rem;
    border-width: 7px;
    margin: 1.8rem 0 2.6rem;
  }

  .integ-label {
    font-size: 1.45rem;
    letter-spacing: 0.14em;
    padding: 0.6em 0.1em;
  }

  .integ-heading {
    font-size: 1.2rem;
    line-height: 1.6;
  }

  .integ-body {
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: left;
  }

  .integ-card {
    padding: 1.2rem 1.1rem;
    gap: 1.3rem;
  }

  .integ-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .integ-pill {
    font-size: 1.25rem;
  }

  .integ-photo {
    right: 1rem;
    bottom: 0.6rem;
  }

  .integ-photo img {
    width: 120px;
  }
}

.integ-class-photos {
  display: flex;
  gap: 1.2rem;
  margin: 1.6rem 30px 1.2rem;
}

.integ-class-photos img {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  height: auto;
  display: block;
}

@media screen and (max-width: 600px) {
  .integ-class-photos {
    flex-direction: column;
    gap: 0.8rem;
    margin: 1.2rem 30px 1.8rem;
  }

  .integ-class-photos img {
    flex: none;
    width: 100%;
  }
}

.integ-presentation-photos {
  display: flex;
  gap: 1rem;
  margin: 0 30px 0.6rem;
}

.integ-presentation-photos img {
  width: calc((100% - 2rem) / 3);
  height: auto;
  display: block;
}

.integ-caption {
  font-size: 13px !important;
  color: #696969 !important;
  line-height: 1.6 !important;
  margin: 0 30px 2rem !important;
}

@media screen and (max-width: 600px) {
  .integ-presentation-photos {
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0 30px 0.6rem;
  }

  .integ-presentation-photos img {
    width: calc((100% - 0.6rem) / 2);
  }

  .integ-caption {
    margin: 0 30px 2rem !important;
  }
}

/* ===== THEME DETAIL (統合型複合科目 個別テーマ) ===== */

.tdetail {
  margin: 2.6rem 0;
}

.tdetail-banner {
  background: #ede9da;
  color: #000;
  padding: 0.9rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin: 0 0 1.2rem;
  text-align: center;
}

.tdetail-banner-title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
}

.tdetail-banner-title--en {
  font-weight: 500;
}

.tdetail-banner-sub {
  font-size: 0.95rem;
  font-style: italic;
  opacity: 0.9;
}

.tdetail-lead {
  color: #222 !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
  margin: 0 30px 2rem !important;
}

.tdetail-name {
  color: #005f5d;
  font-weight: 700;
}

.tdetail-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #7fa99c;
  color: transparent;
  font-size: 0;
  overflow: hidden;
  vertical-align: middle;
  margin: 0 4px 2px 2px;
}

.tdetail-stack {
  display: flex;
  flex-direction: column;
  margin: 0 30px;
}

.tdetail-card {
  padding: 2.2rem 0;
  border-top: 1px solid #d9d9d9;
}

.tdetail-card:first-child {
  padding-top: 0;
  border-top: none;
}

.tdetail-tag {
  display: block;
  width: fit-content;
  min-width: 11em;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.6rem;
  border-radius: 999px;
  padding: 0.15em 0.8em;
  margin: 0 auto 1rem;
}

.tdetail-tag-teal {
  background: #005f5d;
}

.tdetail-tag-blue {
  background: #0097c7;
}

.tdetail-heading {
  font-weight: 700 !important;
  font-size: 1.8rem !important;
  color: #005f5d !important;
  line-height: 1.55 !important;
  margin: 0 0 1.1rem !important;
  text-align: center !important;
}

.tdetail-heading-blue {
  color: #0097c7 !important;
}

.tdetail-split {
  display: flex;
  flex-direction: row-reverse;
  gap: 2.4rem;
  align-items: flex-start;
  margin: 0 0 1rem;
}

.tdetail-split-main {
  flex: 1;
  min-width: 0;
}

.tdetail-split-aside {
  flex: 0 0 300px;
  min-width: 0;
}

.tdetail-split-reverse {
  flex-direction: row;
}

.tdetail-split-reverse .tdetail-split-main {
  flex: 1;
}

.tdetail-split-reverse .tdetail-split-aside {
  flex: 0 0 300px;
}

.tdetail-outline {
  border-left: 1px dotted #005f5d;
  background: #f6f8f7;
  padding: 0.7rem 1.1rem 0.9rem 1.1rem;
  margin: 0;
  box-sizing: border-box;
}

.tdetail-outline-item {
  padding: 0.55rem 0;
  border-bottom: 1px dashed #ccc;
}

.tdetail-outline-item:first-child {
  padding-top: 0;
}

.tdetail-outline-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tdetail-outline-item dt {
  font-weight: 700;
  font-size: 14px;
  color: #005f5d;
  line-height: 1.5;
  margin: 0;
}

.tdetail-outline-item dd {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0.2rem 0 0;
}

.tdetail-body {
  color: #333 !important;
  font-size: 14px !important;
  line-height: 1.9 !important;
  margin: 0 0 1rem !important;
}

.tdetail-body-divider {
  padding-bottom: 1.1rem !important;
  border-bottom: 1px dotted #005f5d;
}

.tdetail-split-main .tdetail-body,
.tdetail-split-aside .tdetail-examples {
  margin: 0 !important;
}

.tdetail-sub {
  font-weight: 700 !important;
  font-size: 14px !important;
  color: #0097c7 !important;
  margin: 0 0 0.6rem !important;
}

.tdetail-examples {
  font-size: 14px !important;
  color: #444 !important;
  line-height: 1.85 !important;
  background: #f2f9fb;
  padding: 0.9rem 1.1rem !important;
}

.tdetail-link {
  font-size: 14px !important;
  color: #0097c7 !important;
  font-weight: 700 !important;
  margin: 0 !important;
}

.tdetail-link a {
  color: #005f5d !important;
}

.tdetail-link-right {
  text-align: right !important;
}

.tdetail-group-row {
  display: flex;
  gap: 2rem;
}

.tdetail-group {
  flex: 1;
  min-width: 0;
  margin: 0;
}

.tdetail-group-tag {
  display: block;
  width: fit-content;
  background: #eef6f6;
  color: #000;
  font-weight: 700;
  font-size: 14px;
  border-radius: 4px;
  padding: 0.1em 0.7em;
  margin: 0 auto 0.6rem;
}

.tdetail-group-list {
  margin: 0 !important;
  padding: 0 0 0 1.2em !important;
  list-style: disc;
}

.tdetail-group-list li:not(:last-child) {
  padding-bottom: 0.15em;
  margin-bottom: 0.15em;
  border-bottom: 1px dotted #005f5d;
}

.tdetail-group-list li {
  font-size: 14px;
  font-weight: 700;
  color: #005f5d;
  line-height: 1.7;
  margin-bottom: 0.35em;
}

@media screen and (max-width: 600px) {
  .tdetail-banner {
    padding: 0.8rem 1rem;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .tdetail-banner-title {
    font-size: 1.4rem;
  }

  .tdetail-banner-sub {
    font-size: 0.9rem;
  }

  .tdetail-lead {
    margin: 0 30px 1.6rem !important;
  }

  .tdetail-card {
    padding: 1.6rem 0;
  }

  .tdetail-card:first-child {
    padding-top: 0;
  }

  .tdetail-heading {
    font-size: 1.5rem !important;
  }

  .tdetail-heading-nowrap {
    white-space: nowrap;
    font-size: 3.8vw !important;
  }

  .tdetail-split {
    flex-direction: column;
    gap: 1.2rem;
  }

  .tdetail-split-aside {
    flex-basis: auto;
    width: 100%;
  }

  .tdetail-outline {
    padding: 1.2rem 1.1rem 0.9rem;
  }

  .tdetail-outline-item {
    padding: 0.7rem 0;
  }

  .tdetail-outline-item:first-child {
    padding-top: 0;
  }

  .tdetail-outline-item:last-child {
    padding-bottom: 0;
  }

  .tdetail-outline-item dt {
    font-size: 15px;
  }

  .tdetail-outline-item dd {
    font-size: 15px;
    margin-top: 0.3rem;
  }

  .tdetail-split-reverse .tdetail-split-main {
    flex-basis: auto;
    width: 100%;
  }

  .tdetail-split-reverse .tdetail-split-aside {
    flex-basis: auto;
    width: 100%;
  }

  .tdetail-group-row {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ===== POSTER PRESENTATION SECTION ===== */

.poster-section {
  background: #f4efe1;
  padding: 2.4rem 2.2rem 2.6rem;
  margin: 2.6rem 0 3.2rem;
}

.poster-section-header {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  margin: 0 0 1.8rem !important;
}

.poster-section-icon {
  flex-shrink: 0;
  width: 110px;
  height: auto;
  display: block;
}

.poster-section-header-body {
  flex: 1;
  min-width: 0;
}

.poster-section-title-wrap {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 0 0 0.7rem;
}

.poster-section-theme-label {
  flex-shrink: 0;
  display: inline-block;
  background: #0097c7;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  border-radius: 999px;
  padding: 0.4em 1.15em 0.36em;
  position: relative;
  top: -0.6rem;
}

.poster-section-title {
  color: #101010 !important;
  font-weight: 700 !important;
  font-size: 3.3rem !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
  margin: 0 !important;
}

.poster-section-intro {
  color: #005f5d;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.9;
  margin: 0 !important;
}

.poster-list {
  display: flex;
  flex-direction: column;
  gap: 2.6rem;
}

.poster-card {
  position: relative;
  display: grid;
  grid-template-columns: 90px 90px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: start;
  column-gap: 1.2rem;
  background: #fff;
  border-radius: 24px;
  padding: 1.4rem 1.6rem 1.6rem 1rem;
}

.poster-card:nth-child(odd) {
  margin-left: -2.2rem;
  border-radius: 0 24px 24px 0;
  padding-left: 3.2rem;
}

.poster-card:nth-child(even) {
  margin-right: -2.2rem;
  border-radius: 24px 0 0 24px;
  padding-right: 3.8rem;
}

.poster-content {
  display: contents;
}

.poster-top {
  grid-column: 1 / -1;
  grid-row: 1;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 86px;
  align-items: center;
  gap: 1.2rem;
  margin: 0 0 0.65rem;
}

.poster-visual {
  position: relative;
  z-index: 1;
  align-self: center;
  width: 100%;
}

.poster-circle-img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  display: block;
  transform: translateX(2.4rem) scale(1.45);
  transform-origin: right bottom;
}

.poster-badge {
  position: static;
  justify-self: center;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 64px;
  box-sizing: border-box;
  background: #005f5d;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0;
  line-height: 1.1;
  border-radius: 50%;
}

.poster-badge strong {
  font-size: 1.85rem;
  line-height: 1;
  margin-top: 0.08em;
}

.poster-info {
  align-self: center;
  justify-self: stretch;
  min-width: 0;
  padding-top: 0;
  text-align: left;
}

.poster-title {
  color: #101010;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.45;
  margin: 0 0 0.35rem !important;
}

.poster-lead {
  color: #005f5d;
  font-weight: 700;
  font-size: 1.6rem !important;
  line-height: 1.45;
  margin: 0 !important;
}

.poster-photo-wrap {
  grid-column: 1 / 3;
  grid-row: 2;
  align-self: center;
  width: 100%;
}

.poster-copy {
  grid-column: 3;
  grid-row: 2;
  min-width: 0;
}

.poster-photo-wrap img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  display: block;
}

.poster-text {
  color: #333;
  font-size: 0.98rem;
  line-height: 1.9;
  margin: 0 0 0.8rem !important;
}

.poster-text:last-child {
  margin-bottom: 0 !important;
}

@media screen and (max-width: 600px) {
  .poster-list {
    gap: 2rem;
  }

  .poster-section {
    padding: 1.6rem 1.875rem 1.8rem;
    margin: 1.8rem 0 2.6rem;
  }

  .poster-section-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.7rem;
    margin-bottom: 1.4rem !important;
  }

  .poster-section-icon {
    width: 72px;
  }

  .poster-section-title {
    font-size: 2.2rem;
  }

  .poster-section-theme-label {
    font-size: 1.05rem;
    padding: 0.4em 1.1em 0.38em;
  }

  .poster-section-title-wrap {
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    gap: 0.7rem;
    margin-bottom: 0.6rem;
  }

  .poster-section-intro {
    font-size: 0.95rem;
    text-align: left;
  }

  .poster-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 120px;
    grid-template-areas:
      "photo photo visual"
      "badge info  info"
      "copy  copy  copy";
    column-gap: 0.8rem;
    row-gap: 0.8rem;
    align-items: center;
    padding: 1.1rem 0.8rem 1.1rem;
  }

  .poster-card:nth-child(odd),
  .poster-card:nth-child(even) {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
    border-radius: 24px;
  }

  .poster-content {
    display: contents;
  }

  .poster-top {
    display: contents;
  }

  .poster-visual {
    grid-area: visual;
    align-self: start;
    width: 100%;
  }

  .poster-circle-img {
    transform: none;
  }

  .poster-badge {
    grid-area: badge;
    position: static;
    align-self: start;
    width: 58px;
    height: 58px;
  }

  .poster-info {
    grid-area: info;
    align-self: start;
    width: 100%;
    padding-top: 0;
  }

  .poster-photo-wrap {
    grid-area: photo;
    width: 100%;
    margin: 0;
  }

  .poster-copy {
    grid-area: copy;
  }

  .poster-text {
    text-align: left;
  }
}

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

/* ===== 50号共通プロフィール ===== */

.issue50-profile.nine.column02 {
  clear: both;
  float: none;
  box-sizing: border-box;
  width: auto;
  margin: 2.8em 30px 3.6em;
}

.contents .issue50-profile .wrapperprof {
  position: relative;
  box-sizing: border-box;
  margin: 0;
  padding: 20px 24px 20px 28px;
  color: #333;
  font-size: 1.3rem;
  line-height: 1.9;
  text-align: left;
  background: #f8f8f7;
  border: 1px solid #d8d8d5;
  border-left: 3px solid #686866;
  border-radius: 2px;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.055);
}

.issue50-profile__name {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
  color: #222;
  font-family: serif;
  font-size: 1.65rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.issue50-profile__name::after {
  flex: 1 1 auto;
  height: 1px;
  background: #cececa;
  content: "";
}

.issue50-profile__bio {
  display: block;
}

/* 50号共通プロフィール：おもしろ学問のみグリーン */
.contents .issue50-profile .wrapperprof {
  background: #f5f9f8;
  border-color: #cfe0de;
  border-left-color: #005f5d;
  box-shadow: 0 5px 16px rgba(0, 95, 93, 0.08);
}

.issue50-profile__name {
  color: #003f3d;
}

.issue50-profile__name::after {
  background: #c3d9d7;
}

/* 写真つきプロフィール（おもしろ学問のみ） */
.contents .issue50-profile--photo .wrapperprof {
  display: flex;
  align-items: center;
  gap: 20px;
}

.issue50-profile__photo {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
}

.issue50-profile__info {
  flex: 1;
  min-width: 0;
}

@media (max-width: 767px) {
  .issue50-profile.nine.column02 {
    width: auto;
    margin: 2.5em 15px 3em;
  }

  .contents .issue50-profile .wrapperprof {
    padding: 18px 18px 18px 21px;
  }

  .contents .issue50-profile--photo .wrapperprof {
    flex-direction: column;
    align-items: center;
  }

  .issue50-profile__photo {
    width: 84px;
    height: 84px;
  }

  .issue50-profile__info {
    align-self: flex-start;
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
