@charset "UTF-8";

/*!
Theme Name: 鍼養院 by cocoon
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.2
*/


/***********************/
/* ヘッダ調整 */
#container .header-container {
    margin-top: -60px;
}

@media screen and (max-width: 1023px){
    .mobile-header-menu-buttons {
/*    margin-top: -50px;*/
    margin-top: 0 !important;
    transition: all 0.3s ease-in-out;
    }
    .mobile-header-menu-buttons.mob-navi_home_def {
    background-color: transparent;
    box-shadow: none;
    }
    .mobile-header-menu-buttons.mob-navi_home_def .logo-menu-button {
    visibility: hidden;
    }
    .mobile-header-menu-buttons.mob-navi_home_release{
    background-color: #fff;
    box-shadow: 0 0 5px darkgrey;
    }
    .mobile-header-menu-buttons.mob-navi_home_release .logo-menu-button {
    visibility: visible;
    }
}
/***********************/


/***********************/
/* コンテンツ調整 */
.content{
    margin-top: 10px;
}
#content .content-in {
    width: 100%;
}
#content .main {
    padding: 20px 0;
}
.home_logo_img {
    width: 80%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
article .entry-header {
    display: none;
}
nav#navi.home_navi {
    margin-top: 0.8em;
    padding-bottom: 1em;
}
.home_navi #navi-in > ul li {
    height: auto;
}
#navi.home_navi .navi-in>ul>li>a {
    font-size: 1em;
}
.home_navi #navi-in > ul li {
    margin-left: 5px;
    margin-right: 5px;
}
#navi.home_navi .navi-in>ul>li>a {
    border: 1px solid #bbb;
}
#navi.home_navi .navi-in>ul>li>a:hover {
    border: 1px solid #950000;
    transition: all 0.3s ease-in-out;
    background-color: #fdf9e9;
}
.home_navi #navi-in > ul li a div.item-label {
    padding-bottom: 4px;
}
.home_navi #navi-in > ul li a:hover div.item-label {
    border-bottom: 2px solid #fdf9e9;
    transition: none;
}



h1.has-text-align-center.home_h1 {
    margin-top: 2.2em;
    margin-bottom: 1em;
    font-size: 1.6em;
    color: #950000;
    line-height: 1.7;
    font-weight: 400;
}
article p.home_lead {
    font-size: 1.1em;
    padding-bottom: 1em;
    line-height: 2;
}
article p.home_p {
    font-size: 1.1em;
}

.article h2 {
    color: #950000;
    font-size: 1.8em;
    text-align: center;
    margin: 4.4em 0 2em;
    font-weight: 400;
}

article .entry-content.cf{
    max-width: none;
}
article .entry-content.cf p {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 29px;
    padding-right: 29px;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
}
article .entry-content.cf p.home_txt_link {
    text-align: left;
    padding-left: 2px;
}
.wp-block-columns {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 29px;
    padding-right: 29px;
}
figure.wp-block-table.is-style-regular {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 29px;
    padding-right: 29px;
}

.wp-block-columns.method_columns {
    max-width: 960px;
    margin-bottom: 1.5em;
}
.method_columns .wp-block-column.method_column_l {
    font-size: 4em;
    font-weight: bold;
    align-self: stretch;
    color: #ca914a;
    text-align: left;
}
.method_columns .wp-block-column.method_column_l p {
    line-height: 1;
    font-size: 1.4em;
    margin-top: 0.3em;
}
.method_columns .wp-block-column.method_column_r {
    margin-left: 20px;
}
.article .wp-block-column.method_column_r h5 {
    margin-top: 1.8em;
    margin-bottom: 0em;
}
.wp-block-column.method_column_r .button-block {
    margin-top: 0.6em;
}


.article h2.home_h2_junkan {
    margin-bottom: 1em;
}
article .entry-content.cf p.home_junkan_lead {
/*    font-weight: bold;*/
    margin-bottom: 2em;
    line-height: 2;
}
.home_junkan1, .home_junkan2 {
    width: 100%;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}



