@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Capriola&display=swap');
#page {
  font-family: 'Kosugi', sans-serif !important;
  overflow: hidden;
}
h1,
h2 {
  font-family: 'Capriola', sans-serif;
}
p {
  word-break: break-all;
}
.mt-10 {
  margin-top: 6rem !important;
}
.mb-10 {
  margin-bottom: 6rem !important;
}
i {
  color: #17a2b8;
}
.hover_zoom {
  background: rgba(0, 0, 0, .6);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  flex-flow: column;
  justify-content: center;
  color: #fff;
  cursor: pointer;
}
i.fas.fa-link {
  margin-right: 2px;
}

/* モーダル設定 */
.modal  {
  padding: 0 !important;
}
.modal-body {
  padding: 0;
}
.modal-content {
  padding: 1rem;
}
.modal button.close {
  position: absolute;
  top: 10px;
  right: 10px;
}
/*---------------------------------
  header
---------------------------------*/
header {
  position: relative;
  height: 100vh;
}
header h1 {
  color: #fff;
  font-weight: 400;
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 5);
}
.header_filter {
  background: rgba(0, 0, 0, .4);
  height: 100vh;
}
.top_title {
  margin: auto;
  border-radius: 0.25rem;
  color: #FFF;
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 5);
  filter: drop-shadow(5px 5px 10px black);
  letter-spacing: 5px;
}

