/* ----------------------------------------------------- */
/* header */
/* ----------------------------------------------------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 15vmin;
  padding: 0 5%;
  background-color: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

header .logo {
  width: 35vmin;
}

.btn-open {
  display: flex;
  flex-direction: column;
  border: none;
  background-color: transparent;
  justify-content: space-between;
  width: 10vmin;
  height: 7vmin;
}

.btn-open span {
  display: block;
  width: 100%;
  height: 1vmin;
  background-color: var(--c-red1);
}

@media screen and (min-width: 768px),
print {
  header {
    position: absolute;
    height: 70px;
    padding: 0 30px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  header .logo {
    width: 180px;
  }

  .btn-open {
    display: none;
  }
}


/* ----------------------------------------------------- */
/* gnavi */
/* ----------------------------------------------------- */
/* @media screen and (max-width: 767px) {
  html.scrollStop {
    position:fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
  }
} */

/* gnavi */
.gnavi {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 40;
  width: 100%;
  height: 100dvh;
  /* padding-top: 40px; */
  padding-top: 15px;
  background-color: #333;
  color: #fff;
  transform: translate(100%, 0);
  transition: transform .4s;
}

.gnavi .btn-close {
  -webkit-appearance: none;
  display: block;
  margin-left: auto;
  margin-right: 6%;
  padding: 0;
  border: none;
  background-color: rgba(0, 0, 0, 0);
}

.gnavi .btn-close::before {
  font-family: icomoon;
  content: "\e936";
  color: #fff;
  font-size: 6vmin;
  cursor: pointer;
}

.gnavi .btn-close::after {
  content: "close";
  display: block;
  font-weight: 400;
  text-align: left;
  font-size: 3.2vmin;
  color: #fff;
}

/* .gnavi a{ font-size: 16px; } */
.gnavi>ul {
  /* margin-top: 1.5em; */
  margin-top: 15px;
  border-top: 1px solid #fff;
}

.gnavi>ul>li {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #fff;
}

.gnavi>ul>li>a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  /* padding: 0.6em 2em; */
  padding: 0.6em 2em;
  font-size: 4vmin;
}

.gnavi>ul>li>a::after {
  font-family: icomoon;
  content: "\e935";
}

.gnavi.on {
  transform: translate(0, 0);
}

.gnavi-line {
  width: 84%;
  margin: 30px auto 0;
}

.gnavi-line a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.9em;
  padding: 1em 1.4em;
  border-radius: 5px;
  background-color: #fff;
  text-align: left;
  font-size: 5.5vmin;
  line-height: 1.3;
  color: #000;
}

.gnavi-line a::after {
  font-family: icomoon;
  content: "\e935";
  margin-left: auto;
  font-size: 1.3em;
  color: #06C755;
}

.gnavi-line img {
  width: 17%;
}

.gnavi-line i {
  color: #06C755;
}

@media screen and (min-width: 768px),
print {
  .gnavi {
    position: static;
    transform: unset;
    transition: unset;
    width: auto;
    height: auto;
    padding: 0;
    background-color: rgba(0, 0, 0, 0);
  }

  .gnavi .btn-close {
    display: none;
  }

  .gnavi>ul {
    position: static;
    display: flex;
    gap: 0 1.4em;
    margin-top: 0;
    border: none;
  }

  .gnavi>ul>li {
    border: none;
  }

  .gnavi>ul>li>a {
    position: relative;
    /* height: 40px; */
    /* line-height: 40px; */
    padding: 0;
    color: #000;
    font-size: 1.32vw;
    transition: color 0.4s;
  }

  .gnavi>ul>li>a:hover {
    color: #c4000f;
  }

  .gnavi>ul>li>a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 3px;
    background-color: #c4000f;
    opacity: 0;
    transition: opacity 0.4s;
  }

  .gnavi>ul>li>a:hover::after {
    opacity: 1;
  }

  .fade .gnavi>ul>li>a::after {
    bottom: -5px;
  }

  .gnavi-line {
    display: none;
  }
}

