@charset "UTF-8";

/* =========================================================
  Company Page
========================================================= */

.company-section {
  background: var(--color-white);
}

/* =========================================================
  Intro
========================================================= */

.company-intro {
  position: relative;
  margin-bottom: 28px;
  padding: 34px 38px;
  overflow: hidden;
  background:var(--color-main);
  color: var(--color-white);
  box-shadow: 0 10px 28px rgba(31, 63, 48, 0.16);
}

.company-intro::after {
  content: "COMPANY";
  position: absolute;
  right: 26px;
  bottom: -8px;
  color: rgba(255, 255, 255, 0.07);
  font-family: var(--font-en);
  font-size: 72px;
  line-height: 1;
  letter-spacing: 0.08em;
  font-weight: 700;
  pointer-events: none;
}

.company-intro__text {
  position: relative;
  z-index: 1;
  max-width: 960px;
}

.company-intro__label {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-en);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.company-intro h2 {
  margin: 0 0 16px;
  color: var(--color-white);
  font-size: 25px;
  line-height: 1.7;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.company-intro p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.9;
}

/* =========================================================
  Summary Cards
========================================================= */

.company-summary-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 42px;
}

.company-summary-card {
  position: relative;
  min-height: 170px;
  padding: 25px 26px 24px;
  overflow: hidden;
  border: 1px solid rgba(47, 93, 70, 0.16);
  background: #ffffff;
  box-shadow: 0 7px 20px rgba(31, 63, 48, 0.06);
}

.company-summary-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: var(--color-main);
}

.company-summary-card::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 84px;
  height: 84px;
  border: 1px solid rgba(47, 93, 70, 0.12);
  transform: rotate(45deg);
}

.company-summary-card__label {
  display: block;
  margin-bottom: 12px;
  color: var(--color-main);
  font-family: var(--font-en);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.company-summary-card h2 {
  margin: 0 0 10px;
  color: var(--color-main-dark);
  font-size: 20px;
  line-height: 1.55;
  font-weight: 700;
}

.company-summary-card p {
  margin: 0;
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.8;
}

/* =========================================================
  Blocks
========================================================= */


.company-note{
  margin-bottom: 22px;
  padding: 16px 38px;
  background: #f7f6f1;
	h3{
		font-size: 1rem;
		font-weight: 500;
	}
	p{
		padding:0 10px;
	}

}
@media screen and (max-width: 1024px) {
	.company-note{
  margin-bottom: 22px;
  padding: 16px 18px;
  background: #f7f6f1;
	h3{
		font-size: 1rem;
		font-weight: 500;
	}
	p{
		padding:0 10px;
	}

}
}
.company-block {
  margin-top: 42px;
  padding: 30px 34px;
  border: 1px solid rgba(47, 93, 70, 0.14);
  background: #ffffff;
  box-shadow: 0 7px 20px rgba(31, 63, 48, 0.05);
}

.company-block:first-of-type {
  margin-top: 0;
}

.company-block__title {
  position: relative;
  margin: 0 0 22px;
  padding: 12px 18px 12px 20px;
  background: #338b41;
  color: #ffffff;
  font-size: 21px;
  line-height: 1.5;
  font-weight: 700;
}

.company-block__title::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 46px;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
  transform: translateY(-50%);
}

/* =========================================================
  Profile Table
========================================================= */

.company-profile {
  margin: 0;
  border-top: 1px solid var(--color-border);
}

.company-profile div {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--color-border);
}

.company-profile dt {
  padding: 15px 18px;
  background: #f7f6f1;
  color: var(--color-main);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 700;
	max-width: 180px;	
}
@media screen and (max-width: 768px) {
.company-profile dt {
		max-width: inherit;	
}
}

.company-profile dd {
  margin: 0;
  padding: 15px 20px;
  color: var(--color-text);
  font-size: 14.5px;
  line-height: 1.8;
    font-weight: 500;

}

.company-profile--officer div {
  grid-template-columns: 220px 1fr;
}

@media screen and (max-width: 430px) {
  .company-profile .compact-wrap {
    line-height: 1.35;
  }
}

/* =========================================================
  Two Column
========================================================= */

.company-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 42px;
}

.company-two-column .company-block {
  margin-top: 0;
}

/* =========================================================
  List
========================================================= */

.company-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.company-list li {
  position: relative;
  padding: 13px 16px 13px 32px;
  border: 1px solid var(--color-border);
  background: #fbfdfb;
  color: var(--color-text);
  font-size: 14.5px;
  line-height: 1.7;
}

