/*------------------------------------------
    共通
------------------------------------------*/
.area.active {
  display: block;
}
.area {
  display: none;
}

@media screen and (min-width: 751px) {
  .block {
    margin-bottom: 32px;
  }
}

h1 {
  color: #1f2f54;
}

#travel .sec__tit {
  font-size: 1.8rem;
}
@media screen and (min-width: 751px) {
  #travel .sec__tit {
    font-size: 2.4rem;
  }
}

h3 {
  font-size: 1.8rem;
  color: #1f2f54;
  border-left: 5px solid #549dc1;
  padding: 2px 10px;
  margin-top: 30px;
  margin-bottom: 10px;
}
@media screen and (min-width: 751px) {
  h3 {
    font-size: 2.4rem;
  }
}
h4 {
  font-size: 1.6rem;
  color: #1f2f54;
  position: relative;
  padding-left: 2rem;
  margin-top: 30px;
  margin-bottom: 10px;
}

h4::before {
  position: absolute;
  content: "";
  width: 12px;
  height: 12px;
  vertical-align: top;
  border-radius: 10px;
  background-color: #dbecfb;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.note-mark {
  font-size: clamp(8px, 0.5em, 12px);
  vertical-align: top;
}

a.btn-estimation {
  display: block;
  color: #fff;
  background: #3578b5;
  border-radius: 4px;
  box-shadow: none;
}
a.btn-estimation::after {
  background-image: url(/images/common/icon_modal_w.svg);
}
a.btn-application {
  display: block;
  color: #fff;
  background: #f47f00;
  border-radius: 4px;
  box-shadow: none;
}

a.is-cta {
  font-weight: 700;
  position: relative;
  padding: 12px 37px 12px 17px;
}
@media screen and (min-width: 751px) {
  a.is-cta {
    padding: 26px 45px 26px 25px;
    width: 368px;
    margin: 0 16px;
  }
}
a.is-cta::after {
  position: absolute;
  content: "";
  width: 12px;
  height: 12px;
  top: 52%;
  translate: 0 -50%;
  left: auto;
  right: 2rem;
  background: url(/images/common/icon_modal_w.svg) center / contain no-repeat;
}
.btn-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
@media screen and (min-width: 751px) {
  .btn-wrap {
    flex-direction: row;
  }
}
.btn a {
  border: none;
}
.scroll-table__wrap {
  max-width: 100%;
}
.js-scrollable {
  overflow-x: auto;
  width: auto;
  -webkit-overflow-scrolling: touch;
}
.scroll-table__wrap table {
  width: max-content;
  min-width: 600px;
}
@media (min-width: 768px) {
  .scroll-table__wrap table {
    min-width: 100%;
  }
}

.sp-br {
  display: none;
}
@media screen and (max-width: 768px) {
  .sp-br {
    display: block;
  }
}

/*------------------------------------------
    保険料・保険金額
------------------------------------------*/
.p1-type-low {
  background-color: #ecfbfb;
}
.p2-type-low {
  background-color: #e9f4f9;
}
.p3-type-low {
  background-color: #e4edf9;
}
.p1-type-high {
  background-color: #54bdc1;
}
.p2-type-high {
  background-color: #549dc1;
}
.p3-type-high {
  background-color: #547ec1;
}

.f1-type-low {
  background-color: #fffceb;
}
.f2-type-low {
  background-color: #fff4e6;
}
.f3-type-low {
  background-color: #fff1ea;
}
.f1-type-high {
  background-color: #e6cb2d;
}
.f2-type-high {
  background-color: #e88f2a;
}
.f3-type-high {
  background-color: #e47539;
}

.g1-type-low {
  background-color: #f7fdec;
}
.g2-type-low {
  background-color: #edf8f0;
}
.g3-type-low {
  background-color: #e9faf5;
}
.g1-type-high {
  background-color: #9ad01a;
}
.g2-type-high {
  background-color: #2aba55;
}
.g3-type-high {
  background-color: #21a97e;
}

