@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i');

/*
Theme Name: 梅北工務店_Thema
Author: Plusers
Description: original theme
Version： 3.0.0
*/


/*========== RESET ==========*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
body {
    line-height:1;
}
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}
ul {
    list-style:none;
}
blockquote, q {
    quotes:none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}
a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
    text-decoration: none;
    color: inherit;
}
ins {
    background-color:#fff;
    color:#000;
    text-decoration:none;
}
mark {
    background-color:#fff;
    color:#000;
    font-style:italic;
    font-weight:bold;
}
del {
    text-decoration: line-through;
}
abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}
table {
    border-collapse:collapse;
    border-spacing:0;
}
hr {
    display:block;
    height:1px;
    border:0;
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}
input, select {
    vertical-align:middle;
}


/*========== ORIGINAL ==========*/

*,
*:before,
*:after {
  box-sizing: border-box;
  image-rendering: -webkit-optimize-contrast;
}



html {
  /* 95px：変数が取得できなかった場合の初期値 */
  /* 20px：スクロール時の上部のゆとり */
  scroll-padding-top: calc((var(--headerHeight, 95px)) + 20px);
}
body {
   font-size: 12px;
   font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic",'Open Sans', sans-serif;
   line-height: 1.8;
   color: #222222;
}
img{
	max-width: 100%;
	height: auto;
}

a:hover{
	opacity: 0.8;
	transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
}

 /* Overwriting styles for the navigation dots */
#fp-nav ul li a span{
  background: white;
}

.button{
  position: fixed;
  top:40px;
  left: 40px;
  z-index: 999;
  background: white;
  border-radius: 10px;
  padding: 10px;
}
/* ナビゲーションドットのスタイルを上書き */
#fp-nav ul li a span{
    background: white;
}
.fp-warning, .fp-watermark{
   display: none;
}


/*========== MAIN MENU ==========*/

.fix_menu{
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 30px 0;
    transition: 1s;
}

.single .fix_menu,
.page .fix_menu,
.fp-viewing-flow .fix_menu,
.fp-viewing-blog .fix_menu{
    background-color: #333333;
}

.fp-viewing-flow #fp-nav ul li a span{
	background-color: #A2B096;
}

.rogo{
    position: absolute;
    top: 0;
    left: 0;
    padding: 15px 0 15px 30px;
    width: 157px;
}
.rogo img{
    width: 100%;
    height: auto;
}
#switch{
    display: none;
}

#navwrap{
    position: absolute;
    top: 0;
    right: 0;
    padding: 20px 30px 10px 0;
}
.header_menu{
    display: flex;
    align-items: center;
    color: #FFFFFF;
}

.header_menu li::before{
    content: "/";
}
.header_menu li:first-child:before,
.header_menu li:last-child:before{
    display: none;
}
.header_menu li a{
    cursor: pointer;
    padding: 0 10px;
    text-decoration: none;
    font-weight: bold;
}
.header_menu li a.contact{
    display: flex;
    height: 24px;
    margin-left: 16px;
    padding: 2px 16px 2px 2px;
    color: #333;
    border-radius: 3px;
    background-color: #FFFFFF;
}
.header_menu li a.contact p{

}

.dli-mail{
  position: relative;
  width: 30px;
    display: inline-block;
    border-radius: 3px 0 0 3px;
    background-color: #333;
    margin-right: 8px;
    height: 20px;
    padding: 2px;
}
.dli-mail::after {
    content: '';
  display: inline-block;
  vertical-align: middle;
  position: absolute;
      top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  color: #FFFFFF;
  line-height: 1;
  width: 1.3em;
  height: 0.8em;
  border: 1.5px solid #FFFFFF;
  border-radius: 1px;
  box-sizing: content-box;
  overflow: hidden;
}
.dli-mail::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 6px;
  width: 0.7em;
  height: 0.7em;
  border: 1.5px solid #FFFFFF;
  border-top-color: transparent;
  border-right-color: transparent;
  border-radius: 0 0 0 1px;
  box-sizing: content-box;
  transform: translate(-50%, -50%) rotate(-45deg) skew(10deg, 10deg);
}

