@charset "utf-8";

:root{
    --color-bkg:#4E575E;
    --border-bk:1px solid var(--color-bkg);
    --border-bl:3px solid var(--color-bkg);
    --font-title: 20px;
    /* --font-min:YuMincho,'Yu Mincho', serif; */
    --font-min:"ヒラギノ明朝 ProN","Hiragino Mincho Pro", serif;
    --font-photo-contest: "yu-mincho-pr6n", sans-serif;
    /* --font-size-big:clamp(20px, 4vw, 40px); */
    --mg-s1:23.076vw;/*10% 100px*/
    --mg-s2:11.53vw;/* 8% 60px*/
    --mg-s3:5.12vw;/* 6% 40px*/
    --mg-s4:3.58vw;/* 4% 20px*/
    
    --mg-p1:8.78vw;/*120px 10% 100px*/
    --mg-p2:5.85vw;/* 80px8% 60px*/
    --mg-p3:2vw;/*2.92vw 40px 6% 40px*/
    --mg-p4:1.46vw;/*1.46vw 20px4% 20px*/
    }

    p {
    /* font-family: var(--font-photo-contest);
    line-height: 18px;
    font-size: 16px;
    font-weight: bold; */
    color: var(--color-bkg);
    font-family: "hiragino-mincho-pron", sans-serif;
    font-weight: bold;
    font-style: normal;
    line-height: 18px;
    }

    h2 {
    /* font-family: var(--font-photo-contest); */
    color: var(--color-bkg);
    font-family: "hiragino-mincho-pron", sans-serif;
    font-weight: bold;
    font-style: normal;
    }

    h3 {
        /* font-family: var(--font-photo-contest); */
    color: var(--color-bkg);
    line-height: 18px;
    font-weight: bold;
    font-family: "hiragino-mincho-pron", sans-serif;
    font-weight: bold;
    font-style: normal;
    }

    .main{padding-top: 0;}

    .photocon-header {
        position: sticky; /* headerを追従にする */
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        background-color: var(--color-bkg);
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
      }
      .photocon-header__inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 1rem;
      }
      .logo {
        font-size: 1.25em;
        font-weight: bold;
      }
      
      /* ハンバーガーボタンのデザイン */
      .drawer__button {
        position: relative;
        width: 50px;
        height: 50px;
        background-color: transparent;
        border: none;
        cursor: pointer;
        z-index: 999; /* メニューを開いている時もクリックできるよう設定 */
      }
      /* ハンバーガーボタン内の線 */
      .drawer__button > span {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        width: 30px;
        height: 2px;
        background-color: #fff;
        transform: translateX(-50%);
      }
      .drawer__button > span:first-child {
        transform: translate(-50%, calc(-50% - 0.5rem));
        transition: transform 0.3s ease;
      }
      .drawer__button > span:nth-child(2) {
        transform: translate(-50%, -50%);
        transition: opacity 0.3s ease;
      }
      .drawer__button > span:last-child {
        transform: translate(-50%, calc(-50% + 0.5rem));
        transition: transform 0.3s ease;
      }
      /* 展開時のデザイン */
      .drawer__button.active > span:first-child {
        transform: translate(-50%, -50%) rotate(-45deg);
      }
      .drawer__button.active > span:nth-child(2) {
        opacity: 0;
      }
      .drawer__button.active > span:last-child {
        transform: translate(-50%, -50%) rotate(45deg);
      }
      /* メニューのデザイン */
      .drawer__nav {
        position: fixed; /* 追従ヘッダーなどでも表示できるよう設定しておく */
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        transition: opacity 0.3s ease;
        opacity: 0;
        visibility: hidden;
      }
      .drawer__nav.active {
        opacity: 1;
        visibility: visible;
      }
      .drawer__nav__inner {
        position: relative;
        width: 100%;
        height: 100%;
        padding: 4rem 1.5rem 1rem;
        margin: 0 0 0 auto;
        overflow: scroll;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        background-color: var(--color-bkg);
      }
      .drawer__nav.active .drawer__nav__inner {
        transform: translateX(0);
        background-color: var(--color-bkg);
      }
      .drawer__nav__menu {
        list-style: none;
        padding-left: 0;
      }
      .drawer__nav__link {
        display: block;
        color: black;
        text-decoration: none;
        padding: 1rem 1rem;
        border-bottom: solid 1px lightgray;
      }
      
      /* ハンバーガーメニュー展開時、背景を固定 */
      /* body.active {
        height: 100%;
        overflow: hidden;
      } */
/* 
  .header-wrapper {
    background-color: var(--color-bkg);
    width: 100%;
  height: 100%;
} */

