/* greeting */
#company.greeting #contents h1 {
	font-weight: normal;
	text-align: center;
}

#company.greeting #greeting_header {
	position: relative;
	background-size: cover;
}

#company.greeting #greeting_header .inner {
	height: 100%;
}

#company.greeting #greeting_header p {
	display: inline-block;
	position: absolute;
	top: 50%;
}

#company.greeting #greeting_header #sign {
		position: absolute;
}

#company.greeting #greeting_header #sign img {
	margin: 5px 0;
}

#company.greeting #sentence {
	position: relative;
	background-color: #FFFFFF;
	box-shadow: 4px 4px 5px 3px rgba(0, 0, 0, 0.2);
}

#company.greeting #sentence p {
	line-height: 2.5;
}

#company.greeting #policy {
	padding: 90px 0;
}

#company.greeting #policy h2 {
	padding: 30px 0;
	color: #FFFFFF;
	line-height: 1.2;
	text-align: center;
	background-color: #005CB9;
}

#company.greeting #policy ul li {
	margin: 30px 0;
	background-color: #FFFFFF;
	border-left: solid 10px #005CB9;
	box-shadow: 5px 5px 0px 0px rgba(0, 92, 185, 0.2);
}

#company.greeting #origin .origin_inner {
	margin: auto;
	max-width: 600px;
}

/* corporate_profile */
#company.corporate_profile #contents h2 {
	text-align: center;
}

#company.corporate_profile #contents th, 
#company.corporate_profile #contents td {
	padding: 10px;
}

#company.corporate_profile #contents th {
	font-weight: normal;
	white-space: nowrap;
	text-align: left;
}

#company.corporate_profile #contents table tr:nth-of-type(odd) th, 
#company.corporate_profile #contents table tr:nth-of-type(odd) td {
	background-color: #F3F4F4;
}

#company.corporate_profile #base ol {
	counter-reset: cnt;
	list-style-type: none;
	text-align: center;
}

#company.corporate_profile #base ol li {
	position: relative;
	margin: 30px 0 0 0;
}

#company.corporate_profile #base ol li::before {
	content: "";
	display: inline-block;
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-color: #005CB9 transparent transparent transparent;
}

#company.corporate_profile #base ol li::after {
	counter-increment: cnt;
	content: counter(cnt);
	display: inline-block;
	position: absolute;
	top: 2px;
	left: 5px;
	width: 1em;
	font-weight: bold;
	color: #FFFFFF;
	line-height: 1;
	text-align: center;
	z-index: 1;
}

#company.corporate_profile #base ol li strong {
	display: inline-block;
	padding: 5px 0 0 0;
	font-size: 2.5rem;
}

#company.corporate_profile #base ol li p {
	padding: 0 0 20px 0;
	font-size: 1.4rem;
	text-align: left;
}

#company.corporate_profile #base .btn_googlemap {
	display: inline-block;
	padding: 8px;
	margin: auto;
	width: 163px;
	line-height: 1;
	text-align: center;
	border: solid 1px #4C4948;
	border-radius: 12px;
}

#company.corporate_profile #officer table th, 
#company.corporate_profile #officer table td {
	width: 50%;
}

#company.corporate_profile #officer table th {
	text-align: right;
}

#company.corporate_profile #officer table th span {
	display: inline-block;
	width: 7.5em;
	text-align: left;
}

/* history */
#company.history table {
	margin: 0 0 90px 0;
	border-bottom: solid 1px #8F8F8F;
}


#company.history table tr {
	border-top: solid 1px #8F8F8F;
}

#company.history table th {
	padding: 10px 25px 10px 10px;
	font-size: 1.2rem;
	font-weight: normal;
	line-height: 1.2;
}

#company.history table th span {
	font-size: 3rem;
	letter-spacing: 1px;
}

#company.history table td {
	padding: 10px 0;
}

#company.history table td ul {
	display: inline-block;
	vertical-align: middle;
}

#company.history table td ul li {
	position: relative;
	padding: 0 0 0 3.5em;
}

#company.history .top {
	vertical-align: top;
}

#company.history .photos .photo {
	line-height: 1.2;
	vertical-align: top;
}

#company.history .month {
	display: inline-block;
	position: absolute;
	left: 0;
	width: 2.5em;
	text-align: right;
}

