/*============================================================
幅広
============================================================*/
@media (min-width: 1281px) {
    .wrap_01 {
        padding-top: 180px;
    }

    /*============================================================
上部1281
============================================================*/
    #ttl_implant {
        width: 150px;
        height: 150px;
        top: 150px;
        left: 50px;
        font-size: 14px;
    }

    #wrap_hd_points>div {
        /*width:200px;*/
    }

    /*============================================================
特徴
============================================================*/
    .wrap_features_full section div {
        width: calc(100% - 500px);

    }

    /*============================================================
治療方法
============================================================*/
    .wrap_treatment_detail:nth-of-type(2n+1) div {
        margin-left: 600px;
        width: calc(100% - 600px - 100px);
    }

    /*============================================================
当院紹介
============================================================*/
    #wrap_introduction>section {
        background-size: 100%;
    }

    /*============================================================
閉じカッコ1281
============================================================*/
}


/*============================================================
MAX1024 MAX1024 MAX1024 
============================================================*/
@media (max-width: 1024px) {

    /*============================================================
こんなお悩みありませんか？1024
============================================================*/


    .wrap_treatment_detail {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-bottom: 0px;
    }

    .wrap_treatment_detail picture {
        position: static;
        width: calc(100% / 2 - 10px);
    }

    .wrap_treatment_detail div {
        width: calc(100% / 2 - 40px) !important;
        aspect-ratio: auto;
        position: static;
        margin: 0px 0px !important;
        padding: 20px;
    }

    .wrap_treatment_detail:nth-of-type(2n) {
        background-color: #EDEDED;
        flex-direction: row-reverse;
    }

    .wrap_treatment_detail:nth-of-type(2n+1) {
        background-image: none;
        background-color: #00A247;
    }

    .wrap_treatment_detail img {
        position: static;
        width: calc(100% - 20px);
        margin: 10px;
    }

    /*============================================================
閉じカッコ1024
============================================================*/
}

/*============================================================
815TBTBTBTBTBTBTBTB：メニューが下固定になる
============================================================*/
@media (max-width: 815px) {
    #wrapper {
        margin-bottom: 75px;
    }

    #nav_hd_contact {
        bottom: 0px;
        left: 0px;
        top: auto;
        right: auto;
        width: 100%;
        background-color: #fff;
    }

    #nav_hd_contact ul {
        align-items: center;
    }

    #nav_hd_contact ul li:nth-of-type(1) {
        order: 3;
        width: calc(25%);
    }

    #nav_hd_contact ul li:nth-of-type(2) {
        order: 2;
        background-color: #00A247;
        width: calc(25%);
    }

    #nav_hd_contact ul li:nth-of-type(3) {
        order: 1;
        background-color: #D98E00;
        width: calc(50%) !important;
    }

    #nav_hd_contact ul li {
        text-align: center;
    }

    #nav_hd_contact ul li {

        height: 70px;
        max-height: 70px;
    }

    #nav_hd_contact ul li img {
        height: 70px;
        width: auto;
    }

    #wrap_hd_points>div {
        margin: 20px auto;
    }

    /*============================================================
ハンバーガー
============================================================*/
    #nav_local {
        padding-top: 20px;
        height: calc(100% - 20px);
    }

    /*============================================================
冒頭815
============================================================*/
    #wrap_hd_contents #wrap_hd_price h2 br {
        display: none;
    }

    #ttl_implant {
        position: static;
        height: auto;
        padding: 5px;
        left: auto;
        top: auto;
        margin: auto;
        background-color: transparent;
        font-size: 16px;
        width: auto;
        height: auto;
    }

    #ttl_implant>div {
        position: static;
        width: auto;
        transform: translate(0, 0);
    }

    #ttl_implant br {
        display: none;
    }

    #wrap_hd_contents h3 {
        padding: 5px 10px;
        word-break: keep-all;
    }

    #wrap_hd_contents #wrap_top_doctor {
        background-position: top right -150px;
    }

    /*============================================================
駒込駅前歯科クリニック・矯正歯科のインプラントの特徴815
============================================================*/
    #wrap_features_hd p {
        margin: 0px 40px;
    }

    .wrap_features_full>section {
        width: 100%;
        max-width: 100%;
        margin: 0px auto;
        position: relative;
        aspect-ratio: auto;
        min-height: auto;
        padding-bottom: 0px;
    }

    .wrap_features_full section img {
        position: static;
        width: calc(100%);
        display: block;
        margin: auto 0px;
        text-align: center;
        max-width: 100%;
    }

    .wrap_features_full section div {
        position: static;
        aspect-ratio: auto;
        width: calc(100% - 40px);
        padding: 30px 20px 40px 20px;
        height: auto;
        min-height: auto;
    }

    .wrap_features_full section h3 {
        font-size: 100px;
        font-weight: bold;
        position: absolute;
        z-index: 4;
        bottom: 0px;
        right: 0px;
    }

    .wrap_features_full section h4 {
        font-size: 20px;
        display: block;
        margin: 0px auto 20px auto !important;
    }


    #wrap_feature_01 h4 strong {
        font-size: 24px;
    }

    #wrap_feature_01 p,
    #wrap_feature_02 p,
    #wrap_feature_03 p {
        margin: 0px;
    }

    #wrap_feature_02 h3 {
        left: auto;
    }

    .wrap_features_half {
        margin-top: 0px;
    }



    .wrap_features_half section h4 {
        font-size: 20px;
    }

    .wrap_features_half section h4 strong {
        font-size: 24px;
    }

    .wrap_features_half section div {
        min-height: auto !important;
        padding-bottom: 40px;
        margin-top: 0px;
    }

    .wrap_features_half section h3 {
        bottom: 0px;
    }

    /*============================================================
無料相談
============================================================*/
    .wrap_free_consulting {
        background-size: 100% 400px, auto;
        min-height: auto;
    }

    /*============================================================
こんなお悩みありませんか？815
============================================================*/
    #wrap_trouble ul {
        width: calc(100% - 120px);
        max-width: 100%;
    }

    #ttl_omakase h2 {

        line-height: 1.5;
    }



    /*============================================================
当院紹介815
============================================================*/
    #wrap_introduction h3 {
        margin-top: 60px;
    }


    /*============================================================
治療費と保証について PAYMENT 815
============================================================*/
    #wrap_payment>section {
        margin-right: auto;
        margin-left: auto;
        width: calc(100% - 20px);
    }


    #wrap_15years h3 {
        font-size: clamp(1.625rem, -1.221rem + 7.43vw, 2.563rem);
    }

    /*============================================================
医院紹介815
============================================================*/
    #wrap_clinic h3 img {
        left: -60px;
        width: 50px;
    }

    #wrap_clinic div {
        width: calc(100% - 0px);
    }

    #wrap_access,
    #wrap_maps {
        width: calc(100% - 0px);
    }

    #wrap_access>div {
        margin: auto 0px;
        width: 100%;
    }
    #wrap_ft_info h2 img {
        left: -60px;
        width: 50px;
    }
    /*============================================================
閉じカッコ815
============================================================*/
}

