@charset "UTF-8";

/* CSS Information
---------------------------------------------------------------
Site URL:https://www.a-grp.co.jp/
File name:pc.css
Summary:reset styles
Created:2021-10-26
--------------------------------------------------------------- */

@media screen and (min-width: 1201px) {

/* Index */
/* ------------------------------------------------------------ */

body#index header {
	background: #000 url(../img/index/mainvisual.jpg) no-repeat center center;
	background-size: cover;
}

body#index header .inner {
	width: 1200px;
	display: flex;
	justify-content: flex-start;
	align-items: flex-end;
}

body#index header .inner h2 {
	color: #fff;
	font-size: min(4.8vw,96px);
	font-weight: 500;
	line-height: 1.5;
	margin-bottom: 180px;
}

body#index header .inner h2 span {
	font-weight: 500;
	margin-left: -0.5em;
}

/* About */
body#index section#about {
	background: url(../img/index/about_bg.png) no-repeat;
	background-size: 742px 650px;
	background-position-x: calc(50% + 629px);
	background-position-y: 120px;
	width: 100%;
	height: 650px;
	margin: 0;
	padding: 120px 0 0;
	position: relative;
}

body#index section#about > h3 {
	font-size: 34px;
	font-weight: 500;
	position: absolute;
	left: calc(50% - 600px);
	top: 120px;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
}

body#index section#about > h4 {
	color: #12708E;
	font-size: 34px;
	font-weight: 500;
	position: absolute;
	left: calc(50% - 600px);
	bottom: 0;
	width: 50%;
}

body#index section#about > h4::before {
	content: "";
	position: absolute;
	top: 50%;
	left: calc(-100% - 20px);
	height: 1px;
	padding-left: 100%;
	background-color: #12708E;
}

body#index section#about .inner > div {
	height: 650px;
	margin-left: 200px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
}

body#index section#about .inner > div h5 {
	color: #12708E;
	font-size: 20px;
	margin-bottom: 20px;
}

/* Service */
body#index section#service {
	width: 100%;
	margin: 0;
	padding: 120px 0;
	position: relative;
}

body#index section#service > h3 {
	font-size: 34px;
	font-weight: 500;
	position: absolute;
	left: calc(50% + 400px);
	top: 120px;
	width: 200px;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
}

body#index section#service > h4 {
	color: #12708E;
	font-size: 34px;
	font-weight: 500;
	position: absolute;
	right: calc(50% - 600px);
	top: 300px;
	width: 50%;
	text-align: right;
}

body#index section#service > h4::after {
	content: "";
	position: absolute;
	top: 50%;
	left: calc(100% + 20px);
	height: 1px;
	padding-right: 100%;
	background-color: #12708E;
}

body#index section#service .inner {
	width: 100%;
}

body#index section#service .inner > div {
	width: 74%;
	max-width: 1400px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: stretch;
}

body#index section#service .inner > div > div {
	box-sizing: border-box;
	background: #D0E2E8;
	width: 50%;
}

body#index section#service .inner > div > div:nth-child(odd) {
	border-right: 1px solid #fff;
}

body#index section#service .inner > div > div:nth-child(even) {
	border-left: 1px solid #fff;
}

body#index section#service .inner > div > div figure {
	width: 100%;
	position: relative;
}

body#index section#service .inner > div > div figure::before {
	content: "";
	display: block;
	padding-top: 50%;
}

body#index section#service .inner > div > div figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}

body#index section#service .inner > div > div figcaption {
	padding: 40px 60px;
}

body#index section#service .inner > div > div figcaption h5 {
	color: #12708E;
	font-size: 20px;
	margin-bottom: 20px;
}

/* Philosophy */
body#index section#philosophy {
	width: 100%;
	margin: 0;
}

body#index section#philosophy figure {
	background: url(../img/index/philosophy.jpg) no-repeat center center;
	background-size: cover;
	width: 100%;
	height: 600px;
}