#company.history .photos {
	font-size: 0;
	text-align: right;
	vertical-align: middle;
}

#company.history .photos .photo {
	display: inline-block;
	padding: 10px 0 0 0;
	font-size: 1.2rem;
}

#company.history .photos .photo p {
	padding: 0.4em 0;
	text-align: left;
}

/* action_plan */
#company.action_plan #contents h2 {
	padding: 0 0 10px 0;
}

#company.action_plan #contents h3 {
	padding: 50px 0 5px 0;
}

#company.action_plan #contents strong {
	display: block;
	padding: 10px;
	line-height: 1;
}

#company.action_plan #contents strong span {
	font-size: 0.7em;
	font-weight: normal;
}

#company.action_plan #contents p {
	font-size: 1.8rem;
}

#company.action_plan #contents dl dt {
	padding: 5px 10px;
}

#company.action_plan #contents dl dd {
	padding: 5px 10px 30px 10px;
}

#company.action_plan #contents .objective {
	float: left;
	display: inline-block;
	padding: 10px;
	margin: 0 10px 5px 0;
	color: #FFFFFF;
	line-height: 1;
	text-align: center;
}

#company.action_plan #contents section:nth-of-type(1) h2 {
	color: #005CB9;
}

#company.action_plan #contents section:nth-of-type(1) .objective {
	background-color: #005CB9;
}

#company.action_plan #contents section:nth-of-type(1) .gradation {
	background: linear-gradient(to right, #ACCAE8 0%, #5E98D3 100%);
}

#company.action_plan #contents section:nth-of-type(2) h2 {
	color: #00BDDC;
}

#company.action_plan #contents section:nth-of-type(2) .objective {
	background-color: #00BDDC;
}

#company.action_plan #contents section:nth-of-type(2) .gradation {
	background: linear-gradient(to right, #A4E7F3 0%, #4AD0E6 100%);
}



/* ir */
#company.ir #contents dl {
	font-size: 0;
	border-top: solid 1px #4B4B4B;
}

#company.ir #contents dl dt {
	font-size: 1.8rem;
	border-right: solid 3px #005CB9;
	border-left: solid 3px #005CB9;
}

#company.ir #contents dl dt img {
	margin: 3px 10px 0 0;
}

#company.ir #contents dl dd {
	font-size: 1.6rem;
}

#company.ir .border {
	padding: 0 15px;
	border-left: solid 3px #005CB9;
}

#company.ir #get_adobe {
	display: inline-block;
	padding: 10px;
	margin: 30px 0;
	font-size: 1.1rem;
	color: #8C8C8C;
	line-height: 1.2;
	text-align: center;
	border: solid 1px #D6D6D6;
}

#company.ir #get_adobe p {
	display: inline-block;
	padding: 0 5px 5px 5px;
	width: calc(100% - 22px);
	max-width: 26em;
	text-align: left;
}


