@charset "utf-8";
/*
Theme Name: 二番町デンタルオフィス Theme
Description: 二番町デンタルオフィス themes
Version: 1.0
Author: kobaishi
Author URI: e-f.co.jp
*/



/*------------------------------------------------------

   common

-------------------------------------------------------*/
:root {
    --base-color: #343131;
    --main-color: #57a2a8;/* green old 1a6351 */
    --sub-color1: #e4c1bd;/*  old gold b69452 */
    --sub-color2: #4b7b2f;/* light green */
	--sub-color3: #e7d7b9;/* beige */
	
	--bg-color: #f3f8f7;

	--font-mincho: "Shippori Mincho", serif;
	--font-en1:    "Cormorant Garamond", serif;
	--font-en2:    "Inter", sans-serif;
}


body {
	position: relative;
    font-size: 16px;
	font-family: 'Noto Sans JP', sans-serif;
	color: var(--base-color);
}

input,
select,
textarea,
radio,
checkbox,
button {
	font-family: 'Noto Sans JP', sans-serif;
}
p {
    line-height: 2.2;
}
img {
    vertical-align: middle;
}
.sp {
	display: none !important;
}

.font-inter {
	font-family: "Inter", sans-serif !important;
}
.inner1280 {
    width: 100%;
    max-width: 1340px;
	padding: 0 20px;
	margin:auto;
	position: relative;
}
.inner {
    width: 100%;
    max-width: 1120px;
	padding: 0 20px;
	margin:auto;
	position: relative;
}
.inner-in {
	padding: 0 110px;
}

.link {
    color: var(--main-color);
	text-decoration: underline !important;
}


/* off */
.link-off a {
    cursor: default !important;
    color: #ccc !important;
}


/* nav-line */
.nav-line a:not(.no-line) {
	opacity: 1 !important;
	text-decoration: none !important;
    position: relative;
}
.nav-line a:not(.no-line):after {
    position: absolute;
    bottom: -4px;
    left: 0;
    content: '';
    width: 100%;
    height: 0;
    border-top:solid 2px var(--main-color);
    transform: scale(0, 1);
    transform-origin: right top;
    transition: transform .3s;
}
.nav-line a:not(.no-line):hover:after {
    transform-origin: left top;
    transform: scale(1, 1);
}

/*------------------------------------------------------

   header style

-------------------------------------------------------*/
#global-header {
	width: 100%;
    background: rgba(0, 0, 0, 0.5);
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
	position: fixed;
	left:0;
	top: 0; /* ih-header いれたら　50px */
	z-index: 1000;
}
.header-in {
    height: 70px;
    padding-top: 5px;
    position: relative;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.site-title {
	width: 60px;
    line-height: 1;
    position: absolute;
    left: 20px;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.site-title a {
    display: flex;
    align-items: center;
}
.header-ut {
	color: #fff;
    display: flex;
    align-items: center;
    position: absolute;
    right: 20px;
}
.header-ut-tel a {
    color: #fff;
    font-size: 22px;
}
.header-ut-tel a span {
    font-size: 120%;
    margin-left: 10px;
}
.header-ut-open {
    font-size: 14px;
    display: flex;
    align-items: center;
}
.header-ut-open .open-info {
    margin-left: 20px;
}
.header-ut-open .open-info .font-inter {
	font-size: 16px;
}
.header-ut-open .open-info .icon {
    line-height: 1;
    padding: 3px 10px;
    margin-right: 10px;
    border: solid 1px;
    border-radius: 1000px;
}

.main-nav {
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 10px;
    right: 20px;
}
.main-nav__list {
    display: flex;
}
.main-nav__list >li {
    font-size: 14px;
    margin-left: 15px;
	position: relative;
}
.main-nav__list >li.has-sub:after {
	content: '▼';
	color: #fff;
}
.main-nav__list >li a {
    color: #fff;
}
.main-nav__list .sub-nav__list {
    display: flex;
    flex-wrap: wrap;
    width: 400px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 7px 1px #ccc;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: calc(50% - 200px);
    top: 15px;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.main-nav__list .sub-nav__list >li {
    font-size: 13px;
    width: 48%;
    margin: 0 0 4% 4%;
}
.main-nav__list .sub-nav__list >li:nth-child(2n+1) {
    margin-left: 0;
}
.main-nav__list .sub-nav__list >li:before {
    content: '-';
    margin-right: 10px;
}

.sub-nav__list >li a {
    color: var(--base-color);
}
.main-nav__list >li.has-sub:hover .sub-nav__list {
	visibility: visible;
	opacity: 1;
    top: 23px;
}

#global-header.scrolled-off {
    background: none;
}
#global-header.scrolled-off .header-in {
    height: 90px;
    padding-top: 20px;
}
#global-header.scrolled-off .site-title {
    max-width: 238px;
    width: 20%;
}


