@charset "UTF-8";
/* CSS Document */

.achievement {
	width: 100%;
}

.achievement_inner {
	width: 90%;
	max-width: 1300px;
	margin: 120px auto 140px;
}

.tab_container {
	background-color: #fff;
}

.tab_title {
	border-bottom: 3px solid #0d3563 ;
}

.tab_item {
	width: 250px;
	height: 50px;
	line-height: 50px;
	margin-right: 10px;
	background-color: #fff;
	border: 2px solid #A1A1A1 ;
	border-bottom: none;
	border-radius: 15px 15px 0 0;
	text-align: center;
	font-size: 2rem;
	color: #A1A1A1 ;
	display: block;
	float: left;
	font-weight: 500;
	transition: all 0.2s ease;
}

.tab_item:hover {
  opacity: 0.75;
}

input[name="tab_item"] {
  display: none;
}

.tab_content {
	display: none;
	clear: both;
	overflow: hidden;
	border-top: 3px solid #0d3563 ;

}

#tab1:checked ~ #tab1_content,
#tab2:checked ~ #tab2_content {
  display: block;
}

.tab_container input:checked + .tab_item {
	background-color: #0d3563 ;
	color: #fff;
	border: solid 2px #0d3563;
}

/*-----------------事例--------------------*/


.case_list {	
	margin-top: 120px;
	display: flex;
	justify-content: space-between;
	-webkit-flex-wrap: wrap;  /* Safari etc. */
	-ms-flex-wrap    : wrap;  /* IE10        */
	flex-wrap        : wrap;
}


.case_item {
	background-color: #F2F4F5;
	position: relative;
	max-width: 600px;
	width: 95%;
	margin: 0 auto 120px;
	box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2);
}

.yane {
	display: block;
	width: 100%;
	height: 50px;
	position: absolute;
	top:-50px;
}


.case_item_inner {
	display: flex;
	justify-content: space-between;
	padding: 15px 15px;
	position: relative;
}

.case_item h4 {
	text-align: center;
	margin-bottom: 15px;
	font-family: 'Roboto', sans-serif;
	font-size: 2.2rem;
}

.before , .after {
	width: 45%;
}

.case_img {
	width: 100%;
}

.case_arrow {
	display: block;
	position: absolute;
	top: 55%;
	left: 50%;
	transform: translateX(-40%);
	width: 5%;
}


.case_item_name {
	padding-bottom: 20px;
	text-align: center;
	font-size: 1.8rem;
}


/*-----------------//事例--------------------*/

/*-----------------お客様の声-------------------*/
.voice-list {
	display: flex;
	justify-content: space-between;
	-webkit-flex-wrap: wrap;  /* Safari etc. */
	-ms-flex-wrap    : wrap;  /* IE10        */
	flex-wrap        : wrap;
	margin-top: 120px;
}

.voice-item {
	background-color: #fff;
	box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2);
	margin-bottom: 100px;
	padding: 40px 10px 10px;
	width: 22%;
	position: relative;
}

.voice_people {
	display: block;
	max-width: 90%;
	margin: 0 auto 20px;
}

.sellotape {
	position: absolute;
	top: -10%;
	left: 50%;
	transform: translateX(-50%);
}

.voice_comment {
	margin-bottom: 20px;
	line-height: 1.3;
}

.voice_name {
	font-size: 1.2rem;
	text-align: end;
}


/*-----------------//お客様の声-------------------*/


/*-----------------Instagram--------------------*/

.instagram {
	width: 40%;
	margin:  100px auto 0;
}

.another_case{
	display: block;
	max-width: 90%;
	margin: 0 auto;
}

.instagram_btn{
	position: relative;
	margin: 20px 0 0 0;
	width: 100%;
	height: 100%;
}

.instagram_btn a{
	display: block;
	width: 100%;
	height: 100%;
}

.instagram_btn a:hover {
    box-shadow:none;
	position: relative;
	top:2px;
}

.insta_btn_img {
	box-shadow:1px 1px 5px 0px #E3E3E3;
}




/*-----------------//お客様の声-------------------*/


/*-----------------Instagram--------------------*/

.instagram {
	width: 30%;
	margin: 0 auto;
}

.another_case{
	display: block;
	max-width: 90%;
	margin: 0 auto;
}

.instagram_btn{
	position: relative;
	margin: 20px 0 0 0;
	width: 100%;
	height: 100%;
}

.instagram_btn a{
	display: block;
	width: 100%;
	height: 100%;
}

.instagram_btn a:hover {
    box-shadow:none;
	position: relative;
	top:2px;
}

.insta_btn_img {
	box-shadow:1px 1px 5px 0px #E3E3E3;
}


/*-----------------// Instagram--------------------*/

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

.achievement_inner {
	margin: 70px auto 100px;
}

.tab_item {
	width: 180px;
	height: 40px;
	line-height: 40px;
	font-size: 1.8rem;
}
	
.voice-list {
	flex-wrap: wrap;
}

.voice-item {
	width: 45%;
}
	
.voice_comment {
	font-size: 1.4rem;
}

.voice_name {
	font-size: 1.2rem;
}

.instagram {
	width: 60%;
}


.instagram {
	width: 60%;
	margin: 0 auto;
}
	
}


@media screen and (max-width: 450px){
	
.achievement_inner {
	width: 95%;
	margin: 50px auto 100px;
}

.tab_item {
	width: 100px;
	height: 30px;
	line-height: 30px;
	font-size: 1.4rem;
}
	

.case_item {
	margin: 0 auto 80px;
}
	
	
.case_item_inner {
	padding: 5px;
}
	
.case_item h4 {
	font-size: 1.6rem;
	margin-bottom: 10px;
}

.case_item_name {
	font-size: 1.2rem;
	padding-bottom: 10px;
}
	
.voice-list {
	margin-top: 70px;
}

.voice-item {
	margin-bottom: 70px;
}
	
.voice-item {
	padding: 15px 5px 5px;
}

.voice_people {
	max-width: 95%;
	margin: 0 auto 10px;
}

.sellotape {
	max-width: 100px;
}

.voice_comment {
	margin-bottom: 10px;
	font-size: 1rem;
}

.voice_name {
	font-size: 1rem;
}

.instagram {
	width: 80%;
	margin: 0 auto;
}
	
}
