@charset "utf-8";

/*
Base style
*/

* {
    box-sizing: border-box;
    padding: 0px;
    margin: 0px;
}

body {
    font-family: 'メイリオ', 'Meiryo', '游ゴシック', 'Yu Gothic', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    font-size: 18px;
    line-height: 1.5;
    width: 100%;
    color: black;
    overflow-x: hidden;
    background-color: white;
    position: absolute;
}

.topImage  {
    width: 100%;
    height: 100vh;
    background-image: url(../images/bgImageGrassWonder.webp);
    background-size: cover;
    background-position: bottom;
    position: relative;
}

.topImage .headerLogo {
    height: 100px;
}

.topImage .headerLogo a {
    height: 100px;
    margin: 0px 20px;
}

.topImage .headerLogo a img {
    height: 100px;
}


.burger {
    display: block;
    position: fixed;
    top: 10px;
    right: 10px;
    margin: auto;
    margin-right: 10px;
    cursor: pointer;
    background: white;
    z-index: 5;
}

.burger div {
    width: 35px;
    height: 5px;
    background-color: #333;
    margin: 8px;
    transition: all 0.5s ease-in-out;
}

.burger {
    display: block;
    position: fixed;
    top: 10px;
    right: 20px;
}

.toggle .line1 {
    transform: rotate(405deg) translate(10px, 8.5px);
}
.toggle .line2 {
    opacity: 0;
}
.toggle .line3 {
    transform: rotate(-405deg) translate(10px, -8.5px);
}

.burgerMenu {
    display: block;
    position: fixed;
    top: 50px;
    right: 0;
    margin: 0;
    padding: 0;
    background-color: #333;
    opacity: 0.9;
    height: calc(100vh - 50px);
    width: 300px;
    transform: translateX(100%);
    transition: all 0.5s ease-in-out;
    z-index: 10;
}

.burgerMenu-active {
    transform: translateX(0%) !important;
}

.burgerMenu ul {
    display: block;
    margin: 0;
    padding: 10px;
}

.burgerMenu ul li {
    display: block;
    list-style: none;
    font-size: 18px;
    height: 8vh;
    margin:0px;
    border: #eee;
}

.burgerMenu ul li a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    height: 8vh;
    width: 300px;
    display: block;
    line-height: 2rem;
    text-align: center;
    margin: 5px;
    padding: 15px;
}


.topImage .topContent {
    position: absolute;
    top: 100px;
    right: 0;
    padding: 10px;
    margin: 10px;
    max-width: 600px;
    height: calc(100% - 100px);
}

.topImage .topContent .titleGrass {
    max-width: 100%;
}

.topImage .topContent h1 {
    text-align: center;
    margin: 0px;
    color: rgb(230, 122, 0);
    -webkit-text-stroke: 1px #FFF;
}

.topImage .topContent p {
    padding: 0px 10px;
    position: absolute;
    bottom: 25px;
    background-color: rgb(255, 255, 255, 0.7);
    border-radius: 10px;
}


main {
    width: 100%;
    padding: auto;
    margin: 0px auto 0px;
}


.articleGrass {
    background: linear-gradient(-45deg,white,#ffe8b7,white);
    margin: 0px;
    padding: 30px;
    box-sizing: border-box;
}

.gallery {
    margin: 10px 50px;
    text-align: center;
    min-height: 100vh;
}

.gallery a {
    text-decoration: none;
}

.gallery img {
    width: 400px;
    height: 300px;
    object-fit: cover;
    padding: 10px;
}

.gallery img:hover {
    transform: scale(1.1);
    transition: 0.7s;
}


input {
    display: none;
}

.tag {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0.5rem 0rem;
    padding: 5px 1rem;
    border-radius: 50px;
    background-color: white;
    display: inline-block;
    color: black;
    cursor: pointer;
    border: 1px solid black;
}

/* フィルター */
#grassWonder:checked ~ .gallery > a:not([class *="grassWonder"]),
#felicia:checked ~ .gallery > a:not([class *="felicia"]),
#osumiGrassOne:checked ~ .gallery > a:not([class *="osumiGrassOne"]),
#sakuraMegaWonder:checked ~ .gallery > a:not([class *="sakuraMegaWonder"]),
#meinerRainier:checked ~ .gallery > a:not([class *="meinerRainier"]),
#earnestly:checked ~ .gallery > a:not([class *="earnestly"]),
#meishoKanpaku:checked ~ .gallery > a:not([class *="meishoKanpaku"]) {
    display: none;
}