body#index section#philosophy .inner {
	background: #D0E2E8;
	width: 100%;
	padding: 120px 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

body#index section#philosophy .inner > h3 {
	text-align: center;
	color: #12708E;
	font-size: 34px;
	font-weight: 500;
}

body#index section#philosophy .inner > h4 {
	text-align: center;
	font-size: 20px;
	font-weight: 500;
	margin-top: 20px;
}

body#index section#philosophy .inner > p {
	text-align: center;
	font-size: 34px;
	font-weight: 500;
	margin: 60px 0;
}

body#index section#philosophy .inner > div {
	width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: stretch;
}

body#index section#philosophy .inner > div > div {
	box-sizing: border-box;
	background: #fff;
	width: 370px;
	padding: 40px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
}

body#index section#philosophy .inner > div > div h5 {
	color: #12708E;
	font-size: 20px;
	line-height: 1.2;
	margin-bottom: 20px;
}

body#index section#philosophy .inner > div > div p {
	text-indent: -2em;
	margin-left: 2em;
}

/* Message */
body#index section#message {
	background: url(../img/index/message_bg.png) no-repeat;
	background-size: 860px 982px;
	background-position-x: calc(50% + 480px);
	background-position-y: -60px;
	margin: 0;
	padding: 120px 0;
}

body#index section#message .inner > h3 {
	text-align: center;
	color: #12708E;
	font-size: 34px;
	font-weight: 500;
}

body#index section#message .inner > h4 {
	text-align: center;
	font-size: 20px;
	font-weight: 500;
	margin-top: 20px;
}

body#index section#message .inner > p {
	text-align: center;
	font-size: 34px;
	font-weight: 500;
	margin: 60px 0;
}

body#index section#message .inner > div {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
}

body#index section#message .inner > div > p.comment {
	width: 600px;
}

body#index section#message .inner > div > div {
	width: 600px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
}

body#index section#message .inner > div > div figure {
	width: 350px;
}

body#index section#message .inner > div > div figcaption {
	margin-top: 20px;
	width: 350px;
}

body#index section#message .inner > div > div figcaption span {
	font-size: 34px;
	margin-top: 10px;
	display: block;
}

/* Company */
body#index section#company {
	margin: 0;
	padding: 120px 0;
}

body#index section#company .inner > h3 {
	text-align: center;
	color: #12708E;
	font-size: 34px;
	font-weight: 500;
}

body#index section#company .inner > h4 {
	text-align: center;
	font-size: 20px;
	font-weight: 500;
	margin-top: 20px;
}

body#index section#company .dllist {
	margin-top: 40px;
}

body#index section#company .dllist .dlbox {
	width: 100%;
    display: flex;
	justify-content: flex-start;
	align-items: center;
}

body#index section#company .dllist .dlbox .dtbox {
	border-bottom: 1px #12708E solid;
	text-align: left;
    width: 180px;
	height: stretch;
	margin-right: 40px;
	padding: 40px 0;
	display: block;
	flex-shrink: 0;
}

body#index section#company .dllist .dlbox .ddbox {
	border-bottom: 1px #3E3A3A solid;
	text-align: left;
	width: 100%;
	padding: 40px 0;
	display: block;
}

body#index section#company .dllist .dlbox .ddbox p{
	line-height: 1.5;
}

main section .dllist .dlbox .wrap {
	line-height: 1.7;
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

main section .dllist .dlbox .dtbox .wrap {
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
}

main section .dllist .dlbox .ddbox .wrap {
    flex-wrap: wrap;
}

/* History */
body#index section#history {
	background: #12708E url(../img/index/building.jpg) no-repeat;
    background-size: 1300px 600px;
    background-position-x: calc(50% - 350px);
    background-position-y: 120px;
    width: 100%;
    margin: 0;
    position: relative;
	overflow: hidden;
}

body#index section#history > h3 {
	color: #fff;
	font-size: 34px;
	font-weight: 500;
	position: absolute;
	left: calc(50% + 400px);
	top: 120px;
	width: 200px;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
}

