@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');

/*------------------------------------------------------------
Theme Name: Sherpa Group CMS
Author: AEM
Version: 1.0
------------------------------------------------------------*/
/* css reset
-------------------------------------- */
html,
body,
div,
span,
figure,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
a,
address,
em,
font,
img,
small,
strong,
sub,
sup,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
form,
label,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    outline: 0;
    font-size: 1em;
}

html {
    font-size: 62.5%;
}

body,
table,
input,
textarea,
select,
option {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary {
    display: block;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

:focus {
    outline: 0;
}

img {
    vertical-align: top;
    max-width: 100%;
    height: auto;
}

a,
input {
    transition: all 0.3s;
}

a,
a:link {
    color: inherit;
    text-decoration: none;
}

a:visited {
    color: inherit;
}

a:active {
    color: inherit;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

a[href^="tel:"] {
    cursor: default;
    pointer-events: none;
}

.grecaptcha-badge {
    visibility: hidden;
}


@media (max-width: 768px) {
    a[href^="tel:"] {
        cursor: pointer;
        pointer-events: auto;
    }

    .wrap {
        min-width: 320px;
    }
}

/* Device
-------------------------------------- */
/* PC */
@media (min-width:1024px) {
    .tb:not(.pc) {
        display: none;
    }

    .sp:not(.pc) {
        display: none;
    }
}

/* TB */
@media (min-width:768px) and (max-width:1023px) {
    .pc:not(.tb) {
        display: none;
    }

    .sp:not(.tb) {
        display: none;
    }
}

/* SP */
@media (max-width:767px) {
    .pc:not(.sp) {
        display: none;
    }

    .tb:not(.sp) {
        display: none;
    }
}

/* Variable
-------------------------------------- */
:root {
    --baseTextColor: #21393E;
    --subTextColor: #EBB53C;
    --baseBgColor: #FCF9F7;
    --subBgColor: #F5F1EE;
    --mainLs: 0.05em;
}

/* Animation
-------------------------------------- */
/* Fade in */
body {
    animation: fade-in 3s;
}

header h1,
header .logo {
    animation: fade-in 0.8s ease-out both;
    animation-delay: 1s;
}

.top #contactFixTop .text {
    animation: fade-in 0.6s ease-out both;
    animation-delay: 1.2s;
}

#contactFix .text {
    animation: fade-in 0.6s ease-out both;
    animation-delay: 1.2s;
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Cut in Header */
header .bar {
    animation: cutInHeader 0.3s ease-in both;
    animation-delay: 0.2s;
}

@keyframes cutInHeader {
    0% {
        transform: translate(330px, -330px) rotate(45deg);
    }

    100% {
        transform: translate(0, 0) rotate(45deg);
    }
}

/* Cut in Wrap */
body.top .wrap::before {
    animation: cutInWrap 0.8s ease-in both;
    animation-delay: 0.3s;
}

@keyframes cutInWrap {
    0% {
        transform: translate(2000px, -2000px) rotate(45deg);
    }

    100% {
        transform: translate(0, 0) rotate(45deg);
    }
}

/* Cut in Contact */
.top #contactFixTop .bar {
    animation: cutInContactTop 0.5s ease-in both;
    animation-delay: 0.8s;
}

@keyframes cutInContactTop {
    0% {
        transform: translate(1030px, -505px) rotate(45deg);
    }

    100% {
        transform: translate(430px, 95px) rotate(45deg);
    }
}

#contactFix .bar {
    animation: cutInContact 0.5s ease-in both;
    animation-delay: 0.4s;
}

@keyframes cutInContact {
    0% {
        transform: translate(1185px, -500px) rotate(45deg);
    }

    100% {
        transform: translate(585px, 100px) rotate(45deg);
    }
}


/* Rayout
-------------------------------------- */
html {
    overflow: auto;
}

@supports (-webkit-touch-callout: none) {
    html {
        height: -webkit-fill-available;
    }
}

