@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700;800&display=swap');
:root {
  --gap: 8px;
  --ink: #fff;
  --text: #20252c
}
* {
  box-sizing: border-box
}
html {
  scroll-behavior: smooth
}
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: 'Noto Sans JP', sans-serif;
  -webkit-font-smoothing: antialiased
}
a {
  color: inherit;
  text-decoration: none
}
img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover
}
.hero {
  width: 100%;
  overflow: hidden
}
.hero img {
  height: auto;
  aspect-ratio: 1672/941;
  object-fit: cover
}
.recruit-content {
  width: 100%;
  margin: 0;
  padding: 0 var(--gap) 38px
}
.recruit-heading {
  position: relative;
  min-height: 166px;
  background: linear-gradient(105deg, #83c5ee, #6cb3ec 55%, #8dcfe9);
  overflow: hidden;
  color: #fff
}
.recruit-heading::after {
  content: "";
  position: absolute;
  right: -4%;
  top: -95px;
  width: 430px;
  height: 250px;
  background: radial-gradient(ellipse, #fff7 0, transparent 70%);
  transform: rotate(-15deg)
}
.recruit-heading__inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 15px 38px
}
.recruit-heading h1 {
  margin: 0;
  font-size: clamp(30px, 5.2vw, 72px);
  font-weight: 500;
  letter-spacing: .045em;
  line-height: 1.5
}
.recruit-heading h1 span {
  font-size: .53em;
  white-space: nowrap;
  margin-left: .6em
}
.recruit-heading p {
  margin: 12px 0 0;
  font-size: 12px;
  letter-spacing: .13em;
  line-height: 1.65;
  text-align: right;
  font-weight: 700
}
.feature-grid {
  display: grid;
  grid-template-columns: 1.18fr .97fr .94fr .94fr;
  grid-template-rows: 270px 230px 270px;
  gap: var(--gap);
  margin-top: var(--gap)
}
.tile {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #b8d5df
}
.tile img {
  transition: transform .6s ease
}
.tile:is(a):hover img {
  transform: scale(1.045)
}
.tile__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .43), transparent 62%)
}
.tile__text {
  position: absolute;
  bottom: 17px;
  left: 22px;
  right: 15px;
  color: var(--ink);
  text-shadow: 0 1px 5px #0004;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px
}
.tile__text--top {
  top: 24px;
  bottom: auto;
  gap: 10px
}
.tile__text > span:not(.tile__detail) {
  font-size: clamp(17px, 1.8vw, 26px);
  line-height: 1.55;
  font-weight: 700
}
.tile__text strong {
  font-size: clamp(18px, 2vw, 27px);
  line-height: 1.35
}
.tile__detail {
  font-size: 13px;
  font-weight: 600
}
.script {
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: .08em;
  font-size: 20px
}
.tile--story {
  grid-column: 1;
  grid-row: 1/3
}
.tile--about {
  grid-column: 2;
  grid-row: 1/3
}
.tile--talk1 {
  grid-column: 3/5;
  grid-row: 1
}
.tile--talk2 {
  grid-column: 3/5;
  grid-row: 2
}
.tile--work {
  grid-column: 1;
  grid-row: 3
}
.tile--staff {
  grid-column: 2;
  grid-row: 3
}
.tile--data {
  grid-column: 3/5;
  grid-row: 3;
  background: #fff;
  display: grid;
  grid-template-columns: 34% 66%;
  align-items: center;
  padding: 12px 18px
}
.data-heading .script {
  color: #f1785c
}
.data-heading h2 {
  font-size: clamp(19px, 2vw, 29px);
  line-height: 1.5;
  margin: 5px 0 0
}
.data-grid {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px
}
.data-grid > div {
  border-bottom: 1px solid #d9dde1;
  padding: 2px 0 7px
}
.data-grid dt {
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap
}
.data-grid dd {
  font-size: clamp(21px, 2.3vw, 31px);
  font-weight: 800;
  margin: 0 0 0 24px;
  line-height: 1.1
}
.data-grid dd small {
  font-size: 12px
}
.data-icon {
  display: inline-block;
  width: 23px;
  color: #ff856c;
  font-size: 20px;
  vertical-align: middle
}
.data-grid > div:nth-child(2) .data-icon {
  color: #80bc2d
}
.data-grid > div:nth-child(3) .data-icon {
  color: #f8a332
}
.data-grid > div:nth-child(4) .data-icon {
  color: #f9ad27
}
.entry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 26px 25px 0
}
.entry-card {
  position: relative;
  height: 170px;
  overflow: hidden;
  color: white;
  background: #a9d3e5
}
.entry-card img {
  transition: transform .5s
}
.entry-card:hover img {
  transform: scale(1.04)
}
.entry-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 20%, #ff7b82d9 80%)
}
.entry-card--career::after {
  background: linear-gradient(90deg, transparent 20%, #62b8efdd 80%)
}
.entry-card__content {
  position: absolute;
  z-index: 1;
  left: 49%;
  top: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px
}
.entry-card__content strong {
  font-size: clamp(21px, 2.2vw, 32px)
}
.entry-card__content small {
  font-size: 12px
}
.entry-card__arrow {
  position: absolute;
  z-index: 1;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #fa8792;
  width: 40px;
  height: 40px;
  font-size: 23px
}
.entry-card--career .entry-card__arrow {
  color: #69b6e6
}
@media(max-width:900px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, 240px)
  }
  .tile--story {
    grid-column: 1;
    grid-row: 1/3
  }
  .tile--about {
    grid-column: 2;
    grid-row: 1/3
  }
  .tile--talk1 {
    grid-column: 1;
    grid-row: 3
  }
  .tile--talk2 {
    grid-column: 2;
    grid-row: 3
  }
  .tile--work {
    grid-column: 1;
    grid-row: 4
  }
  .tile--staff {
    grid-column: 2;
    grid-row: 4
  }
  .tile--data {
    grid-column: 1/3;
    grid-row: 5;
    min-height: 185px
  }
  .recruit-heading__inner {
    padding: 20px
  }
  .entry-grid {
    margin: 20px 0 0;
    gap: 10px
  }
  .entry-card__content {
    left: 36%
  }
}
@media(max-width:600px) {
  :root {
    --gap: 7px
  }
  .recruit-content {
    padding: 0 var(--gap) 22px
  }
  .hero img {
    aspect-ratio: 1448/1086
  }
  .recruit-heading {
    min-height: 138px
  }
  .recruit-heading__inner {
    padding: 16px;
    align-items: flex-end
  }
  .recruit-heading h1 {
    font-size: clamp(25px, 7vw, 40px);
    line-height: 1.5
  }
  .recruit-heading h1 span {
    display: block;
    font-size: .63em;
    margin-left: 0
  }
  .recruit-heading p {
    font-size: 8px;
    flex-shrink: 0
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, 175px);
    gap: var(--gap)
  }
  .tile--story {
    grid-column: 1;
    grid-row: 1/3
  }
  .tile--about {
    grid-column: 2;
    grid-row: 1/3
  }
  .tile--talk1 {
    grid-column: 1/3;
    grid-row: 3
  }
  .tile--talk2 {
    grid-column: 1/3;
    grid-row: 4
  }
  .tile--work {
    grid-column: 1;
    grid-row: 5;
    min-height: 190px
  }
  .tile--staff {
    grid-column: 2;
    grid-row: 5;
    min-height: 190px
  }
  .tile--data {
    grid-column: 1/3;
    grid-row: 6;
    min-height: 170px;
    padding: 10px
  }
  .tile__text {
    left: 12px;
    bottom: 12px;
    right: 8px
  }
  .tile__text--top {
    top: 13px
  }
  .tile__text > span:not(.tile__detail) {
    font-size: clamp(13px, 3.2vw, 18px)
  }
  .tile__text strong {
    font-size: clamp(15px, 4vw, 23px)
  }
  .tile__detail {
    font-size: 10px
  }
  .script {
    font-size: 15px
  }
  .data-heading h2 {
    font-size: 19px
  }
  .data-grid {
    gap: 7px
  }
  .data-grid dt {
    font-size: 9px
  }
  .data-grid dd {
    font-size: 22px
  }
  .entry-grid {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 15px
  }
  .entry-card {
    height: 140px
  }
  .entry-card__content {
    left: 45%
  }
}
@media(prefers-reduced-motion:reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important
  }
}
/* Kanden-style scroll story: fixed image, progressive blur, passing message */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}
.scroll-story {
  position: relative;
  display: flow-root;
  isolation: isolate;
  background: #edf5f8
}
.scroll-story__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  margin-bottom: -100vh;
  margin-bottom: -100svh
}
.scroll-story__image, .scroll-story__veil {
  position: absolute;
  inset: 0
}
.scroll-story__image {
  will-change: filter, transform;
  filter: blur(var(--hero-blur, 0px));
  transform: scale(var(--hero-scale, 1));
}
.scroll-story__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top
}
.scroll-story__veil {
  background: rgba(200, 182, 158, var(--hero-shade, 0));
}
.scroll-story__intro {
  position: relative;
  height: 100vh;
  height: 100svh;
  pointer-events: none
}
.scroll-story__message {
  position: relative;
  z-index: 1;
  color: white;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0 6vw;
}
.message-inner {
  width: min(850px, 100%);
  display: grid;
  grid-template-columns: 32% 1fr;
  gap: 4vw;
  text-shadow: 0 1px 8px #22394e55
}
.message-inner__eyebrow {
  font-size: clamp(19px, 3vw, 37px);
  font-weight: 800;
  font-style: italic;
  margin: 0;
  line-height: 1.3;
  letter-spacing: .04em
}
.message-inner__eyebrow span {
  display: block;
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0;
  margin-top: 8px
}
.message-inner__body {
  font-size: clamp(17px, 2.05vw, 27px);
  font-weight: 700;
  line-height: 2.1;
  letter-spacing: .055em
}
.message-inner__body p {
  margin: 0 0 3.6em
}
.recruit-content {
  position: relative;
  z-index: 2;
  background: white;
  padding-top: var(--gap)
}
.feature-grid { margin-top: 0; }
.pickup-heading {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  height: 12vw;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: transparent;
}
.pickup-heading span {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 12.2vw;
  font-style: normal;
  font-weight: 800;
  letter-spacing: -.06em;
  white-space: nowrap;
  line-height: .9;
  color: transparent;
  -webkit-text-stroke: 2px #fff;
}
@media(max-width:600px) {
  .scroll-story__image img {
    object-position: 50% 0%
  }
  .scroll-story__message {
    padding: 10svh 7vw 14svh
  }
  .message-inner {
    display: block
  }
  .message-inner__eyebrow {
    margin-bottom: 32px
  }
  .message-inner__body {
    font-size: 17px
  }
  .message-inner__body p {
    margin-bottom: 2.6em
  }
  .pickup-heading span {
    -webkit-text-stroke: 1px #fff
  }
}
@media(prefers-reduced-motion:reduce) {
  .scroll-story {
    height: auto !important;
    background: #f1f5f8
  }
  .scroll-story__sticky {
    position: relative;
    margin-bottom: 0;
    height: auto;
    aspect-ratio: 1448/1086
  }
  .scroll-story__image {
    filter: none !important;
    transform: none !important
  }
  .scroll-story__veil {
    display: none
  }
  .scroll-story__intro {
    display: none
  }
  .scroll-story__message {
    position: relative;
    top: auto;
    min-height: auto;
    background: #7998b2;
    padding: 50px 7vw
  }
  .pickup-heading {
    background: #7998b2
  }
}
/* メッセージの締め */
.message-inner__closing {
  font-weight: 800;
}

