@media screen and (min-width:480px){

    #menu-sp {
        display: none;
    }
    #nav-sp {
        display: none;
    }
body {
    font-family: "Sourse sans Pro","Hiragino Kaku Gothic ProN", Meiryo, Arial, sans-serif;
    margin: 0 auto;   
}
p {
    font-size: 16px;
}

#logo {
    margin-left:50px;
}
div #logo {
    margin-left: 210px;
}
.header_logo p{
    display: none;
}
#logo img {
    width:20%;
}
.header {
    display:flex;
    margin:0 auto;
    align-items:center;
    text-align: center;
    width:100%;
    padding:0;

}
.header a {
    color:#333333;
    text-decoration:none;
}
.header li {
    list-style: none;
    margin-top:10px; 
    width:17%; 
    text-align: center;
}
header img {
    width:100%;
}
.inner {
    max-width: 1080px;
    width: 80%;
    margin: 0 auto;
    /* padding: 0 20px; */
    display: flex;
}
/*メイン */
#main-visual img {
    width:100%;
}
.wrap {
    text-align: center;
    width:100%;
}

#main-visual {
    position: relative;
}
.main_title {
    position:absolute;
    margin-top: 200px;
    margin-left:100px;
    text-shadow: #FC0 1px 0 10px;
    color:white;
    font-family:yosugara ver12;
    font-size: 35px;
}
/* セクション1 */
#top_title {
    margin-top: 100px;
}
.inner_2 {
    max-width: 960px;
    margin:0 auto;
    /* padding:0 20px; */
}
h1 {
    text-align: center;
    color:#554311;
    font-weight: normal;
    font-size: 20px;
    background-image: url(/wp-content/themes/kodomo.dental.new/img/leaf.view.png);
    background-size: contain;
    height: 115px;
}
.box_1{
    text-align: center;
    padding:0.5em 1em;
    margin:40px auto;
    font-weight: normal;
    color:#554311;
    border:solid 1px #554311;
    border-radius: 10px;
    width:450px;
}
.box_1 p {
    margin:0;
    padding:0;
    color: #554311;
}
.flex_container{
    display: flex;
    
}
.flex_container li {
    position:relative;
    z-index: 2;
}
.flex_container img {
    width:85%;
}
.no1_pic {
    position:relative;

}
.circle_num1{
    border-radius: 50%;
    background-color:#ffdb6a;
    color:white;
    width: 60px;
    height:60px;
    padding-top: 17px;
    text-align: center;
  box-sizing: border-box;
  position:absolute;
  margin-left: 30px;
  z-index: 100;
}


.flex_container li {
    list-style: none;
    
}
.flex_container p {
    text-align: center;
    font-size: 16px;
    width:85%;
}
.no2_pic {
    position:relative;
}
.circle_num2{
    border-radius: 50%;
    background-color:#ffbfaa;
    color:white;
    width: 60px;
    height:60px;
    padding-top: 17px;
    text-align: center;
  box-sizing: border-box;
  position:absolute;
  margin-left: 30px;
  z-index: 100;
  
}
.no3_pic {
    position: relative;
} 
.circle_num3 {
    border-radius: 50%;
    background-color:#ffdb6a;
    color:white;
    width: 60px;
    height:60px;
    padding-top: 17px;
    text-align: center;
  box-sizing: border-box;
  position:absolute;
  margin-left: 30px;
  z-index: 100;
}
/* about */
#about_tit {
margin-top: 100px;
 width: 100%;
 min-height: 85vh;
 background:#d6f4f4;
background-size: cover;


}
.flex_img {
    display:flex;
    margin-top: -25px;
}
.flex_img img {
    width:45%;
}
.txt_img {
    display: flex;
}
h2 {
    font-weight: normal;
}
.txt_img img{
}
.txt_img:first-child {
    width:7%;
    margin-top:3px;
}
.txt_img ul {
    display:flex;
}
.txt_img li {
    list-style: none;
}
.flex_container2 {
    width:100%;
    display: flex;
    justify-content: space-between;
}
.flex_page {
    width:45%;
    text-align: left;
    margin: 10px;
}
.flex_page p {
    font-size: 17px;
}
/* 診療案内 */
#guidance {
    margin-top: 130px;
   
}

h3 {
    font-weight: normal;
    font-size: 24px;
    color:#554311;
    text-align: center;
    background-image:url(/wp-content/themes/kodomo.dental.new/img/topic.2.png);
    background-size: cover;
    height:144px;
}
.inner_3 {
    max-width: 960px;
    margin:0 auto;
    /* padding:0 20px; */
}
.guide_tit {
    text-align: center;
}
.guide_tit img {
    width:25%;

}
.flex_container3 {
    display:flex;
    width:100%;
    justify-content: center;
    align-items: stretch;
    margin-top: 20px;
    flex-wrap: wrap;

}
.guidance_container{
    display:flex;
    margin: 5px auto;
}
.guidance_container:nth-child(2n) {
    flex-direction: row-reverse;
    justify-content: space-around;
}
.guidance_container:nth-child(2n+1) {
    flex-direction: row;
    justify-content: space-around;
}