.photocon-header-menu li{
    margin-bottom: 40px;
    }

  .header-logo-top {
    height: 40px;
    width: 30vw;
}

.header-logo-hamburger {
    height: 60px;
    width: 100%;
    margin-top: 30px;
    margin-bottom: 50px;

}

    .header-logo {
        background-image: url("https://john.itembox.design/item/lp/photocontest/img/photocon-header-logo-08.svg"); 
        background-size: contain; 
        background-position: center;
        background-repeat: no-repeat;
    }

    .header-1 {
        background-image: url("https://john.itembox.design/item/lp/photocontest/img/photocon-header-1rerere.svg"); 
        background-size: contain; 
        background-position: center;
        background-repeat: no-repeat;
        width: 100%;
        height: 45px;
        display: flex;
        align-items: center;
    }

    .header-2 {
        background-image: url("https://john.itembox.design/item/lp/photocontest/img/photocon-header-2.svg"); 
        background-size: contain; 
        background-position: center;
        background-repeat: no-repeat;
        width: 100%;
        height: 45px;
        display: flex;
        align-items: center;
    }
    
    .header-3 {
        background-image: url("https://john.itembox.design/item/lp/photocontest/img/photocon-header-3re.svg"); 
        background-size: contain; 
        background-position: center;
        background-repeat: no-repeat;
        width: 100%;
        height: 45px;
        display: flex;
        align-items: center;
    }

    .main-visual-wrapper{
    background-image: url("https://john.itembox.design/item/lp/photocontest/img/sp-photocon-top-bnr.jpg");
    height: 125vw;
    }

    #present {
    padding-top: 70px;
    margin-top: -50px;
}

#how-to-apply {
    padding-top: 70px;
    margin-top: -50px;
}

