@charset "UTF-8";
/* 日本語指定 */
/**********************

Theme Name: media_site

**********************/
/**********************

   base

**********************/
html {
  font-size: 62.5%;
  font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Meiryo", sans-serif;
  scroll-behavior: smooth;
  background-color: #eee;
}

* {
  box-sizing: border-box;
  color: #000;
}

::-moz-selection {
  background: #158acd;
  color: #0c486b;
}

::selection {
  background: #158acd;
  color: #0c486b;
}

img {
  border: 0;
  max-width: 100%;
  height: auto;
}
img.img {
  width: 100%;
}
img.ver_btm {
  vertical-align: bottom;
}

a {
  text-decoration: none;
  font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Meiryo", sans-serif;
  font-size: 1.8rem;
  transition: all 0.3s;
}
@media screen and (max-width : 600px) {
  a {
    font-size: 1.6rem;
  }
}
a:hover {
  opacity: 0.8;
  transition: all 0.3s;
}
a.disabled {
  pointer-events: none;
}
@media (min-width: 768px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}

p,
li,
th,
td,
dt,
dd {
  letter-spacing: 0.1rem;
  line-height: 1.5;
  font-size: 1.6rem;
}
@media screen and (max-width : 1200px) {
  p,
li,
th,
td,
dt,
dd {
    font-size: 1.5rem;
  }
}
@media screen and (max-width : 600px) {
  p,
li,
th,
td,
dt,
dd {
    font-size: 1.4rem;
  }
}

p {
  padding: 1% 0;
}

h2,
h3,
h4 {
  font-weight: bold;
  letter-spacing: 0.1em;
  line-height: 1.3;
}

h2 {
  font-size: 3rem;
  padding: 12px;
  margin: 2rem 0 4rem;
  border-bottom: 3px solid #222;
}
@media screen and (max-width : 600px) {
  h2 {
    font-size: 2.8rem;
  }
}

h3 {
  font-size: 2.3rem;
  padding: 40px 0 10px;
}
@media screen and (max-width : 600px) {
  h3 {
    font-size: 2.1rem;
  }
}

h4 {
  font-size: 2rem;
  letter-spacing: 0;
  padding: 10px 0 5px;
  text-align: center;
}
@media screen and (max-width : 600px) {
  h4 {
    font-size: 1.6rem;
  }
}

h5 {
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  line-height: 1.3;
}
@media screen and (max-width : 600px) {
  h5 {
    font-size: 1.2rem;
  }
}

/**********************

container
margin

**********************/
.main > div.flex > div {
  width: calc(100% - 280px);
}
@media screen and (max-width: 768px) {
  .main > div.flex > div {
    width: 100%;
  }
}
.main aside.sidebar {
  width: 280px;
  position: relative;
  padding-right: 5rem;
}
@media screen and (max-width: 768px) {
  .main aside.sidebar {
    width: 100%;
    padding-right: 0;
  }
}

.container {
  width: 87%;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  .container {
    width: 90%;
  }
}
@media screen and (max-width : 600px) {
  .container {
    width: 95%;
  }
}

.container02 {
  width: 87%;
  margin: 0 auto;
  padding: 2rem 4rem;
}
@media screen and (max-width : 600px) {
  .container02 {
    width: 90%;
    padding: 2rem 2rem;
  }
}

.m1 {
  margin: 1rem;
}

.mt3 {
  margin-top: 3rem;
}

.mt5 {
  margin-top: 5rem;
}
@media screen and (max-width : 600px) {
  .mt5 {
    margin-top: 3rem;
  }
}

.mt7 {
  margin-top: 7rem;
}
@media screen and (max-width : 600px) {
  .mt7 {
    margin-top: 5rem;
  }
}

.mb3 {
  margin-bottom: 3rem;
}

.mb7 {
  margin-bottom: 7rem;
}
@media screen and (max-width : 600px) {
  .mb7 {
    margin-bottom: 5rem;
  }
}

.pt7 {
  padding-top: 7rem;
}
@media screen and (max-width : 600px) {
  .pt7 {
    padding-top: 5rem;
  }
}

.pb7 {
  padding-bottom: 7rem;
}
@media screen and (max-width : 600px) {
  .pb7 {
    padding-bottom: 5rem;
  }
}

/**********************

flex
grid

**********************/
.flex {
  display: flex;
  flex-wrap: wrap;
}

.flex_cc, .pager_allpost, .foot_div .foot_logo, .gnav > ul li.gnav_item.contact_btn {
  display: flex;
  justify-content: center;
  align-items: center;
}

.align_center {
  align-items: center;
}

.align_stretch {
  align-items: stretch;
}

.align_end {
  align-items: flex-end;
}

.space_between {
  justify-content: space-between;
}

.space_around {
  justify-content: space-around;
}

.flex_center {
  justify-content: center;
}

.flex_end {
  justify-content: flex-end;
}

.reverse {
  flex-direction: row-reverse;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 4fr));
  gap: 23px;
}
@media screen and (max-width : 1024px) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}
@media screen and (max-width : 600px) {
  .grid {
    padding: 0 1.2rem;
  }
}

@media screen and (max-width : 600px) {
  .sp_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 23px;
    padding: 0 1.2rem;
  }
}

