/* base.css */
@charset "utf-8";

/* 色・フォント共通変数 */
:root {
  --font-base: "Noto Sans JP", sans-serif;
  --font-body: "BIZ UDGothic", sans-serif;
  --font-heading: "kinuta-maruminold-stdn", serif;

  --color-bg: #F8F8E6;
  --color-main: #00A63C;
  --color-accent: #DDA848;
  --color-panel: #E7D4A5;
  --color-text: #6D7B52;
  --color-footer: #6D7B52;
}

/* リセット＋ベース */
* {
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  color: inherit;
  font-family: var(--font-base);
  /* border: 1px dotted red; デバッグ用 */
}

body {
  background-color: var(--color-bg);
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 見出し・テキスト */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: normal;
  color: var(--color-main);
}

h3 {
  font-size: 2.1875rem;
  margin-top: 30px;
  line-height: 1.2;
}

h4 {
  font-size: 1.375rem;
}

p,
dd,
.biz-udgothic-regular {
  font-family: var(--font-body);
  font-weight: 400;
  font-style: normal;
  color: var(--color-text);
}

p {
  display: block;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.875rem;
}

/* 汎用レイアウトユーティリティ */
.grid { display: grid; }
.flex { display: flex; }

.aic { align-items: center; }
.jcc { justify-content: center; }
.sb  { justify-content: space-between; }

.tac { text-align: center; }

.pc-only { display: block; }
.sp-only { display: none; }

/* 汎用パーツ */
.yellow-leaf {
  width: 189.27px;
  height: 262.41px;
}
.yellow-leaf img {
  width: 100%;
  height: auto;
}

/* 共通セクション幅 */
section {
  width: 975px;
  margin: 0 auto;
}

/* アニメーション */
.fadeLeft {
  animation-name: fadeLeftAnime;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeLeftAnime {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/*--------------------------------
  特徴セクション（sec_point）各ページ共通
---------------------------------*/

.sec_point {
  position: relative;
  width: 100%;
  padding: 75px 0 150px;
}
#hair .sec_point{
  width: 975px;
}
.sec_point .sec_point-img {
  width: 975px;
  max-width: 100%;
  margin: 0 auto;
}

.sec_point .sec_point-img img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}
  
.sec_point img[alt="特徴-Point-"] {
  width: 34%;
}
/* 上部テキストブロック */

.sec_point .point {
  width: 975px;
  max-width: 100%;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: 50% 50%;
  grid-template-rows: repeat(2, auto);
  grid-template-areas:
    "h1-area h3-area"
    "h2-area text-area";
  row-gap: 20px;
  align-items: center;
}

.sec_point .point h2 {
  grid-area: h1-area;
  margin: 0;
}

.sec_point .point h2 img {
  width: 34%;
  min-width: 120px;
}

.sec_point .point h3 {
  grid-area: h2-area;
  margin: 0;
  font-family: "kinuta-maruminold-stdn", serif;
  line-height: 1.5;
}

.sec_point .point h4 {
  grid-area: h3-area;
  margin: 0;
  font-family: "kinuta-maruminold-stdn", serif;
  line-height: 1.6;
  color: #6D7B52;
}

.sec_point .point p {
  grid-area: text-area;
  margin: 0;
  line-height: 1.8;
}
/* カードのグリッド */

.point-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(25%, 1fr));
  grid-auto-rows: 1fr;
  gap: 24px;
}

.point-card {
  background-color: #fff;
  border-radius: 20px;
  padding: 18px 14px 20px;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .08);
}

.point-card .point-img {
  width: 100%;
  margin-bottom: 10px;
}

.point-card .point-img img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.point-card p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
}

/* 右下のリーフ */

.sec_point .right-leaf {
  position: absolute;
  right: 0;
  bottom: 0;
}

.sec_point .right-leaf img {
  width: 140px;
  height: auto;
}
  /* ---------------------------------------
     サービス（共通）
     --------------------------------------- */
/*--------------------------------
  サービス（service）
---------------------------------*/

.service{
  box-sizing: border-box;
  width: 100%;
  background-color: #E7D4A5;
  border-radius: 20px;
}
#care .service{
  padding: 70px;
}
.service h2 img{
  margin: 0 auto;
}
.service-table {
  padding: 40px 30px;
  max-width: 975px;
  margin: 0 auto 60px;
}

