@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;
  width: 95%;
}

.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: 4vw;
  display: inline-block;
}

.wire-blue {
  font-size: 5.5vw;
  color: #0c2f8f;
  display: inline-block;
  padding-left: 10px;
}

.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: 20px;
  color: #fff;
}

.katsuyaku {
  font-size: 1.5em;
  display: inline-block;
}

.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: 25%;
  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;
}

.dekkai h2 {
  font-size: 2em;
  margin-bottom: 0;
}

.dekacon {
  position: relative;
}

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

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

.dekacon img {
  display: block;
  margin: 0 auto;
}

.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;
}

.what-text {
  text-align: left;
}

.what-text p {
  margin-bottom: 30px;
}

.what-flex img {
  width: 20%;
}

.what-flex {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
}

.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: 0 auto;
  padding: 15px 25px;
  border-radius: 15px;
  background-color: #0c2f8f;
  color: #fff;
  filter: drop-shadow(2px 4px 6px black);
  transition: 0.5s;
  font-family: serif;
}

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

.shokunin {
  color: #fff;
  position: relative;
}

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

.shokunin h2 {
  font-size: 3vw;
  text-shadow: 2px 2px 14px #ffffff;
}

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

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

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

.dekai-title {
  font-size: 2em;
  display: inline-block;
}

.members ul {
  display: flex;
  gap: 40px;
  flex-direction: column;
  margin-top: 80px;
}

.member {
  display: flex;
  gap: 20px;
}

.member:last-child {
  flex-direction: row-reverse;
  justify-content: space-between;
}

.member-text {
  padding: 15px;
  word-break: break-word;
}

.mem-q {
  margin-top: 8px;
  margin-bottom: 3px;
  color: #7594E6;
  font-weight: bold;
}

.title-box {
  text-align: center;
  margin-bottom: 60px;
}

.title-box h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  text-align: center;
  color: #3f69da;
  font-size: 2.5em;
}

.title-box h2::before {
  content: "";
  border-bottom: #3f69da 1px solid;
  width: 300px;
  margin-right: 1em;
}

.title-box h2::after {
  content: "";
  border-bottom: #3f69da 1px solid;
  width: 300px;
  margin-left: 1em;
}

.second-title {
  text-align: center;
  font-size: 1.35em;
}

.shikaku-small {
  font-size: 0.7em;
}

.shikaku img {
  display: block;
  margin: 0 auto;
  width: 80%;
  margin-top: 40px;
}

.shokunin h2 {
  color: #0c2f8f;
  padding-top: 60px;
  margin-bottom: 0;
}

.shokunin {
  background-image: url(../img/DSC00297.JPG);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.shikaku p {
  text-align: center;
}

.entry-box img {
  width: 100%;
  position: absolute;
  top: 38%;
  left: 50%;
  opacity: 0.8;
  z-index: -1;
  transform: translate(-50%, -50%);
}

.entry-box {
  padding: 10px 0;
}

.message-flex {
  display: flex;
  align-items: center;
  gap: 20px;
}

.message-flex h3 {
  color: #3f69da;
  margin-bottom: 1.2em;
}

.shokunin {
  height: 750px;
}

.shokunin-text {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 10px 0;
}

.member img {
  object-fit: contain;
  width: 50%;
}

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

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

  .container {
    width: 90%;
  }

  .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: -50px;
    top: 25px;
    width: 40%;
  }

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

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

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

  .dekai-title {
    font-size: 1.2em;
  }

  .katsuyaku {
    font-size: 1.5em;
  }

  h2 {
    margin-bottom: 20px;
  }

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

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

  .members ul {
    flex-direction: column;
  }

  .member:last-child {
    flex-direction: column;
    justify-content: space-between;
  }

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

  .second-title {
    font-size: 1.25em;
  }

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

  .wire-blue {
    font-size: 1.8em;
  }

  .shikaku img {
    width: 100%;
    margin-bottom: 50px;
  }

  .shokunin h2 {
    font-size: 5.5vw;
  }

  .entry {
    margin: 0;
  }

  .message-flex {
    flex-direction: column;
    text-align: center;
  }

  .shokunin {
    height: 500px;
  }

  .container.shokunin-text {
    padding-top: 79px;
  }

  .entry-box img {
    top: 25%;
  }

  .member img {
    width: 95%;
  }

  footer table {
    padding: 10px;
  }

  th, td {
    padding: 5px;
    font-size: 12px;
  }

  th {
    width: 6em;
  }
}


/**************************** フェードインアニメーション ***************************/
/* その場で */
.fadeIn{
animation-name:fadeInAnime;
animation-duration:1s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeInAnime{
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* 下から */

.fadeUp{
animation-name:fadeUpAnime;
animation-duration:1.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }

  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/* 上から */

.fadeDown{
animation-name:fadeDownAnime;
animation-duration:1.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeDownAnime{
  from {
    opacity: 0;
	transform: translateY(-100px);
  }

  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/* 左から */

.fadeLeft{
animation-name:fadeLeftAnime;
animation-duration:1.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeLeftAnime{
  from {
    opacity: 0;
	transform: translateX(-100px);
  }

  to {
    opacity: 1;
	transform: translateX(0);
  }
}

/* 右から */

.fadeRight{
animation-name:fadeRightAnime;
animation-duration:1.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeRightAnime{
  from {
    opacity: 0;
	transform: translateX(100px);
  }

  to {
    opacity: 1;
	transform: translateX(0);
  }
}

