.wrap {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px
}

@media screen and (max-width: 768px) {
    .wrap {
        padding: 0 20px
    }
}

.ttl-shared {
    position: relative;
    z-index: 2;
    background: url("../img/shared/deco_ttl.png") no-repeat left top/100px auto;
    padding: 2px 0 14px 118px
}

.ttl-shared span {
    display: block;
    line-height: 1
}

.ttl-shared span.en {
    position: relative;
    font-size: 50px;
    letter-spacing: -0.05em
}

.ttl-shared span.en::before {
    content: "";
    position: absolute;
    top: calc(50% + 12px);
    left: 269px;
    right: 0;
    transform: translateY(-50%);
    height: 1px
}

.ttl-shared span.jp {
    margin-top: 15px;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: .05em
}

.ttl-shared.color-1 {
    color: #fff
}

.ttl-shared.color-1 span.en::before {
    background: #fff
}

.ttl-shared.color-2 {
    color: #333
}

.ttl-shared.color-2 span.en::before {
    background: #333
}

@media screen and (max-width: 767px) {
    .ttl-shared {
        background-size: 58px auto;
        padding: 2px 0 8px 68px
    }

    .ttl-shared span.en {
        font-size: 28px
    }

    .ttl-shared span.en::before {
        display: none
    }

    .ttl-shared span.jp {
        margin-top: 9px;
        font-size: 12px
    }
}

.btn-shared {
    width: 340px
}

.btn-shared a {
    position: relative;
    display: block;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    line-height: 68px;
    letter-spacing: .05em
}

.btn-shared a::before {
    content: "";
    position: absolute;
    background: url("../img/icons/ico_arrow3.png") no-repeat;
    width: 31px;
    height: 5px;
    top: 50%;
    right: 27px;
    transform: translateY(-50%)
}

.btn-shared a:hover {
    opacity: .7
}

.btn-shared.type-1 a {
    border: 1px solid #000;
    color: #000
}

.btn-shared.type-1 a::before {
    background: url("../img/icons/ico_arrow3.png") no-repeat center/100%
}

.btn-shared.type-2 a {
    border: 1px solid #1baecf;
    background: #1baecf;
    color: #fff
}

.btn-shared.type-2 a::before {
    background: url("../img/icons/ico_arrow4.png") no-repeat center/100%
}

@media screen and (max-width: 767px) {
    .btn-shared {
        width: auto
    }
}

#header {
    position: fixed;
    top: 0;
    left: 50px;
    right: 50px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #fff;
    color: #fff;
    padding: 23px 0 21px
}

#header::before {
    content: '';
    position: absolute;
    background: #000;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: -50px;
    right: -50px;
    opacity: 0;
    transition: 0.3s;
}

#header.active::before {
    opacity: 1;
}

#header .logo {
    width: 300px
}

#header .logo a {
    display: block
}

#header #menu-toggle {
    width: 890px
}

#header #menu-toggle .nav-list {
    display: flex;
    align-items: center;
    justify-content: space-between
}

#header #menu-toggle .nav-list li {
    position: relative
}

#header #menu-toggle .nav-list li a {
    position: relative;
    z-index: 2;
    display: block;
    line-height: 1;
    letter-spacing: 0
}

#header #menu-toggle .nav-list li a:hover {
    opacity: .7
}

#header #menu-toggle .nav-list li:last-child {
    margin-left: 10px
}

#header #menu-toggle .nav-list li:last-child a img {
    width: 28px
}

#header #menu-toggle .nav-list .parent::before {
    content: "";
    position: absolute;
    background: url("../img/icons/ico_arrow1.png") no-repeat;
    width: 9px;
    height: 5px;
    background-size: 100%;
    top: 6px;
    right: 0;
    transition: .3s
}

#header #menu-toggle .nav-list .parent>a {
    padding-right: 18px
}

#header #menu-toggle .nav-list .parent .sub-menu {
    position: absolute;
    top: 0;
    left: 50%;
    right: 0;
    width: 355px;
    transform: translateX(-50%);
    padding-top: 51px
}

#header #menu-toggle .nav-list .parent .sub-menu ul {
    background: #fff;
    color: #000;
    padding: 20px 0 20px 20px
}

#header #menu-toggle .nav-list .parent .sub-menu ul li {
    margin: 0
}

#header #menu-toggle .nav-list .parent .sub-menu ul li+li {
    margin-top: 15px
}

#header #menu-toggle .nav-list .parent .sub-menu ul li a {
    position: relative;
    font-size: 14px;
    padding-left: 20px
}

#header #menu-toggle .nav-list .parent .sub-menu ul li a::before {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    border-left: 1px solid #000;
    border-top: 1px solid #000;
    left: 0;
    top: 50%;
    transform: rotate(-45deg) translateY(-50%);
    transition: .3s
}

