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

@charset "UTF-8";
/* 共通 */
.wf-notosansjapanese {
  font-family: 'Noto Sans JP';
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: #fff;
  line-height: 1.5;
}
a{
  word-break: break-word;
  white-space: normal;
}
.mt-20 {
  margin-top: 20px !important;
}
.mb-20 {
  margin-bottom: 20px !important;
}
.text-center {
  text-align: center !important;
}
.bg-Yellow {
  background-color: #fbf586;
}
.bg-White {
  background-color: #fff;
}
img {
  width: 100%;
}
.container {
  margin: 0 auto;
  max-width: 1260px;
  width: 100%;
  padding: 0 20px;
}
h2 {
  text-align: center;
  font-size: 50px;
  margin-bottom: 30px;
}
.sp {
  display: none;
}
@media screen and (max-width: 768px) {
  .sp {
    display: block;
  }
}

/* header */
.header {
  position: fixed;
  width: 100%;
  z-index: 999;
}
.header-inner {
  padding-top: 20px;
  padding-bottom: 20px;
}
.header-list {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.header-list-link {
  padding: 5px 15px;
  font-size: 13px;
  font-weight: bold;
}
.header-list-link.active {
  background-color: #f5f3f0;
  border-radius: 30px;
}

/* top */
.top {
  padding-top: 200px;
  padding-bottom: 200px;
}
.top .container {
  position: relative;
}
.main-text-wrap {
  position: absolute;
  left: calc(50% - -30%);
  bottom: -300px;
}
.main-text {
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
  font-size: 24px;
}
.main-title-img {
  max-width: 400px;
  display: block;
  margin: 0 auto;
}
/* skill */
.skill {
  padding-top: 80px;
  padding-bottom: 80px;
}
.skill-inner {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.skill-content {
  width: calc((80% - 20px) / 2);
  padding: 40px;
  border: solid 1px #ddd;
}
.skill h3 {
  text-align: center;
  font-size: 22px;
  font-weight: bold;
}

/* work */
.work {
  padding-top: 80px;
  padding-bottom: 80px;
}
.work-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
/* .work-content-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}*/
.work-content-tag span {
  margin-right: 5px;
  border: solid 1px #000;
  border-radius: 30px;
  padding: 2px 10px;
  display: inline-grid-lanes;
  font-size: 12px;
  font-weight: bold;
  display: inline-flex;
}
.work-content-image img {
  aspect-ratio: 5 / 3;
  object-fit: contain;
  margin-bottom: 5px;
  display: block;
  width: 100%;
  height: 100%;
}
.work-content-title {
  font-weight: bold;
}
.work-content-item a {
  display: block;
}

/* slick */
.slick-list {
  width: 94%;
  margin: 0 auto;
}
.slick-slide {
  padding-right: 10px;
  padding-left: 10px;
}
.slick-prev,
.slick-next {
  border-top: 2px solid #000;
  border-right: 2px solid #000;
  width: 15px;
  height: 15px;
}
.slick-prev {
  left: 0;
  transform: rotate(-135deg);
}
.slick-prev::before {
  content: '';
}
.slick-next {
  right: 0;
  transform: rotate(45deg);
}
.slick-next:before {
  content: '';
}
.dots-wrap {
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}
.dots-wrap li {
  width: 30px;
  height: 5px;
  margin: 0 3px;
  background: #fff;
  cursor: pointer;
}
.dots-wrap li:hover,
.dots-wrap li.slick-active {
  background: #000;
}
.dots-wrap li.slick-active {
  width: 40px;
}
.dots-wrap li button {
  display: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  padding: 0;
  border: none;
  background-color: transparent;
}

/* profile */
.profile {
  padding-top: 80px;
  padding-bottom: 80px;
}
.profile-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.profile-content.left {
  flex: 0 0 40%;
}
.profile-content.right {
  flex: 1;
}
.profile-content.left img {
  height: auto;
}
.profile-item-skills {
  border: solid 1px #ddd;
  padding: 20px;
  margin-bottom: 10px;
}
.profile-item-skills table {
  width: 100%;
}
.profile-item-skills table td:first-child {
  width: 30%;
}
.prifile-skill-title {
  position: relative;
  padding-left: 20px;
}
.prifile-skill-title::after {
  content: '';
  width: 15px;
  height: 15px;
  display: inline-block;
  background-color: #000;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
}
.prifile-skill-text {
  padding-left: 21px;
}
/* contact */
.contact {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* contact form */
.wpcf7 {
  width: 70%;
  margin: 0 auto;
}
.wpcf7-form-control {
  position: relative;
  background: #fff;
}
.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;
}
input[type='text'],
input[type='email'],
textarea {
  border: solid 1px #f5f3f0;
  border-radius: 10px;
}

/* detail */
.detail-wrapper {
  padding-top: 85px;
  padding-bottom: 30px;
}
.detail-inner {
  display: flex;
  gap: 20px;
  background: #fff;
  border-radius: 10px;
}
.detail-inner a:hover {
  opacity: 0.6;
}
.detail-content-left {
  flex: 0 0 70%;
}
.detail-content-right {
  flex: 1;
}
.detail-content-left a{
  text-decoration: underline;
}
.detail-content-title {
  font-weight: bold;
  margin-bottom: 5px;
}
.detail-image img {
  object-fit: contain;
  height: auto;
  max-width: 800px;
  margin: 0 auto;
  display: block;
}
.detail-content-site-title {
  font-size: 32px;
  font-weight: bold;
  text-align: left;
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}
.detail-content-site-title::after {
  content: '';
  width: 10px;
  height: 40px;
  display: inline-block;
  background-color: #fbf586;
  position: absolute;
  bottom: 0;
  left: 0;
}
/* fadein */
.fadeIn {
  opacity: 0;
  transition: 2s;
}
.fadeIn.is-show {
  opacity: 1;
}
.detail-link {
  text-decoration: underline;
}

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

@media screen and (max-width: 768px) {
  /*　ハンバーガーメニューボタン　*/
  .hamburger {
    display: block;
    position: fixed;
    z-index: 9999;
    right: 20px;
    top: 20px;
    width: 52px;
    height: 52px;
    cursor: pointer;
    text-align: center;
    background: #000;
    border-radius: 50%;
  }
  .hamburger span {
    display: block;
    position: absolute;
    width: 30px;
    height: 2px;
    left: 11px;
    background: #fff;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
  }
  .hamburger span:nth-child(1) {
    top: 14px;
  }
  .hamburger span:nth-child(2) {
    top: 24px;
  }
  .hamburger span:nth-child(3) {
    top: 34px;
  }

  /* スマホメニューを開いてる時のボタン */
  .hamburger.active span:nth-child(1) {
    top: 25px;
    left: 11px;
    background: #fff;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .hamburger.active span:nth-child(2),
  .hamburger.active span:nth-child(3) {
    top: 25px;
    background: #fff;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  /* メニュー背景　*/
  .header {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    text-align: center;
    width: 100%;
    transform: translateX(100%);
    transition: all 0.6s;
    height: 100vh;
  }
  .header-list-link {
    font-size: 18px;
  }
  .header-list-link.active {
    background-color: transparent;
  }
  .main-text-wrap {
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    width: 100%;
    text-align: center;
  }
  .main-text {
    -webkit-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
    font-size: 14px;
  }
  /* クリックでjQueryで追加・削除 */
  .header.active {
    opacity: 100;
    display: block;
    transform: translateX(0%);
  }
  .header-list {
    width: 100%;
    flex-direction: column;
    gap: 20px;
  }

  .skill-inner {
    flex-direction: column;
  }
  .skill-content {
    width: 100%;
  }
  .profile-inner {
    flex-direction: column;
  }
  .detail-inner {
    flex-direction: column;
  }
  .wpcf7 {
    width: 100%;
  }
}
