/*
Theme Name: MODC
Theme URI: https://modc-architect.jp/
Author: MODC
Author URI: https://modc-architect.jp/
*/


@charset "UTF-8";


html{
	background-color: #fff;
	margin: 0;
}

body{
	margin: 0;
	font-family: "Arial", "Noto Sans Japanese" ,"メイリオ", sans-serif;
	box-sizing: border-box;
	padding: 0;
	font-size: 0.8rem;
	letter-spacing: 1px;
	line-height: 1.4rem;
}


.font-en{
	font-family: Optima;
}

h1, h2, h3,h4, ul, p{
	padding: 0;
	margin: 0;
}
p{
	font-size: 0.8rem;
	letter-spacing: 1px;
	line-height: 1.4rem;
}
li{
	list-style: none;
}
.container{
	width: 1000px;
	margin: 0 auto;
}
.clear{
    clear: both;
}
.clearfix:after {
    visibility: hidden;
    display: block;
    content: " ";
    clear: both;
    height: 0;
    }
* html .clearfix             { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */

div{
    box-sizing: border-box;
}
.small{
    font-size: 0.7;
}

a,.top-main-content a, .top-main-content a:visited {
    color: #fff;
    text-decoration: none;
}
a{
    color: rgb(106,110,135);
}
.top-main-content a:hover{
    color: rgb(44, 77, 138);
    transition: 0.3s;
}
.sp-content{
    display: none;
}
@media screen and (max-width: 1000px) {
	.container{
		width: 100%;
	} 
}

@media screen and (max-width: 770px) {
    body{
        font-size: 0.9rem;
    }
	.container{
		width: 94%;
		margin: 0 auto;
	}
	.sp-content{
    display: block;
	}
	.pc-content{
    display: none;
	}
}


/* ヘッダー */
header{
	margin-top: 0;
	height: 40px;
	z-index: 3;
	top: 0;
	vertical-align: top;
	display: block;
	width: 100%;
    right: 0;
    top: 0;
    z-index: 200;
    position: fixed;
    background-color: #fff;
}
header a{
	text-decoration: none;
	color: rgb(106,110,135);;
}
header a:hover{
    transition: 0.3s;
    opacity: 0.8;
    color: rgb(44, 77, 138);
}
header h1{
	margin: 0;
}
.logo img{
    margin-top: 8px;
	height: 30px;
	float: left;
}
.global-nav{
	float: right;
}
.global-nav-ul{
    display: inline-block;
    margin-left: 30px;
}
.nav-item{
	display: inline-block;
	margin-top: 5px;
	margin-left: 30px;
	font-weight: 300;
    letter-spacing: 2px;
    font-family: Optima, Arial;
    font-size: 1.0rem;
}
.nav-item-lang{
	display: inline-block;
	margin-top: 10px;
	margin-left: 0px;
	font-weight: 500;
    font-size: 1.0rem;
    letter-spacing: 2px;
    font-family: Optima, Arial;
}
.nav-item-lang-ja a, .nav-item-lang-en a{
    color: #aaa;
}


.site-header{
    background: #fff;
    display: flex;
    padding: 20px;
    position: fixed;
    justify-content: space-between;
    width: 100%;
}


@media screen and (max-width: 770px) {
    .site-header{
        background:#fff;
        padding: 10px;
        position: fixed;
        width: 100%;
    }
	header{
		position: static;
		height: 30px;
		z-index: 100;
	}
    
	.logo img{
	height: 25px;
	margin-top: 6px;
	margin-left: 16px;
}
	.global-nav{
		display: none;
	}

	}

/* メインビジュアル */

@media screen and (max-width: 770px) {
.header-contents{
    margin-top: 30px;
}
}


.top-main-contents{
    width: 100%;
    height: auto;
    padding: 150px 0;
    color: #333;
    background-color: #fff;
    text-align: left;
    overflow: hidden; 
    position: relative; 
    zoom:1; 

}


.top-main-content{
    width: 100%;
    margin-bottom: 20px;
}
.top-main-content-heading{
    font-family: optima;
    letter-spacing: 2px;
    margin-bottom: 80px;
    font-size: 2.0rem;
    color: rgb(106,110,135);
}

.top-main-content-text{
    line-height: 2.4rem;
}

@media screen and (max-width: 770px) {
    .top-main-contents{
        padding: 80px 0;
    }
    .top-main-content-heading{
        letter-spacing: 2px;
        margin-bottom: 50px;
        font-size: 1.5rem;
        margin-bottom: 40px;
        padding-left: 10px;
    }
    
    .top-main-content-text{
        line-height: 2.0rem;
    }
}

footer{
    background-color: #fff;
    color: #777;
}
.copyright{
	padding: 5px 0;
	font-size: 0.6rem;
    text-align: right;
	letter-spacing: 2px;
}


@media screen and (max-width: 770px) {
    .copyright{
	padding: 8px 0;
	letter-spacing: 1px;
    text-align: center;
}
}



/* トップページ ABOUT*/

.top-main-content-heading-left{
    display: inline-block;
    font-family: optima;
    width: 30%;
}
.top-main-content-text-right{
    display: inline-block;
    margin-top: -15px;
    width: 70%;
    float: right;
}

@media screen and (max-width: 770px) {
    .top-main-content-heading-left, .top-main-content-heading-about{
        display: block;
        width: 100%;
    }
    .top-main-content-text-right{
        display: block;
        margin-top: -15px;
        width: 100%;
        float: none;
        padding: 0 12px;
    }
    .top-main-content-text-about{
        display: block;
        margin-top: 0px;
        width: 70%;
        float: left;
    }
}

/* トップページ 背景*/
/*
.bg-section{
    vertical-align: top;
	height: 60vh;
	background-position: top;
	background-repeat: no-repeat;
    -moz-background-size: auto 100%;
    background-size: cover;
    background-attachment: fixed;
    background-image: url(https://modc-architect.jp/wp-content/themes/modc/images/bg_1.jpg);
}


.bg-section2{
    vertical-align: top;
	height: 60vh;
	background-position: top;
	background-repeat: no-repeat;
    -moz-background-size: 100% auto;
    background-size: cover;
    background-attachment: fixed;
    background-image: url(https://modc-architect.jp/wp-content/themes/modc/images/bg_2.jpg);
}
*/

@media screen and (max-width: 770px) {
    .bg-section{
        height: 25vh;
        background-attachment: scroll;
    }
    .bg-section2{
        height: 25vh;
        background-attachment: scroll;
    }
} 


/* トップページ PROFILE*/

.profile-section{
    padding: 40px 0px 40px 0;
}
.top-main-content-heading2{
    display: inline-block;
    font-family: optima;
    letter-spacing: 2px;
    margin-bottom: 0px;
    font-size: 0.9rem;
    line-height: 2.4rem;
    width: 30%;
    padding-left: 10px;
    color: rgb(106,110,135);
}

.top-main-content-text-profile{
    display: inline-block;
    margin-top: 0px;
    width: 70%;
    float: right;
}

.cp-item{
    padding: 0px 0px 20px 0;
    margin: 0 auto;
    border-top: 1px solid #999;
    border-top: none;
    text-align: left;
    letter-spacing: 2px;
    color: #333;
}
.cp-item-last{
    margin-bottom: 15px;
}
.cp-item-title{
    display: inline-block;
    width: 20%;
    vertical-align: top;
}
.cp-item-text{
    display: inline-block;
    width: 79%;
}
.cp-item-text-a{
    color: #333;
}
.cp-item-text-sub{
    font-size: 0.7rem;
    line-height: 1.4rem
}
.company-profile img{
    width: 190px;
}
.profile-img{
    width: 30%;
    display: inline-block;
}
.profile-text{
    width: 69%;
    display: inline-block;
    float: right;
}
@media screen and (max-width: 770px) {
    .profile-section{
        padding: 20px 0px 20px 0;
    }
    .top-main-content-heading2{
        display: block;
        margin-bottom: 0px;
        width:  100%;
        padding-left: 10px;
    }
    .top-main-content-text-profile{
        display: block;
        margin-top: 0px;
        width: 100%;
        float: none;
    }
    .cp-item{
        width: 100%;
        padding: 10px 10px;
        margin: 0 auto;
        letter-spacing: 1px;
    }
    .cp-item-title{
        display: block;
        width: 100%;
        font-weight: 600;
    }
    .cp-item-text{
        display: block;
        width: 100%;
        line-height: 1.6rem;
    }
    .cp-item-last{
        margin-bottom: 25px;
    }
    .company-profile ul,.company-profile img, .company-profile profile-text{
        padding: 10px;
    }
}
@media screen and (max-width: 480px) {
.profile-img{
    width: 200px;
    display: block;
    padding-top: 10px;
}
.profile-text{
    width: 100%;
    display: block;
    float: none;
}
}

/* トップページ SERVICE*/
#service{
    background: rgba(255, 255, 255, 0.5);
}