@media screen and (min-width: 768px) {
    #header #menu-toggle .nav-list .parent .sub-menu {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: .3s;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
    }

    #header #menu-toggle .nav-list .parent .sub-menu ul li a:hover::before {
        top: calc(50% - 6px);
        transform: rotate(-135deg) translateY(-50%)
    }

    #header #menu-toggle .nav-list .parent:hover::before {
        background-image: url("../img/icons/ico_arrow2.png")
    }

    #header #menu-toggle .nav-list .parent:hover .sub-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: all
    }
}

@media screen and (min-width: 768px)and (max-width: 1000px) {
    #header {
        left: 20px;
        right: 20px
    }

    #header .logo {
        width: 250px
    }

    #header #menu-toggle .nav-list li a {
        font-size: 14px
    }

    #header #menu-toggle .nav-list li:last-child {
        margin-left: 0
    }

    #header #menu-toggle .nav-list .parent::before {
        top: 4px
    }

    #header #menu-toggle .nav-list .parent .sub-menu {
        padding-top: 44px
    }
}

@media screen and (min-width: 768px)and (max-width: 900px) {
    #header .logo {
        width: 180px
    }

    #header #menu-toggle {
        flex: 1;
        width: auto
    }

    #header #menu-toggle .nav-list li a {
        font-size: 11px
    }

    #header #menu-toggle .nav-list .parent::before {
        width: 6px;
        height: 3px
    }

    #header #menu-toggle .nav-list .parent a {
        padding-right: 12px
    }

    #header #menu-toggle .nav-list .parent .sub-menu {
        padding-top: 42px
    }
}

@media screen and (max-width: 767px) {
    #header {
        position: unset;
        border-bottom: none;
        padding: 0
    }

    #header .logo {
        position: absolute;
        top: 17px;
        left: 17px;
        z-index: 3;
        width: 240px
    }

    #header #menu-toggle {
        position: fixed;
        width: auto;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        overflow-y: auto;
        background: url("../img/shared/menu_toggle_bg.jpg") no-repeat center top/cover
    }

    #header #menu-toggle .group {
        width: 80%;
        padding: 84px 0;
        margin: 0 auto
    }

    #header #menu-toggle .nav-list {
        display: block
    }

    /*#header #menu-toggle .nav-list li:last-child {
        display: none
    }*/

    #header #menu-toggle .nav-list li a {
        font-size: 18px
    }

    #header #menu-toggle .nav-list li+li {
        margin-top: 38px
    }

    #header #menu-toggle .nav-list .parent::before {
        top: 8px
    }

    #header #menu-toggle .nav-list .parent>a {
        width: -moz-fit-content;
        width: fit-content;
        padding-right: 0
    }

    #header #menu-toggle .nav-list .parent .sub-menu {
        display: none;
        position: unset;
        width: auto;
        transform: unset;
        padding-top: 27px
    }

    #header #menu-toggle .nav-list .parent .sub-menu ul {
        background: rgba(0, 0, 0, 0);
        color: #fff;
        padding: 0
    }

    #header #menu-toggle .nav-list .parent .sub-menu ul li {
        margin: 0
    }

    #header #menu-toggle .nav-list .parent .sub-menu ul li+li {
        margin-top: 17px
    }

    #header #menu-toggle .nav-list .parent .sub-menu ul li a {
        font-size: 14px;
        line-height: 28px;
        padding-left: 0
    }

    #header #menu-toggle .nav-list .parent .sub-menu ul li a::before {
        display: none
    }

    #header #menu-toggle .nav-list .parent.active::before {
        background-image: url("../img/icons/ico_arrow2.png")
    }

    #header #menu-toggle .nav-list .parent.active .sub-menu {
        display: block
    }
}

#hamburger {
    position: fixed;
    top: 19px;
    right: 20px;
    width: 30px;
    height: 32px;
    filter: drop-shadow(0px 0px 10px #000);
    z-index: 1000
}

#hamburger::after {
    content: "MENU";
    position: absolute;
    font-family: "Shippori Mincho", serif;
    text-align: center;
    bottom: 0;
    left: -6px;
    right: -6px;
    color: #fff;
    font-size: 8px;
    font-weight: bold;
    line-height: 1;
    letter-spacing: .1em
}

#hamburger .menu-trigger {
    position: relative;
    width: 100%;
    height: 16px
}

#hamburger .menu-trigger span {
    position: absolute;
    display: block;
    background: #fff;
    width: 100%;
    height: 1px;
    left: 0;
    transition: .3s
}

#hamburger .menu-trigger span:nth-child(1) {
    top: 0
}

#hamburger .menu-trigger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%)
}

#hamburger .menu-trigger span:nth-child(3) {
    bottom: 0
}

