body {
  -webkit-text-size-adjust: 100%;
}

p {
  margin: 0;
}

small {
  font-size: 1.4rem;
}

.font-weight-medium {
  font-weight: 500;
}

.plan-nav {
  font-size: 1.4rem;
  line-height: 2.8rem;
  padding: 2.0rem 0;
  border-top: 1px #333 solid;
  border-bottom: 1px #333 solid;
}

.plan-nav .link::before {
  position: absolute;
  top: .7em;
  left: 2px;
  width: 7px;
  height: 7px;
  border: 2px solid #3a83ca;
  border-bottom: transparent;
  border-left: transparent;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}

.plan-00-lead {
  font-size: 2.8rem;
  font-weight: 500;
}

.plan-example {
  font-size: 1.6rem;
}

.plan-example a {
  font-size: 1.3rem;
  color: #3A83CA;
}

.plan-example-table > .d-flex:first-child {
  border-top: 1px #333 solid;
}

.plan-example-table > .d-flex {
  border-bottom: 1px #333 solid;
  padding: 1.0rem 0;
}

.plan-example-table > .d-flex > div {
  padding: 0;
}

.plan-example-caption {
  color: #ec6c00;
  border: 1px solid #ec6c00;
  padding: 5px 10px;
}

.plan-example-caption a {
  font-size:1.6rem !important;
}


.plan-recommend-header-text {
  font-size: 2.0rem;
}

.plan-recommend {
  font-size: 1.4rem;
}

.plan-recommend .link {
  font-size: 1.5rem;
  display: inline;
}

.img-link img:hover {
	opacity: 0.7 ;
}

.point-logo {
  height: 25px;
  margin-left: 22px;
  margin-bottom: 1px;
}
.toto-logo {
  height: 13.5px;
  margin-bottom: 7px;
}

.subsidy-type {
	position:absolute; 
	top:0; 
	display:flex;
}

.subsidy-type .tag-senshinteki {
	color:#FFF; 
	font-size:12px; 
	padding:0px 10px 1px 10px; 
	margin:10px 0 0 7px; 
	background-color:#3FAAFA; 
	border-radius: 20px;
}

.subsidy-type .tag-kosodate {
	color:#FFF; 
	font-size:12px; 
	padding:0px 10px 1px 10px; 
	margin:10px 0 0 7px; 
	background-color:#77CC00; 
	border-radius: 20px;
}

.color-senshinteki {
	color:#3FAAFA; 
}

.color-kosodate {
	color:#77CC00; 
}

.color-kyuto {
	color:#FC9534; 
}

@media screen and (max-width: 840px) {
  .subsidy-type {
    display:block;
  }  
}

@media screen and (max-width: 767px) {
  .plan-00-lead {
    font-size: 2.0rem;
    padding: 1.5rem;
  }  .subsidy-type {
    display:flex;
  }  
}
