:root {
  --color-primary: #d7532f;
  --color-text: #092135;
  --color-info: #18388e;
  --color-success: #65ae4b;
}

* {
  letter-spacing: 0.01em;
}

html {
  font-size: 62.5%;
}
@media screen and (max-width: 767px) {
  html {
    font-size: 2.3255813953vw !important;
  }
}
@media screen and (min-width: 768px) and (max-width: 1300px) {
  html {
    font-size: 0.7692307692vw !important;
  }
}
@media screen and (min-width: 768px) {
  html {
    font-size: 62.5%;
  }
}

body {
  --space: 1.5rem;
  --ripple-color: #d7532f;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--color-text, #092135);
  background-color: #eff4f8;
  font-size: 1.6rem;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
}
body > img {
  display: none;
  position: absolute;
  z-index: -1;
}

h1,
h2,
h3,
h4,
h5,
h6,
dl,
p {
  margin-top: 0;
  margin-bottom: 0.75em;
}

dt,
dd {
  margin: 0;
  padding: 0;
}

.en {
  font-family: "Marcellus", serif;
  font-weight: 400;
  font-style: normal;
}

@media screen and (min-width: 768px) {
  .hide-pc {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .hide-sp {
    display: none;
  }
}

.container {
  width: 100%;
  max-width: 1750px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5em;
}

.inner {
  background-color: #fff;
  border-radius: 1.2rem;
}
@media screen and (min-width: 768px) {
  .inner {
    border-radius: 2.4rem;
  }
}

.logo {
  overflow: hidden;
  text-indent: -1000vw;
  display: block;
  height: auto;
  aspect-ratio: 1;
  background: var(--img) center/contain no-repeat;
  --img: url(../images/common/logo.png);
  aspect-ratio: 416/114;
}
@media screen and (max-width: 767px) {
  .logo {
    width: 18rem;
  }
}
@media screen and (min-width: 768px) {
  .logo {
    width: 20.8rem;
  }
}

.txt-center {
  text-align: center;
}

.section-title {
  margin-bottom: 0;
}
@media screen and (max-width: 767px) {
  .section-title {
    text-align: center;
  }
}
.section-title .ja {
  display: block;
  font-weight: 500;
  font-size: 1.6rem;
  --section-title-icon: url(../images/common/section-title-icon.png);
}
.section-title .ja .txt::before {
  content: "";
  display: inline-block;
  width: 2.4rem;
  height: 2.4rem;
  background: var(--section-title-icon) center center/contain no-repeat;
  margin-right: 0.8rem;
  vertical-align: text-bottom;
}
.section-title .ja.white-icon {
  --section-title-icon: url(../images/common/section-title-icon-white.png);
}
.section-title .en {
  font-weight: 400;
  line-height: 1.2;
  font-size: 4.5rem;
}
@media screen and (min-width: 768px) {
  .section-title .en {
    font-size: 7rem;
  }
}
@media screen and (min-width: 1720px) {
  .section-title .en {
    font-size: 9.6rem;
  }
}

@media screen and (max-width: 767px) {
  .section-desc {
    text-align: center;
  }
}
.section-desc .txt-lg {
  font-weight: bold;
  font-size: 1.7rem;
}
@media screen and (min-width: 768px) {
  .section-desc .txt-lg {
    font-size: 2.8rem;
  }
}

.page_wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100dvh;
}
@media screen and (max-width: 767px) {
  .page_wrap {
    padding-top: 7rem;
  }
}
.page_wrap #site_footer {
  margin-top: auto;
  margin-bottom: 0;
}

.page-action {
  margin-top: 5rem;
  text-align: center;
}

.error-content {
  text-align: center;
  font-weight: bold;
}

