@font-face {
    font-family: 'Alegreya';
    font-weight: 400;
    font-style: normal;
    src: url('./disciples/fonts/Alegreya-Regular.woff2') format('woff2'),
         url('./disciples/fonts/Alegreya-Regular.woff') format('woff');
}

@font-face {
    font-family: 'Alegreya SC';
    font-weight: 400;
    font-style: normal;
    src: url('./disciples/fonts/AlegreyaSC-Regular.woff2') format('woff2'),
         url('./disciples/fonts/AlegreyaSC-Regular.woff') format('woff');
}

@font-face {
    font-family: 'Alegreya SC';
    font-weight: 700;
    font-style: normal;
    src: url('./disciples/fonts/AlegreyaSC-Bold.woff2') format('woff2'),
         url('./disciples/fonts/AlegreyaSC-Bold.woff') format('woff');
}

/*------------
General Styles
------------*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.youtube {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.youtube iframe {
  width: 100%;
  height: 100%;
}

table {
  margin: 20px auto;
font-size: 1rem;
/*width: 100%;*/
}
.tbl-r02 th {
border: solid 1px #d4b273;
  color: #fff;
  padding: 10px;
}
.tbl-r02 td {
border: solid 1px #d4b273;
padding: 3px;
color: #fff;
line-height: 1.4rem;
}


@media screen and (max-width:800px){
table {
font-size: 1rem;
}
  .last td:last-child {
    border-bottom: solid 1px #ccc;
    width: 100%;
  }
  .tbl-r02 {
    width: 100%;
  }
  .tbl-r02 th,
  .tbl-r02 td {
　　border-bottom: none;
    display: block;
    width: 100%;
  }
	.tbl-r02 th{
		border-bottom: 1px solid #d4b273; 
		color: #d4b273;
		font-weight: 700;
	}
}

:root {
    --keycol: #D4B273;
    --highlight: #00BAD1;
}

body {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    justify-items: center;
    font-family: 'Alegreya', serif;
    font-size: 1.2rem;
    background-color: #141314;
    background-image: url(./disciples/img/bg.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

/*---------
Text styles
---------*/

h1, h2 {
    margin-bottom: 1rem;
    font-family: 'Alegreya SC', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    color: var(--keycol);
}

p {
    color: var(--keycol);
    margin-bottom: 1rem;
}

h3.aaa{
    color: #2a0f04 !important;
    font-family: "Noto Sans JP";
    letter-spacing: -0.04em;
    margin-bottom: 3%;
}
p.bbb{
    color: #412717;
    font-family: "Noto Sans JP";
    letter-spacing: -0.04em;
    font-size: 0.8em;
    line-height: 1.5em;
}


#apply h2, #apply p {
    text-align: left;
}

footer p {
    font-size: .8rem;
}

p:last-of-type {
    margin-bottom: 0;
}

a {
    color: var(--highlight);
}

/*---------------
Inputs and Labels
---------------*/

input {
    margin-bottom: 1rem;
}

input[type='email'], input[type='text'], input[type='number'] {
    margin: 0 auto 1rem auto;
    padding: .5rem;
    font-family: 'Alegreya', serif;
    font-size: 1.2rem;
    background: var(--keycol);
    border: 0;
}

input[type='email']:focus, input[type='text']:focus {
    outline: 1px solid var(--highlight);
}

label {
    font-family: 'Alegreya SC', serif;
    color: var(--keycol);
}

label[for="privacy"] {
    font-family: 'Alegreya', serif;
}

/*-------------
Discples Button
-------------*/

.btn {
    position: relative;
    margin: 1rem 52px 0 52px;
    padding: 0 2rem;
    height: 78px;
    font-family: 'Alegreya SC', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--keycol);
    background: transparent;
    background-image: url(./disciples/img/btn/btn_center.png);
    border: 0;
}

a.btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    text-align: center;
}

.btn:hover {
    background-image: url(./disciples/img/btn/btn_center_hvr.png);
}

.btn::before, .btn::after {
    display: block;
    position: absolute;
    top: 0;
    width: 52px;
    height: 78px;
    content: '';
}

.btn::before {
    left: -52px;
    background-image: url(./disciples/img/btn/btn_left.png);
}

.btn:hover::before {
    background-image: url(./disciples/img/btn/btn_left_hvr.png);
}

.btn::after {
    right: -52px;
    background-image: url(./disciples/img/btn/btn_right.png);
}

.btn:hover::after {
    background-image: url(./disciples/img/btn/btn_right_hvr.png);
}

/*------
Age Gate
------*/

#age-gate {
    grid-column: 2 / 3;
    padding-top: 8rem;
    text-align: center;
}

.inputs {
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
}

label[for="month"], label[for="day"], label[for="year"] {
    grid-row: 1 / 2;
}

#month, #day, #year {
    grid-row: 2 / 3;
    text-align: center;
}

