@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');
/*
Theme Name: SUNSDentalLaboratory
Description: SUNSDentalLaboratory | 大阪市中央区のインプラント作成を行う歯科技工所 歯科技工士募集中
Theme URI: https://www.suns-dentallaboratory.com/
Version: 1.0
License: SUNSDentalLaboratory
License URI: https://www.suns-dentallaboratory.com/
*/
/****************************************

リセットCSSここから

*****************************************/

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}    

html {
    font-size: 62.5%;
    /*1em=10px */
    overflow-y: scroll;
    /* 1 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    vertical-align: baseline;
    background: transparent;
}

body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

h1,h2,h3,h4,h5,h6 {
    font-weight: normal;
}

article,aside,details,figcaption,figure,footer,header,picture,menu,nav,section,main {
    display: block;
}

ul,
ol {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,g_navi
blockquote:after {
    content: '';
    content: none;
}

q:before,
q:after {
    content: '';
    content: none;
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

/* change colours to suit your needs */
ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}

/* change colours to suit your needs */
mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

del {
    text-decoration: line-through;
}

abbr[title],
dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

img {
    vertical-align: top;
}

/* change border colour to suit your needs */
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #cccccc;
    margin: 1em 0;
    padding: 0;
}

input,select {
    vertical-align: middle;
}

/****************************************

body設定(主に書式)

*****************************************/

body {
    font-family: 'Noto Sans JP','メイリオ', Meiryo, sans-serif;
    color: #030303;
    background: #fff;
    font-size: 1.5rem;
    line-height: 1.8;
    font-weight: normal;
}

@media screen and (max-width: 767px) {
    body {
        line-height: ;
    }
}

/****************************************

ページ共通

*****************************************/
#wrapper {
    width: 100%;
    min-width: 1020px;
    min-height: 100%;
    float: none;
    margin: 0 auto;
    overflow: hidden;
}

@media screen and (max-width: 767px) {
    #wrapper {
        width: 100%;
        min-width: 0;
        min-height: 100%;
        float: none;
        margin: 0 auto;
        overflow: hidden;
    }
}

/****************************************

フォント指定

*****************************************/

li,tt,tr,dt,dd,p {
    font-size: 1.5rem;
    color: #000;
    line-height: 1.8;
}

h1 {
    line-height: 1.2;
    color: #000;
    font-size: 3.2rem;
    font-weight: 500;
    letter-spacing: 0.06em;
}

h2 {
    line-height: 1.5;
    color: #000;
    font-weight: 500;
    font-size: 2.0rem;
    letter-spacing: 0.05em;
}

h3 {
    line-height: 1.5;
    color: #000;
    font-weight: 500;
    font-size:  2.0rem;
    letter-spacing: 0.05em;
}


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

    li,tt,tr,dt,dd,p {
        font-size: 1.5rem;
    }
    
    h1 {
        font-size: 2.6rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.8rem;
    }
}

/****************************************

リンク指定&オンマウス時のアクション

*****************************************/
a:link, a:visited{
    color: #000;
    text-decoration: none;
}
a:hover, a:active{
    color: #ccc;
    text-decoration: underline;
}

a:hover img.img_opacity{
    opacity: 0.75;
    filter: alpha(opacity=75);
    -webkit-transition: 0.2s linear;
    transition: 0.2s linear;
}

a img.img_opacity {
    -webkit-transition: 0.2s linear;
    transition: 0.2s linear;
}

a:hover img.img_up {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    -webkit-transition: 0.3s linear;
    transition: 0.3s linear;
}

a img.img_up {
    -webkit-transition: 0.3s linear;
    transition: 0.3s linear;
}

/*--bnr--*/
.bnr {
    display: block;
    text-align: center;
    line-height: 50px;
    color: #fff !important;
    background: #000;
    border: 1px solid #000;
    text-decoration: none !important;
    font-weight: normal;
    -webkit-transition: 0.2s linear;
    transition: 0.2s linear;
    font-size: 1.6rem;
    -webkit-transition: 0.3s linear;
    transition: 0.3s linear;
    position: relative;
    font-size: 1.6rem;
    letter-spacing: 0.1em;
}

.bnr::after {
    content: "";
    position: absolute;
    top: 20px;
    right: 15px;    
    width: 5px;
    height: 5px;
    border: 2px solid #fff;
    border-radius: 2px;
    border-color: #fff #fff transparent transparent;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.bnr:hover {
    color: #000 !important; 
    background: none;
}

