/*
Theme Name: woodaxe
Theme URI: https://woodaxe.me/medical/
Version: 1.1
*/

@charset "utf-8";
/* CSS Document */

/* =========================================================================================================
 　　base
========================================================================================================= */

body {
	position: relative;
	font-weight: 400;
	font-family: 'Noto Sans JP', sans-serif;
	color: #333;
	font-size: 1.6rem;
	line-height: 1.6;
}
#wrapper {
	position: relative;
	overflow: hidden;
	z-index: 1;
	animation: wrapperFade 0.4s ease; 
	padding-top: 100px;
}
@keyframes wrapperFade {
    0% { opacity: 0;}
    100% { opacity: 1;}
}
#wrapper:after {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color:#fff;
	z-index: 99999;
	pointer-events: none;
	opacity: 0;
	transition: opacity .8s ease;
}
#wrapper.fadeout:after {
	opacity: 1;
}

a {
	color: #333;
	display: inline-block;
	backface-visibility: hidden;
	transition: all .5s cubic-bezier(.5,0,0,1);
}
a figure img {
	transition: all .5s cubic-bezier(.4,.8,.74,1) 0s;
}
.container {
    max-width: 1152px;
	padding: 0 20px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}　
.fade-box {
	visibility: hidden;
	opacity: 0;
}
.fade-contents {
	visibility: hidden;
	opacity: 0;
}
.fadeend .fade .fade-contents,
.fadeend.fade .fade-contents {
    animation-fill-mode:both;
	animation-duration:1.5s;
	animation-timing-function: cubic-bezier(.5,0,0,1);
    animation-name: fade;
    visibility: visible !important;
}
.fadeend .fade .fade-contents.fade-left,
.fadeend.fade .fade-contents.fade-left {
    animation-name: fadeLeft;
}
.fadeend .fade .fade-contents.fade-right,
.fadeend.fade .fade-contents.fade-right {
    animation-name: fadeRight;
}
.fadeend .fade .fade-contents.fade-top,
.fadeend.fade .fade-contents.fade-top {
    animation-name: fadeTop;
}
.fadeend .fade .fade-contents.fade-stay,
.fadeend.fade .fade-contents.fade-stay {
    animation-name: fadeStay;
}
.fade-delay {
	animation-delay: 0.5s;
}
/*@translateYで縦の動き・translateXで横の動きを指定できる*/
@keyframes fade {
    0% { opacity: 0; transform: translateY(20px);}
    100% { opacity: 1; transform: translateY(0);}
}
@keyframes fadeLeft {
    0% { opacity: 0; transform: translateX(-20px);}
    100% { opacity: 1; transform: translateX(0);}
}
@keyframes fadeRight {
    0% { opacity: 0; transform: translateX(20px);}
    100% { opacity: 1; transform: translateX(0);}
}
@keyframes fadeTop {
    0% { opacity: 0; transform: translateY(-20px);}
    100% { opacity: 1; transform: translateY(0);}
}
@keyframes fadeStay {
    0% { opacity: 0;}
    100% { opacity: 1;}
}

/* scroll bar */
::-webkit-scrollbar {
	width: 10px;
	height: 10px;
	background-color: #eee;
}
::-webkit-scrollbar-thumb {
	cursor: pointer;
	background: #333;
	border-radius:10px;
}
::-moz-selection {
	background-color: #eee;
	text-shadow: none;
}
::selection {
	background-color: #eee;
	text-shadow: none;
}
.en {
	font-family: 'Lora', serif;
}
.min {
	font-family: 'Noto Serif JP', serif;
}
.pc {
	display: block;
}
img.pc ,
br.pc, 
span.pc,
b.pc {
	display: inline;
}
.sp,
img.sp,
br.sp,
span.sp,
b.sp {
	display: none;
}

.anno {
	padding-left: 1em;
	position: relative;
	display: inline-block;
}
.anno:before {
	content: "※";
	display: inline-block;
	position: relative;
	margin-left: -1em;
	float: left;
}
.v-text {
	writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
}
.dot-list li:before {
    content: "";
    position: relative;
    margin-right: 0.5em;
    width: 6px;
    height: 6px;
    background: #3260ad;
    border-radius: 50%;
    vertical-align: middle;
    display: inline-block;
    margin-top: 9px;
}
.dot-list li {
	position: relative;
	display: flex;
}

sup {
	vertical-align: super;
    font-size: 70%;
    margin-right: 2px;
}

/* =====================
  title
===================== */

.title01 {
	font-size: 4.8rem;
	font-weight: 700;
	text-align: center;
	line-height: 1.4;
}

.title01 strong {
	color: #3066be;
}

/* =====================
  linkbtn
===================== */


/* =====================
  bg
===================== */

.bg-g {
	background: #e6e8ea;
	left: 0;
	top: 0;
	bottom: 0;
	position: absolute;
	z-index: -1;
	width: 75%;
	z-index: 0;
}

