@charset "UTF-8";

/* ----------------------------------------------------------------------
会社概要
---------------------------------------------------------------------- */
#company .br1024 { display: none;}
#company .br750 { display: none;}
#company .br520 { display: none;}
#company .greeting-box {
	display: flex;
	gap: 6rem;
}
#company .greeting-box:has(~ .greeting-box) {
	margin-bottom: 11rem;
}
#company .greeting-box picture {
	width: 30%;
	flex-shrink: 0;
}
#company .greeting-box picture img {
	border-radius: 8px;
}
#company .greeting-text {
	margin-top: 3rem;
}
#company .greeting-headline {
	font-size: 2.4rem;
	font-weight: 600;
	line-height: 1.7;
	margin-bottom: 2.5rem;
}
#company .greeting-sign {
	margin-top: 2.4rem;
	text-align:right;
}
#company .column2{
	column-count: 2;
    column-gap: 6rem;
}

#company .creed-flex {
	display: flex;
	gap: 5rem;
	flex-wrap: wrap;
}
#company .creed-item {
	width: calc((100% - 5rem * 2) / 3);
	border: 1px solid #e6e6e6;
	border-radius: 1.6rem;
	background-color: #ffffff;
	padding: 3rem;
	text-align: center;
}
#company .creed {
	color: #64ba46;
	font-size: 3.2rem;
	font-weight: 600;
	margin-bottom: 1.6rem;
}
#company .creed-item p {
	font-size: 1.9rem;
	line-height: 2;
	font-weight: 500;
	letter-spacing: 0.1em;
}
#company .sec-lead {
	font-size: 3.2rem;
	text-align: center;
}
#company #section05 .sec-lead {
	font-size: 2.4rem;
	line-height: 2;
}
#company .guiding-flex {
	display: flex;
	gap: 6rem;
}
#company .guiding-flex picture {
	width: 38%;
	flex-shrink: 0;
	border-radius: 8px;
	overflow: hidden;
}
#company .guiding-text {
	margin-top: 2rem;
}
#company .guiding-text p {
	line-height: 2;
}
#company .sdgs-flex {
	display: flex;
	gap: 7.5rem;
	margin-bottom: 4rem;
}
#company .sdgs-label-img {
	width: 30%;
	flex-shrink: 0;
}
#company .sdgs-flex-inner {
	display: flex;
	gap: 4rem;
	align-items: center;
}
#company .sdgs-m-img {
	width: 16rem;
	flex-shrink: 0;
}
#company .sdgs-text .sdgs-logos {
	width: 48rem;
	margin-bottom: 1.5rem;
	margin-inline: auto;
}
#company .sdgs-lead {
	font-size: 2.4rem;
	line-height: 2;
	text-align: center;
	margin-bottom: 3rem;
}
#company .sdgs-list-item {
	display: flex;
	gap: 5rem;
	border-bottom: 1px solid #cccccc;
	padding: 3rem 0 3rem 0;
	align-items: center;
}
#company .sdgs-list-item:first-child {
	border-top: 1px solid #cccccc;
}
#company .sdgs-list-item picture {
	width: 20%;
	flex-shrink: 0;
}
#company .list-text-title {
	font-size: 2.4rem;
	margin-bottom: 1.5rem;
}
#company .sdgs-inner-list {
	counter-reset: number 0;
}
#company .list-row {
	counter-increment: number 1;
	padding-left: 1.5em;
	position: relative;
}
#company .list-row::before {
	content: "("counter(number)")";
	position: absolute;
	top: 0;
	left: 0;
}
#company .company-box:has(~ .company-box) {
	margin-bottom: 11rem;
}
#company .company-name {
	font-size: 2rem;
	margin-bottom: 1.5rem;
}
#company .company-box table {
	width: 100%;
}
#company .company-box table tr {
	border-bottom: 1px solid #cccccc;
}
#company .company-box table tr:first-child {
	border-top: 1px solid #cccccc;
}
#company .company-box table tr:nth-child(odd) th, #company .company-box table tr:nth-child(odd) td {
	background-color: #f2f2f2;
}
#company .company-box table th, #company .company-box table td {
	padding: 2.5rem 1.5rem;
	vertical-align: middle;
}
#company .company-box table th {
	text-align: center;
	width: 26%;
}
#company .company-box table td a {
	color: #0071bc;
}
@media (hover: hover) and (pointer: fine) {
	#company .company-box table td a:hover {
		text-decoration: underline;
		text-underline-offset: 4px;
	}
}
#company .access-item {
	display: flex;
	gap: 7rem;
	align-items: center;
	border-bottom: 1px solid #ccc;
	padding: 3rem 0;
}
#company .access-item picture {
	width: 25%;
	flex-shrink: 0;
}
#company .access-item picture img {
	border-radius: 1.6rem;
}
#company .access-flex {
	display: flex;
	gap: 3rem;
	align-items: center;
	justify-content: space-between;
	flex-grow: 1;
}
#company .office-name {
	font-size: 2rem;
	margin-bottom: 1rem;
}
#company .office-info {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.8rem 2.2rem;
	margin-top: 2rem;
}
#company .office-info-row {
	display: flex;
	gap: 1rem;
	align-items: baseline;
}
#company .office-info dt {
	color: #64ba46;
	text-align: center;
	background-color: #e1f0dd;
	padding: 1px 4px;
	flex: 0 0 6em;
	white-space: nowrap;
	font-weight: 600;
	border-radius: 4px;
}
#company .office-info dd {
	margin: 0;
}
#company .map-btn {
	flex-shrink: 0;
}
#company .map-btn a {
	display: inline-block;
	width: 24rem;
	color: #fff;
	background-color: #64ba46;
	border-radius: 999px;
	padding: 1.5rem;
	text-align: center;
	position: relative;
	transition: opacity .3s;
}
#company .map-btn a::before {
	content: '';
	width: 15px;
	height: 23px;
	background-image: url('../images/icon_map.svg');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	position: absolute;
	top: 50%;
	left: 25px;
	translate: 0 -50%;
}
#company .history-item {
	margin-bottom: 1.5rem;
	position: relative;
}
#company .history-item::before {
	content: '';
	width: 8px;
	height: 8px;
	background-color: #333;
	border-radius: 100px;
	position: absolute;
	top: 2.4rem;
	left: 0.4em;
}
/* 
#company .history-item::after {
	content: '';
	width: 1px;
	height: 80%;
	background-color: #333;
	position: absolute;
	top: calc(2.4rem + 8px + 2rem);
	left: 0.6em;
} */
#company .history-year-l {
	font-size: 2.4rem;
	font-weight: 700;
	padding-left: 3.2rem;
}
#company .history-year-l span {
	font-size: 3.2rem;
	font-family: 'Montserrat', sans-serif;
}
#company .history-wrap-outer {
	padding: 1rem 0 1rem 10rem;
	margin-left: 1.1rem;
	border-left: 1px solid #333;
}
#company .history-wrap {
	display: flex;
	gap: 0.5rem;
	font-size: 1.8rem;
}
#company .history-wrap:has(~ .history-wrap) {
	margin-bottom: 1rem;
}
#company .history-month {
	white-space: nowrap;
}
#company .history-month .month-line {
	margin-left: 0.5rem;
}

