/*
Theme Name: wpd-medical-pro Child
Theme URI: https://www.wpdesign.jp/
Template: wpd-medical-pro
Author: Web Magic Inc
Author URI: https://www.webmagic.co.jp/
Description: WPDESIGN type WPD MEDICAL PRO child theme.
Version: 1.1
Tested up to: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, right-sidebar, left-sidebar, flexible-header, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, sticky-post, theme-options, threaded-comments, translation-ready, block-patterns
Text Domain: wpd-medical-pro
*/
.slider .wp-element-caption {
  font-size: 1.25rem !important;
  top: 10% !important;
  line-height: 1.6;
  font-weight: bold;
}
.logo img {
  display: block;
  margin: 0 auto;
  width: 200px;
  height: auto;
}
.home .header-navigation ul li.homelink {
  display: none !important;
}
.home .customHeadline, .home .wp-block-group h2 {
  font-size: 1rem;
  font-weight: bold;
}
.home .customHeadline::after, .home .customHeadline::before {
  width: 1rem;
}
.home .customHeadline::after {
  margin-left: .5rem;
}
.home .customHeadline::before {
  margin-right: .5rem;
}
.home .is-layout-constrained h2 {
  font-weight: bold;
  font-size: 1.875rem;
}
.footer_companyname .companyName {
  font-size: .875rem !important;
}
#recruit_container .customHeadline {
  background-color: rgba(255, 255, 255, .75) !important;
  padding: 1rem 0 !important;
  border-radius: 0 !important;
}
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=search], textarea {
  width: 100% !important;
  box-sizing: border-box;
}
.select_cat_archive {
  width: 100%;
  margin: 0 0 1rem;
  padding: 0 1rem;
}
.select_cat_archive select {
  padding: 5px;
  margin: 0 0 .5rem;
  cursor: pointer;
}
.page-id-100 .wp-block-columns {
  gap: 0 !important;
  margin-bottom: 5rem !important;
}
.privacy-policy .entry-content ol {
  padding-left: 1.5em;
}
.privacy-policy .entry-content ol li {
  margin: 0 0 1em;
  padding: 0;
}
.privacy-policy .entry-content ol ol {
  padding: .5em 0 0;
}
.privacy-policy .entry-content ol ol li {
  list-style: none;
  margin: 0 0 .5em;
  padding: 0 0 0 2em;
  position: relative;
}
.privacy-policy .entry-content ol ol li::before {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}
.privacy-policy .entry-content ol ol li:nth-child(1)::before {
  content: '(1)';
  letter-spacing: .25em;
}
.privacy-policy .entry-content ol ol li:nth-child(2)::before {
  content: '(2)';
  letter-spacing: .25em;
}
.privacy-policy .entry-content ol ol li:nth-child(3)::before {
  content: '(3)';
  letter-spacing: .25em;
}
.privacy-policy .entry-content ol ol li:nth-child(4)::before {
  content: '(4)';
  letter-spacing: .25em;
}
.privacy-policy .entry-content ol ol li:nth-child(5)::before {
  content: '(5)';
  letter-spacing: .25em;
}
.privacy-policy .entry-content ol ol li:nth-child(6)::before {
  content: '(6)';
  letter-spacing: .25em;
}
.privacy-policy .entry-content ol ol li:nth-child(7)::before {
  content: '(7)';
  letter-spacing: .25em;
}
.privacy-policy .entry-content ol ol li:nth-child(8)::before {
  content: '(8)';
  letter-spacing: .25em;
}
.privacy-policy .entry-content ol ol li:nth-child(9)::before {
  content: '(9)';
  letter-spacing: .25em;
}
.privacy-policy .entry-content ol ol li:nth-child(10)::before {
  content: '(10)';
}
.privacy-policy .entry-content ol ol li:nth-child(11)::before {
  content: '(11)';
}
.privacy-policy .entry-content ol ol li:nth-child(12)::before {
  content: '(12)';
}
.privacy-policy .entry-content ol ol li:nth-child(13)::before {
  content: '(13)';
}
.privacy-policy .entry-content ol ol li:nth-child(14)::before {
  content: '(14)';
}
.privacy-policy .entry-content ol ol li:nth-child(15)::before {
  content: '(15)';
}
.service_container .wp-block-image {
  margin-bottom: 2rem;
}
.service_container .wp-block-image img {
  display: block;
  margin: 0 auto;
  
}
.service_container .wp-block-columns {
  gap: 3rem;
}
.service_container .wp-block-column h3 {
      display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  line-height: 1;
  margin-bottom: 1.5rem;
}
.service_container .wp-block-column h3 span {
  display: block; width: 100%;

}
@media print, screen and (min-width: 768px) {
  .slider .wp-element-caption {
    font-size: 2.5rem !important;
    top: 30% !important;
  }
  .header_logo {
    margin: 0 !important;
    padding: 1rem 0 !important;
    width: 50%;
  }
  .logo {
    width: 300px;
    margin: 0;
    padding: 40px 30px 20px !important;
    position: absolute;
    top: 0;
    left: 5%;
    background-color: #fff;
    z-index: 3;
    border-radius: 0 0 30px 30px
  }
  .logo img {
    width: 100%;
  }
  .site-description {
    position: relative;
    z-index: 4;
    padding: 0 0 0 16% !important;
  }
  .headerinfo {
    z-index: 3;
  }
  .header-navigation ul {
    padding: 0 5% 0 0 !important;
    justify-content: flex-end !important;
  }
  .slider figcaption {
    top: 20% !important;
  }
  .page-title h1 {
    padding: 0 !important;
  }
  .home .customHeadline::after, .home .customHeadline::before {
    width: 2rem;
  }
  .home #concept_container .customHeadline {
    font-size: 1.25rem;
  }
  .home #first_container .customHeadline, .home .wp-block-group h2 {
    font-size: 1.875rem;
  }
  #concept_container.layout_in .sectionInner, #concept_container.layout_left .sectionInner {
    width: 70% !important;
  }
  #first_container.layout_default .flexContainer, #first_container.layout_border .flexContainer {
    width: 90% !important;
    max-width: 90% !important;
  }
  #first_container.layout_default .thumbContainer {
    flex-basis: 23% !important;
    max-width: 23% !important;
  }
  #first_container.layout_wide .thumbContainer, #first_container.layout_border .thumbContainer {
    flex-basis: 25% !important;
    max-width: 25% !important;
  }
  .home .wp-block-group__inner-container {
    max-width: 90%;
    margin: 0 auto;
  }
  #recruit_container .customHeadline {
    margin-right: 5% !important;
  }
  .footer_companyname .companyName {
    font-size: 1rem !important;
  }
  .page-id-100 .wp-block-column:first-child {
    flex-basis: 40% !important;
    width: 40% !important;
  }
  .page-id-100 .wp-block-column:last-child {
    flex-basis: 60% !important;
    width: 60% !important;
  }
  .select_cat_archive {
    margin-bottom: 2rem;
    padding: 0;
    display: flex;
    justify-content: flex-end;
  }
  .select_cat_archive select {
    margin: 0 0 0 1rem;
  }
  .service_container .wp-block-columns {
    gap: 5%;
  }
  .service_container .wp-block-column, .service_container .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
    flex-basis: 45% !important;
    margin-bottom: 5%;
  }
  .service_container .wp-block-image img {
  max-width: 80%;
  
}
  .service_container .wp-block-column h3 {
    font-size: 1.125rem;
min-height: 2.5em;
  }
}
@media print, screen and (min-width: 1024px) {
  .slider .wp-element-caption {
    font-size: 3rem !important;
    top: 20% !important;
  }
  .header-navigation ul ul {
    padding: 0 0 1rem !important;
  }
  .home .customHeadline::after {
    margin-left: 1rem;
  }
  .home .customHeadline::before {
    margin-right: 1rem;
  }
  .home #concept_container .customHeadline {
    font-size: 1.75rem;
  }
  .home .wp-block-group__inner-container .wp-block-columns {
    gap: 5% !important;
  }
  .home #info_container .customHeadline, .home #blog_container .customHeadline, .home #recruit_container .customHeadline {
    font-size: 1.875rem;
  }
  .home .service_container .wp-block-column, .service_container .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
    margin-bottom: 0;
  }

}
@media screen and (min-width: 1280px) {
  .site-description {
    padding-left: 14% !important;
  }
  .slider .wp-element-caption {
    font-size: 3.5rem !important;
  }
  .home .service_container .wp-block-columns {
    gap: 2% !important;
  }
  .service_container .wp-block-column, .service_container .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
    flex-basis: 25% !important;
  }
  .service_container .wp-block-column h3 {
    font-size: 1.25rem;
  }
}
@media screen and (min-width: 1600px) {
  .site-description {
    padding-left: 13% !important;
  }
  #concept_container.layout_in .sectionInner, #concept_container.layout_left .sectionInner {
    width: 50% !important;
  }
}
.pc a[href^="tel:"], .tablet a[href^="tel:"] {
  pointer-events: none !important;
  color: #000 !important;
}