@charset "utf-8";

/* Reset
----------------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    zoom: 1;
    /* hasLayout in IE */
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font: inherit;
    font-size: 100%;
    font-weight: normal;
    font-style: normal;
    vertical-align: baseline;
    background: transparent;
    -webkit-text-size-adjust: 100%;
    word-break: break-all;
}

p {
    max-height: 100%;
}

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

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

q, blockquote {
    quotes: none;
}

q:before, q:after, blockquote:before, blockquote:after {
    content: "";
    content: none;
}

img {
    max-width: 100%;
    font-size: 0;
    line-height: 0;
    vertical-align: bottom;
    height: auto;
}

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

a:focus {
    outline: none;
}

a img {
    border: none;
}

input[type="submit"] {
    -webkit-appearance: none;
}

textarea {
    overflow: auto;
}

label {
    cursor: pointer;
}

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

* html .clearfix {
    zoom: 1;
}

*:first-child + html .clearfix {
    zoom: 1;
}

a {
    text-decoration: none;
}

a:hover {
    opacity: 0.7;
    cursor: pointer;
    transition: 0.2s;
}

a[href^="tel:"]{
    pointer-events: none;
}

strong {
    font-weight: normal;
}

ul, ol {
    list-style-type: none;
}

.wf-hannari { font-family: "Hannari"; }



body {
    width: 100%;
    min-width: 1066px;
    font-family: 'Noto Sans JP', sans-serif;
    color: #3c250e;
    box-sizing: border-box;
}

.sp {
    display: none;
}

/* =====header===== */
.header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 15px 27px 0 33px;
    box-sizing: border-box;
    background: url(../images/index/top.png) center bottom;
    height: 195px;
    background-size: cover;
    background-repeat: no-repeat;
    backface-visibility: hidden;
    margin-bottom: -200px;
    position: relative;
}

.header .left {
    display: flex;
    height: 55px;
    align-items: flex-end;
}

h1 {
    font-size: 13px;
    color: #553519;
    margin-left: 15px;
}

.header .rightbox {
    display: flex;
}

.header .right {
    display: flex;
}

.header .right .yoyaku {
    margin-right: 15px;
}

.header .right .info .box {
    display: flex;
    align-items: center;
    margin: -5px 0;
}

.header .right .info .box p:nth-child(2) {
    font-size: 40px;
    margin-left: 15px;
}

.header .right .info p:nth-child(3),.header .right .info p:nth-child(4) {
    font-size: 14px;
}


.firstview .text {
    position: relative;
    width: 1066px;
    margin: 0 auto;
}

.firstview .text p:nth-child(2) img{
    position: absolute;
    top: 261px;
    left: 17px;
}

.firstview .text p:nth-child(3) img{
    position: absolute;
    top: 340px;
    right: 70px;
}

.firstview .text .box {
    position: absolute;
    top: 250px;
    right: 200px;
}

.firstview .text .box p:nth-child(1) {
    font-size: 25px;
    letter-spacing: 1px;
}

.firstview .text .box p:nth-child(2) {
    font-size: 18px;
    letter-spacing: 3px;
}

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

/* =====nav===== */
.nav {
    width: 100%;
    padding: 20px 0;
    box-sizing: border-box;
}

.nav .list {
    display: flex;
    justify-content: space-around;
    width: 940px;
    margin: 0 auto;
}

.nav .list .item {
    text-align: center;
    position: relative;　/*疑似要素の親を固定*/
    cursor: pointer;　/*カーソルをポインターへ*/
    text-decoration: none;　 /*ホバーなしは非表示*/
}

.nav .list .item:before {
    content: ""; /*疑似要素の中身は空（記述は必須）*/
    position: absolute; /*子要素として疑似要素を固定*/
    left: 0; /*長さはテキストの両端まで*/
    right: 0; /*長さはテキストの両端まで*/
    bottom: -5px;  /*線の上下位置*/
    width: 100%; /*線の長さ*/
    height: 2px; /*線の太さ*/
    background-color: #9e9c9c; /*線の色*/
    transform: scale(0, 1); /*横方向に0状態から全体まで線を入れる*/
    transform-origin: center; /*中央を起点にアニメーション*/
    transition: transform .2s; /*アニメーションの時間*/
  }

  .nav .list .item:hover:before {
    transform: scale(1); /*ホバー時に等倍へ拡大*/
  }

.nav .list .item a {
    position: relative;
    /* font-weight: 100; */
    letter-spacing: 0.14em;
}