.company-profile{
    margin-bottom: 0px;
}
.company-profile-left{
    display: inline-block;
    width: 28%;
}
.company-profile-right{
    display: inline-block;
    width: 72%;
    float: right;
    padding: 5px 0;
}
.company-profile-left-heading{
    color: #fff;
    padding: 5px;
    background-color: rgb(44, 77, 138);
    font-size: 0.8rem;
    width: 80%;
    text-align: center;
}

.profile-text li a, .profile-text li a:visited{
    color: rgb(44, 77, 138);
    text-decoration: underline;
}
.profile-text li a:hover{
    opacity: 0.75;
    transition: 0.3s;
}

@media screen and (max-width: 770px) {
    .company-profile-left-heading{
    padding: 2px;
    font-size: 0.6rem;
    font-weight: 600;
}
.company-profile-right{
    width: 72%;
    padding: 2px 0;
    font-size: 0.7rem;
}
.service-en{
    margin-bottom: 15px;
    line-height: 1.6rem;
}
.service-en-last{
    margin-bottom: 0px;
}
.profile-text li{
    line-height: 1.6rem;
    margin-bottom: 10px;
}
}






/*トップ contact*/

.contact-item{
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
    height: 30px;
    text-align: left;
}
span.wpcf7-form-control-wrap{
    width: 100%;
}