body {
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--baseTextColor);
    background-color: var(--baseBgColor);
}

body * p {
    line-height: 2;
    letter-spacing: 0.05em;
}

body.fixed {
    position: fixed;
    width: 100%;
    height: 100%;
}

.wrap {
    position: relative;
    overflow: hidden;
}

.taLeft {
    text-align: left;
}

.taCenter {
    text-align: center;
}

.taRight {
    text-align: right;
}

.flex {
    display: flex;
    justify-content: space-between;
}

.contents {
    max-width: 1056px;
    margin: 0 96px 0 192px;
    position: relative;
}

@media (min-width: 1435px) {
    .contents {
        margin: 0 auto 0 auto;
    }
}

@media (max-width:1023px) {
    .contents {
        margin: 0 64px;
    }

    .flex {
        display: block;
    }
}

@media (max-width:767px) {
    .contents {
        margin: 0 28px;
    }
}

@media (max-width: 480px) {
    body * p {
        font-size: 1.5rem;
    }
}

/* Header
-------------------------------------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

header .bar {
    width: 290px;
    height: 510px;
    transform: translate(330px, -330px) rotate(45deg);
    transform-origin: top right;
    background-color: #fff;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 20%, rgba(255, 255, 255, 1) 100%);
    position: absolute;
    top: 0;
    left: 0;
}

header h1,
header .logo {
    width: 96px;
    position: absolute;
    top: 48px;
    left: 32px;
    opacity: 0;
}

header h1 a,
header .logo a {
    transition: all 0.3s;
}

header h1 a:hover,
header .logo a:hover {
    opacity: 0.7;
}

@media (max-width: 1023px) {

    header h1,
    header .logo {
        width: 80px;
        top: 20px;
        left: 16px;
    }

    header .bar {
        width: 200px;
        height: 350px;
    }
}

@media (max-width: 768px) {}

@media (max-width: 480px) {
    header .bar {
        width: 150px;
        height: 300px;
    }

    header h1,
    header .logo {
        width: 60px;
        top: 18px;
        left: 10px;
    }
}


/* Navigation PC
-------------------------------------- */
nav {
    width: 230px;
    height: 100vh;
    font-size: 1.5rem;
    position: fixed;
    padding: 0 0 48px 0;
    letter-spacing: var(--mainLs);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 999;
    transition: all 0.3s;
}

.top nav {
    color: #fff;
}

.top nav.color {
    color: var(--baseTextColor);
}

nav.on {
    color: var(--baseTextColor);
    background-color: #fff;
}

nav.none {
    visibility: hidden;
    opacity: 0;
}

nav .gNavi>li,
nav .lang {
    padding-left: 32px;
}

nav a {
    display: block;
    padding: 7px 0;
    position: relative;
}

nav .current-menu-item>a::before,
nav .current-menu-parent>a::before {
    content: "";
    display: inline-block;
    width: 32px !important;
    border-top: 1px solid var(--subTextColor);
    position: relative;
    bottom: 5px;
    left: -32px !important;
    margin-right: -16px;
}

nav .gNavi a::before {
    content: "";
    display: inline-block;
    width: 0;
    border-top: 1px solid var(--subTextColor);
    position: relative;
    bottom: 5px;
    left: -32px;
    transition: all 0.3s;
}

nav .gNavi li:hover>a::before {
    width: 32px;
    margin-right: -16px;
}

nav .gNavi .menu-item-has-children>a::after {
    content: "";
    display: inline-block;
    height: 9px;
    width: 9px;
    margin-left: 10px;
    background: url(img/common/navi-icon-off.png ) no-repeat center center / contain;
}

nav .gNavi .menu-item-has-children:hover {
    background-color: var(--subBgColor);
}

nav .gNavi .menu-item-has-children:hover>a::after {
    background: url(img/common/navi-icon-on.png ) no-repeat center center / contain;
}

