@charset 'UTF-8';

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  color: #1f1e1e;
  /* background-color: #e9e5de; */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-style: normal;
}

li {
  list-style: none;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%; /* width:100% ??? */
  vertical-align: bottom;
}

/**********************************************
スタート時のエフェクト
**********************************************/
.top {
  background: #ecece7;
  /* background: #fff; */
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 9000;
}
.top-text {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 9999;
}
.top-text p {
  text-align: center;
}
.top-text p:nth-child(1) {
  font-size: 1.5rem;
  letter-spacing: 0.5rem;
}
.top-text p:nth-child(2) {
  font-size: 1.3rem;
  margin-top: 10px;
  letter-spacing: 0.1em;
  color: #24292e;
}
.top-text p:nth-child(3) {
  font-size: 1.1rem;
  margin-top: 20px;
  /* letter-spacing: 0.1em; */
  color: #7a477b;
}

/**********************************************
ヘッダー（左サイドバー）
**********************************************/
#header {
  width: 260px;
  height: 100vh;
  background-color: #3e5766;
  color: #e9e5de;
  padding: 30px 15px 0px 20px;
  position: fixed;
  top: 0;
  z-index: 100;
  /* 画面の高さが低くてメニューが隠れてしまった場合に、縦スクロールが出るよう設定 */
  overflow-y: auto;
}
#header h2 {
  font-size: 0.8rem;
  font-weight: normal;
}
#header nav {
  margin-top: 50px;
}
#menu-list > li {
  /* margin-top: 15px; */
  margin-bottom: 30px;
}
#menu-list > li > a,
#works > p {
  display: inline-block;
  width: 100%;
  color: #e9e5de;
  margin-left: 12px;
  position: relative;
}
#menu-list > li > a::before,
#works > p::before {
  content: "";
  display: block;
  position: absolute;
  width: 2px;
  height: 12px;
  background-color: #fff;
  top: 6px;
  left: -12px;
}
#menu-list > li a:hover,
#works > p:hover {
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

/* Workのリスト表示 */
#work-list {
  display: none;
  margin-top: 7px;
  width: 230px;
}
#work-list li:nth-child(odd) {
  background-color: #2c3a42;
}
#work-list li:nth-child(even) {
  background-color: #364248;
}
#work-list li:hover {
  background-color: #333232;
  cursor: pointer;
}
#work-list li + div:hover {
  opacity: 0.9;
}
.list-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.list-flex div:nth-child(1) {
  color: #fff;
  padding: 10px 5px 10px 10px;
}
.list-flex div:nth-child(1) > p {
  font-weight: bold;
}
.list-flex div:nth-child(1) span {
  font-size: 0.75rem;
}
.logo-triangle {
  display: flex;
  align-items: center;
}
.logo-triangle img {
  width: 30px;
}
.triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 6px solid #fff;
  border-right: 0;
  margin-right: 10px;
}

.list-flex p:nth-child(1) {
  font-size: 0.9rem;
}
.list-flex p:nth-child(2) {
  font-size: 0.75rem;
}
.list-flex span {
  display: block;
}

/**********************************************
メイン部分
**********************************************/
.container {
  margin-left: 260px;
  width: calc(100% - 260px);
}
.wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/**********************************************
サマリー
**********************************************/
#summary {
  background-image: linear-gradient(150deg, #ab9d909e, #7b6f61ba);
  padding: 50px 0px;
  min-width: 900px;
}

#summary-title {
  color: #625757;
  font-size: 2rem;
}
#summary-title small {
  font-size: 0.9rem;
}
.work-num {
  margin-top: 35px;
  color: #fff;
  font-size: 1.2rem;
}
.work-num.latest {
  text-shadow: 1px 2px 3px #595858;
  color: #625757;
}

