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

　トップページ のスタイル

/////////////////////////////////////////////// */
#header {
  position: absolute;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
}

#header .menu .gnavi a {
  color: #fff;
}

#header .menu .gnavi a::after {
  background: #fff;
}

#header .menu .other a {
  background-image: url(../img/common/ico-link-w.svg);
  color: #fff;
}

#header .menu .other .transaction a {
  background-color: #fff;
}

@media (max-width: 960px) {
  #header {
    position: fixed;
    transition: all .2s;
  }
  #header.scrolled {
    background: #fff;
  }
}

@media (max-width: 960px) {
  #contents {
    margin-top: 0;
  }
}

/* 見出し */
.h2 {
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 40px;
  font-size: 45rem;
  font-weight: 300;
}

.h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 40px;
  content: "";
  background: #159432;
}

@media (max-width: 960px) {
  .h2 {
    padding-bottom: 30px;
    font-size: 34rem;
    font-weight: 400;
    text-align: center;
  }
  .h2::after {
    left: calc(50% - 15px);
    width: 30px;
  }
}

/* ファーストビュー */
#hero {
  position: relative;
  z-index: 99;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

#hero::after {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  content: "";
  background-color: rgba(0, 0, 0, 0.2);
}

@media (max-width: 960px) {
  #hero {
    min-height: 460px;
  }
}

#hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  -o-object-fit: cover;
     object-fit: cover;
}

#hero .copy {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 10%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

#hero .copy p {
  color: #fff;
  letter-spacing: 0.15em;
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3), -1px -1px 8px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

#hero .copy p:nth-child(1) {
  font-size: 55px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: .13em;
}

#hero .copy p:nth-child(2) {
  margin-top: 1.2em;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
}

@media (max-width: 1300px) {
  #hero .copy {
    left: 40px;
  }
}

@media (max-width: 960px) {
  #hero .copy {
    top: 55%;
    left: 25px;
  }
  #hero .copy p {
    letter-spacing: 0.15em;
  }
  #hero .copy p:nth-child(1) {
    font-size: 23px;
  }
  #hero .copy p:nth-child(2) {
    font-size: 14px;
  }
}

/* 中条たまごについて */
#about {
  margin: 180px -50px;
  display: flex;
  align-items: center;
}

#about > * {
  width: 50%;
  padding: 0 50px;
}

@media (max-width: 960px) {
  #about {
    margin: 80px 0 60px;
    flex-direction: column;
  }
  #about > * {
    width: 100%;
    padding: 0;
  }
}

#about h2 {
  display: none;
}

@media (max-width: 960px) {
  #about h2 {
    display: block;
    padding-bottom: 30px;
  }
}

#about .image {
  padding-right: 100px;
  text-align: right;
}

@media (max-width: 960px) {
  #about .image {
    padding-right: 0;
    margin-left: -10%;
    width: 110%;
  }
  #about .image img {
    width: 100%;
  }
}

#about .text .btn {
  margin-top: 80px;
}

@media (max-width: 960px) {
  #about .text {
    margin-top: 30px;
    text-align: center;
  }
  #about .text h3 {
    display: none;
  }
  #about .text .btn {
    margin-top: 30px;
  }
}

/* たまごの紹介 */
#intro {
  padding-left: calc(50% - 700px);
  padding-right: calc(50% - 700px);
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: #FFFBF3;
  display: flex;
  align-items: center;
  margin: 0 -50px;
}

@media screen and (max-width: 1440px) {
  #intro {
    padding-left: 20px;
    padding-right: 20px;
  }
}

#intro > * {
  width: 50%;
  padding: 0 50px;
}

@media (max-width: 960px) {
  #intro {
    padding-top: 60px;
    padding-bottom: 60px;
    margin: 0;
    flex-direction: column;
  }
  #intro > * {
    width: 100%;
    padding: 0;
  }
}

#intro h2 {
  display: none;
}

@media (max-width: 960px) {
  #intro h2 {
    display: block;
    padding-bottom: 25px;
  }
}

#intro .image .slide_wrap {
  position: relative;
  max-width: 460px;
  margin: auto;
  text-align: center;
}

#intro .image .slide img {
  border-radius: 50%;
  max-width: 360px;
}

#intro .image figcaption {
  margin-top: 40px;
  padding-bottom: .5em;
  border-bottom: 3px solid #F5BF44;
  font-size: 25rem;
  font-weight: 500;
  line-height: 1.3;
}

