:root {
  --base-color: #211e55;
  --accent-color: #efbb24;
  --font-color: #ffffff;
}

html,
body {
  font-family: '游明朝体', 'Yu Mincho', YuMincho, 'ヒラギノ明朝 Pro', 'Hiragino Mincho Pro',
    'MS P明朝', 'MS PMincho', serif;
}

body {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--base-color);
  color: var(--font-color);
}

.pc {
  display: inline-block;
  width: 640px;
  margin: 0 auto;
}

@media screen and (max-width: 765px) {
  .pc {
    display: none !important;
  }
}

.sp {
  display: none;
}

@media screen and (max-width: 765px) {
  .sp {
    display: inline-block;
  }
}

/* header */
.header-logo {
  width: 100px;
  margin-left: 80px;
  margin-top: 4px;
  z-index: 9999;
}

.top-button {
  position: fixed;
  bottom: 0;
  right: 0;
  margin-right: 4%;
  margin-bottom: 20px;
  width: 60px;
  height: 60px;
  z-index: 9999;
}

.top-button .fa-circle {
  color: var(--font-color);
}
.top-button .color-main {
  color: var(--base-color);
}

.top-button:hover {
  cursor: pointer;
}

.navbar {
  z-index: 9999;
}

.navbar-dark .navbar-toggler {
  color: rgba(0, 0, 0, 0);
  border: none;
  padding: 0px;
  width: 40px;
  height: 40px;
  box-sizing: border-box;
  position: relative;
  z-index: 9999;
}

.navbar-toggler:focus,
.navbar-toggler:active {
  outline: none;
  box-shadow: none;
}

.navbar-dark .navbar-toggler-icon {
  background-image: none; /* この行で背景画像を無効化 */
  background-color: #fff;
  width: 40px;
  height: 4px;
  display: block;
  position: absolute;
  transition: ease 0.5s;
}

/* 3本のバーそれぞれの座標を設定 */
.navbar-toggler-icon:nth-of-type(1) {
  top: 0px;
}
.navbar-toggler-icon:nth-of-type(2) {
  top: 14px;
}
.navbar-toggler-icon:nth-of-type(3) {
  top: 28px;
}

/* メニューが開いている時の　3本のバーそれぞれの座標および角度を設定 */
.navbar-toggler[aria-expanded='true'] .navbar-toggler-icon:nth-of-type(1) {
  top: 13px;
  transform: rotate(45deg);
}
.navbar-toggler[aria-expanded='true'] .navbar-toggler-icon:nth-of-type(2) {
  opacity: 0;
}
.navbar-toggler[aria-expanded='true'] .navbar-toggler-icon:nth-of-type(3) {
  top: 13px;
  transform: rotate(-45deg);
}

.navbar-collapse {
  position: fixed;
  top: 0;
  height: 100vh;
  padding-top: 60px;
  width: 25%;
  margin-left: -15px;
  padding-left: 15px;
  background-clip: padding-box;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 9998;
}

@media screen and (max-width: 765px) {
  .navbar-collapse {
    width: 100%;
  }
}
.nav-link:hover {
  cursor: pointer;
}
.collapsing {
  -webkit-transition: none;
  transition: none;
  display: none;
}

.header-right {
  position: fixed;
  top: 10px;
  right: 0;
  width: 25%;
  right: 2%;
  z-index: 9999;
}

@media screen and (max-width: 765px) {
  .header-right {
    width: inherit;
  }
}

.info .pc .tel {
  font-size: 1em;
}

header .icon .fa-square {
  color: #ffffff;
}
header .icon .color-main {
  color: var(--base-color);
}

/* main */
#main {
  width: 100%;
  height: 100%;
  padding-bottom: 10vh;
}
/* top */
#top {
  position: relative;
  height: 100vh;
}

.cloud-right {
  position: absolute;
  top: 0;
  right: 0;
  margin-right: 100px;
}

.cloud-left {
  position: absolute;
  bottom: 0;
  left: 0;
}

/* about */
#about {
  margin-top: 25vh;
}

/* services */
#services {
  margin-top: 25vh;
}

#services .icon .fa-circle {
  color: var(--accent-color);
}
#services .icon .color-main {
  color: var(--base-color);
  font-size: 2.5rem;
  padding-top: 0.75rem;
}

.introduction-item:hover {
  cursor: pointer;
}

/* introduction */
.introduction {
  margin-top: 15vh;
}

.introduction .icon .fa-circle {
  color: var(--accent-color);
}
.introduction .icon .color-main {
  color: var(--base-color);
  font-size: 2.5rem;
  padding-top: 0.75rem;
}

#rpa {
  margin-top: 10vh;
}

.introduction button {
  width: 160px;
  padding: 8px inherit;
  background-color: var(--accent-color);
  color: var(--font-color);
  font-weight: 600;
  border-radius: 0;
}

