/*
Theme Name: dp-infinitii-child
Version: 1.1.4.1
Template: dp-infinitii
*/

/* 全体設定 */

body {
    font-family: 'Noto SansJP',sans-serif;
}
input::placeholder {
    color: orange;
}
p {
    margin: 0 0 1em !important;
}
ul {
    padding: 0 0 1em !important;
}
.kome {
    color: #03a6a6;
    font-size: 0.85em;
}
.kt {
    text-decoration: underline;
    font-size: 1.1em;
}
.kt2 {
    font-size: 1.4em;
}
.kt3 {
    font-size: 2.0em;
}
.onep {
    font-size: 0.8em;
}
.sub_text {
    display: inline-block;
    font-size: 0.6em;
    line-height: 1.2;
}
th {
    font-weight: 400 !important;
    padding: 15px !important;
}
td {
    padding: 15px !important;
}
.text_box {
    margin-bottom: 60px;
}
.w_800 {
    width: 700px;
    margin: 0 auto;
}
@media screen and (max-width:800px) {
.w_800 {
    width: 100%;
}
}
.plx_desc ul {
    margin-left: 20px;
}
.plx_desc ul li {
    position: relative;
}
.plx_desc ul li::before {
    border: 3px solid rgba(255, 255, 255, .64);
}
.plx_desc ul li::before {
    color: #ffffff;
    background: #E93E5C;
    background-image: linear-gradient(120deg, #E93E5C 0%, #b71633 100%);
}
.plx_desc ul li::before {
    position: absolute;
    top: 8px;
    left: -20px;
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

/* ヘッダーメニュー設定 */

.global_menu_ul .menu-item .menu-link::before {
    display: none;
}
.offcanvas_menu_trigger {
    display: none;
}
a.menu-link:hover {
    color: #ff329c;
}
.global_menu_ul .menu-item .sub-menu {
    left: auto !important;
    width: 280px !important;
    padding: 10px 0.5vw !important;
}
.global_menu_ul .menu-item .sub-menu .menu-item {
    -ms-flex-preferred-size: 20%;
    flex-basis: 100% !important;
}
.global_menu_ul>.menu-item>.sub-menu .menu-item .menu-link {
    padding: 17px 5px 16px !important;
}
.global_menu_ul>.menu-item>.sub-menu li {
    border-top: 1px solid #888;
}
.global_menu_ul>.menu-item>.sub-menu li:nth-child(1) {
    border-top: none !important;
}

/* ヘッダー画像部分設定 */

.header-banner-content.is-text-vertical .banner_header {
    max-height: none !important;
}
.header-banner-content:not(.pos-center) .banner_header, .header-banner-content:not(.pos-center) .widget-on-top-banner {
    width: 90% !important;
}
div#banner_title {
    font-family: serif;
    line-height: 1.4;
}
.header-banner-content #banner_caption {
    font-size: 1.4em !important;
    max-height: none !important;
}
.header-banner-content.is-text-vertical #banner_caption {
    line-height: 1.6 !important;
}

/* 画像設定 */

img {
    max-width: 100%;
    margin: 0 !important;
}
.pageside {
    position: fixed;
    z-index: 1000;
    bottom: 114px;
    right: 0;
    width: 120px;
}
.pageside img {
    margin-bottom: 3px !important;
}

/* 見出し設定 */

