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

#mv_right{
	background-image:url("../img/mv.webp");
}

@media (-webkit-min-device-pixel-ratio: 2),
       (min-resolution: 192dpi) {
  #mv_right {
    background-image:url("../img/mv@2x.webp");
  }
}

#inner{
	width: 80%;
	max-width: 1500px;
	margin: 0 auto 25rem auto;
}

#h2_intro{
	width: fit-content;
	margin: 0 auto 20rem auto;
	position: relative;
	font-size: 2.25vw;
}

#h2_intro::before {
    content: "";
    width: 5vw;
    height: 5.5vw;
    background: url(../../img/common/logo_header.svg);
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: -29%;
    left: -3em;
}

.principle{
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 20rem;
}

.principle:nth-of-type(2) {
	margin-bottom: 0;	
}

#principle_rvs{
	display: flex;
	justify-content: space-between;
	flex-direction: row-reverse;
}

.principle_l{
	width: 43%;
	display: flex;
	justify-content: space-between;
}

#principle_l_rvs{
	display: flex;
	justify-content: space-between;
	flex-direction: row-reverse;
}

.principle_l_inner{
	width: calc(100% - 100px);
	padding-top: 6rem;
}

.principle_r{
	width: 54%;
}

.principle_r img{
	width: 100%;
	height: auto;
	display: block;
}

.principle_l h3 {
	writing-mode: vertical-rl;
	text-orientation: upright;
    height: fit-content;
    writing-mode: vertical-rl;
    text-orientation: upright;
    padding: 36px 5px;
    border-radius: 40px 0 41px 0;
    background: #F18974;
    color: #fff;
    font-size: 3.5rem;
}

.principle_l h4{
	color: #F18974;
	font-size: 3rem;
	width: fit-content;
	position: relative;
	margin:0 auto 6rem auto;
}

.principle_l h4::before{
    content: "";
    display: block;
    width: 1.54vw;
    height: 1.15vw;
    background: url(../img/citation_01.svg);
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: -4rem;
}

.principle_l h4::after {
    content: "";
    display: block;
    width: 1.54vw;
    height: 1.15vw;
    background: url(../img/citation_02.svg);
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    right: -3rem;
	bottom: -1.5rem;
}

#tree {
    display: block;
    max-width: 50%;
    width: fit-content;
    margin: 12rem auto 0 auto;
}

#inner2{
	width: 800px;
	margin: 0 auto;
}

#history{
	margin-bottom: 20rem;
}

#history h2,
#company_prf h2{
	background: none;
	color: #fff;
	-webkit-background-clip: border-box;
	background-clip: border-box;
	-webkit-text-fill-color: #fff;
	text-fill-color: #fff;
}

#history .h2_bg,
#company_prf .h2_bg{
	width: fit-content;
	background: #F18974;
	padding: 5px 40px;
	border-radius: 30px 0 30px 0;
	margin-bottom: 8rem;
}

.history_item {
	display: grid;
	grid-template-columns: 140px 40px 1fr;
	column-gap: 30px;
	position: relative;
	min-height: 120px;
}

.history_date {
	font-size: 1.6rem;
	font-weight: 700;
}

.history_line {
	position: relative;
	display: flex;
	justify-content: center;
}

.history_line::before {
	content: "";
	position: absolute;
	top: 20px;
	bottom: 0;
	border-left: 4px dotted #F18974;
}

.history_line span {
	position: relative;
	z-index: 1;
	display: block;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #F18974;
}

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

.profile_row {
	display: grid;
	grid-template-columns: 45% 55%;
	padding: 4rem 0;
	border-bottom: 1px solid #F18974;
}

.profile_row dt,
.profile_row dd {
	margin: 0;
}

.profile_row dd p {
	margin: 0 0 1.5rem;
}

.profile_row dd p:last-child {
	margin-bottom: 0;
}

