@charset "UTF-8";

/*  ------------------*/

/* keyvisual（txt-catch無し版） */
#keyvisual .main-slide {
  width: 100%;
  overflow: hidden;
}

#keyvisual .main-slide .bg-area{
  position: relative;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  padding-bottom: 56.5%;
}

/* 動画をカバー表示（background-size:cover 相当） */
#keyvisual .kv-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@media screen and (max-width: 480px){
  #keyvisual .main-slide .bg-area{
    padding-bottom: 56%;
  }
}


/* 
最初　about-catch
============================================== */

/* 添付レイアウト（テキスト左＋画像2枚右、下に画像1枚） */
#about-catch{
  position: relative;
  padding: 40px 0 70px; /* 下の画像ぶんの余白 */
  overflow: visible;
}

/* 2カラム */
#about-catch .catch-layout{
  display: grid;
  grid-template-columns: 1.15fr 1fr; /* 左を少し広め */
  gap: 20px;
  align-items: start;
}

/* テキスト */
#about-catch .catch-ttl{
  margin: 0 0 22px;
  font-size: 30px;
  line-height: 1.5;
  font-weight: 700;
}
#about-catch .catch-desc p{
  margin: 0 0 18px;
  line-height: 1.9;
  font-size: clamp(18px, 1.8vw, 20px);
}

/* 右：画像2枚の配置 */
#about-catch .catch-images{
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  justify-items: end;
}

#about-catch .catch-img{
  margin: 0;
}
#about-catch .catch-img img{
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* 上の大きい画像 */
#about-catch .catch-img--main{
  width: min(520px, 100%);
}

/* 右下の小さい画像（少し左に寄せる） */
#about-catch .catch-img--sub{
  width: min(340px, 100%);
  justify-self: end;
  margin-right: 2rem;
}

/* 下の中央画像（重なるように下へ） */
#about-catch .catch-img-bottom{
  position: relative;
  margin: 0;
  width: min(500px, 100%);
margin-left: auto;
    margin-right: 400px;
    margin-top: -55px;
}
#about-catch .catch-img-bottom img{
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 1300px){
#about-catch .catch-img-bottom {
    margin-top: 10px;
}
}

/* タブレット以下：崩れ防止 */
@media (max-width: 900px){
  #about-catch{
    padding-bottom: 80px;
  }

  #about-catch .catch-layout{
    grid-template-columns: 1fr;
    gap: 26px;
  }

  #about-catch .catch-images{
    justify-items: start;
  }

  #about-catch .catch-img--main,
  #about-catch .catch-img--sub{
    width: 100%;
    max-width: 520px;
  }
#about-catch .catch-img--sub{
      margin-right: 0rem;
}
  #about-catch .catch-img-bottom{
display: none;
  }
}
@media screen and (max-width: 767px) {

}

@media (max-width: 480px){
  #about-catch .catch-ttl{
    font-size: 22px;
  }
}




@media screen and (max-width: 767px) {

}


/* 
いわき福祉会について　about-intro
============================================== */


/* 直前の画像より“下側”に背景が回り込むようにする（安全策） */
#about-catch{ position: relative; z-index: 2; }

#about-intro{
  position: relative;
  z-index: 1;
  padding: 0px 0 70px;
  overflow-y: visible;
}


/* 右側の水色背景（上に伸ばして、前セクションの画像下にかぶせる） */
#about-intro::before{
 content:"";
  position: absolute;
  top: -140px;         /* かぶせ量 */
  bottom: 0;
  left: 0;      
  right: 55%;
  background: #ebf4ff;
  z-index: 0;
}

#about-intro .inner,
#about-intro .about-intro-box{
  position: relative;
  z-index: 1;          /* 水色より前 */
}

/* 白いボックス */
#about-intro .about-intro-box{
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 40px 46px;
    max-width: 1200px;   /* 好みで 1000〜1200 */
  margin: 0 auto;
}

/* 見出し */
#about-intro .about-intro-ttl{
  margin: 0 0 26px;
  text-align: center;
  font-size: clamp(24px, 2.7vw, 34px);
  font-weight: 800;
  letter-spacing: .03em;
}

