@charset "UTF-8";

/* 基本設定 */
* {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img {
  width: 100%;
  vertical-align: bottom;
}

a {
  text-decoration: none;
  display: block;
}

html {
  font-size: 62.5%;
}

body {
  color: #0f0f12;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  width: 100%;
  height: 100%;
  letter-spacing: normal;
  background: #fff;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* header */
header {
  box-sizing: border-box;
  height: 45px;
  width: 100%;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  font-weight: 700;
}

.header-inner {
  width: 1080px;
  height: 45px;
  margin: 0 auto;
  padding: 8px;
  display: flex;
  justify-content: flex-start;
}

h1 {
  width: 100px;
  height: auto;
}

.pc-hedermenu {
  display: flex;
  font-size: 15px;
  font-weight: bold;
  justify-content: flex-start;
  align-items: flex-end;
  margin-left: 40px;
}

.pc-hedermenu p {
  margin: 0 20px;
  color: #8787a8;
  z-index: 1000;
  white-space: nowrap;
}

.pc-hedermenu p a {
  color: #8787a8;
}

/* footer */
footer {
  clear: both;
  padding: 15px 15px 70px;
  background-color: #f4f4ff;
  width: 100%;
  height: auto;
  color: #0f0f12;
}

.sp-footer-menu {
  display: none;
}

.footer-socialmedia {
  width: 100%;
  height: auto;
  padding: 15px;
  display: flex;
  justify-content: center;
}

.footer-socialmedia img {
  margin: 0 15px;
  width: 35px;
  height: auto;
}

.f-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 10px;
  margin: 0 auto;
}

.f-nav a {
  font-size: 1.2rem;
  box-sizing: border-box;
  padding: 18px 8px;
  color: #0f0f12;
  text-decoration: underline;
  display: block;
}

.copyright {
  font-size: 10px;
  font-size: 1.2rem;
  color: #0f0f12;
}

.abj-mark {
  width: 100px;
  height: auto;
  margin: 0 auto;
}

@media screen and (max-width: 1080px) {
  .header-inner {
    width: 100%;
  }
}

@media screen and (max-width: 690px) {

  .pc-hedermenu {
    display: none;
  }

  .f-nav a {
    width: 50%;
    height: auto;
  }

  .sp-footer-menu {
    display: flex;
    width: 100%;
    height: auto;
    position: fixed;
    bottom: 0;
    left: 0;
    text-align: center;
    color: #0f0f12;
    font-size: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 1000;
    border-top: 1px solid #d8d8ee;
  }

  .sp-footer-menu a {
    width: 20%;
    height: auto;
    padding: 3px 0 5px;
    color: #0f0f12;
  }
  
  .sp-footer-menu img {
    width: 34px;
    height: auto;
    text-align: center;
    vertical-align: middle;
    margin: 0 auto;
  }

}