/* =========================================
   Recruit Page (採用情報ページ専用)
   ※共通CSSとは別ファイルで読み込む想定
========================================= */

:root{
  --rec-container: 1200px;
  --rec-text: #333;
  --rec-muted: #666;
  --rec-border: #e6e9ee;
  --rec-bg: #ffffff;
  --rec-accent: #67b4b6;
}

/* base */
.recruit-page{
  color: var(--rec-text);
  background: var(--rec-bg);
}

.rec-container{
  width: min(var(--rec-container), 90%);
  margin: 0 auto;
}

img{
  max-width: 100%;
  height: auto;
  display: block;
}

/* hero catch（service.css踏襲） */
.rec-hero-catch{
  padding: 56px 0 28px;
  text-align: center;
}

.rec-hero-catch__title{
  font-family: "Google Sans", sans-serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 1.3;
  letter-spacing: .02em;
  margin: 0 0 clamp(28px, 4vw, 90px);
  color: #333333;
}

.rec-hero-catch__title br{
	display:none;
}

.rec-gradient{
  font-family: "Google Sans", sans-serif;
  font-weight: 500;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: .02em;
  background: linear-gradient(90deg, #A8C81F, #3CB8B8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rec-hero-catch__lead{
  font-family: "Noto Sans JP", sans-serif;
  margin: 0;
  color: rgba(0,0,0,.62);
  font-size: 18px;
  letter-spacing: 0.1em;
  line-height: 1.9;
}

/* hero image：ブラウザ幅100%（service.cssの100vwフルブリード踏襲） */
.rec-hero-image{
  position: relative;

  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  height: 300px; /* ← 少しだけ高さを上げる */

  background-image: url("../images/recruit/hero.webp");
  background-size: cover;
  background-position: center 30%; /* ← center から差し替え */
  background-repeat: no-repeat;

  background-attachment: fixed;

  overflow: hidden;
  background-position: center 30%;
  height: 300px;
  }

.rec-hero-image::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(22, 59, 72, 0.25);
  pointer-events: none;
}

/* blocks */
.rec-block{
  padding: 56px 0 64px;
  background: #fff;
}

.rec-block--alt{
  background: #fff;
}

/* split（service.cssのsvc-split踏襲） */
.rec-split{
  display: grid;
  gap: 18px;
  align-items: start;
  margin: 18px 0 70px;
}

.rec-split--top{
  margin-top: 6px;
  margin-bottom: 0;
}

.rec-split__text p{
  font-family: "Noto Sans JP", sans-serif;
  margin: 0 0 1em;
  color: rgba(0,0,0,.62);
  font-size: 18px;
  letter-spacing: 0.1em;
  line-height: 1.9;
}

.rec-split__media img{
  width: 90%;          /* ← ここでサイズ調整（85〜95%で好み） */
  margin: 0 auto;      /* 中央寄せ */
  display: block;
}

.rec-lead{
  font-family: "Noto Sans JP", sans-serif;
  margin: 0 0 1em;
  color: rgba(0,0,0,.62);
  font-size: 18px;
  letter-spacing: 0.1em;
  line-height: 1.9;
}

/* feature 3 cards（service.cssのsvc-feature-grid踏襲） */
.rec-feature-grid{
  margin: 28px 0 0;
  display: grid;
  gap: 16px;
}

.rec-feature-card{
  border: 7px solid #B6DCDA;
  background: #fff;
  padding: 18px 16px 16px;
}

.rec-feature-card__img{
  padding: 14px;
  margin-bottom: 12px;
}