@media screen and (max-width: 1440px) {
	#company .creed-flex {
		gap: 2rem;
	}
	#company .creed-item {
		width: calc((100% - 2rem * 2) / 3);
		    padding: 3rem 2rem 3rem;
	}
	#company .creed-item p {
		font-size: 1.6rem;
	}
	#company .creed {
		margin-bottom: 1rem;
	}
	#company .guiding-text {
		margin-top: 0;
	}
	#company .sdgs-flex {
		flex-direction: column;
		align-items: center;
		gap: 5rem;
	}
	#company .guiding-text p {
		line-height: 1.8;
	}
	#company .sdgs-lead {
		line-height: 1.6;
	}
	#company .list-text-title {
		font-size: 2rem;
    	margin-bottom: 0.5rem;
	}
	#company .access-item {
		gap: 4rem;
	}
	#company .access-item picture {
		width: 30%;
	}
	#company .map-btn a {
		width: 6rem;
    	height: 6rem;
		font-size: 0;
	}
	#company .map-btn a::before {
		top: 50%;
		left: 50%;
		translate: -50% -50%;
	}
	#company .office-name {
		margin-bottom: 0.5rem;
	}
	#company .office-info {
		margin-top: 1rem;
	}
}
@media screen and (max-width: 1024px) {
	#company .br1024 { display: inline-block;}
	#company .greeting-box {
		gap: 4rem;
	}
	#company .greeting-text {
		margin-top: 1rem;
	}
	#company .sec-lead {
		font-size: 2.4rem;
	}
	#company #section05 .sec-lead {
		font-size: 2rem;
	}
	#company .creed-flex {
		gap: 3rem;
	}
	#company .guiding-flex picture {
		aspect-ratio: 4 / 3;
	}
	#company .guiding-flex picture img {
		width: 100%;
		height: 101%;
		object-fit: cover;
	}
	#company .creed-item {
		width: calc((100% - 3rem * 2) / 3);
	}
	#company .creed {
		margin-bottom: 1rem;
	}
}

