@charset "utf-8";
@import "reset.css";

/*==============================
	基本設定
==============================*/
html{
font-size: 62.5%;
line-height: 1.5em;
}
body {
	color: #333;
	font-family: "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", Arial, sans-serif;
	margin: 0;
	padding: 0;
	text-align: left;
	font-size: 1.5rem;
	line-height: 1.8em;
	-webkit-text-size-adjust: 100%;
	word-break : break-all;
}

.maintop{
width: 100%;
height: calc(100vh);
-ms-background-size: cover;
background-size: cover;
position: relative;
transition: all 400ms ease-in-out;
background-position: center 0%;
}
.topcolor {
  background-color: #F0F0F0;
}

/*トップ背景画像PC用*/
@media only screen and (min-width:768px) {
.maintop{
background-image: url(../images/portal-main-back.jpg);
background-repeat: no-repeat;
}
}

/*トップ背景画像スマホ用*/
@media only screen and (max-width:767px) {
.maintop{
background-image: url(../images/portal-main-back-sp.jpg);
background-repeat: no-repeat;
}
.topcenter{
    max-width: 50%;
    margin: 0 auto;
}
}

@media only screen and (max-width:767px) {
.logo img{
width: 200px;
height: auto;
}
.topcenter{
    max-width: 50%;
    margin: 0 auto;
}
}

p {
	font-family: "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", Arial, sans-serif;
	line-height:1.8em;
	}
img{vertical-align:bottom;}
h1,h2,h3,h4,h5,h6{
    line-height: 1.8em;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", Arial, sans-serif;
	}
th{
	font-weight:normal;
	text-align:left;
}
/*rollover*/
a:hover img.ro{filter:alpha(opacity=80);opacity:0.8;-webkit-opacity:0.8;-moz-opacity:0.8;-ms-opacity:0.8;-o-opacity:0.8;}

nav a{
transition: 0.5s ;
}
nav a:hover{
opacity: 0.5 ;
}
.logo{
font-weight: bold;
font-size: 2rem;
}
.catch{
text-align: center;
font-weight: bold;
font-size: 2rem;
}
.catch-portal{
text-align: center;
font-weight: bold;
font-size: 2rem;
color: #FFFFFF;
font-family: "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "serif"
}
@media only screen and (min-width:768px) {
.menu{
margin-top: 120px;
}
.toptest{
margin-left: 45px;
}
}
@media only screen and (max-width:767px) {
.menu{
margin-top: 50px
}
}
.menu-box{
background-color: #FFFFFF;
padding: 2px!important;
}
.menu-item{
font-weight: bold;
font-size: 2rem;
}
.menu-item2{
font-weight: bold;
font-size: 1.4rem;
}
.btn-dark{
font-weight: bold!important;
}
.sns-icon{
margin-top: 70px;
}
.sns-icon li{
display: inline-block;
padding: 0 10px;
}

/* 共通設定（文字）*/
.b{
font-weight: bold;
}
.s{
font-size:80%;
}
.ss{
font-size:70%;
}
.nowrap{ /*改行しない*/
white-space: nowrap;
}
.breakall{ /*強制改行*/
word-break: break-all;
}
.link-t{
font-size: 17px;
}
.link-t1{
font-size: 11px;
}
/*共通設定*/
div,table,ul,li{
padding: 0;
line-height: 1.5em;
}
section{
color:#000;/*文字色*/
}
.color-txt{
color:#000;/*文字色*/
}
.color-key{
color:#3A4282;/*キーカラー（青）*/
}
.bgcolor-key{
background-color:#3A4282;/*キーカラー（青)*/
color:#FFF;
}
.bgcolor-bg{
background-color:#3A4282;/*背景色（青）*/
}
.bgcolor-bg-light{
background-color:#F2F9F9;/*背景色（淡い青）*/
}
.bgcolor-wh{
background-color:#fff!important;
}
.display-1{
text-align: center;
font-size: 3.5rem!important;
line-height: 1em;
font-weight: bold;
font-family: 'Ropa Sans', sans-serif;
}
.sub-title{
text-align: center;
font-size: 1.4rem;
margin-bottom: 2rem;
font-weight:bold;
letter-spacing: 0.4rem;
}
.sub-title01{
font-size: 1.4rem;
margin-bottom: 2rem;
font-weight:bold;
letter-spacing: 0.4rem;
}
.subsc{
text-align: center;
font-size: 1.2rem;
margin-bottom: 2rem;
}

a.sq_box{
padding: 1rem 3rem;
color:#FFF;
font-size:1.3rem;
}

hr{
display: block;
width: 100%;
height: 2px;
background-color:#3A4282;/*キーカラー（青）*/
margin:0 0 0.5rem 0!important;
padding:0!important;
border: 0;
}

/* header */
h1{
font-size: 1rem;
}
.low.product .forpc.footer_contact {
}

@media only screen and (min-width:768px) {
.header nav ul li{
padding:0 1.5rem;
font-size:1.6rem!important;
}
}
@media only screen and (max-width:767px) {
.header nav ul li{
padding:0 0.5rem;
font-size:1.6rem!important;
}
}

