/* =========================================================
   福一調査会｜会社概要
   Template: page-company.php
   ========================================================= */


/* ---------------------------------------------------------
   共通
   --------------------------------------------------------- */

.fci-company-lead-simple,
.fci-company-lead-simple *,
.fci-cooperation,
.fci-cooperation *,
.fci-area-clean,
.fci-area-clean *,
.fci-company-consult-simple,
.fci-company-consult-simple * {
  box-sizing: border-box;
}

.fci-company-lead-simple,
.fci-company-table,
.fci-cooperation,
.fci-area-clean,
.fci-company-consult-simple {
  font-family: inherit;
}

.fci-company-lead-simple,
.fci-company-table,
.fci-cooperation,
.fci-area-clean,
.fci-company-consult-simple {
  width: 100%;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}


/* ---------------------------------------------------------
   会社概要｜導入
   --------------------------------------------------------- */

.fci-company-lead-simple {
  margin-top: 48px;
  margin-bottom: 44px;
  padding: 40px 24px 44px;
  border-top: 1px solid #d6e3e8;
  border-bottom: 1px solid #d6e3e8;
}

.fci-company-lead-simple__label,
.fci-area-clean__label,
.fci-company-consult-simple__label {
  margin: 0 0 12px;
  color: #2f7f9f;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: center;
}

.fci-company-lead-simple__title,
.fci-area-clean__title,
.fci-company-consult-simple__title {
  color: #16384b;
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
}

.fci-company-lead-simple__title {
  margin: 0 0 32px;
  font-size: 28px;
}

.fci-company-lead-simple__content {
  max-width: 720px;
  margin: 0 auto;
}

.fci-company-lead-simple__lead {
  margin: 0 0 26px;
  color: #16384b;
  font-size: 18px;
  line-height: 1.9;
  font-weight: 700;
}

.fci-company-lead-simple__body {
  display: grid;
  gap: 18px;
}

.fci-company-lead-simple__body p {
  margin: 0;
  color: #344955;
  font-size: 16px;
  line-height: 1.95;
  font-weight: 500;
}

.fci-company-lead-simple__marker,
.fci-area-clean__catch span,
.fci-area-clean__meeting-text strong {
  color: #14384a;
  font-weight: 800;
  background: linear-gradient(
    transparent 62%,
    rgba(133, 199, 218, 0.34) 62%
  );
}

.fci-company-lead-simple__strong {
  color: #16384b;
  font-weight: 700;
}


/* ---------------------------------------------------------
   会社情報テーブル
   --------------------------------------------------------- */

.fci-company-table {
  margin-top: 40px;
  margin-bottom: 40px;
  border-collapse: collapse;
  border: 1px solid #d9d9d9;
}

.fci-company-table th,
.fci-company-table td {
  padding: 18px 20px;
  border: 1px solid #d9d9d9;
  font-size: 16px;
  line-height: 1.8;
  vertical-align: top;
}

.fci-company-table th {
  width: 28%;
  background: #f3f3f3;
  color: #333;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.fci-company-table td {
  background: #fff;
  color: #333;
}

.fci-company-table a {
  color: #2f7f9f;
  font-weight: 700;
  text-decoration: underline;
}

.fci-company-table__license-img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-top: 12px;
}


/* ---------------------------------------------------------
   提携・連携体制
   --------------------------------------------------------- */

.fci-cooperation {
  margin-top: 56px;
  margin-bottom: 40px;
  padding: 0 18px;
  border: 0;
}

