@charset "utf-8";
/* CSS Document */
/* =========================================
   樫の会 企業ページ
========================================= */

.page-company {
  color: #4d3827;
}

/* ファーストビュー */
.company-hero {
  padding: 88px 0 80px;
  background: #f8faf5;
}

.company-hero__head {
  max-width: 760px;
  margin: 0 auto 54px;
}

.company-hero__eyebrow {
  margin-bottom: 14px;
  color: #78a266;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.company-hero h1 {
  margin-bottom: 20px;
  color: #4d3827;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.35;
}

.company-hero__lead {
  margin: 0;
  color: #55724f;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.8;
}

.company-hero__about,
.company-hero__feature {
  padding: 34px;
  border-radius: 22px;
  background: #fffdf8;
}

.company-hero__about h2,
.company-hero__feature h2,
.company-hero__philosophy-box h2 {
  margin-bottom: 16px;
  color: #55724f;
  font-size: 1.2rem;
  font-weight: 700;
}

.company-hero__about p,
.company-hero__feature p {
  margin-bottom: 1em;
  line-height: 2;
}

.company-hero__about p:last-child,
.company-hero__feature p:last-child {
  margin-bottom: 0;
}

.company-hero__side {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.company-hero__philosophy-box {
  padding: 26px 30px;
  border-left: 4px solid #7fa86d;
  border-radius: 0 18px 18px 0;
  background: #edf4e8;
}

.company-hero__philosophy-box p {
  margin: 0;
  color: #4f6f55;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.9;
}

.company-hero__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.company-hero__photos figure {
  margin: 0;
}

.company-hero__photos img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(73, 92, 58, 0.1);
}

.company-hero__photos figcaption {
  margin-top: 8px;
  color: #6f624f;
  font-size: 0.88rem;
  text-align: center;
}

@media (max-width: 991.98px) {
  .company-hero {
    padding: 64px 0;
  }
}

@media (max-width: 767.98px) {
  .company-hero {
    padding: 50px 0;
  }

  .company-hero__head {
    margin-bottom: 36px;
  }

  .company-hero__about,
  .company-hero__feature {
    padding: 26px 22px;
    border-radius: 18px;
  }

  .company-hero__philosophy-box {
    padding: 22px;
  }

  .company-hero__photos {
    gap: 12px;
  }

  .company-hero__photos img {
    border-radius: 14px;
  }
}

.company-hero__left {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* 代表挨拶 */
.company-message {
  padding: 80px 0;
  background: #fffdf8;
}

.company-message__photo {
  overflow: hidden;
  border-radius: 24px;
  background: #edf2e8;
}

.company-message__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.company-message__text {
  line-height: 2;
}

.company-message__text p {
  margin-bottom: 1.15em;
}

.company-message__name {
  margin-bottom: 28px !important;
  color: #6a5a47;
  line-height: 1.7;
}

.company-message__name strong {
  display: inline-block;
  margin-top: 4px;
  color: #4d3827;
  font-size: 1.65rem;
  letter-spacing: 0.08em;
}

.company-message__note {
  margin-top: 24px;
  color: #8c8276;
  font-size: 0.88rem;
}

/* 代表プロフィール */
.company-profile {
  max-width: 920px;
  margin: 64px auto 0;
  padding: 42px;
  border-radius: 24px;
  background: #f8f4ec;
}

.company-profile h3,
.company-profile h4 {
  color: #4d3827;
  font-weight: 700;
}

.company-profile h3 {
  margin-bottom: 28px;
  font-size: 1.45rem;
  text-align: center;
}

.company-profile h4 {
  margin: 34px 0 14px;
  font-size: 1.08rem;
}

.company-profile p {
  margin-bottom: 1em;
  line-height: 2;
}

.company-profile__list {
  margin: 0;
}

.company-profile__list > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  border-bottom: 1px solid #dfd5c6;
}

.company-profile__list dt,
.company-profile__list dd {
  margin: 0;
  padding: 14px 0;
}

.company-profile__list dt {
  color: #6f624f;
  font-weight: 700;
}

.company-profile__activity {
  margin: 0;
  padding-left: 1.2em;
  line-height: 2;
}

/* 法人概要 */
.company-overview {
  padding: 80px 0;
  background: #f4f8f1;
}

.company-overview__table-wrap {
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #d8e0d1;
  border-radius: 18px;
  background: #fff;
}

.company-overview__table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.company-overview__table th,
.company-overview__table td {
  padding: 18px 24px;
  border-bottom: 1px solid #d8e0d1;
  text-align: left;
  vertical-align: middle;
}

.company-overview__table tr:last-child th,
.company-overview__table tr:last-child td {
  border-bottom: none;
}

.company-overview__table th {
  width: 28%;
  background: #edf4e8;
  color: #55724f;
  font-weight: 700;
}

.company-overview__table td {
  line-height: 1.8;
}

.company-overview__table a {
  color: #4d3827;
  text-decoration-color: #98bc87;
  text-underline-offset: 3px;
}

/* アクセス・書類 */
.company-access {
  padding: 80px 0;
  background: #fffdf8;
}

.company-documents {
  height: 100%;
  padding: 34px;
  border-radius: 20px;
  background: #f8f4ec;
}