.ho_profile_l h5 {
    padding-left: 0;
    font-size: 1.5em;
    margin-top: 0;
}
.wp-block-group.ho_profile {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 29px;
    padding-right: 29px;
    border: 1px solid #950000;
    background-color: #fffdf9;
    border-radius: 8px;
    margin-top: 5em;
}
article .entry-content.cf .ho_profile_l p {
    margin-left: 0;
    max-width: none;
    width: 100%;
    text-align: left;
    padding-left: 0;
    margin-bottom: 1em;
}
article .entry-content.cf .ho_profile p.ho_profile_keireki {
    margin-top: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
    font-weight: bold;
    color: #950000;
    font-size: 1.1em;
    text-align: left;
    font-weight: 400;
}
.ho_profile ul {
    margin-top: 0;
    padding-left: 58px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding-right: 29px;
}
.article .ho_profile h3 {
    text-align: center;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-bottom: 0;
    margin: 1em 0 1.5em;
    font-size: 1.7em;
    color: #950000;
    background-color: #fdefd9;
    border-radius: 6px;
    font-weight: 400;
}


.article .wp-block-group.harishi_kokoroe {
    margin: 4em 0 2.3em;
}
.article .harishi_kokoroe .wp-block-group__inner-container {
    width: 100%;
    max-width: 840px;
    background-color: #ffead1;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
}
.article .harishi_kokoroe h6 {
    text-align: center;
    border-bottom: 1px solid #e8ba99;
    padding-top: 1.2em;
    padding-bottom: 0.9em;
    margin: 0 20px 0;
    color: #ad511a;
    font-weight: 300;
}
.article .wp-block-group.harishi_kokoroe h2 {
    background-color: transparent;
    margin: 0;
    padding-top: 2rem;
    padding-bottom: 2.5rem;
    line-height: 1.8;
}
.article .wp-block-group.harishi_kokoroe h2 br.harishi_kokoroe_br_mob{
    display: none;
}

@media screen and (max-width: 723px){
    .article .wp-block-group.harishi_kokoroe h2 br{
    display: none;
    }
}
@media screen and (max-width: 680px){
    .article .wp-block-group.harishi_kokoroe h2 {
    font-size: 1.5em;
    }
    .article .harishi_kokoroe h6 {
    font-size: 1.1em;
    }
}
@media screen and (max-width: 580px){
    .article .wp-block-group.harishi_kokoroe h2 br.harishi_kokoroe_br_mob{
    display: block;
    }
}




