@charset "utf-8";
/*
Theme Name: site
Description: basicwordpresstheme
Version: 1
Author: LLC JIRIKI
Author URI: https://www.jiriki.co.jp/
*/
html {
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  font-family: '游ゴシック体' , 'Yu Gothic' , YuGothic, sans-serif;
  font-weight: 500;
  background: #edf1f4;
  width: 100%
}
body {
  animation: fadeIn 2s ease 0s 1 normal;
  -webkit-animation: fadeIn 2s ease 0s 1 normal;
}
p {
  overflow-wrap: break-word;
}
@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}
@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}
.grecaptcha-badge {
  box-shadow: none!important;
}
.shutter{
  position:fixed;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background-color:#1e1e1e;
  z-index:9999;
  transition: all 1s;
}

#load-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  transition: all 1s;
  opacity: 1;
}

@-webkit-keyframes hello {
  　　0% {
    　　　opacity: 1;
  　　}
  　　40% {
    　　　opacity: 1;
  　　}
  　　50% {
    　　　opacity: 1;
  　　}
  　　100% {
    　　　opacity: 1;
  　　}
  }


.shutter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  background-color: #fff;
  width: 0;
  height: 1px;
}
.shutter {
  -webkit-animation: byeShutter 2.6s forwards;
          animation: byeShutter 2.6s forwards;
}
.shutter::before {
  -webkit-animation: shutterOpen 2.6s forwards;
          animation: shutterOpen 2.6s forwards;
}
@keyframes byeShutter {
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
    z-index: -1;
  }
}
@keyframes shutterOpen {
  0% {
    width: 0;
    height: 1px;
  }
  50% {
    width: 100%;
    height: 1px;
  }
  90% {
    width: 100%;
    height: 100%;
  }
  100% {
    width: 100%;
    height: 100%;
  }
}
.mask-bg {
  color: transparent;
  display: inline-block;
  overflow: hidden;
  position: relative;
  transition: color 0ms 450ms;
}
.mask-bg::after {
  background: linear-gradient(to right, #362ae0 0%,#3b79cc 50%,#42d3ed 100%);
  bottom: 0;
  content: '';
  display: block;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transform: translate(0, 100%);
}
 
.mask-bg.is-animated {
  color: #362ae0;
}
.mask-bg.is-animated::after {
  animation: mask-bg 1.2s cubic-bezier(0.8, 0, 0.170, 1);
}
 
@keyframes mask-bg {
  0% {
    transform: translate(0, 101%)
  }
  40%, 60% {
    transform: translate(0, 0%)
  }
  100% {
    transform: translate(0, -100%)
  }
}
.line {
  display: block;
  position: relative;
}
.line::after {
  background: linear-gradient(to right, #362ae0 0%,#3b79cc 50%,#42d3ed 100%);
  content: '';
  display: block;
  height: 1px;
  width: 0;
  transform: translateX(-50%);
  transition: 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  position: absolute;
  bottom: 0;
  left: 50%;
}
.line.is-animated::after {
  width: 100%;
}
/*下からフェードイン*/
.fade-in-bottom {
  opacity: 0;
  animation-name: fadein-bottom;
  animation-duration: 1.5s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}
@keyframes fadein-bottom {
  0% {
     opacity: 0;
     transform: translateY(20px);
  }
  100% {
     opacity: 1;
     transform: translateY(0);
  }
}

.b {
  font-weight: bold;
}

.cookiemodal {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 99;
  width: 100%;
  padding: 1em;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 70%;
}
.cookiemodal .w60 {
  width: 50%;
  margin: 10px auto;
}
.cookiemodal .close {
  position: absolute;
  left: -20%;
  top: 12%;
  background: #fff;
  color: #000;
  padding: 4px;
  text-align: center;
  width: 60px;
  cursor: pointer;
}
.cookiemodal a {
  color: #fff;
  display: inline!important;
  text-decoration: underline;
}

.fadein, .case {
    opacity : 0;
    transform : translate(0, 50px);
    -webkit-transform: translate(0, 50px);
    transition : all 1s;
    -webkit-transition: all 1s;
}
.fadein.scrollin, .case.scrollin {
    opacity : 1;
    transform : translate(0, 0);
    -webkit-transform: translate(0, 0);
}

.clearfix {
  position: relative;
}

.clearfix::after {
  content: ".";
  display: block;
  height: 0;
  font-size:0;
  clear: both;
  visibility:hidden;
}

/*RESET*/
p, h2, h3, h4, h5, h6 {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
}

ul, li {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

dl {
  position: relative;
}

dt {
  float: left;
}

dd {
  margin-left: 8em;
}

a {
  color: #333;
  display: block;
  text-decoration: none;
  transition: all 0.5s;
}

input[type="submit"] {
  border: none;
  background: none;
  cursor: pointer;
  display: block;
  width: 100%;
}

input[type="submit"]:hover {
  color: #fff;
}

figure {
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 10px;
  margin-inline-end: 10px;
}

/*BASE*/
section {
  position: relative;
  margin: 0;
  padding: 0;
}

.iframe-outer {
  position:relative;
	width:100%;
	height:0;
	padding-top:75%;
  background: #F2F1F0;
}

iframe {
position: absolute;
top: 0;
left: 0;
	width:100%;
	height:100%;
}

div {
  position: relative;
  margin: 0;
  padding: 0;
}


.btn-more-box:hover {
  opacity: 0.8;
}

.title {
  margin-bottom: 1em;
}

.subtitle {
  margin-bottom: 0.5em;
  font-family: 'Noto Sans', sans-serif;;
}

.flex {
  margin-top: 2%;
  display: flex;
  justify-content: space-between;
}

.text-center, .text_center {
  text-align: center;
}

.text-right, .text_right {
  text-align: right;
}

.text-left, .text_left {
  text-align: left;
}

.mauto {
  margin: 1em auto!important;
}


.md10 {
  margin: 0 5%!important;
}

.mb0 {
  margin-bottom: 0!important;
}

.mt0 {
  margin-top: 0!important;
}

.mt2em {
  margin-top: 2em;
}

.pt0 {
  padding-top: 0!important;
}

.pb0 {
  padding-bottom: 0!important;
}

.pt10 {
  padding-top: 10px!important;
}

.pt20 {
  padding-top: 20px!important;
}

.pb10 {
  padding-bottom: 10px!important;
}

.pb20 {
  padding-bottom: 20px!important;
}

.ml2em {
  margin-left: 2em;
}

.mb1em {
  margin-bottom: 1em;
}

.mb2em {
  margin-bottom: 2em;
}

.ml0-5em {
  margin-left: 0.5em;
}

.mw330 {
  min-width: 330px;
}

.hidden {
  display: none;
}

.blockshow {
  display: block!important;
}

.width10 {
  width: 10%!important;
}

.width20 {
  width: 20%!important;
}

.width30 {
  width: 30%!important;
}

.width40 {
  width: 40%!important;
}

.width50 {
  width: 49%!important;
}

.width60 {
  width: 60%!important;
}

.width70 {
  width: 70%!important;
}

.width80 {
  width: 80%!important;
}

.exsmall {
  font-size: 50%;
}

.small {
  font-size: 70%;
}

.big {
  font-size: 140%;
}

.exbig {
  font-size: 160%;
}

.wbr {
  margin-bottom: 2em;
}

.text-white {
  color: #fff;
}

.center {
  text-align: center;
}

.left {
  text-align: left
}

.right {
  text-align: right;
}

.no-block {
  display: inline!important;
}

.clearfix {
  clear: both;
}

.z-index9 {
  position: relative;
  z-index: 9;
}

.text-padding {
  width: 70%;
  margin: 40px auto;
}

.button {
  display: block;
  width: 160px;
  margin: 10px auto;
  font-size: 80%;
  text-align: center;
  text-decoration: none;
  outline: none;
}
.button::before,
.button::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}
.button,
.button::before,
.button::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.button {
  position: relative;
  z-index: 2;
  background-color: #fff;
  border: 2px solid #333;
  color: #333;
  line-height: 30px;
  overflow: hidden;
}
.button:hover {
  color: #fff;
}
.button::after {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.button:hover::after {
  -webkit-transform: scale(2) rotate(180deg);
  transform: scale(2) rotate(180deg);
  background: #4c4948;
}

.more-contents .button {
  margin: 40px auto;
  font-size: 100%;
  width: 300px;
}

.l50 {
  line-height: 50px;
}

.border-t1 {
  border-top: 1px solid #d8d8d8;
  padding-bottom: 1em;
}

.no-radius, .no-radius a {
  border-radius: 0!important;
}

.no-margin {
  margin: 0!important;
}

.no-padding {
  padding: 0!important;
}

/*bread*/
.breadcrumb {
  max-width: 100%;
  margin: 0 auto;
  margin-left: 5%;
  margin-bottom: 1.5em;
}

.breadcrumb ul {
  display: flex;
  justify-content: flex-start!important;
  flex-wrap: wrap;
}

.breadcrumb ul li {
  margin-right: 2%;
  font-size: 80%;
  padding-top: 3px;
  position: relative;
}

.breadcrumb ul li::before {
  content: '>';
  position: absolute;
  left: -16px;
  top: 3px
}

.breadcrumb ul li:nth-child(n+2) {
  margin-left: 1%;
}

.breadcrumb ul li:nth-child(2) {
  display: none;
}

.breadcrumb ul li:last-child {
  display: block;
}

.breadcrumb ul li:first-child::before {
  content: '';
}

.breadcrumb ul li a {
  transition: all 1s;
}

.breadcrumb ul li a:hover {
  color: #003174;
}

.swiper-button-next {
  right: 12px!important;
}

/*menu*/
header {
  background: #fff;
  width: 100%;
  top: 0;
  left: 0;
  padding: 2px;
  border-top: 4px solid #003174;
  box-shadow: 0 3px 6px #d8d8d8;
  transition: all 0.5s;
  z-index: 100;
  box-sizing: border-box;
  transition: all 1s;
  position: fixed;
}

header img {
  width: 330px;
  position: relative;
  top: 6px;
}

header h1 {
  margin: 0;
}

.siteh {
  padding: 0 6% 0 4%;
  display: flex;
  justify-content: flex-start;
}

.header-contact {
  position: absolute;
  right: 6em;
  top: 4px;
}

.isFixed .header-contact {
  top: 0;
}

.header-contact ul.contact-box li a {
   background: #1E8442;
   padding: 10px;
   height: 24px;
   transition: all 1s;
}

.header-contact ul.contact-box li:last-child a {
  background: #EA5504;
}

.header-contact ul.contact-box li a:hover {
  opacity: 0.8;
}

.header-contact .contact-box {
  color: #fff;
  padding: 0;
  border-radius: 0 0 2px 2px;
  display: flex;
  justify-content: space-around;
}

.header-contact ul li:first-child {
  border-right: 2px solid #fff;
}

.header-contact ul li a {
  color: #fff;
}

.header-contact ul li img {
  width: 18px;
  position: relative;
  top: 3px;
  margin-right: 4px;
}

.header-contact-sp {
  display: none;
}


.logo-area {
  position: relative;
}

.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9;
  -webkit-animation: sweep-from-top 0.2s ease-out;
  animation: sweep-from-top 0.2s ease-out;
}

.fixed h1 img {
  width: 100px;
}

.menu_area {
  padding-top: 1vh;
  padding-left: 2vw;
  transition: all 1s;
}

.fixed .menu_area {
  padding-top: 1.5vh;
}

.fixed .menu_area li a {
  font-size: 90%;
}

.hm_menu_check {/* チェックボックスを隠す */
  display: none;
}

.logo-img {
  max-width: 100%;
}

#menu-headmenu {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#menu-headmenu li {
  margin-right: 2rem;
}

#menu-headmenu li:last-child {
  margin-right: 0;
}