nav .gNavi .sub-menu {
    color: var(--baseTextColor);
    visibility: hidden;
    opacity: 0;
    width: 420px;
    height: 100vh;
    background-color: var(--subBgColor);
    position: absolute;
    top: 0;
    left: 230px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 32px;
    transition: all 0.3s;
}

nav .gNavi .sub-menu.on {
    visibility: visible;
    opacity: 1;
}

nav .gNavi .naviServices ul::before {
    content: "Service";
    margin-bottom: 30px;
}

nav .gNavi .naviGroup ul::before {
    content: "Group";
    margin-bottom: 30px;
}

nav .lang {
    display: flex;
    margin-top: 20px;
}

nav .lang li::after {
    content: "";
    display: block;
    width: 18px;
    border-bottom: 2px solid var(--subTextColor);
    margin-top: -2px;
    opacity: 0;
    transition: all 0.3s;
}

nav .lang li:first-of-type a::after,
nav .lang li:nth-of-type(-n+2) a::after{
    content: "/";
    margin: 0 5px;
}

nav .lang li a {
    opacity: 0.5;
}

nav .lang li.on a {
    opacity: 1;
}

nav .lang li.on::after,
nav .lang li:hover::after,
nav .lang li:hover a {
    opacity: 1;
}


/* Navigation SP
-------------------------------------- */
.menu {
    height: 40px;
    width: 40px;
    position: fixed;
    top: 5vw;
    right: 5vw;
    cursor: pointer;
    mix-blend-mode: difference;
    z-index: 1001;
    transition: all 0.3s;
}

.menu.on {
    mix-blend-mode: normal;
}

.menu div {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #fff;
    transition: top 0.4s 0.2s, transform 0.4s 0s;
}

.menu div:nth-of-type(1) {
    top: calc(35% - 0px);
}

.menu div:nth-of-type(2) {
    top: calc(35% - 13px);
}

.menu div:nth-of-type(3) {
    top: calc(35% + 13px);
}

.menu.on div {
    top: calc(35% - 0px);
    transform-origin: center center;
    transition: top 0.4s 0s, transform 0.4s 0.2s;
    background-color: var(--baseTextColor);
}

.menu.on div:nth-of-type(1) {
    transform: rotate(45deg);
}

.menu.on div:nth-of-type(2) {
    opacity: 0;
}

.menu.on div:nth-of-type(3) {
    transform: rotate(135deg);
}

.menuBox {
    padding-top: 90px;
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    z-index: 1000;
    overflow-y: auto;
    transition: all 0.3s;
}

.menuBox.on {
    visibility: visible;
    opacity: 1;
}

.menuBox h1,
.menuBox .logo {
    position: absolute;
    width: 60px;
    top: 18px;
    left: 10px;
}

.menuBox .spNavi li {
    border-bottom: 1px solid var(--subBgColor);
}

.menuBox .spNavi li.menu-item-has-children {
    position: relative;
}

.menuBox .spNavi li.menu-item-has-children>a::before {
    content: "";
    display: inline-block;
    width: 0;
    border-top: 1px solid var(--subTextColor);
    position: relative;
    bottom: 5px;
    left: -32px;
    transition: all 0.3s;
}

.menuBox .spNavi li.menu-item-has-children.on>a::before {
    width: 48px;
    margin-right: -15px;
}

.menuBox .spNavi li.current-menu-item>a::before,
.menuBox .spNavi li.current-menu-parent>a::before {
    content: "";
    display: inline-block;
    width: 48px;
    border-top: 1px solid var(--subTextColor);
    position: relative;
    bottom: 5px;
    left: -32px;
    margin-right: -15px;
}

.menuBox .spNavi li.menu-item-has-children.on {
    background-color: var(--subBgColor);
}

.menuBox .spNavi li.menu-item-has-children span::before {
    content: "";
    display: block;
    height: 18px;
    width: 18px;
    margin-left: 15px;
    position: absolute;
    top: 22px;
    right: 32px;
    background: url(img/common/navi-icon-sp-off.png ) no-repeat center center / contain;
}

