@charset "UTF-8";

/*
 Theme Name: 上野クリニックコラム-spテーマ
 Version: 1.0
*/

/*==========================================================================
  Common
==========================================================================*/

body {
  font-family:  游ゴシック, YuGothic, メイリオ, Meiryo, sans-serif, Roboto, "Droid Sans", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro";
  font-size: 16px;
  font-weight: 500;
  color: #505050;
  line-height: 1.5;
}
.clear:after {
  content: "";
  display: block;
  clear: both;
}
a{
  text-decoration: none;
}
a:hover{
  opacity: .8;
}
.txt_center{
  text-align: center;
}
.txt_right{
  text-align: right;
}
/** フォームリセット **/
input, button, textarea, select, submit {
  border: none;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
@media screen and (min-width: 800px){
  body {
    min-width: 1300px;
  }
}

/** 181106グローバルメニュー変更 **/
#navigation {
  height: 39px;
  max-width: 970px;
  margin: 0 auto;
}
#navigation::after {
  content: '';
  clear: both;
  display: block;
}

#navigation > li {
  float: left;
	width: 16.65%;
	border-left: 1px solid #ddd;
	height: 100%;
	line-height: 40px;
	font-size: 15px;
	font-weight: bold;
}
#navigation > li:last-child {
  border-right: 1px solid #ddd;
}

#navigation > li > a,
#navigation > li > span {
  height: 100%;
  width: 100%;
  display: block;
  text-align: center;
  font-size: 16px;
}
#navigation > li:hover {
  border-bottom: 4px solid #069;
  margin-top: -4px;
}
#navigation > li:hover > a,
#navigation > li:hover > span {
    margin-top: 4px;
    text-decoration: none;
}

/** 1階層のドロップダウンメニュー **/
ul.child{
  display: none;
  position: absolute;
  padding: 0;
  width: 200px;
  z-index: 1000;
}
ul.child li{
  position: relative;
}
ul.child li a{
  background: #5e8ce3;
  border-bottom: 1px solid #fff;
  padding: 5px 10px 5px 35px;
  position: relative;
  display: block;
  color: #fff;
	font-size: 14px;
	line-height: 30px;
	text-align: left;
}
ul.child li a::before{
  content: '';
  background: url('https://www.skin.co.jp/assets/images/common/icon-gmenu-white.png') 0 0 no-repeat;
  background-size: 14px;
  height: 14px;
  width: 14px;
  position: absolute;
  left: 10px;
  top: 50%;
  margin-top: -8px;
}
ul.child li a:hover{
  background: #455f7a;
  color: #fff;
  opacity: 1;
}
ul.child li:last-child > a{
  border-bottom: none;
}
.kansyuu_profile p{
  margin-bottom: 0;
}

.pc_header,
.pc_footer {
  display: none;
}

@media screen and (min-width: 769px){
  .sp_block{
    display: none;
  }
}
@media screen and (max-width: 768px){
  .pc_block{
    display: none;
  }
	.SPNaviTrigger {
    display: block;
    position: absolute;
    top: 34px;
    right: 0;
    z-index: 301;
    width: 55px;
    height: 56px;
    background: #3b579d;
  }
  .SPNaviTrigger::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 26px;
    height: 1px;
    margin: 0 0 0 -11px;
    background: #fff;
    box-shadow: 0 -6px 0 0 #fff, 0 6px 0 0 #fff;
    transition: 0.4s;
  }
  .SPNaviTrigger.active {
    background: rgba(255, 255, 255, 0.5);
		top: 0;
  }
  .SPNaviTrigger.active::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 1px;
    margin: 0 0 0 -8px;
    background: #004098;
    box-shadow: none;
    transform: rotate(45deg);
    transition: 0.4s;
  }
  .SPNaviTrigger.active::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 1px;
    margin: 0 0 0 -8px;
    background: #004098;
    box-shadow: none;
    transform: rotate(-45deg);
    transition: 0.4s;
  }
  .SPNaviInner {
    display: none;
  }
  .SPNaviInner.active {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 300;
    width: 100%;
    height: 100%;
    background: rgba(88, 146, 182, .9);
  }
  .SPNaviInner .spNavigation {
    position: relative;
    overflow: scroll;
    height: 90%;
    color: #fff;
    font-size: 0.85em;
    line-height: 50px;
    padding-top: 57px;
  }
  .SPNaviInner .topNavi {
    border-bottom: rgba(255, 255, 255, 0.4) 1px solid;
    line-height: 60px;
    font-size: 1.0em;
    font-weight: 600;
    background: #3b579d;
  }
  .SPNaviInner .notLinkNavi {
    padding: 0 1em;
  }
  .SPNaviInner .topNavi a::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -5px;
    width: 0.4em;
    height: 0.4em;
    margin-right: 0.5em;
    border-top: #fff 1px solid;
    border-right: #fff 1px solid;
    transform: rotate(45deg);
  }
  .SPNaviInner .spNavigation li a,
	.SPNaviInner .spNavigation li span {
    display: block;
    color: #fff;
    position: relative;
    padding: 0 1em;
    border-bottom: rgba(255, 255, 255, 0.4) 1px dotted;
  }
  .SPNaviInner .spNavigation li a::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -5px;
    width: 0.4em;
    height: 0.4em;
    margin-right: 0.5em;
    border-top: #fff 1px solid;
    border-right: #fff 1px solid;
    transform: rotate(45deg);
  }
  .SPNaviInner .spNavigation li{
    line-height: 45px;
  }
  .SPNaviInner .spNavigation .topNavi{
    line-height: 60px;
  }
	#component-4 p{
		margin-right: 55px;
	}
}

