/* ========================================
   Project — CHROメッセージ（chro.html）
======================================== */

.p-cho {
  position: relative;
  color: var(--works-color-text);
  font-family: var(--works-font);
  overflow: hidden;
}

.p-cho__hero {
  position: relative;
  padding-top: 20px;
}

.p-cho__heroInner {
  position: relative;
}

[aria-hidden="true"] {
  display: block;
}

/* .p-cho__inner {
  max-width: 1280px;
} */

/* ---- Hero: SP first ---- */
.p-cho__heroPanel {
  position: relative;
  z-index: 1;
  width: calc(100% - 40px);
  max-width: 440px;
  min-height: 201px;
  margin: 0;
  padding: 55px 20px 72px;
  color: var(--works-color-white);
  background-color: var(--works-color-orange-sub);
  border-radius: 0 20px 20px 0;
  overflow: visible;
}

.p-cho__heroPanel > .c-colorBalls {
  z-index: 0;
}

.p-cho__heroPanel .c-colorBall--cream {
  background: rgba(253, 247, 224, 0.274783);
  opacity: 0.274783;
}

.p-cho__heroTitle {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 0.02em;
}

/* 同心円リング（index.html の scroll 柄と同系統） */
.p-cho__rings {
  position: absolute;
  z-index: 1;
  left: -32px;
  top: 101px;
  width: 92px;
  height: 92px;
  pointer-events: none;
  mix-blend-mode: screen;
}

.p-cho__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid var(--works-color-orange-sub);
  border-radius: 50%;
  translate: -50% -50%;
}

.p-cho__ring:nth-child(1) {
  width: 40px;
  height: 40px;
  opacity: 0.596051;
}

.p-cho__ring:nth-child(2) {
  width: 56px;
  height: 56px;
  opacity: 0.403912;
}

.p-cho__ring:nth-child(3) {
  width: 74px;
  height: 74px;
  opacity: 0.196951;
}

.p-cho__ring:nth-child(4) {
  width: 92px;
  height: 92px;
  opacity: 0.0953789;
}

.p-cho__heroPortrait {
  position: relative;
  z-index: 2;
  margin: -49px 0 0 20px;
  width: calc(100% - 20px);
  max-width: none;
  aspect-ratio: 424 / 240;
  overflow: hidden;
  border-radius: 20px 0 0 20px;
  background-color: #d5d5d5;
}

.p-cho__heroPortrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* SP color balls（Figma 390基準） */
.p-cho__heroPanel > .c-colorBalls .c-colorBall:nth-child(1) {
  top: -20px;
  left: -20px;
  width: 102px;
  height: 103px;
}

.p-cho__heroPanel > .c-colorBalls .c-colorBall:nth-child(2) {
  top: 24px;
  left: 71px;
  width: 50px;
  height: 51px;
}

.p-cho__heroPanel > .c-colorBalls .c-colorBall:nth-child(3) {
  top: 34px;
  left: 233px;
  width: 49px;
  height: 48px;
}

.p-cho__heroPanel > .c-colorBalls .c-colorBall:nth-child(4) {
  top: 96px;
  left: 315px;
  width: 85px;
  height: 83px;
}

.p-cho__heroPanel > .c-colorBalls .c-colorBall:nth-child(5) {
  top: 164px;
  left: 188px;
  width: 30px;
  height: 30px;
}

/* ---- Body ---- */
.p-cho__content {
  position: relative;
  z-index: 1;
  padding: 64px 0 80px;
}

.p-cho__heading {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
  color: var(--works-color-text);
}

.p-cho__rule {
  display: block;
  width: 100%;
  height: 3px;
  margin: 20px 0 0;
  border: 0;
  background-color: var(--works-color-orange);
}

.p-cho__block {
  margin-top: 20px;
}

.p-cho__block + .p-cho__block {
  margin-top: 32px;
}

.p-cho__subHeading {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--works-color-text);
}

