@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap');
/*
===================================================
--Table of contents--
0.base format
1-1.header area
1-2.footer area
1-3.Go to page top
1-4.Go to English page
1-5.Contents Page
2./motor sport/index.html
2-1.MOTORSPORT contents area
===================================================
*/
/*
===================================================
0.base format
===================================================
*/
html {
  font-size: 62.5%; /*62.5%=10px*/
}
body {
  font-size: 1.6rem; /*16px*/
  color: #333;
  background: #fff;
  font-family: "Meiryo", sans-serif;
}
header, footer, h1, h2, h3, ol, ul, li, form, input, p, div {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
/*
------------------------------------
1-1.header area
------------------------------------
*/
.headA {
  width: 100%;
}
.headA h1 {
  width: 200px;
  float: left;
}
.search {
  width: 445px;
  float: right;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.search li {
  display: inline-block;
  font-size: 2.8rem;
  padding-right: 15px;
}
.search li a {
  color: #333;
  transition: all 300ms 0s ease;
}
.search li a:hover {
  opacity: 0.7;
}
.srch-b {
  background: #fff;
  border: solid 1px #333;
  color: #333;
  padding: 8px;
  border-radius: 5px;
  width: 200px;
  margin-right: 5px;
}
.s-btn {
  padding: 8px 12px;
  background: #009245;
  border-radius: 3px;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: all 300ms 0s ease;
}
.s-btn:hover {
  opacity: 0.7;
}
.submenu {
  float: left;
  width: 100%;
  box-sizing: border-box;
  font-family: 'Noto Sans JP', sans-serif;
}
.submenu ul {
  float: right;
}
.submenu li {
  display: inline-block;
  padding: 0 10px;
  border-right: solid 1px #333;
  font-size: 1.2rem;
}
.submenu li:last-child {
  border-right: none;
}
.submenu li a {
  color: #333;
  text-decoration: none;
  transition: all 300ms 0s ease;
}
.submenu li a:hover {
  opacity: 0.7;
}
li.large {
  font-size: 2.0rem;
  font-weight: bold;
}
.mainmenu1 {
  float: left;
  width: 100%;
  margin-top: 8px;
  font-family: 'Noto Sans JP', sans-serif;
}
.mainmenu1 ul {
  float: left;
  width: inherit;
}
.mainmenu1 li {
  width: calc(100% / 4);
  float: left;
  box-sizing: border-box;
  text-align: center;
  border-right: solid 1px #fff;
  background: #009245;
  transition: all 300ms 0s ease;
}
.mainmenu1 li:last-child {
  border-right: none;
}
.mainmenu1 li:hover {
  opacity: 0.7;
}
.mainmenu1 a {
  text-decoration: none;
  color: #fff;
  display: block;
  padding: 10px 0;
}
.mainmenu2 {
  float: left;
  width: 100%;
  font-family: 'Noto Sans JP', sans-serif;
}
.mainmenu2 ul {
  float: left;
  width: inherit;
  padding: 10px 0;
}
.mainmenu2 li {
  width: calc(100% / 5);
  float: left;
  box-sizing: border-box;
  text-align: center;
  border-right: solid 1px #333;
  font-size: 1.4rem;
}
.mainmenu2 li:last-child {
  border-right: none;
}
.mainmenu2 a {
  color: #333;
  text-decoration: none;
  position: relative;
}
.mainmenu2 a::after {
  position: absolute;
  display: block;
  content: "";
  width: 0;
  height: 1px;
  background: #333;
  bottom: 0;
  left: 0;
  transition: all 300ms 0s ease;
}
.mainmenu2 a:hover::after {
  width: 100%;
}
/*
------------------------------------
1-2.footer area
------------------------------------
*/
.footer {
  float: left;
  width: 100%;
  margin-top: 30px;
  font-family: 'Noto Sans JP', sans-serif;
}
.footer ul {
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  background: #009245;
}
.footer li {
  font-size: 1.3rem;
}
.footer li a {
  color: #fff;
  text-decoration: none;
  transition: all 300ms 0s ease;
}
.footer li a:hover {
  opacity: 0.7;
}
.footer p {
  text-align: center;
  margin: 10px 0;
  font-size: 1.3rem;
  color: #A3A3A3;
}
/*
------------------------------------
1-3.Go to page top
------------------------------------
*/
main {
  position: relative;
  float: left;
}
.pagetop {
  display: none;
  position: fixed;
  bottom: 100px;
  right: 10px;
  border-radius: 50% 50%;
  height: 75px;
  width: 75px;
  background-color: #009245;
}
.pagetop::after {
  content: "";
  position: absolute;
  top: 40%;
  left: 28%;
  width: 25px;
  height: 25px;
  border: solid 4px;
  border-color: #fff #fff transparent transparent;
  transform: rotate(-45deg);
}
.pagetop:hover {
  opacity: .8;
}
/*
------------------------------------
1-4.Go to English page
------------------------------------
*/
p.trans {
  float: left;
  width: 50%;
  margin-top: 5px;
  font-weight: bold;
  font-size: 1.8rem;
}
p.trans a {
  color: #009245;
}
p.trans::before {
  content: "\f0a4";
  font-family: FontAwesome;
  display: inline-block;
  margin-right: 10px;
}
/*
------------------------------------
1-5.Contents Page
------------------------------------
*/
ul.sns-area {
  float: right;
  list-style-type: none;
}
ul.sns-area li {
  display: inline-block;
}
/*いいねボタンのソースコードの表示サイズ設定がされている場所　開発ツール上で確認*/
/*下にずれて表示されるfbボタンの位置を他のSNSボタンの位置と合わせる。*/
/*2020/12時点でタグのずれがなくなったので、設定解除*/
/*.fb_iframe_widget > span {
	vertical-align: baseline !important;
}*/
/*
===========================
2./motor sport/index.html
===========================
*/
#MSContent {
  width: 830px;
  margin: 20px auto 0;
}
#MSContent h2 {
  width: 750px;
  box-sizing: border-box;
  float: left;
  border-left: solid 10px #009245;
  padding-left: 20px;
  margin: 20px 0 15px 35px;
}
#MSContent h3 {
  width: 100%;
  float: left;
  margin-top: 50px;
  border-left: solid 10px #009245;
  padding-left: 5px;
}
#MSContent h4 {
  width: 100%;
  float: left;
  font-size: 1.6rem;
  box-sizing: border-box;
  padding-left: 10px;
  margin-top: 10px;
  background: linear-gradient(rgba(137, 201, 151, 0) 50%, #89c997 0%);
}
#MSContent h5 {
  float: left;
  width: 80%;
  padding: 0 10%;
  margin: 10px 0;
  font-size: 1.6rem;
  color: #009245;
}
#MSContent .breadcrumb {
  float: left;
  width: 100%;
  margin-top: 1em;
}
#MSContent .breadcrumb li {
  display: inline-block;
  font-size: 1.3rem;
  margin-right: 3px;
}
#MSContent .breadcrumb li::before {
  content: ">>";
}
#MSContent .breadcrumb li a {
  color: #009245;
}
#MSContent table td a {
  color: #009245;
}
.ms_discription {
  float: left;
  width: 830px;
}
.ms_discription img {
  display: inline-block;
}
.ms_discription p {
  text-align: center;
  margin-bottom: 20px;
}
.ms_linklist a {
  display: block;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}