#menu-headmenu li a {
  display: block;
  position: relative;
  color: #000;
  font-family: YuMincho, /* Mac用 */ 'Yu Mincho', /* Windows用 */ serif;
  font-weight: bold;
}

#menu-headmenu .sub-menu li a {
  font-family: '游ゴシック体' , 'Yu Gothic' , YuGothic, sans-serif;
  font-weight: 500;
}

#menu-headmenu li a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  content: "";
  width: 0%;
  height: 2px;
  background: #000;
  transition: all 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

#menu-headmenu li a:hover::after {
  width: 100%;
}

/*sub-menu*/
#menu-headmenu .sub-menu {
  visibility: hidden;
  width: 100%;
  box-sizing: border-box;
  opacity: 0;
  position: absolute;
  background: #fff;
  z-index: 999;
  transition: all 0.2s;
  box-shadow: 0px 2px 3px #d8d8d8;
}

#menu-headmenu li:hover > .sub-menu {
  visibility: visible;
  opacity: 1;
  width: 100%;
  transition: all 0.2s;
}

#menu-headmenu li .sub-menu li {
  width: 100%;
  margin-right: 0;
}

#menu-headmenu li .sub-menu li a {
  color: #333;
  display: block;
  padding: 6px 0 6px 10px;
  margin: 10px;
}

.hm_menu_wrap {
  top: 10px;
}

.pagination {
	clear: both;
	padding: 20px 0;
	position: relative;
	font-size: 14px;
	line-height: 14px;
  text-align: center;
}
.pagination-box {
	display: inline-block;
}
.pagination span, .pagination a {
	display: block;
	float: left;
	margin: 2px 2px 2px 0;
	padding: 10px 15px 10px 15px;
	text-decoration: none;
	width: auto;
	color: #fff; /* 通常の文字色 */
	background: #d8d8d8; /* 通常の背景色 */
}
.pagination a:hover{
	color: #fff; /* マウスホバー時の文字色 */
	background: #333; /* マウスホバー時の背景色 */
}
.pagination .current{
	padding: 10px 15px 10px 15px;
	color: #fff; /* 現在のページの文字色 */
  background: #003174; /* 現在のページの背景色 */
}

.scroll {
  margin-top: 0px;
  padding-bottom: 4em;
}

.absolute-title {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 4px;
  border: 2px solid #fff;
  color: #000;
  background: rgba(255,255,255,0.8);
  transition: all 1s;
}



.h-show .absolute-title {
  display: block;
  transition: all 1s;
}

.swiper-container {
    width: 100%;
    height: auto;
    margin-bottom: 2em!important;
}

.swiper-container img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.mv {
  position: relative;
  width: 100%;
  padding-bottom: 40.7%;
  margin-top: 5%;
}

