@charset "utf-8";
html {overflow: auto;scroll-behavior: smooth;}
body{
font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
font-size: 16px;
line-height: 1.8;
letter-spacing: 0.05em;
color: #000;
overflow: hidden;
}
body.open{
overflow: hidden;
height: 100%; 
}
@media(max-width:780px){
body{
font-size: 3.5vw;
}
}
*:focus {
outline: none;
}
* {
  box-sizing: border-box;
}
/*-------------------- img */
img{ display: block; width: auto;}
a img:hover{transform: opacity(.8);transition: .2s;}
@media(max-width:780px){a img:hover{opacity: 1;}}/* @media */

/*-------------------- a */
a:link   {color: #000;text-decoration: none; transition: ease .3s all;}
a:visited{color: #000;}
a:hover  {}
a:active {color: #000;}

/*-------------------- PC-SP */
.pc{ display: block !important;}@media(max-width:1024px){.pc{ display: none !important;}}
.sp{ display: none !important;}@media(max-width :1024px){.sp{ display: block !important;}}

/*-------------------- font */
.min {
font-family: 游明朝,'Yu Mincho',YuMincho,"Noto Serif JP","Hiragino Mincho ProN",HGS明朝E,"Noto Serif JP",Georgia,serif;
}
.t_black {
color: #000;
}
.t_white {
color: #Fff;
}
.t_red {
  color: #ce4641;
}
.t_bold {
  font-weight: 600;
}
/*-------------------- border */
.b_yellow{
  background: linear-gradient(transparent 60%, #fcf919 0%);
}

/*-------------------- scroll animation */
.scrollanime {opacity: 0;}
.fadeIn{ 
  opacity: 0;
  animation-name: fadeIn; 
  animation-duration: 1.2s; 
  animation-fill-mode: forwards;
  will-change: transform;
}
.slow {
  animation-duration: 2.5s; 
}
@keyframes fadeIn {
0% {
  opacity: 0;
}
100% {
  opacity: 1;
} 
}
.fadeInUp{ 
  opacity: 0;
  animation-name: fadeInUp; 
  animation-duration: 1.2s; 
  animation-fill-mode: forwards; 
  transform: translateY(100px);
  will-change: transform;
}
.fadeInLeft{ 
  opacity: 0;
  animation-name: fadeInLeft; 
  animation-duration: 1.2s; 
  animation-fill-mode: forwards; 
  transform: translateX(100px);
  will-change: transform;
}
.fadeInRight{ 
  opacity: 0;
  animation-name: fadeInRight; 
  animation-duration: 1.2s; 
  animation-fill-mode: forwards; 
  transform: translateX(-100px);
  will-change: transform;
}
.scrollUp,
.scrollLeft,
.scrollRight {
  opacity: 0;
}
@keyframes fadeInUp {
0% {
  opacity: 0;
}
 100% {
  opacity: 1;
  transform: translate(0);
} 
}
@keyframes fadeInLeft {
0% {
  opacity: 0;
}
 100% {
  opacity: 1;
  transform: translate(0);
}
}
@keyframes fadeInRight {
0% {
  opacity: 0;
}
 100% {
  opacity: 1;
  transform: translate(0);
} 
}

.delay1{  
  animation-duration: 1.8s;  
}
.delay2{ 
  animation-duration: 2s;  
}
.delay3{ 
  animation-duration: 2.2s;  
}



/***************************************************/
#hbox1 {
  display: block;
}
#hbox2 {
  display: none;
}
#header{
height: 50px;
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 9999;
background: transparent;
color: #fff;
}
#header .cbox {
display: flex;
align-items: center;
margin: 0 auto;
padding: 12px 0;
position: relative;
}
#header a {
display: flex;
align-items: baseline;
color: #0c1135 !important;
}
#header .active + .hbox a {
  color: #000 !important;
}
.header{
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 999;
}
.header-bg{
  width: 100%;
  height: 60px;
  background: #fff;
  padding: 15px 3em;
  box-shadow: 3px 3px 3px rgba(0,0,0,0.1);
  transition: all 0.65s;
  position: fixed;
  opacity: 0;
}
.active{
  opacity: 1;
}
#nav-toggle{
  display: none;
}
.top-container{
  position: relative;
}
.gnav ul {
  display: flex;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 3;
  padding: 0;
}
.gnav li a:link{
  display:block; 
  padding: 0;
  height: 20px;
  cursor: pointer;
  color: #fff;
}
.gnav li a:hover {
  transform: translate(0,0);
}
.en-nav-wrapper.active {
  transform: translateY(0%);
}

