@charset "UTF-8";
/*-------------------------------------------
科目
-------------------------------------------*/
.subject {
    display: flex;
    height: 430px;
}
.subject_pic {
    width: calc(100% - 30%);
    height: 430px;
    background-color: #cacaca;
    overflow: hidden;
    position: relative;
}
.subject_pic img {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
}
#dental .subject_pic img {
    width: 120%;
}
.subject_txt {
    width: 30%;
    background-color: #eaf5f9;
     text-align: left;
}
.vertical-text-inner{
  writing-mode: vertical-rl;
  text-orientation: upright;
  column-count: 1;
  column-gap: 1em;
  display: inline-block;
  height: 430px;
  text-align: justify;
}
.vertical-text-inner span {
    padding-top: 20px !important;
}
.subject_txt p {
    padding-top: 30px;
    font-size: 3.0rem;
    margin-left: 30px;
}
@media screen and (max-width: 1024px) {
    .subject_pic img {
    width: auto;
    height: 100%;
}
}
@media screen and (max-width: 820px) {
    .subject_pic img {
    width: auto;
    height: 430px;
}
}
@media screen and (max-width: 768px) {
    .subject {
    display: block;
    height: auto;
}
    .subject_pic {
    width: calc(100% - 0%);
    height: 150px;
}
    .subject_pic img {
    width: auto;
    height: 250px;
}
.subject_txt p {
font-size: 2.0rem;
        text-align: center;
    margin-left: 0px;
}
    .vertical-text-inner{
  writing-mode: horizontal-tb;
  column-count: 1;
  column-gap: 1em;
  display: inline-block;
  padding-bottom: 30px;
  height: auto;
  text-align: justify;
}
.subject_txt {
    width: 100%;
    background-color: #eaf5f9;
    text-align: center;
}
}
/*-------------------------------------------
耳鼻咽喉科
-------------------------------------------*/
.jibiinkou_top {
    margin: 70px auto 140px;
}
.roku_yon {
    display: flex;
    justify-content: space-between;
}
#jibiinkou .roku_txt h1 {
    font-size: 2.7rem;
}
#jibiinkou .yon_pic {
    width: 40%;
    margin-left: 50px;
    margin-right: 0px;
}
#jibiinkou .yon_pic p {
    margin: 0;
}
.jibiinkou_naiyo {
    display: flex;
    justify-content: space-between;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-top: 40px;
}
#jibiinkou .jibiinko_01 {
    border: 1px solid #333;
  display: grid; 
  grid-template-columns: 1fr; 
  grid-template-rows: 147.5px 180px 30px; 
  gap: 15px 0px; 
  grid-template-areas: 
    "naiyo_ran_pic"
    "jibiinkou_naiyo_list"
    "jibiinkou_btn"; 
    padding-bottom: 20px;
}
#jibiinkou .naiyo_ran_pic {
    grid-area: naiyo_ran_pic; 
}
#jibiinkou .jibiinkou_naiyo_list {
    grid-area: jibiinkou_naiyo_list; 
}
#jibiinkou .jibiinkou_btn {
    grid-area: jibiinkou_btn; 
}
#dental .jibiinko_01 {
    border: 1px solid #333;
    padding: 30px;
}
.naiyo_ran_pic h3 {
    font-size: 2.5rem;
    color: #3f80ae;
}
.naiyo_ran_pic_last {
    position: relative;
    text-align: center;
    padding-bottom: 10px;
}
.naiyo_ran_pic_last h3 {
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50% , -50%);
    font-size: 3.0rem;
    color: #3f80ae;
}
.jibiinkou_naiyo_list {
    background-color: #f4f5f7;
    margin: 0 20px;
}
#dental_tuite  .jibiinkou_naiyo_list {
    background-color: #f4f5f7;
    padding-bottom: 20px;
    margin: 0px auto;
    height: auto;
}

