@import "default_r.css";

body {
    overflow-x: hidden;
    line-height: 2;
}

.BodyMain {
    font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}
@media print, screen and (min-width: 960px) {
    .BodyMain {
        margin: 185px auto 5px;
    }
    #society,
    #plan,
    #hall,
    #counsel,
    #goods,
    #floral,
    #useful,
    #contact {
        margin-top: -185px;
        padding-top: 185px;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .BodyMain {
        margin: 70px auto 5px;
    }
    #society,
    #plan,
    #hall,
    #counsel,
    #goods,
    #floral,
    #useful,
    #contact {
        margin-top: -70px;
        padding-top: 70px;
    }
}
@media screen and (max-width: 519px) {
    .BodyMain {
        margin: 60px auto 85px;
    }
    #society,
    #plan,
    #hall,
    #counsel,
    #goods,
    #floral,
    #useful,
    #contact {
        margin-top: -60px;
        padding-top: 60px;
    }
}

.clear {
    clear: both;
}

.mark {
    font-size: 80%;
    margin: 0 0.5em 0 0;
    color: #6a1686;
}

section {
    width: 100% !important;
    max-width: unset;
}
@media print, screen and (min-width: 960px) {
    section {
        padding: 5rem 0;
    }
    .counsel {
        padding: 5rem 0 0;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    section {
        padding: 3.5rem 0;
    }
}
@media screen and (max-width: 519px) {
    section {
        padding: 2.5rem 0;
    }
}
.topics,
.plan,
.hall,
.useful {
    background: #f2f2f2;
}
.topicsW {
    background: #4c216d;
}
.counsel,
.floralOrder {
    background: #eee5f7;
}

header {
    background: #fff;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1002;
}
.container {
    width: 95%;
}
@media print, screen and (min-width: 960px) {
    .container {
        max-width: 1280px;
    }
    header .container {
        max-width: 1230px;
        width: 98%;
    }
    .tablet-sp-img,
    .tablet-sp-contact {
        display: none !important;
    }
}
@media screen and (max-width: 959px) {
    header .pc-contact1,
    .pc-img,
    .pc-space {
        display: none !important;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .pc-sp-br {
        display: none !important;
    }
}
@media screen and (min-width: 520px) {
    .sp-br,
    .sp-fix-freedial {
        display: none !important;
    }
}
@media screen and (max-width: 519px) {
    .pc-tablet-br,
    .pc-tablet-space {
        display: none !important;
    }
}

.title {
    float: left;
}
@media print, screen and (min-width: 960px) {
    .title img {
        width: 450px;
        margin: 5px 0;
    }
    .pc-contact1 {
        font-size: 1.2rem;
        color: #6a1686;
        top: 15%;
    }
    .pc-contact1 span {
        font-size: 125%;
        margin: 0 3px;
    }
    .pc-contact1 img {
        max-height: 55px;
        margin: -22px 8px 0;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .title img {
        max-height: 70px;
        margin: 0 10px;
    }
}
@media screen and (max-width: 519px) {
    .title img {
        max-height: 57px;
        margin: 0 0 3px 3px;
    }
    .sp-fix-freedial {
        display: flex;
        justify-content: center;
    }
    .sp-fix-freedial img {
        max-width: 95%;
        margin: 5px 0;
    }
    .sp-fix-freedial p {
        margin: 0;
    }
    .sp-fix-freedial a {
        display: flex;
        justify-content: space-evenly;
        font-size: 85%;
        letter-spacing: -0.1rem;
        text-shadow: 1px 2px 1px rgba(255, 255, 255, 0.7);
        line-height: 1.65;
        align-items: center;
        margin: 0 3px 10px;
        padding: 7px 5px 5px;
        background: #f8f8f8;
        border-radius: 0.8em;
        box-shadow: 0px 4px 10px -2px rgba(0, 0, 0, 0.7);
    }
}

.linkEmergency,
.linkCounsel {
    background: unset;
}
@media print, screen and (min-width: 960px) {
    .menu {
        max-width: unset;
        background: #f8f8f8;
    }
    .nav1_1 ul {
        position: relative;
        max-width: 1230px;
        width: 98%;
        margin: auto;
    }
    .nav1_1 .menu-item2:nth-child(1),
    .nav1_1 .menu-item2:nth-child(2) {
        position: absolute;
        width: unset;
        padding: 0 5rem;
        top: -45px;
        right: 0;
        height: unset;
        border: none;
    }
    .nav1_1 .menu-item2:nth-child(1) {
        margin: 0 15rem 0 -15rem;
    }
    .linkEmergency,
    .linkCounsel {
        position: relative;
        display: inline-block;
    }
    .linkEmergency::after,
    .linkCounsel::after {
        display: block;
        content: "";
        position: absolute;
        top: 40%;
        margin-top: -3px;
        border: 6px solid transparent;
        left: -15px;
        border-left: 7px solid #333;
        transition-duration: 200ms;
    }
    .nav1_1 .menu-item2:nth-child(3),
    .nav1_1 .menu-item2:nth-child(4),
    .nav1_1 .menu-item2:nth-child(5) {
        position: fixed;
        top: 480px;
        right: 0;
        z-index: 5000;
        float: none;
        width: 85px;
        height: 85px;
        margin: 0 0.05rem;
        padding: 0.5rem;
        border-radius: 50%;
        border: 1px solid #6a1686 !important;
        background: #eee5f7;
    }
    .nav1_1 .menu-item2:nth-child(3) {
        top: 250px;
        background: #b9fad7 !important;
    }
    .nav1_1 .menu-item2:nth-child(4) {
        top: 365px;
    }
    .nav1_1 .menu-link {
        font-weight: bold;
        font-size: 1.15rem;
        letter-spacing: 0.07rem;
        line-height: 1.5;
        color: #333;
        text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.75);
    }
    .nav1_1 .menu-item2:nth-child(3) .menu-link,
    .nav1_1 .menu-item2:nth-child(4) .menu-link,
    .nav1_1 .menu-item2:nth-child(5) .menu-link {
        display: flex;
        flex-direction: column;
        justify-content: center;
        font-size: 0.9rem;
        letter-spacing: -0.05rem;
    }
    .nav2 {
        max-width: 1280px;
        margin: 0 auto;
    }
    .menu-inner {
        justify-content: space-around;
    }
    .menu-item1,
    .menu-item2 {
        width: 14.2%;
    }
    .menu-item1:hover,
    .nav2 .menu-item2:hover {
        background: #6a1686;
    }
    .menu-item1:hover .menu-link,
    .nav2 .menu-item2:hover .menu-link {
        color: #fff;
        text-shadow: 1px 2px 1px rgba(0, 0, 0, 0.85);
    }
    .menu-item1::after {
        border: none;
        margin-left: 20px;
    }
    .menu-item1:hover::after {
        border: none;
    }
    .menu-link {
        font-size: 1rem;
        color: #000;
        text-shadow: 1px 2px 2px rgba(255, 255, 255, 0.5);
    }
    .menu-link span {
        margin: 0;
    }
    /* メガメニュー */
    .menu-contents {
        display: none;
    }
    .pc-menu {
        border-top: none;
        padding: 3rem 0 1rem;
    }
    .pc-menu .category {
        border-left: 4px solid #6a1686;
    }
}
@media screen and (max-width: 959px) {
    .tablet-sp-header-inner {
        height: 70px;
        border-bottom: 1px solid #dcdcdc;
    }
    .tablet-sp-menubtn {
        height: 90%;
        background: #6a1686;
    }    
    .menu {
        top: 70px;
        height: calc(100% - 70px);
        background: rgba(0, 0, 0, 0.6);
    }
    .menu-item1,
    .menu-item2 {
        background: #f8f8f8;
    }
    .menu-item1::after {
        top: 22px;
        border-top: 2px solid #5f5f5f;
        border-right: 2px solid #5f5f5f;
    }
    .menu-item1 .menu-link,
    .menu-item2 .menu-link {
        height: 60px;
        padding-left: 20px;
        font-weight: normal;
        color: #000;
        text-shadow: 1px 2px 2px rgba(255, 255, 255, 0.85);
    }
    .nav1_1 .menu-item2:nth-child(3),
    .nav1_1 .menu-item2:nth-child(4),
    .nav1_1 .menu-item2:nth-child(5) {
        background: #eee5f7;
    }
    .nav1_1 .menu-item2:nth-child(3) {
        background: #b9fad7 !important;
    }
    .nav1_1 .menu-item2 img {
        height: 45px;
    }
    .nav1_1 .menu-item2 .menu-link {
        font-weight: bold;
    }
    /* アコーディオン */
    .menu-contents {
        background: rgba(235, 204, 240, 0.95);
        margin: 0;
        padding: 10px 0;
    }
    .menu-contents ul li {
        padding: 7px 20px;
    }
    .menu-contents ul li a {
        color: #000;
        text-shadow: 1px 2px 2px rgba(255, 255, 255, 0.75);
    }
}
@media screen and (max-width: 519px) {
    .tablet-sp-header-inner {
        height: 60px;
    }
    .menu {
        top: 60px;
    }
}

.btnLink1 {
    position: relative;
    display: inline-block;
    margin: 20px 3px;
    padding: 10px 40px 10px 25px;
    text-align: center;
    background: #fff;
    border: 1px solid #6a1686;
    z-index: 10;
}
.btnLink1::after {
    display: block;
    content: "";
    position: absolute;
    top: 42%;
    margin-top: -2px;
    border: 6px solid transparent;
    right: 10px;
    border-left: 7px solid #333;
    transition-duration: 200ms;
}
.btnLink1:hover,
.btnLink1:focus {
    background: #eee5f7;
}
@media screen and (max-width: 519px) {
    .btnLink1 {
        margin: 10px;
    }
}
.btnLink2 {
    position: relative;
    display: inline-block;
}
.btnLink2::after {
    display: block;
    content: "";
    position: absolute;
    top: 40%;
    margin-top: -3px;
    border: 6px solid transparent;
    left: -15px;
    border-left: 7px solid #333;
    transition-duration: 200ms;
}

.sideLink {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    margin: 25px 0 0;
}
#counsel .sideLink {
    justify-content: center;
}
#wanted .sideLink {
    position: absolute;
    right: 0;
    bottom: 10%;
    z-index: 2;
}
#counsel .sideLink a,
#wanted .sideLink a {
    margin: 20px 40px;
}
#butsudan .sideLink a {
    margin: 5px;
}
#contact .sideLink {
    margin: 0;
}
@media screen and (max-width: 959px) {
    .sideLink {
        margin: 0;
    }
    #counsel .sideLink a {
        margin: 20px;
    }
    #contact .sideLink {
        margin: 0;
        max-width: 520px;
        display: inline-block;
    }
    #contact .btnLink1 {
        width: 30%;
        margin: 20px 10px;
    }
}
@media screen and (max-width: 519px) {
    #contact .btnLink1 {
        width: 40%;
        margin: 10px 0;
        padding: 5px 40px 5px 25px;
    }
}