/**********************

display none

**********************/
@media screen and (min-width: 601px) {
  .sp {
    display: none;
  }
}
@media screen and (max-width : 600px) {
  .pc {
    display: none;
  }
}
/**********************

header

**********************/
.bg_head {
  background-color: #000;
  height: 80px;
  width: 100%;
}
@media screen and (max-width: 1100px) {
  .bg_head {
    height: 70px;
  }
}

.head_logo {
  width: 210px;
  height: auto;
  margin: 5px 5px 0 18px;
}
@media screen and (max-width : 600px) {
  .head_logo {
    width: 180px;
  }
}

.gnav {
  width: 50%;
  /* このクラスを、jQueryで付与・削除する */
}
@media screen and (max-width: 1100px) {
  .gnav {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    background: #fdfdfd;
    width: 100%;
    height: 100%;
    padding-top: 70px;
    transform: translateX(100%);
    transition: all 0.6s;
  }
}
.gnav.active {
  transform: translateX(0%);
}
@media screen and (max-width: 1100px) {
  .gnav > ul {
    margin: 0 auto;
    padding: 20px 0;
    width: 100%;
  }
}
@media screen and (max-width: 1100px) {
  .gnav > ul li.gnav_item {
    width: 100%;
  }
}
.gnav > ul li.gnav_item a {
  position: relative;
}
.gnav > ul li.gnav_item a,
.gnav > ul li.has_child {
  font-size: 1.4rem;
  color: #d7d7d7;
  font-weight: bold;
}

.gnav > ul li.gnav_item a,
.gnav > ul li.has_child {
  position: relative;
  display: inline-block;
  padding: 0 1.2rem;
  height: 70px;
  line-height: 70px;
  text-align: center;
}
@media screen and (max-width: 1100px) {
  .gnav > ul li.gnav_item a,
.gnav > ul li.has_child {
    position: inherit;
    display: block;
    width: 100%;
    height: auto;
    line-height: 3;
    color: #000;
    font-weight: bold;
  }
}

.gnav > ul li.gnav_item.contact_btn {
  padding: 0 4rem 0 1rem;
}
.gnav > ul li.gnav_item.contact_btn a {
  border-radius: 3px;
  height: auto;
  line-height: 1.8;
  padding: 5px;
}
@media screen and (max-width: 1100px) {
  .gnav > ul li.gnav_item.contact_btn {
    padding: 1rem 4rem;
  }
}

.cat_nav {
  border-top: 1px solid #777;
  border-bottom: 1px solid #777;
  background-color: #222;
  padding: 2rem 0;
  display: flex;
  align-items: center;
}
.cat_nav ul li {
  padding: 0 1rem;
}
.cat_nav ul li a {
  letter-spacing: 0;
  font-size: 1.6rem;
  color: #fff;
}

/**********************

hamburger

**********************/
@media screen and (max-width: 1100px) {
  .hamburger {
    display: block;
    position: fixed;
    z-index: 4;
    right: 0px;
    top: 0px;
    cursor: pointer;
    text-align: center;
    width: 70px;
    height: 70px;
  }
  .hamburger span {
    display: block;
    position: absolute;
    width: 30px;
    height: 2px;
    left: 20px;
    background: #999;
    transition: 0.3s ease-in-out;
  }
  .hamburger span:nth-child(1) {
    top: 22px;
  }
  .hamburger span:nth-child(2) {
    top: 32px;
  }
  .hamburger span:nth-child(3) {
    top: 42px;
  }
  /* navi open */
  .hamburger.active span:nth-child(1) {
    top: 32px;
    transform: rotate(-45deg);
  }
  .hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
    top: 32px;
    transform: rotate(45deg);
  }
}
/**********************

common

**********************/
.base_sec {
  padding: 5rem 0 8rem;
}
@media screen and (max-width : 600px) {
  .base_sec {
    padding: 3rem 0;
  }
}

.por {
  position: relative;
}

.fz12, aside.sidebar dd.sidebar_lank > a time {
  font-weight: 500;
  font-size: 1.2rem;
}

.fz16, .table dt,
.table dd {
  font-size: 1.6rem;
}
@media screen and (max-width : 600px) {
  .fz16, .table dt,
.table dd {
    font-size: 1.4rem;
  }
}

.white {
  color: #fff;
}

.red {
  color: #7D0000;
}

