@charset "UTF-8";
/*
Theme Name:Kinota Portfolio
Description:きの田のポートフォリオサイトです。
Version:1.0
Author:きの田
*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 100%;
}
body {
  font-family: "Zen Maru Gothic", "Kavoon", "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "BIZ UDPGothic", sans-serif;
  line-height: 1.7;
  color: #013f3e;
  background-color: #e9e0ce;
}
a {
  text-decoration: none;
}
a:hover {
  border-bottom: 2px solid #e25444;
}
img {
  max-width: 100%;
}
.align-center {
  text-align: center;
}
.align-right {
  text-align: right;
}
.align-left {
  text-align: left;
}
.font {
  font-family: "Kavoon", serif;
  font-weight: 100;
  font-style: normal;
}
.font-jp {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.font-sans {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
}
.font-sawa {
  font-family: "Sawarabi Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

li {
  list-style: none;
}
button {
  all: unset; /* 完全リセット */
  cursor: pointer;
}

/*レイアウト*/
.wrapper {
  max-width: 1360px;
  padding-right: 40px;
  padding-left: 40px;
  margin: 0 auto;
}
.grid {
  display: grid;
}
.flex {
  display: flex;
}
.flex-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.flex-lay-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.flex-lay {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.inline {
  display: inline;
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.display {
  display: none;
}
.sub-visual {
  width: 100%;
  position: top;
  object-fit: cover;
  height: auto;
  z-index: 2;
}
.top-sec-title {
  display: inline-block;
  font-size: 3rem;
  font-weight: bold;
  border-bottom: 5px solid #013f3e;
  margin-bottom: 50px;
}
.sec-title {
  margin-top: 5rem;
  margin-bottom: 3rem;
}
.small {
  font-size: 13px;
}
.link-color a {
  color: #e9e0ce;
}
.more-btn {
  color: #fff;
  background-color: #e25444;
  border: 3px solid #fff;
  border-radius: 20px;
  font-size: 2rem;
  line-height: 1;
  padding: 0;
  width: 300px;
  height: 130px;
}
.more-btn:hover {
  background-color: #fff;
  color: #e25444;
  border: 3px solid #e25444;
  transition: ease 0.5s;
}
.wave-wrapper {
  width: 100%;
}
.wave-top {
  display: block;
  width: 100%;
  height: 100px;
  margin-bottom: -1px;
}
.wave-bottom {
  display: block;
  width: 100%;
  height: 100px;
}
.tag-list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 10px;
}
.tag-item a {
  font-size: 10px;
  color: #fff;
  background-color: #e25444;
  padding: 5px;
}
.tag-item a:hover {
  background-color: #fff;
  color: #e25444;
  transition: ease 0.5s;
}

/*ローディング*/
#loading {
  background-color: #013f3e;
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  place-items: center;
  opacity: 0;
}
#loading p {
  color: #e9e0ce;
  font-size: 3rem;
}
#loading-screen {
  background-color: #e9e0ce;
  position: fixed;
  inset: 0;
  z-index: 9998;
  translate: 0 100vh;
}
.show-loading {
  display: grid !important;
  opacity: 1;
}
/*ヘッダー*/
.header {
  position: relative;
  background-color: #013f3e;
  width: 100%;
  height: 80px;
  z-index: 9900;
}
.header-content {
  height: 80px;
}
.header-menu {
  gap: 1.875rem;
}
.header-menu a {
  color: #e9e0ce;
}
.logo {
  width: 250px;
  height: 40px;
}

/*メインビジュアル*/
.main-visual {
  display: block;
  position: relative;
  background-image: url(img/newmainvisual.png);
  background-size: cover;
  background-position: center;
  height: 100vh;
  margin-top: -100px;
  z-index: 1;
}
.greeting {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  display: block;
  max-width: 90vw;
  white-space: nowrap;
}
.greeting h3 {
  font-size: 2.5rem;
  text-shadow: 3px 3px 3px gray;
}
.greeting h4 {
  font-size: 1.5rem;
  text-shadow: 3px 3px 3px gray;
}
.greeting p {
  font-size: 1.5rem;
  font-weight: bold;
  text-shadow: 3px 3px 3px gray;
}

/*Top About*/
.about {
  background-color: #e25444;
  padding: 100px 0;
}
.face {
  display: block;
  width: 500px;
  height: 500px;
  object-fit: cover;
  align-self: flex-start;
}
.about-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  opacity: 0;
}
.about-container h3 {
  font-size: 2.5rem;
  font-weight: bold;
  border-bottom: 5px solid #fff;
  margin-top: -100px;
  margin-bottom: 100px;
}
.about-container p {
  font-size: 2rem;
  font-weight: bold;
}
.about-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
}
.about-item {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}
/*I Can Do It*/
.do {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  margin-top: 100px;
  margin-bottom: 100px;
}
.do-icon {
  background-color: #e25444;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
}
.do-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  opacity: 0;
}
.do-pc-container {
  flex-direction: row;
}
.do-sns-container {
  flex-direction: row-reverse;
}
.do-container h4 {
  font-size: 2rem;
  font-weight: bold;
}
.do-container p {
  font-size: 1.25rem;
  font-weight: medium;
}
.do-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

