@charset "utf-8";

/***************************************************
page-about　会社概要 .company-outline
***************************************************/
.messageBox {
	display: grid;
	/* grid-template-columns: 1.7fr 1fr;
		 */
	gap: 30px;
}

.messageBox .inner-left p {
	line-height: 1.8em;
}

.messageBox .inner-right {
	width: 100%;
	aspect-ratio: 1/1.5;
}

.messageBox .inner-right img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mintyo {
	font-family: "Noto Serif JP", serif;
	font-size: 120%;
	text-align: right!important;
}

.mintyo span {
	font-size: 70%;
	letter-spacing: 0.2em;
}

@media screen and (max-width:768px) {
	.messageBox {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.messageBox .inner-right {
		aspect-ratio: 1 / 1;
	}
}


.company-message__houshin ol li {
    list-style-type: auto;
    font-size: 15px;
    line-height: 1.8;
    padding: 5px 0;
}

.company-message__houshin ol {
    padding-left: 1em;
}

.company-message__houshin {
    padding: 25px;
    background: #f9f9f9;
    margin: 20px 0;
}

.company-message__name {
    display: flex;
    justify-content: end;
    align-items: end;
}


/*------------------------------------------
 policy 
 ------------------------------------------*/
.company-policy {
  position: relative;
  padding: 80px 0px;
  margin: 0 auto;
}

.company-policy__box {
  max-width: 920px;
  margin: 0 auto;
  padding: 42px 36px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(92, 165, 116, 0.15);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.06);
}

.company-policy__lead {
  margin: 0 0 28px;
  padding-bottom: 18px;
  font-size: 1.05rem;
  line-height: 1.9;
  text-align: center;
  color: #4a4a4a;
  border-bottom: 1px solid rgba(92, 165, 116, 0.15);
}

.company-policy__body {
  display: grid;
  gap: 18px;
}

.company-policy__text {
  position: relative;
  margin: 0;
  padding: 24px 24px 24px 58px;
  background: #f8fafb;
  /* border-radius: 14px; */
  line-height: 2;
  color: #333;
  margin-bottom: 20px;
  display: inline-block;
}

.company-policy__text::before {
  content: "01";
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 1rem;
  font-weight: 700;
  color: #228cc1;
  font-family: serif;
}

.company-policy__text:nth-child(2)::before {
  content: "02";
}

@media (max-width: 767px) {
  .company-policy {
    padding: 0;
  }

  .company-policy__box {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .company-policy__lead {
    margin-bottom: 20px;
    padding-bottom: 14px;
    font-size: 0.95rem;
    text-align: left;
  }

  .company-policy__text {
    padding: 20px 18px 20px 50px;
    line-height: 1.9;
  }

  .company-policy__text::before {
    top: 18px;
    left: 16px;
  }
}

/*------------------------------------------
 company 
 ------------------------------------------*/

.company-outline {
	border: none;
	margin: 0 auto;
	width: 100%;
	border-collapse: collapse;
}

.company-outline dl {
	display: grid;
	align-items: center;
	margin: 0;
	padding: 0px;
	gap: 0px;
	grid-template-columns: 0.3fr 1fr;
}

.company-outline dt {
	padding: 20px 0px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	border-bottom: 1px solid var(--cta);
}

.company-outline dd {
	border-bottom: 1px solid #eee;
	padding: 20px 10px 20px 30px;
	margin: 0;
}

.company-gaiyou__certificate img {
    width: 150px;
    height: 100%;
}

.company-gaiyou__certificate {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    padding: 10px 0 0 0;
    align-items: center;
}

.addressBox {
	display: flex;
	flex-wrap: wrap;
	/* gap: 40px; */
	margin: 0 auto;
	width: 100%;
	max-width: 800px;
	justify-content: space-between;
}

.addressBox .inner-map {
	width: calc(100% - 320px);
}

.Google-map {
	position: relative;
    width: 100%;
    padding-bottom: 0;
    height: 100%;
    overflow: hidden;
}

.Google-map iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.company-access__img {
	width: 100%;
	height: 100%;
	aspect-ratio: 4/3;
}

.company-access__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media screen and (max-width:768px) {
	.company-outline dl {
		grid-template-columns: 1fr;
		gap:10px;
		padding: 20px 0;
		border-top: 1px solid #eee;
	}

	.company-outline dl:last-child {
		border-bottom: 1px solid #eee;
	}

	.company-outline dl dt {
		text-align: left;
		padding: 0;
		border-bottom: none;
		justify-content: start;
		color: var(--cta);
	}

	.company-outline dd {
		padding: 0;
		margin: 0;
		border: none!important;
	}
}

/*---------------------------------------------*/

/* company.html

---------------------------------------------- */

#Page-company section {
    width: 80%;
    margin: 0 auto;
    max-width: 1000px;
}

ul.companylist {
    display: flex;
    margin-top: 20px;
    margin-bottom: 20px;
}

ul.companylist li {
    padding: 15px 30px;
    list-style: none;
}

ul.companylist li a {
    color: #333;
}

.accessBox {
    display: grid;
    justify-content: space-between;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}


#Page-company .keiyasuzumi {
    margin: 30px auto;
}


#Page-company #access .keiyasuzumi {
    width: 48%;
    margin: 0;
}