/**
Background Color
*/
.bg-primary {
  color: #fff;
  background-color: var(--color-primary, #d7532f);
}

.bg-info {
  color: #fff;
  background-color: var(--color-info, #18388e);
}

.bg-success {
  color: #fff;
  background-color: var(--color-success, #65ae4b);
}

/**
  * Button
*/
.btn {
  border-radius: 1.2rem;
  padding: 1.5rem 3.6rem 1.2rem;
  padding: 0.4em 1.5em 0.47em;
  text-decoration: none;
  overflow: hidden;
  position: relative;
  background-color: var(--color-primary);
  color: #fff;
  border: 1px solid var(--color-primary);
  transition: 0.3s;
  font-size: 1.8rem;
}
@media screen and (min-width: 768px) {
  .btn {
    font-size: 2.4rem;
  }
}
.btn::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: right;
  transition: all 0.5s ease;
  transition-property: transform;
  background: #fff;
}
.btn:hover {
  border-color: #fff;
  filter: drop-shadow(0 0 1rem var(--color-primary));
}
.btn-gray {
  border-color: #ccc;
  background-color: #898989;
}
.btn-gray:hover {
  border-color: #fff;
  filter: drop-shadow(0 0 1rem var(--color-text));
}

.btn-outline {
  overflow: hidden;
  position: relative;
  transition: color 0.5s ease;
  color: #fff;
  text-decoration: none;
  padding: 1.2rem 1.4rem 1.2rem;
  border-bottom: 1px solid #fff;
  display: inline-flex;
  align-items: center;
  gap: 7.2rem;
}
.btn-outline span {
  position: relative;
  font-size: 2rem;
}
.btn-outline::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: right;
  transition: all 0.5s ease;
  transition-property: transform;
  background: #fff;
}
.btn-outline::after {
  content: "";
  aspect-ratio: 1;
  width: 2.4rem;
  background: url(../images/common/icon-arrow-right.svg) center center/contain no-repeat;
  transition: all 0.5s ease;
}
.btn-outline:hover {
  color: var(--color-text);
}
.btn-outline:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}
.btn-outline:hover::after {
  filter: invert(1) brightness(2);
}

.page-content {
  background-image: linear-gradient(to bottom, #fff, #c8e2f0 85%, #eff4f8 100%);
  padding-top: 6rem;
  padding-bottom: 6rem;
}
@media screen and (min-width: 768px) {
  .page-content {
    min-height: 60rem;
    padding-bottom: 10rem;
    padding-top: 10rem;
  }
}
.page-content .page-inner {
  width: 100%;
  max-width: 126rem;
  margin: 0 auto;
}
.page-content .page-inner .page-detail .stt {
  color: #092135;
}
@media screen and (min-width: 768px) {
  .page-content .page-inner .page-detail .stt {
    display: flex;
    align-items: center;
  }
}
.page-content .page-inner .page-detail .stt::before {
  content: "";
  display: inline-block;
  width: 2.4rem;
  height: 2.4rem;
  background: url(../images/common/section-title-icon.png) center center/contain no-repeat;
  vertical-align: inherit;
}
@media screen and (min-width: 768px) {
  .page-content .page-inner .page-detail .stt::before {
    margin-right: 1.6rem;
    vertical-align: text-bottom;
    transform: translateY(10%);
  }
}
.page-content .page-inner .page-detail .stt .txt-lg {
  font-size: 3rem;
}
@media screen and (min-width: 768px) {
  .page-content .page-inner .page-detail .stt .txt-lg {
    font-size: 6.4rem;
  }
}
.page-content .page-inner .page-detail .stt .txt-md {
  font-size: 2.2rem;
}
@media screen and (min-width: 768px) {
  .page-content .page-inner .page-detail .stt .txt-md {
    font-size: 4rem;
  }
}
@media screen and (min-width: 768px) {
  .page-content .page-inner .page-detail .txt {
    padding-left: 3.6rem;
  }
}
.page-content .page-inner .page-detail .txt p {
  margin-bottom: 2em;
}
.page-content .page-inner .page-detail .txt .txt-lg {
  font-weight: bold;
  margin-bottom: 2.4rem;
  font-size: 1.8rem;
}
@media screen and (min-width: 768px) {
  .page-content .page-inner .page-detail .txt .txt-lg {
    font-size: 2.4rem;
  }
}

[data-aos=fade-up] {
  will-change: transform;
  opacity: 0;
  transform: translateY(5rem);
  transition: 0.4s;
}
[data-aos=fade-up].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos=title] {
  will-change: transform;
}
[data-aos=title] > span {
  display: block;
  overflow: hidden;
  will-change: transform;
}
[data-aos=title] > span .txt {
  display: inline-block;
  will-change: transform;
  transform: translateY(120%);
  transition: 0.4s;
}
[data-aos=title].aos-animate > span .txt {
  transform: translateY(0%);
}