.menuBox .spNavi li.menu-item-has-children span.on::before {
    background: url(img/common/navi-icon-sp-on.png ) no-repeat center center / contain;
}

.menuBox .spNavi li.menu-item-has-children.on>a::after {
    background: url(img/common/navi-icon-sp-on.png ) no-repeat center center / contain;
}

.menuBox .spNavi a {
    display: block;
    padding: 20px 32px;
}

.menuBox .sub-menu {
    display: none;
}

.menuBox .sub-menu li:not(:last-child) {
    border-bottom: 1px solid #fff;
}

.menuBox .lang {
    display: flex;
    /* margin: 20px 32px; */
    position: absolute;
    top: 30px;
    left: 120px;
}

.menuBox .lang li::after {
    content: "";
    display: block;
    width: 18px;
    border-bottom: 2px solid var(--subTextColor);
    margin-top: 2px;
    opacity: 0;
    transition: all 0.3s;
}

.menuBox .lang li:first-of-type a::after {
    content: "/";
    margin: 0 20px;
}

.menuBox .lang li a {
    opacity: 0.5;
}

.menuBox .lang li.on a {
    opacity: 1;
}

.menuBox .lang li.on::after {
    opacity: 1;
}

.menuBox .contact {
    margin: 28px;
}

.menuBox .contact a {
    width: 100%;
    padding: 24px;
    background-color: var(--baseBgColor);
    display: block;
    clip-path: polygon(24px 0, 100% 0%, 100% 0, 100% 100%, 100% 100%, 0 100%, 0 100%, 0 24px);
    position: relative;
}

.menuBox .contact a span:nth-of-type(1) {
    font-size: 3rem;
    font-weight: 500;
    display: block;
}

.menuBox .contact a span:nth-of-type(2) {
    color: #ADADAF;
    font-size: 1.4rem;
}

.menuBox .contact a span:nth-of-type(3) {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--subTextColor);
    position: absolute;
    top: 50%;
    right: 28px;
    transform: translateY(-50%);
}

.menuBox .contact a span:nth-of-type(3)::after {
    content: "";
    background: url(img/common/arrow1.png ) no-repeat center center / contain;
    width: 16px;
    height: 8px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s;
}


/* Fix Button
-------------------------------------- */
#contactFix,
#contactFixFade,
.top #contactFixTop {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 999;
}

/* Large */
.top #contactFixTop {
    color: #fff;
}

.top #contactFixTop .bar {
    content: "";
    display: block;
    width: 600px;
    height: 600px;
    transform: translate(1030px, 505px) rotate(45deg);
    transform-origin: top right;
    background: linear-gradient(0deg, rgba(235, 181, 60, 0) 0%, rgba(235, 181, 60, 1) 20%, rgba(235, 181, 60, 1) 100%);
    position: absolute;
    right: 0;
    top: 0;
    transition: all 0.3s;
}

.top #contactFixTop .text {
    position: absolute;
    right: 32px;
    bottom: 32px;
    opacity: 0;
    transition: all 0.3s;
}

.top #contactFixTop .text span:nth-of-type(1) {
    color: var(--baseTextColor);
    font-size: 4.6rem;
    font-weight: 500;
    display: block;
    margin-bottom: -30px;
    position: relative;
    z-index: 1;
}

.top #contactFixTop .text span:nth-of-type(2) {}

.top #contactFixTop .text span:nth-of-type(3) {
    display: inline-block;
    margin-left: 100px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #fff;
    position: relative;
    transform-origin: center center;
    vertical-align: middle;
    overflow: hidden;
    transition: all 0.3s;
}

.top #contactFixTop .text span:nth-of-type(3)::before {
    content: "";
    background: url(img/common/arrow2.png ) no-repeat center center / contain;
    width: 24px;
    height: 12px;
    position: absolute;
    top: 50%;
    left: -100%;
    transform: translate(-50%, -50%);
    transition: all 0.3s;
}