h2 {
    font-weight: normal;
}
.mainTxt {
    font-size: 1.1rem;
    text-align: justify;
    margin: 0 1.5rem 1rem;
    padding: 1.5rem 0;
}
.copy {
    letter-spacing: 0.05rem;
    color: #6a1686;
    margin: 0 0 1rem;
}
.topicsW .copy,
#society .copy,
#director .copy,
#wanted .copy {
    color: #fff;
}
@media print, screen and (min-width: 960px) {
    .copy {
        font-size: 2.2rem;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .copy {
        font-size: 1.8rem;
    }
}
@media screen and (max-width: 519px) {
    .copy {
        font-size: 1.5rem;
    }
}

.rslides {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
}
.rslidesW,
.rslides img {
    width: 100%;
    max-width: 960px;
}
@media screen and (max-width: 959px) {
    .rslidesW,
    .rslides img {
        max-width: 98%;
    }
}

.topicsW .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    margin: -30px auto 0;
}
.topicsListW {
    width: 65%;
}
.instaW {
    width: 30%;
}
.instaW .logo {
    height: 50px;
    filter: drop-shadow(-1px 1px 4px #fff);
    margin: 10px 0 25px;
}
.topicsBox,
.instagramBox {
    height: 465px;
    vertical-align: top;
    overflow: auto;
    border: 1px solid #dcdcdc;
    background: #fff;
    line-height: 25px;
    font-size: 85%;
    letter-spacing: 0.05rem;
}
.topicsBox ul {
    display: flex;
    border-bottom: 1px dotted #dcdcdc;
}
.topicsBox li {
    width: 85%;
    padding: 1rem;
}
.topicsBox li.date {
    width: 70px;
}
.topicsBox li.txt {
    display: flex;
    justify-content: space-between;
}
.topicsBox li img {
    max-width: 150px;
    height: fit-content;
    margin: 0 10px 0 20px;
    border: 1px solid #dcdcdc;
}
.topicsBox a:hover {
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=70)";
}