.p-cho__texts {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.p-cho__text {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  color: var(--works-color-text);
}

.p-cho__flow .p-cho__media--right {
  margin-top: 24px;
  margin-bottom: 24px;
}

.p-cho__flow > .p-cho__subHeading {
  padding-top: 32px;
}

.p-cho__row {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.p-cho__media {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  background-color: #bcbcbc;
  aspect-ratio: 350 / 233;
}

.p-cho__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.p-cho__col {
  width: 100%;
}

.p-cho__lead {
  display: none;
}

.p-cho__media--sp {
  display: block;
  margin-top: 48px;
}

.p-cho__media--pc {
  display: none;
}

.p-cho__media--right {
  margin-top: 48px;
}

/* ========================================
   PC（768px〜）
======================================== */
@media (min-width: 768px) {
  .p-cho__hero {
    padding: 20px 0 0;
  }

  .p-cho__heroInner {
    position: relative;
    min-height: calc(59px + 32.8125vw);
  }

  .p-cho__heroPanel {
    width: 65.625%;
    max-width: none;
    min-height: 0;
    aspect-ratio: 840 / 380;
    padding: 0 48px 0 79px;
    display: flex;
    align-items: center;
    border-radius: 0 40px 40px 0;
  }

  .p-cho__heroTitle {
    font-size: 40px;
    line-height: 48px;
    max-width: 340px;
  }

  .p-cho__rings {
    left: 25px;
    top: auto;
    bottom: -16px;
    width: 173px;
    height: 173px;
  }

  .p-cho__ring:nth-child(1) {
    width: 76px;
    height: 76px;
  }

  .p-cho__ring:nth-child(2) {
    width: 108px;
    height: 108px;
  }

  .p-cho__ring:nth-child(3) {
    width: 139px;
    height: 139px;
  }

  .p-cho__ring:nth-child(4) {
    width: 173px;
    height: 173px;
  }

  .p-cho__heroPortrait {
    position: absolute;
    top: 59px;
    right: 0;
    left: auto;
    margin: 0;
    width: 65.625%;
    max-width: none;
    aspect-ratio: 840 / 420;
    border-radius: 40px 0 0 40px;
  }

  /* PC color balls（Figma 1280基準） */
  .p-cho__heroPanel > .c-colorBalls .c-colorBall:nth-child(6) {
    top: -130px;
    left: -51px;
    width: 215px;
    height: 215px;
  }

  .p-cho__heroPanel > .c-colorBalls .c-colorBall:nth-child(7) {
    top: 50px;
    left: 117px;
    width: 96px;
    height: 96px;
  }

  .p-cho__heroPanel > .c-colorBalls .c-colorBall:nth-child(8) {
    top: 47px;
    left: 387px;
    width: 93px;
    height: 90px;
  }

  .p-cho__heroPanel > .c-colorBalls .c-colorBall:nth-child(9) {
    top: 310px;
    left: 359px;
    width: 57px;
    height: 56px;
  }

  .p-cho__content {
    padding: 100px 0 120px;
  }

  .p-cho__heading {
    font-size: 26px;
    line-height: 40px;
  }

  .p-cho__rule {
    margin-top: 12px;
  }

  .p-cho__block {
    margin-top: 49px;
  }

  .p-cho__block + .p-cho__block {
    margin-top: 64px;
  }

  .p-cho__subHeading {
    margin-bottom: 16px;
    line-height: 1.2;
  }

  .p-cho__row {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
  }

  .p-cho__media--pc {
    display: block;
    flex: 0 0 512px;
    width: 512px;
    max-width: 512px;
    aspect-ratio: 512 / 341;
    border-radius: 0;
    background-color: transparent;
  }

  .p-cho__media--sp {
    display: none;
  }

  .p-cho__media--right {
    margin-top: 64px;
    margin-left: auto;
    margin-right: 8px;
    flex: none;
    width: 512px;
    max-width: 100%;
    aspect-ratio: 512 / 341;
    border-radius: 0;
    background-color: transparent;
  }

  .p-cho__col {
    flex: 1 1 auto;
    min-width: 0;
  }

  .p-cho__text {
    font-size: 16px;
    line-height: 23.7px;
  }

  .p-cho__flow {
    display: flow-root;
  }

  .p-cho__flow > .p-cho__subHeading {
    padding-top: 64px;
  }

  .p-cho__flow .p-cho__media--right {
    float: right;
    margin: 0 0 24px 40px;
  }

  .p-cho__lead {
    display: block;
    margin: 36px 0 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 23.7px;
    color: var(--works-color-text);
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .p-cho__heroPanel {
    padding-left: 40px;
    padding-right: 28px;
  }

  .p-cho__heroTitle {
    font-size: 32px;
    line-height: 40px;
  }

  .p-cho__heroPortrait {
    top: 40px;
  }

  .p-cho__heroInner {
    min-height: calc(40px + 32.8125vw);
  }

  .p-cho__content {
    padding-top: 64px;
  }

  .p-cho__media--pc,
  .p-cho__flow .p-cho__media--right {
    flex-basis: 40%;
    width: 40%;
    max-width: 40%;
  }
}
.u-pcOnly {
  display: none;
}

@media (min-width: 768px) {
  .u-pcOnly {
    display: block;
  }

  .u-spOnly {
    display: none;
  }
}