@media print {
  a[href]:after {
    content: ""!important;
  }
  abbr[title]:after {
    content: ""!important;
  }
}

body { 
  font-size: 90%; color:#222;
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans JP', sans-serif !important;
  font-weight: 300; 
  font-variant-numeric: tabular-nums;
}
#main p { text-align: justify; }
hr { margin: 40px 0; }
p.logo { font-size: 75%; font-weight: bold; color: #545454; }
p.headright { font-size: 80%; }
strong { font-weight: 700 !important; }

a.tel { text-align: center;  color:#6ebf3b; text-decoration: none;  }
a.tel:hover { 
  color:#6ebf3b;
  opacity:0.5; 
}
a.tel div { color: white; background-color:#6ebf3b; font-size: 80%; border-radius: 20px; padding: 2px 20px; }
a.tel span{ font-weight: 600; text-decoration: none;font-size:200%; }
.navbar-brand {
  font-size: 110%;
}

ul.navbar-nav li.nav-item {
  font-size: 105%;
}

ul.navbar-nav li.nav-item a.nav-link {
  color: #777;
  font-weight: 400;
}
ul.navbar-nav li.active a.nav-link {
  font-weight: 700;
  color: #444;
}

li.nav-item a.dropdown-item {
  font-size: 90%;
}

li.nav-item a.dropdown-item:active {
  background-color: #74bd57;
}

nav li.dropdown:hover>.dropdown-menu {
  display: block;
}

a{ color:#ea920d; text-decoration: underline; }
nav a { text-decoration: none; }
nav a.dropdown-toggle { cursor: pointer; }
a.modal_link { cursor: pointer; }
nav li.active>a { font-weight: bold; }
a:hover { color:#efd3aa;}
a:not(.doctors):hover img{
  opacity:0.5;
  filter:alpha(opacity=50);
}
.btn-primary {
  background-color: #ffa51d;
  border-color: #ffa51d;
  color: white;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: #ffa51d;
  border-color: #ffa51d;
  color: white;
  opacity:0.5;
  filter:alpha(opacity=50);
}

.btn-primary:not(:disabled):not(.disabled):active {
  background-color: #ea920d;
  border-color: #ea920d;
  opacity:0.8;
}

.btn-outline-primary {
  color: #ea920d;
  border-color: #ea920d;
  text-decoration: none;
}

.btn-outline-primary:hover,.btn-outline-primary:not(:disabled):not(.disabled):active {
  color: white;
  background-color: #ea920d;
  border-color: #ea920d;
}

.btn-outline-primary:focus, .btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:focus, .btn-primary:not(:disabled):not(.disabled):active:focus {
  background-color: #ea920d;
  border-color: #ea920d;
  box-shadow: 0 0 0 0.2rem rgba(236, 220, 103, 0.5);
}      
.btn-success {
  background-color: #6ebf3b;
  border-color: #6ebf3b;
}
.btn-success:hover {
  background-color: #6ebf3b;
  border-color: #6ebf3b;
  color: white;
  opacity:0.5;
  filter:alpha(opacity=50);
}

.btn-success:not(:disabled):not(.disabled):active, 
.btn-success:focus, .btn-success:not(:disabled):not(.disabled):active:focus {
  background-color: #6ebf3b;
  border-color: #6ebf3b;
  opacity:0.8;
}

strong { color: #ea920d; }
a strong { color: inherit; }
:lang(ja) em { font-style: normal; text-decoration: underline; }
:lang(en) em { font-style: italic; text-decoration: none; }

li.breadcrumb-item.active a:not([href]):not([tabindex]) { color: #545454; }
li.breadcrumb-item a:not([href]):not([tabindex]) { color: #6c757d; }

h1 { text-align: center;
     font-size: 200%;
     margin:  30px 0;
     letter-spacing:  4px;
     font-weight: 300;
     }

/* rewrite #main h2 */
#main .lead{
  border-top:2px solid #ea920d;
  border-left:8px solid #ea920d;
  box-shadow: 0 -1px #dad7d7 inset;
  background:linear-gradient(#fff2de, #ffffff);
  padding:20px 10px;
  font-weight:bold;
  font-size: 130%;
  margin: 2rem 0;
}
/* rewrite #main h2 */
#main .lead:first-child {
   margin-top: 0;
}
/* rewrite #main h2 */
#main .lead:before {
   content:url(img/others/icon_ttl.png);
   margin-right: 0.5rem;
}
/* add */
#main h2.lead-catch {
  font-weight: bold;
  font-size: 105%;
  line-height: 1.7;
  letter-spacing: 2px;
  margin-top: 30px;
  margin-bottom: 20px;
  text-align: center; 
}


div#main h2.indexttl,
div#main h3:not(.part){
  background-color:#f7f7f7;
  padding:10px;
  padding-left: 0;
  border-left:4px solid #77d23e;
  box-shadow: 0 -1px 0 #dedede inset;
  font-weight:bold;
  font-size: 120%;
  margin: 2rem 0 2rem;
  counter-reset: step;
}

div#main h2.indexttl,
div#main h3.indexttl{
  display: inline-block;
  background-color:transparent;
  border: none;
  font-weight: normal;
  font-size: 150%;
  font-variant: small-caps;
  color: #545454;
  letter-spacing:  3px;
}

div#main h3.newsttl{
  border-top:2px solid #ea920d;
  border-left: 4px solid #ea920d;
  box-shadow: 0 -1px 0 #dedede inset;
  background:linear-gradient(#fff2de, #ffffff);
  font-weight:bold;
  margin:15px 0;
  font-size: 120%;
}

#main h2.head1,
#main h3.part,
#main h3.head1,
#main h4.def,
#main h5.def {
  font-weight: 400;
  color:#6ebf3b;
  margin-top:  30px;
  margin-bottom:30px;
  font-size: 120%;
}
#main h2.head1,
#main h3.head1,
#main h3.head2 {
  background-color: inherit !important;
  border-left: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 30px 0;
  font-weight: normal !important;
}
#main h2.head1,
#main h3.head2 {
  font-size: 100% !important;
  margin: 0 !important;
  font-weight: bold !important;
}
#main h2.part {
  font-weight: 400;
  color: #6ebf3b;
}
#main h2.part span,
#main h3.part span,
#main h3.head1 span,
#main h4 span { 
  border-bottom:1px solid #6ebf3b;
  padding: 0 5px 5px 0;
  line-height: 2;
 }