#intro .image .footprints:nth-child(1) {
  top: -5%;
  right: 13%;
  -webkit-transform: rotate(50deg);
          transform: rotate(50deg);
}

#intro .image .footprints:nth-child(2) {
  top: 50%;
  left: 9%;
  -webkit-transform: scale(-1, 1) rotate(-10deg);
          transform: scale(-1, 1) rotate(-10deg);
}

@media (max-width: 960px) {
  #intro .image .slide_wrap {
    margin: 0 -20px;
    max-width: inherit;
  }
  #intro .image .slide_wrap img {
    max-width: 300px;
  }
  #intro .image figcaption {
    margin: 40px 20px 0;
  }
}

#intro .text .btn {
  margin-top: 80px;
}

@media (max-width: 960px) {
  #intro .text {
    margin-top: 30px;
    text-align: center;
  }
  #intro .text h3 {
    display: none;
  }
  #intro .text .btn {
    margin-top: 30px;
  }
}

/* 中条たまごのこだわり */
#commitment {
  position: relative;
  padding-left: calc(50% - 700px);
  padding-right: calc(50% - 700px);
  padding-top: 100px;
}

@media screen and (max-width: 1440px) {
  #commitment {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 960px) {
  #commitment {
    padding-top: 0;
    padding-bottom: 40px;
  }
}

#commitment::before {
  position: absolute;
  z-index: -2;
  top: 0;
  left: 0;
  right: 0;
  height: 250px;
  content: "";
  background: url(../img/home/bg-intro.jpg) no-repeat center/cover;
}

@media (max-width: 960px) {
  #commitment::before {
    bottom: 0;
    height: inherit;
    background-image: url(../img/home/bg-intro-sp.jpg);
  }
}

#commitment::after {
  position: absolute;
  z-index: -1;
  top: 100px;
  bottom: 100px;
  left: 0;
  right: 0;
  margin: auto;
  content: "";
  max-width: 1024px;
  background: #F5BF44;
}

@media (max-width: 960px) {
  #commitment::after {
    top: 0;
    bottom: inherit;
    height: 280px;
  }
}

#commitment .text {
  padding: 70px 0 40px;
  text-align: center;
}

#commitment .text h2 {
  margin-bottom: 0;
}

#commitment .text h2::after {
  display: none;
}

#commitment .text p {
  position: relative;
  padding-bottom: 70px;
}

#commitment .text p::after {
  position: absolute;
  z-index: 10;
  bottom: 0;
  left: calc(50% - 1px);
  width: 2px;
  height: 40px;
  content: "";
  background: #fff;
  -webkit-transform: scale(1, 0);
          transform: scale(1, 0);
  -webkit-transform-origin: center top;
          transform-origin: center top;
  transition: -webkit-transform .8s;
  transition: transform .8s;
  transition: transform .8s, -webkit-transform .8s;
  transition-delay: .9s;
}

#commitment .text p.view::after {
  -webkit-transform: scale(1, 1);
          transform: scale(1, 1);
}

#commitment .text p.only_sp {
  padding-bottom: 0;
}

#commitment .text p.only_sp::after {
  display: none;
}

@media (max-width: 960px) {
  #commitment .text p {
    padding-bottom: 55px;
  }
  #commitment .text p::after {
    width: 2px;
    height: 30px;
  }
  #commitment .text p.only_pc {
    padding-bottom: 0;
  }
  #commitment .text p.only_pc::after {
    display: none;
  }
  #commitment .text p.only_sp {
    padding-bottom: 55px;
  }
  #commitment .text p.only_sp::after {
    display: block;
  }
}

@media (max-width: 960px) {
  #commitment .text {
    padding: 50px 0 30px;
  }
  #commitment .text h2 {
    margin-bottom: 20px;
  }
  #commitment .text h2::after {
    display: block;
    background: #fff;
  }
  #commitment .text p {
    padding-bottom: 0;
  }
  #commitment .text p::after {
    display: none;
  }
}

#commitment .nav {
  display: flex;
  margin: 0 -25px;
}

#commitment .nav li {
  padding: 0 25px;
  line-height: 1;
}

#commitment .nav a {
  position: relative;
  display: block;
  background: #F5BF44;
  color: #fff;
}

#commitment .nav a::after {
  position: absolute;
  bottom: 25px;
  right: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  background: #fff url(../img/common/mrk-right-b.svg) center no-repeat;
  border-radius: 50%;
  content: "";
  transition: all .2s;
}

#commitment .nav a span {
  position: absolute;
  left: 40px;
}

#commitment .nav a .ja {
  bottom: 60px;
  font-size: 35rem;
}