.instagramBox {
    overflow-x: hidden;
    text-align: center;
}
.instaList {
    list-style: none;
    margin: 0;
}
.instaList img {
    height: 130px;
    margin: 5px auto 10px;
}
.instaList li {
    margin: 5px;
    padding: 10px;
    border-bottom: 1px solid #dcdcdc;
}
.instaList li p {
    text-align: left;
}
.instaList li:last-child {
    border: none;
}
.instaList li:last-child img {
    height: 32px;
}
@media screen and (max-width: 959px) {
    .topicsW .container {
        flex-direction: column;
    }
    .topicsListW,
    .instaW {
        width: 95%;
    }
    .topicsBox,
    .instagramBox {
        height: 300px;
    }
    .topicsBox {
        margin: 0 auto 30px;
    }
    .topicsBox li img {
        max-width: 120px;
    }
    .instaList img {
        height: 100px;
    }
}
@media screen and (max-width: 519px) {
    .topicsListW {
        margin-top: 15px;
    }
    .topicsBox ul {
        display: block;
    }
    .topicsBox li.date {
        width: unset;
        margin: 0 0 -25px;
    }
    .topicsBox li.txt {
        width: unset;
        flex-direction: column;
        align-items: center;
    }
    .topicsBox li img {
        margin: 10px 0;
    }
}

