html {
    scroll-behavior: smooth;
  }

body,
html {
	-webkit-text-size-adjust: 100%;
    font-family: "Klee One", cursive;
    font-weight: 400;
    font-style: normal;
}

body.en,
html.en {
	-webkit-text-size-adjust: 100%;
    font-family: 'EB Garamond', serif;
}

body {
    background-color: #FAF9F4;
    position: relative;
}

nav.links {
    width: 90%;
    position: absolute;
    top: 1em;
    left: 5%;
    display: flex;
    justify-content: space-between;
}
nav.links p {
    margin: 0;
    padding: 0;
}
p.archive {}
a.archive2022 {
    text-decoration: underline;
}
p.lang {
}

nav.links p a {
    text-decoration: underline;
}

nav.links p a:hover {
    text-decoration: none;
}

body, div, h1, h2, h3, h4, p, figure {
    margin: 0;
    padding: 0;
    font-weight: normal;
}

header {
    height: 65vh;
}

header.en{
    height: 70vh;
}

main {
    width: 100%;
}

h3 {
    height: 5vh;
}
p.arrow_to_below {
    height: 5vh;
    background: url(images/arrow.svg) no-repeat center top;
}

h1 {
    padding: 15vh 0 0 0;
    text-align: center;
    font-size: 3.2rem;
}

h1 span {
    font-size: 1.5rem;
    display: block;
    text-align: center;
    letter-spacing: 1rem;
}

h2 {
    margin: 0.25em 0;
    text-align: center;
    font-size: 1rem;
    line-height: 1.3;
}

p.date {
    margin: 4vh 0 0 0;
    text-align: center;
    font-size: 1rem;
}
p.time {
    margin: 0 0 4vh 0;
    text-align: center;
    font-size: 1rem;
}

h3 {
    /* margin: 0 0 7vh 0;
    text-align: center;
    font-size: 1.5rem; */
    margin: 0 0 8vh 0;
    text-align: center;
    font-size: 1.7rem;
}

h3.en {
    text-decoration: underline;
}


h3.en_noline {
    text-decoration: none;
}

a {
    color: #000;
    text-decoration: none;
}

h4 {
    margin: 4rem 0 2rem 0;
    text-align: center;
    font-size: 1.55rem;
    scroll-margin-top: 30px;
}

.grid_frame {
    margin: 1em;
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 1em;
    row-gap: 1em;
}

.grid_frame.single_item {
    grid-template-columns: 1fr;
}

.single {
}

.grid_frame.single_item .single {
    grid-column: 2/2;
}

figure img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    padding: 0;
    display: block;
    border-radius: 1em;
    border: 1px solid #ffffff;
}

p.name_link {
    text-align: center;
    margin-top: 0.5em;
    font-size: 1.2rem;
    margin-bottom: 1em;
}

body.en p.name_link {
    text-align: left;
    font-size: 1.1rem;
}

p.name_link.lines {
    line-height: 1rem;
}

a.ig {
    width: 1.5rem;
    height: 1.5rem;
    display: inline-block;
    vertical-align: bottom;
    margin-left: 0.3em;
    background: url(images/ig.svg) center 0em no-repeat;
    background-size: 1.15rem;
}

a.ig img {
    padding-top: 0.1em;
    width: 1.5rem;
    display: none;
}

a.ig.fb {
    width: 1.5rem;
    height: 1.5rem;
    display: inline-block;
    vertical-align: bottom;
    margin-left: 0.3em;
    background: url(images/fb.svg) center 0em no-repeat;
    background-size: 1.15rem;
}


footer {
    text-align: center;
    padding-bottom: 1em;
}

p.footer_copy {
    margin: 5em 1em 1em;
    padding-top: 3em;
    border-top: 1px solid #999;
}

img.map {
    width: 90%;
    margin: 0 auto 3em auto;
    display: block;
}

span.e-1,
span.e-2,
span.e-3,
span.e-4,
span.e-5,
span.e-6 {
    font-size: 1rem;
    margin-right: 0.5em;
}

span.e-1{
    color: #75deff;
}

span.e-2{
    color: #73b2ff;
}

span.e-3{
    color:#ff9bd7 ;
}