/*--- 会社概要のテーブル指示 ---*/
.table_design03 {
  border-collapse: collapse;
  width: 100%;
}
.table_design03 th, .table_design03 td {
  border-bottom: 2px solid #c1c7c6;
  padding: 1em;
}
.table_design03 th {
  border-bottom: 2px solid #228cc1;
  font-weight: bold;
  text-align: center;
  width: 25%;
  min-width: 4em;
}


.aboutBox {
    display: flex;
    justify-content: space-between;
}

.aboutBox p.image {
    width: 24%;
    margin: auto;
    margin-bottom: 0;
}

span.Daihyou {
    font-size: 130%;
    margin-left: 20px;
    font-weight: 600;
}

p.bottom150 {
    margin-bottom: 150px;
}

@media screen and (max-width:767.98px) {
ul.companylist li {
    padding: 0 8px;
    list-style: none;
}
    
    p.bottom150 {
    margin-bottom: 0px;
}
    
    #Page-company section {
    width: 100%;
    margin: 0 auto;
}
    .aboutBox {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
    
    .table_design03 th, .table_design03 td {
    font-size: 14px;
    padding: 0.5em;
}
    
    .aboutBox p.image {
    width: 100%;
    margin: 20px 0;
    margin-bottom: 0;
}
    
    span.Daihyou {
    font-size: x-large;
}
    
    .accessBox {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
    
    #Page-company #access .keiyasuzumi {
    width: 100%;
    margin: 0;
}
    
    
    
}



/*------------------------------------------
 history
 ------------------------------------------*/

.company-history {
  padding: 80px 0;
}

.company-history__list {
  margin-top: 40px;
  position: relative;
}

.company-history__item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0px;
  position: relative;
  align-items: start;
  border-top: 0.5px solid #eee;
  padding: 8px 0px;
  /* padding: 0; */
}

.company-history__item:last-child {
	border-bottom: 0.5px solid #eee;
}

.company-history__year {
  position: relative;
  font-weight: 700;
  color: #228cc1;
  line-height: 1.8;
  font-size: 14px;
  padding-left: 24px;
  /* background: #f9f9f9; */
}

.company-history__year::before {
  /* content: ""; */
  /* position: absolute; */
  /* top: 0.8em; */
  /* left: 0; */
  /* width: 10px; */
  /* height: 10px; */
  /* border-radius: 50%; */
  /* background: #4f7c5c; */
}

.company-history__year::after {
  /* content: ""; */
  /* position: absolute; */
  /* top: 0; */
  /* bottom: -28px; */
  /* left: 4px; */
  /* width: 1px; */
  /* background: #cfd9d2; */
}

.company-history__item:last-child .company-history__year::after {
  display: none;
}

.company-history__body {
  /* background: #f7fdff; */
  /* border: 1px solid #e2ebe5; */
  /* border-radius: 12px; */
  /* padding: 10px; */
}

.company-history__body p {
  margin: 0;
  line-height: 2;
  color: #333;
  font-size: 14px;
}

.company-history__body p + p {
  margin-top: 0px;
  font-size: 14px;
}

@media screen and (max-width: 767px) {
  .company-history {
    padding: 56px 0;
  }

  .company-history__list {
    margin-top: 28px;
  }

  .company-history__item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .company-history__item:not(:last-child) {
    padding-bottom: 10px;
  }

  .company-history__item + .company-history__item {
    padding-top: 15px;
  }

  .company-history__year {
    padding: 0;
    font-size: 0.95rem;
    line-height: 1;
  }

  .company-history__year::before {
    top: 0.72em;
    width: 9px;
    height: 9px;
  }

  .company-history__year::after {
    left: 4px;
    bottom: -20px;
  }

  .company-history__body {
    padding: 0;
    /* border-radius: 10px; */
  }

  .company-history__body p {
    font-size: 1rem;
    line-height: 1.5;
  }
}



/*------------------------------------------
 access 
 ------------------------------------------*/
#access .access {
	margin: 0 auto;
	background: transparent;
	border: none;
}

.access__block {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--gap);
	align-items: start;
}

.access__info h4 {
	margin: .3em 0 .2em;
	font-size: 16px
}

.note {
	color: var(--sub);
	font-size: 13px
}

.btns {
	display: flex;
	gap: 10px;
	margin-top: 12px
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 14px;
	border: 1px solid var(--line);
	text-decoration: none;
	font-size: 14px;
	border-radius: 4px;
	background: var(--cta);
	color: #fff;
}

.btn:hover {
	background-color: var(--cta-hover);
}

.labelline {
	position: relative;
	padding-top: 16px;
	margin-top: 10px
}

.labelline::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 1px;
	background: var(--line)
}

.access__map iframe {
	width: 100%;
	height: 300px;
	display: block
}

@media (max-width: 767.98px) {
	:root {
		--gap: 18px
	}

	.message {
		grid-template-columns: 1fr
	}

	.dl-table tr {
		display: table-row;
	}


	.dl-table th {
		/* width: 80px; */
		width: 100%;
		display: block;
		font-size: 12px;
		text-align: left;
		border-bottom: none;
		padding: 12px 10px 0px 10px
	}

	.dl-table td {
		font-size: 12px;
		width: 100%;
		display: block;
	}

	.dl-table td ul li,
	.dl-table td a {
		font-size: 12px;
	}

	.access__block {
		grid-template-columns: 1fr
	}

	.container {
		/* padding: 12px 14px 60px */
	}

	.access__map iframe {
		height: 200px
	}
}

@media screen and (max-width:425px) {
  .company-gaiyou__certificate img {
    width: 120px;
    height: 100%;
}

}