.top_title a {
  color: #FFF !important;
  text-decoration: none;
  border: solid 3px #fff;
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
}
.top_title p {
  filter: drop-shadow(2px 2px 10px black);
}
.top_title a:hover {
  color: #FFF !important;
}
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}
nav {
  margin: 0 !important;
  padding: 0 !important;

}
.navbar-dark .navbar-toggler:focus {
  outline: none;
}
.navbar-nav {
  padding: 1rem 4rem 1rem 1rem;;
  text-align: left;
}
.nav-link {
  font-weight: 400;
  color: #fff !important;
}
.link-current {
  color: #777 !important;
}
/* 992px ～ */
@media (min-width: 992px) {
  .navbar-toggler-icon {
    display: block !important;
  }
  .top_title h1 {
    font-size: 4rem;
  }
  .top_title h2 {
    font-size: 2rem;
  }
  .navbar-nav {
    background: #2220 !important;
  }
}
/* 769px ～ 991px */
@media (max-width: 991px) {
  nav {
    background: #222c;
  }
  .top_title h1 {
    font-size: 3rem;
  }
  .top_title h2 {
    font-size: 1.5rem;
  }
}
.top_title button {
  border: none;
  background: none;
}
.top_title button .fas {
  font-size: 3rem;
  color: #fff;
  filter: drop-shadow(0px 20px 0px white);
  margin-bottom: 15px;
}
.navbar-toggler {
  border: none !important;
  padding: 0px;
  width: 40px;
  height: 40px;
  color: rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
  position: absolute;
  top: 20px;
  right: 20px;
  background: #22222280;
}
.navbar-toggler-icon {
  background-image: none;
  background-color: #fff;
  width: 30px;
  height: 2px;
  display: block;
  position: absolute;
  top: 0px;
  right: 0px;
  transition: ease .5s;
}
.navbar-toggler-icon:nth-of-type(1) {
  top: 12px;
  left: 5px;
}
.navbar-toggler-icon:nth-of-type(2) {
  top: 19px;
  left: 5px;
}
.navbar-toggler-icon:nth-of-type(3) {
  top: 26px;
  left: 5px;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:nth-of-type(1) {
  top: 18px;
  transform: rotate(45deg);
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:nth-of-type(2) {
  opacity: 0;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:nth-of-type(3) {
  top: 18px;
  transform: rotate(-45deg);
}
/*---------------------------------
  コンテンツ 共通設定
---------------------------------*/
.container {
  padding: 0 1rem;
  margin: 0 auto;
  width: 100% !important;
  max-width: 1024px !important;
  margin: auto;
}

h2 {
  margin-bottom: 3rem;
  font-weight: 400;
}
h3 {
  font-size: 1.7rem !important;
  font-weight: 600;
}
a {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
  color: #777 !important;
}
ul {
  list-style-position: inside;
}
section {
  padding: 48px 0 !important;
  margin: 0px !important;
  width: 100%;
  display: block;
  text-align: center;
}
section h2 {
  color: #333333;
  font-family: 'Kosugi', sans-serif !important;
  font-weight: 600;
  font-size: 2.2rem;
  text-align: left;
  margin-top: 1rem;
}
/* section h2:after {
  content: "";
  display: block;
  height: 1px;
  width: 60px;
  background: #17a2b8;
  margin: 1rem auto;
} */
section:nth-child(odd) {
  background: #fff;
}
section:nth-of-type(even) {
  background: #f3f5f7;
}
section:nth-of-type(even) .card .img_icon {
  background: #f3f5f7;
}
.card {
  margin-right: auto;
  margin-left: auto;
  padding: 20px;
  border: none !important;
  width: 100%;
  height: 100%;
  background: none;
}
.characteristic li {
  /* margin-left: 20px; */
  margin-bottom: 1rem;
}
@media (min-width: 769px) {
  section h2 {
    font-size: 3.2rem;
  }
}
/* 992px ～ */
@media (min-width: 992px) {
  p, ul {
    text-align: left;
  }
  p {
    font-size: 1.4rem;
  }
}
/* 769px ～ 991px */
@media (max-width: 991px) {
  p {
    font-size: 1rem;
  }
}
/* ～ 768px */
@media (max-width: 768px) {
  p, ul {
    text-align: center;
  }
  ul {
    padding-left: 10px;
  }
  section h2 {
    text-align: center;
  }
}
/*---------------------------------
  ABOUT
---------------------------------*/
.my_photo {
  max-width: 400px;
  max-height: 400px;
}
.my_photo, .prof {
  margin-right: auto;
  margin-left: auto;
  width: 100%;
  height: 100%;
}
ul.prof {
  list-style-position: outside;
  padding: 0;
  list-style: none;
  /* list-style-position: outside;
  list-style-type: disclosure-closed;
  padding-left: 1.3rem; */
}
ul.prof li {
  margin-bottom: 1rem;
}
@media (max-width: 500px) {
  ul.prof li {
    font-size: 0.8rem !important;
  }
}
.my_photo img {
  filter: drop-shadow(2px 4px 6px black);
  padding: 4px;
  width: 100%;
  max-width: 400px;
  max-height: 400px;
  border-radius: 20px;
}
#about .img_icon {
  width: 100px;
  height: 100px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
#about .img_icon i {
  font-size: 3rem;
  border: 1px solid #ccc;
  box-shadow: 0 0 1px 0 #ededed, 0 0 2px 0 #eee, 0 0 3px 0 #efefef, 0 0 5px 0 #f0f0f0, 0 0 6px 0 #f1f1f1, 0 0 9px 0 #f2f2f2;
  padding: 10px;
  border-radius: 50%;
}

#about .img_icon i:hover {
  border: 0;
  box-shadow: none;
  font-size: 4rem;
  transition: all 0.3s ease-in 0s;
}

/*---------------------------------
  WORKS
---------------------------------*/
#works .img_icon {
  width: 100px;
  height: 100px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto;
}
#works .characteristic {
  font-size: 1rem !important;
  list-style-position: outside !important;
  list-style-type: disclosure-closed !important;
  padding-left: 1.3rem;
}
#works .card.active {
  /* border: 1px solid #ced4da !important; */
  background: #fff;
}
@media (max-width: 500px) {
  #works .characteristic {
    font-size: 0.8rem !important;
  }
}
@media (min-width: 992px) {
  #works .characteristic li {
    /* text-align: center; */
    /* font-size: 1.4rem; */
    /* list-style: none; */
  }
}
/*---------------------------------
  portfolio
---------------------------------*/
.portfolio_wrap {
  padding: 0;
}
.portfolio-tab {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 1rem 0;
}
.portfolio-tab label {
  width: 49.5%;
  display: block;
  padding: 0.5rem 0;
  color: #7c7c7c;
  text-align: center;
  cursor: pointer;
  font-weight: 600;
  background: rgb(0 0 0 / 10%);
  border: 1px solid #ced4da;
}
@media (min-width: 992px) {
  .portfolio-tab label {
    font-size: 1rem;
  }
}
.portfolio-tab label.active {
  background: #17a2b8 !important;
  color: #fff;
  font-weight: 400;
  box-shadow: 8px 8px 10px -8px rgb(0 0 0 / 30%);
  position: relative;
}
.portfolio-tab label.active:after {
  content: '';
  position: absolute;
  top: 100%;
  bottom: 0;
  left: 0;
  margin: auto;
  vertical-align: middle;
  left: calc(50% - 6px);
  width: 12px;
  height: 12px;
  background: #17a2b8;
  border-right: 2px solid #17a2b8;
  border-bottom: 2px solid #17a2b8;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.portfolio-panel-wrap {
  padding: 1rem 0;
}
.portfolio-panel {
  display: none;
}
.portfolio-panel.active {
  display: block;
}
#portfolio h3 {
  padding: 0 0.5rem;
}
#portfolio .hover_zoom h3 {
  text-shadow: 1px 1px 10px rgb(0 0 0);
}
#portfolio .hover_zoom p {
  /* text-shadow: 1px 1px 10px rgb(0 0 0); */
  position: absolute;
  bottom: -0.5rem;
  right: 1rem;
  font-size: 0.75rem;
  text-align: right;
  color: #ccc;
  letter-spacing: 1px;
}
#portfolio .hover_zoom p i {
  color: #ccc !important;
}
#portfolio .hover_zoom p .far.fa-calendar-check {
  font-size: 0.9rem;
}
#portfolio .hover_zoom p .fas.fa-sync {
  font-size: 0.8rem;
}
@media (max-width: 500px) {
  #portfolio h3 {
    font-size: 1rem !important;
  }
  #portfolio .container > h3 {
    margin: 24px 0 !important;
  }
  #portfolio .hover_zoom p {
    /* text-shadow: 1px 1px 10px rgb(0 0 0); */
    position: absolute;
    bottom: -0.5rem;
    right: 1rem;
    font-size: 0.75rem;
    text-align: right;
    color: #ccc;
    letter-spacing: 1px;
  }
  #portfolio .hover_zoom p {
    font-size: 0.75rem !important;
    right: 0.65rem;
  }
  #portfolio .hover_zoom p .far.fa-calendar-check {
    font-size: 0.75rem;
  }
  #portfolio .hover_zoom p .fas.fa-sync {
    font-size: 0.7rem;
  }
}
@media (min-width: 501px) {
  #portfolio h3 {
    font-size: 1.5rem !important;
  }
}
#portfolio .img_wrap {
  position: relative;
  height: auto;
}
#portfolio .img_wrap:before {
    content: "";
    display: block;
    padding-top: 61.8%;
}
#portfolio .portfolio_img {
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  padding: 0;
  width: 100%;

  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