/*----
Header
----*/

header {
    grid-column: 2 / 3;
    padding-top: 2rem;
    text-align: center;
}

#logo {
    width: 75%;
    margin-bottom: 4rem;
}

/*-----
Trailer
-----*/

#trailer, #trailer-thumb {
    grid-column: 2 / 3;
    width: 75%;
    margin: 0 auto 4rem auto;
}

.trailer, .trailer-thumb {
    position: relative;
}

.trailer-thumb {
    width: 100%;
}

.trailer-thumb picture, .trailer-thumb img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Play Button */

.play-btn {
    position: absolute;
    margin: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: 0;
}

.play-btn svg {
    width: 150px;
    height: 150px;
    fill: #7D5F26;
    opacity: .8;
}

.play-btn svg:hover {
    opacity: 1;
}

/* YouTube Embed */

.trailer {
    height: 0;
    padding-bottom: 56.25%;
}

.trailer iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*--------
Newsletter
--------*/

#newsletter {
    grid-column: 2 / 3;
    width: 75%;
    margin: 0 auto 4rem auto;
    padding: 1rem 0;
    text-align: center;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5) 15%, rgba(0, 0, 0, .75) 40%, rgba(0, 0, 0, .75) 60%, rgba(0, 0, 0, .5) 85% , rgba(0, 0, 0, 0));
    border-top: 2px solid var(--keycol);
    border-bottom: 2px solid var(--keycol);
}

.nl-email {
    margin-top: 2rem;
}

label[for='email'] {
    margin-right: 1rem;
}

/*---------
Description
---------*/

#intro, #apply-intro, #desc, #apply {
    grid-column: 2 / 3;
    width: 75%;
    margin-bottom: 4rem;
}

#apply {
    text-align: center;
}

/*----------
Steam Widget
----------*/

#steam {
    grid-column: 2 / 3;
    width: 75%;
    margin-bottom: 2rem;
    margin-top: 3%;
}

#steam iframe {
    width: 100%;
}
#steam2 {
    grid-column: 2 / 3;
    width: 75%;
    margin-bottom: 4rem;
}
/*------
Sidebars
------*/

aside {
    grid-row: 1 / span 7;
}

#left {
    grid-column: 1 / 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

#left img {
    position: sticky;
    bottom: 0;
    width: 100%;
}

#right {
    grid-row: 2 / 7;
    grid-column: 3 / 4;
    width: 100%;
    padding-bottom: 4rem;
}

.social {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: sticky;
    top: 4rem;
    width: 100%;
    padding-right: 4rem;
}

.social img {
    width: 40px;
}

/*--------------
Application Form
--------------*/

#application {
    grid-column: 1 / span 3;
    margin-bottom: 4rem;
}

/*----
Footer
----*/

footer {
    grid-column: 1 / span 3;
    width: 100%;
    padding: 4rem;
    text-align: center;
    background: rgba(0, 0, 0, .75);
    border-top: 2px solid var(--keycol);
}

.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem 3rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.logo:last-of-type {
    margin-right: 0;
}

.logo img {
    object-fit: contain;
}

/*---------------
Responsive Styles
---------------*/

@media (max-width: 1274px) {
    #steam {
        width: 100%;
    }
}

@media (max-width: 1250px) {
    body {
        grid-template-columns: 1fr;
    }
    
    header {
        grid-row: 1 / 2;
        grid-column: 1 / 2;
    }
    
    #age-gate {
        grid-row: 2 / 3;
        grid-column: 1 / 2;
    }
    
    #apply {
        grid-row: 2 / 3;
        grid-column: 1 / 2;
    }
    
    #intro {
        grid-row: 3 / 4;
        grid-column: 1 / 2;
    }

    #apply-intro {
        grid-column: 1 / 2;
    }
    
    #trailer, #trailer-thumb {
        grid-row: 4 / 5;
        grid-column: 1 / 2;
    }
    
    #desc {
        grid-row: 5 / 6;
        grid-column: 1 / 2;
    }
    
    #newsletter {
        grid-row: 6 / 7;
        grid-column: 1 / 2;
    }
    
    #steam {
        grid-row: 7 / 8;
        grid-column: 1 / 2;
        width: 75%;
    }

    aside {
        height: 100%;
    }
    
    #right {
        grid-row: 8 / 9;
        grid-column: 1 / 2;
    }

    #application {
        grid-column: 1 / 2;
    }

    .social {
        position: static;
        flex-direction: row;
        justify-content: center;
        padding-right: 0;
    }

    .social a {
        margin-right: 2rem;
    }

    .social a:last-of-type {
        margin-right: 0;
    }

    #left img {
        display: none;
    }

    footer {
        grid-column: 1 / 2;
    }
}

@media (max-width: 638px) {
    #steam {
        /*display: none;*/
    }
}








