@charset "UTF-8";

/* ==================================================
   相談員募集：ページタイトル
   共通の色・書体・ヘッダーは/common/style.cssを使用
   ================================================== */
.recruit-hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  border-bottom: 1px solid #e9ece1;
}

.recruit-hero-inner {
  position: relative;
  max-width: 1240px;
  margin: auto;
  padding: 66px 40px 62px;
}

.recruit-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--forest);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: calc(clamp(27px, 3.5vw, 40px) * var(--text-scale, 1));
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: .09em;
}

.recruit-hero-inner::before,
.recruit-hero-inner::after {
  content: "";
  position: absolute;
  right: 75px;
  top: -75px;
  width: 310px;
  height: 310px;
  border: 1px solid #d7dfcd;
  border-radius: 50%;
}

.recruit-hero-inner::after {
  right: 8px;
  top: -110px;
  width: 300px;
  height: 300px;
  border-color: #e1e6d7;
}

/* ==================================================
   募集期間と本文
   ================================================== */
.recruit-main {
  max-width: 960px;
  margin: auto;
  padding: 55px 40px 70px;
}

.recruit-period {
  margin: 0 0 33px;
  padding: 22px 27px;
  border-left: 2px solid #96ae8c;
  border-radius: 0 5px 5px 0;
  background: #f1f4eb;
  color: var(--forest);
  font-size: calc(17px * var(--text-scale, 1));
  line-height: 1.9;
}

.recruit-copy p {
  margin: 0 0 20px;
  color: #45584a;
  font-size: calc(15px * var(--text-scale, 1));
  line-height: 2.25;
  letter-spacing: .045em;
  overflow-wrap: anywhere;
}

/* ==================================================
   事務局への問い合わせ
   スマートフォンでは電話番号から発信可能
   ================================================== */
.recruit-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 35px;
  padding: 25px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.recruit-contact p {
  margin: 0;
  color: #5b6b5c;
  font-size: calc(13px * var(--text-scale, 1));
  line-height: 1.9;
}

.recruit-contact a {
  padding: 7px 0;
  color: var(--forest);
  font-size: calc(24px * var(--text-scale, 1));
  font-weight: 550;
  letter-spacing: .02em;
  white-space: nowrap;
}

.recruit-contact a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* ==================================================
   募集要項PDF
   hrefのファイル名は提供原稿から変更しない
   ================================================== */
.recruit-download {
  margin-top: 40px;
  padding: 31px 32px 35px;
  border: 1px solid #e1e6d8;
  border-radius: 6px;
  background: #fafaf6;
  text-align: center;
}

.download-description {
  margin: 0 0 21px;
  color: #60715f;
  font-size: calc(12px * var(--text-scale, 1));
  line-height: 1.9;
}

.application-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  min-width: 290px;
  max-width: 100%;
  padding: 18px 26px;
  border: 1px solid var(--forest);
  border-radius: 4px;
  background: var(--forest);
  color: #fff;
  font-size: calc(16px * var(--text-scale, 1));
  letter-spacing: .07em;
  transition: background .2s;
}

.application-link:hover {
  background: var(--deep);
}

.application-link svg {
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==================================================
   スマートフォン向け調整
   ================================================== */
@media (max-width: 760px) {
  .recruit-hero-inner {
    padding: 38px 24px;
  }

  .recruit-hero h1 {
    font-size: calc(30px * var(--text-scale, 1));
  }

  .recruit-hero-inner::before {
    right: -100px;
    top: -90px;
    width: 240px;
    height: 240px;
  }

  .recruit-hero-inner::after {
    right: -150px;
    top: -125px;
    width: 250px;
    height: 250px;
  }

  .recruit-main {
    padding: 34px 24px 43px;
  }

  .recruit-period {
    margin-bottom: 26px;
    padding: 19px 17px;
    font-size: calc(15px * var(--text-scale, 1));
  }

  .recruit-copy p {
    font-size: calc(14px * var(--text-scale, 1));
    line-height: 2.15;
    letter-spacing: .025em;
  }

  .recruit-contact {
    display: block;
    margin-top: 28px;
    padding: 21px 0;
  }

  .recruit-contact a {
    display: inline-block;
    margin-top: 9px;
    font-size: calc(clamp(21px, 6vw, 25px) * var(--text-scale, 1));
  }

  .recruit-download {
    margin-top: 29px;
    padding: 23px 17px 26px;
  }

  .download-description {
    font-size: calc(11px * var(--text-scale, 1));
    margin-bottom: 18px;
    text-align: left;
  }

  .application-link {
    width: 100%;
    min-width: 0;
    gap: 15px;
    padding: 17px 19px;
    font-size: calc(15px * var(--text-scale, 1));
  }
}

/* 印刷時は背景と余白を抑える */
@media print {
  .recruit-hero-inner {
    padding: 25px 40px;
  }

  .recruit-main {
    padding: 25px 40px;
  }

  .recruit-download {
    break-inside: avoid;
  }
}


/* スマホの本文・補足説明は16px以上で表示 */
@media screen and (max-width: 760px) {
  .recruit-copy p,
  .recruit-contact p,
  .download-description,
  .recruit-period,
  .application-link {
    font-size: calc(16px * var(--text-scale, 1));
  }
}
