@charset "utf-8";
/*
Theme Name: 一生付き合える歯医者さん Theme
Description: 一生付き合える歯医者さん themes
Version: 1.0
Author: kobaishi
Author URI: e-f.co.jp
*/

@font-face {
    font-family: "DIN_Alternate_Bold";
    src: url("./assets/fonts/DIN_Alternate_Bold.eot") format('eot'),
	     url("./assets/fonts/DIN_Alternate_Bold.woff") format('woff'),
	     url("./assets/fonts/DIN_Alternate_Bold.ttf")  format('truetype');
}

/*------------------------------------------------------

   common

-------------------------------------------------------*/
:root {
    --base-color: #000000;
	--main-color: #553311;/* brawn */
    --sub-color1: #ea8a6c;/* orange */
    --sub-color2: #4455aa;/* blue */

	
	--bg-color:   #f7f6f0;

	--font-en:     "DIN_Alternate_Bold";
	--font-mincho: "Shippori Mincho", serif;
	--font-gothic: 'Noto Sans JP', sans-serif;
	
	--page-font-size: 17px;
	--page-font-sizeL: 22px;
}


body {
	position: relative;
    font-size: 16px;
	font-family: "Zen Maru Gothic", serif;
	color: var(--base-color);
    min-width: 1140px;
}
input,
select,
textarea,
radio,
checkbox,
button {
	font-family: 'Noto Sans JP', sans-serif;
}

h1,h2,h3,h4,h5,h6 {
	font-weight: 500;
}

img {
    vertical-align: middle;
}
.sp { display: none !important; }

.inner {
    max-width: 1140px;
	padding: 0 20px;
	margin:auto;
	position: relative;
}
.inner-in {
    padding: 0 100px;
}

a {
    color: var(--base-color);
}

.link {
    color: var(--blue-color);
	text-decoration: underline !important;
}


/* off */
.link-off a {
    cursor: default !important;
    color: #ccc !important;
}


/*------------------------------------------------------

   header style

-------------------------------------------------------*/
#global-header {
	width: 100%;
	position: absolute;
	left:0;
	top: 0;
	z-index: 1000;
}
.header-in {
    position: relative;
}
.site-title {
    width: 275px;
    line-height: 1;
    position: absolute;
    top: 30px;
    left: 20px;
}
.site-title a {
    display: flex;
    align-items: center;
}
#menu-btn {
    width: 50px;
    cursor: pointer;
    position: fixed;
    right: 20px;
    top: 40px;
    z-index: 10000;
   -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.menu-btn-in {
    height: 20px;
    position: relative;
}
.menu-btn-in span {
    width: 100%;
    height: 3px;
    background: var(--main-color);
    position: absolute;
    left: 0;
   -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.menu-btn-in span.t {
    top: 0;    
}
.menu-btn-in span.b {
    bottom: 0;
}
.menu-btn-text {
    color: var(--main-color);
    font-size: 18px;
    font-family: var(--font-en);
    text-align: center;
    line-height: 1;
    margin-top: 10px;
   -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
#menu-btn.active .menu-btn-in span {
	background: #fff;
}
#menu-btn.active .menu-btn-in span.t {
    transform: rotate(45deg);
    top: 8px;
}
#menu-btn.active .menu-btn-in span.b {
    transform: rotate(-45deg);
    bottom: 10px;
}
#menu-btn.active .menu-btn-text {
	color: #fff;
}

#sp-nav {
    width: 400px;
    height: 100%;
    background: #fff;
    padding: 70px 20px;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 9999;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
#sp-nav.active {
    background: var(--main-color);
    opacity: 1;
    visibility: visible;
}
.sp-nav__list >li {
    border-bottom: dotted 1px #fff;
}
.sp-nav__list >li a,
.sp-nav__list >li span {
    display: block;
    padding: 10px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}
.sp-subnav__list {
    padding-left: 30px;
}
.sp-subnav__list >li a:before {
    content: '-';
    margin-right: 10px;
}

