html {
  scroll-behavior: smooth;
}

body {
  -webkit-text-size-adjust: 100%;
}

#container {
  width: 900px;
  margin: 0 auto;
  text-align: left;
}

#container a:hover{
  text-decoration: none;
}

/*title*/

.title {
  margin-top: 20px;
}

.title img {
  width: 900px;
}

.title p {
  color: gray;
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.1em;
}

/*maintab*/
.maintab {
  width: 900px;
  margin: 0;
}

.maintab table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 10px;
  background: #800000;
  text-align: center;
}

.maintab table td {
  border: 1px solid #aaa;
  line-height: 3;
  letter-spacing: 2px;
  width: 200px;
}

.maintab table td a {
  color: #fff;
  display: block;
  width: 100%;
  height: 100%;
}

.maintab table td a:hover {
  color: #800000;
  background: #f5f5f5;
}


/*maintab2*/
.maintab2 p {
  text-align: right;
  padding: 0;
  margin: 0;
}

.markR a {
  background: #f7f7f7;
  display: inline-block;
  padding: 5px 20px;
  color: #d40000;
  border-left: 10px solid #d40000;
  margin: 5px 0;
  box-shadow: 2px 2px 2px #aaa;
}


/*contents*/
.contents {
  margin-bottom: 100px;
  width: 100%;
  font-size: initial;
}
.tabtitle {
  width: 900px;
}
.contents h2 {
  color: #936f4d;
  letter-spacing: 0.1em;
  border-top: 1px solid #936f4d;
  border-bottom: 1px solid #936f4d;
  font-family: serif;
  width: 100%;
}
.contents h3 {
  color: #936f4d;
  letter-spacing: 0.1em;
  border-top: 1px solid #936f4d;
  border-bottom: 1px solid #936f4d;
  font-family: serif;
  padding-left: 10px;
}
.contents h4 {
  color: #936f4d;
  letter-spacing: 0.1em;
  border-top: 1px solid #936f4d;
  border-bottom: 1px solid #936f4d;
  font-family: serif;
  padding-left: 10px;
}
.contents h5 {
  color: #936f4d;
  border-bottom: 1px solid #936f4d;
}


/*lineup*/
.lineup {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 100px;
  }
.lineup::after {
  display: block;
  content: "";
  width: 32%;
}

/*line3*/
.line3 {
  width: 32%;
  border: solid 1px #aaa;
  overflow: hidden;
  position: relative;
  margin-top: 10px;
  margin-bottom: 10px;
  background-color: #f5f5f5;
  font-feature-settings: "palt";
}

.line3 h5 {
  margin: 0 0 10px 0;
  font-weight: 100;
}
.line3 p {
  margin: 10px;
  text-align: justify;
}

.line3 p:last-of-type {
  margin-bottom: 100px;
}

.line3 img {
  display: block;
}

.center {
text-align: center;
}

/*detail*/
.detail {
  background: #800;
  text-align: center;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
}

.detail a {
  display: block;
  color: #fff;
  padding: 10px;
}



/*line2*/
.line2 {
  text-align: center;
  width: 49%;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}
.line2 h3 {
  text-align: center;
}
.line2 h4 {
  border-bottom: 1px solid #936f4d;
}
.line2 p {
  margin: 20px;
  text-align: justify;
}
.line2 table {
  border-collapse: collapse;
  border: solid 1px #aaa;
  margin: 20px auto;
  width: 100%;
  font-size: 0.9em;
}
.line2 th {
  background-color: #f5f5f5;
  border: solid 1px #aaa;
  padding: 5px;
  font-weight: 100;
}
.line2 td {
  border: solid 1px #aaa;
  border-bottom: solid 1px #aaa;
  background: #fff;
  padding: 5px;
}


/*line1*/
.line1 {
  width: 100%;
}
.line1 table {
  border-collapse: collapse;
  border: solid 1px #aaa;
  width: 100%;
}
.line1 th {
  padding: 5px;
  background-color: #fff;
  border: solid 1px #aaa;
  font-weight: 100;
  background-color: #f5f5f5;
}
.line1 td {
  border: solid 1px #aaa;
  padding: 5px;
}
.line1 p {
  text-align: justify;
  margin: 0;
}


/*mesh*/
.mesh td {
  font-size: 0.8em;
  text-align: center;
}

/*spec*/
#spec th, #spec td {
  padding-left: 10px;
}


/*マウスオーバー処理*/
.hover-change .hover-change-img {
  display: block;
}
.hover-change .hover-change-gif {
  display: none;
}

.hover-change:hover .hover-change-img {
  display: none !important;
}
.hover-change:hover .hover-change-gif {
  display: block !important;
}