#all:checked ~ .all,
#grassWonder:checked ~ .grassWonder,
#felicia:checked ~ .felicia,
#osumiGrassOne:checked ~ .osumiGrassOne,
#sakuraMegaWonder:checked ~ .sakuraMegaWonder,
#meinerRainier:checked ~ .meinerRainier,
#earnestly:checked ~ .earnestly,
#meishoKanpaku:checked ~ .meishoKanpaku {
    background-color: black;
    color: white;
}




/* 上に戻るボタンのデザイン */

.return {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    text-decoration: none;
    background-color: #1f0f00;
    display: block;
    text-align: center;
    border-radius: 24px;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.4s ease-in;
  }
  
  .return::before {
    content: '\f062';
    font-family: 'Font Awesome 6 Free';
    font-size: 30px;
    font-weight: 900;
    color: #fff;
    line-height: 48px;
  }
  
  /* fadeinクラスがついた時だけ表示する */
  .return.fadein {
    opacity: 1;
  }
  
  /* ここまでボタンのデザイン */


footer {
    position: relative;
    width: 100%;
    height: 50px;
    background: #331d00;
}

footer p {
    width: 100%;
    position: absolute;
    font-size: 0.9rem;
    color: #ffffff;
    text-align: center;
}



  /* ブレーキングポイント768px */

@media screen and (max-width: 768px) {
    .topImage {
        padding: 10px;
    }


    .topImage .headerLogo {
        height: 50px;
    }

    .topImage .headerLogo a {
        height: 50px;
        padding: 0;
        margin: 0;
    }

    .topImage .headerLogo a img {
        height: 50px;
        padding: 0;
        margin: 0;
    }    
    
    .burger {
        display: block;
        position: fixed;
        top: 10px;
        right: 5px;
        margin: auto;
        margin-right: 5px;
        cursor: pointer;
    }
    
    .burger div {
        width: 35px;
        height: 5px;
        background-color: #333;
        margin: 8px;
        transition: all 0.5s ease-in-out;
    }
       
    .toggle .line1 {
        transform: rotate(405deg) translate(10px, 8.5px);
    }
    .toggle .line2 {
        opacity: 0;
    }
    .toggle .line3 {
        transform: rotate(-405deg) translate(10px, -8.5px);
    }
    
    .burgerMenu {
        display: block;
        position: fixed;
        top: 50px;
        left: 35vw;
        margin: 0;
        padding: 0;
        background-color: #333;
        opacity: 0.9;
        height: 80vh;
        width: 65vw;
        transform: translateX(100%);
        transition: all 0.5s ease-in-out;
        z-index: 10;
    }
    
    .burgerMenu-active {
        transform: translateX(0%) !important;
    }
    
    .burgerMenu ul {
        display: block;
        margin: 0;
        padding: 0;
    }
    
    .burgerMenu ul li {
        display: block;
        list-style: none;
        font-size: 18px;
        height: 7vh;
        text-align: center;
        margin:0px;
        border: #eee;
    }
    
    .burgerMenu ul li a {
        text-decoration: none;
        color: white;
        font-weight: 600;
        height: 7vh;
        display: block;
        line-height: 55px;
        margin: 0;
        padding: 0;
    }

    .topImage .topContent {
        height: calc(100% - 50px);
        max-height: 100%;
        position: absolute;
        top: 50px;
    }
    
    .topImage .topContent p {
        position: absolute;
        bottom: 20px;
        width: 90%;
    }
   
    main {
        padding: 0px;
    }

    .gallery {
        margin: 10px 10px;
    }
    
    .gallery img {
        width: 240px;
        height: 180px;
    }

    .tag {
        font-size: 0.8rem;
        margin: 0.5rem 0.5rem;
        padding: 5px 1rem;
        border: 1px solid black;
    }
  
}


  /* ブレーキングポイント420px */

  @media screen and (max-width: 420px) {
    h1 {
        font-size: 1.1rem;
    }

   
  }