.nav .list .item a:before,
.nav .list .item a:after {
    content: "";
    position: absolute;
    bottom: 0;
    display: inline-block;
    width: 0;
    height: 2px;
    background: #a2b940;
    transition: all 0.4s;
}

.nav .list .item a:before {
    left: 50%;
}

.nav .list .item a:after {
    right: 50%;
}

.nav .list .item a:hover:before, 
.nav .list .item a:hover:after {
    width: 50%;
}

.nav .list .item:nth-of-type(4) {
    position: relative;
}

.nav .list .item:nth-of-type(4) span {
    content: "";
    position: absolute;
    bottom: -21px;
    left: 0;
    right: 0;
    display: none;
    width: 34px;
    height: 20px;
    margin: 0 auto;
    background: url(../img/index/triangle02.png) center center/cover no-repeat;
}

.nav .list .item.active:nth-of-type(4) span {
    display: block;
}

.nav_change {
    position: fixed;
    z-index: 100;
    top: -160px;
    width: 100%;
    padding: 20px 0;
    border-bottom: 0.5px solid #ccc;
    box-sizing: border-box;
    background: #fff;
    transition: 0.5s;
}

.nav_change.show {
    top: 0;
}
.nav_change .list {
    display: flex;
    justify-content: space-between;
    width: 940px;
    margin: 0 auto;
}

.nav_change .list .item a {
    position: relative;
    font-weight: 100;
    letter-spacing: 0.14em;
}

.nav_change .list .item a:before,
.nav_change .list .item a:after {
    content: "";
    position: absolute;
    bottom: 0;
    display: inline-block;
    width: 0;
    height: 2px;
    background: #00B9EF;
    transition: all 0.4s;
}

.nav_change .list .item a:before {
    left: 50%;
}

.nav_change .list .item a:after {
    right: 50%;
}

.nav_change .list .item a:hover:before, 
.nav_change .list .item a:hover:after {
    width: 50%;
}

.nav_change .list .item:nth-of-type(4) {
    position: relative;
}

.nav_change .list .item:nth-of-type(4) span {
    content: "";
    position: absolute;
    bottom: -21px;
    left: 0;
    right: 0;
    display: none;
    width: 34px;
    height: 20px;
    margin: 0 auto;
    background: url(../img/index/triangle02.png) center center/cover no-repeat;
}

.nav_change .list .item.active:nth-of-type(4) span {
    display: block;
}

.nav {
    position: relative;
    bottom: 150px;
}
}

/* ======診察時間====== */

.table {
    width: 100%;
    margin: 0 0 5px;
}

.tbody .ander {
    border-bottom: 1px dashed #3c250e;
}

.table .row {
    height: 33px;
}

.table .tbody {
    background: rgba(255,255,255,0.7);
}

.table .time {
    width: 130px;
    vertical-align: middle;
}

.thead .time {
    letter-spacing: 0.05em;
}

.table .youbi {
    vertical-align: middle;
}

.table .data {
    /* vertical-align: middle; */
    text-align: center;
}

.holiday {
    letter-spacing: 0.05em;
}

.holiday .space {
    padding: 0 0 0 1em;
}

.table .thead {
    background: #3c250e;
    color: #fff;
}

.sec0 .info .right .bottom {
    margin-left: 7px;
}



/* =====return_top===== */

.return_top {
    padding: 80px 0;
    width: 1066px;
    margin: 0 auto;
}

.return_top .scroll_top {
    text-align: right;
}


/* =====sec_contact===== */
.sec_contact {
    display: flex;
    justify-content: space-between;
    width: 833px;
    padding: 80px 0 90px;
    margin: 0 auto;
    box-sizing: border-box;
}

.sec_contact .table {
    width: 100%;
    margin: 0 0 5px;
}

.sec_contact .table .row {
    height: 53px;
}

.sec_contact .thead {
    background: #00B9EF;
}

.sec_contact .tbody {
    background: rgba(0, 185, 239, 0.05);
}

.sec_contact .table .time {
    width: 130px;
    vertical-align: middle;
}

.sec_contact .thead {
    font-size: 18px;
    color: #fff;
}

.sec_contact .thead .time {
    letter-spacing: 0.05em;
}

.sec_contact .table .youbi {
    vertical-align: middle;
}

.sec_contact .table .data {
    vertical-align: middle;
    text-align: center;
}

.sec_contact .holiday {
    letter-spacing: 0.05em;
}

.sec_contact .holiday .space {
    padding: 0 0 0 1em;
}

