/*====================================
フォント
M PLUS U
=====================================*/
/**
 * 20261014_橋口修正_M PLUS Uの@importを削除し、functions.phpでトップページだけに読み込むよう統一しました。
 * 下の.mplus-titleは、取得した書体を見出しへ適用する指定です。
 */

.mplus-title {
  font-family: "M PLUS U", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/*====================================
コンテナ部
=====================================*/
.front_container {
  width: 100%;
  margin: 0 auto;

  font-family: 'Noto Sans JP', sans-serif;

  background-color: #FFEDD4;
  /*背景ｍｖ以外の部分のカラー？*/
}

/*====================================
TOP動画（現在画像で置く）
=====================================*/
.front_mv {
  width: 144rem;
  margin: 0 auto;
}

.front_mv video {
  display: block;
  width: 100%;
  height: auto;
}

/*====================================
KANTOとは
=====================================*/
.front-kanto {
  padding-top: 16.4rem;
  margin: 0 auto;
  padding-bottom: 20rem;

  position: relative;
}

.front-kanto img {
  margin: 0 auto;

  flex-shrink: 0;
  /*画像を縮ませない指定*/
  /*ベクター画像*/
}

.front_h3 {
  margin-left: 2.5rem;
  font-size: 3.6rem;
  margin-bottom: 6.6rem;
}

.front-kanto p {
  width: 67.6rem;
  font-size: 2.4rem;
  letter-spacing: 0.1em;
  line-height: 1.708;
}

.front-howto {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*====================================
KANTOとはの１～４画像
=====================================*/
.front_img1 {
  width: min(16.53vw, 23.8rem);
  height: min(16.53vw, 23.8rem);
  object-fit: cover;
  border-radius: 20%;

  flex-shrink: 0;
  /*画像を縮ませない指定*/

  position: absolute;
  top: 10%;
  left: 55%;
  transform: translate(-50%, -50%);
}

.front_img2 {
  width: min(16.53vw, 25.7rem);
  height: min(16.53vw, 25.7rem);
  object-fit: cover;
  border-radius: 20%;

  flex-shrink: 0;
  /*画像を縮ませない指定*/

  position: absolute;
  top: 45%;
  left: 5%;
  transform: translate(-50%, -50%);
}

.front_img3 {
  width: min(16.53vw, 29.7rem);
  height: min(16.53vw, 29.7rem);
  object-fit: cover;
  border-radius: 20%;

  flex-shrink: 0;
  /*画像を縮ませない指定*/

  position: absolute;
  top: 53%;
  right: 4%;
  transform: translate(-50%, -50%);
}

.front_img4 {
  width: min(16.53vw, 26.0rem);
  height: min(16.53vw, 26.0rem);
  object-fit: cover;
  border-radius: 20%;

  flex-shrink: 0;
  /*画像を縮ませない指定*/

  position: absolute;
  top: 70%;
  left: 35%;
  transform: translate(-50%, -50%);
}


/*====================================
front_img1〜4 をスクロールに合わせて
順番に浮かび上がらせる
=====================================*/

/* 初期状態 */
.front-kanto .front_img1,
.front-kanto .front_img2,
.front-kanto .front_img3,
.front-kanto .front_img4 {
  opacity: 0;
  transform: translateY(5rem);
  transition:
    opacity 1.8s ease-out,
    transform 1.8s ease-out;
}

/* 画面内に入った画像 */
.front-kanto .front_img1.is-show,
.front-kanto .front_img2.is-show,
.front-kanto .front_img3.is-show,
.front-kanto .front_img4.is-show {
  opacity: 1;
  transform: translateY(0);
}




/*====================================
SPとPCの切り替え
=====================================*/
.front_sp_only {
  display: none;
}

.front_pc_only {
  display: block;
}

/*====================================
自分らしいを一緒に育てる訪問看護
=====================================*/
.front_h1 {
  font-size: 6.4rem;
  text-align: center;
}

.front_navi {
  margin-top: 11.6rem;
  display: flex;
  gap: 11.8rem;
  justify-content: center;
  align-content: center;
  text-align: center;
}

.front_navi_p {
  font-size: 2.4rem;
  letter-spacing: 0.07em;
  font-weight: 500;
  text-align: center;
}

.front_navi_p:hover {
  color: #ff8d28;
}

.front_circle {
  width: min(16.53vw, 26.4rem);
  height: min(16.53vw, 26.4rem);
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 2.41rem;

  transition: transform 0.6s ease;
}

.front_circle:hover {
  transform: scale(1.2);
}


/*====================================
浮かぶようなアニメーション
=====================================*/
.float-text {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.float-text.is-show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatText {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/*====================================
お知らせフィード
=====================================*/
.front-news {
  margin-top: 9.2rem;
  position: relative;
  padding-bottom: 10.6rem;
  box-sizing: border-box;
  font-size: 2.4rem;
}

.front-news-inner {
  width: 108.6rem;

  position: absolute;
  top: 58%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.front-news-title {
  font-size: 3.6rem;
  margin: 5.31rem 0;
  padding: 0 5rem;
  box-sizing: border-box;
}

.front-news img {
  margin: 0 auto;
  /*ベクター画像2*/
}

.front-news-list {
  list-style: none;
  margin: 0;
  padding: 0;

  font-size: 2.4rem;
}

.front-news-item {
  border-bottom: 0.1rem solid #000;
}

.front-news-item a {
  display: flex;
  align-items: flex-start;
  gap: 5rem;
  padding: 2rem 5rem;
  box-sizing: border-box;
  color: #000;
  text-decoration: none;
}

.front-news-item time {
  flex-shrink: 0;
}

.front-news-text {
  flex: 1;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /*長すぎるタイトルを1行に収めて、語尾を「…」にする*/
}

/*====================================
お知らせフィードのページネーション
=====================================*/
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.8rem;
  margin: 6rem 0;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 3.4rem;
  height: 3.4rem;

  color: #000;
  text-decoration: none;

  font-size: 2.4rem;
}

/* 現在のページ */
.pagination .current {
  border: 0.1rem solid #000;
  border-radius: 50%;
}

/* 前へ・次へ */
.pagination .prev,
.pagination .next {
  width: auto;
  height: auto;

  font-size: 2.4rem;
}


/*お知らせ一覧*/
.front-news-link {
  display: block;
  width: 100%;
  margin-top: 2rem;

  color: #000;
  text-decoration: none;
  font-size: 1.6rem;
  text-align: center;
}


/*====================================
インスタ紹介の部分
=====================================*/
.insta {
  background-color: #fff;
  padding: 16.8rem 8.6rem 15.4rem;
  box-sizing: border-box;
width: 85%;
 /*インスタ部分のサイズ（プラグイン外に余白を作る）*/
margin: 0 auto;

position: relative;
}

.front-insta {
  font-size: 3.396rem;
  color: #598876;
  margin-bottom: 3.2rem;
}

.front-kanto_to {
  font-size: 2.207rem;
  color: #ff8d28;
  text-align: center;
}

.front-seta {
  margin-top: 5rem;
  font-size: 2.207rem;
  color: #538175;
  text-align: center;
}

.front-utari {
  margin-top: 5rem;
  font-size: 2.207rem;
  color: #4C7A61;
  text-align: center;
}

/*====================================
インスタの部分の人画像
=====================================*/
.front_img5 {
  width: 16.4rem;
  height: auto;
  object-fit: cover;

  flex-shrink: 0;
  /*画像を縮ませない指定*/

  position: absolute;
  top: 18%;
  left: 8%;
  transform: translate(-50%, -50%);
}

.front_img6 {
  width: 34.3rem;
  height: auto;
  object-fit: cover;

  flex-shrink: 0;
  /*画像を縮ませない指定*/

  position: absolute;
  top: 38%;
  right: -17%;
  transform: translate(-50%, -50%);
}

.front_img7 {
  width: 33.5rem;
  height: auto;
  object-fit: cover;

  flex-shrink: 0;
  /*画像を縮ませない指定*/

  position: absolute;
  top: 65%;
  left: 13%;
  transform: translate(-50%, -50%);
}

.front_img8 {
  width: 25.4rem;
  height: auto;
  object-fit: cover;

  flex-shrink: 0;
  /*画像を縮ませない指定*/

  position: absolute;
  top: 92%;
   right: -11%;
  transform: translate(-50%, -50%);
}
/*画像にタッチ操作をうけつけないようにする*/
 .front_img5,
  .front_img6,
  .front_img7,
  .front_img8 {
    pointer-events: none;
    user-select: none;
  }




/*====================================
SP版
=====================================*/
@media screen and (max-width: 699.98px) {

  /*====================================
コンテナ部
=====================================*/
  .front_container {
    width: 100%;
    padding: 3rem 0 0;
    box-sizing: border-box;
    background-color: #FFEDD4;
    /*背景ｍｖ以外の部分のカラー？*/
  }

  /*====================================
TOP動画（現在画像で置く）
=====================================*/
  .front_mv {
    width: 35.0rem;
    margin: 0 auto;
  }

  .front_mv video {
    display: block;
    width: 100%;
    height: auto;
  }


  /*====================================
KANTOとは
=====================================*/
  .front-kanto {
    padding-top:7.3rem;
    margin: 0 auto;
    background-color: #FFEDD4;
    padding-bottom: 6.9rem;
    position: relative;
  }

 .front-kanto-top {
    margin: 0 auto;
   width: 80%;
    /*ベクター画像*/
  }

  .front-kanto img {
    margin: 0 auto;
    flex-shrink: 0;
    /*画像を縮ませない指定*/
    }

  .front_h3 {
    font-size: 2.4rem;
    margin-bottom: 8.5rem;
    margin-left: -3.8rem;
  }

  .front-kanto p {
    width: 24.5rem;
    font-size: 1.6rem;
    letter-spacing: 0.1em;
    line-height: 1.708;
  }

  .front-howto {
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

/*====================================
KANTOとはの１～４画像
=====================================*/
  .front_img1 {
    width: 10.2rem;
    height: 10.2rem;
    object-fit: cover;
    border-radius: 20%;

    flex-shrink: 0;
    /*画像を縮ませない指定*/

    position: absolute;
    top: 10%;
    right: -10%;
    transform: translate(-50%, -50%);
  }

  .front_img2 {
    width: 6.0rem;
    height: 6.0rem;
    object-fit: cover;
    border-radius: 20%;

    flex-shrink: 0;
    /*画像を縮ませない指定*/

    position: absolute;
    top: 22%;
    left: 10%;
    transform: translate(-50%, -50%);
  }

  .front_img3 {
    width: 11.5rem;
    height: 11.5rem;
    object-fit: cover;
    border-radius: 20%;

    flex-shrink: 0;
    /*画像を縮ませない指定*/

    position: absolute;
    top: 64%;
    left: -40%;
    transform: translate(-50%, -50%);
  }

  .front_img4 {
    width: 9.0rem;
    height: 8.8rem;
    object-fit: cover;
    border-radius: 20%;

    flex-shrink: 0;
    /*画像を縮ませない指定*/

    position: absolute;
    top: 74%;
    right: -19%;
    transform: translate(-50%, -50%);
  }

  /*====================================
SPオンリー
=====================================*/
  .front_sp_only {
    display: block;
  }

  .front_pc_only {
    display: none;
  }

  /*====================================
自分らしいを一緒に育てる訪問看護
=====================================*/
  .front_h1 {
    font-size: 3.6rem;
    padding: 0rem 1.5rem 0rem;
    box-sizing: border-box;
    text-align: left;
  }

  .front_navi {
    margin-top: 3rem;
    display: flex;
    gap: 2.4rem;
    justify-content: center;
    align-content: center;
  }

  .front_navi_p {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.2em;
  }

  .front_circle {
    width: 8.968rem;
    height: 8.968rem;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
  }

  /*====================================
お知らせフィード
=====================================*/
  .front-news {
    margin-top: 6.8rem;
    position: relative;
    margin-bottom: 6.6rem;
    font-size: 1.6rem;

    min-height: 16rem;
  }

  .front-news-inner {
    width: 39rem;

    position: absolute;
    top: 25rem;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .front-news-title {
    font-size: 2.4rem;
    margin: 4.7rem 0 2.7rem;
    padding: 0 2.7rem;
    box-sizing: border-box;
  }

  .front-news img {
    margin: 0 auto;
    width: 36rem;
    /*ベクター画像4*/
  }

  .front-news-list {
    list-style: none;
    margin: 0;
    padding: 0;

    font-size: 1.6rem;
  }

  .front-news-item {
    border-bottom: 0.1rem solid #000;
    width: 34rem;
    margin: 0 auto;

    height: 5.5rem;
    box-sizing: border-box;
  }

  .front-news-item a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    padding: 1rem 1.8rem;
    box-sizing: border-box;
    color: #000;
    text-decoration: none;

    min-height: 5.5rem;
  }

  .front-news-item time {
    flex-shrink: 0;
  }

  .front-news-text {
    flex: 1;

    min-width: 0;

    line-height: 1.61;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /*====================================
お知らせフィードのページネーション
=====================================*/
  .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2.6rem 0 0;
  }

  .pagination a,
  .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 3.2rem;
    height: 3.2rem;

    color: #000;
    text-decoration: none;

    font-size: 1.6rem;
  }

  /* 現在のページ */
  .pagination .current {
    border: 0.1rem solid #000;
    border-radius: 50%;
  }

  /* 前へ・次へ */
  .pagination .prev,
  .pagination .next {
    width: auto;
    height: auto;

    font-size: 2.4rem;
  }

  /*お知らせ一覧*/
  .front-news-link {
    display: block;
    width: 100%;
    margin-top: 2rem;

    color: #000;
    text-decoration: none;
    font-size: 1.2rem;
    text-align: center;

  }

  /*====================================
インスタ紹介の部分
=====================================*/
  .insta {
    margin-top: 11.3rem;
    background-color: #fff;
    padding: 2.5rem 2.7rem 15.4rem;
    box-sizing: border-box;

  }

  .front-insta {
    font-size: 2.4rem;
    color: #000;
    margin-bottom: 3.2rem;
  }

  .front-kanto_to {
    font-size: 1.6rem;
    color: #ff8d28;
    text-align: center;
  }

  .front-seta {
    font-size: 1.6rem;
    color: #538175;
    text-align: center;
  }

  .front-utari {
    font-size: 1.6rem;
    color: #4C7A61;
    text-align: center;
  }

}