@media screen and (max-width: 820px) {
	#company .greeting-box {
		flex-direction: column;
		gap: 3rem;
		align-items: center;
	}
	#company .greeting-box picture {
		width: 40%;
	}
	#company .greeting-headline {
		text-align: center;
	}
	#company .greeting-headline br {
		display: none;
	}
	#company .greeting-text p {
		font-size: 1.6rem;
	}
	#company .greeting-headline br.br1024 {
		display: inline-block;
	}
	#company .greeting-headline br.br520:last-of-type {
		display: inline-block;
	}
	#company .column2{
		column-count: 1;
	}
	#company .br750 { display: inline-block;}
	#company .guiding-flex {
		gap: 4rem;
	}
	#company .creed-flex {
		flex-direction: column;
		gap: 2rem;
	}
	#company .creed-item {
		width: 100%;
		display: flex;
		gap: 5rem;
		align-items: center;
		text-align: left;
		padding-left: 6rem;
		
	}
	#company .creed-item br {
		display: none;
	}
	#company .creed {
		margin-bottom: 0;
		font-size: 2.4rem;
	}
	#company .sdgs-text p {
		font-size: 1.4rem;
		line-height: 1.8;
	}
	#company .sdgs-lead {
		font-size: 2rem;
	}
	#company .sdgs-list-item picture {
		width: 32%;
	}
	#company .sdgs-list-item {
		gap: 3rem;
	}
	#company .list-row {
		font-size: 1.4rem;
		line-height: 1.8;
	}
	#company .office-info {
		grid-template-columns: 1fr;
	}
	#company .office-info dt {
		font-size: 1.4rem;
	}
	#company .access-item picture {
		width: 34%;
		aspect-ratio: 1;
	}
	#company .access-item {
		gap: 3rem;
	}
	#company .access-item picture img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	#company .access-item.donoue picture img {
		object-position: 87% 50%;
	}
}

@media screen and (max-width: 520px) {
	#company .br520 { display: inline-block;}
	#company .greeting-box {
		gap: 1rem;
	}
	#company .greeting-box:has(~ .greeting-box) {
		margin-bottom: 8rem;
	}
	#company .greeting-sign {
		font-size: 1.4rem;
		text-align:right;
	}
	#company .greeting-headline br {
		display: inline-block;
	}
	#company .greeting-box picture {
		width: 60%; 
		max-width: 360px;
	}
	#company .greeting-headline {
		font-size: 2rem;
		margin-bottom: 1.5rem;
	}
	#company .greeting-text p {
		font-size: 1.4rem;
	}
	#company .creed-flex {
		gap: 2rem;
	}
	#company .creed-item {
		flex-direction: column;
		gap: 0;
		padding: 3rem 3rem 3rem;
	}
	#company .creed {
		font-size: 2.6rem;
	}
	#company .creed-item p {
		font-size: 1.8rem;
	}
	#company .sec-lead {
		font-size: 2.2rem;
	}
	#company #section05 .sec-lead {
		font-size: 1.6rem;
	}
	#company .guiding-flex picture {
		aspect-ratio: 8 / 5;
	}
	#company .guiding-text p {
		font-size: 1.4rem;
	}
	#company .guiding-flex {
		flex-direction: column-reverse;
		gap: 2rem;
	}
	#company .guiding-flex picture {
		width: 100%;
	}
	
	#company .sdgs-flex {
		gap: 4rem;
	}
	#company .sdgs-flex picture {
		display: block;
		text-align: center;
	}
	#company .sdgs-lead {
		font-size: 1.8rem;
	}
	#company .sdgs-list-item {
		flex-direction: column;
		gap: 2rem;
	}
	#company .sdgs-list-item picture {
		width: 100%;
		max-width: 240px;
		text-align: center;
	}
	#company .list-text-title {
		font-size: 2rem;
	}
	#company .sdgs-label-img {
		width: 100%;
	}
	#company .sdgs-flex-inner {
		flex-direction: column;
		gap: 3rem;
		align-items: center;
	}
	#company .sdgs-text .sdgs-logos {
		width: 100%;
	}
	#company .company-box:has(~ .company-box) {
		margin-bottom: 6rem;
	}
	#company .company-name {
		font-size: 1.6rem;
	}
	#company .company-box table th, #company .company-box table td {
		display: block;
		width: 100%;
		text-align: left;
	}
	#company .company-box table th {
		padding: 1rem 1rem 0rem;
	}
	
	#company .company-box table td {
		padding: 0 1rem 1rem;
		font-size: 1.4rem;
		font-weight: 400;
	}
	#company .access-item {
		flex-direction: column;
		gap: 2rem;
		padding: 5rem 0;
	}
	#company .access-item:first-child {
		padding-top: 2.3rem;
	}
	#company .access-flex {
		width: 100%;
		flex-direction: column;
	}
	#company .access-item picture {
		width: 100%;
		text-align: center;
	}
	#company .office-info {
		grid-template-columns: 1fr;
	}
	#company .map-btn {
		margin-inline: auto;
	}
	#company .map-btn a {
		font-size: 1.4rem;
		width: 280px;
        height: 40px;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	#company .history-wrap-outer {
		padding-left: 2rem;
		
	}
	#company .map-btn a::before {
		top: 50%;
		left: 25px;
		translate: 0 -50%;
	}
	#company .access-item picture {
		aspect-ratio: auto;
	}
	#company .office-address {
		font-size: 1.4rem;
	}
	#company .access-flex {
		align-items: flex-start;
	}
	
}

.youtube-box {
	text-align: center;
}

iframe {
	aspect-ratio: 16 / 9;
	width: 70%;
	margin-inline: auto;
}

@media screen and (max-width: 520px) {
	iframe {
		width: 100%;
	}
}