@charset "utf-8";

/*================================================
 *  ニュース
 ================================================*/

.news {
    padding: 10px;
    border: 2px solid #F00;
    margin-bottom: 40px;
}

.news_title {
    font-weight: bold;
    color: #F00;
    font-size: 1.5em;
}

.notification-txt {
    font-size: 120%;
}


/*================================================
 *  プライバシーポリシー
 ================================================*/

.policy dt {
    margin-top: 20px;
}


/*================================================
 *  アクセス
 ================================================*/


/*テーブル-1
---------------------------------------------------------------------------*/

.ta1 {
    border-collapse: collapse;
    width: 100%;
}

.ta1 th,
.ta1 td {
    padding: 10px;
    border: 1px solid #ccc;
}

.ta1 th {
    text-align: center;
    width: 30%;
}


/*テーブル-2
---------------------------------------------------------------------------*/

.ta2 {
    border-collapse: collapse;
    width: 100%;
}

.ta2 th,
.ta2 td {
    border-bottom: 1px dotted #CCC;
    padding-top: 10px;
    padding-bottom: 10px;
}

.ta2 th {
    text-align: left;
    width: 100px;
}


/*================================================
 *  Index
 ================================================*/

.number_point {
    display: inline-block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #fda1c9;
    text-align: center;
    line-height: 60px;
    vertical-align: middle;
    margin-right: 10px;
    float: left;
    font-weight: bold;
    font-size: 2em;
    color: #FFF;
}

.point_box {
    background-color: #FDFAF2;
    padding: 15px;
    font-weight: bold;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    /* for Safari and Chrome 対応*/
    -moz-border-radius: 6px;
    /* for Firefox 対応*/
    margin-top: 0;
    margin-right: auto;
    margin-bottom: 20px;
    margin-left: auto;
    border: 1px solid #F8EAC5;
}

.point_box:last-child {
    margin-bottom: 0;
}

.point_box dl {
    border-bottom-width: 2px;
    border-bottom-style: dotted;
    border-bottom-color: #999;
    margin-bottom: 20px;
    padding-bottom: 20px;
    overflow: hidden;
}

.point_box dl:last-child {
    border: none;
    margin-bottom: 0;
}

.point_box dl dt {
    font-weight: bold;
    font-size: 1.5em;
    line-height: 60px;
}

.point_box dl dd {
    margin-top: 1.5%;
    padding-left: 70px;
}


/*================================================
 *  診療科目
 ================================================*/

.list_three {
    overflow: hidden;
    margin-bottom: 2%;
}

.list_three li {
    float: left;
    width: 23.5%;
    margin-right: 2%;
}

.list_three li:last-child {
    margin-right: 0;
}


/*================================================
 *  ごあいさつ
 ================================================*/

.sign {
    vertical-align: middle;
    margin-left: 10px;
}

.about {
    overflow: hidden;
}

.about_left {
    float: left;
    width: 22%;
}

.about_right {
    float: right;
    width: 76%;
}

.about_title {
    font-size: 1.5em;
    font-weight: bold;
    color: #FF6699;
}

.greeting-name {
    font-size: 20px;
    float: right;
    padding-top: 20px;
}


/*================================================
 *  訪問歯科について
 ================================================*/


/*訪問歯科で可能な診療
---------------------------------------------------------------------------*/

.care_menu {
    margin-top: 20px;
    overflow: hidden;
}

.menu1 {
    float: left;
    width: 50%;
}

.menu2 {
    float: right;
    width: 50%;
}

.care_menu li {
    float: left;
    background-color: #eee;
    margin-right: 3%;
    margin-left: 3%;
    width: 44%;
    text-align: center;
    padding-top: 2%;
    padding-bottom: 2%;
}


/*当院の特徴
---------------------------------------------------------------------------*/

.list_about {
    overflow: hidden;
    margin-bottom: 30px;
}

.list_about:last-child {
    margin-bottom: 0;
}

.list_about_img {
    float: left;
    margin-right: 10px;
}


/*在宅療養支援歯科診療所の施設基準
---------------------------------------------------------------------------*/

#standard_box {
    padding: 10px;
}

#standard_box h1 {
    font-size: 1.8em;
    font-weight: bold;
    background-color: #a78f49;
    padding: 10px;
    color: #FFF;
    text-align: center;
}

.standard_list {
    margin-top: 20px;
}

.standard_list li {
    list-style-: none;
    margin-top: 20px;
    margin-bottom: 20px;
}


/*================================================
 *  口腔ケアについて
 ================================================*/

.qol_left {
    float: left;
    width: 49%;
    margin-top: 20px;
}

.qol_right {
    float: right;
    width: 49%;
    padding-top: 10%;
}

.qol_list li {
    font-weight: bold;
    color: #FF6699;
    list-style-position: inside;
    list-style-type: disc;
    font-size: 1.2em;
}


/*================================================
 *  料金・費用
 ================================================*/

.visit_price {
    text-align: center;
    margin-top: 4%;
    margin-bottom: 4%;
}


/*================================================
 *  使用機器
 ================================================*/

