@charset "utf-8";

/* @group reset */
* {
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
img {
  vertical-align: middle;
}
/* @end */

/* @group Fluid-img */
img {
  width: 100%;
}
/* @end */

/* @group HTML */
html {
  font-family: verdana, sans-serif;
  font-size: 75%;
  line-height: 1.5;
}

html,
body {
  margin: 0px;
  padding: 0px;
  height: 100%;
}

.pagebox {
  min-height: 100%;
}

#top {
  background-color: #a9a29f;
  width: 100%;
  height: auto;

  .image_area {
    margin: 0 auto;
  }

  img {
    object-fit: contain;
    width: 100%;
    height: 100%;
  }

  .pc {
    display: none;
  }
}

#concept {
  height: 500px;
}

#concept img {
  width: 182.5px;
  height: 148px;
}

.tunagari {
  text-align: center;
}

#concept p {
  padding-bottom: 6em;
}

#service {
  background-color: #f6bba8;
  height: 500px;
}

#service p {
  padding-bottom: 1.5em;
}

#work {
  height: 500px;
}

#work img {
  width: 217px;
  height: 197.5px;
  padding-top: 8em;
}

#contact {
  background-color: #cccccf;
  height: 500px;
}
/* @end */

/* @group Heading */

h1 {
  font-size: 3em; /* 48px */
  line-height: 1; /* 48px */
}

h2 {
  font-size: 2.25em; /* 36px */
  line-height: 1.3333; /* 48px */
  margin-bottom: 1.3333em;
  padding-top: 3em;
}

h3 {
  font-size: 1.5em; /* 24px */
  line-height: 1; /* 24px */
  margin-bottom: 1em;
}

h4 {
  padding-bottom: 1.5em;
}

h1,
h2,
h3,
h4,
h5,
p {
  color: #696969;
}
/* @end */

/* @group Header */
header {
  padding-bottom: 20px;
  background: #f6bba8;
}

header h2 {
  color: #808080;
}
/* @end */

/* @group Nav */
nav ul li a {
  color: #808080;
  display: block;
  text-align: left;
  padding: 5px 0 5px 25px;
}

nav ul li a:hover {
  color: #f6bba8;
  background-color: rgba(142, 136, 133, 0.7);
}

#logo {
  text-align: center;
}

#logo img {
  width: 168.5px;
  height: 31px;
}
/* @end */

/* @group Contents */
#contents {
  margin: 0 auto;
  text-align: center;
}

#contents p {
  text-align: center;
}

a.mail {
  text-decoration: none;
  border-bottom: none;
  color: #f6bba8;
}

#page-top {
  position: fixed;
  right: 10px;
  font-size: 66%;
}
#page-top img {
  width: 50px;
  padding: 0;
  text-align: center;
  display: block;
}
#page-top img:hover {
  text-decoration: none;
  background: rgba(243, 224, 217, 0.6);
  border-radius: 5px;
  color: #808080;
}

/* @end */

/* @group Footer */
footer {
  color: white;
  text-align: center;
  padding: 1.5em 0;
  background-color: #a9a29f;
}
/* @end */

/* 768px */
@media screen and (min-width: 768px) {
  html {
    font-size: 87.5%;
  }

  #concept p {
    padding-bottom: 3em;
  }

  #concept h2 {
    padding-top: 1.5em;
  }

  #work h2 {
    padding-top: 1.5em;
  }
  #work img {
    padding-top: 6em;
  }
}

@media screen and (min-width: 960px) {
  #top {
    padding-top: 56px;
  }
  #top .sp {
    display: none;
  }
  #top .pc {
    display: block;
  }
  #logo {
    text-align: left;
    width: 50%;
    height: 50%;
    padding: 15px 0 0 15px;
  }
}

/* 1024px */
@media screen and (min-width: 1024px) {
  /* @group #contents */
  html {
    font-size: 100%;
  }

  #contents {
    overflow: hidden;
  } /* 960/1024 */

  #concept h2 {
    padding-top: 1.5em;
  }

  /* @end */

  /* @group footer */
  footer {
    margin: 0 auto;
  }
  /* @end */
}