#guidelines {
    padding-top: 70px;
    margin-top: -50px;
}

    .info-pfotocontest-tex {
    color: var(--color-bkg);
    font-family: var(--font-photo-contest);
    text-align: center;
    margin: auto;
font-weight: 400;
font-style: normal;
line-height: 18px;
    }

    .info-pfotocontest-imge-box {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      column-gap: 25px;
    }

    .info-pfotocontest-imge {
      /* height: 0;
      padding-bottom: 100%;
      position: relative; */
      width: 100%;
      padding-bottom: 100%;
    }

    .info-pfotocontest-imge-1 {background-image: url("https://john.itembox.design/item/lp/photocontest/img/food.jpg"); background-size: cover; background-position: center;}
    .info-pfotocontest-imge-2 {background-image: url("https://john.itembox.design/item/lp/photocontest/img/reed_re.jpg"); background-size: cover; background-position: center;}
    .info-pfotocontest-imge-3 {background-image: url("https://john.itembox.design/item/lp/photocontest/img/flower-imge.jpg"); background-size: cover; background-position: center;}

    .lp-contents-photo-contest {
        width: 95vw;
        max-width: 800px;
        font-family: var(--font-photo-contest);
        margin: auto;
    }

    .section-contents {
        margin: 50px auto;
        }

    .apply-how-to {
    font-size: var(--font-title);
    text-align: center;
    font-size: 30px;
    display: block;
    line-height: 40px;
    }

    .present-title {
        font-size: var(--font-title);
        text-align: center;
        font-size: 30px;
        display: block;
        line-height: 40px;
        letter-spacing: 5px;
        }


    .apply-how-to span{
        font-size:14px;
        margin-bottom: 20px;
        display: block;
        line-height: 18px;
        }

        .present-title span{
            font-size:14px;
            margin-bottom: 20px;
            display: block;
            line-height: 18px;
            }
            


    .award-grand-prix-box  {
        border: 1px solid var(--color-bkg);
        padding: 2%;
        }

        .award-box-image-1 { background-image: url("https://john.itembox.design/item/lp/photocontest/img/grand-prix.jpg"); background-size: cover; background-position: center;}
        .award-box-image-2 { background-image: url("https://john.itembox.design/item/lp/photocontest/img/gourmet.jpg"); background-size: cover; background-position: center;}
        .award-box-image-3 { background-image: url("https://john.itembox.design/item/lp/photocontest/img/flower.jpg"); background-size: cover; background-position: center;}
        .award-box-image-4 { background-image: url("https://john.itembox.design/item/lp/photocontest/img/life.jpg"); background-size: cover; background-position: center;}
        .award-box-image-5 { background-image: url("https://john.itembox.design/item/lp/photocontest/img/johnsbend-award.jpg"); background-size: cover; background-position: center;}


        .award-img-box {
        width: 100%;
        height: 40vh;
        max-height: 200px;
        }

        .award-box-image-1 {
            height: 40vh;
            }

            .award-tex {
            margin-top: 20px;
            }

            .award-tex-sab-title {
            font-size: 16px;
            font-weight: bold;
            }

            .prize-tex {
            border-bottom: 1px solid var(--color-bkg);
            margin-top: 20px;
            }

            .award-bottom-tex {
            margin: 10px 0;
            }

            .award-box-left {
            margin-right: 3%;
            }

            .step-insta-tap-img {background-image: url("https://john.itembox.design/item/lp/photocontest/img/insta-tap.jpg"); background-size: contain; background-position: center; background-repeat: no-repeat;}
            .step-tik-tap {background-image: url("https://john.itembox.design/item/lp/photocontest/img/tiktok-tap.jpg"); background-size: contain; background-position: center; background-repeat: no-repeat;}

            .step-box li{
             border: 3px solid var(--color-bkg);
             margin-bottom: 20px;
             line-height: ;
            }

            .step-inner {
            padding: 3%;
            }

            .step-title {
            background-color: var(--color-bkg);
            padding: 10px 0;
            width: 100%;
            color: #fff;
            text-align: center;
            }

            .step-1-flex {
            display: flex;
            justify-content: space-between;
            }

            .step-flex {
            display: flex;
            }

            .step-1-img {
            width: 48%;
            margin-bottom: 3%;
            height: 48vw;
            max-height: 300px;
            }

            .guide-title {
                display: block;
                background-color: var(--color-bkg);
                padding: 10px 0;
                color: #fff;
                padding-left: 20px;
            }

            .guid-bottom {
                display: block;
            padding: 20px;
            margin-bottom: 20px;
            }

            .step-234-tex {
            padding: 3% 3% 0 3%;
            }

            .insta-tiktok-follow-botton {
              margin-top: 15px;
              display: grid;
              grid-template-columns: 6% 41.5% 5% 41.5% 6%;
              }

              .insta-tik-imge {
              width: 100%;
              }

              .insta-tik-imge img{
              width: 100%;
              }

              .guideline-l-tex {
              font-size: 18px;
              }

              .step-box p {
                line-height: 20px;
                }

                .shop-compain-box {
                  margin-top: 70px;
                  }

                  .store-benefits-marker {
                    background: linear-gradient(transparent 50%, #BACFCC 50%);
                  }

                  .store-benefits-glid {
                    margin-top: 15px;
                    display: grid;
                    grid-template-columns: 6% 41.5% 5% 41.5% 6%;
                    }

      .store-img {
        background-image: url("https://john.itembox.design/item/brandsite/shoplist/img/tachikawa.jpeg");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        height: 300px;
    }



/*タブレット〜*/
@media screen and (min-width: 600px) {

    .main{padding-top: 0;}

    .drawer__button {
    display: none;
    }

    .mv-contents {
    margin-top: 30px;
    }

    p {
    line-height: 25px;
    }

    .photocon-header__inner {
    height: 80px;
    width: 100%;
    max-width: 1000px;
    margin: auto;
    }

    .header-logo-top {
        display: none;
        }

        .header-logo-hamburger { 
        margin-top: 0;
        margin-bottom: 0;
        }

    .drawer__nav__inner {
    padding: 0;
    margin: auto;
    }

    .header-wrapper {
    display: flex;
    height: 80px;
    width: 100%;
    max-width: 1000px;
    }

    .header-1 {
    height: 55px;
    }

    .header-2 {
      height: 55px;
    }

    .header-3 {
      height: 55px;
      }

    .drawer__nav {
    left: -100%;
    opacity: 1;
    visibility: visible;
    }

    .header-logo {
    height: 60px;
    margin: auto;
    width: 30vw;
    padding-left: 20px;
    }

    .photocon-header {
      box-shadow:none;
    }


    .photocon-header-menu {
    height: 100%;
    width: 100%;
    max-width: 1000px;
    display: flex;
    justify-content: flex-end;
    }

    .photocon-header-menu li{
        height: 100%;
        width: 220px;
        margin-right: 10px;
        }

        .photocon-header-menu a {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            }


    .header-wrapper {
    width: 100%;
    max-width: 1000px;
    background-color: var(--color-bkg);
    height: 80px;
    }

    p {
    font-size: 20px;
    line-height: 25px;
    }
            
    .info-pfotocontest-imge-box {
    width: 84vw;
    max-width: 900px;
    margin: auto;
    }



    .info-pfotocontest-imge {
    margin-top: 50px;
    }

    .award-box {
        width: 50%;
        }

        .award-grand-prix-box-flex  {
            display: flex;
            border: 3px solid var(--color-bkg);
            margin-bottom: 25px;
            }

            .award-img-box {
                height: 50vh;
                max-height: 500px;
                }

                .award-box {
                padding: 3%;
                }

                .award-box-flex {
                    display: flex;
                    flex-wrap: wrap;
                    justify-content: space-between;
                    }

                    .award-grand-prix-box-flex-2col {
                        width: 49%;
                        }


                    .award-grand-prix-box {
                      margin-bottom: 25px;
                      border: 3px solid var(--color-bkg);
                      }

                        .award-img-box {
                            width: 100%;
                            height: 30vh;
                            max-height: 360px;
                            }

                            .award-box-image-1 {
                                width: 50%;
                                }

                                .award-box-grand-prix {
                                width: 50%;
                                }

                                /* .award-tex-sab-title {
                                height: 50px;
                                } */

                                .step-flex-234 {
                                display: flex;
                                }

                                .step-half {
                                    width: 50%;
                                    }

                                    .award-bottom-tex {
                                        height: 70px;
                                        }

                                        .step-234-tex {
                                            padding: 0 3%;
                                            }

                                            .main-visual-wrapper{
                                                background-image: url("https://john.itembox.design/item/lp/photocontest/img/main-bnr-2.jpg");
                                                max-width: 1000px;
                                                height: 500px;
                                                margin: auto;
                                                }

                                                .apply-how-to {
                                                  font-size: 60px;
                                                  line-height: 70px;
                                                  margin-top: 60px;
                                                  letter-spacing: 3px;
                                                  font-weight: 600;
                                                    }
  .apply-how-to span{
    font-size: 25px;
    margin-top: 10px;
      }
                                                
                                                    .present-title {
                                                        font-size: 60px;
                                                        line-height: 70px;
                                                        margin-top: 60px;
                                                        letter-spacing: 3px;
                                                        font-weight: 600;
                                                        }
                                                        .present-title span {
                                                        font-size: 25px;
                                                        letter-spacing: -1px;
                                                        }

                                                        .award-tex-sab-title {
                                                        font-size: 26px;
                                                        line-height: 26px;
                                                        }

    #present {
        padding-top: 120px;
        margin-top: -100px;
    }
    
    #how-to-apply {
        padding-top: 120px;
        margin-top: -100px;
    }
    
    #guidelines {
        padding-top: 120px;
        margin-top: -100px;
    }

    .sp {
    display:none;
    }

    .photocon-header {
    background-color: #fff;
  }

  .drawer__nav__inner {
    transform: none;
    margin: auto;
  }

  .drawer__nav {
  left: 0%;
  }

  .drawer__nav {
  background-color: #fff;
  height: 80px;
  position: none;
  left:0;

  }

  .info-pfotocontest-tex {
  font-size: 20px;
  line-height: 25px;
  } 

  .drawer__nav {
  background-color: transparent;
  }

  .info-pfotocontest-imge {
width: 100%;
    }

    .present-title span {
    margin-top: 10px;
    }

    .section-contents-apply {
    margin-top: 30px;
    }

    .step-title {
    letter-spacing: 2px;
    padding: 0;
    }

    .insta-tik-tex {
    margin-bottom: 40px;
    }

    .step-box p {
    line-height: 35px;
    }

    .guideline-l-tex {
    font-size: 25px;
    }

    .prize-tex {
    line-height: 35px;
    }

    .guideline-s-tex {
    font-size: 18px;
    }


    .insta-tiktok-follow-botton {
      margin-top: 35px;
      display: grid;
      grid-template-columns: 11% 30.5% 17% 30.5% 11%;
      }

      .shop-img {
      width: 80%;
      margin: auto;
      margin-bottom: 30px;
      }

      .shop-compain-box {
      margin-top: 120px;
      }

      .store-benefit-box {
      display: flex;
      }

      .store-benefit-title-tex-box {
      width: 90%;
      }

      .tore-benefit-img-botton-box {
      width: 40%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      }

      .store-benefits-s-tex {
      font-size: 14px;
      line-height: 20px;
      letter-spacing: -1px;
      }

      .store-img {
        background-image: url("https://john.itembox.design/item/brandsite/shoplist/img/tachikawa.jpeg");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
      height: 40vh;
      display: flex;
    }

    .store-benefits-glid {
    display: block;
    }

    .store-botton-kyoutuu {
    width: 70%;
    margin: auto;
    }

    .store-benefit-tex {
    margin-right: 5px;
    }

        }