#dental .jibiinkou_naiyo_list h3{
    text-align: center;
    color: #3f80ae;
}
.jibiinkou_naiyo_list ul {
    padding: 5px 0 5px 20px;
    margin: 0 10px;
}
.jibiinkou_naiyo_list ul li {
    list-style: disc;
}
.jibiinkou_btn {
    background-color: #065b87;
    margin: 0 20px;
    text-align: center;
    border-radius: 100vh;
}
.arrow6 {
    position: relative;
    display: inline-block;
    left: 25%;
}
.arrow6::before {
    transform: rotate(135deg);
}
.arrow6::after {
    transform: rotate(45deg);
}
.arrow6::before, .arrow6::after {
    content: "";
    position: absolute;
    top: calc(50% - 3px);
    right: 0;
    width: 7px;
    height: 2px;
    border-radius: 10px;
    background-color: #ffffff;
    transform-origin: calc(100% - 1px) 50%;
}
.onayami {
    margin: 50px 0;
}
.onayami01 {
    display: flex;
    align-items: center;
    justify-content: center;
}
.onayami_pic {
    width:100px;
    height: 100px;
    background-color: #f4f5f7;
    border-radius: 100vw;
    
}
.onayami_pic img {
    width:70px;
    margin: 15px;
}
.onayami_txt {
    margin-left: 10px;
}
.onayami_txt p {
    margin: 0;
}
.onayami_txt p span {
    font-size: 3.5rem;
}
.onayami02 {
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 30px 0 100px;
}
.onayami02 p {
    margin: 0;
}
.onayami_syu {
    width:  calc(100% / 3 - 20px);
    margin-bottom: 30px;
}

ul.syoujyou li , ul.chiryo li {
    margin-left: 4.5rem;
    text-indent: -4.5rem;
}
ul.syoujyou li:before {
	content: '症状';
    font-size: 1.7rem;
    font-weight: bold;
    margin-right: 10px;
}
ul.chiryo li:before {
	content: '治療';
    font-size: 1.7rem;
    font-weight: bold;
    margin-right: 10px;
}
.l_t_b_solid {
    border-top: 2px solid #3f82c5;
    border-left: 2px solid #3f82c5;
    padding: 10px 25px 5px;
}
.l_g_solid {
    height: calc(100% - 40px);
    border-left: 2px solid #e4e4e4;
    padding: 5px 15px 5px 30px;
}
@media screen and (max-width: 1024px) {
    .yonbunkatubu {
    width: calc(100% / 2 - 10px);
        margin-bottom: 20px;
}
#jibiinkou .jibiinkou_naiyo_list {
    padding: 10px;
}
}

@media screen and (max-width: 768px) {
.naiyo_ran_pic h3 {
    font-size: 2.0rem;
}
.naiyo_ran_pic_last h3 {
    font-size: 2.0rem;
}
    .roku_yon {
    display: block;
    justify-content: space-between;
    margin: 0px auto 100px;
}
#jibiinkou .yon_pic {
    width: 100%;
    margin-left: 0px;
    margin-right: 0px;
}
.jibiinkou_naiyo_list {
    background-color: #f4f5f7;
    margin: 0 10px;
}
    .onayami_syu {
    width: calc(100% / 1);
    }
    .jibiinkou_naiyo .tyu_txt2 {
        font-size: 1.5rem !important;
        padding-top: 10px;
    }
.arrow6 {
    left: 10%;
}
}
/*-------------------------------------------
歯科口腔外科
-------------------------------------------*/
.dental_top {
    margin: 70px auto 140px;
}
#dental .yon_pic {
    width: 40%;
    margin-left: 30px;
    margin-right: 0px;
}
.sika_ishi {
    padding: 10px;
    background-color: #f4f5f7;
}
.sika_ishi p {
    margin: 0 ;
}

#dental .gaiyo1 {
    background-color: #fff;
    width: 70%;
    margin: 0 auto;
    padding: 20px 0 50px;
}
#dental .gaiyo {
    background: repeating-linear-gradient(-45deg, #fff, #fff 5px, #efefef 5px, #efefef 10px);
    padding: 50px 0;
}
#dental .gaiyo_txt1 {
    display: flex;
    align-items:flex-start;
    width: 65%;
    margin: 0 auto;
    font-size: 1.7rem;
    padding: 10px 0;
    border-bottom: 0px;
}
#dental .gaiyo_txt2 p {
    margin: 0;
    text-align-last:left;
}