@media only screen and (min-width:992px) {
.logo_sm{
display: none;
}
}
.featured_grid_right_info h4 {
 font-size: 1em;
}

@media only screen and (max-width:991px) {
header{
position:relative;
}
header .logo_sm{
position:absolute;
display:block;
top:0;
left:1rem;
z-index: 2147483646!important;
}
header .logo_sm img{
position:fixed;
}

header ul.contact{
display:none!important;
}

/*add*/
header .logo {
height:90px;
background-color:#FFF;
}
header .logo h1,
header .logo a img{
display:none!important;
}
ul.cdd_menu{
animation-name:fade-in;
animation-duration:2s;
animation-delay:0;
animation-iteration-count:1;
animation-direction:normal;
animation-fill-mode: forwards;
}
}
@keyframes fade-in{
0% {opacity: 0}
100% {opacity: 1}
}
/*add*/

.header nav a{
color:#000!important;/*文字色*/
}
.borderline{
border:1px solid #857F6E;
padding: 0.5rem;
}
@media all and (max-width: 767px) {
.br-sp { 
display:block; 
}
}
@media all and (min-width: 768px) {
.br-sp { 
display:none; 
}
}


/* footer */
.footer{
color: #FFFFFF;
}
.copyright{
text-align: center;
font-size: 1.2rem;
}

/* 施工実績　works */
.works a.sq_box{
background-color:#3A4282;/*キーカラー（青)*/
}

/* いたくらの家づくり　t-style */
.orderhouse, .hinoki{
background-size: cover;
text-align: center;
color:#FFF;
padding: 3rem 8rem;
}
.t-style h4{
font-size:2.5rem;
font-weight: bold;
margin-bottom:1rem;
}
.t-style p{
}
.t-style a.sq_box{
border:1px solid #FFF;
}
.t-style .orderhouse{
background: url("../images/bg_orderhouse.jpg") no-repeat top center;

}
.t-style .hinoki{
background: url("../images/bg_hinoki.jpg") no-repeat top center;
}

/* menu追記 */
.mean-container .mean-nav ul li a{
font-size: 1.5rem;
}
header .gnav .child,
header .gnav .grandchild{
display: none;
}

/* symplyscroll */
.simply-scroll-container {
  position: relative;
}
.simply-scroll-clip {
  position: relative;
  overflow: hidden;
}
.simply-scroll-list {
  overflow: hidden;
  margin: 0;
  padding: 0;
  height: 280px; /* 崩れる場合にはこちらも設定 */
}
.simply-scroll-list li {
  list-style:none !important;
  float: left;
  width: 400px;
  height: 250px;
  margin: 0;
  padding: 0;
}
.simply-scroll-list li img {
  display: block;
}


/*==============================
	グローバルナビゲーション
==============================*/

@media all and (min-width: 991px) {
.gnav ul li a:link {
	text-decoration: none;
	color: #000000;
	font-weight: bold;
	font-size:  1.6rem;
	display: block;
	padding: 10px 0;
}
.gnav ul li a:hover {
	color: #3A4282;
}
ul.cdd_menu a {
    text-decoration: none;
    background: transparent;
}
ul.cdd_menu a:hover {
    transition: .2s;
    color: #3A4282;
}
ul.cdd_menu {
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 9999;
    text-align: center;
}
ul.cdd_menu > li{
    padding:0 0 0 2.7rem!important;
}

ul.cdd_menu,
li.cdd_menu-dropdown > ul {
    padding: 0;
    list-style: none;
}
ul.cdd_menu > li > ul > li a {
    display: block;
    margin: 0;
    padding: 1rem;
    font-size: 1.4rem!important;
}	

li.cdd_menu-dropdown{
position:relative;
}
li.cdd_menu-dropdown ul{
position:absolute;
width: 200px;/*サイズ指定*/
background: rgba(0,146,166,.7);
visibility: hidden;
opacity: 0;
top:42px!important; /* 1階層目 */
right:0;
}
li.cdd_menu-dropdown ul li{
height:42px;/*サイズ指定*/
}
li.cdd_menu-dropdown:hover > ul{
visibility: visible;
transition: 0.5s ;
opacity: 1;
}

li.cdd_menu-dropdown ul li:hover{
background-color:#3A4282;
visibility: visible;
transition: 0.5s ;
}

li.cdd_menu-dropdown:hover ul li{
border:0;
border-top: 1px solid #FFF;
}

li.cdd_menu-dropdown ul li a{
color:#FFF!important;
font-weight: normal;
}
li.cdd_menu-dropdown ul li a:hover{
opacity: 1 ;
}

li.cdd_menu-dropdown li.cdd_menu-dropdown ul {
top: -1px!important;/* 2階層目 */
left: 201px;
}


/* 下矢印 */
.init-bottom:after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 0 3px 6px;
    border-right: 2px solid #3A4282;
    border-bottom: 2px solid #3A4282;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.init-bottom:hover:after {
    margin: 0 0 2px 6px;
}
li.cdd_menu-dropdown li.cdd_menu-dropdown .init-bottom:after {
    border-right: 2px solid #FFF;
    border-bottom: 2px solid #FFF;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
li.cdd_menu-dropdown li.cdd_menu-dropdown .init-bottom:hover:after {
    margin: 0 0 3px 6px;
}

    p.sub-title {
        width: 100%;
    }



}
/* グローバルナビゲーションここまで */




