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

.contents.ken02 {
  min-width: 0;
  padding-bottom: 0;
}

/* 長い英字やURLが入っても、狭い画面で本文を押し広げない */
.contents.ken02 h1,
.contents.ken02 h2,
.contents.ken02 h3,
.contents.ken02 p,
.contents.ken02 figcaption {
  overflow-wrap: anywhere;
}

.contents.ken02 figure {
  max-width: 100%;
}

/* 50号 リード枠デザイン（黄・紫・緑・赤の4本バー、額縁状に配置） */
.ken02 .lead-frame {
  position: relative;
  margin: 2em 3.5em 1.5em 3.5em;
  padding: 18px 20px 18px 24px;
}

.ken02 .lead-frame-bar {
  position: absolute;
  display: block;
}

.ken02 .lead-frame-top {
  top: 0;
  left: 2%;
  width: 97%;
  height: 3px;
  background-color: #b3a149;
}

.ken02 .lead-frame-left {
  top: 0%;
  left: 1%;
  width: 3px;
  height: 94%;
  background-color: #5b5068;
}

.ken02 .lead-frame-right {
  top: 6%;
  right: 1%;
  width: 3px;
  height: 94%;
  background-color: #8f9c51;
}

.ken02 .lead-frame-bottom {
  bottom: 0;
  left: 1%;
  width: 97%;
  height: 3px;
  background-color: #a54443;
}

.ken02 .wrapperprof-investigacion {
  position: relative;
  margin: 0;
  padding: 0;
  color: #000000;
  font-weight: normal;
  background-image: none;
  background-color: transparent;
  border-radius: 0;
}

@media (max-width: 600px) {
  .ken02 .lead-frame {
    padding: 14px 14px 14px 18px;
    margin: 2em 0.5em 0.5em 0.5em;
  }

  .ken02 .intro-copy {
    margin-top: 2rem !important;
  }

  .ken02 .lead-frame-top,
  .ken02 .lead-frame-bottom {
    height: 3px;
  }
  .ken02 .lead-frame-left,
  .ken02 .lead-frame-right {
    width: 3px;
  }
}

.contents h2 {
  clear: both;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #375730;
}

/* 本文から実験図への参照番号 */
.experiment-reference {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  vertical-align: text-bottom;
  white-space: nowrap;
}

.experiment-reference__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 1.05em;
  height: 1.2em;
  color: #fff;
  font-family: serif;
  font-size: 0.9em;
  line-height: 1;
  background: #a54443;
}

/* 音からモノの存在を推論する実験 */
.sound-experiment {
  position: relative;
  box-sizing: border-box;
  margin: 3.2em 0 0;
  padding: 24px 18px 20px;
  overflow: visible;
  background-color: #f7f3eb;
  background-image:
    radial-gradient(
      circle at 18% 22%,
      rgba(169, 141, 104, 0.06) 0 1px,
      transparent 2px
    ),
    radial-gradient(
      circle at 72% 68%,
      rgba(169, 141, 104, 0.05) 0 1px,
      transparent 2px
    );
  background-size:
    23px 29px,
    31px 37px;
}

.sound-experiment__heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 18px;
  padding: 0 80px 0 54px;
  background: rgba(255, 255, 255, 0.92);
}

.contents.ken02 .sound-experiment__heading h3 {
  display: flex;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
  color: #a54443 !important;
  font-family: serif;
  font-size: 2.5rem !important;
  font-weight: bold;
  letter-spacing: 0.08em;
  line-height: 1.2 !important;
  background: none !important;
  border: 0 !important;
}

.sound-experiment__number {
  display: inline-flex;
  flex: 0 0 auto;
  align-self: center;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 12px;
  color: #fff;
  font-family: serif;
  font-size: 1.8rem;
  line-height: 1;
  background: #a54443;
}

.sound-experiment__paw {
  position: absolute;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.16;
  transform: rotate(-12deg);
}

