/* サブページ 生活情報
/* ----------------------------------------------------------- */
.subpage-wrapper {
  margin: auto;
}

/*------- Tab Menu -------*/
.tabs-box {
  margin: 0 ;
  min-width: 0;
  width: 100%;
}

.tabs-items {
  margin-top: 6px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  display: flex;
  gap: 8px 22px;
  justify-content:center;
  padding-inline-start: 0; 
}

.tabs-item {
  margin-top: 8px;
  display: flex;
  white-space: nowrap;
  position: relative;
  background-color: #fff;
  border-radius: 100px;
  transition: background 500ms ease;
  box-shadow: 0px 1px 4px rgba(0,0,0,.3);
}

.tabs-item:hover {
  color: #fff;
  background-color: #837cc8;
  transition: background 300ms ease;
}

.tabs-item a{
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.tabs-item a:hover {
  text-decoration: none; 
}

.tabs-item-link {
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}

.tabs-item-link.active {
  background-color: #837cc8;
  border-radius: 100px;
}

.tabs-item-link.active .tabs-item-text {
  color: #fff;
}

.tabs-item-link i{
  padding-right: 6px;
}

.tabs-item-link svg {
  width: 1rem;
  height: 1rem;
  margin-right: 0.4rem;
}

.tabs-item-link .bi {
  vertical-align: -0.1rem;
}

.tabs-item-text {
  font-weight: 400;
  line-height: 20px;
  font-size: 16px;
  color: #4b4d4d;
  padding: 12px 16px;
}

.tabs-item-text:hover {
  color: #fff;
}

/*------- Tab Content -------*/
.tab-content {
  justify-content:center;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.tab-content .card {
  border: none;
}

.tab-content .card .card-header { 
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

.tab-content .card-header-text {
  color: #fff;
  background-color: #645E99 !important;
  font-size: 1.4rem;
  line-height: 1.4rem;
  font-weight: 400;
}

.tab-content .card .card-body {
  background: #fff;
  border-left: 1px solid #DDDFE2 !important;
  border-right: 1px solid #DDDFE2 !important;
  border-bottom: 1px solid #DDDFE2 !important;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

.tab-content .card-body-text {
  border: none;
  color: #6c757d;
  font-size: 1.0rem;
  line-height: 1.6;
}

.grid_title {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 500;
  padding-bottom: 10px;
  margin-top: 20px;
}

.grid {
  box-sizing: border-box;
  display: block;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 20px auto;
  position: relative;
  letter-spacing: normal;
  list-style-type: none;
}
.grid_box {
  padding: 10px 6px !important;
}

.metrixBox {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: start;
  border-radius: 10px;
  box-shadow: 2px 2px 8px 0 rgba(0,0,0,.15);
  height: 100%;
  padding: 10px 20px;
}

.metrixBox:before {
  background: #07aa9a;
  content: "";
  width: 3px;
  height: 60%;
  position: absolute;
  left: -1px;
  top: 20%;
}

.metrixBox .metrixTitle {
  font-weight: 500;
  font-size: 1.0rem;
}

.metrixBox .metrixBody {
  display: flex;
  align-items:first baseline;
  flex-grow: 1;
  font-size: 0.9rem;
  margin: 12px 0;
}

.metrixBox .metrixBtn {
  display: flex;
  flex-flow: wrap;
  align-items:end;
  flex-grow: 1;
}

.metrixBox .metrixBtn a {
  font-size: 0.9rem;
  line-height: 1.8rem;
  padding: 0px 8px;
  margin-right: 0.6rem;
  margin-bottom: 0.6rem;
  border: 1px solid #20afc1;
  color: #20afc1;
}

.metrixBox .metrixBtn a:hover {
  border: 1px solid #07aa9a;
  background-color: #07aa9a;
  color: white;
}

.align-center [class*=col-] {
    vertical-align: middle;
}

.card-body hr {
  height: 1.4px;
  align-self: center;
  margin-top: 0rem;
  background-color: #8782b8;
  width: 10%;
 }