@charset "UTF-8";

html {
  box-sizing: border-box;
  font-size: 62.5%;
  /* scroll-behavior: smooth; */
}
*,
*::before,
*::after {
  box-sizing: border-box;
  font: normal 1.6rem/1.5 "Source Code Pro", "Kosugi Maru", sans-serif;
}
body {
  font-size: 1.6rem;
  opacity: 0;
  animation: fade-in 1s forwards;
}
@keyframes fade-in {
  to { opacity: 1;}
}
body,
h1,
ul,
ol {
  margin: 0;
  padding: 0;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

body {
  color: #333;
}
#cover {
  /* overflow: hidden; */
}
main {
  min-height: 100vh;
  position: relative;
}
#back-to-home {
  position: fixed;
  top: 10px;
  z-index: 1;
  rotate: -40deg;
  font-size: 1.2rem;
  color: rgba(255, 122, 0, 0.64);
  text-decoration: none;
  opacity: 0;
  animation: back-to-home 3s 0.8s forwards;
}
@keyframes back-to-home {
  from { opacity: 0;}
  to { opacity: 1;}
}
#back-to-home::before {
  font: var(--fa-font-solid);
  content: "\f122";
  font-size: 4rem;
  rotate: 40deg;
  display: block;
  translate: 15px 5px;
}
nav {
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 1;
  margin-bottom: 12rem;
  transition: 0.3s;
}
nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
}
nav li {
  margin: 0 2vw;
}
nav li:first-child {
  margin-left: 0;
}
nav li:last-child {
  margin-right: 0;
}
nav a {
  text-decoration: none;
  text-align: center;
  width: 10rem;
  height: 10rem;
  background: rgba(180, 180, 180, 0.6);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.1s;
}
nav a:hover,
nav a.current {
  color: coral;
  background: rgba(251, 255, 184, 0.6);
  transform: scale(1.6);
  border-radius: 150% 0 200% 220%;
  height: 8rem;
  transform-origin: center 0.5rem;
}
nav.fixed {
  position: fixed;
  top: -2rem;
  bottom: auto;
}
footer #backtotop {
  display: none;
}
footer #backtotop.fixed {
  display: block;
}
h1 {
  font: normal 8rem "Alegreya Sans SC", sans-serif;
  letter-spacing: 6px;
  margin-bottom: 8rem;
  text-align: center;
  line-height: 0.6;
}
h1::after {
  content: "山田秀幸";
  display: block;
  font-size: 1.8rem;
  text-align: center;
}
h1 span {
  font: normal 8rem "Alegreya Sans SC", sans-serif;
}
h1 span.subscript {
  display: block;
  font-size: 5rem;
  line-height: 0.85;
  letter-spacing: 2px;
  color: #ccc;
  margin: 1rem 0 3rem
}
.display-swith01 {
  display: none;
}
h2 {
  font-size: 2.6rem;
  padding: 0 1rem;
  text-align: center;
  margin: 140px 0 50px;
}
h3 {
  font-size: 2.4rem;
  margin: 0 0 1rem;
}
h3 span {
  display: block;
  font-size: 2rem;
  padding: 15px;
  background: rgb(255 140 0 / 80%);
  border-radius: 10px;
}
section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}
main > section {
  padding: 0 2rem 8rem;
  overflow: hidden;
}
h2 ~ section {
  min-height: auto;
  display: block;
  margin-bottom: 5rem;
}
h2 ~ section ol {
  list-style: none;
}
h2 ~ section ol.chronicle li {
  display: flex;
  border-bottom: 1px dotted #aaa;
  margin-bottom: 5px;
}
h2 ~ section ol.chronicle time {
  margin-right: 0.5em;
}
h2 ~ section ol.chronicle time span {
  display: block;
  margin: auto;
  writing-mode: vertical-lr;
}
h2 ~ section.list li {
  padding: 1em 0.5em 0.5em calc(1em + 5px);
  border-bottom: 3px dotted beige;
  text-indent: calc(-1em + -5px);
}
h2 ~ section.list li::before {
  font: var(--fa-font-solid);
  content: "\f06d";
  color: darkorange;
  margin: 0 3px;
}
.noborder {
  border: none;
}
.noborder + li {
  padding-top: 0;
}
h2 ~ section dl {
  background: rgb(240 240 240 / 40%);
  padding: 10px 100px 5px 20px;
  margin: 2em;
  border-radius: 10px;
  display: inline-block;
}
h2 ~ section dt {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 10px;
}
h2 ~ section dd {
  margin: 0 0 1rem 1rem;
}
h2 ~ section dd:last-child {
  margin: 0 0 1rem 0;
}
h2 ~ section dd ul {
  margin-left: 1rem;
}
span.num {
  font-size: 1.9rem;
}
h2 ~ section.grid ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  padding-top: 5rem;
}
h2 ~ section.grid ol a {
  display: block;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}
