/*setting and header foooter class */
@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);

button {
  text-align: center;
}

h1,
h2,
h3 {
  font-family: "Noto sans JP", sans-serif;
  font-size: 32px;
  line-height: 46px;
  font-weight: bold;
}

li {
  list-style-type: none;
}

ul > li {
  border-bottom: solid 1px #dddddd;
  display: flex;
  line-height: 200%;
  padding: 24px 0;
}

a {
  text-decoration: none;
  color: #000000;
}

a:hover {
  color: #a61e1e;
}

header {
  font-family: "Noto sans JP", sans-serif;
  position: absolute;
  padding: 0 40px;
  top: 39px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
  background: #ffffff;
  z-index: 2;
}
header > a > img {
  margin: 20px 40px;
}

.header-menu {
  display: flex;
}

.header-button {
  border: 1px solid #000000;
  border-radius: 50px;
  width: 144px;
  height: 51px;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  font-weight: bold;
  background: #ffffff;
  font-family: "Noto sans JP", sans-serif;
  margin-left: 8px;
}

.header-button > span {
  margin-right: 8px;
}

.header-button > div {
  display: flex;
  flex-direction: column;
}

.header-button > div > span {
  font-size: 10px;
  margin-top: 4px;
}

.header-menu > li {
  display: flex;
  text-align: center;
  align-items: center;
  width: 11.11vw;
  height: 80px;
  max-width: 160px;
  font-weight: bold;
}

.header-menu > li > a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.header-menu > li > a > span {
  font-size: 10px;
  margin-top: 4px;
}

.choice {
  background: #eeeeee;
  color: #a61e1e;
}

.header-menu > li > button:hover {
  background: #a61e1e;
  color: #ffffff;
  border: 1px solid #a61e1e;
}

.header-menu > li > button.choice {
  background: #a61e1e;
  color: #ffffff;
  border: 1px solid #a61e1e;
}

.contact-image {
  max-width: none;
  height: 475px;
  margin-bottom: 36px;
  background-image: url(../img/CONTACTlayout.png);
  text-align: center;
  align-items: center;
  line-height: 24px;
  justify-content: center;
  color: #ffffff;
}

.contact-image > div > p {
  font-size: 14px;
  line-height: 28px;
}

.contact-image > span {
  margin-bottom: 8px;
}

.contact-image > h2 {
  line-height: 40px;
  margin-bottom: 40px;
}

.contact-image > button {
  background: none;
  color: #ffffff;
  border: #ffffff 1px solid;
  margin: 24px;
  width: 150px;
  height: 38px;
}

.contact-image > button:hover {
  background: rgba(255, 255, 255, 0.3);
}

footer {
  width: 744px;
  margin: 0 auto;
  margin-top: 36px;
  margin-bottom: 81px;
  line-height: 150%;
  display: flex;
  font-size: 14px;
  flex-direction: column;
}
footer > img {
  width: 174px;
}

footer > div {
  margin-top: 24px;
}

footer > div > p:first-child {
  margin-bottom: 16px;
}

.p-mark {
  float: right;
  width: 50px;
  height: 50px;
}

.copy-light {
  text-align: center;
  padding: 11px 0;
  background: #a61e1e;
  color: #ffffff;
  font-size: 12px;
}
/*page toplayout*/

.top-background {
  height: 520px;
  display: flex;
  background-size: cover;
  align-items: center;
  text-align: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 120px;
}

.title {
  display: flex;
  flex-direction: column;
  font-family: "Noto sans JP", sans-serif;
  font-size: 32px;
  line-height: 46px;
  font-weight: bold;
}

.title > span:first-child {
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: normal;
  line-height: 24px;
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
    "游ゴシック", "Yu Gothic", sans-serif;
}