@media all and (max-width: 959px) {
	/* company */
	#company.company #contents h2 {
		padding: 30px 0 20px 0;
		font-size: 1.8rem;
	}
	
	#company.company #contents p {
		line-height: 2;
	}
	
	#company.company #contents ul {
		padding: 30px 0;
	}
	
	#company.company #contents ul li {
		margin: 0 0 20px 0;
	}

	/* greeting */
	#company.greeting #contents h1 {
		padding: 30px 0 0 0;
		font-size: 2.6rem;
	}

	#company.greeting #greeting_header {
		height: 75vw;
		background-image: url(../images/company/greeting/bg_header_sp.jpg?20211124);
	}

	#company.greeting #greeting_header p {
		font-size: 4vw;
	}

	#company.greeting #greeting_header #sign {
		bottom: 30px;
		width: 28%;
		font-size: 1.4rem;
	}

	#company.greeting #sentence {
		top: -20px;
		padding: 20px;
	}

	#company.greeting #sentence p {
		padding: 20px 0;
	}

	#company.greeting #policy {
		padding: 20px 0;
	}

	#company.greeting #policy h2 {
		font-size: 2.2rem;
	}
	
	#company.greeting #policy ul li {
		padding: 20px;
	}
	
	#company.greeting #policy ul li strong {
		display: block;
		margin: 0 0 10px 0;
		font-size: 2.6rem;
		border-bottom: solid 1px #005CB9;
	}
	
	#company.greeting #policy ul li p {
		position: relative;
		padding: 0 0 0 0;
		font-size: 3.5rem;
		font-weight: bold;
		line-height: 2;
		vertical-align: middle;
	}

	#company.greeting #policy ul li:nth-of-type(2) p {
		font-size: 1.6rem;
	}

	#company.greeting #policy .rubi {
		display: block;
		padding: 30px 0 0 0;
		font-size: 1.6rem;
		line-height: 0;
	}

	#company.greeting #origin {
		padding: 40px 0 80px 0;
	}

	#company.greeting #origin h2 {
		padding: 0 0 30px 0;
		font-size: 2.2rem;
	}

	#company.greeting #origin img {
		width: 280px;
	}

	#company.greeting #origin p {
		padding: 30px 0;
		line-height: 2.5;
	}

	#company.greeting #origin p strong {
		display: inline-block;
		font-size: 2.6rem;
		line-height: 1;
	}

	#company.greeting #origin p strong span {
		font-size: 2rem;
	}


	/* corporate_profile */
	#company.corporate_profile #contents h2 {
		font-size: 2.6rem;
	}

	#company.corporate_profile #contents th, 
	#company.corporate_profile #contents td {
		padding: 30px 15px;
	}

	#company.corporate_profile #profile {
		padding: 30px 0 80px 0;
	}

	#company.corporate_profile #base {
		padding: 30px 0;
	}

	#company.corporate_profile #base ol {
		padding: 0 0 10px 0;
	}

	#company.corporate_profile #base ol li {
		padding: 20px 6%;
		width: 100%;
	}

	#company.corporate_profile #base ol li::before {
		border-width: 50px 50px 0 0;
	}
	
	#company.corporate_profile #base ol li::after {
		font-size: 1.8rem;
	}

	#company.corporate_profile #base ol li img {
		padding: 0 8%;
	}


	#company.corporate_profile #officer {
		padding: 30px 0;
	}

	#company.corporate_profile #officer table {
		margin: 30px 0;
	}

	/* history */
	#company.history table th, 
	#company.history table td {
		vertical-align: top;
	}

	#company.history .photos .photo {
		font-size: 0.8rem;
	}

	#company.history .photos .photo:not(:first-of-type) {
		margin-left: 10px;
	}

	#company.history .photos .photo img {
		width: auto;
		max-height: 85px;
	}

	#company.history .photos .photo:first-of-type:last-of-type img {
		max-height: 190px;
	}

	#company.history .arrange1 .photo img {
		max-height: 112px;
	}

	#company.history .arrange2 .photo img {
		max-height: 97px;
	}

	#company.history .arrange3 .photo img {
		max-height: 114px;
	}

	/* action_plan */
	#company.action_plan #contents h2 {
		font-size: 2rem;
	}

	#company.action_plan #contents h3 {
		font-size: 1.8rem;
	}

	#company.action_plan #contents p {
		padding: 30px 0 60px 0;
	}
	
	#company.action_plan #contents dl:last-of-type {
		padding: 0 0 60px 0;
	}

	/* ir */
	#company.ir #contents dl {
		margin: 30px 0;
	}

	#company.ir #contents dl dt {
		padding: 3px 15px;
		margin: 40px 0 0 0;
	}

	#company.ir #contents dl dd {
		padding: 3px 15px 0 51px;
	}
}