#main h2.part,
#main h3.part,
#main h4.part { 
  margin-top: 30px;
  margin-bottom: 30px;
  font-size: 140%;
  line-height: 1.2;
  counter-reset: step;
 }
#main h2.part span,
#main h3.part span,
#main h4.part span { 
  padding: 10px 15px;
  border-bottom: none;
  display: inline-block;
  border-left: 5px solid #6ebf3b; 
}
#main h2.head1{
  color: #222;
}

#main h4.step,
#main h5.step {
  counter-increment: step;
  border-bottom:1px solid #6ebf3b;
  font-size: 100%;
  background: none;
  padding: 0 0 3px 0;
  margin: 25px 0 10px;
}

#main h4.step:before,
#main h5.step:before {
  content: "Step" counter(step);
  margin-right: 10px;
  background-color: #6ebf3b;
  color: white;
  padding: 3px 10px;
}

#main h3 + h4 {
  margin-top: 0 !important;
}

#main h4.cosme {
  font-weight: bold;
  font-size: 100%;
}
#main h5 {
  font-weight: bold;
  font-size: 100%;
}

#main h5.catch {
  font-size: 105%;
  line-height: 1.7;
  letter-spacing: 2px;
  margin-top: 30px;
  margin-bottom: 20px;
  text-align: center; 
}


div#main ul.blue {
  list-style: none;
  padding: 0;
}

div#main ul.blue li {
  margin-left: 1em;
  padding-left: 1em;
  text-indent: -1.3rem;
}

div#main ul.blue li:before {
  content: "•";
  margin-right: 0.8rem;
  font-size: 120%;
  color: #6ebf3b;
}

#main div.faqindex {
    background-color: #f7f5eb;
    padding: 20px;
    margin-bottom: 25px;
}



div#main ul.newslist {
list-style-type: none;
}

div#main ul.newslist li {
padding-left:25px;
margin-bottom:12px;
}

div#main ul.newslist li time {
  font-variant-numeric: oldstyle-nums;
}

div#main ul.newslist li:before {
content: '';
}

#main div.faqindex ul.faqlist {
  list-style-type: none;
}

#main div.faqindex ul.faqlist li {
  background:url(img/others/icon_sidelist.gif) left center no-repeat;
  padding:0 15px;
  margin-top: 10px;
}

#main div.faqindex ul.faqlist li a {
  color:#545454;
}

div#main dl.pink {
  counter-reset: pinklist;
}

div#main dl.pink dt:before {
  content: counter(pinklist)'. ';
  counter-increment: pinklist;
  }

div#main dl.pink dt {
  color: #e29725;
  font-weight: bold;
  display: list-item;
  margin-bottom: 0.2rem;
  list-style-type: none;
}

div#main dl.pink.nocount dt:before {
  content: '';
}

div#main dl.pink dd {
  margin-bottom: 1rem;
}

div#main dl.pink dd p {
  margin-bottom: 0;
}

div#main dl.faq dt {
  color: #ea920d;
  margin-top: 2rem;
  margin-bottom: 18px;
  text-indent: -2.5rem;
  margin-left: 2.5rem;
}

