/* 全体 */
* {
    box-sizing: border-box;
    font-family: 'Noto Serif JP', sans-serif;    font-style: normal;
    font-weight: 400;
    letter-spacing: 1.0px;
}

body {
    margin: 0;
}

ul {
    list-style: none;
}

.section-title {
    font-size: 26px;
    text-align: center;
}

.section-title.g {
    color: #494949;
}

.section-title.w {
    color: #fff;
}

.button {
    font-size: 20px;
    border: none;
    padding: 20px 40px;
    background-color: #fff;
    box-shadow: 2px 2px 4px gray;
    margin: 0 auto;
    display: inline-block;
    }

button {
    font-size: 16px;
    border: none;
    padding: 20px 40px;
    background-color: #fff;
    box-shadow: 2px 2px 4px gray;
    margin: 0 auto;
    display: inline-block;
}

.g {
    background-color: #f2f2f2;
}

.w {
    background-color: #E7E1D4;
}

.sub-button {
    text-align: center;
    margin: 30px 0 10px 0;
}

.contact-btn-striking {
    width: 30%;
    border-radius: 10px;
    color: #fff;
    display: flex;
    align-items: center;
    }
    .contat-btn-strikig > * {
    display: block;
    }
    .btn-txt {
    margin: 0 auto;
    }
    .btn-red {
    background-color: #E52E2E;
    }
    .btn-green {
    background-color: #458447;
    }

@media screen and (max-width: 768px) {
    p {
        font-size: 16px;
    }

    h3 {
        font-size: 18px;
    }

    h2 {
        font-size: 24px;
    }

    .contact-btn-striking {
        width: 90%;
        font-size: 16px;
    }       
}


/* ヘッダー */
.header-wrapper {
    position: absolute;
    width: 100%;
    background-color: #B39765;
    color: #fff;
}

.header-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    color: #fff;
    height: 70px;
}

.header-img {
    width: auto;
    height: 50px;
}

.tel {
    max-width: 100%;
    width: 200px;
    height: auto;
}

.navbar li a.nav-btn {
    padding: 8px;
}

.header-left {
    float: left;
    margin-right: auto;
    margin-left: 20px;
}

.navbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.navbar li  a {
    display: inline-block;
    height: 70px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    padding: 20px;
}

.navbar li  a:hover {
    background-color: #d1b583;
}

body {
    margin: 0;
}

a{
    color: #040404;
    text-decoration: none;
}

.navi_inner {
    padding-top: 120px;
}

.el_humburger {
    display: none;
}

@media screen and (max-width: 768px) {
    .header-inner {
        padding: 5px 0;
        height: auto;
    }

    .header-img {
        max-width: 100%;
        width: 80%;
        height: auto;
    }
}

  /*ハンバーガーボタン*/
  .el_humburger {
    position: fixed;
    top: 45px;
    right: 60px;
    width: 46px;
    height: 25px;
    padding-top: 1px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 0px;
    z-index: 20;
    cursor: pointer;
    pointer-events: auto;
    color: #000;
    text-align: center;}
   
@media screen and (max-width: 768px) {
    .el_humburger {
        display: block;
        right: 0;
        top: 0;
        padding-top: 20px;
        width: 70px;
        height: 70px;
    }

    #factory .el_humburger {
        display: none; 
    } 

    .navbar {
        display: none;
        }
    }  
   
    .el_humburger_wrapper {
        margin-bottom: 5px;
        width: 42px;
        display: inline-block; 
    }
 
@media screen and (max-width: 768px) {
    .el_humburger_wrapper {
        margin-bottom: 5px;
        width: 30px; 
        } 
    }
 
    .el_humburger_text {
    font-size: 12px;
    letter-spacing: 0.1em;
    font-family: "游ゴシック Medium", YuGothic, "Yu Gothic", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif; }
    
    .js_humburgerOpen .el_humburger_text.el_humburger_text__menu {
        display: none; 
    }
    
    .el_humburger_text.el_humburger_text__close {
        display: none; 
    }
    
    .js_humburgerOpen .el_humburger_text.el_humburger_text__close {
        display: block; 
    }
 
@media screen and (max-width: 768px) {
    .el_humburger_text {
        font-size: 10px;
        padding-top: 2px; 
        } 
    }
 