.rec-feature-card__img img{
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.rec-feature-card__title{
  margin: 0;
  text-align: center;
  padding: 14px 10px 10px;
  font-family: "Google Sans", sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: .02em;
  text-align: center;
  margin: 0;
  color: #43A59F;
}

.rec-feature-card__text{
  margin: 0;
  padding: 14px 10px 10px;
  font-family: "Google Sans", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.1em;
  margin: 0;
  color: #333;
}

/* manifesto */
.rec-manifesto p{
  font-family: "Noto Sans JP", sans-serif;
  margin: 0 0 1em;
  color: rgba(0,0,0,.62);
  font-size: 18px;
  letter-spacing: 0.1em;
  line-height: 1.9;
}

.rec-manifesto p:last-child{
  margin-bottom: 0;
}

/* wide photo（フルブリード） */
.rec-wide-photo{
  position: relative;

  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  height: 300px; /* ← 少しだけ高さを上げる */

  background-image: url("../images/recruit/manifesto.webp");
  background-size: cover;
  background-position: center 30%; /* ← center から差し替え */
  background-repeat: no-repeat;

  background-attachment: fixed;

  overflow: hidden;
  background-position: center 30%;
  height: 300px;
  }

/* explore */
.rec-explore{
  display: grid;
  gap: 18px;
  align-items: start;
}

.rec-explore__text{
  font-family: "Noto Sans JP", sans-serif;
  margin: 0 0 1em;
  color: rgba(0,0,0,.62);
  font-size: 18px;
  letter-spacing: 0.1em;
  line-height: 1.9;
}

.rec-explore__right{
  display: grid;
  gap: 14px;
}

/* Exploreリンクカード（右端の丸矢印は疑似要素で作成） */
.rec-explore-link{
  position: relative;
  display: block;
  border: 1px solid #44A6A0;
  background: #fff;
  text-decoration: none;
  color: inherit;
  padding: 25px 64px 18px 22px;
  border-radius: 10px;
}

.rec-explore-link::before{
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: #46A6A0;
}

.rec-explore-link::after{
  content: "";
  position: absolute;
  right: 29px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: translateY(-50%) rotate(-45deg);
}

.rec-explore-link:hover{
  background: #f3fbfa;
  transition: background .2s ease;
}

.rec-explore-link__kicker{
  margin: 0 0 8px;
  font-family: "Google Sans", sans-serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: .06em;
  color: #46A6A0;
}

.rec-explore-link__kicker span{
  font-weight: 600;
}


.rec-explore-link__desc{
  font-family: "Noto Sans JP", sans-serif;
  margin: 0 0 1em;
  color: rgba(0,0,0,.62);
  font-size: 15px;
  letter-spacing: 0.1em;
  line-height: 1.8;
}

/* CTA */
.rec-cta{
  position: relative;

  /* フルブリード */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  /* 縦グラデーション背景 */
  background: linear-gradient(
    180deg,
    #B8DCB0 0%,
    #8ED3E2 100%
  );

  padding: 64px 0 72px;
}


.rec-cta__head{
  margin-bottom: 18px;
}

.rec-cta__text{
  font-family: "Noto Sans JP", sans-serif;
  margin: 0 0 1em;
  color: rgba(0,0,0,.62);
  font-size: 18px;
  letter-spacing: 0.1em;
  line-height: 1.9;
}

.rec-cta__actions{
  display: flex;
  align-items: center;
  gap: 32px;
}

/* -------------------------
   Webで相談する（白ピル）
------------------------- */
.rec-cta .btn--web{
  background: rgba(255,255,255,0.85);
  color: #153A47;
  border: none;
  border-radius: 999px;
  padding: 14px 28px;
  opacity: 1;
  transition: background .25s ease, transform .2s ease;
}

.rec-cta .btn--web:hover{
  background: #ffffff;
  transform: translateY(1px); /* 押し込み感 */
}

/* -------------------------
   募集職種を見る（テキストリンク）
------------------------- */
.rec-cta .btn--shokusyu{
  background: transparent;
  border: none;
  width: auto;
  padding: 0;
  color: #153A47;
  font-weight: 500;
  position: relative;
  transition: color .25s ease;
}

.rec-cta .btn--shokusyu::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform .25s ease;
  transform-origin: left;
}

/* hover時 */
.rec-cta .btn--shokusyu:hover{
  color: #0f2d36;
}

.rec-cta .btn--shokusyu:hover::after{
  transform: scaleX(1.08); /* 下線が少し伸びる */
}

/* =========================================
   Media Queries（service.cssと同じ集約方針）
========================================= */

/* 768px以上 */
@media (min-width: 768px){

  .rec-hero-image{
    height: 300px;
  }

  .rec-split{
    grid-template-columns: 1.05fr .95fr;
    gap: 36px;
    align-items: start;
  }

  .rec-feature-grid{
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .rec-explore{
    grid-template-columns: 1fr 1.4fr;
    gap: 36px;
    align-items: start;
  }

  .rec-wide-photo{
    height: 320px;
  }
}

/* 767px以下 */
@media (max-width: 767px){

  .rec-hero-catch__title{
    text-align:center;
    font-size: 20px;
    letter-spacing: 0.06em;
    line-height: 2;
    margin: 0 0 20px;
  }

.rec-hero-catch__title br{
	display:block;
}

  .rec-hero-catch__lead{
    font-size: 14px;
    letter-spacing: 0.06em;
    line-height: 1.9;
    margin: 0;
  }

  .rec-hero-image{
    background-attachment: scroll;
  }

  .rec-split{
    margin-bottom: 20px;
  }

  .rec-split__text p{
    font-size: 15px;
  }

  .rec-split__media img{
    width: 100%;
  }

  .rec-lead{
    font-size: 14px;
  }

  .rec-feature-card__img img{
    width: 80%;
    margin: 0 auto;
  }

  .rec-feature-card__title{
    padding: 14px 10px 0;
    font-size: 18px;
  }

  .rec-feature-card__text{
    font-size: 13px;
  }

  /* SP時：3カードを細めて中央寄せ（service.css踏襲） */
  .rec-feature-grid{
    justify-items: center;
  }

  .rec-feature-card{
    width: 85%;
    max-width: 520px;
  }
  
  .rec-manifesto p{
    font-size: 13px;
  }
  
  .rec-wide-photo{
    background-attachment: scroll;
  }
  
  .rec-explore__text{
    font-size: 13px;
  }
  
.rec-explore-link__kicker{
  font-size: 15px;
}


.rec-explore-link__desc{
  font-size: 13px;
}

.rec-cta{
  padding: 30px 0;
}


.rec-cta__text{
  font-size: 13px;
  margin-bottom:20px;
}

  .rec-cta__actions{
    flex-direction: column;
    gap: 0;
  }
  
}

.rec-cta{
  margin-bottom: 0;
}

main > .section{
  padding-bottom: 0;
 margin-bottom: 0;
}


