@charset "UTF-8";
/* CSS Document */

@font-face {
  font-family:'Kotonode_100';
  src:url("../font/Kotonode-Kana-w100-M.woff") format("woff"),
    url("../font/Kotonode-Kana-w100-M.ttf") format("truetype"),
    url("../font/Kotonode-Kana-w100-M.otf") format("opentype"),
    url("../font/Kotonode-Kana-w100-M.eot") format("embedded-opentype");
}

@font-face {
  font-family:'Kotonode_250';
  src:url("../font/Kotonode-Kana-w250-M.woff") format("woff"),
    url("../font/Kotonode-Kana-w250-M.ttf") format("truetype"),
    url("../font/Kotonode-Kana-w250-M.otf") format("opentype"),
    url("../font/Kotonode-Kana-w250-M.eot") format("embedded-opentype");
}

@font-face {
  font-family:'Kotonode_400';
  src:url("../font/Kotonode-Kana-w400-M.woff") format("woff"),
    url("../font/Kotonode-Kana-w400-M.ttf") format("truetype"),
    url("../font/Kotonode-Kana-w400-M.otf") format("opentype"),
    url("../font/Kotonode-Kana-w400-M.eot") format("embedded-opentype");
}

@font-face {
  font-family:'Kotonode_550';
  src:url("../font/Kotonode-Kana-w550-M.woff") format("woff"),
    url("../font/Kotonode-Kana-w550-M.ttf") format("truetype"),
    url("../font/Kotonode-Kana-w550-M.otf") format("opentype"),
    url("../font/Kotonode-Kana-w550-M.eot") format("embedded-opentype");
}

@font-face {
  font-family:'Kotonode_700';
  src:url("../font/Kotonode-Kana-w700-M.woff") format("woff"),
    url("../font/Kotonode-Kana-w700-M.ttf") format("truetype"),
    url("../font/Kotonode-Kana-w700-M.otf") format("opentype"),
    url("../font/Kotonode-Kana-w700-M.eot") format("embedded-opentype");
}

@font-face {
  font-family:'Kotonode_900';
  src:url("../font/Kotonode-Kana-w900-M.woff") format("woff"),
    url("../font/Kotonode-Kana-w900-M.ttf") format("truetype"),
    url("../font/Kotonode-Kana-w900-M.otf") format("opentype"),
    url("../font/Kotonode-Kana-w900-M.eot") format("embedded-opentype");
}

.font_Kotonode_100{font-family: 'Kotonode_100';}
.font_Kotonode_250{font-family: 'Kotonode_250';}
.font_Kotonode_400{font-family: 'Kotonode_400';}
.font_Kotonode_550{font-family: 'Kotonode_550';}
.font_Kotonode_700{font-family: 'Kotonode_700';}
.font_Kotonode_900{font-family: 'Kotonode_900';}
.font_weigh_500{font-weight:500;}
.font_weigh_700{font-weight:700;}
.font_weigh_900{font-weight:900;}

body {
  background-color:#ffcd00;
  color: #fff;
}

.f_w {
  color:#fff
}

.f_b {
  color:#00327D
}

.top_ttl {
  font-size:1.5rem;
  margin-bottom: 1.5rem;
  display:block
}

.btm_ttl {
  font-size:4.7rem;
  display:block
}

.ttl_kanji {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900 !important;
}

.ttl_kanji_700 {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700 !important;
}

.fontcolor_red {
  color:#ff4e31;
}

/* == FOOTER == */
footer {
	position: relative;
}

.footer_bg {
  margin-bottom: -10vh;
}

.footer_wrap_bg {
  background: #00327d;
}

.footer_wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 50px;
}

li.p-breadcrumb {
	list-style: none;
}

.p-breadcrumb > ul {
	display: flex;
	font-size: 13px;
	font-weight: normal;
	flex-wrap: wrap;
	position: absolute;
	top: -20px;
}

.p-breadcrumb__lists li {
	color: #00327d;
}

