@charset "UTF-8";

body {
  background-color: #e2d1c0;
  color: #865b39;
  margin: 0;
  padding: 0;
  font-family: "Kiwi Maru", serif;
}

h2 {
  color: #57301f;
}

p {
  line-height: 1.7;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:not(:disabled):not(.disabled).active {
  color: #6c757d !important;
}

header.top-page {
  height: 575px;
  overflow: hidden;
  padding-right: 0;
  padding-left: 0;
}

.card-img-top {
  width: 65%;
  border-radius: 5%;
}

.card-img {
  border-radius: 5%;
}

.keyvisual {
  background-image: url(../img/keyvisual-top.jpg);
  background-origin: center;
  background-position: 5% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 575px;
}

.title-content {
  height: 100px;
  position: relative;
  margin-bottom: 10px;
  display: block;
}

.ttl-bdr {
  font-size: 3rem;
  line-height: 1.5;
  position: absolute;
  margin-bottom: 50px;
  display: grid;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: fit-content;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.inline {
  display: inline-block;
}

.vis {
  content: "";
  background-image: url("../img/vis.svg");
  background-size: cover;
  width: 89px;
  height: 104px;
  position: absolute;
  z-index: -1;
  top: -10%;
  left: -30px;
  margin-left: 15px;
}

.heading {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

hr {
  border-top: 1px dotted #714629;
  border-bottom: 1px dotted #fff;
}

.contact {
  margin: 0 auto;
}

.ctr-contact {
  max-width: 650px;
}

.right-arrow {
  margin: 13px 0 0 10px;
}

a.contact_btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
  background: #a1a884;
  border: 1px solid #a1a884;
  border-radius: 30px;
  box-sizing: border-box;
  padding: 20px 0;
  color: #fff;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
  transition-duration: 0.3s;
}

a.contact_btn:before {
  content: "";
  width: 8px;
  height: 8px;
  border: 0;
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  right: 25px;
  margin-top: -6px;
}

.achievement {
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  display: inline;
  color: #57301f;
  background-image: linear-gradient(rgba(0, 0, 0, 0) 60%, #e9c775 90%);
}

/* 大デバイス（デスクトップ, 1200px 未満）
==============================================*/
@media screen and (max-width: 1199.98px) {
  .herounit h1 {
    margin-top: 10rem;
  }

  .display-4 {
    font-size: 1.3em;
    line-height: 1.2;
  }
}

/* END */
/* 中デバイス（タブレット, 992px 未満）
==============================================*/
@media screen and (max-width: 991.98px) {
  .container {
    max-width: 740px;
  }

  .achievement {
    font-size: 1.4rem;
    content: "\A";
    white-space: pre;
  }

  .vis {
    width: 76px;
    height: 88px;
  }

  .display-4 {
    font-size: 1em;
    line-height: 1.2;
  }

  .ctr-contact {
    max-width: 450px;
  }
}

/* END */
/* 小デバイス（横向きモバイル, 768px 未満）
==============================================*/
@media screen and (max-width: 767.98px) {
  h1 {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.2;
  }

  header.top-page {
    height: 100%;
  }

  .keyvisual {
    width: 100%;
    height: 0;
    padding-bottom: 34.98%;
    background: url(../img/keyvisual-top.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
  }

  .card-img-top {
    width: 45%;
  }

  .vis {
    top: -55%;
  }

  .display-3 {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .display-4 {
    font-size: 1.3em;
    line-height: 1.2;
  }
}

/* END */
/* 極小デバイス（縦向きモバイル, 576px 未満）
==============================================*/
@media screen and (max-width: 575.98px) {
  .display-3 {
    font-size: 1.5rem;
    line-height: 1.2;
  }
  .achievement {
    font-size: 1.3rem;
  }
  .display-4 {
    font-size: 1rem;
    line-height: 1.2;
  }
  .vis {
    top: -90%;
  }
  .media-text {
    font-size: 1.5rem;
    line-height: 1.2;
  }
}

/* END */
