/* =========================================================
   TEAM ONE
   会社・工場情報ページ
   company.css
   ========================================================= */


/* =========================================================
   HERO
   ========================================================= */

.company-hero {
  width: 100%;
  overflow: hidden;
  background: #f3f3f3;
}

.company-hero picture {
  display: block;
  max-width: 1100px;
  margin: 0 auto;
}

.company-hero img {
  display: block;
  width: 100%;
  height: auto;
}


/* =========================================================
   PAGE COMMON
   ========================================================= */

.subpage {
  background: #fff;
}

.page-section {
  padding: 68px 0;
}

.page-section.alt {
  background: var(--soft);
}

.section-eyebrow {
  margin: 0 0 7px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.section-eyebrow.center,
.page-heading.center {
  text-align: center;
}

.page-heading {
  margin: 0 0 16px;
  font-size: 31px;
  line-height: 1.45;
  font-weight: 900;
}

.page-heading span {
  color: var(--red);
}

.page-lead {
  max-width: 820px;
  margin: 0 auto 30px;
  color: #555;
  text-align: center;
  font-size: 14px;
  line-height: 1.9;
}


/* =========================================================
   STRENGTH
   ========================================================= */

.company-strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.company-strength-grid article {
  padding: 28px 22px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.company-strength-grid i {
  margin-bottom: 14px;
  color: var(--red);
  font-size: 38px;
}

.company-strength-grid h2 {
  margin: 0 0 10px;
  font-size: 17px;
}

.company-strength-grid p {
  margin: 0;
  color: #555;
  font-size: 12px;
  line-height: 1.8;
}


/* =========================================================
   FACTORY
   ========================================================= */

.factory-grid {
  display: grid;
  grid-template-columns: 1fr 46%;
  gap: 36px;
  align-items: center;
}

.factory-copy > p:not(.section-eyebrow) {
  margin: 0 0 18px;
  color: #555;
  font-size: 13px;
  line-height: 1.9;
}

.factory-info {
  margin: 0;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
}

.factory-info div {
  display: grid;
  grid-template-columns: 110px 1fr;
  border-bottom: 1px solid #eee;
}

.factory-info div:last-child {
  border-bottom: 0;
}

.factory-info dt,
.factory-info dd {
  margin: 0;
  padding: 11px 14px;
  font-size: 12px;
}

.factory-info dt {
  background: #fafafa;
  font-weight: 900;
}

.factory-info dd {
  font-weight: 700;
}

.factory-info a {
  color: var(--red);
  font-weight: 900;
}

.factory-photo {
  min-height: 330px;
  overflow: hidden;
  border-radius: 13px;
  background: #eee;
  box-shadow: var(--shadow);
}

.factory-photo img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}


/* =========================================================
   COMPANY PROFILE
   ========================================================= */

.company-profile-card {
  max-width: 920px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.company-profile-table {
  width: 100%;
  border-collapse: collapse;
}

.company-profile-table th,
.company-profile-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #eee;
  text-align: left;
  vertical-align: top;
  font-size: 13px;
}

.company-profile-table tr:last-child th,
.company-profile-table tr:last-child td {
  border-bottom: 0;
}

.company-profile-table th {
  width: 190px;
  background: #fafafa;
  font-weight: 900;
}


/* =========================================================
   SUPPORT DIAL
   ========================================================= */

.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.support-grid a {
  display: flex;
  min-height: 125px;
  padding: 20px 14px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  border-radius: 11px;
  background: #fff;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.support-grid a:hover {
  border-color: var(--red);
}

.support-grid span {
  margin-bottom: 8px;
  color: #444;
  font-size: 12px;
  font-weight: 900;
}

.support-grid strong {
  color: var(--red);
  font-size: 20px;
  line-height: 1.2;
}

.support-grid small {
  margin-top: 6px;
  color: #777;
  font-size: 10px;
}


/* =========================================================
   BUSINESS INFORMATION
   ========================================================= */

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.business-grid > div {
  padding: 24px;
  border: 1px solid #ddd;
  border-radius: 11px;
  background: #fff;
}

.business-grid .page-heading {
  font-size: 22px;
}

.info-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  position: relative;
  padding: 9px 0 9px 18px;
  border-bottom: 1px solid #eee;
  color: #444;
  font-size: 12px;
  line-height: 1.7;
}

.info-list li:last-child {
  border-bottom: 0;
}

.info-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 8px;
}


/* =========================================================
   GROUP SHOP
   ========================================================= */

.group-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  align-items: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 30px;
  border: 1px solid #ddd;
  border-radius: 13px;
  background: #fff;
}

.group-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #fff0f0;
  color: var(--red);
  font-size: 46px;
}

.group-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.group-card p {
  margin: 5px 0;
  color: #555;
  font-size: 12px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media screen and (max-width: 980px) {
  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .business-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .company-hero picture {
    max-width: none;
  }

  .company-hero img {
    width: 100%;
    height: auto;
  }

  .page-section {
    padding: 48px 0;
  }

  .page-heading {
    font-size: 23px;
  }

  .page-lead {
    font-size: 13px;
  }

  .company-strength-grid {
    grid-template-columns: 1fr;
  }

  .factory-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .factory-photo,
  .factory-photo img {
    min-height: 250px;
  }

  .factory-info div {
    grid-template-columns: 92px 1fr;
  }

  .company-profile-table,
  .company-profile-table tbody,
  .company-profile-table tr,
  .company-profile-table th,
  .company-profile-table td {
    display: block;
    width: 100%;
  }

  .company-profile-table tr {
    border-bottom: 1px solid #ddd;
  }

  .company-profile-table tr:last-child {
    border-bottom: 0;
  }

  .company-profile-table th {
    padding: 10px 14px 5px;
    border-bottom: 0;
    background: #fafafa;
    color: #555;
    font-size: 11px;
  }

  .company-profile-table td {
    padding: 6px 14px 12px;
    border-bottom: 0;
    font-size: 13px;
  }

  .support-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .support-grid a {
    min-height: 108px;
    padding: 15px 8px;
  }

  .support-grid strong {
    font-size: 17px;
  }

  .group-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 17px;
    text-align: center;
  }

  .group-icon {
    margin: 0 auto;
  }
}

@media screen and (max-width: 430px) {
  .support-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   会社ページ HERO非表示
   ========================================================= */

.company-hero {
  display: none;
}

/* =========================================================
   会社ページ 導入部分
   ========================================================= */

@media screen and (max-width: 768px) {
  .company-intro {
    padding-top: 32px;
  }
}