[data-aos=clip_text] {
  width: -moz-max-content;
  width: max-content;
  max-width: 100%;
  clip-path: inset(0 100% 0 0);
  transition: all 0.5s ease;
}
[data-aos=clip_text].aos-animate {
  clip-path: inset(0);
}

@keyframes split_text {
  0% {
    opacity: 0;
    transform: scale(2);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
[data-aos=split_text] .txt {
  opacity: 0;
}
[data-aos=split_text] .txt > span {
  display: inline-block;
  opacity: 0;
  transform: scale(2);
}
[data-aos=split_text].aos-animate .txt {
  opacity: 1;
}
[data-aos=split_text].aos-animate .txt > span {
  animation: split_text 0.4s cubic-bezier(0.31, 0.5, 0.7, 0.86) forwards;
}

[data-delay="100"] {
  transition-delay: 100ms;
}

[data-delay="200"] {
  transition-delay: 200ms;
}

[data-delay="300"] {
  transition-delay: 300ms;
}

[data-delay="400"] {
  transition-delay: 400ms;
}

[data-delay="500"] {
  transition-delay: 500ms;
}

[data-delay="600"] {
  transition-delay: 600ms;
}

[data-delay="700"] {
  transition-delay: 700ms;
}

[data-delay="800"] {
  transition-delay: 800ms;
}

[data-delay="900"] {
  transition-delay: 900ms;
}

[data-delay="1000"] {
  transition-delay: 1000ms;
}

[data-delay="1100"] {
  transition-delay: 1100ms;
}

[data-delay="1200"] {
  transition-delay: 1200ms;
}

[data-delay="1300"] {
  transition-delay: 1300ms;
}

[data-delay="1400"] {
  transition-delay: 1400ms;
}

[data-delay="1500"] {
  transition-delay: 1500ms;
}

[data-delay="1600"] {
  transition-delay: 1600ms;
}

[data-delay="1700"] {
  transition-delay: 1700ms;
}

[data-delay="1800"] {
  transition-delay: 1800ms;
}

[data-delay="1900"] {
  transition-delay: 1900ms;
}

[data-delay="2000"] {
  transition-delay: 2000ms;
}

@keyframes ripple {
  0% {
    box-shadow: 0 0 0 0 var(--ripple-color);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(27, 133, 251, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(27, 133, 251, 0);
  }
}
@keyframes imageBlur {
  from {
    opacity: 0;
    -moz-filter: blur(15px);
    -ms-filter: blur(15px);
    -o-filter: blur(15px);
    filter: blur(15px);
  }
  to {
    opacity: 1;
    -moz-filter: blur(0px);
    -ms-filter: blur(0px);
    -o-filter: blur(0px);
    filter: blur(0px);
  }
}
#site_header {
  pointer-events: none;
  width: 100%;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  display: flex;
  width: 100dvw;
}
@media screen and (max-width: 767px) {
  #site_header {
    background-color: #fff;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media screen and (min-width: 768px) {
  #site_header {
    align-items: center;
    justify-content: space-between;
  }
}
#site_header a {
  pointer-events: auto;
}

