@charset "utf-8";

body {
  color: #567;
  background-color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.title {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: var(--font-large);
  color: transparent;
  padding: 32px 0;
}

.ttl {
  position: relative;
  width: min(90vmin,25rem);
  line-height: 1;
  display: inline-block;
  font-size: min(10vmin,3rem);
  background-image: linear-gradient(to bottom,rgb(48,91,176),rgb(148,198,221));
  background-clip: text;
}

.ttlJa {
  color: rgb(19,64,152);
  width: 100%;
  max-width: 40rem;
}

.ttl::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 10%;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(
    to right,
    rgb(148,198,221),
    transparent
  );
  background-size: 0%;
  animation: ttlLine 0.5s forwards;
  animation-delay: 0.3s;
}

@keyframes ttlLine {
  0% {
    background-size: 0%;
  }
  100% {
    background-size: 100%;
  }
}

.menu {
  border-top: 4px dotted #ccc;
  border-bottom: 4px dotted #ccc;
  max-width: 40rem;
  margin: 0 auto;
  padding: 48px 16px;
}

.menu div p {
  max-width: 40rem;
  padding-top: 8px;
  padding-left: 16px;
}

.menu div + div {
  margin-top: 48px;
}

h2 {
  font-size: var(--font-midlarge);
}

.link {
  background-color: transparent;
  background-size: 0;
  transition: .2s;
}

.link span {
  position: relative;
  padding: 4px 2px;
  color: rgb(48,91,176);
  background-size: calc(1rem + 8px);
  border-bottom: 1px solid rgb(48,91,176);
}

.link:focus,
.link:hover,
.link:active {
  background-image: linear-gradient(
    to right,
    rgba(171, 228, 255, .8),
    transparent
  );
  background-size: 100%;
  border-radius: 2px;
}

.link:visited {
  color: rgb(75, 75, 75);
}

.link img{
  display: inline-block;
  vertical-align: bottom;
  width: 28px;
  height: 28px;
  padding: 2px;
}

footer {
  text-align: center;
  padding: 32px 0;
}

@media screen and (min-width: 1024px) {

  body{
    padding-left: 32px;
  }

  .title, .menu{
    padding-left: 5%;
  }

  .title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    /*height: calc((1 / 2.414) * 100vh * (1.414 / 2.414));
    min-height: calc(4rem + 32px);
    */
  }

  .menu {
    margin: 0;
    width: 100%;
  }


  @keyframes kvIn {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  footer{
    padding-left: 5%;
    max-width: 40rem;
    text-align: left;
  }
}