#dental .jibiinkou_naiyo_list h3{
    font-size: 2.5rem;
    color: #3f80ae;
    text-align: center;
    padding-top: 15px;
}


.jibiinkou_naiyo_list2 {
    background-color: #f4f5f7;
    margin: 0 20px 20px;
    height: 140px;
}
#dental .jibiinkou_naiyo_list2 h3 {
    font-size: 2.5rem;
    color: #3f80ae;
    text-align: center;
    padding-top: 15px;
}
#dental .jibiinkou_naiyo_list2 {
    width: 700px;
    height: auto;
    margin: 0 auto 30px;
}
.naiyo_tit {
    display: flex;
    align-items: center;
    height: auto;
}
#dental .maru_aoobi_siromoji {
    margin-top: 40px;
    padding: 0;
    height: 150px;
    border-radius: 0.5vw;
}



.jibiinko_04 {
    border: 1px solid #333;
}
.jibiinko_04 p {
    width: 100% !important;
    text-align:justify;
    margin: 0px !important;
    padding: 5px 20px;
}
.jibiinko_03 ul {
    padding:0 15px ;
}
.jibiinko_03 ul li {
    list-style: disc;
    margin: 0 20px;
}
.santainana_l {
    width: 30%;
}
.santainana_r {
    margin-left: 20px;
    width: 70%;
}
.santainana_r p {
    width: 100% !important;
    margin: 0 !important;
  overflow-wrap: break-word;
  word-break: break-word;
  word-break: break-all;
}
.dental_yoyaku {
        padding:3px 10px;
}

@media screen and (max-width: 1024px) {
    #dental .gaiyo_txt1 {
    width: 75%;
}
.sokutei_txt p {
    width: 150px !important;
}
    .shinsatu_txt p {
    width: 310px !important;
    font-size: 1.5rem;
    margin: 0 !important;
}
    .dental_syoujyou {
    width: 95%;
    padding-bottom: 10px;
}
    #dental .gr_style3 {
    height: 212px;
}
    #dental .santainana_r {
    margin-left: 0px;
}
}
@media screen and (max-width: 820px) {
.jibiinkou_naiyo_list ul {
    padding: 0px 0 0px 0px;
    margin: 0 20px;
}
    .sokutei_txt p {
        width: 350px !important;
    }
    #dental .gr_style3 {
        height: 150px;
        margin-bottom: 20px;
    }
    .shinsatu_txt p {
        width: 90% !important;
        font-size: 1.5rem;
        margin: 0 !important;
    }
}

/*-------------------------------------------
小児難聴外来
-------------------------------------------*/

/*-------------------------------------------
耳鼻咽喉科
-------------------------------------------*/
@media screen and (max-width: 820px) {
    .onayami_syu {
    width: calc(100% / 2 - 20px);
    margin-bottom: 30px;
}
}
@media screen and (max-width: 768px) {
    .onayami_syu {
    width: calc(100% / 1 - 0px);
    margin-bottom: 30px;
}
}
/*-------------------------------------------
歯科口腔外科
-------------------------------------------*/
@media screen and (max-width: 768px) {
    #dental .yon_pic {
    width: 100%;
    margin-left: 0px;
    }
#dental_tuite .jibiinko_01 {
    padding: 20px;
    margin-bottom: 30px;
    margin-top: 20px;
}
    #dental .gaiyo_txt1 {
    display: block;
    align-items: flex-start;
    width: 65%;
    margin: 0 auto;
    font-size: 1.7rem;
    padding: 10px 0;
    border-bottom: 0px;
}
    #dental .jibiinkou_naiyo {
    padding-top: 0px;
}
    #dental .santainana_r {
        margin-top: 20px;
    margin-left: 0px;
    padding-left: 0px;
    width: 100%;
}
    #dental .sokutei_txt p {
        width: 190px !important;
    }
    .dental_syoujyou {
        width: 80%;
    }
        #dental .gr_style3 {
        height: auto;
    }
.ngyaji_tit p {
    padding-right: 5px;
}
    .dental_yoyaku {
            padding: 1px 5px;
    }
}
