@charset "UTF-8";

/******************************
  common
******************************/
.imgbox{
  text-align: center;
}
.link-txtunder,
.singlecontent a{
  color: #004B9E;
  text-decoration: underline;
}
.link-txtunder:hover,
.singlecontent a:hover{
  text-decoration: none;
}
.singlecontent p,
.txtbox p:not(:last-of-type){
  margin-bottom: 1rem;
}
.kome,
.ten{
  padding-left: 2rem;
  position: relative;
}
.kome::before,
.ten::before{
  content:"※";
  position: absolute;
  top: 0;
  left: 0;
}
.ten::before{
  content:"・";
}
.box{
  margin-top: 3rem;
  padding-top: 3rem;
}
.wf-loading {
  opacity: 0;
}
.anchor{
  margin-top: -74px;
  padding-top: 74px;
}

/******************************
  font
******************************/
.ffhind {
  font-family: "Hind", sans-serif;
}
.ffjost {
  font-family: "Jost", sans-serif;
}

/******************************
  inner
******************************/
.inner1,
.inner2,
.inner3{
  margin: 0 auto;
  /* max-width: 1120px; */
  max-width: 1220px;
  padding: 0 2rem;
}
.inner2{
  max-width: 1920px;
}
.inner3{
  max-width: 1280px;
}
.innernp{
  margin: 0 auto;
  max-width: 1920px;
}
.inner2 .inner1,
.inner2 .inner3,
.inner3 .inner1{
  padding: 0 !important;
}

@media only screen and (max-width: 1180px) {
    
}
@media only screen and (max-width: 1024px) {
    
}
@media only screen and (max-width: 820px) {
    
}
@media only screen and (max-width: 768px) {
    
}
@media only screen and (max-width: 767px) {
    
}

/******************************
  flex
******************************/
.flexbox1{
  display: flex;
  flex-wrap: wrap;
}
.flexbox2{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.flexbox3{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.flex{
  display: flex;
}
.frr{
  flex-direction: row-reverse;
}
.fac{
  align-items: center;
}
.fast{
  align-items: stretch;
}
.fafe{
  align-items: flex-end;
}
.fafs{
  align-items: flex-start;
}
.fabl{
  align-items: baseline;
}

.fbox,
.ftxtbox,
.fimgbox{
  width: 48%;
}
.fimgbox{
  text-align: center;
}

/******************************
  ttl
******************************/
.ttlbox1 .enttl{
  color: #EBE8E4;
  font-size: 10rem;
  font-weight: bold;
  line-height: 1;
  letter-spacing: 2px;
}
.ttlbox1 .ttl{
  color: #790028;
  font-size: 1.8rem;
  font-weight: bold;
  margin-top: -1rem;
}

.ttlbox2{
  text-align: center;
}
.ttlbox2 .ttl{
  color: #790028;
  font-size: 2.8rem;
  font-weight: bold;
}

.ttlbox3 {
  position: relative;
}
.ttlbox3::before{
  content: "";
  aspect-ratio: 1/1;
  background: #F8EEEB;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: -3rem;
  transform: translateY(-50%);
  width: 70px;
}
.ttlbox3 .ttl{
  font-size: 1.8rem;
  font-weight: bold;
  position: relative;
}

.subttl1{
  font-size: 2.6rem;
  font-weight: bold;
}
@media only screen and (max-width: 1180px) {
  .subttl1{
    font-size: 2.2rem;
  }
}
@media only screen and (max-width: 1024px) {
  
}
@media only screen and (max-width: 820px) {
  
}
@media only screen and (max-width: 768px) {
  
}
@media only screen and (max-width: 767px) {
  .ttlbox2 .ttl{
    font-size: 2.4rem;
  }
  .ttlbox3::before {
    left: -2rem;
    width: 50px;
  }
}

/******************************
  btn
******************************/
.morebtn1 a{
  color: #790028;
  display: block;
  font-family: "Jost", sans-serif;
  padding: .5rem 2rem;
  position: relative;
  transition: .3s;
}
.morebtn1 a::after{
  content: "";
  border-right: 3px solid #790028;
  border-bottom: 2px solid #790028;
  display: block;
  position: absolute;
  top: calc(50% - 5px);
  right: -5px;
  transform: skew(45deg);
  transition: .3s;
  height: 5px;
  width: 20px;
}
.morebtn1 a:hover{
  opacity: 1;
}
.morebtn1 a:hover::after{
  right: -25px;
  width: 40px;
}

.morebtn2{
  text-align: center;
}
.morebtn2 a{
  background: #790028;
  border-radius: 5px;
  color: #fff;
  display: inline-block;
  min-width: 250px;
  padding: 1rem 2rem;
}

/******************************
  タブ切り替え
******************************/
.tabchenge input[type="radio"] {
  display: none;
}
.tabchenge .tab_area{
  margin-bottom: 3rem;
}
.tabchenge .tab_area .ftab{
  background: #fff;
  border-radius: 5px;
  margin-right: 2rem;
  position: relative;
  text-align: center;
  width: 200px;
}
.tabchenge .tab_area .ftab label,
.tabchenge .tab_area .ftab a{
  cursor: pointer;
  display: block;
  font-weight: bold;
  padding: .5rem 0;
  position: relative;
  width: 100%;
  z-index: 1;
}
.tabchenge .tab_panel{
  display: none;
}
.tabchenge .tab_area .ftab:hover a{
  color: #fff;
  opacity: 1;
}
.tabchenge .tab_area .ftab:hover,
.tabchenge #tab1:checked ~ .tab_area .ftab1,
.tabchenge #tab2:checked ~ .tab_area .ftab2,
.tabchenge #tab3:checked ~ .tab_area .ftab3,
.tabchenge #tab4:checked ~ .tab_area .ftab4{
  background: #790028;
  color: #fff;
}
.tabchenge #tab1:checked ~ .panel_area #panel1,
.tabchenge #tab2:checked ~ .panel_area #panel2,
.tabchenge #tab3:checked ~ .panel_area #panel3,
.tabchenge #tab4:checked ~ .panel_area #panel4{
  display:block;
}