#hbox1 {
  width: 100%;
  height: 60px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 0 2%;
  z-index: 999;
}
#hbox1 ul {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
#hbox1 ul li a{
  display: inline-block;
  padding: 1.2em 2em;
  position: relative;
  font-size: 15px;
  color: #000000 !important;
}
#hbox1 ul li a:after {
  content: "";
  display: block;
  width: 60%;
  height: 2px;
  background: #fff;
  border-radius: 0;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all .8s;
  opacity: 0;
}
#header .active + .hbox a:after {
  background: #000;
}
#hbox1 ul li a:hover:after,
#hbox1 ul li a.current:after {
  opacity: 1;
}


/****ページTOP***********************************************/
#pagetop{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
max-width: 70px;
max-height: 70px;
width: 10vw;
height: 10vw;
color: #fff;
font-size: 0.8em;
font-weight: bold;
border-radius: 100%;
background: rgba(0,0,0,0.5);
line-height: 1em;
box-shadow: 0 0 5px rgba(0,0,0,0.2);
position: fixed;
right: 20px;
bottom: 20px;
cursor: pointer;
z-index: 999;
}
#pagetop:before{
content: "";
display:block;
max-width: 15px;
max-height: 15px;
width: 2vw;
height: 2vw;
border: #fff solid;
border-width: 5px 5px 0 0;
transform: rotate(-45deg);
}

#pagetop:hover{
opacity: 0.7;
}

/****contents***********************************************/

.contents {
  background: #fff;
  position: relative;
  z-index: 10;
}
.contents .mf-frame {
  width: 1500px;
  margin: 0 auto;
}
.contents .mf-inner {
  width: 1100px;
  margin: 0 auto;
}


/****footer***********************************************/
#footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2em 0 10px;
  background-color: #fcff16;
  position: relative;
  z-index: 10;
}
#footer .fnav ul {
  display: flex;
  justify-content: center;
  align-items: center;
}
#footer .fnav li {
  font-size: 14px;
  padding: .5em 1em;
}
#footer .fnav li a {
  position: relative;
}
#footer .fnav li a:after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #000;
  border-radius: 0;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all .6s;
  opacity: 0;
}
#footer .fnav li a:hover:after {
  opacity: 1;
}
#footer .logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 150px auto 20px;
  text-align: center;
}
#footer .logo img {
  width: 20%;
}
#footer .copy {
  display: block;
  text-align: center;
  font-size: 13px;
}


@media screen and (max-width: 1400px) {
  .contents .mf-frame {
    width: 1200px;
    margin: 0 5vw;
  }
  .contents .mf-inner {
    width: 1000px;
    margin: 0 auto;
  } 
}

@media screen and (max-width: 1200px) {
  .contents .mf-frame {
    width: auto;
  }
  .contents .mf-inner {
    width: auto;
    margin: 0 5vw;
  }
}


@media screen and (max-width: 1024px) {
  html {
    overflow: auto;
    height: 100%;
  }
  body {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -o-text-size-adjust: 100%;
    text-size-adjust: 100%;
    position: relative;
    background-image: none;
    font-size: 3vw;
  }
  img {
    max-width: 100%;
    height: auto !important;
  }
  .contents .mf-frame {
    width: auto;
  }

  .fadeIn.delay1, .fadeIn.delay2{ 
    animation-name: fadeIn; 
    animation-duration: .5s;  
  }
  .header-bg, #hbox1 {
    height: 8vw;
  }
  #hbox1 ul {
    top: 2.8vw;
  }
  #mainvis {
    height: 0;
  }
  h1 {
    font-size: 3.2vw;
    top: 1.5vw;
    left: 5vw;
    z-index: 100;
  }
  h2 {
    font-size: 6vw;
    margin: 10vw auto 10vw 0;
  }

  #hbox1 ul li a {
    font-size: 2.4vw;
    padding: 1.5em 1em;
  }
  #hbox1 ul li:after {
    font-size: 1.5vw;
  }

