@charset "UTF-8";
@import url("grid.css");
.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

img {
  max-width: 100%;
  height: auto;
  /*高さ自動/*/
}

a {
  display: block;
  color: #666;
  text-decoration-line: none;
}
a:hover {
  color: #999;
}

/*ヘッダー
-------------------------------------*/
.header {
  display: flex;
  flex-direction: row;
  padding: 2rem 0 0 0;
}

.header-box {
  margin-left: auto;
  margin-top: 8px;
}

.contact-button {
  padding: 1rem;
  border: 2px solid #000;
}

nav ul {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  list-style: none;
  margin: 1rem 0 0 0;
}
nav li {
  flex: 1 0 auto;
}
nav li a {
  text-decoration: none;
  text-align: center;
  width: 100%;
}
nav a {
  padding: 0.5rem;
}
nav a:hover {
  background-color: #f7f7f7;
}

@media screen and (min-width: 768px) {
  /* PC時はMENUボタンを非表示 */
  #open,
  #close {
    display: none !important;
  }
  #navi {
    display: block !important;
  }
}
@media screen and (max-width: 768px) {
  .header {
    flex-direction: column;
    margin-bottom: 10px;
  }
  .header #open {
    position: absolute;
    top: 20px;
    right: 12px;
  }
  #close {
    position: absolute;
    top: 20px;
    right: 12px;
  }
  nav ul {
    flex-direction: column;
  }
  .header li {
    padding-top: 0;
  }
  /* スマホ時はMENUボタンを表示 */
  #open,
  #close {
    display: block;
    width: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
  }
  /* スマホ時はメニューを非表示 */
  #navi {
    display: none;
  }
}
/*メイン画像
-------------------------------------*/
.mainimg {
  position: relative;
}
.mainimg img {
  width: 100vw;
}
.mainimg p {
  position: absolute;
  bottom: 0;
  right: 10px;
  color: #fff;
  font-size: 8vw;
  font-weight: bold;
  font-family: 游明朝;
  text-shadow: 5px 5px 3px rgba(0, 0, 0, 0.5);
}
.mainimg .line__1 {
  animation-name: Textanime;
  animation-duration: 2s;
  animation-fill-mode: forwards;
  opacity: 0;
}
.mainimg .line__2 {
  animation-name: Textanime;
  animation-duration: 2s;
  animation-delay: 2s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes Textanime {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/*メインコンテンツ
-------------------------------------*/
main {
  margin: 5rem 0 0 0;
}

section {
  margin: 5rem 0;
  padding: 3rem 0;
}

.gray-back {
  background-color: #f4f4f4;
}

/*キャッチコピー
-------------------------------------*/
.catch {
  text-align: center;
}
.catch h2 {
  padding-bottom: 1rem;
}

.under {
  border-bottom: 0.4rem solid #000;
  padding: 0 1rem 1rem 1rem;
}

.center {
  text-align: center;
  margin-bottom: 4rem;
}

/*申し込みの流れ
-------------------------------------*/
.flow.row {
  margin-bottom: 3rem;
}

/*フッター
-------------------------------------*/
footer {
  background-color: #f7f7f7;
  padding: 5rem 0;
}
footer h4 {
  border-bottom: 3px solid #ccc;
}

/*お問い合わせ
-------------------------------------*/
.contact-box {
  border: 1px solid #ccc;
  text-align: center;
  padding: 2rem 0;
}

.table {
  margin: 4rem 0;
}
.table th {
  width: 250px;
}

/*コピーライト
-------------------------------------*/
.copyright {
  text-align: center;
  padding: 1rem 0;
  background-color: #000;
}
.copyright a {
  color: #fff;
  text-decoration: none;
  display: inline;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
  position: fixed;
  bottom: 15px;
  right: 15px;
}
#pagetop a {
  display: block;
  background: #000;
  color: #fff;
  width: 50px;
  padding: 10px 5px;
  text-align: center;
}
#pagetop a:hover {
  background: #666;
}

/* 導入
-------------------------------------*/
.donyu {
  color: #fffb00;
  text-shadow: 3px 3px 1px #ff0000, -3px 3px 1px #ff0000, 3px -3px 1px #ff0000, -3px -3px 1px #ff0000, 3px 0px 1px #ff0000, 0px 3px 1px #ff0000, -3px 0px 1px #ff0000, 0px -3px 1px #ff0000;
  text-align: center;
  font-size: 2.6666666667vw;
  font-weight: bold;
  font-family: 游ゴシック;
}

/* 写真の上に文字
-------------------------------------*/
.col2 {
  position: relative;
}
.col2 img:hover {
  opacity: 0.6;
  transition-duration: 0.3s;
}
.col2 h3 {
  position: absolute;
  bottom: 0;
  right: 0;
  color: #fff;
  font-family: 游ゴシック;
  padding: 5px;
  background-color: rgba(0, 0, 0, 0.6);
}

/* ベネフィット
-------------------------------------*/
.benefit {
  margin: 20px;
}
.benefit img {
  vertical-align: middle;
}
.benefit__text {
  padding: 2.6666666667vw;
}
.benefit__text h3 {
  color: #0000ff;
  border-bottom: 1px dotted #0000ff;
}
.benefit__text p {
  text-align: left;
}

/* お客様の声
-------------------------------------*/
.customer__content, .customer__content .col {
  width: auto;
  background-color: #ffcfa8;
  margin: 10px 0;
}
.customer__text {
  padding: 1.3333333333vw;
  text-align: left;
}
.customer__text h3 {
  color: #0000ff;
}
.customer__comment, .customer__text h3 {
  width: 55vw;
}
.customer__comment--personal {
  margin-top: 10px;
}
.customer__text {
  padding: 1.3333333333vw;
  text-align: left;
}
.customer__text h3 {
  color: #0000ff;
}
.customer img {
  vertical-align: middle;
}

/* ボタン
-------------------------------------*/
.btn {
  padding: 10px;
  border-radius: 4vw;
  font-size: 2vw;
  text-align: center;
  border: solid 5px saddlebrown;
  margin: 30px 20vw;
  letter-spacing: 0.5em;
}
.btn a {
  color: saddlebrown;
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px) {
  /*ヘッダー
  -------------------------------------*/
  .header-box {
    display: none;
  }
  /* 改行
  -------------------------------------*/
  .sp-only {
    display: block;
  }
  /*お問い合わせ
  -------------------------------------*/
  .table th {
    width: 100%;
    display: block;
  }
  .table td {
    display: block;
  }
}/*# sourceMappingURL=style.css.map */