/******************************
  header
******************************/
.cmnhead{
  background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .1);
  padding: 2rem 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}
.cmnhead .headlogo{
  max-width: 250px;
}
.navlist > ul > li{
  margin-right: 2rem;
  min-width: 110px;
  position: relative;
}
.navlist > ul > li:nth-child(3){
  margin-right: 0;
}
.navlist > ul > li > a{
  display: block;
  padding: .5rem 1rem;
  position: relative;
  text-align: center;
}
.navlist > ul > li > a:before,
.navlist > ul > li > a:after {
  content: "";
  width: 0;
  height: 3px;
  background: #790028;
  position: absolute;
  bottom: 0;
  transition: .2s;
}
.navlist > ul > li > a:before {
  left: 50%;
}
.navlist > ul > li > a:after {
  right: 50%;
}
.navlist > ul > li > a.nowpage::before,
.navlist > ul > li > a.nowpage::after,
.navlist > ul > li > a:hover::before,
.navlist > ul > li > a:hover::after {
  width: 50%;
}
.navlist > ul > li > a:hover,
.navlist > ul > li > a.nowpage{
  opacity: 1;
}
.navlist li.haschild > a{
  text-align: center;
}
.navlist li.haschild ul{
  opacity: 0;
  padding-top: .5rem;
  pointer-events: none;
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%) ;
  transform-origin: top;
  text-align: center;
  width: 170px;
}
.navlist li.haschild:hover ul{
  pointer-events: all;
  opacity: 1;
}
.navlist li.haschild ul a{
  background: #fff;
  border-top: 1px solid #790028;
  display: block;
  padding: .5rem ;
}
.navlist li.haschild ul a:hover{
  background: #790028;
  color: #fff;
  opacity: 1;
}

.navlist .headbtn{
  margin-left: 2rem;
}
.navlist .headbtn a{
  background: #790028;
  border: 1px solid #790028;
  border-radius: 5px;
  color: #fff;
  padding: 0.2rem 4rem;
  transition: .5s;
}

