@charset "utf-8";

/* import CSS
-----------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");

@import url("animation.css");
@import url("inview.css");
@import url("menuDrower-right.css");


html{
  scroll-behavior: smooth;
}

/* page style 
=============================================================================*/
#container {
	width: 100%;
	position: relative;
}
header {
	width: 100%;
  height: 100px;
}
#content {
	width: 85%;
  margin: 0 auto;
}
main {
	width: 100%;
  margin: 0 auto;
  margin-top: 120px;
}
footer {
	width: 100%;
}


/* header
-----------------------------------------*/
.header_wrap {
  display: flex;
  justify-content: space-between;
}
h1.logo {
width: 40%;
margin-left:80px ;
}
h1.logo img { 
width: 100%;
}
/* mewnu */
.pc_menu {
  width: 40%;
  height: 30px;
  position: absolute;
  top: 0;
  right: 50px;
  z-index: 903;
}
.pc_menu ul li {
  width: 110px;
  float: left;
  margin-left: 5px;
  list-style: none;
  line-height: 1.5rem;
  text-align: center;
  font-size: 90%;
  border-bottom: #0C7789 3px solid;
}
.pc_menu ul li a {
  color: #333;
}
.pc_menu ul li:hover {
  border-bottom: orange 3px solid;
}

/*mainブロック設定
---------------------------------------------------------------------------*/
main h2 {
	position: relative;
	color: #333;
	font-size: 2.8rem;
	letter-spacing: 0.2em;
	margin: 0 20px 30px;
	line-height: 1.5;
  text-align: center;
}
h2 .small {
	display: block;
	font-size: 0.4em;
}
main h3 {
	position: relative;
	font-size: 1.8rem;
	margin: 0 20px 30px;
}
main h4 {
  width: 100%;
	font-size: 1.8rem;
	margin: 0;
}
main section {
	max-width: 70%;
	margin: 0 auto;
}
main p {
	margin: 0;
}

/*微調整*/
main h2 + p,main h3 + p {
	margin-top: -10px;
}

/* main bunner */
.bunner {
text-align: center;
}
.bunner img {
	margin-bottom: 50px;
	border-radius: 5px;
	margin: 0 auto;
	margin-bottom: 80px;
}

@media screen and (max-width:800px) {	/* 横幅800px以下 */

  .home_link {
    width: 90%;
  }
  .home_link ul li {
    height: 80px;
    padding: 8px 5px;
  }
 
  .home_link ul li img {
    width: 110px;
    height: 80px;
    margin-right: 10px;
  }

  h1.logo {
    position: absolute;
    top: -15px;
    left: 3%;
		width: 70%;
		margin-left:20px ;
	}
  .pc_menu {
    display: none;
  }
	#content {
		width: 95%;
	}
	main section {
		width: 100%;
	}
}


/* 新着情報 */
.news #content {
  width: 840px;
  margin: 50px auto;
  display: flex;
  flex-direction: row;
}
.news aside {
  width: 150px;
  margin-right: 10px;
}
.news main {
  min-height: calc(100vh - 137px - 110px - 63px);
  width: calc(840px - 150px);
  margin: 0;}
ul.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.category-list li.button {
  width: 130px;
  height: 44px;
  display: inline-block;
  background-color: #007bff;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;/* 新着情報 */
.news #content {
  width: 840px;
  margin: 50px auto;
  display: flex;
  flex-direction: row;
}
.news aside {
  width: 150px;
  margin-right: 10px;
}
.news main {
  min-height: calc(100vh - 137px - 110px - 63px);
  width: calc(840px - 150px);
  margin: 0;}
ul.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.category-list li.button {
  width: 130px;
  height: 44px;
  display: inline-block;
  background-color: #007bff;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  margin: 3px;
  cursor: pointer;
  box-shadow: 3px 3px 10px 1px rgba(0, 0, 0, .5);
  transition: background-color 0.3s;
}
ul.category-list li.button:hover {
  background-color: #0056b3;
}


  margin: 3px;
  cursor: pointer;
  box-shadow: 3px 3px 10px 1px rgba(0, 0, 0, .5);
  transition: background-color 0.3s;
}
ul.category-list li.button:hover {
  background-color: #0056b3;
}