.sound-experiment__paw--small {
  top: -44px;
  right: 51px;
  width: 33px;
  height: 34px;
  background-image: url("../img/lab50_icon1.jpg");
}

.sound-experiment__paw--large {
  top: -26px;
  right: 0;
  width: 57px;
  height: 56px;
  background-image: url("../img/lab50_icon2.jpg");
}

.sound-experiment__conditions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 18px;
}

.sound-experiment__condition {
  box-sizing: border-box;
  min-width: 0;
  padding: 0 14px;
  text-align: center;
}

.sound-experiment__condition + .sound-experiment__condition {
  border-left: 1px dotted #8d9794;
}

.sound-experiment__condition img {
  display: block;
  width: 100%;
  max-width: 302px;
  height: auto;
  margin: 0 auto;
}

.sound-experiment__conclusion {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  margin: 0 14px;
  padding: 13px 18px;
  border: 1px solid #657a7c;
  background: rgba(255, 255, 255, 0.88);
  color: #657a7c;
}

.sound-experiment__conclusion p {
  margin: 0 !important;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.55;
}

.sound-experiment__conclusion .sound-experiment__next {
  flex: 0 0 auto;
  padding: 5px 11px;
  color: #fff;
  line-height: 1.35;
  background: #657a7c;
  white-space: nowrap;
}

.sound-experiment__arrow {
  position: relative;
  flex: 0 0 42px;
  height: 3px;
  margin: 0 14px;
  background: #657a7c;
}

.sound-experiment__arrow::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 13px;
  height: 13px;
  border-top: 3px solid #657a7c;
  border-right: 3px solid #657a7c;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

@media (max-width: 767px) {
  .sound-experiment {
    margin: 2.5em 0;
    padding: 18px 12px;
  }

  .sound-experiment__heading {
    justify-content: flex-start;
    min-height: 0;
    margin: 0 0 20px;
    padding: 12px 50px 12px 12px;
  }

  .contents.ken02 .sound-experiment__heading h3 {
    font-size: 2.2rem !important;
    letter-spacing: 0.03em;
  }

  .sound-experiment__number {
    width: 26px;
    height: 26px;
    margin-right: 9px;
    font-size: 1.6rem;
  }

  .sound-experiment__paw--small {
    display: none;
  }

  .sound-experiment__paw--large {
    top: -22px;
    right: 0;
    width: 44px;
    height: 43px;
  }

  .sound-experiment__conditions {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 22px;
  }

  .sound-experiment__condition {
    padding: 0;
  }

  .sound-experiment__condition + .sound-experiment__condition {
    padding-top: 18px;
    border-top: 1px dotted #8d9794;
    border-left: 0;
  }

  .sound-experiment__condition img {
    width: auto;
    max-width: 100%;
  }

  .sound-experiment__conclusion {
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding: 15px;
  }

  .sound-experiment__conclusion p {
    font-size: 1.35rem;
  }

  .sound-experiment__arrow {
    flex-basis: 30px;
    width: 3px;
    height: 30px;
    margin: 10px auto 12px;
  }

  .sound-experiment__arrow::after {
    top: auto;
    right: 50%;
    bottom: 0;
    transform: translateX(50%) rotate(135deg);
  }

  .sound-experiment__conclusion .sound-experiment__next {
    align-self: center;
    white-space: normal;
  }
}

/* 物理法則に反した現象への反応を調べる実験 */
.physics-experiment {
  position: relative;
  box-sizing: border-box;
  margin: 3.2em 0;
  padding: 24px 18px 20px;
  background-color: #f7f3eb;
  background-image:
    radial-gradient(circle at 22% 18%, rgba(169, 141, 104, 0.06) 0 1px, transparent 2px),
    radial-gradient(circle at 76% 72%, rgba(169, 141, 104, 0.05) 0 1px, transparent 2px);
  background-size: 23px 29px, 31px 37px;
}

.sound-experiment + .physics-experiment {
  margin-top: 0;
}

.physics-experiment__heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 54px;
  margin: 0 0 18px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.92);
}

