@import url(common.css);
section {
  margin-bottom: 0;
  padding-bottom: 100px;
  background-color: #ffffff;
}

.topicpath {
  margin: 0 auto;
  padding-bottom: 20px;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2em;
  text-align: center;
}

p {
  margin-bottom: 1em;
}

.catch-area {
  padding-bottom: 100px;
  text-align: center;
}
.catch-area h2 {
  font-size: 2rem;
  margin-bottom: 2em;
}
.catch-area p {
  margin-bottom: 2em;
}
.catch-area .logo {
  max-width: 500px;
  margin: 0 auto 2em;
}
.catch-area p span {
  font-size: 1.1rem;
  line-height: 2em;
  display: block;
}

#message .textarea {
  width: calc(100% - 380px);
}
#message .photoarea {
  width: 335px;
  text-align: center;
  margin-bottom: 30px;
}

[class^="bgarea"] {
  position: relative;
  min-height: 100%;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
  z-index: 2;
}
[class^="bgarea"]::before {
  content: "";
  display: block;
  padding-top: 32.5%;
}

.bgarea-01 {
  background-image: url("../company/image/imageborder-01.jpg");
}

.bgarea-02 {
  background-image: url("../company/image/imageborder-02.jpg");
}

.bg-gray {
  background-color: #f7f7f7;
}

.bg-white {
  background-color: #ffffff;
}

#philosophy {
  text-align: center;
  padding: 100px 0;
  background-color: inherit;
}
#philosophy h2.underbar {
  position: relative;
  padding-bottom: 0.25em;
}
#philosophy h2.underbar::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: calc(50% - 37px);
  width: 74px;
  height: 1px;
  background-color: #000000;
}
#philosophy h2.underbar:nth-of-type(2) {
  margin-top: 100px;
}
#philosophy h4 {
  margin-bottom: 20px;
}

#history {
  padding-top: 100px;
}
#history dl {
  display: flex;
  flex-wrap: wrap;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}
#history dl dt {
  width: 125px;
  padding-bottom: 30px;
  font-size: 1.185em;
}
#history dl dt span {
  display: block;
  font-size: 0.775em;
  line-height: 0.775em;
}
#history dl dd {
  width: calc(100% - 125px);
  padding: 0 0 30px 60px;
  position: relative;
}
#history dl dd::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #2a2929;
}
#history dl::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 132px;
  width: 1px;
  height: calc(100% - 60px);
  background-color: #9a9a9a;
}

#outline {
  padding-top: 100px;
}
#outline dl {
  display: flex;
  flex-wrap: wrap;
  max-width: 860px;
  margin: 0 auto;
}
#outline dl dt {
  width: 240px;
  padding: 30px 0 30px 60px;
  border-bottom: 1px solid #e8e8e8;
}
#outline dl dd {
  width: calc(100% - 240px);
  padding: 30px 0 30px 20px;
  border-bottom: 1px solid #e8e8e8;
}
#outline dl dd a {
  text-decoration: underline;
}

/*===========================================================================*/
/*  media quary:1000px  */
/*===========================================================================*/
/*===========================================================================*/
/*  media quary:768px  */
/*===========================================================================*/
@media screen and (max-width: 768px) {
  section {
    padding-bottom: 80px;
  }

  h2 {
    margin-bottom: 1.5em;
  }

  .flexbox {
    flex-wrap: wrap;
  }

  .catch-area {
    padding-bottom: 60px;
    text-align: center;
  }
  .catch-area p span {
    font-size: 1rem;
  }

  #philosophy {
    padding: 80px 0;
  }
  #philosophy h2.underbar:nth-of-type(2) {
    margin-top: 80px;
  }
  #philosophy p {
    text-align: left;
    margin: 0 auto 1.5em;
  }
  #philosophy p:first-of-type {
    max-width: 636px;
  }
  #philosophy p:nth-of-type(2) {
    max-width: 520px;
  }

  #message h2 {
    font-size: 1.75em;
  }
  #message .textarea {
    width: 100%;
  }
  #message .photoarea {
    width: 100%;
    max-width: 250px;
    text-align: center;
    margin: 0 auto 30px;
  }

  #history {
    padding-top: 80px;
  }
  #history dl dt {
    width: 120px;
    padding-bottom: 30px;
    font-size: 1.125em;
  }
  #history dl dd {
    width: calc(100% - 120px);
    padding: 0 0 30px 40px;
  }
  #history dl::before {
    left: 127px;
  }

  #outline {
    padding-top: 80px;
  }
  #outline dl {
    width: 100%;
  }
  #outline dl dt {
    width: 180px;
    padding: 25px 0 25px 30px;
  }
  #outline dl dd {
    width: calc(100% - 180px);
    padding: 25px 0 25px 20px;
  }

  [class^="bgarea"] {
    background-size: cover;
    background-attachment: scroll;
  }
}
/*===========================================================================*/
/*  media quary:479px  */
/*===========================================================================*/
@media screen and (max-width: 479px) {
  .catch-area {
    text-align: left;
    padding-bottom: 40px;
  }
  .catch-area h2 {
    font-size: 1.5em;
  }

  #history dl dt {
    width: 105px;
    font-size: 1em;
  }
  #history dl dd {
    width: calc(100% - 105px);
    padding: 0 0 25px 30px;
    font-size: 0.9em;
  }
  #history dl dd::before {
    top: 8px;
    width: 12px;
    height: 12px;
  }
  #history dl::before {
    height: calc(100% - 80px);
    left: 111px;
  }

  #outline {
    padding-top: 80px;
  }
  #outline dl {
    width: 100%;
  }
  #outline dl dt {
    width: 100%;
    padding: 10px 0;
    text-align: center;
    background-color: #e8e8e8;
    border-bottom: none;
  }
  #outline dl dd {
    width: 100%;
    padding: 15px 0 25px;
    border-bottom: none;
    font-size: 0.95em;
  }
}
/*# sourceMappingURL=style.css.map */

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