#logo {
  display: block;
  background-color: #fff;
  transition: 0.3s;
  outline: none;
  padding: 1rem 2rem;
}
@media screen and (min-width: 768px) {
  #logo {
    padding: 2rem 2rem;
  }
  #logo .logo {
    width: auto;
    height: 6.1rem;
  }
}
@media screen and (min-width: 1720px) {
  #logo {
    padding: 4.4rem 10rem 4.8rem;
  }
}
#logo:hover {
  opacity: 0.8;
}

.header-left {
  position: relative;
  z-index: 99;
}

.header-menu {
  display: flex;
  background-color: #fff;
}
@media screen and (max-width: 767px) {
  .header-menu {
    flex-direction: column;
    border-top: 1px solid #ccc;
  }
}
@media screen and (min-width: 768px) {
  .header-menu {
    border-radius: 1.2rem;
    padding: 0 0.8rem;
    padding-left: 1.2rem;
    margin-right: 4rem;
  }
}
.header-menu li {
  pointer-events: auto;
  display: block;
}
@media screen and (max-width: 767px) {
  .header-menu li:not(:last-child) {
    border-bottom: 1px solid #ccc;
  }
}
@media screen and (min-width: 768px) {
  .header-menu li {
    padding: 0.8rem 0;
  }
}
.header-menu li a {
  display: block;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  transition: 0.3s;
}
@media screen and (max-width: 767px) {
  .header-menu li a {
    padding: 1.6rem 5.5rem;
    font-size: 1.8rem;
  }
}
@media screen and (min-width: 768px) {
  .header-menu li a {
    border-radius: 1.2rem;
    padding: 1.2rem 3.6rem;
  }
}
@media screen and (min-width: 768px) and (max-width: 1300px) {
  .header-menu li a {
    padding: 1.2rem 3rem;
  }
}
.header-menu li a:hover {
  background-color: var(--color-primary, #d7532f);
  color: #fff;
}
@media screen and (max-width: 767px) {
  .header-menu li.highlight {
    padding: 0;
  }
}
@media screen and (min-width: 768px) {
  .header-menu li.highlight {
    margin-left: 3.6rem;
  }
}
.header-menu li.highlight a {
  border: 1px solid var(--color-primary);
  background-color: var(--color-primary, #d7532f);
  color: #fff;
}
.header-menu li.highlight a:hover {
  border-color: #fff;
  filter: drop-shadow(0 0 1rem var(--color-primary));
}
.header-menu .has-sub {
  position: relative;
}
@media screen and (max-width: 767px) {
  .header-menu .has-sub .sub-menu {
    background-color: #f1f1f1;
    border-top: 1px solid #ccc;
  }
}
@media screen and (min-width: 768px) {
  .header-menu .has-sub .sub-menu {
    background-color: #fff;
    padding-top: 0.8rem;
    transition: opacity 0.3s, transform 0.3s;
    opacity: 0;
    visibility: hidden;
    transform: translateY(5rem);
    position: absolute;
    width: 24rem;
  }
}
.header-menu .has-sub .sub-menu li {
  padding: 0;
}
.header-menu .has-sub .sub-menu li a {
  border-radius: 0;
}
@media screen and (max-width: 767px) {
  .header-menu .has-sub .sub-menu li a {
    font-size: 0.8em;
  }
}
@media screen and (min-width: 768px) {
  .header-menu .has-sub .sub-menu li a {
    font-size: 1.4rem;
    padding: 1.2rem 2rem;
  }
}
.header-menu .has-sub:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scrolled #logo {
  background-color: rgba(255, 255, 255, 0.8);
}
@media screen and (min-width: 768px) {
  .scrolled #logo {
    padding: 1.2rem 10rem 1.6rem;
  }
}

