/* =========================================
Company Page - Kenshin Care Service
========================================= */

.company-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 32px;
  margin: 0 auto 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #edf7f6;
  color: #2c7a7b;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.company-title-left {
  text-align: left;
}

.company-greeting-section {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfd 100%);
}

.company-greeting-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 38px;
  align-items: start;
}

.company-greeting-copy .page-paragraph + .page-paragraph {
  margin-top: 18px;
}

.company-message-card {
  padding: 34px 32px;
  border-radius: 30px;
  background: linear-gradient(180deg, #f4fbfa 0%, #edf7f6 100%);
  border: 1px solid rgba(44, 122, 123, 0.08);
  box-shadow: 0 18px 42px rgba(44, 122, 123, 0.08);
}

.company-message-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #2c7a7b;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.company-message-text {
  color: #435654;
  line-height: 1.95;
}

.company-message-points {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.company-message-points li {
  position: relative;
  padding: 12px 16px 12px 42px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(44, 122, 123, 0.08);
  color: #445857;
  font-weight: 700;
  line-height: 1.8;
}

.company-message-points li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #57aaa4 0%, #8fd5cf 100%);
  transform: translateY(-50%);
  box-shadow: 0 0 0 6px rgba(143, 213, 207, 0.18);
}

.company-info-section {
  background: linear-gradient(180deg, #f7fcfb 0%, #ffffff 100%);
}

.company-table-wrap {
  position: relative;
  padding: 28px;
  border-radius: 36px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
  border: 1px solid rgba(44, 122, 123, 0.1);
  box-shadow:
    0 24px 54px rgba(44, 122, 123, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.company-table-wrap::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(126, 201, 196, 0.16) 0%,
    rgba(126, 201, 196, 0) 72%
  );
  pointer-events: none;
}

.company-table-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 6px 8px 22px;
}

.company-table-head .section-title {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 1.2;
}

.company-table-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef8f7;
  color: #2c7a7b;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.company-table-sub {
  max-width: 430px;
  margin-top: 18px;
  color: #5a6d6b;
  font-size: 1rem;
  line-height: 1.8;
  text-align: right;
}

.company-table {
  position: relative;
  z-index: 1;
  margin: 0;
  border: 1px solid #e2efee;
  border-radius: 26px;
  overflow: hidden;
  background: #ffffff;
}

.company-row {
  display: grid;
  grid-template-columns: 230px 1fr;
  border-bottom: 1px solid #e2efee;
}

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

.company-row dt,
.company-row dd {
  padding: 24px 26px;
}

.company-row dt {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, #f7fcfb 0%, #eef8f7 100%);
  color: #2c7a7b;
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.company-row dt::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7fc8c2;
  box-shadow: 0 0 0 6px rgba(127, 200, 194, 0.15);
  flex: 0 0 auto;
}

.company-row dd {
  background: rgba(255, 255, 255, 0.98);
  color: #40514f;
  font-size: 1.05rem;
  line-height: 1.95;
}

.company-row:hover dd {
  background: #fbfefe;
}

/* 電話番号を少し強調 */
.company-row:nth-child(4) dd {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2c7a7b;
  letter-spacing: 0.01em;
}

/* 対応エリアも少しだけ強調 */
.company-row:nth-child(9) dd {
  font-weight: 700;
  color: #40514f;
}

.tel-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2c7a7b;
  text-decoration: none;
}

.tel-link:hover {
  opacity: 0.8;
}

.tel-link::after {
  content: none !important;
  display: none !important;
}

.tel-icon {
  font-size: 0.95rem;
  color: #2c7a7b;
}

a[href^="tel:"]::after {
  content: none !important;
}

/* 営業時間・定休日の4行を縦に揃える */
.info-line {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: start;
  gap: 12px;
}

.info-line + .info-line {
  margin-top: 8px;
}

.info-line strong {
  display: inline-block;
  color: #2c7a7b;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.company-number-section {
  background: #ffffff;
}

.number-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.number-card {
  padding: 26px 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfb 100%);
  border: 1px solid #dceceb;
  text-align: center;
  box-shadow: 0 12px 28px rgba(44, 122, 123, 0.06);
}

.number-card h3 {
  margin-bottom: 12px;
  color: #2c7a7b;
  font-size: 1.15rem;
  line-height: 1.6;
}

