@charset "UTF-8";
/*
Theme Name: NARIMATSU_Metal
Description: 株式会社成松メタル工業様のテンプレートです
Version: 1.0
Author: T.Yamada
*/

/* 全体 */
img {
  width: 100%;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

body {
  font-family: "Noto Serif JP"
}

.sec_title {
  color: #0043B6;
  font-family: "Sorts Mill Goudy";
  font-size: 4rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.sec_title2 {
  color: #000;
  font-size: 2rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* ４０４ページ */
.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;
}

/* ヘッダー */

.logo {
  width: 352px;
}

.phone_icon {
  width: 24px;
}

.mail_icon {
  width: 36px;
}


h1 {
  color: #222;
  font-family: "Noto Serif JP";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.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;
  min-height: 80px;
  padding-left: 16px;
}

.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;
  padding-bottom: 1.25rem;
}

.phone_area {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-family: "Noto Serif JP";
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}


.phone_rec {
  color: #fff;
  font-family: "Noto Serif JP";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.h_left_area a {
  font-family: "Noto Serif JP";
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  display: flex;
  /* width: 288px; */
  align-items: flex-start;
  gap: 2px;
  /* background-color: pink; */
  transition: background 1000ms;
}

.h_left_area a:hover {
  opacity: 0.7;
}

nav ul li:last-child {
  display: none;
}

nav strong {
  display: block;
  color: #fff;
  text-align: center;
  font-family: "Noto Serif JP";
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.h_right_area a {
  padding: 0.5rem;
  position: relative;
  display: inline-block;
}

.h_right_area a::after {
  position: absolute;
  bottom: -3px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #0043B6;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform 500ms;
}

.h_right_area a:hover::after {
  transform: scale(1, 1);
}

.g-nav {
  display: flex;
  justify-content: flex-end;
  /* display: inline-flex;
  align-items: flex-end;
  gap: -64px; */
  /* background-color: pink; */
}

.g-nav li {
  display: flex;
  width: 128px;
  flex-direction: column;
  align-items: center;
  gap: -14px;
}

.h_contact {
  width: 128px;
  height: 128px;
  background: #0043B6;
  box-sizing: border-box;
}

.h_contact a {
  display: flex;
  width: 100%;
  height: 128px;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transition: background 1000ms;
}

.h_contact a:hover {
  opacity: 0.7;
}

.h_contact span {
  color: #FFF;
  text-align: center;
  font-family: "Noto Serif JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

/* メインビジュアル */
/* slick */
.slider {
  position: relative;
  top: -128px;
  z-index: -1;
  /*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/
  /* height: 100vh; */
  /*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
}

/*　背景画像設定　*/

.slider-item01 {
  background: url(img/mainvisual_01.jpg);
}

.slider-item02 {
  background: url(img/mainvisual_02.jpg);
}
.slider-item03 {
  background: url(img/mainvisual_03.jpg);
}

.slider-item {
  width: 100%;
  height: 100vh;
  background-repeat: no-repeat;
  /*背景画像をリピートしない*/
  background-position: center;
  /*背景画像の位置を中央に*/
  background-size: cover;
  /*背景画像が.slider-item全体を覆い表示*/
}
/* .mainvisual_pc {
  position: relative;
  top: -128px;
  z-index: -1;
} */

.mainvisual_sp {
  display: none;
}

/* メインビジュアルの1260px以下になった際のメディアクエリ */

@media screen and (max-width: 1260px) {
  .slider {
    position: static;
  }
  .slider-item {
    height: 80vh;
  }

  .h_right_area_in span {
    color: #222;
  }

  nav strong {
    color: #222;
  }

  .about_area {
    margin-top: 5rem;
  }

}

/* ご挨拶エリア */

.about_area_in {
  width: 85%;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  gap: 5rem;
}

.about_left_area {
  width: 100%;
}



.about_left_area p {
  margin-top: 3rem;
  line-height: 2rem;
}

.about_right_area {
  /* max-width: 38rem; */
  width: 100%;
}

.about_btn_area {
  text-align: right;
  padding-top: 2rem;
}

.btn {
  display: inline-block;
  background-color: #0043B6;
  border: 1px solid #0043B6;
}

.btn a {
  padding: 0.75rem 1.25rem 1rem;
  color: #FFF;
  transition: background 500ms;
}

.btn a::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background: url(img/right_icon.svg) no-repeat;
  background-size: contain;
  margin-left: 1rem;
  position: relative;
  top: 5px;
}

.btn a:hover {
  background-color: #eee;
  color: #222;
}

/* 実績紹介エリア */
.works_area {
  background-image: url(img/works_bg03.jpg);
  background-size: cover;
}

.works_area_title {
  text-align: center;
  padding: 4rem 0;
}

.works_area_list {
  width: 85%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
}

.works_area_list li {
  width: 28%;
}

.works_area_list img {
  aspect-ratio: 4 / 3;
  /* max-width: 320px;
  max-height: 240px; */
}

.works_text_box {
  box-sizing: border-box;
  padding: 16px;
  width: 100%;
  /* height: 80px; */
}

.works_text_box time {
  float: right;
  color: #0043B6;
  font-size: 0.75rem;
}

.works_text_box h4 {
  color: #222;
  font-weight: 400;
  padding-bottom: 8px;
  box-sizing: border-box;
}

.works_area_list li {
  display: inline-block;
  box-sizing: border-box;
  background: #fff;
  box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.works_cat {
  background-color: #0043B6;
  color: #FFF;
  padding: 4px;
  border-radius: 0.25rem;
}

.works_btn_area {
  padding: 3rem 0;
  text-align: center;
}

.works_area_list a {
  transition: 1000ms;
}

.works_area_list a:hover {
  opacity: 0.7;

}

/* 採用エリア */
.recruit_area {
  /* background-color: pink; */
  background-image: linear-gradient(to right bottom, transparent 50%, #eee 50%);
}

.recruit_area_in {
  /* background-color: pink; */
  width: 90%;
  padding-top: 48px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 14%;

}

.recruit_img {
  /* max-width: 720px; */
  width: 55%;
}

.recruit_text_box {
  /* max-width: 720px; */
  width: 50%;
  padding: 2rem;
  background: #FFF;
  box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
  position: absolute;
  top: 40%;
  left: 48%;
}

.recruit_text_box h3 {
  position: relative;
  top: -1rem;
}

.recruit_text_box p {
  line-height: 2rem;
}

.recruit_btn_area {
  padding-top: 2rem;
  text-align: right;
}

/* リクルートエリアの１２６０以下 */
@media screen and (max-width: 1260px) {
  .recruit_text_box {
    width: 60%;
    position: absolute;
    left: 38%;
  }
}

/* お知らせエリア */
.news_box {
  width: 80%;
  margin: 0 auto;
}

.news_title_area {
  padding: 1rem;
}

.news_title_area .sec_title2 {
  position: relative;
  top: -1.25rem;
}

.news_box_in {
  width: 70%;
  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: 2.5rem;
  /* 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: #0043B6;
  color: #fff;
}

.news_box_in a::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background: url(img/right_icon_blue.svg) no-repeat;
  background-size: contain;
  margin-left: auto;
}

.news_btn_area {
  text-align: center;
  padding-bottom: 3rem;
}

/* お問い合わせエリア */

.br_sp {
  display: none;
}

.contact_area02 {
  padding: 64px 0;
  border-top: 1px solid #555;
  border-bottom: 1px solid #555;
  background: #DDE9FE;
}

.contact_title {
  color: #0043B6;
  text-align: center;
  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-size: 3rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal
}

.phone_icon02 {
  width: 60px;
}

.mail_icon02 {
  width: 48px;
}

.contact_button a {
  background-color: #0043B6;
  display: flex;
  padding: 1rem;
  justify-content: center;
  align-items: center;
  gap: 27px;
  transition: 800ms;
}

.contact_button a:hover {
  opacity: 0.5;
}

.contact_button span {
  color: #FFF;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.phone_area02 a {
  color: #222;
}

/* フッター */

.map_icon {
  width: 32px;
}

.f_phone_icon {
  width: 32px;
}

.fax_icon {
  width: 32px;
}

.footer_area {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 80%;
  margin: 32px auto;
}

.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/line.svg) no-repeat;
  background-size: contain;
  margin-right: 2px;
}

.f_right_area a:hover {
  opacity: 0.7;
}

small {
  color: #fff;
  background-color: #0043B6;
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  font-family: "Noto Sans JP";
  font-size: 12px;
}

/* フッターの1260以下のメディアクエリ */
@media screen and (max-width: 1260px) {

  .f_right_area {
    display: none;
  }

}

/* TOPページのメディアクエリ */
@media screen and (max-width: 796px) {

  /* 全体 */

  .sec_title {
    font-size: 3rem;
  }

  .sec_title2 {
    font-size: 1.5rem;
  }

  /* ヘッダー */

  header h1 {
    font-size: 0.5rem;
  }

  .contact_area {
    display: none;
  }

  nav ul li:last-child {
    display: block;
  }

  .logo {
    width: 16rem;
  }

  .h_contact {
    display: none;
  }

  .nav_area li {
    padding: 1rem 0;
  }

  /* ハンバーガーメニュー */
  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: 32px;
    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);
  }

  /* メインビジュアルのメディアクエリ */

  .slider-item {
    height: 35vh;
  }

  /* 挨拶エリアのメディアクエリ */

  .about_area_in {
    display: flex;
    flex-direction: column;
    width: 95%;
  }

  /* 実績エリアのメディアクエリ */

  .works_area {
    background-image: url(img/works_bg03_sp.jpg);
    background-size: cover;
  }

  .works_area_list {
    width: 95%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .works_area_list li {
    width: 80%;
  }

  /* 採用エリアのメディアクエリ */

  .recruit_text_box {
    position: static;
  }

  .recruit_area_in {
    width: 95%;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
  }

  .recruit_img {
    width: 100%;
  }

  .recruit_text_box {
    width: 100%;
    background-color: transparent;
    box-shadow: none;
  }

  /* お知らせエリアのメディアクエリ */
  .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;
  }

  .news_title_area {
    text-align: center;
  }

  /* お問い合わせエリア */

  .contact_title {
    font-size: 1.25rem;
    line-height: 2.5rem;
  }

  .br_sp {
    display: block;
  }

  .contact_area02_in {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .phone_area02 span {
    font-size: 2rem;
  }

  .phone_icon02 {
    width: 36px;
  }

  .contact_button span {
    font-size: 1rem;
  }

  .mail_icon02 {
    width: 36px;
  }
}

/* 以下固定ページ */
/* 共通エリア */

.header-img {
  background-image: url(img/header-img02.png);
  background-size: cover;
  text-align: center;
}

.page-title {
  color: #FFF;
  font-family: "Sorts Mill Goudy";
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding-top: 5rem;
}

.page-title02 {
  color: #FFF;
  text-align: center;
  font-family: "Noto Serif JP";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding-bottom: 5rem;
}

/* ぱんくず */
.c-breadcrumbs {
  width: 80%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: #555;
  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: #222;
}

/* 見出し */
.ttl_line {
  color: #222;
  font-size: 2rem;
  font-style: normal;
  font-weight: 400;
  border-left: 5px solid #0043B6;
  border-bottom: 1px solid #aaa;
  padding-left: 3rem;
}

/* 共通ページのエリアのメディアクエリ */
@media screen and (max-width: 796px) {
  .page-title {
    font-size: 2rem;
    padding-top: 2rem;
  }

  .page-title02 {
    font-size: 1rem;
    padding-bottom: 2rem;
  }
  .c-breadcrumbs {
    width: 98%;
    box-sizing: border-box;
  }
}

/* 事業案内ページ */

.service_p_area_in {
  width: 82%;
  margin: 4rem auto 0;
}

.service_area_box {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;

}

.service_p_box_left {
  width: 70%;
}

.service_p_box_left h3 {
  border-bottom: 1px solid #aaa;
  color: #222;
  font-size: 1.25rem;
  font-weight: 400;
  padding: 0.5rem 0;
}

.service_p_box_left p {
  padding-top: 2.5rem;
  line-height: 1.75rem;
}

.service_p_box_right {
  width: 70%;

}

.service_p_area_box02 {
  margin: 6rem 0;
}

.service_p_box_right img {
  box-shadow: -15px 15px 4px 0px #CCC;
}

.service_p_box_right h3 {
  border-bottom: 1px solid #aaa;
  color: #222;
  font-size: 1.25rem;
  font-weight: 400;
  padding: 0.5rem 0;
}

.service_p_box_right p {
  padding-top: 2.5rem;
  line-height: 1.75rem;
}

.service_p_box_left img {
  box-shadow: 15px 15px 4px 0px #CCC;
}

/* 事業案内ページのメディアクエリ */
@media screen and (max-width: 796px) {
  .service_p_area_in {
    width: 95%;
  }

  .service_area_box {
    display: flex;
    flex-direction: column;
  }

  .service_p_box_left {
    width: 100%;
  }

  .service_p_box_right {
    width: 100%;
  }
}

/* 会社概要ページ */
.company_p_area {
  margin-top: 5rem;
}

.company_p_box {
  width: 82%;
  margin: 0 auto;
}

table {
  border-collapse: collapse;
  width: 92%;
  margin: 3rem 0 5rem auto;

}

th {
  width: 30%;
  background-color: #0043B6;
  color: #fff;
}

table th,
table td {
  border: solid 1px #555;
  padding: 1rem;
}

.map_area {
  width: 92%;
  margin-left: auto;
  /* background-color: pink; */
  padding-bottom: 5rem;
}

.map_area h4 {
  color: #222;
  font-weight: 400;
  padding-top: 1.5rem;
}

.map_area iframe {
  width: 100%;
  border: 1px solid #0043B6;
}

/* 会社概要ページのメディアクエリ */
@media screen and (max-width: 796px) {
  .company_p_box {
    width: 95%;
  }

  table {
    width: 100%;
  }

  th,
  td {
    font-size: 0.7rem;
  }

  .map_area {
    width: 100%;
  }

  .map_area iframe {
    height: 400px;
  }
}

/* 実績紹介【一覧】ページ */
.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_main_img {
  width: 60%;
  margin: 0 auto;
  padding-top: 3rem;
}

.w_single_main_img img {
  aspect-ratio: 4 / 3;
}

.w_single_list {
  padding: 3rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.w_single_list li {
  width: 22%;
}

.w_single_list img {
  aspect-ratio: 4 / 3;
}

.w_single_p_textbox {
  width: 60%;
  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_list li {
    width: 48%;
  }
  .w_single_main_img {
    width: 100%;
  }

  .w_single_list {
    gap: 0.5rem;
  }

  .w_single_p_textbox {
    width: 100%;
    margin: 1.5rem 0;
  }
}

/* ページナビ後で共通に移す */
.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: #0043B6;
  color: #fff;
}

.page-nav a.to-archive {
  padding: 5px 0;
}

/* ページナビのメディアクエリ */
@media (max-width: 796px) {
  .page-nav {
    width: 100%;
  }
}

/* 採用情報ページ */
.recruit_p_area {
  margin-top: 5rem;
}

.recruit_p_box {
  width: 82%;
  margin: 0 auto 3rem;
}

.recruit_p_box dl {
  width: 80%;
  margin: 3rem auto 5rem;
  display: flex;
  flex-wrap: wrap;
}

.recruit_p_box dt {
  width: 30%;
  text-align: center;
  border-bottom: 3px solid #0043B6;
  padding: 1.5rem;
}

.recruit_p_box dd {
  width: 70%;
  border-bottom: 1px solid #aaa;
  padding: 1.5rem;
}

.recruit_p_btn_area {
  text-align: center;
}

/* 採用ページのメディアクエリ */

@media screen and (max-width: 796px) {
  .recruit_p_box {
    width: 95%;
  }

  .recruit_p_box dl {
    width: 100%;
    font-size: 0.75rem;
  }
}

/* お知らせ【詳細】ページ */

.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: #0043B6;
}

.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%;
  }

}




/* ワードプレスのページネーション */
/* 前へ次へ */

.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: #0043B6;
  color: #FFFFFF;
}

.wp-pagenavi span.current {
  background-color: #0043B6;
  color: #FFFFFF;
}

.wp-pagenavi a {
  color: #666666;
}

.wp-pagenavi a.nextpostslink,
.wp-pagenavi a.previouspostslink {
  width: auto;
  padding: 5px 1.2em;
}

/* ここから */
/* 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: #0043B6;
  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);
  }
}



/*ドットナビゲーションの設定*/

.slick-dots {
  position: relative;
  z-index: 3;
  text-align: center;
  margin: -50px 0 0 0;
  /*ドットの位置*/
}

.slick-dots li {
  display: inline-block;
  margin: 0 5px;
}

.slick-dots button {
  color: transparent;
  outline: none;
  width: 8px;
  /*ドットボタンのサイズ*/
  height: 8px;
  /*ドットボタンのサイズ*/
  display: block;
  border-radius: 50%;
  background: #fff;
  /*ドットボタンの色*/
}

.slick-dots .slick-active button {
  background: #333;
  /*ドットボタンの現在地表示の色*/
}