ul.list_img {
    overflow: hidden;
    margin-bottom: 30px;
}

.list_img img {
    margin-bottom: 1%;
}

.list_img li {
    width: 48%;
    float: left;
    margin-right: 4%;
}

.list_img li:last-child {
    margin-right: 0;
}


/*================================================
 *  院内紹介
 ================================================*/

ul.clinic_img {
    overflow: hidden;
    margin-bottom: 15px;
}

.clinic_img img {
    margin-bottom: 1%;
}

.clinic_img li {
    width: 48%;
    float: left;
    margin-right: 4%;
}

.clinic_img li:last-child {
    margin-right: 0;
}


/*================================================
 *  医師紹介
 ================================================*/

.doctor-card {
    display: flex;
    padding: 20px;
    margin-bottom: 30px;
    width: 800px;
    /* height: 447px; */
    height: auto;
    color: #5a370e;
    background: rgba(251, 238, 242, 0.6);
    justify-content: space-around;
    box-sizing: border-box;
}

.doctor-face {
    width: 330px;
    position: relative;
    top: 7%;
    left: -8px;
}

.doctor-detail {
    width: 60%;
    padding-left: 2%;
}

.doctor-name {
    display: flex;
    height: 50px;
    border-bottom: 1px solid #707070;
    width: 100%;
    margin-bottom: 8px;
    font-size: 20px;
    float: right;
    justify-content: space-evenly;
}

.doctor-name>h4 {
    font-size: 34px;
    text-align: center;
    border: none;
    padding-right: 20px;
}

.doctor-name>p {
    padding-top: 15px;
}

.doctor-contents {
    display: flex;
    width: 100%;
    padding: 15px 0;
}

.doctor-card>p {
    font-size: 20px;
    vertical-align: bottom;
}

.doctor-topic {
    font-size: 23px;
    text-decoration: underline;
    width: 30%;
}

.rep-day {
    font-size: 23px;
    text-align: center;
}

.doctor-msg {
    padding: 15px 28px;
    font-size: 22px;
    border: #B36609 1px solid;
    border-radius: 5px;
}


/*================================================
 *  診療の流れ
 ================================================*/

.number {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: skyblue;
    text-align: center;
    line-height: 40px;
    vertical-align: middle;
    margin-right: 10px;
    float: left;
    font-weight: bold;
    font-size: 1.5em;
    color: #FFF;
}

.flow_box {
    background-color: #FDFAF2;
    padding: 15px;
    font-weight: bold;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    /* for Safari and Chrome 対応*/
    -moz-border-radius: 6px;
    /* for Firefox 対応*/
    margin-top: 0;
    margin-right: auto;
    margin-bottom: 20px;
    margin-left: auto;
    border: 1px solid #F8EAC5;
}

.flow_box:last-child {
    margin-bottom: 0;
}

.flow_box dl dt {
    font-weight: bold;
    font-size: 1.5em;
    line-height: 40px;
}

.flow_box dl dd {
    margin-top: 1.5%;
}


/*ここからタブレット用（481px～800px）環境の設定
---------------------------------------------------------------------------*/


/*表示を切り替えるウィンドウサイズの指定*/

@media (min-width:481px) and (max-width:800px) {
    /*================================================
 *  使用機器
 ================================================*/
    ul.list_img {
        margin-bottom: 20px;
    }
    .list_img li {
        width: 49%;
        margin-right: 2%;
    }
    /*================================================
 *  院内紹介
 ================================================*/
    ul.clinic_img {
        margin-bottom: 10px;
    }
}


/*ここからスマートフォン用（480px以下）環境の設定
---------------------------------------------------------------------------*/


/*表示を切り替えるウィンドウサイズの指定*/