#portfolio .modal .sm_dl {
  background: #f3f5f7;
  padding: 16px 32px;
}
#portfolio .modal .sm_dl a {
  margin-left: 10px;
  color: #17a2b8 !important;
}
#portfolio .modal .sm_dl a i {
  color: #17a2b8;
}
#portfolio .modal dl dt {
  text-align: left;
  padding: .3rem .8rem;
  border-left: 7px solid #17a2b8;
  /* border-bottom: 2px solid #17a2b8; */
  margin-bottom: 1rem;
}
#portfolio .modal #mainImg {
  margin-bottom: 10px;
}
#portfolio .modal img {
  width: 100%;
  height: auto;
}
#portfolio .modal #subImg {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0;
}
ul#subImg  {
  list-style-type: none;
}
#subImg li {
  width: 24%;
  margin: 8px 0;
  filter: brightness(0.6);
}
#portfolio .current {
  filter: none;
}
#portfolio .portfolio_discription {
  padding: .8rem;
}
#portfolio .portfolio_discription h3 {
  font-size: 1.25rem !important;
}
#portfolio .used_skills {
  font-size: 1rem;
  text-align: center;
}
#portfolio .production_time {
  font-size: 1rem;
}
#portfolio .overview {
  font-size: 0.9rem !important;
}
#portfolio .characteristic {
  list-style-position: outside;
  list-style-type: disclosure-closed;
  padding-left: 1.3rem;
  /* padding-left: 0; */
  font-size: 0.9rem;
}
/* 769px ～ 991px */
@media (max-width: 991px) {
  #portfolio .portfolio_bg p {
    font-size: 1rem;
  }
  #portfolio .characteristic {
    text-align: left !important;
  }
}
@media (min-width: 768px) and ( max-width: 991px) {
  #portfolio .production_time {
    font-size: 0.8rem;
  }
  .overview {
    font-size: 0.7rem !important;
  }
  #portfolio .characteristic {
    /* font-size: 0.7rem; */
  }
  #portfolio .portfolio_aws {
    width: 75%;
  }
}
/* 350px ～ 768px */
@media (max-width: 768px) {
  #portfolio .used_skills {
    font-size: 0.8rem;
    text-align: center;
  }
  #portfolio .production_time {
    font-size: 0.8rem !important;
  }
  .overview {
    font-size: 0.7rem !important;
  }
  #portfolio .characteristic {
    /* font-size: 0.7rem !important; */
    text-align: left !important;
  }
}
/* ～ 350px */
@media (max-width: 350px) {
  #portfolio .used_skills {
    font-size: 0.7rem !important;
    text-align: center;
  }
}
/*---------------------------------
  SKILL
---------------------------------*/
#skill .fa-star {
  color: #ffc458;
}
#skill .modal-content {
  max-width: 800px;
  margin: auto;
}
.characteristic {
  list-style-position: outside;
  padding: 0;
  text-align: left;
  list-style: none;
}
#skill .characteristic {
  list-style-position: outside;
  list-style-type: disclosure-closed;
  padding-left: 1.5rem;
}
#skill .characteristic li:last-of-type {
  margin-bottom: 0;
}
#skill button p {
  font-size: 1rem !important;
}
#skill .skills_row.row .col-lg-6,
#skill .skills_row.row .col-md-6,
#skill .skills_row.row .col-sm-12 {
  padding: 0 !important;
}
#skill .skill_row.row > div {
  padding: 0;
  text-align: right;
}
.skill_wrap {
  padding: 0;
}
.skill-tab {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.skill-tab label {
  width: 100%;
  display: block;
  padding: 0.5rem 0;
  color: #7c7c7c;
  text-align: center;
  cursor: pointer;
  flex-wrap: wrap;
  font-weight: 600;
  background: rgb(0 0 0 / 10%);
  /* border: 1px solid #ced4da; */
}
/* スキルの情報 */
.skill-info {
  display: flex;
  justify-content: space-between;
  /* font-size: 16px; */
  line-height: 1.5;
  /* margin-bottom: 10px; */
}

.skill-info .skill-name,
.skill-info .countup {
  font-size: 1.2rem !important;
}

/* スキルの熟練度（パーセンテージ） */
.skill-percentage {
  opacity: 0; /* 初期状態では透明に */
  transition: opacity 0.6s;
}

/* スキルバーの親要素 */
.skill-bar-container {
  position: relative;
  width: 100%;
  height: 15px; /* スキルバーの高さ */
  background-color: #fff; /* スキルバーの背景色 */
  box-shadow: 8px 8px 10px -8px rgb(0 0 0 / 30%);
  overflow: hidden;
}

/* スキルバー本体 */
.skill-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0; /* 初期状態では0 */
  background-color: #ffc458; /* スキルバーの色 */
  transition: width 3s cubic-bezier(0.22, 1, 0.36, 1); /* スキルバーが伸びる速度を調整 */
}
@media (min-width: 769px) {
  .skill-tab {
    justify-content: space-between;
  }
  .skill-tab label {
    width: 49.5%;
  }
}
.skill-tab label.active {
  background: #17a2b8 !important;
  color: #fff;
  font-weight: 400;
  box-shadow: 8px 8px 10px -8px rgb(0 0 0 / 30%);
  position: relative;
}
.skill-tab label.active:after {
  content: '';
  position: absolute;
  top: 100%;
  bottom: 0;
  left: 0;
  margin: auto;
  vertical-align: middle;
  left: calc(50% - 6px);
  width: 12px;
  height: 12px;
  background: #17a2b8;
  border-right: 2px solid #17a2b8;
  border-bottom: 2px solid #17a2b8;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.skill-panel-wrap {

}
.skill-panel {
  display: none;
}
.skill-panel.active {
  display: block;
}
#skill .skill_row.row h3 {
  text-align: left;
  font-weight: 600;
}