@media all and (min-width: 960px) {
	/* company */
	#company.company #contents h2 {
		padding: 80px 0 20px 0;
		font-size: 3.4rem;
	}
	
	#company.company #contents p {
		line-height: 2.5;
	}
	
	#company.company #contents ul {
		padding: 80px 0;
	}
	
	#company.company #contents ul li {
		margin: 0 0 40px 0;
	}

	/* greeting */
	#company.greeting #contents h1 {
		font-size: 3.6rem;
	}

	#company.greeting #greeting_header {
		height: 588px;
		background-image: url(../images/company/greeting/bg_header.jpg?20211124);
	}

	#company.greeting #greeting_header p {
		font-size: 2.8rem;
		transform: translateY(-50%);
	}

	#company.greeting #greeting_header #sign {
		bottom: 120px;
		left: 290px;
		font-size: 2.2rem;
	}

	#company.greeting #sentence {
		top: -40px;
		padding: 50px;
	}

	#company.greeting #sentence p {
		padding: 30px 0 0 0;
	}

	#company.greeting #policy {
		padding: 90px 0;
	}

	#company.greeting #policy h2 {
		font-size: 4rem;
	}

	#company.greeting #policy ul {
		padding: 40px 0 0 0;
	}

	#company.greeting #policy ul li {
		padding: 35px;
	}

	#company.greeting #policy ul li strong {
		display: table-cell;
		width: 8em;
		font-size: 3.6rem;
		vertical-align: middle;
		border-right: solid 1px #005CB9;
	}
	
	#company.greeting #policy ul li p {
		display: table-cell;
		position: relative;
		padding: 0 0 0 50px;
		height: 140px;
		font-size: 4.2rem;
		font-weight: bold;
		vertical-align: middle;
	}
	
	#company.greeting #policy ul li:nth-of-type(2) p {
		font-size: 2.8rem;
	}

	#company.greeting #policy .rubi {
		position: absolute;
		font-size: 1.8rem;
		transform: translateY(-50%);
	}

	#company.greeting #origin {
		padding: 90px 0 170px 0;
	}

	#company.greeting #origin h2 {
		padding: 0 0 60px 0;
		font-size: 4rem;
	}

	#company.greeting #origin p {
		padding: 60px 0;
		font-size: 1.7rem;
		line-height: 3;
	}

	#company.greeting #origin p strong {
		font-size: 3rem;
		line-height: 2;
	}

	#company.greeting #origin p strong span {
		font-size: 2.6rem;
		line-height: 2;
	}

	/* corporate_profile */
	#company.corporate_profile #contents h2 {
		font-size: 4rem;
	}

	#company.corporate_profile #contents th {
		padding: 25px 25px 25px 80px;
	}

	#company.corporate_profile #contents td {
		padding: 25px;
	}

	#company.corporate_profile #profile {
		padding: 60px 0 140px 0;
	}

	#company.corporate_profile #base {
		padding: 60px 0 90px 0;
	}

	#company.corporate_profile #base ol li {
		padding: 25px 45px 65px 45px;
		width: 450px;
	}

	#company.corporate_profile #base ol li:nth-of-type(even) {
		margin-left: 80px;
	}

	#company.corporate_profile #base ol li::before {
		border-width: 67px 67px 0 0;
	}
	
	#company.corporate_profile #base ol li::after {
		font-size: 2.6rem;
	}

	#company.corporate_profile #base ol li img {
		margin: auto;
		width: 320px;
	}

	#company.corporate_profile #base .btn_googlemap {
		position: absolute;
		right: 0;
		bottom: 25px;
		left: 0;
	}

	#company.corporate_profile #officer {
		padding: 85px 0;
	}

	#company.corporate_profile #officer table {
		margin: 50px auto;
	}

	/* history */
	#company.history table th, 
	#company.history table td {
		vertical-align: middle;
	}

	#company.history .photos .photo:not(:first-of-type) {
		margin-left: 15px;
	}

	#company.history table tr {
		display: flex;
		align-items: center;
	}

	#company.history table td {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0 15px;
		flex: 1;
	}

	#company.history table td ul {
		flex: 1;
	}

	#company.history table td .photos {
		padding: 0 0 10px 0;
		white-space: nowrap;
		text-align: right;
	}

	/* action_plan */
	#company.action_plan #contents h2 {
		font-size: 2.6rem;
	}

	#company.action_plan #contents h3 {
		font-size: 2.4rem;
	}

	#company.action_plan #contents strong {
		font-size: 2.6rem;
	}

	#company.action_plan #contents p {
		padding: 60px 0 80px 0;
		text-align: center;
	}

	#company.action_plan #contents dl:last-of-type {
		padding: 0 0 170px 0;
	}

	#company.action_plan #contents .objective {
		font-size: 2.6rem;
	}


	/* ir */
	#company.ir #contents dl {
		margin: 70px 0 110px 0;
	}

	#company.ir #contents dl dt, 
	#company.ir #contents dl dd {
		display: inline-block;
		margin: 40px 0 0 0;
		width: 50%;
		vertical-align: middle;
	}

	#company.ir #contents dl dt, 
	#company.ir #contents dl dd {
		padding: 3px 15px;
	}
}