.summary-wrapper {
  display: flex;
  margin: 0px auto;
  background-color: #fff;
  color: #454545;
  font-size: 0.85rem;
  padding: 7px 5px;
  border-radius: 5px;
}
.summary-wrapper.latest {
  box-shadow: 10px 9px 6px rgba(0, 0, 0, 0.32);
}
.summary-flex-logo {
  width: 8%;
  display: flex;
  justify-content: center;
  padding-left: 10px;
  flex-direction: column;
  row-gap: 12px;
}
.summary-flex-logo img {
  width: 30px;
}
.summary-flex-content {
  width: 72%;
}
.summary-flex-content p {
  margin-bottom: 7px;
}
.summary-flex-content p:nth-child(1) {
  font-size: 1rem;
  color: #962c2c;
  font-weight: bold;
  position: relative;
}
.summary-flex-content > p > span {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: normal;
  width: 95px;
  background-color: #7b715f;
  color: white;
  margin-right: 15px;
  text-align: center;
  border-radius: 3px;
}
.summary-flex-content .framework-span {
  background-color: #fff;
  display: inline-block;
  color: #373737;
  font-size: 0.85rem;
  margin-left: 20px;
  position: relative;
}
.summary-flex-content .framework-span::before,
.summary-flex-content .framework-span::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 1px;
  background-color: #373737;
  position: absolute;
  top: 55%;
  left: 3%;
}
.summary-flex-content .framework-span::after {
  left: 86%;
}
.summary-flex-content > p > small {
  color: #1f1e1e;
  font-weight: normal;
  position: absolute;
  top: 4px;
  right: 25px;
}
.summary-flex-content p:nth-child(2) {
  font-size: 1.1rem;
  color: #121212;
  font-weight: bold;
}
.summary-flex-content p:nth-child(3) {
  font-size: 0.9rem;
  color: #373737;
}

.summary-flex-link {
  width: 20%;
  display: flex;
  font-size: 0.9rem;
  flex-direction: column;
  row-gap: 10px;
  justify-content: center;
  align-items: center;
}
.summary-flex-link li {
  width: 85%;
  position: relative;
}

.summary-flex-link .git::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 19px;
  background-image: url(../images/github-mark-white.png);
  background-size: cover;
  position: absolute;
  top: 4px;
  right: 32px;
}

.summary-flex-link span,
.summary-flex-link a {
  display: block;
  color: #fff;
  font-weight: bold;
  background-color: #2b3137;
  padding: 5px 15px;
  width: 90%;
  border-radius: 20px;
  text-align: center;
}
.summary-flex-link a:hover {
  color: #fff;
  background-color: #70777d;
}

/**********************************************
work部分
**********************************************/

#work-description {
  background-color: #e9e5de;
  padding-top: 50px;
  padding-bottom: 50px;
  min-width: 900px;
}
#works-title {
  color: #bdb099;
  font-size: 2rem;
}
.work-zone {
  padding-top: 80px;
}
.work-inner {
  background-color: #f3f0e9;
  padding: 15px;
  border-radius: 5px;
}
.work-flex {
  display: flex;
  margin-top: 15px;
  column-gap: 20px;
}
.flex-left {
  width: 50%;
  transition: all;
  position: relative;
}
.flex-left:hover {
  opacity: 0.8;
  cursor: pointer;
  transform: scale(103%);
}
.work-click {
  position: absolute;
  width: 80px;
  right: 0;
  bottom: -25px;
}
.work-click img {
  opacity: 0.4;
}

.work-name {
  font-size: 1.1rem;
}
.work-name span {
  font-size: 1rem;
  margin-right: 15px;
}
.flex-right {
  width: 50%;
}
/** ここから下は見直し */
.flex-right {
  margin-left: 20px;
  font-size: 0.9rem;
}
.flex-right .table {
  margin-bottom: 15px;
}
.flex-right .table-header {
  margin-bottom: 5px;
  font-weight: bold;
  text-decoration: underline;
}
.flex-right .table-header + p {
  margin-left: 7px;
}
.table {
  display: table;
  margin-bottom: 5px;
  padding-left: 7px;
}
.table-row {
  display: table-row;
}
.table-cell {
  display: table-cell;
  padding-right: 20px;
}

/**********************************************
モーダル
**********************************************/
.modal {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  padding: 50px;
  top: 0;
  left: 0;
  overflow: auto;
  background: rgba(0, 0, 0, 0.687);
  z-index: 500;
}
.overlay {
  position: fixed;
  border-radius: 10px;
  top: 55px;
  left: 65px;
  right: 65px;
  bottom: 20px;
  background: #e9e5de;
  overflow-y: auto;
}
.close-btn {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 35px;
  opacity: 0.8;
}
.close-btn:hover {
  opacity: 1;
  cursor: pointer;
}

/* モーダル表示部分 */