/* Heroにもカードの仕切りと同じ白い外枠を表示。ぼかしの影響を受けない。 */
.scroll-story__sticky::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: var(--gap) solid #fff;
  pointer-events: none;
}

/* 数字で見るこころえんの上部写真 */
.tile--data {
  padding-top: 102px;
}
.data-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 900px) {
  .tile--data { min-height: 275px; }
}
@media (max-width: 600px) {
  .tile--data { min-height: 240px; padding-top: 80px; }
  .data-photo { height: 70px; }
}

/* 人物を中央に残し、左右の余白にコピーを配置 */
.hero-copy {
  position: absolute;
  z-index: 1;
  top: 50%;
  bottom: auto;
  left: 3%;
  right: 3%;
  transform: translateY(-50%);
  display: grid;
  grid-template-columns: 35% 26% 39%;
  align-items: center;
  margin: 0;
  color: #fff;
	text-shadow: 1px 1px 22px rgba(0, 0, 0, 0.4);
  font-size: clamp(24px, 8vw, 200px);
  font-weight: 800;
  font-style: normal;
  line-height: 1.05;
  white-space: nowrap;
}
.hero-copy .hero-a {
  grid-column: 1;
  letter-spacing: -.06em;
}
.hero-copy .hero-b {
  grid-column: 3;
  font-size: clamp(32px, 9.5vw, 200px);
  letter-spacing: -.1em;
}
@media (max-width: 700px) {
  .hero-copy {
    top: auto;
    bottom: clamp(32px, 8svh, 80px);
    left: 5%;
    right: 5%;
    transform: none;
    grid-template-columns: 1fr;
    gap: .25em;
    font-size: clamp(22px, 10vw, 120px);
  }
  .hero-copy .hero-a,
  .hero-copy .hero-b { grid-column: 1; }
  .hero-copy .hero-b { font-size: 1.45em; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-story__intro {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: auto;
    aspect-ratio: 1448 / 1086;
  }
  .hero-copy { top: 43%; bottom: auto; }
}

/* 左コピーの2行表示 */
.hero-copy .hero-a {
  letter-spacing: -.025em;
}
/* スマートフォンでは「子どもとともに / 私も育つ」の2行 */
@media (max-width: 700px) {
  .hero-copy__break { display: none; }
}
