/*
Theme Name: prograil theme
Theme URL: テーマのサイトのURI
Description: theme for prograil website
Author: prograil
Author URI: https://prograil.net
Version: 1.0.0
*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*
Base color1: #EEF5FB
Base color2:
Main color: #004B88
Accent color: #FFC828
 */
body {
  font-size: 100%;
  color: #2F3131;
  font-family: "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

ul {
  list-style: none;
}

.marker-1 {
  background: linear-gradient(transparent 60%, #FFC828 60%);
}

.dib {
  display: inline-block;
}

.inner {
  margin: 0 auto;
  padding: 0 38px;
  width: 100%;
  max-width: 1400px;
}

.title-ja {
  display: block;
  position: relative;
  font-size: 0.8rem;
  color: #808c99;
  line-height: 1.8;
  letter-spacing: 0.2em;
}

.en, .home h2, nav ul li a {
  font-family: 'Josefin Sans', sans-serif;
}

.home section {
  text-align: center;
  padding: 50px 0;
}

.home header {
  height: 100vh;
  position: relative;
}

.main-bg::before {
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  background-repeat: no-repeat;
  background-position: 50% 100%;
  background-image: url(../images/mv-background.jpg);
  background-size: cover;
  z-index: -1;
}

.bg-cover {
  width: 100%;
  height: 100%;
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  background-repeat: no-repeat;
  background-position: 50% 100%;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: 0;
}

.home main {
  position: relative;
  z-index: 10;
}

.home h1 {
  width: 100%;
  position: absolute;
  font-family: 'Josefin Sans', sans-serif;
  color: #004B88;
  font-size: 10rem;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

nav {
  background-color: transparent;
}

.menu-toggle, .nav-ttl {
  display: none;
}

.menu-toggle {
  position: fixed;
  top: 2.5vw;
  right: 3vw;
  z-index: 100;
}

.menu-hamberger {
  position: relative;
  background: transparent;
  width: 50px;
  height: 34px;
  border: 0;
  cursor: pointer;
}

.menu-hamberger, .menu-hamberger span {
  display: inline-block;
  transition: all .4s;
}

.menu-hamberger span {
  position: absolute;
  width: 100%;
  height: 1px;
  left: 0;
  background: #8C8C8C;
}

.menu-hamberger span:nth-of-type(1) {
  top: 0;
}

.menu-hamberger span:nth-of-type(2) {
  top: 17px;
}

.menu-hamberger span:nth-of-type(3) {
  bottom: 0;
}

.menu-hamberger.active span:nth-of-type(1) {
  transform: translateY(17px) rotate(-45deg);
}

.menu-hamberger.active span:nth-of-type(2) {
  opacity: 0;
}

.menu-hamberger.active span:nth-of-type(3) {
  transform: translateY(-17px) rotate(45deg);
}

.nav-ttl {
  font-size: 2rem;
  text-align: center;
  z-index: 30;
}

nav {
  width: 100vw;
  position: fixed;
  top: 1rem;
  left: 0;
  transition: .5s;
  z-index: 100;
}

nav.scroll-nav {
  top: 0;
  background-color: #004B88;
}

nav.scroll-nav ul li a {
  color: #fff;
}

nav.open {
  left: 0;
}

nav ul {
  font-size: 1.25rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-right: 1rem;
}

nav ul li {
  position: relative;
  padding: 5px 20px;
}

nav ul li a {
  color: #004B88;
  font-weight: 300;
  text-decoration: none;
}

nav ul li a:hover {
  opacity: 0.8;
}

.mv-inner {
  width: 60vw;
  height: 100%;
  margin: 0 auto;
}

.mv-hide {
  display: none;
}

.sub-ttl-img {
  width: 40%;
  max-width: 400px;
  display: block;
  position: absolute;
  top: 25%;
  left: 60%;
  overflow: hidden;
  animation: circlespin 60s linear infinite;
}

@keyframes circlespin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(-360deg);
  }
}

.scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  z-index: 10;
}

.scroll-down span {
  position: absolute;
  left: 13px;
  bottom: 20px;
  color: #8C8C8C;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  writing-mode: vertical-rl;
  z-index: 10;
}

.scroll-down::before {
  content: "";
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #8C8C8C;
  animation: circlemove 1.6s ease-in-out infinite, cirlemovehide 1.6s ease-out infinite;
  position: absolute;
  bottom: 0;
  left: -7px;
  z-index: 10;
}