@media (max-width: 1024px) {
	
	#inner2{
		width: 70%;
	}
	
	#h2_intro{
		padding-left: 14rem;
		font-size: 4.25vw;
	}
	
	#h2_intro::before {
		content: "";
		width: 90px;
		height: 99px;
		background: url(../../img/common/logo_header.svg);
		background-size: cover;
		background-repeat: no-repeat;
		position: absolute;
		top: -42%;
		left: 0.25rem;
	}
	
	#tree {
		margin: -7rem auto 0 auto;
	}
	
	.principle{
		display: block;
	}

	.principle_l{
		width: 100%;
		display: block;
		position: relative;
	}
	
	#principle_rvs{
		flex-direction:column;
	}

	.principle_l{
		width: 100%;
		display: block;
		justify-content: space-between;
	}
	
	.principle_l h3{
		position: absolute;
		top: 0;
		left: 0;
		writing-mode: vertical-rl;
		text-orientation: upright;
	}
	
	.principle_l_inner{
		width: auto;
		padding-top: 6rem;
		padding-left: 7rem;
	}

	.principle_l_inner h4{
		margin-top: 0;
	}
	
	.principle_l h4{
		font-size: 4rem;
	}
	
	.principle_l h4::after {
		right: -1.5rem;
	}

	.principle_r{
		width: 100%;
		margin-top: 5rem;
	}

	.principle_r img{
		width: 100%;
		height: auto;
		display: block;
	}
	
	#tree {
		max-width: 60%;
	}
	
	.history_line span {
		margin-left: 3px;
	}

	.history_item {
		display: grid;
		grid-template-columns: 30px 1fr;
		grid-template-rows: max-content max-content;
		column-gap: 20px;
		row-gap: 15px;
		align-content: start;

		padding-bottom: 6rem; /* ← 次の項目までの間隔 */
	}

	.history_item:last-child {
		padding-bottom: 0;
	}

	.history_line {
		grid-column: 1;
		grid-row: 1 / 3;
		position: relative;
	}

	.history_date {
		grid-column: 2;
		grid-row: 1;
		margin: 0;
		font-size: 2.6rem;
	}

	.history_text {
		grid-column: 2;
		grid-row: 2;
		margin: 0;
	}
	
	.history_line::before {
		display: none;
}

	.history_item::before {
		content: "";
		position: absolute;
		left: 15px;
		top: 20px;
		bottom: 0;
		border-left: 4px dotted #F18974;
	}
	
	.company_profile {
		width: 88%;
	}

	.profile_row {
		display: block;
		padding: 3rem 0;
	}

	.profile_row dt {
		width: fit-content;
		margin-bottom: 1.5rem;
		padding-bottom: 0.5rem;
		border-bottom: 2px dotted #F18974;
	}

	.profile_row dd {
		width: 100%;
	}

	.profile_row dd p {
		margin-bottom: 1rem;
	}
}

@media (max-width: 767px) {
	
	#inner {
		margin: 0 auto 17rem auto;
	}
	
	#inner2 {
        width: 85%;
    }
	
	#h2_intro {
		padding-left: 7rem;
		font-size: 2.3rem;
		margin: 0 auto 10rem auto;

	}
	
	#h2_intro::before {
        width: 50px;
        height: 55px;

    }
	
	#h2_intro::before {
        left: -0.75rem;
    }
	
	.principle {
		margin-bottom: 10rem;
	}
	
	.principle_l_inner {
		padding-left: 3rem;
    }
	
	.principle_l h3 {
		font-size: 2rem;
		left: -10px;
	}
	
	.principle_l h4 {
		font-size: 2.3rem;
	}
	
	.principle_l_inner h4 {
        margin-left: 5rem;
		width: fit-content;
		margin-left: auto;
		margin-right: auto;
    }
	
	.principle_l h4::before {
		width: 12px;
		height: 9px;
		left: -2rem;
	}
	
	.principle_l h4::after {
        width: 12px;
        height: 9px;
        right: -9px;
        bottom: -1rem;
    }
	
	#tree {
		max-width: 70%;
		margin: -5rem auto 0 auto;
    }
	
	#history {
		margin-bottom: 15rem;
	}
	
	#history h2,
	#company_prf h2{
		font-size: 4.5vw;
	}
	
	#history .h2_bg, #company_prf .h2_bg {
		margin-bottom: 6rem;
}
	
	.history_date {
		font-size: 2rem;
    }
	
}