@charset "utf-8";
/*メインビジュアル*/
.mainvisual {
  background-image: url(../img/header.jpg);
  background-size: cover;
  background-position: center center;
  height: calc(100vh - 80px);
  position: relative;
}

.mainvisual_copy {
  position: absolute;
  bottom: 150px;
  left: 46px;
}

.mainvisual_subtitle {
  font-size: 2rem;
  font-weight: bold;
  font-style: italic;
  color: #0F7AC9;
}

.mainvisual_title {
  font-size: 5rem;
  font-weight: bold;
  color: #fff;
  margin: 10px 0 50px;
}

.mainvisual_txt {
  line-height: 1.56;
  color: #fff;
  font-weight: 700;
}

.scrolldown {
  --color: white;
  --sizeX: 30px;
  --sizeY: 50px;
  position: relative;
  left: 50%;
  bottom: calc(-100% + 80px);
  transform: translateX(-50%);
  width: var(--sizeX);
  height: var(--sizeY);
  margin-left: var(sizeX / 2);
  border: calc(var(--sizeX) / 10) solid var(--color);
  border-radius: 50px;
  box-sizing: border-box;
  margin-bottom: 16px;
}

.scrolldown::before {
  content: "";
  position: absolute;
  bottom: 30px;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  background-color: var(--color);
  border-radius: 100%;
  animation: scrolldown-anim 2s infinite;
  box-sizing: border-box;
  box-shadow: 0px -5px 3px 1px #2a547066;
}

@keyframes scrolldown-anim {
  0% {
    opacity: 0;
    height: 6px;
  }

  40% {
    opacity: 1;
    height: 10px;
  }

  80% {
    transform: translate(0, 20px);
    height: 10px;
    opacity: 0;
  }

  100% {
    height: 3px;
    opacity: 0;
  }
}

.chevrons {
  padding: 6px 0 0 0;
  margin-left: -3px;
  margin-top: 48px;
  width: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chevrondown {
  margin-top: -6px;
  position: relative;
  border: solid var(--color);
  border-width: 0 3px 3px 0;
  display: inline-block;
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
}

.chevrondown:nth-child(odd) {
  animation: pulse54012 500ms ease infinite alternate;
}

.chevrondown:nth-child(even) {
  animation: pulse54012 500ms ease infinite alternate 250ms;
}

@keyframes pulse54012 {
  from {
    opacity: 0;
  }

  to {
    opacity: 0.5;
  }
}

@media screen and (min-width:768px) and ( max-width:1024px) {

}

@media screen and (max-width:768px) {
  .mainvisual {
    height: calc(100vh - 70px);
  }
  .mainvisual_copy {
    bottom: 150px;
    left: 10px;
  }

  .mainvisual_subtitle {
    font-size: 1.8rem;
  }
  
  .mainvisual_title {
    font-size: 3rem;
    margin: 10px 0 50px;
  }
  
  .mainvisual_txt {
    line-height: 1.5;
    font-size: 1.5rem;
  }
}

/*ワットエイバードゥー*/
.whateighverdo {
  padding: 100px 0;
}
.section_title {
  font-size: 4rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 80px;
  letter-spacing: .04em;
}

.section_subtitle {
  font-family: ryo-gothic-plusn, sans-serif;
  font-weight: 400;
	font-style: normal;
  font-size: 2rem;
  display: block;
  margin-top: 15px;
}

.what_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.what_paragraph {
  width: 40%;
}

.what_title {
  font-size: 3.6rem;
  line-height: 1.38;
  font-weight: 700;
}

.what_txt {
  line-height: 1.875;
  margin: 30px 0 50px;
}

.button {
  border-radius: 100px;
  box-shadow: -5px -5px 20px #fff,
  5px 5px 20px #babecc;
  transition: all .2s ease-in-out;
  cursor: pointer;
  padding: 20px 40px;
}

.button:hover {
  box-shadow: -2px -2px 5px #fff,
  2px 2px 5px #babecc;
}

.what_img {
  width: 50%;
}

.what_img img {
  width: 100%;
}

@media screen and (min-width:768px) and ( max-width:1024px) {
  
}

@media screen and (max-width:768px) {
  .section_title {
    font-size: 3rem;
    margin-bottom: 60px;
  }
  
  .section_subtitle {
    font-size: 1.8rem;
  }
  
  .what_inner {
    flex-direction: column;
  }
  
  .what_paragraph {
    width: 100%;
    order: 2;
  }
  
  .what_title {
    font-size: 3rem;
    text-align: center;
  }

  .what_txt {
    line-height: 1.875;
    margin: 30px 0 60px;
  }
  
  .what_paragraph button {
    display: block;
    margin: 0 auto;
  }
  
  .what_img {
    width: 100%;
    margin-bottom: 60px;
    order: 1;
  }
  
  .what_img img {
    width: 100%;
  }
}

/*スペシャリティ*/
.specialty {
  padding-bottom: 100px;
}
.specialty_inner {
  display: flex;
  justify-content: space-between;
}

.specialty_item {
  width: 23%;
  border-radius: 0px 0px 10px 10px;
  box-shadow: -5px -5px 20px #fff,
  5px 5px 20px #babecc;
  transition: all .2s ease-in-out;
  /*cursor: pointer;*/
}

/*.specialty_item:hover {
  box-shadow: -2px -2px 5px #fff,
  2px 2px 5px #babecc;
}*/

.specialty_item img {
  width:  100%;
}

.specialty_title {
  padding: 20px 15px 25px;
  font-size: 1.8rem;
  font-weight: 700;
}

.specialty_txt {
  padding: 0px 15px 20px;
  line-height: 1.2;
}

@media screen and (min-width:768px) and ( max-width:1024px) {
  
}

@media screen and (max-width:768px) {
  .specialty_inner {
    flex-direction: column;
  }
  
  .specialty_item {
    width: 100%;
    margin-bottom: 50px;
  }

  .specialty_item:last-child {
    margin-bottom: 0;
  }
  
  .specialty_item img {
    width:  100%;
  }
}