body#index section#history > h4 {
	color: #fff;
	font-size: 34px;
	font-weight: 500;
	position: absolute;
	right: calc(50% - 600px);
	top: 300px;
	width: 50%;
	text-align: right;
}

body#index section#history > h4::after {
	content: "";
	position: absolute;
	top: 50%;
	left: calc(100% + 20px);
	height: 1px;
	padding-right: 100%;
	background-color: #fff;
}

body#index section#history .chronology {
	margin-top: 840px;
}

body#index section#history .chronology > div {
	margin-bottom: 60px;
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

body#index section#history .chronology > div:last-child {
	margin-bottom: 120px;
}

body#index section#history .chronology > div strong {
	color: #fff;
    font-size: 34px;
	font-weight: 500;
	width: 4em;
}

body#index section#history .chronology > div .circle {
	border-radius: 15px;
	background: #fff;
	width: 30px;
	height: 30px;
	margin-right: 40px;
    display: flex;
	justify-content: center;
	align-items: center;
	flex-shrink: 0;
	position: relative;
}

body#index section#history .chronology > div .circle::after {
	content: '';
	position: absolute;
	top: 30px;
	left: calc(50%);
	width: 1px;
	height: 80px;
	background: #fff;
}

body#index section#history .chronology > div dl {
	color: #fff;
    display: flex;
	justify-content: flex-start;
	align-items: flex-start;
}

body#index section#history .chronology > div dl dt {
    width: 6em;
	line-height: 1.2;
}

body#index section#history .chronology > div dl dd {
	line-height: 1.2;
}

/* Group */
body#index section#group {
	margin: 0;
	padding: 120px 0 0;
}

body#index section#group .inner > h3 {
	text-align: center;
	color: #12708E;
	font-size: 34px;
	font-weight: 500;
}

body#index section#group .inner > h4 {
	text-align: center;
	font-size: 20px;
	font-weight: 500;
	margin-top: 20px;
}

body#index section#group .inner > div {
	border-bottom: 1px solid #12708E;
	width: 100%;
	padding: 30px 0;
    display: flex;
	justify-content: flex-start;
	align-items: center;
}

body#index section#group .inner > div:nth-of-type(1) {
	border-top: 1px solid #12708E;
	margin-top: 60px;
}

body#index section#group .inner > div figcaption {
	width: 100%;
}

body#index section#group .inner > div figcaption strong a {
	color: #12708E;
	font-size: 20px;
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

body#index section#group .inner > div figcaption strong a img {
	width: 15px;
	height: auto;
	margin-left: 10px;
}

body#index section#group .inner > div figcaption dl {
	margin: 20px 0;
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

body#index section#group .inner > div figcaption dl dt {
	width: 8em;
}

body#index section#group .inner > div figcaption ul {
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

body#index section#group .inner > div figcaption ul li {
	border-radius: 30px;
	background: #12708E;
	color: #fff;
	font-size: 12px;
	padding: 5px 20px;
}

body#index section#group .inner > div figcaption ul li:nth-of-type(n+2) {
	margin-left: 10px;
}

body#index section#group .inner > div figure {
	width: 428px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-shrink: 0;
}

body#index section#group .inner > div:nth-of-type(1) figure img {
	width: 300px;
}

body#index section#group .inner > div:nth-of-type(2) figure img {
	width: 188px;
}

body#index section#group .inner > div:nth-of-type(3) figure img {
	width: 196px;
}

body#index section#group .inner > div:nth-of-type(4) figure img {
	width: 428px;
}

body#index section#group .inner > div:nth-of-type(5) figure img {
	width: 178px;
}

body#index section#group .inner > div:nth-of-type(6) figure img {
	width: 144px;
}

/* Service */
/* ------------------------------------------------------------ */

body#service header {
	background: #fff;
	height: 120px;
}

/* Title */
body#service section#title {
	background: url(../img/service/title.jpg) no-repeat center center;
	background-size: cover;
	width: 100%;
	height: 360px;
}