@media screen and (min-width: 1100px),
print {
  .gnavi>ul>li>a {
    font-size: 16px;
  }
}

/* sub-menu */
/* .sub-menu { display: none; } */
.sub-menu {
  display: block;
  width: 100%;
}

.sub-menu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5em;
  border-top: 1px dotted #aaa;
  padding: 0 8.2% 1em;
  padding-right: 0;
}

.sub-menu li {
  padding-top: 1em;
  font-size: 0.9em;
}

.sub-menu a::before {
  content: "●";
  padding-right: 0.3em;
}

@media screen and (min-width: 768px),
print {
  .sub-menu {
    position: absolute;
    /* right: 0; */
    top: 60px;
    display: none;
    /* width: 100%; */
    width: auto;
    background-color: #333;
  }

  .sub-menu ul {
    display: block;
    padding: 0.2em 0;
    border-top: none;
  }

  .sub-menu li {
    padding: 0.8em 1em;
    line-height: 1;
  }

  .sub-menu li:first-of-type {
    border-left: none;
  }

  .sub-menu a {
    display: block;
    padding: 0;
    border: none;
    font-size: 0.9em;
    color: #fff;
    transition: opacity 0.4s;
  }

  .sub-menu a::before {
    display: none;
  }

  .sub-menu a:hover {
    opacity: 0.7;
  }

  .fade .sub-menu {
    top: 50px;
  }
}


/* ----------------------------------------------------- */
/* pankuzu  */
/* ----------------------------------------------------- */
.pankuzu {
  width: 90%;
  margin: 1.5em auto 40px;
  font-size: 0.8em;
}
.pankuzu ul {
  display: flex;
  gap: 2px;
}
.pankuzu li {
  white-space: nowrap;
  width: fit-content;
}
.pankuzu li:last-of-type {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  max-width: 100%;
}
.pankuzu li:after {
  font-family: icomoon;
  content: "\e935";
  vertical-align: middle;
  display: inline-block;
  margin-left: 5px;
  font-size: 0.9em;
}
.pankuzu li:last-of-type::after {
  display: none;
}
.pankuzu li a{
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media screen and (min-width: 768px), print {
  .pankuzu {
    width: auto;
    margin-top: 1em;
    margin-bottom: 100px;
    padding: 0 20px;
    font-size: 14px;
  }
}


/* ----------------------------------------------------- */
/* footer-owned-media  */
/* ----------------------------------------------------- */
.footer-owned-media {
  padding: 60px 10%;
  background-color: var(--c-gray1);
}

.footer-owned-media ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media screen and (min-width: 768px),
print {
  .footer-owned-media {
    padding: 110px 20px;
  }

  .footer-owned-media ul {
    flex-direction: row;
    gap: 0;
    width: min(100%, 800px);
    margin: auto;
  }

  .footer-owned-media a {
    transition: filter 0.3s;
  }

  .footer-owned-media a:hover {
    filter: brightness(90%);
  }
}


/* ----------------------------------------------------- */
/* footer  */
/* ----------------------------------------------------- */
.grecaptcha-badge {
  visibility: hidden;
}

footer {
  /* padding: 40px 5% 12vmin; */
  padding: 40px 5%;
  background-color: #333;
  color: #fff;
}

@media screen and (min-width: 768px),
print {
  footer {
    padding: 50px 20px;
  }
}

/* footer-navi ----------------------------------------- */
/* 共通 */
.footer-navi {
  margin-bottom: 54px;
}

.footer-navi li {
  line-height: 2;
}

/* current navi */
.footer-navi>ul>li {
  margin-bottom: 10px;
  font-weight: 700;
}

/* child navi */
.footer-navi ul ul li {
  font-weight: 400;
}

.footer-navi ul ul li::before {
  content: "・";
}

/* .footer-navi .column-clear li { width: 100%; } */
@media screen and (min-width: 768px),
print {
  /* 共通 */
  .footer-navi {
    display: flex;
    width: min(100%, 1000px);
    margin: 0 auto 60px;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 40px;
  }

  .footer-navi li {
    font-size: 16px;
    width: fit-content;
  }

  .footer-navi a:hover {
    text-decoration: underline;
    text-decoration-color: #999;
    text-underline-offset: 4px;
  }
}

/* footer-bottom --------------------------------------- */
@media screen and (min-width: 768px),
print {
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: min(100%, 1000px);
    margin: auto;
  }
}

