@charset "utf-8";

.page2 img {
  width: 100%;
  vertical-align: bottom;
}

:root {
  --main-color: #459e3f;
}


.message {
  display: flex;
  margin-bottom: 50px;
}
.message .text {
  width: 50%;
  margin-right: 20px;
}
.message .text > h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--main-color);
  margin-bottom: 16px;
}
.message .text p {
  color: #000;
  margin-bottom: 16px;
}
.message .text p span {
  background-color: var(--main-color);
  color: #fff;
  font-weight: 600;
  margin-bottom: 10px;
  padding: 5px;
  display: inline-block;
}
.message .imgWrap {
  width: 50%;
  position: relative;
}
.message .imgWrap .bg {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--main-color);
  clip-path: polygon(5% 0, 15% 0, 10% 100%, 0 100%);
}

.group {
  padding-top: 50px;
  margin-bottom: 50px;
}
.group .banner {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.group .banner .bg {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #323333;
  clip-path: polygon(2% 0, 100% 0, 98% 100%, 0 100%);
}
.group .banner .img {
  max-width: 50%;
  position: relative;
}
.group .banner .img p {
  position: absolute;
  top: -50px;
  right: -10%;
  color: var(--main-color);
  font-weight: 600;
  background-color: #fff;
  border: 2px solid #323333;
  padding: 5px;
  text-align: center;
}
.group .banner .img p::before, .group .banner .img p::after {
  position: absolute;
  content: "";
  transform: translateX(-100%);
  clip-path: polygon(0% 0%, 50% 100%, 100% 0%);
}
.group .banner .img p::before {
  width: 25px;
  height: 25px;
  right: 0;
  bottom: -25px;
  background-color: #323333;
}
.group .banner .img p::after {
  width: 23px;
  height: 23px;
  right: 0;
  bottom: -22px;
  background-color: #fff;
}
.group .category {
  display: flex;
}
.group .category .title .f-small {
  font-size: 14px;
}
.group .category .senro {
  width: calc(100% * 3/5);
  margin-right: 10px;
}
.group .category .senro .title, .group .category .doboku .title, .group .category .kentiku .title {
  color: #fff;
  font-weight: 600;
  position: relative;
  margin-bottom: 10px;
}
.group .category .senro .title::after {
  content: "";
  width: 100%;
  height: 5px;
  background-image: url(/company/121/images/border_blue.png);
  position: absolute;
  bottom: 3px;
  left: 0;
  z-index: -1;
}
.group .category .senro .title .wrap {
  display: inline-block;
  width: auto;
    background-color: #2a2f89;
    padding: 0 5px;
}
.group .category .senro .flex {
  display: flex;
}
.group .category .senro .flex div {
  margin-right: 10px;
  width: 33.33%;
}
.group .category .senro .flex div:last-of-type {
  margin-right: 0;
}
.group .category .senro .flex div img {
  margin-bottom: 5px;
}
.group .category .senro .flex div:nth-child(2) {
  display: flex;
  flex-direction: column-reverse;
}
.group .category .senro .flex div:nth-child(2) img {
  margin-bottom: 0;
  margin-top: 5px;
}
.group .category .senro .flex div p span {
  font-weight: 600;
}
.group .category .doboku {
  width: calc(100%/5);
  margin-right: 10px;
}
.group .category .doboku .title::after {
  content: "";
  width: 100%;
  height: 5px;
  background-image: url(/company/121/images/border_orange.png);
  position: absolute;
  bottom: 3px;
  left: 0;
  z-index: -1;
}
.group .category .doboku .title .wrap {
  display: inline-block;
  width: auto;
    background-color: #d78610;
    padding: 0 5px;
}
.group .category .doboku div img {
  margin-bottom: 5px;
}
.group .category .doboku div p span {
  font-weight: 600;
}

.group .category .kentiku {
  width: calc(100%/5)
}
.group .category .kentiku .title {
  color: #323333;
}
.group .category .kentiku .title::after {
  content: "";
  width: 100%;
  height: 5px;
  background-image: url(/company/121/images/border_yellow.png);
  position: absolute;
  bottom: 3px;
  left: 0;
  z-index: -1;
}
.group .category .kentiku .title .wrap {
  display: inline-block;
  width: auto;
    background-color: #cdc925;
    padding: 0 5px;
}
.group .category .kentiku div img {
  margin-bottom: 5px;
}
.group .category .kentiku div p span {
  font-weight: 600;
}

.youtube {
  border: 10px solid #e11c14;
  padding: 20px 10px 0;
}
.youtube > h3 {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
}
.youtube .flex {
  display: flex;
}
.youtube .flex > div {
  margin-right: 16px;
}
.youtube .flex > div:last-of-type {
  margin-right: 0;
}
.youtube .flex .img {
  width: calc(100%*2/5);
}
.youtube .flex .text {
  width: calc(100%*2/5);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.youtube .flex .text >p {
  margin-bottom: 10px;
}
.youtube .flex .text .link {
  margin-bottom: 0;
  position: relative;
  top: 10px;
}
.youtube .flex .text .link a {
  padding: 5px 20px 5px 50px;
  background-color: #e11c14;
  color: #fff;
  border-radius: 5px;
  clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
}
.youtube .flex .text .link a:hover {
  opacity: 0.8;
}
.youtube .flex .text .link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 2px;
  transform: translate(0 , -50%);
  width: 30px;
  height: 21px;
  background-image: url(/company/121/images/ytLogo.png);
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 2;
}
.youtube .flex .text .link::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -10px;
  transform: translate(0, -50%);
  width: 50px;
  height: 50px;
  background-color: #fff;
  border: 2px solid #e11c14;
  border-radius: 50%;
  z-index: 1;
}
.youtube .flex .qr {
  width: calc(100%*1/5);
  margin-top: 20px;
    border: 7px solid #323333;
  border-bottom: 0;
  border-radius: 15px 15px 0 0;
}
.youtube .flex .qr a {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 250px;
  height: 100%;
  padding-top: 20px;
  position: relative;
}
.youtube .flex .qr a div {
  width: 100px;
  margin-bottom: 10px;
}
.youtube .flex .qr a .qr-text {
  text-align: center;
}
.youtube .flex .qr a .pop {
  position: absolute;
  top: -50px;
  right: 5px;
  background-color: #fff;
  border: 2px solid #323333;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  color: #e11c14;
  padding: 5px 20px;
}
.youtube .flex .qr a .pop::before, .youtube .flex .qr a .pop::after {
  position: absolute;
  content: "";
  transform: translateX(-100%);
  clip-path: polygon(0% 0%, 50% 100%, 100% 0%);
}
.youtube .flex .qr a .pop::before {
  width: 25px;
  height: 25px;
  right: 0;
  bottom: -25px;
  background-color: #323333;
}
.youtube .flex .qr a .pop::after {
  width: 25px;
  height: 26px;
  right: 0;
  bottom: -21px;
  background-color: #fff;
}
.youtube .flex .qr a p span {
  font-weight: 600;
}
.youtube .imgList {
  display: flex;
}
.youtube .imgList >div {
  flex: 5;
  max-height: 130px;
}

