* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    height: 100%;
}

body {
    height: 100%;
    font-family:
        "游ゴシック", "Yu Gothic", YuGothic,
        "メイリオ", "Meiryo", "ヒラギノ角ゴ Pro W3",
        "Hiragino Kaku Gothic Pro", Osaka, sans-serif;
    -webkit-font-smoothing: antialiased !important;
    font-size: clamp(16px, 2vw, 18px) !important;
}

.clearfix:after {
    content: "";
    display: block;
    clear: both;
}

.clearfix:before {
    content: "";
    display: block;
    clear: both;
}

.clearfix {
    display: block;
}

#noScreen2 {
    display: none !important;
}

/* 横向き */
@media (orientation: landscape) {
    #appScreen {
        height: 100vh;
        height: calc(var(--vh, 1vh) * 100);
        background-color: #E9F3DA;
    }
    #appScreen2 {
        display: none !important;
    }

    #yestext {
        font-size: 50px;
        text-align: center;
        margin-top: 30%;
    }

    #noScreen2 {
        display: none;
    }

    #noScreen {
        display: none;
    }

    #content {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        height: calc(100% - 50px);
    }

    #main {
        width: 85%;
        float: left;
        height: 100%;
    }

    #mainArea {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 5vh;
        background-color: #E4EED6;
        height: 90%;
    }

    #menu {
        width: 15%;
        float: right;
        height: 100%;
        background-color: #fff !important;
    }

    #menu ul {
        width: 100%;
        background-color: #F1F7E9;
    }

    #menu ul li {
        width: 100%;
        height: calc((100% - 50px) / 16);
        display: inline-block;
        vertical-align: middle;
        position: relative;
        color: #494E0C;
        font-size: clamp(14px, 1.5vw, 16px) !important;
    }

    a.linkArea {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0px;
        left: 0px;
        display: block;
    }

    span.menuBox {
        width: 100%;
        background-color: #C1CB8E;
        height: 95%;
        display: flex;
        border-radius: 10px;
        justify-content: center;
        align-items: center;
        border: 1px solid #ccc;
        background: #f1e767;
        background: -webkit-gradient(linear, left top, left bottom, from(#95A25C), to(#DBE6C8));
        background: -webkit-linear-gradient(top, #95A25C 0%, #DBE6C8 100%);
        background: linear-gradient(to bottom, #95A25C 0%, #DBE6C8 100%);
        -webkit-box-shadow: inset 1px 1px 1px #fff;
        box-shadow: inset 1px 1px 1px #fff;
        color: #5E6521;
        font-weight: bold;
    }

    span.menuBoxOther {
        width: 100%;
        /*background-color: #C6C7CB;*/
        height: 95%;
        display: flex;
        border-radius: 10px;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
        border: 1px solid #ccc;
        background: #f1e767;
        background: -webkit-gradient(linear, left top, left bottom, from(#C6C7CB), to(#ebedee));
        background: -webkit-linear-gradient(top, #C6C7CB 0%, #ebedee 100%);
        background: linear-gradient(to bottom, #C6C7CB 0%, #ebedee 100%);
        -webkit-box-shadow: inset 1px 1px 1px #fff;
        box-shadow: inset 1px 1px 1px #fff;
        color: #454641;
        font-weight: bold;
    }

    #menu ul li:hover {
        opacity: 0.7;
    }

    footer {
        width: 100%;
        height: 50px;
        background-color: #F1F7E9;
        color: #fff;
    }

    #leftBlock {
        width: 58%;
        float: left;
        padding-left: 10px;
        box-sizing: border-box;
        border: solid 2px #DCE6C1;
        background-color: #FBFCF6;
    }

    #rightBlock {
        width: 40%;
        float: right;
        padding-left: 10px;
        border: solid 2px #DCE6C1;
        box-sizing: border-box;
        background-color: #FBFCF6;
    }

    .clearfix::after {
        content: " ";
        display: block;
        clear: both;
    }

    h1 {
        font-size: clamp(18px, 2vw, 24px) !important;
        color: #7D8047;
        margin-top: 10px;
        height: clamp(25px, 2.5vw, 30px) !important;
    }

    ul.itemBlock {
        width: 98%;
        display: block;
        margin-bottom: 25px;
        height: 42%;
        margin-top: 25px;
    }

    ul.itemBlock li {
        width: 32%;
        margin-right: 2%;
        display: block;
        float: left;
        border: solid 2px #DEDFD9;
        height: 100%;
        text-align: center;
    }

    ul.itemBlock li:nth-child(3) {
        margin-right: 0px;
    }

    h2.itemTitle {
        font-size: clamp(18px, 2vw, 24px) !important;
        margin-left: 2%;
        height: clamp(25px, 2.5vw, 30px) !important;
        color: #505050;
        text-align: left;
    }

    ul.itemBlock li img {
        width: 100%;
        height: auto;
        max-width: 140px;
        margin-top: 30%;
    }

    ul.itemBlock2 {
        width: 98%;
        display: block;
        margin-bottom: 25px;
        height: 42%;
        margin-top: 25px;
    }

    ul.itemBlock2 li {
        width: 49%;
        margin-right: 2%;
        display: block;
        float: left;
        border: solid 2px #DEDFD9;
        height: 100%;
        text-align: center;
    }

    ul.itemBlock2 li:nth-child(2) {
        margin-right: 0px;
    }

    ul.itemBlock2 li img {
        width: 100%;
        height: auto;
        max-width: 140px;
        margin-top: 30%;
    }

}

/* 縦向き */
@media (orientation: portrait) {
    #appScreen {
        display: none;
    }

    #appScreen2 {
        display: none !important;
    }

    .smartphone {
        display: none !important;
    }

    #noScreen {
        height: 100vh;
        height: calc(var(--vh, 1vh) * 100);
    }

    h1 {
        color: black;
        margin-top: 50vh;
        text-align: center;
    }
}