article .sinyouin_home_cases_wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 29px;
    padding-right: 29px;
}
article .sinyouin_home_cases_wrap .sinyouin_home_case {
    width: 23%;
/*    border: 2px solid #950000;*/
    margin-bottom: 3%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 10em;
    border-radius: 8px;
    font-size: 1.2em;
    line-height: 1.6;
}
article .sinyouin_home_cases_wrap .sinyouin_home_case p {
    display: block;
/*    color: #950000;*/
    font-weight: bold;
    color: #fff;
    text-shadow: 0px 2px 3px #000;
    font-weight: 400;
}
article .sinyouin_home_cases_wrap .sinyouin_home_case.kubi_kata {
    background-image: url(https://shinyouin.oneaging.jp/wp-content/uploads/2020/10/home_case_kubi-kata-undouki.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
article .sinyouin_home_cases_wrap .sinyouin_home_case.atama-me-mimi {
    background-image: url(https://shinyouin.oneaging.jp/wp-content/uploads/2020/10/home_case_atama-me-mimi.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
article .sinyouin_home_cases_wrap .sinyouin_home_case.mahi-shinkeitu {
    background-image: url(https://shinyouin.oneaging.jp/wp-content/uploads/2020/10/home_case_mahi-shinkeitu.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
article .sinyouin_home_cases_wrap .sinyouin_home_case.i-tyou {
    background-image: url(https://shinyouin.oneaging.jp/wp-content/uploads/2020/10/home_case_i-tyou-shoukaki.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
article .sinyouin_home_cases_wrap .sinyouin_home_case.jiritsushinkei {
    background-image: url(https://shinyouin.oneaging.jp/wp-content/uploads/2020/10/home_case_jiritsushinkei.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
article .sinyouin_home_cases_wrap .sinyouin_home_case.fujinka {
    background-image: url(https://shinyouin.oneaging.jp/wp-content/uploads/2020/10/home_case_fujinka.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
article .sinyouin_home_cases_wrap .sinyouin_home_case.biyou {
    background-image: url(https://shinyouin.oneaging.jp/wp-content/uploads/2020/10/home_case_biyou.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

article .sinyouin_home_cases_wrap .sinyouin_home_case.sports {
    background-image: url(https://shinyouin.oneaging.jp/wp-content/uploads/2020/10/home_case_sports.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}


table.who_chart_table {
    margin-top: 1em;
}
table.who_chart_table td.who_chart_l {
    white-space: nowrap;
    font-weight: bold;
    background-color: #f7ebda;
}
table.who_chart_table td {
    padding: 1.2em 1.7em;
    border: 1px solid #ccc;
}




/* ↓↓ 追加調整08/05/2021 ↓↓ */
.ichioshi_wrap {
    width: 90%;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 29px;
    padding-right: 29px;
    text-align: center;
    margin-top: 9em;
    margin-bottom: 0;
    border: 2px solid #950000;
    border-radius: 14px;
    background-color: #fff6dd;
}
.article .ichioshi_wrap > h2 {
    margin: 0;
    background-color: transparent;
    font-size: 2.2em;
    padding: 1em 0 1.1em;
}
.ichioshi_conte {
    margin: 0 0 5em;
    width: 100%;
}
.ichioshi_conte:last-child {
    margin-bottom: 3em;
}
.ichioshi_conte .ichioshi_title_img_wrap {
    position: relative;
    background-color: #000;
    width: 100%;
    border-radius: 8px;
}
.article .ichioshi_conte h3.ichioshi_img_title {
    width: 100%;
    padding: 0 12px;
    border: none;
    background-color: transparent;
    margin: 0;
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit- transform: translateY(-50%) translateX(-50%);
    color: #fff;
    font-size: 3.5em;
    text-shadow: 1px 4px 1px rgb(0 0 0 / 50%);
    font-weight: 500;
}
img.ichioshi_img {
    display: block;
    width: 100%;
    opacity: 0.8;
    border-radius: 8px;
}
.article .ichioshi_conte_inner h3.ichioshi_conte_title {
    margin: 0;
    background-color: transparent;
    border: none;
    font-size: 1.5em;
    font-weight: 400;
}
.ichioshi_conte_tekiou {
    margin-top: 2em;
    border-top: 1px solid #ad767687;
    padding-top: 0.8em;
}
.article .ichioshi_conte_tekiou h4 {
    margin: 0 0 0.5em;
    border: none;
    font-weight: 400;
}
.article .ichioshi_conte_tekiou ul {
    column-count: 3;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
}
.article .ichioshi_conte_tekiou ul li {
    width: 100%;
    margin: 0 0 5px;
    box-sizing: border-box;
    display: inline-block;
    position: relative;
    padding-left: 16px;
    font-weight: 400;
}
.article .ichioshi_conte_tekiou ul li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #950000;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    -webkit- transform: translateY(-50%);
}
.ichioshi_conte_inner br.ichioshi_br_mb{
    display: none;
}

@media screen and (max-width: 820px){
    .article .ichioshi_conte_tekiou ul {
    column-count: 2;
    }
}
@media screen and (max-width: 600px){
    .ichioshi_conte {
    margin-bottom: 3em;
    }
    .article .ichioshi_conte_inner h3.ichioshi_conte_title {
    font-size: 1.3em;
    }
    .article .ichioshi_conte_tekiou h4 {
    font-size: 1.2em;
    }
}

@media screen and (max-width: 480px){
    .article .ichioshi_conte h3.ichioshi_img_title {
    font-size: 2.4em;
    }
    .article .ichioshi_conte_tekiou ul {
    column-count: auto;
    }
    .ichioshi_conte_inner br.ichioshi_br_mb{
    display: block;
    }
}

@media screen and (max-width: 420px){
    .ichioshi_conte_inner br {
    display: none;
    }
}

/* ↑↑ 追加調整08/05/2021 ↑↑ */




/* ↓↓ 追加調整04/12/2022 ↓↓ */

.body .home_ichioshi_link {
    margin-bottom: 3em;
}

/* ↑↑ 追加調整04/12/2022 ↑↑ */





@media screen and (max-width: 1023px){
    .mblt-header-mobile-buttons {
    margin-top: 10px;
    }
}
@media screen and (max-width: 1000px){
    .wp-block-group.ho_profile, .wp-block-group.staff_profile {
    margin-left: 1.4em;
    margin-right: 1.4em;
    }
}
@media screen and (max-width: 834px){
    .home_logo_img {
    margin-top: 20px;
    }
    .home_navi .navi-in > .menu-header {
/*    display: flex;*/
    display: none;
    }
    article .sinyouin_home_cases_wrap .sinyouin_home_case p {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 0.9em;
    }
}
@media screen and (max-width: 684px){
    article .entry-content.cf p.home_junkan_lead br {
    display: none;
    }
    article .entry-content.cf p.home_junkan_lead br.mob_br {
    display: block;
    }
}
@media screen and (max-width: 680px){
    article p.home_lead {
    font-size: 1em;
    }
    article .entry-content.cf p.home_lead br {
    display: none;
    }
    article .entry-content.cf p.home_lead br.mob_br {
    display: block;
    }
    article .entry-content.cf p.home_lead span.sme-text-nowrap {
/*    white-space: normal;*/
    }
    article .sinyouin_home_cases_wrap .sinyouin_home_case p {
    font-size: 0.8em;
    }
    article .entry-content.cf p.home_p br {
    display: none;
    }
}
@media screen and (max-width: 480px){
    .home_logo_img {
    margin-bottom: 1em;
    }
    #navi.home_navi .navi-in>ul>li {
    margin: 0 10px 2px;
    }
    h1.has-text-align-center.home_h1 {
    font-size: 1.4em;
    }
    article .entry-content.cf {
    margin-top: 0;
    padding-top: 0;
    }
    article .entry-content.cf p {
    padding-left: 10px;
    padding-right: 10px;
    }
    
    .article .wp-block-column.method_column_r h5 {
    margin-top: 0;
    text-align: center;
    }
    article .entry-content.cf p.home_txt_link {
    text-align: center;
    }
    .wp-block-group.ho_profile{
    margin-left: auto;
    margin-right: auto;
    }
    .ho_profile .wp-block-columns {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 0;
    }
    article .entry-content.cf .ho_profile p.ho_profile_keireki {
    margin-top: 0;
    }
    .ho_profile ul {
    padding-left: 30px;
    padding-right: 0;
    }
    
    article .sinyouin_home_cases_wrap {
    padding-left: 0;
    padding-right: 0;
    }
    article .sinyouin_home_cases_wrap .sinyouin_home_case {
    min-height: 8em;
    }
    
    figure.wp-block-table.is-style-regular {
    padding-left: 0;
    padding-right: 0;
    }
    table.who_chart_table td {
    padding: 0.8em 1em;
    }
}
@media screen and (max-width: 465px){
    #navi.home_navi .navi-in>ul>li {
    margin: 0 0 2px;
    }
}
@media screen and (max-width: 376px){
    #navi.home_navi .navi-in>ul>li {
    margin: 0 0 3px;
    }
    .wp-block-columns {
    padding-left: 10px;
    padding-right: 10px;
    }
    
    article .sinyouin_home_cases_wrap .sinyouin_home_case {
    width: 48%;
    min-height: 5em;
    }
}
@media screen and (max-width: 374px){
    h1.has-text-align-center.home_h1 {
    font-size: 1.16em;
    }
}
/***********************/


/***********************/
/* イメージスライダー調整 */
@media screen and (max-width: 880px){
    .metaslider .flexslider .slides img {
    height: 250px;
    object-fit: cover;
    font-family: 'object-fit: cover;'
    }
}
/***********************/



/***********************/
/* SNS footer */
footer.article-footer.entry-footer {
    width: 100%;
    max-width: 1256px;
    margin-left: auto;
    margin-right: auto;
}
.sns-share, .sns-follow {
    padding: 3em 0 29px;
}

@media screen and (max-width: 834px){
    .sns-share, .sns-follow {
    padding: 0 16px;
    }
}
@media screen and (max-width: 480px){
    .sns-share-buttons.sns-buttons span.button-caption {
    display: none;
    }
}
/***********************/


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