.guidance_flex{
    width:45%;   
}
.guidance_flex:nth-child(3) {
    flex-direction: row-reverse;
}
.guidance_flex img {
    width:100%;
    height:auto;
    border-radius: 20px;
}
h4 {
    font-weight: normal;
    font-size: 20px;
    background-color: #ffdb6a;
    color:white;
    height:45px;
    line-height: 45px;
    border-radius: 20px;
    text-align: center;
    margin-top: 0;
}
/* 治療の流れ */
#flow {
    margin-top:50px;
}
.inner_4 {
    max-width: 960px;
    margin:0 auto;
    display:flex;
    
}
.flow_tit {
    margin: 15px;
    width:50%;
    
}
.flow_bage {
    background-color: #ffbfaa;
    color:white;
    font-size: 19px;
    height:45px;
    line-height: 45px;
    border-radius: 40px;
    text-align: center;
    margin: 10px auto;
}
.first{
    text-align: center;
    margin: 45px;
    background: no-repeat  left url(/wp-content/themes/kodomo.dental.new/img/icon1.png);
    background-size: 30px;
    border-bottom: dotted 1px grey;
    padding: 10px;
}
.second {
    text-align: center;
    margin: 45px;
    background: no-repeat  left url(/wp-content/themes/kodomo.dental.new/img/icon2.png);
    background-size: 30px;
    border-bottom: dotted 1px grey;
    padding: 10px;   
}
.third {
    text-align: center;
    margin: 45px;
    background: no-repeat  left url(/wp-content/themes/kodomo.dental.new/img/icon3.png);
    background-size: 30px;
    border-bottom: dotted 1px grey;
    padding: 10px;  
}
.four {
    text-align: center;
    margin: 45px;
    background: no-repeat  left url(/wp-content/themes/kodomo.dental.new/img/icon4.png);
    background-size: 30px;
    border-bottom: dotted 1px grey;
    padding: 10px;
    
}
.recomend {
    display:block;
}
.recomend_img img {
    width:95%;
    border-radius: 20px;
}
.recomend_pk {
    background-color: #ffbfaa;
    color:white;
    font-size: 19px;
    width:98%;
    height:45px;
    line-height: 45px;
    border-radius: 40px;
    text-align: center;
    margin: 10px auto;
}
.recomend_img{
    text-align: center;
} 
/* お越しの際は */
#container{
    margin-top: 100px;
    width: 100%;
    min-height: 100vh;
    background-image: url(/wp-content/themes/kodomo.dental.new/img/24941861.png);
    background-size: cover;
    background-repeat:no-repeat;     
}
.inner_5 {
    width:960px;
    margin:0 auto;
}

.reference{
    font-weight: normal;
    font-size: 24px;
    text-align: center;
    vertical-align: middle;
    justify-content:center;
}
.reference img {
    width:15%;
    margin-top:50px;
}
.white_container {
    width:900px;
    height:270px;
    background-color: white;
    margin:20px auto;
}
.footer_wrap {
    width:100%;
    display: flex;;
}
.left_wrap {
    width: 48%;
    margin-top:20px;
}
.itme {
    font-size: 13px;
    padding:5px;
    color:white;
    background-color: #ffdb6a;
    border-radius: 20px;
    float: left;
    width: 85px;
    text-align: center;
    margin-right:25px;
}
.footer_content {
    margin:20px;
}

.left_wrap ul {
    display:block;
}
.left_wrap li {
    list-style: none;
    border-bottom: dotted 1px grey;
}
.right_wrap {
    width: 48%;
    margin-top:20px;
}
.right_wrap ul {
    display:block;
}
.right_wrap li {
    list-style: none;
    border-bottom: dotted 1px grey;

}
/* アクセス */
#access_container {
    margin-top: 50px;
}
.bl_title {
    margin:inherit;
}
.exterior {
    background-color: #ffdb6a;
    color: white;
    text-align: center;
    border-radius: 20px;
    padding: 10px;
    margin: 20px 0;
    width: inherit;
}
.bl_title img {
    width: 430px;
    height:350px;
    margin:auto;
}
.bl_title iframe {
    width:430px;
    height:350px;
    margin:auto;
}
/* フッター */
#bg_footer {
    background-color: #F9F8F8;
    height:200px;
    margin-top: 30px;

}