/*全ページ下部　お問い合わせ　*/
.footer_contact{
text-align: center;
}
.contact_box{
background: #ef860a; /*orange*/
color:#FFF;
padding: 3rem;
width:600px;
margin:0 auto;
}
.contact_box h4{
font-size:2.5rem;
font-weight: bold;
}
.contact_box ul{
}
.contact_box ul li{
margin:0 1rem;
}
.contact_box ul li.tel{
text-align:right;
}
.contact_box ul .telno{
font-size:3.5rem;
font-family: 'Ropa Sans', sans-serif;
line-height: 1em!important;
font-weight: bold;
letter-spacing: 0.2rem;
}
.contact_box ul a{
text-decoration: none;
}
.contact_box ul .telno a{
color:#FFF;
}
.contact_box ul li.tel .time{
font-weight: normal;
font-size:1.3rem;
}
.contact_box ul li.mail{
background-color: #FFF;
color: #ef860a; /*orange*/
padding: 1rem 1.5rem;
position:relative;
width: 200px;
height: 50px;
}
.contact_box ul li.mail i{
display: block;
position: absolute;
top: 10px;
left: 15px;
}
.contact_box ul li.mail a{
font-size:1.6rem;
color: #ef860a; /*orange*/
position: absolute;
top: 12px;
left: 55px;
display: block;
font-weight: bold;
}
.forsp .contact_box{
width:340px;
padding:2.5rem 2rem;
}
.forsp h4{
line-height: 1.2em;
padding-bottom:1rem;
font-size: 1.6rem;
}
.forsp .contact_box ul li{
margin:0 0 1rem 0;
}
.forsp .contact_box ul .telno{
letter-spacing: 0.1rem;
}
.forsp .contact_box ul li.mail a{
position: relative;
}
.forsp .contact_box ul li.mail i{
position: relative;
}
.forsp .mailbtn a{
background-color: #FFF;
color: #ef860a; /*orange*/
padding:1.3rem 3rem;
vertical-align: middle;
font-weight: bold;
}

/* スマホ対応 */
@media only screen and (max-width:767px) {
section.forpc{
display: none!important;
}
}
@media only screen and (min-width:768px) {
section.forsp{
display: none!important;
}
}

/* bxsliderスライダー */
@media only screen and (min-width:768px) {
#slider {
width:100%; height:100%; min-height:650px; overflow:hidden; position:relative;
}
.slide-wrap {
width:3000px; height:650px; position:absolute; left:50%; margin-left:-1500px;
}
}

@media only screen and (max-width:767px) {
#slider {
width:100%; height:100%; min-height:325px; overflow:hidden; position:relative;
}
.slide-wrap {
width:1500px; height:325px; position:absolute; left:50%; margin-left:-750px;
}
}
/* ヘッダーのcontact */
header .contact li{
padding-right:1.5rem;
}
header .contact a{
text-decoration:none;
}
header .contact .tel{
color:#ef860a; /*orange*/
}
header .contact .tel .telno{
font-size:3.5rem;
}
header .contact .tel .time{
font-size:1.3rem;
}
header .contact .tel a{
color:#ef860a; /*orange*/
font-family: 'Ropa Sans', sans-serif;
letter-spacing: 1px;
}
.fa-phone-alt:before {
font-size: 2.5rem;
}
header .contact .mail{
padding:1rem 2rem;
background-color:#ef860a; /*orange*/
color:#FFF;
}
header .contact .mail a{
color:#FFF;
font-weight: bold;
}
/* socialbtn ヘッダーフッター共通 */
.contact .sns{
width:50px;
padding-right:4rem;
}
.contact .facebook a{
color:#1877f2;
}
.contact .youtube a{
color:#ff0000;
}
.contact .instagram a img{
width:30px;
}

/*==============================
	下層
==============================*/
/* 下層共通 */
.low a{
text-decoration: underline;
color:#3A4282;/*キーカラー（青)*/
}
.low .page_title{
background-repeat: no-repeat;
background-position: center center;
background-image: url("../images/IMGP2031.jpg");
background-size: cover;
text-align: center;
padding: 4rem;
color: #FFF;
}
.low .page_title p{
font-size: 4rem!important;
line-height: 1em;
font-weight: bold;
font-family: 'Ropa Sans', sans-serif;
}
.low .page_title h2{
font-size: 1.4rem;
font-weight:bold;
letter-spacing: 0.4rem;
}
.low .sub-title{
background-color: #3A4282;
border-radius: 10px;
padding: 0.5rem 2rem;
font-weight: bold;
font-size:1.8rem;
color:#FFF;
}
.low .sub-title01{
background-color: #3A4282;
border-radius: 10px;
padding: 0.5rem 2rem;
font-weight: bold;
font-size:1.8rem;
color:#FFF;
}
.low table{
border-bottom:1px solid #dee2e6!important;
}
.low table th,
.company table td{
padding: 1.5rem 3rem;
}

.low table th{
background-color: #e3f3f6;
font-weight: bold;
text-align: center;
vertical-align: middle;
}