.conW {
    display: flex;
    align-items: center;
    position: relative;
    height: 450px;
}
#plan .conW {
    height: 500px;
}
@media screen and (max-width: 767px) {
    #plan .conW {
        height: 650px;
    }
}
#counsel .conW {
    height: 250px;
}
#director .conW,
#wanted .conW {
    height: 300px;
}
#butsudan .conW {
    height: 150px;
}
.conW .photo {
    position: absolute;
    top: 0;
    right: 0;
}
.conW .txt {
    position: absolute;
    top: 5%;
    z-index: 2;
    text-align: left;
    padding: 2rem;
}
#society .conW .txt,
#director .conW .txt,
#wanted .conW .txt,
#butsudan .conW .txt {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
}
#plan .conW .txt,
#counsel .conW .txt,
#floral .conW .txt {
    background: rgba(255, 255, 255, 0.7);
}
@media print, screen and (min-width: 960px) {
    #plan .conW .txt {
        padding: 2rem 5rem 2rem 2rem;
    }
}
@media screen and (max-width: 959px) {
    #floral .conW {
        height: 550px;
    }
    .conW .txt {
        width: 80%;
        top: -10%;
        left: 50%;
        transform: translate(-50%, 5%);
    }
    #director .conW,
    #wanted .conW {
        height: 400px;
    }
    #director .conW .txt,
    #wanted .conW .txt {
        top: 30%;
    }
}
@media screen and (max-width: 519px) {
    #floral .conW {
        height: 600px;
    }
}

.societyPrice {
    font-size: 180%;
    padding: 0 0.2rem;
}
@media screen and (max-width: 959px) {
    #society .sideLink {
        flex-direction: column;
    }
}

