@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: 100vw;
    color: black;
    overflow-x: hidden;
    background-color: white;
    position: absolute;
}

header {
    top: 0px;
    width: 100vw;
    height: 160px;
    margin: 0px; 
    padding: 0px;
    background: white;
}

.headerLogo {
    height: 125px;
    margin: 0px;
    padding: 0px;
    display: flex;
}

.headerLogo a {
    height: 125px;
    margin: 0px 20px;
    padding: 0px;
}

.headerLogo a img {
    height: 125px;
    margin: 0px;
    padding: 0px;
}

.headerLogo h1 {
    font-size: 2.5em;
    width: auto;
    height: 125px;
    overflow: auto;
}

.burger {
    display: none;
    margin: auto;
    margin-right: 10px;
    cursor: pointer;
}

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

.burgerMenu {
    display: none;
}

header nav {
    display: flex;
    background: gray;
    width: 100%;
    height: 35px;
    margin: 0px;
    padding: 0px;
    text-align: center;
}



.menuBar {
    width: 100vw;
    background-color: rgb(255, 218, 164);
    margin: 0px;
}

.menuBar li {
    width: 23%;
    height: 35px;
    display: inline-block;
    margin: 0px;
    background-color: rgb(180, 108, 0);
    border-left: rgb(255, 218, 164) solid 1px;
    border-right: rgb(255, 218, 164) solid 1px;
    cursor: pointer;
}

.menuBar li a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    line-height: 35px;
    display: block;
    margin: 0px;
}

.menuBar .active a {
    background-color: #ffcb5b;
    color: black;

}

.menuBar .active .subMenu-1 ul li a {
    background-color: rgb(180, 108, 0);
    color: white;
    display: block;
    height: 35px;
    width: 100%;
    border-bottom: dotted 1px white;
}

.menuBar .active .subMenu-1 :hover {
    background-color: #ffcb5b;
    color: black;
}

.menuBar :hover {
    background-color: #ffcb5b;
    color: black;
}

.subMenu-1{
    position: absolute;
    background-color: #333;
    z-index: 10;
    width: 23%;
}

.subMenu-1 ul {
    position: absolute;
    top: -1000px;
    width: 100%;
}

.subMenu-1 ul li {
    display: block;
    height: 35px;
    width: 100%;
    border-bottom: dotted 1px white;
}

.menuBar :hover .subMenu-1 ul {
    top: 0px;
}

.subMenu-1 ul li:last-child {
    border: none;
}


.topImage {
    width: 100vw;
    height: auto;

}

.topImage img {
    width: 100vw;
    height: auto;
}


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


.articleWill {
    background: linear-gradient(-45deg,#ffe8b7,#ffbf84);
    margin: 0px;
    padding: 10px;
    box-sizing: border-box;
}

.articleWill h1 {
    text-align: center;
}

.articleWill p {
    padding: 10px 50px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 10px auto;
    padding: 10px auto;
}

.gallery a {
    text-decoration: none;
}

.gallery a img {
    width: 400px;
    height: 300px;
    object-fit: cover;
    padding: 10px;
    filter: grayscale(100%);
    transition: 0.5s;
}

.gallery a img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}


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

.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) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    header {
        position: fixed;
        height: 70px;
        z-index: 10;
    }
    
    .headerLogo {
        height: 70px;
    }

    header nav {
        height: 0px;
        display: none;
    }

    .headerLogo a {
        height: 70px;
    }

    .headerLogo a img {
        height: 70px;
    }    
    
    .headerLogo h1 {
        font-size: 1.5em;
        height: 70px;
    }

    .burger {
        display: block;
        position: absolute;
        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: absolute;
        top: 100px;
        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;
    }

    .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;
    }

    .topImage {
        margin-top: 70px;
    }    
    
    main {
        padding: 0px;
    }

    .gallery {
        margin: 10px 10px;
    }
    
    .gallery a img {
        width: 360px;
        height: 270px;
    }
    
  
}


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

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

    h2 {
        font-size: 1.1rem;
    }

    .headerLogo h1 {
        font-size: 1.1em;
    }

    .gallery a img {
        width: 320px;
        height: 240px;
    }
    

   
  }