.p-breadcrumb > ul > li:not(:last-of-type)::after {
	content: ">";
	padding: 0 15px;
}

.p-breadcrumb > ul > li > a {
	color: #00327d;
}

.p-breadcrumb > ul > li .next_list {
	display: inline-block;
	padding: 0 15px;
}

.footer_flex {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  padding-bottom: 100px;
}

.footer_menu_wrap {
  display: flex;
  justify-content: space-between;
}

.footer_nav_wrap {
  padding: 0 20px;
}

.footer_nav_wrap > li {
  font-size: 14px;
}

.footer_nav_wrap > li ul li {
  font-weight: normal;
  font-size: 13px;
}

.footer_nav_wrap li a {
  color: #fff;
}

.nav-unshown,
#nav-open {
  display: none;
}

.footer_name {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 10rem;
  line-height: 2;
}

.footer_add {
  font-size: 1.2rem !important;
  margin-left: 5px !important;
  font-weight: normal;
}

.footer_copyright {
  font-size: 1.1rem;
  font-weight: normal;
}

 @media screen and (max-width:1024px) {
  .footer_flex {
    display: block;
    justify-content: space-evenly;
    position: static;
    padding-bottom: 50px;
  }
}

@media screen and (max-width:767px) {
  .footer_wrap {
    margin: 0 auto
  }
	
  .footer_bg {
    margin-bottom: -20px;
  }
	
  .p-breadcrumb > ul {
	top: -80px;
  }

  .footer_name {
    margin-bottom: 5rem;
  }
	
  #nav-drawer {
    display: block;
  }
  
  #nav-open {
    position: relative;
    display: flex;
    justify-content: space-between;
    border: 1px solid #fff;
    padding: 0 20px;
  }
  
  #nav-open span.menu_line {
    position: absolute;
    right: 20px;
    height: 1px;
    width: 25px;
    border-radius: 3px;
    background: #fff;
  }

  #nav-open span.menu_line:nth-of-type(1) {
    top: 35%;
  }

  #nav-open span.menu_line:nth-of-type(2) {
    top: 50%;
  }

  #nav-open span.menu_line:nth-of-type(3) {
    top: 65%;
  }

  #nav-input:checked ~ #nav-open span.menu_line:nth-of-type(1) {
    transform: rotate(45deg);
    top: 25px;
  }   

  #nav-input:checked ~ #nav-open span.menu_line:nth-of-type(2) {
    transform: rotate(-45deg);
  }

  #nav-input:checked ~ #nav-open span.menu_line:nth-of-type(3) {
    opacity: 0;
  }

  .footer_menu_wrap {
	display: block;
    transform: scaleY(0);
    transform-origin: center top;
    transition: all .3s;
    height: 0;
	margin: 20px 0 60px;
  }

  #nav-input:checked ~ nav .footer_menu_wrap {
    transform: scaleY(1);
    height: 100%;
  }
	
  .footer_nav_wrap > li ul li {
    padding-left: 20px;
    position: relative;
  }

  .footer_nav_wrap > li ul li::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 0;
    width: 10px;
    height: 1px;
    background-color: #fff;
  }
}

@media screen and (max-width:414px) {
  /*修正113追加*/
  .footer_name {
    font-size: 1.5rem;
  }

  .p-breadcrumb > ul {
    font-size: 1rem; 		
  }

  .footer_add {
    font-size: 1.2rem !important;
    margin-left: 5px !important
  }

  .footer_copyright {
    font-size: 1rem
  }
  /*修正113追加ここまで*/
}

.about,
.works,
.service,
.news {
  margin-bottom: 27rem;
}

.wrap {
  max-width: 1280px;
  margin: auto;
}

@media screen and (max-width: 767px) {
  .about,
  .works,
  .service, 
  .news {
    margin-bottom: 10rem; 
  }
}

@media screen and (max-width: 414px) {
  .about,
  .works,
  .service,
  .news {
    margin-bottom: 7rem; 
  }
}

.loge_left {
  position: fixed;
  left:0;
  top:0;
  max-width: 250px;
  height: auto;
  z-index:10
}

