@charset "UTF-8";

@font-face {
    font-family: irohamaru;
    src: url(../font/MODI_irohamaru_2016_0727/irohamaru-Medium.ttf) format("truetype");
}

@font-face {
    font-family: aosagi;
    src: url(../font/YDW_aosagi/YDWaosagi.otf) format("opentype");
}

/* 共通 */
html {
    scroll-padding-top: 90px;
    /* ページ内リンクでヘッダーに隠れないようにする設定 */
    scroll-behavior: smooth;
}

body {
    background: url(../image/bgnew.jpg) no-repeat top / cover;
    color: #531612;
    font-family: "irohamaru", "Zen Maru Gothic", serif;
}

* {
    margin: 0;
    padding: 0;
}

li {
    list-style-type: none;
}

section {
    margin-bottom: 80px;
    margin-left: 15px;
    margin-right: 15px;
    animation: opacity ease forwards;
    animation-timeline: view();
   animation-range: cover 0% cover 100%;
}

@keyframes opacity{
    0%{opacity: 0;}
    20%{opacity: 0.23;}
    40%{opacity: 1;}
    100.1%{opacity: 0;}
  }


h2 {
    font-family: aosagi;
    font-weight: 500;
    margin-bottom: 50px;
}

a {
    text-decoration: none;
    color: #DF751E;
}

/* header */

header {
    position: fixed;
    width: 100%;
    height: 90px;
    background: url(../image/sunshade.png) repeat-x top / cover;
    filter: drop-shadow(1px 3px 4px #7f7f7f);
    background-size: 620px;
    z-index: 1000;
}

header h1 {
    text-align: center;
    margin: 0 0 15px;
}

header h1 img {
    width: 150px;
    height: auto;
}

.gnav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    background: #c7f1d0;
    left: 100%;
    transition: left .5s;
    z-index: 500;
}

.gnav ul {
    position: absolute;
    top: 10%;
    left: 35%;
}

.gnav ul li {
    padding: 23px;
}

.gnav ul li a {
    display: block;
    font-size: 1.2rem;
    color: #a64437;
}


#drawer_toggle {
    width: 35px;
    height: 35px;
    z-index: 700;
    position: absolute;
    top: 12px;
    right: 25px;
    transition: .5s;
}

#drawer_toggle span {
    width: 18px;
    height: 3px;
    background-color: #531612;
    position: absolute;
    top: 8px;
    left: 7px;
    transition: .5s;

}

#drawer_toggle span:nth-child(2) {
    margin-top: 6px;
    transition: .5s;
}

#drawer_toggle span:nth-child(3) {
    margin-top: 12px;
    transition: .5s;
}

/* クリックした後の装飾 */
#drawer_toggle.open span {
    position: fixed;
    top: 30px;
    left: 320px;
    width: 30px;
    margin: 0;
}

#drawer_toggle.open span:first-child {
    transform: rotate(45deg);
    transition: .5s;
}

#drawer_toggle.open span:nth-child(2) {
    opacity: 0;
    transition: .5s;
}

#drawer_toggle.open span:last-child {
    transform: rotate(-45deg);
    transition: .5s;
}

.gnav.sp_open {
    left: 0;
}

@media screen and (min-width: 767px) {
    #drawer_toggle span {
        width: 27px;
        height: 5px;
        top: 10px;
        left: -78px;

    }

    #drawer_toggle span:nth-child(2) {
        margin-top: 8px;
    }

    #drawer_toggle span:nth-child(3) {
        margin-top: 16px;
    }

    #drawer_toggle.open span {
        top: 30px;
        left: 780px;
        width: 27px;
        margin: 0;
    }


    .gnav ul {
        top: 15%;
        left: 20%;
    }

    .gnav ul li a {
        position: relative;
    }

    .gnav ul li a::after {
        background-color: #531612;
        /* 下線の色 */
        bottom: -5px;
        /* 要素の下端からの距離 */
        content: "";
        /* 要素に内容を追加 */
        height: 2px;
        /* 下線の高さ */
        left: 0;
        /* 要素の左端からの距離 */
        opacity: 0;
        /* 不透明度 */
        position: absolute;
        /* 絶対位置指定 */
        transition: all .3s;
        /* アニメーション効果を追加 */
        width: 100%;
        /* 要素の幅 */
    }

    .gnav ul li a:hover::after {
        bottom: -2px;
        /* 下線を上から下に移動 */
        opacity: 1;
        /* 不透明度を変更してフェードイン */
    }

    .gnav.sp_open {
        left: 50%;
}
}