.top #contactFixTop .text span:nth-of-type(3)::after {
    content: "";
    background: url(img/common/arrow2.png ) no-repeat center center / contain;
    width: 24px;
    height: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s;
}

.top #contactFixTop:hover .text span:nth-of-type(3)::before {
    left: 50%;
}

.top #contactFixTop:hover .text span:nth-of-type(3)::after {
    left: 200%;
}

.top #contactFixTop:hover .text span:nth-of-type(3) {
    transform: scale(1.1);
}

.top #contactFixTop.scrollNone {
    visibility: hidden;
    opacity: 0;
}

/* Small */
#contactFixFade {
    visibility: hidden;
    opacity: 0;
}

#contactFixFade.scrollDisplay {
    visibility: visible;
    opacity: 1;
}

#contactFix:hover,
#contactFixFade:hover {
    opacity: 0.7;
}

#contactFix .bar,
#contactFixFade .bar {
    content: "";
    display: block;
    width: 600px;
    height: 600px;
    transform: translate(585px, 100px) rotate(45deg);
    transform-origin: top right;
    background: linear-gradient(0deg, rgba(235, 181, 60, 0) 0%, rgba(235, 181, 60, 1) 20%, rgba(235, 181, 60, 1) 100%);
    position: absolute;
    right: 0;
    top: 0;
    transition: all 0.3s;
}

#contactFix .text,
#contactFixFade .text {
    width: 80px;
    text-align: center;
    color: var(--baseTextColor);
    letter-spacing: var(--mainLs);
    font-size: 1.4rem;
    position: absolute;
    right: 20px;
    bottom: 24px;
    transition: all 0.3s;
}

#contactFix .text::before,
#contactFixFade .text::before {
    content: '';
    display: block;
    margin: 0 auto 5px;
    width: 25px;
    height: 18px;
    background: url(img/common/contact-icon.png ) no-repeat center center / contain;
}

#contactFix.none,
#contactFixFade.none {
    visibility: hidden;
    opacity: 0;
}

@media (max-width: 480px) {
    #contactFix.scrollSmall {
        transform: scale(0.8);
        transform-origin: right bottom;
    }

    #contactFix .bar {
        width: 590px;
        height: 590px;
    }

    #contactFix .text {
        right: 14px;
        bottom: 20px;
    }
}


/* Common Title
-------------------------------------- */
.comTitle1 span:nth-of-type(1) {
    font-size: 5.8rem;
    font-weight: 500;
    letter-spacing: var(--mainLs);
    display: block;
}

.comTitle1 span:nth-of-type(2) {
    font-size: 2.4rem;
    font-weight: 500;
    letter-spacing: var(--mainLs);
    position: relative;
    padding-left: 50px;
}

.comTitle1 span:nth-of-type(2)::before {
    content: "";
    display: block;
    border-top: 1px solid var(--subTextColor);
    width: 32px;
    position: absolute;
    top: 0.75em;
    left: 0;
}

.comTitle2 {
    font-size: 3.2rem;
    font-weight: 500;
    letter-spacing: var(--mainLs);
    padding-left: 96px;
    margin: 0 0 40px -96px;
    position: relative;
    line-height: 1.5;
}

.comTitle2::before {
    content: "";
    width: 72px;
    border-top: 1px solid var(--subTextColor);
    position: absolute;
    top: 0.75em;
    left: 0;
}

@media (max-width: 1150px) {
    .comTitle2 {
        margin: 0 0 40px 0;
    }
}