.screen-reader-response{
    display: none;
}

@media screen and (max-width: 770px) {
    .contact-form{
        width: 100%;
    }
    .contact-form-item{
        height: auto;
        margin-bottom: 10px;
    }
    .contact-title{
        width: 100%;
        display: block;
        box-sizing: border-box;
    }
    .text-form,.text-area{
        width: 100%;
        display: block;
    }
}

.blue{
 color: rgb(44, 77, 138);
}



    /* LOADING ANIMATION */
#loading {
    width: 100vw;
    height: 100vh;
    transition: all 0.5s;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
  }
  .spinner {
    width: 100px;
    height: 100px;
    margin: 300px auto;
    background-color:rgb(44, 77, 138);
    border-radius: 100%;
    animation: sk-scaleout 3.0s infinite ease-in-out;
  }

  @keyframes sk-scaleout {
    0% {
      transform: scale(0);
    } 100% {
      transform: scale(1.0);
      opacity: 0;
    }
  }
  .loaded {
    opacity: 0;
    visibility: hidden;
  }



 /* SP MENU */
 .spmenu{
     display: none;;
 }
 @media screen and (max-width: 770px) {
    .spmenu{
        display: block;
    }
 nav.globalMenuSp {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    background: #fff;
    color:  rgb(44, 77, 138);
    text-align: center;

    width: 100%;
}
 
nav.globalMenuSp ul {
    background: #fff;
    margin: 0 auto;
    padding: 90px 0 0 0;
    width: 100%;
    height: 100vh;
}
 
nav.globalMenuSp ul li {
    font-size: 1.2rem;
    line-height: 2.4rem;
    list-style-type: none;
    padding: 0;
    width: 100%;
    font-family: optima;
    letter-spacing: 2px;
}


nav.globalMenuSp ul li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}
 
nav.globalMenuSp ul li{
    display: block;
    color: rgb(44, 77, 138);
    padding: 1em 0;
}
 
nav.globalMenuSp{
    display: none;
}
nav.globalMenuSp.active{
    display: block;
}


.navToggle {
    display: block;
    position: fixed;
    right: 8px;
    top: 6px;
    width: 42px;
    height: 42px;
    z-index: 200;
    background: #fff;
    text-align: center;
}
 
.navToggle span {
    display: block;
    position: absolute; 
    width: 30px;
    border-bottom: solid 1px rgb(44, 77, 138);
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
    left: 6px;
}
 
.navToggle span:nth-child(1) {
    top: 9px;
}
 
.navToggle span:nth-child(2) {
    top: 18px;
}
 
.navToggle span:nth-child(3) {
    top: 27px;
}
 
.navToggle span:nth-child(4) {
    border: none;
    color: #eee;
    font-size: 9px;
    font-weight: bold;
    top: 34px;
}

.navToggle.active span:nth-child(1) {
    top: 18px;
    left: 6px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
 
.navToggle.active span:nth-child(2),
.navToggle.active span:nth-child(3) {
    top: 18px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}
 }