.under {
   margin:auto;
   display: flex;
   width:960px;
}
.under li {
    list-style: none;
    margin-top: 30px;
    width: 17%;
    text-align: center;
}
.under li a {
    color:#333333;
    text-decoration: none;
}
.footer_logo {
margin:auto;
text-align: center;
}
.footer_logo img {
    width:15%;
    margin-top: 30px;
}
.footer_back {
    width:100%;
}
}

/* スマホ用スタイル */
@media screen and (max-width: 480px) {
    body {
        min-width: 375px;
        margin:0;
    }
    p {
        font-size: 15px;
    }
    /* PC用ナビゲーション非表示 */
    .header {
        display:none;
    }
    header img {
        width:100%;
    }
    /* ハンバーガーメニュー */
    #menu-sp {
        float:right;
        padding:0;
        width:10%;
    }
    #sns {
        display:block;
    }
    #sns ul{
        display:flex;
        justify-content: center;
        padding:0;
    }
    #sns li {
        list-style: none;
        margin:10px;

    }
    #sns img {
        width:100%;
    }
    /* スマホ用ナビゲーションの非表示 */
    /* 初期状態、レイアウトと非表示設定 */
    .header_logo {
        text-align: center;
    }
    #nav-sp {
        background-color: white;
        position:absolute;
        left:0;
        top:0;
        height:100%;
        width:100%;
        display:none;
        z-index: 100;
    }
    #close {
        width:10%;
        position:absolute;
        top:0;
        right:0;
    }
    .menu {
        display: block;
        text-align: center;
        color: #333333;
        text-decoration: none;
        margin: 35px;
        border-bottom: dotted 1px gray;
    }
    /* 文字サイズ */
    .header_logo p {
        text-align: center;
        color: #333333;
        font-size: 12px;
        margin-top: 30px;
    }
    .header_logo img {
        width:60%;
    }
    /* メインビジュアル */
    .main_title {
    position: absolute;
    margin-top: 100px;
    margin-left: 20px;
    color: white;
    font-family: yosugara ver12;
    font-size: 20px
    }
    .wrap img {
        width:100%;
    }
    /* メインビジュアル以下 */
    h1 {
        margin-top: 50px;
        font-weight: normal;
        text-align: center;
        color:#554311;
        font-size: 16px;
    }
    .box_1{
        text-align: center;
        margin:50px auto;
        font-weight: normal;
        color:#554311;
        border:solid 1px #554311;
        border-radius: 50px;
        width:80%;
    }
    /*はじめての方へのご案内  */
    .flex_container {
        display: block;
    }
    .no1 img {
        width:100%;
        text-align: center;
    }
    .flex_container li {
        list-style: none;
    }
    .flex_container p {
        text-align: center;
    }
    .circle_num1 {
    border-radius: 50%;
    background-color: #e9e69a;
    color: white;
    width: 60px;
    height: 60px;
    padding-top: 17px;
    text-align: center;
    box-sizing: border-box;
    position: absolute;
    margin-left: 30px;
    z-index: 100;
    }
    .circle_num2 {
        border-radius: 50%;
    background-color: #ffbfaa;
    color: white;
    width: 60px;
    height: 60px;
    padding-top: 17px;
    text-align: center;
    box-sizing: border-box;
    position: absolute;
    margin-left: 30px;
    z-index: 100;
    }
    .circle_num3 {
        border-radius: 50%;
    background-color: #e9e69a;
    color: white;
    width: 60px;
    height: 60px;
    padding-top: 17px;
    text-align: center;
    box-sizing: border-box;
    position: absolute;
    margin-left: 30px;
    z-index: 100;
    }
    /* どんなところ？ */
    #about_tit {
    margin-top: 30px;
    width: 100%;
    min-height: 100vh;
    background: #e9e6ca;
    background-size: cover;
   }
   .flex_container2 {
    padding-bottom: 30px;
   }
   .flex_img {
    display: flex;
    width:100%;
   }
   .flex_img img {
    width:50%;
   }
   h2 {
    text-align: center;
    font-weight: normal;
    font-size: 20px;
   }
   .flex_page {
    margin:20px;
   }
   .flex_page p {
    margin:30px 10px;
   }
   .txt_img ul{
    display:flex;
    text-align: center;
   }
   .txt_img li {
    list-style: none;
   }
   .txt_img li:nth-child(1){
    display:none;
   }
   .txt_img li img {
    width:40%;
   }
   /* 診療案内 */
   #guidance {
    margin-top: 50px;
   }
   h3 {
    text-align: center;
    font-weight: normal;
    color:#554311;
    background-image:url(/wp-content/themes/kodomo.dental.new/img/topic.2.png);
    background-size: cover;
    margin-top: 30px;
    font-size: 19px;
   }
   .guide_tit {
    text-align: center;
   }
   .guide_tit img {
    width:60%;
    text-align: center;
   }
   .flex_container3 {
    display:block;
   }
   h4 {
    font-weight: normal;
    font-size: 16px;
    background-color:#ffdb6a;
    color: white;
    height: 45px;
    line-height: 45px;
    border-radius: 20px;
    text-align: center;
    margin: 5px 20px;
   }
   .guidance_flex {
    text-align: center;
   }
   .guidance_flex img {
    width:90%;
   }
   .guidance_flex p {
    margin:20px;
    text-align: left;
   }
 
 /* 治療の流れ、インビザライン */
 #flow {
    margin-top:50px;
 }
 .inner_4 {
    margin: 60px auto;
    display: block;
 }
 .flow_tit {
    margin: 15px;
 }
 .flow_bage {
    background-color: #ffbfaa;
    color:white;
    font-size: 16px;
    height: 45px;
    line-height: 45px;
    border-radius: 40px;
    text-align: center;
    margin: 10px auto;
 }
 .first {
    text-align: center;
    margin: 20px;
    background: url(/wp-content/themes/kodomo.dental.new/img/icon1.png)no-repeat left;
    background-size: 40px;
    border-bottom: dotted 1px grey;
    padding: 20px;
 }
 .second {
    text-align: center;
    margin: 20px;
    background: url(/wp-content/themes/kodomo.dental.new/img/icon2.png)no-repeat left;
    background-size: 40px;
    border-bottom: dotted 1px grey;
    padding: 20px;
 }
 .third {
    text-align: center;
    margin: 20px;
    background: url(/wp-content/themes/kodomo.dental.new/img/icon3.png)no-repeat left;
    background-size: 40px;
    border-bottom: dotted 1px grey;
    padding: 20px;
 }