/* =====================
  header
===================== */

header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: #fff;
	z-index: 10000;
	transition: all .5s cubic-bezier(.5,0,0,1);
}

header.fixed {
	box-shadow: 1px 1px 8px rgba(0,0,0,0.1);
}

header .container {
	display: flex;
	justify-content: space-between;
}

header #logo,
header nav ul li,
header nav .btn-contact {
	height: 100px;
	display: flex;
	align-items: center;
	transition: all .5s cubic-bezier(.5,0,0,1);
}

header.fixed #logo,
header.fixed nav ul li,
header.fixed nav .btn-contact {
	height: 70px;
}

header #logo {
	width: 230px;
}

header nav,
header nav ul {
	display: flex;
	align-items: center;
}

header nav {
	position: absolute;
	right: 0;
	top: 0;
	z-index: 1;
}

header nav ul {
	margin-right: 48px;
}

header nav ul li {
	font-weight: 700;
}

header nav ul li + li {
	margin-left: 32px;
}

header nav .btn-contact {
	background: #3066be;
	justify-content: center;
	color: #fff;
	font-weight: 700;
	width: 200px;
}




/* =====================
  link-btn
===================== */

.link-btn01 {
	display: block;
	width: 100%;
	max-width: 280px;
	text-align: center;
    padding: 18px 5px;
	background: #3066be;
	color: #fff;
	font-weight: 700;
}


/* =====================
  footer
===================== */

footer .footer-top {
	background: #3066be;
	padding: 88px 0 70px;
	color: #fff;
}

footer .footer-top .container {
	display: flex;
	justify-content: space-between;
}

footer .footer-top .container > figure {
	width: 260px;
}

footer .footer-top .footer-info {
	width: calc(100% - 300px);
}

footer .footer-top .footer-info .name {
	font-size: 2rem;
	font-weight: 700;
}

footer .footer-top .footer-info .address {
	margin-top: 8px;
}

footer .footer-top .footer-info .address .address-content + .address-content {
	margin-top: 10px;
}

footer .footer-top .footer-info .info-area {
	margin-top: 12px;
}

footer .footer-top .footer-info .info-area > dl {
	display: flex;
}

footer .footer-top .footer-info .info-area > dl dt {
	width: 42px;
}

footer .footer-top .footer-info .info-area > dl dd a {
	color: #fff;
	text-decoration: underline;
}

footer .footer-bottom {
	background: #333;
}

footer .footer-bottom .copy {
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
	height: 80px;
}


/* =====================
  sub-mv
===================== */

#sub-mv {
	background: #eaeff8;
}

#sub-mv .container {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 200px;
}

#sub-mv h1 {
	color: #3066be;
	font-weight: 700;
	font-size: 3.2rem;
}

/* =====================
  icon
===================== */

.icon {
	display: inline-block;
}

.icon.icon-arrow {
	width: 20px;
	height: 20px;
	position: relative;
}

.icon.icon-arrow:before {
	margin-left: -100%;
	opacity: 0;
}

.icon.icon-arrow:before,
.icon.icon-arrow:after {
	content: "";
	display: inline-block;
	position: absolute;
    width: 100%;
    height: 100%;
    border-top: 5px solid #3066be;
    border-right: 5px solid #3066be;
    -webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	transition: all .5s cubic-bezier(.5,0,0,1);
}



/* =====================
  wp-pagenavi
===================== */

.pagenavi-area {
	text-align: center;
}

.wp-pagenavi {
	display: inline-block;
	position: relative;
	padding: 0 50px;
}

.wp-pagenavi .current,
.wp-pagenavi .page,
.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
	width: 40px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
	border: 1px solid #aaa;
	margin: 0 5px;
	line-height: 1;
	transition: all .5s cubic-bezier(.5,0,0,1);
}

.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
	position: absolute;
}

.wp-pagenavi .previouspostslink {
	left: 0;
}

.wp-pagenavi .nextpostslink {
	right: 0;
}

