@charset "UTF-8";
/*
Theme Name: okazawa-tekko
Description: 株式会社岡沢鉄工様のテンプレートです
Version: 1.0
Author: T.Yamada
*/

/* 全体 */
img {
  width: 100%;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

li {
  list-style: none;
}

body {
  font-family: "Noto Serif JP";
  /* font-family: "Sawarabi Mincho", serif; */
}

.sec_title {
  color: #222;
  text-align: center;
  font-family: "Noto Serif JP";
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.sec_title02 {
  color: #fff;
  text-align: center;
  font-family: "Noto Serif JP";
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* 共通ボタン */

.btn {
  display: inline-block;

}

.btn a {
  padding: 1rem 2rem;
  color: #222;
  border: 1px solid #222;
  transition: background 500ms;
}

.btn a::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background: url(img/right_icon_black.svg) no-repeat;
  background-size: contain;
  margin-left: 1rem;
  position: relative;
  top: 5px;
}

.btn a:hover {
  background-color: #555;
  color: #fff;
}


.btn_02 {
  display: inline-block;

}

.btn_02 a {
  padding: 1rem 2rem;
  color: #fff;
  border: 1px solid #fff;
  transition: background 500ms;
}

.btn_02 a::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background: url(img/right_icon_white.svg) no-repeat;
  background-size: contain;
  margin-left: 1rem;
  position: relative;
  top: 5px;
}

.btn_02 a:hover {
  background-color: #555;
  color: #fff;
}


/* ＝＝ヘッダー＝＝ */

.phone_icon {
  width: 20px;
}

.h_logo {
  width: 20rem;
}

.h_main_frame {
  padding-left: 1rem;
  display: flex;
  /* gap: 0 10px; */
  justify-content: space-between;
  box-sizing: border-box;
  align-items: center;
  box-sizing: border-box;
  height: 4rem;
  padding-top: 1rem;
}

.h_left_area h1 {
  position: relative;
  font-size: 10px;
  color: #fff;
  z-index: -1;
}

.h_left_area a {
  color: #fff;
  font-size: 2rem;

}

.h_left_area span {
  font-size: 1.5rem;
}

.h_right_area {
  display: flex;
  align-items: center;
  padding-top: 1rem;
}

.contact_area {
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: relative;
  /* top: 0.75rem; */
  right: 5.5rem;
}

.contact_area span {
  font-size: 1.5rem;
}

.phone_rec span {
  font-size: 0.75rem;
}

/* ヘッダーのハンバーガメニュー */
#g-nav {
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position: fixed;
  z-index: 999;
  /*ナビのスタート位置と形状*/
  top: 0;
  right: -120%;
  width: 100%;
  height: 100vh;
  /*ナビの高さ*/
  background: #333;
  opacity: 0.7;
  /*動き*/
  transition: all 0.9s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive {
  right: 0;
}



/*ナビゲーション*/
#g-nav ul {
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*リストのレイアウト設定*/

#g-nav li {
  list-style: none;
  text-align: center;
}

#g-nav li a {
  color: #fff;
  text-decoration: none;
  padding: 1rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: normal;
  font-size: 1.5rem;
  opacity: 1;
}

/*========= ボタンのためのCSS ===============*/
.openbtn {
  position: absolute;
  z-index: 9999;
  /*ボタンを最前面に*/
  top: 16px;
  right: 16px;
  cursor: pointer;
  width: 64px;
  height: 64px;
}

/*×に変化*/
.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: #fff;
  width: 45%;
}

.openbtn span:nth-of-type(1) {
  top: 16px;
}

.openbtn span:nth-of-type(2) {
  top: 27px;
}

.openbtn span:nth-of-type(3) {
  top: 38px;
}

.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}

/* ==============ハンバーガメニューここまで================ */

/* ＝＝メインビジュアル＝＝ */

.slider {
  width: 100%;
  position: relative;
  top: -4rem;
  z-index: -1;
  margin-bottom: -4rem;
}

.mainvisual_sp {
  display: none;
}