@media screen and (max-width: 768px) {
  .el_humburger_text svg path {
        -webkit-transition: all 200ms cubic-bezier(0.16, 0.52, 0.25, 1);
        -o-transition: all 200ms cubic-bezier(0.16, 0.52, 0.25, 1);
        transition: all 200ms cubic-bezier(0.16, 0.52, 0.25, 1);
        fill: #000; 
        } 
    }
 
@media screen and (max-width: 768px) {
    .js_humburgerOpen .el_humburger_text svg path {
        fill: #000;
        } 
    }
 
    .el_humburger span.el_humburger_bar {
        display: block;
        width: 100%;
        margin: 0 auto 9px;
        height: 1px;
        background: #000;
        -webkit-transition: all .2s ease-in-out;
        -o-transition: all .2s ease-in-out;
        transition: all .2s ease-in-out; 
    }
    
    .el_humburger span.el_humburger_bar:last-child {
    margin-bottom: 0; }
    
    .js_humburgerOpen .el_humburger span.el_humburger_bar {
    background: #000; }
    
@media screen and (max-width: 768px) {
    .el_humburger span.el_humburger_bar {
        left: 0;
        top: 0;
        background: #fff; 
        } 
    }
    
    .js_humburgerOpen .el_humburger span.el_humburger_bar.top {
        -webkit-transform: translateY(9px) rotate(-45deg);
        -ms-transform: translateY(9px) rotate(-45deg);
        transform: translateY(9px) rotate(-45deg); 
    }
    
    .js_humburgerOpen .el_humburger span.el_humburger_bar.middle {
        opacity: 0; 
    }
 
    .js_humburgerOpen .el_humburger span.el_humburger_bar.bottom {
        -webkit-transform: translateY(-11px) rotate(45deg);
        -ms-transform: translateY(-11px) rotate(45deg);
        transform: translateY(-11px) rotate(45deg); 
    }
    
    .el_humburgerButton.el_humburgerButton__close {
        top: 2%;
        right: 2%; 
    }
    
    .el_humburgerButton__close span.el_humburger_bar {
        display: block;
        width: 35px;
        margin: 0 auto;
        height: 4px;
        background: #000; 
    }
    
  .el_humburgerButton__close span.el_humburger_bar.top {
        -webkit-transform: translateY(5px) rotate(-45deg);
        -ms-transform: translateY(5px) rotate(-45deg);
        transform: translateY(5px) rotate(-45deg); 
    }
   
  .el_humburgerButton__close span.el_humburger_bar.bottom {
        -webkit-transform: translateY(-6px) rotate(45deg);
        -ms-transform: translateY(-6px) rotate(45deg);
        transform: translateY(-6px) rotate(45deg); 
    }
   
  .navi {
    position: fixed;
    right: 0;
    background-color: rgba(255, 255, 255, 0.9);
    width: 450px;
    z-index: 3;
    padding-top: 100px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 600ms ease-out;
    -o-transition: all 600ms ease-out;
    transition: all 600ms ease-out;
    transform:translateZ(0) translateX(100%);
    overflow: auto; 
    }

    .js_humburgerOpen .navi {
        transform:translateZ(0) translateX(0); 
    }

@media screen and (max-width: 768px) {
    .navi {
        padding: 100px 5% 0; 
    }

    .js_humburgerOpen .navi {
        width: 100%;
        } 
    }
   
  .navi_item {
    margin-bottom: 28px;
    font-size: 20px;
    font-family: "Marcellus", serif !important;
    white-space: nowrap;
    margin-left: 90px; 
    }

    .navi_item.op_innerLink {
        cursor: pointer; 
    }

@media screen and (max-width: 768px) {
    .navi_item {
    margin-left: 0;
    font-size: 18px; 
        }
    }

/* メイン */
.main-wrapper {
    background-image: url(img/top-img.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right 40% bottom 50%;
}

.main-inner {
    padding: 100px 20px 50px 90px;
}

.catch-message {
    color          : #404040;            /* 文字の色 */
    letter-spacing : 2px;                /* 文字間 */
    text-shadow    : 
         2px  2px 1px #fff,
        -2px  2px 1px #fff,
         2px -2px 1px #fff,
        -2px -2px 1px #fff,
         2px  0px 1px #fff,
         0px  2px 1px #fff,
        -2px  0px 1px #fff,
         0px -2px 1px #fff;        /* 文字の影 */
}

.catch-message .m {
    font-size: 26px;
}
                
.catch-message .ss {
    background-color: rgba(255,255,255,0.4);
    font-size: 20px;
    display: inline-block;
    padding: 2px 20px;
}

.catch-message .s {
    font-size: 22px;
}

.catch-message-l {
    color          : #E52E2E;            /* 文字の色 */
    font-size      : 29pt;               /* 文字のサイズ */
    letter-spacing : 2px;                /* 文字間 */
    text-shadow    : 
         2px  2px 1px #fff,
        -2px  2px 1px #fff,
         2px -2px 1px #fff,
        -2px -2px 1px #fff,
         2px  0px 1px #fff,
         0px  2px 1px #fff,
        -2px  0px 1px #fff,
         0px -2px 1px #fff;        /* 文字の影 */
    background-color:rgba(255,255,255,0.4);
    display: inline-block;
    padding: 15px 20px;
    margin: 0;
}

.main-button {
    font-size: 16px;
    border: none;
    padding: 20px 40px;
    margin: 30px 0 0 30px;
    background-color: #fff;
    box-shadow: 2px 2px 4px gray;
    display: inline-block;
    border-radius: 10px;
}

@media screen and (max-width: 768px) {
    .main-wrapper {
        background-position: right 50% bottom 10%;
    }

    .main-inner {
        padding: 20px 10px 10px 10px;
    } 

    .main-text {
        font-size: 14px;
        margin-top: 40px;
    }

    .catch-message {
        padding-top: 6%;
    }

    .catch-message.m {
        font-size: 16px;
        margin: 0px 0 5px 0;
    }

    .catch-message.s {
        font-size: 14px;
        padding-top: 10px;
        margin: 0 0 5px 0;
    }

    .catch-message.ss p {
        font-size: 12px;
        margin: 5px 0 5px 0;
    }

    .catch-message-l {
        padding: 5px 15px;
        font-size: 18px;
    }

    .main-button {
        font-size: 14px;
        padding: 10px 30px;
        margin-top: 10px;
    }
}




/* メッセージ */
.message-inner-wrapper {
    text-align: center;
}

.message-inner-wrapper p {
    font-size: 20px;
}


.section-title-m h2{
    margin: 60px 0 40px 0;
    background-color: #B39765;
    padding: 10px 20px; 
    display        : inline-block;
    color          : #ffffff;            /* 文字の色 */
    font-size      : 28pt;               /* 文字のサイズ */
    letter-spacing : 4px;                /* 文字間 */
    text-shadow    : 
         1px  1px 1px #000,
        -1px  1px 1px #000,
         1px -1px 1px #000,
        -1px -1px 1px #000,
         1px  0px 1px #000,
         0px  1px 1px #000,
        -1px  0px 1px #000,
         0px -1px 1px #000;        /* 文字の影 */
}

.section-title-m p {
    font-size: 24px;
}

.border-s {
    border-bottom: solid 1.5px #B39765 ;
    width: 70px;
    padding: 10px;
    margin: 0 auto;
}

.message-detail-t {
    padding: 30px 0;
}

.message-detail-u {
    padding: 30px 0;
}

.message-detail-u .message-detail-u-l {
    font-size: 27px;
}


@media screen and (max-width: 768px) {
    .message-inner-wrapper {
        padding: 30px 10px 40px 10px;
    } 

    .section-title-m h2 {
        margin: 10px 0 20px 0;
        padding: 5px 5px;
        font-size: 16pt;
        letter-spacing: 2px;
    }

    .section-title-m p,
    .message-detail-t p,
    .message-detail-c p,
    .message-detail-u p {
        font-size: 16px;
    }

    .message-detail-t,
    .message-detail-u {
        padding: 10px 0;
    }

    .message-detail-u .message-detail-u-l {
        font-size: 16px;
    }

    .messeage-inner {
        padding: 0 15px;
    }
}


/* デンタル */

.semicircle {
    width: 550px;
    height: 430px;
    border-radius: 50%;
    margin: 0px auto -300px auto;
}


.denture-title {
    padding-top: 60px;
}

.denture-inner {
    background-color: #f2f2f2;
    padding: 0 20px 40px 20px;
    text-align: center;
}

.denture-image p {
    color          : #E52E2E;            /* 文字の色 */
    font-size      : 26pt;               /* 文字のサイズ */
    letter-spacing : 2px;                /* 文字間 */
    text-shadow    : 
         2px  2px 1px #fff,
        -2px  2px 1px #fff,
         2px -2px 1px #fff,
        -2px -2px 1px #fff,
         2px  0px 1px #fff,
         0px  2px 1px #fff,
        -2px  0px 1px #fff,
         0px -2px 1px #fff;        /* 文字の影 */
    margin: 0;
    padding-top: 50px;
}

.denture-image img {
    max-width: 100%;
    width: 40%;
    height: auto;
    padding: 30px 0 30px 0;
}

.denture-group {
    background-color:rgba(255,255,255,0.3);
    display: inline-block;
    padding: 10px 50px;
}

.denture-description {
    color          : #000;            /* 文字の色 */
    font-size      : 18pt;               /* 文字のサイズ */
    letter-spacing : 2px;                /* 文字間 */
    text-shadow    : 
         2px  2px 1px #fff,
        -2px  2px 1px #fff,
         2px -2px 1px #fff,
        -2px -2px 1px #fff,
         2px  0px 1px #fff,
         0px  2px 1px #fff,
        -2px  0px 1px #fff,
         0px -2px 1px #fff;        /* 文字の影 */
}

.denture-description span {
    color          : #E52E2E;            /* 文字の色 */
    font-size      : 22pt;               /* 文字のサイズ */
    letter-spacing : 2px;                /* 文字間 */
    text-shadow    : 
         2px  2px 1px #fff,
        -2px  2px 1px #fff,
         2px -2px 1px #fff,
        -2px -2px 1px #fff,
         2px  0px 1px #fff,
         0px  2px 1px #fff,
        -2px  0px 1px #fff,
         0px -2px 1px #fff;        /* 文字の影 */
}

.border-l{
    border-bottom: solid 1.5px #B39765 ;
    width: 490px;
    padding: 10px;
    margin: 0 auto;
}

.denture-schedule {
    padding: 30px 0;
    font-size: 16px;
}

td {
    text-align: left;
    padding-left: 20px;
}

.reason-title {
    margin-top: 0;
}

@media screen and (max-width: 768px) {
    .semicircle {
        max-width: 100%;
        width: 550px;
        height: 380px;
        border-radius: 50%;
    }
    
    .denture-title {
        padding-top: 45px;
    }

    .denture-image img {
        max-width: 100%;
        width: 60%;
    }

    .denture-group {
        padding: 10px 10px;
    }

    .denture-image p {
        font-size: 23px;
        padding-top: 35px;
    }

    .border-l {
        width: auto;
    }

    .denture-description span {
        font-size: 16px;
    }

    .denture-schedule {
        font-size: 12px;
        padding: 20px 0;
    }

    .denture-schedule td,.denture-schedule th {
        font-size: 14px;
    }
}

/* 理由 */

.reason-inner {
    padding: 50px 80px;
}

.reasons {
    background-color: #E7E1D4;
}

.reasons div:last-child {
    border: none;
}

.triangle {
    width: 0;
    height: 0;
    border-right: 70px solid transparent;
    border-left: 70px solid transparent;
    border-top: 55px solid #fff;
    margin-bottom: -10px;
    margin: 0 auto;
}

.reason {
    display: flex;
    border-bottom: solid 1.5px #fff;
    padding: 20px 60px;
    width: 90%;
    margin: 0 auto;
}

.reason-group p {
    font-size: 20px;
}

.section-title.b p {
    padding-top: 50px;
    margin-bottom: 0;
}

.reason-title span {
    font-size: 50px;
}

.number {
    color: #fff;
    display: flex;
    font-size: 70px;
    opacity: 1;
    padding: 40px 70px 40px 0;
    margin: 0;
}

.reason h3 {
    color          : #458447;            /* 文字の色 */
    font-size      : 22pt;               /* 文字のサイズ */
    letter-spacing : 2px;                /* 文字間 */
    text-shadow    : 
        2px  2px 1px #fff,
        -2px  2px 1px #fff,
        2px -2px 1px #fff,
        -2px -2px 1px #fff,
        2px  0px 1px #fff,
        0px  2px 1px #fff,
        -2px  0px 1px #fff,
        0px -2px 1px #fff;        /* 文字の影 */
}

@media screen and (max-width: 768px) {
    .reason-inner {
        padding: 40px 20px;
    }

    .reason {
        padding: 20px 0px;
    }

    .reason h3 {
        font-size: 17pt; 
    }

    .section-title.b p {
        font-size: 20px;
    }

    .reason-group p {
        font-size: 16px;
    }

    .number {
        font-size: 34px;
        padding: 13px 10px 40px 0;
    }
}


/* 料金 */

.price-wrapper {
    background-color: #f2f2f2;
    padding: 60px 80px;
}

.price-inner {
    background-color: #fff;
    border: 1px solid #B39765;
}

.Item {
    width: 100%;/*お好みで調整*/
}

.Item-Content {
    position: relative;
    padding-top: 30px;
    padding-bottom: 55px;
    padding-left: 56px;
    padding-right: 36px;
}

.Item-Content-Flg1 {/*三角形左上*/
    position: absolute;
    top: 0;
    left: 0;
    border-left: 100px solid #DCD3C1;
    border-bottom: 100px solid transparent;
}

.b {
    margin: -40px 0 40px 0;
    color: #B39765;

}

.prices {
    display: flex;
    justify-content: space-around;
    padding: 10px 50px;
}

.price {
    border-right: 1px solid #B39765;
    width: 33%;
    margin: 0 auto;
    text-align: center;
}

.course {
    font-weight: bold;
    font-size: 35px;
    margin: 0;
}

.course-price {
    font-size: 23px;
    margin-bottom: 0;
}

.prices div:last-child {
    border: none;
}

.price-warning {
    font-size: 16px;
    padding: 60px 90px;
}

.price-warning p {
    margin: 0 0 5px 0;
}

.cash span {
    font-size: 24px;
    margin-right: 20px;
}

.cash {
    display: flex;
    justify-content: space-around;
    padding: 20px 70px 40px 70px;
}

.cash p {
    font-size: 18px;
}

ul {
    font-size: 18px;
}

.bank {
    width: 18%;
}

.construction {
    display: flex;
    list-style-type: none;
    width: 33%;

}
    
.construction ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
    
.construction ul {
    position: relative;
    /* margin-top: 1rem; */
    margin-left: 15px;
}
    
.construction ul:before {
    content: "";
    display: block;
    position: absolute;
    top: -10px;
    bottom: 0;
    left: -3px;
    width: 0;
    border-left: 1px solid #000;
}
    
.construction ul li {
    position: relative;
    margin: 0;
    padding: 7px15px;
    /* padding: 0; */
}
    
.construction ul li:before {
    content: "";
    display: block;
    position: absolute;
    top: 15px;
    left: -3px;
    width: 25px;
    height: 0;
    border-top: 1px solid #000;
}
    
.construction ul li:last-child:before {
    top: 15px;
    bottom: 0;
    height: auto;
    background-color: #fff;
}

.construction li li{
    padding-left: 50px;
}

.credit {
    width: 33%;
}

.credit img {
    max-width: 100%;
    width: 18%;
    height: auto;
}


@media screen and (max-width: 768px) {
    .price-wrapper {
        padding: 60px 20px;
    }

    .Item-Content-Flg1 {
        border-left: 50px solid #DCD3C1;
        border-bottom: 50px solid transparent;
    }

    .prices {
        display: block;
        padding: 10px 20px;
    }

    .price {
        border-right: none;
        border-bottom: 1px solid #B39765;
        width: 100%;
        margin-top: 10px;
    }

    .cash {
        display: block;
        padding: 20px 20px 40px 20px;
    }

    .construction ul:before,
    .construction ul li:before {
        display: none;
    }

    .course {
        font-size: 22px;
    }

    .course-price {
        font-size: 18px;
        margin-bottom: 5px;
        padding-bottom: 5px;
    }

    .price-warning {
        font-size: 16px;
        padding: 30px 20px;
    }

    .bank,
    .construction,
    .credit {
        width: auto;
    }

    .construction {
        padding-inline-start: 0;
    }

    .cash p,
    .cash li,
    .cash span {
        font-size: 16px;
    }
}


/* 先生の紹介 */

.doctor-inner {
    padding: 60px 20px;
}

.doctor-group {
    display: flex;
    margin: 0 auto;
    width: 70%;
}

.doctor-img {
    width: 30%;
}

.doctor-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 30px;
}

.doctor-introduction {
    margin-left: 50px;
    width: 70%;
}

.doctor-name {
    font-size: 25px;
    margin: 30px 0 80px 0;
}

.doctor-message {
    border-top: solid 1.5px #B39765;
    width: 100%;
    margin: 30px 0;
}

@media screen and (max-width: 768px) {

    .doctor-group {
        display: block;
        text-align: center;
        width: 90%;
    }

    .doctor-img {
        width: 70%;
        margin: 0 auto;
    }

    .doctor-name {
        font-size: 20px;
        margin: 30px 0 30px 0;
    }

    .doctor-introduction {
        margin: 0 auto;
        width: 100%;
    }

    .doctor-inner {
        padding: 60px 20px 5px 20px;
    }

    .doctor-message {
        width: auto;
    }
}


/* 症例 */

.case-inner {
    background-color: #f2f2f2;
    padding: 30px 20px;
}

.cases {
    text-align: center;
}

.case {
    border-bottom: solid 1.5px #000;
}

.case-detail {
    padding: 0 0 30px;
    margin-bottom: 30px;
    width: 31%;
    margin: 0 auto;
}

.case-detail p {
    text-align: left;
}

.case-before {
    margin-top: 20px;
}

.case-img,
.arrow-img {
    margin: 20px 0;
}
.case-img {
    max-width: 100%;
    width: 40%;
    height: auto;
    border: 5px solid #fff;
}

.arrow-img {
    max-width: 100%;
    width: 10%;
    height: auto;
}

@media screen and (max-width: 768px) {
    .doctor-group {
        display: block;
    }

    .case-img {
        width: 50%;
        margin: 0;
   }

   .case-detail {
        width: 90%;
    }

   .arrow-img {
    max-width: 100%;
    width: 15%;
    height: auto;
    }
}

/* Q&A */

.qa-inner {
    padding: 60px 130px;
}

.q {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 20px;
}

.q::before {
    content: "Q";
    background-color: #64BFE7;
    color: #fff;
    padding: 0px 10px 6px 10px;
    margin-right: 10px;
    border-radius: 5px;
    line-height: 13px;
}
.a {
    font-size: 16px;
    background-color: #E5E5E5;
    padding: 20px 30px;
    margin-bottom: 50px;
    margin-left: 2.5em;
}

@media screen and (max-width: 768px) {
    .qa-inner {
        padding: 60px 20px 5px 20px;
       }

    .q {
        font-size: 16px;
        margin-left: 3em;
        text-indent: -3em;
    }
    .a {
        font-size: 14px;
    }
}

/* アクセス */

.access-inner {
    padding: 60px 80px;
    background-color: #E7E1D4;
    display: flex;
    justify-content: center;
}

.map {
    margin-right: 50px;
}

.place {
    background-color: #fff;
    padding: 30px 40px;
    margin: 30px 0;
    font-size: 14px;
}

.time-list-box {
    width: 80%;
    padding: 20px 30px;
    background-color: #fff;
}

.time-list {
    width: 100%;
    font-size: 12px;
    text-align: left;
    border-collapse:collapse;
    margin: 0;
}

.time-border {
    border-bottom: solid 1.5px #000;
}

.time-list tr:last-child {
    border: none;
}

.time p {
    font-size: 12px;
    margin-left: 30px;
}

.time-border th,
.time-border td {
    padding: 10px 0;
}

.time-border td {
    text-align: center;
}


.googlemap {
    max-width: 100%;
}

@media screen and (max-width: 768px) {
    .access-inner {
        display: block;
        padding: 30px 15px;
    }

    .time-list {
        font-size: 14px;
    }

    .place {
        padding: 15px 15px;
        font-size: 14px;
    }

    .place th, .place td {
        padding-bottom: 12px;
    }

    td {
        padding-left: 10px;
    }

    .time p {
        margin-left: 0;
        text-align: center;
    }

    .time-list-box {
        margin: 0 auto;
        font-size: 13px;
    }

    .map {
        margin-right: 0;
        text-align: center;
        padding: 20px;
    } 

    .googlemap {
        height: auto;
    }  
}

/* お問い合わせ */
.contact-wrapper {
    padding: 60px 30px;
}

.contact-inner {
    text-align: center;
}

.contact-detail {
    padding: 30px;
}

.contact-table {
    margin: 0 auto;
    width: 80%;
}

.contact-detail {
    background-color: #fafafa;
}

.contact-text {
    padding: 30px;
}

.contact-th,
.contact-td,
.contact-tr {
    display: flex;
}

.contact-tr {
    margin: 15px 0;
}

.textarea-box {
    display: flex;
    align-items: top;
    width: 40%;
}

.contact-th {
    width: 40%;
    align-items: center;
}

.contact-td {
    width: 60%;
}

.txt-l input,
textarea {
    width: 100%;
}

.contact-td {
    align-items: center;
}

.required {
    color: #ff0000;
    border: 1px solid #ff0000;
    margin-left: auto;
    height: 26px;
    padding: 0 20px;
}

.required-box {
    width: 80%;
    display: flex
}

.contact-table p {
    margin: 5px 0;
}

.contact-table p.required {
    margin-left: auto;
}

.contact-table p.first-name,
.contact-table p.last-name {
    margin-right: 1em;
}

.radio-box {
    display: flex;
    width: 100%;
    align-items: center;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    padding: 10px 5px;
}

textarea {
    height: 150px;
}

.send-btn {
    width: 150px;
    background-color: #dcd3c1;
    border: none;
    margin-top: 20px;
    border-radius: 10px;
}

.wpcf7-form-control.wpcf7-radio {
    display: flex;
    width: 100%;
}

.wpcf7-list-item {
    width: 22%;
}

.wpcf7-form-control-wrap {
    width: 100%;
}

.wpcf7-list-item {
    text-align: left;
}

.wpcf7-form-control-wrap.your-age {
    width: 30%;
    text-align: left;
}

.wpcf7-form-control-wrap.your-age input[type="text"] {
    width: 90%;
}

.wpcf7-radio span:first-child {
    margin-left: 0;
}

@media screen and (max-width: 768px) {
    .contact-wrapper {
        padding: 60px 10px;
    }

    .contact-detail {
        padding: 15px;
    }

    .contact-th,
    .contact-td,
    .contact-tr {
        display: block;
    }

    .contact-th,
    .contact-td,
    .required-box {
        width: 100%;
    }

    .contact-td {
        padding-left: 0;
    }

    .contact-table p.required  {
        margin-left: 1em;
    }

    .wpcf7-form-control-wrap.your-age input[type="text"] {
        width: 100%;
    }

    .wpcf7-form-control-wrap.your-age {
        margin-right: 10px;
    }

    .contact-table p {
        text-align: left;
    }

    .txt-right {
        display: flex;
    }

    .textarea-box {
        width: 100%;
    }

    .wpcf7-list-item {
        width: auto;
    }

    .contact-detail > p {
        font-size: 14px;
    }

    .contact-detail > p:first-child {
        font-size: 16px;
    }

    .wpcf7-list-item-label {
        font-size: 13px;
    }

    .contact-table {
        width: 100%;
    }

    .contact-text {
        padding: 0 30px 30px 30px;
    }
}


/* フッター */
.footer-wrapper {
    text-align: center;
}

.footer-inner p {
    margin: 0;
    padding: 5px 0;
    color: white;
}

footer {
        background-color: #b39765;
}

.footer-mobile {
    display: none;
    align-items: center;
    padding: 5px 30px;
    font-size: 10px;
}

.footer-left {
    margin-right: auto;
    width: auto;
    text-align: center;
}

.footer-left-t {
    margin-bottom: 10px;
}

.contact-btn-f,
.clinic-btn-f,
.tel-btn-f {
    text-decoration: none;
    color: #b39765;
    background-color: white;
    padding: 5px 15px;
    display: inline-block;
}

.top-btn-f {
    color: white;
    font-size: 25px;
    margin-right: 10px;
}

.contact-btn-f:hover,
.clinic-btn-f:hover,
.tel-btn-f:hover {
    background-color: #e1e1e1;
}

.top-btn-f:hover {
    color: #e1e1e1;
}

.contact-btn-f {
    margin-right: 10px;
}

.tel-btn-f {
    width: 100%;
}

.fa-phone {
    margin-right: 5px;
}

@media screen and (max-width: 768px) {
    footer {
        position:fixed;
        bottom: 0;
        width: 100vw;
    }

    .footer-wrapper {
        display: none;
    }

    .footer-mobile {
        display: flex;
        font-size: 12px;
        padding: 10px 15px;
    }

    .footer-left-t {
        display: flex;
    }
}


/* フローティングメニュー */
.floating-menu {
    position: fixed;
    bottom: 0;
    right: 0;
}

.floating-menu a {
    display: block;
    margin-bottom: 15px;
    text-decoration: none;
    color: white;
    background-color: #b39765;
    padding: 10px 15px;
}

.floating-menu a:hover {
    background-color: #d1b583;
}

.fa-chevron-circle-up,
.fa-envelope,
.fa-tooth {
    margin-left: 5px;
    font-size: 1.2em;
}