/*
Theme Name: dp-genique-child
Version: 1.0.3.5
Template: dp-genique
*/

/* 全体設定 */

a.btn, .dp-container a.btn, .dp-container .entry a.btn, .dp-container .dp_text_widget a.btn, .dp-container .textwidget a.btn, button.btn, input.btn {
    margin: 0 !important;
}
.header_bar.float::before {
    opacity: 1.0 !important;
}
img {
    margin: 0 !important;
}
.imcon_box {
    display: flex;
    gap: 60px;
    width: 100%;
    margin: 0 auto 30px;
}
.imcon_box div {
    flex: 1;
}
.imcon_box ul {
    padding-bottom: 0 !important;
}
.text_box {
    margin-top: 20px !important;
    margin-bottom: 80px !important;
}
.white_box {
    margin-top: 20px !important;
    margin-bottom: 80px !important;
    padding: 50px;
    background-color: #ffffff;
}
@media screen and (max-width:900px) {
.imcon_box {
    display: block;
    margin: 0 auto 30px;
}
.text_box {
    margin-bottom: 40px !important;
}
.white_box {
    margin-bottom: 40px !important;
    padding: 20px;
}
}
.full_block_w {
    margin: 60px calc(50% - 50vw);
    width: 100vw;
    background-color: #ffffff;
    padding: 80px 0;
}
.w_1180 {
    width: 1180px;
    padding: 0;
    margin: 0 auto;
}
@media screen and (max-width:1180px) {
.w_1180 {
    width: 100%;
}
}
.w_900 {
    width: 900px;
    padding: 0;
    margin: 0 auto;
}
.w_120 {
    width: 120px;
}
.w_150 {
    width: 150px;
}
@media screen and (max-width:900px) {
.w_900 {
    width: 100%;
}
.w_120 {
    width: 70px;
}
}

/* フォント設定 */
.kt {
    font-weight: 700;
    font-size: 1.6em;
}
.kt2 {
    font-weight: 700;
    text-decoration: underline;
}
.entry h2, .entry h3, .entry h4, .entry h5 {
    margin-top: 0 !important;
}
.entry h4 {
    text-decoration: underline;
}
.inside-title, .wd-title, h2.mid {
    display: inline-block !important;
    background-image: url("https://geshi-hp.jp/wp-content/uploads/2025/11/mid_point.png");
    background-repeat: no-repeat;
    background-size: contain;
    padding-left: 17px !important;
    padding: 1rem 0;
}
.inside-title::before, .wd-title::before {
    display: none !important;
}

/* リンク設定 */

.btn2 {
    cursor: pointer;
    padding: 14px 22px;
    margin: 0;
    line-height: normal;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    position: relative;
    border: 2px solid;
    overflow: hidden;
    background-color: transparent;
    z-index: 1;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    text-shadow: none;
    color: #191919 !important;
}
.btn2::after {
    background: var(--primary-color);
    background-image: var(--primary-color-gradient, none);
    position: absolute;
    top: 50%;
    left: 50%;
    content: "";
    width: 150%;
    height: 100%;
    z-index: -1;
    -webkit-transform: translate(-50%, -50%) skew(-45deg) scaleX(0);
    -ms-transform: translate(-50%, -50%) skew(-45deg) scaleX(0);
    transform: translate(-50%, -50%) skew(-45deg) scaleX(0);
    -webkit-transition: -webkit-transform 0.25s cubic-bezier(0.3, 0.7, 0.78, 0.88);
    transition: -webkit-transform 0.25s cubic-bezier(0.3, 0.7, 0.78, 0.88);
    transition: transform 0.25s cubic-bezier(0.3, 0.7, 0.78, 0.88);
    transition: transform 0.25s cubic-bezier(0.3, 0.7, 0.78, 0.88), -webkit-transform 0.25s cubic-bezier(0.3, 0.7, 0.78, 0.88);
}
.btn2:hover {
    color: #fff !important;
    -webkit-box-shadow: 0 18px 10px -10px rgba(0, 0, 0, 0.34);
    box-shadow: 0 18px 10px -10px rgba(0, 0, 0, 0.34);
}
.btn2:hover::after {
    -webkit-transform: translate(-50%, -50%) skew(-45deg) scaleX(1);
    -ms-transform: translate(-50%, -50%) skew(-45deg) scaleX(1);
    transform: translate(-50%, -50%) skew(-45deg) scaleX(1);
}


/* ヘッダー設定 */

