
@charset "utf-8";
#area0 {
	position: relative;
}
#area1, #area2, #area3, #area4, #area5 {
    position:relative;
	margin-top: 15%;
}

/*--------------------全体のコンテンツ----------------*/
.contents {
	clear: both;
    overflow: hidden;
	padding-top: 0px;
	margin:0 auto;
    width:100%;
}

/*---------------------画面トップ------------------------------*/
.img-frame{
    position: relative;
    width: 90%;
    height: 32vh;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 25px;
 }
 .img-frame::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, .5);
 }
 .buil01{
    position: absolute;
    top:0;
    right:0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
 }
 .buil01{
    background-image: url('../images/honsya.JPG');
	'clip-path: polygon(0% 100%, 17.5% 0%, 100% 0%, 100% 100%);
 }

 @media screen and (max-width: 767px){
    .img-frame{
       width: 100%;
       height: 250px;
    }
}


/*========= テキストを滑らかに出現させるためのCSS ===============*/
.company {
	position: absolute;
	bottom:-10%;
	left:10%;
    font-size: 5vw;
	font-family: BIZ UDゴシック;
	padding: .5% 2%;
	background-color: #79a6c4;
}
.company2 {
	position: absolute;
	bottom:-22%;
	left:10%;
    font-size: 1.5vw;
	font-family: BIZ UDゴシック;
	background-color: #79a6c4;
	padding: .5% 2%;
}

@media screen and (max-width: 767px){
    .company {
        font-size: 3rem;
        left:0;
        padding: 0 5%;
    }
	.company2 {
        font-size: 1rem;
        bottom:-25%;
        left:0;
        padding: 1% 5%;
    }
}

/*========= テキストを滑らかに出現させるためのCSS ===============*/
span.smoothText {
  overflow: hidden;
  display: block;
}

/* アニメーションで傾斜がついている文字列を水平に戻す*/
span.smoothTextTrigger{
  transition: .8s ease-in-out;
  transform: translate3d(0,100%,0) skewY(40deg);
  transform-origin: left;
  display: block;
}
span.smoothTextTrigger.smoothTextAppear{
    transform: translate3d(0,0,0) skewY(0);
}


/* ------------------代表メッセージ------------- */
.greet {
	position: relative;
	width:65%;
    margin:15% auto 0;
}

.greet h1{
    font-family:HGSｺﾞｼｯｸM;
    font-weight:bold;
    font-size:2vw;
    text-align:center;
}

.greet_message{
	margin:5% 0;
    font-size:1.3vw;
}
.name {
    text-align:right;
    font-size:1.5vw;
}

@media screen and (max-width:800px) {
    .greet_message {
		width:100%;
        font-size:1.5vw;
    }
	.greet_text {
		width:85%;
		margin:auto;
	}
	.greet_text .name {
		width:100%;
    	text-align:right;
    	font-size:1.8vw;
	}
}


/* -----------------経営理念   ---------------------- */
.rinen_box {
    width:100%;
}
.rinen_text {
    vertical-align: top;
    display:inline-block;
	margin-left: 10%;
}
.rinen_text .rinen_title{
    font-size:1.8vw;
    font-weight:600;
    font-family:HGSｺﾞｼｯｸM;
    color:#000;
    margin-left:10%;
    padding:10px 0;
}
.rinen_img {
	display: inline-block;
    float: right;
    width:40%;
}
.rinen_img img {
    border-radius: 15px;
}

@media screen and (max-width: 800px) {
	.rinen_text {
    	width:30%;
	}
	.rinen_text .rinen_title{
		font-size:1.2em;
	}
	.rinen_img {
		width:50%;
	}
}