.wp-pagenavi .current {
	background: #3066be;
	color: #fff;
	border-color: #3066be;
}



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



}


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

	#wrapper {
		padding-top: 70px;
	}

	/* =====================
	header
	===================== */

	header #logo {
		width: 200px;
		height: 70px;
	}

	header nav ul li,
	header nav .btn-contact {
		height: auto;
	}

	header nav ul li,
	header.fixed nav ul li {
		text-align: center;
	}

	header.fixed #logo {
		height: 70px;
	}

	header.fixed nav ul li,
	header.fixed nav .btn-contact {
		height: auto;
	}

	header #menu-btn {
		display: block;
		width: 60px;
		height: 70px;
		position: absolute;
		top: 0;
		right: 0;
		z-index: 1;
	}

	header #menu-btn:before,
	header #menu-btn:after,
	header #menu-btn span {
		content: "";
		display: block;
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		margin: auto;
		background: #333;
		width: 50%;
		height: 2px;
		transition: all .5s cubic-bezier(.5,0,0,1);
	}

	header #menu-btn:before {
		bottom: 16px;
	}

	header #menu-btn:after {
		top: 16px;
	}	

	header.open #menu-btn span {
		width: 0;
	}

	header.open #menu-btn:before {
		transform: rotate(45deg);
		bottom: 0;
	}

	header.open #menu-btn:after {
		transform: rotate(-45deg);
		top: 0;
	}

	header nav {
		position: fixed;
		right: 0;
		top: 70px;
		z-index: 1;
		opacity: 0;
		transition: all .5s cubic-bezier(.5,0,0,1);
		pointer-events: none;
		background: #fff;
		width: 100%;
		height: calc(100% - 70px);
		display: block;
	}

	header.open nav {
		opacity: 1;
		pointer-events: auto;
	}

	header nav ul {
		margin-right: 0;
		padding: 50px 0 10px;
		display: block;
	}

	header nav ul li {
		font-weight: 700;
		display: block;
	}

	header nav ul li + li {
		margin-left: 0;
		margin-top: 15px;
	}

	header nav .btn-contact {
		padding: 10px;
		margin: 24px auto 0;
	}

}



/* ====================================================================================
		:hover
==================================================================================== */
@media screen and (min-width: 1024px) {

	header nav ul li a:hover {
		color: #3066be;
	}

	header nav .btn-contact:hover,
	.link-btn01:hover {
		background: #3d82f2;
	}

	footer .footer-top .footer-info .info-area > dl dd a:hover {
		text-decoration: none;
	}


	/* =====================
	wp-pagenavi
	===================== */


	.wp-pagenavi .page:hover,
	.wp-pagenavi .previouspostslink:hover,
	.wp-pagenavi .nextpostslink:hover {
		background: #3066be;
		color: #fff;
		border-color: #3066be;
	}

	a:hover .icon.icon-arrow:before {
		margin-left: 0;
		opacity: 1;
	}

	a:hover .icon.icon-arrow:after {
		margin-left: 100%;
		opacity: 0;
	}

}

/* ====================================================================================
		tablet
==================================================================================== */
@media screen and (max-width: 1023px) {


}



/* ====================================================================================
		SP
==================================================================================== */
@media screen and (max-width: 767px) {

	body {
		font-size: 1.4rem;
	}

	.container {
		padding: 0 15px;
	}

	#wrapper {
		padding-top: 50px;
	}

	/* =====================
	title
	===================== */

	.title01 {
		font-size: 1.8rem;
	}

	/* =====================
	header
	===================== */

	header .container {
		display: flex;
		justify-content: space-between;
	}

	header #logo {
		width: 160px;
		height: 50px;
	}

	header.fixed #logo {
		height: 50px;
	}

	header nav ul li a,
	header.fixed nav ul li a {
		font-size: 1.4rem;
	}

	header #menu-btn {
		width: 50px;
		height: 50px;
	}

	header nav {
		top: 50px;
		height: calc(100% - 50px);
	}

	header.open nav {
		opacity: 1;
		pointer-events: auto;
	}

	header nav ul {
		margin-right: 0;
		padding: 50px 0 10px;
		display: block;
	}

	header nav ul li {
		font-weight: 700;
		display: block;
	}

	header nav ul li + li {
		margin-left: 0;
		margin-top: 15px;
	}

	header nav .btn-contact {
		padding: 10px;
		margin: 24px auto 0;
	}



	/* =====================
  	link-btn
	===================== */

	.link-btn01 {
		padding: 12px 5px;
	}



	/* =====================
	footer
	===================== */

	footer .footer-top {
		display: block;
		padding: 44px 0 35px;
	}

	footer .footer-top .container {
		display: block;
	}

	footer .footer-top .container > figure {
		width: 130px;
	}

	footer .footer-top .footer-info {
		width: 100%;
		margin-top: 18px;
	}

	footer .footer-top .footer-info .name {
		font-size: 1.6rem;
		font-weight: 700;
	}

	footer .footer-top .footer-info .info-area {
		margin-top: 12px;
	}

	footer .footer-top .footer-info .address .address-content + .address-content {
		margin-top: 5px;
	}

	footer .footer-top .footer-info .info-area > dl {
		display: flex;
	}

	footer .footer-top .footer-info .info-area > dl dt {
		width: 42px;
	}

	footer .footer-bottom .copy {
		height: 48px;
	}



	/* =====================
	sub-mv
	===================== */

	#sub-mv .container {
		height: 120px;
	}

	#sub-mv h1 {
		font-size: 2rem;
	}


	/* =====================
	icon
	===================== */

	.icon.icon-arrow {
		width: 14px;
		height: 14px;
	}

	.icon.icon-arrow:before,
	.icon.icon-arrow:after {
		border-top-width: 3px;
		border-right-width: 3px;
	}

	


}