@media screen and (max-width:1024px) {
  .loge_left {
    max-width: 190px
  }
}

@media screen and (max-width:767px) {
  .loge_left {
    max-width: 120px
  }
}

.page_header {
  margin:0 auto 11rem;
  max-width: 680px;
  height: auto;
  width: 100%;
}

@media screen and (max-width: 767px) {
  .page_header {
    margin:0 auto 8rem;
    width: 85%;
  }
}

@media screen and (max-width: 414px) {
  .page_header {
    margin:0 auto 5rem;
  }
}

.page_wrap {
  max-width: 1100px;
  margin: 0 auto 16rem;
}

.page_wrap_inner {
  padding-left: 1.5rem;
  padding-right: 1.5rem
}

.btn_more,
.btn_more_blue {
  max-width: 260px;
  margin: auto;
  text-align: center;
  border-radius: 50px;
  position: relative;
  z-index: 5;
  letter-spacing: .2em;
}

.btn_more a,
.btn_more_blue a {
  display: block;
  padding: 5px;
  text-align: center;
  font-size: 1.7rem;
  background-color: #fff;
  font-weight: bold;
  color: #00327d;
  background-color: #fff;
  border-radius: 30px;
  box-shadow: 0px 5px 0px 0px #ffcd00;
  position: relative;
  text-decoration: none;
  transition: .15s ease-out;
}

.btn_more a:hover{
  transform: translateY(2px);
  box-shadow: 0 0 0 rgba(245, 209, 0, 0.75);
  opacity: 1;
}

.btn_more_blue a {
  color: #00327d;
  background-color: #fff;
  border-radius: 30px;
  box-shadow: 0px 5px 0px 0px #00327d;
}

.btn_more_blue a:hover {
  transform: translateY(2px);
  box-shadow: 0 0 0 rgba(245, 209, 0, 0.75);
  opacity: 1;
}

@media screen and (max-width: 1024px) {
  .btn_more_blue a:hover {
	box-shadow: 0px 5px 0px 0px #00327d;
  }
}

/*======お問い合わせ======*/
.info_wrap {
  margin-top: 22rem;
  margin-bottom: 22em;
}

@media screen and (max-width:767px) {
  .info_wrap {
    margin-top: 10rem;
  }
}

@media screen and (max-width:414px) {
  .info_wrap {
    margin-top: 10rem;
  }
}

.info_ttl {
  font-size: 4.7rem;
  text-align: center;
  line-height: normal;
  margin-bottom: 15px;
  letter-spacing: 1rem;
  color: #00327d;
}

.info_boby_wrap li {
  width: 100%;
  padding: 5px;
}

.info_boby_l {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 300px;
  flex-direction: column;
  margin-top: 240px;
}

.contact_bg {
  position: absolute;
  z-index: 1;
  width: 529px !important;
}

.contact_txt {
  position: absolute;
  z-index: 2;
  top: -38px;
  text-align: center;
  line-height: 2.3;
  letter-spacing: -0.01em
}

.contact_rollover_link {
  color: #00327D;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  z-index: 3;
  font-size: 1.8rem;
  white-space: nowrap;
}

.contact_rollover_link:hover {
  color: #00327D;
}

.contact_rollover_wrap {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  z-index: 5
}

/* Rollover */
.contact_rollover {
  position: relative;
  width: 232px;
  margin: auto;
  margin-top: 139px;
}

.contact_rollover img{
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%;
  display: block;
}

.contact_rollover img:nth-of-type(2) {
  opacity: 0;
}

.contact_rollover img:nth-of-type(1),
.contact_rollover:hover img:nth-of-type(1), 
.contact_rollover:hover img:nth-of-type(2) {
  opacity: 1;
}

@media screen and (max-width: 1024px) {
  .contact_bg {
    position: absolute;
    z-index: 1;
    width: 471px !important;
  }

  .contact_txt {
    position: absolute;
    z-index: 2;
    top: -38px;
    text-align: center;
    line-height: 2.3;
    letter-spacing: -0.01em
  }

  /* Rollover */
  .contact_rollover {
    position: relative;
    width: 210px;
    margin: auto;
    margin-top: 121px;
  }
}