.service-table h2 {
  text-align: center;
  color: #6d8b47;
  font-size: 32px;
  margin-bottom: 6px;
}
.service-table h2 img {
  margin: 0 auto;
}
.service-row {
  display: flex;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-text);
}

.service-row:last-child {
  border-bottom: none;
}

.service-label {
  width: 35%;
  font-weight: bold;
  color: #6d8b47;
  font-size: 18px;
}

.service-content {
  width: 65%;
  font-size: 18px;
  line-height: 1.8;
}

    
    .service h3 {
      grid-area: h3-area;
      margin: 0 auto;
      font-family: "Noto sans jp";
      font-size: 1.375rem;
      font-weight: 600;
      color: #4d4d4d;
      align-self: end;
    }
    
    .service p {
      grid-area: text-area;
      font-family: "Noto sans jp";
      color: #4d4d4d;
      text-align: left;
      width: auto;
      margin: 0 auto;
    }
    
    /* nursing のサービスだけ背景色あり */
    #nursing .service {
      background-color: #C8D9C8;
      padding: 70px;
    }
    
    /* サービス一覧コンテナ */
    .service-container {
      width: 975px;
      display: grid;
      grid-auto-rows: 430px;
      grid-template-columns: repeat(auto-fill, 300px);
      grid-column-gap: 33px;
      grid-row-gap: 40px;
      margin: 60px auto 0;
      text-align: center;
    }
    /* recruitとnummber */
    #recruit .service-container,
    #nummber .service-container {
      width: 975px;
      max-width: 100%;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
      grid-auto-rows: 1fr;
      gap: 30px;
    }
    

    /* 介護ページは高さ拡張 */
    #care .service-container {
      grid-auto-rows: 600px;
    }
    
  
    
    .service-container h3 {
      margin: 16px 0;
    }
    
    .service-container p {
      font-size: 17px;
      margin: 0;

    }
 /* 募集職種カード等のグリッド*/
.service-card {
  text-align: center;
}

.service-card .info {
  display: block;
  text-decoration: none;
  color: inherit;
}

.service-img {
  width: 100%;
}

.service-img img {
  width: 100%;
  border-radius: 20px;
  margin: 0 auto;
}

.service-card p {
  margin: 12px 0 0;
  font-size: 0.95rem;
  line-height: 1.4;
}
#recruit .service-card p{
  font-weight: 600;
}
  /* =========================
   ご対応エリア
   ========================= */

.support-area {
  padding: 100px 0 120px;
  background-color: #e9dfb5; /* もともとのベージュ系に合わせる */
  width: 100%;
}

.support-area h2 {
  text-align: center;
}

.support-area h2 img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* 白いカード本体 */
.support-area .area-wrap {
  max-width: 980px;
  margin: 50px auto 0;
  background-color: #fff;
  border-radius: 40px;
  padding: 40px 60px 48px;
  display: flex;
  gap: 60px;
  align-items: flex-start;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
}

