@charset "UTF-8";

#under_main {
  background: url(../images/bg-spirit.jpg) no-repeat center/cover;
}



/* =======================================================
* spirit
* ======================================================= */
#spirit {
  padding-top: 9rem;
}
#spirit .flex {
  position: relative;
  margin-bottom: 70px;
  align-items: center;
}

/* 写真 */
.spirit_img {
  width: 65%;
  position: relative;
  z-index: 1;
  height: 350px;
}
.spirit_img::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(1,1,1,0.5);
  z-index: -1;
}
.spirit_img.spirit01 {
  background: url(../images/spirit01.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
}
.spirit_img.spirit02 {
  background: url(../images/spirit03.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.spirit_img.spirit03 {
  background: url(../images/spirit06.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.spirit_img.spirit04 {
  background: url(../images/spirit04.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.spirit_img.spirit05 {
  background: url(../images/spirit02.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.spirit_img .num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  font-family: 'EB Garamond', serif;
  font-size: 50px;
  text-transform: uppercase;
  color: #fff;
}
/* テキストボックス */
.spirit_txt {
  width: 45%;
    position: absolute;
    right: 30px;
    z-index: 1;
    background-color: #eee;
    padding: 40px;
    box-sizing: border-box;
}
.spirit_txt.left {
  left: 30px;
}
.spirit_txt h4 {
  border-bottom: 1px solid #131625;
    font-weight: normal;
    font-size: 20px;
    letter-spacing: .1em;
    padding-bottom: 5px;
    margin-bottom: 15px;
}
.spirit_txt h4 span {
  font-size: 20px;
  font-family: 'EB Garamond', serif;
  letter-spacing: .08em;
}
/* 縦線 */
.spirit_txt::before,
.spirit_txt::after {
  position: absolute;
  content: "";
  background: #121524;
  height: 100%;
  top: 0;
}
.spirit_txt::before {
  left: 0;
  width: 6px;
}
.spirit_txt::after {
  left: 12px;
  width: 2px;
}

@media screen and (max-width:768px) {
  #spirit {
    padding-top: 4rem;
  }
  .spirit_img {
    width: 100%;
    height: 150px;
  }
  .spirit_img .num {
    font-size: 30px;
  }
  .spirit_txt {
    width: 85%;
    position: static;
    margin-top: -30px;
    padding: 30px 20px;
  }
  .spirit_txt h4 {
    font-size: 18px;
  }
  .spirit_txt.left {
    left: 0;
  }
  /* 縦線を横線へ */
  .spirit_txt::before,
  .spirit_txt::after {
    width: 100%;
  }
  .spirit_txt::before {
    height: 6px;
  }
  .spirit_txt::after {
    height: 2px;
    top: 12px;
    left: 0;
  }
}


/* =======================================================
* message
* ======================================================= */
#message .message_txt {
  text-align: center;
  max-width: 600px;
  margin: 50px auto 100px;
  line-height: 2.3;
  font-size: 16px;
}
#message .message_txt p span {
  font-size: 20px;
  font-weight: bold;
  color: #121524;
}
#message .message_txt ul li {
  line-height: 1.8;
  font-size: 15px;
}
@media screen and (max-width:768px) {
  #message .message_txt {
    text-align: left;
    margin: 40px auto 60px;
    line-height: 2;
    font-size: 14px;
  }
  #message .message_txt p span {
    font-size: 17px;
  }
  #message .message_txt ul li {
    font-size: 14px;
    width: 30%;
  }
}




