@charset "UTF-8";
/* 変数の定義
--------------------------------------------------*/
/* 色の定義
--------------------------------------------------*/
/* テキストパーツ
--------------------------------------------------*/
.white {
  color: #fff;
}

.black {
  color: #000000;
}

.brown {
  color: #5f4c4c;
}

.red {
  color: #f84b4b;
}

.gray {
  color: #666666;
}

/* KV
--------------------------------------------------*/
#kv {
  background-image: url(../img/history/history_kv.jpg);
  background-position: center;
  background-size: cover;
  height: 480px;
  position: relative;
  margin-top: 120px;
}

@media screen and (max-width: 768px) {
  #kv {
    background-image: url(../img/history/history_sp_kv.jpg);
    height: 240px;
    margin-top: 70px;
  }
}

#kv .ttl {
  width: 220px;
  position: absolute;
  top: 215px;
  right: 92px;
  z-index: 5;
}

@media screen and (max-width: 768px) {
  #kv .ttl {
    width: 154px;
    right: auto;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
  }
}

/* 神谷について
--------------------------------------------------*/
#about {
  padding: 100px 0 0;
}

#about .section_inner {
  background-image: url(../img/history/bg.jpg);
  background-size: cover;
  width: 90%;
  margin-top: 60px;
  padding: 60px;
}

@media screen and (max-width: 768px) {
  #about .section_inner {
    padding: 30px 20px;
    margin-top: 0;
  }
}

#about .section_inner h3 {
  width: 438px;
  margin: 0 auto 60px;
}

@media screen and (max-width: 768px) {
  #about .section_inner h3 {
    width: 50%;
    min-width: 248px;
    margin-bottom: 50px;
  }
}

#about .section_inner p {
  -webkit-writing-mode: vertical-rl;
      -ms-writing-mode: tb-rl;
          writing-mode: vertical-rl;
  max-width: 1100px;
  max-height: 510px;
  margin: auto;
  line-height: 2.3;
}

@media screen and (max-width: 1200px) {
  #about .section_inner p {
    max-height: inherit;
    font-size: 1.5rem;
    line-height: 2;
  }
}

@media screen and (max-width: 768px) {
  #about .section_inner p {
    -webkit-writing-mode: inherit;
        -ms-writing-mode: inherit;
            writing-mode: inherit;
    width: 100%;
    line-height: 1.8;
    max-height: none;
  }
}

/* 店主・神谷昌孝について
--------------------------------------------------*/
#about_owner .section_inner {
  margin: 150px auto;
  width: 90%;
}

@media screen and (max-width: 768px) {
  #about_owner .section_inner {
    margin: 100px auto;
  }
}

#about_owner .section_inner h3 {
  width: 484px;
  margin: 0 auto 85px;
}

@media screen and (max-width: 768px) {
  #about_owner .section_inner h3 {
    width: 60%;
    min-width: 288px;
    margin-bottom: 50px;
  }
}

#about_owner .section_inner .owner_wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  max-width: 1020px;
  margin: auto;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

@media screen and (max-width: 768px) {
  #about_owner .section_inner .owner_wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
  }
}

#about_owner .section_inner .owner_wrapper p {
  margin-right: 50px;
}

@media screen and (max-width: 768px) {
  #about_owner .section_inner .owner_wrapper p {
    margin-right: 0;
  }
}

#about_owner .section_inner .owner_wrapper .owner_img {
  min-width: 290px;
}

@media screen and (max-width: 768px) {
  #about_owner .section_inner .owner_wrapper .owner_img {
    width: 51%;
    min-width: 224px;
    margin: 0 auto 20px;
  }
}

/* 実績
--------------------------------------------------*/
#works h3 {
  width: 88px;
  margin: 0 auto 60px;
}

@media screen and (max-width: 768px) {
  #works h3 {
    width: 61px;
    margin-bottom: 50px;
  }
}

#works .works_content_wrapper {
  background-color: #fcf1d2;
  padding: 74px 0;
}

#works .works_content_wrapper .works_content {
  max-width: 1200px;
  width: 90%;
  margin: auto;
}

