* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  color: #262626;
}

body{
	font-family: sans-serif ;
}

ul {
  margin-bottom: 0;
}

a{
  text-decoration: none;
  display: block;
}

#container {
  max-width: 100%;
  margin: 0 auto;
}

span.bold{
  font-weight: bold;
}

span.red{
  color: #FF3838;
}
/* HEADER and Navigation */

#header {
  padding: 0;
  width: 100%;
  min-width: 0;
  top: 0;
  left: 0;
  z-index: 100;
  margin: 0;
  position: sticky;
  position: -webkit-sticky;
}

#header_topp {
  padding: 0.25rem 0;
  background: #FF95B3;
  position: relative;
}

#header_topp > p{
  font-size: 0.9rem;
  text-align: center;
  color: #fff;

}

#header_topp .top_text{  font-size: 0.9rem; text-align: center; color: #fff; display: block;  font-weight: bold;}

#header_main_nav {
  background-color: #fff;
}

#header_main_nav .header_inner {
  display: flex;
  justify-content: space-between !important;
  align-items: center;
  padding: 10px 15px 12px;
  box-sizing: border-box;
  position: relative;
}

.independent #header_main_nav .header_inner{
  padding: 15px 20px 20px;
}

.logo_col {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  width: 35%;
}

.independent .logo_col{
  width: 45%;
}

.logo_col a{
  height: 40px;
  display: block;
}
.independent .logo_col a{
  height: 40px;
}

.logo_col a img{
  height: 40px;
  width: 127px;
}

.independent .logo_col a img{
  height: 50px;
  width: 158px;
}

.logo_text {
  font-size: 20px;
  line-height: 29px;
}

.weekends{
  border-bottom: 3px solid #ffa77d;
  border-right: 3px solid #ffa77d;
  padding: 0.5rem 0.7rem 0.4rem 0.9rem;
  background: #fcffd2;
}

.header_inner .reservation{
  width: 52%;
}

.header_inner .reservation > p{
  font-size: 0.7rem;
  text-align: center;
}

.header_inner .reservation .flex{
  display: flex;
  justify-content: space-between;
}

.header_inner .reservation .flex a{
  width: 49%;
  padding: 0.6rem 0.9rem 0.5rem 0.6rem;
  border-radius: 5px;
  background: #EEDBC0;
}

.header_inner .reservation .flex a.okayama{
  background: #BEE9EE;
}

.header_inner .reservation .flex a p{
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
}

.header_inner .reservation .flex a p .btn-text{
  line-height: 1.2rem;
  text-align: center;
}

@media (min-width: 771px){
  #header_main_nav .header_inner{
    padding: 15px 20px 18px;
  }

  .independent .logo_col{
    width: 65%;
  }

  .logo_col a{
    display: block;
    height: 50px;
  }
  
  .logo_col a img{
    height: 50px;
    width: 158px;
  }

  .header_inner .reservation{
    width: 32%;
  }

  .header_inner .reservation .flex a{
    padding: 0.6rem 1.2rem 0.3rem 0.9rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px){
  .logo_col {
    width: 50%;
    display: block;
  }

  .logo_col #logo_image{
    width: 60px;
  }

  .header_inner .reservation{
    width: 35%;
  }

  .header_inner .reservation .flex a{
    padding: 0.6rem 1.3rem 0.4rem 1.1rem;
  }
}

#menu_button {
  position: relative;
  z-index: 9;
  display: inline-block;
  font-size: 11px;
  width: 30px;
  height: 25px;
  line-height: 25px;
  text-decoration: none;
  color: #FFB4B4;
  text-align: center;
}

#menu_button span {
  white-space: nowrap;
  display: block;
  position: absolute;
  top: 35px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  line-height: 1;
}

#menu_button>i {
  display: block;
  position: absolute;
  left: 0px;
  width: 30px;
  height: 4px;
  background-color: #FFB4B4;
  border-radius: 2px;
  transition: all 0.25s ease;
}

#menu_button>i:nth-of-type(1) {
  top: 0px;
}