@media screen and (max-width:768px) {
    #switch ~ label {
        padding: 12px 12px;
        width: 60px;
        height: 60px;
        background: #333;
        position: fixed;
        box-sizing: border-box;
        top: 0;
        right: 0;
        z-index: 999;
        cursor: pointer;
    }
    #switch ~ label span{
        display: block;
        width:22px;
        height:2px;
        top: 50%;
        left: 0;
        right: 0;
        margin:auto;
        background: #fff;
        position: absolute;
        -webkit-transition: 0.2s transform;
        transition: 0.2s transform;
    }
    #switch ~ label span:before,
    #switch ~ label span:after{
        content: "";
        display: block;
        background: #fff;
        position: absolute;
        width:22px;
        height:2px;
        left: 0;
        right: 0;
        margin: auto;
    }
    #switch ~ label span:before{
        top: -9px;
    }
    #switch ~ label span:after{
        top: 9px;
    }

    #switch:checked ~ label span{
      -webkit-transform:rotate(-45deg) ;
      transform:rotate(-45deg) ;
    }
    #switch:checked ~ label span:before{
      top:0;
    }
    #switch:checked ~ label span:after{
      -webkit-transform:rotate(270deg);
      transform:rotate(270deg);
      top:0;
      margin-top:0;
    }
    #navwrap{
        padding-top: 0;
        position: fixed;
        top: -100%;
        left: 0;
/*      width: calc(100% - 60px);*/
        height: 100%;
        background: rgba(0,0,0,0.8);
        transition: all 0.4s;
        padding: 60px;
        box-sizing: border-box;
    }
    #switch:checked ~ #navwrap {
        display: block;
        top: 0;
    }

    .header_menu li::before{
        content: "→";
    }
    .header_menu li:first-child:before{
        display: inline-block;
    }
    .header_menu li:last-child:before{
        display: none;
    }

    .header_menu{
        display: flex;
        flex-direction: column;
    }
    .header_menu li{
        margin: 0 auto 30px;
    }
    .header_menu li a{
        color: #fff;
    }
    .scroll-prevent {
        position: fixed;
        z-index: -1;
        width: 100%;
        height: 100%;
    }
}



/*========== 共通 ==========*/

.section{

}

/*.fp-is-overflow .fp-overflow.fp-auto-height, .fp-is-overflow .fp-overflow.fp-auto-height-responsive, */
.fp-is-overflow>.fp-overflow{
   padding-top: 120px;
   padding-bottom: 100px;
}

.works-inner,.flow-inner,.blog-inner{
   text-align: center;
   padding: 0 60px;
   margin: 0 auto;
   max-width: 1400px;
}

.works_h2,.flow_h2,.blog_h2{
   font-size: 21px;
   margin-bottom: 60px;
   letter-spacing: 10px;
   font-weight: normal;
}


.common_btn{
    background-color: #000;
    padding: 1em 2.5em;
    width: fit-content;
    margin: 0 auto 60px;
    cursor: pointer;
    transition: .3s;
    color: #FFFFFF;
}

/*========== MAIN Section ==========*/
.main{
   color: #FFFFFF;
}

video{
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
}