/* ＝＝挨拶エリア＝＝ */
.about_area {
  background-image: url(img/about_bg03.jpg);
  background-size: cover;
}

.about_area_in {
  padding: 1rem 0;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  margin: 0 auto;

}

.about_title {
  font-weight: 400;
  font-size: 1.75rem;
  padding: 0 2rem;
}

.about_area_in p {
  line-height: 5rem;
  padding-top: 2rem;
  font-size: 1.25rem;
}

.about_sp {
  display: none;
}

/* ＝＝実績エリア＝＝ */

.works_area_in {
  background: #DFDFDF;
  padding-bottom: 5rem;
}

.works_area_list {
  width: 85%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 3rem;
}

.works_area_list li {
  width: 28%;
}

.works_area_list img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.works_area_list figure {
  overflow: hidden;
  position: relative;
}

figcaption {
  width: 100%;
  height: 98%;
  text-align: center;
  color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.4);
  -webkit-transition: all 0.6s ease;
  transition: all 0.6s ease;
}

.works_cat {
  border: 1px solid #fff;
  padding: 0.2rem;
  position: absolute;
  top: 2px;
  right: 2px;
}

.works_area_list a:hover figcaption {
  opacity: 1;
  padding-top: 30%;

}


.works_btn_area {
  text-align: center;
  margin: 7rem 0 5rem;
}



.works_area_title {
  padding: 5rem 0;
}

/* ギャラリーフェードイン */
figure {
  opacity: 0;
  transition: all 1s;
}

figure.active {
  opacity: 1;
}

/* ＝＝岡沢鉄工とはエリア＝＝ */

.profile_area {
  background-image: url(img/profile_area.jpg);
  background-size: cover;
  background-position: center;
}

.profile_area_title {
  padding: 4rem 0;
}

.company_area {
  width: 90%;
  margin: 0 auto 8rem;
  position: relative;
}

.company_left {
  width: 50%;
  position: relative;
  z-index: 1;
}

.company_right {
  background: rgba(34, 34, 34, 0.63);
  width: 50%;
  padding: 3rem;
  position: absolute;
  top: 35%;
  left: 48%;

}




.company_right p {
  color: #FFF;
  font-family: "Noto Serif JP";
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 2rem;
}

.profile_btn_area01 {
  padding-top: 3rem;
}

.recruit_area {
  width: 90%;
  margin: 0 auto;
  padding-bottom: 4rem;
  position: relative;
}

.recruit_left {
  background: rgba(34, 34, 34, 0.63);
  width: 50%;
  padding: 3rem;
  position: absolute;
  top: 30%;
  right: 48%;
}

.recruit_left p {
  color: #FFF;
  font-family: "Noto Serif JP";
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 2rem;
  padding-bottom: 4rem;
}

.recruit_right {
  width: 50%;
  margin-left: auto;
  position: relative;
  z-index: 1;
}

/* ＝＝お知らせエリア＝＝ */

.news_title {
  padding: 3rem 0;
}

.news_box {
  width: 80%;
  margin: 0 auto;
}

.news_box_in {
  width: 90%;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.news_box_in ul {
  border-top: 1px dotted #333;
}

.news_box_in a {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 6rem;
  /* border-top: 1px dotted #333; */
  border-bottom: 1px dotted #333;
  padding: 1rem;
  /* margin-top: 1rem; */
  color: #222;
  transition: background 1000ms;
}

.news_box_in a:hover {
  background-color: #333;
  color: #fff;
}

.news_box_in a::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background: url(img/right_icon_black.svg) no-repeat;
  background-size: contain;
  margin-left: auto;
}

.news_btn_area {
  text-align: center;
  padding: 3rem;
}

/* ＝＝お問い合わせエリア＝＝ */
.contact_area02 {
  background-image: url(img/contact_area_bg.jpg);
  background-size: cover;
}

.phone_icon02 {
  width: 1.5rem;
}

.mail_icon {
  width: 2.7rem;
}

.contact_title {
  padding: 2rem 0;
}