.yl_marker {
  background: linear-gradient(transparent 85%, #b4a800 90%);
}

.bg_white {
  background-color: #fff;
}

.txt_center {
  text-align: center;
}

.txt_left {
  text-align: left;
}

.txt_right {
  text-align: right;
}

.txt_just {
  text-align: justify;
}

.txt_change {
  text-align: center;
}
@media screen and (max-width : 600px) {
  .txt_change {
    text-align: justify;
  }
}

.bold {
  font-weight: bold;
}

.breadcrumbs {
  margin: 0 auto;
  padding: 1.2rem 6rem;
}
.breadcrumbs span {
  font-size: 1.4rem;
}
.breadcrumbs a:hover {
  opacity: 1;
  text-decoration: underline;
}

time {
  display: inline-block;
  padding: 5px 0;
}
time span {
  display: flex;
  align-items: center;
  line-height: 1.3;
}
time span::before {
  content: "";
  background-image: url(../img/icon_time.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 12px;
  height: 12px;
  padding-left: 3px;
}
time span.pl::before {
  content: none;
}

.btn_div {
  display: flex;
  justify-content: center;
}

.more_btn {
  text-align: center;
  width: 200px;
}
.more_btn a {
  padding: 0.5rem;
  font-weight: bold;
  letter-spacing: 0;
  display: block;
  position: relative;
  transition: all 0.5s;
  z-index: 1;
  border: 1px solid #7D0000;
  border-radius: 3px;
  background-color: #7D0000;
  color: #fff;
}
.more_btn a:hover {
  background-color: #777;
}

/**********************

front-page

**********************/
/***************
mv
***************/
.carousel {
  margin-top: 35px;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.carousel a {
  display: block;
  transition: all 0.3s ease;
}
.carousel a:hover {
  transition: all 0.3s ease;
  opacity: 0.5;
}
.carousel .carousel_item {
  position: relative;
  max-height: 65vh;
}
@media screen and (max-width : 900px) {
  .carousel .carousel_item {
    max-height: none;
  }
}
.carousel .carousel_img {
  height: 70vh;
  width: 60%;
  position: relative;
  overflow: hidden;
  background-color: #fff;
}
@media screen and (max-width : 1024px) {
  .carousel .carousel_img {
    width: 40%;
    height: 50vh;
  }
}
@media screen and (max-width : 600px) {
  .carousel .carousel_img {
    width: 100%;
    height: 30vh;
  }
}
.carousel .carousel_txt {
  width: 40%;
  height: 70vh;
  background: #fff;
  padding: 3rem 3rem 3rem 1.8rem;
}
@media screen and (max-width : 1024px) {
  .carousel .carousel_txt {
    width: 60%;
    height: 50vh;
  }
}
@media screen and (max-width : 600px) {
  .carousel .carousel_txt {
    width: 100%;
    padding: 1rem;
    height: 40vh;
  }
}
.carousel .carousel_ttl {
  font-size: 2.5rem;
  letter-spacing: 0;
  padding: 1rem 0;
}
@media screen and (max-width : 900px) {
  .carousel .carousel_ttl {
    font-size: 2.2rem;
    padding: 0;
  }
}
@media screen and (max-width : 600px) {
  .carousel .carousel_ttl {
    font-size: 2rem;
  }
}
.carousel .carousel_cat ul.post-categories {
  display: flex;
  flex-wrap: wrap;
}
.carousel .carousel_cat ul.post-categories li:not(:last-child) {
  margin-right: 1rem;
}
.carousel .carousel_cat ul.post-categories li a {
  font-size: 1.4rem;
}
@media screen and (max-width : 1024px) {
  .carousel .carousel_cat ul.post-categories li a {
    font-size: 1.2rem;
    padding: 0.2vh 1vw;
  }
}
@media screen and (max-width : 900px) {
  .carousel .carousel_cat ul.post-categories li a {
    font-size: 1rem;
    padding: 0.4vh 1vw;
  }
}

.slider {
  display: none;
  width: 90%;
  margin: 0 auto 80px;
}
.slider.slick-initialized {
  display: block;
}

.slick-slide img {
  width: 100%;
}

.mypattern {
  width: 100%;
}
.mypattern .slick-slide {
  margin: 5px;
}
.mypattern .slick-slide:not(.slick-center) {
  filter: grayscale(100%);
  transition: 0.2s linear;
}

.textphoto {
  width: 100%;
  font-size: 100%;
  text-align: right;
  bottom: 4px;
  margin: 0;
  padding: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  position: absolute;
  padding-right: 1rem;
}

.top_ttl {
  font-size: 4.5rem;
  letter-spacing: 0.5em;
  text-align: left;
}
@media screen and (max-width : 450px) {
  .top_ttl {
    font-size: 3.5rem;
    letter-spacing: 0.4em;
  }
}

/***************
side bar
***************/
aside.sidebar dl {
  margin: 100px 0 0;
}
@media screen and (max-width: 768px) {
  aside.sidebar dl {
    margin: 6rem 12rem;
  }
}
@media screen and (max-width : 600px) {
  aside.sidebar dl {
    margin: 4rem;
  }
}
aside.sidebar dt {
  font-weight: bold;
  text-align: center;
  color: #fff;
  background: #222;
  padding: 8px 0;
}
aside.sidebar dd {
  padding: 1.4rem 1.2rem 2rem;
  margin-bottom: 2rem;
  background: #fff;
}
aside.sidebar dd#serch_form {
  background: none;
}
@media screen and (max-width : 600px) {
  aside.sidebar dd {
    margin-bottom: 3rem;
  }
}
aside.sidebar dd ul.sidebar_cat li {
  border-bottom: 1px solid #e0e0e0;
}
aside.sidebar dd ul.sidebar_cat li:last-of-type {
  border-bottom: none;
}
aside.sidebar dd ul.sidebar_cat li a {
  font-size: 1.5rem;
  padding: 5px;
  display: block;
}
@media screen and (max-width : 600px) {
  aside.sidebar dd ul.sidebar_cat li a {
    font-size: 1.2rem;
    letter-spacing: 0.02rem;
  }
}
aside.sidebar dd ul.sidebar_cat li a:hover {
  color: #003567;
  opacity: 1;
}
aside.sidebar dd ul.sidebar_new {
  padding-top: 1rem;
}
aside.sidebar dd ul.sidebar_new .side_post_item {
  margin-bottom: 2rem;
}
aside.sidebar dd ul.sidebar_new .side_post_item > p {
  height: auto;
  padding: 0;
}
aside.sidebar dd ul.sidebar_new .side_post_item > p > a img {
  -o-object-fit: cover;
     object-fit: cover;
  height: 100%;
  overflow: hidden;
}
aside.sidebar dd ul.sidebar_new .side_post_item .side_post_item_in > a {
  position: relative;
  height: 100%;
}
aside.sidebar dd ul.sidebar_new .side_post_item .side_post_item_in > a h4 {
  font-size: 1.5rem;
  padding: 2px 0 4px;
}
aside.sidebar dd.sidebar_lank p.eyecatch {
  position: relative;
  width: 100%;
  padding: 0;
}
aside.sidebar dd.sidebar_lank p.eyecatch:last-child {
  margin-bottom: 0;
}
aside.sidebar dd.sidebar_lank p.eyecatch:before {
  content: "";
  width: 3rem;
  height: 3rem;
  font-size: 1.8rem;
  font-family: "Josefin Sans", sans-serif;
  background-color: #000;
  color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width : 900px) {
  aside.sidebar dd.sidebar_lank p.eyecatch:before {
    font-size: 1.6rem;
  }
}
aside.sidebar dd.sidebar_lank p.eyecatch:nth-of-type(1):before {
  content: "1";
  background-color: #DBB400;
}
aside.sidebar dd.sidebar_lank p.eyecatch:nth-of-type(2):before {
  content: "2";
  background-color: #AEB3B5;
}
aside.sidebar dd.sidebar_lank p.eyecatch:nth-of-type(3):before {
  content: "3";
  background-color: #AE6938;
}
aside.sidebar dd.sidebar_lank p.eyecatch:nth-of-type(4):before {
  content: "4";
}
aside.sidebar dd.sidebar_lank p.eyecatch:nth-of-type(5):before {
  content: "5";
}
aside.sidebar dd.sidebar_lank > a time {
  color: #808080;
  line-height: 1.2;
}
aside.sidebar dd.sidebar_lank > a p {
  font-size: 1.4rem;
  margin-bottom: 1.4rem;
  font-weight: bold;
}
aside.sidebar .sidebar_ad {
  margin-bottom: 12rem;
}

/***************
searchform
search
***************/
#searchform {
  position: relative;
}
#searchform input[type=text i] {
  padding: 8px 12px;
  border-radius: 20px;
  border: 1px solid #bebebe;
  width: 100%;
}
#searchform button {
  border: none;
  background: inherit;
  position: absolute;
  top: 5px;
  right: 10px;
}
#searchform button:hover {
  cursor: pointer;
}