/* Service */
body#service section#service1 {
	background: url(../img/service/construction_main.jpg) no-repeat;
	background-size: 1000px 300px;
	background-position-x: calc(50% + 500px);
	background-position-y: 120px;
	padding: 120px 0;
}

body#service section#service2 {
	background: #D0E2E8 url(../img/service/industrial_main.jpg) no-repeat;
	background-size: 1000px 300px;
	background-position-x: calc(50% - 500px);
	background-position-y: 120px;
	padding: 120px 0;
}

body#service section#service3 {
	background: url(../img/service/consultant_main.jpg) no-repeat;
	background-size: 1000px 300px;
	background-position-x: calc(50% + 500px);
	background-position-y: 120px;
	padding: 120px 0;
}

body#service section#service4 {
	background: #D0E2E8 url(../img/service/it_main.jpg) no-repeat;
	background-size: 1000px 300px;
	background-position-x: calc(50% - 500px);
	background-position-y: 120px;
	padding: 120px 0;
}

body#service section#service1 .inner > div:nth-of-type(1),
body#service section#service2 .inner > div:nth-of-type(1),
body#service section#service3 .inner > div:nth-of-type(1),
body#service section#service4 .inner > div:nth-of-type(1) {
	height: 300px;
}

body#service section#service1 .inner > div:nth-of-type(1),
body#service section#service3 .inner > div:nth-of-type(1) {
	text-align: left;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
}

body#service section#service2 .inner > div:nth-of-type(1),
body#service section#service4 .inner > div:nth-of-type(1) {
	text-align: right;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-end;
}

body#service section#service1 .inner > div:nth-of-type(1) h3,
body#service section#service2 .inner > div:nth-of-type(1) h3,
body#service section#service3 .inner > div:nth-of-type(1) h3,
body#service section#service4 .inner > div:nth-of-type(1) h3 {
	color: #12708E;
	font-size: 34px;
	font-weight: 500;
}

body#service section#service1 .inner > div:nth-of-type(1) h4,
body#service section#service2 .inner > div:nth-of-type(1) h4,
body#service section#service3 .inner > div:nth-of-type(1) h4,
body#service section#service4 .inner > div:nth-of-type(1) h4 {
	font-size: 20px;
	font-weight: 500;
	margin-top: 20px;
}

body#service section#service1 .inner > div:nth-of-type(1) p,
body#service section#service2 .inner > div:nth-of-type(1) p,
body#service section#service3 .inner > div:nth-of-type(1) p,
body#service section#service4 .inner > div:nth-of-type(1) p {
	margin-top: 40px;
}

body#service section#service1 .inner > div:nth-of-type(2),
body#service section#service2 .inner > div:nth-of-type(2) {
	margin-top: 60px;
	display: flex;
	justify-content: space-between;
	align-items: stretch;
}

body#service section#service1 .inner > div:nth-of-type(2) div,
body#service section#service2 .inner > div:nth-of-type(2) div {
	width: 270px;
}

body#service section#service1 .inner > div:nth-of-type(2) div figure,
body#service section#service2 .inner > div:nth-of-type(2) div figure {
	width: 100%;
	position: relative;
}

body#service section#service1 .inner > div:nth-of-type(2) div figure::before,
body#service section#service2 .inner > div:nth-of-type(2) div figure::before {
	content: "";
	display: block;
	padding-top: 61.804%;
}

body#service section#service1 .inner > div:nth-of-type(2) div figure img,
body#service section#service2 .inner > div:nth-of-type(2) div figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}

body#service section#service1 .inner > div:nth-of-type(2) div figcaption,
body#service section#service2 .inner > div:nth-of-type(2) div figcaption {
	margin-top: 20px;
}

body#service section#service1 .inner > div:nth-of-type(2) div figcaption h5,
body#service section#service2 .inner > div:nth-of-type(2) div figcaption h5 {
	text-align: center;
	color: #12708E;
	font-size: 20px;
	margin-bottom: 20px;
}

}