@font-face {
  font-family: "JNR";
  src: url('/2021/assets/JNRfont_s.ttf') format("truetype");
}

@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p&display=swap');

* {
  box-sizing: border-box;
}

html {
  background-color: #f5f5f5;
}

body {
  margin: 0;
  padding: 0;
  color: #1f1f1f;
  font-family: 'M PLUS 1p', sans-serif;
  font-weight: 400;
}

.loaded {
  opacity: 0;
  visibility: hidden;
}

#loading {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  height: 100%;
  background-color: #ddd;
  transition: 1s ease-out 0s;
}

#icon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  height: 512px;
  width: 512px;
  stroke-width: 1px;
  stroke-dashoffset: 0;
  fill: transparent;
}

.icon_anime1 {
  stroke: #2c2c2c;
  stroke-dasharray: 1000;
  animation-fill-mode: forwards;
  animation: move_icon1 2s ease-in-out 0s;
  fill: #2c2c2c;
}

@keyframes move_icon1 {
  0% {
    stroke: transparent;
    stroke-dasharray: 500;
    stroke-dashoffset: -500;
    fill: transparent;
  }

  50% {
    stroke: #2c2c2c;
    fill: transparent;
  }

  100% {
    stroke: #2c2c2c;
    stroke-dasharray: 1000;
    stroke-dashoffset: 2000;
    fill: transparent;
  }
}

.icon_anime2 {
  stroke: #2c2c2c;
  stroke-dasharray: 1000;
  animation-fill-mode: forwards;
  animation: move_icon2 1s linear 0s;
  fill: #2c2c2c;
}

@keyframes move_icon2 {
  0% {
    stroke-dashoffset: 0;
    fill: transparent;
  }

  100% {
    stroke-dashoffset: 0;
    fill: #2c2c2c;
  }
}

.icon_anime_re {
  stroke: transparent;
  stroke-dasharray: 400;
  animation-fill-mode: forwards;
  animation: move_icon_re1 .5s linear, move_icon_re2 1s linear infinite .5s;
  fill: transparent;
}

@keyframes move_icon_re1 {
  from {
    stroke: transparent;
    stroke-dashoffset: 0;
    fill: transparent;
  }

  to {
    stroke: #2c2c2c;
    stroke-dashoffset: 400;
    fill: transparent;
  }
}

@keyframes move_icon_re2 {
  from {
    stroke: #2c2c2c;
    stroke-dashoffset: -400;
    fill: transparent;
  }

  to {
    stroke: #2c2c2c;
    stroke-dashoffset: 400;
    fill: transparent;
  }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 15px 10vw;
  display: flex;
  width: 100%;
  font-size: large;
  border-bottom: 1px solid #787878;
  z-index: 100;
  background-color: #f5f5f5;
}

header .logo_link {
  margin: -5px;
  width: auto;
  height: 36px;
}

header .logo_link .logo {
  width: auto;
  height: 36px;
  filter: opacity(0.7);
}

header .logo_link .logo:hover {
  filter: opacity(1.0);
}

header nav {
  margin: auto;
  margin-right: 0;
  display: block;
}

header nav ul {
  display: flex;
  margin: 0;
  list-style: none;
}

header nav ul li {
  margin: 0 10px;
  font-weight: 300;
}

header nav ul a {
  text-decoration: none;
  color: #787878;
  position: relative;
}

header nav ul a:hover {
  color: #525252;
  transition: .25s;
}

header nav ul a::after {
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background-color: #787878;
  transition: .25s;
  transform: scaleX(0);
}

header nav ul a:hover::after {
  transform: scaleX(1);
}

header .mobile_hamburger {
  display: none;
}

.view_contents {
  margin: 57px auto 50px;
  padding: 0;
  text-align: center;
}

footer {
  margin: 0;
  padding: 50px 0;
  text-align: center;
  background-color: #4a4a4a;
  color: #dbdbdb;
}

.h100 {
  height: calc(100vh - 110px);
}

.icon_font {
  font-family: "JNR", sans-serif;
  letter-spacing: 5px;
  font-style: italic;
}

.kaerizaki {
  font-size: 10rem;
  letter-spacing: 10px;
  margin: auto;
  text-align: center;
}

.section_content {
  padding: 50px 0;
  margin: 50px auto;
}

.section_content h2 {
  position: relative;
  margin: 30px auto;
  letter-spacing: 3px;
  font-weight: 500;
}

.section_content h2::after {
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
  background-color: #acacac;
  width: 50px;
  margin: auto;
}

.section_content h3 {
  position: relative;
  margin: 20px auto 50px;
  letter-spacing: 2px;
  text-align: center;
}

.section_content h3::after {
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  bottom: -5px;
  height: 3.5px;
  width: auto;
  margin: auto;
  background-image: url('/2021/assets/img/index/349.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position-x: center;
}

.margin0 {
  margin: 0 auto;
}

.p_content {
  max-width: 900px;
  margin: auto;
}

.white {
  color: #eee;
}

.clearfix::after {
  content: "";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.flex {
  display: flex;
  flex-wrap: wrap;
}

.strike {
  text-decoration: line-through;
}

a[target="_blank"]:not(.noafter)::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  content: "\20\f35d";
  color: #4a4a4a;
  font-size: 90%;
}

.text_left {
  text-align: left;
}

* p:first-child {
  margin-top: 0;
}

.b {
  font-weight: bold;
}

/* 900px以下 タブレット用 */
@media screen and (max-width: 900px) {
  #icon {
    height: 384px;
    width: 384px;
  }

  .p_content {
    max-width: 600px;
  }

  .section_content {
    padding: 45px 0;
    margin: 45px auto;
  }
}

/* 600px以下 スマホ用 */
@media screen and (max-width: 600px) {
  .view_contents {
    transition: .6s;
  }

  .p_content {
    margin: 0 20px;
  }

  .view_header_margin {
    margin-top: 209px;
  }

  #icon {
    height: 256px;
    width: 256px;
  }

  header .logo_link {
    margin: -5px auto;
  }

  header nav {
    position: absolute;
    top: 57px;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
    z-index: 99;
    display: none;
  }

  header nav ul {
    padding: 0;
    flex-wrap: wrap;
  }

  header nav ul a {
    margin: 0;
    width: 100%;
    border-bottom: 1px #787878 solid;
    background-color: #eee;
    padding: 5px 0;
  }

  header nav ul a:hover::after {
    transform: scaleX(0);
  }

  header nav ul li {
    margin: 0;
  }

  header .mobile_hamburger {
    display: block;
    position: absolute;
    top: 8px;
    right: 8px;
    width: 41px;
    height: 41px;
    border-radius: 50%;
    font-size: 25px;
    line-height: 41px;
    background-color: #4a4a4a;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    text-align: center;
    color: #dbdbdb;
    transition: .6s;
  }

  .deg90 {
    transform: rotate(90deg);
  }

  .section_content {
    padding: 40px 0;
    margin: 40px auto;
  }
}

.fadeInTrigger {
  opacity: 0;
}

.fadeIn {
  animation-name: fadeInAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

@keyframes fadeInAnime {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}