@charset "UTF-8";
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: transform 0.3s ease, position 1s ease;
  z-index: 9999;
  opacity: 1;
}
.header.active {
  background-color: #ffffff;
  filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.16));
}
.header__inner {
  padding-block: 1rem;
}
.header__grid {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2rem;
}
.header__logo {
  width: clamp(9rem, -1.79rem + 22.48vw, 22.375rem);
}
.header__flex {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 3rem;
}
@media screen and (max-width: 1500px) {
  .header__flex {
    gap: 1.5rem;
  }
}
@media screen and (max-width: 1399px) {
  .header__flex {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .header__flex.pc {
    display: none;
  }
}
.header__nav {
  width: -moz-fit-content;
  width: fit-content;
  display: grid;
  grid-auto-columns: auto;
  grid-auto-flow: column;
  align-items: center;
  justify-self: end;
}
@media screen and (max-width: 1399px) {
  .header__nav {
    display: block;
    justify-self: start;
  }
}
.header__nav a {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  white-space: nowrap;
  line-height: 1;
  padding-inline: clamp(0.5rem, 0.05rem + 1.94vw, 1.5rem);
}
.header__nav a:not(:last-child) {
  border-right: 1px solid #333333;
}
@media screen and (max-width: 1399px) {
  .header__nav a:not(:last-child) {
    border-right: none;
  }
}
@media screen and (max-width: 1399px) {
  .header__nav a {
    margin-block-end: 1.5rem;
  }
}
.header__tel {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 0.875rem;
  font-size: 2rem;
  line-height: 1;
}
@media screen and (max-width: 1500px) {
  .header__tel {
    font-size: 1.5rem;
  }
}
@media screen and (max-width: 1399px) {
  .header__tel {
    margin-block-end: 1.5rem;
  }
}
.header__mail a {
  display: inline-block;
  padding-block: 1rem;
  padding-inline: clamp(1.25rem, 0.81rem + 1.88vw, 2.5rem);
  background-color: #674598;
  color: #ffffff;
  font-size: clamp(1rem, 0.89rem + 0.48vw, 1.25rem);
}

@media screen and (max-width: 1399px) {
  .header__flex--sp {
    display: none;
    display: block;
  }
}

.header__menu {
  margin: 0 0 0 auto;
  position: relative;
  z-index: 9999;
  width: 40px;
  height: 40px;
  transition: 0.5s;
  padding: 10px;
  font-size: 1rem;
}
.header__hamburger {
  margin: 0 auto;
  cursor: pointer;
  position: relative;
}
.header__hamburger span {
  position: absolute;
  background: #333333;
  height: 2px;
  width: 20px;
  left: 0;
  border-radius: 10px;
}
.header__hamburger--top {
  top: 0;
  transition: 0.5s;
}
.header__hamburger--middle {
  top: 6px;
  transition: 0.5s;
}
.header__hamburger--bottom {
  top: 12px;
  transition: 0.5s;
}

.header__hamburger.active .header__hamburger--top {
  transform: translateY(6px) rotate(45deg);
}
.header__hamburger.active .header__hamburger--middle {
  display: none;
}
.header__hamburger.active .header__hamburger--bottom {
  transform: translateY(-6px) rotate(-45deg);
}

.g-nav__bg {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100vh;
  width: 100%;
  transition: all 0.5s;
  overflow: hidden;
  z-index: 999;
  padding-block: 6.5rem 0;
  padding-inline: 5rem;
  background-color: #ffffff;
}
.g-nav__bg--inner {
  margin: 0 auto;
  position: relative;
  z-index: 999;
}
.g-nav__bg.active {
  right: 0;
}

.cv {
  background: url(../img/cmn/cv_bg.jpg) no-repeat center/cover;
  padding-block: clamp(3rem, 1.41rem + 6.79vw, 6.5rem);
}
.cv__ttl {
  font-size: clamp(1.125rem, 0.84rem + 1.21vw, 1.75rem);
  color: #ffffff;
  text-align: center;
  margin-block-end: clamp(1.125rem, 0.05rem + 4.61vw, 3.5rem);
}
.cv__flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}
@media screen and (max-width: 768px) {
  .cv__flex {
    flex-direction: column;
  }
}
@media screen and (max-width: 768px) {
  .cv__flex {
    gap: 1.5rem;
  }
}
.cv__btn {
  width: 100%;
  flex-basis: 45%;
  padding-block: 1.25rem;
  padding-inline: 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  -moz-column-gap: 8px;
       column-gap: 8px;
  align-items: center;
  border-radius: 40px;
}
.cv__btn::before {
  content: "";
}
.cv__btn::after {
  justify-self: end;
  content: "";
}
.cv__btn.tel {
  font-size: clamp(1.125rem, 0.95rem + 0.73vw, 1.5rem);
  background-color: #ffffff;
}
.cv__btn.mail {
  font-size: clamp(1rem, 0.89rem + 0.48vw, 1.25rem);
  background-color: #674598;
  color: #ffffff;
  letter-spacing: normal;
}
.cv__btn.mail::after {
  content: "→";
}

.footer {
  background-color: #d3d3d3;
  padding-block-start: clamp(2.5rem, 1.82rem + 2.91vw, 4rem);
  padding-block-end: 1rem;
}
.footer__flex {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-block-end: clamp(2.5rem, 1.82rem + 2.91vw, 4rem);
}
@media screen and (max-width: 768px) {
  .footer__flex {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.footer__txt {
  margin-block-end: 1rem;
}
.footer__tel {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 0.875rem;
  font-size: clamp(1.5rem, 1.27rem + 0.97vw, 2rem);
  font-size: clamp(1.125rem, 0.95rem + 0.73vw, 1.5rem);
  line-height: 1;
  margin-block-end: clamp(1.5rem, 0.82rem + 2.91vw, 3rem);
}
.footer__nav {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: nowrap;
  -moz-column-gap: 2.5rem;
       column-gap: 2.5rem;
}
@media screen and (max-width: 768px) {
  .footer__nav {
    flex-direction: column;
  }
}
.footer__nav > div {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: nowrap;
  flex-direction: column;
}
@media screen and (max-width: 768px) {
  .footer__nav a {
    margin-block-end: 0.875rem;
  }
}
.footer__bnr {
  align-self: center;
  justify-self: center;
}
.footer .copyright {
  text-align: center;
  font-size: 0.75rem;
  display: block;
}

.sns {
  position: fixed;
  z-index: 9999;
  right: 20px;
  top: 50%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transform: translateY(-50%);
}
.sns img {
  display: block;
  width: clamp(1.5625rem, 0.72rem + 3.59vw, 3.1875rem);
}

.pagetop {
  position: fixed;
  z-index: 999;
  right: clamp(0.375rem, -0.73rem + 4.73vw, 2.8125rem);
  bottom: clamp(0.75rem, -2.4rem + 13.45vw, 7.6875rem);
}
.pagetop a {
  writing-mode: vertical-rl;
  font-size: 0.75rem;
  color: #0c719f;
  letter-spacing: normal;
}

.fixed {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
.fixed.active {
  opacity: 1;
}