.spbtn{
  border-radius: 5px;
  cursor: pointer;
  display: none;
  position: absolute;
  top: 1rem;
  right: 1rem;
  height:50px;
  width: 50px;
}
.spbtn span{
  background: #790028;
  border-radius: 2px;
  display: inline-block;
  position: absolute;
  right: 14px;
  transition: all .4s;
  height: 3px;
  width: 45%;
}
.spbtn span:nth-of-type(1) {
  top:15px; 
}
.spbtn span:nth-of-type(2) {
  top:23px;
  width: 35%;
}
.spbtn span:nth-of-type(3) {
  top:31px;
  width: 25%;
}
.spbtn.active{
  z-index: 1;
}
.spbtn.active span{
  background: #fff;
  top: 50%;
  right: auto;
  left: 50%;
  transform: translate(-50%,-50%) rotate(-45deg);
  width: 30%;
}
.spbtn.active span:nth-of-type(2) {
  opacity: 0;
}
.spbtn.active span:nth-of-type(3) {
  transform: translate(-50%,-50%) rotate(45deg);
}
.splogo{
  display: none;
}
@media only screen and (max-width: 1180px) {
  .navlist > ul > li{
    margin-right: 1rem;
  }
  .navlist .headbtn {
    margin-left: 0;
  }
  .navlist .headbtn a {
    padding: 0.2rem 2rem;
  }
}
@media only screen and (max-width: 1079px) {
  .spbtn,
  .splogo,
  .headcontactsp{
    display: block;
  }
  .navlist {
    background: rgba(121,0,40,.9);
    color: #fff;
    display: block;
    opacity: 0;
    max-width: 340px;
    overflow-y: scroll;
    padding: 4rem ;
    pointer-events: none;
    position: fixed;
    top: 0;
    right: 0;
    height: 100lvh;
    width: 100vw;
    transition: 1s;
  }
  .navlist.active,
  .navlist.active > ul > li.haschild ul{
    opacity: 1;
    pointer-events: all;
  }
  .navlist ul{
    display: block;
    margin: 3rem 0;
  }
  .navlist > ul > li,
  .navlist > ul > li.haschild ul li{
    margin: 0 0 1rem;
  }
  .navlist > ul > li > a,
  .navlist > ul > li.haschild ul li a,
  .navlist > ul > li.haschild ul li:last-of-type a{
    background: none;
    border: 2px solid #fff;
    color: #fff;
    padding: .5rem 0;
  }
  .navlist > ul > li.haschild > a{
    background: none !important;
    color: #fff !important;
    border: none !important;
    padding: .5rem 0 .5rem 1rem !important;
    text-align: left;
  }
  .navlist > ul > li > a:hover,
  .navlist > ul > li > a.nowpage,
  .navlist > ul > li.haschild ul li a.nowpage,
  .navlist > ul > li.haschild ul li a:hover {
    background: #fff;
    color: #790028;
  }
  .navlist > ul > li > a:before,
  .navlist > ul > li > a:after{
    display: none;
  }
  .splogo{
    margin: 2rem 0;
  }
  .splogo img{
    filter: brightness(0) invert(1);
  }
  .navlist > ul > li.haschild ul{
    opacity: 1;
    margin: 0 0 0 auto;
    position: static;
    text-align: center;
    transform: none;
    width: 90%;
  }
  .navlist .headbtn a {
    border: 2px solid #fff;
    box-shadow: 2px 2px #fff;
    display: block;
    margin: 0 auto;
    padding: 0.2rem 2rem;
    text-align: center;
    width: 90%;
  }
}
@media only screen and (max-width: 1024px) {
  
}
@media only screen and (max-width: 820px) {
  
}
@media only screen and (max-width: 768px) {
  
}
@media only screen and (max-width: 767px) {
  
}
@media only screen and (max-width: 340px) {
  .cmnhead .headlogo {
    max-width: 230px;
  }
}

/******************************
  footer
******************************/
.cmnfot{
  background: #000;
  color: #fff;
  text-align: center;
}

.fixbtn{
  position: fixed;
  top: 9rem;
  left: 0;
  writing-mode: vertical-rl;
  z-index: 999;
}
.fixbtn a{
  background: #790028;
  border: 1px solid #790028;
  border-radius: 0 8px 8px 0;
  color: #fff;
  display: inline-block;
  letter-spacing: 2px;
  opacity: 1 !important;
  padding: 1rem ;
}
.fixbtn a:hover{
  background: #fff;
  color: #790028;
}
@media only screen and (max-width: 1180px) {
  
}
@media only screen and (max-width: 1024px) {
  
}
@media only screen and (max-width: 820px) {
  
}
@media only screen and (max-width: 768px) {
  
}
@media only screen and (max-width: 767px) {
  .fixbtn{
    top: auto;
    bottom: 2rem;
  }
}