/*=============================
.btn-trigger
=============================*/
.btn-trigger {
  cursor: pointer;
  position: relative;
  width: 8rem;
  height: 6.8rem;
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.5s;
}
.btn-trigger span {
  width: 100%;
  height: 0.3rem;
  background-color: var(--color-primary, #d7532f);
  border-radius: 0.3rem;
}
.btn-trigger span:nth-of-type(1) {
  animation: btnmenu-bar01 0.75s forwards;
}
.btn-trigger span:nth-of-type(2) {
  transition: all 0.25s 0.25s;
  opacity: 1;
}
.btn-trigger span:nth-of-type(3) {
  animation: btnmenu-bar03 0.75s forwards;
}

#btnmenu {
  position: absolute;
  z-index: 9999;
  right: 0;
}
@media screen and (min-width: 768px) {
  #btnmenu {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .header-right {
    padding-top: 8rem;
    position: absolute;
    top: 0;
    height: 100dvh;
    width: 100dvw;
    background: #fff;
    overflow: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-5rem);
    transition: opacity 0.3s, transform 0.3s;
  }
  .open-menu {
    overflow: hidden;
    height: 100dvh;
  }
  .open-menu #btnmenu span:nth-of-type(1) {
    animation: active-btnmenu-bar01 0.75s forwards;
  }
  .open-menu #btnmenu span:nth-of-type(2) {
    opacity: 0;
  }
  .open-menu #btnmenu span:nth-of-type(3) {
    animation: active-btnmenu-bar03 0.75s forwards;
  }
  .open-menu .header-right {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
}
@keyframes btnmenu-bar01 {
  0% {
    transform: translateY(1.7rem) rotate(45deg);
  }
  50% {
    transform: translateY(1.7rem) rotate(0);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}
@keyframes btnmenu-bar03 {
  0% {
    transform: translateY(-1.28rem) rotate(-45deg);
  }
  50% {
    transform: translateY(-1.28rem) rotate(0);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}
@keyframes active-btnmenu-bar01 {
  0% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(1.28rem) rotate(0);
  }
  100% {
    transform: translateY(1.28rem) rotate(45deg);
  }
}
@keyframes active-btnmenu-bar03 {
  0% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-1.28rem) rotate(0);
  }
  100% {
    transform: translateY(-1.28rem) rotate(-45deg);
  }
}
#hero {
  width: 100%;
  aspect-ratio: 1920/450;
  position: relative;
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  #hero {
    height: 26rem;
  }
}
#hero .content {
  position: absolute;
  z-index: 5;
  left: 0;
  bottom: 0;
}

#hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../images/common/hero.png) top center/cover no-repeat;
}

.hero-top {
  width: -moz-fit-content;
  width: fit-content;
  background-color: #fff;
  border-radius: 0.8rem 2.4rem 0 0;
  padding: 1rem 2rem 0 2rem;
}
@media screen and (min-width: 768px) {
  .hero-top {
    padding: 0 5rem 0 5rem;
  }
}

.hero-bot {
  background-color: #fff;
  border-radius: 0 2.4rem 0 0;
  padding: 1rem 2rem 0.5rem 2rem;
}
@media screen and (min-width: 768px) {
  .hero-bot {
    padding: 1.5rem 5rem 1.5rem 5rem;
  }
}
.hero-bot p {
  margin: 0;
  padding: 1rem 0;
}
.hero-bot .txt-lg {
  font-weight: bold;
  padding: 0;
  font-size: 2rem;
}
@media screen and (min-width: 768px) {
  .hero-bot .txt-lg {
    font-size: 3.2rem;
  }
}

.page-txt,
.hero-txt {
  margin: 0;
  font-weight: bold;
  text-align: left;
}
@media screen and (max-width: 767px) {
  .page-txt,
  .hero-txt {
    font-size: 3.4rem;
    line-height: 1.3;
  }
}
@media screen and (min-width: 768px) {
  .page-txt,
  .hero-txt {
    font-size: 5rem;
  }
}
@media screen and (min-width: 1720px) {
  .page-txt,
  .hero-txt {
    font-size: 7rem;
  }
}
.page-txt span,
.hero-txt span {
  display: block;
}

