/* ************************************************ 
 *	全体
 * ************************************************ */
body,div,pre,blockquote,ul,
form,fieldset,input,textarea,select,option, 
dl,dt,dd,ol,h1,h2,h3,h4,h5,h6,
embed,object {
	padding: 0;
	margin: 0;
	list-style: none;
}
img {
    vertical-align: 0;
    padding: 0;
    border: 0;
}
img{
	max-width: 100%;
	height: auto;
	width /***/:auto;
	}

img { -ms-interpolation-mode: bicubic; }

a:hover img {
    opacity: 0.8;
    filter: alpha(opacity=80);
    -moz-opacity: 0.8;
}

/* アンカースクロール */
html {
  scroll-behavior: smooth;
}


/* PC（1200px以上）でスマホ用要素(.sp)を隠す */
@media (min-width: 769px) {
  .sp {
    display: none !important;
  }
}

/* スマホ・タブレット（1199px以下）でPC用要素(.pc)を隠す */
@media (max-width: 768px) {
  .pc {
    display: none !important;
  }
}

body {
    font-family: "Noto Sans JP", serif;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 400;
	margin: 0;
	padding: 0;
	color: #000;
}
#wrapper {
    margin: 0;
    padding: 0;
}
#header {
    margin: 0;
    padding: unset;
    background-color: #FF0000;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}
#header h1 {
    margin: 0;
    padding: 10px;
    line-height: 0;
}
#header ul {
    margin: 0;
    padding: 80px 0 0 0;
    display: flex;
    flex-wrap: wrap;
}
#header li {
    margin: 0 0 0 25px;
    padding: 0;
}
#header a:link {
    color: #fff;
    text-decoration: none;    
}
#header a:visited {
    color: #fff;
    text-decoration: none;    
}
#header a:hover {
    color: #888;
    text-decoration: none; 
}
#gnav li:last-child img {
    max-height: 40px;
}
/* PC（1200px以上）でスマホ用要素(.sp)を隠す */
@media (min-width: 1150px) {
  .nosp {
    display: none !important;
  }
}

/* スマホ・タブレット（1199px以下）でPC用要素(.pc)を隠す */
@media (max-width: 1149px) {
  .nopc {
    display: none !important;
  }
}


/* フッター */
#footer {
    margin: 0;
    padding: 5% 0;
    background-color: #FF0000;
    color: #fff;
    text-align: center;
	line-height: 2.5em;
}
.footerBox {
    margin: 50px 5% 0;
    display: flex;
    flex-wrap: wrap;
	justify-content: space-between;
}
.footerBox ul {
    width: 48%;
    text-align: left;
    margin: 0;
}
.footerBox p {
    width: 100%;
    margin: 20px 0 0;
}
address {
    font-style: normal;
    padding: 5px 0;
    margin: 0 auto;
}
#footer a:link {
    color: #fff;
    text-decoration: none;    
}
#footer a:visited {
    color: #fff;
    text-decoration: none;    
}
#footer a:hover {
    color: #888;
    text-decoration: none;        
}

/* ページトップボタン */
#page-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 48px;
    height: 48px;
    background: #000;
    border-radius: 8px;
	display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9999;
}
/* 表示状態 */
#page-top.is-show {
    opacity: 1;
    visibility: visible;
}
/* 白い矢印 */
#page-top::before {
    content: '';
    width: 12px;
    height: 12px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(-45deg);
    margin-top: 4px;
}
/* ホバー */
#page-top:hover {
    opacity: 0.8;
}

a:link {
    color: #000;
    text-decoration: none;    
}
a:visited {
    color: #000;
    text-decoration: none;    
}
a:hover {
    color: red;
    text-decoration: none;
}

/************PC***************/
@media screen and (min-width: 768px){
	
body {
    font-family: "Noto Sans JP", serif;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 400;
	margin: 0;
	padding: 0;
	color: #000;
	}
#wrapper {
    margin: 0;
    padding: 0;
}
#header {
    margin: 0;
	padding: 10px 0;
    background-color: #FF0000;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}
#header h1 {
	margin:0 0 0 30px;
    padding: 0;
    line-height: 0;
}
#header ul {
	margin: 0 30px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
}
#header li {
    margin: 0 0 0 10px;
    padding: 0;
}
#header a:link {
    color: #fff;
    text-decoration: none;    
}
#header a:visited {
    color: #fff;
    text-decoration: none;    
}
#header a:hover {
    color: #888;
    text-decoration: none;
}
#gnav li:nth-of-type(7) {
    width: 30px;
}
#gnav li:nth-of-type(8) {
    width: 30px;
}


/* フッター */
#footer {
    margin: 0;
    padding: 4% 0 1% 0;
    background-color: #FF0000;
    color: #fff;
    text-align: center;
	line-height: 2.5em;
	}
.footerBox {
    max-width: 1200px;
    margin: 0 auto;
	padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
	}
.footerBox ul {
	width: 25%;
	text-align: left;
	margin: 50px 0;
    }
.footerBox li {
    line-height: 2.6;
	}
.footerBox p {
    width: 100%;
    margin: 0;
}
address {
    font-style: normal;
    padding: 5px 0;
    margin: 0 auto;
	}
#footer a:link {
    color: #fff;
    text-decoration: none;
	}
#footer a:visited {
    color: #fff;
    text-decoration: none;
	}
#footer a:hover {
    color: #888;
    text-decoration: none;
	}
a:link {
    color: #000;
    text-decoration: none;
	}
a:visited {
    color: #000;
    text-decoration: none;
	}
a:hover {
    color: red;
    text-decoration: none;
	}
}