.company-documents h3 {
  margin-bottom: 20px;
  color: #4d3827;
  font-size: 1.35rem;
  font-weight: 700;
}

.company-documents ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.company-documents li {
  border-bottom: 1px dotted #cdbfac;
}

.company-documents li:last-child {
  border-bottom: none;
}

.company-documents a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  color: #4d3827;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.company-documents a:hover {
  padding-left: 6px;
  color: #5d963f;
}

.company-documents a span {
  color: #79a767;
  font-size: 1.25rem;
}

.company-documents__note {
  margin: 20px 0 0;
  color: #8c8276;
  font-size: 0.88rem;
}

/* 採用情報 */
.company-recruit {
  padding: 80px 0;
  background: #f8faf5;
}

.company-recruit__box {
  max-width: 900px;
  margin: 0 auto;
  padding: 42px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(73, 92, 58, 0.08);
  text-align: center;
}

.company-recruit__box > p {
  margin-bottom: 28px;
  line-height: 1.9;
}

.company-recruit__buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.company-recruit__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 230px;
  padding: 15px 24px;
  border: 2px solid #7fa86d;
  border-radius: 999px;
  background: #7fa86d;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.company-recruit__link:hover {
  transform: translateY(-2px);
  background: #6c965a;
  color: #fff;
}

.company-recruit__link--outline {
  background: #fff;
  color: #5d7c55;
}

.company-recruit__link--outline:hover {
  background: #edf4e8;
  color: #4f6f55;
}

.company-documents__lead {
  margin-bottom: 24px;
  line-height: 1.9;
}

.company-access-info {
  margin: 0 0 30px;
}

.company-access-info dt {
  margin-top: 16px;
  color: #6f624f;
  font-size: 0.9rem;
  font-weight: 700;
}

.company-access-info dt:first-child {
  margin-top: 0;
}

.company-access-info dd {
  margin: 4px 0 0;
  line-height: 1.8;
}

.company-access-info a {
  display: inline;
  padding: 0;
  color: #4d3827;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.company-access-info a:hover {
  padding-left: 0;
}

.company-documents__sub-title {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid #dfd5c6;
}

.company-hero__body {
  margin-top: 34px;
}

.company-hero__block {
  margin-top: 28px;
}

.company-hero__block h2 {
  margin-bottom: 12px;
  color: #55724f;
  font-size: 1.08rem;
  font-weight: 700;
}

.company-hero__block p {
  margin-bottom: 0.9em;
  line-height: 2;
}

.company-hero__block--philosophy {
  margin-top: 34px;
  padding: 24px 26px;
  border-left: 4px solid #7fa86d;
  border-radius: 0 16px 16px 0;
  background: #eef4e9;
}

.company-hero__philosophy {
  margin: 0;
  color: #4f6f55;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.9;
}

@media (max-width: 767.98px) {
  .company-hero__body {
    margin-top: 28px;
    text-align: left;
  }

  .company-hero__block--philosophy {
    padding: 20px;
  }
}

/* タブレット以下 */
@media (max-width: 991.98px) {
  .company-hero,
  .company-message,
  .company-overview,
  .company-access,
  .company-recruit {
    padding: 64px 0;
  }

  .company-hero__photos {
    margin: 0 auto;
  }
}

.company-recruit__job {
  max-width: 720px;
  margin: 0 auto 28px;
  padding: 28px 30px;
  border-radius: 18px;
  background: #f8f4ec;
  text-align: left;
}

.company-recruit__job h3 {
  margin-bottom: 18px;
  color: #4d3827;
  font-size: 1.15rem;
  font-weight: 700;
}

.company-recruit__job p {
  margin-bottom: 1em;
  line-height: 2;
}

.company-recruit__job p:last-child {
  margin-bottom: 0;
}

.company-recruit__site-note {
  margin-bottom: 24px;
  color: #6f624f;
  font-weight: 700;
}

/* スマホ */
@media (max-width: 767.98px) {
  .company-hero,
  .company-message,
  .company-overview,
  .company-access,
  .company-recruit {
    padding: 50px 0;
  }

  .company-hero__text {
    text-align: center;
  }

  .company-hero__text > p:last-child {
    margin-right: auto;
    margin-left: auto;
    text-align: left;
  }

  .company-hero__photos {
    gap: 12px;
  }

  .company-hero__photos figure:nth-child(2) {
    margin-top: 24px;
  }

  .company-hero__photos img {
    border-radius: 16px;
  }

  .company-message__photo {
    max-width: 280px;
    margin: 0 auto;
  }

  .company-profile,
  .company-recruit__box,
  .company-documents {
    padding: 28px 22px;
    border-radius: 18px;
  }

  .company-profile {
    margin-top: 44px;
  }

  .company-profile__list > div {
    grid-template-columns: 88px 1fr;
  }

  .company-overview__table th,
  .company-overview__table td {
    padding: 14px 16px;
    font-size: 0.92rem;
  }

  .company-overview__table th {
    width: 34%;
  }

  .company-recruit__buttons {
    flex-direction: column;
  }

  .company-recruit__link {
    width: 100%;
    min-width: 0;
  }

  .company-recruit__job {
    padding: 24px 20px;
  }
}