.planLink {
    position: absolute;
    z-index: 2;
    display: flex;
    text-align: left;
}
.planLink dl {
    position: relative;
}
.planLink dt {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    padding: 1.5rem 1rem;
}
.planLink dd {
    display: inline-block;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 2rem;
}
.planLink a:hover {
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=70)";
}
@media print, screen and (min-width: 960px) {
    .planLink {
        max-width: 900px;
        left: 65% !important;
        transform: translate(-55%, 0) !important;
    }
}
@media screen and (min-width: 768px) and (max-width: 959px)  {
    .planLink {
        max-width: 730px;
        left: 50%;
        transform: translate(-50%, 0);
    }
}
@media screen and (min-width: 768px)  {
    .planLink {
        bottom: 0;
        justify-content: space-around;
        align-items: center;
    }
    .planLink dl {
        width: 180px;
        -webkit-writing-mode: vertical-rl;
        -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
        margin: 0 2rem;
    }
    .planLink dt {
        top: -20px;
    }
    .planLink dd {
        height: 250px;
        margin-right: 45px;
    }
}
@media screen and (max-width: 767px) {
    .planLink {
        flex-direction: column;
        bottom: 0;
        left: 50%;
        transform: translate(-50%, 0);
    }
    .planLink dt {
        position: relative;
        top: 25px;
        left: -50;
        display: inline;
        padding: 1rem;
    }
    .planLink dd {
        display: block;
        width: 250px;
        margin: 0 0 15px;
    }
}
@media screen and (max-width: 519px) {
    .planLink dt {
        top: 20;
        left: -15;
    }
    .planLink dd {
        width: 230px;
    }
}

#counselTxt {
    background: url(../images/photo_counsel2.jpg) 50% 50%;
    padding: 3rem 0;
    margin: 6.5rem 0 0;
}
#counselTxt .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.counselTxt {
    display: block;
    width: 40%;
    height: 15rem;
    border: 1px solid #6a1686;
    background: rgba(255, 255, 255, 0.75);
    padding: 1.5rem 2rem 2rem;
    margin: 0 0.5rem;
}
.counselTxt p {
    text-align: left;
    display: inline-block;
}
@media screen and (max-width: 767px) {
    #counselTxt {
        background: url(../images/photo_counsel2-sp.jpg) 50% 50%;
        padding: 2rem 0;
        margin: 2rem 0 -3.5rem;
    }
    #counselTxt .container {
        flex-wrap: wrap;
        justify-content: center;
    }
    .counselTxt {
        width: 400px;
        height: auto;
        margin: 1rem;
    }
}
@media screen and (max-width: 519px) {
    #counselTxt {
        margin: 2rem 0 -2.5rem;
    }
    .counselTxt {
        width: 80%;
    }
}

.hallType {
    font-size: 160%;
    text-align: left;
    padding: 0.5rem 0 1rem;
    display: flex;
    align-items: center;
}
.hallType:after {
    border-top: 1px solid #dcdcdc;
    content: "";
    flex-grow: 1;
    margin-left: 1em;
}
.hallList {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 0 5rem;
}
.hallList a {
    width: 30%;
    display: block;
    position: relative;
}
.hallList::before {
    content: "";
    display: block;
    width: 30%;
    order: 1;
}
.hallList dt {
    position: absolute;
    bottom: -3.2rem;
    font-size: 115%;
}
.hallList .area {
    position: absolute;
    top: 5%;
    left: -10px;
    padding: 0.5rem 1rem 0.3rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
}
@media screen and (max-width: 959px) {
    .hallType {
        font-size: 140%;
    }
    .hallList {
        justify-content: space-around;
        margin: 0 0 1rem;
    }
    .hallList a,
    .hallList::before {
        width: 43%;
    }
    .hallList dl {
        margin: 0 0 75px;
    }
    .hallList dt {
        bottom: 2rem;
        font-size: 100%;
    }
}
@media screen and (max-width: 519px) {
    .hallList {
        flex-direction: column;
        align-content: space-around;
    }
    .hallList a,
    .hallList::before {
        width: 85%;
        max-width: 250px;
    }
}