/* main */

.slider {
    position: relative;
    width: 90%;
    height: 300px;
    overflow: hidden;
    margin: 0 auto 30px;
}

.slider .img_01,
.slider .img_02,
.slider .img_03,
.slider .img_04 {
    position: absolute;
    top: 55px;
    left: 0;
    width: 100%;
    height: 80%;
    background-size: cover;
    background-repeat: no-repeat;
}

.slider .img_01 {
    background-image: url(../image/img_01.jpg);
    animation: slide-animation-01 24s infinite;
    z-index: -1;
}

.slider .img_02 {
    background-image: url(../image/img_02.jpg);
    animation: slide-animation-02 24s infinite;
    z-index: -1;
}

.slider .img_03 {
    background-image: url(../image/img_03.jpg);
    animation: slide-animation-03 24s infinite;
    z-index: -1;
}

.slider .img_04 {
    background-image: url(../image/img_04.jpg);
    animation: slide-animation-04 24s infinite;
    z-index: -1;
}

@media screen and (min-width: 767px) {
    header {
        height: 100px;
        background-size: 850px;
    }

    header h1 img {
        width: 180px;
    }

    .slider {
        height: 600px;
    }

    .slider .img_01,
    .slider .img_02,
    .slider .img_03,
    .slider .img_04 {
        top: 30px;
        height: 100%;
    }
}

@keyframes slide-animation-01 {
    0% {
        opacity: 1;
        transform: scale(1.0);
    }

    30% {
        opacity: 1;
    }

    40% {
        opacity: 0;
        transform: scale(1.5) translateX(-50px);
    }

    90% {
        opacity: 0
    }

    100% {
        opacity: 1;
        transform: scale(1.0);
    }
}

@keyframes slide-animation-02 {
    0% {
        opacity: 0;
    }

    30% {
        opacity: 0;
        transform: scale(1.1);
    }

    40% {
        opacity: 1;
    }

    60% {
        opacity: 1;
    }

    70% {
        opacity: 0;
        transform: scale(1.0);
    }

    100% {
        opacity: 0;
    }
}

@keyframes slide-animation-03 {
    0% {
        opacity: 0;
    }

    60% {
        opacity: 0;
        transform: scale(1.0);
    }

    70% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    90% {
        opacity: 0;
    }

    100% {
        opacity: 0;
        transform: scale(1.1);
    }

}

@keyframes slide-animation-04 {
    0% {
        opacity: 0;
    }

    60% {
        opacity: 0;
    }

    70% {
        opacity: 0;
        transform: scale(1.35);
    }

    80% {
        opacity: 0;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        transform: scale(1.0);
    }

}

.welcometext .sentence {
    font-family: aosagi;
    font-size: 16px;
    flex-basis: 300px;
    margin-left: 20px;
}

.welcometext .sentence p {
    background-color: #fff;
    width: fit-content;
    border-radius: 5px;
    padding: 7px;
}

p.first_sentence {
    margin-bottom: 5px;
}

p.first_sentence span {
    color: #2E8B1F;
}

p.seconde_sentence span {
    color: #F4781E;
}

.welcometext {
    display: flex;
    justify-content: space-around;
    margin-top: -120px;
    margin-bottom: 30px;
}