@media (max-width: 1023px) {
    .comTitle1 span:nth-of-type(1) {
        font-size: 4.8rem;
    }

    .comTitle1 span:nth-of-type(2) {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .comTitle1 span:nth-of-type(1) {
        font-size: 3.2rem;
    }

    .comTitle1 span:nth-of-type(2) {
        font-size: 1.8rem;
    }

    .comTitle2 {
        font-size: 2.4rem;
        padding-left: 50px;
    }

    .comTitle2::before {
        content: "";
        width: 32px;
        border-top: 1px solid var(--subTextColor);
        position: absolute;
        top: 0.75em;
        left: 0;
    }
}

/* Common Button
-------------------------------------- */
.comButton1 {
    display: inline-block;
    margin-top: 80px;
    position: relative;
}

.comButton1 span:nth-of-type(1) {
    font-size: 1.6rem;
    padding-bottom: 3px;
    letter-spacing: var(--mainLs);
    margin-right: 15px;
    vertical-align: middle;
    position: relative;
    transition: all 0.3s;
}

.comButton1 span:nth-of-type(1)::before {
    content: "";
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: -3px;
    left: 0;
    opacity: 1;
    background-color: var(--subTextColor);
    transition: opacity 0.1s 0.23s linear;
}

.comButton1 span:nth-of-type(1)::after {
    content: "";
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: -3px;
    left: 0;
    background-color: var(--subTextColor);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.2s 0.1s;
}

.comButton1:hover span:nth-of-type(1)::before {
    opacity: 0;
    transition: opacity 0.1s linear;
}

.comButton1:hover span:nth-of-type(1)::after {
    transform: scaleX(1);
}

.comButton1:hover span:nth-of-type(1) {
    color: var(--subTextColor) !important;
}

.comButton1.white span:nth-of-type(1) {
    color: #fff;
}

.comButton1 span:nth-of-type(2) {
    display: inline-block;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1px solid var(--subTextColor);
    position: relative;
    transform-origin: center center;
    vertical-align: middle;
    overflow: hidden;
    transition: all 0.3s;
}

.comButton1 span:nth-of-type(2)::before {
    content: "";
    background: url(img/common/arrow2.png ) no-repeat center center / contain;
    width: 24px;
    height: 12px;
    position: absolute;
    top: 50%;
    left: -100%;
    transform: translate(-50%, -50%);
    transition: all 0.3s;
}

.comButton1 span:nth-of-type(2)::after {
    content: "";
    background: url(img/common/arrow2.png ) no-repeat center center / contain;
    width: 24px;
    height: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s;
}

.comButton1:hover span:nth-of-type(2)::before {
    left: 50%;
}

.comButton1:hover span:nth-of-type(2)::after {
    left: 200%;
}

.comButton1:hover span:nth-of-type(2) {
    transform: scale(1.1);
}

@media all and (max-width: 480px) {
    .comButton1 {
        display: block;
        margin-top: 64px;
        text-align: right;
    }
}


/* Common Parts
-------------------------------------- */
.bgTriangle1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 486px 486px 0 0;
    border-color: var(--subBgColor) transparent transparent transparent;
    /* z-index: -1; */
}

.bgTriangle2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 486px 486px 0 0;
    border-color: var(--baseBgColor) transparent transparent transparent;
}

.bgTriangle3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 486px 486px 0 0;
    border-color: #273F41 transparent transparent transparent;
}

@media (max-width: 1023px) {
    .bgTriangle1::before {
        border-width: 350px 350px 0 0;
    }

    .bgTriangle2::before {
        border-width: 350px 350px 0 0;
    }

    .bgTriangle3::before {
        border-width: 350px 350px 0 0;
    }
}

@media (max-width: 767px) {
    .bgTriangle1::before {
        border-width: 200px 200px 0 0;
    }

    .bgTriangle2::before {
        border-width: 200px 200px 0 0;
    }

    .bgTriangle3::before {
        border-width: 200px 200px 0 0;
    }
}

/* footer
-------------------------------------- */
footer {
    padding: 96px 0 48px;
    background-color: var(--subBgColor);
}

footer .address {
    font-size: 1.4rem;
}

footer .address a:hover {
    opacity: 0.7;
}