.bnr:hover::after{
    border-color: #000 #000 transparent transparent;
}


a.deconone:link,
a.deconone:visited,
a.deconone:hover,
a.deconone:active {
    text-decoration: none;
}

@media print,
screen and (min-width: 768px) {


}

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

/****************************************

pcヘッダー

*****************************************/

@media print,
    screen and (min-width: 768px) {

        #sp_header,#sp_navi,#toggle {
            display: none;
        }

        header {
            width: 100%;
        }
        
        #pc_header{
            border-top: 6px solid #000;
        }

        .header_wrapper{
            width: 1000px;
            margin: 0 auto;
            padding: 43px 0;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-pack: justify;
            -ms-flex-pack: justify;
            justify-content: space-between;
            -webkit-box-align: center;
            -ms-flex-align: center;
            align-items: center;
        }
        
        .header_logo{
            font-size: 2.4rem;
            letter-spacing: 0.02em;
            font-weight: 500;
        }
        
        .header_logo a:hover{
            text-decoration: none;
        }
        
        .header_inner{
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-pack: justify;
            -ms-flex-pack: justify;
            justify-content: space-between;
            -webkit-box-align: baseline;
            -ms-flex-align: baseline;
            align-items: baseline;
        }
        
        .header_tel {
            font-size: 2.6rem;
            letter-spacing: 0.03em;
            padding-left: 35px;
            font-weight: 500;
            position: relative;
            margin-right: 25px;
            color: #303030;
        }
        
        .header_tel::before{
            content: url(images/h_tel.png);
            position: absolute;
            top: 2px;
            left: 0;
        }
}


/****************************************

spヘッダー

*****************************************/
@media screen and (max-width: 767px) {
    
    #pc_header {
        display: none;
    }
    
    img {
        width: 100%;
        height: auto;
    }
    
    #sp_header{
        width: 100%;
        padding: 20px 0 20px 15px;
        border-top: 4px solid #000;
    }
    
    .header_logo{
        font-size: 1.8rem;
        letter-spacing: 0.02em;
        font-weight: 500;
    }
    
    #toggle {
        position: absolute;
        /*bodyに対しての絶対位置指定です*/
        right: 15px;
        top: 20px;
        width: 30px;
        height: 25px;
        cursor: pointer;
        z-index: 9999;
    }

    #toggle div {
        position: relative;
    }

    #toggle span {
        display: block;
        position: absolute;
        /*#navToggle div に対して*/
        width: 100%;
        height: 4px;
        background: #000;
        border-radius: 4px;
        -webkit-transition: .35s ease-in-out;
        transition: .35s ease-in-out;
    }

    #toggle span:nth-child(1) {
        top: 0;
    }

    #toggle span:nth-child(2) {
        top: 11px;
    }

    #toggle span:nth-child(3) {
        top: 22px;
    }

    .open_navi #toggle span {
        background: #fff;
    }

    /*spanの絶対位置指定の親にします*/
    .open_navi #toggle {
        position: fixed;
    }

    .open_navi #toggle span:nth-of-type(1) {
        -webkit-transform: translateY(11px) rotate(-315deg);
        transform: translateY(11px) rotate(-315deg);
    }

    .open_navi #toggle span:nth-of-type(2) {
        opacity: 0;
    }

    .open_navi #toggle span:nth-of-type(3) {
        -webkit-transform: translateY(-11px) rotate(315deg);
        transform: translateY(-11px) rotate(315deg);
    }

    #sp_navi {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 100vw;
        overflow-y: scroll;
        text-align: left;
        background-color: rgba(0,0,0, 0.85);
        z-index: 999;
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
        -webkit-transition: .7s ease-in-out;
        transition: .7s ease-in-out;
    }

    .open_navi #sp_navi {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        -webkit-transition: .7s ease-in-out;
        transition: .7s ease-in-out;
    }

    .open_navi #wrapper {
        -webkit-transform-origin: left center;
        transform-origin: left center;
        -webkit-filter: blur(3px);
        filter: blur(3px);
        -webkit-transition: .7s ease-in-out;
        transition: .7s ease-in-out;
    }

    #sp_navi .menu {
        padding-top: 80px;
        text-align: center;
    }

    #sp_navi .menu .menu-item {
        width: 100%;
        text-align: center;
        border-top: #666 1px solid;
        border-bottom: #666 1px solid;
        cursor: pointer;
        color: #fff;
        margin: 0 auto;
        font-size: 1.4rem;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    #sp_navi .menu .menu-item-home {
        border-top: #666 1px solid;
    }

    #sp_navi .menu-item a,
    #sp_navi .menu-item span {
        display: block;
        padding: 15px 0 14px;
    }

    #sp_navi .menu-item a:link,
    #sp_navi .menu-item a:visited,
    #sp_navi .menu-item a:hover,
    #sp_navi .menu-item a:active {
        color: #fff;
        text-decoration: none;
    }

    #sp_navi .sub-menu {
        width: 100%;
        text-align: center;
        display: none;
    }

    #sp_navi .sub-menu li {
        width: 100%;
        text-align: center;
    }

    #sp_navi .sub-menu li a {
        display: block;
        padding: 11px 0 10px;
        color: #fff;
        background: rgba(255,255,255,0.4);
    }

    #sp_navi .sub-menu li a:link,
    #sp_navi .sub-menu li a:visited,
    #sp_navi .sub-menu li a:hover,
    #sp_navi .sub-menu li a:active {
        color: #fff;
        text-decoration: none;
    }

    #sp_navi .sub-menu li a:hover {
        color: #ccc;
        background: none;
    }

    #sp_navi .menu-item-has-children {
        position: relative;
    }

    #sp_navi .menu-item-has-children::before {
        content: '';
        width: 14px;
        height: 14px;
        border: 0px;
        border-top: solid 3px #fff;
        border-right: solid 3px #fff;
        -webkit-transform: rotate(135deg);
        transform: rotate(135deg);
        -webkit-transition: .2s ease-in-out;
        transition: .2s ease-in-out;
        position: absolute;
        top: 14px;
        right: 20px;
    }

    #sp_navi .menu-item-has-children.menu_open::before {
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
        -webkit-transition: .2s ease-in-out;
        transition: .2s ease-in-out;
        top: 22px;
    }
}

