@charset "UTF-8";
/* //////////////////////////////////////////////////

　サイト全般のスタイル
　header,footer,modules

////////////////////////////////////////////////// */
/*
  FONT
-------------------------------------------------- */
body {
  color: #000;
  font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","游ゴシック","Yu Gothic","游ゴシック体","YuGothic",sans-serif;
  font-size: 14px;
}
@media screen and (max-width: 980px) {
  body {
    font-size: 80%;
  }
}
@media screen and (max-width: 600px) {
  body {
    font-size: 75%;
  }
}

p, li, dt, dd, th, td, address {
  line-height: 1.7;
}

a {
  color: #000;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

i, em {
  font-style: normal;
}

input, textarea, select {
  font-size: 16px;
}

/*
  LAYOUT
-------------------------------------------------- */
#wrapper {
  overflow: hidden;
}

#contents {
  background: #efeeea;
}

.container {
  margin: auto;
  max-width: 1240px;
  padding-left: 20px;
  padding-right: 20px;
}
.container.narrow {
  max-width: 1040px;
}
.container.wide {
  max-width: 1440px;
}

.bgGray {
  background-color: #2c2d34;
}

/*
  HEADER
-------------------------------------------------- */
#header .flex {
  height: 65px;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 980px) {
  #header .flex {
    justify-content: space-between;
    padding-right: 0;
  }
  #header .logo {
    flex-grow: 2;
    text-align: center;
    padding-right: 20px;
  }
  #header .logo img {
    width: 350px;
  }
}
@media screen and (max-width: 600px) {
  #header .flex {
    height: 45px;
  }
  #header .logo img {
    width: 230px;
  }
}

/* メニューボタン */
#btn_menu {
  display: none;
  z-index: 200;
  background-color: #2c2d34;
}
#btn_menu span {
  display: block;
  margin: auto;
  width: 27px;
  height: 2px;
  background: #fff;
  transition: all .4s;
}
#btn_menu span + span {
  margin-top: 8px;
}
#btn_menu.active span:nth-child(1) {
  /* translateの数値は barの高さ + margin */
  transform: translateY(10px) rotate(45deg);
}
#btn_menu.active span:nth-child(2) {
  opacity: 0;
}
#btn_menu.active span:nth-child(3) {
  /* translateの数値は barの高さ + margin */
  transform: translateY(-10px) rotate(-45deg);
}
@media screen and (max-width: 980px) {
  #btn_menu {
    display: block;
    height: 65px;
    width: 65px;
  }
}
@media screen and (max-width: 600px) {
  #btn_menu {
    height: 45px;
    width: 45px;
  }
}

/*
  NAVI
-------------------------------------------------- */
#gnavi {
  position: absolute;
  z-index: 100;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
}
#gnavi ul {
  justify-content: center;
  margin: 5px 0;
}
#gnavi a {
  position: relative;
  display: flex;
  height: 100%;
  align-items: center;
  padding: 10px 10px;
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
  text-align: center;
}
#gnavi a::after {
  position: absolute;
  bottom: 3px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #fff;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform .2s;
}
#gnavi a:hover::after {
  transform: scale(1, 1);
}
@media screen and (max-width: 1080px) {
  #gnavi ul li {
    margin: 5px;
  }
}
@media screen and (min-width: 981px) {
  #gnavi {
    display: block !important;
  }
}
@media screen and (max-width: 980px) {
  #gnavi {
    display: none;
    background: rgba(0, 0, 0, 0.8);
  }
  #gnavi ul {
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
  }
  #gnavi ul li {
    margin: 0;
  }
  #gnavi ul li a {
    display: block;
    padding: 10px;
    font-size: 1.285em;
  }
}

/*
  FOOTER
-------------------------------------------------- */
#footer {
  position: relative;
  padding: 0 0 80px;
  background: #2c2d34;
  color: #fff;
  text-align: center;
}
#footer a {
  color: #fff;
}
#footer .menu {
  flex-wrap: wrap;
  justify-content: center;
  padding: 50px;
  margin-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
#footer .menu li {
  margin: 5px 15px;
  line-height: 1.3;
}
#footer h1 {
  margin-bottom: 0.8em;
  font-size: 1.285em;
  font-weight: bold;
}
#footer .flink {
  margin: 50px 0 30px;
  justify-content: center;
}
#footer .flink li {
  margin: 0 10px;
}
#footer .flink li a {
  display: block;
  width: 250px;
  max-width: 100%;
  padding: 5px;
  border: 1px solid #fff;
  font-size: 0.857em;
  transition: all .3s;
}
#footer .flink li a:hover {
  background: #fff;
  color: #2c2d34;
  text-decoration: none;
}
#footer .copyright {
  font-size: 0.857em;
  letter-spacing: 0.14em;
}
#footer .pagetop {
  position: fixed;
  z-index: 100;
  bottom: 160px;
  right: 30px;
  width: 70px;
  line-height: 70px;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transition: all .4s;
}
#footer .pagetop.view {
  opacity: 1;
  pointer-events: inherit;
}
@media screen and (max-width: 600px) {
  #footer {
    padding: 0 0 120px;
  }
  #footer .menu {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin-bottom: 40px;
    border: none;
  }
  #footer .menu li {
    margin: 0;
    width: 50%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  #footer .menu li:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
  }
  #footer .menu li a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
  }
  #footer .flink {
    margin: 20px 0;
    align-items: center;
    flex-direction: column;
  }
  #footer .flink li {
    margin: 5px;
  }
  #footer .pagetop {
    bottom: 60px;
    right: 20px;
    width: 55px;
    line-height: 55px;
  }
  #footer .pagetop img {
    width: 40px;
  }
}

@media screen and (max-width: 600px) {
  .home #footer .nav1 a,
  .urbanlife #footer .nav2 a,
  .renovation2 #footer .nav3 a,
  .renovation #footer .nav4 a,
  .purchase #footer .nav5 a,
  .rent #footer .nav6 a,
  .news #footer .nav7 a,
  .company #footer .nav8 a,
  .ir #footer .nav9 a,
  .results #footer .nav10 a {
    background: #fff;
    color: #2c2d34;
  }
}

/*# sourceMappingURL=base.css.map */
