.kouji {
  padding: 30px 0 0;
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.kouji-bg {
  position: absolute;
  top: 220px;
  left: calc(50% + 300px);
  width: 600px;
  aspect-ratio: 600/600;
  background-image: url(../img/kouji/kouji-bg.webp);
  background-size: 600px;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.kouji .container {
  position: relative;
  z-index: 1;
}

.kouji-title {
  color: #000;
  font-family: "Noto Serif JP";
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 10px;
}

.kouji-subtitle {
  color: #6894d1;
  font-family: "Noto Sans JP";
  font-size: 24px;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 20px;
  margin-top: 0;
}

.kouji-text {
  color: #000;
  font-family: "Noto Serif JP";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.55556;
  margin-bottom: 20px;
  margin-top: 60px;
}

.kouji-item {
  display: flex;
  flex-direction: column;
  padding-bottom: 50px;
  padding-top: 20px;
}

.kouji-item:not(:last-of-type) {
  border-bottom: none;
  background-image: radial-gradient(circle, #b3b3b3 1.5px, transparent 1.5px);
  background-size: 9px 3px;
  background-position: 0 bottom;
  background-repeat: repeat-x;
}

.kouji-item-content {
  display: flex;
  justify-content: space-between;
  padding: 0px 0;
  gap: 50px;
}

.kouji-item-content-text {
  display: flex;
  flex-direction: column;
}

.kouji-item:last-of-type .kouji-item-content {
  border-bottom: none;
}

.kouji-item-text {
  color: #000;
  font-family: "Noto Serif JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 2;
}

.kouji-item-text:first-of-type {
  margin-bottom: 30px;
}

.kouji-item-comment {
  width: 149px;
  height: 29px;
  flex-shrink: 0;
  background: #6894d1;
  color: #fff;
  font-family: "Noto Serif JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  margin-bottom: 0px;
}

.kouji-image {
  width: 384px;
  aspect-ratio: 384/255;
  flex-shrink: 0;
  object-fit: contain;
}

@media (max-width: 1200px) {
  .kouji .container {
    padding: 0 4vw;
  }
}

@media (max-width: 767px) {
  .kouji {
    padding: 5vw 0 3vw;
  }
  .kouji .container {
    padding: 0 5vw;
  }
  .kouji-text {
    font-size: 3.8vw;
    margin-top: 0;
    line-height: 1.7;
    letter-spacing: -0.02em;
  }
  .kouji-item {
    padding-bottom: 6vw;
    padding-top: 1vw;
  }
  .kouji-item:not(:last-of-type) {
    background-size: 2vw 0.5vw;
    background-image: radial-gradient(circle, #b3b3b3 0.5vw, transparent 0.5vw);
  }
  .kouji-title {
    font-size: 5.2vw;
  }
  .kouji-subtitle {
    font-size: 4.2vw;
    margin-bottom: 0;
  }
  .kouji-item-text {
    font-size: 3.7vw;
    line-height: 1.7;
  }
  .kouji-item-comment {
    font-size: 4.1vw;
    width: 40vw;
    height: 8vw;
    margin: 4vw 0 0;
  }
  .kouji-image {
    width: 100%;
  }
  .kouji-item-content {
    flex-direction: column;
    gap: 0;
  }
  .kouji-item-content-text {
    gap: 0vw;
  }
  .kouji-item-text:first-of-type {
    margin-bottom: 2vw;
  }
}

/* -------------------------------------------------------------- SNS -------------------------------------------------------------- */
.sns {
  padding: 30px 0 50px;
  background-color: #f0f4fa;
}

.sns-title {
  color: #000;
  font-family: "Noto Serif JP";
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 10px;
}

.sns-subtitle {
  color: #6894d1;
  font-family: "Noto Sans JP";
  font-size: 24px;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 20px;
  margin-top: 0;
}

.sns-list {
  display: flex;
  justify-content: space-between;
  gap: 10%;
}

.sns-item {
  display: flex;
  flex-direction: column;
  width: 45%;
  padding: 35px 60px;
  background-color: #fff;
  position: relative;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #000;
}

.sns-item:hover {
  opacity: 0.8;
}

.sns-item:hover .sns-item-arrow {
  transform: translateX(0.5em);
}

.sns-item-content {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #000;
  font-family: "Noto Serif JP";
  font-size: 22px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.45;
}

.sns-item-icon {
  height: 30px;
}

.sns-item-icon-youtube {
  aspect-ratio: 65/45;
}

.sns-item-icon-instagram {
  aspect-ratio: 1/1;
}

.sns-item-image {
  width: 100%;
  margin-top: 20px;
}

.sns-item-text {
  color: #000 !important;
  font-family: "Noto Serif JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 2;
  text-decoration: none !important;
}

.sns-item-arrow {
  width: 87px;
  height: auto;
  object-fit: contain;
  object-position: center;
  position: absolute;
  bottom: 35px;
  right: 60px;
  transition: all 0.3s ease;
}

@media (max-width: 1200px) {
  .sns .container {
    padding: 0 4vw;
  }
  .sns-list {
    gap: 5%;
  }
  .sns-item {
    padding: 35px 40px;
  }
  .sns-item-content {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .sns {
    padding: 1vw 0 6vw;
  }
  .sns .container {
    padding: 0 5vw;
  }
  .sns-title {
    font-size: 5.2vw;
  }
  .sns-subtitle {
    font-size: 4.2vw;
    margin-bottom: 3vw;
  }
  .sns-list {
    flex-direction: column;
    gap: 5vw;
  }
  .sns-item {
    width: 100%;
    padding: 35px 40px;
  }
  .sns-item-content {
    font-size: 4vw;
  }
  .sns-item-icon {
    height: 6vw;
  }
  .sns-item-text {
    font-size: 3.7vw;
    line-height: 1.7;
    margin-top: 2vw;
  }
  .sns-item-arrow {
    width: 15vw;
    height: auto;
    object-fit: contain;
    object-position: center;
    position: absolute;
    bottom: 4vw;
    right: 5vw;
  }
}

/* -------------------------------------------------------------- OWN -------------------------------------------------------------- */
.own {
  padding: 120px 0 120px 0;
  position: relative;
}

.own::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  aspect-ratio: 1240/675;
  width: 1240px;
  background-image: url(../img/kouji/own-bg.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  -webkit-clip-path: polygon(0% 0%, 0% 100%, 0% 100%, 0% 0%);
  clip-path: polygon(0% 0%, 0% 100%, 0% 100%, 0% 0%);
  transition: clip-path 1s ease-out;
}

.own.visible::before {
  -webkit-clip-path: polygon(0% 0%, 0% 100%, 100% 100%, 100% 0%);
  clip-path: polygon(0% 0%, 0% 100%, 100% 100%, 100% 0%);
}

.own .container {
  position: relative;
  z-index: 1;
}

.own-title {
  color: #000;
  font-family: "Noto Serif JP";
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 10px;
}

.own-subtitle {
  color: #6894d1;
  font-family: "Noto Sans JP";
  font-size: 24px;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 40px;
  margin-top: 0;
}

.own-text {
  color: #000;
  font-family: "Noto Serif JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 2;
}

.own-list {
  display: flex;
  justify-content: space-between;
  gap: 10%;
  margin-top: 25px;
}

.own-item {
  display: flex;
  flex-direction: column;
  width: 45%;
}

.own-image {
  width: 100%;
  margin-bottom: 20px;
}

.own-item-text {
  color: #000;
  font-family: "Noto Serif JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.75;
}

@media (max-width: 1200px) {
  .kouji .container {
    padding: 0 4vw;
  }

  .kouji-bg {
    width: 50vw;
    left: calc(50vw + 25vw);
    top: 18vw;
    background-size: 50vw;
  }

  .own .container {
    padding: 0 4vw;
  }
  .own-list {
    gap: 5%;
  }
  .own-item {
    width: 45%;
  }
}

@media (max-width: 767px) {
  .kouji {
    padding: 5vw 0 0;
    overflow: hidden;
    max-width: 100%;
  }

  .kouji .container {
    padding: 0 5vw;
    overflow: hidden;
    max-width: 100%;
  }

  .kouji-bg {
    width: 100vw;
    left: 98%;
    transform: translateX(-50%);
    top: 116vw;
    background-size: 100vw;
  }

  .own {
    padding: 3vw 0 17vw !important;
    overflow: hidden;
    max-width: 100%;
  }
  .own::before {
    width: 160vw !important;
    left: 50% !important;
    top: 40% !important;
  }
  .own .container {
    padding: 0 5vw;
  }
  .own-title {
    font-size: 5.2vw;
  }
  .own-subtitle {
    font-size: 4.2vw;
    margin-bottom: 3vw;
  }
  .own-text {
    font-size: 3.7vw;
    line-height: 1.7;
  }
  .own-list {
    flex-direction: column;
    gap: 5vw;
  }
  .own-item {
    width: 100%;
  }
  .own-image {
    width: 75%;
    margin: 0 auto;
  }
  .own-item-text {
    font-size: 3.7vw;
    line-height: 1.7;
  }
}