.pv-open {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 10%;
  transform: translate(-50%, 0);
  cursor: pointer;
  background: radial-gradient(#152C56, #3961ac);
  padding: 10px 30px;
  color: #fff;
  border-radius: 4px;
  transition: all 0.5s;
  width: 300px;
  text-align: center;
  box-shadow: 0 5px 10px #333;
}

.pv-open span {
  position: relative;
  left: 24px;
}

.pv-open::before {
  content: '';
  display: block;
  background: url(img/movie-open.png) no-repeat;
  background-size: contain;
  width: 30px;
  height: 30px;
  position: absolute;
  left: 66px;
  top: 7px;
}

.pv-open:hover {
  opacity: 0.5;
}

#pv {
  display: none;
  padding: 20px;
  background-color: #000;
  margin: 0 auto;
  text-align: center;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99;
  transition: all 1s;
  border-radius: 8px;
}

.pv-show {
  display: block!important;
}

.mask-modal {
  display: none;
  background: rgba(0,0,0,0.5);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 90;
}

.close {
  position: absolute;
  right: 0;
  top: -43px;
  display: block;
  cursor: pointer;
}

.mask {
  background: rgba(0,0,0,0.5);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

.dot {
  background: url(img/mask.png);
  background-size: 4px 4px;
  opacity: 0.5;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 3;
}

.home video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ab50-50 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
}

.zindex9 {
  z-index: 5;
}

/*
.mv::before {
  content: '';
  display: block;
  position: absolute;
  background: rgba(0,0,0,0.7);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
*/

.mainblock {
  padding: 5%;
}

.newsarea {
  position: relative;
  background: url(img/xlbg.jpg);
  background-attachment: fixed;
  background-size: cover;
  position: relative;
  padding-bottom: 4em;
}

.newsarea:before {
  content: "";
  display: block;
  width: 100%;
  height: 20rem;
  background: linear-gradient(to bottom, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.2) 70%, rgba(255,255,255,0) 100%);
  position: absolute;
  top: 0px;
  left: 0px;
}

.txt-white {
  color: #fff!important;
}

.bg-45 {
  position: relative;
}

.bg-45::before {
  content: '';
  position: absolute;
  left:0;
  top: 0;
  /*四角形を傾けます*/
  transform: skewY(2deg);
  transform-origin: top right;
  z-index: -1;
  width:100%;
  height:100%;
  background:#fff; 
}



.block-inner {
  max-width: 1680px;
  margin: 0 auto;
}

.single-page .block-inner, .page .block-inner, .category .block-inner, .date .block-inner {
  padding-bottom: 8em;
}

section.single-page .block-inner ul {
  margin: 1em 0;
  padding: 0 0 0 1em;
}

section.single-page .block-inner ul.tag-flex {
  margin: 0.5em 0;
}

section.single-page .newsarea h2, .mainblock h2 {
  text-align: center;
}

section.single-page .block-inner h2 {
  font-size: 1.4em;
  margin: 1.5em 0 0;
  padding-bottom: 0.5em;
  position: relative;
}

section.single-page .block-inner h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  content: '';
  background-image: -webkit-repeating-linear-gradient(135deg, rgb(183 183 183), rgb(201 201 201) 1px, transparent 2px, transparent 5px);
  background-image: repeating-linear-gradient(-45deg, rgb(183 183 183), rgb(201 201 201) 1px, transparent 2px, transparent 5px);
  background-size: 7px 7px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;  
}

section.single-page .block-inner h2:nth-child(n+2) {
  margin-top: 3.5em;
}

section.single-page .outer.page-mv h2 {
  border-bottom: none;
  margin: 0;
}

section.single-page .block-inner h3 {
  font-size: 1.3em;
  margin: 1.4em 0;
  padding-bottom: 0.2em;
  border-bottom: 2px solid #d8d8d8;
}

section.single-page .block-inner h2 + h3 {
  margin-top: 1.4em!important;
}

section.single-page .block-inner h3:nth-child(n+2) {
  margin-top: 3em;
}

section.single-page .block-inner h3.archives-title {
  margin: 0 0 0.5em;
}

section.single-page .block-inner h4 {
  font-size: 1.28em;
  margin: 3em 0 0;
  border-bottom: 1px solid #666;
}

section.single-page .block-inner h5 {
  font-size: 1.1em;
  margin: 2em 0 1em;
}

.home #right-content {
  max-width: 380px;
}

.single #right-content, .category #right-content, .date #right-content {
  min-width: 300px;
  padding-bottom: 4em;
}

#right-content .sticky h3 {
  text-align: center;
  color: #fff;
  background: #1E8442;
}

.sticky {
  margin-top: 2em;
}

.sticky.pc-only {
  margin-top: 0;
}

.right-archives li {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 0.2em;
  background: #f4f4f4;
}

.right-archives li a {
  padding: 8px;
  display: block;
  transition: all 0.5s;  
}

.sidebar-cat-list li:first-child {
  display: none;
}

.single #left-content {
  padding-bottom: 8em;
}

.single #left-content ul {
  padding-left: 1em;
}

#left-content section.page-block .block-inner ul {
  margin: 2em;
}

#left-content section.page-block .block-inner ul.tag-flex {
  margin: 0.5em 0;
}

#left-content .newsarea h2, .mainblock h2 {
  text-align: center;
}

#left-content section.page-block .block-inner h2 {
  font-size: 1.4em;
  margin: 1.5em 0;
  border-bottom: 2px solid #d8d8d8;
}

#left-content section.page-block .outer.page-mv h2 {
  border-bottom: none;
  margin: 0;
}

#left-content section.page-block .block-inner h3 {
  font-size: 1.3em;
  margin: 1.4em 0;
}

#left-content section.page-block .block-inner h3.archives-title {
  margin: 0 0 0.5em;
}

#left-content section.page-block .block-inner h4 {
  font-size: 1.25em;
  margin: 1.3em 0;
}

#left-content section.page-block .block-inner h5 {
  font-size: 1.2em;
  margin: 1em 0;
}

.wp-block-table {
  margin: 1.5em 0;
  border-collapse: collapse;
  width: 100%;
}



.wp-block-table th, .wp-block-table td {
  text-align: left;
  border: 1px solid #d8d8d8;
  padding: 2%;
}

.page-id-13 .wp-block-table th, .wp-block-table td {
  padding: 1%;
}

.wp-block-table th {
  width: 15%;
}

.blocks-gallery-grid, .wp-block-gallery {
  width: 50%;
  flex-wrap: nowrap;
}

.column-flex-block {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border-bottom: 3px solid #f4f4f4;
  padding: 0.5em 0 0.5em;
}

.category .column-flex-block, .date .column-flex-block {
  align-items: unset;
}

.column-flex-block:first-child {
  padding: 0 0 0.5em;
}

.column-flex-block:last-child {
  border: none;
}

.column-flex-block .img {
  margin-right: 0;
}

.tag-flex {
  display: flex;
  justify-content: flex-start;
  margin-right: 2em;
  flex-wrap: wrap;
}

.tag-flex li {
  margin-right: 4px;
  margin-bottom: 2px;
}

.tag-flex li:last-child {
  margin-right: 0;
}

.tag-flex li a {
  display: block;
  padding: 2px 4px;
  font-size: 12px
}

.single .tag-flex {
  position: absolute;
  right: 0;
}

.flex-block {
  margin: 2em auto;
}

.flex-layout {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.flex-center {
  justify-content: space-around;
  align-items: unset;
}

.last-block .flex-center {
  justify-content: space-between;
}

.last-block #left-content {
  width: 70%;
  margin-right: 2%;
}

.flex-start {
  justify-content: flex-start;
  align-items: center;
}

.flex-inner {
  max-width: 1280px;
  border: 3px solid #f4f4f4;
  padding: 10px;
  margin: 0 auto;
  margin-bottom: 2em;
}

.thumbnail {
  margin-right: 1em;
}