/*============================================================
768TBTBTBTBTBTBTBTB
============================================================*/
@media (max-width: 768px) {

    .wrap_01 {
        background-size: 100%;
    }

    /*============================================================
ヘッダー768
============================================================*/
    #hd {}

    #hd div {
        width: 45px;
        top: 10px;
        left: 5px;
    }

    #hd h1 {
        word-break: keep-all;
    }

    #hd h2 {
        word-break: keep-all;
        margin-top: 5px;
    }

    #nav_menu {
        background-color: #70E399;
    }

    /*============================================================
上部768
============================================================*/
    #wrap_hd_contents #wrap_hd_price h2 {
        margin: 90px auto 0px auto;
        font-size: 18px;
    }

    #wrap_hd_contents #wrap_hd_price h2 br {
        display: none;
    }

    #ttl_implant {
        margin-top: 40px;
    }

    #wrap_hd_contents h3 {
        margin: 0px auto;
        font-size: 14px;
        width: calc(100% - 40px);
    }

    #wrap_hd_contents #wrap_top_doctor {}

    /*============================================================
特徴768
============================================================*/
    #wrap_features h2 {
        padding-top: 30px;
    }

    .wrap_features_full section+section {
        margin-top: 0px;
    }

    #wrap_features_hd h3 {
        font-size: 22px;
        letter-spacing: 0em;
    }

    .wrap_features_full section div {
        margin-top: 0px;
    }

    /*============================================================
    治療方法768
============================================================*/
    .wrap_treatment_detail picture {
        width: 100%;
    }

    .wrap_treatment_detail div {
        width: 100% !important;

    }

    .wrap_treatment_detail h4 {
        margin: 0px auto 20px auto;
        text-align: center;
    }

    /*============================================================
インプラント治療に対する考え768
============================================================*/
    #wrap_thoughts>section {
        display: block;
        padding-bottom: 20px;
    }

    #wrap_thoughts>section+section {
        margin-top: 30px;
    }

    #wrap_thoughts>section picture {
        width: 100%;
        display: block;
        margin: auto;
        text-align: center;
    }

    #wrap_thoughts>section div {
        margin: 0px auto;
        width: calc(100% - 40px);
        font-size: 16px;
        padding: 40px 0px;
    }

    #wrap_thoughts>section div h3 {
        font-size: 24px;
    }

    #wrap_thoughts div::before,
    #wrap_thoughts div::after {
        display: none;
    }

    #wrap_thoughts h2 {
        font-size: 100px;
    }
        /*============================================================
支払い方法768
============================================================*/
#txt_payment_method{
    font-size:18px;
}
    #wrap_payment ul#wrap_payment_method li{
        font-size:18px;
    }
    /*============================================================
インプラント治療の流れ768
============================================================*/
    #wrap_flow>section {
        width: calc(100% - 80px);
        padding: 20px;
    }

    #wrap_flow>section>section>div {
        width: 240px;
    }

    #wrap_flow>section>section>section {
        width: calc(100% - 240px - 30px);
    }

    /*============================================================
医院紹介768
============================================================*/
    #wrap_clinic h3 img {
        left: -50px;
        width: 40px;
    }

    .wrap_clinic_detail>section>div {
        width: 100%;
    }

    .wrap_clinic_detail>section>div p:first-child {
        text-align: center;
    }

    #ft {
        margin-bottom: 70px;
    }

    /*============================================================
768TBTB閉じカッコ
============================================================*/
}