.bg-gray {
  background-color: #f5f5f5;
}
.bg-coverage {
  background-color: #01b3cd;
}
.bg-coverage-period {
  background-color: #27357b;
}

#travel .premium-coverage {
  padding: 0px;
}
#travel .premium-coverage .sec__tit {
  margin: 0 auto 10px;
}
.premium-coverage .tab {
  font-weight: bold;
  color: #1f2f54;
  font-size: 1.4rem;
  display: flex;
  text-align: center;
  padding: 4px;
  line-height: 1.3;
  background: #dbdbdb;
  border-radius: 40px;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  max-width: 870px;
  gap: 4px;
}
@media screen and (min-width: 751px) {
  .premium-coverage .tab {
    font-size: 1.6rem;
  }
}
.premium-coverage .tab li {
  width: 33%;
  cursor: pointer;
  padding: 5px 0;
}
.premium-coverage .tab li:hover {
  opacity: 0.8;
  border-radius: 40px;
  background-color: #ebebeb;
}
@media screen and (min-width: 751px) {
  .premium-coverage .tab li {
    padding: 10px 0;
  }
}
.premium-coverage .tab li.active {
  border-radius: 40px;
  color: #fff;
}
.premium-coverage .tab li.active.person {
  background: #0884b8;
}
.premium-coverage .tab li.active.family {
  background: #e68f06;
}
.premium-coverage .tab li.active.group {
  background: #079593;
}

.premium-coverage .sec__content h4:first-of-type {
  margin-top: 16px;
}

/* 3つの契約タイプ */
.compensation__list {
  display: flex;
  border-radius: 4px;
}
.compensation__list:not(:last-of-type) {
  margin-bottom: 8px;
}
@media screen and (min-width: 751px) {
  .compensation__list:not(:last-of-type) {
    margin-bottom: 0px;
  }
}
@media screen and (min-width: 751px) {
  .compensation__lists {
    display: flex;
    gap: 16px;
  }
}
@media screen and (min-width: 751px) {
  .compensation__list {
    width: 100%;
  }
}
.compensationType {
  border-radius: 4px 0 0 4px;
  color: #fff;
  font-weight: bold;
  padding: 8px;
  font-size: 1.2rem;
  display: flex;
}
@media screen and (min-width: 751px) {
  .compensationType {
    font-size: 1.6rem;
  }
}
.compensationType p {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.compensationType p span {
  font-size: 2rem;
  line-height: 1;
}
.compensationDetail {
  border-radius: 4px 0 0 4px;
  padding: 8px;
  line-height: 1.5;
}
.compensationDetail__txt {
  color: #1f2f54;
  font-weight: 700;
  font-size: 1.6rem;
}
.coverageAmount {
  font-size: 1.2rem;
}
@media screen and (min-width: 751px) {
  .coverageAmount {
    font-size: 1.4rem;
  }
}

/* table（保険料例・保険金額） */
h4 span.sec__note {
  display: flex;
  flex-direction: column;
}
@media screen and (min-width: 751px) {
  h4 span.sec__note {
    display: inline;
  }
}
table {
  font-size: 1.2rem;
  width: 100%;
  table-layout: fixed;
  text-align: center;
  border-collapse: separate;
}
table th {
  font-weight: 400;
}
@media screen and (min-width: 751px) {
  table {
    font-size: 1.6rem;
  }
}
table thead {
  color: #ffffff;
}
table thead tr {
  line-height: 1.5;
}
table thead th .th__main {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
table thead .table-header-top th:not(:last-child),
table thead .table-header-bottom th:not(:last-child) {
  font-weight: 700;
  border-right: white 1px solid;
  vertical-align: middle;
}
.family-coverage table thead .table-header-bottom th {
  border-top: 1px #fff solid;
}
table thead .table-header-top th:first-child {
  border-radius: 4px 0 0 0;
}
table thead .table-header-top th:last-child {
  border-radius: 0 4px 0 0;
}
tbody tr th,
tbody tr td {
  padding: 15px 5px;
  border-right: 1px solid #1f2f54;
  vertical-align: middle;
  line-height: 1.5;
}
tbody tr th {
  border-left: 1px solid #1f2f54;
}

tbody .table-footer th,
tbody .table-footer td {
  border-bottom: 1px solid #1f2f54;
}
tbody .table-footer th {
  border-radius: 0 0 0 4px;
}
tbody .table-footer td:last-child {
  border-radius: 0 0 4px 0;
}
/*------------------------------------------
    トラブル事例と注意事項
------------------------------------------*/

#travel .trouble {
  padding-bottom: 0;
}
#travel .trouble .tab li:hover {
  opacity: 0.8;
}