@media (max-width: 480px) {
    /*================================================
 *  ニュース
 ================================================*/
    .news {
        padding: 5px;
        margin-bottom: 20px;
    }
    .news_title {
        font-size: 1.4em;
    }
    /*================================================
 *  アクセス
 ================================================*/
    .photo dl.list_photo {
        float: none;
        width: 100%;
        overflow: hidden;
    }
    /* .photo dl.list_photo{
	} */
    dl.list_photo dt {
        float: left;
        margin-right: 2%;
        width: 60%;
    }
    .photo dl.list_photo:last-child {
        margin-right: 0;
    }
    /*================================================
 *  Index
 ================================================*/
    .number_point {
        width: 40px;
        height: 40px;
        line-height: 40px;
        margin-right: 10px;
        font-size: 1.5em;
    }
    .point_box {
        padding: 10px;
    }
    .point_box:last-child {
        margin-bottom: 0;
    }
    .point_box dl {
        border-bottom-width: 2px;
        border-bottom-style: dotted;
        border-bottom-color: #999;
        margin-bottom: 10px;
        padding-bottom: 10px;
        overflow: hidden;
    }
    .point_box dl:last-child {
        border: none;
        margin-bottom: 0;
    }
    .point_box dl dt {
        font-weight: bold;
        font-size: 1.4em;
        line-height: normal;
    }
    .point_box dl dd {
        margin-top: 1.5%;
        padding-left: 50px;
    }
    /*================================================
 *  ごあいさつ
 ================================================*/
    .sign {
        width: 40%;
    }
    .about_left {
        float: none;
        width: 100%;
        text-align: center;
    }
    .about_left img {
        width: 50%;
        margin-bottom: 2%;
    }
    .about_right {
        float: none;
        width: 100%;
    }
    /*================================================
 *  訪問歯科について
 ================================================*/
    .care_menu {
        margin-top: 0;
    }
    .menu1 {
        float: none;
        width: 100%;
        margin-top: 10px;
    }
    .menu2 {
        float: noen;
        width: 100%;
        margin-top: 10px;
    }
    .list_about img {
        float: none;
        width: 100%
    }
    /*================================================
 *  口腔ケアについて
 ================================================*/
    .qol_left {
        float: none;
        width: 100%;
        margin-top: 5%;
    }
    .qol_right {
        float: none;
        width: 100%;
        padding-top: 5%;
    }
    /*================================================
 *  使用機器
 ================================================*/
    ul.list_img li {
        width: 100%;
        overflow: hidden;
        clear: left;
        margin-bottom: 20px;
        background-color: #EEE;
        padding: 2.5%;
    }
    ul.list_img li.list_last {
        margin-bottom: 0;
    }
    ul.list_img {
        margin-bottom: 0;
    }
    /*================================================
 *  院内紹介
 ================================================*/
    ul.clinic_img {
        margin-bottom: 0;
    }
    /*================================================
 *  医師紹介
 ================================================*/
    .doctor-card {
        width: 95vw;
        /* height: auto; */
        justify-content: center;
        padding: 8px;
        display: block;
    }
    .doctor-img {
        width: 35%;
        margin: 0 auto;
    }
    .doctor-face {
        position: relative;
        top: 17%;
        left: -12px;
    }
    .doctor-detail {
        width: 100%;
        padding: 0;
    }
    .doctor-name {
        height: 35px;
        width: 100%;
        font-size: 10px;
    }
    .doctor-name>h4 {
        font-size: 22px;
        padding-right: 10px;
    }
    .doctor-name>p {
        font-size: 13px;
    }
    .doctor-card>p {
        font-size: 13px;
    }
    .doctor-contents {
        display: flex;
        width: 100%;
        padding: 5px 0;
    }
    .doctor-topic {
        width: 35%;
        font-size: 15px;
        text-decoration: underline;
    }
    .rep-day {
        font-size: 17px;
        text-align: center;
    }
    .doctor-msg {
        padding: 3px 10px;
        font-size: 14px;
        border: #B36609 1px solid;
        border-radius: 5px;
    }
    /*================================================
 *  診療の流れ
 ================================================*/
    .number {
        width: 30px;
        height: 30px;
        line-height: 30px;
        margin-right: 5px;
    }
    .flow_box {
        padding: 10px;
        margin-bottom: 15px;
    }
    .flow_box dl dt {
        line-height: 30px;
    }
}

/* 404 403 ページ用 */
.p404 {
    overflow: hidden;
    line-height: 1.5;
}

.p404__wrapper {
    width: 80%;
    margin: 0 auto;
}

.p404__enText {
    margin-top: 70px;
    text-align: center;
    font-size: clamp(12px, 9.5vw, 32px);
    background: linear-gradient(180deg, rgba(171, 205, 5, 0.1) 0%, rgba(10, 196, 194, 0.50) 70.31%, rgba(10, 196, 194, 0.50) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.p404__enText.--403 {
    background: linear-gradient(180deg, rgba(171, 205, 5, 0.1) 0%, rgba(240, 148, 176, 0.5) 70.31%, rgba(240, 148, 176, 0.50) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.p404__heading {
    text-align: center;
    font-size: clamp(16px, 5.3vw, 40px);
    color: #333;
}

.p404__message {
    margin-top: 40px;
    text-align: center;
    font-size: 16px;
}

.p404__btnWrapper {
    margin: 50px 0 70px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 50px;
            min-height: 70px;
}

.p404__btnWrapper>button {
    appearance: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 20px;
    cursor: pointer;
    min-width: 220px;
    flex-shrink: 0;
}

.p404__btnToBefore {
    background-color: #ccf0ff;
    border: none;
    border-bottom: 5px solid #94b1bc;
    transition: all .2s linear;
    color: #666;
}

.p404__btnToBefore:hover,
.p404__btnToBefore:focus {
    margin-top: 3px;
    border-bottom: 1px solid #94b1bc;
}
.p404__btnToBefore:focus{
    border: .5px solid #000;
}

.p404__btnToToppage {
    background-color: #fad6e0;
    border: none;
    border-bottom: 5px solid #c5a6af;
    transition: all .1s linear;
    color: #666;
}

.p404__btnToToppage:hover,
.p404__btnToToppage:focus {
    margin-top: 3px;
    border-bottom: 1px solid #c5a6af;
}
.p404__btnToToppage:focus{
    border: .5px solid #000;
}
.--underYellow{
    text-decoration: underline yellow 3px;
}