@charset "utf-8";

/**********************************************
** Site Name: キャロットレード
** Site URI: 
** Description: 信条
**********************************************/

/*-------------------------------------------*/
/*  CONTENTS:
/*--------------------------------------------
1.0 - 汎用スタイル
    1.1 - 見出し
    1.2 - 見出し　背景
2.0 - 信条
    2.1 - 画像 右レイアウト
    2.2 - 画像 左レイアウト

---------------------------------------------*/

/*-------------------------------------------*/
/*  1.0 - 汎用スタイル
/*-------------------------------------------*/

.credo .txt {
  line-height: 2.0em;
}

/*タブレット・スマホ*/
/* 959px以下 */
@media screen and (max-width:959px) {
  .credo .txt { font-size: 1.2rem;}
}

/*PC*/
/* 960px以上 */
@media screen and (min-width:960px) {
  .credo .txt { font-size: 1.7rem;}
}

/*  1.1 - 見出し
/*-------------------------------------------*/

.credo h3 { letter-spacing: 1px;}
.credo h3 span {
  position: relative;
  padding-left: 40px;
  font-size: 2.0rem;
}
.credo h3 span::before {
  width: 20px;
  height: 1px;
  content: "";
  position: absolute;
  top: 12px;
  left: 10px;
  background: #313131;
}

/*タブレット・スマホ*/
/* 959px以下 */
@media screen and (max-width:959px) {
 .credo h3 {
   margin-bottom: 20px;
   font-size: 2.0rem;
 }
 .credo h3 span { font-size: 1.5rem;}
 .credo h3 span::before { top: 10px;}
}

/*PC*/
/* 960px以上 */
@media screen and (min-width:960px) {
  .credo h3 {
    margin-bottom: 30px;
    font-size: 3.0rem;
  }
  .credo h3 span { font-size: 2.0rem;}
}

/*  1.2 - 見出し　背景
/*-------------------------------------------*/

.credo .title_bg {
  background: url("../img/credo/bg_credo.jpg") no-repeat center top;
  background-size: cover;
}

/*PC*/
/* 960px以上 */
@media screen and (min-width:960px) {
  .credo .title_bg { margin-bottom: 130px;}
}

/*-------------------------------------------*/
/*  2.0 - 信条
/*-------------------------------------------*/

/*  2.1 - 画像　右レイアウト
/*-------------------------------------------*/

.credo .credo_detail_right { position: relative;}
.credo .credo_detail_right .image {	z-index: 200;}
.credo .credo_detail_right .credo_detail_txt {
  width: 100%;
  display: table;
	table-layout: fixed;
}

/*タブレット・スマホ*/
/* 959px以下 */
@media screen and (max-width:959px) {
  .credo { padding-bottom: 50px;}
	.credo .credo_detail_right {
	  overflow: hidden;
	}
  .credo .credo_detail_right .inner { padding: 0;}
	.credo .credo_detail_right .txt {
		margin-bottom: 20px;
	  padding-left: 0;
		padding-right: 0;
	}
  .credo .credo_detail_right .txt:last-child { margin-bottom: 0;}
	.credo .credo_detail_right .image { 
	  position: relative;
		padding: 15px;
	}
  .credo .credo_detail_right .image img {  width: 100%;}
	.credo .credo_detail_right .credo_detail_txt {
	  position: relative;
		top: -40px;
		z-index: 100;
	  background: #EEF1F1;
		padding: 50px 15px 30px;
	}
}

/*PC*/
/* 960px以上 */
@media screen and (min-width:960px) {
  .credo .credo_detail_right {
    margin-bottom: 140px;
  }
	.credo .credo_detail_right::before {
		width: calc(100% - 100px);
		height: 100%;
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		z-index: 100;
		background: #EEF1F1;
	}
	.credo .credo_detail_right .credo_detail_txt {
		width: 100%;
		box-sizing: border-box;
		position: relative;
		z-index: 200;
		padding: 45px 54.8% 0 0;
    padding-bottom: calc(50vw - 65%);
	}
	.credo .credo_detail_right .credo_detail_txt .txt {
    margin-bottom: 30px;
  }
  .credo .credo_detail_right .txt:last-child { margin-bottom: 45px;}
  .credo .credo_detail_right .image {
	  width: calc(100% - 54%);
	  position: absolute;
    top: -50px;
    right: 0;
    text-align: right;
  }
  .credo .credo_detail_right .image img {
	  width: 100%;
	}
}

/*  2.1 - 画像　左レイアウト
/*-------------------------------------------*/

.credo .credo_detail_left { position: relative;}
.credo .credo_detail_left .image {	z-index: 200;}
.credo .credo_detail_left .credo_detail_txt {
  width: 100%;
  display: table;
	table-layout: fixed;
}

/*タブレット・スマホ*/
/* 959px以下 */
@media screen and (max-width:959px) {
	.credo .credo_detail_left {
	  overflow: hidden;
	}
  .credo .credo_detail_left .inner { padding: 0;}
	.credo .credo_detail_left .txt {
		margin-bottom: 20px;
	  padding-left: 0;
		padding-right: 0;
	}
  .credo .credo_detail_left .txt:last-child { margin-bottom: 0;}
	.credo .credo_detail_left .image { 
	  position: relative;
		padding: 15px;
	}
  .credo .credo_detail_left .image img {  width: 100%;}
	.credo .credo_detail_left .credo_detail_txt {
	  position: relative;
		top: -40px;
		z-index: 100;
	  background: #EEF1F1;
		padding: 50px 15px 30px;
	}
}


/*PC*/
/* 960px以上 */
@media screen and (min-width:960px) {
  .credo .credo_detail_left {
    margin-bottom: 140px;
  }
	.credo .credo_detail_left::before {
		width: calc(100% - 100px);
		height: 100%;
		content: "";
		position: absolute;
		top: 0;
		right: 0;
		z-index: 100;
		background: #EEF1F1;
	}
	.credo .credo_detail_left .txt { margin-bottom: 30px;}
  .credo .credo_detail_left .txt:last-child { margin-bottom: 45px;}
	.credo .credo_detail_left .credo_detail_txt {
		width: 100%;
		box-sizing: border-box;
		position: relative;
		z-index: 200;
		padding: 45px 0 0 54.8%;
    padding-bottom: calc(40vw - 60%);
	}
  .credo .credo_detail_left .image {
	  width: calc(100% - 54%);
	  position: absolute;
    top: -50px;
    left: 0;
    text-align: right;
  }
  .credo .credo_detail_left .image img {
	  width: 100%;
	}
}