.home .thumbnail {
  margin-right: 0;
}

.single .thumbnail {
  margin-right: 0;
}

#right-content .pc-only li {
  margin-bottom: 1.5em;
}

.works-box .thumbnail {
  max-width: 300px;
}

.news-area .thumbnail {
  max-width: 200px;
  min-width: 200px;
  overflow: hidden;
}

.category .news-area .thumbnail, .date .news-area .thumbnail {
  max-height: 200px;
  min-height: 200px;
  min-width: 248px;
}

.category-works .news-area .thumbnail {
  max-height: 200px;
  max-width: 370px;
  min-width: 370px;
}

.wp-block-image {
  margin-bottom: 2em;
  position: relative;
}

.single .wp-block-image {
  padding-left: 1em;
}

.wp-block-image img {
  margin-bottom: 0.5em;
}

.wp-block-image figcaption {
  margin: 0 0 2.5em;
  position: absolute;
  bottom: 4px;
  padding: 8px;
  background: rgba(0,0,0,0.8);
  color: #fff;
  font-size: 14px;
}

.wp-block-video {
  position: relative;
}

.the_content p + .wp-block-video {
  padding-left: 1em;
  padding-right: 1em;
}

.wp-block-video figcaption {
  margin: 0 0 2.5em;
  position: absolute;
  top: 0;
  left: 1.2em;
  padding: 8px;
  background: rgba(0,0,0,0.8);
  color: #fff;
  font-size: 14px;  
}


.news-area .thumbnail img {
  transition: 1s all;
}

.news-area .thumbnail img:hover {
  transform: scale(1.2,1.2);
  transition: 1s all;
}

.flex-block ul {
  display: flex;
  justify-content: space-around;
}

.flex-block li {
  width: 33%;
  margin-right: 2%;
  padding: 1em;
  background: #fff;
  text-align: center;
}

.flex-block li:last-child {
  margin-right: 0;
}

.more-btn {
  display: block;
  width: 80%;
  margin: 1em auto;
  background: #ff9900;
  color: #fff;
  cursor: pointer;
  padding: 1em 0;
  border-radius: 4px;
  border-bottom: 4px solid #7b4804;
}

.btn-more {
    position: relative;
    display: block;
    width: 100%;
    max-width: 260px;
    height: 60px;
    line-height: 58px;
    font-family: "EB Garamond", serif;
    font-size: 1.3rem;
    text-align: center;
    color: #040456!important;
    border: 1px solid #040456;
    margin: 0 auto;
}



.btn-more:hover {
    background: #040456;
    color: #fff!important;
}

.btn-more.txt-white {
  position: relative;
  display: block;
  width: 100%;
  max-width: 260px;
  height: 60px;
  line-height: 58px;
  font-family: "EB Garamond", serif;
  font-size: 1.3rem;
  text-align: center;
  color: #040456;
  border: 1px solid #fff;
  margin: 0 auto;
  background: #fff;
}



.btn-more.txt-white:hover {
  background: #040456;
  color: #fff!important;
}

.btn-link li a {
  transition: all 1s;
  display: block;
  width: 80%;
  margin: 4em auto;
  background: rgba(255,255,255,0.8);
  color: #000;
  cursor: pointer;
  padding: 1em 0;
  border-radius: 4px;
  box-shadow: 0px 3px 0 #110e1f;  
  position: relative;
}

.btn-link li a:hover {
  opacity: 0.8;
  top: 2px;
  box-shadow: none
}

section.page-block {
  background-color: #fff;
  width: 80%;
  margin: 0 auto;
  margin-bottom: 4em;
  padding: 20px;
}

section.page-block h1 {
  border-left: 10px solid #162D56;
  padding-left: 10px;
  margin-bottom: 0;
  margin-top: 0;
}

.single .page-block h1, .category .page-block h1 {
  margin-right: 70px;
}

section.page-block .the_content h1 {
  margin-bottom: 1em;
}

section.page-block h2 {
  font-size: 1.4em;
  margin: 0;
  margin-bottom: 1em;
  padding-bottom: 0.5em;
  position: relative;
}

.date section.page-block h2 {
  margin-bottom: 0;
  padding-bottom: 0;
}

section.page-block h3 {
  border-bottom: 2px solid #d8d8d8;
  padding-bottom: 0.3em;
  margin-bottom: 1em;
}

section.page-block h3.archives-title {
  border: none;
}

.category section.page-block h3, .date section.page-block h3 {
  margin-bottom: 0;
}

.category section.page-block h3 + .flex, .date section.page-block h3 + .flex {
  margin-top: 0;
}

section.page-block h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  content: '';
  background-image: -webkit-repeating-linear-gradient(
135deg
, rgb(183 183 183), rgb(201 201 201) 1px, transparent 2px, transparent 5px);
  background-image: repeating-linear-gradient(
-45deg
, rgb(183 183 183), rgb(201 201 201) 1px, transparent 2px, transparent 5px);
  background-size: 7px 7px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;  
}

section.page-block h4, section.page-block h5, section.page-block h6 {
  margin-bottom: 1em;
}

.date section.page-block h2::after {
  border: none;
  height: 0;
}

#p-mv h1 {
  width: auto;
}

section.page-block h1:nth-child(n+2) {
  margin-top: 3.5em;
}

#p-mv {
  margin-bottom: 3em;
}

.wp-block-table table {
  margin-bottom: 3em;
}

section.page-block #p-mv h1 {
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-family: YuMincho, /* Mac用 */ 'Yu Mincho', /* Windows用 */ serif;
  font-weight: bold;
  letter-spacing: 1.5px;
}

section.page-block p {
  padding: 0 1em;
  margin-bottom: 0.2em;
  line-height: 1.5em;
}

section.page-block .excerpt p {
  padding: 0;
}

section.page-block p + p {
  margin-bottom: 1.5em;
}

section.page-block p + figure {
  margin-top: 1.5em;
}

section.page-block h2 + p, section.page-block h3 + p, section.page-block h4 + p {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

section.page-block table {
  padding: 0 1em;
}

section.works-block table {
  padding: 0;
}

.bg-white {
  background: #fff;
}

.bg-img-area {
  background: url(img/xlbg.jpg) no-repeat;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  height: 300px;
  position: relative;
}

.bg-img-area::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 300px;
  background: rgba(0,0,0,0.5);
}

.div-block div {
  width: 60%;
  margin: 1em auto;
  padding: 10%;
}

.div-block h2 {
  text-align: center;
}


.news-list {
  margin: 2em auto;
  padding: 2em;
  background:rgba(255,255,255,0.8);
  display: flex;
  justify-content: space-around;
}


.area-title {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: normal;
  text-align: center;
  color: #162C50;
  font-size: 220%;
  margin-bottom: 1em;
}

.area-title-sub {
  font-family: YuMincho,    /* Mac用 */
	'Yu Mincho', /* Windows用 */
	serif;
  text-align: center;
}

.news-list .thumbnail {
  margin-bottom: 0.5em;

}

.news-list .thumbnail img {
  object-fit: cover;
  width: 300px;
  height: 180px;
  transition: all 0.8s;
  overflow: hidden;
}

.news-list .thumbnail img:hover {
  opacity: 0.6;
}

.home .news-list li {
  width: 25%;
  margin-right: 2%;
}

.home .news-list li:last-child {
  margin-right: 0;
}

.cat-tag {
  background: #333;
  display: block;
  text-align: center;
  margin: 0 2px;
}