#commitment .nav a .en {
  bottom: 25px;
  font-size: 18rem;
  font-weight: 300;
}

#commitment .nav a:hover::after {
  right: 30px;
  opacity: .8;
}

@media (max-width: 960px) {
  #commitment .nav {
    flex-direction: column;
  }
  #commitment .nav li + li {
    margin-top: 20px;
  }
  #commitment .nav a::after {
    bottom: 20px;
    right: 25px;
    width: 30px;
    height: 30px;
    background-size: 9px;
  }
  #commitment .nav a span {
    left: 25px;
  }
  #commitment .nav a .ja {
    bottom: 45px;
    font-size: 26rem;
  }
  #commitment .nav a .en {
    bottom: 20px;
    font-size: 15rem;
  }
}

/* 中条たまご直売店 */
#shop {
  margin: 190px 0;
}

@media (max-width: 960px) {
  #shop {
    margin: 60px 0;
  }
}

#shop h2 {
  margin-bottom: .9em;
  font-size: 45rem;
  font-weight: 300;
  text-align: center;
}

@media (max-width: 960px) {
  #shop h2 {
    padding-bottom: 25px;
    font-size: 34rem;
    font-weight: 400;
  }
  #shop h2::after {
    left: calc(50% - 15px);
    height: 2px;
    width: 30px;
    transition: none;
  }
}

#shop .body {
  display: flex;
  align-items: center;
  margin: 0 -50px;
}

#shop .body > * {
  width: 50%;
  padding: 0 50px;
}

@media (max-width: 960px) {
  #shop .body {
    flex-direction: column;
  }
  #shop .body > * {
    width: 100%;
    padding: 0;
  }
}

#shop .image {
  padding-right: 100px;
  text-align: right;
}

@media (max-width: 960px) {
  #shop .image {
    padding-right: 0;
  }
  #shop .image img {
    width: 100%;
  }
}

#shop .text h3 {
  margin-bottom: 40px;
}

#shop .text .btn {
  margin-top: 80px;
}

@media (max-width: 960px) {
  #shop .text {
    margin-top: 50px;
    padding: 0 20px;
    text-align: center;
  }
  #shop .text h3 {
    margin-bottom: 30px;
  }
  #shop .text h3 img {
    width: 210px;
  }
  #shop .text .btn {
    margin-top: 30px;
  }
}

/* お取引き・流通について */
#trade {
  padding: 90px 20px;
  background: #FEF6E3;
  text-align: center;
}

@media (max-width: 960px) {
  #trade {
    padding: 50px 20px;
  }
}

#trade h2 {
  margin-bottom: .9em;
  font-size: 35rem;
  font-weight: 400;
  text-align: center;
}

#trade h2 i {
  display: inline-block;
  margin-right: 20px;
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
}

@media (max-width: 960px) {
  #trade h2 {
    padding-bottom: 20px;
    font-size: 27rem;
  }
  #trade h2::after {
    left: calc(50% - 15px);
    height: 2px;
    width: 30px;
    transition: none;
  }
  #trade h2 i {
    -webkit-transform: translateY(-2px) scale(0.75);
            transform: translateY(-2px) scale(0.75);
    -webkit-transform-origin: left center;
            transform-origin: left center;
    margin-right: 0;
  }
}

#trade ul {
  display: flex;
  justify-content: space-between;
  margin: 70px auto 50px;
  max-width: 920px;
}

#trade ul li {
  position: relative;
  /*
      i {
        @include center;
        height: 65%;
        padding-top: 15px;
      }
      span {
        height: 35%;
        font-size: 17rem;
        font-weight: 300;
      }
      */
}

#trade ul li + li::before {
  position: absolute;
  top: 50%;
  left: -40px;
  content: url(../img/common/mrk-right-b.svg);
  -webkit-transform: translate(-100%, -50%);
          transform: translate(-100%, -50%);
}

@media (max-width: 960px) {
  #trade ul {
    flex-direction: column;
    align-items: center;
    margin: 10px auto;
  }
  #trade ul li {
    margin: 35px 0;
    /*
        i {
          @include center;
          height: 65%;
          padding-top: 15px;
        }
        span {
          height: 35%;
          font-size: 17rem;
          font-weight: 300;
        }
        */
  }
  #trade ul li + li::before {
    top: -50px;
    left: 50%;
    -webkit-transform: translate(-100%, 0%) rotate(90deg);
            transform: translate(-100%, 0%) rotate(90deg);
  }
}