.fci-cooperation__heading {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.fci-cooperation__label {
  margin: 0 0 9px;
  color: #2388b1;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.fci-cooperation__title {
  margin: 0;
  color: #194d68;
  font-size: 28px;
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.fci-cooperation__intro {
  margin: 16px 0 0;
  color: #405d6c;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 500;
}

.fci-cooperation__panel {
  overflow: hidden;
  border: 1px solid #b9d9e7;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(22, 99, 131, 0.1);
}

.fci-cooperation__group {
  display: grid;
  grid-template-columns: 288px minmax(0, 1fr);
  align-items: stretch;
  background: #fff;
}

.fci-cooperation__group + .fci-cooperation__group {
  border-top: 1px solid #b9d9e7;
}

.fci-cooperation__group-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 32px;
  background: linear-gradient(
    135deg,
    #176382 0%,
    #2383a7 58%,
    #40a0bb 100%
  );
  color: #fff;
}

.fci-cooperation__group-label {
  align-self: flex-start;
  display: inline-block;
  margin: 0 0 15px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.09em;
  white-space: nowrap;
}

.fci-cooperation__group-title {
  margin: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 800;
}

.fci-cooperation__group-text {
  margin: 11px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 600;
}

/* 民間救急は1件のみのため縦幅を調整 */
.fci-cooperation__group:last-child .fci-cooperation__group-heading {
  padding-top: 27px;
  padding-bottom: 27px;
}

.fci-cooperation__group:last-child .fci-cooperation__group-label {
  margin-bottom: 12px;
}

.fci-cooperation__group:last-child .fci-cooperation__group-text {
  margin-top: 8px;
}

.fci-cooperation__list {
  display: grid;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0 34px;
  list-style: none;
  background: #fff;
}

.fci-cooperation__group:first-child .fci-cooperation__list {
  grid-template-rows: repeat(3, minmax(108px, auto));
}

.fci-cooperation__group:last-child .fci-cooperation__list {
  grid-template-rows: minmax(155px, 1fr);
}

.fci-cooperation__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
  padding: 22px 0;
}

.fci-cooperation__item + .fci-cooperation__item {
  border-top: 1px solid #d5e8f0;
}

.fci-cooperation__office {
  min-width: 0;
}

.fci-cooperation__office-name {
  margin: 0;
  color: #174b66;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 800;
}

.fci-cooperation__person {
  margin: 5px 0 0;
  color: #607984;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
}

.fci-cooperation__link {
  position: relative;
  flex: 0 0 auto;
  display: inline-block;
  padding: 10px 27px 10px 12px;
  color: #1680aa;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.fci-cooperation__link::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: 0;
  font-size: 17px;
  line-height: 1;
  transform: translateY(-50%);
}

.fci-cooperation__link:hover {
  color: #105b79;
  transform: translateX(3px);
}

.fci-cooperation__note {
  margin: 17px 2px 0;
  color: #627b87;
  font-size: 12.5px;
  line-height: 1.7;
  text-align: right;
}


/* ---------------------------------------------------------
   対応エリア
   --------------------------------------------------------- */

.fci-area-clean {
  margin-top: 48px;
  margin-bottom: 44px;
  padding: 40px 24px 44px;
  border: 0;
}

.fci-area-clean__title {
  margin: 0 0 26px;
  font-size: 28px;
}