#works .works_content_wrapper .works_content .works {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

@media screen and (max-width: 768px) {
  #works .works_content_wrapper .works_content .works {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
  }
}

#works .works_content_wrapper .works_content .works .img01 {
  width: 37%;
  min-width: 320px;
}

@media screen and (max-width: 768px) {
  #works .works_content_wrapper .works_content .works .img01 {
    width: 100%;
    min-width: auto;
  }
}

#works .works_content_wrapper .works_content .works .works_tx_wrapper {
  width: 56%;
}

@media screen and (max-width: 1200px) {
  #works .works_content_wrapper .works_content .works .works_tx_wrapper {
    width: 49%;
  }
}

@media screen and (max-width: 768px) {
  #works .works_content_wrapper .works_content .works .works_tx_wrapper {
    width: 100%;
    margin-bottom: 20px;
  }
}

#works .works_content_wrapper .works_content .works .works_tx_wrapper .ttl {
  font-size: 2.4rem;
  margin-bottom: 40px;
  position: relative;
}

@media screen and (max-width: 768px) {
  #works .works_content_wrapper .works_content .works .works_tx_wrapper .ttl {
    margin-bottom: 30px;
  }
}

#works .works_content_wrapper .works_content .works .works_tx_wrapper .ttl::after {
  content: "";
  position: absolute;
  top: 45px;
  left: 0;
  max-width: 670px;
  width: 100%;
  height: 1px;
  background-color: #858585;
}

#works .works_content_wrapper .works_content .works .works_tx_wrapper dl {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 7px;
}

#works .works_content_wrapper .works_content .works .works_tx_wrapper dl dt {
  width: 15%;
  font-size: 1.6rem;
}

@media screen and (max-width: 1200px) {
  #works .works_content_wrapper .works_content .works .works_tx_wrapper dl dt {
    width: 22%;
  }
}

@media screen and (max-width: 768px) {
  #works .works_content_wrapper .works_content .works .works_tx_wrapper dl dt {
    width: 20%;
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 450px) {
  #works .works_content_wrapper .works_content .works .works_tx_wrapper dl dt {
    margin-right: 10px;
  }
}

#works .works_content_wrapper .works_content .works .works_tx_wrapper dl dd {
  font-size: 1.6rem;
  width: 100%;
}

@media screen and (max-width: 768px) {
  #works .works_content_wrapper .works_content .works .works_tx_wrapper dl dd {
    font-size: 1.5rem;
  }
}

#works .works_content_wrapper .works_content .works .works_tx_wrapper dl dd span {
  font-size: 1.2rem;
}

@media screen and (max-width: 450px) {
  #works .works_content_wrapper .works_content .works .works_tx_wrapper dl dd span {
    display: block;
  }
}

#works .works_content_wrapper .works_content .media_wrapper {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
  margin-top: 60px;
}

@media screen and (max-width: 768px) {
  #works .works_content_wrapper .works_content .media_wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
  }
}

#works .works_content_wrapper .works_content .media_wrapper img {
  width: 39%;
  min-width: 342px;
}

@media screen and (max-width: 768px) {
  #works .works_content_wrapper .works_content .media_wrapper img {
    width: 100%;
    min-width: auto;
  }
}

#works .works_content_wrapper .works_content .media_wrapper .media_tx_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

@media screen and (max-width: 1200px) {
  #works .works_content_wrapper .works_content .media_wrapper .media_tx_box {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  #works .works_content_wrapper .works_content .media_wrapper .media_tx_box {
    display: block;
    width: 100%;
    margin: auto;
  }
}

#works .works_content_wrapper .works_content .media_wrapper .media_tx_box p {
  margin-right: 40px;
}

@media screen and (max-width: 1200px) {
  #works .works_content_wrapper .works_content .media_wrapper .media_tx_box p {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 768px) {
  #works .works_content_wrapper .works_content .media_wrapper .media_tx_box p {
    margin-right: 0;
    margin-top: 4px;
    line-height: 1.8;
  }
}

/* 著名人との交流
--------------------------------------------------*/
#celebrity .section_inner {
  margin: 150px auto;
  width: 90%;
}