/****************************************

pc用 横ナビ

*****************************************/
@media screen and (max-width: 767px) {
    #g_navi {
        display: none;
    }
}

#g_navi {
    width: 100%;
    background: #000;
    padding: 20px 0;
}

#g_navi .menu {
    *zoom: 1;
    width: 1000px;
    margin: 0 auto;
    list-style-type: none;
    margin: 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

#g_navi .menu:before {
    content: "";
    display: table;
}

#g_navi .menu:after {
    content: "";
    display: table;
    clear: both;
}

#g_navi .menu li {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    /* justify-content: center; */
    position: relative;
    text-align: center;
    width: auto;
    height: auto;
    font-family: "Noto Sans JP", sans-serif;
    border-right: 1px solid #fff;
    padding: 0 34px;
}

#g_navi .menu li:last-child{
    border-right: none;
}

#g_navi .menu li a {
    display: block;
    margin: 0;
    color: #fff;
    font-size: 1.3rem;
    letter-spacing: 0.06em;
    text-align: center;
    text-decoration: none;
    padding-bottom: .2em;
    position: relative;
}

#g_navi .menu li:nth-child(2n) a{
    letter-spacing: -0.01em;
}

#g_navi .menu li:nth-child(3n) a{
    letter-spacing: 0.1em;
}

#g_navi .menu li:nth-child(4n) a{
    letter-spacing: 0.08em;
}

#g_navi .menu li:nth-child(6n) a{
    letter-spacing: 0.1em;
}

#g_navi .menu li ul {
    list-style: none;
    position: absolute;
    z-index: 9999;
    top: 100%;
    left: 0;
    margin: 20px 0 0 0;
    padding: 0;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

#g_navi .menu li ul li {
    width: 100%;
    border-right: none;
    padding: 0;
}

#g_navi .menu li ul li a {
    width: 100%;
    padding: 12px 5px;
    border-top: 1px solid #ccc;
    font-size: 1.3rem;
    background: rgba(0,0,0,0.85);
    text-align: center;
    color: #fff;
    line-height: 1.4;
}

#g_navi .menu li:nth-child(2n) ul li a{
    width: 258px;
}

#g_navi .menu li:nth-child(5n) ul li a{
    width: 192px;
}

#g_navi .menu li ul li a:hover {
    background: #666;
    opacity: 0.6;
    color: #fff;
    opacity: 0.9;
    -webkit-transition: 0.2s linear;
    transition: 0.2s linear;
}

#g_navi .menu li:hover ul {
    visibility: visible;
    opacity: 0.9;
}


#g_navi .menu li ul li a {
    visibility: hidden;
    opacity: 0;
    -webkit-transition: .5s;
    transition: .5s;
}