.hero-txt {
  color: transparent;
  background: var(--hero-txt) center/contain no-repeat;
}

#common-contact {
  padding: 5rem 0;
}
@media screen and (min-width: 768px) {
  #common-contact {
    padding: 10rem 0;
  }
}
#common-contact .inner-contact {
  padding: 8rem 2rem 3rem;
}
@media screen and (min-width: 1720px) {
  #common-contact .inner-contact {
    padding: 10rem;
    padding-left: 23rem;
  }
}
#common-contact .contact-wrap {
  display: flex;
  justify-content: space-between;
  margin-top: 6rem;
}
@media screen and (max-width: 767px) {
  #common-contact .contact-wrap {
    flex-direction: column;
    gap: 3rem;
  }
}
@media screen and (min-width: 768px) {
  #common-contact .contact-wrap {
    margin-top: 12.5rem;
  }
}
#common-contact .contact-wrap:after {
  content: "";
  aspect-ratio: 636/516;
  background: url(../images/common/contact-img.png) top right/contain no-repeat;
  width: 63.6rem;
  max-width: 70%;
}
@media screen and (max-width: 767px) {
  #common-contact .contact-wrap:after {
    content: none;
    align-self: flex-end;
  }
}
#common-contact .contact-wrap .contact-info {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
}
@media screen and (max-width: 767px) {
  #common-contact .contact-wrap .contact-info {
    text-align: center;
    gap: 3rem;
  }
}
@media screen and (min-width: 768px) {
  #common-contact .contact-wrap .contact-info {
    width: 51.5rem;
  }
}
#common-contact .contact-wrap .contact-info .contact-ttl {
  margin-bottom: 0.8rem;
}
@media screen and (min-width: 768px) {
  #common-contact .contact-wrap .contact-info .contact-ttl {
    margin-bottom: 1.2rem;
  }
}
#common-contact .contact-wrap .contact-info .contact-ttl.en {
  font-size: 2.4rem;
}
@media screen and (min-width: 768px) {
  #common-contact .contact-wrap .contact-info .contact-ttl.en {
    font-size: 2.8rem;
  }
}
#common-contact .contact-wrap .contact-info .contact-ttl.ja {
  font-weight: 500;
  font-size: 1.8rem;
}
@media screen and (min-width: 768px) {
  #common-contact .contact-wrap .contact-info .contact-ttl.ja {
    font-size: 2rem;
  }
}
#common-contact .contact-wrap .contact-info .contact-btn {
  margin-top: 1.6rem;
}
@media screen and (min-width: 768px) {
  #common-contact .contact-wrap .contact-info .contact-btn {
    margin-top: 2.8rem;
  }
}
#common-contact .contact-wrap .contact-info .contact-btn a {
  border: 1px solid;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  padding: 0.8rem 2rem 1rem;
  border-radius: 2.4rem;
  gap: 2.4rem;
  transition: 0.3s;
}
@media screen and (min-width: 768px) {
  #common-contact .contact-wrap .contact-info .contact-btn a {
    padding: 1.4rem 2rem 1.6rem;
  }
}
#common-contact .contact-wrap .contact-info .contact-btn a::before {
  content: "";
  display: block;
  transition: 0.3s;
  width: 3.6rem;
  height: 3.6rem;
}
@media screen and (min-width: 768px) {
  #common-contact .contact-wrap .contact-info .contact-btn a::before {
    width: 5.6rem;
    height: 5.6rem;
  }
}
#common-contact .contact-wrap .contact-info .contact-btn a span {
  font-weight: 500;
  font-size: 2.4rem;
}
@media screen and (min-width: 768px) {
  #common-contact .contact-wrap .contact-info .contact-btn a span {
    font-size: 3.6rem;
  }
}
#common-contact .contact-wrap .contact-info .contact-btn a:hover {
  background-color: var(--color-primary);
  color: #fff;
}
#common-contact .contact-wrap .contact-info .contact-btn a:hover:before {
  filter: invert(100%);
}
#common-contact .contact-wrap .contact-info .contact-btn a.btn-tel span {
  font-size: 3rem;
  line-height: 1;
}
@media screen and (min-width: 768px) {
  #common-contact .contact-wrap .contact-info .contact-btn a.btn-tel span {
    font-size: 4.6rem;
  }
}
#common-contact .contact-wrap .contact-info .contact-btn a.btn-tel::before {
  background: url(../images/common/icon-phone.png) center center/contain no-repeat;
}
#common-contact .contact-wrap .contact-info .contact-btn a.btn-form::before {
  background: url(../images/common/icon-mail.png) center center/contain no-repeat;
}
#common-contact .contact-wrap .contact-info .contact-btn a.btn-form span {
  padding-bottom: 0.1em;
}

