/* mv */

.mv {
  padding-top: 58px;
}

.mv .wrap {
  background-image: url("https://portfolio.kenjirou.com/wp-content/uploads/2025/07/mv-back-scaled.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 500px;
  width: 100%;
}

.mv .wrap h1 {
  text-align: center;
  padding-top: 150px;
  font-size: 80px;
  font-weight: bold;
  letter-spacing: 5px;
  color: #e6b422;
  text-shadow: 4px 4px 1px #ffffff, -4px 4px 1px #ffffff, 4px -4px 1px #ffffff,
    -4px -4px 1px #ffffff, 4px 0px 1px #ffffff, 0px 4px 1px #ffffff,
    -4px 0px 1px #ffffff, 0px -4px 1px #ffffff; /* 文字の影 */
}

.mv .wrap h2 {
  text-align: center;
  padding-top: 20px;
  font-size: 40px;
  font-weight: bold;
  letter-spacing: 5px;
  color: #e6b422;
  text-shadow: 3px 3px 1px #ffffff, -3px 3px 1px #ffffff, 3px -3px 1px #ffffff,
    -3px -3px 1px #ffffff, 3px 0px 1px #ffffff, 0px 3px 1px #ffffff,
    -3px 0px 1px #ffffff, 0px -3px 1px #ffffff; /* 文字の影 */
}

@media screen and (max-width: 767px) {
  .mv {
    padding-top: 88px;
  }

  .mv .wrap {
    height: 400px;
  }

  .mv .wrap h1 {
    font-size: 40px;
  }

  .mv .wrap h2 {
    font-size: 20px;
    text-shadow: 2px 2px 1px #ffffff, -2px 2px 1px #ffffff, 2px -2px 1px #ffffff,
      -2px -2px 1px #ffffff, 2px 0px 1px #ffffff, 0px 2px 1px #ffffff,
      -2px 0px 1px #ffffff, 0px -2px 1px #ffffff; /* 文字の影 */
  }
}

/* detail */

.detail {
  background-image: url("https://portfolio.kenjirou.com/wp-content/uploads/2025/07/detail-back-scaled.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding-bottom: 100px;
}

.detail .boxes {
  padding-top: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: 20px;
}

.detail .boxes .box {
  display: flex;
  margin-top: 20px;
}

.detail .boxes .box .box-title {
  max-width: 150px;
  width: 100%;
  margin-right: 50px;
  color: #1a73e8;
  text-decoration: underline solid 1px;
  text-underline-offset: 3px;
  font-weight: bold;
}

.detail .boxes .box .box-title:hover {
  opacity: 0.8;
}

@media screen and (max-width: 767px) {
  .detail {
    padding-bottom: 50px;
  }

  .detail .boxes {
    max-width: 450px;
    padding-top: 30px;
    font-size: 16px;
  }

  .detail .boxes .box .box-title {
    max-width: 110px;
    margin-right: 20px;
  }

  .detail .boxes .box .box-text {
    font-size: 14px;
  }
}

/* about */

.about .boxes {
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.about .boxes .box p {
  font-size: 20px;
  margin-right: 10px;
  line-height: 2;
}

.about .boxes .box p span {
  font-size: 12px;
}

.about .boxes .img {
  max-width: 250px;
  width: 100%;
  border-radius: 100%;
  object-fit: cover;
}

.about .items {
  margin-top: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: 20px;
}

.about .items .item {
  display: flex;
  align-items: flex-start;
}

.about .items .item.margin {
  margin-top: 50px;
}

.about .items .item .item-years {
  font-weight: bold;
  margin-right: 50px;
  max-width: 105px;
  width: 100%;
}

.about .items .item .item-texts .item-text {
  font-weight: bold;
}

.about .items .item .item-texts ul li {
  text-indent: -1em;
  padding-left: 1em;
  margin-top: 10px;
}

@media screen and (max-width: 767px) {
  .about .boxes {
    flex-direction: column-reverse;
    margin-top: 30px;
  }

  .about .boxes .box p {
    font-size: 16px;
    margin-right: 0;
    margin-top: 30px;
  }

  .about .boxes .img {
    max-width: 200px;
  }

  .about .items {
    max-width: 430px;
    margin-top: 30px;
    font-size: 16px;
  }

  .about .items .item {
    flex-direction: column;
  }

  .about .items .item .item-years {
    max-width: unset;
  }

  .about .items .item .item-texts {
    margin-top: 10px;
  }
}

/* skill */

.skill {
  background-color: #fafafa;
  padding-top: 50px;
  margin-top: 100px;
  padding-bottom: 50px;
}

.skill .boxes {
  display: flex;
  align-items: center;
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
}

.skill .boxes .box {
  width: 57%;
}

.skill .boxes .box .box-titles {
  display: flex;
  align-items: center;
}

.skill .boxes .box .box-titles .fa-code {
  color: #f78da7;
  font-size: 30px;
}

.skill .boxes .box .box-titles .fa-wordpress {
  color: #3399ff;
  font-size: 45px;
}

.skill .boxes .box .box-titles .fa-laptop {
  color: #f97293;
  font-size: 30px;
}

.skill .boxes .box .box-titles .box-title {
  margin-left: 20px;
  font-size: 30px;
  font-weight: bold;
}

.skill .boxes .box ul {
  margin-top: 15px;
}

.skill .boxes .box ul li {
  text-indent: -1em;
  padding-left: 1em;
  font-size: 20px;
}

.skill .boxes .box .box-text {
  margin-top: 20px;
  font-size: 20px;
  font-weight: bold;
}

.skill .boxes .boxes-img {
  width: 40%;
  object-fit: cover;
  margin-left: 3%;
}

@media screen and (max-width: 767px) {
  .skill {
    margin-top: 50px;
  }

  .skill .boxes {
    flex-direction: column;
  }

  .skill .boxes .box {
    width: 100%;
  }

  .skill .boxes .box .box-titles .box-title {
    font-size: 20px;
    margin-left: 15px;
  }

  .skill .boxes .box ul li {
    font-size: 16px;
  }

  .skill .boxes .boxes-img {
    margin-left: 0;
    width: 100%;
    margin-top: 20px;
  }
}

/* works */

.works .boxes {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
}

.works .boxes .box {
  width: 48%;
  margin-top: 50px;
}

.works .boxes .box .box-img {
  position: relative;
  width: 100%;
  cursor: pointer;
  overflow: hidden;
  display: block;
  border: 1px solid #707070;
}

.works .boxes .box .box-img img {
  width: 100%;
  object-fit: contain;
  transition: 1s;
  height: 350px;
}

.works .boxes .box .box-img .hover {
  opacity: 0;
  position: absolute;
  top: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  transition: 1s;
  display: table;
}

.works .boxes .box .box-img .hover p {
  color: #fff;
  text-align: center;
  font-size: 40px;
  font-weight: bold;
  display: table-cell;
  vertical-align: middle;
}

.works .boxes .box .box-img:hover > img {
  transform: scale(1.2, 1.2);
  transition: 1s;
}

.works .boxes .box .box-img:hover > .hover {
  background-color: rgba(51, 51, 51, 0.8);
  transition: 1s;
  opacity: 1;
}

.works .boxes .box .box-title {
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
}

.works .boxes .box ul {
  margin-top: 5px;
}

.works .boxes .box ul li {
  font-size: 20px;
}

.works .boxes .box ul li span {
  display: inline-block;
  max-width: 50px;
  width: 100%;
}

@media screen and (max-width: 1000px) {
  .works .boxes .box .box-img img {
    height: 250px;
  }

  .works .boxes .box ul li {
    font-size: 16px;
  }
}

@media screen and (max-width: 767px) {
  .works .boxes {
    flex-direction: column;
  }

  .works .boxes .box {
    width: 100%;
  }

  .works .boxes .box .box-img img {
    height: unset;
  }

  .works .boxes .box .box-img .hover p {
    font-size: 30px;
  }

  .works .boxes .box ul li {
    font-size: 15px;
  }

  .works .boxes .box ul li span {
    max-width: 40px;
  }
}

/* price */

.price {
  background-color: #fafafa;
  padding-top: 50px;
  margin-top: 100px;
  padding-bottom: 50px;
}

.price .boxes {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
}

.price .boxes .box {
  width: 31%;
  margin-top: 30px;
}

.price .boxes .box.margin {
  margin-left: 20px;
  margin-right: 20px;
}

.price .boxes .box .box-titles {
  display: table;
  width: 100%;
  height: 70px;
}

.price .boxes .box .box-titles .box-title {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.5;
}

.price .boxes .box .box-titles .box-title span {
  font-size: 20px;
}

.price .boxes .box .box-titles .box-title.color01 {
  background-image: linear-gradient(to right, #43e97b 0%, #38f9d7 100%);
}

.price .boxes .box .box-titles .box-title.color02 {
  background-image: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
}

.price .boxes .box .box-titles .box-title.color03 {
  background-image: linear-gradient(to right, #fa709a 0%, #fee140 100%);
}

.price .boxes .box .box-text {
  text-align: center;
  font-size: 20px;
  margin-top: 10px;
}

.price .posts {
  margin-top: 30px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 8px;
}

@media screen and (max-width: 767px) {
  .price {
    margin-top: 50px;
  }

  .price .boxes .box {
    width: 46.5%;
    margin-left: 5px !important;
    margin-right: 5px !important;
    margin-top: 20px !important;
  }

  .price .boxes .box.margin {
    margin-left: 0;
    margin-right: 0;
  }

  .price .boxes .box .box-titles .box-title,
  .price .boxes .box .box-titles .box-title span {
    font-size: 16px;
  }

  .price .boxes .box .box-text {
    font-size: 16px;
  }

  .price .posts {
    font-size: 14px;
  }
}
