/* 03-recommend: OUTSTANDING経営塾とは（about） + 経営の悩み（worries） */
/* 権威ソース: Figma SP版 node 4324:386 / 390x2332px。実装は440px基準（Figma値×440/390÷10=rem） */

.rc {
  position: relative;
  width: 100%;
}

/* ---------------- about ---------------- */

.rc-about {
  position: relative;
  z-index: 2; /* worriesの背景帯より前面（Figmaでは推薦者パネルが帯に重なる） */
}

.rc-about-head {
  text-align: center;
}

.rc-about-en {
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  font-size: 4.5rem;
  line-height: 1.2;
  text-transform: uppercase;
  color: rgba(24, 55, 104, 0.12);
}

.rc-about-title {
  margin-top: 1.1rem;
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-size: 4.3rem;
  line-height: 1.2;
  letter-spacing: -0.17rem;
  color: #183768;
  white-space: nowrap;
}

.rc-about-title-sm {
  letter-spacing: 0; /* Figma「とは？」は字詰めなし（「経営塾」のみ-1.52px） */
}

.rc-about-photo {
  position: relative;
  width: 35rem;
  height: 24.8rem;
  margin: 3.6rem 0 0 9rem;
  overflow: hidden;
}

.rc-about-photo-img {
  position: absolute;
  top: -15.44%;
  left: -0.37%;
  width: 125.53%;
  height: 118.16%;
  max-width: none;
  object-fit: cover;
}

.rc-about-labels {
  position: relative;
  z-index: 2;
  margin-top: -3.4rem; /* 写真の下端に重なる */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

.rc-about-label {
  display: inline-flex;
  align-items: center;
  padding: 0.11rem 1.13rem 0.34rem 2.26rem;
  background: #183768;
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-size: 2.93rem;
  line-height: 1.4;
  letter-spacing: -0.12rem;
  color: #ffffff;
  white-space: nowrap;
}

.rc-about-body {
  width: 39.04rem;
  margin: 2.5rem auto 0;
}

.rc-about-lead {
  position: relative;
  min-height: 55.3rem;
}

.rc-about-lead-text {
  position: relative;
  z-index: 1;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 1.814; /* 点線間隔32.65pxに一致 */
  letter-spacing: 0.05rem;
  color: #183768;
  word-break: break-word;
}

.rc-about-strong {
  font-weight: 600;
}

.rc-about-marker {
  font-weight: 500;
  /* 黄色マーカーを中央帯方式に統一（rsと同じ）。点線セル中央・文字中央に合わせる */
  background-image: linear-gradient(#fff88f, #fff88f);
  background-repeat: no-repeat;
  background-size: 100% 2.2rem;
  background-position: 0 50%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.rc-about-lines {
  position: absolute;
  z-index: 2;
  /* 破線罫は文字ブロック内に配置し、原点を文字ブロック(=行ボックス)に一致させる。
     これでSafari/Chrome両方で罫線が行境界に揃う。行高(3.2652rem)間隔・maskで破線化 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* 罫線1本を各タイル上端に描画。background-size(=行間隔)とposition-yはJSが実測値で上書き */
  background-image: linear-gradient(
    to bottom,
    rgba(24, 55, 104, 0.2) 0, rgba(24, 55, 104, 0.2) 0.113rem, transparent 0.113rem);
  background-repeat: repeat;
  background-size: 100% 3.2652rem;
  background-position: 0 0;
  -webkit-mask-image: repeating-linear-gradient(
    to right, #000 0, #000 0.226rem, transparent 0.226rem, transparent 0.452rem);
  mask-image: repeating-linear-gradient(
    to right, #000 0, #000 0.226rem, transparent 0.226rem, transparent 0.452rem);
}

.rc-about-founders {
  margin-top: 3.4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.7rem;
  width: 100%;
  padding: 1.7rem 2rem 1.7rem 2.26rem;
  background: #f8f8f8;
  border: 0.11rem solid rgba(24, 55, 104, 0.2);
}

.rc-about-founder {
  width: 34.75rem;
}

.rc-about-founder-name {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: 1.58rem;
  line-height: 1.6;
  color: #183768;
}

.rc-about-founder-desc {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.8;
  color: #183768;
  word-break: break-word;
}

/* ---------------- worries ---------------- */

.rc-worries {
  position: relative;
  z-index: 1;
  margin-top: -6.6rem; /* Figmaでは背景帯上端(y=5172.8)が推薦者パネル下端(y=5239)より上 */
  height: 85.52rem;
}

.rc-worries-bgtop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 32.15rem;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 100%);
}

.rc-worries-bgtop-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rc-worries-bgtop-overlay {
  position: absolute;
  inset: 0;
  background: rgba(24, 55, 104, 0.8);
}

.rc-worries-bgbtm {
  position: absolute;
  top: 32.15rem;
  left: 0;
  width: 100%;
  height: 53.36rem;
  background: #183768;
}

.rc-worries-inner {
  position: absolute;
  top: 11.85rem;
  left: 2.26rem;
  width: 39.49rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.4rem;
}

.rc-worries-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
}

.rc-worries-en {
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  font-size: 4.5rem;
  line-height: 1.2;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.rc-worries-title {
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 0 1.13rem rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.rc-worries-title-lg {
  font-size: 3.61rem;
  letter-spacing: -0.29rem;
}

.rc-worries-title-sm {
  font-size: 3.16rem;
  letter-spacing: -0.25rem;
}

.rc-worries-panel {
  position: relative;
  width: 100%;
  height: 25.38rem;
}

.rc-worries-panel-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rc-worries-list {
  position: absolute;
  top: 2.71rem;
  left: 2.48rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rc-worries-item {
  display: flex;
  align-items: center;
  gap: 1.02rem;
}

.rc-worries-check {
  flex-shrink: 0;
  width: 1.8rem;
  height: 1.79rem;
  margin-top: 0.2rem;
}

.rc-worries-item-text {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1.8;
  color: #183768;
  white-space: nowrap;
}

.rc-worries-photo {
  position: absolute;
  right: -1.02rem;
  bottom: -3.39rem;
  z-index: 2;
  width: 14.89rem;
  height: 10.83rem;
  object-fit: cover;
  object-position: bottom;
  /* 透過カットアウト画像のため、四角い枠の影(box-shadow)は付けない */
}

.rc-worries-paras {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  width: 100%;
  text-align: center;
}

.rc-worries-para {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 1.8;
  letter-spacing: 0.05rem;
  color: #ffffff;
}

.rc-worries-underline {
  text-decoration: underline;
  text-underline-position: from-font;
}