.nav-partner {
    margin-top: 20px;
}
.nav-partner a {
    display: block;
    font-weight: 500;
    padding: 15px 50px 15px 20px;
    margin: 40px auto 0;
    color: var(--base-color);
    background: #fff;
    border: solid 1px var(--sub-color2);
    border-radius: 5px;
    position: relative;
}
.nav-partner a i {
    width: 26px;
    height: 26px;
    border-radius: 1000px;
    background: var(--sub-color2);
    position: absolute;
    right: 20px;
    top: calc(50% - 13px);
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
.nav-partner a i:after {
    content: '';
    color: #fff;
    width: 6px;
    height: 6px;
    border-top: solid 2px;
    border-right: solid 2px;
    transform: rotate(45deg);
    position: absolute;
    top: 9px;
    left: 8px;
}

/* ----------------------------
   contets
-------------------------------*/
#main-contents {
    overflow: hidden;
}

.conBox {
    padding: 100px 0;
	position:relative;
}

/* cmn-title */
.cmn-title {
	text-align: center;
    margin-bottom: 70px;
}
.cmn-title h2 {
    font-size: 32px;
    font-weight: 500;

    color: var(--main-color);
}
.cmn-title h2.mincho {
    font-family: var(--font-mincho);
}
.cmn-title p {
    font-size: 22px;
    color: var(--sub-color1);
    font-family: var(--font-en);
    font-weight: 600;
    margin-top: 15px;
    line-height: 1;
    letter-spacing: 3px;
}
.cmn-subtitle {
    font-size: 22px;
    text-align: center;
    margin-bottom: 60px;
	line-height: 2;
}
.cmn-subtitle b {
    color: var(--sub-color2);
	font-weight: 500;
}
.cmn-desc {
	font-size: 17px;
    line-height: 2.3;
    text-align: center;
    margin-bottom: 80px;
}
.cmn-desc .font-s {
	font-size: 13px;
}

.cmn-text {
	font-size: 17px;
    line-height: 2.3;
    margin-top: 40px;
}