.br_sp {
  display: none;
}

.contact_text {
  color: #FFF;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.contact_area02_in {
  padding: 3rem 0;
  display: flex;
  justify-content: space-evenly;
}

.contact_area02_left {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 1rem 4rem;
  border: 1px solid #fff;
}

.phone_area02 {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  align-items: center;

}

.phone_area02 span {
  color: #FFF;
  text-align: right;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.contact_area02_left p {
  color: #FFF;
  /* text-align: center; */
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.contact_button a {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 4rem;
  justify-content: center;
  border: 1px solid #fff;
  transition: 700ms;
}

.contact_button a:hover {
  background-color: #222;
}

.contact_button span {
  color: #FFF;
  text-align: center;
  font-family: "Noto Serif JP";
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

/* ＝＝フッター＝＝ */
.f_logo {
  width: 20rem;
}

.mail_icon_f {
  width: 32px;
}

.footer_area_top {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 3rem 0;
  background-color: #fff;
}

.footer_area_top a {
  color: #222;
  font-family: "Sawarabi Mincho";
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.footer_addres_area p {
  color: #222;
  font-family: "Noto Serif JP";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.footer_addres_area span {
  color: #555;
  font-family: "Noto Serif JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.footer_addres_area a {
  color: #000;
  font-family: "Noto Serif JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}


.footer_contact p {
  color: #222;
  text-align: right;
  font-family: "Sawarabi Mincho";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.footer_contact a {
  padding: 0.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #444;
  font-size: 1rem;
  border: 1px solid #444;
}

.footer_area_bottom {
  background-color: #000;
  padding: 3rem 0;
}

.f_nav {
  width: 60%;
  margin: 0 auto;
  display: flex;
  justify-content: space-evenly;
  background-color: #000;
}

.f_nav a {
  color: #FFF;
  font-family: "Noto Serif JP";
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

small {
  color: #fff;
  background-color: #000;
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  font-size: 12px;
}

/* ＝＝トップページのメディアクエリ＝＝ */

@media screen and (max-width: 796px) {
  /* 全体 */

  /* ヘッダー */
  .h_logo {
    width: 14rem;
  }

  .contact_area {
    display: none;
  }

  .h_left_area a {
    color: #fff;
    font-size: 1.75rem;

  }

  .h_left_area span {
    font-size: 1.25rem;
  }

  .h_left_area a {
    position: relative;
    top: -0.25rem;

  }

  #g-nav li a {
    font-size: 1rem;
  }


  /* メインビジュアル */
  .mainvisual_pc {
    display: none;
  }

  .mainvisual_sp {
    display: block;
  }

  /* ご挨拶エリア */

  .about_title {
    font-size: 1.5rem;
    padding: 0 1rem;
  }

  .about_area_in p {
    line-height: 3rem;
    padding-top: 1.5rem;
    font-size: 1rem;
  }

  .about_pc {
    display: none;
  }

  .about_sp {
    display: block;
  }

  /* 実績紹介 */
  .works_area_list {
    width: 95%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .works_area_list li {
    width: 80%;
  }

  /* 岡沢鉄工とはエリア */

  .company_right {
    position: static;
  }

  .company_area {
    display: flex;
    flex-direction: column;
  }

  .company_left {
    width: 100%;
  }

  .company_right {
    width: 100%;
  }

  .profile_btn_area01 {
    text-align: center;
  }

  .recruit_left {
    position: static;
    width: 100%;
  }

  .recruit_right {
    width: 100%;
  }

  .recruit_area {
    display: flex;
    flex-direction: column-reverse;
  }

  /* お知らせエリア */
  .news_box {
    width: 95%;
  }

  .news_box_in {
    width: 100%;
  }

  .news_box_in a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .news_box_in a::after {
    content: none;
  }

  /* お問い合わせエリア */
  .br_sp {
    display: block;
  }

  .mail_icon {
    width: 2rem;
  }

  .contact_area02_in {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .contact_area02_left {
    width: 80%;
    margin: 0 auto;
    align-items: center;
    padding: 1rem 0;
  }

  .contact_button {
    width: 80%;
    margin: 0 auto;
  }

  .contact_button a {
    padding: 1.5rem 0;
  }


  /* フッター */
  .f_logo {
    width: 17.5rem;
  }

  .footer_area_top {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .f_nav {
    width: 95%;
    display: flex;
    flex-direction: row-reverse;
  }

  .f_nav strong {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
  }
}

/* ＝＝固定ページ＝＝ */
/* ＝＝共通＝＝ */

.header-img {
  background-image: url(img/header-img01.jpg);
  background-size: cover;
  background-position: 50% 10%;
  text-align: center;
  height: 25rem;
  position: relative;
  top: -4rem;
  z-index: -1;
  margin-bottom: -4rem;
}


.page-title {
  color: #FFF;
  font-family: "Noto Serif JP";
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
}

.br-sp {
  display: none;
}

.ttl_line {
  position: relative;
  color: #222;
  text-align: center;
  font-family: "Noto Serif JP";
  font-size: 2rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.ttl_line::before {
  position: absolute;
  border-bottom: 2px solid #222;
  top: 120%;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  content: '';
}



/* ぱんくず */

.bread_area {
  background-color: #222;
}

.c-breadcrumbs {
  width: 80%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: #fff;
  line-height: 3.2;
}

.c-breadcrumbs>li {
  display: inline-block;
  position: relative;
}

.c-breadcrumbs>li:not(:last-of-type)::after {
  content: ">";
  display: inline-block;
  margin-right: 0.5em;
  margin-left: 0.5em;
}

.c-breadcrumbs a {
  color: #fff;
}

/* ページナビ */
.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: #333;
  color: #fff;
}

.page-nav a.to-archive {
  padding: 5px 0;
}

/* ページナビのメディアクエリ */
@media (max-width: 796px) {
  .page-nav {
    width: 100%;
  }
}

/* 共通のメディアクエリ */
@media screen and (max-width: 796px) {
  .page-title {
    font-size: 2rem;
  }

  .br-sp {
    display: block;
  }

}

/* ＝＝事業案内ページ＝＝ */

.service_p_box {
  text-align: center;
  background-image: url(img/service_p_bg.jpg);
  background-size: cover;

}


.service_p_box h2 {
  color: #222;
  font-family: "Noto Serif JP";
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding: 3rem 0;
}

.service_p_box p {
  color: #333;
  font-family: "Noto Serif JP";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 35px;
  padding-bottom: 3rem;
}

/* 事業内容の設備紹介エリア */
.service_p_area02 {
  background-image: url(img/service_p_bg01.jpg);
  background-size: cover;
}

.service_p_area02 h2 {
  color: #FFF;
  text-align: center;
  font-family: "Noto Serif JP";
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding: 4rem 0 3rem;
}

.service_p_area02 h3 {
  color: #FFF;
  text-align: center;
  font-family: "Noto Serif JP";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding: 4rem 0 3rem;
}

.setubi_area {
  display: flex;
  justify-content: space-evenly;
}

.setubi_area li {
  width: 15%;
  color: #FFF;
  text-align: center;
  font-family: "Noto Serif JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
}

.setubi_list {
  display: flex;
  justify-content: space-evenly;
  padding-bottom: 5rem;
}

.setubi_list li {
  width: 25%;
}

.setubi_list dl {
  display: flex;
  flex-wrap: wrap;
  color: #FFF;
  font-family: "Noto Serif JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
}

.setubi_list dt {
  width: 85%;
  border-bottom: 1px solid #fff;
  padding: 1.25rem 0 1.25rem 1rem;
}

.setubi_list dd {
  width: 15%;
  border-bottom: 1px solid #fff;
  padding: 1.25rem 0;
}



/* ＝＝事業案内ページのメディアクエリ＝＝ */
@media screen and (max-width: 796px) {


  .service_p_box h2 {
    font-size: 1.75rem;
  }

  .service_p_box p {
    width: 95%;
    margin: 0 auto;
    font-size: 1rem;
  }

  .service_p_area02 h2 {
    font-size: 1.75rem;
  }

  .setubi_area {
    display: flex;
    flex-wrap: wrap;
  }

  .setubi_area li {
    width: 45%;
  }

  .setubi_list {
    display: flex;
    flex-direction: column;
  }

  .setubi_list li {
    width: 95%;
    margin: 0 auto;
  }
}

/* ＝＝会社概要ページ */
.ttl_area {
  padding: 4rem 0;
}

.page_container {
  width: 50%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 5rem;
}

.page_container dt {
  width: 40%;
  text-align: center;
  border-bottom: 1px solid #999;
  padding: 1.5rem;
}

.page_container dd {
  width: 60%;
  border-bottom: 1px solid #999;
  padding: 1.5rem;
}

.access {
  width: 70%;
  margin: 0 auto;
  padding-bottom: 4rem;
}

.access iframe {
  width: 100%;
}

/* ＝＝会社案内ページのメディアクエリ＝＝ */
@media screen and (max-width: 796px) {
  .page_container {
    width: 95%;
  }

  .access {
    width: 95%;
  }
}

/* ＝＝実績紹介一覧ページ＝＝ */
.works_p_area {
  padding: 5rem 0;
}

/* 実績紹介【詳細】ページ */
.w_single_p_area {
  padding-bottom: 5rem;
}

.w_single_p_box {
  width: 82%;
  margin: 0 auto;
  padding-top: 5rem;
}

.w_single_p_box_in {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 3rem;

}

.w_single_main_img {
  width: 70%;
}

.w_single_main_img img {
  /* aspect-ratio: 4 / 3; */
  object-fit: cover;
}

.w_single_list {
  width: 30%;

}

.w_single_list li {
  width: 40%;
  display: inline-block;
}

.w_single_list img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.w_single_p_textbox {
  width: 100%;
  margin: 3rem auto;
}

.w_single_list img {
  cursor: pointer;
  transition: 500ms;
}

.w_single_list img:hover {
  opacity: 0.7;
}

/* 実績紹介【詳細】ページのメディアクエリ */
@media screen and (max-width: 796px) {
  .w_single_p_box {
    width: 95%;
  }

  .w_single_p_box h3 {
    font-size: 1.5rem;
    padding-left: 0.5rem;
  }

  .w_single_p_box_in {
    display: flex;
    flex-direction: column;
  }

  .w_single_list li {
    width: 95%;
  }

  .w_single_main_img {
    width: 100%;
  }

  .w_single_list {
    width: 95%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
  }

  .w_single_list li {
    width: 22%;

  }


  .w_single_list {
    gap: 0.5rem;
  }

  .w_single_p_textbox {
    width: 100%;
    margin: 1.5rem 0;
  }
}


/* ワードプレスのページネーション */
/* 前へ次へ */

.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: #333;
  color: #FFFFFF;
}

.wp-pagenavi span.current {
  background-color: #333;
  color: #FFFFFF;
}

.wp-pagenavi a {
  color: #666666;
}

.wp-pagenavi a.nextpostslink,
.wp-pagenavi a.previouspostslink {
  width: auto;
  padding: 5px 1.2em;
}


/* お知らせ【詳細】ページ */

.news-container {
  width: 80%;
  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: #999;
}

.post-text {
  line-height: 2rem;
  padding-bottom: 32px;
}

.post-title {
  padding-bottom: 32px;
}

/* お知らせ【詳細】ページのメディアクエリ */
@media screen and (max-width: 796px) {
  .news-container {
    width: 95%;
  }

  .news-wrapper {
    padding: 0.5rem;
  }
}

/* お問い合わせページ */
.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-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;
}


/* ＝＝J-Query＝＝ */

.fade {
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  transition: opacity 1s, visibility 1s, transform 1s;
}

/* フェードイン */
.is-fadein {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* ページトップ */
#page-top a {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #222;
  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);
  }
}