/*============================================================
640SPSPSPSPSPSPSPSPSPSPSP
============================================================*/
@media (max-width: 640px) {

    body,
    th,
    td {
        font-size: 16px;
    }

    #nav_hd_contact ul li img {}

    #wrap_hd_contents #wrap_hd_price {
        background-size: cover;
    }

    #wrap_hd_contents #wrap_hd_price {
        width: 100%;
    }


    #wrap_hd_contents #wrap_hd_price h2 {
        margin: 100px auto 10px auto;
    }

    #wrap_hd_contents #wrap_hd_price h2 br {
        display: none;
    }

    #ttl_implant {
        /*display: table;*/
        margin-top: 20px;
    }

    #wrap_hd_contents #wrap_top_doctor {
        width: 100%;
        aspect-ratio: 630/650;
        background-position: top center;
    }

    /*============================================================
駒込駅前歯科クリニック・矯正歯科のインプラントの特徴640
============================================================*/
    #wrap_features_hd {
        padding-top: 40px;
    }

    #wrap_features_hd h3 {
        padding-top: 30px;
        font-size: 24px;
    }


    #wrap_features_hd h4 {
        font-size: 18px;
        margin-top: 40px;
    }

    #wrap_features_hd h4 br {
        display: block;
    }

    #wrap_features_hd p {
        color: #404040;
        padding: 10px 20px;
        background-color: #fff;
        width: calc(100% - 40px);
        margin: auto 0px;
    }

    .wrap_features_half section {
        width: 100%;
    }

    /*============================================================
全幅のインプラントの特徴の汎用
============================================================*/
    #wrap_feature_01 h4 {
        margin: 20px auto;
        line-height: 1.5;
    }

    .wrap_features_full section div {
        padding-bottom: 30px;
        min-height: auto;
    }

    .wrap_features_half section div {
        padding: 20px 20px 10px 20px;
    }

    /*============================================================
無料相談640
============================================================*/
    .wrap_free_consulting h2 strong {
        font-size: 26px;
    }

    .wrap_free_consulting ul li {
        width: calc(100% - 80px);
        margin: auto;
        text-align: center;
    }

    .wrap_free_consulting h3 br {
        display: block;
    }



    /*============================================================
こんなお悩みありませんか？640
============================================================*/
    #wrap_trouble ul {
        width: calc(100% - 60px);
        padding: 20px 30px;

    }

    #wrap_trouble ul li {
        font-size: 16px;
    }

    #wrap_trouble ul li span {
        display: block;
    }

    #ttl_omakase {
        background-color: #00A247;
        height: auto;
        margin-bottom: 40px;
    }

    #ttl_omakase h2 {
        margin: 20px auto 0px auto;
        position: relative;
        word-break: keep-all;
    }

    #ttl_omakase h2::after {
        content: "";
        border-right: 46vw solid transparent;
        border-top: 50px solid #00A247;
        border-left: 46vw solid transparent;
        position: absolute;
        bottom: -50px;
        left: 50%;
        transform: translateX(-50%);
    }

    /*============================================================
治療方法640640
============================================================*/
    .wrap_treatment_detail h4 {
        margin: 0px;
        text-align: center;
        word-break: keep-all;
    }

    /*============================================================
当院紹介640
============================================================*/
    #wrap_introduction>section {
        height: auto;
    }

    #ttl_thoughts {
        position: static;
        margin-top: 20px;
        font-size: 16px;
    }

    #ttl_thoughts::after {
        background: none;
        ;
    }

    #wrap_thoughts>section {
        padding-bottom: 0px !important;
    }

    #wrap_thoughts>section div {
        padding-bottom: 20px;
    }

    /*============================================================
インプラント治療に対する考え640
============================================================*/
    #wrap_thought_01 p {
        margin-top: 0px;
    }

    #wrap_thought_03 {
        font-size: 18px;
    }

    #wrap_thoughts h2 {
        bottom: 0px;
    }

    /*============================================================
インプラント治療の流れ640
============================================================*/
    #wrap_flow>section {

        width: calc(100% - 50px);
        margin: auto auto 32px auto;
        padding: 15px 15px;
    }

    #wrap_flow>section>section {
        flex-direction: column-reverse;
    }

    #wrap_flow>section>section>div {
        width: 100%;
    }

    #wrap_flow>section>section>div img {
        width: 100%;
    }

    #wrap_flow>section>section>section {
        width: 100%;
        margin: 30px auto 10px auto;
    }

    #wrap_flow>section aside {
        margin-top: 20px;
        width: 100%;
    }

    #wrap_flow>section aside ul li {
        width: calc(100% - 50px);
        margin: auto;
        text-align: center;
    }

    #wrap_kamiawase div {
        padding-right: 20px;
        padding-left: 20px;
    }

    /*============================================================
治療費と保証について640
============================================================*/
    #wrap_payment table {
        width: 100%;
    }

    #wrap_payment th,
    #wrap_payment td {
        padding: 10px 10px;
        font-size: 16px;
        width: auto;
    }

    #wrap_payment section.tbl_price {
        white-space: normal;
    }

    #wrap_payment .tbl_price+p,
    #wrap_payment .tbl_price+p+p {
        width: 100%;
    }

    #wrap_payment h3 {
        letter-spacing: 0;
        ;
    }

    /*お支払い方法*/
    #wrap_payment ul#wrap_payment_method {
        margin: 20px 0px;
    }

    #wrap_payment ul#wrap_payment_method li {
        margin: 0px 5px;
        width: calc(100% / 3 - 10px);
        font-size: 13px;
    }

    #wrap_15years>section {
        padding: 10px 10px 10px 10px;
        width: calc(100% - 20px);
    }

    #wrap_15years>section>img {
        display: none;
    }

    #wrap_15years>section>div {
        margin: auto 10px;
        font-size: 14px;
        word-break: keep-all;
        text-align: center;
    }

    #wrap_15years>section h3 {
        text-align: center;
        margin: auto;
    }

    #wrap_15years>p {
        font-size: 14px;
        width: calc(100% - 0px);
        margin: 10px auto;
    }

    #wrap_koujo>img {
        position: static;
        display: block;
        margin: 40px auto;
    }

    /*控除の注意点*/
    #wrap_koujo_notice {
        width: calc(100% - 80px);
        padding: 20px 20px 20px 40px;
    }

    #wrap_koujo>section {
        flex-direction: column-reverse;
    }

    #wrap_koujo>section>section {
        margin-top: 20px;
        width: 100%
    }

    #wrap_koujo>section>section h4 {
        text-align: center;
    }

    #wrap_koujo>section>div {
        width: 100%;
        text-align: center;
    }

    /*============================================================
医院紹介640
============================================================*/
    #wrap_clinic_detail>section>div {
        width: calc(100% - 50px);
        margin: 15px auto;
        text-align: center;
    }

    #wrap_access {
        width: calc(100% - 40px);
    }

    #wrap_faq>section {
        padding-right: 10px;
        padding-left: 10px;
    }

    #wrap_access h2 {
        letter-spacing: 0;
    }

    #wrap_maps>div {
        width: calc(100% / 1);
    }

    #wrap_maps>div img {
        width: 100%;
    }

    #wrap_access_detail #wrap_05min {
        margin: auto;
    }
    #wrap_directions{
        font-size:16px;
    }
    /*============================================================
よくあるご質問640
============================================================*/
    #wrap_faq {
        width: 100%;
    }

    #wrap_faq h3 {
        padding-left: 60px;
    }

    #wrap_faq h3::before {
        font-size: 30px;
        width: 50px;
    }

    #wrap_faq h3+div {
        padding: 10px;
    }

    #wrap_faq h3+div p {
        font-size: 16px;
    }

    /*============================================================
640SPSPSP閉じカッコ
============================================================*/
}

/*============================================================
480480480480
============================================================*/
@media (max-width: 480px) {

    /*============================================================
ヘッダー
============================================================*/


    /*============================================================
特徴
============================================================*/
    #wrap_features_hd {
        margin-bottom: 0px;
        background-position: bottom right -150px;
    }

    #wrap_features_hd h3 {
        padding-top: 10px;
    }

    /*============================================================
下の方480480
============================================================*/

    #wrap_ft_info h2 {
        padding-left: 60px;
    }

    #wrap_ft_info h2 img {
        width: 60px;
        left: 10px;
        ;
    }

    /*============================================================
480480SPSPSP閉じカッコ
============================================================*/
}