@charset "UTF-8";

/* ------------------------------------------------------------------------
reset
------------------------------------------------------------------------ */
*,
::after,
::before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html,
body,
header,
footer,
main,
div,
h1,
p,
dl,
dt,
dd,
ul,
li {
    margin: 0;
    padding: 0;
}

header,
footer,
main {
    display: block;
}

ul,
li {
    list-style: none;
}

body {
    line-height: 1;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Segoe UI',
        'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Meiryo UI', Meiryo,
        sans-serif;
    font-size: 12px;
    text-align: center;
}

img {
    border: 0;
    vertical-align: bottom;
    outline: none;
}

a {
    color: inherit;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

/* ------------------------------------------------------------------------
common
------------------------------------------------------------------------ */
body {
    background: #2A0000
        /* linear-gradient(to bottom, #1e5799 0%,#7db9e8 100%) */
    ;
}

/*
435px：左右背景のサイズ
465px：wrapperのwidth÷2
*/
.bg_body {
    background-image: url('../img/bg_ptrn.gif'), url('../img/bg.png');
    background-position: center top, center top;
    background-repeat: repeat-y, no-repeat;
}

#wrapper {
    margin: 0 auto;
    width: 930px;
}

header {
    padding: 0 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    height: 52px;
}

header::before,
header::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
}

header::before {
    bottom: 2px;
    background: repeating-linear-gradient(135deg,
            transparent,
            transparent 1px,
            #717171 1px,
            #717171 2px);
}

header::after {
    background: -webkit-gradient(linear,
            left top,
            left bottom,
            from(rgba(50, 50, 50, 1)),
            color-stop(5%, rgba(56, 56, 56, 1)),
            color-stop(20%, rgba(38, 38, 38, 1)),
            color-stop(50%, rgba(61, 61, 61, 1)),
            to(rgba(100, 100, 100, 0.8)));
    background: linear-gradient(to bottom,
            rgba(50, 50, 50, 1) 0%,
            rgba(56, 56, 56, 1) 5%,
            rgba(38, 38, 38, 1) 20%,
            rgba(61, 61, 61, 1) 50%,
            rgba(100, 100, 100, 0.8) 100%);
}

header a {
    margin: 5px 0 0 0;
    z-index: 1;
}

footer dl {
    border-top: 1px solid #969696;
    border-bottom: 1px solid #969696;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 84px;
    background: url('../img/bg_link.jpg') repeat-x center / contain;
    font-size: 12px;
}

footer dt {
    margin: 0 2em 0 0;
    font-weight: bold;
}

footer ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

footer li::after {
    margin: 0 0.5em;
    content: '｜';
}

footer li:last-child::after {
    margin: 0;
    content: none;
}

footer .copyright {
    padding: 20px;
    line-height: 1.6;
    -webkit-box-shadow: 0 5px 5px -2px #000 inset;
    box-shadow: 0 5px 5px -2px #000 inset;
    background: #000 repeating-linear-gradient(135deg,
            transparent,
            transparent 3px,
            #323232 3px,
            #323232 4px);
}

/* ------------------------------------------------------------------------
modal
------------------------------------------------------------------------ */
.modal_area {position: relative;}
.modal_ul {
    margin: auto;
    right: 0;
    left: 0;
    display: grid;
    position: absolute;    
    width: fit-content;
}
.modal_area a {
    display: block;
    width: 100%;
    height: 100%;
    background:#000;
    opacity: 0;
    transition: opacity .4s;
}
.modal_area a:hover {
    opacity: .3;
}

/* modal01_modal_area */
.modal01_modal_area ul {
    grid-template-columns: repeat(3,38.3%);
    top: 342px;
    left: -69px;
}
.modal01_modal_area li {
    width: 230px;
    height: 728px;
}

/* modal02_modal_area */
.modal02_modal_area ul {
    grid-template-columns: repeat(1,38.3%);
    top: 299px;
    left: 570px;
}
.modal02_modal_area li {
    width: 121px;
    height: 170px;
}

/* modal03_modal_area */
.modal03_modal_area ul {
    grid-template-columns: repeat(3,78.3%);
    top: 96px;
    left: -327px;
}
.modal03_modal_area li {
    width: 121px;
    height: 170px;
}

/* modal04_modal_area */
.modal04_modal_area ul {
    grid-template-columns: repeat(3,112%);
    top: 1078px;
    left: -250px;
}
.modal04_modal_area li {
    width: 202px;
    height: 286px;
}

/* modal05_modal_area */
.modal05_modal_area ul {
    grid-template-columns: repeat(1,112%);
    top: 455px;
    left: 452px;
}
.modal05_modal_area li {
    width: 202px;
    height: 286px;
}

/* modal06_modal_area */
.modal06_modal_area ul {
    grid-template-columns: repeat(1,112%);
    top: 545px;
    left: -173px;
}
.modal06_modal_area li {
    width: 224px;
    height: 315px;
}

/* modaal */
.modaal-container {background: none;}
.modaal-wrapper .modaal-close {
    position: absolute;
    right: -68px;
    top: -46px;
    width: 46px;
    height: 46px;
    background: url('../img/btn_close_off.png') no-repeat center;
}
.modaal-wrapper .modaal-close:hover {background-image: url('../img/btn_close_on.png');}
.modaal-wrapper .modaal-close::before,
.modaal-wrapper .modaal-close::after,
.modaal-wrapper .modaal-close span {display: none;}
.modaal-gallery-control {
    margin: auto;
    top: 0;
    bottom: 0;
    transform: none;
}
.modaal-gallery-prev {
    right: 110%;
    left: inherit;
}
.modaal-gallery-next {
    right: inherit;
    left: 110%;
}

/* ------------------------------------------------------------------------
card
------------------------------------------------------------------------ */
.card01 {
    margin: auto;
    position: absolute;
    top: 545px;
    left: -175px;
    right: 0;
    display: grid;
    gap: 60px;
    width: fit-content;
    grid-template-columns: repeat(1,1fr);
}

.card01 li {
    position: relative;
}

.card01 li:nth-of-type(1)::after,
.card01 li:nth-of-type(2)::after {
    margin: auto;
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    top: 0;
    width: 100%;
    height: 100%;
    content: '';
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.card01 li:nth-of-type(1)::after {
    background-image: url('../img/card01_frame.png');
}

.card01 li:nth-of-type(2)::after {
    background-image: url('../img/card02_frame.png');
}