/*
 Theme Name:   SOC v2 (SDP-Base Child)
 Description:  SDPベースの子テーマ（SOC用）
 Template:     sdp-base
 Version:      1.0.0
 Text Domain:  sdp-base-child-soc
*/

/* ヘッダーロゴの余白 */
.c-header__logo {
    padding: 2rem 1rem;
}

/* タイトルのスタイル */

.news-template-default .post h1 {
    margin-top: 4rem;
    margin-bottom: 2.5rem;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    color: var(--color_theme_main);
    font-weight: bold;
    text-align: center;
}

.news-template-default .post h1::after {
    order: 1;
    content: "";
    display: block;
    width: 10%;
    height: 2px;
    background-color: var(--color_theme_main);
    margin: 5rem 0 2.5rem;
    margin-left: auto;
    margin-right: auto;
}


.news-template-default .post h2 {
    padding: 0.25em 1rem;
    border: 1px solid var(--color_theme_main);
    position: relative;
    color: var(--color_theme_main);
    margin-top: 12rem;
}

.news-template-default .post h2::before {
    content: "";
    display: block;
    width: 1em;
    height: 1em;
    position: absolute;
    content: "";
    border-left: 1px solid var(--color_theme_main);
    border-top: 1px solid var(--color_theme_main);
    top: -5px;
    left: -5px;
    right: auto;
    bottom: auto;
}

.news-template-default .post h2::after {
    content: "";
    display: block;
    width: 1em;
    height: 1em;
    position: absolute;
    content: "";
    border-right: 1px solid var(--color_theme_main);
    border-bottom: 1px solid var(--color_theme_main);
    bottom: -5px;
    left: auto;
    right: -5px;
    top: auto;
}

.news-template-default .post h3 {
    border-bottom: solid 3px var(--color_theme_lightgray);
    position: relative;
    padding: 0.5em 1rem;
}

.news-template-default .post h3::after {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: solid 3px var(--color_theme_main);
    bottom: -3px;
    left: 0;
    width: 15%;
}

.news-template-default .post h4 {
    border-bottom: 1px solid var(--color_theme_main);
    padding: 0.25rem 1rem;
    line-height: 1.25;
}

.news-template-default .post h5 {
    display: inline-block;
    color: var(--color_theme_main);
    margin-bottom: 1em;
    border-bottom: double 4px var(--color_theme_main);
    padding-left: 0.5em;
    padding-right: 0.5em;
    margin-top: 2rem;
}

.news-template-default .post h6 {
    color: var(--color_text_sub);
    margin-bottom: 1em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    margin-top: 2rem;
}

/* テーブルのスタイル */
.news-template-default .slider-table {
    margin: 0 auto 1.6rem;
    padding: 0;
    border-bottom: none;
    overflow-x: auto;
}

.news-template-default .post table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    white-space: nowrap;
}

.news-template-default .post tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.news-template-default .post tr th:first-child {
    background-color: var(--color_theme_light);
}

.news-template-default .post th {
    padding: 0.5em 1em;
    background-color: var(--color_theme_light);
}

.news-template-default .post td {
    border: none;
    padding: 0.5em 1em;
}

/* ブログstrongタグのスタイル */
.blog-template-default.single strong {
    font-size: 1.3em;
}


/* ヘッダー初診予約ボタン色変更 */
.c-header__reserve li:first-child {
    background-color: #fdc7d5;
}
.c-header__reserve li:first-child a {
    color: black;
}

/* PCフローティングメニュー */
.pc-floating-menu {
    display: flex;
    flex-direction: row;
    max-width: 1000px;
    margin: 0 auto;
}

.c-footer__bottom {
    padding: 0 20px 130px;
}