/* pricing */
#pricing {
  margin-top: 25vh;
}
#pricing .pricing-list h2 {
  margin: 0;
  padding-left: 1rem;
  align-items: center;
  display: flex;
}
#pricing .title {
  margin-top: 5rem;
}
#pricing .price {
  padding-left: 7rem;
  font-size: 1.5rem;
}
#pricing .price .price-table {
  width: 36rem;
  display: flex;
  justify-content: space-between;
}
#pricing th,
#pricing td {
  color: var(--font-color);
}

#pricing .icon .fa-circle {
  color: var(--accent-color);
}
#pricing .icon .color-main {
  color: var(--base-color);
  font-size: 2.5rem;
  padding-top: 0.75rem;
}

#pricing .total {
  margin-top: 50px;
  font-size: 1.3em;
}

#pricing .contact-info {
  margin-top: 100px;
  border: 1px solid #fff;
}

/* contact */
#contact {
  padding-top: 25vh;
}
#contact form .row {
  padding-top: 1rem;
}

/* providers */
#providers {
  padding-top: 25vh;
}

/* footer */
footer {
  width: 100%;
  position: absolute;
  bottom: -5rem;
}

.copyright {
  font-size: 0.8em;
}

* {
  margin: 0;
  padding: 0;
}
ul,
li {
  list-style: none;
}
.slide {
  height: 800px;
  overflow: hidden;
}
.slide ul {
  width: calc(100% * 4);
  display: flex;
  animation: slide 20s infinite;
} /* slideを繰り返して見せる（20秒）*/
.slide li {
  width: calc(100% / 4);
  height: 800px;
}
.slide li:nth-child(1) {
  background: #ffa;
  background-image: url('../images/allyslide1.jpg');
}
.slide li:nth-child(2) {
  background: #faa;
  background-image: url('../images/allyslide2.jpg');
}
.slide li:nth-child(3) {
  background: #afa;
  background-image: url('../images/allyslide3.jpg');
}
.slide li:nth-child(4) {
  background: #aaf;
  background-image: url('../images/allyslide4.jpg');
}
@keyframes slide {
  0% {
    margin-left: 0;
  } /* 0 ~ 10  :　停止 */
  10% {
    margin-left: 0;
  } /* 10 ~ 25 : 変異 */
  25% {
    margin-left: -100%;
  } /* 25 ~ 35 : 停止 */
  35% {
    margin-left: -100%;
  } /* 35 ~ 50 : 変異 */
  50% {
    margin-left: -200%;
  }
  60% {
    margin-left: -200%;
  }
  75% {
    margin-left: -300%;
  }
  85% {
    margin-left: -300%;
  }
  100% {
    margin-left: 0;
  }
}

.functionImage {
  width: auto;
  height: auto;
  max-width: 500px;
  max-height: 500px;
}

.registration {
  font-size: 1rem;
  border-width: 0;
  border-radius: 1.25rem;
  padding: 0.5rem 1.5rem;
  width: max-content;
  background-color: #ffcc00;
  color: #203864;
}
/*
#contact form {
  border: 1px solid #fff;
  padding: 0.5rem 1rem;
}
#contact form input:focus:invalid,
#contact form input:required:invalid {
  border: tomato 2px solid;
}

#contact form input:focus:valid,
#contact form input:required:valid {
  border: seagreen 2px solid;
}

#contact form input[type='text'],
#contact form input[type='email'],
#contact form input[type='tel'],
#contact form textarea {
  width: 95%;
}

#contact form input:invalid + span:after {
  position: absolute;
  content: '✖';
  padding-left: 5px;
  color: #8b0000;
}

#contact form input:valid + span:after {
  position: absolute;
  content: '✓';
  padding-left: 5px;
  color: #009000;
}
#contact form .validity {
  font-size: 1.5rem;
}
*/
#about .logo {
  display: block;
  align-items: center;
}
#about .logo img {
  width: 50%;
}
#about .font1 {
  font-size: 2.5rem;
}
#about .font2 {
  font-size: 2.1rem;
}
#about .font3 {
  font-size: 1.8rem;
}
#about .font4 {
  font-size: 1.5rem;
}
.functionImage {
  margin-top: 1rem;
}
.introduction .row:last-child {
  margin-top: 1rem;
}
.introduction .description {
  font-size: 1rem;
}
@media only screen and (min-width: 768px) {
  #about .logo {
    display: flex;
  }
  #about .logo img {
    width: 95%;
  }
  .introduction .description {
    font-size: 1.25rem;
  }
}
@media only screen and (min-width: 992px) {
  #about .logo {
    display: flex;
  }
  #about .logo img {
    width: 95%;
  }
  #about .font1 {
    font-size: 3.6rem;
  }
  #about .font2 {
    font-size: 2.8rem;
  }
  #about .font3 {
    font-size: 2.4rem;
  }
  .registration,
  #about .font4 {
    font-size: 2rem;
  }
  .functionImage {
    margin-top: 0;
  }
  .introduction .description {
    font-size: 1.5rem;
  }
}