.sec_contact .right {
    width: 370px;
}

.sec_contact .right .logo {
    margin: 0 0 10px;
    text-align: center;
}

.sec_contact .right .address {
    margin: 0 0 15px;
    text-align: center;
}

.sec_contact .right .text {
    padding: 0 0 5px;
    border-bottom: 2px solid #00B9EF;
    font-size: 28px;
    font-weight: 500;
    text-align: center;
}

.sec_contact .right .phone {
    position: relative;
    padding: 5px 0 0 85px;
    background: url(../img/index/phone_icon01.png) left 50px top 12px/26px no-repeat;
    font-size: 27px;
}

.sec_contact .right .phone a {
    font-weight: 500;
    color: #00B9EF;
}

.sec_contact .right .phone:before {
    content: "";
    position: absolute;
    top: 15px;
    right: 0;
    display: inline-block;
    width: 83px;
    height: 2px;
    background: #00B9EF;
}


.sec02 .contents .last {
    background: url(../images/caries/back_white.png);
    background-position: top;
    margin-top: 70px;
}

.sec02 .contents .last .inner {
    background: url(../images/caries/bottom.png);
    background-position: top;
    position: relative;
    bottom: 13px;
}

.sec02 .contents .last .inner .box {
    width: 1066px;
    margin: 0 auto;
    position: relative;
    padding-top: 30px;
}

.sec02 .contents .last .inner .box p:nth-child(1) img {
    position: relative;
    right: 420px;
    bottom: 65px;
}

.sec02 .contents .last .inner .box p:nth-child(2) {
    font-size: 18px;
    line-height: 3;
    position: relative;
    bottom: 65px;
}

.sec02 .contents .last .inner .box p:nth-child(3) {
    position: unset;
}

.sec02 .contents .last .inner .box p:nth-child(3) img {
    position: absolute;
    bottom: 200px;
    right: 0px;
}


/* =====g_map===== */
.g_map {
    height: 400px;
}

.g_map iframe {
    width: 100%;
    height: 100%;
}


.information .contents {
    display: flex;
    justify-content: space-evenly;
    /* width: 1066px; */
    margin: 0 auto 20px;
}

.information .contents .left p:nth-child(3) {
    font-size: 18px;
    text-align: center;
    margin-top: 15px;
}

.information .contents .two {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.information .contents .two .right {
    margin-left: 20px;
}

.information .contents .two .right .box {
    display: flex;
    align-items: center;
}

.information .contents .two .right .box p:nth-child(2) {
    font-size: 40px;
    margin-left: 15px;
}

.information .contents .right .bottom {
    margin: 10px 0;
}

footer .contents {
    background: url(../images/index/footer_back.png);
    height: 400px;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: -75px;
    backface-visibility: hidden;
    position: relative;
}

footer .contents p img {
    position: absolute;
    right: 10px;
    bottom: -7px;
}

.sitemap {
    width: 666px;
    margin: 0 auto;
    padding: 50px;
    font-size: 16px;
    line-height: 3;
    letter-spacing: 2px;
}

footer .contents .lastbigbox {
display: flex;
}

footer .contents .lastbox {
    display: block;
    margin-right: 20px;
}
footer .contents .lastbox01 {
    display: block;
    margin-right: 20px;
    margin-left: -18px;
}
footer .contents .lastbox02 {
    display: block;
    /* margin-right: 20px;
    margin-left: 21px; */
    margin-left: -15px;
}
footer .contents .lastbox03 {
    display: block;
    margin-right: 20px;
    margin-left: -33px;
}

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

ul > li{
    display: inline-block;
}
ul > .list > a{
    padding: 15px 30px;
    display: block;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: .2em;
}
ul > li > span{
    margin-left: 1.2em;
}
ul > li:hover > a{
    background-color: #efefef;
    color: #444;
}
 
/* Submenu */
 
ul li ul{
    position: absolute;
    top: 58px;
    left: -432px;
    z-index: 1;
}
ul li ul li{
    display: block;
}
ul li ul li a{
    background-color: #FFEA99;
    /* background-image: url(../images/index/all_back.jpg); */
    color: #444;
    width: 165px;
}

ul li ul li a:hover{
    background-color: #3c250e;
    background-image: unset;
    color: #efefef;
    font-weight: bold;
    opacity: unset;
}

ul li ul li a p:hover {
    font-weight: bold;
}

.nav ul li ul{
    display: none;
}
.nav ul li:hover ul{
    display: block;
}

.list_small {
	font-size: 12px;
}


}