.cat-tag a {
  padding: 2px 4px;
  font-size: 12px;
  min-width: 80px;
  display: block!important;
  text-align: center;
  color: #fff;
}

/* お知らせ【カテゴリ】 */
/* ニュース／グレー */
body .slug2 a {
  background: #333!important;
  color: #fff;
}
/* 地域貢献／紫 */
body .slug3 a {
  background: #93278F!important;
  color: #fff;
}
/* 認定・表彰／茶 */
body .slug9 a {
  background: #603813!important;
  color: #fff;
}
/* お知らせ／ピンク */
body .slug10 a {
  background: #ED1E6A!important;
  color: #fff;
}
/* かもめ会／青 */
body .slug11 a {
  background: #0062BC!important;
  color: #fff
}
/* 福利厚生／緑 */
body .slug7 a {
  background: #009245!important;
  color: #fff;
}
/* 行事／オレンジ */
body .slug8 a {
  background: #F7931E!important;
  color: #fff;
}
/* 新入社員関係／水色 */
body .slug4 a {
  background: #00A9FF!important;
  color: #fff;
}
/* その他1／青緑 */
body .slug19 a {
  background: #00c997!important;
  color: #fff;
}
/* その他2／抹茶 */
body .slug20 a {
  background: #92ab3f!important;
  color: #fff;
}

/* 【カテゴリ】施工実績 */
/* 施工実績／黒 */
body .slug5 a {
  background: #333;
  color: #fff;
}
/* 土木／茶 */
body .slug13 a {
  background: #472b00!important;
  color: #fff;
}
/* 水道／青紫 */
body .slug6 a {
  background: #566fbe!important;
  color: #fff;
}
/* その他／グレー */
body .slug12 a {
  background: #333!important;
  color: #fff;
}






.news-list li a {
  display: flex;
  justify-content: flex-start;
}

.time {
  margin-left: 4%;
  min-width: 90px;
  font-size: 13px;
}

.category .time, .date .time {
  margin-left: 2%;
}

.news-list .btn-more {
  text-align: right;
}

.w_bg {
  width: 100%;
  height: 300px;
  position: relative;
}


.w_bg img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 100%;
  transition: all 0.6s;
}

.w_bg img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(49, 91, 127, 0.2);
  z-index: 1;
  -webkit-transition: background .75s ease;
  transition: background .75s ease; 
}

.btn-more-box span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  border: 1px solid #fff;
  padding: 10px;
  width: 220px;
  text-align: center;
  background: rgba(0,0,0,0.5);
}

.works-box {
  margin-top: 1em;
}

.mw330 .time {
  background: #f4f4f4;
  padding: 2px 4px;
  font-size: 12px;
}

.single-box {
  margin-bottom: 2em;
}

.box {
  padding: 0 2%;
  box-sizing: border-box;
}

.single-box li {
  position: relative;
  z-index: 2;
}

/* TOP画像変更 */
/* 会社概要 */
.bg_01 {
  background: url(https://yokohama-kensetsu.jp/cmswp/wp-content/uploads/2021/07/091_R6_L0232-1-scaled-e1627285898942.jpg) no-repeat;
  background-size: cover;
  background-position: center;
  padding: 2%;
  position: relative;
  height: 300px;
}
/* 採用情報 */
.bg_02 {
  background: url(https://yokohama-kensetsu.jp/cmswp/wp-content/uploads/2023/08/0c76592b67b1fbc3c97bea966906f3fe.png) no-repeat;
  background-size: cover;
  background-position: center;
  padding: 2%;
  position: relative;
  height: 300px;
}
/* CSR/SDGs */
.bg_03 {
  background: url(img/ft03.jpg) no-repeat;
  background-size: cover;
  background-position: center;
  padding: 2%;
  position: relative;
  height: 300px;
}
/* お問い合わせ */
.bg_04 {
  background: url(https://yokohama-kensetsu.jp/cmswp/wp-content/uploads/2021/07/pixta_66008938_XL-scaled.jpg) no-repeat;
  background-size: cover;
  background-position: center;
  padding: 2%;
  position: relative;
  height: 300px;
}

.last-block ul {
  padding: 10px;
  position: absolute;
  z-index: 1;
  width: 174px;
  right: 0;
  top: 5em;
  text-align: right;
}

.last-block ul::after{
  content: '';
  position: absolute;
  left:0;
  top: 0;
  
  /*四角形を傾けます*/
  /*transform: skewY(12deg);*/
  transform-origin: top right;
  
  z-index: -1;
  width:100%;
  height:110%;
  background: rgba(22,44,80,0.8);
}

.last-block ul li a {
  color: #fff;
}

.last-block #left-content .single-box h2 {
  text-align: center;
  background: rgba(255,255,255,0.8);
  padding: 4px 12px;
  position: absolute;
  top: 0;
  right: 0;
  font-family: YuMincho,    /* Mac用 */
	'Yu Mincho', /* Windows用 */
	serif;
  width: 170px;
}

.banner-widget {
  text-align: center;
  margin-bottom: 0.8em;
}

#left-content {
  width: 100%;
}

.rightside-widget h3, #right-content .sticky h3 {
  background: #1E8442;
  padding: 4px;
  text-align: center!important;
  color: #fff;
  margin-bottom: 0.2em!important;
}

.rightside-widget ul li {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 0.2em;
  background: #f4f4f4;
}

.rightside-widget ul li a {
  padding: 8px;
  display: block;
  transition: all 0.5s;
}

.rightside-widget ul li a:hover {
  color: #162D56;
}

.outer.page-mv {
  margin-bottom: 2em;
  padding-bottom: 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #d8d8d8;
  position: relative;
}

.outer.page-mv small a, .outer.page-mv li a {
  padding: 2px 4px;
  color: #fff;
  text-align: center;
  display: block;
  font-size: 14px;
  min-width: 60px;
  background: #333;
}

.outer.page-mv .tag-flex {
  margin-right: 0;
}

.outer.page-mv h2 {
  border-left: 10px solid #162D56;
  padding-left: 10px;
}

.mv-absolute {
  position: absolute;
  left: 20px;
  bottom: -1px;
  font-size: 12px;
  color: #333;
}

.single .mv-absolute {
  left: 10px;
}



.isFixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: all 1s;
  z-index: 99;
}

#right-content .news-list {
  display: block;
  padding: 0;
}　

#right-content .news-list li {
  width: 100%;
  margin: 0;
}

#right-content .cat-tag a {
  text-align: center;
  display: block;
}

/*IE Hack!!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
@media all and (-ms-high-contrast: none) {
  body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: "Yu Gothic", "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro W3", "メイリオ";
    background: #edf1f4;
  }
  h2, h3, h4 {
    font-family: "Yu Gothic", "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro W3", "メイリオ";
  }
  .no-hack {
    display: none;
  }
  .ie-hack {
    display: block;
  }
  p {
    line-height: 1.5em;
  }
}
/*IE Hack!!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

.box .home-item {
  margin-bottom: 2em;
}

.error404 section.page-block {
  padding-bottom: 4em;
}

.page-id-33 .box span, .error404 .box span {
  font-weight: bold;
  font-size: 16px;
  font-family: YuMincho, /* Mac用 */ 'Yu Mincho', /* Windows用 */ serif;
}

.font-mincyo {
  font-family: YuMincho, /* Mac用 */ 'Yu Mincho', /* Windows用 */ serif;
  font-weight: bold;
  display: none;
}

.page-id-33 section.single-page .block-inner ul, .error404 section.single-page .block-inner ul {
  padding: 0;
}

