@charset "UTF-8";
/*
Theme Name: DOUKI
Description: 株式会社DOUKI様のテンプレートです
Version: 1.0
Author: T.Yamada
*/

html {
  scroll-behavior: smooth;
}

img {
  width: 100%;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}



/* ヘッダー */

header {
  width: 100%;
  background: #fff;

}

.h_main_frame {
  display: flex;
  gap: 0 10px;
  justify-content: space-between;
  box-sizing: border-box;
  align-items: center;
}

.h_left_area {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding-left: 1rem;
}

.sp_contact {
  display: none;
}

nav ul li:last-child {
  display: none;
}

.h_right_area {
  display: flex;
  align-items: center;
}

.contact_area {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0 10px;
  padding-right: 32px;
}

.phone_area {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  color: #222;
  font-family: "Noto Sans JP";
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.phone_rec {
  color: #000;
  font-family: "Noto Sans JP";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

h1 {
  color: #222;
  font-family: "Noto Sans JP";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.h_left_area a {
  color: #111;
  font-family: "Noto Sans JP";
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  display: flex;
  align-items: flex-start;
  gap: 2px;
  transition: background 1000ms;
}

.h_left_area a:hover {
  opacity: 0.7;
}

nav strong {
  display: block;
  color: #222;
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

nav span {
  display: block;
  color: #222;
  text-align: center;
  font-family: "Open Sans";
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.h_right_area a {
  padding: 0.5rem;
  transition: background 1000ms;
}

.h_right_area a:hover {
  color: #188CDD;
  opacity: 0.7;
}

.g-nav {
  display: flex;
  justify-content: flex-end;
}

.g-nav li {
  display: flex;
  width: 128px;
  flex-direction: column;
  align-items: center;
  gap: -14px;
}

.logo {
  width: 48px;
}

.phone_icon {
  width: 24px;
}

.mail_icon {
  width: 24px;
}

.h_contact {
  background: #188CDD;
  border-radius: 20px 0px 0px 20px;
  width: 100px;
  height: 100px;
}



.h_contact a {
  display: flex;
  flex-direction: column;
  width: 100px;
  height: 100px;
  padding: 10px;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
  transition: background 1000ms;
}

.h_contact a:hover {
  opacity: 0.7;
}

.h_contact span {
  color: #FFF;
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* メインビジュアル */

video {
  width: 100%;
}

.mainvisual_sp {
  display: none;
}



/* お知らせエリア */
.news_area {
  padding: 32px 0;
}

.news_box {
  display: flex;
  align-items: center;
  width: 70%;
  margin: 0 auto;
  gap: 32px;
}

.more_icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.news_list {
  display: flex;
  width: 160px;
  height: 36px;
  padding-right: 8px;
  justify-content: center;
  align-items: center;
  gap: 16px;
  border: 1px solid #188CDD;
}

.news_list p {
  color: #222;
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.news_box_title {
  display: flex;
  padding: 0.625rem;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
}

.news_box_title h2 {
  color: #188CDD;
  font-family: 'Damion', cursive;
  font-size: 4rem;
  font-style: normal;
  font-weight: 400;
  vertical-align: text-bottom;
}

.news_box_title p {
  color: #333;
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.news_box_left {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.news_box_left a {
  transition: background 1000ms;
}

.news_box_left a:hover {
  background-color: #188CDD;
  color: #fff;
}

.news_box_right {
  width: 70%;
}

.news_box_right ul {
  border-top: 1px dotted #333;
}

.news_box_right a {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 2.5rem;
  border-bottom: 1px dotted #333;
  padding: 1rem;
  color: #222;
  transition: background 1000ms;
}

.news_box_right a:hover {
  background-color: #188CDD;
  color: #fff;
}

.news_box_right a::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background: url(img/uiw_swap-right.svg) no-repeat;
  background-size: contain;
  margin-left: auto;
}

.sp-list {
  display: none;
}

/* ご挨拶エリア */
.about_area {
  padding: 64px 0;
  background-image: url(img/backgroud-about.jpg);
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
}

.about_title {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about_title h2 {
  color: #fff;
  text-align: center;
  font-family: Damion;
  font-size: 4rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.about_title p {
  color: #fff;
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  position: relative;
  bottom: 16px;
}

.about_text {
  max-width: 64.1875rem;
  height: 8.75rem;
  flex-shrink: 0;
  color: #fff;
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 2.5rem;
  margin: 48px auto 0;
}

/* 事業案内エリア */

.service_area {
  display: flex;
  width: 100%;
  height: 62rem;
}

.service_recruit_bg {
  width: 100%;
  height: 129rem;
  background: url(img/backg_logo_01.jpg);
  background-size: cover;
}

.service_area_in {
  margin-top: 64px;
  width: 100%;
  position: relative;
}

.service_img {
  width: 52%;
  position: absolute;
  left: 4%;
}

.service_img img {
  border-radius: 1.25rem;
}


.service_right {
  background-color: #fff;
  width: 50%;
  border-radius: 1.25rem;
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  padding: 1.5rem 0;
  position: absolute;
  top: 30%;
  left: 45%;
}

.sevice_title {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-left: 2rem;
}

.sevice_title h2 {
  color: #188CDD;
  text-align: center;
  font-family: Damion;
  font-size: 4rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.sevice_title p {
  color: #333;
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.service_text p {
  color: #222;
  font-family: "Noto Sans JP";
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 2rem;
  padding: 16px 0 0 16px;
}

.service_right li {
  padding: 4px;
  margin-left: 64px;
  color: #222;
  font-family: "Noto Sans JP";
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
}


.service_right li::before {
  content: "";
  width: 10px;
  height: 10px;
  display: inline-block;
  background-color: #188CDD;
  border-radius: 50%;
  position: relative;
  top: -1px;
  margin-right: 1rem;
}

/* 採用エリア */

.recruit_title {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 32px;
}

.recruit_title h2 {
  color: #188CDD;
  text-align: center;
  font-family: Damion;
  font-size: 4rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.recruit_title p {
  color: #333;
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  position: relative;
  bottom: 16px;
}

.recruit_area_in {
  width: 80%;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  margin: 0 auto;
  position: relative;
}

.recruit_img {
  width: 11.7505rem;
  height: 17.875rem;
  position: absolute;
  top: 4rem;
  right: -2rem;

  border-radius: 1.25rem;
  background-image: url(img/23053462_s.jpg);
  background-position: 60% 50%;
}

.recruit_area_in dl {
  width: 50%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  padding: 64px 0;
}

.recruit_area_in dt {
  width: 25%;
  text-align: center;
  padding: 16px 0;
  border-bottom: 3px solid #188CDD;
}

.recruit_area_in dd {
  width: 75%;
  text-align: center;
  padding: 16px 0;
  border-bottom: 1px solid #777;
}

/* company_area */

.company_area {
  display: flex;
  width: 100%;
  height: 50rem;
  position: relative;
}

.company_area_left {
  width: 40%;
  padding: 1.5rem 0;
  border-radius: 1.25rem;
  background: #FFF;
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.25);
  position: absolute;
  top: 24%;
  left: 4%;
  z-index: 100;
}

.company_title {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1rem;
}

.company_title h2 {
  color: #188CDD;
  text-align: center;
  font-family: Damion;
  font-size: 4rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.company_title p {
  color: #333;
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.company_area_in dl {
  display: flex;
  flex-wrap: wrap;
  width: 60%;
  margin: 0 auto;
  padding-top: 1rem;
  text-align: center;
}

.company_area_in dt {
  width: 30%;
  border-bottom: 1px solid #999;
  padding: 16px 0;
}

.company_area_in dd {
  width: 70%;
  border-bottom: 1px solid #999;
  padding: 16px 0;
}

.company_area_right {
  width: 62%;
  position: absolute;
  right: 2%;
}

.company_img {
  border-radius: 1.25rem;
  width: 100%;
}

/* contact_area */

.br_sp {
  display: none;
}

.contact_area02 {
  padding: 64px 0;
  border-top: 1px solid #555;
  border-bottom: 1px solid #555;
  background: #E7F4FD;
  margin-top: 64px;
}

.contact_title {
  color: #188CDD;
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.contact_area02_in {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 84px;
  margin-top: 32px;
}

.contact_area02_left {
  display: flex;
  flex-direction: column;
  align-items: center;

}

.phone_area02 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  color: #222;
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 3rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal
}

.phone_icon02 {
  width: 60px;
}

.mail_icon02 {
  width: 48px;
}

.contact_button a {
  background-color: #188CDD;
  border-radius: 1rem;
  display: flex;
  padding: 1rem;
  justify-content: center;
  align-items: center;
  gap: 27px;
  transition: background 800ms;
}

.contact_button a:hover {
  background-color: #0c4b77;
}

.contact_button span {
  color: #FFF;
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.phone_area02 a {
  color: #222;
}


/* footer */

.footer_area {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 80%;
  margin: 32px auto;
}

.f_left_area a {
  color: #222;
  font-family: "Noto Sans JP";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  display: flex;
  align-items: flex-start;
  gap: 2px;
}


.f_logo {
  width: 45px;
}

.map_icon {
  width: 32px;
}

.f_phone_icon {
  width: 32px;
}

.fax_icon {
  width: 32px;
}

.addres {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 2px;
}

.f_phone {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1px;
}

.f_fax {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1px;
}

.f_nav {
  display: flex;
}

.f_nav li {
  padding: 16px;
}

.f_nav strong {
  color: #222;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.f_nav a::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url(img/pepicons-pop_line-x.svg) no-repeat;
  background-size: contain;
  margin-right: 2px;
}

.f_right_area a:hover {
  opacity: 0.7;
}

small {
  color: #fff;
  background-color: #188CDD;
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  font-family: "Noto Sans JP";
  font-size: 12px;
}

.fade {
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  transition: opacity 1s, visibility 1s, transform 1s;
}

/* フェードイン */
.is-fadein {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* topページのメディアクエリ */
@media (max-width: 796px) {

  /* ヘッダーのメディアクエリ */

  header h1 {
    font-weight: 10px;
  }

  .h_main_frame {
    display: flex;
    align-items: center;
  }

  .contact_area {
    display: none;
  }

  .h_contact {
    display: none;
  }

  .h_left_area {
    padding: 0;
    gap: 0;
  }

  .h_left_area span {
    font-size: 24px;
  }

  .logo {
    width: 38px;
  }

  .h_left_area a {
    display: flex;
    align-items: center;
  }

  .sp_contact {
    display: block;
    padding: 8px 4px 4px 4px;
    background-color: #188CDD;
    border-radius: 8px;
    position: relative;
    bottom: 3px;
    /* left: 3px; */
  }

  nav ul li:last-child {
    display: block;
  }

  /* ハンバーガーメニュー */
  header nav {
    box-sizing: border-box;
    position: fixed;
    top: 60px;
    /* display: none; */
    width: 100%;
    height: calc(100% - 60px);
    background: #fff;
    opacity: 0.9;
    /* 3. スライドメニューの場合 */
    /* display: block; */
    right: -100%;
    transition: right .7s;
    z-index: 1;
    /* ここまで */
  }

  header nav.sp_open {
    right: 0;
  }

  header nav ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  header nav ul li a {
    display: block;
    padding: 25px;
    border-radius: 5px;
    color: #666;
    font-size: 1.8rem;
    text-align: center;
    /* text-decoration: none; */
  }

  #openbtn {
    z-index: 200;
    cursor: pointer;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    right: 0;
    display: inline-block;
    width: 60px;
    height: 60px
  }

  #openbtn span {
    position: absolute;
    top: 24px;
    left: 16px;
    display: inline-block;
    width: 30px;
    height: 3px;
    border-radius: 2px;
    background-color: #666;
    vertical-align: top;
  }

  #openbtn span:nth-child(2) {
    margin-top: 10px;
  }

  #openbtn span:last-child {
    margin-top: 20px;
  }

  #openbtn.open span {
    top: 36px;
    left: 14px;
    width: 35px;
    margin: 0;
  }

  #openbtn.open span:first-child {
    transform: rotate(45deg);
  }

  #openbtn.open span:nth-child(2) {
    display: none;
  }

  #openbtn.open span:last-child {
    transform: rotate(-45deg);
  }

  /* メインビジュアルのメディアクエリ */

  .mainvisual_pc {
    display: none;
  }

  .mainvisual_sp {
    display: block;
  }

  /* お知らせのメディアクエリ */
  .news_box {
    /* background-color: pink; */
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .news_box_title {
    display: block;

  }

  .news_box_right a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .news_box_right a::after {
    content: none;
  }

  .news_box_title p {
    position: relative;
    bottom: 1rem;
  }

  .pc_list {
    display: none;
  }

  .sp-list {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;

  }

  .news_box_right {
    width: 95%;
  }

  /* ご挨拶のメディアクエリ */

  .about_area {
    height: 600px;
  }

  .about_text {
    /* background-color: pink; */
    width: 95%;
    height: 12rem;
  }

  .service_area_in {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 0;
  }

  .service_img {
    position: static;
    width: 100%;
    margin-top: 1rem;
  }


  .service_right {
    position: static;
    order: -1;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    width: 100%;

  }

  .service_recruit_bg {
    height: 120rem;
    background-image: url(img/backg_logo_sp04.jpg);
    background-size: cover;
    /* background-repeat: no-repeat; */
  }

  /* 採用のメディアクエリ */

  .recruit_area_in {
    width: 98%;
  }

  .recruit_area_in dl {
    width: 95%;
  }

  .recruit_img {
    position: static;
    display: none;
  }

  /* company_area */

  .company_area_left {
    position: static;
    border-radius: 0;
    box-shadow: none;
    width: 95%;
  }

  .company_title {
    display: block;
    padding-bottom: 1rem;
  }

  .company_area_right {
    position: static;
    width: 100%;
    /* height: 160px; */
  }

  .company_area_in dl {
    width: 95%;
  }

  .company_img {
    /* width: 100%; */
    height: auto;
    object-fit: cover;
  }

  .company_area {
    display: flex;
    flex-direction: column;
  }

  /* contact_area */

  .br_sp {
    display: block;
  }

  .contact_title {
    font-size: 1.25rem;
  }

  .contact_area02_in {
    display: flex;
    flex-direction: column;
  }

  .phone_area02 span {
    font-size: 2rem;
  }

  .phone_icon02 {
    width: 36px;
  }

  .contact_button span {
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
  }

  .mail_icon02 {
    width: 36px;
  }

  /* footer */
  .f_right_area {
    display: none;
  }

  .f_left_area {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* 以下固定ページ */

/* 共通ヘッダー */
.header-img {
  width: 100%;
  height: 170px;
  /* background-image: url(img/header-img.jpg);
  background-size: cover; */
  background-image: url(img/header-img02.jpg);
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
}

.page-title {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 2rem;
  transform: translate(-50%, -50%);
}

.page-title {
  color: #fff;
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 2.5rem;
  font-style: normal;
  font-weight: 500;
}

/* お知らせ詳細ページ */


.news-container {
  width: 70%;
  margin: 64px auto;
  background-color: #fff;
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.25);

}

.news-wrapper {
  box-sizing: border-box;
  padding: 64px;
}

.day-cat {

  text-align: right;
  color: #188CDD;
  font-family: "Noto Sans JP";
}

.post-text {
  font-family: "Noto Sans JP";
  line-height: 2rem;
  padding-bottom: 32px;
}

.post-title {
  padding-bottom: 32px;
}

.page-nav {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  margin-top: 28px;
  border-top: 1px dashed #666666;
  border-bottom: 1px dashed #666666;
  font-size: 0.875rem;
  font-weight: 500;
  color: #666666;
  list-style: none;
}

.page-nav a {
  text-decoration: none;
  color: #777;
  padding: 5px 8px;
  transition: background 500ms;
}


.page-nav a:hover {
  background: #188CDD;
  color: #fff;
}

.page-nav a.to-archive {
  padding: 5px 0;
}

/* お知らせページのメディアクエリ */
@media (max-width: 796px) {
  .news-container {
    width: 95%;
  }

  .news-wrapper {
    padding: 0.5rem;
  }

  .page-nav {
    width: 100%;
  }
}

/* お知らせ一覧ページ */

.news_list_page_container {
  width: 95%;
  margin: 64px auto 16px;
  /* text-align: center; */
}

/* お問い合わせページ */
.box-white {
  background-color: #eee;
  padding: 48px;
}

.form-wrapper {
  max-width: 70%;
  margin: 0 auto;
  background-color: #fff;
  padding: 128px;
  border-radius: 2px;
}

.form-wrapper p {
  line-height: 32px;
  font-size: 1.2rem;
  color: #555;
}

.text-red {
  color: #DA1725;
}

form {
  margin: 32px 0;
}

.form-box {
  width: 100%;
}

.form-box dl {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
}

.form-box dt,
.form-box dd {
  padding-bottom: 30px;
}

.form-box dt {
  font-weight: 400;
  text-align: left;
}

.form-box dt.message {
  padding-top: 10px;
  vertical-align: top;
}

.form-box dd {
  width: 63.993%;
}

.required {
  display: inline-block;
}

.required::after {
  content: "※";
  display: inline-block;
  padding-left: 1em;
  color: #DA1725;
}

.form-style {
  width: 400px;
  padding: 8px;
  box-shadow: 0 0 0 1px #ccc inset;
  border-radius: 4px;
}

.form-style:focus {
  outline: 0;
  box-shadow: 0 0 0 2px rgb(33, 150, 243) inset;
}

.btn-wrapper {
  margin-top: 30px;
  text-align: center;
}

.btn-submit {
  display: inline-block;
  min-width: 220px;
  padding: 10px;
  background-image: linear-gradient(to right, #333 0%, #333 50%, #FFFFFF 50%, #FFFFFF 100%);
  background-size: 200%;
  background-position-x: 0;
  border: 1px solid #333;
  border-radius: 5px;
  color: #FFFFFF;
  text-align: center;
  transition: 0.3s ease-in;
}

.btn-submit:hover {
  background-position-x: 100%;
  color: #333;
}

/* お問い合わせページメディアクエリ */
@media (max-width: 796px) {
  .box-white {
    padding: 16px;
  }

  .form-wrapper {
    max-width: 97%;
    margin: 0 auto;
    padding: 16px;
  }

  .form-wrapper p {
    font-size: 0.9rem;
  }

  .form-box dl {
    display: flex;
    flex-direction: column;
  }

  .form-box dd {
    width: 100%;
  }

  .form-style {
    width: 100%;
  }

}

/* ページトップデモ */
#page-top a {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #188CDD;
  border-radius: 5px;
  width: 60px;
  height: 60px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.6rem;
  transition: all 0.3s;
}

#page-top a:hover {
  background: #777;
}

/*リンクを右下に固定*/
#page-top {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 101;
  /*はじめは非表示*/
  opacity: 0;
  transform: translateX(100px);
}

/*　左の動き　*/

#page-top.LeftMove {
  animation: LeftAnime 0.5s forwards;
}

@keyframes LeftAnime {
  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/*　右の動き　*/

#page-top.RightMove {
  animation: RightAnime 0.5s forwards;
}

@keyframes RightAnime {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 1;
    transform: translateX(100px);
  }
}

/* ページネーション */
.wp-pagenavi {
  display: flex;
  justify-content: flex-end;
  margin-top: 42px;
  padding: 16px;
}

.wp-pagenavi a {
  text-decoration: none;
}

.wp-pagenavi span,
.wp-pagenavi a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #444444;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: 0.3s ease-in;
}

.wp-pagenavi span:not(:last-child),
.wp-pagenavi a:not(:last-child) {
  margin-right: 2.622%;
}

@media screen and (max-width: 768px) {

  .wp-pagenavi span,
  .wp-pagenavi a {
    font-size: 0.875rem;
  }
}

.wp-pagenavi span:hover,
.wp-pagenavi a:hover {
  background-color: #1576BE;
  color: #FFFFFF;
}

.wp-pagenavi span.current {
  background-color: #1576BE;
  color: #FFFFFF;
}

.wp-pagenavi a {
  color: #666666;
}

.wp-pagenavi a.nextpostslink,
.wp-pagenavi a.previouspostslink {
  width: auto;
  padding: 5px 1.2em;
}

/* ４０４ページ */
.page-404 {
  background: #eee;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 60vh;
  color: #777;

}

.page-404 h2 {
  font-size: 2rem;
  padding: 64px;
}