/* sns-list -------------------------------------------- */
.sns-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4.1vmin;
  background: url(../img/logo_r_w.svg) no-repeat right center / auto 100%;
}

.sns-list li {
  width: auto;
}

.sns-list img {
  display: block;
  width: auto;
  height: 6.5vmin;
}

@media screen and (min-width: 768px),
print {
  .sns-list {
    gap: 24px;
    background: none;
  }

  .sns-list a {
    transition: filter 0.4s;
  }

  .sns-list a:hover {
    filter: brightness(120%);
  }

  .sns-list img {
    height: 30px;
  }
}

/* copylight ------------------------------------------- */
.copyright {
  padding: 30px 0 0;
  text-align: center;
  font-weight: 400;
  font-size: 10px;
}

@media screen and (min-width: 768px),
print {
  .copyright {
    padding: 80px 0 0;
    background: url(../img/logo_r_w.svg) no-repeat right center / 100% auto;
    font-size: 12px;
  }
}

/* return-top ------------------------------------------ */
/* @media screen and (min-width: 768px), print {
  .return-top {
    transition: background-color .8s;
    position: absolute;
    top: 30px;
    bottom: 0;
    right: 20px;
    width: 56px;
    height: 56px;
    line-height: 56px;
    border-radius: 8px;
  }
  .return-top:hover { background-color: rgba(255, 255, 255, 0.7); }
  .return-top::before { font-size: 34px; }
} */


/* ----------------------------------------------------- */
/* footer-conversion  */
/* ----------------------------------------------------- */
.footer-conversion {
  width: 100%;
  position: fixed;
  bottom: 0;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.5s;
}

.footer-conversion.fade {
  opacity: 1;
}

.footer-conversion .btn-tap-tel {
  position: absolute;
  right: 3%;
  bottom: 23vmin;
  width: 19vmin;
}

.footer-conversion .m-btn-cv {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 1em 5%;
}

.footer-conversion .m-btn-cv li {
  width: 49%;
}

.footer-conversion .m-btn-cv .br {
  display: inline;
}

.footer-conversion .m-btn-cv a {
  padding: 3vmin 0;
  border-radius: 5px;
}

.footer-conversion .m-btn-cv span {
  display: none;
}

.footer-conversion .m-btn-cv .m-angle-anime {
  display: block;
}

@media screen and (min-width: 768px),
print {
  .footer-conversion {
    right: 0;
    z-index: 100;
    bottom: 30px;
    translate: unset;
    width: 110px;
  }

  .footer-conversion .btn-tap-tel {
    position: static;
    width: 60px;
    margin: auto;
  }

  .footer-conversion .m-btn-cv {
    display: block;
    padding: 0;
    background-color: rgba(0, 0, 0, 0);
  }

  .footer-conversion .m-btn-cv ul {
    padding: 0;
  }

  .footer-conversion .m-btn-cv li {
    width: 100%;
    margin-top: 1em;
    border-radius: 10px 0 0 10px;
  }

  .footer-conversion .m-btn-cv a {
    display: block;
    height: auto;
    padding: .5em 0;
    border-radius: 10px 0 0 10px;
    border: none;
    box-shadow: none;
    font-size: 14px;
  }

  .footer-conversion .m-btn-cv span {
    display: inline;
  }

  .footer-conversion .m-btn-cv a::after,
  .footer-conversion .m-btn-cv a .m-angle-anime {
    position: static;
    translate: unset;
    display: block;
    margin: auto;
  }
}