#g_navi .menu li:hover ul li a {
    visibility: visible;
    opacity: 1;
}

@media print,
    screen and (min-width:768px) {
        .menu > li > a {
            padding: 0;
            position: relative;
            display: inline-block;
            -webkit-transition: .6s;
            transition: .6s;
        }

        .menu > li > a:after {
            position: absolute;
            left: 0;
            content: '';
            width: 0;
            height: 4px;
            background-color: #fff;
            -webkit-transition: .6s;
            transition: .6s;
            -webkit-transform: translateX(0%);
            transform: translateX(0%);
            opacity: 0;
            filter: alpha(opacity=0);
        }

        .menu > li > a:after {
            bottom: -20px;
        }

        .menu > li > a:hover:after {
            width: 100%;
            opacity: 0.4;
            filter: alpha(opacity=90);
        }
}


/****************************************

ティーザー

*****************************************/

@media print,
screen and (min-width: 768px) {

    #slider {
        width: 100%;
        min-width: 1000px;
        height: 760px;
        margin: 0 auto;
        position: relative;
        z-index: 1;
    }

    #slider img {
        width: 1920px;
        height: auto;
        position: relative;
        left: calc(50% - 960px);
        top: 0px;
    }

    #teaser {
        width: 100%;
        min-width: 1000px;
        max-width: 1920px;
        height: 240px;
        margin: 0 auto;
        position: relative;
    }

    #teaser img {
        width: 1920px;
        height: auto;
        position: relative;
        left: calc(50% - 960px);
    }
    
    .metaslider .flex-control-nav {
        bottom: 15px !important;
    }
}

@media screen and (max-width: 767px) {
    #slider {
        width: 100%;
        margin: 0 auto;
        position: relative;
        z-index: 1;
    }

    #slider img {
        width: 260%;
        position: relative;
        left: -80%;
    }

    #teaser {
        width: 260%;
        position: relative;
        left: -80%;
    }
    
    .metaslider .flex-control-nav {
        bottom: 5px !important;
    }
    
    .metaslider .flexslider{
        margin: 0 !important;   
    }
}

/****************************************

content 共通設定

*****************************************/

.breadcrumb_area {
    width: 1000px;
    height: auto;
    margin: 0 auto;
    padding-top: 20px;
}

.breadcrumb {
    width: 100%;
    text-align: left;
}

.breadcrumb p {
    font-size: 1.4rem;
    color: #666;
    text-align: left;
}