#hamburger.active::after {
    content: "CLOSE"
}

#hamburger.active .menu-trigger span:nth-child(1) {
    top: calc(50% + 3px);
    transform: rotate(37deg) translateY(-50%)
}

#hamburger.active .menu-trigger span:nth-child(2) {
    opacity: 0
}

#hamburger.active .menu-trigger span:nth-child(3) {
    top: calc(50% + 3px);
    bottom: 0;
    transform: rotate(-37deg) translateY(-50%)
}

#contact {
    background: url("../img/shared/contact_bg.jpg") no-repeat center/cover;
    padding: 90px 30px 107px
}

#contact h2 {
    text-align: center;
    color: #fff;
    font-size: 32px;
    font-weight: 500;
    line-height: 45px;
    letter-spacing: .05em
}

#contact .txt {
    text-align: center;
    color: #fff;
    margin: 30px -30px 0;
}

#contact .group-link {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 1127px;
    margin: 50px auto 0
}

#contact .group-link li {
    max-width: 540px;
    width: 100%
}

#contact .group-link li a {
    display: block;
    overflow: hidden;
    position: relative;
    z-index: 1
}

#contact .group-link li a::before {
    content: "";
    position: absolute;
    background-color: rgba(255, 255, 255, .2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    inset: 0;
    z-index: -1
}

@media screen and (max-width: 767px) {
    #contact {
        background-image: url("../img/shared/contact_bg_sp.jpg");
        padding: 47px 20px 80px
    }

    #contact h2 {
        font-size: 24px
    }

    #contact .group-link {
        flex-direction: column;
        margin-top: 43px
    }

    #contact .group-link li {
        max-width: unset;
        width: auto
    }
}

#links {
    padding: 60px 20px
}

#links ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1208px;
    margin: 0 auto;
    row-gap: 50px
}

#links ul li a {
    display: block
}

#links ul li:nth-child(1),
#links ul li:nth-child(5) {
    width: 100%
}

#links ul li:nth-child(1) a,
#links ul li:nth-child(5) a {
    margin: 0 auto
}

#links ul li:nth-child(1) a {
    width: 31.7052980132%;

}

#links ul li:nth-child(2) {
    width: 28.9735099338%;
    display: none;
}

#links ul li:nth-child(3) {
    width: 28.9735099338%
}

#links ul li:nth-child(4) {
    width: 37.0860927152%
}

#links ul li:nth-child(5) a {
    width: 43.2119205298%
}

@media screen and (min-width: 768px) {

    #links ul li:nth-child(3),
    #links ul li:nth-child(4) {
        margin: 0 10px;
    }
}

@media screen and (max-width: 767px) {
    #links {
        padding: 42px 35px
    }

    #links ul {
        flex-direction: column;
        row-gap: 20px
    }

    #links ul li {
        width: 100% !important
    }

    #links ul li a {
        width: 100% !important
    }
}

#footer {
    background: #1baecf;
    color: #fff;
    padding: 40px 0 52px;
    font-size: 12px;
    line-height: 21px
}

#footer * {
    letter-spacing: .1em
}

#footer .logo {
    width: 300px
}

#footer .logo a {
    display: block
}

#footer .info {
    margin-top: 64px
}

#footer .sitemap {
    margin-top: 28px
}

#footer .sitemap a:hover {
    text-decoration: underline
}

#footer address {
    margin-top: 45px
}

@media screen and (max-width: 767px) {
    #footer address {
        font-size: 10px
    }
}

#fixed-btn {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 999
}

#fixed-btn ul {
    display: flex;
    justify-content: flex-end;
    gap: 10px
}

#fixed-btn ul li:nth-child(1) {
    display: none;
}

#fixed-btn ul li a {
    position: relative;
    display: block;
    z-index: 1
}

#fixed-btn ul li a::before {
    content: "";
    position: absolute;
    background-color: rgb(35 175 210 / 85%);
    inset: 0;
    z-index: -1;
}

#fixed-btn ul li a img {
    width: auto;
    height: 40px
}

@media screen and (max-width: 767px) {
    #fixed-btn {
        bottom: 9px;
        left: 9px;
        right: 9px
    }

    #fixed-btn ul li {
        width: 43.8172043011%
    }

    #fixed-btn ul li a img {
        width: 100%;
        height: auto
    }

    #fixed-btn ul li:last-child {
        width: 9.6774193548%
    }
}

.navOpen #header #menu-toggle {
    opacity: 1;
    visibility: visible;
    pointer-events: all
}

body.navOpen {
    touch-action: none !important;
    pointer-events: none !important
}

body.navOpen,
body.navOpen #menu-toggle {
    touch-action: auto !important;
    pointer-events: visible !important
}

.navOpen {
    overflow: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: none !important;
    pointer-events: none !important
}