@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;
}

a {
    text-decoration: none;
}

header {
    position: relative;
    margin: 3em auto 1.5em;
    background: url('../img/top.png') center/cover no-repeat;
    max-width: 600px;
    width: 350px;
    height: 300px;
    text-align: center;
}

header h1,
nav {
    position: absolute;
}

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

footer a, footer a:visited {
    color: #778899;
}

footer a:hover {
    color: #b5abc9;
}

.top {
    position: relative;
    margin: 3em auto 1.5em;
    text-align: center;
}

.top h1 {
    font-size: 2em;
    font-family: 'Cagliostro', verdana, sans-serif;
    font-weight: normal;
    letter-spacing: 0.1em;
}

.top a, .top a:visited {
    color: #778899;
    text-decoration: none;
    font-family: 'Cagliostro', verdana, sans-serif;
}

.top a:active,
.top a:hover {
    color: #b5abc9;
    text-decoration: none;
}

.name a {
    background-color: #fff;
    padding: 5px 13px;
    text-decoration: none;
}

.name a:hover {
    background-color: #f5f5f5;
    transition: .6s;
}

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

nav ul a,
aside,
section h2,
section h3 {
    letter-spacing: 1px;
    font-family: 'Cagliostro', verdana, sans-serif;
}

nav ul a {
    text-decoration: none;
    font-size: 15px;
    line-height: 3em;
    text-shadow: 0 0 1px #fff;
    color: #778899;
    background-color: rgb(255, 255, 255, 0.5);
    margin: 0 0.6em;
    padding: 0 0.5em;
}

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

header h1 {
    text-shadow: 0 0 1px #fff;
    color: transparent;
    top: 40%;
    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;
    text-align: center;
}

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

.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 {
    font-family: 'Cagliostro', "ロゴたいぷゴシック-コンデンスド", verdana, sans-serif;
    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 a, section a:visited {
    color: #555;
    background: linear-gradient(transparent 70%, #dddded 70%);
}

section a:hover {
    color: #b5abc9;
}

section span {
    color: #999;
    font-size: 12px;
    margin-left: 1em;
}

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

.check {
    text-align: center;
    margin: 0.2em auto;
}

.check span {
    color: #555;
    font-size: 13px;
}

section mark {
    color: #a1a7b5;
    margin-bottom: 1em;
    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;
}

.button {
    color: #f5f5f5;
    padding: 0.2em 0.5em;
    background-color: #778899;
    border: thin solid #778899;
    border-radius: 2px;
    width: 90px;
}

.button:hover {
    color: #555;
    background-color: #fff;
    border: thin solid #fff;
    transition: .8s;
}

textarea,
input[type] {
    padding: 0.2em 0.5em;
    background-color: #fff;
    border: thin solid #778899;
    border-radius: 2px;
    width: 90px;
    margin: 0.2em auto 0.4em;
}

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

input[type=submit] {
    width: auto;
    height: auto;
    padding: 0.3em;
    background-color: #778899;
}

/* 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;
    }

    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: 23px;
        line-height: 23px;
    }

    aside {
        font-size: 15px;
    }

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

    .check span {
        font-size: 14px;
    }
}