.entry h1, .entry h2, .entry h3, .entry h4, .entry h5, .entry h6, .dp_text_widget h1, .dp_text_widget h2, .dp_text_widget h3, .dp_text_widget h4, .dp_text_widget h5, .dp_text_widget h6, .textwidget h1, .textwidget h2, .textwidget h3, .textwidget h4, .textwidget h5, .textwidget h6 {
    background-image: none !important;
    margin: 0 0 1em 0 !important;
    padding: 0 !important;
}
.entry h2 {
    color: #ff329c;
    margin-left: calc(-5%) !important;
    font-size: 140% !important;
}
.dp_text_widget h2 {
    color: #e93e5c;
    margin-left: 0 !important;
    font-size: 140% !important;
}
.dp_parallax_widget-3 h2 {
    color: #fff !important;
    font-size: 140% !important;
}
.dp_parallax_widget-3 h2:before,
.dp_text_widget h2:before,
.entry h2:before {
    content: attr( data-title );
    display: block;
    font-size: 2.4em;
    font-family: serif;
}
.entry h3 {
  position: relative !important;
  padding: 1rem 2rem !important;
  border-bottom: 4px solid #f2f2e9;
}
.entry h3:before {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 20%;
  height: 4px;
  content: '';
  background: #e93e5c;
}
.entry h4 {
  margin: 1em 0 0.5em !important;
}
.mid_sp {
    position: relative;
    margin-right: calc(-100%) !important;
    font-family: serif;
    font-size: 250% !important;
    line-height: 2.0 !important;
    filter: drop-shadow(0px 0px 2px #ffffff);
}
.plx_widget h4 {
    font-size: 142%;
}
@media screen and (max-width:1300px) {
.entry h2 {
    margin-left: 0 !important;
}
}
@media screen and (max-width:1000px) {
.entry h3 {
    font-size: 2.0em !important;
}
.dp_parallax_widget-20 h2 {
    color: #fff !important;
    font-size: 140% !important;
}
.dp_parallax_widget-20 h2:before {
    content: attr( data-title );
    display: block;
    font-size: 2.0em;
    font-family: serif;
}
}
.mid_doc_1 {
    display: table;
    font-size: 1.3em;
    border: 1px solid #999999;
    padding: 8px;
    margin-bottom: 20px;
}
.mid_doc_2 {
    display: table;
    font-size: 1.2em;
    border-bottom: 1px solid #999999;
    padding-bottom: 8px;
    margin-bottom: 15px;
}
@media screen and (max-width:900px) {
.mid_sp {
    font-size: 5vw !important;
}
}

/* flex設定 */

.free_box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    gap: 20px;
}
.imcon_box {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 30px 0;
    width: 100%;
}
.imcon_box div {
    flex: 1;
}
.imcon_box_rev {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 60px;
    margin: 60px 0;
    width: 100%;
}
.imcon_box_rev div {
    flex: 1;
}
.imcon_box_2 {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 60px 0;
    width: 100%;
}
.imcon_box table {
    width: 100%;
}
@media screen and (max-width:900px) {
.imcon_box_rev {
    display: block;
}
.imcon_box_rev div {
    margin-bottom: 30px;
}
.imcon_box {
    display: block;
}
.imcon_box div {
    margin-bottom: 30px;
}
}

/* table設定 */

.outline_table table {
    width: 900px;
    margin: 0 auto;
}
.outline_table th,
.outline_table td {
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}
.outline_table th {
    background: none !important;
    font-weight: 400 !important;
    padding: 2.8em 0 1em 1em;
    width: 30%;
    vertical-align: top;
}
.outline_table td {
    padding: 2.8em 0 1em 1.2em;
    width: 70%;
}
.inner_tab table {
    width: 100%;
    table-layout: fixed;
}
.inner_tab th,
.inner_tab td {
    padding: 1em 0;
}
.inner_tab .w_60 {
    width: 60%;
}
.inner_tab .w_20 {
    width: 20%;
}
@media screen and (max-width:900px) {
.outline_table table {
    width: 100%;
}
.outline_table th {
    font-size: 0.8em;
    width: 25%;
}
.outline_table td {
    font-size: 0.8em;
    width: 75%;
}
.inner_tab .w_60 {
    width: 50%;
}
.inner_tab .w_20 {
    width: 25%;
}
}

/* 共通インフォメーション設定 */

