@charset "utf-8";

/*------------------------------------------*/
/* メイン
/*------------------------------------------*/
.top-main {
  position: relative;
}

@media screen and (max-width: 833px) {
  .top-main {
    margin-top: 40px;
  }
}

@media screen and (max-width: 580px) {
  .top-main {
    text-align: center;
  }
}

/*メイン 画像--------------------------------------*/
.topmain-img {
  background: url(img/top_main.jpg) no-repeat;
  background-position: bottom right;
  width: 100%;
}

@media screen and (max-width: 833px) {
  .topmain-img {
    background-size: 120%;
    background-position: left;
    /* (画像の高さ / 画像の横幅) × 100 */
    padding-top: calc(120% * calc(780 / 2400));
  }
}

@media screen and (max-width: 767px) {
  .topmain-img {
    background-size: 160%;
    /* (画像の高さ / 画像の横幅) × 100 */
    padding-top: calc(160% * calc(780 / 2400));
  }
}

@media screen and (min-width: 834px), print {
  .topmain-img {
    background-size: 100%;
    /* (画像の高さ / 画像の横幅) × 100 */
    padding-top: calc(100% * calc(780 / 2400));
  }

  *::-ms-backdrop, .topmain-img {
    /* IEは%の割り算ができないので手動計算 */
    padding-top: 32.5%;
  }
}


/*メイン 文字--------------------------------------*/
.top-main__text {
  color: #000;
  text-shadow: 0px 0px 5px #fff;
  position: absolute;
}

@media screen and (max-width: 833px) {
  .top-main__text {
    font-size: 1.8rem;
    bottom: 20px;
    left: 40px;
  }
}

@media screen and (max-width: 767px) {
  .top-main__text {
    font-size: 1.4rem;
    left: 20px;
  }
}

@media screen and (max-width: 580px) {
  .top-main__text {
    font-size: 1.1rem;
    bottom: 15px;
  }
}

.iphone .top-main__text {
  font-weight: bold;
}

@media screen and (min-width: 834px), print {
  .top-main__text {
    font-size: 2rem;
    bottom: 40px;
    left: 40px;
  }
}

/*------------------------------------------*/
/* コンテンツ
/*------------------------------------------*/
.top-cont {
  position: relative;
}

@media screen and (max-width: 833px) {
  .top-cont {
    margin-top: 80px;
  }

}

@media screen and (max-width: 767px) {
  .top-cont {
    margin-top: 60px;
  }
}

@media screen and (max-width: 580px) {
  .top-cont {
    margin-top: 40px;
  }
}

@media screen and (min-width: 834px), print {
  .top-cont {
    margin-top: 100px;
  }
}

/*コンテンツ 画像--------------------------------------*/
.top-cont img {
  width: 100%;
  vertical-align: bottom;
}

@media screen and (min-width: 768px), print {
  .top-cont .img-left {
    margin-left: 50px;
  }

  .top-cont .img-right {
    margin-right: 50px;
  }
}

/*コンテンツ テキスト--------------------------------------*/
.top-cont__text {
  font-size: 0.9rem;
}

@media screen and (max-width: 767px) {
  .top-cont__text {
    margin-top: 10px;
  }
}

@media screen and (min-width: 768px), print {
  .top-cont__text {
    text-align: left;
    background: #fff;
    position: absolute;
    bottom: 0;
  }

  .top-cont .text-left {
    left: 50px;
    padding: 30px 50px 10px 30px;
  }

  .top-cont .text-right {
    right: 50px;
    padding: 30px 30px 10px 50px;
  }
}

@media screen and (min-width: 834px), print {
  .top-cont .text-left {
    padding: 40px 60px 20px 40px;
  }

  .top-cont .text-right {
    padding: 40px 40px 20px 60px;
  }
}

/*コンテンツ テキスト 大--------------------------------------*/
.top-cont__caption {
  color: #7b674f;
}

@media screen and (max-width: 767px) {
  .top-cont__caption {
    font-size: 1.2rem;
  }
}

@media screen and (min-width: 768px), print {
  .top-cont__caption {
    font-size: 1.6rem;
  }
}

@media screen and (min-width: 834px), print {
  .top-cont__caption {
    font-size: 2rem;
  }
}

/*コンテンツ テキスト 大--------------------------------------*/
.top-cont__more a {
  text-decoration: none;
  position: relative;
  color: #572f00;
}

.top-cont__more a::after {
  display: block;
  content: '';
  width: 4px;
  height: 4px;
  border-right: 1px solid #6F5FC4;
  border-bottom: 1px solid #6F5FC4;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  position: absolute;
}

@media screen and (max-width: 767px) {
  .top-cont__more {
    margin-top: 10px;
  }

  .top-cont__more a::before {
    position: absolute;
    top: -10px;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: #c6bdb3;
  }

  .top-cont__more a::after {
    top: 7px;
    right: -5px;
  }

  .iphone .top-cont__more a::after {
    top: 5px;
  }
}

@media screen and (min-width: 768px), print {
  .top-cont__more {
    position: relative;
    margin-top: 30px;
  }

  .top-cont__more a {
    display: inline-block;
    width: 100%;
    -webkit-transition: all .5s;
    transition: all .5s;
  }

  .top-cont__more::before {
    position: absolute;
    top: -15px;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: #c6bdb3;
  }

  .top-cont__more a::before {
    position: absolute;
    top: -15px;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: #6F5FC4;
    transform: scale(0, 1);
    transform-origin: left top;
    -webkit-transition: all .5s;
    transition: all .5s;
  }

  .top-cont__more a:hover::before {
    transform-origin: right top;
    transform: scale(1, 1);
    -webkit-transition: all .5s;
    transition: all .5s;
  }

  .top-cont__more a::after {
    top: 10px;
    right: 0;
  }
}

@media screen and (min-width: 834px), print {
  .top-cont__more {
    margin-top: 40px;
  }
}