@charset "utf-8";
/*
Theme Name: wakuda
Theme URI: flb inc
Description: wakuda THEME
Author: wakuda
Author URI: wakuda.jp
Template: base-theme
Version: 1.0
*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;500;700&family=Noto+Sans+JP:wght@100;300;500;700&display=swap');

/*------------------------------------------*/
/*common custom*/
/*------------------------------------------*/
body {
	width: 100%;
	margin: auto;
	font-size:16px;
	font-weight: 300;
	font-family: "Noto Sans JP","ヒラギノ角ゴ W6", "Hiragino Kaku Gothic W6", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
	color: #222222;;
	overflow-wrap: break-word;
	word-wrap: break-word;
	line-break: strict;
	overflow-x: hidden;
	letter-spacing: 0.01em;
	line-height:1.75;
	font-feature-settings: "palt";
	background:url(images/rc-bg.jpg);
    background-attachment: fixed;
    background-size: 209px;
    background-position: top left;
}

@media screen and (max-width: 1023.6px) {
    body {
       background-size: 150px;
       background-position: center;
    }
}

a,
a:hover,
a:active,
a:visited {
    color: #3c3c3c;
}

a, a:before, a:after, a > *, a > *:before, a > *:after {
    transition: all 0.4s;
}


a img{
	opacity: 1;
	transition: all 1s;
}
a img:hover{
	opacity: 0.6;
}

dl, ol, ul{
	margin-bottom:0;
}

ol{
	list-style: auto;
	padding-left:1.3em;
}

img{max-width:100%;}

