/*
Theme Name: PORTFOLIO
Theme URI: 
Author: the WordPress team
Author URI: 
*/

@charset "UTF-8";
/* 共通 */
.wf-notosansjapanese {
  font-family: 'Noto Sans JP';
}
body {
  background-color: #f7f7f7;
  line-height: 1.5;
}
.mt-20 {
  margin-top: 20px !important;
}
.mb-20 {
  margin-bottom: 20px !important;
}
img {
  width: 100%;
}
a {
  word-break: break-word; /* 長い単語を途中で折り返す */
  overflow-wrap: anywhere; /* modernブラウザ対応 */
  text-decoration: underline;
}
.container {
  margin: 0 auto;
  max-width: 1260px;
  width: 100%;
  padding: 0 20px;
}

/* header */
.header {
  position: fixed;
  width: 100%;
  z-index: 999;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-list {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 25px;
  padding: 10px;
  font-weight: bold;
  height: 50px;
  box-shadow: 3px 3px 6px -2px #e5e5e5, 3px 3px 8px rgba(255, 255, 255, 0.8) inset;
}
.header-list .active {
  background-color: #f7f7f7;
  padding: 10px;
  border-radius: 20px;
}
.header-list-item {
  width: 90px;
  text-align: center;
}
.header-list-item a {
  text-decoration: none;
}
.contact {
  background: #000;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 22px;
}
.contact:before {
  font-family: 'Font Awesome 5 Free';
  content: '\f0e0';
  font-weight: 900;
  color: #fff;
}
.main {
  padding-top: 70px;
}

/* top */
.main-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin: 20px auto 40px;
}
.main-title {
  width: calc((100% - 30px) / 2);
}
.main-text {
  width: calc((100% - 30px) / 2);
}
.main-content-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.main-content-item {
  width: calc((100% - 40px) / 3);
  aspect-ratio: 1 /1;
}
.main-content-title {
  font-size: 18px;
  transition: 0.8s;
}
.main-content-item a {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  border: solid #000 2px;
  transition: 0.8s;
  position: relative;
  padding: 0 5px;
  text-decoration: none;
}
.main-content-item a:hover {
  background-color: rgba(255, 255, 255, 0.7);
  border: solid #777 2px;
}
.main-content-item a:hover .main-content-title {
  font-size: 20px;
}

/* profile */
.profile-wrapper {
  display: flex;
  gap: 20px;
}
.profile-title {
  font-size: 50px;
}
.profile-image img {
  height: 300px;
  object-fit: cover;
}
.profile-image {
  flex: 0 0 40%;
}
.profile-content {
  flex: 1;
}
h2.title {
  font-size: 35px;
}
h2.title-ja {
  font-size: 30px;
}
.profile-tools-list {
  display: flex;
  gap: 5px;
}
.profile-tools-item {
  background: #fff;
  border-radius: 5px;
  padding: 3px 10px;
}
.profile-item-history table {
  width: 100%;
}
.profile-item-history table td:first-child {
  width: 18%;
}
.profile-item-skills {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 10px;
}
.profile-item-skills table {
  width: 100%;
}
.profile-item-skills table td:first-child {
  width: 30%;
}

/* detail */
.detail-title {
  font-size: 30px;
}
.detail-link {
  display: inline-block;
  margin-bottom: 10px;
}
.detail-link:hover {
  opacity: 0.6;
}
.detail-image img {
  height: 300px;
  object-fit: cover;
  object-position: top;
  border: solid 1px #eaeaea;
}
.detail-inner {
  display: flex;
  gap: 20px;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
}
.detail-inner a:hover {
  opacity: 0.6;
}
.detail-content-left {
  flex: 0 0 65%;
}
.detail-content-right {
  flex: 1;
}
.detail-content-title {
  font-weight: bold;
  margin-bottom: 5px;
}

/* index */
.index-title {
  font-size: 50px;
  text-align: center;
}

/* contact form */
.wpcf7 {
  width: 70%;
  margin: 0 auto;
}
.wpcf7-form-control {
  position: relative;
  background: #fff;
  border-radius: 5px;
}
.wpcf7-text {
  height: 50px;
  margin-top: 10px;
  width: 100%;
  padding: 10px;
}
.wpcf7-textarea {
  margin-top: 10px;
  width: 100%;
  padding: 10px;
}
.wpcf7 form p {
  margin: 0 0 20px;
}
.wpcf7-submit {
  background-color: #000;
  color: #fff;
  border-radius: 10px;
  padding: 20px 0;
  margin: 0 auto;
  display: block;
  width: 100%;
  text-align: center;
}
.wpcf7-response-output {
  border-color: transparent !important;
}
.wpcf7 .required {
  color: #f23a3c;
}

/* footer */
.footer {
  padding: 30px 0;
  background: #eaeaea;
}
.footer-copy {
  text-align: center;
  font-size: 13px;
}

@media screen and (max-width: 768px) {
  .main-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-title {
    font-size: 60px;
    width: 100%;
  }
  .main-text {
    width: 100%;
  }
  .main-content-item {
    width: calc((100% - 20px) / 2);
  }
  .main-content-title {
    font-size: 14px;
    text-align: center;
  }
  .main-content-item a:hover .main-content-title {
    font-size: 14px;
  }
  .profile-wrapper {
    flex-direction: column;
  }
  .profile-item-history table td:first-child {
    width: 28%;
  }
  .detail-inner {
    flex-direction: column;
  }
  .wpcf7 {
    width: 100%;
  }
}