.page-id-33 .box .page_item_has_children, .error404 .box .page_item_has_children {
  padding-left: 1em;
}

.page-id-33 .box a {
  display: contents;
}

.page-id-33 .box .children, .error404 .box .children {
  border-top: 2px solid #d8d8d8;
  padding-top: 1em!important;
  padding-left: 1em!important;
}

.page-id-33 .box .page_item.page-item-35 , .page-id-33 .box .page_item.page-item-33, .page-id-33 .box .page_item.page-item-161, .page-id-33 .box #menu-item-243 {
  padding-left: 1em;
  font-family: YuMincho, /* Mac用 */ 'Yu Mincho', /* Windows用 */ serif;
  font-weight: bold;
}

#sitemap_list {
  display: flex;
  justify-content: space-around;
}

/*footer*/

footer {
  position: relative;
  background: #fff;
  border-top: 2px solid #003174;
  padding: 5% 5%;
  color: #333;
}


footer a {
  color: #333;
}

footer .flex {
  justify-content: flex-start;
  flex-wrap: wrap;
}

footer .footer-left {
  margin-right: 5%;
  width: 25%;
}

footer .footer-left img {
  width: 300px;
}

footer .footer-right {
  width: 70%;
}

footer .sub-menu {
  margin-bottom: 1em;
  padding-left: 1em;
}

footer .menublock {
  width: 33%;
  margin-bottom: 2em;
}

footer .copyright {
  margin-top: 4em;
}

#menu-footermenu {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: 2em;
  flex-wrap: nowrap;
}

#menu-footermenu .sub-menu {
  padding-left: 1em;
  margin-bottom: 1em;
  border-top: 1px solid #333;
  padding-top: 0.5em;
}

#menu-footermenu li a, footer li a {
  transition: all 0.8s;
}

#menu-footermenu li a:hover, footer li a:hover {
  opacity: 0.8;
  color: #003174
}

#menu-footermenu li a {
  font-family: YuMincho, /* Mac用 */ 'Yu Mincho', /* Windows用 */ serif;
  font-weight: bold;
}

#menu-footermenu .sub-menu li a {
  font-family: '游ゴシック体' , 'Yu Gothic' , YuGothic, sans-serif;
  font-weight: normal;
}

#menu-footermenu #menu-item-209 .sub-menu {
  border: none;
  padding-top: 0;
}

#menu-footermenu #menu-item-209 .sub-menu li a {
  font-family: YuMincho, /* Mac用 */ 'Yu Mincho', /* Windows用 */ serif;
  font-weight: bold;
  padding: 0.3em 0;
  border-bottom: 1px solid #e6e1e1;
}

#menu-footermenu #menu-item-209 .sub-menu li:first-child a {
  padding-top: 0;
}

#menu-item-209 a {
  display: none;
}

#menu-footermenu #menu-item-209 .sub-menu li a {
  display: block;
}

/*WP機能********************************************************************************************************************/

.wp-block-columns {
  justify-content: flex-start;
  margin-bottom: 0!important;
}

.wp-block-column {
  flex-basis: calc(50%)!important;
  margin-right: 2%!important;
}

.wp-block-column:last-child {
  margin-right: 0!important;
}

.wp-block-column:nth-child(2n) {
  margin-left: 0!important;
}

.wp-block-column:not(:first-child) {
  margin-left: 0!important;
}

.wp-block-columns .wp-block-video {
  padding: 0 1em;
}

.sp-only {
  display: none;
}

.pc-only {
  display: block;
}

/*暫定処理のもの+++++++++++++++++++++++++++++++++++++++++++++++++++*/

@media screen and (max-width: 1280px) {

  .header-contact {
    right: 1em;
  }
  .news-list {
    align-items: unset;
  }
  .single #right-content, .category #right-content, .date #right-content {
    width: auto;
  }

  .home #right-content {
    max-width: 300px;
    margin: 0 auto;
  }
  .page-id-25 .wp-block-columns {
    flex-wrap: nowrap;
  }
  .page-id-25 ul + .wp-block-columns {
    flex-wrap: wrap;
  }
  .page-id-25 .wp-block-columns .wp-block-column {
    margin-right: 0!important;
  }
  .page-id-25 ul + .wp-block-columns .wp-block-column {
    margin-right: 2%!important;
  }




  footer .footer-left {
    margin-right: 3%;
    width: 35%;
  }
  .footer-left p {
    font-size: 12px;
  }
  footer .footer-right {
    width: 62%;
    font-size: 12px;
  }
}
/* ▽▽iPad▽▽------------------------------------------------------- */

@media screen and (min-width: 1080px) {
  .wp-block-image {
    padding-left: 1em;
  }

}