@media screen and (min-width:900px) {
.header_bar .h_group {
    height: 72px !important;
}
.header_bar {
    height: auto !important;
}
.header_bar.float {
    -ms-transform: translateY(-72px);
    -webkit-transform: translateY(-72px);
    transform: translateY(-72px) !important;
}
body:not(.hd_bar_trpt) .header-banner-outer {
    margin-top: 144px !important;
}
body.not-home:not(.hd_bar_trpt) .dp-container:not(.no_ct_hd) {
    padding-top: 144px !important;
}
.header-banner-content {
    justify-content: left !important;
    text-align: left !important;
}
.header-banner-content:not(.pos-center) .banner_header, .header-banner-content:not(.pos-center) .widget-on-top-banner {
    width: 100% !important;
}
.svg_edge {
    height: 5vw !important;
}
}

/* トップページ設定 */

.content-wrap.incontainer.clearfix.one-col.home.no-content.no_global_menu.full-wide {
    display: none;
}
.top_flex_1 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    width: 1200px;
    margin: 0 auto;
}
.top_flex_1_img {
    flex: 1;
}
.top_flex_1_text {
    flex: 1;
}
@media screen and (max-width:1200px) {
.top_flex_1 {
    width: 100%;
}
}
@media screen and (max-width:900px) {
.top_flex_1 {
    display: block;
}
}
.top_flex_2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    width: 100%;
    margin: 0;
}
.top_flex_2_img {
    flex: 1;
}
.top_flex_2_text {
    flex: 1;
    padding-left: 100px;
}
@media screen and (max-width:900px) {
.top_flex_2 {
    display: block;
}
.top_flex_2_text {
    padding: 0 10px;
}
}
.top_flex_3 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    width: 100%;
    margin: 40px 0 0;
}
.top_flex_3_img {
    flex: 1;
}
.top_flex_3_text {
    flex: 1;
}
@media screen and (max-width:900px) {
.top_flex_3 {
    display: block;
    margin: 0;
}
}
div#dpcustomtextwidget-4 {
    background-color: #ffffff;
    padding: 50px 0 !important;
    margin-bottom: 0 !important;
}
div#dpcustomtextwidget-9 {
    background-color: #ffffff;
    margin: 0 calc(50% - 50vw) 0 !important;
    width: 100vw;
    padding: 0 10px 0 !important;
}
div#dpcustomtextwidget-6 {
    padding: 50px 0 !important;
    margin-bottom: 0 !important;
}
div#dpcustomtextwidget-7 {
    margin-bottom: 0 !important;
}
@media screen and (max-width:900px) {
div#dpcustomtextwidget-9 {
    padding-bottom: 50px !important;
}
div#dpcustomtextwidget-10 {
    margin-bottom: 0 !important;
}
}
.cal_box table {
    width: 100%;
}
.cal_box td {
    text-align: center;
    line-height: 1.4;
}
.cal_box td {
    border: none !important;
    border-bottom: 1px solid #e8ece9 !important;
    padding: 15px 0;
}
.cal_box .check {
    color: #bde038;
    width: 10%;
}
.top_movie_box {
    width: 800px;
    margin: 0 auto;
}
@media screen and (max-width:900px) {
.top_movie_box {
    width: 100%;
    padding: 0 30px;
}
}
.cta_box {
    width: 900px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 0 50px 20px;
    border-radius: 30px;
}
@media screen and (max-width:900px) {
.cta_box {
    width: 100%;
}
}

/* 「当院について」ページ設定 */

.pre_box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    width: 100%;
    margin: 0 auto;
}
.pre_img {
    flex: 1;
}
.pre_text {
    flex: 2;
}
@media screen and (max-width:900px) {
.pre_box {
    display: block;
}
}
.table_box {
    margin-bottom: 80px;
}
.table_box table {
    width: 100%;
}
.table_box th {
    background-color: transparent !important;
    width: 180px;
    font-weight: 400 !important;
}
.table_box td {
    width: calc(100% - 180px);
}
.table_box th, .table_box td {
    border: none !important;
    border-bottom: 2px solid #ffffff !important;
    padding: 30px 10px 5px 10px;
}
.table_box2 {
    margin-bottom: 80px;
}
.table_box2 table {
    width: 100%;
}
.table_box2 th {
    background-color: transparent !important;
    width: 300px;
    font-weight: 400 !important;
}
.table_box2 td {
    width: calc(100% - 300px);
}
.table_box2 th, .table_box2 td {
    border: none !important;
    border-bottom: 2px solid #ffffff !important;
    padding: 30px 10px 5px 10px;
}
@media screen and (max-width:900px) {
.table_box th {
    width: 120px;
}
.table_box td {
    width:  calc(100% - 120px);
}
.table_box2 th {
    width: 120px;
}
.table_box2 td {
    width:  calc(100% - 120px);
}
}
.map {
    width: 100%;
    height: 50vh;
    overflow: hidden;
    margin-bottom: 30px;
}
.map iframe {
    width: 100%;
    height: calc(85vh + -10px);
    margin-top: -150px;
}

/* 「診療案内」ページ設定 */