@media (max-width: 500px) {
  #skill h3 {
    font-size: 0.75rem !important;
  }
  #skill .container > h3 {
    margin: 24px 0 !important;
  }
}
@media (min-width: 501px) {
  #skill h3 {
    font-size: 1.5rem !important;
  }
}
.skill_detail {
  /* border: solid 1px #ccc; */
  padding: 1.5rem !important;
  background: #f3f5f7;
}
@media (max-width: 576px) {
  #skill .skill_row.row h3,
  #skill .skill_row.row p,
  #skill .skill_row.row button,
  #skill .skill_row.row a {
    margin-bottom: 0.5rem !important;
    margin-right: 0 !important;
    font-size: 0.75rem;
  }
  #skill .modal-title {
    font-size: 1.25rem !important;
  }
}
@media (min-width: 577px) and (max-width: 767px) {
  #skill .skill_row.row h3,
  #skill .skill_row.row p,
  #skill .skill_row.row a {
    text-align: center;
    margin-bottom: 0.5rem !important;
  }
}
@media (min-width: 768px) {
  #skill .skill_row.row h3,
  #skill .skill_row.row p,
  #skill .skill_row.row a {
    margin-bottom: 0 !important;
  }
  #skill .skill_row.row h3 {
    margin-bottom: 0;
  }
  #skill .skill_row.row p {
    text-align: center;
    margin-bottom: 0;
  }
}
#skill > .container .row .card {
  border-radius: 0;
  box-shadow: none;
  padding: 0 20px;
}