#sp-nav,
#menu-btn {
	display: none;
}

/* ----------------------------
   contets
-------------------------------*/
#main-contents {
	overflow: hidden;
}

.conBox {
    padding: 100px 0;
	position:relative;
}

/* cmn-title */
.cmn-title {
    margin-bottom: 120px;
	text-align: center;
}
.cmn-title h2 {
    color: var(--main-color);
	font-size: 48px;
    font-weight: 500;
    font-family: var(--font-mincho);
}
.cmn-title p {
    color: var(--sub-color1);
    font-size: 20px;
    font-weight: 500;
    font-family: var(--font-en1);
    margin-top: 10px;
    letter-spacing: 0.2em;
    line-height: 1;
}
.cmn-title.left {
    text-align: left;
}

.cmn-subtitle {
    color: var(--main-color);
	font-size: 32px;
    font-weight: 500;
    font-family: var(--font-mincho);
    margin-bottom: 70px;
	text-align: center;
}
.cmn-desc {
	text-align: center;
	margin-bottom: 50px;
}


/* news */
.news__list >li {
    font-size: 15px;
    margin-bottom: 10px;
    border-bottom: solid 1px;
}
.news__list >li a {
    display: flex;
    padding: 10px 50px 10px 0;
    color: var(--base-color);
	position: relative;
}
.news__list >li a:after {
	content: '';
	display: block;
	width: 8px;
	height: 8px;
	border-top: solid 1px;
	border-right: solid 1px;
	transform: rotate(45deg);
	position: absolute;
	right: 0;
    top: calc(50% - 4px);
}
.news__list .news-date {
    width: 100px;
}
.news__list .news-title {
    width: calc(100% - 150px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* more */
.more {
    text-align: center;
    margin-top: 50px;
}
.more.left {
    text-align: left;
}
.more a {
    color: var(--sub-color1);
    display: inline-block;
    font-size: 15px;
    min-width: 260px;
    padding: 10px 20px;
    text-align: center;
	border:solid 1px;
    border-radius: 1000px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.more a:after {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	border-top: solid 1px;
	border-right: solid 1px;
	transform: rotate(45deg);
	margin-left: 10px;
	vertical-align: 1px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.more-l {
	margin: 100px 0;
}
.more-l a {
	width: 100%;
	max-width: 600px;
	font-size: 20px;
	padding: 20px;
}
.more.black a {
    color: var(--base-color);
}
.more.white a {
    color: #fff;
}
.more a:hover {
	color: #fff;
	background: var(--sub-color1);
}
.more.black a:hover {
	color: #fff;
	background: var(--base-color);
}

/* gm-btn */
.gm-btn {
	text-align: center;
	margin-top: 20px;
}
.gm-btn a {
    color: var(--main-color);
    font-size: 18px;
    font-family: var(--font-mincho);
    display: inline-block;
    max-width: 240px;
    width: 100%;
    padding: 5px;
    border: solid 1px;
    border-radius: 1000px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.gm-btn a i {
	display: inline-block;
	width: 17px;
	height: 25px;
	background-image: url("./assets/img/icon/pin_grn.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	vertical-align: -6px;
	margin-right: 10px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.gm-btn a:hover {
	color: #fff;
	background: var(--main-color);
}
.gm-btn a:hover i {
	background-image: url("./assets/img/icon/nav_access.png");
}


/* ----------------------------
   footer style
-------------------------------*/
#cmn-access {
    background: #f5f5f5;
}
.btm-access-in {
    display: flex;
    justify-content: space-between;
}
.btm-access-info {
	width: 45%;
}
.b-a-logo {
    margin-bottom: 30px;
}
.b-a-address {
    font-size: 14px;
    margin-top: 10px;
}
.b-a-reserve {
	margin-top: 20px;
}
.b-a-reserve h3 {
	display: inline-block;
	font-size: 17px;
	font-weight: 500;
	line-height: 1;
	padding: 5px 10px;
    margin-bottom: 5px;
	border: solid 1px;
	border-radius: 1000px;
}
.b-a-reserve .tel {
	color: var(--main-color);
}
.b-a-reserve .tel a {
	color: var(--main-color);
	font-size: 30px;
    font-weight: 500;
	letter-spacing: 0.1em;
}
.b-a-reserve .tel a span {
	font-size: 115%;
	margin-left: 10px;
}
.b-a-reserve .web {
	margin-top: 10px;
}
.b-a-reserve .web a {
	color: #fff;
	font-size: 24px;
    letter-spacing: 0.1em;
	display: flex;
	align-items: center;
	padding:10px 20px;
	background: var(--main-color);
	border-radius: 10px;
}
.b-a-reserve .web a i {
	display: inline-block;
    width: 35px;
    height: 37px;
	background: url("./assets/img/icon/ft_reserve.png") no-repeat center;
	background-size: contain;
    margin-right: 20px;
}
.b-a-reserve .web a .t1 {
	font-weight: 500;
}
.b-a-reserve .web a .t2 {
	line-height: 1;
	padding: 3px 10px;
	border:solid 1px;
	margin-left: 20px;
}
.b-a-reserve .web a .arrow {
    display: inline-block;
    width: 34px;
    height: 34px;
    background: #fff;
    border-radius: 1000px;
    position: relative;
    margin-left: auto;
}
.b-a-reserve .web a .arrow:after {
    content: '';
    color: var(--main-color);
    width: 10px;
    height: 10px;
    border-top: solid 2px;
    border-right: solid 2px;
    transform: rotate(45deg);
    position: absolute;
    left: 9px;
    top: 11px;
}
.b-a-open {
    font-size: 14px;
	margin-top: 20px;
}
.b-a-open table {
    width: 100%;
    border-collapse: collapse;
}
.b-a-open table th {
	font-weight: normal;
	padding: 10px;
	border-right: solid 1px #bfbfbf;
}
.b-a-open table td {
	text-align: center;
	padding: 10px;
	border-right: solid 1px #bfbfbf;
}
.b-a-open p {
    text-align: right;
    margin-top: 10px;
}

.btm-access-map {
	width: 50%;
}
.to-instagram {
    text-align: right;
    margin-top: 20px;
}
.to-instagram a {
    display: inline-block;
    font-family: var(--font-mincho);
    color: var(--main-color);
    line-height: 1;
    padding: 10px 20px;
    border: solid 1px;
}
.to-instagram a i {
    display: inline-block;
    width: 20px;
    height: 20px;
	background: url("./assets/img/icon/sns_insta.png") no-repeat center;
	background-size: contain;
    margin-right: 10px;
    vertical-align: -4px;
}


.bmt-bnr {
    text-align: center;
    padding: 110px 0;
}

#global-footer {
    padding: 30px 0 50px;
    border-top: solid 1px;
}

.footer-nav {

}
.footer-nav__list {
    font-size: 14px;
    display: flex;
    justify-content: center;
}
.footer-nav__list >li {
	margin-bottom: 10px;
}
.footer-nav__list >li:not(:first-child) {
	margin-left: 15px;
}
.footer-nav__list >li a{
	color: var(--base-color);
}


.copyright {
    font-size: 11px;
    margin-top: 20px;
	text-align: center;
}

/* right-nav */
.right-nav {
    position: fixed;
    right: 0;
    top: 150px;
	z-index: 10;
}
.right-nav__list >li {
    width: 80px;
    margin-bottom: 10px;
}
.right-nav__list >li a {
    display: block;
    height: 80px;
	padding-top: 10px;
    text-align: center;
    color: #fff;
    background: var(--sub-color1);
    border-radius: 10px 0 0 10px;
}
.right-nav__list >li .icon {
    display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
}
.right-nav__list >li .text {
    font-size: 12px;
}


/* backtotop */
#backtotop {
    color: var(--main-color);
	width: 40px;
    height: 40px;
    background: #fff;
    cursor:pointer;
	visibility: hidden;
	opacity: 0;
    border-radius: 100px;
    border: solid 2px;
	position:fixed;
	right: 10px;
	bottom: 30px;
	z-index: 10;
   -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
#backtotop.show {
	visibility: visible;
	opacity: 1;
	bottom: 50px;
}
#backtotop:hover {
    color: #fff;
    background: var(--main-color);
}
#backtotop:after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-top: solid 2px;
    border-right: solid 2px;
    transform: rotate(-45deg);
    position: absolute;
    top: 16px;
    left: calc(50% - 6px);
}


/* -----------------------------------

media query

------------------------------------- */
@media (max-width: 1140px) {

	.header-in,
	#global-header.scrolled-off .header-in {
		height: 70px;
        padding-top: 5px;
	}
	.site-title {
		width: 60px;
		left: 10px;
	}
	.inner-in {
		padding: 0 50px;
	}
	.header-ut {
		display: block;
		right: 85px;
		text-align: right;
	}
	.header-ut-open {
		margin-top: 5px;
	}
	.main-nav__list {
		display: none;
	}

    #menu-btn {
        display: block;
        width: 60px;
        height: 60px;
        padding: 10px;
        background: var(--main-color);
        cursor: pointer;
        position: fixed;
        right: 5px; /* ih-headerいれたら10px */
        top: 5px; /* ih-headerいれたら55px */
        z-index: 10000;
       -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
	.menu-btn-text {
		color: #fff;
		font-size: 12px;
		margin-top: 5px;
	}
	.menu-btn-in {
		position: relative;
		height: 25px;
	}
    .menu-btn-in span {
        width: 100%;
        height: 2px;
        background: #fff;
        position: absolute;
        left: 0;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
    #menu-btn span.t {
        top: 0;    
    }
    #menu-btn span.m {
        top: 11px;    
    }
    #menu-btn span.b {
        bottom: 2px;
    }
	#menu-btn.active {
		background: var(--sub-color1);
	}
    #menu-btn.active span.t {
        transform: rotate(45deg);
        top: 12px;
    }
    #menu-btn.active span.m {
        width:0;
    }
    #menu-btn.active span.b {
        transform: rotate(-45deg);
        bottom: 10px;
    }

    #sp-nav {
		display: block;
        width: 100%;
        height: 100%;/* ih-header calc(100% - 50px) */
        background: #fff;
        padding: 70px 20px;
        overflow: auto;
        opacity: 0;
        visibility: hidden;
        position: fixed;
        left: 0;
        top: 0;/* ih-header 50px */
        z-index: -10;
       -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
    .sp-nav__list >li {
        font-size: 16px;
        font-weight: 500;
        border-bottom: dotted 1px #fff;
    }
    .sp-nav__list >li a {
        display: block;
        padding: 10px;
        color: #fff;
    }
	#sp-nav .sub-nav__list {
		display: flex;
		flex-wrap: wrap;
		opacity: 1;
		margin: 15px 0;
	}
	#sp-nav .sub-nav__list >li {
		width: 48%;
		font-size: 14px;
		margin: 0 0 10px 4%;
	}
	#sp-nav .sub-nav__list >li:nth-child(2n+1) {
		margin-left: 0;
	}
	#sp-nav .sub-nav__list >li a {
		padding: 5px;
		color: #eee;
	}
	#sp-nav .sub-nav__list >li a:before {
		content: '-';
		margin-right: 10px;
	}

	#sp-nav .header-ut {
        right: auto;
        margin-top: 30px;
        position: relative;
        text-align: left;
        background: #fff;
        padding: 15px;
        color: var(--main-color);
        border-radius: 5px;
    }
	#sp-nav .header-ut-tel a {
		color: var(--main-color);
	}
    #sp-nav .header-ut-open {
        display: block;
        margin-top: 10px;
    }
	#sp-nav .header-ut-open .open-info {
        margin: 0 0 10px;
    }
	#sp-nav .header-ut-open .open-info .icon {
		padding: 3px 0;
		margin-right: 5px;
		width: 80px;
		display: inline-block;
		text-align: center;
	}
    #sp-nav.active {
        opacity: 1;
        visibility: visible;
		background: var(--main-color);
		z-index: 9999;
    }

	.b-a-reserve .web a {
		font-size: 14px;
	}
	.b-a-reserve .web a i {
		width: 20px;
		height: 21px;
		margin-right: 15px;
	}
	.b-a-reserve .web a .arrow {
		width: 24px;
		height: 24px;
	}
	.b-a-reserve .web a .arrow:after {
		width: 8px;
		height: 8px;
		left: 5px;
		top: 8px;
	}

}