#menu_button>i:nth-of-type(2) {
  top: 10px;
}

#menu_button>i:nth-of-type(3) {
  top: 20px;
}

.open_menu #menu_button {
  background-color: #ffffff00;
}

.open_menu #menu_button i {
  background-color: #333333;
}

.open_menu #menu_button span {
  display: none;
}

.open_menu #menu_button>i:nth-of-type(1) {
  transform: rotateZ(45deg);
  top: 11px;
}

.open_menu #menu_button>i:nth-of-type(2) {
  top: 11px;
  opacity: 0;
}

.open_menu #menu_button>i:nth-of-type(3) {
  transform: rotateZ(-45deg);
  top: 11px;
}

@media (min-width: 771px){
  #menu_button{
    width: 35px;
  }

  #menu_button>i {
    width: 35px;
  }
  
  #menu_button>i:nth-of-type(2) {
    top: 11px;
  }
  
  #menu_button>i:nth-of-type(3) {
    top: 22px;
  }
}


#top_section {
  background: linear-gradient(135deg, #FFEEEE 0%, #FFEEEE 5%, transparent 5%, transparent 10%, #FFEEEE 10%, #FFEEEE 15%, transparent 15%, transparent 20%, #FFEEEE 20%, #FFEEEE 25%, transparent 25%, transparent 30%, #FFEEEE 30%, #FFEEEE 35%, transparent 35%, transparent 40%, #FFEEEE 40%, #FFEEEE 45%, transparent 45%, transparent 50%, #FFEEEE 50%, #FFEEEE 55%, transparent 55%, transparent 60%, #FFEEEE 60%, #FFEEEE 65%, transparent 65%, transparent 70%, #FFEEEE 70%, #FFEEEE 75%, transparent 70%, transparent 80%, #FFEEEE 80%, #FFEEEE 85%, transparent 85%, transparent 90%, #FFEEEE 90%, #FFEEEE 95%, transparent 95%);
  background-size: 6em 6em;
  background-color: #ffffff;
  opacity: 1;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
}

#top_section h1 {
  text-align: center;
  font-size: 18px;
  line-height: 24px;
}

#top_section h2 {
  text-align: center;
  font-size: 18px;
  line-height: 24px;
}

#res {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
  padding: 20px 20px 40px;
  background: radial-gradient(circle, #ffffff 25%, transparent 26%),radial-gradient(circle at bottom left, #ffffff 12%, transparent 13%),radial-gradient(circle at bottom right, #ffffff 12%, transparent 13%),radial-gradient(circle at top left, #ffffff 12%, transparent 13%),radial-gradient(circle at top right, #ffffff 12%, transparent 13%);
  background-size: 2em 2em;
  background-color: #fbffe1;
  opacity: 1;
}

#res h5 {
  font-weight: 700;
  font-size: 16px;
  color: #333333;
}

.highlight {
  position: relative;
  z-index: 1;
  background-image: linear-gradient(0deg,#ffcb9c 60%,transparent 60%);
  padding: 0 6px;
}

#res p.text {
  /* text-align: center; */
  text-align-last: left;
  font-size: 16px;
}

#res table {
  width: 100%;
  border: 1px solid #ccc;
  border-collapse: collapse;
}

#res table th,
#res table td{
  border: 1px solid #ccc;
}

#res table th{
  font-weight: normal;
  background: #ffe6e6;
  color: #333;
  width: 20%;
}

#res table:first-of-type tr:first-child th{
  color: #FF3838;
  font-weight: bold;
}

#res div.memo{
  margin: 1rem 0;
  border: 3px dotted #FF3838;
  padding: 1rem 1rem 1.5rem;
  background: #faffed;
  width: 100%;
}

#res div.memo h6{
  text-align: center;
}

#res div.memo a{
  margin: 1rem auto 0;
}

#res .download {
  display: block;
  padding: 0.7rem 1rem;
  width: 60%;
  background: #fff;
  border: 2px solid #ed4d4d;
  border-radius: 30px;
  line-height: 1;
  position: relative;
}