footer .address img {
    width: 216px;
    margin-bottom: 32px;
}

footer .address p:first-of-type {
    line-height: 1.5;
}

footer .address p:last-of-type {
    margin-top: 10px;
}

footer .navi {
    letter-spacing: var(--mainLs);
    margin: 0 32px;
    font-size: 1.5rem;
}

footer .navi>a {
    margin-bottom: 32px;
    display: inline-block;
}

.top footer .navi>a {
    color: #adadaf;
}

footer .navi .current-menu-item,
footer .navi .current-menu-parent,
footer .navi .current-page-ancestor {
    color: #adadaf;
}

footer .navi ul li {
    margin: 0 24px 20px 0;
}

footer .navi ul li a {
    display: block;
}

footer .navi ul li a:hover,
footer .navi>a:hover {
    color: var(--subTextColor);
}

footer .navi ul li a span {
    width: 20px;
    height: 15px;
    position: relative;
    margin-right: 10px;
    display: inline-block;
    overflow: hidden;
}

footer .navi ul li a span::before {
    content: "";
    background: url(img/common/arrow1.png ) no-repeat center center / contain;
    width: 16px;
    height: 8px;
    position: absolute;
    top: 60%;
    left: -100%;
    transform: translate(-50%, -50%);
    transition: all 0.3s;
}

footer .navi ul li a span::after {
    content: "";
    background: url(img/common/arrow1.png ) no-repeat center center / contain;
    width: 16px;
    height: 8px;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s;
}

footer .navi ul li a:hover span::before {
    left: 50%;
}

footer .navi ul li a:hover span::after {
    left: 200%;
}

footer .contact {
    width: 27.5%;
}

footer .contact a {
    width: 100%;
    height: 250px;
    padding: 32px;
    background-color: var(--baseBgColor);
    display: block;
    clip-path: polygon(32px 0, 100% 1%, 100% 0, 100% 100%, 100% 100%, 0 100%, 0 100%, 0 32px);
    position: relative;
}

footer .contact a span:nth-of-type(1) {
    font-size: 4.8rem;
    font-weight: 500;
    display: block;
}

footer .contact a span:nth-of-type(2) {
    color: #ADADAF;
}

footer .contact a span:nth-of-type(3) {
    display: block;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1px solid var(--subTextColor);
    position: absolute;
    right: 32px;
    bottom: 32px;
    transform-origin: center center;
    overflow: hidden;
    transition: all 0.3s;
}

footer .contact a span:nth-of-type(3)::before {
    content: "";
    background: url(img/common/arrow2.png ) no-repeat center center / contain;
    width: 24px;
    height: 12px;
    position: absolute;
    top: 50%;
    left: -100%;
    transform: translate(-50%, -50%);
    transition: all 0.3s;
}

footer .contact a span:nth-of-type(3)::after {
    content: "";
    background: url(img/common/arrow2.png ) no-repeat center center / contain;
    width: 24px;
    height: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s;
}

footer .contact a:hover span:nth-of-type(3)::before {
    left: 50%;
}

footer .contact a:hover span:nth-of-type(3)::after {
    left: 200%;
}

footer .contact a:hover span:nth-of-type(3) {
    transform: scale(1.1);
}

footer .copyright {
    color: #adadaf;
}

@media all and (max-width: 1150px) {
    footer .contact a span:nth-of-type(1) {
        font-size: 4.2rem;
    }
}

@media (max-width: 1023px) {
    footer .address .br {
        display: none;
    }

    footer .navi {
        margin: 32px 0;
    }

    footer .navi ul {
        width: 100%;
        height: 100%;
    }

    footer .contact {
        width: 100%;
    }

    footer .contact a {
        height: 200px;
    }

    footer .copyright {
        margin-top: 48px;
    }
}

@media (max-width: 480px) {
    footer .navi ul {
        font-size: 1.5rem;
    }

    footer .navi ul li a span {
        height: 12px;
    }
}