.table_box3 {
    margin-bottom: 80px;
}
.table_box3 table {
    width: auto;
}
.table_box3 th {
    font-weight: 400 !important;
}
.table_box3 th, .table_box3 td {
    background-color: #ffffff !important;
    padding: 5px 30px;
}
.line_box {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 2%;
}
.line_box div {
    box-sizing: border-box;
    width: 49%;
    border: 1px solid #bde038;
    padding: 10px 30px;
    margin-bottom: 20px;
    background-color: #ffffff;
    border-radius: 8px;
}
.line_box p, .line_box ol {
    margin-bottom: 0 !important;
}
.line_box ol {
    padding-bottom: 0 !important;
}
@media screen and (max-width:900px) {
.line_box div {
    width: 100%;
}
.table_box3 th, .table_box3 td {
    background-color: #ffffff !important;
    padding: 5px;
}
}

/* 「アルコール依存症について」ページ設定 */

.flow_box {
    display: flex;
    justify-content: center;
    margin: 0 0 60px;
}
.flow_box div {
    position: relative;
    flex: 1;
    padding: 15px;
    border: 1px solid #bde038;
    border-radius: 8px;
    margin-right: 15px;
    background-color: #ffffff;
}
.flow_box div p {
    margin-bottom: 0 !important;
    line-height: 1.68;
}
.flow_box div:last-child {
    margin-right: 0;
}
.flow_box div:after {
    content: "";
    position: absolute;
    bottom: 50%;
    right: -27px;
    margin-top: -15px;
    border: 15px solid transparent;
    border-left: 15px solid #191919;
    z-index: 10;
}
.flow_box div:last-child:after {
    display: none;
}
@media screen and (max-width:900px) {
.flow_box {
    display: block;
    justify-content: center;
    margin: 0 0 60px;
}
.flow_box div {
    margin-right: 0;
    margin-bottom: 10px;
}
.flow_box div:after {
    bottom: -29px;
    right: 45%;
    margin-top: -15px;
    border: 15px solid transparent;
    border-top: 15px solid #191919;
}
}

/* 「職員募集」ページ設定 */

.table_box4 {
    margin-bottom: 0;
}
.table_box4 table {
    width: 100%;
    margin-bottom: 0 !important;
}
.table_box4 th {
    font-weight: 400 !important;
    width: 150px;
    padding: 5px 20px;
    font-size: 1.0em !important;
}
.table_box4 td {
    background-color: #ffffff !important;
    padding: 5px 20px;
    font-size: 1.0em !important;
}
@media screen and (max-width:900px) {
.table_box4 th {
    width: 100px;
    padding: 5px;
    font-size: 0.86em !important;
}
.table_box4 td {
    background-color: #ffffff !important;
    padding: 5px;
    font-size: 0.86em !important;
}
}

/* お問い合わせフォーム設定 */

.form_box input, .form_box select, .form_box textarea, .form_box button {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.2px;
    font-size: 14px;
}
.form_box {
  width: 100%;
  position: relative;
}
.form_item {
    margin-bottom: 10px;
}
.form_box p {
    margin-bottom: 0 !important;
}
.form_box .form_mid {
    font-size: 1.8rem;
}
.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"] {
    outline: 0;
    border-radius: 5px !important;
    border: 1px solid #bde038 !important;
    padding: 0 6px !important;
    margin: 6px !important;
    background-color: #f2f9d8 !important;
    text-shadow: 1px 1px 0 #fff;
}
.form_box input[type="submit"] {
    color: #ffffff !important;
    outline: 0;
    font-size: 14px !important;
    border-radius: 3px !important;
    border: 1px solid #c1dcf4 !important;
    padding: 10px !important;
    line-height: 23px !important;
}
.form_box input::placeholder {
  color: #999999;
  padding-left: 15px;
}
.form_box span.requied {
    background: #bde038;
    color: #191919;
    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: 1200px){
.wpcf7-form input[type="submit"], .wpcf7-form textarea {
    width: 90%;
}
}
@media screen and (max-width: 768px){

.form_box {
    width: 100%;
    padding: 2em 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;
}
}

/* 「関連リンク」ページ設定 */

.link_box {
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
    margin-bottom: 0;
}
.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: #ffffff;
    padding: 1.6em;
    font-size: 1.2em;
    color: #191919 !important;
}
.link_btn a:hover {
    background-color: #bde038;
    color: #ffffff !important;
    text-decoration: none !important;
}
@media screen and (max-width: 600px){
.link_btn {
    width: 100%;
}
}

/* フッター設定 */

#dp_recentposts_widget_for_archive-2 {
    background-color: #ffffff;
    border: 30px solid #bde038;
    padding: 50px;
    margin-bottom: 0;
    text-align: center;
}
.footer_box {
    margin: 0;
    text-align: center;
}
.footer_flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 0 auto;
}
@media screen and (max-width: 600px){
.footer_flex {
    gap: 5px;
}
}