/***************************************************/

  #pankuzu {
    width: auto;
    padding: 2vw 5vw;
    margin: 0 0 5vw 0;
    font-size: .8em;
  }
  #pankuzu ul {
    width: auto;
  }
  #pankuzu ul li:after {
    padding: 0 1vw;
  }
  
/***************************************************/
  
  #footer .fnav li {
    font-size: 2vw;
  }
  #footer .logo {
    margin: 10vw auto 3vw;
  }
  #footer .copy {
    font-size: 1.8vw;
  }

}

@media screen and (max-width: 768px) {

/***************************************************/
  #hbox1 {
    display: none;
  }
  #hbox2 {
    display: block;
  }
  .header-bg, #hbox1 {
    height: 13vw;  
  }
  #header .active .hbox-inner {
    background: #ffffff;
    height: 13vw;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
  }
  #header .active li a {
    color: #000 !important;
  }
  #header p a {
    position: fixed;
    top: 2vw;
    left: 3vw;
    color: #000;
  }
  #header li a {
    display: block;
    height: 2.5em;
    margin-bottom: 1em; 
    font-size: 3.8vw;
  }
  #nav-toggle{
    display: none;
  }
  .top-container{
    position: relative;
  }
  #hamburger{
    display: block;
    width: 5vw;
    position: fixed;
    top: 5vw;
    right: 5vw;
    cursor: pointer;
    z-index: 9999;
  }
  #hamburger span{
    display: block;
    width: 5vw;
    height: 3px;
    background: #fff;
    margin: 0 auto 8px;
    transition: ease-in-out .7s;
  }
  .active #hamburger span {
    background: #000;
  }
  #hbox2.active p a {
    color: #fff !important;
  }
  #hamburger.active span{
    position: absolute;
    background: #000;
  }
  #hamburger.active span:nth-child(1){
    top:11px;
    transform: rotate(315deg);
  }
  #hamburger.active span:nth-child(2){
    width:0;
    top:11px;
  }
  #hamburger.active span:nth-child(3){
    top:11px;
    transform: rotate(-315deg);
  }
  .en-nav-wrapper{
    position: fixed;
    z-index : 999;
    top  : 0;
    right : 0;
    background: url("../img/cmn/mbg.jpg") center center / cover no-repeat;
    color: #fff;
    transform: translateY(calc(-100% - 30vw));
    transition: all 0.6s;
    width: 100%;
    height: 100%;
    padding: 15vw 0;
  }
  .gnav ul{
    width: 70vw;
    margin: 0 auto;
    padding: 0;
    flex-direction: column;
    transform: translate(-50%,0);
    top: 15vw;
    text-align: center;
  }
  .gnav li a{
    float: none;
    display:block; 
    padding: 0;
    height: 5em;
    cursor: pointer;
    color: #000 !important;
    font-size: 3vw;
  }
  .gnav li a:hover {
    transform: translate(0,0);
  }
  .en-nav-wrapper.active {
    transform: translateY(0%);
    overflow: scroll;
  }
  
  #footer .fnav {
    display: none;
  }
  #footer .logo img {
    width: 30%;
  }
  
/***************************************************/

}



@media screen and (max-width: 540px) {
  body {
    font-size:3.5vw;
  }
  #header .active .hbox-inner, .header-bg {
    height: 16vw;
  }
  #header p a {
    font-size: 3.5vw;
    top: 4vw;
  }
  .gnav ul {
    top: 20vw;
  }
  #header li a {
    font-size: 4.5vw;
  }
  #hamburger {
    width: 10vw;
  }
  #hamburger span {
    width: 8vw;
    margin: 0 auto 1.8vw;
  }
  .contents {
    padding-bottom: 15vw;
  }
  .fadeIn, .fadeInUp, .fadeInLeft, .fadeInRight {
    transform: translate(0);
    animation-duration: .6s; 
  }

}
