@charset "utf-8";
/* CSS Document */
body {
	min-width: 1024px;
}
.center {
	text-align: center;
}

#office-page{
	width: 100%;
	margin: 0 auto 50px;
}
#office-page .breadcrumbs{
	width: 1180px;
	margin: 0 auto;
	font-size: 12px;
	color: #333333;
}
#office-page .breadcrumbs a{
	color: #aaaaaa;
}
#office-page .breadcrumbs ol{
	display: flex;
	margin: 0 10px;
}
#office-page .breadcrumbs li::after{
	content: '>';
	display: inline-block;
	padding: 0 10px; /*左右に余白*/
	color: #aaaaaa;
}
#office-page .breadcrumbs li:last-child::after{
	display: none;
}



#office-page .office-kv {
	width: 1180px;
	margin: 0 auto 60px;
	text-align: center;
}
#office-page .office-kv img{
	width: 100%;
	width: 900px;
}
#office-page .office-kv-text {
	margin: 0 auto;
}
#office-page .office-kv-text p.text {
	width: 80%;
	max-width: 780px;
	margin: 10px auto 0;
	padding-top: 0;
	font-size: 1.3rem;
	line-height: 26px;
	text-align: center;
}

section {
	width: 1180px;
	margin: 60px auto 0;
	font-size: 1.3rem;
}
section h3 {
	padding: 17px 0 30px;
	background-image: url("../images/paraspot/mark01.png"),url("../images/paraspot/sec-bar.png");
	background-position: right 5px,center 80px;
	background-repeat: no-repeat;
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 2;
	text-align: center;
}
section h4 {
	margin: 20px auto 0;
	font-size: 2.0rem;
	font-weight: 700;
}
section p {
	margin: 20px auto 0;
}
section a {
	color: #d31336;
}
section a:hover {
	opacity: 0.7;
}

ul.list-companies {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
}
ul.list-companies li {
	/* aspect-ratio: 240 / 150; */
}
ul.list-companies li a {
	display: block;
	margin: 0 auto;
	width: fit-content;
	height: 100%;
	text-align: center;
}
ul.list-companies li a img {
	width: 80%;
	height: 100%;
	object-fit: contain;
}
ul.list-companies li a img:hover {
	transform: translateY(3px);
}
section .com-wrapper {
	width: 90%;
	margin: 0px auto 0;
}

section.company .date {
	width: fit-content;
	max-width: 600px;
	margin: 0px auto 0;
}
section.company .date p {
	margin: 0px auto 0;
}
section.company .date .url {
	margin: 10px auto 0;
	text-align: center;
}
section .com-wrapper .imgs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	margin: 20px auto 0;
	text-align: center;
}
section .com-wrapper .imgs img {
	max-width: 45%;
}
section .com-wrapper .imgs img.img-asics02 {
	max-height: 319px;
}
section.company .com-repo {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-top: 20px;
}
section.company .com-repo>div {
	width: 45%;
}
section.company .com-repo .com-atte {
	width: 340px;
}
section.company .com-repo .attempt , 
section.company .com-repo .comment {
	position: relative;
	display: inline-block;
	margin-top: 20px;
	margin-bottom: 20px;
	padding: 0.5rem 1rem;
	border-radius: 1vh;
	background-color: #1071b9;
	text-align: center;
	font-size: 16px;
	font-weight: 700;
	color: #ffffff;
}
section.company .com-repo .attempt p , 
section.company .com-repo .comment p {
	margin: 0;
}
section.company .com-repo .attempt::after , 
section.company .com-repo .comment::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 30%;
	border-style: solid;
	border-width: 20px 0 0 20px;
	border-color: #1071b9 transparent transparent;
	translate: calc(-50% + 0.4px) 100%;
}
section.company .com-repo .comment {
	background-color: #26a242;
}
section.company .com-repo .comment::after {
	border-color: #26a242 transparent transparent;
}
section.company .com-repo .com-atte>img {
	display: block;
	width: 300px;
	margin: 10px 0 0 20px;
}
section.company .com-repo .com-comm>p {
	width: 90%;
	margin: 10px auto 0;
}