@media screen and (max-width: 768px) {
     .sp-none {
      display: none;
    }
  .message {
    display: block;
  }
  .message .text {
    width: auto;
    margin-right: 0;
    margin-bottom: 10px;
  }
  .message .imgWrap {
    width: auto;
  }
  .group .banner .img p {
    top: -60px;
    right: -20%;
  }
  .group .category {
    display: block;
  }
  .group .category .senro {
    width: auto;
    margin-right: 0;
    margin-bottom: 10px;
  }
  .group .category .senro .flex {
    display: block;
  }
  .group .category .senro .flex div {
    margin-right: 0;
    margin-bottom: 10px;
    width: auto;
  }
  .group .category .senro .flex div:nth-child(2) {
    flex-direction: column;
  }
  .group .category .doboku {
    width: auto;
    margin-right: 0;
    margin-bottom: 10px;
  }
    .group .category .kentiku {
    width: auto;
  }

  .youtube .flex {
    display: block;
  }
  .youtube .flex > div {
    margin-right: 0;
    margin-bottom: 10px;
  }
  .youtube .flex .img {
    width: auto;
  }
  .youtube .flex .text {
    width: auto;
  }
  .youtube .flex .qr {
    width: auto;
    margin-top: 0;
    border: 0;
    display: flex;
    justify-content: center;
  }
  .youtube .flex .qr a .pop {
    position: static;
    padding: 5px;
    border: 0;
  }
  .youtube .flex .qr a .pop::before, .youtube .flex .qr a .pop::after {
    display: none;
  }
  .youtube .flex .qr a .text {
    font-size: 12px;
  }
}