.four {
    text-align: center;
    margin: 20px;
    background: url(/wp-content/themes/kodomo.dental.new/img/icon4.png)no-repeat left;
    background-size: 40px;
    border-bottom: dotted 1px grey;
    padding: 20px;
}
.recomend_pk {
    background-color:#ffbfaa;
    color:white;
    font-size: 16px;
    height: 45px;
    line-height: 45px;
    border-radius: 40px;
    text-align: center;
    margin: 50px auto 10px;
}
.recomend_img img {
    width:100%;
}
/* 参照ください */
.inner_5 {
    padding-bottom: 30px;
}
#container {
    margin-top: 80px;
    width: 100%;
    min-height: 100vh;
    background: #e9e6ca;
    background-size: cover;
}
.reference {
    text-align: center;
}
.reference img {
    width:35%;
    margin-top:25px;
}
.white_container {
    width: 90%;
    height: auto;
    background-color: white;
    margin: 20px auto;
}
.footer_wrap {
    width: 90%;
    display: block;
    margin: auto;
}
.footer_wrap li {
    list-style: none;
}
.left_wrap {
    margin-top:30px;
}
.left_wrap ul {
    display: initial;
}
.left_wrap li {
    list-style: none;
    border-bottom: dotted 1px grey;

}
.right_wrap ul {
    display:initial;
}
.right_wrap li {
    list-style: none;
    border-bottom: dotted 1px grey;

}
.itme {
    font-size: 13px;
    padding: 5px;
    background-color: #ffdb6a;
    color:white;
    border-radius: 20px;
    float: left;
    width: 85px;
    text-align: center;
    margin-right: 25px;
}
/* 外観 */
.exterior {
    background-color:#ffdb6a;
    color: white;
    border-radius: 20px;
    padding: 10px;
    margin: 20px auto;
    text-align: center;
    width: 90%;
}
.bl_title {
    text-align: center;
}
.bl_title img {
    width:90%;
}
.bl_title iframe {
    width:90%;
}
/* アクセス */
.bl_title iframe {
    width:100%;
}
#bg_footer {
    background-color: #F9F8F8;
    height: autopx;
    margin-top: 30px;
    padding-top:30px;
    text-align: center;
}
/* フッター */
.under {
    margin: auto;
    display: contents;
    flex-wrap: wrap;
    text-align: center;
}
.under li {
    list-style: none;
    margin:20px 0;
    text-align: center;
    margin: 10px 5px;
    border: solid 1px #89cecf;
    background-color: white;
    border-radius: 10px;
    padding: 5px 15px;
    
}
.under li a {
    text-decoration: none;
    color:#333333;
    font-size: 15px;
}
.footer_logo img {
    width:50%;
}
.footer_back {
    width:100%;
}
}