@charset "utf-8";

/* セクションごとのタイトル */
.section_ttl {
  font-size: clamp(30px, 5vw, 38px);
  text-align: center;
  font-weight: 700;
}

/* infoのmoreボタン */


.more_btn {
  font-size: 20px;
  position: absolute;
  right: 0;
  bottom: 100px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 25px;
}

.more_btn a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.more_btn h3 {
  position: relative;
  font-weight: 500;
  font-size: clamp(17px, 2vw, 18px);
}

.more_btn h3::before {
  content: "";
  display: inline-block;
  width: 100%;
  height: 1px;
  background: var(--cl_main);
  position: absolute;
  bottom: -8px;
  left: 0;
}

.circle {
  width: 50px;
  height: 50px;
  background: #6fbafd;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle::after {
  opacity: 0;
  content: "";
  display: inline-block;
  width: 1px;
  height: 1px;
  background: #6fbafd20;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all .2s;
}

.circle::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1px;
  background: #6fbafd20;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all .2s;
}

@keyframes circleanime1 {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(200);
    opacity: 0;
  }
}

@keyframes circleanime2 {
  0% {
    transform: scale(0);
  }

  50% {
    transform: scale(90);
  }

  100% {
    transform: scale(75);
  }
}

/* ホバーアニメーション */
.more_btn:hover .circle:after {
  opacity: 1;
  animation: 1s circleanime1 forwards;
}

.more_btn:hover .circle::before {
  opacity: 1;
  animation: 1s circleanime2 forwards .38s;
}

.circle img {
  width: 30%;
}

@media screen and (max-width: 660px) {
  .more_btn {
    gap: 20px;
  }

  .more_btn:hover .circle:after {
    opacity: initial;
    animation: none;
  }

  .more_btn:hover .circle::before {
    opacity: initial;
    animation: none;
  }

}

/* ===============================================
ひだまり家についてボタン
=============================================== */

.about_btn {
  width: 75%;
  min-width: 260px;
  display: block;
  position: relative;
  background: #6FBAFE;
  font-size: 18px;
  max-width: 330px;
  margin: 0 auto;
  color: var(--cl_wh);
  padding: 20px 0;
  border-radius: 5px;
  text-align: center;
}

.about_btn::after {
  content: "";
  display: inline-block;
  background-image: url(../image/icon/arrow.svg);
  background-position: center;
  width: 13px;
  height: 15px;
  position: absolute;
  top: 50%;
  right: 25px;
  transform: translateY(-50%);
  transition: all .3s;
}

.about_btn:hover {
  color: var(--cl_wh);
}

.about_btn:hover:after {
  right: 15px;
}

/* ===============================================
messageの部分
=============================================== */

.explanation {
  font-family: var(--ff_noto);
  text-align: center;
  font-size: 17px;
  line-height: 1.9;
  font-weight: 400;
}

.explanation span {
  display: inline-block;
}

/* ===============================================
サブビジュアル
=============================================== */

.sv {
  width: 100%;
  height: 370px;
  position: relative;
  background-image: url("../image/sv/recruit.jpg");
  background-size: cover;
  background-position: 47% 99%;
  z-index: 0;

}

.sv::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: inherit;
  filter: brightness(75%);
  /* 最背面へ */
  z-index: -1;
}

.sv h1 {
  width: 90%;
  margin: 0 auto;
  text-align: center;
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(32px, 8.5vw, 40px);
  letter-spacing: .1em;
  font-weight: 500;
  color: var(--cl_wh);
}

@media screen and (max-width: 970px) {
  .sv h1 {
    top: 50%;
  }
}


/* ページネーション */
.wp-pagenavi {
  margin: 65px 0;
  text-align: center;
}

.wp-pagenavi a {
  margin: 0 10px;
  color: #3b2f1450;
}

.current {
  display: inline-block;
  padding: 10px;
  color: #fff;
  background: var(--cl_main);
  border-radius: 10px;
}

/* ===============================================
パンくずリスト
=============================================== */


/* パンくずリスト */
.pan_list {
  width: min(90%, 1200px);
  margin: 0 auto;
  font-size: 15px;
  color: var(--cl_wh);
  padding: 10px 0;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--ff_noto);
  letter-spacing: .1em;
}

.pan_list ul {
  display: flex;
  align-items: center;
}

.pan_list ul li {
  list-style: none;
  font-size: clamp(13px, 1.8vw, 15px);
}


.pan_list li:nth-child(1) a {
  display: flex;
  align-items: center;
}

.pan_list li:nth-child(2)::before, .pan_list li:nth-child(3)::before {
  content: ">";
  padding: 0 5px 0 8px;
}

.pan_list ul img {
  width: 20px;
}

/* ===============================================
レイアウト調整
=============================================== */
.clear {
  clear: both;
  margin-bottom: 45px;
}

.alignleft {
  float: left;
  margin-right: 30px;
  margin-bottom: 25px;
  max-width: 575px !important;
  height: auto;
}

.pmove {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-top: 40px;
  padding-bottom: 40px;
  margin-bottom: 50px;
  display: block;
  width: 100%;
  position: relative;
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  background-color: #ffffff;
  margin-top: 65px;
  text-align: center;
  position: relative;
}

.pmove a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all .3s;
}

.pmove a:hover {
  background: #cccccc30;
}

/* ===============================================
点滅アニメーション
=============================================== */
.blinking {
  animation: blink .8s ease-in-out infinite alternate;
}

@keyframes blink {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }

}

/* ===============================================
nolinkのときの動き
=============================================== */
li.nolink:hover .info_img img {
  transform: scale(1);
}


.aligncenter {
  display: block;
  margin: 0 auto;
  padding-bottom: 15px;
  max-width: 100%;
  height: auto;
}

.alignright {
  float: right;
  margin-left: 30px;
  margin-bottom: 15px;
  max-width: 575px !important;
  height: auto;
}

.alignleft {
  float: left;
  margin-right: 30px;
  margin-bottom: 15px;
  max-width: 575px !important;
  height: auto;
}

.aligncenter img, .alignright img, .alignleft img {
  max-width: 100%;
  height: auto;
}

@media screen and (max-width: 1150px) {
  .aligncenter {
    display: block;
    margin: 0 auto;
    padding-bottom: 15px;
    max-width: 100%;
    text-align: center;
  }

  .alignright {
    float: none;
    margin: 0 auto;
    margin-bottom: 0;
    padding-bottom: 15px;
    max-width: 800px !important;
    text-align: center;
    display: block;
  }

  .alignleft {
    float: none;
    margin: 0 auto;
    margin-bottom: 0;
    padding-bottom: 15px;
    max-width: 800px !important;
    text-align: center;
    display: block;
  }
}

.clear .caption {
  text-align: center;
}

/* ===============================================
管理画面　記事にliが入ったときのレイアウト
=============================================== */
.clear ul li {
  list-style: inside;
  list-style-type: disc;
  padding-left: 1.5em;
  text-indent: -1.5em;
  text-align: justify;
}

.clear ol li {
  list-style: inside;
  list-style-type: decimal;
  padding-left: 1.5em;
  text-indent: -1.2em;
  text-align: justify;
}