/* 992px ～ */
@media (min-width: 992px) {
  .characteristic {
    font-size: 1.4rem;
  }
}
/* 769px ～ */
@media (min-width: 769px) {
  #skill > .container .row .card {
    padding: 10px 20px;
  }
}
/* ～ 991px */
@media (max-width: 991px) {
  .characteristic {
    font-size: 1rem;
  }
}
/*---------------------------------
  PERSONALITY
---------------------------------*/
#personality .img_icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto;
}
#personality .characteristic {
  font-size: 1rem !important;
}
#personality .card.active {
  /* border: 1px solid #ced4da !important; */
  background: #f3f5f7;
}
/*---------------------------------
  CONTACT
---------------------------------*/
form {
  margin: 0 auto !important;
  /* max-width: 600px; */
}
.btn {
  width: 50% !important;
}

/* ～ 768px */
@media (max-width: 768px) {
  #contact p {
    font-size: 1rem;
  }
  #contact form > p {
    text-align: center !important;
  }
  .form-check {
    justify-content: center;
  }
}
.card {
	opacity : 0;
	visibility: hidden;
	transition: 1s;
	transform: translateY(50px);
}
/*アニメーション要素までスクロールした時のスタイル*/
.active{
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.form-control:focus {
  box-shadow: none;
  border: 1px solid #ced4da;
}
.privacy {
  text-align: left;
  background: #fff;
  overflow-y: scroll;
  height: 25vh;
}
.privacy .card{
  padding-bottom: 1rem;
}
.privacy h3 {
  font-size: 1rem !important;
  text-align: left;
  margin: 1rem 0 0;
}

/*---------------------------------
  footer
---------------------------------*/
footer {
  background: #fff;
}