.contents.ken02 .physics-experiment__heading h3 {
  display: flex;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
  color: #a54443 !important;
  font-family: serif;
  font-size: 2.8rem !important;
  font-weight: bold;
  letter-spacing: 0.06em;
  line-height: 1.2 !important;
  background: none !important;
  border: 0 !important;
}

.physics-experiment__number {
  display: inline-flex;
  flex: 0 0 auto;
  align-self: center;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  color: #fff;
  font-family: serif;
  font-size: 1.8rem;
  line-height: 1;
  background: #a54443;
}

.physics-experiment__apparatus {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(130px, 0.8fr) minmax(0, 1.7fr);
  gap: 12px;
  align-items: center;
  margin: 0 22px 18px;
}

.physics-experiment__apparatus p {
  margin: 0 !important;
  font-size: 1.35rem;
  line-height: 1.45;
}

.physics-experiment__apparatus .physics-experiment__label {
  padding: 7px 12px;
  color: #222;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}

.physics-experiment__apparatus img {
  display: block;
  width: 100%;
  height: auto;
}

.physics-experiment__conditions {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
}

.physics-experiment__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 10px 0;
}

.physics-experiment__row--congruent,
.physics-experiment__row--incongruent {
  grid-template-columns: minmax(0, 475fr) minmax(0, 528fr);
}

.physics-experiment__row + .physics-experiment__row {
  border-top: 1px solid #8d9794;
}

.physics-experiment__condition {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 0 12px;
}

.physics-experiment__condition + .physics-experiment__condition {
  border-left: 1px dotted #8d9794;
}

.physics-experiment__condition img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.physics-experiment__conclusion {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #657a7c;
  background: rgba(255, 255, 255, 0.88);
  color: #657a7c;
}

.physics-experiment__conclusion p {
  margin: 0 !important;
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1.45;
}

.physics-experiment__result {
  flex: 0 1 auto;
}

@media (max-width: 900px) {
  .physics-experiment__result {
    text-align: center;
  }
}

.physics-experiment__finding {
  flex: 1 1 auto;
  padding: 8px 12px;
  color: #fff;
  background: #657a7c;
}

.physics-experiment__arrow {
  position: relative;
  flex: 0 0 38px;
  height: 3px;
  margin: 0 14px;
  background: #657a7c;
}

.physics-experiment__arrow::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 12px;
  height: 12px;
  border-top: 3px solid #657a7c;
  border-right: 3px solid #657a7c;
  content: '';
  transform: translateY(-50%) rotate(45deg);
}

.physics-experiment__paw {
  position: absolute;
  z-index: 0;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.14;
}

.physics-experiment__paw--top {
  z-index: 2;
  top: 62px;
  left: 2px;
  width: 57px;
  height: 56px;
  background-image: url('../img/lab50_icon2.jpg');
  transform: rotate(-22deg);
}

.physics-experiment__paw--bottom {
  right: 4px;
  bottom: 112px;
  width: 57px;
  height: 56px;
  background-image: url('../img/lab50_icon2.jpg');
  transform: rotate(18deg);
}