@media screen and (max-width: 768px) {
  #celebrity .section_inner {
    margin: 100px auto;
  }
}

#celebrity .section_inner h3 {
  width: 308px;
  margin: 0 auto 85px;
}

@media screen and (max-width: 768px) {
  #celebrity .section_inner h3 {
    width: 215px;
    margin: 0 auto 50px;
  }
}

#celebrity .section_inner ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

@media screen and (max-width: 768px) {
  #celebrity .section_inner ul {
    display: block;
  }
}

#celebrity .section_inner ul li {
  width: 30%;
}

@media screen and (max-width: 768px) {
  #celebrity .section_inner ul li {
    width: 100%;
    margin-bottom: 40px;
  }
  #celebrity .section_inner ul li:last-of-type {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 768px) {
  #celebrity .section_inner ul li img {
    margin: auto;
  }
}

#celebrity .section_inner ul li p {
  margin-top: 25px;
}

#celebrity .section_inner .school_img {
  max-width: 956px;
  margin: 50px auto;
}

#celebrity .section_inner .school_img p {
  margin-top: 25px;
  text-align: center;
}

/* そばがみイメージ動画
--------------------------------------------------*/
#movie .section_inner {
  width: 90%;
  margin-bottom: 150px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  #movie .section_inner {
    margin-bottom: 100px;
  }
}

#movie .section_inner h3 {
  width: 440px;
  margin: 0 auto 85px;
}

@media screen and (max-width: 768px) {
  #movie .section_inner h3 {
    width: 308px;
    margin-bottom: 50px;
  }
}

#movie .section_inner .wp-video {
  margin: auto;
}

/* 会社概要
--------------------------------------------------*/
#company .section_inner {
  width: 90%;
  padding-bottom: 150px;
}

@media screen and (max-width: 768px) {
  #company .section_inner {
    padding-bottom: 100px;
  }
}

#company .section_inner h3 {
  width: 176px;
  margin: 0 auto 85px;
}

@media screen and (max-width: 768px) {
  #company .section_inner h3 {
    width: 123px;
    margin-bottom: 50px;
  }
}

#company .section_inner .company_tx_wrapper {
  max-width: 956px;
  margin: 0 auto;
  background-image: url(../img/history/history_img06.jpg);
  background-size: cover;
  background-position: center;
  padding: 50px 0;
}

@media screen and (max-width: 768px) {
  #company .section_inner .company_tx_wrapper {
    background-image: none;
    background-color: #fff;
    padding: 20px;
  }
}

#company .section_inner .company_tx_wrapper .company_tx {
  max-width: 335px;
  margin: 0 30px 0 auto;
}

@media screen and (max-width: 768px) {
  #company .section_inner .company_tx_wrapper .company_tx {
    margin: 0 auto;
  }
}

#company .section_inner .company_tx_wrapper .company_tx dl {
  margin-bottom: 35px;
}

#company .section_inner .company_tx_wrapper .company_tx dl:last-of-type {
  margin-bottom: 0;
}

#company .section_inner .company_tx_wrapper .company_tx dl dt {
  font-size: 1.6rem;
  color: #979494;
  margin-bottom: 5px;
  position: relative;
}

@media screen and (max-width: 768px) {
  #company .section_inner .company_tx_wrapper .company_tx dl dt {
    font-size: 1.5rem;
  }
}

#company .section_inner .company_tx_wrapper .company_tx dl dt::after {
  content: "";
  position: absolute;
  top: 25px;
  left: -15px;
  width: 340px;
  height: 1px;
  background-color: #dac58c;
}

@media screen and (max-width: 768px) {
  #company .section_inner .company_tx_wrapper .company_tx dl dt::after {
    left: 0;
    width: 100%;
  }
}

#company .section_inner .company_tx_wrapper .company_tx dl dd {
  font-size: 1.6rem;
}

@media screen and (max-width: 768px) {
  #company .section_inner .company_tx_wrapper .company_tx dl dd {
    font-size: 1.5rem;
  }
}
/*# sourceMappingURL=history.css.map */