#site_footer .footer_wrap {
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 2rem;
  margin: 5rem auto;
}
@media screen and (max-width: 767px) {
  #site_footer .footer_wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 3rem;
    border-radius: 1.2rem;
  }
}
@media screen and (min-width: 768px) {
  #site_footer .footer_wrap {
    border-radius: 2.4rem;
    padding: 5rem;
    margin: 10rem auto;
    margin-top: 0;
  }
}
@media screen and (min-width: 1300px) {
  #site_footer .footer_wrap {
    padding: 10rem 5rem;
  }
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}
.footer-info a {
  color: inherit;
  text-decoration: none;
}
.footer-info a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 767px) {
  .footer-menu {
    width: 100%;
  }
}
.footer-menu ul {
  display: flex;
}
@media screen and (max-width: 767px) {
  .footer-menu ul {
    flex-direction: column;
  }
}
.footer-menu ul li a {
  color: var(--color-text);
  font-weight: 500;
  padding: 1.2rem 2.4rem;
  text-decoration: none;
  position: relative;
  display: block;
}
@media screen and (min-width: 768px) {
  .footer-menu ul li a:after {
    position: absolute;
    content: "";
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary);
    width: 0;
    height: 2px;
  }
  .footer-menu ul li a:hover::after {
    width: 100%;
    transition: width 0.3s;
  }
}
.footer-menu ul .has-sub {
  position: relative;
}
.footer-menu ul .has-sub .sub-menu {
  transition: opacity 0.3s, transform 0.3s;
  background-color: #fff;
  font-size: 0.75em;
}
@media screen and (max-width: 767px) {
  .footer-menu ul .has-sub .sub-menu {
    padding-left: 2rem;
  }
}
@media screen and (min-width: 768px) {
  .footer-menu ul .has-sub .sub-menu {
    padding-top: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(5rem);
    position: absolute;
    width: -moz-max-content;
    width: max-content;
  }
}
.footer-menu ul .has-sub .sub-menu li {
  padding: 0;
}
.footer-menu ul .has-sub .sub-menu li a {
  border-radius: 0;
  padding: 1.2rem 2rem;
}
.footer-menu ul .has-sub:hover > a::after {
  width: 100%;
  transition: width 0.3s;
}
.footer-menu ul .has-sub:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.copyright {
  background-color: #ffffff;
  border-top: 2px solid #dddddd;
  font-size: 1.4rem;
  text-align: center;
  padding: 1.2rem 0;
}

#back-to-top {
  position: fixed;
  z-index: 55;
  bottom: 2rem;
  right: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}
#back-to-top.active {
  opacity: 1;
  visibility: visible;
  transition: 0.3s;
}
#back-to-top .to-top {
  aspect-ratio: 1;
  display: block;
  width: 5rem;
  overflow: hidden;
  text-indent: -1000vw;
  text-decoration: none;
  background: #d7532f url(../images/common/to-top.svg) center/contain no-repeat;
  animation: toTopAnim 1.5s ease-in-out infinite;
}

@keyframes toTopAnim {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10%);
  }
}