@media (max-width: 767px) {
  .physics-experiment {
    margin: 2.5em 0;
    padding: 18px 12px;
  }

  .physics-experiment__heading {
    justify-content: flex-start;
    min-height: 0;
    padding: 12px;
  }

  .contents.ken02 .physics-experiment__heading h3 {
    font-size: 2.2rem !important;
    letter-spacing: 0.02em;
  }

  .physics-experiment__number {
    width: 26px;
    height: 26px;
    margin-right: 9px;
    font-size: 1.6rem;
  }

  .physics-experiment__apparatus {
    grid-template-columns: auto 1fr;
    gap: 10px;
    margin: 0 0 20px;
  }

  .physics-experiment__apparatus .physics-experiment__label {
    align-self: start;
  }

  .physics-experiment__apparatus img {
    max-width: 220px;
  }

  .physics-experiment__apparatus p:last-child {
    grid-column: 1 / -1;
  }

  .physics-experiment__row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px 0;
  }

  .physics-experiment__condition {
    padding: 0;
  }

  .physics-experiment__condition + .physics-experiment__condition {
    padding-top: 14px;
    border-top: 1px dotted #8d9794;
    border-left: 0;
  }

  .physics-experiment__conclusion {
    flex-direction: column;
    align-items: stretch;
    padding: 15px;
  }

  .physics-experiment__conclusion p {
    font-size: 1.35rem;
  }

  .physics-experiment__arrow {
    flex-basis: 30px;
    width: 3px;
    height: 30px;
    margin: 10px auto 12px;
  }

  .physics-experiment__arrow::after {
    top: auto;
    right: 50%;
    bottom: 0;
    transform: translateX(50%) rotate(135deg);
  }

  .physics-experiment__finding {
    text-align: left;
  }

  .physics-experiment__finding br {
    display: none;
  }

  .physics-experiment__paw--top {
    top: 76px;
    left: 7px;
    width: 42px;
    height: 41px;
  }

  .physics-experiment__paw--bottom {
    right: 6px;
    bottom: 150px;
    width: 42px;
    height: 41px;
  }
}

/*
 * Skeletonの2カラム表示へ切り替わった直後は本文幅が約560〜660pxになる。
 * 図版は横並びを保ちつつ、結果欄と見出しだけを縦方向にゆったり見せる。
 */
@media (min-width: 768px) and (max-width: 900px) {
  .sound-experiment__heading {
    justify-content: flex-start;
    padding: 10px 62px 10px 16px;
  }

  .contents.ken02 .sound-experiment__heading h3,
  .contents.ken02 .physics-experiment__heading h3,
  .contents.ken02 .name-experiment__heading h3 {
    font-size: 2.2rem !important;
    letter-spacing: 0.02em;
  }

  .sound-experiment__condition {
    padding: 0 8px;
  }

  .sound-experiment__conclusion,
  .physics-experiment__conclusion {
    flex-direction: column;
    align-items: stretch;
  }

  .sound-experiment__arrow,
  .physics-experiment__arrow {
    flex-basis: 28px;
    width: 3px;
    height: 28px;
    margin: 9px auto 11px;
  }

  .sound-experiment__arrow::after,
  .physics-experiment__arrow::after {
    top: auto;
    right: 50%;
    bottom: 0;
    transform: translateX(50%) rotate(135deg);
  }

  .sound-experiment__conclusion .sound-experiment__next {
    align-self: center;
    white-space: normal;
  }

  .physics-experiment__finding {
    text-align: left;
  }

  .physics-experiment__finding br {
    display: none;
  }
}

/* 同居するネコの名前と顔を調べる実験 */
.name-experiment {
  position: relative;
  box-sizing: border-box;
  margin: 3.2em 0;
  padding: 24px 18px 20px;
  background-color: #f7f3eb;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(169, 141, 104, 0.06) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 70%, rgba(169, 141, 104, 0.05) 0 1px, transparent 2px);
  background-size: 23px 29px, 31px 37px;
}

.name-experiment__heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 54px;
  margin: 0 0 18px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.92);
}

.contents.ken02 .name-experiment__heading h3 {
  display: flex;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
  color: #a54443 !important;
  font-family: serif;
  font-size: 2.8rem !important;
  font-weight: bold;
  letter-spacing: 0.06em;
  line-height: 1.2 !important;
  background: none !important;
  border: 0 !important;
}

.name-experiment__number {
  display: inline-flex;
  flex: 0 0 auto;
  align-self: center;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  color: #fff;
  font-family: serif;
  font-size: 1.8rem;
  line-height: 1;
  background: #a54443;
}

.name-experiment__main {
  position: relative;
  z-index: 1;
  width: 70%;
  max-width: 620px;
  margin: 0 auto;
}

.name-experiment__main img {
  display: block;
  width: 100%;
  height: auto;
}