.ms_linklist a:hover {
  opacity: 0.7;
}
ul.ms_linklist {
  float: left;
  width: 760px;
  margin-left: 30px;
  margin-right: 30px;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}
ul.ms_linklist li {
  background: #555;
  width: 49.3%;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-radius: 2px;
  position: relative;
}
.snsColor {
  color: #333;
}
/* 
------------------------------------
2-1.MOTORSPORT contents area
------------------------------------
*/
section.race_title {
  float: left;
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}
.ms_box_A {
  width: 48%;
  height: auto;
  box-sizing: border-box;
  border: solid 1px #C1E1C4;
  margin-top: 12px;
  float: left;
}
.ms_box_A p {
  position: relative;
  text-align: center;
  margin-top: 8px;
}
.ms_box_A p span {
  position: absolute;
  top: 85%;
  left: 85%;
  color: #fff;
  font-size: 0.9em;
}
.ms_box_A img {
  display: inline;
}
.ms_box_A table {
  width: 100%;
  box-sizing: border-box;
  font-size: 14px;
  margin-bottom: 8px;
}
.ms_box_A th {
  text-align: left;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 4px;
  border-bottom: 1px dotted #C1E1C4;
  width: 25%;
  font-weight: bold;
}
.ms_box_A td {
  padding: 4px 0;
  border-bottom: 1px dotted #C1E1C4
}
.ms_box_A td::before {
  content: ":";
}
.no_photo {
  width: 364px;
  height: 222px;
  margin: 4px;
  display: table;
  text-align: center;
  background: #C1E1C4;
  opacity: 0.5;
}
.no_photo p {
  display: table-cell;
  vertical-align: middle;
  font-weight: bold;
  font-size: 16px;
}
.make_bottom_space {
  margin-bottom: 50px;
}
.past_photo {
  position: relative;
}
.past_photo p {
  position: absolute;
  top: 90%;
  left: 88%;
  color: #fff;
  font-weight: bold;
}
.splus {
	position: absolute;
	top: 80%;
	left: 85%;
	color: #fff;
}

p.past {
	position: relative;
}
p.past::before {
	content: "2021";
	background: #333;
	color: #fff;
	font-weight: bold;
	position: absolute;
	top: 85%;
	left: 5%;
}