@charset "UTF-8";

*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul li {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

.head-list {
  display: flex;
  justify-content: space-evenly;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 24px;

}

.head-list ul {
  display: flex;
  gap: 20px;
}

.head-list ul li {
  gap: 20px;
}

.fv-sp {
  display: none;
}

.omoi-flex {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  margin-top: 10px;
  flex-direction: column-reverse;
}

.omoi-img {
  width: 25%;
}

h2 {
  margin-bottom: 60px;
  text-align: center;
}

.omoi-text p {
  color: #0c2f8f;
  margin-top: 2em;
  margin-bottom: 4em;
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
}

.omoi-text h2 {
  text-align: left;
  color: #0c2f8f;
}

.wire-red {
  font-size: 4.5vw;
  color: red;
}

.wire-yellow {
  color: goldenrod;
  font-size: 3vw;
}

.wire-blue {
  font-size: 5.5vw;
  color: #0c2f8f;
}



.number li {
  position: relative;
  min-height: 250px;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 15px;
  background-color: #fff;
}

.number li + li {
  margin-top: 75px;
}

.blue-bg {
  background-color: #0c2f8f;
  padding: 0 0 80px 0;
  color: #fff;
}

.blue-bg figure {
  margin: 40px auto 0;
  text-align: center;
}

.what_wire {
  text-align: center;
  position: relative;
}

.human {
  position: absolute;
  right: 82px;
  top: 0;
  width: 35%;
  z-index: -1;
}

.what-items {
  display: flex;
  gap: 10px;
  margin-top: 40px;
}

.what-item {
  background-color: #4a87b8;
  color: #fff;
  padding: 15px;
  position: relative;
  
}

.what-item h3 {
  position: absolute;
  top: 2px;
  left: 10px;
  font-size: 1.8em;
  background-color: cornflowerblue;
  padding: 5px;
}

.what-item img {
  max-height: 160px;
}

.dekkai {
  color: #0c2f8f;
  margin-top: 30px;
}

.dekkai h2 {
  font-size: 3em;
}

.dekacon {
  position: relative;
}

.dekkai-h {
  position: absolute;
  width: 20%;
  top: 0;
  left: 15%;
  z-index: -1;
}

.dekacon p {
  padding-top: 30px;
}

.dekai-flex {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
} 

.entry {
  font-size: 20px;
  border: 1px solid #000;
  display: inline-block;
  margin: 40px auto 0;
  padding: 15px 25px;
}

.shikaku {
  background-color: #7798bd;
  color: #fff;
}

.shikaku h2 {
  font-size: 3em;
}

.entry-box {
  text-align: center;
}

.entry {
  font-size: 20px;
  border: 1px solid #fff;
  display: inline-block;
  margin: 40px auto 0;
  padding: 15px 25px;
  border-radius: 15px;
  background-color: #0c2f8f;
  color: #fff;
  filter: drop-shadow(2px 4px 6px black);
  transition: 0.5s;
}

.entry:hover {
  transform: translateY(10px);
  transition: 0.5s;
}

.shokunin {
  background-color: goldenrod;
  color: #fff;
  position: relative;
}

.shokunin img {
  position: absolute;
  width: 20%;
  top: -50%;
  right: 0;
}

.shokunin h2 {
  font-size: 3em;
}

footer {
  text-align: center;
  background-color: #000;
  color: #fff;
}

footer table {
  padding: 40px;
  margin: 0 auto;
}

th, td {
  padding: 5px 20px;
  text-align: left;
}

@media(max-width:767px){
  .head-list {
    font-size: 16px;
  }

  .omoi-flex {
    flex-direction: column-reverse;
  }

  .container {
    width: 80%;
  }

  .members ul {
    flex-direction: column;
  }

  .wire-red {
    font-size: 1.5em;
  }

  .wire-yellow {
    font-size: 1.2em;
  }

  .omoi-text p {
    margin-bottom: 2em;
    margin-top: 2em;
  }

  .fv-sp {
    display: contents;
  }

  .fv {
    display: none;
  }

  .omoi-text h2 {
    margin-bottom: 0;
  }

  .human {
    right: auto;
    left: -30px;
    top: 40px;
    width: 40%;
  }

  .what-items {
    flex-direction: column;
  }

  .dekkai-h {
    left: auto;
    width: 70%;
    top: -30px;
    right: -50px;
  }

  h2 {
    margin-bottom: 20px;
  }

  .dekai-flex {
    flex-direction: column;
    align-items: center;
  }

  .shokunin img{
    width: 34%;
    top: -85px;
  }
}