/* 各都道府県ブロック */
.support-area .tokyo,
.support-area .kanagawa {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* 見出し＋リスト部分 */
.support-area .tokyo-area,
.support-area .kanagawa-area {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.support-area h3 {
  margin: 0;
  font-family: "kinuta-maruminold-stdn", serif;
  font-size: 1.4rem;
  color: #6d7b52;
  white-space: nowrap;
}

.support-area ul {
  margin: 0;
  padding-left: 1.2em;
  line-height: 1.8;
  font-size: 0.98rem;
}

.support-area li {
  margin: 0;
}

/* 地図画像 */
.support-area .tokyo-img,
.support-area .kanagawa-img {
  text-align: center;
}

.support-area .tokyo-img img,
.support-area .kanagawa-img img {
  max-width: 230px;
  width: 100%;
  height: auto;
}





  


/*--------------------------------
  在籍スタッフ（staff）
---------------------------------*/

.staff {
  padding: 150px 0 120px;
  width: 100%;
  background-color: #F4F9F4;
}

.staff_ttl {
  width: 975px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.staff_ttl h2 img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.staff_ttl h3 {
  margin: 16px 0 4px;
  font-family: "kinuta-maruminold-stdn", serif;
  font-size: 1.5rem;
  color: #6D7B52;
}

.staff_ttl > p {
  margin: 0 0 32px;
}

/* カード一覧 */

.staff-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.staff-card {
  width: 300px;
  max-width: 100%;
  background-color: #fff;
  border-radius: 24px;
  padding: 20px 18px 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
  text-align: center;
}

.staff-card img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  margin-bottom: 10px;
}

.staff-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 左下のリーフ */

.staff .left-leaf {
  position: absolute;
  left: -40px;
  bottom: -40px;
  z-index: -1;
}

.staff .left-leaf img {
  width: 140px;
  height: auto;
}

@media (max-width:600px){
  h3{
    font-size: 1.375rem;
  }
  h4{
    font-size: 4.5vw;
  }
  
  /* 特徴セクション */

  .sec_point {
    padding: 10vw auto 12vw;
  }
  #hair .sec_point{
    width: 90vw;
  }
  .sec_point .sec_point-img {
    width: 90vw;
  }

  .sec_point .point {
    width: 90vw;
    margin: 5vw auto 0;
    grid-template-columns: 90vw;
    grid-template-rows: auto;
    grid-template-areas:
      "h1-area"
      "img-area"
      "h2-area"
      "h3-area"
      "text-area";
    row-gap: 2vw;
    align-items: center;
  }

  .sec_point .point h2 img {
    width: 30vw;
  }
  .sec_point .point h3{
    font-size: 1.375rem;
    line-height: 1.2;
    text-align: center;
  }

  .point-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .point-card {
    padding: 12px 8px 14px;
  }

  .point-card p {
    width: auto;
    font-size: 3.4vw;
  }
  .sec_point .right-leaf {
    right: 0;
    bottom: 0;
  }

  .sec_point .right-leaf img {
    width: 18vw;
  }
  
    /* service（共通SP） */
    .service {
      grid-template-columns: 1fr;
      grid-template-rows: auto auto auto;
      grid-template-areas:
        "h1-area"
        "h3-area"
        "text-area";
      border-radius: 5px;
      padding-top: 5.5vw;
    }
  
    #nursing .service {
      padding: 8vw;
    }
  
    .service h2 {
      width: auto;
      margin: 0 auto;
      text-align: center;
    }
    .service h2 img[alt="サービス"]{
      width: 45%;
    }
    .service h3 {
      text-align: center;
      font-size: 0.95rem;
    }
  
    .service p {
      width: 90vw;
      margin: 3vw auto;
    }
  
    .service-container {
      width: 90vw;
      grid-template-columns: 1fr;
      grid-auto-rows: auto;
    }
    .service-img img{
      width: 80%;
    }

    /* スタッフ */

    .staff {
      padding: 18vw 0 16vw;
    }
  
  
    .staff_ttl {
      width: 90vw;
    }
  
    .staff_ttl h2 img {
      width: 50%;
    }
  
    .staff_ttl h3 {
      font-size: 4.2vw;
    }
  
    .staff_ttl > p {
      font-size: 3.4vw;
    }
    
    .staff-container {
      flex-direction: column;
      align-items: center;
    }
  
    .staff-card {
      width: 100%;
    }
    .staff-card p {
      width: auto;
    }
  
    .staff .left-leaf {
      left: -6vw;
      bottom: -14vw;
    }
  
    .staff .left-leaf img {
      width: 18vw;
    }
  /* サービス */
  .service-table h2 img {
    width: 50%;
  }

  .service-row {
    display: block;
    padding: 20px 0;
  }
  .service-label {
    width: 100%;
    margin-bottom: 4px;
    font-size: 17px;
  }
  .service-content {
    width: 100%;
    font-size: 16px;
  }

  /* 対応エリア */
  .support-area {
    padding: 16vw 0 18vw;
  }
  .support-area h2 img{
    width: 45%;
  }

  .support-area .area-wrap {
    max-width: 90vw;
    padding: 7vw 6vw 8vw;
    flex-direction: column;
    gap: 24px;
  }

  .support-area .tokyo,
  .support-area .kanagawa {
    gap: 12px;
  }

  .support-area .tokyo-area,
  .support-area .kanagawa-area {
    gap: 10px;
  }

  .support-area h3 {
    font-size: 4.2vw;
  }

  .support-area ul {
    font-size: 3.6vw;
  }

  .support-area .tokyo-img img,
  .support-area .kanagawa-img img {
    max-width: 60vw;
  }

  .support-area .yellow-leaf {
    left: -6vw;
    bottom: -14vw;
  }

  .support-area .yellow-leaf img {
    width: 18vw;
  }
}