.common_info {
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    background-color: #f2f2e9;
    padding: 0 0 60px;
}
.tablebox table {
    width: 100%;
    margin: 0;
}
.tablebox th,
.tablebox td {
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}
.tablebox th {
    background: none !important;
    font-weight: 400 !important;
}
.tablebox td {
    text-align: center;
}
.tablebox td span {
    color: #0f50a6;
}
.info_box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    width: 100%;
}
.info_box div.info_text {
    padding: 30px 80px 0;
    flex: 1;
}
.info_box div.info_map {
    padding: 0;
    flex: 1;
}
.map {
    width: 100%;
    height: 80vh;
    overflow: hidden;
}
.map iframe {
    width: 100%;
    height: calc(85vh + -10px);
    margin-top: -150px;
}
.map2 {
    width: 100%;
    height: 50vh;
    overflow: hidden;
    margin-bottom: 30px;
}
.map2 iframe {
    width: 100%;
    height: calc(85vh + -10px);
    margin-top: -150px;
}
/* 
.map {
    position: relative;
    width: 100%;
    padding-top: 100%;
    height: 0;
}
.map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
} */
.common_ban_box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin: 4em auto 0;
    width: 1200px;
}
.common_ban {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}
a.ban  {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    color: #fff !important;
}
.common_ban_inner_img {
    flex: 1 !important;
    padding: 0;
}
.common_ban_inner_text {
    flex: 2 !important;
    padding: 0 10px;
}
.common_ban_box p {
    margin-bottom: 0 !important;
}
.bg_p_1 {
    background-color: #0F50A6;
}
.bg_p_2 {
    background-color: #03a6a6;
}
.bg_p_3 {
    background-color: #e93e5c;
}
@media screen and (max-width:1200px) {
.info_box {
    display: block;
}
.info_box div.info_text {
    padding: 30px 10px 0;
    margin-bottom: 30px;
}
.s_table {
    overflow-x: scroll;
}
.tablebox table {
    white-space: nowrap;
}
.map {
    height: 40vh;
}
.common_ban_box {
    display: block;
    width: 100%;
    padding: 0 5px;
}
a.ban  {
    margin-bottom: 5px;
}
}

/* フッター設定 */

.footer_box {
    display: flex;
    gap: 30px;
    justify-content: center;
    width: 100%;
    font-size: 0.8em;
    line-height: 1.8;
    margin-top: 50px;
    margin-bottom: 50px;
}
.footer_box div {
    border: 1px solid #d9c2ad;
    border-radius: 8px;
    padding: 30px;
}
.footer_menu_ul .menu-item {
    font-size: 1.0em !important;
}
@media screen and (max-width:900px) {
.footer_box {
    display: block;
    font-size: 1.0em;
    text-align: left;
}
.footer_box div {
    padding: 20px;
    margin-bottom: 20px;
}
}

/* トップページ中段ボックス設定 */

.care_box {
    display: flex;
    gap: 30px;
    width: 900px;
    line-height: 1.8;
    margin: 50px auto;
}
.care_box div {
    flex: 1;
    border-radius: 8px;
    background-color: #f2f2e9;
    padding: 80px 60px;
}
.care_box div.care_text {
    text-align: left;
    padding: 0;
    margin-top: 50px;
    margin-bottom: 50px;
}
@media screen and (max-width:900px) {
.care_box {
    display: block;
    width: 100%;
}
.care_box div {
    margin-bottom: 20px;
    padding: 30px 20px;
}
.care_box div.care_text {
    margin-top: 20px;
    margin-bottom: 20px;
}
}

/* 診療案内設定 */

.blue_circle {
    border: 12px solid #ff7fc1;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 60px;
}
@media screen and (max-width:900px) {
.blue_circle {
    padding: 15px;
    margin-bottom: 30px;
}
}


/* 入院案内設定 */