#res .download::after {
  display: block;
  content: "";
  width: 15px;
  height: 15px;
  background: url(/urology/wp-content/themes/hiro-urology/img/download_icon.png) no-repeat;
  background-size: contain;
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
}

@media (min-width: 771px){
  #res .download {
    width: 30%;
  }

  #res table,
  #res div.memo{
    width: 70%;
  }
}
/* Footer */

footer #footer-links {
  padding: 20px;
  background: #FBFCEC;
}

footer #footer-links ul, footer #footer_bottom ul {
  list-style: none;
  text-decoration: none;
}

footer #footer-links ul li {
  padding: 0.8rem 0.5rem;
  border-bottom: 1px solid #C8C8C8;
  margin-bottom: 10.5px;
  font-size: 16px;
  color: #333333;
  line-height: 24px;
  cursor: pointer;
}
footer #footer-links ul li:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

footer #footer-links ul li.has_child {
  position: relative;
}

footer #footer-links ul li.has_child .icon::after {
  content: "\203A";
  position: absolute;
  right: 5%;
  top: 10px;
  transform: rotate(90deg);
  font-size: 170%;
  transition: 0.5s;
}

footer #footer-links ul li.has_child a.add .icon::after{
  transform: rotate(270deg);
}

footer #footer-links ul li.has_child ul{
  margin-top: 1rem;
}

footer #footer-links ul li.has_child ul li{
  padding-left: 1rem;
}

footer #footer-links ul li.has_child ul li:not(:last-child){
  border-bottom: 1px solid #ffc6c6;
}

footer #footer-links ul li.has_child ul li:last-child{
  border-bottom: none;
}

footer #footer-links ul li a, footer #footer-links ul li a:hover, footer #footer_bottom ul li a, footer #footer_bottom ul li a:hover {
  text-decoration: none;
  color: #333333;
}

footer #footer_bottom {
  padding: 30px 30px 20px;
  /*background: linear-gradient(45deg, #F5F5F5 0%, #F5F5F5 5%, transparent 5%, transparent 10%, #F5F5F5 10%, #F5F5F5 15%, transparent 15%, transparent 20%, #F5F5F5 20%, #F5F5F5 25%, transparent 25%, transparent 30%, #F5F5F5 30%, #F5F5F5 35%, transparent 35%, transparent 40%, #F5F5F5 40%, #F5F5F5 45%, transparent 45%, transparent 50%, #F5F5F5 50%, #F5F5F5 55%, transparent 55%, transparent 60%, #F5F5F5 60%, #F5F5F5 65%, transparent 65%, transparent 70%, #F5F5F5 70%, #F5F5F5 75%, transparent 70%, transparent 80%, #F5F5F5 80%, #F5F5F5 85%, transparent 85%, transparent 90%, #F5F5F5 90%, #F5F5F5 95%, transparent 95%);*/
  background-size: 5em 5em;
  background-color: #FBEEEE;
  opacity: 1;
}

footer #footer_bottom ul {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
footer #footer_bottom ul li {
  width: 50%;
  margin-bottom: 10.5px;
  font-size: 16px;
  color: #333333;
  line-height: 24px;
}

@media screen and (max-width: 768px) {
 footer #footer_bottom ul li {
  width: 100%;
 }
}


footer #footer_cright {
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #FF95B3;
}

footer #footer_cright p {
  font-size: 12px;
  color: #333;
}

/* Media Query */

@media (min-width: 771px){
}

/* Common Reservation button */

.angle_right {
  font-size: 20px;
  line-height: 20px;
  padding-left: 0.5rem;
}

/* FV reservation button */

#res .res_btn,
#faq .res_btn{
  background: #E27B7B;
  padding: 10px 0;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 10px;
  font-weight: 600;
  align-items: center;
}


#res .res_btn.res_btn {
  padding: 0.2rem 0;
  width: 60%;
}

#faq .res_btn{
  width: 100%;
  margin: 0 auto;
}