/* 会社情報　company */
.company .group dl{
margin-left: 2rem;
}
.company .group dl dt{
padding-left: 1rem;
padding: 0.5rem;
font-size:1.7rem!important;
}
.company .group dl dd{
padding: 0.5rem;
padding-left: 1rem;
}
@media only screen and (max-width:767px) {
.table.company-table tr th{
width: 35%!important;
padding: 1.5rem 2rem!important;
}
}
@media only screen and (min-width:768px) {
.table.company-table tr th{
width: 20%!important;
}
}

/* お問い合わせ contact */

.required{
color:#BC3739;
padding-left: 1rem;
}
.form-control {
font-size: 1.4rem!important;
}
.contact input[type="submit"]{
background-color:#0192A6;
color:#FFF;
font-weight:bold;
padding:0.7rem 4rem;
border: 1px solid #FFF;
}
@media only screen and (max-width:767px) {
.contact-table tr th{
width: 35%!important;
}
.featured_grid_right_info,
.featured_grid_right_info {
text-align: center;
margin-top: 0.5em;
}
}


@media only screen and (min-width:768px) {
.contact-table tr th{
width: 25%!important;
}
}

/* 付けたし */
.row-eq-height {
	display: flex;
	flex-wrap: wrap;
}

.allbody {
    margin-left: 10%;
    margin-right: 10%;
}

.garageimg {
	background-color: #FFFFFF;
	margin: 5px;

}


.box_left{
    float: left;
    background-color: #FFFFFF;
    padding-top: 10px;
}

.box_right{
    float: right;
    background-color: #FFFFFF;
    padding-top: 10px;
}


.box17{
    margin:2em 0;
    position: relative;
    padding: 0.5em 1.5em;
    border-top: solid 2px black;
    border-bottom: solid 2px black;
}
.box17:before, .box17:after{
    content: '';
    position: absolute;
    top: -10px;
    width: 2px;
    height: -webkit-calc(100% + 20px);
    height: calc(100% + 20px);
    background-color: black;
}
.box17:before {left: 10px;}
.box17:after {right: 10px;}
.box17 p {
    margin: 0; 
    padding: 0;
}
.box17{
	 display: block;
  margin-left: auto;
  margin-right: auto;
}

.boxcenter{
	 display: block;
  margin-left: auto;
  margin-right: auto;
}


/*--/20191005 --*/
/*--/banner --*/
.header-top {
    padding: 2em 2em;
    position: absolute;
    width: 100%;
    left: 0;
    margin: 0;
}

.main-banner {
    background: url(../images/banner1.jpg) top center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    position: relative;
    min-height: 30em;
}

.bg-overlay {
    background: rgba(6, 33, 56, 0.62);
    min-height: 30em;
}

.banner-info {
    width: 50%;
    padding-top: 15em;
}

.banner-info p {
    color: #fff;
    margin-top: 2em;
}

.banner-info h3 {
    color: #fff;
    display: inline-block;
    font-size: 3em;
    text-transform: capitalize;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.37);
}

.search-w3pvt-form input[type="search"] {
    outline: none;
    padding: 20px 20px;
    color: #333;
    font-size: 14px;
    text-transform: capitalize;
    width: 80%;
    border: none;
    letter-spacing: 2px;
    float: left;
}

.search-w3pvt-form button.btn {
    width: 20%;
    background: #0dd3ff;
    color: #fff;
    border: none;
    font-size: 14px;
    padding: 20px 20px;
    letter-spacing: 2px;
    font-weight: 500;
    float: left;
    cursor: pointer;
    border-radius: 0;
}

.btn.read {
    background: #0dd3ff;
    -moz-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    color: #fff;
    padding: 0.6em 2em;
    text-transform: uppercase;
    font-size: 1em;
    letter-spacing: 2px;
    font-weight: 400;
    -moz-box-shadow: 1px 3px 8px 0 rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 1px 3px 8px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 1px 3px 8px 0 rgba(0, 0, 0, 0.15);
}

.search-img img {
    border-radius: 4px 4px 0px 0px;
    -webkit-border-radius: 4px 4px 0px 0px;
    -moz-border-radius: 4px 4px 0px 0px;
    -o-border-radius: 4px 4px 0px 0px;
    -ms-border-radius: 4px 4px 0px 0px;
}

/*--//banner --*/

/*--//banner --*/

h3.title-textATA,
h3.title-text.two {
    color: #4b4b4d;
    font-size: 2.5em;
    text-transform: capitalize;
    font-weight: 700;
}

h3.title-text.two {
    color: #fff;
}

h4.title-text.two {
    color: #4B4B4B;
    font-size: 2em;
    text-transform: capitalize;
    font-weight: 700;
}

/*--//services --*/
/*********************** Demo - 13 *******************/

.box13 {
    position: relative;
    transition: all .2s ease-out 0s;
    text-align: center;
}

.box13 .box-content,
.box13:after {
    position: absolute;
    left: 20px;
    right: 20px
}

.box13:after {
    content: "";
    display: block;
    background: rgba(0, 0, 0, 0.53);
    top: 20px;
    bottom: 20px;
    opacity: 0;
    transform: rotate3d(-1, 1, 0, 100deg);
    transition: all .4s ease-in-out 0s;
}