/*Skill*/
.skill h3 {
  font-size: 2rem;
  font-weight: bold;
}
.skill h4 {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
  line-height: 1;
}
.skill h5 {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: medium;
  border-bottom: 2px solid #013f3e;
  margin-top: 20px;
}
.skill p {
  font-size: 1rem;
  margin-top: 15px;
  margin-left: 10px;
}
.skill-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 80px;
}
.skill-content {
  outline: 3px solid #e25444;
  border-radius: 20px;
  width: 400px;
}
.skill-icon {
  display: block;
  width: 100px;
  height: 100px;
  object-fit: cover;
}
.skill-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #fff;
  background-color: #e25444;
  width: 100%;
  height: 150px;
  line-height: 1;
  padding: 0;
  border-radius: 20px;
  text-align: center;
}
.skill-item {
  padding: 50px;
}
.line {
  border-bottom: 7px dashed #e25444;
}
/*My Work*/
.work {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 80px;
  margin-top: 100px;
}
.work h4 {
  font-size: 1.5rem;
  font-weight: bold;
}
.work p {
  font-size: 1.25rem;
  font-weight: medium;
}
.work-icon {
  width: 300px;
  min-width: 300px;
  height: 300px;
  object-fit: cover;
  aspect-ratio: 1;
  flex-shrink: 0;
}
.work-btn {
  font-size: 1.25rem;
  color: #fff;
  background-color: #e25444;
  width: 300px;
  height: 80px;
  border: 3px solid #fff;
  border-radius: 20px;
}
.work-btn:hover {
  color: #e25444;
  background-color: #fff;
  border: 3px solid #e25444;
  transition: ease 0.5s;
}
.work-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  opacity: 0;
  align-items: stretch;
  max-width: 850px;
}
.work-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  text-align: center;
  flex: 1 1 400px;
  width: 80%;
}
.more-view {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}
.more-view p {
  font-size: 1.25rem;
}
.more-view a {
  font-size: 1.25rem;
}
.more-view-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.more-icon {
  width: 200px;
  height: 200px;
  object-fit: cover;
}
/*Contact*/
.contact {
  background-color: #e25444;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding-bottom: 80px;
}
.contact a span {
  display: inline;
  color: #fff;
  text-decoration: none;
}
.contact a:hover {
  border-bottom: 3px dashed #fff;
}
.contact .top-sec-title {
  border-bottom: 5px solid #fff;
}
.last-greeting {
  font-size: 1.5rem;
  opacity: 0;
}
.mail-icon {
  width: 100px;
  height: 100px;
  object-fit: cover;
}
.mail-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  margin-bottom: -60px;
}
.mail-url {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
a.mail-url:hover {
  border-bottom: none !important;
  text-decoration: none !important;
}
.mail-url-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sns-icon {
  width: 25px;
  height: 25px;
  object-fit: cover;
}
.sns-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

/*アイテムページ*/
.portfolio-title {
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-top: 6.25rem;
}
.portfolio-text {
  margin: 2rem auto 3rem auto;
  padding: 1rem;
  width: 90%;
  border-bottom: 1px solid #013f3e;
  border-top: 1px solid #013f3e;
}
.portfolio-text a {
  border: 1px solid #e25444;
  border-radius: 15px;
  background-color: #e25444;
  color: #fff;
  padding: 0.5rem;
}
.gallery {
  background-color: #fffcf8;
  object-fit: cover;
  margin-top: 2rem;
}
.skill {
  margin: 2rem auto 3rem auto;
}
.skill h3 {
  font-size: 1.125rem;
}
.skill p {
  margin: 0;
  font-size: 1rem;
}
.other {
  justify-content: center;
  align-items: center;
  gap: 30px;
}
.other h2 {
  font-size: 2rem;
}
.backpage {
  margin-bottom: 100px;
}
.backpage a {
  font-size: 1.5rem;
  color: #e25444;
}

/*Workページ*/
.work-page-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.work-page-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.work-page-item p {
  font-size: 14px;
}
.work-page-thumbnail {
  width: 300px;
  height: 300px;
  object-fit: cover;
}
.work-more-btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.work-more-btn {
  color: #fff;
  background-color: #e25444;
  border: 3px solid #fff;
  border-radius: 20px;
  font-size: 1.125rem;
  line-height: 1;
  padding: 0;
  width: 150px;
  height: 65px;
}
.work-more-btn:hover {
  background-color: #fff;
  color: #e25444;
  border: 3px solid #e25444;
  transition: ease 0.5s;
}
.tag-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.pagination {
  margin-top: 30px;
}
.pagination a,
.pagination span {
  font-size: 10px;
  color: #fff;
  background-color: #e25444;
  padding: 5px;
}
.pagination a:hover,
.pagination span:hover {
  background-color: #fff;
  color: #e25444;
  transition: ease 0.5s;
}
.pagination .current {
  background-color: #fff;
  color: #e25444;
  border-bottom: 1px solid #e25444;
  pointer-events: none;
}
/*アバウトページ*/
.about-page h2 {
  font-size: 3rem;
}
article p {
  margin-bottom: 1rem;
}
.container-about {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
}
.book {
  border-top: 7px dashed #013f3e;
  border-bottom: 7px dashed #013f3e;
  margin-bottom: 3rem;
}
.icon {
  object-fit: cover;
  aspect-ratio: 1/1;
  width: 2rem;
  height: 2rem;
}
.name {
  font-size: larger;
  font-weight: bolder;
}
.hashtug {
  color: #e25444;
  font-size: 13px;
}
.about-img {
  object-fit: cover;
  width: 300px;
  height: 300px;
  border-radius: 50%;
}
.hobby-title {
  background-color: #fff;
  border-radius: 20px;
  padding: 20px;
}
.hobby-container {
  border: 3px solid #e25444;
  border-radius: 20px;
  margin-top: 50px;
  padding: 20px;
  width: 100%;
}
.hobby {
  flex-shrink: 0;
  margin-top: 50px;
  margin-bottom: 50px;
}
.hobby h3 {
  display: inline-block;
  margin-bottom: 2rem;
}
.hobby h4 {
  padding-left: 2rem;
}
.hobby p {
  padding-left: 2rem;
}
.introduce {
  margin-bottom: 50px;
}
.introduce p {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
#copy-mail {
  background-color: #e25444;
  border-radius: 20px;
  width: 20rem;
  height: 3rem;
  margin: 2rem auto 1rem auto;
}

/*タグ絞り込みページ*/
.tag-page {
  margin-top: 80px;
}

/*フッター*/
.footer {
  background-image: url(img/footer-big.png);
  background-size: cover;
  width: 100%;
  height: 31.25rem;
}
.footer a {
  color: #013f3e;
}
.footer-link {
  flex-direction: column;
  align-items: center;
  gap: 1.875rem;
  font-size: 24px;
  padding-top: 150px;
}
.footer-sns {
  gap: 15px;
  margin-top: 1.875rem;
}
.copyright {
  justify-content: center;
  align-items: center;
  background-color: #013f3e;
  color: #e9e0ce;
  width: 100%;
  height: 5rem;
}

/*1000px以下*/
@media (max-width: 1000px) {
  .main-visual {
    display: block;
    background-size: contain;
    background-position: top center;
    margin-top: 0px;
    height: auto !important;
    min-height: 520px;
  }
  .greeting h3 {
    font-size: 2rem;
  }
  .greeting h4 {
    font-size: 1.25rem;
  }
  .greeting p {
    font-size: 1rem;
  }

  .greeting {
    bottom: 0;
    top: 60%;
  }
  .face {
    width: 400px;
    height: 400px;
  }
  .sub-visual {
    background-size: contain;
    background-position: top center;
    margin-top: 0px;
    height: auto !important;
    min-height: 300px;
  }
}

@media (min-width: 800px) {
  #menu-panel {
    display: none;
  }
}
@media screen and (max-width: 900px) {
  .work-container {
    flex-direction: column;
    align-items: center;
  }

  .work-item {
    min-width: auto; /* min-width解除 */
    width: 90%; /* 横幅を画面サイズにあわせる */
  }
}