.main-inner{
   display: flex;
   justify-content: center;
   align-items: center;
}
.main-logo{
   width: 340px;
   text-align: right;
}
.main-description{
   margin-left: 100px;
   width: 400px;
   text-align: left;
}
.main-description_h2{
   font-size: 36px;
    letter-spacing: 0.6rem;
    line-height: 1.8;
    font-weight: bolder;
    margin-bottom: 20px;
}
.main-description_h2::before{
    content: "";
    display: block;
    position: relative;
    left: -40px;
    top: 30px;
    width: 50px;
    height: 55px;
    background-image: url(./assets/images/accent_1.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.main-description_txt{
   letter-spacing: 0.24rem;
    line-height: 2;
}



@media only screen and (max-width: 768px) {
   .main-logo{
      display: none;
   }
   .main-description{
      margin: 0 60px;
   }
   .main-description_h2{
      font-size: 26px;
   }

   .fp-is-overflow>.fp-overflow{
      padding-bottom: 60px;
   }
}

/*========== Service Section ==========*/
.service_1,
.service_2,
.service_3{
   justify-content: end;
   color: #FFF;
}
.service_1{
   background-color: #DDD;
    background-image: url(./assets/images/service_image01.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service_1 h2{
	padding-left: 20px;
	position: relative;
}
.service_1 h2::before{
	content: "";
	background-image: url(./assets/images/accent_2.png);
	background-size: contain;
	position: absolute;
	display: block;
	background-repeat: no-repeat;
	width: 10px;
	height: 30px;
	left: 0;
	bottom: 14px;
}

.service_2 h2{
	padding-left: 38px;
	position: relative;
}
.service_2  h2::after{
	content: "";
	background-image: url(./assets/images/accent_3.png);
	background-size: contain;
	position: absolute;
	display: block;
	background-repeat: no-repeat;
	width: 24px;
	height: 24px;
	left: 0;
	bottom: 14px;
}

.service_3 h2{
	position: relative;
	padding-left: 40px;
	padding-bottom: 10;
}
.service_3 h2::after{
	content: "";
	background-image: url(./assets/images/accent_4.png);
	background-size: contain;
	position: absolute;
	display: block;
	background-repeat: no-repeat;
	width: 26px;
	height: 24px;
	left: 0;
	bottom: 14px;
}



.service_2{
    background-color: #a2b096;
   position: relative;

}
.service_3{
   background-color: #DDD;
    background-image: url(./assets/images/service_image03.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-inner{
   max-width: 520px;
   margin: 0 120px;
}

.service_2::before{
   content: "";
   position: absolute;
   width: 80%;
   height: 68vh;
   top: 100px;
   left: 50%;
   transform: translateX(-50%);
   -webkit- transform: translateX(-50%);
    background-image: url(./assets/images/service_image02.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service_2 .service-inner{
    max-width: 100%;
   position: relative;
   z-index: 10;
   margin: 0 10%;
    display: flex;
    justify-content: space-between;
    align-items: end;
}
.service_2 .service-inner .service-description{
    max-width: 520px;
}

.service-description_h2{
   font-size: 30px;
   margin-bottom: 15px;
   letter-spacing: 4px;
}


.service-case{
    margin-top: 60px;
    font-size: 0.85rem;
}
.service-case p{
    display: inline-block;
    border-bottom: 1px solid #FFFFFF;
}

.service-case span.jirei:before {
    content: "";
  display: inline-block;
  background-color: #FFFFFF;
  color: #333333;
  padding: 2px 15px 0px;
  margin-right: 8px;
}
.service_1 .service-case span.jirei:before {
  content: "事例1";
}
.service_2  .service-case span.jirei:before {
  content: "事例2";
}
.service_3  .service-case span.jirei:before {
  content: "事例3";
}






@media only screen and (max-width: 768px) {
   .service-inner{
      margin: 0 40px;
   }
   .service_2 .service-inner{
      margin-left: 40px;
      flex-wrap: wrap-reverse;
   }
   .service_2::before{
      height: 50vh;
      width: 100%;
   }
   .service-description_h2{
      font-size: 22px;
      margin-bottom: 5px;
   }

}

@media only screen and (max-height: 768px) {
   .service_2::before{
      height: 35vh;
   }
}


/*========== Works Section ==========*/
.works{
    color: #FFF;
    background-color: #191c17;
}

.works_h2{
	font-size: 21px;
	font-weight: normal;
	text-align: left;
	margin-left: 50px;
	position: relative;
}
.works_h2::before{
	content: "";
	background-image: url(./assets/images/accent_5.png);
	background-size: contain;
	position: absolute;
	display: block;
	background-repeat: no-repeat;
	width: 30px;
	height: 30px;
	left: -50px;
	bottom: 4px;
}


.works-inner{
	margin: 0 auto;
}

/*========== Flow Section ==========*/
.flow{
	background-image: url(./assets/images/flow_bg01.jpg);
	background-size: cover;
	background-color:rgba(255,255,255,0.8);
	background-blend-mode:lighten;
}
.flow_h2{
    margin: 0 auto 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 320px;
}
.flow_h2 img{
    width: 40px;
}
.flow_txt{
	margin-bottom: 40px;
}


.flow-item{
   width: 100%;
   margin: 0 auto;
   max-width: 1200px;
}

.flow ul {
	display: flex;
	flex-wrap: wrap;
}
.flow ul li{
	width: 25%;
	padding: 40px;
    align-items: center;
    position: relative;
}

.flow ul li img{
	width: 60px;
	height: auto;
	max-width: 100%;
	max-height: 100%;
}

.flow_text_wrp{

}

.flow_text_wrp h3{
	margin-top: 20px;
	margin-bottom: 0.5rem;
	font-size: 16px;
	letter-spacing: 2px;
}

.flow ul li:nth-of-type(1) {
	width: 50%;
}

.flow ul li:nth-of-type(1) img{
	width: 100px;
}
.flow ul li .flow_1_wrp .flow_text_wrp h3{
	margin-top: 0;
}

.flow ul li .flow_1_wrp{
	width: 90%;
	padding: 30px;
	background-color: #5F8256;
	color: #FFFFFF;
  border-radius: 10px;
}

.flow ul li .flow_1_wrp .flow_text_wrp{
	display: inline-block;
	width: 60%;	
	padding-left: 30px;
}

.flow_text_wrp::after {
	content: "";
	position: absolute;
	display: inline-block;
	vertical-align: middle;
	color: #333;
	line-height: 1;
	width: 0;
	height: 0;
	border-style: solid;
	border-color: transparent;
	border-width: 0.5em 1em;
	border-left-color: currentColor;
	border-right: 0;
	right: calc(10% - 35px);
	top: 46%;
}
.flow ul li:nth-of-type(3) .flow_text_wrp:after,
.flow ul li:nth-of-type(7) .flow_text_wrp:after{
	display: none;
}

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

	.flow ul li{
		flex-wrap: nowrap;
		width: 100%;
		padding: 0;
	}
	.flow_text_wrp{
		margin-top: 15px;
		margin-left: 0;
	}
	.flow ul li img,
	.flow ul li:nth-of-type(1) img{
		width: 50px;
	}

	.flow_text_wrp::after {
		content: "";
		position: absolute;
		display: inline-block;
		vertical-align: middle;
		color: #333;
		line-height: 1;
		width: 0;
		height: 0;
		border-style: solid;
		border-color: transparent;
		border-width: 1em 0.5em;
		border-top-color: currentColor;
		border-bottom: 0;
		left: 47%;
		top: unset;
		bottom: -30px;
	}
	.flow ul li:nth-of-type(3) .flow_text_wrp:after{
		display: block;
	}
	.flow ul li{
		margin-bottom: 60px;
	}
	.flow ul li:nth-of-type(1) {
		width:  calc(100% + 60px);
		margin: 0 -30px 60px;
	}

	.flow ul li .flow_1_wrp{
		width: 100%;
		padding-top: 30px;
	}
	.flow ul li .flow_1_wrp .flow_text_wrp{
		display: block;
		width: 100%;	
		padding: 0 30px;
	}

	.flow ul li .flow_1_wrp .flow_text_wrp h3{
		margin-top: 20px;
	}

}



/*========== Blog Section ==========*/
.blog{
   background-color: #FFF;
    position: relative;
}
.blog.fp-is-overflow >.fp-overflow{
	padding-bottom: 0;
}

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

.blog_icon {
    transform: rotate(90deg);
    width: 26px;
    height: 22px;
    margin-right: 20px;
    margin-top: 8px;
}


.blog-inner::after{
    content: "";
    width: 100%;
    top:40%;
    left: 0;
    height: 100%;
    position: absolute;
    background-color: #A2B096;
}

.blog-item{
    width: 80%;
    max-width: 1080px;
    margin: 80px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

.blog-item__continer{
    width: 30%;
    margin-bottom: 16px;
    background-color: #FFFFFF;
}
a.blog-item__wrapper{
    display: block;
    padding: 20px;
}
.blog-item__wrapper:hover{
    opacity: 0.5;
}
.blog-item__image{
    width: 100%;
  height: 160px;
  margin: 0;
}

.blog-item__image img {
  margin: auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
}

.blog-item__info{
    width: 100%;

}

.blog-item__title{
    text-align: center;
    font-size: 16px;
    letter-spacing: 4px;
    padding-top: 20px;
    padding-bottom: 10px;
    min-height: 4.5rem;
}

.blog-item__description{
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3; 
  line-height: 20px;
  font-size: 11px;
  text-align: left;
}

.blog-item__footer{
    margin-top: 20px;
    letter-spacing: 3.5px;
    display: flex;
    justify-content: space-between;
}


.blog-item__footer .arrow {
  position: relative;
  text-decoration: underline;
}
.blog-item__footer .arrow span {
  display: inline-block;
  width: 18px;
  height: 1px;
  margin-top: 5px;
  border-radius: 9999px;
  background-color: #000000;
  margin-left: 5px;
}

.blog-item__footer .arrow span::before {
  content: "";
  position: absolute;
  right: 0;
  width: 8px;
  height: 1px;
  border-radius: 9999px;
  background-color: #000000;
  transform: rotate(45deg);
  transform-origin: calc(100% - 0.5px) 50%;
}


@media screen and (max-width:1024px) {
    .blog-item{
        justify-content: center;
    }
    .blog-item__continer{
        width: 100%;
        max-width: 400px;
    }

}





.instagram-inner{
	color: #FFFFFF;
	position: relative;
	z-index: 10;
}

.instagram_h2{
	padding-top: 20px;
   text-align: center;
   font-size: 16px;
   font-weight: normal;

}

.instagram-inner ul{
	display: flex;
	width: 80%;
	max-width: 1024px;
	margin: 0 auto;
	justify-content: space-between;
	flex-wrap: wrap;
}
.instagram-inner ul li{
	width: 24%;
}

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

    .blog-item{
        margin: 40px auto 60px;
        width: 100%;
    }
    .blog-item__image{
        width: 100%;
        height: 180px;
        margin-right: 0;
    }
    .blog-item__info{
        width: 100%;
    }
    .blog_section h2{
        font-size: 1.5rem;
    }


  .instagram_h2{
	   font-size: 18px;
	}
	.instagram-inner ul li{
		width: 49%;
	}
}








/* ========================================================= */
/* singl.php */
/* ========================================================= */



/*コンテンツのサイズ指定*/
.container {
  max-width: 580px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
  padding-top: 80px;
  padding-bottom: 4rem;
  font-size: 14px;
}

.contents h1{
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}

/*PCレイアウト*/
@media (min-width: 821px) {
  .two-columns {
    display: flex;
    flex-direction: row;

    gap: 2.5rem;
  }

  .two-columns .contents {
    flex: 1 1 auto;
  }

  .two-columns .sidebar {
    flex: 0 0 15.625rem;
  }
}

/*タブレットレイアウト*/
@media (max-width: 820px) {
  .two-columns .contents {
    margin-bottom: 4rem;
  }
}

/*スマホレイアウト*/
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

}


.site-title a img {
  height: 2.5rem;
}

/*ヘッダー*/

.header-inner {
  position: relative;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.site-title {
  line-height: 1;
  display: inline-block;
}

.site-title a {
  display: block;
  text-decoration: none;
}

/*タイトルを画像にする場合*/
.site-title a img {
  display: block;
  width: auto;
  height: 1.75rem;
}

/*タイトルを文字列にする場合*/
.site-title a {
  font-weight: bold;
  height: 1.75rem;
  color: #000;
}

.header-nav li a {
  display: block;
  text-decoration: none;
}



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

.blog-link div{
    max-width: 100px;
}



@media(min-width: 821px) {
  .navbutton {
    display: none;
  }

  .header-nav-wrap {
    position: absolute;
    top: 50%;
    right: 1.5rem;
    margin-left: 15rem;/*タイトル分の余白をあけておく*/
    transform: translateY(-50%);
  }

  .header-nav {
    font-size: 0;
  }

  .header-nav li {
    font-size: 1rem;
    display: inline-block;
    margin-left: 1.5rem;
    padding: .25rem 0;
  }

  .header-nav li a {
    font-weight: 500;
    color: #000;
  }

  .header-nav li a:hover {
    opacity: .6;
  }
}

@media(max-width: 820px) {
  .navbutton {
    position: absolute;
    z-index: 10;
    top: 50%;
    right: 1.5rem;
    display: block;
    cursor: pointer;
    transform: translateY(-50%);
    border: 0;
    background-color: transparent;
  }

  .navbutton:focus {
    outline: 0;
  }

  .navbutton::after {
    font-family: "Material Symbols Outlined";
    font-size: 2.5rem;
    content: "\e5d2";
    color: #000;
  }

  .menu-active .navbutton::after {
    content: "\e5cd";
    color: #fff;
  }

  .header-nav-wrap {
    position: fixed;
    z-index: 9;
    top: 0;
    left: 0;
    display: none;
    overflow-y: auto;
    width: 100%;
    height: 100vh;
    background-color: rgb(50 50 50 / 80%);
  }

  .header-nav {
    padding: 6rem 0;
  }

  .header-nav li a {
    font-weight: 400;
    padding: 1.5rem;
    text-align: center;
    color: #fff;
  }
}




/* ========================================================= */
/* BLOG */
/* ========================================================= */

.article-main{
/*    line-height: 2rem;*/
}

.article-head .article-info {
  margin-bottom: .5rem;
}

.article-head .article-info .article-cat {
  display: inline-block;
  vertical-align: middle;
}

.article-head .article-info .article-cat a {
  font-size: .875rem;
  line-height: 1;
  display: inline-block;
  margin-right: .5rem;
  padding: .375rem .5rem;
  text-decoration: none;
  color: #fff;
  background-color: #03162f;
}

.article-head .article-info .article-date {
  font-size: 1rem;
  display: inline-block;
  vertical-align: middle;
  color: #888;
}

.article-head .article-info .article-date i {
  font-size: 1.25rem;
  position: relative;
  top: .25rem;
}

.article-head h1 {
  font-size: 1.4rem;
  margin: 0 0 2rem;
  letter-spacing: 1px;
}

.article-head .article-img {
  margin-bottom: 2rem;
}

.article-head .article-img img {
  display: block;
}

.article-foot .article-tag {
  margin-bottom: 1rem;
  text-align: right;
}

.article-foot .article-tag ul {
  list-style: none;
}

.article-foot .article-tag ul li {
  font-size: .9rem;
  display: inline-block;
  margin-right: .5rem;
  vertical-align: middle;
}

.article-foot .article-tag ul li:last-child {
  margin-right: 0;
}

.article-foot .article-tag ul li a {
  line-height: 1;
  display: block;
  padding: .25rem .5rem;
  text-decoration: none;
  color: #000;
  border: 1px solid #000;
}

.article-foot .article-tag ul li a:hover {
  opacity: .6;
}

.article-foot .article-author {
  font-weight: 500;
  line-height: 1;
  text-align: right;
  vertical-align: middle;
}

.article-foot .article-author i {
  font-size: 1.25rem;
  position: relative;
  top: .25rem;
}



@media(max-width: 480px) {
  .article-head h1 {
    font-size: 1.75rem;
  }
}

/*エディタコンテンツ*/
.editor-content p code,
.editor-content p img,
.editor-content p iframe,
.editor-content p object,
.editor-content figure img,
.editor-content figure iframe,
.editor-content figure video,
.editor-content figure audio,
.editor-content pre code {
  margin-bottom: 0;
}

.editor-content th,
.editor-content td {
  border-color: #ddd;
}

.editor-content p,
.editor-content ul,
.editor-content ol,
.editor-content table,
.editor-content dl,
.editor-content blockquote,
.editor-content pre,
.editor-content code,
.editor-content img,
.editor-content picture img,
.editor-content figure,
.editor-content iframe,
.editor-content object,
.editor-content hr,
.editor-content video,
.editor-content audio {
  margin-bottom: 2.5em;
  letter-spacing: 1px;
}

.editor-content b,
.editor-content strong {
  font-weight: bold;
}

.editor-content a {
  text-decoration: underline;
}

.editor-content ul:not([class]) {
  padding-left: 1.25em;
  list-style: disc;
}

.editor-content ol:not([class]) {
  padding-left: 1.875em;
  list-style: decimal;
}

.editor-content table {
  width: 100%;
}
.editor-content table thead {
  border: none;
}
.editor-content table th,
.editor-content table td {
  box-sizing: border-box;
  padding: .625em;
  text-align: left;
  vertical-align: middle;
  border: 1px solid #ddd;
}
.editor-content img,
.editor-content iframe,
.editor-content object,
.editor-content video,
.editor-content audio {
  line-height: 1;
}
.editor-content figure {
  max-width: 100%;
}

.editor-content iframe,
.editor-content object {
  width: 100%;
}

.editor-content blockquote {
  line-height: 1.5;
  position: relative;
  padding: 3.125em 1.875em .625em;
  color: #555;
  background-color: #f1f4f4;
}

.editor-content blockquote::before {
  font-family: "Material Symbols Outlined";
  font-size: 1.875em;
  font-weight: 900;
  position: absolute;
  top: .3125em;
  left: .9375em;
  content: "\e244";
  color: #ccc;
}

.editor-content blockquote p,
.editor-content blockquote cite {
  margin-bottom: 1em;
}

.editor-content blockquote p cite {
  margin-bottom: 0;
}
.editor-content blockquote cite {
  font-size: .6125em;
  display: block;
  text-align: right;
}

.editor-content h2,
.editor-content h3,
.editor-content h4,
.editor-content h5 {
  line-height: 1.4;
  margin: 3rem 0 2rem;
  letter-spacing: 1px;
}

.editor-content h2 {
  font-size: 1.875rem;
  padding: .75rem 0;
  border-bottom: solid 5px #03162f;
}

.editor-content h3 {
  font-size: 1.5rem;
  padding: 0 1rem;
  border-left: solid .375rem #415671;
  background: transparent;
}

.editor-content h4 {
  font-size: 1.25rem;
}

.editor-content h5 {
  font-size: 1.125rem;
}

@media (max-width: 480px) {
  .editor-content p,
  .editor-content ul,
  .editor-content ol,
  .editor-content table,
  .editor-content dl,
  .editor-content blockquote,
  .editor-content pre,
  .editor-content code,
  .editor-content img,
  .editor-content picture img,
  .editor-content figure,
  .editor-content iframe,
  .editor-content object,
  .editor-content hr,
  .editor-content video,
  .editor-content audio {
    margin-bottom: 1.5em;
  }

  .editor-content th,
  .editor-content td {
    padding: .625em;
  }

  .editor-content blockquote {
    padding: 2.5em 1.875em 1.875em;
  }

  .editor-content blockquote::before
  .editor-content blockquote::after {
    font-size: 1.25em;
  }

  .editor-content blockquote p,
  .editor-content blockquote cite {
    margin-bottom: .625em;
  }

  .editor-content h2,
  .editor-content h3,
  .editor-content h4,
  .editor-content h5 {
    margin: 2rem 0;
  }

  .editor-content h2 {
    font-size: 1.5rem;
  }
  .editor-content h3 {
    font-size: 1.375rem;
  }
  .editor-content h4 {
    font-size: 1.25rem;
  }
  .editor-content h5 {
    font-size: 1rem;
  }
  .editor-content h6 {
    font-size: .9375rem;
  }
}


@media (max-width: 332px) {
  .editor-content h2 {
    font-size: 1.25rem;
  }
  .editor-content h3 {
    font-size: 1.125rem;
  }
  .editor-content h4 {
    font-size: 1rem;
  }
  .editor-content h5 {
    font-size: .9375rem;
  }
  .editor-content h6 {
    font-size: .875rem;
  }
}



/*ページタイトル*/
.page-title-wrap {
  background-color: #1d2d43;
}

.page-title-wrap .page-title {
  position: relative;
  max-width: 1080px;
  height: 22rem;
  margin: 0 auto 2rem;
  padding: 0 1.5rem;
}

.page-title-wrap .page-title .text-warp {
  position: absolute;
  top: 50%;
  left: 1.5rem;
  width: calc(100% - 3rem);
  transform: translateY(-50%);
  text-align: center;
}

.page-title-wrap .page-title .text-warp h1 {
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: 1px;
  color: #fff;
}

@media(max-width: 820px) {
  .page-title-wrap .page-title {
    height: 20rem;
    margin-bottom: 1rem;
  }

  .page-title-wrap .page-title .text-warp h1 {
    font-size: 2.75rem;
  }
}

@media(max-width: 480px) {
  .page-title-wrap .page-title {
    height: 12rem;
    margin-bottom: 0;
  }

  .page-title-wrap .page-title .text-warp h1 {
    font-size: 2rem;
  }
}







/* ========================================================= */
/*contact.php*/
/* ========================================================= */

.wpcf7-submit:disabled {
    opacity: .5;
}

.cf7__list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.cf7__list dt:nth-of-type(n + 2),
.cf7__list dd:nth-of-type(n + 2) {
  margin-top: 30px;
}

.cf7__list dt {
  width: 35%;
  padding-top: 15px;
}

.cf7__list dd {
  width: 65%;
}

/* 必須・任意 */
.cf7__required,
.cf7__optional {
  margin-right: 15px;
  padding: 6px 14px;
  color: #fff;
  font-size: 12px;
  vertical-align: 1px;
}

.cf7__required {
  background: #BE1D1D;
}

.cf7__optional {
  background: #878D8E;
}

/* input・textarea */
.cf7__list dd input[type="text"],
.cf7__list dd input[type="tel"],
.cf7__list dd input[type="email"],
.cf7__list dd textarea {
  width: 100%;
  padding: 15px 20px;
  background: #F4F4F4;
  box-sizing: border-box;
}

/* ドロップダウンメニュー */
.cf7__select {
  position: relative;
}

.cf7__select:before {
  position: absolute;
  top: 50%;
  right: 20px;
  z-index: 10;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid #000;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  pointer-events: none;
  content: '';
}

.cf7__select select {
  width: 100%;
  padding: 19px 20px;
  background: #F4F4F4;
  color: #a5a5a5;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

/* チェックボックス・ラジオボタン */
.cf7__list dd .wpcf7-checkbox,
.cf7__list dd .wpcf7-radio {
  display: block;
  padding: 15px 0 10px;
}

/* 縦並び（チェックボックス・ラジオボタン） */
.cf7__list dd .wpcf7-list-item {
  display: block;
  margin: 0;
}

.cf7__list dd .wpcf7-list-item:nth-child(n + 2) {
  margin-top: 18px;
}

/* マウスカーソル（チェックボックス・ラジオボタン） */
.cf7__list dd .wpcf7-list-item label {
  cursor: pointer;
}

/* チェックボックス・ラジオボタン */
input[type="checkbox"],
input[type="radio"] {
  position: relative;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border: 1px solid #bcbcbc;
  vertical-align: -3px;
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

/* チェックボックス */
input[type="checkbox"]:checked {
  border: 1px solid #000;
  background: #000;
}

input[type="checkbox"]:checked:before {
  position: absolute;
  top: 2px;
  left: 5px;
  transform: rotate(50deg);
  width: 6px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  content: '';
}

/* ラジオボタン */
input[type="radio"] {
  border-radius: 50%;
}

input[type="radio"]:checked:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #000;
  content: '';
}

/* プレースホルダー */
/* Google Chrome / Safari / Mozilla Firefox / Opera */
.cf7__list dd input[type="text"]::placeholder,
.cf7__list dd input[type="tel"]::placeholder,
.cf7__list dd input[type="email"]::placeholder,
.cf7__list dd textarea::placeholder {
  color: #a5a5a5;
}

/* Microsoft Edge */
.cf7__list dd input[type="text"]::-ms-input-placeholder,
.cf7__list dd input[type="tel"]::-ms-input-placeholder,
.cf7__list dd input[type="email"]::-ms-input-placeholder,
.cf7__list dd textarea::-ms-input-placeholder {
  color: #a5a5a5;
}

/* Internet Explorer */
.cf7__list dd input[type="text"]:-ms-input-placeholder,
.cf7__list dd input[type="tel"]:-ms-input-placeholder,
.cf7__list dd input[type="email"]:-ms-input-placeholder,
.cf7__list dd textarea:-ms-input-placeholder {
  color: #a5a5a5;
}

/* 送信ボタン */
.cf7__button {
  padding-left: 72px;
  text-align: center;
}

input[type="submit"] {
  width: 260px;
  height: 60px;
  background: #000;
  color: #fff;
  transition: opacity .6s;
}

input[type="submit"]:hover {
  opacity: .6;
}

/* ajax-loader */
.wpcf7-spinner {
  vertical-align: middle;
}

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

  .cf7__list dt {
    width: 100%;
    margin-bottom: 15px;
    padding-top: 0;
  }

  .cf7__list dd {
    width: 100%;
  }

  .cf7__list dd:nth-of-type(n + 2) {
    margin-top: 0;
  }

  .cf7__list dd .wpcf7-checkbox,
  .cf7__list dd .wpcf7-radio {
    padding: 15px 0 0;
  }

  /* 送信ボタン */
  input[type="submit"] {
    width: 180px;
    height: 56px;
  }

}












/*========== Footer Section ==========*/


.footer{
   background-color: #A2B096;
    width: 100%;
    text-align: center;
    color: #f8f8f8;
    padding: 0;
}




#contact{
    background-color: #A2B096;  
}
.contact{
    padding: 40px;
    color: #F8F8F8;
}
.contact-wrp{
	text-align: left;
    display: flex;
    justify-content: center;
    max-width: 700px;
    margin: 0 auto;
}
.contact-logo{
    display: block;
    height: 90px;
    margin-right: 80px;
}

.contact h2{
    letter-spacing: 2px;
    color: #F8F8F8;
    font-size: 1.2rem;
}
.contact h2 span{
    font-size: 10px;
    font-weight: normal;
    display: block;
}

.pc{
	display: block;
}
.sp{
	display: none;
}

.footer.fp-is-overflow > .fp-overflow{
    padding-bottom: 40px;
    padding-top: 20px;
 }

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


		/* input・textarea */
		.cf7__list,
		.cf7__list dd input[type="text"],
		.cf7__list dd input[type="tel"],
		.cf7__list dd input[type="email"],
		.cf7__list dd textarea,
		.cf7__select select {
		  font-size: 16px;
		}



	.footer.fp-is-overflow > .fp-overflow{
	    padding-bottom: 0;
	 }
	.pc{
		display: none;
	}
	.sp{
		display: block;
	}

	.works_h2,.flow_h2,.blog_h2{
	   font-size: 20px;
	}

	.flow_h2{
		width: 280px;
	}
	.service_1 h2::before,
	.service_2 h2::after,
	.service_3 h2::after{
		bottom: 8px;
	}


}

