@charset "utf-8";
/* CSS Document */

img{
	display: block;
}

.kasouimg{
	background-image: url("../img/strength_mv.jpg");
	background-size: cover;
}
	

.s-flex1, .s-flex2, .s-flex3, .s-flex4{
	display: flex;
	flex-direction: row;
	align-items: center;
}

.s-flex1-left{
	padding: 0 6rem 0 25rem;
	max-width: 1200px;
	margin: 5rem auto;
}



#s-section2{
	background-image: url("../img/strength-bg1.jpg");
	background-size: cover;
	padding: 6rem 15rem 6rem 0;
}

.s-flex2 :nth-child(1){
	order: 2;
}

.s-flex2 :nth-child(2){
	order: 1;
}

.s-flex2-right{
	padding: 0 12rem 0 8rem;
	max-width: 800px;
	color: white;
}

.s-flex3{
	margin: 0 25rem;
}

.s-flex3-left{
	margin:5rem 7rem 5rem 0;
	max-width: 1200px;
}

#s-section4 .big1{
	padding-top: 11rem;
	padding-bottom: 3rem;
	text-align: center;
}

#s-section4 .big2{
	color: #134e82;
}

.s-flex4 :nth-child(1){
	order: 2;
}

.s-flex4 :nth-child(2){
	order: 1;
}


.s-flex4-right{
	padding: 0 25rem 0 6rem;
	max-width: 1200px;
	margin: 5rem auto;
}

#s-section5{
	background: url("../img/strength-bg2.jpg");
	background-size: cover;
	color: white;	
	padding: 11rem 0;
}

#s-section5 .big1{
	text-align: center;
}

#s-section5 .big2{
	margin: 6rem 0 2rem;
}

#s-section5 p{
	margin: 2rem 0;
}

.annotation{
	text-align: end;
	padding: 1rem 0 2rem;
}


.process{
	text-align: center;
	margin: 9rem auto 0;
}

/*---------timeline----------------*/
/* 全体タイムライン */
.timeline {
  position: relative;
  padding: 2rem 0;
}

/* 中央の縦線 */
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #ccc;
  transform: translateX(-50%);
}

/* 各アイテム */
.timeline-item {
  position: relative;
  width: 50%;
  padding: 1rem 2rem;
  box-sizing: border-box;
}

/* 左側アイテム */
.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

/* 右側アイテム */
.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

/* 番号の丸＋中身 */
.timeline-item2::before, .timeline-item1::before {
  content: '';
  position: absolute;
  top:2.5rem;
  left: 0%;
  transform: translateX(-50%);
  width: 3rem;
  height: 3rem;
  background: #134e82;
  border: 4px solid #134e82;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 2rem;
  color: #fff;
  z-index: 1;
}
.timeline-item1::before {
  left: 100%;
}

/* 番号内容（①②③...） */
.timeline-item:nth-child(1)::before { content: '１'; }
.timeline-item:nth-child(2)::before { content: '２'; }
.timeline-item:nth-child(3)::before { content: '３'; }
.timeline-item:nth-child(4)::before { content: '４'; }
/* 必要に応じて続けてください */

.timeline-content {
  background: #f1f8ff;
  border-radius: 8px;
  position: relative;
  display: inline-block;
  max-width: 100%;
}

/* 見出しと本文 */
.timeline-content h3 {
  font-size: 2rem;
  margin: 2rem auto 1rem;
}

.timeline-content p {
  margin:1rem 2rem 2rem;
	text-align: center;
}

/* ④番だけの番号表示専用（中身なし） */
.timeline-item.no-content .timeline-content {
  display: none;
}

/* ④の番号位置を中央線の一番下に配置 */
.timeline-item4 {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-0);
  width: auto;
  padding: 0;
}

/* ④の番号のスタイル */
.timeline-item4::before {
  content: '４';
  top: auto;
  bottom: 0;
  left: 40%;
  transform: translate(-50%, 50%);
  width: 3rem;
  height: 3rem;
  background: #134e82;
  border: 4px solid #134e82;
  border-radius: 50%;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}


@media (max-width: 767px) {
  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left;
    padding-left: 2.5rem;
  }

  .timeline::before {
    left: 1rem;
  }

  .timeline-item::before {
    left: 1rem;
    transform: none;
  }
	
	.timeline-item:nth-child(4){
		/*padding-left: 1rem;
		padding-top: 3rem;*/
		display: none;
	}
	
	.makitori::before{
		 content: '４';
		margin-left: 1rem;
  transform: translate(-50%, 50%);
  width: 3rem;
  height: 3rem;
  background: #134e82;
  border: 4px solid #134e82;
  border-radius: 50%;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

}
/*--------------タイムラインここまで-----------------*/

.prducts_item{
	width: 250px;
}

.makitori{
	background: #f1f8ff;
	padding-top: 5rem;
	padding-bottom: 3rem;
	text-align: center;
}

.makitori h3{
	margin-bottom: 1rem;
}

.btn{
	margin-bottom: 3rem;
}

/*--------------tablet-----------------*/
@media screen and (max-width:1230px){
	.big1{
		font-size: 2.5rem;
		letter-spacing: normal;
		line-height: 4rem;
	}
	
	.s-flex1, .s-flex2, .s-flex3, .s-flex4, .prodcts_box{
		display: block;
	}
	
	.s-flex3{
		margin: 0 auto;
	}
	
	.s-flex3 img{
		height: 300px;
		margin:  0 auto 5rem;
	}
	
	.s-flex1-left, .s-flex2-right, .s-flex3-left, .s-flex4-right {
    padding: 3rem 0;
    max-width: none;
    margin: 0;
}
	
	#s-section2, #s-section5 {
		padding: 3rem;
	}
	
	.tablet-inner, .inner980{
		max-width: 600px;
		margin: 0 auto;
	}
	
	#s-section4 .big1 {
    padding-top: 2rem;
    padding-bottom: 0;
	}
		
	.process{
		margin-top: 2rem;
	}
	
	.process a {
		color: white;
	}
	
	.makitori{
		padding: 3rem 2rem;
	}
	
	.prducts_item{
		margin: 1rem auto;
	}
	
	.prodcts_box:first-child{
		width: 100%;
	}
	
	.prodcts_box{
		margin: 1rem auto;
	}
	
	.btn{
		width: 80%;
		margin-top: 3rem;
		margin-bottom: 3rem;
	}
}

@media (max-width: 767px) {
	.makitori{
		padding: 0 2rem 3rem;
	}}

/*--------------mobile-----------------*/
@media screen and (max-width:430px){
	.btn{
		width: 90%;	
}
}