@charset "utf-8";

img {
	-webkit-backface-visibility: hidden;
}
main {
    display: block;
}
body {
    font-family: 'Noto Sans JP', sans-serif;
}

/*===============================================
●画面の横幅が769px以上
===============================================*/
@media screen and (min-width : 769px ){
#pc------------------------------------------- {
}
.sp {
	display: none!important;
}
a {
	transition: 0.5s ;
	-webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
a img:hover {
	opacity: 0.6;
	transition: 0.5s ;
}
header.pc {
    padding-top: 10px;
    padding-bottom: 10px;
    position: fixed;
    left: 0px;
    right: 0px;
    top: 0px;
    width: 100%;
    z-index: 999999;
    transition: 0.5s ;
}
header.sc {
    background-color: #fff;
    transition: 0.5s ;
    position: fixed;
    top: 0px;
}
header .inner {
    width: 1140px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
	display: -webkit-flex; /* Safari */
    display: -ms-flexbox;
	justify-content: space-between;
	-webkit-justify-content: space-between; /* Safari */
    -ms-flex-pack: justify;
    align-items: center;
}
header .inner h1 a+a {
    display: inline-block;
    padding-top: 12px;
    margin-left: 15px;
}
header .inner nav ul {
    display: flex;
	display: -webkit-flex; /* Safari */ 　
    display: -ms-flexbox;
    flex-wrap: wrap;
	-webkit-flex-wrap: wrap; /* Safari */
    justify-content: flex-end;
}
header .inner nav ul li {
    font-size: 15px;
}
header .inner nav ul li img {
    position: relative;
    left: 3px;
    margin-top: -3px;
}
header .inner nav ul+ul li {
    font-size: 17px;
}
header .inner nav ul+ul li+li {
    margin-left: 20px;
}
header .inner nav ul li a {
    color: #000;
    text-decoration: none;
}
header .inner nav ul:first-child li+li {
    margin-left: 15px;
}
header .inner nav ul:first-child li img {
    position: relative;
    top: 7px;
}
.gnavi li a{
	position: relative;
}
.gnavi li.current a,
.gnavi li a:hover{
	color:#000;
}
.gnavi li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    /*線の形状*/
    width: 80%;
    height: 1px;
    background:#000;
    transition: all .3s;
    transform: scale(0, 1);/*X方向0、Y方向1*/
    transform-origin: center top;/*上部中央基点*/
}
.gnavi li.current a::after,
.gnavi li a:hover::after {
    transform: scale(1, 1);/*X方向にスケール拡大*/
}
footer {
    background-color: #F2F2F2;
    margin-top: 100px;
}
footer .inner {
    width: 1040px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
	display: -webkit-flex; /* Safari */
    display: -ms-flexbox;
	justify-content: space-between;
	-webkit-justify-content: space-between; /* Safari */
    -ms-flex-pack: justify;
    text-align: left;
    padding-top: 20px;
    padding-bottom: 20px;
}
footer .inner h2 {
    font-size: 19px;
    margin-bottom: 2px;
}
footer .inner div li {
    font-size: 14px;
}
footer nav ul {
    display: flex;
	display: -webkit-flex; /* Safari */ 　
    display: -ms-flexbox;
    flex-wrap: wrap;
	-webkit-flex-wrap: wrap; /* Safari */
    justify-content: flex-end
}
footer nav ul li a {
    color: #000;
    text-decoration: none;
}
footer nav ul li a:hover {
    text-decoration: underline;
}
footer nav ul:first-child li {
    font-size: 16px;
    margin-left: 15px;
}
footer nav ul+ul {
    margin-top: 5px;
}
footer nav ul+ul li {
    font-size: 14px;
    margin-left: 15px;
}
footer nav ul+ul li img {
    position: relative;
    top: 5px;
    left: 2px;
}
footer p small {
    display: block;
    background-color: #fff;
    padding-top: 15px;
    padding-bottom: 15px;
}
#contactbtn {
    position: fixed;
    right: -1px;
    bottom: 40px;
    z-index: 9999;
    opacity: 0;
    transition: 0.3s;
}
#contactbtn.sc {
    opacity: 1;
    transition: 0.3s;
}
#contactbtn img:hover {
    opacity: 1;
    filter: brightness(1.4);
}
}


/*===============================================
●画面の横幅が768pxまで
===============================================*/
@media screen and (max-width:768px){
	
/*===============================================
●sp-tablet
===============================================*/
#sptablet------------------------------------------- {
}
img {
	max-width: 100%;
	height: auto;
	width /***/:auto;
}
header.pc {
    display: none!important;
}
.pc {
	display: none;
}

/* iOSでのデフォルトスタイルをリセット */
input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}
header {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    z-index: 999999;
    display: none;
    background-color: #fff;
}
header .inner {
	margin-right: auto;
	margin-left: auto;
	text-align: left;
	display: flex;
	display: -webkit-flex; /* Safari */
    display: -ms-flexbox;
	justify-content: space-between;
	-webkit-justify-content: space-between; /* Safari */
    -ms-flex-pack: justify;
}
header h1 {

}
header #gnavbtn {
    width: 50%;
}
#gnav{
	position: absolute;
	z-index: 1;
	display: none;
	width: 100%;
    background-color: #fff;
}
#gnav li img {
	width: 100%;
}
footer {
    margin-top: 20%;
    position: relative;
}
footer #pagetop {
    width: 12%;
    float: right;
    padding-right: 5%;
}
footer .inner {
    background-color: #F6F6F6;
    clear: both;
    text-align: left;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 5%;
    padding-bottom: 4%;
}
footer .inner h2 {
    font-size: 4vw;
    margin-bottom: 1%;
}
footer .inner h2+ul li {
    font-size: 3vw;
    line-height: 1.8em;
}
footer nav ul:first-child {
    display: flex;
	display: -webkit-flex; /* Safari */
    display: -ms-flexbox;
	justify-content: space-between;
	-webkit-justify-content: space-between; /* Safari */
    -ms-flex-pack: justify;
    margin-top: 3%;
}
footer nav ul li {
    font-size: 3vw;
}
footer nav ul li a {
    color: #000;
    text-decoration: none;
}
footer nav ul+ul {
    display: flex;
	display: -webkit-flex; /* Safari */ 　
    display: -ms-flexbox;
    flex-wrap: wrap;
	-webkit-flex-wrap: wrap; /* Safari */
}
footer nav ul+ul li img {
    position: relative;
    top: 8px;
}
footer nav ul+ul li {
    margin-right: 3%;
}
footer p small {
    font-size: 2vw;
}
#contactbtn {
    position: fixed;
    bottom: 0px;
    z-index: 9999;
    opacity: 0;
    transition: 0.3s;
}
#contactbtn.sc {
    opacity: 1;
    transition: 0.3s;
}
#contactbtn.none {
    opacity: 0!important;
}
}



/*===============================================
●画面の横幅が400pxまで
===============================================*/
@media screen and (max-width:400px){
/*===============================================
●sp400
===============================================*/
#sp400------------------------------------------- {
}
}



/*===============================================
●画面の横幅が320pxまで
===============================================*/
@media screen and (max-width:320px){
/*===============================================
●sp320
===============================================*/
#sp320------------------------------------------- {
}
}



/*===============================================
●画面の横幅が481pxから768pxまで
===============================================*/
@media screen and (min-width:481px) and (max-width:768px) {
/*===============================================
●tablet
===============================================*/
#tab------------------------------------------- {
}
.sp.tab {
	display: none;
}
}