div#main dl.faq dt:before {
  color: white;
  content: 'Q';
  padding: 5px 8px;
  margin-right: 10px;
  border: #ea920d 1px solid;
  background-color: #ea920d;
  border-radius:5px;
}

div#main dl.faq dd {
    border-bottom: 1px dotted #999999;
    padding-bottom: 2rem;
    text-indent: -2.5rem;
    margin-left: 2.5rem;
}

div#main dl.faq dd:before {
  color: white;
  font-weight: bold;
  content: 'A';
  padding: 5px 9px;
  margin-right: 10px;
  border: #77d23e 1px solid;
  background-color: #77d23e;
  border-radius:5px;
}

dl#regencert dd {
  margin-left: 1.5em;
  margin-bottom: 0.5em;
}

div#main thead th {
  background-color: #77d23e;
  color: white;
  border-bottom-width: 1px;
}

div#main table span {
  white-space: nowrap;
}

div#sidebar h3{
  border-top:2px solid #77d23e;
  border-bottom:1px solid #dedede;
  background:linear-gradient(#f0f6ec, #ffffff);
  padding:7px 0;
  text-align: center;
  font-weight:bold;
  margin-bottom: 15px;
  font-size: 110%;
}
#sidebar ul.sidenavi {
  list-style-type: none;
  padding-left: 0;
  margin-top: -15px;
}

#sidebar ul.sidenavi li {
  background:url(img/others/icon_sidelist.gif) left center no-repeat;
  border-bottom:1px dotted #999999;
  padding:9px 15px 10px;
}

#sidebar .sidenavi li a {
  display:block;
  color:#545454;
}

#sidebar .sidenavi li a:hover {
  color:#ea920d;
  text-decoration:none;
}

.footer {
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 150px;
  background-color: #f5f5f5;
  border-top: 1px #eee solid;
  margin-top: 30px;
}

.footer div.container{
  padding-top: 30px;
  font-size: 90%;
}

.fb_iframe_widget > span {
    vertical-align: baseline !important;
}

.headerbutton-button {
  padding:  5px 7px;
}

.headerbutton { 
display:inline-block; 
vertical-align: middle;
 }

 .headerbutton-button.btn-warning,
 .headerbutton-button.btn-info {
color: #777;
 }

.headerico1 {
  margin-right:  10px;
}
.headertext {
  font-size: 70%;
}
.headerico2 {
  margin-left:  10px;
}
.carousel-caption{
    transform: translateY(-50%);
    bottom: initial;
    top: 50%;
}
.carousel-caption h1 {
    color:  white;
    letter-spacing:  1px;
    line-height: 1.5;
}
.carousel-caption h6 {
    color:  white;
    font-size:  4vw;
    line-height: 1.5;
}

div.thumbnails a,
div.thumbnails a:hover {
  text-decoration: none;
}

div.thumbnails a:hover {
  opacity: 0.5;
}

div.thumbnail {   
  background-position: center;
  background-size:cover; 
  text-align:  center;
  justify-content: center;
  align-items: center;
  display: flex;
  text-decoration:none;
}

.thumbnail h2 { 
  color: #545454;
  font-size:  160%;
  font-weight: 500;
  display: inline-block;
  line-height:  1.5;
  letter-spacing: 2px;
  margin-top: 30px;
  margin-bottom: 30px;
}
div.thumbnail h2 small { 
  font-size: 75%;
  white-space: nowrap;
}
div.thumbnail h2 span { 
  white-space: nowrap;
}
#main .price {
  font-size: 130%;
  font-weight: 400;
  text-align: center;
  margin-top:  1em;
  margin-bottom:  1em;
  margin-left: auto;
  margin-right: auto;
  display:table;
}

#main .price div {
  padding: 21px 10px;
  border: 1px #6ebf3b solid;
  display:table-cell;
  vertical-align: middle;
}

#main .price div.head {
  background-color: #6ebf3b;
  color: white;
  vertical-align: middle;
}
div.notice,a.notice { 
  background-color: #d5f4bb; 
  border: none;
}
a.notice:hover {
  opacity:0.5; 
}
#main .price div.pt25 {
  padding-top: 25px;
}

#main .price div.pt20{
  padding-top: 20px; 
}

#main .price div.plpr38{
  padding-left: 38px;
  padding-right: 38px;
}

#main .price div.pt35{
  padding-top: 35px;
}

#main .price div.tenteki-price{
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 20px;
}

#main .price div.pd20{
  padding-right: 20px;
}

.side_effect{

   text-decoration:underline;
   text-decoration-color:black"
}

nav{
  display: lfex;
  left: 0;
}

.stem-price{
  border:1px !important;  
  border-color:#6ebf3b; 
  border-collapse: collapse;
}
.stem-price th{
  background:#6ebf3b;
  color:white
}