.link_box {
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
    margin-bottom: 60px;
}
.link_btn {
    width: 49%;
    margin-bottom: 20px;
}
.link_btn a {
    display: block;
    border: 1px solid #191919;
    border-radius: 8px;
    position: relative;
    width: 100%;
    -webkit-box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    background-color: #f2f2e9;
    padding: 1.6em;
    font-size: 1.6em;
    color: #191919 !important;
}
.link_btn a:hover {
    background-color: #e93e5c;
    color: #ffffff !important;
    text-decoration: none !important;
}
.ban_btn a {
    display: block;
    border: 1px solid #191919;
    border-radius: 8px;
    position: relative;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    -webkit-box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    background-color: #f2f2e9;
    padding: 2em;
    font-size: 2.0em;
    color: #191919 !important;
}
.ban_btn a::before {
    position: absolute;
    content: url(https://minamikaihp-kochi.jp/wp-content/uploads/2025/09/pdf.png);
    top: 34%;
    right: 5%;
}    
.ban_btn a::after {
    position: absolute;
    content: "";
    top: 51%;
    width: 10%;
    height: 1px;
    background-color: #191919;
    margin-left: 20px;
}
.ban_btn a:hover::before {
    content: url(https://minamikaihp-kochi.jp/wp-content/uploads/2025/09/pdf_w.png);
}    
.ban_btn a:hover::after {
    background-color: #ffffff;
}
.ban_btn a:hover {
    background-color: #ff7fc1;
    color: #ffffff !important;
    text-decoration: none !important;
}
.t_box {
    display: table;
}
.t_box div {
    display: table-cell;
}
.t_box div:first-child {
    width: 150px;
    padding-right: 20px;
}
.sub_box {
    display: inline-block;
    background-color: #e93e5c;
    color: #ffffff;
    border-radius: 4px;
    padding: 2px 5px;
    margin-right: 5px;
    margin-bottom: 5px;
}
@media screen and (max-width:900px) {
.link_box {
    display: block;
}
.link_btn {
    width: 100%;
}
.link_btn a {
    padding: 1.4em;
    font-size: 1.4em;
}
.ban_btn a {
    padding: 1.4em;
    font-size: 1.4em;
}
.ban_btn a::before {
    top: 12%;
}
.ban_btn a::after {
    right: 26%;
    width: 5%;
}
}

/* 採用情報設定 */

.rec_table table {
    width: 100%;
}
.rec_table th {
    width: 20%;
}
.rec_table td {
    width: 80%;
}

/* お問い合わせ設定 */

input, select, textarea, button {
    letter-spacing: -0.2px;
}
.form_box {
  color: #191919;
  width: 100%;
  margin: 0 auto;
  position: relative;
  transition: all 0.2s ease-in-out;
}
.form_item {
    margin-bottom: 30px;
}
.form_box p {
  margin: 0 !important;
}
.form_box input[type="text"], .form_box input[type="date"], .form_box input[type="number"], .form_box input[type="tel"], .form_box input[type="email"], .form_box textarea, .form_box select, .form_box input[type="submit"] {
    color: #191919 !important;
    outline: 0;
    font-size: 14px !important;
    border-radius: 3px !important;
    border: 1px solid #ff7fc1 !important;
    padding: 0 6px !important;
    margin: 0 6px !important;
    background-color: #fff !important;
}
.form_box input[type="submit"] {
    color: #ffffff !important;
    outline: 0;
    font-size: 14px !important;
    border-radius: 3px !important;
}
.form_box input::placeholder {
  color: #888888;
  padding-left: 15px;
}
.form_box span.requied {
    background: #ff329c;
    color: #FFF;
    border-radius: 3px;
    font-size: 12px;
    margin-left: 10px;
    padding: 3px 10px;
    letter-spacing: 2px;
}
.wpcf7-form .wpcf7-list-item {
    display: inline;
    margin: 6px 20px 10px 0;
}
input#zip,
input#pref,
input#city {
    width: 120px;
}
input.wpcf7-form-control.wpcf7-number.wpcf7-validates-as-required.wpcf7-validates-as-number {
    width: 70px;
}
.wpcf7-form .wpcf7-list-item {
    display: inline-block !important;
    margin-right: 10px !important;
}
@media screen and (max-width: 600px){

.form_box {
    width: 100%;
    padding: 1em;
}
.form_box input[type="date"] {
    width: 40%;
}
}
@media screen and (max-width: 568px){
.wpcf7-form .wpcf7-form-control-wrap {
    display: inline;
    text-align: left;
    margin: 0 auto 10px auto;
}
}