.fiftyyears {
    margin: -15px 10px 10px;
}

.fiftyyears img {
    width: 110px;
}

@media screen and (min-width: 767px) {
    .welcometext .sentence {
        font-size: 30px;
        flex-basis: 500px;
        margin-left: 10px;
    }

    .welcometext .sentence p {
        padding: 10px;
    }

    p.first_sentence {
        margin-bottom: 15px;
    }

    .welcometext {
        margin-top: -190px;
        margin-bottom: 30px;
    }

    .fiftyyears {
        margin: -95px 10px 10px;
    }

    .fiftyyears img {
        width: 250px;
    }
}

/* 取り扱い商品 */
.item h2 {
    background-image: url(../image/Rectangle.jpg);
    background-repeat: no-repeat;
    padding: 5px 10px 10px;
    font-size: 20px;
}

.item .itembox {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}

.itemlist p {
    margin-top: 10px;
}

.itemlist:last-child p {
    margin-top: 22px;
}

.itemlist img {
    width: 140px;
    filter: drop-shadow(7px 4px 0 #632b2b);
}

.item .itembox .itemlist {
    margin: 5px 5px 10px;
    text-align: center;
    letter-spacing: .3em;
}


/* 宣伝文 */
.text {
    padding: 80px 20px 80px 30px;
    background-image: url(../image/textboard.png);
    background-repeat: no-repeat;
    background-size: 100% 400px;
    margin-bottom: 50px;
}

.text ul {
    font-family: "Zen Maru Gothic";
    font-weight: 500;
    font-size: 14px;
    color: #AA1515;
    letter-spacing: .2em;
    width: 100%;
    margin: 0 20px 0;
}

.text ul li::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    background-image: url(../image/checkbox.png);
    background-position: center;
    background-size: contain;
    opacity: 0.8;
    margin-right: 7px;
}

.text ul li {
    margin-bottom: 23px;
    line-height: 17px;
}


/* 店内マップ */
.shopmap h2 {
    background-image: url(../image/Rectangle.jpg);
    background-repeat: no-repeat;
    padding: 5px 0 8px 17px;
    font-size: 20px;
}

.luminous>img {
    max-width: 100%;
}

.shopmap .comment {
    margin: 0 auto;
}

.shopmap .comment p {
    margin-left: 30px;
    margin-bottom: 10px;
    padding: 2px;
    font-size: 14px;
}

.shopmap .hour {
    width: 180px;
    font-size: 12px;
    margin-top: -20px;
    margin-left: auto;
}

.shopmap .hour table th {
    width: 60px;
    text-align: left;
    font-weight: 500;
}

.shopmap .hour table td {
    padding: 2px;
}

/* アクセス */
.access h2 {
    background-image: url(../image/Rectangle.jpg);
    background-repeat: no-repeat;
    padding: 5px 0 5px 25px;
    font-size: 21px;
}

.access>iframe {
    width: 100%;
    height: 300px;
    box-shadow: 1px 5px 5px #adacac;
}

.access .adress {
    margin: 20px;
}

.access .adress p {
    padding: 3px;
    letter-spacing: .1em;
}

/* 駐車場 */
.parking h2 {
    background-image: url(../image/Rectangle.jpg);
    background-repeat: no-repeat;
    padding: 2px 0 5px 33px;
    font-size: 22px;
}

.parking .container {
    display: flex;
    justify-content: space-around;
}

.parking .container p {
    font-size: 14px;
    line-height: 20px;
}

.parking .container img {
    width: 200px;
}

.parking .container figcaption {
    text-align: center;
    font-size: 12px;
}
.parking .parkingphoto figure {
    text-align: center;
}
.parking .parkingphoto img {
    width: 70%;
    margin: 20px;
}

.parking .parkingphoto figcaption {
    text-align: center;
    margin-bottom: 10px;
}

