@charset "UTF-8";
/*
 *  SiteName : Miz ポートフォリオ
 *  SiteUrl : https://www.wideglo.jp/staff/miz/
 *  © 2025 Wideglo
 */
/*==============================================================
  input reset
==============================================================*/
input,
select,
textarea,
button {
  border: none;
  outline: none;
  background-color: transparent;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  box-sizing: border-box;
}

/*==============================================================
  font
==============================================================*/
html {
  font-size: 62.5%;
  scrollbar-color: #007a88 rgba(0, 122, 136, 0.3);
}

body,
input,
select,
textarea,
button {
  color: rgb(68, 68, 68);
  letter-spacing: 0.135em;
  line-break: anywhere;
  font-family: "Roboto", "BIZ UDGothic", "serif";
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  font-size: 1.6rem;
}

/*==============================================================
  body,#wrapper
============================================================== */
body,
#wrapper {
  min-width: 1000px;
  min-height: 100vh;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  transition: all 0.5s ease;
}

/*==============================================================
	img
============================================================== */
img {
  max-width: 100%;
}

/*==============================================================
  @keyframes
============================================================== */
@keyframes scrollanim {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes textAnim {
  0% {
    transform: translateY(120%);
  }
  100% {
    transform: translateY(0px);
  }
}
/*==============================================================
  link
==============================================================*/
a {
  display: inline-block;
  width: 100%;
  height: 100%;
}
a:link, a:visited, a:active {
  color: rgb(68, 68, 68);
  text-decoration: none;
}

/*==============================================================
  main
==============================================================*/
main {
  width: 100%;
  margin: 0 auto;
}

/*==============================================================
  aside
==============================================================*/
aside {
  position: fixed;
  top: 0;
  right: 20px;
  padding: 0 20px;
  height: 100vh;
  text-align: center;
  z-index: 1;
}
aside .asideBackground {
  display: none;
}
aside a:link {
  color: #007a88;
}
aside nav {
  position: absolute;
  top: 0;
  right: -150%;
  margin: 8vh 0 0;
  transition: all 0.5s ease;
}
aside nav ul {
  margin: 0 auto -24px;
}
aside nav ul li {
  margin: 0 0 24px;
}
aside nav ul li span {
  font-weight: 700;
}
aside nav ul li span.material-icons {
  font-size: 32px;
  font-size: 3.2rem;
}
aside div {
  position: absolute;
  bottom: -7%;
  left: 50%;
  width: 40px;
  font-weight: 700;
  transform: translateX(-50%);
  transition: all 0.5s ease;
}
aside div span a {
  position: relative;
  padding: 64px 0 0;
}
aside div span a::before, aside div span a::after {
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  width: 16px;
  height: 16px;
  content: "";
  border-top: 2px solid #007a88;
  border-right: 2px solid #007a88;
  transform: rotate(-45deg);
  animation: scrollanim 2s infinite;
}
aside div span a::before {
  top: 24px;
  animation-delay: 0s;
}
aside div span a::after {
  top: 40px;
  animation-delay: 0.16s;
}

/*==============================================================
  hamburger menu
==============================================================*/
.navlistCheckbox,
.navlistBtn {
  display: none;
}
/*==============================================================
  footer
==============================================================*/
footer {
  padding: 16px 0;
  color: #ffffff;
  text-align: center;
  font-size: 12px;
  font-size: 1.2rem;
  background-color: #007a88;
}
footer a {
  color: #ffffff !important;
  display: inline;
}

/*==============================================================
  article
============================================================== */
article {
  width: 100%;
  margin: 0;
}

/*==============================================================
  section
==============================================================*/
section {
  width: 100%;
  margin: 0;
  padding: 64px 0;
}
section:nth-of-type(2n) {
  background-color: rgba(0, 122, 136, 0.1);
}
section:nth-of-type(n + 2) .contents {
  position: relative;
  top: 80px;
  opacity: 0;
  visibility: hidden;
  transition: all 1.2s ease;
}
section:nth-of-type(n + 2) .contents.fadeIn {
  top: 0;
  opacity: 1;
  visibility: visible;
}
section .contents {
  width: 1000px;
  margin: 0 auto;
}
section .contents h2 {
  margin: 0 0 56px;
  font-weight: 700;
  color: #007a88;
  font-size: 48px;
  font-size: 4.8rem;
}
section .contents p {
  line-height: 1.6em;
}
@media only screen and (min-width: 48em){
  a {
    transition: all 0.5s ease;
  }
  a img {
    transition: all 1s ease;
    backface-visibility: hidden;
  }
  a:hover, a:hover img {
    text-decoration: none;
    opacity: 0.6;
  }
  aside nav.navIndication {
    right: 0;
  }
  aside nav ul li span + span {
    display: none;
  }
  aside div.topIndication {
    bottom: 50px;
  }
}
@media only screen and (max-width: 48.0625em){
  body,
  input,
  select,
  textarea,
  button {
    letter-spacing: 0.1em;
    font-size: 14px;
    font-size: 1.4rem;
  }
  body,
  #wrapper {
    min-width: 100%;
  }
  aside {
    padding: 0;
    right: 0;
    width: 100%;
    opacity: 0;
    z-index: -1;
    transition: all 0.5s ease;
  }
  aside .asideBackground {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(68, 68, 68, 0.6);
    display: block;
    z-index: -1;
  }
  aside nav {
    position: static;
    margin: 0 -50% 0 auto;
    padding: 8vh 0 0;
    width: 60%;
    height: 62vh;
    background-color: #ffffff;
  }
  aside nav ul {
    width: 70%;
    text-align: left;
  }
  aside nav ul li span.material-icons {
    margin: 0 8px 0 0;
    vertical-align: -10px;
  }
  aside div {
    position: static;
    margin: 0 -50% 0 auto;
    width: 60%;
    height: 30vh;
    background-color: #ffffff;
    transform: translateX(0);
  }
  .navlistBtn {
    position: fixed;
    top: 15px;
    right: -50px;
    width: 35px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    display: block;
    z-index: 2;
    transition: all 0.5s ease;
  }
  .navlistBtn.navbtnIndication {
    right: 15px;
  }
  .navlistBtn span {
    position: absolute;
    left: 50%;
    margin: auto;
    width: calc(100% - 8px);
    height: 2px;
    background: #007a88;
    display: block;
    transition: all 0.5s ease;
    transform: translateX(-50%);
  }
  .navlistBtn span:nth-of-type(1) {
    top: 4px;
  }
  .navlistBtn span:nth-of-type(2) {
    top: 14px;
  }
  .navlistBtn span:nth-of-type(3) {
    bottom: 4px;
  }
  .navlistCheckbox:checked ~ .navlistBtn span:nth-of-type(1), .navlistCheckbox:checked ~ .navlistBtn span:nth-of-type(3) {
    width: 14px;
  }
  .navlistCheckbox:checked ~ .navlistBtn span:nth-of-type(1) {
    transform: translate(1px, 5px) rotate(45deg);
  }
  .navlistCheckbox:checked ~ .navlistBtn span:nth-of-type(3) {
    transform: translate(1px, -5px) rotate(-45deg);
  }
  .navlistCheckbox:checked ~ aside {
    opacity: 1;
    z-index: 1;
  }
  .navlistCheckbox:checked ~ aside nav, .navlistCheckbox:checked ~ aside div {
    margin: 0 0 0 auto;
  }
  section {
    margin: 0;
    padding: 32px 0;
  }
  section .contents {
    width: 90%;
  }
  section .contents h2 {
    margin: 0 0 32px;
    font-size: 24px;
    font-size: 2.4rem;
  }
}