/* 2カラム（左：文章／右：画像1枚） */
#about-intro .about-intro-grid{
  display: grid;
  grid-template-columns: 1fr min(520px, 48%);
  gap: 34px;
  align-items: center;
}

/* 左テキスト */
#about-intro .about-intro-lead{
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.7;
}
#about-intro .about-intro-desc{
  margin: 0 0 18px;
  line-height: 1.9;
}

/* ボタン（シンプル） */
#about-intro .about-intro-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ebf4ff;
  text-decoration: none;
  font-weight: 700;

  position: relative;
  padding: 10px 56px 10px 25px;

}


#about-intro .about-intro-btn::after{
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: url(../img/common/icn_y.png) no-repeat center / 14px 14px;
}






/* 右の大画像 */
#about-intro .about-intro-photo{
  margin: 0;
}
#about-intro .about-intro-photo img{
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 1376px){
#about-intro .inner{
  padding: 0 2rem;
}
}


/* 900px以下：背景の回り込みを弱めて1カラムに */
@media (max-width: 900px){
  #about-intro{
    padding: 40px 0 50px;
  }
  #about-intro::before{
    top: 0;
    width: 100%;
    height: 100%;
  }
  #about-intro .about-intro-box{
    padding: 28px 22px;
  }
  #about-intro .about-intro-grid{
    grid-template-columns: 1fr;
  }
  #about-intro .about-intro-btn{

  }
}
@media (max-width: 500px){
#about-intro .about-intro-ttl{
      margin: 0 0 10px;
}
#about-intro .inner{
  padding: 0 1rem;
}
      
}




/* 
スタッフ　staff-interview
============================================== */

/* =========================
   職員インタビュー
========================= */

#staff-interview{
  position: relative;
  padding: clamp(18px, 2vw, 24px) 0 ;
  margin: clamp(22px, 2.9vw, 38px) 0;
}

/* #about-intro::before と同系統の背景（今回は #f6fcf4） */
#staff-interview::before{
  content:"";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 25%;       /* 背景の始まり位置：40〜55%で調整 */
  right: 0;
  background: #f6fcf4;
  z-index: 0;
      height: 80%;
}

/* 中身の幅を about-intro-box と同じにする（白箱なし） */
#staff-interview .staff-interview-wrap{
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 46px;
}

#staff-interview .staff-ttl{
  margin: 0 0 10px;
  text-align: center;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: .03em;
}
#staff-interview .staff-sub{
  margin: 0 0 26px;
  text-align: center;
  line-height: 1.8;
}

/* 4枚カード */
#staff-interview .staff-cards{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* クリック領域＝画像全体 */
#staff-interview .staff-card{
  position: relative;
  display: block;
  text-decoration: none;
  overflow: hidden;
}

#staff-interview .staff-card img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5; /* 近い比率に固定（不要なら削除OK） */
  object-fit: cover;
}

/* 下の暗いグラデ＋ラベル */
#staff-interview .staff-card::after{
  content:"";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0));
}

#staff-interview .staff-card__label{
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  color: #fff;
  font-size: clamp(20px, 2.4vw, 25px);
  letter-spacing: .05em;
}

/* hover（任意） */
#staff-interview .staff-card:hover{
  opacity: .9;
}

/* 767px以下：背景を全幅、カードは2列×2段 */
@media (max-width: 767px){
  #staff-interview{
    padding: 30px 0 40px;
  }
  #staff-interview::before{
    left: 0;
  }
  #staff-interview .staff-interview-wrap{
    padding: 0px 22px;
  }

  #staff-interview .staff-cards{
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

/* 500px以下：見出し少し小さく */
@media (max-width: 500px){
  #staff-interview .staff-ttl{
    font-size: 25px;
    margin: 0 0 10px;
  }
}

/* =========================
   働く環境
========================= */

#work-env{
  position: relative;
  padding: clamp(18px, 2vw, 24px) 0;
  margin: clamp(22px, 2.9vw, 38px) 0;
}

/* 左寄せの背景（右側を白で残す） */
#work-env::before{
  content:"";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 25%;              /* 右の白余白：15〜35%で調整 */
  background: #fff3f6;
  z-index: 0;
}