.pagetopbtn {
    position: fixed;
    background-image: url(../image/pafetopicon.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 50px;
    height: 50px;
    bottom: 10px;
    right: 30px;
    font-size: 11px;
    font-weight: 600;
    color: #3f1c02;
    padding: 0.7em;
    text-align: center;
    transition: 0.3s0;
    }

    .pagetopbtn:hover {
        opacity: 0.8;
    }

@media screen and (min-width: 767px) {

    .item,
    .pickup,
    .shopmap,
    .access,
    .parking {
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }

    .item h2,
    .pickup h2 {
        font-size: 28px;
        margin-left: 5px;
        padding: 10px;
        background-size: 210px;
        letter-spacing: .1em;
    }

    .shopmap h2,
    .access h2,
    .parking h2 {
        font-size: 28px;
        margin-left: 5px;
        background-size: 185px;
        letter-spacing: .1em;
    }

    .parking h2 {
        padding: 2px 0 5px 45px;
    }


    .item .itembox {
        gap: 50px;
    }

    .itemlist img {
        width: 250px;
        filter: drop-shadow(10px 7px 0 #632b2b);
    }

    .item .itembox .itemlist {
        margin: 5px 5px 10px;
        font-size: 23px;
        letter-spacing: .5em;
    }

    .item .itembox .itemlist a:hover {
        opacity: 0.8;
    }

    .pickupcontainer {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin: 10px;
    }

    .pickupcontainer a {
        position: relative;
    }


    .pickupcontainer a::after {
        background-color: #531612;
        /* 下線の色 */
        bottom: -5px;
        /* 要素の下端からの距離 */
        content: "";
        /* 要素に内容を追加 */
        height: 2px;
        /* 下線の高さ */
        left: 0;
        /* 要素の左端からの距離 */
        opacity: 0;
        /* 不透明度 */
        position: absolute;
        /* 絶対位置指定 */
        left: 165px;
        /* 位置調整 */
        transition: all .3s;
        /* アニメーション効果を追加 */
        width: 150px;
        /* 要素の幅 */
    }

    .pickupcontainer a:hover::after {
        bottom: -2px;
        /* 下線を上から下に移動 */
        opacity: 1;
        /* 不透明度を変更してフェードイン */
    }

    .text {
        background-size: 100% 400px;
        margin-bottom: 50px;
    }

    .text ul {
        font-weight: 600;
        font-size: 20px;
        letter-spacing: .3em;
        margin: 0 30px 0 80px;
    }

    .text ul li::before {
        width: 15px;
        height: 15px;
        margin-right: 9px;
    }

    .text ul li {
        margin-bottom: 25px;
        line-height: 20px;
    }

    .shopmap .comment p {
        font-size: 20px;
        margin-bottom: 15px;
        letter-spacing: .07em;
    }

    .shopmap .hour {
        width: 300px;
        font-size: 20px;
        margin-top: -50px;
    }

    .shopmap .hour table {
        line-height: 30px;
    }

    .shopmap .hour table th {
        width: 100px;
    }

    .access .adress p {
        font-size: 20px;
        letter-spacing: .1em;
        line-height: 29px;
    }

    .access>iframe {
        margin: 20px;
    }

    .parking .container p {
        font-size: 20px;
        line-height: 30px;
        letter-spacing: .1em;
    }

    .parking .container img {
        width: 450px;
    }

    .parking .container figcaption {
        font-size: 17px;
    }

    .parking .parkingphoto {
        display: flex;
        justify-content: space-around;
    }

    .parking .parkingphoto img {
        width: 300px;
    }

    .pagetopbtn {
        width: 70px;
        height: 70px;
        font-size: 15px;
        display: block;
        padding: 30px;
    }


}

/* footer */
footer {
    background-color: #F2EBEB;
    text-align: center;
    padding: 5px;
}

@media screen and (min-width: 767px){
    footer {
        font-size: 18px;
        padding: 15px;
    }
}