.search_item {
  margin: 1.5rem 0;
  padding: 1.5rem 2rem;
  border: 1px solid #e5e5e5;
  background-color: #fff;
}
.search_item > p {
  width: 25%;
}
@media screen and (max-width : 450px) {
  .search_item > p {
    width: 100%;
  }
}
.search_item > div {
  width: 75%;
  padding-left: 2rem;
}
@media screen and (max-width : 450px) {
  .search_item > div {
    width: 100%;
    padding: 2rem;
  }
}
.search_item a {
  display: block;
}
.search_item a:hover {
  color: #393939;
}

/**********************

front-page
allpost
category　共通

**********************/
.top_post_item {
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
  max-width: 270px;
}
@media screen and (max-width : 600px) {
  .top_post_item {
    max-width: none;
  }
}
.top_post_item:hover {
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
}
.top_post_item > p {
  padding: 0;
}
.top_post_item > p > a {
  height: 130px;
  overflow: hidden;
  display: block;
}
.top_post_item .top_post_item_in {
  background-color: #fff;
  padding: 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.top_post_item .top_post_item_in > a {
  position: relative;
  height: 100%;
}
.top_post_item .top_post_item_in > a h4 {
  font-size: 1.6rem;
  position: relative;
  display: inline-block;
}

.post_item {
  display: flex;
  margin-bottom: 3rem;
  transition: all 0.3s;
}
@media screen and (max-width : 600px) {
  .post_item {
    display: block;
    margin: 0 auto;
  }
}
.post_item.h30 {
  height: 30vh;
}
@media screen and (max-width : 1024px) {
  .post_item.h30 {
    height: auto;
  }
}
.post_item:hover {
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
}
.post_item > p {
  width: 40%;
  height: auto;
  padding: 0;
}
@media screen and (max-width : 600px) {
  .post_item > p {
    width: 100%;
  }
}
@media screen and (max-width : 600px) {
  .post_item > p > a {
    height: 130px;
    overflow: hidden;
    display: block;
  }
}
.post_item > p > a img {
  -o-object-fit: cover;
     object-fit: cover;
  height: 100%;
  overflow: hidden;
}
.post_item .post_item_in {
  background-color: #fff;
  padding: 2rem;
  width: 60%;
}
@media screen and (max-width : 600px) {
  .post_item .post_item_in {
    width: 100%;
  }
}
.post_item .post_item_in > a {
  position: relative;
  height: 100%;
}
.post_item .post_item_in > a h4 {
  font-size: 1.8rem;
}
@media screen and (max-width : 600px) {
  .post_item .post_item_in > a h4 {
    font-size: 1.6rem;
  }
}

/**********************

page共通

**********************/
.bg_page {
  background: url(../img/bg_page.jpg) no-repeat;
  background-size: cover;
}
.bg_page h2 {
  font-size: 3rem;
  padding: 8rem 2rem;
  margin: 0 auto;
  text-align: center;
  border-bottom: none;
}
.bg_page h2 span {
  display: block;
  color: #fff;
}

.page_sec {
  padding: 5rem 0;
}
@media screen and (max-width : 600px) {
  .page_sec {
    padding: 3rem 0;
  }
}

h3.page_h3 {
  padding: 40px 0;
}

/**********************

page-company.php

**********************/
.table {
  width: 70%;
  margin: 0 auto;
}
@media screen and (max-width : 900px) {
  .table {
    width: 80%;
  }
}
.table dt,
.table dd {
  padding: 1rem 0;
  padding-left: 2rem;
}
@media screen and (max-width : 600px) {
  .table dt,
.table dd {
    padding-left: 0;
  }
}
.table dt {
  width: 30%;
  font-weight: bold;
  display: flex;
  align-items: center;
}
@media screen and (max-width : 600px) {
  .table dt {
    width: 100%;
    display: block;
  }
}
.table dd {
  width: 70%;
}
@media screen and (max-width : 600px) {
  .table dd {
    width: 100%;
    margin-bottom: 20px;
  }
}

.table_design01 dt {
  border-bottom: 1px solid;
}
.table_design01 dd {
  border-bottom: 1px solid;
}
@media screen and (max-width : 600px) {
  .table_design01 dd {
    border-bottom: 0;
  }
}

.table_design02 dt {
  border-bottom: 1px solid #eee;
  color: #fff;
}
.table_design02 dd {
  border-bottom: 1px solid;
}
@media screen and (max-width : 600px) {
  .table_design02 dd {
    border-bottom: 0;
  }
}

/**********************

parts cv

**********************/
.cv_sec {
  padding: 4rem 2rem;
}
.cv_sec h3 {
  padding: 0px 0 20px;
}

/**********************

footer

**********************/
.foot_cat_nav {
  padding: 2rem;
  background: #222;
  border-bottom: 1px solid #555;
}
.foot_cat_nav ul li {
  margin: 5px;
  padding-right: 10px;
}
.foot_cat_nav ul li:not(:last-of-type) {
  border-right: 1.5px solid #777;
}
.foot_cat_nav ul li a {
  display: block;
  font-size: 1.4rem;
  font-weight: bold #777;
  color: #fff;
}
.foot_cat_nav ul li a:hover {
  color: #003567;
  opacity: 1;
}

footer {
  background-color: #000;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 768px) {
  footer {
    margin: 0;
    padding: 6rem 0 1rem 0;
  }
}

.foot_div {
  max-width: 1200px;
  margin: 0 auto 2rem;
}
.foot_div .foot_logo {
  padding: 3rem 0 1rem;
}
.foot_div .foot_logo a img {
  width: 280px;
}
@media screen and (max-width : 450px) {
  .foot_div .foot_logo a img {
    width: 210px;
  }
}

.foot_nav {
  padding-left: 2rem;
}
.foot_nav ul li {
  margin: 5px;
  padding-right: 10px;
}
.foot_nav ul li:not(:last-of-type) {
  border-right: 1.5px solid #777;
}
.foot_nav ul li a {
  display: block;
  font-size: 1.4rem;
  font-weight: bold;
  color: #fff;
}
.foot_nav ul li a:hover {
  color: #003567;
  opacity: 1;
}

.copyright {
  text-align: center;
  padding: 2rem 0;
  color: #777;
}

/**********************

404.php

**********************/
.error_404 {
  padding-top: 180px;
  margin-bottom: 100px;
}

/**********************

カテゴリー名取得
全ページ共通

**********************/
ul.post-categories {
  line-height: 1;
}
ul.post-categories li {
  line-height: 1;
  display: inline-block;
}
ul.post-categories li::before {
  content: " #";
  color: #003567;
  font-size: 1.2rem;
}
ul.post-categories li a {
  font-size: 1.2rem;
  letter-spacing: 0.05rem;
  color: #003567;
  display: inline-block;
}
@media screen and (max-width : 900px) {
  ul.post-categories li a {
    font-size: 1rem;
  }
}
ul.post-categories li a:hover {
  color: #000;
}

/**********************

single.php

**********************/
/* プラグインadd this */
span.at-label {
  color: #fff;
}

/* 投稿内のcssは editor-style 記述 */
.single_article {
  margin: 4rem auto 5rem;
}
@media screen and (max-width : 600px) {
  .single_article {
    width: 100%;
  }
}
.single_article h1 {
  font-size: 3rem;
  font-weight: 600;
  padding: 2rem;
  margin: 1rem 0 4rem;
  display: block;
  text-align: left;
  line-height: 1.6;
  border-bottom: 1px solid #e0e0e0;
}
@media screen and (max-width : 900px) {
  .single_article h1 {
    font-size: 2.4rem;
    padding: 1rem;
    margin: 1rem 0 3rem;
  }
}
@media screen and (max-width : 600px) {
  .single_article h1 {
    font-size: 2rem;
  }
}
.single_article h1:after, .single_article h1:before {
  content: none;
  text-align: left;
}

/* 目次 */
.page_nav {
  border: 1px solid #afafaf;
  border-radius: 3px;
  width: 88%;
  padding: 3rem 2rem 3rem 6rem;
  margin: 3rem auto 6rem;
}
@media screen and (max-width : 600px) {
  .page_nav {
    padding: 3rem 2rem 3rem 4rem;
  }
}
@media screen and (max-width : 450px) {
  .page_nav {
    width: 100%;
  }
}
.page_nav p {
  margin-bottom: 0;
  text-align: left;
  font-size: 2rem;
}
@media screen and (max-width : 600px) {
  .page_nav p {
    font-size: 1.8rem;
  }
}
.page_nav #toc > ol li {
  list-style-type: decimal;
  line-height: 1.8;
}
.page_nav #toc > ol li a {
  display: block;
  text-decoration: none;
  font-size: 1.6rem;
}
@media screen and (max-width : 600px) {
  .page_nav #toc > ol li a {
    font-size: 1.4rem;
  }
}
.page_nav #toc > ol li a:hover {
  color: #eee;
  opacity: 1;
}
.page_nav #toc > ol li a span:hover {
  color: #eee;
}
.page_nav #toc > ol li a br {
  display: none;
}
.page_nav #toc > ol > ol > li {
  list-style: none;
}
.page_nav #toc > ol > ol > li a::before {
  content: "- ";
}