#faq h3{
  font-size: 1.2rem;
  font-weight: bold;
  border-left: 7px solid #4681a5;
  padding-left: 0.5rem;
  color: #4681a5;
}

#faq h3:not(:first-child){
  margin-top: 3rem;
}

@media (min-width: 771px){
  #faq .res_btn{
    width: 40%;
  }

  #res .res_btn.res_btn {
    padding: 0.2rem 0;
    width: 40%;
  }
}

#res .res_btn.sapporo,
#faq .res_btn.sapporo{
  background: #EEDBC0;
}

#res .res_btn.okayama,
#faq .res_btn.okayama{
  background: #BEE9EE;
}

#faq .res_btn.okayama{
  margin-top: 0.5rem;
}

#res .res_btn .btn_text
#faq .res_btn .btn_text{
  font-size: 1.1rem;
}


#guide_access{
  padding-top: 80px;
  margin-top: -80px;
}

#guide_access .prefec{
  font-weight: bold;
}

#guide_access .flex-col{
  margin: 0.5rem 0;
}

#guide_access .flex-col a{
  display: inline-block;
}

#guide_access ul li{
  list-style-type: none;
  margin-top: 1rem;
}

#guide_access ul li::before{
  content: none;
}

#guide_access ul li dl dt{
  background: #FFDFDF;
  border-radius: 5px;
  padding: 2rem 1rem;
  position: relative;
  padding-left: 4rem;
}

#guide_access ul li dl dd{
  margin: 1rem 0;
}

#guide_access ul li dl dd .parking{
  width: 95%;
  margin: 0 auto;
}

#guide_access ul li dl dd .parking h3{
  font-size: 1rem;
  padding-left: 1rem;
  position: relative;
  text-align: left;
}

#guide_access ul li dl dd .parking h3:not(:first-child){
  margin-top: 1.5rem;
}

#guide_access ul li dl dd .parking h3::before{
  content: "▸";
  display: block;
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: 0;
}

#guide_access ul li dl dd .parking p{
  line-height: 1.5;
  padding-left: 1rem;
}

#guide_access ul li dl dd .parking figure{
  margin-top: 1rem;
}

#guide_access ul li dl dd .parking table{
  width: 100%;
  border-collapse: collapse;
}

#guide_access ul li dl dd .parking table tr th,
#guide_access ul li dl dd .parking table tr td{
  padding: 1rem 0;
  border: 1px solid #FFDFDF;
}

#guide_access ul li dl dt .angle_right{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 4%;
}

#guide_access ul li dl dt::before{
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  position: absolute;
  left: 4%;
  top: 50%;
  transform: translateY(-50%);
}

#guide_access ul li dl dt.train::before{
  background: url(/urology/wp-content/uploads/2023/06/by-train.png) no-repeat;
  background-size: contain;
}

#guide_access ul li dl dt.car::before{
  background: url(/urology/wp-content/uploads/2023/06/by-car.png) no-repeat;
  background-size: contain;
}

#guide_access ul li dl dt::after{
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  position: absolute;
  border-left: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(-45deg);
  right: 5%;
  top: 37%;
  transition: .7s;
}

#guide_access ul li dl dt.open::after{
  transform: rotate(135deg);
}


#guide_access ul li dl .map{
  border: 1px solid #f3dfcd;
  background: #fff;
  width: 95%;
  margin: 0 auto;
}

#guide_access ul li dl .map iframe {
  width: 90%;
  margin: 1rem auto;
  display: block;
  height: 200px;
}

#guide_access ul li dl .map > div,
#guide_access ul li dl dd .parking > div {
  width: 80%;
  margin: 2rem auto;
  background: #AE6321;
  z-index: 10000;
  border-radius: 30px;
}

#guide_access ul li dl dd .parking > div {
  width: 65%;
  margin: 1rem auto;
  border-radius: 30px;
}

#guide_access ul li dl .map > div a,
#guide_access ul li dl dd .parking > div a {
  display: block;
  width: 100%;
  padding: 1.5rem 0;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  color: #fff;
  position: relative;
}

