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

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

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

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

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 {
    font-family:"ロゴたいぷゴシック-コンデンスド", verdana, sans-serif;
    position: relative;
    max-height: 25px;
    height: 50%;
    background-color: #e8e8e8;
    border-bottom: none;
    margin-bottom: 4em;
}

section h2 span {
    font-family:"ロゴたいぷゴシック-コンデンスド", verdana, sans-serif;
    color: #555;
    position: absolute;
    left: 0;
    top: 0.1em;
    margin: 0 auto;
    text-align: center;
    font-color: #333;
    font-size: 1em;
    background-color: #e8e8e8;
}

section h3 {
    font-family: 'Cagliostro', "ロゴたいぷゴシック-コンデンスド", verdana, sans-serif;
    padding-left: 0.5em;
    border-left: 2px solid #8781b3;
    font-size: 1.2em;
    line-height: 1em;
    margin-bottom: 1em;
}

section p {
    margin: 1em auto 3.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;
    width: 380px;
    position: absolute;
    margin-top: -1em;
    margin-bottom: 1.5em;
}

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

section mark {
    font-size: 0.6em;
    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;
}

.cen {
    text-align: center;
}

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

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

input[type=submit] {
    width: auto;
    height: auto;
    display: block;
    padding: 0.4em 0.6em;
    margin: 0 auto;
    letter-spacing: 0.4em;
    text-align: center;
    font-size: 1em;
    color: #f5f5f5;
    background-color: #778899;
}

input[type=checkbox] {
    width: auto;
    height: auto;
    padding: 0.3em;
    background-color: #778899;
  -ms-transform: scale(1.3, 1.3);
  -webkit-transform: scale(1.3, 1.3);
  transform: scale(1.3, 1.3);
}

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

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

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

    input[type=checkbox] {
      -ms-transform: scale(1.6, 1.6);
      -webkit-transform: scale(1.6, 1.6);
      transform: scale(1.6, 1.6);
    }

    section span {
        width: 350px;
    }
}