@media screen and (max-width: 767px) {
  .info_boby_wrap li {
    width: 100%;
    padding: 1px;
  }

  .contact_bg {
    position: absolute;
    z-index: 1;
    width: 529px !important;
  }

  .contact_txt {
    position: absolute;
    z-index: 2;
    top: -38px;
    text-align: center;
    line-height: 2.3;
  }

  /* Rollover */
  .contact_rollover {
    position: relative;
    width: 232px;
    margin: auto;
    margin-top: 145px;
  }
}

@media screen and (max-width: 414px) {
  .contact_bg {
    position: absolute;
    z-index: 1;
    width: 374px !important;
  }

  .contact_txt {
    position: absolute;
    z-index: 2;
    top: -38px;
    text-align: center;
    line-height: 2.3;
    font-size: 1.2rem;
  }

  .contact_rollover {
    position: relative;
    width: 172px;
    margin: auto;
    margin-top: 99px;
  }

  .contact_rollover_link {
    font-size: 1.4rem;
  }
}

/*======single======*/ 
.bg_white{padding:5%; background:#fff;border-radius:40px;}
#single{color:#00327d;width:100%;padding:40px;margin:0 auto 20px auto;box-sizing:border-box;font-weight:initial;}
#single img{text-align:center;width:auto;height:auto;margin:0 auto 20px;display:block;}

.wp-block-image figcaption{font-size:14px;line-height:1.5;text-align:center;}

#single ul#archive_category{width:100%;margin:0 auto 10px auto;display:-webkit-flex;display:flex;justify-content:flex-start;align-items:center!important;}
#single ul#archive_category li{font-size:70%;letter-spacing:0;width:7%;text-align:center;margin:0 0.5% 0 0;padding:0;position:relative;}
#single ul#archive_category li a{position:absolute;top:0;left:0;height:100%;width:100%;text-decoration:none;display:block;}

#single ul#archive_category li a:link{color:#ffffff;text-decoration:none;}
#single ul#archive_category li a:visited{color:#ffffff;text-decoration:none;}
#single ul#archive_category li a:hover{color:#ffffff;text-decoration:underline;}
#single ul#archive_category li a:active{color:#ffffff;text-decoration:underline;}

#single #date{font-size:70%;color:#010075;line-height:100%;letter-spacing:0;max-width:100px;text-align:center;font-weight:700;margin:0 0 10px 0;padding:10px 0;border:#010075 1px solid;}
#single #heading{font-size:140%;color:#FFFFFF;text-align:left;line-height:100%;letter-spacing:0.1em;margin:0 auto 70px auto;padding:15px 30px;background:#4a4a4a;}

#single #text{width:100%;margin:0 auto 50px auto;padding:0;box-sizing:border-box;}

#single #text p{line-height:1.75;margin-top: 32px;margin-bottom: 32px;}
#single h1{font-size: 180%;line-height: 1.75;margin-top: 20px;margin-bottom: 50px;}
#single h2{font-size: 160%;line-height: 1.5;margin-top: 50px;margin-bottom: 50px;}
#single h3{font-size: 140%;line-height: 1.2;margin-top: 30px;margin-bottom: 30px;}
#single h4{font-size: 120%;line-height: 1;margin-top: 25px;margin-bottom: 25px;}
#single .wp-block-separator.is-style-dots:before {font-size: 3.5em;}
#single .wp-block-table table tbody tr td img{vertical-align:middle!important;margin:auto 3px auto 0!important;display:inherit;}

@media screen and (max-width:1024px) {
  #single{padding:20px;}
  #single #heading{font-size:120%;margin:0 auto 30px auto;}
}

/*======pagenation======*/ 
.pagination {
	clear: both;
	margin:0 auto 50px auto;
	position: relative;
	font-size: 16px;
	line-height:1;
	text-align: center;
}

.pagination-box {
	display: inline-block;
}

.pagination span,
.pagination a {
	display: block;height:50px;width:50px;line-height:300%;
	float: left;
	margin: 10px 15px 10px 15px;
	border-radius: 50%;
	text-decoration: none;
	color: #fff;
	background: #00327d;
}

.pagination a:hover{
	color: #00327d;
	background: #fff;
}

.pagination .current{
	border-radius: 50%;
	height: 50px;
	width: 50px;
	line-height: 300%;
	color: #00327d;
	background: #ffffff;
}

.page-of{display:none!important;}

@media only screen and (max-width: 413px) {
  .pagination {
    font-size: 12px;
    line-height: 12px;
  }

  .pagination span,
  .pagination a {
    padding: 8px 10px 8px 10px;
  }

  .pagination .current{
    padding: 8px 10px 8px 10px;
  }
}

/*======post======*/ 
.overmask_list:nth-child(12n+1) {
	-webkit-mask-image: url("../img/works/mask1.png");
	mask-image: url("../img/works/mask1.png");
}

.overmask_list:nth-child(12n+2) {
	-webkit-mask-image: url("../img/works/mask2.png");
	mask-image: url("../img/works/mask2.png");
}

.overmask_list:nth-child(12n+3) {
	-webkit-mask-image: url("../img/works/mask3.png");
	mask-image: url("../img/works/mask3.png");
}

.overmask_list:nth-child(12n+4) {
	-webkit-mask-image: url("../img/works/mask4.png");
	mask-image: url("../img/works/mask4.png");
}

.overmask_list:nth-child(12n+5) {
	-webkit-mask-image: url("../img/works/mask5.png");
	mask-image: url("../img/works/mask5.png");
}

.overmask_list:nth-child(12n+6) {
	-webkit-mask-image: url("../img/works/mask6.png");
	mask-image: url("../img/works/mask6.png");
}

.overmask_list:nth-child(12n+7) {
	-webkit-mask-image: url("../img/works/mask7.png");
	mask-image: url("../img/works/mask7.png");
}

.overmask_list:nth-child(12n+8) {
	-webkit-mask-image: url("../img/works/mask8.png");
	mask-image: url("../img/works/mask8.png");
}

.overmask_list:nth-child(12n+9) {
	-webkit-mask-image: url("../img/works/mask9.png");
	mask-image: url("../img/works/mask9.png");
}

.overmask_list:nth-child(12n+10) {
	-webkit-mask-image: url("../img/works/mask10.png");
	mask-image: url("../img/works/mask10.png");
}

.overmask_list:nth-child(12n+11) {
	-webkit-mask-image: url("../img/works/mask11.png");
	mask-image: url("../img/works/mask11.png");
}

.overmask_list:nth-child(12n+12) {
	-webkit-mask-image: url("../img/works/mask12.png");
	mask-image: url("../img/works/mask12.png");
}

.overmask_list:nth-child(12n+1),
.overmask_list:nth-child(12n+2),
.overmask_list:nth-child(12n+3),
.overmask_list:nth-child(12n+4),
.overmask_list:nth-child(12n+5),
.overmask_list:nth-child(12n+6),
.overmask_list:nth-child(12n+7),
.overmask_list:nth-child(12n+8),
.overmask_list:nth-child(12n+9),
.overmask_list:nth-child(12n+10),
.overmask_list:nth-child(12n+11),
.overmask_list:nth-child(12n+12) {
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

div.overmask_list img {
	height: 235px;
	width: 100%;
}

.overmask_list .overmask_caption {
	text-align: center;
	padding-top: 28%;
	color: #fff;
	line-height: 1.7;
	width: 80%;
	margin: 0 auto;
}

.overmask_list .overmask {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	background-color: rgba(0, 0, 0, 0.4);
	-webkit-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

.overmask_list:hover .overmask {
	opacity: 1;
}

.overmask_caption p:first-child {
	font-size: 20px;
}

.overmask_caption p:last-child {
	font-size: 12px
}