@keyframes circlemove {
  0% {
    bottom: 95px;
  }

  100% {
    bottom: -5px;
  }
}

@keyframes cirlemovehide {
  0% {
    opacity: 0
  }

  50% {
    opacity: 1;
  }

  80% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;
  }
}

.scroll-down::after {
  content: "";
  width: 3px;
  height: 100px;
  background-color: #8C8C8C;
  position: absolute;
  bottom: 0;
  left: -1px;
  z-index: 10;
}

.home h2 {
  font-size: 2.25rem;
  font-weight: bold;
  color: #004B88;
  margin: 0 auto 45px;
  text-align: center;
  letter-spacing: 0.4rem;
}

.discription {
  max-width: 800px;
  font-size: 1.125rem;
  text-align: center;
  margin: 0 auto 45px;
}

.concept {
  background-color: #fff;
}

.concept-col {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 0 auto;
  max-width: 1080px;
  font-size: 0;
}

.concept-col li {
  width: calc(90% / 3);
  display: inline-block;
  position: relative;
  font-size: 1rem;
  text-align: left;
  vertical-align: top;
  padding: 20px;
}

.concept-col p {
  font-size: 0.85rem;
  line-height: 1.4rem;
}

.concept h3 {
  position: absolute;
  width: 85%;
  color: #004B88;
  font-size: calc(0.75vw + 0.7rem);
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.concept-wrapper {
  position: relative;
  margin-bottom: 30px;
  width: 100%;
}

.concept-wrapper::before {
  display: block;
  padding-top: 100%;
  content: "";
}

.content {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  border: solid 8px #dde6f0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.bg-block-1, .bg-block-2, .bg-block-works, .bg-block-about {
  padding: 50px 0;
}

.bg-block-1 {
  background-color: transparent;
}

.bg-block-2 {
  background-color: #fff;
}

.bg-block-works, .bg-block-about {
  position: relative;
  z-index: 2;
}

.bg-block-works::after {
  width: 100%;
  height: 100%;
  content: "";
  position: absolute;
  background-color: #EEF5FB;
  top: 0;
  left: 0;
  transform: skewY(-5deg);
  transform-origin: bottom left;
  z-index: -1;
  padding-bottom: 150px;
}

.bg-block-about::before, .bg-block-about::after {
  width: 100%;
  height: 100%;
  content: "";
  position: absolute;
  background-color: #F7F7F7;
  top: 0;
  left: 0;
  transform-origin: bottom left;
  z-index: -1;
}

.bg-block-about::before {
  transform: skewY(-5deg);
}

.bg-block-about::after {
  transform: skewY(5deg);
}

.home section.works {
  padding: 0;
}

.works-inner {
  width: 60%;
  margin: 0 auto;
}

.works-col {
  display: flex;
  flex-wrap: wrap;
}

.works-col li {
  width: 48%;
  background-color: #fff;
  padding: 20px;
  margin-bottom: 25px;
  margin-left: 1%;
}

.home section.service {
  padding: 200px 0 50px 0;
}

.service-col {
  display: flex;
  flex-wrap: wrap;
  margin-left: -1%;
}

.service-col li {
  width: 24%;
  box-shadow: 0 1px 10px -2px rgb(100 100 100 /30%);
  background: #fff;
  padding: 20px;
  margin-bottom: 25px;
  margin-left: 1%;
}

.service-wrapper p {
  text-align: left;
  font-size: 0.85rem;
  line-height: 1.4rem;
  margin-top: 15px;
}

.service h3 {
  position: relative;
  text-align: center;
  font-size: 1.3rem;
  padding: 10px 0;
}

.service h3::before {
  content: "";
  width: 2.5rem;
  height: 5px;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  background-color: #FFC828;
  border-radius: 10px;
}

.service-col img {
  width: auto;
  height: 68px;
  text-align: center;
}

.service-notes {
  width: 50%;
  background-color: #EEF5FB;
  border: solid 2px #EEF5FB;
  border-radius: 20px;
  padding: 20px;
  margin: 30px auto 0 auto;
}

.service-notes>p {
  font-size: 1.3rem;
  color: #004B88;
  padding-bottom: 10px;
}

.service-notes ul {
  display: flex;
  flex-wrap: wrap;
}

.service-notes ul li {
  width: 48%;
}

.service-notes ul li p {
  font-size: 0.85rem;
  text-align: left;
  padding: 20px;
  margin-top: 10px;
}

.about-inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 65%;
  margin: 0 auto;
}