.box13:hover:after {
    opacity: .9;
    transform: rotate3d(0, 0, 0, 0deg)
}

.box13 img {
    width: 100%;
    height: auto;
}

.box13 .box-content {
    bottom: 10%;
    opacity: 0;
    z-index: 1;
    -webkit-transform: translate(10%, -30%);
    transform: translate(10%, -30%);
    transition: all .2s ease-out 0s;
}

.box13:hover .box-content {
    opacity: 1;
    transform: translate(0, -50%);
    transition-delay: .2s;
}

.box13 .title {
    display: block;
    font-size: 1.4em;
    color: #fff;
    letter-spacing: 1px;
    padding: 0 2em;
}

.box13 .post {
    display: block;
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: capitalize;
}


.box14 .post {
    display: inline-block
}

@media only screen and (max-width:990px) {
    .box13 {
        margin-bottom: 30px
    }
}

/*-- //services --*/

/*--/Responsive --*/

@media screen and (max-width:1590px) {}

@media screen and (max-width:1366px) {}

@media screen and (max-width:1280px) {

    .main-banner,
    .bg-overlay,
    .newsletter-w3pvt {
        min-height: 26em;
    }

    .search-img img {
        width: 80%;
    }

    section.blog_exclu3l h4 {
        font-size: 1em;
    }

    .banner-info h3,
    .content-news-w3pvt h3 {
        font-size: 2.5em;
    }

    .box13 .title {
        font-size: 1.4em;
        padding: 0 1em;
    }
}

@media screen and (max-width:1080px) {
    .banner-info {
        width: 55%;
        padding-top: 11em;
    }

    section.blog_exclu3l h4 {
        font-size: 0.9em;
    }

    .form-news-w3pvt {
        position: absolute;
        right: 11%;
        bottom: -13%;
        padding: 4em 3em;
        width: 30%;
    }

    .box13 .title {
        font-size: 1.3em;
        padding: 0 1em;
    }

    .about-lay-left h6 {
        font-size: 1em;
    }


    h3.title-text,
    h3.title-text.two {
        font-size: 2.3em;
    }

    .testimonials_grid {
        width: 90%;
    }
}

@media screen and (max-width:992px) {
    .banner-info {
        width: 70%;
        padding-top: 11em;
    }

    .about-imgs-txt {
        margin-top: 3em;
    }

    .blog_exclu3l_left {
        margin-top: 2em;
    }

    .footer-grid_section_w3pvt {
        padding: 3em 0;
    }

    .footer-right {
        border-left: transparent;
        padding-left: 0em;
    }

    .form-news-w3pvt {
        position: absolute;
        right: 11%;
        bottom: -13%;
        padding: 3em 2em;
        width: 30%;
    }

    a.navbar-brand {
        font-size: 0.9em;
    }

    .main-banner.second,
    .bg-overlay.second {
        min-height: 16em;
    }

    .inner-page-info {
        padding-top: 10em;
    }

}

@media screen and (max-width:800px) {
    .form-news-w3pvt {
        position: absolute;
        right: 11%;
        bottom: -13%;
        padding: 3em 2em;
        width: 36%;
    }
}

@media screen and (max-width:768px) {}

@media screen and (max-width:767px) {
    .testi_grid.text-md-center {
        margin-bottom: 2em;
    }

    .footer-grid_section_w3pvt {
        padding: 1.5em 2em;
    }
}

@media screen and (max-width:667px) {

    h3.title-text,
    h3.title-text.two {
        font-size: 2.2em;
    }

    .banner-info {
        width: 89%;
        padding-top: 10em;
    }

    .form-news-w3pvt {
        position: static;
        right: 7%;
        bottom: -13%;
        padding: 3em 2em;
        width: 60%;
    }

    .content-news-w3pvt {
        padding: 4em 0;
        width: 100%;
        text-align: left;
    }

    .blog_exclu3l-2 {
        margin-top: 1em;
    }

    .header-top {
        padding: 2em 1em;
    }
}

@media screen and (max-width:640px) {
    .form-news-w3pvt {
        width: 65%;
    }
}

@media screen and (max-width:600px) {

    h3.title-text,
    h3.title-text.two {
        font-size: 1.3em;
    }

    .box13 {
        margin-bottom: 30px;
        width: 60%;
        margin: 0 auto;
    }

}

@media screen and (max-width:568px) {
    .about-lay-left {
        margin: 1em 0;
    }

    .map-w3pvt iframe {
        min-height: 14em;
    }

    .w3pvt-contact-fm {
        padding: 2em 2em;
    }

    h2.logo-2 a {
        font-size: 0.9em;
    }
}

@media screen and (max-width:480px) {
    .search-img img {
        width: 100%;
    }

    .banner-info h3,
    .content-news-w3pvt h3 {
        font-size: 2.2em;
    }

    .btn.read {
        padding: 0.5em 1.5em;
        font-size: 0.9em;
        letter-spacing: 1px;
    }

    .box13 .title {
        font-size: 1em;
        padding: 0 1em;
    }
}