.description {
  display: flex;
  padding: 45px 30px 20px 30px;
  /* overflow-x: scroll; */
}
/* モーダル 左側 */
.heading {
  min-width: 200px;
  background-color: #f3f0e9;
  padding: 15px 10px 10px 15px;
  border-radius: 5px;
}
.heading li h4 {
  font-weight: normal;
}
.heading li h5 {
  font-weight: normal;
  margin-top: 8px;
  font-size: 0.95rem;
  position: relative;
}
.heading li h5::before {
  content: "";
  display: block;
  position: absolute;
  width: 5px;
  height: 20px;
  background-color: #08366c;
  top: 2px;
  left: -9px;
}
.heading li p {
  margin-top: 5px;
  font-size: 0.9rem;
}
.heading li span {
  display: inline-block;
  width: 100%;
  font-size: 0.8rem;
  padding-left: 15px;
  margin-top: 5px;
}
.heading li span:hover {
  opacity: 0.7;
  color: rgb(4, 5, 91);
  background-color: #d7d3c9;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
}
.desc.active {
  color: rgb(46, 46, 46);
  background-color: #fff;
}

/* モーダル 右側 */
.description .img-side {
  min-width: 600px;
  position: relative;
}

.change-item {
  display: none;
  transition: all 1s ease 0s;
}
.change-item.active {
  display: block;
  margin-left: 30px;
  border-radius: 5px;
  animation: appear 0.7s ease;
}
@keyframes appear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.change-item img {
  border-radius: 5px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}
figcaption {
  margin-top: 15px;
  font-size: 0.9rem;
}
figcaption span {
  color: red;
}
#img-w1-0,
#img-w2-0,
#img-w3-0 {
  max-width: 100%;
  background-color: #fff;
  padding: 15px 25px 15px 25px;
  font-size: 0.88rem;
  color: rgb(58, 58, 58);
}
.md0-flex {
  display: flex;
}
.md0-left {
  width: 18%;
  margin-bottom: 20px;
}
.md0-left span {
  display: inline-block;
  width: 80%;
  padding: 0.4em 0.5em;
  color: #494949;
  background: #f4f4f4;
  border-left: solid 5px #7db4e6;
  border-bottom: solid 3px #d7d7d7;
  margin-right: 5px;
}

.md0-right {
  width: 82%;
  margin-bottom: 20px;
}
.md0-right a {
  text-decoration: underline;
}
.md0-right small {
  display: block;
}

.md0-right > table {
  background-color: #f3f0e9;
  border-radius: 5px;
  font-size: 0.85rem;
}
.md0-right > table td {
  padding: 3px 0px 3px 5px;
}
.md0-right > table tr th:first-child {
  width: 100px;
}
.md0-right > table tr th:nth-child(2),
.md0-right > table tr th:nth-child(3) {
  width: 170px;
  font-weight: normal;
}
.md0-right > table tr th:nth-of-type(1),
.md0-right > table tr th:nth-of-type(2),
.md0-right > table tr td:nth-of-type(1),
.md0-right > table tr td:nth-of-type(2) {
  border-right: 1px solid rgba(128, 128, 128, 0.582);
}
.md0-right > table tr:nth-of-type(2) td {
  border-top: 1px solid rgba(162, 119, 119, 0.582);
  border-bottom: 1px solid rgba(128, 128, 128, 0.582);
}

.md0-inner-flex {
  display: flex;
  margin-bottom: 10px;
}
.md0-p {
  display: inline-block;
  width: 18%;
  font-size: 0.8rem;
}
.md0-p span {
  background: linear-gradient(transparent 50%, #5ecaf185 60%);
}
.md0-p + p {
  width: 82%;
}
.md0-p-content span {
  background: linear-gradient(transparent 50%, #b1f15e85 60%);
}
/****************
 モーダル矢印
****************/
.arrow {
  display: flex;
  justify-content: space-between;
  margin-left: 10px;
  position: absolute;
  width: 100%;
  top: 130px;
}
.arrow-left {
  display: inline-block;
  border-style: solid;
  border-width: 25px 14px 25px 0;
  border-color: transparent #c4c2c2 transparent transparent;
}
.arrow-left:hover {
  border-color: transparent #6c6b6b transparent transparent;
  cursor: pointer;
}
.arrow-right {
  display: inline-block;
  border-style: solid;
  border-width: 25px 14px 25px 0;
  border-color: transparent #c4c2c2 transparent transparent;
  transform: rotate(180deg);
  margin-right: -10px;
}
.arrow-right:hover {
  border-color: transparent #6c6b6b transparent transparent;
  cursor: pointer;
}

.arrow-left.inactive:hover,
.arrow-right.inactive:hover {
  cursor: default;
}
.arrow-left.inactive,
.arrow-right.inactive {
  pointer-events: none;
}
/**********************************************
プロフィール
**********************************************/
#profile {
  background-image: linear-gradient(154deg, #fbfbfb9e, #9a9a9aba);
  color: #373737;
  letter-spacing: 0.05em;
  padding-top: 50px;
  padding-bottom: 50px;
  font-size: 0.9rem;
  min-width: 900px;
  /* overflow-x: scroll; */
}
#profile-title {
  color: #a5a8a9;
  font-size: 2rem;
  margin-bottom: 40px;
}
#profile-comment {
  margin-top: -15px;
  margin-bottom: -15px;
}

