/*============ 共通項目 ==============*/

@media only screen and (min-width:1000px){*.sp{display:none !important;}}
@media only screen and (max-width:1000px){*.pc{display:none !important;}}


/*============ ヘッダー 調整用　==============*/

header {
	width: 100%;
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	gap: 4rem;
	/* background: url(https://john-na-run.com/site/wp-content/themes/john-na-run/assets/images/common/h-bg_01.png) no-repeat bottom 1rem right / calc(100% - calc(min(80rem) + 4rem)) auto; */
	position: relative;
	z-index: 15;
}
header > h1 {
	width: 69rem;
}
header.lHeader > h1 {
	width: 79rem;
}
header nav:not(.nav02) {
	width: calc(100% - calc(min(70rem , 614px) + 4rem));
}
header > div.issue {
	font-family: Midashi Go MB31;
	font-size: 3rem;
	font-weight: bold;
	background: url(https://john-na-run.com/site/wp-content/themes/john-na-run/assets/images/common/h-icon_issue.png) no-repeat center / 100%;
	color: #fff;
	width: 16rem;
	text-align: center;
	line-height: 1.2;
	height: 20rem;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	left: 69rem;
	top: 2px;
}
header nav:not(.nav02) ul:nth-of-type(1) {
	width: 100%;
	display: flex;
	gap: 3rem;
	justify-content: flex-end;
	padding-right: 6rem;
}
header nav:not(.nav02) ul:nth-of-type(1) li{}
header nav:not(.nav02) ul:nth-of-type(1) li a {
	border: solid 0.3rem #231815;
	padding: 0 3rem;
	display: block;
	overflow: hidden;
	position: relative;
	text-align: center;
	height: 5rem;
	margin: 3rem auto 2rem;
	line-height: 4rem;
	border-radius: 50px;
	width: 30rem;
}
header nav:not(.nav02) ul:nth-of-type(1) li a span {
	position: relative;
	z-index: 3;
	font-size: 2rem;
	width: 100%;
	height: 100%;
	display: block;
	transition: 0.6s ease-in;
}
header nav:not(.nav02) ul:nth-of-type(1) li a::after {
	content: '';
	display: block;
	height: 100%;
	width: 0%;
	background: #231815;
	margin: 0 auto;
	transition: 0.6s ease-in;
	position: absolute;
	bottom: 0;
	right: -40%;
	z-index: 2;
	transform: skewX(40deg);
}
header nav:not(.nav02) ul:nth-of-type(1) li a:hover span,
header nav:not(.nav02) ul:nth-of-type(1) li a:hover{color:#fff;}
header nav:not(.nav02) ul:nth-of-type(1) li a:hover:after{width:calc(180%); right:auto; left:-40%;}
header nav:not(.nav02) ul:nth-of-type(1) li a::before {
	content: "";
	width: 3.5rem;
	height: 3.5rem;
	background: no-repeat center / 100%;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 2rem;
	margin: auto;
	z-index: 3;
	transition: .7s ease-out;
}
header nav:not(.nav02) ul:nth-of-type(1) li:nth-of-type(1) a::before {background-image:url(https://john-na-run.com/site/wp-content/themes/john-na-run/assets/images/common/h-icon_mail_on.png);}
header nav:not(.nav02) ul:nth-of-type(1) li:nth-of-type(2) a::before {background-image:url(https://john-na-run.com/site/wp-content/themes/john-na-run/assets/images/common/h-icon_text_on.png);}
header nav:not(.nav02) ul:nth-of-type(2) {
	width: 90%;
	display: flex;
	gap: 3rem;
	justify-content: flex-end;
	padding-right: 6rem;
	margin: 0 0 0 auto;
}
header nav:not(.nav02) ul:nth-of-type(2) li {
	width: auto;
}
header nav:not(.nav02) ul:nth-of-type(2) li a {
	position: relative;
	display: block;
	width: 100%;
	text-align: center;
	height: 4rem;
	padding: 0 5rem 0 3rem;
}
header nav:not(.nav02) ul:nth-of-type(2) li a::after {
	content: "";
	height: 1px;
	width: 0%;
	background: #231815;
	margin: 0 auto;
	transition: 0.4s ease-in;
	bottom: 0;
	right: 0;
	position: absolute;
}
header nav:not(.nav02) ul:nth-of-type(2) li a:hover:after{width:calc(100%); right:auto; left:0%;}
header nav:not(.nav02) ul:nth-of-type(2) li a span {
	position: relative;
}
header nav:not(.nav02) ul:nth-of-type(2) li a span::before {
	content: "";
	background: url(https://john-na-run.com/site/wp-content/themes/john-na-run/assets/images/common/h-icon_arrow.png) no-repeat center / 100%;
	width: 2rem;
	height: 1.5rem;
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	right: -3rem;
}
header nav.nav02 {
	width: calc(100% - 20rem);
	display: flex;
	align-items: center;
	position: fixed;
	top: 0;
	right: 0;
	background: rgb(255,255,255,.9);
	box-shadow: 1rem 0 .7rem #000;
	z-index: 15;
	transform: translate(0 , -30rem);
	transition: .7s ease-out;
	justify-content: center;
}
header nav.nav02.fixedHeader {transform: translate(0 , 0);}
header nav.nav02 h1 {
	width: 20rem;
	position: absolute;
	background: rgba(255,255, 255 , .9);
	padding: 1rem;
	top: 0;
	border-radius: 0 0 3rem 0;
	left: -20rem;
	box-shadow: -1rem 0 0.9rem #000;
}
header nav.nav02 h1 a{}
header nav.nav02 h1 a img{
	transition: .5s ease-in-out;
	transform: rotate(0);
	}
header nav.nav02 h1:hover a img{
	transform: rotate(-15deg);
	}
header nav.nav02 form {
	border: #231815 1px solid;
	position: relative;
	margin: 1rem 0 1rem 5rem;
	display: block;
	width: 40rem;
	height: 5rem;
	border-radius: .8rem;
}
header nav.nav02 form label[for="search-form-1"] {
	display: none;
}
header nav.nav02 form input[type="search"] {
	position: absolute;
	border: none;
	width: 100%;
	padding: .5rem 5rem .5rem 2rem;
	background: none;
	height: 100%;
}
header nav.nav02 form input[type="submit"] {
	background: url(https://john-na-run.com/site/wp-content/themes/john-na-run/assets/images/common/h-icon_search.png) no-repeat center / 100%;
	position: absolute;
	right: 1rem;
	top: 0;
	width: 4rem;
	height: 4rem;
	bottom: 0;
	margin: auto;
	font-size: 0;
	border: none;
}
header nav.nav02 ul {
	gap: 2rem;
	padding-right: 2rem;
	justify-content: flex-end;
	width: 100%;
}
header nav.nav02 ul li{}
header nav.nav02 ul li a {
	position: relative;
	display: block;
	width: 100%;
	text-align: center;
	height: 4rem;
	padding: 0 5rem 0 3rem;
}
header nav.nav02 ul li a:after {
	content: "";
	height: 1px;
	width: 0%;
	background: #231815;
	margin: 0 auto;
	transition: 0.4s ease-in;
	bottom: 0;
	right: 0;
	position: absolute;
}
header nav.nav02 ul li a:hover:after{width:calc(100%); right:auto; left:0%;}
header nav.nav02 ul li a span {
	position: relative;
	font-size: 1.7rem;
}
header nav.nav02 ul li a span::before {
	content: "";
	background: url(https://john-na-run.com/site/wp-content/themes/john-na-run/assets/images/common/h-icon_arrow.png) no-repeat center / 100%;
	width: 2rem;
	height: 1.5rem;
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	right: -3rem;
}


/*============ フッター 調整用　==============*/

footer {
	width: 100%;
}
footer section.fWrap {
	display: flex;
	justify-content: center;
	gap: 5rem;
	align-items: flex-start;
	padding: 8rem 0 3rem;
	width: min(100% , 150rem);
	margin: auto;
	position: relative;
}
footer section.fWrap h1 {
	width: 30rem;
}
footer section.fWrap nav{}
footer section.fWrap nav ul {
	gap: 1rem 2rem;
	padding-right: 2rem;
	justify-content: flex-end;
	width: 100%;
}
footer section.fWrap nav ul li{}
footer section.fWrap nav ul li a {
	position: relative;
	display: block;
	width: 100%;
	text-align: center;
	height: 4rem;
	padding: 0 5rem 0 3rem;
}
footer section.fWrap nav ul li a:after {
	content: "";
	height: 1px;
	width: 0%;
	background: #231815;
	margin: 0 auto;
	transition: 0.4s ease-in;
	bottom: 0;
	right: 0;
	position: absolute;
}
footer section.fWrap nav ul li a:hover:after{width:calc(100%); right:auto; left:0%;}
footer section.fWrap nav ul li a span {
	position: relative;
	font-size: 1.5rem;
}
footer section.fWrap nav ul li a span::before {
	content: "";
	background: url(https://john-na-run.com/site/wp-content/themes/john-na-run/assets/images/common/h-icon_arrow.png) no-repeat center / 100%;
	width: 2rem;
	height: 1.5rem;
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	right: -3rem;
}
footer small {
	display: block;
	text-align: right;
	width: min(100% , 150rem);
	margin: auto;
	position: absolute;
	bottom: 2rem;
}
footer small,
footer small a{
	font-size: 1.5rem;
}
p.toLink {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 12;
	width: 8rem;
	border-radius: 1rem;
	overflow: hidden;
	padding: 1rem;
	transition: .2s;
}

p.toLink a{}
p.toLink a img {
	position: relative;
	z-index: 2;
	transition: .3s ease-out;
	transform: rotate(0deg);
}
p.toLink a:hover img {
	transform: rotate(-3deg);
}
p.toLink a::after {
	content: "";
	opacity: 0;
	background: rgba(255,255,255,.8);
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	transition: .3s ease-in;
}
p.toLink a:hover:after{opacity:1;}

/*============ スマホページ 調整用　==============*/

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

div.bbc {
	background: rgba(00,00,00,.5);
	width: 100vw;
	height: 120vh;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 13;
	transform: translate(0,-200vh);
	transition: .4s ease-out;
}
.open div.bbc{transform: translate(0,0);}

/*============ ヘッダー 調整用　==============*/

header > div.issue {
	left: 66vw;
	top: 2px;
}

header nav.nav02 {
	width: 100%;
	display: flex;
	align-items: center;
	position: fixed;
	top: 0;
	right: 0;
	background: rgb(255,255,255,.9);
	transform: translate(0 , -100vh);
	box-shadow: 1rem 0 .7rem #000;
	z-index: 15;
	transition: .7s ease-out;
	justify-content: center;
	flex-wrap: wrap;
	padding: 16vw 3vw 6vw 25rem;
}

.open header nav.nav02,
.open header nav.nav02.fixedHeader {
	transform: translate(0 , 0);
}
header nav.nav02.fixedHeader {
	transform: translate(0 , -100vh);
}
header nav.nav02 h1 {
	width: 25rem;
	position: absolute;
	background: none;
	padding: 1rem;
	top: 0;
	border-radius: 0 0 3rem 0;
	left: 2rem;
	box-shadow: none;
	bottom: 0;
	margin: auto;
	height: 17rem;
	animation: moved7 10s linear infinite;
}

@keyframes moved7 {
	from {transform:translate(0 , 0) rotate(0);}
	33% {transform:translate(0 , -46vw) rotate(5deg);}
	66% {transform:translate(0 , 46vw) rotate(-63deg);}
	to {transform:transform:translate(0 , 0) rotate(0);}
	}
header nav.nav02 form {
	border: #231815 1px solid;
	position: relative;
	margin: 1rem 0 1rem 5rem;
	display: block;
	width: 70vw;
	height: 10vw;
	border-radius: .8rem;
}
header nav.nav02 form input[type="search"] {
	position: absolute;
	border: none;
	width: 100%;
	padding: .5rem 10vw .5rem 2rem;
	background: none;
	height: 100%;
	font-size: 3vw;
}
header nav.nav02 form input[type="submit"] {
	right: 1rem;
	top: 0;
	width: 7vw;
	height: 7vw;
}
header nav.nav02 ul {
	gap: 3vw;
	padding-right: 0;
	justify-content: flex-end;
	width: 95%;
	margin: 0 0 0 auto;
}
header nav.nav02 ul li {
	width: 100%;
	height: 10vw;
}
header nav.nav02 ul li a {
	position: relative;
	display: block;
	width: 100%;
	text-align: left;
	height: 100%;
	padding: 0 10vw 0 8vw;
	line-height: 10vw;
}
header nav.nav02 ul li a::after {
	width: 100%;
}
header nav.nav02 ul li a span {
	position: relative;
	font-size: 3.5vw;
}
header nav.nav02 ul li a span::before {
	content: "";
	width: 4vw;
	height: 3vw;
	margin: auto;
	right: -9vw;
}
header div.menu {
	width: 12rem;
	height: 12rem;
	position: fixed;
	right: 2rem;
	top: 2rem;
	z-index: 15;
	margin: auto;
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
}
header div.menu #menuButton {
	overflow: hidden;
	display: block;
	position: relative;
	z-index: 0;
	width: 21rem;
	height: 100%;
	cursor: pointer;
	top: 0;
	left: 0;
	margin: auto;
	background: rgba(255,255,255,.8);
	padding: 0;
	box-sizing: border-box;
}

header div.menu.menuActive #menuButton {background:none;}
header div.menu #menuButton span,
header div.menu #menuButton:before,
header div.menu #menuButton:after{
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 85%;
	height: 1rem;
	margin: auto;
	-webkit-transition: .1s ease-in-out;
	transition: all 1s;
	border-radius: 5rem;
	background: #ED6E9F;
	background: #ea5228;
	left: 0;
	right: 0;
}

header div.menu #menuButton span{
	overflow: hidden;
	z-index: 1;
	color: #fff;
}

header div.menu #menuButton::before {
	z-index: 2;
	transform: rotate(0deg);
	top: 8rem;
	content: "";
}
header div.menu #menuButton::after {
	z-index: 2;
	transform: rotate(0deg);
	top: -8rem;
	content: "";
}

header div.menu #menuButton span{
	transform:rotate(0deg) translateX(0px);
}

header div.menu #menuButton:before,
header div.menu #menuButton:after{
	transition: transform 500ms;
}

header div.menu.menuActive #menuButton span {
	transform:rotate(90deg) translateX(-200px);
	top: 0;
}

header div.menu.menuActive #menuButton::before {
	transform: rotate(-585deg);
	top: 0;
}
header div.menu.menuActive #menuButton::after {
	transform: rotate(1125deg);
	top: 0;
}




/*============ フッター 調整用　==============*/
footer {
	width: 100%;
}
footer section.fWrap {
	margin: auto;
	position: relative;
	flex-wrap: wrap;
	padding-bottom: 25vw;
}
footer section.fWrap h1 {
	width: 40rem;
}
footer section.fWrap nav ul {
	gap: 0;
	padding-right: 0;
	justify-content: flex-start;
	width: 100%;
}
footer section.fWrap nav ul li {
	width: 50%;
}
footer section.fWrap nav ul li a {
	position: relative;
	display: block;
	width: 100%;
	text-align: left;
	height: 100%;
	padding: 0 10vw 0 8vw;
	line-height: 10vw;
}
footer section.fWrap nav ul li a:after {
	width: 100%;
}
footer section.fWrap nav ul li a span {
	position: relative;
	font-size: 3.5vw;
}
footer section.fWrap nav ul li a span::before {
	content: "";
	width: 4vw;
	height: 3vw;
	margin: auto;
	right: -9vw;
}
footer small{
	padding-right: 11vw;
}
footer small, footer small a {
	font-size: 2.5vw;
}
p.toLink {
	width: 10vw;
	padding: 1rem;
	background: rgba(255,255,255,.8);
}


}