@media screen and (max-width:568px) {
    .about-lay-left {
        margin: 1em 0;
    }

    .map-w3pvt iframe {
        min-height: 14em;
    }

    .w3pvt-contact-fm {
        padding: 2em 2em;
    }

    h2.logo-2 a {
        font-size: 0.9em;
    }

    .box13 .title {
        font-size: 1em;
        padding: 0 1em;
    }
}

@media screen and (max-width:480px) {
    .search-img img {
        width: 100%;
    }

    .banner-info h3,
    .content-news-w3pvt h3 {
        font-size: 2.2em;
    }

    .btn.read {
        padding: 0.5em 1.5em;
        font-size: 0.9em;
        letter-spacing: 1px;
    }
}

@media screen and (max-width:420px) {

    h3.title-text,
    h3.title-text.two {
        font-size: 1.2em;
    }

    .form-news-w3pvt {
        width: 85%;
    }

    .banner-info {
        width: 100%;
        padding-top: 9em;
    }

    p {
        font-size: 0.9em;
    }

    .banner-info p {
        margin-top: 1em;
    }

    .search-w3pvt-form {
        padding: 0;
    }

    .search-inn {
        display: flex;
    }

    .inner-page-info {
        padding-top: 9em;
    }

    .main-banner.second,
    .bg-overlay.second {
        min-height: 13em;
    }
}

@media screen and (max-width:384px) {

    .banner-info h3,
    .content-news-w3pvt h3 {
        font-size: 2em;
    }

    a.navbar-brand {
        font-size: 0.8em;
    }

    h3.title-text,
    h3.title-text.two {
        font-size: 1.2em;
    }
}

@media screen and (max-width:375px) {

    .banner-info h3,
    .content-news-w3pvt h3 {
        font-size: 1.6em;
    }
}

@media screen and (max-width:320px) {

    h3.title-text,
    h3.title-text.two {
        font-size: 1.2em;
    }
}
/*--//Responsive --*/

/* ATA */
.bg-services {
    background: url("../factory/images/ATAIMG.jpg") no-repeat center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -ms-background-size: cover;
}

.serve-overlay {
    background: rgba(154,179,200,0.56);
}

h4.home-title {
    text-transform: capitalize;
    font-size: 1.2em;
    margin-bottom: 0.5em;
    color: #fff;
}

h3.home-title {
    text-transform: capitalize;
    font-size: 1.2em;
    margin-bottom: 0.5em;
}

p.sec-4 {
    color: #ccc;
}

.about-lay-left h6 {
    font-size: 1.2em;
    color: #484e4e;
    text-transform: capitalize;
}

.about-span-txt span {
    font-size: 1.4em;
    color: #fff;
    line-height: 66px;
}

.about-span-txt {
    background: #0dd3ff;
    border-radius: 0.25rem;
    -webkit-border-radius: 0.25rem;
    -o-border-radius: 0.25rem;
    -moz-border-radius: 0.25rem;
    width: 50px;
    height: 50px;
}

.about-span-txt01 span {
    font-size: 1.4em;
    color: #fff;
    line-height: 66px;
}

.about-span-txt01 {
    background: #0dd3;
    border-radius: 0.25rem;
    -webkit-border-radius: 0.25rem;
    -o-border-radius: 0.25rem;
    -moz-border-radius: 0.25rem;
    width: 50px;
    height: 50px;
}
/* services */

/* ATAgallery */
.gal-img img {
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
    transition: 0.5s all;
    padding: 10px;
}

.gal-img:hover.gal-img img {
    -webkit-box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .3);
    -moz-box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .3);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .3);
}



/* Equipment 水回り*/
h4.Eqtext-title {
    color: #000000;
    text-transform: capitalize;
    font-size: 2.3em;
    font-weight: 600;
    text-shadow: 1px 1px 1px #969696;
}

.Eqsub-title {
    color: #333;
    font-weight: 600;
    text-transform: capitalize;
    width: 80%;
    margin: 1em auto 0;
}

.img-grid {
    margin-bottom: 1.2em;
}

.port-desc {
    padding: 1.5em 1em;
    background: #eee;
}