.mincho{
	font-family: 'Noto Serif JP','ヒラギノ明朝 Pro W3','Hiragino Mincho Pro','ＭＳ Ｐ明朝','MS PMincho',serif;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{
	font-weight:300;
	line-height:1.5;
}

h1,.h1{font-size:2.2rem ;}
h2,.h2{font-size:1.8rem;}
h3,.h3{font-size:1.5rem ;}
h4,.h4{font-size:1.2rem;}
h5,.h5{font-size:1.0rem;}
h6,.h6{font-size:0.8rem;}


@media (max-width: 575.98px) {
	h1,.h1{font-size:26px ;}
	h2,.h2{font-size: 22px;}
	h3,.h3{font-size:18px ;}
	h4,.h4,.widget h2{font-size:16px;}
	h5,.h5{font-size:16px;}
	h6,.h6{font-size:15px;}
}

.fz10{font-size:10px !important;}
.fz11{font-size:11px !important;}
.fz12{font-size:12px !important;}
.fz13{font-size:13px !important;}


.paragraph{
	font-weight: bold;
    letter-spacing: 0.04em;
    line-height: 2.2;
}


p {
    margin-bottom: 1em;
    letter-spacing: .018em;
}


iframe {
    max-width: 100%;
}



.table td, .table th{
    vertical-align: middle;
}


/*------------------------------------------*/
/*row custom*/
/*------------------------------------------*/
.row-0{ margin-left:0px;  margin-right:0px}
.row-0 >div{ padding-right:0px;  padding-left:0px}
.row-0 >article{ padding-right:0px;  padding-left:0px}
.row-10{ margin-left:-5px;  margin-right:-5px}
.row-10 >div{ padding-right:5px;  padding-left:5px}
.row-10 >article{ padding-right:5px;  padding-left:5px}
.row-15{ margin-left:-7.5px;  margin-right:-7.5px}
.row-15 >div{ padding-right:7.5px;  padding-left:7.5px}
.row-15 >article{ padding-right:7.5px;  padding-left:7.5px}
.row-20{ margin-left:-10px;  margin-right:-10px}
.row-20 >div{ padding-right:10px;  padding-left:10px}
.row-20 >article{ padding-right:10px;  padding-left:10px}
.row-30{ margin-left:-15px;  margin-right:-15px}
.row-30 >div{ padding-right:15px;  padding-left:15px}
.row-30 >article{ padding-right:15px;  padding-left:15px}

@media (max-width: 767.888px){
	.row-20{ margin-left:-5px;  margin-right:-5px}
	.row-20 >div{ padding-right:5px;  padding-left:5px}
	.row-20 >article{ padding-right:5px;  padding-left:5px}
	.row-30{ margin-left:-5px;  margin-right:-5px}
	.row-30 >div{ padding-right:5px;  padding-left:5px}
	.row-30 >article{ padding-right:5px;  padding-left:5px}
}
@media (max-width: 575.98px) {
	.row-15{ margin-left:-5px;  margin-right:-5px}
	.row-15 >div{ padding-right:5px;  padding-left:5px}
}

.pd-0{
	padding-left:0;
	padding-right:0;
}

.rad5{border-radius:5px;}
.rad10{border-radius:10px;}
.rad20{border-radius:20px;}
.rad50{border-radius:50%;}


@media (min-width: 1024px){
	.col-lg-9.sidebar {
	    -ms-flex: 0 0 78%;
	    flex: 0 0 78%;
	    max-width: 78%;
	}
	.col-lg-3.sidebar{
	    -ms-flex: 0 0 22%;
	    flex: 0 0 22%;
	    max-width: 22%;
	}
}

@media screen and (min-width:1024px) and ( max-width:1200px) {
	.container{
	    padding: 0 40px;
	}
	.alignfull{
	    position: relative;
	    width: calc( 100% + 80px);
	    max-width: calc( 100% + 80px);
	    left: -40px;
	    margin:0;
	    right:auto
	    clear: both;
	    margin:0;
	    right:auto
	}
	.alignfull img {
	    width: 100% !important;
	}
}
@media screen and (min-width:1200.888px){
	.container{
	    padding: 0 80px;
	}
	.alignfull{
	    position: relative;
	    width: calc( 100% + 160px);
	    max-width: calc( 100% + 160px);
	    left: -80px;
	    margin:0;
	    right:auto;
	    clear: both;
	}
	.alignfull img {
	    width: 100% !important;
	}
}



/*--------------------------------*/
/* base css & top*/
/*--------------------------------*/
.wrap {
  overflow: hidden;
  min-height:100vh;
}
.main_contents {
  margin-left:210px;
  width: calc( 100% - 210px );
  overflow: hidden;
}
section {
  margin: 0 auto;
  padding: 0;
}

@media screen and (max-width: 1023.6px) {
  .main_contents {
    position:absolute;
    left:0;
    width: 100%;
    margin-left:0;
    top:90px;
  }
}

@media screen and (max-width: 420px) {
  .main_contents {
    top: 65px;
  }
}


.headline-wrap .widget{
	margin:0;
}

.kage{
  color: #fff;
  text-shadow:  2px  2px 13px #333,
               -2px  2px 13px #333,
                2px -2px 13px #333,
               -2px -2px 13px #333;
}

.boxkage{
	box-shadow: 2px 2px 7px 2px rgb(71 71 71 / 80%);
}


/* ========================================================== 
  side_nav
============================================================*/
.side_nav {
  position: fixed;
  left: 0;
  top: 0px;
  width: 210px;
  z-index: 20;
  box-shadow: 0 0 5px rgb(71 71 71 / 60%);
  min-height: 100vh;
}
.logo {
    width: 172px;
    padding: 10px;
    margin: 0 auto;
    line-height:1;
    text-align:center;
}
.logo img {
  width: 100%;
}
.logo span{
    margin-top: 5px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.main_list_sw {
  height: 62px;
  border-bottom: 1px solid rgb(255, 255, 255, 0.5);
  position: relative;
}
.main_list_sw:hover {
  transition: 0.6s ease-in-out;
  transition-duration: 0.6s;
}

.main_list_sw.nav_company:hover,.nav_company .sub_list{ background: #ee192d;}
.main_list_sw.nav_jigyo:hover,.nav_jigyo .sub_list{ background: #279f45;}
.main_list_sw.nav_works:hover,.nav_works .sub_list{ background: #007fbe;}
.main_list_sw.nav_recruit:hover,.nav_recruit .sub_list{ background: #e61686;}
.main_list_sw.nav_fukuri:hover,.nav_fukuri .sub_list{ background: #f66d27;}
.main_list_sw.nav_info:hover,.nav_info .sub_list{ background: #065590;}

.main_list_sw:hover ul {
  display: block;
  transform: translateX(420px);
  transition: 0.6s ease-out;
  transition-duration: 0.6s;
}
.main_list a {
  display: block;
  letter-spacing: 1px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 500;
  text-decoration:none;
}

.main_list>li.menu-item-has-children> a:after {
    content: '';
    width: 6px;
    height: 6px;
    border: 0px;
    border-top: solid 2px #324ea1;
    border-right: solid 2px #324ea1;
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    right: 30px;
    margin-top: -2px;
}
.main_list>li.menu-item-has-children> a:hover:after {
    border-top: solid 2px #FFF;
    border-right: solid 2px #FFF;
}



.main_list a:hover {
	text-decoration:none;
}
.main_list a:hover,
.sub_list li a:active,
.sub_list li a:visited{
	color:#FFF;
}

.main_list_sw a{
	line-height:62px;
}
.main_list_sw:hover a{color:#FFF}

.sub_list_sw {
  height: 55px;
}
.sub_list_sw a{
	line-height:55px;
}

nav > ul > li li > a {
  display: block;
  width: 100%;
  padding: 10px 5%;
  border-bottom: 1px solid #ccc;
  color: #fff;
}
.sub_list {
  display            : none;
  position           : fixed;
  top                : 0;
  left               : -210px;
  width              : 14em;
  height             : 100%;
  cursor             : pointer;
  background         : #004d9b;
  font-size: 16px;
  transition         : all 0.2s ease-in-out;
  transition-duration: 0.2s;
}
.sub_list li:hover {
  background: #2682df;
  transition-duration: 0.8s;
}
.main_list ol {
  padding: 20px 0;
}
.main_list ol li {
  position:relative;
}
.main_list ol li a {
  line-height: 1.8;
  font-size: 90%;
}
.main_list ol li a:before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 4px;
  background: #c8251d;
  margin-right: 10px;
  position: relative;
  bottom: 3px;
}
.main_list ol li a:after{
	display:none;
}


@media screen and (max-width: 1023.6px) {
 .side_nav {
   display: none;
 }
 .logo {
    z-index: 40;
    padding: 11px 15px 11px;
    position: fixed;
    height:90px;
    width:100%;
    margin:0;
    text-align:left;
    background: url(images/rc-bg.jpg);
    background-size: 130px;
    background-position: center;
    box-shadow: 0 0 10px rgb(71 71 71 / 60%)
  }

  .logo img {
     width: 100px;
  }
}

@media screen and (max-width: 420px) {
  .logo {
    width: 100%;
    height: 65px;
    z-index: 40;
    padding: 5px 10px;
  }
  .logo img {
    width: 80px;
    max-width: 100%;
  }
}

/* ========================================================== 
  SP_nav
============================================================*/
.sp_nav {
  display: none;
}
.sp_sub_list li:last-child a {
  border-bottom: none;
}
.toggle {display:none;}

@media screen and (max-width: 1023.6px) {
  .sp_nav {
    display: block;
  }
  .toggle {
    display: block;
    top: 0;
    right: 0;
    width: 80px;
    height: 90px;
    cursor: pointer;
    position: fixed;
    z-index: 11111;
    text-align: center;
  }
  .toggle_inner {
    width: 100%;
    padding: 28px 0 0;
  }

 .toggle span {
    display   : block;
    width     : 45px;
    height    : 6px;
    transition: 0.5s;
    margin: 0 auto 8px;
  }

  .toggleBar_01 {
    background: #39ad36;
  }

  .toggleBar_02 {
    background: #e3007f;
    margin    : 8px 0;
  }

  .toggleBar_03 {
    background   : #009fe8;
    margin-bottom: 3px !important;
  }

 .toggle.active {
    background: rgba(255, 255, 255, 0);
  }

  .toggle.active .toggleBar_01 {
    transform: translateY(16px) rotate(-45deg);
  }

  .toggle.active .toggleBar_02 {
    opacity   : 0;
    transition: 0.5s;
  }

  .toggle.active .toggleBar_03 {
    transform: translateY(-11px) rotate(45deg);
  }

  .toggleBar_txt{
    margin:0;
    text-align: center;
    font-size: 10px;
    line-height: 1;
  }


  .sp_nav nav {
    position: fixed;
    height: 100vh;
    z-index: 20;
    width: 100%;
    opacity: 0;
    transition: all 0.5s ease-in-out;
    visibility: hidden;
    text-align: left;
    padding: 90px 0 50px;
    background: #444444;
  }
  .sp_nav nav.active {
    display:block;
    right: 0;
    opacity: 1;
    visibility: visible;
    overflow-y: auto;
  }
  .sp_main_list_sw {
    border-bottom: 1px solid rgb(255, 255, 255, 0.5);
    position: relative;
  }
  .sp_main_list {
    display: flex;
    flex-direction: column;
  }
  .sp_main_list_sw span {
    font-size: 30px;
    color: #fff;
    display: block;
    width: 75px;
    height: 75px;
    line-height: 75px;
    text-align: center;
    position: absolute;
    top: 0;
    right: 0;
  }
  .sp_main_list a {
    color: #fff;
    display: inline-block;
    letter-spacing: 1px;
    padding: 0 20px;
    font-size: 16px;
    line-height: 75px;
    font-weight: 400;
  }
  .sp_main_list ol {
    padding: 25px 0;
  }
  .sp_main_list ol li {
    height: 25px;
    margin-bottom: 15px;
  }
  .sp_main_list ol li a {
    line-height: 25px;
  }
  .sp_main_list ol li a:before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 4px;
    background: #c8251d;
    margin-right: 10px;
    position: relative;
    bottom: 3px;
  }
  .sp_sub_list {
    display: none;
    background: rgba(182, 28, 34,1);
    height: auto;
    width: 100%;
  }
  .sp_sub_list li:hover {
    background: rgba(182, 28, 34,0.7);
  }
}

@media screen and (max-width: 420px) {
  .toggle {
    width: 65px;
    height: 65px;
  }

  .toggle_inner {
    padding: 20px 0 0;
  }

  .toggle span {
    width: 30px;
    height: 3px;
  }
  .toggle span:nth-of-type(2):after {
    font-size: 10px;
    top: 16px;
    left: -35px;
  }
  .toggle.active span:nth-of-type(1) {
    transform: translateY(10px) rotate(-45deg);
  }
  .toggle.active span:nth-of-type(3) {
    transform: translateY(-11px) rotate(45deg);
}
  .sp_nav nav {
    padding: 65px 0 50px;
  }
  .sp_main_list a {
    font-size: 14px;
    line-height: 60px;
  }
  .sp_main_list_sw span {
    font-size: 25px;
    height: 60px;
    line-height: 60px;
  }
  .sp_main_list ol li {
    margin-bottom: 5px;
  }
}


/* ========================================================== 
  Animation
============================================================*/
.fadeInUp {
  animation-fill-mode: both;
  animation-duration: 1.8s;
  animation-name: fadeInUp;
  visibility: visible !important;
}
@keyframes fadeInUp {
  0% { 
    opacity: 0; 
    transform: translateY(50px); 
  }
  100% { 
    opacity: 1; 
    transform: translateY(0); 
  }
}


.slidein_L {
  opacity: 0.1;
  transform: translateX(-80px);
  transition: all 2s;
}
.slidein_L.scrollin {
  opacity: 1;
  transform: translate(0);
}
.slidein_R {
  opacity: 0.1;
  transform: translateX(80px);
  transition: all 2s;
}
.slidein_R.scrollin {
  opacity: 1;
  transform: translate(0);
}



.slideup {
  opacity   : 0;
  transform : translateY(60px);
  transition: 1s;
}

.slideup.is-show {
  transform: translateY(0);
  opacity  : 1;
}

.slideup_02 {
  opacity   : 0;
  transform : translateY(100px);
  transition: 1.5s;
}

.slideup_02.is-show {
  transform: translateY(0);
  opacity  : 1;
}

.slideup_03 {
  opacity   : 0;
  transform : translateY(140px);
  transition: 1.8s;
}

.slideup_03.is-show {
  transform: translateY(0);
  opacity  : 1;
}


/* ← */
.slide_r-l {
  opacity   : 0;
  transform : translateX(60px);
  transition: 1s;
}

.slide_r-l.is-show {
  opacity  : 1;
  transform: translateX(0);
}

/* → */
.slide_l-r {
  opacity   : 0;
  transform : translateX(-60px);
  transition: 1s;
}

.slide_l-r.is-show {
  opacity  : 1;
  transform: translateX(0);
}



.order-fade {
  opacity         : 0;
  transform       : translateY(20px);
  transition      : all 0.8s;
  transition-delay: 400ms;
}

.order-scroll {
  opacity  : 1;
  transform: translateY(0);
}

.order-fade:nth-of-type(1) {
  transition-delay: 300ms;
}
.order-fade:nth-of-type(2) {
  transition-delay: 500ms;
}
.order-fade:nth-of-type(3) {
  transition-delay: 700ms;
}
.order-fade:nth-of-type(4) {
  transition-delay: 900ms;
}


/*------------------------------------------*/
/*loading*/
/*------------------------------------------*/
.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 100000000;
}
.overlayDoor::before,
.overlayDoor::after{
		content: "";
		position: absolute;
		width: 100%;
		height: 50%;
		background:url(images/rc-bg.jpg);
		background-size: 209px;
		background-position: center;
		transition: .5s cubic-bezier(.77,0,.18,1);
		transition-delay: .8s;
}

@media screen and (max-width: 1023.6px) {
	.overlayDoor::before,
	.overlayDoor::after{
	    background-size: 130px;
	}
}


.overlayDoor::before{
	top: 0;
}

.overlayDoor::after {
	bottom: 0;
}

.loaded .overlayDoor:before {
	top: -50%;
}
.loaded .overlayDoor:after{
	bottom: -50%;
}


.overlayContent {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	transition: .5s cubic-bezier(.77,0,.18,1);
}
.loader {
  position: relative;
  width: 2.5em;
  height: 2.5em;
  transform: rotate(165deg);
}
.loader:before, .loader:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 0.5em;
  height: 0.5em;
  border-radius: 0.25em;
  transform: translate(-50%, -50%);
}
.loader:before {
  animation: before 2s infinite;
}
.loader:after {
  animation: after 2s infinite;
}

@keyframes before {
  0% {
    width: 0.5em;
    box-shadow: 1em -0.5em rgba(225, 20, 98, 0.75), -1em 0.5em rgba(111, 202, 220, 0.75);
  }
  35% {
    width: 2.5em;
    box-shadow: 0 -0.5em rgba(225, 20, 98, 0.75), 0 0.5em rgba(111, 202, 220, 0.75);
  }
  70% {
    width: 0.5em;
    box-shadow: -1em -0.5em rgba(225, 20, 98, 0.75), 1em 0.5em rgba(111, 202, 220, 0.75);
  }
  100% {
    box-shadow: 1em -0.5em rgba(225, 20, 98, 0.75), -1em 0.5em rgba(111, 202, 220, 0.75);
  }
}
@keyframes after {
  0% {
    height: 0.5em;
    box-shadow: 0.5em 1em rgba(61, 184, 143, 0.75), -0.5em -1em rgba(233, 169, 32, 0.75);
  }
  35% {
    height: 2.5em;
    box-shadow: 0.5em 0 rgba(61, 184, 143, 0.75), -0.5em 0 rgba(233, 169, 32, 0.75);
  }
  70% {
    height: 0.5em;
    box-shadow: 0.5em -1em rgba(61, 184, 143, 0.75), -0.5em 1em rgba(233, 169, 32, 0.75);
  }
  100% {
    box-shadow: 0.5em 1em rgba(61, 184, 143, 0.75), -0.5em -1em rgba(233, 169, 32, 0.75);
  }
}

.loader {
  position: absolute;
  top: calc(50% - 1.25em);
  left: calc(50% - 1.25em);
}



/*category*/
.term_list{
	padding:0;
	margin:0;
	text-align: left;
}
.term_list li {
    padding: 1px 10px 2px;
    text-align: center;
    margin:2px;
    color: #fff;
    font-size: 11px;
    display: inline-block;
    border-radius: 3px;
    min-width: 8em;
}
.term_list li a{color:#FFF}

.term_list li {
  background: #229344;
}
.term_list li.info {
  background: #007fbe;
}
.term_list li.newsrelease {
  background: ##f66d27;
}

.term_list li.work-public {
  background: #427936;
}
.term_list li.work-architecture {
  background: #0075ba;
}
.term_list li[class^="wa-"]{
  background: #00a6d8;
}


.wktable{
	border-bottom: 5px solid #007fbe;
	margin-bottom: 1rem;
}
.wkcat li label{margin-bottom: 0rem;}
.wkcat > li{
    border-top: 5px solid #007fbe;
    padding: .5em;
}

.wkcatchild{
	padding-left: 1em;
	line-height: 1.5;
	margin-bottom: 0.2rem;
}
.wkcatchild li{
    display: inline-block;
    margin-right: 1em;
    font-size: 88%;
}

.childterm{
	display:flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	margin-bottom: 2em;
}
.childterm li{
    margin: 0 8px 8px 0;
    display: inline-block;
    background: #efefef;
    text-align: center;
    line-height: 1.4;
    font-weight: 500;
    padding: 6px 8px;
    font-size: 80%;
    min-width: 12em;
}
.childterm li a{
    display:block;
}

/*--------------------------------*/
/* midashi*/
/*--------------------------------*/
.midashi,
.midashi-title {
  font-weight: 300;
  line-height: 1.5;
  margin: 0 0 48px;
  padding: 0 0 8px;
  background: url(images/midashi-title-line.png) repeat-x left bottom;
  background-size: auto 3px;
  overflow: hidden;
  position: relative;
  font-size: 2.0rem;
}
.midashi::after,
.midashi-title::after {
  content: "";
  display: block;
  width: 150px;
  height: 3px;
  background: #b61c22;
  position: absolute;
  bottom: 0;
  left: 0;
}
@media screen and (max-width: 768px){
	.midashi,
	.midashi-title {
	    margin: 0px 0 25px;
	    padding: 0 0 12px;
	    background: url(images/midashi-title-line.png) repeat-x left bottom;
	    background-size: 2px;
	}
	.midashi::after,
	.midashi-title::after {
	    width: 100px;
	    height: 2px;
	}
}



.midashi-line{
    border-bottom: 4px solid #e6e6e6;
    margin-bottom: .6rem;
    position:relative;
}
.midashi-line span{
    border-bottom: 4px solid #229344;
    display: inline-block;
    padding: .7rem 0;
    margin-bottom: -4px;
}

.midashi-line.redbd span{
    border-bottom: 4px solid #c8251d;
    display: inline-block;
    padding: .7rem 0;
    margin-bottom: -4px;
}




.midashi-M:not(:first-child){
    position: relative;
    margin: 1.3em 0 1em;
    font-weight: 700;
    line-height: 1.6;
    padding: 0 0 0 16px;
    font-size: 18px;
}

.midashi-M{
    position: relative;
    margin: 0em 0 1em;
    font-weight: 700;
    line-height: 1.6;
    padding: 0 0 0 16px;
    font-size: 18px;
}
.midashi-M:before {
    content: "";
    position: absolute;
    left: 0;
    width: 5px;
    background-color: #b61c22;
    top: 3px;
    bottom: 1px;
}


/*block custom*/
.is-style-leftline,
.is-style-bottomline,
.is-style-leftlinelight,
.is-style-bottomlinelight,
.is-style-doubleline,
.is-style-balloon,
.is-style-ribbon,
.is-style-dotpattern,
.is-style-stripe,
.is-style-step{
    margin-bottom:1em;
}

.is-style-leftline:not(:first-child),
.is-style-bottomline:not(:first-child),
.is-style-leftlinelight:not(:first-child),
.is-style-bottomlinelight:not(:first-child),
.is-style-doubleline:not(:first-child),
.is-style-balloon:not(:first-child),
.is-style-ribbon:not(:first-child),
.is-style-dotpattern:not(:first-child),
.is-style-stripe:not(:first-child),
.is-style-step:not(:first-child){
    margin: 1.3em 0 1em;
}



/*--------------------------------*/
/* page header */
/*--------------------------------*/
.page-header-wrap{
	position:relative;
    background-position: center;
    background-size: cover;
    min-height: 300px;
}

.page-header{
    color:#FFF;
    position: absolute;
    top: 55%;
    left: 10%;
    -webkit-transform: translateY(-50%) translateX(-10%);
    transform: translateY(-50%) translateX(-10%);
    z-index: 1;
    transition: all 3s ease 0s;
}

.page-header-title{
	letter-spacing: 2px;
    font-weight: 400;
    font-size: 2em;
}

@media (max-width:512px){
	.page-header-wrap{
		background-position: center;
		min-height: 200px;
	}
	.page-header {
	    position: relative;
	    top: unset;
	    left: unset;
	    -webkit-transform: unset;
	    transform: unset;
	    z-index: 1;
	    text-align: center;
	    padding: 48px 0;
	    line-height: 1.4;
	}
	.page-header-title{
		letter-spacing: 1px;
	    font-weight: 500;
	    font-size: 1.4em;
	}
}


/*--------------------------------*/
/*.breadcrumb*/
/*--------------------------------*/
.breadcrumb {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 1.2rem 1rem;
    margin-bottom: 0;
    list-style: none;
    background-color: rgba(0,0,0,.4);
    border-radius: 0;
    font-size: 12px;
}
.breadcrumb,
.breadcrumb a,
.breadcrumb span,
.breadcrumb-item+.breadcrumb-item::before{color:#FFF}

.detail{
    margin: 60px 4vw;
    background: #FFF;
    border-radius: 10px;
    box-shadow: 0px -2px 16px 0px rgb(71 71 71 / 80%);
    position:relative;
}

.detail::before,
.detail::after{
    content:"";
    position: absolute;
    z-index: -1;
    bottom: 15px;
    display: block;
    width: 50%;
    height: 5%;
    box-shadow: 0 10px 5px #999;
}
/*　左側の影 */
.detail::before{
    left: 15px;
    transform:rotate(-3deg);
}
 
/*　右側の影 */
.detail::after{
    right: 15px;
    transform:rotate(3deg);
}


@media screen and (min-width: 1024px) {
	.detail{
	    margin: 60px 4vw;
	}
	.page-parent .detail{
/*		background: linear-gradient( 
		135deg , #fbf8ff 0%, #fbf8ff 18%, #ffffff 18%, #ffffff 100%);*/
	}
}
@media screen and (min-width: 1400px) {
	.detail{
	    max-width:1140px;
	    margin: 60px auto;
	}


}

@media screen and (max-width: 1023.6px) {
  .detail{
    margin: 0px;
    border-radius: 0px;
    box-shadow: none;

  }
}




/*--------------------------------*/
/* archive */
/*--------------------------------*/
.page-excerpt{font-weight:500;letter-spacing:1px;padding-left:2px;}

article.card .card-title{
   margin: .3rem 0;
}

.archive article.card .card-title,
.works article.card .card-title,
.officenews article.card .card-title{
	font-size:90%;
}

.post_time{
	font-size:11px;
}

article.card .post_thumb {
    border-radius: 5px;
}

.card-block .post_excerpt,
.recommend article.card .card-title{
	font-size:85%;
	line-height:1.5;
}

.recommend  article.card .post_thumb{
	height: 8rem;
}



/*--------------------------------*/
/* page */
/*--------------------------------*/
.wp-block-gallery.galrad5 .blocks-gallery-item img{
    border-radius: 5px;
/*	box-shadow: 2px 2px 7px 2px rgb(71 71 71 / 80%);*/
}

.wp-block-gallery.galrad5 .blocks-gallery-item figcaption{
    border-radius: 0 0 5px 5px;
}

@media (min-width: 782px){
 .flexrev{
     flex-direction: row-reverse;
  }

 .flexrev .wp-block-column:not(:first-child) {
    margin-left: 0em;
    margin-right: 2em;
 }
}




/*--------------------------------*/
/* sidebar widget*/
/*--------------------------------*/
.widget_liquid_newpost .newpost li a{
	display:flex;
}
.widget_liquid_newpost .post_thumb img{
	max-width:80px;
	margin-right:10px;
}
.widget_liquid_newpost .post_ttl{
	line-height: 1.3;
}


/*--------------------------------*/
/* sidebar footer*/
/*--------------------------------*/
footer .widget.widget_nav_menu ul{
	line-height: 1.3;
}

footer .widget.widget_nav_menu ul li{
	margin-bottom:.5em;
}

footer .widget.widget_nav_menu ul li a{
	padding:0;
	display:block;
}
footer .widget.widget_nav_menu ul li a:before{
  font-family: "Font Awesome 5 Free";
  font-weight:900;
  content: "\f105";
  margin-right:.3em;
  color: #b61c22;
  font-size: .8em;
}

footer .widget_liquid_newpost .post_thumb img{
	max-width:50px;
}





/*--------------------------------*/
/* icon*/
/*--------------------------------*/



/*--br ---------------------------*/
@media screen and (max-width: 660px){
	.br_none {
	    display: none!important;
	}
	.sp_left{
		text-align:left !important;
	}
}
/*--------------------------------*/




/*--------------------------------*/
/* btn css*/
/*--------------------------------*/
.btn-list {
    background: #efefef;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight:500;
}

.btn-list a {
    display: block;
    height: 80px;
    padding: 0 35px 0 15px;
    position: relative;
    vertical-align: middle;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
}

.btn-list a:after {
    border-color: #c8251d;
    border-style: solid;
    border-width: 1px 1px 0 0;
    content: " ";
    -ms-transform: translateY(-50%) rotate(45deg);
    transform: translateY(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    position: absolute;
    top: 50%;
    right: 23px;
}

.btn-list a:hover:after{
    right: 13px;
}

.btn-list a[target="_blank"]:after {
    background: url(images/icon_blank.png) no-repeat;
    background-size: cover;
    border: none;
    -ms-transform: translateY(-50%) rotate(0);
    transform: translateY(-50%) rotate(0);
}

.wp-block-file .wp-block-file__button{
	display:inline-block;
	background-image: -webkit-gradient(
    linear,
    left top,
    right top,
    color-stop(40%, #bd36cd),
    to(#a764af));
}


footer {
    background: none;
    line-height: 1.5;
    font-size: 90%;
}

footer ul li .a_blank{position:relative}
footer ul li .a_blank:after {
    content: " ";
    width: 14px;
    height: 14px;
    position: absolute;
    top: .75em;;
    margin-left: 5px;
    background: url(images/icon_blank.png) no-repeat;
    background-size: cover;
    border: none;
    -ms-transform: translateY(-50%) rotate(0);
    transform: translateY(-50%) rotate(0);
}
footer ul li .a_blank:hover:after{
    margin-left: 15px;
}



/*------------------------------------------*/
/*pagination*/
/*------------------------------------------*/
.pagination li>a {
    display: inline-block;
    padding: .5em 1em;
    text-align: center;
    border: 1px solid #1f9141;
    margin: 0 .5rem .5rem 0;
    font-size: 12px;
    border-radius: 5px !important;
    background: #1f9141;
    color: #FFF;
}

.page-numbers span.current {
    display: inline-block;
    border: none;
    padding:0;
    margin: 2px;
    border-bottom: solid 2px #1f9141;
    text-decoration: none;
    background-color: #1f9141;
    color: #FFF;
    width: 3em;
    height: 3em;
    line-height: 3em;
    font-size: 11px;
    font-weight: 800;
}
.page-numbers a {
    display: inline-block;
    border: none;
    padding:0;
    margin: 2px;
    border-bottom: solid 2px #1f9141;
    text-decoration: none;
    background-color: #FFF;
    color: #1f9141;
    width: 3em;
    height: 3em;
    line-height: 3em;
    font-size: 11px;
    font-weight: 800;
}

 a.prev.page-numbers,
 a.next.page-numbers{
	border: none;
    color: #1f9141;
    width: 4em;
}

/*------------------------------------------*/
/* sitemap */
/*------------------------------------------*/
.sitemaps ul li{
    border-bottom: 3px dotted rgba(0,0,0,.1);
    padding: 1em 0;
	margin-left:0;
    list-style-type: none;
}
.sitemaps li:before{
  font-family: "Font Awesome 5 Free";
  font-weight:900;
  content: "\f0a9";
  margin-right:.3em;
  color:#8c8c8c;
}

.sitemaps li ul.sub-menu{
	margin-top: .5em;
	margin-left:1em;
}


.sitemaps li ul li{
	border:none;
	padding: 5px;
	display: inline-block;
	margin-right: 1em;
}
.sitemaps li ul li:before{
  font-family: "Font Awesome 5 Free";
  font-weight:900;
  content: "\f105";
  margin-right:.3em;
}


/*------------------------------------------*/
/* form base */
/*------------------------------------------*/
input[type="file"]{
	margin:2px 1px;
}

select {
	border: 1px solid #bbb;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	max-width: 100%;
    padding: 0.4em;
}

input[type="radio"],
input[type="checkbox"] {
	margin-right: 2px;
}

label,
input[type="radio"] + label,
input[type="checkbox"] + label {
	font-weight: 400;
	word-break: break-all;
}

input[type="radio"]{
  -webkit-appearance: none;
  width:15px;
  height:15px;
  border:2px solid #383838;
  border-radius:15px;
  background:transparent;
  opacity:0.5;
  position: relative;
  top: .09rem;
  
}
input[type="radio"]:checked{
/*  background:#383838;
  opacity:1;*/
}
input[type="checkbox"]{
/*  -webkit-appearance: none;*/
  width:20px;
  height:20px;
  border:2px solid #383838;
  border-radius:2px;
  background:transparent;
  opacity:0.5;
  position: relative;
  top: .11rem;
}
input[type="checkbox"]:checked{
/*  background:#383838;*/
  opacity:1;
}
input::placeholder {
  color: #DDD;
}

.form-control::-webkit-input-placeholder{color:#e6e6e6;opacity:1}
.form-control::-moz-placeholder{color:#e6e6e6;opacity:1}
.form-control:-ms-input-placeholder{color:#e6e6e6;opacity:1}
.form-control::-ms-input-placeholder{color:#e6e6e6;opacity:1}
.form-control::placeholder{color:#e6e6e6;opacity:1}


.hissu {
    display: inline;
    padding: 2px 5px 3px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
    background-color: red;
    margin-left: 3px;
}

.wp-block-table .min5{
    min-width: 7em;
    display: inline-block;
}


@media screen and (max-width: 768px){
	.table th{
		min-width:6em;
	}

	.mw_wp_form .table tr th,
	.mw_wp_form .table tr td{
		display:block;
		max-width: 90vw;
	}
}
.mw-wp-form_image{max-width:120px;}
.mw_wp_form .error {
    font-size: 12px;
    color: #FFF;
    display: inline-block;
    background: red;
    padding: 2px 6px 3px;
    border-radius: 3px;
    line-height: 1.4;
}
/*登録画面の制御*/
.mw_wp_form_confirm .touroku{
	display:none;	
}

/*確認画面の制御*/
.mw_wp_form_input .kakunin{
	display:none;
}

.midashi-title.kakunin{
	margin: 0px 0 32px !important;
}


/*------------------------------------------*/
/*SNS icon*/
/*------------------------------------------*/
ul.sns {
	display:flex;
	justify-content: space-around;
    width: 160px;
    margin: 15px auto;
}
ul.sns li a{
	width:36px;
	height:36px;
/*	border-radius:50%;
	background:#c8251d;*/
    font-size: 18px;
	color:#FFF;
	line-height:36px;
	text-align:center;
	display: inline-block;
}
ul.sns li a,
ul.sns li a:hover{color:#FFF;text-decoration: none;}

/*
ul.sns li a.bg-tw{
	background:#229344;
}
ul.sns li a.bg-insta{
  background: -webkit-linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;
  background: linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;
}
*/

/*------------------------------------------*/
/*Mobile Footer NAVI*/
/*------------------------------------------*/
#mobftMenu {
	background: rgba(126,70,219, 0.7);
    border-top: solid 1px #fbfbfb;
    color: #FFFFFF;
    display: flex;
    flex-wrap: wrap;
	width: 100%;
	position: fixed;
	left: 0px;
	bottom: 0px;
	z-index: 9999;
	text-align: center;
	color: #FFF;
	padding: 0;
	margin: 0;
	
}
ul#mobftMenu li{
	flex: 1;
	font-size:14px;
	list-style-type:none;
}
ul#mobftMenu li span{
	display:block;
	font-size:9px;
}
ul#mobftMenu li:nth-child(n+2){
	border-left: solid 1px #fbfbfb;
}
#mobftMenu a,#mobftMenu a:hover{
	display:block;
	padding:8px 10px;
	color:#FFF;

}
/*------------------------------------------*/
/*pagetop*/
/*------------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 40px;
    right: 10px;
    z-index: 10;
    margin: 0;
    display: none;
    padding:0;
}

/*pagetop btn*/
#pagetop a {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    display: block;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    color: #FFFFFF;
    background: #1f9141;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    transition: 1s;
    font-size: 20px;
}
#pagetop a i{
	line-height:40px;
}


/*update add*/
.is-layout-flex {
  display: flex;
  flex-wrap: wrap;
}