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

@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%;
	padding: 1rem 0 5rem;
	display: flex;
	justify-content: space-between;
	z-index: 11;
	position: relative;
	align-items: center;
	gap: 5rem;
}
header h1 {
	width: 28rem;
	margin-left: 2rem;
}
header h1 a{}
header h1 a img{}
header nav:not(.nav02) {
	width: 125rem;
	margin: 0 0 0 auto;
	padding: 1rem 0;
	position: absolute;
	bottom: 0;
	right: 0;
	background: rgba(255,255,255,.8);
}
header nav.nav02 {
	width: 100%;
	transition: .8s ease-out;
	transform: translate(0 , -10vh);
	top: 0;
	bottom: initial;
	position: fixed;
	z-index: 10;
	background: rgba(255,255,255,.9);
	box-shadow: 0 .5rem .5rem #666;
	left: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 1rem 7rem;
	align-items: center;
}
header nav.nav02.fixedHeader {
	transform: translate(0 , 0);
}

header nav.nav02 h1 ,
header nav.nav02.fixedHeader h1 {
	width: 20rem;
}
header nav.nav02.fixedHeader h1{transform: translate(0 , 0);}
header nav:not(.nav02) ul.fe {
	gap: 5rem;
	justify-content: center;
}
header nav.nav02 ul {
	width: min(100% , 120rem);
	margin: 0 0 0 auto;
	gap: 1rem;
	padding: 1rem 0;
}
header nav ul li {
	width: calc(calc(100% - calc(1rem * 4))/5);
}
header nav.nav02 ul li {
	width: auto;
}
header nav ul{}
header nav ul li {
	width: auto;
}
header nav ul li a {
	width: 100%;
	height: 4.5rem;
	text-decoration: none;
	text-align: center;
	border-radius: .5rem;
	transition: .4s ease-in-out;
	position: relative;
	overflow: hidden;
	display: block;
	padding: .5rem 3rem;
}
header nav.nav02 ul li a {
	height: 4.5rem;
}
header nav ul li a span {
	color: #000;
	position: relative;
	font-weight: 300;
	font-size: 1.8rem;
	line-height: 1;
	transition: .4s ease-out;
}
header nav.nav02 ul li a span {font-size:1.8rem;}
header nav ul li a::before {
	content: '';
	display: block;
	height: 100%;
	width: 0;
	background:#2597df;
	margin: 0 auto;
	transition: 0.8s;
	position: absolute;
	top: 0;
	right: -40%;
	transform: skewX(60deg);
}
header nav ul li a:hover:before{width:180%; left:-40%; right:auto;}
header nav ul li a:hover span {color:#fff;}
header > a.telBtn {
	transition: .2s ease-in;
	padding-left: 3rem;
	position: relative;
	display: block;
	margin-left: auto;
	line-height: 1.4;
}
header > a.telBtn span{
	display: block;
	font-size: 1rem;
}
header > a.telBtn::before {
	content: "";
	background: url(https://koushin-kagawa.com/site/wp-content/themes/koushin/assets/images/common/h-icon_tel.png) no-repeat left bottom / 100% auto;
	width: 2rem;
	height: 2rem;
	position: absolute;
	left: 0;
	top: -1.5rem;
	bottom: 0;
	margin: auto;
}
header > a.contactBtn {
	background: #2597df;
	padding: 0 3rem 0 8rem;
	display: block;
	overflow: hidden;
	position: relative;
	text-align: center;
	height: 5rem;
	margin: 0 6rem 0 0;
	width: 24rem;
	border-radius: .5rem;
}
header > a.contactBtn span {
	position: relative;
	z-index: 3;
	font-size: 2rem;
	width: 100%;
	height: 100%;
	display: block;
	transition: 0.6s ease-in;
	line-height: 4.5rem;
	color: #fff;
}
header > a.contactBtn::before {
	content: "";
	background: url(https://koushin-kagawa.com/site/wp-content/themes/koushin/assets/images/common/h-icon_mail.png) no-repeat left bottom / 100% auto;
	width: 3.6rem;
	height: 3rem;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 3rem;
	margin: auto;
}
header > a.contactBtn:after {
	content: '';
	display: block;
	height: 100%;
	width: 0%;
	background: rgba(255,255,255,.1);
	margin: 0 auto;
	transition: 0.6s ease-in;
	position: absolute;
	bottom: 0;
	right: -40%;
	z-index: 2;
	transform: skewX(40deg);
}
header > a.contactBtn:hover span,
header > a.contactBtn:hover{color:#fff;}
header > a.contactBtn:hover:after{width:calc(180%); right:auto; left:-40%;}



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

footer {
	width: 100%;
	background: #222222;
}
footer section.fWrap {
	width: min(100% , 150rem);
	margin: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 5rem;
}
footer section.fWrap dl {
	width: 100%;
	padding: 7rem 0 4rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 5rem;
}
footer section.fWrap dl dt {
	width: 50%;
}
footer section.fWrap dl dt h1 {
	width: 100%;
}
footer section.fWrap dl dt h1 a {
	color: #fff;
	font-size: 1.7rem;
	letter-spacing: 1px;
}
footer section.fWrap dl dt h1 img {
	width: 20rem;
	display: block;
}
footer section.fWrap dl dt address {
	font-size: 2rem;
	color: #fff;
	margin: 2rem auto;
}
footer section.fWrap dl dt address span,
footer section.fWrap dl dt address a {
	font-size: 1.7rem;
	color: #fff;
}
footer section.fWrap dl dt address span + span {
	margin-left: 6rem;
}
footer section.fWrap dl dd {
	width: calc(50% - 5rem);
}
footer section.fWrap dl dd nav {
	width: 100%;
}
footer section.fWrap dl dd nav ul {
	gap: 2rem;
}
footer section.fWrap dl dd nav ul li {
	width: calc(calc(100% - 4rem) / 3);
}
footer section.fWrap dl dd nav ul li a {
	width: 100%;
	height: 5rem;
	color: #fff;
	text-decoration: none;
	text-align: center;
	line-height: 5rem;
	border-radius: .5rem;
	transition: .4s ease-in-out;
	position: relative;
	overflow: hidden;
	display: block;
}
footer section.fWrap dl dd nav ul li a span {
	color: #fff;
	position: relative;
	font-weight: 300;
	font-size: 2rem;
	line-height: 1;
}
footer section.fWrap dl dd nav ul li a:before {
	content: '';
	display: block;
	height: 100%;
	width: 0;
	background: rgba(255,255,255,.1);
	margin: 0 auto;
	transition: 0.8s;
	position: absolute;
	top: 0;
	right: -30%;
	transform: skewX(60deg);
}
footer section.fWrap dl dd nav ul li a:hover:before{width:160%; left:-30%; right:auto;}
footer section.fWrap dl dd nav ul li a::after {
	content: "";
	background: url(https://koushin-kagawa.com/site/wp-content/themes/koushin/assets/images/common/f-icon_arrow.png) no-repeat left bottom / 100% auto;
	width: 1rem;
	height: 1rem;
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	right: 3rem;
}
footer small {
	display: block;
	text-align: center;
	padding-bottom: 3rem;
}

footer small,
footer small a {
	font-size: 2rem;
	color: #fff;
}


p.toLink {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 3;
	width: 13rem;
	border-radius: 1rem;
	overflow: hidden;
	padding: 1rem;
}

p.toLink a {
	background: #2597df;
	width: 100%;
	text-align: center;
	display: block;
	border-radius: 1rem;
	color: #fff;
	padding: 1rem 0;
	box-shadow: .2rem .2rem .9rem #000;
	transition: .3s ease-in;
}
p.toLink a:hover{opacity:.8;}

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

@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: 10;
	transform: translate(0,-200vh);
	transition: .4s ease-out;
}
.open div.bbc{transform: translate(0,0);}

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

header h1 {
	width: 45vw;
	margin-left: 5vw;
}

header nav.nav02.fixedHeader{transform: translate(0 , -100vh);}
.open header nav.nav02,
.open header nav.nav02.fixedHeader{transform: translate(0 , 0vh);}

header nav.nav02 {
	width: 100%;
	transition: .8s ease-out;
	transform: translate(0 , -100vh);
	top: 0;
	bottom: initial;
	position: fixed;
	z-index: 10;
	background: rgba(255,255,255,.9);
	box-shadow: 0 .5rem .5rem #666;
	left: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 15rem 0 6rem;
	align-items: center;
}

header nav.nav02 h1,
header nav.nav02.fixedHeader h1 {
	width: 50vw;
	padding: 0vw 7vw;
}

header nav.nav02 ul {
	width: min(100% , 120rem);
	margin: 0 0 0 auto;
	gap: 0;
	padding: 25vw 0 0;
}

header nav.nav02 ul li {
	width: 100%;
}

header nav.nav02 ul li a {
	width: 100%;
	height: 12vw;
	text-decoration: none;
	text-align: left;
	border-radius: .5rem;
	transition: .4s ease-in-out;
	position: relative;
	overflow: hidden;
	display: block;
	padding: .5rem 15vw;
	border-bottom: #999 solid 1px;
	line-height: 12vw;
}
header nav.nav02 ul li a span {
	font-size: 3.5vw;
}

header > a.telBtn {
	transition: .5s ease-in;
	padding-left: 6vw;
	position: fixed;
	display: block;
	margin-left: auto;
	line-height: 1.4;
	z-index: 11;
	top: 30vw;
	left: 10vw;
	transform: translate(-100vw , 0);
	font-size: 4vw;
}
header > a.contactBtn {
	height: 10vw;
	margin: auto;
	width: 36vw;
	border-radius: 1vw;
	transition: .5s ease-in;
	padding-left: 6vw;
	position: fixed;
	display: block;
	margin-left: auto;
	line-height: 10vw;
	z-index: 11;
	top: 30vw;
	right: 6vw;
	transform: translate(-100vw , 0);
	font-size: 4vw;
}

header > a.contactBtn span {
	position: relative;
	z-index: 3;
	font-size: 3vw;
	width: 100%;
	height: 100%;
	display: block;
	transition: 0.6s ease-in;
	color: #fff;
	line-height: 9vw;
}
header > a.contactBtn::before {
	width: 6vw;
	height: 5vw;
	left: 3vw;
}

header > a.telBtn::before {
	width: 5vw;
	height: 5vw;
}
header > a.telBtn span {
	display: block;
	font-size: 3vw;
}

.open header > a.telBtn,
.open header > a.contactBtn {
	transform: translate(0 , 0);
	}
header div.menu {
	width: 12vw;
	height: 12vw;
	position: fixed;
	right: 2vw;
	top: 2vw;
	z-index: 11;
	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: linear-gradient(90deg,rgba(0, 187, 249, 1) 0%, rgba(1, 98, 235, 1) 100%);
	padding: 0;
	box-sizing: border-box;
}

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: 2px;
	margin: auto;
	-webkit-transition: .1s ease-in-out;
	transition: all 1s;
	border-radius: 40px;
	background: #ED6E9F;
	background: #fff;
	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: 7vw;
	content: "";
}
header div.menu #menuButton::after {
	z-index: 2;
	transform: rotate(0deg);
	top: -7vw;
	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: translateX(-200px);
	top: 0;
}

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

header div.menu.menuActive #menuButton::after {
	transform: rotate(45deg);
	top: 0;
}





/*============ フッター 調整用　==============*/
footer {
	width: 100%;
	padding-bottom: 25vw;
}
footer section.fWrap dl dt {
	width: 100%;
	text-align: center;
}
footer section.fWrap dl dt h1 {
	width: 70vw;
	margin: auto;
}
footer section.fWrap dl dt h1 a {
	color: #fff;
	font-size: 3vw;
	letter-spacing: 1px;
}
footer section.fWrap dl dt h1 img {
	width: 40vw;
	display: block;
	margin: auto;
}
footer section.fWrap dl dt address {
	font-size: 3vw;
	color: #fff;
	margin: 5vw auto;
}
footer section.fWrap dl dt address span,
footer section.fWrap dl dt address a {
	font-size: 3vw;
	color: #fff;
}
footer section.fWrap dl dt address span {
	display: block;
}
footer section.fWrap dl dt address span + span {
	margin-left: 0;
}
p.toLink {
	width: 26rem;
	padding: 1rem;
}
footer section.fWrap dl dd {
	width: 100%;
}
footer section.fWrap dl dd nav ul {
	gap: 0;
}
footer section.fWrap dl dd nav ul li {
	width: 50%;
	border-bottom: 1px #555 solid;
}
footer section.fWrap dl dd nav ul li:nth-of-type(odd) {
	border-right: 1px #555 solid;
	}
footer section.fWrap dl dd nav ul li a {
	height: 12vw;
	line-height: 12vw;
	padding: 0 6vw;
	text-align: left;
}
footer section.fWrap dl dd nav ul li a span {
	font-size: 3vw;
}
footer section.fWrap dl dd nav ul li a::after {
	width: 2vw;
	height: 2vw;
	right: 3vw;
}
footer small, footer small a {
	font-size: 3vw;
	color: #fff;
}


}