@media screen and (max-width:900px) {
	#office-page .office-kv , 
	section {
		width: 90%;
		font-size: 1.1rem;
	}
	section h3 {
		font-size: 2.0rem;
		background-position: right 30px,center 70px;
		background-size: 70px 70px,100% 5px;
	}
	section.company .com-repo .com-atte {
		width: 240px;
	}
	section.company .com-repo .com-atte>img {
		width: 200px;
	}
	section.company .com-repo>div {
		width: 60%;
	}
}


@media screen and (max-width:767px) {
	body {
		min-width: unset;
	}
	
	#office-page .office-kv , 
	section {
		width: 90%;
	}
	section h3 {
		font-size: 1.5rem;
		background-position: right 10px,center 60px;
	}
	section .com-wrapper .imgs img.img-asics02 {
		max-height: unset;
		max-width: unset;
		width: 130px;
	}
}



@media screen and (max-width:480px) {
	section {
		margin: 30px auto 0;
	}
	section h4 {
		font-size: 1.3rem;
	}
	section h3 {
		font-size: 1.3rem;
		line-height: 1.3;
		background-position: right 15px,center 50px;
		background-size: 50px 50px,100% 3px;
	}
	section h3.intro {
		letter-spacing: -0.08em;
	}
	section p {
		margin: 10px auto 0;
	}
	
	#office-page .office-kv {
		margin: 0 auto;
	}
	
	ul.list-companies {
		grid-template-columns: repeat(2, 1fr);
	}
	ul.list-companies li {
		aspect-ratio: 100 / 80;
	}
	
	section#com-axa h3 {
		background-position: right 35px,center 70px;
	}
	section.company .date>p {
		letter-spacing: -0.08em;
	}
	section.company .date .url {
		word-break: break-word;
	}
	section .com-wrapper .imgs {
		display: inline-flex;
		gap: 10px;
		margin: 10px auto 0;
	}	
	section .com-wrapper .imgs img {
		max-width: 90%;
	}
	section.company .com-repo {
		display: inline-flex;
		flex-wrap: wrap;
		gap: 10px;
	}
	section.company .com-repo .com-atte {
		width: 250px;
	}
	section.company .com-repo .com-atte>img {
		width: 250px;
		margin: 10px 0 0 10px;
	}
	section.company .com-repo>div {
		width: 100%;
	}
	section.company .com-repo .attempt , 
	section.company .com-repo .comment {
		margin-top: 10px;
	}
}




/* modal */
.office-report-contsImg {
	margin-top: 10px;
	cursor: pointer;
	box-shadow: 5px 5px 0px #a7a7a7;
}
.office-report-contsImg img {
	border: solid 1px #1071b9;
}
.office-report-contsImg:hover img {
	transform: translateX(2px) translateY(2px);
	/* box-shadow: 3px 3px 0px #a7a7a7; */
}
.modal {
  /* display: grid; */
  place-items: center;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  /* overflow: overlay; */
  overflow: auto;
  overscroll-behavior: auto contain;
  background-color: rgba(0,0,0,0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
}
.modal-content {
  display: block;
  width: 70%;
  margin: 0 auto;
  /* height: calc(100% - 130px); */
  /* height: 80%; */
  aspect-ratio: 95 / 134;
  /* position: absolute; */
  position: relative;
  top: 130px;
}
.modal-content-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #fff;
  background: #333;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
  width: 1.2em;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}
@media screen and (max-width:768px){
  .modal {
    z-index: 10000;
  }
  .modal-content {
    width: 90%;
    /*
    max-width: 90%;
    max-height: 80%;
    height: auto;
    */
    top: 100px;
  }
  #close {
    top: 10px;
    right: 10px;
    font-size: 30px;
  }
}
/* //modal */