span.e-4{
    color: #8ac809;
}

span.e-5{
    color: #ffa017;
}

span.e-6{
    color: #000a93;
}

a.gallery {
    font-size: 1.1em;
    margin: 3em 1em 0em 1em;
    padding: 1em;
    border: 1px solid #000;
    border-radius: 0.5em;
    display: block;
    text-align: center;
   }

   a.gallery.en {
    font-size: 1.1em;
    margin: 3em 1em 0em 1em;
    padding: 1em;
    border: none;
    text-decoration: underline;
   }

img.place_num {
    width: 1em;
    height: 1em;
    vertical-align: text-top;
    margin-right: 0.3em;
}

@media screen and (min-width: 820px) and (orientation: landscape) { 
    nav.links {
        width: 50%;
        top: -8em;
        left: 40%;
        display: flex;
        justify-content: space-between;
    }
    h3.en {
        text-decoration: none;
    }
    h4#scroll{
        display: none;
    }    
    .arrow_to_below {
        display: none;
    }
    .grid_frame {
        max-width: 700px;
        margin: 1em 0;
        grid-template-columns: 1fr;
    }
    .grid_frame.single_item {
        grid-template-columns: 1fr;
    }
    .grid_frame.single_item .single {
        grid-column: 1/1;
    }
    header {
        grid-columns: 1/1;
        height: 45vh;
        position: fixed;
        padding-left: 8%;
    }
    header h1, header h2, header p.date, header p.time, header span {
        text-align: left;
    }
    header span {
        letter-spacing: 0;
    }

    header h2 br {
        display: none;
    }

    h1 {
        padding: 0vh 0 0 0;
    }
    
    h3 {
        margin-top: 5em;
        padding-top: 0.2em;
        padding-bottom: 3em;
        text-align: left;
    }

    h4{
        font-size: 1.6rem;
        text-align: left;
        border-left: 0.1em solid #000;
        padding: 0.6em 1em 0.8em 1.4em;
    }
    p.name_link {
        font-size: 1.3rem;
        margin-bottom: 2.5em;
        text-align: left;
        display: flex;
        justify-content: space-between;
    }
    p.name_link.lines{
        line-height: 1.2;
    }
    p.name_link.katakana_chris {
        font-size: 1.1em;
    }
    a.ig {
        width: auto;
        height: auto;
        display: inline;
        vertical-align: middle;
        margin-left: 0.6em;
        background: none;
    }
    
    a.ig img {
        padding-top: 0;
        width: 2rem;
        display: inline;
    }

    a.ig:hover {
        opacity: 0.3;
    }
    a.ig::before {
        content: 'instagram ';
        margin-left: 0.4em;
        font-size: 1rem;
        vertical-align: super;
    }

    a.ig.fb::before {
        content: 'facebook ';
        margin-left: 0.4em;
        font-size: 1rem;
        vertical-align: super;
    }
    
    main {
        width: 55%;
        padding: 0 0 0 40%;
    }
    footer {
        text-align: left;
        padding-left: 8%;
        font-size: 0.9em;
        position: fixed;
        left: 0;
        bottom: 0;
    }
    
    p.footer_copy {
        margin: 5em 1em 1em 0;
        border:none
    }

    p.footer_copy br {
        display: none;
    }
    p.footer_copy span {
        display: block;
    }
    img.map {
        display: none;
    }
    span.e-1,
    span.e-2,
    span.e-3,
    span.e-4,
    span.e-5,
    span.e-6 {
    display: none;
    }

    a.gallery {
        font-size: 1.1em;
        margin: 0em 1em 6em 1em;
        padding: 1em;
        border: 1px solid #000;
        border-radius: 0.5em;
        display: block;
        text-align: center;
       }

    a:hover {
        background-color: #ddd;
    }

    a.gallery.en {
        font-size: 2em;
        margin: 0em 1em 5em 1em;
        padding: 1em;
        border: none;
        text-decoration: underline;
       }

       a.gallery.en:hover{
        background-color: inherit;
        text-decoration: none;
        opacity: 0.6;
       }

    body.en p.name_link {
    text-align: left;
    font-size: 1.3rem;
    }
}