.name-experiment__arrows {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  height: 48px;
  margin: 0 22px 6px;
  transform: translateY(6px);
}

.name-experiment__arrow {
  position: relative;
  display: block;
  width: 3px;
  height: 34px;
  margin: 5px auto 0;
  background: #b34740;
  transform-origin: bottom center;
}

.name-experiment__arrow::after {
  position: absolute;
  right: 50%;
  bottom: 0;
  width: 11px;
  height: 11px;
  border-right: 3px solid #b34740;
  border-bottom: 3px solid #b34740;
  content: '';
  transform: translateX(50%) rotate(45deg);
}

.name-experiment__arrow--left {
  transform: rotate(16deg);
}

.name-experiment__arrow--right {
  transform: rotate(-16deg);
}

.name-experiment__conditions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin: 0 0 18px;
}

.name-experiment__condition {
  min-width: 0;
}

.name-experiment__condition img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.name-experiment__conclusion {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 13px 18px;
  border: 1px solid #657a7c;
  background: rgba(255, 255, 255, 0.88);
  color: #657a7c;
}

.name-experiment__conclusion p {
  margin: 0 !important;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.55;
}

.name-experiment__paw {
  position: absolute;
  z-index: 0;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.14;
}

.name-experiment__paw--top {
  z-index: 2;
  top: -22px;
  left: 18px;
  width: 57px;
  height: 56px;
  background-image: url('../img/lab50_icon2.jpg');
  transform: rotate(-18deg);
}

.name-experiment__paw--side {
  z-index: 2;
  top: 76px;
  right: 22px;
  width: 57px;
  height: 56px;
  background-image: url('../img/lab50_icon2.jpg');
  transform: rotate(12deg);
}