.company-list li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 1.5em;
  width: 7px;
  height: 7px;
  background: var(--color-main);
}

/* =========================================================
  Qualification
========================================================= */

.company-qualification-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.company-qualification-list li {
  position: relative;
  padding: 13px 16px 13px 34px;
  border: 1px solid var(--color-border);
  background: #fbfdfb;
  color: var(--color-main);
  font-size: 14.5px;
  line-height: 1.7;
  font-weight: 700;
}

.company-qualification-list li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 1.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-main);
}

/* =========================================================
  History
========================================================= */

.company-history-note {
  margin-bottom: 22px;
  padding: 16px 18px;
  background: #f7f6f1;
}

.company-history-note p {
  margin: 0;
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.8;
}

.company-history-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--color-border);
}

.company-history-list li {
  display: grid;
  grid-template-columns: 190px 1fr;
  border-bottom: 1px solid var(--color-border);
}

.company-history-list time {
  display: block;
  padding: 16px 18px;
  background: #f7f6f1;
  color: var(--color-main);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 700;
  white-space: nowrap;
	max-width: 180px;	
}
@media screen and (max-width: 768px) {
.company-history-list time {
		max-width: inherit;	
}
}
.company-history-list li > div {
  padding: 16px 20px;
  background: #ffffff;
}

.company-history-list h3 {
  margin: 0 0 6px;
  /*color: var(--color-main-dark);*/
  /*font-size: 17px;*/
	font-size: 15px;	
  line-height: 1.6;
 /* font-weight: 700;*/
font-weight: 500;	
}

.company-history-list p {
  margin: 0;
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.8;
}

/* =========================================================
  Responsive
========================================================= */

@media screen and (max-width: 1024px) {
  .company-summary-list {
    grid-template-columns: 1fr;
  }

  .company-two-column {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .company-qualification-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .company-intro {
    margin-bottom: 24px;
    padding: 26px 22px;
  }

  .company-intro::after {
    right: 16px;
    bottom: -2px;
    font-size: 42px;
  }

  .company-intro h2 {
    font-size: 19px;
    line-height: 1.7;
  }

  .company-intro p {
    font-size: 14px;
    line-height: 1.8;
  }

  .company-summary-list {
    gap: 14px;
    margin-bottom: 32px;
  }

  .company-summary-card {
    min-height: auto;
    padding: 22px 22px 21px;
  }

  .company-summary-card h2 {
    font-size: 18px;
  }

  .company-block {
    margin-top: 32px;
    padding: 24px 5px;
  }

  .company-block__title {
    margin-bottom: 18px;
    padding: 10px 15px;
    font-size: 18px;
  }

  .company-block__title::after {
    display: none;
  }

  .company-profile div,
  .company-profile--officer div {
    grid-template-columns: 1fr;
  }

  .company-profile dt {
    padding: 11px 14px;
    font-size: 13.5px;
  }

  .company-profile dd {
    padding: 13px 14px;
    font-size: 14px;
  }

  .company-two-column {
    margin-top: 32px;
  }

  .company-list li,
  .company-qualification-list li {
    font-size: 14px;
  }

  .company-qualification-list {
    grid-template-columns: 1fr;
  }

  .company-history-note {
    margin-bottom: 18px;
    padding: 14px 16px;
  }

  .company-history-list li {
    grid-template-columns: 1fr;
  }

  .company-history-list time {
    padding: 12px 14px 8px;
    font-size: 13.5px;
  }

  .company-history-list li > div {
    padding: 0 14px 14px;
  /*  background: #f7f6f1;*/
  }

  .company-history-list h3 {
    font-size: 16px;
  }

  .company-history-list p {
        font-size: 15px;
  }
}
/* =========================================================
  Page Title Background Text
========================================================= */

body.company .page-title-section {
  position: relative;
  overflow: hidden;
}

body.company .page-title-section::after {
  content: "COMPANY";
  position: absolute;

  /* 広い画面ではメインコンテンツ幅の右端付近で止める */
  right: max(26px, calc((100% - 1200px) / 2 + 26px));

  /* 背景色の下端に密着 */
  bottom: -8px;

  z-index: 0;
  color: rgba(47, 93, 70, 0.07);
  font-family: var(--font-en);
  font-size: 72px;
  line-height: 1;
  letter-spacing: 0.08em;
  font-weight: 700;
  pointer-events: none;
}

body.company .page-title-section .inner {
  position: relative;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  body.company .page-title-section::after {
    right: 16px;
    bottom: -2px;
    font-size: 42px;
  }
}