@charset "utf-8";

/* =======================================
   day.css
   デイサービス（day.php）専用スタイル
   - 特徴セクション（.sec_point / .point3）
   - 1日の流れ（.flow_oneday）
   - サービス（.service）
   - 在籍スタッフ（.staff）
   ======================================= */



/*--------------------------------
  特徴：3つのポイント（.point3）
---------------------------------*/

#day .point3 {
    position: relative;
  margin-top: 120px;
  width: 100%;
  background-color: #C8D9C8;
  border-radius: 5px;
  padding: 80px 0 90px;
}

#day .point-block {
  width: 975px;
  max-width: 100%;
  margin: 0 auto 60px;
}

#day .point-block:last-of-type {
  margin-bottom: 0;
}

#day .point-block h2 {
  margin: 0 0 30px;
  text-align: center;
}

#day .point-block h2 img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}




/*--------------------------------
  1日の流れ（flow_oneday）
---------------------------------*/

#day .flow_oneday {
    margin: 150px auto;
  }
  
  #day .flow_oneday h2 {
    text-align: center;
  }
  
  #day .flow_oneday h2 img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }
  
  /* カード全体 */
  
  #day .day-flow {
    width: 975px;
    max-width: 100%;
    margin: 40px auto 0;
    background-color: #F7F7ED;
    border-radius: 34px;
    padding: 40px 40px 50px;
    display: grid;
    grid-template-columns: 1.1fr 1.4fr;
    column-gap: 40px;
  }
  
  /* 左：午前・午後の時間表 */
  
  #day .day-flow-times {
    border-right: 1px solid #D8E2C8;
    padding-right: 30px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  
  #day .day-flow-col h3 {
    margin: 0 0 12px;
    font-family: "kinuta-maruminold-stdn", serif;
    font-size: 1.4rem;
    color: #6D7B52;
  }
  
  #day .day-flow-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  #day .day-flow-col li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px;
    border-radius: 12px;
    margin-bottom: 6px;
    background-color: #FFFFFF;
  }
  
  #day .day-flow-col li:last-child {
    margin-bottom: 0;
  }
  
  #day .day-flow-col .time {
    font-weight: 700;
    color: #6D7B52;
  }
  
  #day .day-flow-col .label {
    font-size: 0.9rem;
    color: #777;
  }
  
  /* 右：当日の流れステップ */
  
  #day .day-flow-detail h3 {
    margin: 0 0 10px;
    font-family: "kinuta-maruminold-stdn", serif;
    font-size: 1.4rem;
    color: #6D7B52;
  }
  
  #day .day-flow-steps {
    counter-reset: flow-step;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  #day .day-flow-steps li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 14px;
    line-height: 1.7;
  }
  
  #day .day-flow-steps li::before {
    counter-increment: flow-step;
    content: counter(flow-step);
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background-color: #00A63C;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  #day .day-flow-steps strong {
    font-weight: 700;
    color: #6D7B52;
  }
  



/* =======================================
   スマホ（max-width:600px）
   ======================================= */

@media (max-width: 600px) {

  /* ポイント3 */

  #day .point3 {
    margin-top: 18vw;
    padding: 10vw 0 14vw;
  }

  #day .point-block {
    width: 90vw;
    margin-bottom: 10vw;
  }
  #day .point-block h2 img{
    width: 35%;
  }
  #day .point-block h2 img[alt="リラクゼーション"]{
    width: 70%;
  }


/*--------------------------------
  1日の流れ スマホ
---------------------------------*/

    #day .flow_oneday {
      margin: 18vw auto;
    }
    #day .flow_oneday h2 img {
        width: 50%;
    }
  
    #day .day-flow {
      width: 90vw;
      padding: 6vw 5vw 8vw;
      grid-template-columns: 1fr;
      row-gap: 6vw;
    }
  
    #day .day-flow-times {
      border-right: none;
      border-bottom: 1px solid #D8E2C8;
      padding-right: 0;
      padding-bottom: 5vw;
    }
  
    #day .day-flow-col h3 {
      font-size: 4.2vw;
    }
  
    #day .day-flow-col li {
      padding: 3vw;
    }
  
    #day .day-flow-col .time {
      font-size: 3.6vw;
    }
  
    #day .day-flow-col .label {
      font-size: 3.2vw;
    }
  
    #day .day-flow-detail h3 {
      font-size: 4.2vw;
    }
  
    #day .day-flow-steps li {
      padding-left: 8vw;
      margin-bottom: 3vw;
      font-size: 3.4vw;
    }
  
    #day .day-flow-steps li::before {
      width: 5.2vw;
      height: 5.2vw;
      font-size: 3vw;
    }
  


}