#GTop #SiteLogo{
  font-size: 100%;
}
#GlobalFooter dl.nav{
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.posts_area {
  max-width: 970px;
  margin: 30px auto 40px
}
.main_contst {
  float: none;
  width: 100%;
  margin-right: 0;
  margin-bottom: 40px;
}
.Side {
  float: left;
  width: 25%;
  margin-bottom: 20px;
}
.cate_title{
	display: block;
	padding: 10px;
	background: rgb(0, 102, 153);
	border-radius: 5px 5px 0 0;
	font-size: 1.2em;
	color: #fff;
	box-shadow: 0 0 4px 0 rgba(0,0,0,0.15);
  margin-bottom: 0;
}
.SideNav { display:block; border-radius:6px; background:#fff; box-shadow:0 0 4px 0 rgba(0,0,0,0.15); }
.SideNav::after { content:''; display:block; clear:both; height:0; }
.SideNav a { display:block; position:relative; padding:15px; border-bottom:#ddd 1px dotted; text-decoration:none; transition:0.3s; color: #333;font-size:15px;}
.SideNav a::before { content:''; display:block; position:relative; top:0.64em; float:right; width:7px; height:7px; border-top:#31afaa 1px solid; border-right:#31afaa 1px solid; transform:rotate(45deg); transition:0.3s; }
.SideNav a::after { content:''; display:block; clear:both; height:0; }
    .SideNav a:hover { color:#fff; background:rgba(23, 65, 153,0.88); transition:0.3s; }
    .SideNav a:hover::before { content:''; display:block; position:relative; top:0.64em; float:right; width:7px; height:7px; border-top:#fff 1px solid; border-right:#fff 1px solid; transform:rotate(45deg); transition:0.3s; }
.SideNav > ul > li:last-child a { border-bottom:0; }
.SideNav > ul > li > ul li a { padding-left:30px; }
.SideNav > ul > li > ul li:first-child a { border-top:#ddd 1px dotted; }
@media (max-width:1056px){
	.Side { float: none; max-width:100%; width: 100%;}
}
@media (max-width:768px) {
  .Side { float:none; width:100%; padding: 0 10px;}
  .SideNav { display:block; border-radius:0; background:#fff; box-shadow:0 0 4px 0 rgba(0,0,0,0.15); }
  .SideNav::after { content:''; display:block; clear:both; height:0; }
  .SideNav a { display:block; position:relative; padding:15px; border-bottom:#ddd 1px dotted; text-decoration:none; transition:0.3s; }
  .SideNav a::before { content:''; display:block; position:relative; top:0.64em; float:right; width:7px; height:7px; border-top:#31afaa 1px solid; border-right:#31afaa 1px solid; transform:rotate(45deg); transition:0.3s; }
  .SideNav a::after { content:''; display:block; clear:both; height:0; }
      .SideNav a:hover { color:#fff; background:rgba(1,158,151,0.88); transition:0.3s; }
      .SideNav a:hover::before { content:''; display:block; position:relative; top:0.64em; float:right; width:7px; height:7px; border-top:#fff 1px solid; border-right:#fff 1px solid; transform:rotate(45deg); transition:0.3s; }
  .SideNav > ul > li:last-child a { border-bottom:0; }
  .SideNav > ul > li > ul li a { padding-left:30px; }
  .SideNav > ul > li > ul li:first-child a { border-top:#ddd 1px dotted; }
}
#CommonHeader .box-body, #GlobalHeader .box-body, #Header .box-body, #Contents .box-body, #GlobalFooter .box-body{
  width: 970px;
}
.post_box {
  float: none;
  width: 100%;
}
.post_box:first-child {
  width: 100%;
  margin-right: 0;
  margin-bottom: 15px;
}
.posts_list {
  padding: 25px 10px;
  border-bottom: 1px solid #ddd;
}
.posts_list:first-child{
  padding-top: 0;
}
.posts_list a{
  color: #333;
  display: block;
}
.posts_list a:hover{
  text-decoration: none;
}

.list_ttl {
  font-size: 18px;
  margin-top: 5px;
}
.list_excerpt {
  line-height: 1.6;
}
.list_excerpt::after {
    content:"";
    display:block;
    clear:both;
}
.list_more_btn {
  text-align: right;
}
.list_date{
  display: block;
  font-size: 13px;
  line-height: 1;
  letter-spacing: .17em;
  color: #666;
}
.cate_lists{
  margin-bottom: 0;
}
.cate_lists::after{
  content: '';
  clear: both;
  display: block;
}
.cate_lists li{
  float: left;
  margin-right: 15px;
  margin-bottom: 10px;
  width: 29%;
  text-align: center;
}
.cate_lists li:nth-child(3n) {
  margin-right: 0;
}
.cate_lists li a{
  display: block;
  padding: 5px 10px;
  font-size: 14px;
  color: #fff;
}
/*** 各カテゴリーの色設定 ***/
.label-ed{
  background: #8f0099;
}
.label-zoudai{
  background: #006699;
}
.label-houkei{
  background: #900;
}
.label-seibyou{
  background: #269900;
}

.breadcrumb{
  background: #069;
  border-radius: 5px 5px 0 0;
}
.breadcrumb ul{
  overflow: hidden;
  padding: 5px 10px;
  border-bottom: 1px solid #66a3c2;
  color: #fff;
  margin-bottom: 0;
}
.breadcrumb li {
  float: left;
  font-size: 14px;
  padding: 0 10px 0 5px;
  background: url(https://www.ueno.co.jp/common/img/icon/icon_breadcrumbs-list.gif) no-repeat right center;
  white-space: nowrap;
}
.breadcrumb li:last-child{
  background: none;
}
.breadcrumb li a{
  color: #fff;
}
.post_lists_ttl h1 {
  font-size: 24px;
  background: #069;
  color: #fff;
  padding: 10px;
  border-radius: 0 0 5px 5px;
  margin-bottom: 15px;
}
.post_lists_ttl h1 span {
  font-size: 18px;
  display: block;
}
.post_lists_ttl p{
  padding: 0 10px;
}
.single_contents h2{
  background: #FEFEFE url(https://www.ueno.co.jp/img/common/title/bg_h2-01.jpg) repeat-x bottom;
  border-top: solid 2px #006699;
  margin-bottom: 15px;
  padding: 5px 10px;
  font-size: 21px;
}

/* pager */
.pager { margin-top:70px; margin-bottom:4em; padding: 1em 10px 0; border-top:#ddd 1px solid; text-align: center;}
.pager:after { content:''; display:block; clear:both; height:0; }
.pager a { color:#006699; }
.pager a[rel='prev'] { float:left; }
.pager a[rel='next'] { float:right; }
.pager span { display:inline-block; color:#999; }
.pager .pagerPrev { float:left; }
.pager .pagerNext { float:right; padding-right:1.4em !important; padding-left:0 !important; background-position:right center !important; }
.pager .pagerGoList { display:inline-block; }
.pager .screen-reader-text { display:none; }

.Archive .pager { font-size:0.9em; text-align:center; border-top: none; margin-top: 15px;}
.Archive .pager:after, .ArchivesNews .pager:after { content:''; display:block; clear:both; height:0; }
.Archive .pager a, .Archive .pager span, .ArchivesNews .pager a, .ArchivesNews .pager span { display:inline-block; min-width:1.5em; padding:0.25em 0.35em; border-radius:2px; border:#ddd 1px solid; line-height:1.0; }
.Archive .pager .prev, .ArchivesNews .pager .prev { float:left; padding: 7px 15px; color: #fff; background:#bbb; }
.Archive .pager .next, .ArchivesNews .pager .next { float:right; padding: 7px 15px; color: #fff; background:#bbb; }
.Archive .pager .current, .ArchivesNews .pager .current { border:#006699 1px solid; color:#fff; font-weight:600; background:#006699; }
.page-numbers{ margin:0 5px; }
.nav_bx{
  margin-bottom: 0;
}

.more_btn{
  margin-bottom: 20px;
}
.more_btn a {
  display: block;
  width: 100%;
  background: #069;
  text-align: center;
  padding: 6px 10px;
  border-radius: 5px;
  color: #fff;
}
.single_contents {
  padding: 0 10px;
}

.single_contents h3{
  background: #f2f2f2;
  border-radius: 3px;
  border: #1da1f3 1px solid;
  border-left: #1da1f3 7px solid;
  color: #1da1f3;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  padding: 0.35em 1.0em;
  line-height: 1.5;
}
.single_contents h4{
  border-bottom: #1da1f3 1px solid;
  border-left: #1da1f3 7px solid;
  color: #1da1f3;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  padding: 0.35em 1.0em;
  line-height: 1.5;
}
.single_contents h5{
  border-bottom: #1da1f3 3px double;
  color: #1da1f3;
  font-size: 18px;
  font-weight: 600;
  padding: 0 0 0.5em 0;
  position: relative;
  margin: 0 0 15px 0;
  line-height: 1.5;
}
.single_contents h5::before{
  content: '';
  display: inline-block;
  position: relative;
  top: -0.075em;
  margin-right: 0.5em;
  border: transparent 4px solid;
  border-left: #1da1f3 4px solid;
}
.single_contents ul li{
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 5px;
}
.single_contents ol li{
  margin-left: 25px;
  margin-bottom: 5px;
  list-style-type: decimal-leading-zero;
}
.space {
margin-bottom:10px;
}
/* more */
.list_excerpt .more {
    background: #f63;
    color:#fff;
    font-size:12px;
    padding:2px 15px 2px 10px;
    border-radius:5px;
    margin:0;
    float:right;
    position: relative;
}
.list_excerpt .more::before{
    position: absolute;
    margin: auto;
    content: "";
    vertical-align: middle;
    right: 8px;
    top:40%;
    width: 4px;
    height: 4px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* 190208追加分 */
.single_more ul {
  margin-bottom: 15px;
}
.single_more ul {
	margin-bottom:15px;
}

.single_more ul li{
    display: block;
    border-radius: 5px;
    color: #fff;
    font-size: 18px;
    width: 100%;
    max-width: 320px;
    padding: 10px;
    position:relative;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2);
    -webkit-tap-highlight-color: transparent;
    transition: .3s ease-out;
    text-align:center;
    font-family: "ヒラギノ角ゴ Pro","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,sans-serif;
}
.single_more ul li.btn_price {
    background:#22AC38;
}
.single_more ul li.btn_flow {
    margin: 20px auto 25px;
    background: #F25500;
}
.single_more ul li.btn_yoyaku {
    background:#E74132;
    margin: 20px auto 25px;
}
.single_more ul li a {
	display: inline-block;
	opacity:0.9;
	color:#fff;
	font-weight:bold;
	letter-spacing: 2px;
	text-decoration:none;
}
.single_more ul li:hover {
	box-shadow: 0 5px 10px 0 rgba(0,0,0,0.12), 0 3px 20px 0 rgba(0,0,0,0.12), 0 5px 6px -2px rgba(0,0,0,0.2);
}
.single_more ul li::before {
   content: '';
   width: 20px;
   height: 20px;
   background:url("/common/img/button/icon_price.png") no-repeat left center;
   background-size:100%;
   display: inline-block;
   margin-top: -5px;
   vertical-align: middle;
   margin-right: 6px;
}
.single_more ul li.btn_flow::before {
   width: 20px;
   height: 20px;
   background:url("/common/img/button/icon_flow.png") no-repeat left center;
   background-size:100%;
}
.single_more ul li.btn_yoyaku::before {
   width: 20px;
   height: 20px;
   background:url("/common/img/button/icon_yoyaku.png") no-repeat left center;
   background-size:100%;
   left:26%;
}
.point_ttl {
  font-size: 21px;
  max-width: 840px;
  margin: 0 auto 0px;
  position: relative;
  padding: .5em 15px;
  background: #54a6d8;
  color: white;
  font-weight: 500;
}
.point_list {
  border: 1px solid #54a6d8;
  border-radius: 0 0 5px 5px;
  border-top: none;
  max-width: 660px;
  margin: 0 auto 50px;
  background: #e7f6ff;
  padding: 15px;
  width: 100%;
}

.more_txt {
  color: #069;
  font-weight: bold;
  text-align: right;
  margin-top: -20px;
  font-size: 17px;
}


#component-5.component-group{
  height: 70px;
}

/* 404 */
 
.not_txt {
  font-size: 18px;
  }
  
  .not_txt p {
  line-height: 1.8;
  }
  
  .more_btn {
  max-width: 250px;
  width: 100%;
  margin: 30px auto 0;
  }
  
  .more_btn a {
  display: block;
  background: #036;
  border: 2px solid #036;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  padding: 8px;
  position: relative;
  margin-bottom: 150px;
  }
  
  .more_btn a::before {
  content: '';
  position: absolute;
  top: 50%;
  margin-top: -5px;
  left: 20px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
  }
  
  .more_btn a:hover {
  background: #fff;
  text-decoration: none;
  color: #036;
  }
  
  .more_btn a:hover::before {
  border-top: 2px solid #036;
  border-right: 2px solid #036;
  }
  
  .blog.pagetitle {
    margin-top: 10px;
    background: #1A4876 url(/common/img/bg/bg_2color_h33_1A4876-003366.gif) repeat-x scroll left bottom;
    color: #FFFFFF;
    display: block;
    font-weight: bold;
    overflow: hidden;
    padding: 7px 10px;
    font-size: 16px;
    margin-bottom: 20px;
  }
  
  @media screen and (min-width: 601px){
    .sp_contents{
      display: none!important;
    }
  }
  
  @media screen and (max-width: 600px){
    .pc_contents{
      display: none!important;
    }
    .component-line h1.pagetitle{
      background: #069;
      color: #fff;
      font-size: 22px;
      padding: 10px;
      text-align: left;
      margin-bottom: 20px;
    }
    #Cat1LeadBlock .more_btn{
      margin-top: 25px;
    }
    .more_btn a{
      font-size: 16px;
    }
  }  

  /* カテゴリー遷移ボタン追加 */
  .cat_btn {
    margin: 10px 0 20px;
    text-align: center;
  }
  .cat_btn a {
    background: #900; /* 包茎手術 */
    color: #fff;
    display: inline-block;
    font-weight: bold;
    font-size: 18px;
    padding: 20px 0;
    width: 100%;
    max-width: 300px;
  }
  .cat_btn a:hover {
    text-decoration: none;
  }
  .cat_btn.btn_color_02 a {
    background: #269900; /* 性病治療 */
  }
  .cat_btn.btn_color_03 a {
    background: #8f0099; /* ED */
  }


/* 包茎リンクボタン */
.phimoticlink_btn {
  margin: 0 0 60px;
  text-align: center;
}

.phimoticlink_btn a {
  background-color: #069;
  display: inline-block;
  color: #fff;
  padding: 20px;
  font-size: 18px;
  font-weight: bold;
}

.phimoticlink_btn.btn02 a {
  background-color: #069;
}

.phimoticlink_btn.btn03 a {
  background-color: #069;
}

.phimoticlink_btn a:hover {
  text-decoration: none;
}


/* 20230914監修医師追加 */
.sv_wrap {
  background: #f2f2f2;
  border: #1da1f3 1px solid;
  border-radius: 3px;
  padding: 20px 30px;
  margin-top: 50px;
}
.cv_flex {
  display: block;
}
.sv_cnt .career_list {
  display: block;
  width: 100%;
  background: #fff;
  padding: 10px 15px;
}
.sv_txt {
  background: #54a6d8;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  padding: 10px 15px;
  margin-bottom: 20px;
}
.cv_photo {
  margin-bottom: 30px;
  text-align: center;
  width: 100%;
}
.sv_cnt {
  width: 100%;
}
.sv_clinic {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
}
.sv_name {
  margin-bottom: 10px;
}
.sv_name a {
  font-size: 25px;
  font-weight: bold;
  color: #000;
  transition: .4s;
}
.sv_name a:hover {
  color: #54a6d8;
}
.sv_txt_area {
  font-size: 15px;
  margin-bottom: 20px;
}
.career {
  font-size: 17px;
  font-weight: bold;
  border-bottom: 1px solid;
  padding: 1px 2px;
  margin-bottom: 10px;
}
.single_contents ul.career_list li {
  list-style-type: none;
  margin-left: 0;
}
.single_contents ul.career_list li:last-child {
  margin-bottom: 0;
}

/* 20240201 レイアウト調整 */
.q_underline {
  background:linear-gradient(transparent 60%, #c8e6f7 60%);
}
.top_cat {
  border-bottom: 2px solid #069;
  margin-bottom: 0;
  background: #c8e6f7;
  padding: 7px 10px 5px;
  line-height: 1.3;
}
.top_cat span {
  color: #069;
  font-size: 21px;
  margin-left: 15px;
}
.cat_area {
  margin-bottom: 3rem;
}

/* 20240508 リンクボタン追加 */
.btn_area {
  margin-bottom: 60px;
}
.link_btn {
  margin: 0 auto 30px;
  width: 90%;
}
.link_btn:last-child {
  margin: 0 auto;
}
.link_btn a {
  display: block;
  text-align: center;
}