/*--history-- */
.timeline {
list-style: none;
position: relative;
}
.timeline:before {
top: 0;
bottom: 0;
position: absolute;
content: " ";
width: 3px;
background-color: #eeeeee;
left: 50%;
margin-left: -1.5px;
}
.timeline > li {
margin-bottom: 20px;
position: relative;
}
.timeline > li:before,
.timeline > li:after {
content: " ";
display: table;
}
.timeline > li:after {
clear: both;
}
.timeline > li:before,
.timeline > li:after {
content: " ";
display: table;
}
.timeline > li:after {
clear: both;
}
.timeline > li > .timeline-panel {
width: 46%;
float: left;
border: 1px solid #d4d4d4;
border-radius: 2px;
padding: 20px;
position: relative;
-webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}
.timeline > li > .timeline-panel:before {
position: absolute;
top: 26px;
right: -15px;
display: inline-block;
border-top: 15px solid transparent;
border-left: 15px solid #ccc;
border-right: 0 solid #ccc;
border-bottom: 15px solid transparent;
content: " ";
}
.timeline > li > .timeline-panel:after {
position: absolute;
top: 27px;
right: -14px;
display: inline-block;
border-top: 14px solid transparent;
border-left: 14px solid #fff;
border-right: 0 solid #fff;
border-bottom: 14px solid transparent;
content: " ";
}
.timeline > li > .timeline-badge {
color: #4c4cdc;
width: 50px;
height: 50px;
line-height: 45px;
font-size: 1.4em;
text-align: center;
position: absolute;
top: 16px;
border: 2px solid #4c4cdc;
left: 50%;
margin-left: -25px;
background-color: #ffffff;
z-index: 100;
border-top-right-radius: 50%;
border-top-left-radius: 50%;
border-bottom-right-radius: 50%;
border-bottom-left-radius: 50%;
}
.timeline > li.timeline-inverted > .timeline-panel {
float: right;
}
.timeline > li.timeline-inverted > .timeline-panel:before {
border-left-width: 0;
border-right-width: 15px;
left: -15px;
right: auto;
}
.timeline > li.timeline-inverted > .timeline-panel:after {
border-left-width: 0;
border-right-width: 14px;
left: -14px;
right: auto;
}
.timeline-title {
margin-top: 0;
color: inherit;
}
.timeline-body > p,
.timeline-body > ul {
margin-bottom: 0;
}
.timeline-body > p + p {
margin-top: 5px;
}
.timeline-badge span {
font-size: 19px;
color:#4526C4;
}

.title {
font-size:45px;
color: #000;
letter-spacing: 3px;
font-weight: 600;
text-transform:capitalize;
}

/*-- structure hinoki 檜のこだわり　2019/10/12--*/
.bg-hinoki {
    background: url("../customhome/structure/hinoki/images/hinokibayashi.jpg") no-repeat center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -ms-background-size: cover;
}

/*-- 中間で使われるタイトル --*/
h3.middletitle,h2.middletitle {
font-size: 30px;
color: #222;
letter-spacing: 2px;
text-transform: capitalize;
}

h3.middletitle:after,h2.middletitle:after {
background: #333;
width: 10%;
height: 2px;
bottom: 0%;
left: 45%;
}

/*-- ATAgallery --*/
.gal-img {
    margin-bottom: 1em;
    padding-right: 0px;
}

/*-- popup --*/
.pop-overlay {
    position: fixed;
    top: 0px;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 0ms;
    visibility: hidden;
    opacity: 0;
    z-index: 99;
}

.pop-overlay:target {
    visibility: visible;
    opacity: 1;
}

.popup {
    background: #fff;
    border-radius: 5px;
    max-width: 480px;
    position: relative;
    margin: 8em auto;
    padding: 3em 1em;
}

.popup p {
    font-size: 15px;
    color: #666;
    letter-spacing: .5px;
    line-height: 30px;
}

.popup h2 {
    margin-top: 0;
    color: #fff;

}

.popup .close {
    position: absolute;
    top: 5px;
    right: 15px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #000;
}

.popup .close:hover {
    color: #333;
}
/*-- //popup --*/
/*-- //gallery --*/


/*--/timeline--*/
/* Media Queries */
/* Card sizing */
/* Colors */
/* Calculations */
/* Placeholders */
@media (min-width: 1000px) {

    #timeline .demo-card:nth-child(odd) .head::after,
    #timeline .demo-card:nth-child(even) .head::after {
        position: absolute;
        content: "";
        width: 0;
        height: 0;
        border-top: 15px solid transparent;
        border-bottom: 15px solid transparent;
    }

    #timeline .demo-card:nth-child(odd) .head::before,
    #timeline .demo-card:nth-child(even) .head::before {
        position: absolute;
        content: "";
        width: 9px;
        height: 9px;
        background-color: #bdbdbd;
        border-radius: 9px;
        box-shadow: 0px 0px 2px 8px #f7f7f7;
    }
}

/* Some Cool Stuff */
.demo-card:nth-child(1) {
    order: 1;
}

.demo-card:nth-child(2) {
    order: 4;
}

.demo-card:nth-child(3) {
    order: 2;
}

.demo-card:nth-child(4) {
    order: 5;
}

.demo-card:nth-child(5) {
    order: 3;
}

.demo-card:nth-child(6) {
    order: 6;
}

/* Border Box */
* {
    box-sizing: border-box;
}


#timeline {
    /* Fonts * padding: 100px 0;
    background: #f7f7f7;
    border-top: 1px solid rgba(191, 191, 191, 0.4);
    border-bottom: 1px solid rgba(191, 191, 191, 0.4);
    /* Fonts */
}

#timeline h1 {
    text-align: center;
    font-size: 3rem;
    font-weight: 200;
    margin-bottom: 20px;
}

#timeline p.leader {
    text-align: center;
    max-width: 90%;
    margin: auto;
    margin-bottom: 45px;
}

#timeline .demo-card-wrapper {
    position: relative;
    margin: auto;
}

@media (min-width: 1000px) {
    #timeline .demo-card-wrapper {
        display: flex;
        flex-flow: column wrap;
        width: 1170px;
        height: 1650px;
        margin: 0 auto;
    }
}

#timeline .demo-card-wrapper::after {
    z-index: 1;
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    border-left: 1px solid rgba(191, 191, 191, 0.4);
}