@media screen and (max-width: 1024px) {
  header {
    width: 100%;
    top: 0;
    left: 0;
    z-index: 99;
    height: 65px;
    border-bottom: 1px solid #d8d8d8;
    box-shadow: 0px 2px 3px #d8d8d8;
  }
  .font-mincyo {
    display: block;
  }

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

  header .logo-area {
    position: relative;
    top: -0.6em;
  }

  header .logo-area img {
    width: 220px;
  }

  header h1 {
    padding-top: 1.5vh;
  }

  .header-contact {
    display: none;
  }

  .header-contact-sp {
    display: block;
    display: block;
    margin: 2em 0;
  }

  .header-contact-sp .contact-box {
    color: #fff;
    padding: 6px 10px;
    background: #003174;
    border-radius: 0 0 2px 2px;
    display: flex;
    justify-content: space-around;
  }

  .header-contact-sp ul li {
    margin-bottom: 0;
    color: #fff;
    text-align: center;
  }

  .header-contact-sp ul li:first-child {
    margin-right: 1em;
    border-right: 2px solid #fff;
    padding-right: 1em;
  }

  .header-contact-sp ul li a {
    color: #fff;
  }

  .header-contact-sp ul li img {
    width: 18px;
    position: relative;
    top: -3px;
    margin-right: 4px;
  }

  .logo-area {
    position: relative;
    left: 0;
  }

  #menu-headmenu .sub-menu {
    visibility: visible;
    opacity: 1;
    position: relative;
    background: none;
    box-shadow: none;
    flex-wrap: wrap;
  }

  #menu-headmenu li .sub-menu li a {
    padding: 10px 0;
    margin: 0;
    background: #f4f4f4;
    display: block;
  }

  #menu-headmenu li a {
    margin-bottom: 1em;
  }

  .news-list li a {
    font-size: 12px;
  }

  .news-list .thumbnail img {
    width: 160px;
    height: 90px;
  }

  .home .news-list li:last-child {
    display: none;
  }

  .single #right-content, .category #right-content, .date #right-content {
    min-width: 190px;
  }
  
  .title {
    text-align: left;
  }

  .title h2 {
    font-size: 16px;
    text-align: left;
  }

  .title h2 + span {
    text-align: left;
    font-size: 12px;
  }

  .excerpt p {
    text-align: left;
    margin: 0;
    padding: 0!important;
  }

  .trim {
    width: 100%;
  }

  .title.flex {
    display: block;
  }

  /* ▽▽ハンバーガーメニュー▽▽
  ------------------------------------------------------- */

  .hm_wrap {
  	display: inline-block;
  	position :fixed;
  	top : 0;
  	left :0;
  	width :100%;
  	padding :10px;
  	background :rgba(0,0,0,0.5);
  }

  #menu-headmenu {
    display: block;
  }

  .menu ul {
    height: 100%;
    margin: 0;
    padding: 0;
  }

  .hm_title {/* ハンバーガーメニューオープン時の見出し */
  	position: relative;
  	color: #333;
  	display: inline-block;
  	float: left;
  	font-weight: 100;
  	line-height: 30px;
  	margin: 0 0 0 15px;
  	opacity: 0;
  	-webkit-transform: translate3d(0, -15px, 0);
  	transform: translate3d(0, -15px, 0);
  	-webkit-transition: -webkit-transform 0.6s, opacity 0.5s;
  	transition: transform 0.6s, opacity 0.5s;
  	z-index: 2;
  }

  /* ▽▽メニューボタン▽▽ */

  .hm_btn {
  	position: absolute;
  	width: 30px;
  	height: 30px;
  	cursor: pointer;
  	display: block;
  	float: left;
  	z-index: 99;
    top: 2vh;
    right: 0;
    transition: all 1s;
  }
  .hm_btn::before {
  	-webkit-box-shadow: #003174 0 12px 0;
  	box-shadow: #003174 0 12px 0;
  }
  .hm_btn::after {
  	bottom: 6px;
  }
  .hm_btn::before,
  .hm_btn::after {
  	width: 30px;
  	height: 1px;
  	background: #003174;
  	display: block;
  	content: '';
  	position: absolute;
  	-webkit-transition: -webkit-box-shadow 0.2s linear, -webkit-transform 0.2s 0.2s;
  	transition: box-shadow 0.2s linear, transform 0.2s 0.2s;
  }
  /* △△メニューボタン△△ */

  .hm_menu_wrap {
  	width :100%;
  	height :auto;
  	background: #fff;
  	position: fixed;
  	left: 0;
  	top: -355%;
  	-webkit-transition: top 0.3s;
  	transition: top 0.3s;
    z-index: 98;
  }

  .hm_menu_wrap li {
    list-style: none;
    width: 100%;
    height: auto;
    display: block;
    text-align: left;
    transition: all 1s;
    margin-top: 0.5em;
  }

  .hm_menu_wrap li a {
    color: #333;
    display: block;
    text-align: center;
    transition: all 1s;
  }

  .hm_menu_wrap li a:hover {
    color: #333;
  }

  /* ▽▽開閉時のアニメーション▽▽ */
  .hm_menu_check:checked ~ .hm_title {
  	opacity: 1;
  	-webkit-transform: none;
  	-ms-transform: none;
  	transform: none;
  }
  .hm_menu_check:checked ~ .hm_btn::before {
  	-webkit-box-shadow: transparent 0 0 0;
  	box-shadow: transparent 0 0 0;
  	-webkit-transform: rotate(45deg) translate3d(6px, 11px, 0);
  	transform: rotate(45deg) translate3d(5px, 11px, 0);
    background: #003174;
  }
  .hm_menu_check:checked ~ .hm_btn::after {
  	-webkit-transform: rotate(-45deg) translate3d(6px, -11px, 0);
  	transform: rotate(-45deg) translate3d(5px, -11px, 0);
    background: #003174;
    bottom: 7px;
  }
  .hm_menu_check:checked ~ .hm_menu_wrap {
  	top: 0;
    overflow-y: scroll;
    height: 100%;
  }
  .menu-item-has-children {
    margin-top: 2em!important;
  }
  #menu-headmenu li .sub-menu {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  #menu-headmenu li .sub-menu li {
    width: 47%;
    margin: 3px 1%;
  }
  .news-list {
    align-items: unset;
  }
  .home #right-content {
    max-width: 260px;
  }
  footer .footer-right {
    display: none;
  }

}