@media (max-width: 815px) {

	body {
        font-size: 13px;
		min-width: 375px;
        overflow-x: hidden;
	}
	body.menu-fix {
		overflow: hidden;
	}
	.pc {
		display: none !important;
	}
	.sp {
		display: block !important;
	}

	#global-header {
		background: none;
	}
	.inner {
		 width: 100%;
        padding: 0 20px;
	}
    .inner-in {
        padding: 0;
    }

	.conBox {
		padding: 50px 0;
	}
    .cmn-title {
        margin-bottom: 40px;
    }
    .cmn-title h2 {
        font-size: 24px;
    }
    .cmn-title p {
		font-size: 14px;
    }
	.cmn-subtitle {
		font-size: 20px;
		margin-bottom: 40px;
	}
	.cmn-desc {
		font-size: 13px;
		text-align: left;
	}

	.more {
		margin-top: 30px;
	}
	.more.left {
		text-align: center;
	}
	.more a {
		font-size: 14px;
	}
	
	.b-a-open table th,
	.b-a-open table td {
		padding: 5px;
	}

	.btm-access-in {
		display: block;
	}
	.btm-access-info {
		width: 100%;
		margin-bottom: 30px;
	}
	.b-a-address {
		font-size: 13px;
		margin-top: 0px;
	}

	.btm-access-map {
		width: 100%;
	}
	.to-instagram a {
		display: block;
		text-align: center;
	}

	.bmt-bnr {
		padding: 40px 0;
	}

	#global-footer {
		padding: 0 0 100px;
	}

	.right-nav {
		background: #fff;
		width: 100%;
		right: 0;
		top: auto;
		bottom: 0;
	}
	.right-nav__list {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	.right-nav__list >li {
		width: 24.8%;
		margin-bottom: 0;
	}
	.right-nav__list >li a {
		border-radius: 0;
	}

	#backtotop.show {
		bottom: 100px;
	}

}