/* single用広告スペース */
.add_box {
  border: 1px solid #e5e5e5;
  padding: 2rem;
  margin-top: 2rem;
  position: relative;
}
.add_box::before {
  content: "広告";
  color: #fff;
  background-color: #c1c1c1;
  font-size: 12px;
  width: 35px;
  height: 20px;
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.add_box a {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: bold;
  color: #0c486b;
}
@media screen and (max-width : 600px) {
  .add_box a {
    font-size: 1.8rem;
  }
}
.add_box img {
  max-width: 230px;
}
@media screen and (max-width : 450px) {
  .add_box img {
    max-width: 90%;
  }
}

/* single用pager */
.post__pagination {
  margin-bottom: 5rem;
  overflow: hidden;
}
.post__pagination .post__pagination__left,
.post__pagination .post__pagination__right {
  width: 330px;
}
@media screen and (max-width : 600px) {
  .post__pagination .post__pagination__left,
.post__pagination .post__pagination__right {
    width: 100%;
  }
}
.post__pagination .post__pagination__left {
  float: left;
  margin-top: 12px;
}
.post__pagination .post__pagination__right {
  float: right;
  text-align: right;
  margin-top: 12px;
}
.post__pagination .post__pagination__left > a,
.post__pagination .post__pagination__right > a {
  display: block;
  border: 1px solid;
  padding: 2rem;
  transition: all 0.5s;
}
.post__pagination .post__pagination__left > a:hover,
.post__pagination .post__pagination__right > a:hover {
  opacity: 1;
  transition: all 0.5s;
  background-color: #393939;
}
.post__pagination .post__pagination__left > a:hover span,
.post__pagination .post__pagination__right > a:hover span {
  transition: all 0.5s;
  color: #fff;
}
.post__pagination .post__pagination__left__text,
.post__pagination .post__pagination__right__text {
  font-weight: bold;
  font-size: 14px;
}

/***************
parts post
***************/
dl.parts_post dt {
  font-weight: bold;
  font-size: 2.4rem;
  margin-bottom: 2rem;
  padding: 12px;
  border-bottom: 3px solid #222;
}
@media screen and (max-width : 600px) {
  dl.parts_post dt {
    font-size: 2rem;
  }
}
dl.parts_post dd {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 4fr));
  gap: 16px;
}
@media screen and (max-width : 1024px) {
  dl.parts_post dd {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}
@media screen and (max-width : 600px) {
  dl.parts_post dd {
    padding: 0 3.9rem;
  }
}
dl.parts_post dd > div {
  transition: all 0.3s;
}
dl.parts_post dd > div:hover {
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
}
dl.parts_post dd > div > p {
  padding: 0;
  max-height: 150px;
  overflow: hidden;
}
dl.parts_post dd > div > p img {
  vertical-align: bottom;
}
dl.parts_post dd > div > div {
  padding: 1.2rem 2rem 2rem;
}
dl.parts_post dd ul.post_cat li {
  display: inline-block;
  padding: 3px 1rem;
  margin: 0 0 5px;
}
dl.parts_post dd ul.post_cat li a {
  font-size: 1.6rem;
}
@media screen and (max-width : 600px) {
  dl.parts_post dd ul.post_cat li a {
    font-size: 1.4rem;
  }
}

/***************
pager
***************/
.pager {
  margin-top: 5rem;
}
.pager .posts-navigation {
  border-top: 1px solid #000;
  padding: 20px 0;
  margin: 3.5rem auto;
}
.pager .nav-links {
  display: flex;
  justify-content: space-between;
}
.pager .nav-previous,
.pager .nav-next {
  display: inline-block;
}
.pager .nav-previous a,
.pager .nav-next a {
  font-weight: normal;
}

.pager_allpost .page-numbers {
  border: 1px solid #000;
  padding: 3px 6px;
  margin: 0 2px;
}
.pager_allpost .page-numbers.prev, .pager_allpost .page-numbers.next {
  border: none;
  font-size: 1.5rem;
}
.pager_allpost span.page-numbers.current {
  font-size: 1.7rem;
  padding: 4px 6px;
  background-color: #000;
  color: #fff;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/**********************

contact

**********************/
/* フォームのテンプレート template01 */
.form__wrap {
  width: 90%;
  max-width: 900px;
  /*フォームの最大幅*/
  margin-right: auto;
  margin-left: auto;
}

.wpcf7 .template01 {
  color: #333;
  font-size: 16px;
}
.wpcf7 .template01 a {
  margin: 0;
  padding: 0;
  text-decoration: underline;
  color: inherit;
  transition: opacity 0.25s;
}
.wpcf7 .template01 a:hover {
  opacity: 0.5;
  transition: opacity 0.25s;
}
.wpcf7 .template01 div.form__row {
  margin: 0;
  padding: 0;
  margin-top: 2em;
}
.wpcf7 .template01 div.form__row.row-privacy {
  margin-top: 3.5em;
  text-align: center;
}
.wpcf7 .template01 p.form__label,
.wpcf7 .template01 p.form__body {
  margin: 0;
  margin-bottom: 2%;
  padding: 0;
  box-sizing: border-box;
}
.wpcf7 .template01 p.form__label label {
  position: relative;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.wpcf7 .template01 p.form__label.is-required label {
  padding-left: 45px;
}
.wpcf7 .template01 p.form__label.is-optional label::after, .wpcf7 .template01 p.form__label.is-required label::after {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  color: #fff;
  text-align: center;
  font-size: 11px;
  padding: 2px;
  border-radius: 3px;
  box-sizing: border-box;
}

.wpcf7 .template01 p.form__label.is-required label::after {
  content: "必須";
  background: #f00;
}
.wpcf7 .template01 p.form__label.is-optional label {
  padding-left: 45px;
}
.wpcf7 .template01 p.form__label.is-optional label::after {
  content: "任意";
  background: #5c5c5c;
}

/* テキストフィールド */
.wpcf7 .template01 input[type=text],
.wpcf7 .template01 input[type=tel],
.wpcf7 .template01 input[type=email],
.wpcf7 .template01 input[type=url],
.wpcf7 .template01 input[type=date],
.wpcf7 .template01 input[type=number],
.wpcf7 .template01 textarea {
  width: 100%;
  margin: 0;
  padding: 0.5em 1em;
  border: 1px solid #ccc;
  border-radius: 0;
  box-shadow: none;
  background-color: #fff;
  color: inherit;
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* テキストフィールド placeholder */
.wpcf7 .template01 input[type=text]::-moz-placeholder, .wpcf7 .template01 input[type=tel]::-moz-placeholder, .wpcf7 .template01 input[type=email]::-moz-placeholder, .wpcf7 .template01 input[type=url]::-moz-placeholder, .wpcf7 .template01 input[type=date]::-moz-placeholder, .wpcf7 .template01 input[type=number]::-moz-placeholder, .wpcf7 .template01 textarea::-moz-placeholder {
  color: #ccc;
}
.wpcf7 .template01 input[type=text]::placeholder,
.wpcf7 .template01 input[type=tel]::placeholder,
.wpcf7 .template01 input[type=email]::placeholder,
.wpcf7 .template01 input[type=url]::placeholder,
.wpcf7 .template01 input[type=date]::placeholder,
.wpcf7 .template01 input[type=number]::placeholder,
.wpcf7 .template01 textarea::placeholder {
  color: #ccc;
}

.wpcf7 .template01 input[type=text]:-ms-input-placeholder,
.wpcf7 .template01 input[type=tel]:-ms-input-placeholder,
.wpcf7 .template01 input[type=email]:-ms-input-placeholder,
.wpcf7 .template01 input[type=url]:-ms-input-placeholder,
.wpcf7 .template01 input[type=date]:-ms-input-placeholder,
.wpcf7 .template01 input[type=number]:-ms-input-placeholder,
.wpcf7 .template01 textarea:-ms-input-placeholder {
  color: #ccc;
}

.wpcf7 .template01 input[type=text]::-ms-input-placeholder,
.wpcf7 .template01 input[type=tel]::-ms-input-placeholder,
.wpcf7 .template01 input[type=email]::-ms-input-placeholder,
.wpcf7 .template01 input[type=url]::-ms-input-placeholder,
.wpcf7 .template01 input[type=date]::-ms-input-placeholder,
.wpcf7 .template01 input[type=number]::-ms-input-placeholder,
.wpcf7 .template01 textarea::-ms-input-placeholder {
  color: #ccc;
}

/* テキストフィールド フォーカス時 */
.wpcf7 .template01 input[type=text]:focus,
.wpcf7 .template01 input[type=tel]:focus,
.wpcf7 .template01 input[type=email]:focus,
.wpcf7 .template01 input[type=url]:focus,
.wpcf7 .template01 input[type=date]:focus,
.wpcf7 .template01 input[type=number]:focus,
.wpcf7 .template01 textarea:focus {
  outline: 0;
  border: 1px #080808 solid;
}

/* チェックボックス */
.wpcf7 .template01 input[type=checkbox] {
  display: none;
}
.wpcf7 .template01 input[type=checkbox] + span {
  cursor: pointer;
  position: relative;
  margin: 0;
  padding: 0 1em 0 1.8em;
  font-size: inherit;
  box-sizing: border-box;
  transition: opacity 0.25s ease;
  line-height: 1.5;
}
.wpcf7 .template01 input[type=checkbox] + span::before {
  content: "";
  opacity: 1;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 1.24em;
  height: 1.24em;
  border: 1px solid #ccc;
  border-radius: 0;
  background-color: #fff;
  box-sizing: border-box;
  transition: opacity 0.25s ease;
  z-index: 1;
}
.wpcf7 .template01 input[type=checkbox] + span::after {
  content: "";
  opacity: 0;
  display: block;
  position: absolute;
  top: 0.15em;
  left: 0.44em;
  width: 0.4em;
  height: 0.8em;
  border-bottom: 3px solid #000;
  border-right: 3px solid #000;
  box-sizing: border-box;
  transform: rotate(40deg);
  transition: opacity 0.25s ease;
  z-index: 10;
}
.wpcf7 .template01 input[type=checkbox]:checked + span::before {
  opacity: 1;
  transition: opacity 0.25s ease;
}
.wpcf7 .template01 input[type=checkbox]:checked + span::after {
  opacity: 1;
  border-bottom: 2px solid #306ad4;
  border-right: 2px solid #306ad4;
  transition: opacity 0.25s ease;
}

/* ラジオボタン */
.wpcf7 .template01 input[type=radio] {
  display: none;
}
.wpcf7 .template01 input[type=radio] + span {
  cursor: pointer;
  position: relative;
  margin: 0;
  padding: 0 1em 0 1.8em;
  font-size: inherit;
  transition: opacity 0.25s ease;
}
.wpcf7 .template01 input[type=radio] + span::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 1em;
  height: 1em;
  border: 1px solid #ccc;
  border-radius: 50%;
  background-color: #fff;
  box-sizing: border-box;
  transition: opacity 0.25s ease;
}
.wpcf7 .template01 input[type=radio] + span::after {
  content: "";
  display: block;
  opacity: 0;
  position: absolute;
  box-sizing: border-box;
  transition: opacity 0.25s ease;
}
.wpcf7 .template01 input[type=radio]:checked + span::after {
  opacity: 1;
  top: 0.2em;
  left: 0.2em;
  width: 0.6em;
  height: 0.6em;
  background-color: #306ad4;
  border-radius: 50%;
  box-sizing: border-box;
  transition: opacity 0.25s ease;
}

/* セレクト */
.wpcf7 .template01 span.select-wrap {
  position: relative;
  width: 250px;
  margin: 0;
  padding: 0;
}

.wpcf7 .template01 select {
  cursor: pointer;
  max-width: 100%;
  margin: 0;
  padding: 0.5em 2.5em 0.5em 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: none;
  background-color: #fff;
  color: inherit;
  font-size: inherit;
  line-height: 1;
  box-sizing: border-box;
  transition: border-color 0.2s ease, outline 0.2s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.wpcf7 .template01 select::-ms-expand {
  display: none;
}

.wpcf7 .template01 span.select-wrap::after {
  content: "";
  pointer-events: none;
  position: absolute;
  display: block;
  width: 0.6em;
  height: 0.6em;
  top: 50%;
  right: 1.5em;
  margin-top: -3px;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
  transform: rotate(45deg) translateY(-50%);
  transform-origin: 50% 0;
  box-sizing: border-box;
}

.wpcf7 .template01 select:focus {
  outline: 0;
  border: 1px #080808 solid;
}

.wpcf7 .template01 span.select-wrap:focus-within::after {
  border-bottom: 1px solid #080808;
  border-right: 1px solid #080808;
}

/* 送信ボタン */
.wpcf7 .template01 .submit-btn {
  position: relative;
  width: 320px;
  height: 65px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  margin-left: auto;
  margin-right: auto;
}

.wpcf7 .template01 input[type=submit] {
  cursor: pointer;
  width: 320px;
  max-width: 100%;
  padding: 18px;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid #000;
  background-color: #000;
  color: #fff;
  font-size: 18px;
  text-align: center;
  box-sizing: border-box;
  transition: opacity 0.25s;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.wpcf7 .template01 input[type=submit]:disabled {
  cursor: not-allowed;
  box-shadow: none !important;
  border: 1px solid #f8f8f8 !important;
  background-color: #f8f8f8 !important;
  color: #999 !important;
}

.wpcf7 .template01 input[type=submit]:hover {
  background-color: #fff;
  color: #000;
  transition: opacity 0.25s, background-color 0.25s;
}

.wpcf7 .template01 input[type=submit]:focus {
  outline: 1px #eee solid;
  border: 1px #080808 solid;
}

.wpcf7 .template01 span.wpcf7-list-item {
  margin: 0 1em 0.2em 0;
}

.wpcf7 .template01 .ajax-loader {
  display: block;
}

@media only screen and (max-width: 768px) {
  .wpcf7 .template01 span.wpcf7-list-item {
    display: block;
  }
}
/*プライバシーポリシーの説明*/
.contact_privacy {
  margin-bottom: 80px;
}
.contact_privacy p {
  line-height: 1.5em;
}

.contact_privacy_ttl {
  margin-top: 20px;
  font-weight: bold;
}
/*# sourceMappingURL=style.css.map */