#guide_access ul li dl .map > div a::after,
#guide_access ul li dl dd .parking > div a::after {
  display: block;
  content: "";
  width: 7px;
  height: 7px;
  position: absolute;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-135deg);
  right: 10%;
  top: 40%;
}

@media (max-width: 770px) {
  #guide_access ul li dl .map > div a{
    padding-right: 1.2rem;
  }

  #guide_access ul li dl dd .parking > div a{
    padding-right: 0.8rem;
  }

  #guide_access ul li dl dt{
    padding-left: 2.9rem;
  }

  #guide_access ul li dl dt::before{
    left: 3%;
  }
}

/* FOOTER reservation button */

.cta_footer{
  position: sticky;
  bottom: 0;
  z-index: 1000;
}

.cta_footer .flex{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0;
  width: 100%;
}

.cta_footer .flex > p{
  width: 100%;
  text-align: center;
  font-weight: bold;
  color: #FF3838;
}

.cta_footer .flex .res_btn {
  width: 50%;  
  max-width: 310px;
  display: block;  
  position: relative;
  border-radius: 5px;
}

.cta_footer .flex .res_btn figure img {
  width: 100%;
  max-width: 100%;
}


.cta_footer .flex .res_btn p {
  text-align: center;
  border: 2px #fff dashed;
  width: 95%;
  height: 84%;
  margin: 0 auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 3px;
  font-weight: bold;
  gap: 0.5rem;
  font-size: 1rem;
}

/* Media Query */

@media (min-width: 771px) {
  .cta_footer .flex{
    max-width: 771px;
    width: 100%;
  }
 

  .cta_footer .flex .res_btn p{
    gap: 14px;
    font-size: 1.2rem;
  }
}

/* Clinic button */
.list_btn{
  width: 250px;
  padding: 11px 30px;
  background: #EEDBC0;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  line-height: 1;
  display: block;
  margin: 0 auto;
}

.list_btn.blue {
  background: #BEE9EE;
  margin-top: 0.5rem;
}

/* Media Query */

@media (min-width: 771px) {
  #container {
    /* max-width: 771px; */
    max-width: 393px;
    margin: 0 auto;
  }
}


.menu {
  z-index: 1000;
  font-weight: bold;
  font-size: 0.8em;
  width: 100%;
  max-width: 771px;
  height: 100vh;
  background: #FFF3F3;
  position: fixed;
  text-align: center;
  font-size: 12px;
  top: 0px;
  transform: translateY(-100%);
  transition: all 475ms ease-in-out,
    transform 450ms ease-in-out;
  transform-origin: top;
}

.showMenu {
  transform: translateY(0);
}

.menu_topp {
  height: 10px;
  background: #FFB4B4;
  margin-bottom: 45px;
}

.menu > ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  list-style-image: none;
  padding: 27px 21px;
}

.menu > ul li {
  display: block;
  padding: 1.5rem 1rem;
  margin-bottom: 10px;
  background: #fff;
  font-size: 16px;
  text-align: left;
  position: relative;
}

.menu > ul li.has_child {
  cursor: pointer;
}

.menu > ul li p.open + .inner_menu{
  display: block;
  margin-top: 1rem;
}

.menu > ul li p.open + .inner_menu li{
  padding-left: 1rem;
}

.menu > ul li a .icon::after {
  content: "\203A";
  position: absolute;
  right: 5%;
  top: 15px;
  transform: rotate(90deg);
  font-size: 170%;
  transition: 0.5s;
}

.menu > ul li a.add .icon::after {
  transform: rotate(270deg);
}

.menu > ul li:hover {
  background: #ffebeb;;
  outline: #FFB4B4 1px solid;
  color: #FFB4B4;
}

.menu > ul li a {
  text-decoration: none;
  margin: 0px;
  color: #333333;
}

.menu > ul li a:hover {
  color: #333333;
  text-decoration: none;
}

.menu a {
  text-decoration: none;
  color: #333333;
  display: block;
}

