@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Cedarville+Cursive&family=Noto+Sans+JP&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text&family=Zen+Kurenaido&display=swap');
@import url('https://fonts.googleapis.com/css?family=Antic+Didone|Cagliostro');
@font-face
{
font-family:"ロゴたいぷゴシック-コンデンスド" ;
src: url('https://cdn.leafscape.be/LogoTypeGothicCondense/07LogoTypeGothic-Condense_web.woff2')
     format("woff2");
}


* {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    font-weight: normal;
    font-family: 'Noto Sans JP', sans-serif;
}

body {
    width: 100%;
    margin: 0 auto;
    background-color: #f5f5f5;
    text-align: justify;
    word-break: break-all;
    line-height: 26px;
    letter-spacing: 0.1em;
    font-size: 13px;
    color: #555;
}

header {
    position: relative;
    margin: 2em auto 1.5em;
    background: url('../img/top_m.png') center/cover no-repeat;
    max-width: 100svw;
    width: 100%;
    height: 300px;
    text-align: center;
}

header h1,
nav {
    position: absolute;
}

footer {
    text-align: center;
    margin: 1.5em 0;
}

h1 {
    font-size: 18px;
    font-family:"ロゴたいぷゴシック-コンデンスド", verdana, sans-serif;
    font-weight: normal;
    letter-spacing: 0.3em;
}

aside,
section h2,
section h3 {
    letter-spacing: 1px;
}

nav ul a {
    color: #7372a1;
    font-family: 'Cagliostro', verdana, sans-serif;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 1.5px;
    line-height: 2.8em;
    text-shadow: 0 0 1px #fff;
    background-color: rgb(255, 255, 255, 0.6);
    margin: 0.2em;
    padding: 0.1em 0.6em;
    border-radius: 1px;
}

nav ul a:hover {
    color: #fff;
}

header h1 {
    text-shadow: 0 0 1px #fff;
    color: transparent;
    top: 35%;
    width: 100%;
    z-index: 50;
    font-size: 3em;
}

nav {
    width: 100%;
    bottom: 5%;
    z-index: 150;
}

nav ul {
    list-style-type: none;
}

aside {
    margin: 1em auto 4em;
    text-align: center;
}

section {
    margin: 0 auto;
    padding: 2em;
}

aside a,
section a,
section a:visited {
    color: #555;
    background: linear-gradient(transparent 70%, #dddded 70%);
}

asaide a:hover, section a:hover {
    color: #b5abc9;
}

.none {
     visibility: hidden;
}

section h2,
section h3 {
    font-weight: normal;
}

section h2 {
    position: relative;
    max-height: 25px;
    height: 50%;
    background-color: #e8e8e8;
    border-bottom: none;
    margin-bottom: 4em;
}

section h2 span {
    color: #555;
    position: absolute;
    left: 0;
    top: 0.1em;
    margin: 0 auto;
    text-align: center;
    font-color: #333;
    font-size: 1em;
    font-family: 'Cagliostro', verdana, sans-serif;
    background-color: #e8e8e8;
}

section h3 {
    padding-left: 0.5em;
    border-left: 2px solid #8781b3;
    font-size: 1.5em;
    line-height: 1em;
    margin-bottom: 1em;
}

section p {
    margin: 1em auto 1.5em;
}

section span {
    color: #999;
    font-size: 12px;
}

section mark {
    padding: 0.2em 0.3em;
    background-color: #e8e8e8;
}

section em {
    font-style: normal;
    border-bottom: thin dashed #9e97cc;
}

section strong {
    font-weight: bold;
    color: #827ab5;
}

section .borderright {
    margin-right: 0.5em;
    padding-right: 0.5em;
    border-right: 5px solid #9f99c4;
}

a {
    text-decoration: none;
}

a:hover {
    color: #b5abc9;
}

textarea,
input[type] {
    -webkit-appearance: none;
    padding: 0.2em 0.5em;
    background-color: #fff;
    border: thin solid #555;
    border-radius: 0;
}

input[type], textarea {
    height:50px;
    width:100%;
    padding: 0.2em;
}

input[type=text] {
    width: 100px;
    height: auto;
    padding: 0.2em;
}

input[type=submit] {
    width: auto;
    height: auto;
    padding: 0.3em;
}


/* IE,Edge用 */
@media all and (-ms-high-contrast: none) {

    h1,
    nav a {
        color: #fff;
    }
}

@supports (-ms-ime-align:auto) {

    header h1,
    nav ul a {
        color: #fff;
    }
}


@media screen and (min-width:768px) {

    body {
        font-size: 14px;
    }

    main {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        max-width: 100vw;
        width: 900px;
        margin: 0 auto;
    }

    header {
        max-width: 700px;
        width: 650px;
        height: 300px;
        background: url('../img/top.png') center/cover no-repeat;
    }

    header h1 {
        font-size: 35px;
    }

    section h2 {
        position: relative;
        max-height: 25px;
        height: 50%;
        text-align: center;
        background-color: #e8e8e8;
        border-bottom: none;
        margin-bottom: 1em;
        line-height: 1em;
    }

    nav ul a {
        font-size: 20px;
        line-height: 2em;
        margin: 0.4em 0.2em;
        padding: -0.1em 0.6em;
        border-radius: 2px;
        display: inline;
    }

    aside {
        font-size: 15px;
    }

    section {
        flex-basis: 50%;
        padding: 2em;
        line-height: 2em;
    }
}