/* ============================================================== */
/* 楕円のボタン */
/* ============================================================== */
.button_ellipse a {
  display: block;
  position: relative;
  margin: 0 auto;
  padding: 1em 2em;
  width: 300px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  background-color: #2f557a;
  border-radius: 50vh;
  transition: 0.3s;
}
.button_ellipse a::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 50px;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: #fac547;
  border-radius: 50vh;
}
.button_ellipse a::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 70px;
  transform: translateY(-50%) rotate(45deg);
  width: 1rem;
  height: 1rem;
  border-top: 3px solid #2f557a;
  border-right: 3px solid #2f557a;
}
.button_ellipse a:hover {
  text-decoration: none;
  background-color: #ccc;
}

/* ============================================================== */
/* お問合せ帯 */
/* ============================================================== */
.border_sec{
  background-image: linear-gradient(150deg, rgba(250, 197, 71, 1), rgba(47, 85, 122, 1));
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.border_sec figure{
  width: 20%;
}
.border_article{
  display: flex;
  align-items: center;
}
.border_article_comment{
  position:relative;
  padding:1rem 1.5rem;
  text-align:left;
  font-weight:bold;
  margin: 1rem;
}
.border_article_comment::after{
  border: solid transparent;
  content:'';
  height:0;
  width:0;
  pointer-events:none;
  position:absolute;
  border-top-width:10px;
  border-bottom-width:10px;
  border-left-width:30px;
  border-right-width:30px;
  margin-top: -10px;
  border-right-color:#2f557a;
  right:99%;
  top:50%;
}
.border_parts{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.border_parts i{
  margin-right: 1rem;
}
.border_parts a{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.border_parts figure{
  width: 50%;
  height: 7rem;
}
.border_parts figure img{
  height: 100%;
  object-fit: cover;
}
.border_parts_tel,.border_parts_mail{
  border-radius: 100px;
  width: 45%;
  height: 7rem;
  overflow: hidden;
  box-shadow: 6px 6px 6px 0px rgba(0, 0, 0, 0.45);
}
.border_parts_tel:hover,.border_parts_mail:hover{
  transform: translate(4px, 4px);
  box-shadow: none;
  transition: 0.3s;
}
.border_parts_mail i{
  font-size: 2rem;
}


/* ============================================================== */
/* ページネーション */
/* ============================================================== */
.nav-links{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 2rem auto;
}
.current{
  border: 1px solid #41337e;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  color: #fff;
  background-color: #41337e;
}
.page-numbers{
  border: 1px solid #41337e;
  padding: 0.5rem 1rem;
  border-radius: 10px;
}
.next,.prev{
  border: none;
  text-decoration: underline;
}

/* ============================================================== */
/* ContactForm7カスタマイズ */
/* ============================================================== */
#contact_section{
  width: 100%;
  background-color: #fac547;
}
.contact_adjust{
  background-color: #FFF;
  width: 80%;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
}
.contact7_area label{
  font-size: clamp(1.125rem, 1.0795rem + 0.1942vw, 1.3125rem);
}
.contact7_area dl,
.contact7_area dt,
.contact7_area dd
{
  display: flex;
  margin-bottom: 1rem;
  gap: 1rem;
  justify-content: end;
  align-items: center;
}
.contact7_area dl:last-of-type{
  align-items: flex-start;
}
.contact7_area dd{
  min-width: 50%;
}
.req{
  padding: 0.5rem;
  margin-right: 1rem;
}
.wpcf7-text,.wpcf7-select,.wpcf7-textarea{
  border: 1px solid #000;
}
.wpcf7-text{
  height: 2rem;
  padding: 0.5rem;
}
.wpcf7-select{
  height: 3rem;
  padding: 0 2rem;
}
.accept_area,.submit_area{
  text-align: center;
}
.submit_area{
  transform: translateX(30px);
  margin-top: 3rem;
}
.contact_submit{
  border-radius: 100px;
  padding: 0.5rem 2rem;
  font-size: clamp(1.125rem, 1.0795rem + 0.1942vw, 1.3125rem);
  color: #FFF;
}
input[type="submit" i]:disabled {
  background-color: #ccc;
}
input[type="submit" i]{
  background-color: #2f557a;
}

/* ============================================================== */
/* 404 */
/* ============================================================== */
.notfound_container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 50vh;
}
/* ============================================================== */
/* privacy_policy */
/* ============================================================== */
.privacy_policy_container{
  width: 100%;
  padding: 5rem 5rem 2rem;
}
.privacy_policy_container:last-of-type{
  padding: 2rem 5rem 5rem;
}
.privacy_policy_container h2{
  margin: 2rem 0 1rem;
}
.privacy_policy_container h3{
  margin: 1rem 0;
}
.privacy_policy_container ul{
  padding-left: 1rem;
  margin: 1rem 0;
}
.privacy_policy_container a{
  text-decoration: underline;
  color: #41337e;
}

/* ============================================================== */
/* ==============  2023タプレット 601-1024px   ==================== */
/* ============================================================== */
@media screen and (max-width:1024px){
  .contact7_area dl,
  .contact7_area dt,
  .contact7_area dd{
    align-items: baseline;
    flex-direction: column;
  }
  .border_sec{
    background-image: linear-gradient(180deg, rgba(255, 250, 188, 1), rgba(255, 51, 133, 1));
  }
  .border_sec,.border_article,.border_parts{
    flex-direction: column;
  }
  .border_parts_tel, .border_parts_mail{
    width: 70%;
    margin: 1rem;
  }
  .border_article_comment::after{
    display: none;
  }
  .border_article_text{
    text-align: center;
    padding: 1rem 2rem;
  }
}

/* ============================================================== */
/* ==============  2023スマホ     375-600px   ==================== */
/* ============================================================== */
@media screen and (max-width:600px){
  .privacy_policy_container{
    padding: 5rem 1rem 2rem;
  }
  .privacy_policy_container:last-of-type{
    padding: 2rem 1rem 5rem;
  }
  .border_sec figure{
    width: 30%;
  }
  .border_parts_tel, .border_parts_mail{
    width: 85%;
    margin: 0;
  }
  .contact_adjust{
    width: 90%;
  }

}