h2 ~ section.grid ol a[data-tooltip]:hover::before {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #000;
  font-size: 2rem;
}
h2 ~ section.flex ol {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 5rem;
}
h2 ~ section.flex li {
  flex: 1 1 calc(100% / 3);
  width: 100%;
  padding: 0 0 4rem;
}
#home {
  background:#fff6e5;
}
#foryou {
  background:#fefee0;
}
#performance {
  background:#e8f4e4;
}
#profile {
  background:#ffe2be;
}
footer {
  position: fixed;
  bottom: 0;
  padding-bottom: 1rem;
  width: 100%;
}
footer p {
  text-align: center;
  margin: 0;
}
footer p#backtotop {
  margin-bottom: 0.5rem;
}
footer p#backtotop a {
  display: inline-block;
  background: rgb(204 204 204 / 80%);
  padding: 1rem 1.4rem;
  border-radius: 50% 50% 5px 5px;
  text-decoration: none;
  color: white;
  transition: 0.1s;
}
footer p#backtotop a:hover {
  color: coral;
  padding-top: 6rem;
  border-radius: 50% 50% 5px 5px / 25% 25% 5px 5px;
  background: linear-gradient(rgb(204 204 204 / 30%), rgb(204 204 204 / 80%));
}

.vibrate {
  display: inline-block;
  animation: vibration 3s 1s 10;
  color: darkorange;
}
@keyframes vibration {
  2% { transform: rotate(15deg) scale(1.2);}
  3% { transform: rotate(0) scale(1);}
  4% { transform: rotate(-15deg) scale(1.4);}
  5% { transform: rotate(0) scale(1);}
  6% { transform: rotate(15deg);}
  8% { transform: rotate(-15deg);}
  10% { transform: rotate(15deg);}
  12% { transform: rotate(-15deg);}
  14% { transform: rotate(15deg);}
  16% { transform: rotate(0);}
}



@media (min-width: 768px) {
  h1,
  h1 span {
    font-size: 16rem;
  }
  h1 span.subscript {
    margin: -1rem 0 2rem;
  }
    h2 ~ section.flex ol {
    flex-direction: row;
  }
}

@media (min-width: 600px) {
  nav li {
    margin: 0 7vw;
  }
  nav a {
    width: 12rem;
    height: 12rem;
  }
  .nowrap {
    display: none;
  }
  .display-swith01 {
    display: inline;
  }
  h2 {
    font-size: 4rem;
    margin: 164px 0 100px;
  }
  main > section {
    padding: 0 4rem 8rem;
  }
  h2 ~ section.grid ol {
    padding: 2em;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 9rem;
  }
  h2 ~ section.grid ol a {
    filter: blur(3px);
    transform: rotate(-15deg);
    transition: 0.2s;
  }
  h2 ~ section.grid ol a:hover {
    transform: rotate(0);
    filter: blur(0);
  }
  h3 {
    font-size: 3rem;
    margin-bottom: 0;
  }
}