@charset "utf-8";
/*
Theme Name: YAMORI PROJECT Original Theme
*/


:root {
  --font-color: #000000;
  --border-gray: #AAAAAA;
}

html {
  font-style: normal;
  font-size: 62.5%;
  position: relative;
  text-align: justify;
  color: white;

}



body {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  width: 100%;
  height: 100vh;
  background: url(img/all_page_back.png) center / cover no-repeat;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -5;
}

.gothic {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;

}



img {
  max-width: 100%;
  width: auto;
  height: auto;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea {
  border: none;
  border: 1px solid #9EA0A2;
  padding: 5px;
}

.wrapper {
  margin-left: auto;
  margin-right: auto;
}

.wrapper {
  max-width: 1200px;
  width: calc(100% - 80px);
}





.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

h1,h2,h3,h4,h5,h6,p,th,td,li,dt,dd {

}
h1,h2,h3,h4,h5,h6 {
  font-weight: 600;
  line-height: 1.7;
}
h1 {
  font-size: 4rem;
  font-family: "Hina Mincho", serif;
  font-style: normal;
}

h2 {
  font-size: 3rem;
  font-family: "Hina Mincho", serif;
  font-style: normal;
}

h3 {
  font-size: 2.6rem;
}

h4,h5,h6 {
  font-size: 2.2rem;
}

p,th,td,li,dt,dd {
  font-size: 1.6rem;
  line-height: 2;
  font-weight: 500;
}



a,button {
  cursor: pointer;
}



a {

  transition: all 0.2s ease;
}

section {
  position: relative;
}

strong {
  font-weight: bold;
}


html:not(.translated-ltr) .vertical_text {
  writing-mode: vertical-rl; /* 右→左に縦書き */
  text-orientation: upright; /* 日本語の文字を縦に立てる */
  margin-right: auto;
  margin-left: auto;
}
html:not(.translated-ltr) .vertical_text h1,
html:not(.translated-ltr) .vertical_text h2 {
  letter-spacing: 0.3em;
  line-height: 2;
}
html:not(.translated-ltr) .vertical_text h2 {
  font-size: 2.8rem;
}

html.translated-ltr .vertical_text {
  max-width: 600px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

div.link.center {
  text-align: center;
  display: flex;
  justify-content: center;
}

div.link.right {
  display: flex;
  justify-content: flex-end;
}

div.link a {
  font-size: 1.4rem;
  padding-right: 14px;
  position: relative;
  display: inline-block;
}

div.link a::after {
  content: '';
  width: 6px;
  height: 6px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  position: absolute;
  top: calc(50% + 0.5px);
  right: 0;
  transform: translateY(-50%) rotate(45deg);
}
div.link.new_window a {
  padding-right: 30px;
  font-size: 1.6rem;
}
div.link.new_window a::after {
  width: 16px;
  height: 16px;
  border: none;
  background: url(img/new_window_icon.svg) center / contain no-repeat;
  top: 50%;
  transform: translateY(-50%);
}

.back_btn a {
  display: flex;
  background-color: white;
  color: #000;
  font-size: 1.4rem;
  max-width: 200px;
  width: 100%;
  height: 50px;
  justify-content: center;
  align-items: center;
}

.back_btn.center a {
  margin: 0 auto;
}

.fadein {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}



.fadein.show {
  opacity: 1;
  transform: translateY(0);
}
.fadein-group .child {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.fadein-group.show .child {
  opacity: 1;
  transform: translateY(0);
}

/* 順番にアニメーションするための遅延 */
.fadein-group.show .child:nth-child(1) { transition-delay: 0.1s; }
.fadein-group.show .child:nth-child(2) { transition-delay: 0.3s; }
.fadein-group.show .child:nth-child(3) { transition-delay: 0.5s; }
@media screen and (min-width: 801px) {
  .sp {
    display: none !important;
  }
}
@media screen and (max-width: 800px) {
  .pc {
    display: none !important;
  }

  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.4rem;

  }
  
  h3 {
    font-size: 1.6rem;

  }
  
  h4,h5,h6 {
    font-size: 1.5rem;
  }

  p,th,td,li,dt,dd {
    font-size: 1.5rem;
    line-height: 1.7;
  }
  
  .wrapper {
    width: calc(100% - 4rem);
  }
}

@media screen and (min-width: 501px) {
  .minsp {
    display: none;
  }

}

@media screen and (max-width: 500px) {
  .middlepc {
    display: none;
  }

}




/***header***/
header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  padding: 30px 30px;
}


header .header_logo{
  width: 80px;
}


header .openbtn {
  position: absolute;
  top: 30px;
  right: 30px;
}




header .openbtn{
  position: relative;/*ボタン内側の基点となるためrelativeを指定*/
  position: fixed;
  top: 20px;
  right: 10px;
  cursor: pointer;
  width: 30px;
  height: 20px;
  display: block;
  z-index: 110;
}

/*ボタン内側*/
header .openbtn span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
    left: 0;
    height: 3px;
    border-radius: 3px;
  background: white;
    width: 100%;
  }