.number-card p {
  color: #334746;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.company-service-section {
  background: linear-gradient(180deg, #f7fcfb 0%, #ffffff 100%);
}

.company-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  height: 100%;
  padding: 32px 24px 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfb 100%);
  box-shadow: 0 12px 30px rgba(44, 122, 123, 0.08);
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(44, 122, 123, 0.12);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, #e8f6f4 0%, #dff2ef 100%);
  color: #2c7a7b;
  font-size: 1rem;
  font-weight: 700;
}

.service-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.service-card h3 {
  margin-bottom: 14px;
  color: #2c7a7b;
  font-size: 1.3rem;
  line-height: 1.5;
}

.service-card p {
  color: #40514f;
  line-height: 1.9;
}

.company-private-section {
  background: #ffffff;
}

.private-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.private-card {
  padding: 26px 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfd 100%);
  border: 1px solid #dceceb;
  box-shadow: 0 12px 28px rgba(44, 122, 123, 0.06);
  text-align: center;
}

.private-card h3 {
  margin-bottom: 12px;
  color: #2c7a7b;
  font-size: 1.15rem;
  line-height: 1.6;
}

.private-card p {
  color: #40514f;
  line-height: 1.85;
}

.company-private-note {
  margin-top: 26px;
  text-align: center;
  color: #4f6665;
  font-weight: 700;
  line-height: 1.9;
}

.company-consult-section {
  background: linear-gradient(180deg, #f7fcfb 0%, #ffffff 100%);
}

.company-access-section {
  background: #ffffff;
}

.access-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 28px;
  align-items: stretch;
  margin-top: 40px;
}

.access-map-wrap {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(44, 122, 123, 0.08);
  background: #ffffff;
  height: 100%;
}

.access-map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.access-card {
  padding: 30px 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, #f4fbfa 0%, #edf7f6 100%);
  border: 1px solid rgba(44, 122, 123, 0.08);
  box-shadow: 0 18px 40px rgba(44, 122, 123, 0.08);
}

.access-card h3 {
  margin-bottom: 10px;
  color: #2c7a7b;
  font-size: 1.18rem;
  line-height: 1.6;
}

.access-card h3 + p {
  margin-bottom: 22px;
}

.access-card p {
  color: #40514f;
  line-height: 1.95;
}

@media screen and (max-width: 1100px) {
  .number-grid,
  .company-service-grid,
  .private-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 1024px) {
  .company-greeting-inner,
  .access-layout {
    grid-template-columns: 1fr;
  }

  .company-table-wrap {
    padding: 18px;
  }

  .company-table-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .company-table-sub {
    max-width: none;
    margin-top: 4px;
    text-align: left;
  }

  .company-row {
    grid-template-columns: 190px 1fr;
  }
}

@media screen and (max-width: 767px) {
  .company-eyebrow {
    margin-bottom: 12px;
  }

  .company-title-left {
    text-align: center;
  }

  .company-greeting-inner {
    gap: 24px;
  }

  .company-message-card {
    padding: 26px 22px;
    border-radius: 24px;
  }

  .company-message-points li {
    padding: 12px 14px 12px 38px;
    border-radius: 16px;
  }

  .company-message-points li::before {
    left: 16px;
    width: 10px;
    height: 10px;
    box-shadow: 0 0 0 5px rgba(143, 213, 207, 0.18);
  }

  .company-table-wrap {
    padding: 16px;
    border-radius: 26px;
  }

  .company-table-head {
    gap: 10px;
    padding: 4px 4px 16px;
  }

  .company-table-sub {
    font-size: 0.92rem;
    line-height: 1.7;
  }

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

  .company-row dt,
  .company-row dd {
    padding: 16px 16px;
    line-height: 1.8;
  }

  .company-row dt {
    border-bottom: 1px solid #e2efee;
  }

  .company-row:nth-child(4) dd {
    font-size: 1.15rem;
  }

  .info-line {
    grid-template-columns: 86px 1fr;
    gap: 10px;
  }

  .number-grid,
  .company-service-grid,
  .private-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .number-card,
  .private-card,
  .service-card {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .number-card p {
    font-size: 1.2rem;
  }

  .access-map-wrap,
  .access-card {
    border-radius: 22px;
  }

  .access-map-wrap iframe {
    height: 320px;
  }

  .access-card {
    padding: 24px 20px;
  }
}
