@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Hina+Mincho&family=IBM+Plex+Sans+JP:wght@300;400;500;600&family=Zen+Kaku+Gothic+New:wght@300;400;500;700&display=block');

:root{
    margin: 0;
    padding: 0;
    min-width: max(0.7vh, 640px);
}

body{
    background: snow;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

header {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: min(10vh, 7rem);
    font-family: "Hina Mincho", serif;
    font-weight: 400;
}

h1 {
    margin: auto;
    font-size: 2.6rem;
}

main {
    display: flex;
    justify-content: center;
    flex-direction: column;
    font-family: "IBM Plex Sans JP", serif;
    font-weight: 400;
}

main>div {
    display: flex;
    justify-content: center;
    flex-direction: row;
}

main section {
    min-width: 17rem;
    width: 23rem;
    border: .2rem dashed tan;
    padding: 1rem;
}

main h2 {
    font-family: "Zen Kaku Gothic New", serif;
    font-size: 1.4rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 1.5rem;
}

main small {
    display: inline-block;
    text-align: center;
    width: 100%;
}

div#about>section {
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
}

div#about>section:first-of-type {
    flex-wrap: wrap;
    align-content: start;
}

div#guide>section:last-of-type {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
}

figure img {
    height: 100%;
    width: auto;
}
figure#img-chrch {
    height: min(35vh, 19rem);
    width: auto;
    margin-left: auto;
    margin-right: auto;
}

figure#img-pstr {
    height: min(30vh, 19rem);
    margin-left: auto;
    margin-right: auto;
}

a {
    color: steelblue;
}

a:visited {
    color: orchid;
}

#about section:nth-of-type(1) {
    border-right:.25rem dashed rosybrown;
    border-bottom: .25rem dashed rosybrown;
}

#about section:nth-of-type(2) {
    border-left: .25rem dashed rosybrown;
    border-bottom: .25rem dashed rosybrown;
}

#guide section:nth-of-type(1) {
    border-right: .25rem dashed rosybrown;
    border-top: .25rem dashed rosybrown;
}

#guide section:nth-of-type(2) {
    border-left: .25rem dashed rosybrown;
    border-top: .25rem dashed rosybrown;
}

footer {
    margin: auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 50rem;
    font-family: "IBM Plex Sans JP", serif;
}