@charset "utf-8";
/* CSS Document */
/*全体*/
a {
  display: block;
  text-decoration: none;
  color: #000;
  transition: all 0.3s ease-in 0s;
}
img {
  margin: auto;
}
.bg-img {
  background-image: url("../img/bg/backsumaho.jpg");
  background-position: 70% 0%;
  background-size: cover;
  background-repeat: no-repeat;
}
@media screen and (min-width: 769px) {
  .bg-img {
    background-image: url("../img/bg/bg-pc.jpg");
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }
}
.myDiv {
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAHElEQVQYV2NkYGAwZmBgOMsABYwwBjYBsEoMFQBQhgIF9JIf4wAAAABJRU5ErkJggg==)
    repeat;
}
@media screen and (min-width: 769px) {
  .pc-contents {
    width: 50%;
    margin-left: 50%;
  }
}
.contents-box {
  width: 90%;
  min-height: 200px;
  margin: 0 auto;
  padding: 20px 2%;
  border: 1px solid #e83015;
  background: rgba(255, 255, 255, 0.8);
}
.mt50 {
  margin-top: 50px;
}
@keyframes fadeup {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/*全体終わり*/
/*TOPページロゴ*/
h1 {
  padding: 50px 20px;
  background: rgba(255, 255, 255, 0.8);
}
@media screen and (min-width: 769px) {
  h1 {
    width: 50%;
    height: 100vh;
    padding: 20% 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #top h1 {
    width: 100%;
  }
  #news h1,
  #about h1,
  #teams h1,
  #contact h1 {
    width: 50%;
    position: fixed;
  }
  h1 a {
    width: 90%;
    animation: fadeup 2.5s ease-out 1 forwards;
  }
}
/*TOPページロゴ終わり*/
/*各コンテナh2*/
h2 {
  border-bottom: 1px solid #e83015;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  font-weight: lighter;
  margin-bottom: 20px;
  padding-left: 1rem;
  font-size: 1rem;
  color: #e83015;
}
h2 img {
  width: 50%;
}
@media screen and (min-width: 769px) {
  h2 img {
    width: 20%;
    margin-bottom: 5px;
    margin: 0 0 10px;
  }
}
/*各コンテナh2終わり*/
/*news*/
.news-contents {
  display: table;
  width: 100%;
  padding-bottom: 10px;
  margin-bottom: 10px;
  background-image: linear-gradient(
    to right,
    #e83015,
    #e83015 8px,
    transparent 8px,
    transparent 10px
  );
  background-size: 18px 1px;
  background-repeat: repeat-x;
  background-position: bottom;
}
.news-contents:last-child {
  background-image: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.news-contents dt {
  display: table-cell;
  width: 40%;
  font-size: min(4vw, 20px);
  vertical-align: middle;
  text-align: center;
}
.news-contents dd {
  display: table-cell;
  width: 60%;
  padding-left: 5%;
  font-size: min(4vw, 20px);
}
.news-contents dd p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
/* .news-contents a {
  transition: all 0.3s ease 0s;
} */
.news-contents a:hover {
  opacity: 0.5;
  background: rgba(255, 255, 255, 0.2);
}
.news-more {
  width: 200px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  margin: 20px auto 0;
  vertical-align: middle;
  border: 1px solid #000;
  border-radius: 5% / 20%;
}
/* .news-more a {
  transition: all 0.3s;
} */
.news-more a:hover {
  color: #fff;
  background: #000;
  border-radius: 5% / 20%;
  transform: translate(-2%, -10%);
}
.news h3 {
  font-size: 0.8rem;
  text-indent: 0.8rem;
  margin: 20px 0 10px;
  border-bottom: 1px solid #e83015;
}
.chevrons {
  text-align: center;
  margin: 10px;
}
.chevrons a {
  display: inline-block;
  /* transition: all 0.3s; */
}
.chevrons a:hover {
  color: #fff;
  background: #000;
}
.fa-chevron-right {
  padding: 5px;
  border: 1px solid #000;
}
.news-main {
  margin-bottom: 20px;
}
.news-main h3 {
  font-size: 1rem;
  text-indent: 0;
  padding-left: 10px;
  border-bottom: none;
  border-left: 10px solid #e83015;
}
.news-main time {
  font-size: 14px;
}
.news-main p {
  margin-top: 10px;
}
.news-main img {
  max-width: 80%;
  height: auto;
  margin: 20px auto;
}
.back-botton {
  text-align: center;
  margin-bottom: 20px;
}
input[type="button"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 5px 10px;
  border: 1px solid #000;
  outline: none;
  background: transparent;
  transition: all 0.3s ease-in 0s;
}
input[type="button"]:hover {
  cursor: pointer;
  color: #fff;
  background: #000;
  transform: translate(-2%, -10%);
}
@media screen and (min-width: 769px) {
  .news {
    padding-top: 50px;
  }
  #news .news {
    margin-top: 0;
  }
}
/*news終わり*/
/*teams*/
.teams .contents-box div {
  position: relative;
  margin-bottom: 20px;
}
.teams .contents-box div:last-child {
  margin-bottom: 0;
}
.teams .contents-box p {
  overflow: hidden;
}
/* .teams .contents-box a {
  transition: all 0.3s;
} */
.teams .contents-box a:hover {
  transform: scale(1.5, 1.5);
}
.teams .contents-box p {
  margin: auto;
  text-align: center;
  color: #fff;
  width: 90%;
}
.teams .contents-box p:last-child {
  margin-bottom: 0;
}
.team-top {
  width: 100%;
  height: 80px;
  background: #ccc;
  margin-bottom: 20px;
}
.team1,
.team2 {
  max-width: 500px;
  max-height: 155px;
}
.team-1 .team-top {
  background: center/cover no-repeat url("../img/teams/team1/team1-banner.jpg");
}
.team-2 .team-top {
  background: center/cover no-repeat url("../img/teams/team2/team2-banner.jpg");
}
.team-m ul {
  list-style: none;
  padding-left: 0;
}
.team-m li {
  display: flex;
  height: 100px;
  line-height: 100px;
  margin: 0 auto 10px;
  background: rgba(255, 255, 255, 0.8);
}
.team-m li:last-child {
  margin-bottom: 0;
}
.team-m .fas {
  font-size: 30px;
  vertical-align: middle;
  margin: 0 25px;
}
.m-nane {
  width: 70%;
}
.m-sns {
  display: flex;
  justify-content: space-evenly;
  width: 30%;
  font-size: 20px;
  vertical-align: middle;
}
.m-sns a {
  display: inline;
  padding: 5px;
}
.m-sns a:hover {
  background: #000;
  color: #fff;
}
@media screen and (min-width: 769px) {
  #teams .teams {
    margin-top: 0;
  }
  .teams {
    padding-top: 50px;
  }
}
/*teams終わり*/
/*partner*/
.partner p {
  width: 60%;
  margin: 50px auto;
}
.partner .contents-box {
  height: auto;
}
.partner h2 img {
  width: 60%;
}
/* .partner a {
  transition: all 0.3s;
} */
.partner a:hover {
  border: 1px solid #e83015;
  padding: 5px;
}
@media screen and (min-width: 769px) {
  .partner {
    padding-top: 50px;
  }
  .partner h2 img {
    width: 30%;
  }
}
/*partner終わり*/
/*about*/
.about h3 {
  padding-left: 1rem;
  padding-bottom: 10px;
  border-bottom: 1px solid #e83015;
}
.about section h3,
.about section p {
  margin: 20px auto;
}
.about a {
  width: 80%;
  margin: 0 auto;
  /* transition: all 0.3s; */
}
.about a:hover {
  border: 1px solid #e83015;
  padding: 5px;
}
.inc {
  width: 100%;
  margin: 20px auto;
  border-collapse: collapse;
}
.inc th,
.inc td {
  border: 1px solid #e83015;
  padding: 20px 10px;
}
.inc th {
  font-weight: bold;
}
.inc td {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.8);
}
.gmap {
  height: 0;
  overflow: hidden;
  padding-bottom: 75%;
  position: relative;
  border: 1px solid #e83015;
}
.gmap iframe {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
}
@media screen and (min-width: 769px) {
  #about .about {
    margin-top: 0;
  }
  .about {
    padding-top: 50px;
  }
}
/*about終わり*/
/*contactボタン*/
.contact-btn {
  width: 200px;
  height: 50px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  vertical-align: middle;
  line-height: 50px;
  background: #7db9de;
  border-radius: 5% / 20%;
}
.contact-btn a {
  text-decoration: none;
  color: #fff;
  /* transition: all 0.3s; */
}
.contact-btn a:hover {
  color: #7db9de;
  background: #fff;
  border-radius: 5% / 20%;
}
@media screen and (min-width: 769px) {
  .contact-btn {
    margin-top: 100px;
    margin-bottom: 100px;
  }
  #contact .contact {
    padding-top: 50px;
    margin-top: 0;
  }
}
/*contactボタン終わり*/
/*contact*/
.contact > p {
  width: 80%;
  margin: 0 auto 20px;
}
.contact h2 img {
  width: 60%;
}
.contact span {
  color: #e83015;
}
.form-item {
  margin-bottom: 10px;
}
.form-item:last-child {
  margin-bottom: 0;
}
.labels {
  display: block;
}
.inputs {
  width: 100%;
  min-height: 44px;
  border: 0;
  background: rgba(255, 255, 255, 0.8);
}
select:hover{
	cursor: pointer;
}
.btns {
  display: flex;
  width: 80%;
  margin: 0 auto;
  justify-content: space-around;
}
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 40%;
  height: 44px;
  border: 0;
  outline: none;
  color: #fff;
  transition: all 0.3s;
}
input[type="reset"] {
  background: #7db9de;
}
input[type="submit"] {
  background: #e83015;
}
@media screen and (min-width: 769px) {
  #contact h2 img {
    width: 30%;
  }
  input[type="reset"]:hover,
  input[type="submit"]:hover {
    cursor: pointer;
  }
  input[type="reset"]:hover {
    background: #fff;
    color: #7db9de;
    border: 1px solid #7db9de;
  }
  input[type="submit"]:hover {
    background: #fff;
    color: #e83015;
    border: 1px solid #e83015;
  }
}
/*footer*/
footer {
  background: rgba(255, 255, 255, 0.8);
  color: #e83015;
}
footer p,
footer a {
  color: #e83015;
}
.sns {
  width: 80%;
  display: flex;
  justify-content: space-around;
  padding-top: 50px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.5rem;
}
.f-nav {
  text-align: center;
  margin-top: 25px;
}
.f-nav ul {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}
.f-nav li {
  margin-bottom: 10px;
}
@media screen and (min-width: 769px) {
  .sns a {
    padding: 0 10px;
    /* transition: all 0.3s; */
  }
  .sns a:hover {
    color: #fff;
    background: #e83015;
  }
  .f-nav ul {
    display: flex;
    justify-content: space-around;
  }
  .f-nav a {
    margin-bottom: 10px;
    padding: 0 10px;
    /* transition: all 0.3s; */
    position: relative;
    z-index: 2;
  }
  .f-nav a:hover {
    color: #fff;
  }
  .f-nav a:after {
    width: 0%;
    height: 100%;
    background-color: #e83015;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    transition: all .3s;
    z-index: -1;
  }
  .f-nav li:last-child a:after {
    background: #7db9de;
  }
  .f-nav a:hover:after {
    width: 100%;
  }
}
/*footer終わり*/
