﻿
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff; /* 背景カラー */
  z-index: 9999; /* 一番手前に */
  pointer-events: none; /* 他の要素にアクセス可能にするためにポインターイベントは無効に */
  opacity: 0; /* 初期値 : 透過状態 */
  -webkit-transition: opacity .5s ease; /* アニメーション時間は 0.8秒 */
  transition: opacity .5s ease;
}
body.fadeout::after {
  opacity: 1;
}
body.fadeout article {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}
#contact h2 {
  margin-bottom: 3%;
  padding: 0;
  font-size: 3.2rem;
  font-weight: 800;
}
#contact h3 {
  font-size: 1.6rem;
  border-bottom: 1px solid #eee;
  margin: 5% 0 3%;
}
#contact p {
  font-size: 1.4rem;
  margin-left: 10px;
}
#contact .contents {
  margin-left: 3%;
}
.contact-inner {
  width: 90vw;
  margin: 0 auto;
}
.mail {
  margin-bottom: 60px;
}
#contact .mail p {
  font-size: 2.5rem;
}
.tel {
  margin-bottom: 60px;
}
#contact .tel p {
  font-size: 2.5rem;
}
#contact .tel p.red {
  font-size: 1.2rem;
  color: #cf3c3c;
}
.map {
  margin: 2% 0;
}
#contact .map a {
    text-align: right;
    display: block;
    background: none;
    cursor: pointer;
    font-size: 1.2rem;
	margin: 0;
}
.map iframe, .map object, .map embed {
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
  -webkit-transition: all 0.7s ease;
  -moz-transition: all 0.7s ease;
  -o-transition: all 0.7s ease;
  transition: all 0.7s ease;
}
.map iframe:hover, .map object:hover, .map embed:hover {
  -webkit-filter: grayscale(0%);
  -moz-filter: grayscale(0%);
  -ms-filter: grayscale(0%);
  -o-filter: grayscale(0%);
  filter: grayscale(0%);
}
@media screen and (min-width: 481px) {}
@media screen and (min-width: 960px) {
  /*--------------- contact area start ---------------*/
  #contact h3 {
    margin: 10px 0;
  }
  #contact .contents {
    margin-left: 0;
  }
  .contact-contents {
    width: 100%;
  }
  .contact-inner {
    max-width: 1200px;
    width: 80vw;
    margin: 0 auto;
  }
  .ad-contents {
    display: flex;
  }
  #contact .ad-contents p {
    margin: 40px;
  }
  .map {
    width: 60%;
  }
  #contact .map a {
    margin: 0;
  }
  table {
    max-width: 1000px;
    margin: 0 auto;
  }
  th {
    display: table-cell;
    width: 20%;
    padding: 1.5em;
    border-bottom: 1px solid #ccc;
  }
  td {
    display: table-cell;
    border-bottom: 1px solid #ccc;
  }
}