@media (max-width: 767px) {
  .name-experiment {
    margin: 2.5em 0;
    padding: 18px 12px;
  }

  .name-experiment__heading {
    justify-content: flex-start;
    min-height: 0;
    padding: 12px;
  }

  .name-experiment__main {
    width: 100%;
  }

  .contents.ken02 .name-experiment__heading h3 {
    font-size: 2.2rem !important;
    letter-spacing: 0.02em;
  }

  .name-experiment__number {
    width: 26px;
    height: 26px;
    margin-right: 9px;
    font-size: 1.6rem;
  }

  .name-experiment__arrows {
    display: none;
  }

  .name-experiment__conditions {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .name-experiment__condition + .name-experiment__condition {
    padding-top: 18px;
    border-top: 1px dotted #8d9794;
  }

  .name-experiment__conclusion {
    padding: 15px;
  }

  .name-experiment__conclusion p {
    font-size: 1.35rem;
  }

  .name-experiment__paw--top {
    top: -16px;
    left: 4px;
    width: 42px;
    height: 41px;
  }

  .name-experiment__paw--side {
    top: 88px;
    right: 2px;
    width: 42px;
    height: 41px;
  }
}

/* 取材時の実験再現写真 */
.lab-photo {
  float: right;
  width: min(42%, 320px);
  margin: 0.8em 30px 0.8em 2em;
}

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

.lab-photo figcaption,
.cats-gallery figcaption {
  margin-top: 0.6em;
  color: #555;
  font-size: 1.3rem;
  line-height: 1.55;
  text-align: left;
}

/* 髙木先生の愛猫たち */
.cats-gallery {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  margin: 3.2em 0;
  padding: 14px 26px 32px;
  overflow: visible;
  background: #fff;
}

.contents.ken02 .cats-gallery h3 {
  position: absolute;
  top: 6px;
  left: 34px;
  z-index: 2;
  margin: 0 !important;
  padding: 0 !important;
  color: #a54443 !important;
  font-family: serif;
  font-size: 2rem !important;
  font-weight: bold;
  letter-spacing: 0.08em;
  line-height: 1.2 !important;
  background: none !important;
  border: 0 !important;
  transform: rotate(-10deg);
  transform-origin: center;
}

.contents.ken02 .cats-gallery h3::before,
.contents.ken02 .cats-gallery h3::after {
  position: absolute;
  display: block;
  content: "";
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.contents.ken02 .cats-gallery h3::before {
  top: -18px;
  left: -15px;
  width: 18px;
  height: 18px;
  background-image: url("../img/lab50_icon1.jpg");
}

.contents.ken02 .cats-gallery h3::after {
  right: -27px;
  bottom: -13px;
  width: 23px;
  height: 23px;
  background-image: url("../img/lab50_icon2.jpg");
}

.cats-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}

.cats-gallery__item {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin: 0;
}

.cats-gallery__item:nth-child(1) {
  margin-top: 72px;
}

.cats-gallery__item:nth-child(2) {
  margin-top: 0;
}

.cats-gallery__item:nth-child(3) {
  margin-top: 42px;
}

.cats-gallery__item img {
  display: block;
  width: 100%;
  height: auto;
}

.cats-gallery__item figcaption {
  position: relative;
  z-index: 1;
  margin-top: 0.45em;
  color: #111;
  font-size: 1.15rem;
  line-height: 1.45;
}

.cats-gallery__item:nth-child(2) figcaption {
  text-align: center;
}

.cats-gallery__paw,
.cats-gallery__rule {
  position: absolute;
  display: block;
  pointer-events: none;
}

.cats-gallery__paw {
  z-index: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.2;
}

.cats-gallery__paw--right-top {
  top: 91px;
  right: 0;
  width: 29px;
  height: 29px;
  background-image: url("../img/lab50_icon2.jpg");
  transform: rotate(16deg);
}

.cats-gallery__paw--right-bottom {
  top: 126px;
  right: 21px;
  width: 23px;
  height: 23px;
  background-image: url("../img/lab50_icon1.jpg");
  transform: rotate(-12deg);
}

.cats-gallery__paw--bottom-small {
  right: 112px;
  bottom: 8px;
  width: 22px;
  height: 22px;
  background-image: url("../img/lab50_icon1.jpg");
  transform: rotate(18deg);
}

.cats-gallery__paw--bottom-large {
  right: 75px;
  bottom: 11px;
  width: 31px;
  height: 31px;
  background-image: url("../img/lab50_icon2.jpg");
  transform: rotate(-14deg);
}

.cats-gallery__rule {
  right: 16px;
  bottom: 7px;
  left: 16px;
  height: 2px;
  background: rgba(165, 68, 67, 0.48);
}

/* 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__label {
  display: block;
  margin-bottom: 5px;
  color: #70706d;
  font-family: "Raleway", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.2;
}

.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: #faf5f5;
  border-color: #e6cfce;
  border-left-color: #a54443;
  box-shadow: 0 5px 16px rgba(165, 68, 67, 0.08);
}

.issue50-profile__label {
  color: #a54443;
}

.issue50-profile__name {
  color: #6f2c2b;
}

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

@media (max-width: 767px) {
  .lab-photo-context {
    display: flex;
    flex-direction: column;
  }

  .lab-photo {
    float: none;
    order: 1;
    width: min(100%, 320px);
    margin: 1.5em auto;
  }

  .cats-gallery {
    margin: 2.5em 0;
    padding: 18px 20px 30px;
  }

  .contents.ken02 .cats-gallery h3 {
    position: relative;
    top: auto;
    left: auto;
    width: fit-content;
    margin: 0 auto 24px !important;
    font-size: 2rem !important;
    transform: rotate(-6deg);
  }

  .cats-gallery__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cats-gallery__item {
    width: min(100%, 346px);
    margin: 0 auto;
  }

  .cats-gallery__item:nth-child(1),
  .cats-gallery__item:nth-child(2),
  .cats-gallery__item:nth-child(3) {
    margin-top: 0;
  }

  .cats-gallery__paw--right-top,
  .cats-gallery__paw--right-bottom {
    display: none;
  }

  .issue50-profile.nine.column02 {
    width: auto;
    margin: 2.5em 15px 3em;
  }

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

}
