@charset 'UTF-8';

body {
    color: #050505;
    font-size: 15px;
    background-color: #fffce8;
}
p {
    line-height: 1.8;
    margin-bottom: 20px;
}
div p:last-child {
    margin-bottom: 0;
}
h1 {
    font-size: 22px;
    font-weight: bold;
    font-family: 'Yusei Magic', sans-serif;
    color: #ffffff;
}
h2 {
    font-size: 23px;
    font-family: 'Yusei Magic', sans-serif;
    font-weight: bold;
    color: #0573bd;
    margin: 15px 0px;
    padding: 10px;
    border-left: #ff8a03 5px solid;
}
h3 {
    font-size: 20px;
}

em {
    text-decoration: underline red 2px;
    font-weight: bold;
}

.img_r {
    float: right;
    margin: 0 0 10px 10px;
    max-width: 230px;
    max-height: 250px;
}
.img_l {
    float: left;
    margin: 0 10px 10px 0;
    max-width: 230px;
    max-height: 250px;
}
header {
    margin: 0;
    padding: 14px;
    height: 55px;
    width: 100%;
    background-color: #fd6fde;
}
main {
    margin: 20px;
}
footer {
    height: 40px;
    background-color: #fd6fde;
    color: #ffffff;
    text-align: center;
    text-decoration: double;
    padding: 10px;
}

.lead {
    margin: 30px 0;
    padding: 25px;
    border-radius: 10px;
    background-color: #ffffff;
    border: #ff8a03 4px dotted;
}

.lead ol {
    line-height: 1.8;
    color: #0573bd;
    font-weight: bold;
    padding: 10px;
}

.lead ol li {
    border-left: solid 10px #fd6fde;/*左側の線*/
    background: #fff3e0;/*背景色*/
    margin-bottom: 5px;/*下のバーとの余白*/
    padding: 0.5em;
    list-style-type: none!important;/*ポチ消す*/
}

.contents {
    min-height: 250px;
}

.menu-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    height: 40px;
    width: 40px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: #3584bb;
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 4px;
    width: 25px;
    border-radius: 4px;
    background-color: #ffffff;
    position: absolute;
}
.menu-btn span:before {
    bottom: 8px;
}
.menu-btn span:after {
    top: 8px;
}

#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}
#menu-btn-check {
    display: none;
}

.menu-content {
    width: 80%;
    height: 50%;
    position: fixed;
    top: 0;
    left: 100%;/*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    background-color: #3584bb;
    transition: all 0.5s;/*アニメーション設定*/
}

#menu-btn-check:checked ~ .menu-content {
    left: 20%;/*メニューを画面内へ*/
}

.menu_ttl {
    padding: 50px 10px 0;
    font-size: 17px;
    color: #ffffff;
    text-shadow: #050505 2px solid;
}
.menu-content ol {
    padding: 30px 10px 20px;
}
.menu-content ol li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
}
.menu-content ol li a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color:#ffffff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
}
.menu-content ol li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
}

.btn_top {
    color: #ffffff;
    background-color: #3584bb;
    padding: 10px;
    margin: 10px 0 50px auto;
    text-align: center;
    width: 130px;
    height: 35px;
}

@media (min-width: 710px) {
    /* 横幅が710px以上の場合に適用するスタイル */
    main {
        width: 700px;
        margin: 20px auto;
    }
    h1 {
        font-size: 30px;
    }
    header {
        height: 60px;
        text-align: center;
    }
 }