body {
    margin: 0;
    position: relative;
    font-family: "Futura", Helvetica, sans-serif;
}

main {
    padding-top: 15%;
    /*ヘッダーの高さ分だけ次の要素を下げます。 */
    background-color: #ccc;
}

.title {
    font-size: 32px;
    text-align: center;
}

.grid-parent {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 10px;
}

.child1,
.child2,
.child3,
.child4 {
    background-color: #F2F2F2;
    border: dotted 1px #000;
}

button {
    /* ブラウザ特有のスタイルを無効に */
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    /* 整える */
    margin: 1em 0;
    /* 前後の隙間 */
    padding: 0.6em 1em;
    /* 塗りの余白 */
    font-size: 1em;
    /* フォントサイズ */
    background-color: #1aa1ff;
    /* 背景色 */
    color: #FFF;
    /* テキストカラー */
    cursor: pointer;
    /* カーソルを指マークに */
    border-radius: 3px;
    /* 角の丸み */
    border: 0;
    /* 枠線を消す */
    transition: 0.3s;
    /* ホバーの変化を滑らかに */
}


/* ホバー時（カーソルをのせた時）の見た目 */

button:hover {
    background-color: #064fda;
    /* 背景色 */
}


/* Navbar & Navmenu color */

:root {
    --background-navbar: rgba(55, 55, 55, 0.98);
}

.header {
    background: var(--background-navbar);
    position: fixed;
    width: 100%;
    height: 52px;
}


/* Nav items */

.menu {
    list-style: none;
    position: absolute;
    width: 100%;
    height: auto;
    top: 0;
    margin-top: 52px;
    padding: 0 0 10px 0;
    clear: both;
    background: var(--background-navbar);
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    transform: scale(1, 0);
    transform-origin: top;
}


/* Hamburger menu button */

.menu-btn:checked~.menu {
    transform: scale(1, 1);
    transform-origin: top;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}


/* Hamburger menbu text */

.menu a {
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 2px;
    font-size: 16px;
    text-transform: capitalize;
    color: #ddd;
    opacity: 0;
    transition: 0.5s;
}

.menu li {
    border-top: 1px solid rgb(75, 75, 75);
    padding: 15px 0;
    margin: 0 54px;
    opacity: 0;
    transition: 0.5s;
}

.menu-btn:checked~.menu a,
.menu-btn:checked~.menu li {
    opacity: 1;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s;
}

.menu-btn {
    display: none;
}

.menu-icon {
    display: inline-block;
    position: relative;
    cursor: pointer;
    padding: 24px 14px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.navicon {
    background: #ddd;
    display: block;
    height: 3px;
    width: 26px;
    position: relative;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}

.navicon:before,
.navicon:after {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    background: #ddd;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}

.navicon:before {
    top: 9px;
}

.navicon:after {
    bottom: 9px;
}


/* Hamburger Menu Animation Start */

.menu-btn:checked~.menu-icon .navicon:before {
    transform: rotate(-45deg);
}

.menu-btn:checked~.menu-icon .navicon:after {
    transform: rotate(45deg);
}

.menu-btn:checked~.menu-icon:not(.steps) .navicon:before {
    top: 0;
}

.menu-btn:checked~.menu-icon:not(.steps) .navicon:after {
    bottom: 0;
}

.menu-btn:checked~.menu-icon .navicon {
    background: rgba(0, 0, 0, 0);
    transition: 0.2192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}


/* Hamburger Menu Animation End */


/* Navbar Container */

.navtext-container {
    width: 100%;
    height: 52px;
    position: absolute;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Navbar Text */

.navtext {
    position: absolute;
    text-transform: uppercase;
    color: #ddd;
    letter-spacing: 4px;
    font-size: 20px;
}

footer {
    width: 100%;
    height: 60px;
    text-align: center;
    padding: 50px 0;
    background-color: #cab64a;
}

.footer-text {
    color: #fff;
}