.trouble .area {
  background-color: #edf7ff;
  padding: 16px 8px;
  border-radius: 0 0 4px 4px;
}
@media screen and (min-width: 751px) {
  .trouble .area {
    padding: 32px;
  }
}

.trouble .tab {
  text-align: center;
  align-items: center;
  justify-content: center;
  display: flex;
  gap: 8px;
  cursor: pointer;
  font-size: 1.4rem;
}
@media screen and (min-width: 751px) {
  .trouble .tab {
    font-size: 1.6rem;
  }
}
.trouble .tab_btn {
  width: 50%;
  padding: 10px 0;
  background: #dbdbdb;
  border-radius: 4px 4px 0 0;
  font-weight: bold;
  color: #1f2f54;
}
@media screen and (min-width: 751px) {
  .trouble .tab_btn {
    width: 50%;
    padding: 16px 0;
  }
}

.trouble .tab li.active {
  background: #549dc1;
  color: #fff;
  font-weight: bold;
}
.trouble .card__wrap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
@media screen and (min-width: 751px) {
  .trouble .card__wrap {
    gap: 16px;
  }
}
.trouble .card {
  border-radius: 4px;
  background-color: #fff;
  padding: 8px;
  flex: 0 0 calc(50% - 4px);
}
@media screen and (min-width: 751px) {
  .trouble .card {
    flex: 0 0 calc(33.33% - 10.66px);
    padding: 16px;
  }
}
.trouble .card-header {
  background-color: #edf7ff;
  border-radius: 40px;
  font-weight: bold;
  color: #1f2f54;
  text-align: center;
  padding: 2px 0;
  font-size: 1.4rem;
}
@media screen and (min-width: 751px) {
  .trouble .card-header {
    padding: 4px 0;
    font-size: 1.6rem;
  }
}
.trouble .card-title {
  font-weight: bold;
  color: #1f2f54;
  font-size: 1.6rem;
  text-align: center;
  padding-top: 4px;
}
@media screen and (min-width: 751px) {
  .trouble .card-title {
    font-size: 2.4rem;
  }
}
.trouble .card-icon {
  padding: 16px;
}
.trouble .card-icon img {
  height: 72px;
  width: auto;
  margin: 0 auto;
  display: block;
}
.trouble .card-text {
  font-size: 1.4rem;
  padding-top: 4px;
}
@media screen and (min-width: 751px) {
  .trouble .card-text {
    font-size: 1.6rem;
    padding-top: 8px;
  }
}

.trouble .card-amount {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}
.trouble .card-amount {
  font-size: 1.4rem;
  padding-top: 8px;
}
.trouble .card-amount .num {
  font-weight: bold;
  color: #1f2f54;
  font-size: 3rem;
  line-height: 0.7;
  padding: 0 2px;
}
.atc_txt {
  font-size: 1.4rem;
  margin: 0 8px;
}
@media screen and (min-width: 751px) {
  .atc_txt {
    font-size: 1.6rem;
  }
}

/*------------------------------------------
    注意事項
------------------------------------------*/

.note {
  margin-top: 30px;
  font-size: 1.4rem;
}

@media screen and (min-width: 751px) {
  .note {
    max-width: 1000px;
    margin: 80px auto 0;
  }
}
