@charset "UTF-8";

/* CSS Document */
html {
  font-size: 62.5%;
  /* 16px * 62.5% = 10px */
  width: 100%;
  box-sizing: border-box;
}

body {
  color: #333;
  /* RGB */
  font-family: "Noto Sans JP", "Noto Sans JP", "Yu Gothic", "メイリオ", sans-serif;
  font-weight: 600;
  font-size: 1.8em;
  line-height: 2.4rem;
  text-align: center;
  font-synthesis: none;
}

section h2 {
  font-size: 2.4rem;
}

.none {
  display: none;
}

.TextTyping span {
  display: none;
}

.break1::after {
  white-space: nowrap;
}

.break2::after {
  content: "\A";
  white-space: pre;
}

@font-face {
  font-family: "valion";
  src:url("../Valion.woff") format("woff");
}

@media(min-width:1040px) {
  .break1::after {
    content: "\A";
    white-space: pre;
  }

  .break2::after {
    white-space: nowrap;
  }
}

/*header*/
.header-left {
  display: flex;
  align-items: flex-end; /* タイトルとの縦位置を整える */
}
.top_logo {
  display:inline-block;
  width: 33px;
  height: 45px;
  margin: 0px 0 10px 30px;
  padding-top: 10px;
}
nav {
  pointer-events: none;
  position: fixed;
  top: 0;
  bottom: 0;
  width: 300px;
  background: #f2f2f2;
  background-image: url("../images/menu_background.png");
  background-size:100%;
  background-position:bottom;
  background-repeat:no-repeat;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  opacity: 0;
  z-index: 3;
}

.open nav {
  display: block;
  pointer-events: auto;
  left: 0;
  opacity: 1;
}

nav .inner {
  display:flex;
  flex-direction: column;
  justify-content: center;
  padding:80px 25px 25px;
}

nav .inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav .inner ul li {
  position: relative;
  margin: 0;
  border-bottom: 1px solid #333;
}

nav .inner ul li a {
  display: block;
  color: #333;
  font-size: 14px;
  padding: 15px;
  text-decoration: none;
  transition-duration: 0.2s;
}

nav .inner ul li a:hover {
  background: #e4e4e4;
}

nav .inner_logo{
  width: 70px;
  height: 100px;
  margin: 40px auto;
}

/*============
.toggle_btn
=============*/
.toggle_btn {
  display: block;
  position: fixed;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 24px;
  transition: all .5s;
  cursor: pointer;
  z-index: 3;
  box-sizing: border-box;
}

.toggle_btn span {
  display: block;
  position: absolute;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: #333;
  border-radius: 4px;
  transition: all .5s;
  transform-origin: center;
  box-sizing: border-box;
}

.toggle_btn span:nth-child(1) {
  top: 0;
}

.toggle_btn span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.toggle_btn span:nth-child(3) {
  bottom: 0;
}

.open .toggle_btn span {
  background-color: #fff;
}

.open .toggle_btn span:nth-child(1) {
  transform: translateY(11px) rotate(-315deg);
}

.open .toggle_btn span:nth-child(2) {
  opacity: 0;
}

.open .toggle_btn span:nth-child(3) {
  transform: translateY(-11px) rotate(315deg);
}

/*============
#mask
=============*/
#mask {
  display: none;
  transition: all .5s;
}

.open #mask {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: .8;
  z-index: 2;
  cursor: pointer;
}

.menu {
  display: none;
}

.main_title {
  display: none;
}

@media(min-width:1040px) {
  .header {
    position: sticky;
    inset: 0;
    z-index: 888;
    width: 100%;
    background-color: rgba(255, 255, 255, 1);
    transition: 0.3s;
  }
.header-left{
  display:flex;
  align-items:center;
}
.header-pcmenu{
  display:flex;
  justify-content: space-between;
}
  .header img {
    width: 40px;
    height: 60px;
    margin: 10px 0 10px 70px;
    padding-top: 0px;
  }

  nav {
    display: none;
  }

  .main_title {
    display: block;
    font-size: 2.4rem;
    text-align: left;
    margin: 20px 0 20px 50px;
    font-weight: 600;
  }
  .main_title a{
    color:#333;
    text-decoration:none;
  }

  .toggle_btn {
    display: none;
  }

  .menu {
    display: block;
    margin: 30px 70px;
  }

   .anime {
  position: relative;
}

  .anime::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #A9C66B;
  bottom: -5px;
  transform: scale(0, 1);
  transition: transform 0.3s;
  transform-origin: center top;
}

.anime:hover::after {
  transform: scale(1, 1)
}

  .menu ul {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    font-size:1.6rem;
  }

  .menu ul li {
    margin-left: 2.5em;
    font-weight: 600;
  }

  .menu ul li a {
    color: #333;
    text-decoration: none;
  }
}

/*footer*/
.footer {
  padding: 50px 0 20px;
  background-image: url("../images/footer-background.jpg");
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: 50% 50%;
  background-color: rgba(0, 0, 0, 0.3);
  background-blend-mode: darken;
  background-size: cover;
  font-weight: 600;
}

.footer img {
  width: 70px;
}

.footer ul {
  color: #FFF;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 20px 0 20px;
}

.footer ul li {
  display: inline;
}

.footer ul li a {
  color: #FFF;
  text-decoration: none;
}

.footer small {
  font-size: 0.8rem;
  color: #FFF;
  font-weight: 300;
}

.footer p {
  font-size: 0.8rem;
  color: #FFF;
  font-weight: 400;
}

  .anime2 {
  position: relative;
  color:#FFF;
  text-decoration:none;
}

@media(min-width:1040px) {
  .footer {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 100px 70px 40px 70px;
    background-position: 0 -250px;
  }

  .footer img {
    width: 130px;
    margin-bottom: 40px;
  }

  .footer ul {
    font-size: 1.6rem;
    margin: 0 0 30px;
  }

  .footer small {
    font-size: 1.2rem;
  }

.footer p {
  padding-bottom:10px;
  font-size: 1.2rem;
}

  .anime2::after {
  color:#FFF;
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #FFF;
  bottom: -5px;
  transform: scale(0, 1);
  transition: transform 0.3s;
  transform-origin: center top;
}

.anime2:hover::after {
  transform: scale(1, 1)
}
}