.menu a:hover {
  text-decoration: none;
  color: #666;
}

@media (max-width: 770px) {
  .menu > ul li {
    padding: 1rem;
  }

  .menu > ul li a .icon::after {
    top: 7px;
  }
}

.closeIcon {
  width: 16px;
  height: 16px;
  position: absolute;
  top: 37px;
  right: 21px;
  cursor: pointer;
}

.closeIcon::before, .closeIcon::after {
  content: "";
  width: 2px;
  height: 17px;
  background: #262626;
  display: block;
  border-radius: 2px;
}

.closeIcon::before {
  transform: translate(7.5px, -0.5px) rotate(45deg);
}

.closeIcon::after {
  transform: translate(7.5px, -17.5px) rotate(-45deg);
}

/* blog page */

.blog .blog_title h2{
  text-align: center;
  color: #E27B7B;
  font-weight: bold;
  font-size: 1.5rem;
  margin: 1rem 0;
}

.blog .blog_content{
  padding: 0 1rem 2rem;
}

.blog .blog_content .date{
  border-bottom: 1px solid #FFDFDF;
  padding-bottom: 0.2rem;
  text-align: right;
  color: #E27B7B;
  font-size: 0.8rem;
}

.blog .blog_content .content_inner{
  margin-top: 1rem;
}

.blog .blog_content p{
  line-height: 1.7;
}

.blog .page_link{
  padding: 0 1rem 4rem;
  position: relative;
}

.blog .page_link p{
  position: absolute;
  background: #FFDFDF;
}

.blog .page_link p.prev{
  left: 1rem;
  padding: 0.5rem 1rem 0.5rem 2.7rem;
}

.blog .page_link p.next{
  right: 1rem;
  padding: 0.5rem 2.7rem 0.5rem 1rem;
}

.blog .page_link p a{
  display: inline-block;
  text-decoration: none;
  position: relative;
}

.blog .page_link p a::after{
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  position: absolute;
  top: 0;
}

.blog .page_link p.prev a::after{
  background: url(/urology/wp-content/themes/hiro-urology/img/prev_icon.svg) no-repeat;
  background-size: contain;
  left: -92%;
}

.blog .page_link p.next a::after{
  background: url(/urology/wp-content/themes/hiro-urology/img/next_icon.svg) no-repeat;
  background-size: contain;
  right: -92%;
}

.blog .recent{
  margin: 1rem 0 3rem;
  padding: 0 1rem;
}

.blog .recent h3{
  font-size: 1.2rem;
  text-align: center;
  padding: 1rem 0;
  background: #D8F6DF;
  font-weight: normal;
}

.blog .recent ul{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  list-style-type: none;
  padding: 0.5rem 0 0;
}

.blog .recent ul li{
  width: 48%;
  border-bottom: 1px dotted #ccc;
  padding: 0.5rem;
}

.blog .recent ul li p{
  color: #FFB4B4;
  font-size: 0.9rem;
}

.blog .recent ul li a{
  display: block;
  text-decoration: none;
}

@media (max-width: 770px) {
  .blog .recent ul{
    display: block;
  }
  
  .blog .recent ul li{
    width: 100%;
  }
}

#doctor .doctor_wrapper .pic .item:first-child{
  width: 50%;
  margin: 0 auto;
  margin-bottom: 1rem;
}

#doctor .doctor_wrapper .pic .item p{
  margin-bottom: 0;
  font-weight: normal;
}

#doctor .doctor_wrapper .record .item ul{
  list-style-type: none;
}

#doctor .doctor_wrapper .record .item:first-child ul{
  list-style-type: square;
  padding-left: 1.5rem;
}

#doctor .doctor_wrapper .record .item:last-child ul li{
  margin-bottom: 0.5rem;
}

#doctor .doctor_wrapper .record .item ul li{
  line-height: 1.7;
}

#doctor .doctor_wrapper .record .item ul li::before{
  content: none;
}

#doctor .doctor_wrapper .record .item h3{
  border-bottom: 1px solid #4681a5;
  color: #4681a5;
  padding-bottom: 0.2rem;
  margin-bottom: 1rem;
  text-align: center;
}

