@media (max-width:430px) {
    @media (min-width:281px){
        /* body */
        body{
            margin: 0;
            padding: 0;
            width: 100vw;
        }
        .body{
            width: 100%;
            overflow: hidden;
            position: relative;
        }
        /* ヘッダー */
        header{
            position: fixed;
            top: 0;
            z-index: 999;
            width: 100vw;
            height: 38px;
            background-color: white;
            box-shadow: 0 0 8px gray;
        }
        #Genie_header{
            display: flex;
            justify-content: space-between;
        }
        #Genie_header h1{
            margin: 6% 0 2% 20%;
            font-family: serif;
            font-size: 22px;
        }
        /* ハンバーガーメニュー */
        .hamburger{
            width: 20px;
            height: 12px;
            position: relative;
            margin: 0 0 0 auto;
            top: 12px;
            right: 4%;
        }
        .hamburger span{
            margin: 0;
            display: block;
            position: absolute;
            width: 100%;
            height: 1px;
            background-color: black;
            border-radius: 15px;
        }
        .hamburger span:first-of-type{
            top: 0;
        }
        .hamburger span:nth-of-type(2){
            top: 50%;
        }
        .hamburger span:last-of-type{
            top: 100%;
        }
        /* /ここまでハンバーガーメニュー */
        #header_list{
            overflow-x: hidden;
            flex-flow: column;
            position: absolute;
            top: 40px;
            width: 100%;
            height: 250px;
            left: 0;
            text-align: center;
            background-color: #1a1a1a;
            padding: 0;
            margin: 0;
            transform: translateX(100%);
            transition: .5s;
            list-style: none;
        }
        #header_list a{
            font-size: 12px;
            font-family: serif;
            color: #ccc;
            line-height: 400%;
            padding: 0;
            text-decoration: none;
        }
        #header_list a:hover{
            text-decoration: underline;
            color: white;
        }
        .hamburger.active span:first-of-type{
            top:50%;
            transform: rotate(405deg);
            transition: .5s;
        }
        .hamburger.active span:nth-of-type(2){
            opacity: 0;
        }
        .hamburger.active span:last-of-type{
            top:50%;
            transform: rotate(-405deg);
            transition: .5s;
        }
        #header_list.active{
            transform: translateX(0);
            transition: .5s;
        }

        /* TOP画面 */
        #top{
            position: relative;
            margin-top: 38px;
            width: 100%;
        }
        #top_img{
            width: 100%;
            max-width: 100%;
            position: absolute;
            animation :imgfade 25s infinite;
            opacity: 0;
        }
        @keyframes imgfade {
            0%{
                opacity: 0;
            }
            10%{
                opacity: 0.6;
            }
            20%{
                opacity: 0.6;
            }
            30%{
                opacity: 0;
            }
            100%{
                opacity: 0;
            }
        }
        #top img:nth-of-type(1){
            animation-delay: 0s;
        }
        #top img:nth-of-type(2){
            animation-delay: 5s;
        }
        #top img:nth-of-type(3){
            animation-delay: 10s;
        }
        #top img:nth-of-type(4){
            animation-delay: 15s;
        }
        #top img:nth-of-type(5){
            animation-delay: 20s;
        }
        #top h1,#top p{
            position: relative;
        }
        #top h1{
            padding-top: 16%;
            left: 50%;
            font-size: clamp(26px,2.5vw,30px);
            font-weight: bold;
            color: black;
            line-height: 120%;
            font-family: serif;
            width: 50vw;
        }
        #top p{
            top: 50%;
            left: 50%;
            margin-right: 60%;
            font-size: clamp(10px,1vw,12px);
            line-height: clamp(20px,2.4vw,30px);
            color: black;
            font-family: sans-serif;
            width: 50vw;
        }

        /* 各タイトル */
        h2{
            font-size: 22px;
            font-family: serif;
            display: flex;
            align-items: center;
            padding-top: 10%;
            margin-top: -2%;
            margin-bottom: 4%;
        }
        h2:before,h2:after{
            content: "";
            height: 1px;
            flex-grow: 1;
            background-color: black;
            margin-left: 20px;
            margin-right: 20px;
        }
        h2:before{
            margin-right: 10px;
        }
        h2:after{
            margin-left: 10px;
        }

        /* Corporate Philosophy（企業理念） */
        #corporate{
            margin-top: 20%;
        }
        #corporate p{
            font-size: clamp(10px,1vw,12px);
            line-height: clamp(20px,2.4vw,30px);
            padding-left: 10%;
            padding-right: 10%;
            color: black;
            font-family: sans-serif;
        }

        /* Business（事業内容） */
        .business{
            background-color: rgb(250, 250, 200, 0.2);
            margin: 5% 5% 0 5%;
            padding: 2% 7% 5% 7%;
            box-shadow: 0 0 8px gray;
        }
        .business_retail{
            margin-bottom: 100px;
            display: flex;
            display: -webkit-box;
        }
        .business_retail h3,
        .business_training h3{
            font-size: 24px;
            font-family: serif;
            text-decoration: underline;
            text-decoration-thickness: 1px;
            margin-bottom: 0;
        }
        .business_retail p{
            margin-left: 7%;
            width: 90%;
            font-size: clamp(10px,1vw,12px);
            line-height: clamp(20px,2.4vw,30px);
            font-family: sans-serif;
        }
        .retail_text{
            display: flex;
            flex-flow: column;
            width: 55%;
        }
        .business_retail img{
            width: 27%;
            position: absolute;
            left: 60%;
            margin-top: 40px;
            float: right;
            padding: 8px;
            border-top: 1px solid #ccc;
            border-left: 1px solid #ccc;
            border-right: 1px solid #c2c2c2;
            border-bottom: 1px solid #c2c2c2;
            box-shadow: 0 0 8px gray;
            background: #fff;
        }
        *{
            box-sizing: border-box;
        }
        .training_item{
            position: relative;
            overflow: hidden;
            width: 100%;
        }
        .school_img{
            width: 100%;
        }
        .training_item p{
            font-size: clamp(10px,1vw,12px);
            position: absolute;
            top: 12%;
            margin-left: 7%;
            padding: 10px 20px 10px 10px;
            background-color: rgba(255, 255, 255, 0.7);
            border-radius: 7px;
            font-family: sans-serif;
        }

        /* About（企業情報） */
        #about{
            margin-bottom: 100px;
        }
        .about_list{
            height: 250px;
            border-spacing: 0;
            border-top: 1px solid silver;
            width: 85%;
            margin: 0 auto;
        }
        .about_list01{
            width: 40%;
            text-align: center;
        }
        .about_list02{
            width: 60%;
        }
        .about_list td{
            border-bottom: 1px solid silver;
            font-size: clamp(10px,1vw,12px);
            font-weight: 100;
            color: black;
            font-family: sans-serif;
        }

        /* フッター */
        footer{
            background-color: #1a1a1a;
            display: flex;
            flex-flow: column;
            justify-content: center;
            align-items: center;
            margin-bottom: 0;
        }
        .footer_item{
            display: flex;
            justify-content: space-between;
            padding-top: 6%;
            padding-bottom: 4%;
            width: 100%;
        }
        .footer_item01 a,
        .footer_item02 a{
            display: flex;
            color: #ccc;
            font-family: serif;
            font-size: 10px;
            text-decoration: none;
        }
        .footer_item01{
            margin-left: 16%;
        }
        .footer_item02{
            margin-right: 16%;
        }
        .footer_item03{
            display: flex;
            margin-bottom: 2%;
        }
        .footer_item a{
            text-decoration: none;
            padding-bottom: 8%;
        }
        .footer_item a:hover{
            text-decoration: underline;
            color: white;
        }
        footer h4{
            color: #ccc;
            font-family: serif;
            font-size: 8px;
        }
    }
}