/* 幅は about-intro / staff-interview と同じ考え方 */
#work-env .work-env-wrap{
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 46px;
}

#work-env .work-env-ttl{
  margin: 0 0 26px;
  text-align: center;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: .03em;
}

/* 2段 */
#work-env .work-env-item{
  display: grid;
  gap: 38px;
  align-items: center;
  margin-top: 28px;
}

/* 上：画像左／文章右 */
#work-env .work-env-item--top{
  grid-template-columns: minmax(0, 520px) 1fr;
}

/* 下：文章左／画像右 */
#work-env .work-env-item--bottom{
  grid-template-columns: 1fr minmax(0, 520px);
}

#work-env .work-env-img{
  margin: 0;
}
#work-env .work-env-img img{
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

#work-env .work-env-head{
  margin: 0 0 10px;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  line-height: 1.7;
}
#work-env .work-env-desc{
  margin: 0 0 18px;
  line-height: 1.9;
}

/* ボタン（右に icn_y2.png） */
#work-env .work-env-btn{
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  text-decoration: none;
  background: rgb(255, 255, 255);
  padding: 10px 66px 10px 40px;
  position: relative;
}

#work-env .work-env-btn::after{
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #fff url(../img/common/icn_y2.png) no-repeat center / 14px 14px;
}

/* SP：縦並び */
@media (max-width: 920px){
  #work-env::before{
    right: 0;  
  }
  #work-env .work-env-wrap{
    padding: 28px 22px;
  }
  #work-env .work-env-item{
    grid-template-columns: 1fr;
    gap: 18px;
  }
  #work-env .work-env-item--bottom .work-env-img{
    order: -1;
  }
}

@media (max-width: 500px){
  #work-env .work-env-ttl{
    font-size: 25px;
    margin: 0 0 10px;
  }
}



/* =========================
   採用情報（背景短め＋カードがはみ出す）
========================= */

#recruit-info{
  position: relative;
  padding: 0 0 clamp(40px, 6vw, 75px);
}

/* 黄色背景＋見出し（ここは全幅） */
#recruit-info .recruit-info-bg{
  background: #ffffe6;
  padding: 46px 0 120px; 
  text-align: center;
}

#recruit-info .recruit-info-ttl{
  margin: 0 0 10px;
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: .03em;
}
#recruit-info .recruit-info-sub{
  margin: 0;
  line-height: 1.8;
}

/* カードは max-width 1200 で中央、黄色背景に重ねる */
#recruit-info .recruit-info-cards{
  max-width: 1250px;
  margin: -90px auto 0;  
  padding: 0 46px;         

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;

  position: relative;
  z-index: 1;
}

/* カード */
#recruit-info .recruit-card{
  position: relative;
  display: block;
  text-decoration: none;
  overflow: hidden;
}
#recruit-info .recruit-card img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

/* 下の暗い帯＋白文字（ラベルは画像の上に載る） */
#recruit-info .recruit-card::after{
  content:"";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0));
}
#recruit-info .recruit-card__label{
  position: absolute;
  left: 16px;
  bottom: 12px;
  z-index: 1;
  color: #fff;

  font-size: clamp(20px, 2.4vw, 25px);
  letter-spacing: .05em;
}

#recruit-info .recruit-card:hover{ opacity: .9; }

/* SP */
@media (max-width: 767px){

  #recruit-info .recruit-info-bg{
    padding: 38px 0 90px;
    background: #ffffff;
  }

  #recruit-info .recruit-info-cards{
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: -60px;
    padding: 0 22px;
  }

}
#about-intro .about-intro-btn,
#about-intro .about-intro-btn:visited,
#work-env .work-env-btn,
#work-env .work-env-btn:visited{
  color: #333;
}

#about-intro .about-intro-btn,
#work-env .work-env-btn{
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}

#about-intro .about-intro-btn:hover,
#work-env .work-env-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.14);
}

#about-intro .about-intro-btn:active,
#work-env .work-env-btn:active{
  color: #fff;
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(0,0,0,.10);
}

#about-intro .about-intro-btn:focus-visible,
#work-env .work-env-btn:focus-visible{
  outline: 3px solid rgba(191,166,201,.55);
  outline-offset: 3px;
}