/* ------------------会社概要------------- */
.profile_wrapper {
	position: relative;
	width: 90%;
	margin: auto;
}
.picture {
	position: relative;
	width: 100%; 
}
.picture img {
	width: 60%;
	float: right;
}
.profile_box {
	position: absolute; 
	top: 10%;
	transform: translateY(-10%); 
	left: 0;
	width: 50%;
	color: #000;
	padding: 10px 30px 100px;
	box-shadow: 5px 5px 5px #333;
	background-color:rgba(255, 255, 255, 0.4);
	backdrop-filter: blur(10px);
}

/* -------------ユーメックの強み----------- */
.flex-item{
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: 5% auto 0;
    padding: 10px 20px;
    box-shadow: 5px 5px 10px #ddd;
    border-radius: 15px;
}
// 最後の要素以外に余白を追加
.flex-item:not(:last-child){
    margin-bottom: 50px;
}
// 反対バージョンを作る場合はoddをevenに変更する
.flex-item:nth-child(odd){
    flex-direction: row-reverse;
}

// テキスト
.flex-item__txt{
    width: 58%;
}
.flex_title {
    text-align: center;
    color: red;
}
.flex-item__txt p{
    font-size: 1.3vw;
}
// レスポンシブ
@media screen and (max-width: 767px) {
    .flex-item{
        flex-direction: column;
        align-items: center;
    }
    .flex-item:nth-child(odd) {
        flex-direction: column;
    }
    .flex-item__img {
        width: 100%;
        height: 250px;
        padding-bottom: 30px;
    }
    .flex-item__txt {
        width: 100%;
    }
}

.flex-item{
    display: flex;
    justify-content: space-between;
}
// 最後の要素以外に余白を追加
.flex-item:not(:last-child){
    margin-bottom: 50px;
}
.flex-item__img {
    width: 38%;
    align-items: center;
    padding-right: 10px;
}
.flex-item__img img{
    width:  100%;
    height: 200px;
    object-fit: cover;
}
.flex_title {
    font-size: 1.8vw;
}
.flex-item__txt{
    width: 58%;
}
.flex-item__txt h2 {
    font-size: 18px;
    padding: 10px 0;
}
.flex-item__txt p{
    line-height: 1.5;
}
.flex-item:nth-child(odd){
    flex-direction: row-reverse;
}
@media screen and (max-width: 767px) {
    .flex-item{
        flex-direction: column;
        align-items: center;
    }
    .flex-item:nth-child(odd) {
        flex-direction: column;
    }
    .flex-item__img {
        width: 100%;
        height: 250px;
        padding-bottom: 30px;
    }
    .flex-item__txt {
        width: 100%;
    }
}

.strength{
    position:relative;
    margin:0 auto;
    width:90%;
    color:#000;
}

.strength .st01{
	position:relative;
    width:70%;
	margin:5% auto 0;
}

.st_title {
    position: relative;
    padding: 0 10%;
    text-align: center;
    font-size:1.6vw;
    text-shadow:3px 3px 5px #888;
}
.st_title:before, .st_title:after {
    content: '';
    position: absolute;
    top: 50%;
    display: inline-block;
    width: 30%;
    height: 3px;
}
.st_title:before {
	left:0;
	background: linear-gradient(-45deg, transparent, #128cd1 10%, #128cd1 30%, transparent);
}
.st_title:after {
	right: 0;
	background: linear-gradient(-45deg, transparent, #128cd1 70%, #128cd1 90%, transparent);
}

.jinzai1{
    color:tomato;
    text-align:center;
    font-size:1.6vw;
    margin:2% 0;
}

.jinzai2 {
	width:85%;
    margin:auto;
    font-size:1.2vw
}

@media screen and (max-width:800px){
	.strength .st01{
		position:relative;
    	width:80%;
		margin:5% auto 0;
	}
	.st_title {
    	font-size:2.4vw;
	}
	.jinzai1{
    	font-size:2.2vw;
    	margin:2% 0;
	}
	.jinzai2 {
		width:90%;
    	margin:auto;
    	font-size:1.6vw
	}
}



/*画面幅480px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:480px){


}