#doctor .doctor_wrapper .record .item{
  margin-top: 1rem;
}

#doctor .doctor_wrapper .record .item{
  margin-top: 1rem;
}


@media (min-width:771px) {

  #doctor .doctor_wrapper .pic{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
  }

  #doctor .doctor_wrapper .pic .item:first-child{
    width: 25%;
    margin-bottom: 0;
  }

  #doctor .doctor_wrapper .pic .item:last-child{
    width: 71%;
  }

  #doctor .doctor_wrapper .record{
    display: flex;
    justify-content: space-between;
  }

  #doctor .doctor_wrapper .record .item{
    margin-top: 0;
  }

  #doctor .doctor_wrapper .record .item:first-child{
    width: 40%;
  }

  #doctor .doctor_wrapper .record .item:last-child{
    width: 55%;
  }

  #doctor .doctor_wrapper .record .item h3{
    text-align: left;
  }

  #doctor .doctor_wrapper .record .item:last-child ul li{
    margin-bottom: 0;
  }
}

#common_deseases div{
  width: 100%;
}

#common_deseases div ul{
  list-style-type: none;
}

#common_deseases div ul li{
  border-bottom: 1px dotted #ccc;
}

#common_deseases div ul li::before{
  content: none;
}

#common_deseases div ul li a{
  padding: 1rem;
  position: relative;
}

#common_deseases div ul li a::after{
  display: block;
  content: "";
  border-left: 1px solid #333;
  border-bottom: 1px solid #333;
  transform: rotate(-135deg);
  width: 7px;
  height: 7px;
  position: absolute;
  right: 1rem;
  top: 45%;
}

#common_deseases div ul li a{
  padding: 1rem;
}

@media (min-width:771px) {
  #common_deseases div ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  #common_deseases div ul li{
    width: 49%;
  }
}

/* no page found style */
.page_404{
  padding-bottom: 50px;
}
.page_404 div{
  padding: 50px;
}

/* ニュース記事ページ */
.news-post {
  max-width: 800px;
  margin: 30px auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.news-title {
  font-size: 36px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.news-meta {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.news-meta span {
  margin-right: 20px;
}

.news-content {
  font-size: 18px;
  line-height: 1.6;
  color: #444;
}

.news-thumbnail {
  margin-top: 20px;
  text-align: center;
}

.news-thumbnail img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-tags {
  margin-top: 20px;
  font-size: 14px;
  color: #555;
}

.news-tags a {
  color: #0073aa;
  text-decoration: none;
}

.news-tags a:hover {
  text-decoration: underline;
}
.news-date{
  font-size:12px;
  color:#333;
}
.top-news-ttl{
  font-size:16px;
  font-weight:bold;
  color:#4681a5;
}
.news-item{
  border-bottom: 1px solid #000;
  padding:6px 1rem;
}
.news-item:last-child{
  border-bottom:initial;
}
.news-list{
  margin: 2rem auto;
  width:95%;
}

.clinic-details .fv{
  position: relative;
}
.clinic-details .fv-img{
  background-image: url('/urology/wp-content/themes/hiro-urology/img/clinic-fv-sp.webp');
  background-size: cover;  /* 幅と高さを要素にぴったり合わせる */
  background-position: center; /* 画像を中央に配置 */
  background-repeat: no-repeat; /* 画像を繰り返さない */
  height: 100vh; /* ビューポートの高さを100%にする */
  max-height: calc(770px / 2);
  width: 100%; /* 横幅を100%にする */
}
.clinic-details h1{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffffcc;
  padding: 1.5rem 2rem;
  border-radius: 50%;
  box-shadow: 0 0 5px #fff;
  white-space: nowrap;
}
@media screen and (min-width:771px) {
  .clinic-details .fv-img{
    background-image: url('/urology/wp-content/themes/hiro-urology/img/clinic-fv-pc.webp');
    max-height: calc(770px / 3);
  }
}