@media (min-width: 1000px) {
    #timeline .demo-card-wrapper::after {
        border-left: 1px solid #bdbdbd;
    }
}

#timeline .demo-card {
    position: relative;
    display: block;
    margin: 10px auto 80px;
    max-width: 94%;
    z-index: 2;
}

@media (min-width: 480px) {
    #timeline .demo-card {
        max-width: 60%;
        box-shadow: 0px 1px 22px 4px rgba(0, 0, 0, 0.07);
    }
}

@media (min-width: 720px) {
    #timeline .demo-card {
        max-width: 40%;
    }
}

@media (min-width: 1000px) {
    #timeline .demo-card {
        max-width: 450px;
        height: 400px;
        margin: 90px;
        margin-top: 45px;
        margin-bottom: 45px;
    }

    #timeline .demo-card:nth-child(odd) {
        margin-right: 45px;
    }

    #timeline .demo-card:nth-child(odd) .head::after {
        border-left-width: 15px;
        border-left-style: solid;
        left: 100%;
    }

    #timeline .demo-card:nth-child(odd) .head::before {
        left: 491.5px;
    }

    #timeline .demo-card:nth-child(even) {
        margin-left: 45px;
    }

    #timeline .demo-card:nth-child(even) .head::after {
        border-right-width: 15px;
        border-right-style: solid;
        right: 100%;
    }

    #timeline .demo-card:nth-child(even) .head::before {
        right: 489.5px;
    }

    #timeline .demo-card:nth-child(2) {
        margin-top: 180px;
    }
}

#timeline .demo-card .head {
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    font-weight: 400;
}

#timeline .demo-card .head .number-box {
    display: inline;
    float: left;
    margin: 15px;
    padding: 10px;
    font-size: 35px;
    line-height: 35px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.17);
}

#timeline .demo-card .head h3 {
    text-transform: uppercase;
    font-size: 1.3rem;
    font-weight: inherit;
    letter-spacing: 2px;
    margin: 0;
    padding-bottom: 6px;
    line-height: 1rem;
    color: #ddd;
}

@media (min-width: 480px) {
    #timeline .demo-card .head h3 {
        line-height: 1.2rem;
    }
}

#timeline .demo-card .head h3 span {
    display: block;
    font-size: 0.6rem;
    margin: 0;
}

@media (min-width: 480px) {
    #timeline .demo-card .head h3 span {
        font-size: 0.8rem;
    }
}

#timeline .demo-card .body {
    background: #fff;
    border: 1px solid rgba(191, 191, 191, 0.4);
    border-top: 0;
    padding: 15px;
}

@media (min-width: 1000px) {
    #timeline .demo-card .body {}
}

#timeline .demo-card .body p {
    font-size: 14px;
    line-height: 1.5em;
    margin-bottom: 15px;
}

#timeline .demo-card .body img {
    display: block;
    width: 100%;
}

#timeline .demo-card--step1 {
    background-color: #3c3d3e;
}

#timeline .demo-card--step1 .head::after {
    border-color: #3c3d3e;
}

#timeline .demo-card--step2 {
    background-color: #3c3d3e;
}

#timeline .demo-card--step2 .head::after {
    border-color: #3c3d3e;
}

#timeline .demo-card--step3 {
    background-color: #3c3d3e;
}

#timeline .demo-card--step3 .head::after {
    border-color: #3c3d3e;
}

#timeline .demo-card--step4 {
    background-color: #3c3d3e;
}

#timeline .demo-card--step4 .head::after {
    border-color: #3c3d3e;
}

#timeline .demo-card--step5 {
    background-color: #3c3d3e;
}

#timeline .demo-card--step5 .head::after {
    border-color: #3c3d3e;
}

#timeline .demo-card--step6 {
    background-color: #3c3d3e;
}

#timeline .demo-card--step6 .head::after {
    border-color: #3c3d3e;
}
/* typography */


/* costomhome/facility/Exterior */
section.abou {
    background: url("../customhome/facility/images/Exterior/IMG_000012.jpg") no-repeat;
    background-size: cover;
}
/* costomhome/facility/Exterior */

.modal-middle { /*モーダルウィンドウの縦表示位置を調整*/
 margin: 5% auto;
}
 
.modal-img_footer { /*表示予定のテキストとボタンを中央揃え*/
 padding: .5em;
 text-align: center;
}

/* event */
.event {
    background: url("../event/images/IMGP3154.jpg") no-repeat top;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -ms-background-size: cover;
}

.over-lay-blue {
    background: rgba(10, 10, 10, 0.67);
}

.event-grid-inf h4,
.event-grid-inf span,
.event-grid-inf .link-hny,
.event-innfo p.sub-tittle {
    color: #fff;
}

.event-grid-inf p {
    color: #d5d7d8;
}

.event-grid-inf span {
    line-height: 40px;
}
.icon_left_grid {
    text-align: center;
}
.icon_left_grid span {
    font-size: 2em;
    margin-top: 0.1em;
}


/* //event */

/* Font Awesome hatena bookmark */
.fa-hatena:before {
    content: "？";
    font-family: Verdana;
    font-weight: bold
}