.pc-floating-menu-left {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.pc-floating-menu-right {
    width: 50%;
}

.pc-floating-menu-left-upper {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.pc-floating-menu-left-lower {
    display: flex;
    justify-content: center;
}

.c-left-reserve .bg-opposite-color {
    color: var(--color_text);
}

.c-right-schedule .bg-opposite-color {
    color: var(--color_text);
}

.phone-image-box {
    width: 7rem;
    max-width: 6rem;
    display: flex;
    justify-content: center;
    padding: 0 1rem 0 0;
}

.phone-number-box-link {
    text-decoration: none;
    color: var(--color_text);
}

.phone-number-box {
    font-size: 5rem;
    margin-left: 2rem;
}

.pc-floating-menu-left-lower-inner {
    background-color: white;
    width: 80%;
    text-align: center;
}

.pc-floating-menu-right {
    display: flex;
    flex-direction: row;
}

/* PCフローティング左 */
.c-left-reserve {
    padding: 1.8rem;
    text-decoration: none;
    color: black;
    background-color: #fdc7d5;
    width: 40%;
    margin-right: 2rem;
    text-align: center;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border-radius: 10px;
    color: var(--color_text);
    transition: 0.3s;
    box-shadow: 0 5px 0 #b90232;
}

.c-left-reserve:hover {
    transform: translate3d(0, 5px, 0);
    transition: .3s;
}

/* PCフローティング右 */
.c-right-schedule {
    background-color: #e7ffbd;
    width: 40%;
    text-align: center;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border-radius: 10px;
    color: var(--color_text);
    box-shadow: 0 5px 0 #489107;
    transition: .3s;
}

.c-right-schedule:hover {
    transform: translate3d(0, 5px, 0);
    transition: .3s;
}

.c-right-schedule-link {
    text-decoration: none;
    color: black;
    line-height: 1.2;
    padding: 1rem;
}

a.c-right-schedule-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* タブレット開始 */
@media screen and (min-width:768px) and (max-width:1024px) {
    .phone-number-box {
        font-size: 4rem;
    }
    .c-left-reserve-link {
        font-size: 2rem;
    }
    .c-right-schedule-link {
        font-size: 2rem;
    }
    .c-footer__bottom {
        padding: 0 20px 140px;
    }

}

/* タブレット終了 */

@media screen and (min-width: 768px) {
    .s-sp {
        display: none !important;
    }
    .c-floating-menu {
        position: fixed;
        bottom: 0;
        background-color: white;
        width: 100%;
        z-index: 99;
        padding: 15px 0;
        box-sizing: border-box;
        margin-bottom: -99px;
        box-shadow: 1px 2px 5px 2px #666;
    }
}

@media screen and (max-width: 767px) {
    .s-pc {
        display: none !important;
    }
}



@media screen and (max-width: 767px) {
    .c-floating-menu {
        background-color: rgba(232, 240, 197, 0.9);
        padding: 15px;
    }

    /* SPヘッダー初診予約ボタン変更 開始 */
    .c-header__sp .c-header__inner .c-glonav__sp .c-reserve__sp {
        text-decoration: none;
    }

    .c-header__sp .c-header__inner .c-glonav__sp .c-reserve__sp .c-reserve__button {
        color: var(--color_text);
        font-weight: bold;
    }

    .c-header__sp .c-header__inner .c-glonav__sp .c-reserve__sp .c-reserve__button::after {
        content: "初診予約";
        font-size: 1rem;
        line-height: 1;
        color: black;
        display: block;
        text-align: center;
        position: absolute;
        bottom: 15%;
        left: -1rem;
        right: -1rem;
    }

    /* SPヘッダー初診予約ボタン変更 終了 */

    /* SPハンバーガーメニュー初診予約ボタン変更 開始 */
    .c-drawer__main .c-drawer__area {
        margin: 2rem 2rem 2rem;
    }

    .c-drawer__btn-link-arrow {
        position: relative;
        display: inline-block;
        padding: 0 0 0 16px;
        color: #000;
        vertical-align: middle;
        text-decoration: none;
        font-size: 20px;
    }
    .c-drawer__btn-link-arrow::before,
    .c-drawer__btn-link-arrow::after{
        position: absolute;
        top: 0;
        bottom: 0;
        left: 250px;
        margin: auto;
        content: "";
        vertical-align: middle;
    }

    .c-drawer__main .c-drawer__btn {
        color: var(--color_text);
        background-color: var(--color_theme_emphasis);
        text-align: center;
        margin: 2rem;
        font-weight: bold;
        border-radius: 8px;
        box-shadow:  1px 2px rgb(0 0 0 / 15%), 0 3px 3px rgb(0 0 0 / 30%), 0 5px 6px rgb(0 0 0 / 35%);
    }

    a.c-drawer__btn-link {
        width: 100%;
        padding: 2rem;
        text-decoration: none;
        color: var(--color_text);
        position: relative;
    }
    .c-drawer__btn-link::before{
        right: 80px;
        width: 7px;
        height: 7px;
        border-top: 2px solid black;
        border-right: 2px solid black;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    /* SPハンバーガーメニュー初診予約ボタン変更 終了 */




    /* SPフローティングメニュー変更 開始 */
    /* SPフローティング共通 */
    .sp-floating-menu {
        display: flex;
        flex-direction: row;

    }

    .sp-floating-menu .bg-opposite-color {
        color: var(--color_text);

    }

    .sp-floating-menu .c-floating-menu__link {
        border-radius: 0px;
        color: var(--color_text);
        padding: 1rem 0;
        box-shadow:none;
        padding: 5px;
        border-radius: 5px;
        display: flex;
        justify-content: center;
        align-items: end;
        box-shadow: 0px 3px 3px 2px rgba(0, 0, 0, 0.3);
    }

    /* SPフローティング左*/
    .sp-floating-menu .c-floating-menu__link.reservation {
        background-color: #EF94AE;
        transition: 0.3s;
        font-weight: bold;
        font-size: 18px;
        overflow: hidden;
        position: relative;
        z-index: 1;
    }
    .sp-floating-menu .c-floating-menu__link.reservation::before {
        position: absolute;
        content: "";
        width: 150px;
        max-width: 90%;
        height: 110px;
        border-radius: 50%;
        background-color: #FCC2C3;
        z-index: 2;
    }
    .sp-floating-menu .c-floating-menu__link.reservation .c-floating-menu__link__inner_title {
        font-size: 2.5rem;
        font-weight: bold;
        position: relative;
        z-index: 3;
        color: #6D2C05;
    }
    @media screen and (max-width: 400px) {
        .sp-floating-menu .c-floating-menu__link.reservation .c-floating-menu__link__inner_title {
            font-size: 2.3rem;
        }
    }
    .sp-floating-menu .c-floating-menu__link.reservation:hover {
        box-shadow: none;
        transition: .3s;
    }
    .c-floating-menu__link__inner {
        flex-direction: column;
        align-items: center;
    }
    /* SPフローティング中*/
    .sp-floating-menu .c-floating-menu__link__tel {
        background-color: #95C036;
        font-size: 18px;
        overflow: hidden;
        position: relative;
        z-index: 1;
    }
    .sp-floating-menu .c-floating-menu__link__tel::before {
        position: absolute;
        content: "";
        width: 150px;
        max-width: 90%;
        height: 110px;
        border-radius: 50%;
        background-color: #B8D200;
        z-index: 2;
    }
    .sp-floating-menu .c-floating-menu__link__inner_icon {
        margin: 0;
        width: 30%;
        z-index: 3;
    }
    .sp-floating-menu .c-floating-menu__link__inner_icon img {
        object-fit: contain;
        width: 100%;
        height: 100%;
        min-height: 35px;
    }
    .sp-floating-menu .tel-link-sp .c-floating-menu__link__inner_icon img {
        min-height: 35px;
        min-width: 30px;
    }
    .sp-floating-menu .c-floating-menu__link__tel .c-floating-menu__link__inner.tel-link-sp .c-floating-menu__link__inner_title {
        font-size: 2.5rem;
        font-weight: bold;
        position: relative;
        z-index: 3;
        color: #0B3341;

    }
    @media screen and (max-width: 400px) {
        .sp-floating-menu .c-floating-menu__link__tel .c-floating-menu__link__inner.tel-link-sp .c-floating-menu__link__inner_title {
            font-size: 2.3rem;
        }
    }
    /* SPフローティング右*/
    .sp-floating-menu .c-floating-menu__link.calendar {
        background-color: #95C036;
        font-size: 18px;
        overflow: hidden;
        position: relative;
        z-index: 1;
    }
    .sp-floating-menu .c-floating-menu__link.calendar::before {
        position: absolute;
        content: "";
        width: 150px;
        max-width: 90%;
        height: 110px;
        border-radius: 50%;
        background-color: #B8D200;
        z-index: 2;
    }
    .sp-floating-menu .c-floating-menu__link.calendar:hover {
        top:5px;
        box-shadow: none;
        transition: 0.3s;
    }


    .sp-floating-menu .c-floating-menu__link.calendar .c-floating-menu__link__inner_title.right {
        font-size: 2.5rem;
        font-weight: bold;
        color: #0B3341;
        z-index: 3;
    }
    @media screen and (max-width: 400px) {
        .sp-floating-menu .c-floating-menu__link.calendar .c-floating-menu__link__inner_title.right {
            font-size: 2.3rem;
        }
    }
    .c-footer__bottom {
        padding: 0 20px 110px;
    }

}

/* SPフローティングメニュー変更 終了 */

/* ノートパソコン開始 */
@media screen and (min-width:1200px) and (max-width:1920px) {
    .phone-image-box {
        max-width: 4.5rem;
    }
    .phone-number-box {
        font-size: 3.5rem;
        margin-left: 1.5rem;
    }
    .c-left-reserve {
        padding: 1.5rem;
        font-size: 2.2rem;
    }
    .c-right-schedule {
        font-size: 2.2rem;
    }
    .c-floating-menu__link__inner_title {
        font-size: 20px;
    }
    .c-floating-menu {
        padding: 10px 0;
    }
}

/* ノートパソコン終了 */

.c-footer__tel p {
    margin: 1rem 0 1rem;
}

/* Template Name:ランディングページ用テンプレート2(画像メイン:股関節LP)用css */
.img-landing-header .landing-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}
.img-landing-header .landing-header__inner .landing-header__inner-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.img-landing-header .landing-header__inner .landing-header__inner-list .landing-header__inner-list-item a {
    color:var(--color_theme_main);
    text-align: center;
    font-weight: bold;
    display: block;
    text-decoration: none;
    font-size: 13px;
    padding: 0.8rem 1.5rem;
    border-right: solid 1px var(--color_theme_main);
}
.img-landing-header .landing-header__inner .landing-header__inner-list .landing-header__inner-list-item:first-of-type a {
    border-left: solid 1px var(--color_theme_main);
}
.landing-header__container-row .landing-header__container-item.only-one-menu::after {
    background: none;
}
@media screen and (max-width: 849px) {
    .landing-header__container__reservation {
        background: #ffa600ff;
    }
}
@media screen and (max-width: 849px) {
    .landing-header__container__tel {
        background: #db5335ff;
    }
}
.img-landing-header .landing-header__inner .landing-header__inner-banner {
    display:flex;
    align-items: center;
}
.img-landing-header .landing-header__inner .landing-header__inner-banner .landing-header__inner-banner-reserve {
    margin-right:20px;
    max-height: 90px;
    max-width: 350px;
}
.img-landing-header .landing-header__inner .landing-header__inner-banner .landing-header__inner-banner-tel {
    max-height: 90px;
    max-width: 400px;
}

.img-landing-header .landing-header__inner .landing-header__inner-banner div .landing-header__inner-banner-link {
    display: block;

}

.c-header__subnav a {
    white-space: nowrap;
}
.c-header.c-header__pc {
  background-color: var(--color_theme_main);
}

@media screen and (min-width: 1240px) {
  .c-header.c-header__pc .c-header-sub {
      max-width: 1200px;
      padding-left: 0px;
      padding-right: 0px;
  }
}
.c-header.c-header__pc .c-glonav {
  border-bottom: 1px solid var(--color_theme_main);
  border-right: 1px solid var(--color_theme_main);
  border-left: 1px solid var(--color_theme_main);
}
.c-header.c-header__pc .c-glonav  ul.c-glonav__menu {
  border-bottom: none;
  border-right: none;
  border-left: none;
  max-width: 1200px;
  width: 100%;
  padding: 0;
  margin: 0 auto;
}
@media screen and (max-width: 1240px) {
  .c-header.c-header__pc .c-glonav  ul.c-glonav__menu {
      padding: 0 20px;
  }
}
.c-glonav ul.c-glonav__menu>li.menu-item>a {

  padding: 19px 5px;
}

.is-open .c-burger__button span:nth-of-type(1) {
  background-color: var(--color_theme_main);
}
@media screen and (max-width: 850px) {
  .c-drawer {
      visibility: unset;
      width: auto;
  }
}

@media screen and (max-width: 767px) {
    .c-drawer__main .c-drawer__btn.c-drawer__white-btn {
        background-color: #FFFFFF;
    }
}
@media screen and (max-width: 767px) {
    .c-drawer__btn-link-arrow {
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }
}
@media screen and (max-width: 767px) {
    .c-drawer__btn-link.c-drawer__btn-link-arrow svg {
        width: 28px;
        height: 28px;
        margin-right: 1rem;
    }
}

body.page-template-page-landing2-img-2-hip {
    padding-top: 0px;
    overflow-x: hidden;
}
.page-template-page-landing2-img-2-hip .landing-page-main {
    margin-bottom: 0.83em;
}
@media screen and (max-width: 850px) {
    .page-template-page-landing2-img-2-hip .landing-page-main {
        padding-top: 80px;
    }
}
.lp-hip-ver .landing-footer-floating-menu-button-logo {
    line-height: 0;
}
.lp-hip-ver .landing-footer-floating-menu-button-logo img {
    max-height: 80px;
}
@media screen and (max-width: 500px) {
    .lp-hip-ver .landing-footer-floating-menu-button-logo img {
        max-width: 50vw;
    }
}
body.page-template-page-landing2-img-2-hip .landing-img-footer-floating-menu.lp-pc-footer {
    background-color: #ffffff;
	box-shadow: rgb(102, 102, 102) 1px 2px 5px 2px;
}
body.page-template-page-landing2-img-2-hip .landing-img-footer-floating-menu.lp-pc-footer .landing-footer-floating-menu-content {
    max-width: 1220px;
    background-color: #ffffff;
    margin: 0 auto;
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 10px;
	box-shadow: none;
}
body.page-template-page-landing2-img-2-hip .landing-footer-floating-menu.sp-floating-menu.lp-hip-ver {
    gap: 1rem;
    max-height: 100px;
}
body.page-template-page-landing2-img-2-hip .landing-footer-floating-menu.sp-floating-menu {
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    padding: 10px;
    background-color: white;
    box-shadow: rgb(102, 102, 102) 1px 2px 5px 2px;
}
.lp-hip-ver .landing-footer-floating-menu-button-logo {
    line-height: 0;
}
.lp-hip-ver .landing-footer-floating-menu-button-logo img {
    max-height: 80px;
    vertical-align: bottom;
}
@media screen and (max-width: 500px) {
    .lp-hip-ver .landing-footer-floating-menu-button-logo img {
        max-width: 50vw;
    }
}
.lp-hip-ver .pc-floating-menu-left-upper {
    gap: 2rem;
}
.lp-hip-ver .landing-footer-floating-menu-content .landing-footer-floating-menu-button .landing-footer-floating-menu-button-link {
    max-width: 450px;
}
.landing-img-footer-floating-menu.lp-pc-footer.lp-hip-ver .landing-footer-floating-menu-content .landing-footer-floating-menu-button-link img {
    height: 80px;
}
.lp-hip-ver .landing-footer-floating-menu-content .landing-footer-floating-menu-button .landing-footer-floating-menu-button-link img {
    max-width: 450px;
}
.lp-hip-ver .lp-hip-ver-chart-link {
    display: block;
    text-align: center;
    max-width: 230px;
}
.lp-hip-ver .lp-hip-ver-chart-link img {
    height: 100%;
}
.lp-hip-ver .lp-hip-ver-reserve-link {
    display: block;
    text-align: center;
    max-width: 230px;
}
.lp-hip-ver .lp-hip-ver-reserve-link img {
    height: 100%;
}
.landing-img-footer-floating-menu.lp-pc-footer.lp-hip-ver .landing-footer-floating-menu-content a img {
    height: 80px;
}
.landing-footer-floating-menu.sp-floating-menu.lp-hip-ver {
    gap: 1rem;
    max-height: 100px;
}
body.page-template-page-landing2-img-2-hip .landing-page-footer {
    padding-bottom: 110px;
}
@media screen and (max-width: 849px) {
body.page-template-page-landing2-img-2-hip .landing-page-footer {
    padding-bottom: 85px;
}
}