header .openbtn span:nth-of-type(1) {
  top:0px; 
}

header .openbtn span:nth-of-type(2) {
  top:50%;
}

header .openbtn span:nth-of-type(3) {
  top:100%;
}

/*activeクラスが付与されると線が回転して×に*/

header .openbtn.active span:nth-of-type(1) {
  top: 50%;
  left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);

}

header .openbtn.active span:nth-of-type(2) {
  opacity: 0;/*真ん中の線は透過*/
}

header .openbtn.active span:nth-of-type(3){
  top: 50%;
  left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}


.header_menu {
  position: absolute;
  top: 0;
  right: 0;
  padding: 30px 30px;
  padding-top: 80px;
  background-color: rgba(255, 255, 255, 0.2);
  display: none;
}

.header_menu ul > li:not(:last-of-type) {
  margin-bottom: 15px;
}

.header_menu ul > li a {
  /* padding-left: 20px; */
  position: relative;
}

.header_menu ul > li a::before {
  content: '-';
  margin-right: 15px;
}


.gtranslate_wrapper {
  position: fixed;
  top: 10px;
  right: 60px;
  z-index: 1000;
}


header .kensho {
  max-width: 71px;
  position: absolute;
  top: 32px;
  left: 124px;
  text-align: center;
}

header .kensho p {
  font-size: 1.4rem;
}
@media screen and (max-width: 800px) {

  header {
    padding: 10px 20px;
  }

  header .header_logo{
    width: 50px;
    z-index: 10000;
    position: relative;
  }


  .header_menu {
    position: absolute;
    top: 0;
    right: 0;
    padding: 30px 30px;
    padding-top: 80px;
    background-color: #000;
    width: 100%;
    height: 100vh;
  }




  .gtranslate_wrapper {
    top: 14px;
    right: 55px;
  }
  .gtranslate_wrapper .gt_float_switcher .gt-selected .gt-current-lang {
    padding: 4px 5px;
  }
  .gtranslate_wrapper .gt_float_switcher .gt-selected .gt-current-lang span.gt-lang-code {
    font-size: 1.2rem;
    top: 0;
  }
  .gtranslate_wrapper .gt_float_switcher img {
    width: 20px;
  }
  
  .gtranslate_wrapper .gt_float_switcher .gt_options a {
    font-size: 1.2rem;
    padding: 7px 9px;
    display: flex;
    align-items: center;
  }


  header .kensho {
    max-width: 44px;
    position: absolute;
    top: 11px;
    left: 85px;
  }

  header .kensho p {
  font-size: 1rem;
}

}





/***footer***/
footer {
  padding: 100px 0 80px;
}



footer .footer_top,
footer .footer_bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

footer .footer_top {
  margin-bottom: 100px;
}

footer .footer_top .left h2 {
  font-size: 4.3rem;
  font-family: "Philosopher", sans-serif;
  font-weight: 400;
  font-style: normal;
}

footer .footer_top .footer_main_navi {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 140px;
}

footer .footer_top .footer_main_navi ul li:not(:last-of-type) {
  margin-bottom: 16px;
}

footer .footer_top .footer_main_navi ul ul {
  margin-top: 16px;
}

footer .footer_top .footer_main_navi ul ul li a::before {
  content: '-';
  margin-right: 10px;
}

footer .footer_sub_navi ul {
  display: flex;
  flex-wrap: wrap;
}

footer .footer_sub_navi li {
  border-left: 1px solid white;
  padding: 0 16px;
  font-size: 1.5rem;
  line-height: 1;
}

footer .footer_sub_navi li:last-of-type {
  border-right: 1px solid white;
}

footer .copy {
  font-size: 1.5rem;
  line-height: 1;
}


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

  footer {
    padding: 50px 0 50px;
  }

  footer .footer_top {
    margin-bottom: 60px;
  }

  footer .footer_top .left h2 {
    font-size: 3.36em;
    margin-bottom: 30px;
  }

  footer .footer_sub_navi {
    margin-bottom: 20px;
  }

  footer .footer_sub_navi li {
    margin-bottom: 10px;
  }

  footer .copy {
    font-size: 1.3rem;
    line-height: 1.4;
  }


}