/*タブレット*/
@media (max-width: 800px) {
  /*レイアウト*/
  .top-sec-title {
    font-size: 2.5rem;
  }
  .more-btn {
    font-size: 1.5rem;
    height: 100px;
  }
  /*ヘッダー*/
  .header-menu {
    display: none;
  }
  /*メインビジュアル*/
  .main-visual {
    width: 100%;
    height: 50vh !important;
    min-height: 400px;
    max-height: 400px;
  }
  .greeting h3 {
    font-size: 2rem;
  }
  .greeting h4 {
    font-size: 1.25rem;
  }
  .greeting p {
    font-size: 1rem;
  }
  .greeting {
    transform: translate(-50%, -50%);
    top: 69%;
  }

  /*Top About*/
  .face {
    align-self: auto;
    width: 400px;
    height: 400px;
  }
  .about-container h3 {
    font-size: 2rem;
  }
  .about-container p {
    font-size: 1.25rem;
  }

  /*I Can Do It!*/
  .do-pc-container {
    flex-direction: column;
  }
  .do-sns-container {
    flex-direction: column;
  }
  .do-container {
    gap: 30px;
  }
  .do-container h4 {
    font-size: 1.5rem;
  }
  .do-container p {
    font-size: 1.125rem;
  }
  /*Skill*/
  .skill h3 {
    font-size: 1.5rem;
  }
  .skill h4 {
    font-size: 1.25rem;
  }
  .skill h5 {
    font-size: 1.125rem;
  }
  .skill-container {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }
  .skill-item {
    padding: 30px;
  }
  /*My Work*/
  .work {
    gap: 0px;
  }
  .work h4 {
    font-size: 1.125rem;
  }
  .work p {
    font-size: 1rem;
  }
  .work-container {
    flex-direction: column;
    gap: 0;
  }
  .work-item {
    min-width: auto;
    margin-top: -40px;
  }
  .more-view {
    flex-direction: column-reverse;
    gap: 0;
  }
  .more-icon {
    width: 200px;
    height: 200px;
    margin-top: -50px;
  }
  /*Contact*/
  .contact span {
    font-size: 14px;
  }
  .last-greeting {
    font-size: 1rem;
  }
  .mail-container {
    margin-top: 30px;
  }
  .mail-icon {
    width: 80px;
    height: 80px;
  }
  .mail-url-item span {
    font-size: 12px;
  }
  /*work*/
  .work-page-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
  }

  .content {
    justify-content: flex-start;
    flex-direction: column;
    gap: 1.875rem;
  }
  .item-work {
    justify-content: flex-start;
    flex-direction: column;
  }
  .portfolio-title {
    justify-content: flex-start;
    flex-direction: column;
  }
  .other {
    justify-content: flex-start;
    flex-direction: column;
    gap: 0;
  }
  /*about*/
  .about-content {
    justify-content: flex-start;
    flex-direction: column;
    gap: 1.875rem;
  }
  .container-about {
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
  }
  .can {
    justify-content: flex-start;
    flex-direction: column;
    gap: 2rem;
  }
  .can h4 {
    text-align: center;
  }
  .can p {
    text-align: center;
  }
  /*フッター*/
  .footer {
    background-image: url(img/footer-small.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
    height: 400px;
  }
  .footer-link {
    padding: 0;
    margin-bottom: 30px;
  }
  /*メニューボタン*/
  .menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    right: 1rem;
    top: 1rem;
    z-index: 9998;
    background-color: #e25444;
    width: 3rem;
    height: 3rem;
    border: 1px solid #e9e0ce;
    border-radius: 50%;
    transition: all 0.5s;
    cursor: pointer;
  }
  .menu-btn span {
    display: block;
    position: relative;
    background-color: #e9e0ce;
    width: 30px;
    height: 3px;
    margin: 4px 0;
    transition: all 0.5s;
  }
  .open span {
    background-color: #fffcf8;
  }
  .open span:nth-child(1) {
    transform: translateY(11px) rotate(-45deg);
  }
  .open span:nth-child(2) {
    opacity: 0;
  }
  .open span:nth-child(3) {
    transform: translateY(-11px) rotate(45deg);
  }
  /*ナビゲーションメニュー*/
  .display {
    display: block;
    visibility: hidden;
  }
  #menu-panel {
    background-color: #013f3e;
    position: fixed;
    opacity: 0;
    inset: 0;
    z-index: 9997;
    line-height: 2rem;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }
  #menu-panel a {
    color: #e9e0ce;
    font-size: 30px;
    font-weight: bold;
    line-height: 60px;
  }
  #menu-panel.show {
    opacity: 1;
    visibility: visible;
  }
  .menu-logo {
    margin-bottom: 45px;
  }
  .menu-list {
    padding: 100px 40px;
  }
  .menu-list li {
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style: none;
    opacity: 0;
  }
}

@media (max-width: 460px) {
  html {
    font-size: 14px;
  }
  /*レイアウト*/
  .logo {
    width: 200px;
  }
  .main-visual {
    height: auto;
    min-height: 300px;
    max-height: 300px;
  }
  .greeting {
    top: 60%;
  }
  /*TOP*/
  .do-pc-container {
    margin-top: -80px;
  }
  .skill-content {
    width: 90%;
  }
  .about-container h3 {
    margin-bottom: 50px;
  }

  .sub-visual {
    height: auto;
    min-height: 200px;
    max-height: 200px;
  }
  .container-work {
    width: 100%;
  }
  .item-work img {
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 280px;
    height: 280px;
  }
  .item-work h3,
  .item-work p {
    width: 280px;
    margin: 2rem auto;
  }
  .portfolio-text {
    width: 100%;
  }
  .hobby h4,
  .hobby p {
    width: 100%;
    padding: 0;
  }
}
