@charset "utf-8";

.page-company .h1-block {
  background-image: url(../image/company/bg-header.jpg);
}


/* company */
.message-block {
  position: relative;
  width: 100%;
  display: flex;
  align-items: flex-start;
  box-sizing: border-box;
  overflow: hidden;
}
.message-block .image {
  width: 77%;
}
.message-block .text-block {
  position: relative;
  width: 53.2%;
  margin-left: -30.8%;
  padding: clamp(1.5rem, 0.273rem + 5.45vw, 3rem) 4.6% 2rem;
  margin-top: 3.8em;
  background-color: rgba(255, 255, 255, 0.85);
  z-index: 1;
}
.message-block .text-block h3 {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 2.5rem;
  font-size: clamp(1.8rem, 1.227rem + 2.55vw, 2.5rem);
  letter-spacing: .2em;
  margin-bottom: 1em;
}
.message-block .text-block h3 span {
  font-size: 80%;
}
.message-block .text-block p:not(:last-child) {
  margin-bottom: 1em;
}
.message-block .text-block p.name {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  text-align: right;
}
.message-block .text-block p.name span {
  display: inline-block;
  font-size: clamp(1.4rem, 1.114rem + 1.27vw, 1.75rem);
  font-weight: 500;
  margin-left: .6em;
}
@media screen and (max-width: 768px) {
  .message-block {
    flex-direction: column;
  }
  .message-block .image {
    width: 100%;
    min-width: 486px;
  }
  .message-block .text-block {
    width: 85%;
    margin: -3rem auto 0;
  }
}


.section-management-ideal {
  background-color: var(--color-background);
  background-image: url(../image/company/bg-management-ideal.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.section-management-ideal .h2-block h2 {
  color: #fff;
}
.section-management-ideal .inner {
  padding: 0 clamp(2rem, 0.313rem + 7.5vw, 5rem);
}


.section-management-ideal .ideal-block {
  max-width: 910px;
  padding: clamp(3.8rem, 2.164rem + 7.27vw, 5.8rem) clamp(1rem, 0.182rem + 3.64vw, 2rem);
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  text-align: center;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0.80);
  margin: 0 auto;
  position: relative;
}
.section-management-ideal .ideal-block::before {
  content: '';
  display: block;
  width: 184px;
  max-width: 18.4%;
  aspect-ratio: 184 / 164;
  background-image: url(../image/company/logo-management-ideal.png);
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  margin-top: -8%;
  margin-left: -9%;
}

.section-management-ideal .ideal-block h3 {
  font-size: 2.56rem;
  font-size: clamp(1.8rem, 1.178rem + 2.76vw, 2.56rem);
  font-weight: 500;
  letter-spacing: .1em;
  margin-bottom: .9em;
  line-height: 1.4;
}
.section-management-ideal .ideal-block h3 span {
  display: inline-block;
}
.section-management-ideal .ideal-block h3 span.kana {
  font-size: 80%;
}
.section-management-ideal .ideal-block p {
  font-size: 1.59rem;
  font-size: clamp(1rem, 0.517rem + 2.15vw, 1.59rem);
  font-weight: 600;
  letter-spacing: .1em;
}


.section-quality {
  background-color: var(--color-background);
}
.quality-block {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 2em;
  font-weight: 400;
  max-width: 900px;
  margin: 0 auto;
  box-sizing: border-box;
}
.quality-block .text-block dl {
  font-weight: 600;
  margin-bottom: 2rem;
}
.quality-block .text-block p + p {
  margin-top: 1em;
}
.quality-block .text-block img {
  margin-bottom: 1.8em;
}
@media screen and (max-width: 600px) {
  .quality-block {
    flex-direction: column;
    align-items: center;
  }
}

.section-access {
  padding-bottom: 0;
}
.access-anchor {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-office {
  padding: clamp(2.5rem, 1.273rem + 5.45vw, 4rem) 0 clamp(3rem, 1.364rem + 7.27vw, 5rem);
}
.section-office:nth-of-type(even) {
  background-color: var(--color-background);
}
.section-office .inner {
  max-width: 900px;
}
.section-access .section-office h3 {
  font-size: clamp(1.2rem, 0.75rem + 2vw, 1.75rem);
  font-weight: 400;
  border-left: solid 3px var(--main-color);
  padding: 0 .6em;
  margin-bottom: .5em;
  line-height: 1.1;
}
.access-block {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  font-weight: 400;
}
.access-block span {
  display: inline-block;
}
.access-block dd {
  padding-left: 1.4em;
}


/* history */
.section-history {
  background-image: url(../image/company/bg-history.png);
  background-size: cover;
}
.history-block {
	display: flex;
	justify-content: space-between;
  letter-spacing: 0;
}
.history-block dl {
	display: flex;
	flex-wrap: wrap;
	width: 61%;
  padding-right: 1rem;
  box-sizing: border-box;
}
.history-block dt {
	font-size: 1.75rem;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1;
	width: 8rem;
	padding-bottom: 1em;
	box-sizing: border-box;
	padding-right: 1em;
}
.history-block dt span {
	font-size: 1rem;
	font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
	display: block;
	line-height: 1;
}
.history-block dd {
	width: calc( 100% - 8rem );
	padding-bottom: 1.75em;
	box-sizing: border-box;
  font-weight: 400;
}
.history-block .figs {
	width: 39%;
  max-width: 326px;
	text-align: right;
}
.history-block .figs figure + figure {
	margin-top: 1em;
}
.history-block figure figcaption {
	font-size: 0.8125rem;
	text-align: center;
}
@media screen and (max-width: 680px) {
  .history-block {
    font-size: 0.875rem;
  }
  .history-block dt,
  .history-block dd {
    width: 100%;
  }
  .history-block dt {
    font-size: 1.5rem;
    padding-bottom: 0.5em;
    padding-right: 0;
  }
  .history-block dt span {
    display: inline-block;
    margin-left: .6em;
  }

}