#profile-flex {
  display: flex;
  padding-top: 30px;
}
#left-profile {
  width: 25%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 0.75rem;
}
#face {
  width: 75%;
}
#face img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(80%);
}

#left-profile dl {
  display: flex;
  flex-wrap: wrap;
  width: 85%;
  margin: 0 auto;
  letter-spacing: normal;
}
#left-profile dl dt {
  width: 23%;
  margin-top: 10px;
}
#left-profile dl dd {
  width: 77%;
  margin-top: 10px;
}

#right-profile {
  width: 75%;
  margin-left: 30px;
}

.profile-header {
  display: flex;
  align-items: center;
  column-gap: 8px;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 7px;
}
#career dl {
  display: flex;
  flex-wrap: wrap;
  font-size: 0.78rem;
  line-height: 1.3rem;
  margin: 10px 0 10px 10px;
  color: #5b5a5a;
}
#career dl dt {
  width: 10%;
}
#career dl dd {
  width: 90%;
}

.profile-header::before {
  width: 0.8em;
  height: 0.4em;
  border-bottom: 4px solid #2589d0;
  border-left: 4px solid #2589d0;
  transform: rotate(-45deg) translate(2px, -2px);
  content: "";
}
#skill dl {
  display: flex;
  flex-wrap: wrap;
}

#skill dl dt {
  width: 20%;
  margin-bottom: 4px;
}
#skill dl dd {
  width: 80%;
  margin-bottom: 4px;
}
/** スクール・オンライン */
#balloon-flex {
  display: flex;
  column-gap: 20px;
  margin-left: 72px;
}

.balloon-block {
  position: relative;
}
.balloon-title {
  display: inline-block;
  background-color: #fff;
  border-radius: 5px;
  color: #000;
  padding: 3px 5px;
}
.balloon-btn {
  text-decoration: underline;
}
.balloon-btn:hover {
  cursor: pointer;
}

#school,
#online {
  display: none;
  position: absolute;
  bottom: 30px;
  left: 160%;
  width: 620px;
  transform: translateX(-50%);
  z-index: 1;
  background: #545454;
  padding: 8px 12px;
  font-size: 0.78rem;
  animation: fadeIn 0.6s;
  color: #fff;
  border-radius: 4px;
  filter: drop-shadow(0px 1px 4px #aaa);
}
#online {
  left: 60%;
  list-style-type: square;
}
#online ul li {
  list-style-type: square;
  list-style: "#";
}
#school::before,
#online::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 25%;
  margin-left: -8px;
  border: 8px solid transparent;
  border-top: 8px solid #545454;
}
#online::before {
  left: 48%;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/**********************************************
コンタクトフォーム
**********************************************/
#contact {
  width: 600px;
  margin: 80px auto 100px auto;
}
#contact-title {
  text-align: center;
  font-size: 2rem;
  margin: 30px 0;
}
#contact dt {
  margin: 5px 0;
  font-size: 0.9rem;
}
#contact dt small {
  margin-left: 15px;
  color: #962c2c;
}
#contact dd input,
#contact dd textarea {
  width: 100%;
  border: solid 1px #c8c8c8;
  padding: 10px;
  border-radius: 5px;
}
#contact dd textarea {
  height: 10rem;
}
#contact .button {
  text-align: center;
}
#contact .button input {
  width: 100%;
  background-color: #24292e;
  color: #fff;
  padding: 15px 0;
  border: solid 1px #24292e;
}
#contact .button input:hover {
  background: #fff;
  color: #24292e;
}

/**********************************************
thanks.html
**********************************************/
.section-thanks {
  padding: 100px 40px;
}
.thanks_h1 {
  font-size: 1.5rem;
  text-align: center;
}
.thanks_a {
  background-color: #6695ed;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  margin-top: 100px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.5rem;
  width: 12em;
  height: 2em;
}

/**********************************************
作品説明   ★後で適正な位置に移動
**********************************************/