.about-inner img {
  display: block;
  width: 40%;
  max-width: 400px;
  border-radius: 50%;
  padding: 20px;
  margin: 0 auto;
}

.about-text {
  width: 60%;
  padding: 30px;
}

.about-text h3 {
  margin-bottom: 30px;
}

.about-text p {
  text-align: left;
  line-height: 1.6rem;
  margin-top: 0.8rem;
}

.home .about h3 {
  font-size: 2.1rem;
}

.name-kana {
  font-size: 1.3rem;
  vertical-align: middle;
}

.member-copy {
  display: block;
  font-size: 1rem;
}

.home section.contact {
  margin-top: 50px;
}

.contact-form label {
  font-size: 1rem;
  font-weight: bold;
  text-align: left;
}

.contact-form .required {
    border-radius: 3px;
    background: #ef5555;
    padding: 0.1rem 0.2rem;
    color: #fff;
    font-size: 0.75rem;
}

.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
  width: 100%;
}

.sns-area {
  margin-top: 1rem;
}

.sns-area ul {
  display: flex;
  justify-content: center;
}

.sns-area ul li {
  padding: 5px;
}

.sns-area img {
  width: auto;
  height: 24px;
  text-align: center;
}

footer {
  position: relative;
  background-color: #004B88;
  color: #fff;
  font-size: 0.75rem;
  text-align: center;
  padding: 8px 0;
  z-index: 20;
}

.copy a {
  color: #fff;
  font-size: 0.7rem;
  text-decoration: none;
}

@media screen and (max-width: 1024px) {
  .concept ul li {
    width: calc(90% / 3);
  }

  .service-col li {
    width: 48.5%;
    margin-bottom: 10px;
    margin-left: 1.5%;
  }

  .service-notes {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .home header {
    height: 90vh;
  }

  .inner {
    padding: 0 12px;
  }

  .mv-inner {
    width: 90vw;
  }

  .discription {
    font-size: 1rem;
  }

  .concept h3 {
    font-size: 1.25rem;
  }

  .home h1 {
    position: absolute;
    font-size: 6rem;
    text-align: center;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
  }

  .menu-toggle, .nav-ttl {
    display: block;
  }

  .gnav-wrapper {
    padding-top: 15vw;
    width: 50%;
    margin: 0 auto;
  }

  nav {
    width: 100vw;
    height: 100vh;
    position: fixed;
    background-color: rgba(255, 255, 255, .7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    top: 0;
    left: 100%;
    transition: ease .4s;
    z-index: 30;
  }

  nav ul {
    flex-direction: column;
    margin-top: 30px;
  }

  nav ul li {
    width: 100%;
    padding: 20px;
    border-bottom: dotted 1px #8C8C8C;
  }

  nav ul li::after {
    content: "\f105";
    font-family: "fontello";
    width: 1rem;
    display: inline-block;
    font-size: 1.125rem;
    text-align: center;
    text-decoration: inherit;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
  }

  nav ul li a {
    display: block;
    width: 100%;
    height: 100%;
  }

  nav.scroll-nav {
    top: inherit;
    background-color: inherit;
  }

  nav.scroll-nav ul li a {
    color: #004B88;
  }

  .sub-ttl-area {
    width: 23vh;
    height: 46vh;
    position: absolute;
    overflow: hidden;
    top: 25%;
    right: -5%;
  }

  .sub-ttl-img {
    width: 200%;
    top: 0;
    left: 0;
  }

  .concept ul li {
    width: 90%;
  }

  .concept ul li:not(:last-child) {
    margin-bottom: 40px;
  }

  .service-col li {
    width: 100%;
    margin-bottom: 10px;
    margin-left: 0;
  }

  .service-col img {
    height: 50px;
  }

  .service-notes {
    margin-left: -0.5%;
  }

  .service-notes ul li {
    width: 100%;
  }

  .about-inner {
    width: 95%;
    flex-direction: column;
  }

  .about-inner img {
    width: 100%;
  }

  .about-text {
    width: 100%;
    padding: 20px 12vw;
  }
}