.fci-area-clean__main {
  max-width: 780px;
  margin: 0 auto;
  padding: 32px 30px;
  border: 1px solid #d6e3e8;
  border-radius: 16px;
  background:
    radial-gradient(
      circle at top right,
      rgba(133, 199, 218, 0.18),
      transparent 34%
    ),
    linear-gradient(135deg, #f6fbfd 0%, #fff 58%);
  text-align: center;
}

.fci-area-clean__catch {
  margin: 0 0 14px;
  color: #16384b;
  font-size: 24px;
  line-height: 1.6;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.fci-area-clean__catch span {
  color: #2f7f9f;
}

.fci-area-clean__lead {
  margin: 0;
  color: #344955;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 500;
}

.fci-area-clean__meeting {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: start;
  gap: 16px;
  max-width: 720px;
  margin: 24px auto 0;
  padding-top: 22px;
  border-top: 1px solid #e0eaee;
  text-align: left;
}

.fci-area-clean__meeting-label {
  color: #2f7f9f;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 800;
}

.fci-area-clean__meeting-text {
  margin: 0;
  color: #344955;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 500;
}


/* ---------------------------------------------------------
   無料相談
   --------------------------------------------------------- */

.fci-company-consult-simple {
  margin-top: 56px;
  margin-bottom: 36px;
  padding: 40px 24px 44px;
  border-top: 1px solid #d6e3e8;
}

.fci-company-consult-simple__title {
  margin: 0 0 30px;
  font-size: 26px;
}

.fci-company-consult-simple__content {
  max-width: 720px;
  margin: 0 auto;
}

.fci-company-consult-simple__lead {
  margin: 0 0 26px;
  color: #16384b;
  font-size: 17px;
  line-height: 1.9;
  font-weight: 700;
  text-align: left;
}

.fci-company-consult-simple__text {
  display: grid;
  gap: 16px;
  text-align: left;
}

.fci-company-consult-simple__text p {
  margin: 0;
  color: #344955;
  font-size: 16px;
  line-height: 1.95;
  font-weight: 500;
}

.fci-company-consult-simple__reassurance {
  color: #16384b;
  font-weight: 700;
}

.fci-company-consult-simple__closing {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 4px solid #5ba5bf;
  border-radius: 0 10px 10px 0;
  background: #f2f8fa;
  color: #16384b;
  font-weight: 700;
  text-align: center;
}

.fci-company-consult-simple__note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 26px auto 0;
  text-align: center;
}

.fci-company-consult-simple__note span {
  display: inline-block;
  padding: 8px 13px;
  border-radius: 999px;
  background: #eef7fa;
  color: #2f6f88;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
}

.fci-company-consult-simple__contact {
  max-width: 920px;
  margin: 34px auto 0;
  padding: 24px;
  border-radius: 17px;
  background:
    radial-gradient(
      circle at top right,
      rgba(112, 190, 215, 0.2),
      transparent 36%
    ),
    linear-gradient(120deg, #e6f2f6 0%, #d9ebf1 100%);
}

.fci-company-consult-simple__contact-title {
  margin: 0 0 18px;
  color: #16384b;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 700;
  text-align: center;
}

.fci-company-consult-simple__contact-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.fci-company-consult-simple__contact-panel {
  padding: 22px 22px 20px;
  border: 1px solid rgba(42, 104, 130, 0.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(31, 76, 94, 0.08);
  text-align: center;
}

.fci-company-consult-simple__contact-label {
  margin: 0 0 14px;
  color: #315365;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 700;
}

.fci-company-consult-simple__contact-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 66px;
  padding: 11px 52px 11px 22px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 17px rgba(25, 65, 84, 0.18);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.fci-company-consult-simple__contact-button:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 11px 21px rgba(25, 65, 84, 0.24);
}

.fci-company-consult-simple__contact-button--phone {
  background: linear-gradient(105deg, #17465f, #347f9f);
}

.fci-company-consult-simple__contact-button--line {
  background: linear-gradient(105deg, #079646, #25bd68);
}

.fci-company-consult-simple__contact-button::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  transform: translateY(-50%);
}

.fci-company-consult-simple__button-inner {
  display: block;
  text-align: center;
}

.fci-company-consult-simple__button-sub {
  display: block;
  margin-bottom: 1px;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 700;
}

.fci-company-consult-simple__button-main {
  display: block;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.fci-company-consult-simple__contact-button--line
  .fci-company-consult-simple__button-main {
  font-size: 17px;
}

.fci-company-consult-simple__contact-note {
  margin: 12px 0 0;
  color: #5a707b;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 600;
}

.fci-company-consult-simple__contact-mail {
  margin: 17px 0 0;
  color: #4a6470;
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.fci-company-consult-simple__contact-mail a {
  color: #217797;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ---------------------------------------------------------
   SP｜768px以下
   --------------------------------------------------------- */

@media screen and (max-width: 768px) {

  .fci-company-lead-simple {
    width: auto;
    margin: 36px 14px 34px;
    padding: 30px 0 34px;
  }

  .fci-company-lead-simple__label {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .fci-company-lead-simple__title {
    margin-bottom: 24px;
    font-size: 22px;
    line-height: 1.6;
  }

  .fci-company-lead-simple__lead {
    margin-bottom: 22px;
    font-size: 16px;
    line-height: 1.85;
  }

  .fci-company-lead-simple__body {
    gap: 16px;
  }

  .fci-company-lead-simple__body p {
    font-size: 16px;
    line-height: 1.9;
  }


  /* 会社情報 */

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

  .fci-company-table {
    border-bottom: 0;
  }

  .fci-company-table tr {
    border-bottom: 1px solid #d9d9d9;
  }

  .fci-company-table th {
    padding: 14px 16px 10px;
    border-bottom: 0;
    white-space: normal;
  }

  .fci-company-table td {
    padding: 10px 16px 16px;
    border-top: 0;
  }


  /* 提携・連携 */

  .fci-cooperation {
    margin: 42px auto 30px;
    padding: 0 14px;
  }

  .fci-cooperation__heading {
    margin-bottom: 26px;
  }

  .fci-cooperation__label {
    font-size: 11px;
  }

  .fci-cooperation__title {
    font-size: 23px;
    line-height: 1.6;
  }

  .fci-cooperation__intro {
    margin-top: 13px;
    font-size: 16px;
    line-height: 1.85;
    text-align: left;
  }

  .fci-cooperation__panel {
    border-radius: 16px;
  }

  .fci-cooperation__group {
    display: block;
  }

  .fci-cooperation__group-heading,
  .fci-cooperation__group:last-child .fci-cooperation__group-heading {
    padding: 23px 21px;
  }

  .fci-cooperation__group-label,
  .fci-cooperation__group:last-child .fci-cooperation__group-label {
    margin-bottom: 12px;
    padding: 5px 10px;
    font-size: 10px;
  }

  .fci-cooperation__group-title {
    font-size: 20px;
  }

  .fci-cooperation__group-text,
  .fci-cooperation__group:last-child .fci-cooperation__group-text {
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.7;
  }

  .fci-cooperation__list,
  .fci-cooperation__group:first-child .fci-cooperation__list,
  .fci-cooperation__group:last-child .fci-cooperation__list {
    display: block;
    height: auto;
    padding: 0 20px;
  }

  .fci-cooperation__item {
    min-height: 96px;
    padding: 19px 0;
  }

  .fci-cooperation__office-name {
    font-size: 16px;
  }

  .fci-cooperation__person {
    margin-top: 4px;
    font-size: 16px;
  }

  .fci-cooperation__link {
    padding-right: 23px;
    font-size: 13px;
  }

  .fci-cooperation__note {
    margin-top: 14px;
    font-size: 12px;
    text-align: left;
  }


  /* 対応エリア */

  .fci-area-clean {
    width: auto;
    margin: 36px 14px 34px;
    padding: 30px 0 34px;
  }

  .fci-area-clean__label {
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .fci-area-clean__title {
    margin-bottom: 22px;
    font-size: 22px;
    line-height: 1.6;
  }

  .fci-area-clean__main {
    padding: 24px 18px;
    border-radius: 14px;
    text-align: left;
  }

  .fci-area-clean__catch {
    font-size: 20px;
    line-height: 1.65;
  }

  .fci-area-clean__lead {
    font-size: 16px;
    line-height: 1.85;
  }

  .fci-area-clean__meeting {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 20px;
    padding-top: 18px;
  }

  .fci-area-clean__meeting-text {
    font-size: 16px;
    line-height: 1.85;
  }


  /* 無料相談 */

  .fci-company-consult-simple {
    width: auto;
    margin: 42px 14px 30px;
    padding: 30px 0 34px;
  }

  .fci-company-consult-simple__label {
    font-size: 11px;
  }

  .fci-company-consult-simple__title {
    margin-bottom: 24px;
    font-size: 22px;
    line-height: 1.6;
  }

  .fci-company-consult-simple__lead {
    margin-bottom: 22px;
    font-size: 16px;
    line-height: 1.85;
  }

  .fci-company-consult-simple__text p {
    font-size: 16px;
    line-height: 1.9;
  }

  .fci-company-consult-simple__closing {
    padding: 16px;
  }

  .fci-company-consult-simple__note {
    gap: 8px;
    margin-top: 22px;
  }

  .fci-company-consult-simple__note span {
    padding: 7px 11px;
    font-size: 12px;
  }

  .fci-company-consult-simple__contact {
    margin-top: 28px;
    padding: 18px 14px;
    border-radius: 14px;
  }

  .fci-company-consult-simple__contact-title {
    margin-bottom: 14px;
    font-size: 16px;
  }

  .fci-company-consult-simple__contact-panels {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .fci-company-consult-simple__contact-panel {
    padding: 18px 16px;
    border-radius: 12px;
  }

  .fci-company-consult-simple__contact-label {
    margin-bottom: 11px;
    font-size: 14px;
  }

  .fci-company-consult-simple__contact-button {
    min-height: 62px;
  }

  .fci-company-consult-simple__button-main {
    font-size: 18px;
  }

  .fci-company-consult-simple__contact-mail {
    font-size: 13px;
  }
}


/* ---------------------------------------------------------
   SP｜420px以下
   --------------------------------------------------------- */

@media screen and (max-width: 420px) {

  .fci-cooperation__item {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .fci-cooperation__link {
    align-self: flex-end;
    padding-top: 4px;
    padding-bottom: 4px;
  }
}