/*iPad10+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

@media screen and (max-width: 768px) {
  .pc-only {
    display: none;
  }
  .bread ul {
    display: block;
  }

  .bread ul:nth-child(n+2) {
    margin-left: 4%;
  }

  .home .news-list li {
    width: 100%;
  }

  .breadcrumb ul li {
    margin-right: 6%;
  }

  .daihyo img {
    position: relative;
    right: -56px;
    width: 80%;
  }

  .category section.page-block h3, .date section.page-block h3 {
    margin-top: 1em;
  }

  .hm_btn {
    top: 2vh;
  }

  .flex {
    flex-wrap: wrap;
  }
  .newsarea {
    width: auto;
    padding: 5%;
    padding-bottom: 4em;
  }
  .newsarea div {
    width: auto;
  }

  .home .news-list .thumbnail img {
    display: block;
    margin: 0 auto;
  }

  .category .news-area .thumbnail, .news-area .thumbnail {
    min-width: 250px;
    max-width: 250px
  }

  .category .news-area p {
    padding-left: 0;
  }

  .column-flex-block .img {
    margin: 0 auto;
  }

  .container-box {
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .outer.page-mv small, .outer.page-mv li a {
    font-size: 12px;
  }

  .workslug {
    min-width: 33px!important;
    background: #333;
    color: #fff;
  }

  .works-block h3 {
    border-bottom: 2px solid #d8d8d8;
  }

  section.single-page .block-inner ul {
    margin: 1em 0;
    padding: 0 1em 0 1em;
}


  dt {
    float: none;
    display: block;
  }

  .sp-only {
    display: block;
  }

  dd {
    margin-left: 0;
  }
  dd::after {
    clear: both;
    content: '';
    display: block;
  }
  footer .footer-right {
    display: none;
  }
  footer .footer-left {
    margin-right: 3%;
    width: auto;
  }
  footer .footer-left p {
    font-size: 14px;
  }
  footer .flex {
    flex-wrap: wrap;
  }
  footer .footer-left {
    margin-bottom: 1em;
  }
  footer .ft_logo {
    width: 150px;
  }
  footer .menu-block {
    width: auto;
  }
}

/*6inc+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
@media screen and (max-width: 680px) {
  .hm_btn {
    top: 3vh;
    right: 0;
  }

  .cat-tag a {
    font-size: 10px;
    color: #fff;
  }

  header h1 {
    padding-top: 2vh;
  }

  .logo-area {
    position: relative;
    left: 0;
  }

  .header-contact {
    display: none;
  }

  .header-contact-sp .contact-box {
    color: #fff;
    padding: 6px 10px;
    background: #003174;
    border-radius: 0 0 2px 2px;
    display: flex;
    justify-content: space-around;
  }

  .header-contact-sp ul li {
    margin-bottom: 0;
    color: #fff;
    text-align: center;
  }

  .header-contact-sp ul li:first-child {
    margin-right: 1em;
    border-right: 2px solid #fff;
    padding-right: 1em;
  }

  .header-contact-sp ul li a {
    color: #fff;
  }

  .header-contact-sp ul li img {
    width: 18px;
    position: relative;
    top: 3px;
    margin-right: 4px;
  }

  section.page-block {
    background-color: #fff;
    width: auto;
    margin: 0 auto;
    margin-bottom: 4em;
  }

  .news-list {
    display: block;
  }

  .news-list li {
    width: auto;
    border-bottom: 2px solid #333;
    padding: 1em 0;
  }

  .news-list li:first-child {
    padding-top: 0;
  }

  .news-list .ml0-5em {
    margin: 0;
  }

  .news-list .thumbnail img {
    max-width: 100%!important;
  } 

  .newsarea div {
    margin: 0 auto;
  }

  .area-title {
    margin-bottom: 0;
  }

  .last-block #left-content {
    width: auto;
  }

  .w_bg {
    height: 200px;
    margin-bottom: 0.5em;
  }

  #menu-footermenu {
    display: block;
    margin-top: 1em;
    margin-left: 1em;
  }

  footer .footer-left {
    width: auto;
  }

  footer .footer-left p {
    font-size: 12px;
  }

  footer .footer-right {
    display: none;
  }
  
  .ft_logo {
    width: 100px;
  }

  .cookiemodal .close {
    left: -45%;
    top: 0%;
  }
  .blocks-gallery-grid, .wp-block-gallery {
    width: auto;
    flex-wrap: nowrap!important;
  }
  .blocks-gallery-grid .blocks-gallery-image, .blocks-gallery-grid .blocks-gallery-item, .wp-block-gallery .blocks-gallery-image, .wp-block-gallery .blocks-gallery-item {
    margin: 0!important;
  }
  .wp-block-table th, .wp-block-table td {
    display: block;
    width: auto;
    border: none;
  }
  .wp-block-table th {
    background: #f4f4f4;
  }

  .wp-block-table tr td:first-child {
    background: #f4f4f4;
  }
  
  .page-id-13 .wp-block-table th, .wp-block-table td {
    padding: 3% 2%;
  }

  .wp-block-image {
    margin: 1em auto;
  }

  .wp-block-image figcaption {
    padding: 8px 0 0 0;
    color: #fff;
    font-size: 12px;
    height: 28px;
    min-width: 28%;
  } 

  #right-content {
    padding-bottom: 8em;
    margin-top: 4em;
  }

  .notbr {
    display: block!important;
  }

  .sp-noflex {
    display: block;
  }

  .sp-noflex .flex-layout {
    display: block;
  }

  .sp-noflex .thumbnail {
    margin: 0 auto;
  }

  li.sp-noflex {
    margin-bottom: 1em;
  }

  .sp-noflex .ml2em {
    margin-left: 0;
  }

  .mainblock .thumbnail img {
    max-width: 60%;
  }

  textarea {
    width: 100%;

  };
  #sitemap_list {
    display: block;
  }
  .page-id-33 .box .page_item_has_children, .error404 .box .page_item_has_children {
    margin-bottom: 1.5em;
  }

}

/*contactform7++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

.single .wpcf7-form dl, .page .wpcf7-form dl {
  background: #fff;
  border-bottom: 1px solid #d8d8d8;
  padding: 10px 0 20px 0;
}

.single .wpcf7-form dt, .page .wpcf7-form dt {
  width: 50%;
  padding: 0;
}

.single .wpcf7-form dd, .page .wpcf7-form dd {
  margin-left: 50%;
  padding: 0;
}

.single .wpcf7-form dd input, .single .wpcf7-form dd textarea {
  padding: 1em;
  background: #f4f4f4;
  border: 1px solid #d8d8d8;
  box-shadow: none;
  width: 90%;
}

.page .wpcf7-form dd input, .page .wpcf7-form dd textarea {
  padding: 1em;
  background: #f4f4f4;
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  box-shadow: none;
  width: 60%;
  padding: 4px 8px;
}

textarea {
  width: 60%;
}

.page .wpcf7-form dd textarea, .single .wpcf7-form dd textarea {
  line-height: 1.5em;
}

.wpcf7-form .button {
  cursor: pointer;
  border: none;
  line-height: auto;
  overflow: visible;
  width: 200px;
}

.wpcf7-form .button:hover {
  opacity: 0.9;
}

.wpcf7-form .button::before, .wpcf7-form .button::after, .wpcf7-form .button:hover::after {
  content: "";
  background: none;
  width: 0;
  height: 0;
}

.wpcf7-form input[type="submit"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  min-width: 240px;
  width: 620px;
  max-width: 100%;
  margin-right: 5px;
  padding: 16px 48px;
  border: solid 1px #329bd2;
  border-radius: 4px;
  background-color: #329bd2;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all .2s ease;
}

input[type="text"] , input[type="email"]{
  height: 40px;
  border: 1px solid #a2a2a2;
  border-radius: 4px;
  background: #f8f8f8;
}

label {
  font-weight: bold;
  margin-bottom: 1em;
}

label span {
  margin-top: 1em;
}

span.wpcf7-list-item {
  margin: 0!important;
  padding: 1em 0 0 0;
}

textarea {
  width: 60%;
  background: #f8f8f8;
  border-radius: 4px;
  padding: 8px 4px;
}

/*iphone5+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

@media screen and (max-width: 480px) {
  .mv {
    background: url(img/spmv.png) no-repeat center;
    background-size: auto;
    height: 300px;
    background-position: 58% bottom;
    padding: 0;
  }
  .pv-open {
    width: 248px;
  }
  .pv-open::before {
    left: 38px;
  }
  .bc-player-default_default-index-0 {
    width: 300px!important;
    height: 150px!important;
  }
  #menu-headmenu li .sub-menu li a {
    font-size: 80%;
  }
  .category .news-area .thumbnail, .date .news-area .thumbnail {
    max-width: 100%;
    text-align: center;
  }
  .home .news-list .flex {
    display: flex;
  }
  .ab50-50 {
    width: 100%;
  }
  textarea {
    width: 100%;
  }
  .news-list li a {
    display: inline-block;
  }
  .single section.page-block h1, .category section.page-block h1 {
    text-align: left;
    padding-bottom: 0;
    margin-right: 0;
  }
  section.page-block h3, section.page-block h4 {
    text-align: left;
  }
  section.page-block ul {
    text-align: left;
  }
  .wp-block-image figcaption {
    margin-top: 0;
    margin-bottom: 2em;
    text-align: left;
    padding-left: 3%;
  }  
  .news-list .time {
    min-width: 90px;
  }
  .single table {
    margin: 1em 0;
  }
  .single table {
    padding: 0!important;
  }
  .single .tag-flex {
    position: absolute;
    bottom: -14px;
    right: 0;
  }
  .cat-tag {
    position: relative;
    top: 0;
  }
  input {
    width: 282px!important;
  }
  .hm_btn {
    top: 2vh;
  }
  .news-list .thumbnail {
    margin-bottom: 0.5em;
    max-height: 180px;
    min-height: 180px;
    overflow: hidden;
  }
  .news-list .thumbnail img {
    object-fit: unset;
    width: auto;
    height: auto;
    transition: all 0.8s;
    overflow: hidden;
  }
  #sitemap_list {
    display: block;
  }
  .page-id-33 section.single-page .block-inner ul, .error404 section.single-page .block-inner ul {
    padding: 0;
    margin-bottom: 4em;
  }
  .wp-block-column {
    margin-right: 0!important;
  }
}

@media screen and (max-width: 320px) {
  #menu-headmenu li .sub-menu li a {
    font-size: 50%;
  }
  .hm_menu_wrap {
    top: -110%;
  }
  .header-contact-sp ul li a {
    font-size: 50%;
  }
  .header-contact-sp ul li img {
    width: 9px;
  }
  .more-contents .button {
    width: 200px;
  }
  .wp-image-429 {
    width: 200px;
    position: relative;
    right: -56px;    
  }
}






/**追加措置*********************************************************************************************/
.page-id-70 .box ul {
  padding-left: 3em!important;
}

.wp-block-separator.is-style-wide {
  margin: 1em 0;
}

.page-id-11 .wp-block-image, .page-id-25 .wp-block-image {
  padding-left: 0;
}

.page-id-25 .wp-block-image, .page-id-17 .wp-block-image, .page-id-19 .wp-block-image {
  padding-left: 0.5em;
}

.wp-block-separator {
  width: 20%;
}

.wp-block-separator.is-style-dots {
  width: auto;
}

.wp-block-separator.is-style-wide {
  width: 100%;
}