.breadcrumb a {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.breadcrumb a::after {
    position: absolute;
    bottom: 0px;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: #ccc;
    -webkit-transform: scale(0, 1);
    transform: scale(0, 1);
    -webkit-transform-origin: right top;
    transform-origin: right top;
    -webkit-transition: -webkit-transform .3s;
    transition: -webkit-transform .3s;
    transition: transform .3s;
    transition: transform .3s, -webkit-transform .3s;
}

.breadcrumb a:hover::after {
    -webkit-transform-origin: left top;
    transform-origin: left top;
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
}

.mb10 {
    margin-bottom: 10px;
}

.mb20 {
    margin-bottom: 20px;
}

.mb30 {
    margin-bottom: 30px;
}

.mb40 {
    margin-bottom: 40px;
}

.mb50 {
    margin-bottom: 50px;
}

.mb60 {
    margin-bottom: 60px;
}

@media print,
screen and (min-width: 768px) {
    main#top_main {
        width: 100%;
        margin: 85px auto 0px;
    }

    main#page_main {
        width: 1000px;
        margin: 25px auto 140px;
    }

    .pc_none {
        display: none !important;
    }

    .flexbox {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
    
    .flexbox_row{
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
    
    .flexbox_rev{
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
        flex-direction: row-reverse;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

}

@media screen and (max-width: 767px) {
    .sp_none {
        display: none !important;
    }

    .sp_mb10 {
        margin-bottom: 10px;
    }

    .sp_mb20 {
        margin-bottom: 20px;
    }

    .breadcrumb_area {
        display: none;
    }

    main#top_main {
        width: 100%;
        margin: 40px auto 0px;
    }

    main#page_main {
        width: 100%;
        margin: 40px auto 80px;
        padding: 0 3%;
    }
    
    .flexbox_row,.flexbox_rev{
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    
    .mb50,.mb60{
        margin-bottom: 40px;
    }

}

/****************************************

contentトップ用

*****************************************/

.top_headline{
    color: #303030;
    font-weight: 500;
    letter-spacing: 0.06em;
    font-size: 2.3rem;
    text-align: center;
}

.top_box01_txt{
    line-height: 1.8;
}

.top_box02_bg{
    background: #f7f7f7;
}

.top_box02 h2{
    color: #303030;
    text-align: center;
}

.top_box02 ul li{
    background: #000;
}

.top_box03 ul li{
    border-top: 1px solid #aeb0b8;
    border-bottom: 1px solid #aeb0b8;
    text-align: center;
    position: relative;
}

.top_box03 ul li a{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.top_box03 ul li h2{
    font-size: 1.6rem;
    letter-spacing: 0.08em;
    color: #010101;
}

.top_map{
    width: 100%;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}





@media print,
screen and (min-width: 768px) {
    
    .top_headline{
        margin-bottom: 40px;
    }

    .top_box01 {
        width: 1000px;
        margin: 0 auto 75px;
    }
    
    .top_box01_txt{
        text-align: center;
    }
    
    .top_box01_txt p{
        letter-spacing: 0.12em;
    }
    
    .top_box02_bg{
        padding: 50px 0;
        margin-bottom: 120px;
    }
    
    .top_box02 {
        width: 1000px;
        margin: 0 auto;
    }
    
    .top_box02 h2{
        margin-bottom: 45px;
    }
    
    .top_box02 ul{
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
    
    .top_box03 {
        width: 1000px;
        margin: 0 auto 120px;
    }
    
    .top_box03 ul{
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
    
    .top_box03 ul li{
        width: 430px;
        height: 240px;
        padding-top: 60px;
    }
    
    .top_box03 ul li:hover img{
        opacity: 0.7;
        filter: alpha(opacity=7);
        -webkit-transition: 0.2s linear;
        transition: 0.2s linear;
    }
    
    .top_box03 ul li:hover h2{
        color: #666;
    }
    
    .top_box03 ul li h2{
        margin-top: 25px;
    }
    
    .top_box03 ul li img{
        -webkit-transition: 0.2s linear;
        transition: 0.2s linear;
    }
    
    .top_box04 {
        width: 1000px;
        margin: 0 auto 80px;
    }
    
    .top_box04 h2{
        font-size: 2.6rem;
        letter-spacing: 0.08em;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        border-left: 10px solid #000;
        padding: 6px 0 5px 25px;
        margin-bottom: 10px;
    }
    
    .top_box04 h2 span{
        font-size: 1.4rem;
        letter-spacing: 0.03em;
        margin-left: 25px;
    }
    
    .top_map{
        height: 480px;
    }
    
    a[href^="tel:"] {
        pointer-events: none;
    }
    

}

@media screen and (max-width: 767px) {
    
    .top_box01 {
        margin: 0 3% 50px;
    }
    
    .top_headline{
        margin-bottom: 20px;
    }

    .top_box01_txt{
        text-align: left;
    }

    .top_box02_bg{
        margin-bottom: 70px;
        padding: 50px 0;
    }
    
    .top_box02 {
        margin: 0 3%;
    }
    
    .top_box02 h2 {
        margin-bottom: 20px;
    }

    .top_box02 ul li{
        width: 300px;
        margin: 0 auto 25px;
    }
    
    .top_box02 ul li:last-child{
        margin-bottom: 0;
    }
    
    .top_box03 {
        margin: 0 3% 70px;
    }
    
    .top_box03 ul li{
        padding: 30px 0;
    }
    
    .top_box03 ul li:not(:last-child){
        margin-bottom: 40px;
    }
    
    .top_box03 ul li img{
        width: auto;
        height: 50px;
        margin-bottom: 15px;
    }

    .top_box04 {
        margin: 0 3% 50px;
    }
    
    .top_box04 h2 {
        font-size: 2rem;
        letter-spacing: 0.08em;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        border-left: 10px solid #000;
        padding: 6px 0 5px 20px;
        margin-bottom: 10px;
    }
    
    .top_box04 h2 span {
        font-size: 1.3rem;
        letter-spacing: 0.03em;
        margin-left: 25px;
    }

    .top_map{
        width: 100%;
        height: 350px;
    }
    
    
    
}

/****************************************

news トップ用

*****************************************/
.news_list a {
    text-decoration: none;
    color: #303030;
}

.news_list a:hover{
    color: #666;
    text-decoration: underline;
}

.news_list {
    padding: 21px 0 20px;
    border-bottom: dotted 1px #919191;
    position: relative;
}

.news_list a {
    color: #303030;
    font-size: 1.5rem;
    letter-spacing: 0.12em;
}

.news_list .data {
    color: #303030;
    font-size: 1.5rem;
    margin-right: 20px;
    letter-spacing: 0.12em;
}

@media print,
    screen and (min-width: 768px) {
        
        .news_post {
            width: 100%;
            height: 280px;
            overflow-y: scroll;
            padding-right: 15px;
            margin-bottom: 50px;
        }

        .news_list {
            width: 100%;
            height: auto;
            -webkit-box-sizing: border-box;
            box-sizing: border-box;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
        }

}

@media screen and (max-width: 767px) {
    
    .news_post {
        width: 100%;
        height: 300px;
        overflow-y: scroll;
        margin-bottom: 20px;
    }
    
    .news_list{
        padding-right: 25px;
    }
    
    .news_list::after{
        top: 37px;
    }

    .news_list .data {
        display: block;
    }
    
}

/****************************************

content下層用

*****************************************/
/*ご挨拶*/
.table {
    width: 100%;
}

.table tr th {
    width: 25%;
    padding: 16px 20px 15px;
    text-align: left;
    font-weight: normal;
    background-color: #eee;
    border: 1px solid #bbb;
    font-size: 1.6rem;
    font-weight: 500;
}

.table tr td {
    width: 75%;
    padding: 16px 20px 15px;
    border: 1px solid #bbb;
    margin-bottom: 20px;
    background-color: #fff;
    text-align: left;
    font-size: 1.6rem;
}

/*設備紹介*/
.facility {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.facility li h3{
    border-left: 3px solid #000;
    padding-left: 20px;
}

.facility li figure{
    margin-bottom: 10px;
}

/*症例*/
.view_img {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.view_img li figure {
    overflow: hidden;
    margin-bottom: 10px;
}

.view_img li figure img {
    width: 100%;
    height: auto;
}

.view_img li h2{
    font-size: 1.8rem;
    border-left: 3px solid #000;
    padding-left: 20px;
    margin-bottom: 15px;
}

.view_img li p{
    font-size: 1.6rem;
}

/*症例*/

/*歯科医院様・技工所様へ*/
.list{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.list li{
    padding: 28px 52px;
    border: 1px solid #000;
    font-size: 1.8rem;
    margin-right: 20px;
}

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

/*お問い合わせ*/
.page_tel {
    background: url(images/page_tel.png) no-repeat left center;
    display: inline-block;
    font-size: 2.6rem;
    letter-spacing: 0.03em;
    padding-left: 35px;
    font-weight: 500;
    color: #303030;
}

.privacy{
    background: #EAEAEA;
}

.privacy h2{
    margin-bottom: 5px;
}




/*ブログ共通*/
.blog_box{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.blog_box{
    border-bottom: 1px dotted #999;
    padding-bottom: 50px;
    margin-bottom: 50px;
}

.blog_box:last-child{
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.blog_tit{
    border-left: 3px solid #ECBFCE;
    padding-left: 15px;
    margin-bottom: 20px;
}

.blog_tit h2 {
    font-size: 2rem;
    font-weight: 500;
}

.blog_tit .data{
    color: #9B003F;
    font-size: 1.6rem;
}

.blog_img img {
    width: 100%;
    height: auto;
}



@media print,
screen and (min-width: 768px) {

    .greeting_box01_txt{
        width: 556px;
    }
    
    .facility li{
        width: 485px;
        margin-right: 30px;
    }

    .facility li:nth-child(2n){
        margin-right: 0;
    }

    .facility li:nth-child(n+3){
        margin-top: 50px;
    }
    
    /*view*/
    .view_img li {
        width: 320px;
        margin-right: 20px;
        margin-bottom: 50px;
    }

    .view_img li:nth-child(3n){
        margin-right: 0;
    }

    .view_img li figure {
        width: 320px;
        height: 240px;
        overflow: hidden;
    }
    /*view//*/
    
    .message_box01_txt{
        width: 556px;
    }
    
    .contact_box01_txt{
        text-align: center;
    }
    
    .privacy{
        text-align: center;
        padding: 30px;
    }
    
    .map {
        width: 100%;
        height: 450px;
    }

    .blog_img {
        width: 320px;
        height: 240px;
        border-radius: 10px;
        overflow: hidden;
    }

    .blog_txt {
        width: 740px;
        position: relative;
    }

    .blog_btn {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 160px;
    }
    
    .recruit_box01_txt{
        width: 556px;
    }
 
}

@media screen and (max-width: 767px) {
    
    .greeting_box01_txt{
        margin-bottom: 20px;
    }
    
    .facility li:not(:last-child){
        margin-bottom: 30px;
    }
    
    /*view*/
    .view_img {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .view_img li {
        width: 49%;
        margin-bottom: 30px;
    }

    .view_img li figure {
        width: 100%;
        height: 33vw;
        overflow: hidden;
        margin-bottom: 10px;
    }

    .view_img li h2 {
        font-size: 1.6rem;
    }
    
    .view_img li p {
        font-size: 1.4rem;
    }
    /*view//*/
    
    .message_box01_txt{
        margin-bottom: 20px;
    }
    
    .list{
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
    
    .list li {
        width: 49%;
        padding: 15px 10px;
        text-align: center;
        border: 1px solid #000;
        font-size: 1.4rem;
        margin-right: 0;
    }
    
    .list li:nth-child(n+3){
        margin-top: 15px;
    }
    
    .recruit_box01_txt{
        margin-bottom: 20px;
    }
    
    .table tr th{
        width: 30%;
        font-size: 1.4rem;
        padding: 10px 6px;
    }

    .table tr td{
        width: 70%;
        font-size: 1.4rem;
        padding: 10px 6px;
    }
        
    .privacy{
        padding: 15px;
        text-align: left;
    }  

    .privacy p{
        font-size: 1.3rem;
    }

}

/****************************************

aside

*****************************************/

.aside{
    background: #f7f7f7;
}

.aside_inner h2{
    color: #303030;
    text-align: center;
}

.aside_inner ul li{
    background: #000;
}


@media print,
    screen and (min-width: 768px) {
        
        .aside{
            padding: 50px 0;
        }

        .aside_inner {
            width: 1000px;
            margin: 0 auto;
        }

        .aside_inner h2{
            margin-bottom: 45px;
        }

        .aside_inner ul{
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-pack: justify;
            -ms-flex-pack: justify;
            justify-content: space-between;
        }      
}

@media screen and (max-width: 767px) {
    
    .aside{
        padding: 50px 0;
    }

    .aside_inner h2{
        margin-bottom: 20px;
    }

    .aside_inner ul li{
        width: 300px;
        margin: 0 auto;
    }
    
    .aside_inner ul li:not(:last-child){
        margin-bottom: 25px;
    }

    

}

/****************************************

single.php

*****************************************/
#single_box {
    width: 1000px;
    margin: 60px auto 0;
}

.single_text {
    width: 100%;
}

.single_text img {
    margin: 15px auto;
    max-width: 1000px;
    height: auto;
}

.aligncenter {
    display: block;
}

.pager {
    clear: both;
    text-align: center;
    padding: 20px 0 0;
    margin: 0 auto;
}

a.page-numbers {
    background: rgba(0, 0, 0, 0.02);
    border: solid 1px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 5px 8px;
    margin: 0 2px;
    font-size: 1.4rem;
}

.pager .current {
    background: rgba(0, 0, 0, 0.02);
    border: solid 1px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 5px 8px;
    margin: 0 2px;
    font-size: 1.4rem;
    background: black;
    border: solid 1px black;
    color: white;
}

.nav-below {
    margin: 30px 0 20px;
    text-align: center;
}

@media print,
screen and (min-width: 768px) {}

@media screen and (max-width: 767px) {
    #single_box {
        width: 100%;
    }
}


/****************************************

sidebar

*****************************************/

@media print,
    screen and (min-width: 768px) {
        
        
     
}

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

/****************************************

テーブル

*****************************************/

td p {
    font-size: 100%;
}

@media print,
screen and (min-width: 768px) {}

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


/****************************************

P

*****************************************/

.border_top {
    border-top: dotted 1px #ccc;
    padding: 20px 0;
}

/* 改行 */

.line_break {
    padding-top: 25px;
}

/* 赤文字*/
.red {
    color: #CC0000;
}

/* 強調*/
.bold {
    font-weight: 500;
}

.text_center {
    text-align: center;
}

@media print,
screen and (min-width: 768px) {
}

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

/****************************************

タイトル

*****************************************/
.block {
    display: block;
}

.page_tit{
    text-align: center;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 25px 0 30px;
}

.page_tit span{
    display: block;
    font-size: 1.6rem;
    margin-top: 10px;
}

.subhead01 {
    background: #EEE;
    padding: 20px 10px;
    text-align: center;
}

.subhead02 {
    border-left: 3px solid #000;
    padding-left: 20px;
}


@media print,
screen and (min-width: 768px) {
    
    .page_tit{
        margin-bottom: 40px;
    }
    
    .subhead01{
        margin-bottom: 30px;
    }
    
    .subhead02{
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 767px) {
    
    .page_tit{
        margin-bottom: 40px;
    }
    
    .page_tit span{
        font-size: 1.4rem;
    }

    .subhead01{
        margin-bottom: 20px;
    }

    .subhead02{
        margin-bottom: 15px;
    }
}

/****************************************

sp_footer

*****************************************/

@media screen and (max-width: 767px) {
    #pc_footer {
        display: none;
    }

    #sp_footer {
        text-align: center;
    }

    .footer_wrap p{
        color: #fff;
    }
    
    .footer_add {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    
    .footer_add_inner p {
        font-size: 1.3rem;
        letter-spacing: 0.06em;
    }
    
    .footer_inner a{
        display: block;
        text-decoration: none;
    }
    
    p.footer_tel {
        font-size: 2.5rem;
        margin-right: 20px;
        padding-left: 40px;
    }

    .footer_logo,.footer_add{
        padding: 50px 3%;
    }
    
    .pagetop{
        position: fixed;
        right: 3%;
        bottom: 20px;
        z-index: 100;
    }

    .copyright {
        display: block;
        font-size: 0.9rem;
        color: #000;
        text-align: center;
        padding: 5px;
    }
}

/****************************************

pc_footer

*****************************************/

.footer_logo{
    background: #000;
    position: relative;
}

.footer_logo a{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
}

.footer_add{
    background: #303030;
}

.footer_logo_inner p {
    font-size: 2.4rem;
    letter-spacing: 0.02em;
    font-weight: 500;
    color: #fff;
    -webkit-transition: 0.2s linear;
    transition: 0.2s linear;
}

.footer_logo:hover .footer_logo_inner p{
    text-decoration: none;
    color: #ccc;
    -webkit-transition: 0.2s linear;
    transition: 0.2s linear;
}

.footer_inner{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.footer_tel {
    letter-spacing: 0.08em;
    font-weight: 500;
    position: relative;
    color: #303030;
}

.footer_tel::before{
    content: url(images/f_tel.png);
    position: absolute;
    top: 5px;
    left: 0;
}

.footer_logo_inner,.footer_add_inner{
    text-align: center;
}


@media print,
screen and (min-width: 768px) {
    #sp_footer {
        display: none;
    }

    #pc_footer{
        bottom: 0;
        left: 0;
        width: 100%;
    }
    
    .footer_wrap{
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        height: 400px;
    }
    
    .footer_wrap p{
        color: #fff;
    }
    
    .footer_logo{
        width: 50%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .footer_add{
        width: 50%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    
    .footer_add_inner{
        font-size: 1.4rem;
        letter-spacing: 0.06em;
    }
    
    .footer_tel {
        font-size: 2.7rem;
        margin-right: 40px;
        padding-left: 50px;
    }

    .pagetop{
        position: fixed;
        right: 50px;
        bottom: 50px;
        z-index: 100;
    }

    .copyright {
        display: block;
        font-size: 0.9rem;
        color: #000;
        text-align: center;
    }
   

}

/****************************************

Contact Form7

*****************************************/

.wpcf7 {
    width: 100%;
}

.wpcf7-form-control-wrap {
    display: block;
}

.wpcf7-form textarea {
    width: 960px;
    /*本文*/
    max-width: 100%;
}

.wpcf7-form .wpcf7-submit {
    width: 50px !important;
    /*送信ボタン*/
}

.wpcf7 p {
    line-height: 2.0;
    /*項目間の隙間*/
    padding-top: 3px;
}

.wpcf7-form input {
    max-width: 100% !important;
    /*ラジオボタン、チェックボタン*/
}

.contact_p_strong {
    border-top: 1px dotted #999;
    font-weight: bold;
    margin-top: 15px;
    padding-top: 15px !important;
}

.normal {
    font-weight: normal;
}

.wpcf7-submit {
    margin-top: 10px;
}

.wpcf7-response-output {
    font-size: 1.6rem;
}

@media screen and (max-width: 767px) {
    .wpcf7-form textarea {
        width: 100% !important;
        /*本文*/
    }
}

/****************************************

追加

*****************************************/


/****************************************

clearfix

*****************************************/

.clearfix {
    display: inline-block;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    font-size: 0;
    clear: both;
    visibility: hidden;
}

/* Hides from IE Mac */

* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}

/* End Hack */