.information__list >li {
    font-size: 17px;
    font-weight: 500;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: dotted 3px var(--main-color);
}
.information__list >li a {
    display: flex;
    color: var(--base-color);
}
.information__list .information-date {
    width: 170px;
}
.information__list .information-title {
	width: calc(100% - 170px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.cmn-btn {
    margin-top: 50px;
	text-align: center;
}
.cmn-btn a {
    color: var(--sub-color2);
    font-size: 18px;
    font-weight: 500;
    display: inline-block;
    padding: 15px 80px 15px 20px;
    background: #fff;
    border-radius: 5px;
    position: relative;
    width: 100%;
    max-width: 500px;
    text-align: left;
}
.cmn-btn a:after {
	content: '';
	display: block;
	width: 10px;
	height: 10px;
	border-top: solid 2px;
	border-right: solid 2px;
	transform: rotate(45deg);
	position: absolute;
	right: 20px;
	top: calc(50% - 5px);
}


.to-list {
	margin-top:50px;
}
.to-list a {
    color: var(--main-color);
    display: flex;
    align-items: center;
    padding: 30px;
    border: solid 2px;
    border-radius: 10px;
}
.to-list-logo {
    width: 50%;
    padding-right: 3%;
}
.to-list-text {
    font-size: 20px;
    width: 50%;
    height: 100%;
    padding: 20px;
    background: #ebe7e5;
    position: relative;
    border-radius: 5px;
}
.to-list-text:after {
	content: '';
	display: block;
	width: 10px;
	height: 10px;
	border-top: solid 2px;
	border-right: solid 2px;
	transform: rotate(45deg);
	position: absolute;
	right: 15px;
	top: calc(50% - 5px);
}

/*------------------------------------------------
   footer style
--------------------------------------------------*/
#global-footer {
	font-family: var(--font-gothic);
    color: var(--main-color);
    background: var(--bg-color);
    padding: 50px 0 40px;
	margin-top: 110px;
}
.footer-in {
    display: flex;
}
.footer-logo {
    width: 450px;
}
.footer-main {
	max-width: 460px;
    width: calc(100% - 450px);
}
.footer-main h3 {
    font-size: 18px;
    margin-bottom: 15px;
}
.footer-main p {
    font-size: 14px;
    line-height: 2;
}
.footer-nav__list {
	margin-top: 20px;
}
.footer-nav__list >li:not(:last-child) {
    margin-bottom: 15px;
}
.footer-nav__list >li a {
    font-size: 15px;
    color: var(--main-color);
    display: block;
    padding: 20px 25px;
    border: solid 1px;
    position: relative;
}
.footer-nav__list >li a .icon-insta {
	display: inline-block;
	width: 20px;
	height: 20px;
	background: url("./assets/img/cmn/icon_insta.png") no-repeat center;
	background-size: contain;
	vertical-align: middle;
	margin-right: 5px;
}
.footer-nav__list >li a:after {
	content: '';
	display: block;
	width: 10px;
	height: 10px;
	border-top: solid 2px;
	border-right: solid 2px;
	transform: rotate(45deg);
	position: absolute;
	right: 15px;
	top: calc(50% - 5px);
}
.copyright {
    font-size: 12px;
    border-top: solid 1px;
    margin-top: 50px;
    padding-top: 10px;
    text-align: right;
}


.floating-to-search {
    position: fixed;
    right: 20px;
    bottom: 20px;/*150px;*/
	z-index: 10;
}
.floating-to-search a {
    font-size: 19px;
    width: 140px;
    height: 140px;
    display: block;
    padding-top: 15px;
    text-align: center;
    color: #fff;
    background: var(--main-color);
    border-radius: 10000px;
}
.floating-to-search a i {
	display:block;
	width: 39px;
	height: 39px;
	background: url("./assets/img/cmn/icon_search_w.png") no-repeat center;
	background-size: contain;
    margin: 0 auto 10px;
}

/* backtotop */
#backtotop {
    color: var(--blue-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(--blue-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) {

    .inner-in {
        padding: 0;
    }

}

@media (max-width: 815px) {

	:root {
		--page-font-size: 14px;
		--page-font-sizeL: 18px;
	}

	body {
        font-size: 13px;
		min-width: 375px;
        overflow-x: hidden;
	}
	body.menu-fix {
		overflow: hidden;
	}
	.pc {
		display: none !important;
	}
	.sp {
		display: block !important;
	}

	.inner {
		 width: 100%;
        padding: 0 20px;
	}

    .site-title {
        width: 120px !important;
		top: 20px;
    }
	
	#sp-nav {
		width: 100%;
	}
	#menu-btn {
		top: 20px;
	}
	.menu-btn-in {
		height: 15px;
	}
	.menu-btn-in span {
		width: 100%;
		height: 2px;
	}
	#menu-btn.active .menu-btn-in span.t {
		top: 4px;
	}
	.menu-btn-text {
		font-size: 15px;
		letter-spacing: 2px;
	}
	.conBox {
		padding: 50px 0;
	}
    .cmn-title {
        margin-bottom: 30px;
    }
    .cmn-title h2 {
        font-size: 20px;
    }
    .cmn-title p {
        font-size: 14px;
    }
    .cmn-subtitle {
        font-size: 16px;
		margin-bottom: 40px;
    }
    .cmn-desc {
        font-size: 13px;
		text-align: left;
		margin-bottom: 50px;
    }
    .cmn-text {
        font-size: 13px;
		margin-top: 20px;
    }


	.to-list a {
		padding: 20px;
		display: block;
	}
	.to-list-logo {
		width: 100%;
		padding-right: 0;
		text-align: center;
		margin-bottom: 20px;
	}
	.to-list-logo img {
		max-width: 80%;
	}
	.to-list-text {
		font-size: 16px;
		width: 100%;
		height: 100%;
	}

	#global-footer {
		margin-top: 60px;
	}
	.footer-in {
		display: block;
	}
	.footer-logo {
		width: 100%;
		margin-bottom: 30px;
	}
	.footer-logo img {
		width: 200px;
	}
	.footer-main {
		max-width: 100%;
		width: 100%;
	}

	.floating-to-search a {
		font-size: 14px;
		width: 100px;
		height: 100px;
	}
	.floating-to-search a i {
		width: 20px;
		height: 20px;
		margin: 0 auto 5px;
	}
}