.floralOrder {
    padding: 5rem 0 8rem;
}
.floralOrderTxt {
    font-size: 90%;
    padding: 0.7rem 0 0.5rem;
}
.floralOrderLink {
    position: absolute;
    bottom: -20%;
    right: 5%;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    text-align: left;
    padding: 1rem;
}
.floralOrderLink li {
    padding: 0.35rem 1.5rem 0.35rem 2.5rem;
}
.floralOrderLink a {
    color: #fff;
}
.floralOrderLink .btnLink2::after {
    border-left: 7px solid #fff;
}
@media screen and (max-width: 959px) {
    .floralOrderLink {
        width: max-content;
        bottom: -35%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}
@media screen and (max-width: 519px) {
    .floralOrderLink {
        width: 95%;
        bottom: -10%;
        transform: translate(-50%, 0);
    }
}

.goodsList {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 5rem 0 -2rem;
}
.goodsList a {
    width: 23%;
    display: block;
    position: relative;
}
.goodsList::before {
    content: "";
    display: block;
    width: 23%;
    order: 1;
}
.goodsList dt {
    position: absolute;
    top: -20%;
    left: -10px;
    padding: 1rem 0.5rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
}
@media screen and (max-width: 959px) {
    .goodsList {
        justify-content: space-around;
        margin: 5rem 0 -5rem;
    }
    .goodsList a {
        width: 43%;
    }
    .goodsList dl {
        margin: 0 0 75px;
    }
    .goodsList dt {
        top: -10%;
    }
}

#butsudan .txt {
    top: -30%;
    left: 50%;
    transform: translate(-50%, -30%);
    text-align: center;
    width: max-content;
}
@media screen and (max-width: 959px) {
    #butsudan .txt {
        width: 80%;
    }
    .butsuTxt {
        text-align: left;
        margin: 0 0 25px;
    }
}

.usefulList {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    margin: 25px 0;
}
.usefulList a {
    width: 130px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    text-shadow: 1px 2px 1px rgba(0, 0, 0, 1);
    border-radius: 50%;
    border: 1px solid #333;
    margin: 10px;
}

.topVideo {
    position: relative;
    padding-top: 56.25%;
    width: 100%;
}
.topMovie {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
@media print, screen and (min-width: 960px) {
    .topVideo {
        top: -25px;
    }
}

.cust {
    position: relative;
}
.cust .container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.custTitle img {
    max-height: 120px;
}
.custTel img {
    height: 70px;
}
.custAdd,
.custPhone,
.custTxt {
    padding: 1rem 0 0;
}
@media screen and (max-width: 959px) {
    .custTitle img {
        max-height: 100px;
    }
}
@media screen and (max-width: 429px) {
    .custTitle img {
        max-height: 75px;
    }
}

.custLink {
    display: inline-block;
    padding: 2rem 0.5rem 0.5rem;
}
.custBanner img {
    height: 50px;
    margin: 10px 0 2rem;
    vertical-align: middle;
}
@media screen and (max-width: 519px) {
    .custLink {
        text-align: left;
    }
    .custBanner img {
        height: 40px;
    }
}

.copyright {
    border-top: 1px solid #dcdcdc;
    padding: 1.5rem 0 1rem;
}
@media screen and (max-width: 519px) {
    .copyright {
        padding: 1.2rem 0 0.5rem;
    }
    #fix {
        width: 100%;
        position: fixed;
        left: 0;
        bottom: 0;
        z-index: 1002;
    }
}


.layer_board_bg,
.layer_board {
    position: absolute;
}
.layer_board_bg {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 2000;
    top: 0;
    left: 0;
    display: none;
    cursor: pointer;
    background: #000;
}
.layer_board {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    z-index: 9999;
    width: 100%;
    max-width: 1280px;
}
.layer_board p {
    font-size: 170%;
    color: #fff;
    margin: 0 0 3rem;
}
.layer_board ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    background: unset;
}
.layer_board li {
    position: relative;
    width: 25%;
    margin: 1rem;
    padding: 1rem;
    background: #fff;
}
.layer_board li::after {
    display: block;
    content: "";
    position: absolute;
    top: 42%;
    margin-top: -2px;
    border: 6px solid transparent;
    right: 10px;
    border-left: 7px solid #333;
    transition-duration: 200ms;
}
@media screen and (max-width: 959px) {
    .layer_board {
        top: 20%;
        transform: translate(-50%,-20%);
    }
    .layer_board .menu {
        position: unset;
        visibility: unset;
        text-shadow: unset;
        overflow: unset;
        opacity: unset;
    }
    .layer_board li {
        width: 35%;
    }
}
@media screen and (max-width: 519px) {
    .layer_board {
        top: 10%;
        transform: translate(-50%,-10%);
    }
    .layer_board p {
        font-size: 135%;
        margin: 0 0 1rem;
    }
    .layer_board li {
        width: 65%;
        margin: 0.7rem 0;
        padding: 0.5rem 1rem;
    }
}
.btn_close {
    display: block;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    font-size: 60px;
}
