@charset "utf-8";

/* style-structure-insurance.css
 * おまかせプラン ver.7 - v1.0.0
 * 2022-09-01
 * **************************************************
 * Structure Insurance
 * **************************************************
 */

 /* Structure Insurance
------------------------------------------------------------------- */
.structure-insurance .content__inner {
    margin: 70px auto 0 auto;
    max-width: 1080px;
}

/* Table */
/* 日本の医療保険 */
.common-table.j-med th span {
  display: block;
}
/* 健康保険組合の組織 */
.common-table.org th {
  width: 100px;
}
/* 年齢別の給付割合 */
.common-table.ratio th {
  text-align: left;
  width: 50%;
}
.common-table.ratio td {
  text-align: center;
}
.common-table.ratio thead th {
  text-align: center;
}
/* 収入の基準 */
.common-table.income-c th {
  width: 20%;
}
/*生計維持費*/
.common-table.living-cost  th,
.common-table.living-cost  td {
  text-align: center!important;
}
/*被扶養者認定削除の取扱い*/
.common-table.delete  th,
.common-table.delete  td {
  text-align: left!important;
}
/* 保険医療機関 */
.common-table.medical-institutions td {
  text-align: center;
}
/*収入限度額*/
.common-table.income-lim thead th:nth-child(1) {
  width: 60px;
}
.common-table.income-lim thead th:nth-child(2),
.common-table.income-lim thead th:nth-child(3),
.common-table.income-lim thead th:nth-child(4) {
  width: 145px;
}
/*資格確認書・資格情報のお知らせについて*/
.common-table.eligibility th {
  width: 230px;
}

/* 認定条件テーブル */
.common-table.certify-table tbody th {
  width: 50px;
  text-align: center;
}

/* Div */
/* 健康保険のしくみ：医療費控除 */
.medical-deduction {
  display: flex;
  justify-content: left;
  align-items: center;
  margin: 15px 0 30px 0;
  font-size: 2.8em;
  color: #3bb5e2;
}
.medical-deduction span {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 5px;
  padding: 5px 8px;
  min-height: 4.0em;
  border: 1px solid #d7d7d7;
  background-color: #fff;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  font-size: 50%;
  font-weight: 500;
  line-height: 1.4;
}
.medical-deduction .deduction {
  background-color: #3bb5e2;
  color: #fff;
}

/* 【国内居住要件の例外となる場合】 */
.exc-case {
  margin: 10px 0 30px 0;
  padding: 15px 25px;
  background-color: #fafafa;
  border: 1px solid #d7d7d7;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}
.exc-case > h3 {
  font-size: 1.8em;
  font-weight: bold;
}
/* List（丸数字） */
.exc-case > .list-circle li {
  margin-left: 1em;
  text-indent: -1em;
  /*font-size: 1.6em;*/
}
.note-income{
  font-size: 1.4em;
}
.note-income li {
  margin-left: 2.5em;
  text-indent: -2.5em;
}
.event-date{
  margin-top: 10px;
  padding:10px;
  background-color: #d7d7d7;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}
.event-date__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
}
/* .event-date span {
  font-size: 50%;
} */

@media screen and (max-width: 767px) {
  /* Structure Insurance
  ------------------------------------------------------------------- */
  /* Table*/
  /* 日本の医療保険 */
  .common-table.j-med th {
    width: 80px;
    text-align: left;
  }
  /* 健康保険組合の組織 */
  .common-table.org th {
    width: 50px;
  }
  /* 年齢別の給付割合 */
  .common-table.ratio th {
    width: 120px;
  }
  /* 収入の基準 */
  .common-table.income-c th {
    width: 30%;
  }
  /*収入限度額*/
  .common-table.income-lim thead th:nth-child(2),
  .common-table.income-lim thead th:nth-child(3),
  .common-table.income-lim thead th:nth-child(4) {
    width: 60px;
  }
    .event-date {
    padding: 12px;
  }

  .event-date__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
    margin-left: 10px;
  }

  .event-date__inner span {
    display: block;
    width: 100%;
  }

  /* Div */
  /* 健康保険のしくみ：医療費控除 */
    .medical-deduction {
    display: block;
    justify-content: flex-start;
    align-items: normal;
    margin: 10px 0 25px 0;
  }
  .medical-deduction span {
    display: inline-block;
    justify-content: flex-start;
    align-items: normal;
    margin: 5px 5px;
    min-height: auto;
    vertical-align: middle;
  }
  .medical-deduction .deduction {
    margin: 0 5px;
  }
  .medical-deduction .deduction br {
    display: none;
  }

  /* 【国内居住要件の例外となる場合】 */
  .exc-case {
    padding: 15px 15px;
  }
}

/* Coverage Comparison Table */
.coverage-comparison {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}
.coverage-comparison__col {
    flex: 1;
}
.coverage-comparison__hd {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 1.8em;
    font-weight: bold;
    text-align: center;
}
.coverage-comparison__hd.not-covered {
    color: #4a6da7;
}
.coverage-comparison__hd.covered {
    color: #e95295;
}
.coverage-comparison__hd img {
    width: 24px;
    height: auto;
}
.coverage-comparison__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.coverage-comparison__item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    min-height: 5em;
    border-radius: 8px;
    font-size: 1.5em;
    line-height: 1.5;
}
.not-covered .coverage-comparison__item {
    background-color: #e6f2ff;
    color: #333;
}
.covered .coverage-comparison__item {
    background-color: #ffeef4;
    color: #333;
}

@media screen and (max-width: 900px) {
    .coverage-comparison {
        flex-direction: column;
        gap: 40px;
    }
}

/* Inquiry Box */
.inquiry-box {
    margin-top: 25px;
    padding: 12px 30px;
    background-color: #fffde6;
    border: 1px solid #ff9d00;
    border-radius: 40px;
    font-size: 1.6em;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    gap: 12px;
}
.inquiry-box::before {
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    background: 
        linear-gradient(#79b93d, #79b93d) 0 0,
        linear-gradient(#5ca5c3, #5ca5c3) 100% 0,
        linear-gradient(#5ca5c3, #5ca5c3) 0 100%,
        linear-gradient(#79b93d, #79b93d) 100% 100%;
    background-size: 7px 7px;
    background-repeat: no-repeat;
    flex-shrink: 0;
}
@media screen and (max-width: 767px) {
    .inquiry-box {
        padding: 15px 20px;
        line-height: 1.6;
        border-radius: 15px;
        font-size: 1.4em;
    }
}
