html{
    scroll-behavior: smooth;
}

body{
    font-family: "Robot", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
    margin: 0;
    padding: 0;
  }

  section{
    margin: 0 auto;
    padding: 100px 0;
    .inner-480{
        margin: 0 auto;
        max-width: 480px;
        width: 100%;
        @media screen and (max-width: 768px) {
            max-width: 100%;
            width: calc(100% - 40px);
        }
      }
      .inner-960{
        margin: 0 auto;
        max-width: 960px;
        width: 100%;
        @media screen and (max-width: 768px) {
            width: calc(100% - 40px);
        }
      }
  }

  h2{
    margin: 0 auto;
    width: 480px;
    img.ttl-img{
        display: block;
        margin: 0 auto 40px;
        width: auto;
        height: 52px;
    }
    @media screen and (max-width: 768px) {
        width: 100%;
        img.ttl-img{
            height: auto;
        }
    }
  }

  a{
    text-decoration: none;
    &:hover{
        opacity: .3;
    }
  }

  img.txt-img{
    display: block;
    margin: 0 auto;
  }

  .min-txt{
    margin: 4px auto 0;
    max-width: 960px;
    width: 100%;
    font-size: 12px;
    text-align: right;
    @media screen and (max-width: 768px) {
        text-align: left;
    }
  }

  .is-pc{
    display: block;
    @media screen and (max-width: 768px) {
        display: none;
    }
  }

  .is-sp{
    display: none;
    @media screen and (max-width: 768px) {
        display: block;
    }
  }

  /* header */
  header{
    display: flex;
    justify-content: space-between;
    padding: 0 32px;
    box-sizing: border-box;
    position: fixed;
    z-index: 999;
    top: 0;
    width: 100%;
    .header-logo{
        margin-top: 16px;
        img.logo{
            width: 130px;
            height: auto;
        }
    }
    .header-inner{
        display: flex;
        align-items: center;
        height: 56px;
        .nav-list{
            display: flex;
            .nav-item{
                font-size: 12px;
                &:not(:last-child){
                    margin-right: 16px;
                }
                a{
                    text-shadow: 1px 1px 0 #fff;
                }
            }
        }
        @media screen and (max-width: 768px) {
            display: block;
            .nav-list{
                display: block;
                background-color: #fff;
                padding: 24px 24px 48px 24px;
                border-radius: 8px;
                .nav-logo{
                    margin-bottom: 40px;
                    img{
                        display: block;
                        margin: 0 auto;
                        width: 92px;
                    }
                }
            }
        }
    }
    @media screen and (max-width: 768px) {
        .header-logo{
            margin: 0 auto;
            img.logo{
                width: 92px;
            }
        }
        .header-inner{
            .nav-list{
                .nav-item{
                    margin: 0;
                    padding: 16px;
                    border-bottom: 1px solid #E5E5E5;
                    &:not(:last-child){
                        margin: 0;
                    }
                    a{
                        display: block;
                        position: relative;
                        &::after{
                            content: "";
                            display: block;
                            position: absolute;
                            top: 8px;
                            right: 8px;
                            width: 8px;
                            height: 8px;
                            border-top: solid 1px #6C6C6C;
                            border-right: solid 1px #6C6C6C;
                            transform: rotate(45deg);
                            
                        }
                    }
                }
            }
        }
    }
}

  /* メニュー */
@media screen and (max-width: 768px) {
    /* ハンバーガーボタンのスタイル */
.hamburger {
    position: fixed;
    top: 16px;
    right: 16px;
    width: 24px;
    cursor: pointer;
    z-index: 20;
  }
  
  .hamburger span {
    margin: 5px 0;
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 1px;
    background-color: #6C6C6C;
    transition: 0.4s;
  }

  /* バツ印に変化するスタイル */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .hamburger.active {
    top: 32px;
    right: 32px;
  }
  
  /* メニューのスタイル */
  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    box-sizing: border-box;
    z-index: 5;
    transition: right 0.3s ease; /* スライドアニメーション */
  }
  
  /* メニューが表示される時 */
  .menu.open {
    right: 0; /* メニューが表示される位置 */
  }
}

  /* keyビジュアル */
  #key-visual{
    padding: 0 0 24px 0;
    text-align: right;
    h1{
        @media screen and (max-width: 768px) {
            width: calc(100% - 40px);
            margin: 60px auto 0;
        }
        img.key-img{
            margin-left: auto;
            width: 100%;
            max-width: 1360px;
        }
    }
  }

  /* グリークヨーグルトとは */
  #greekyogrt{
    padding-top: 0;
    scroll-margin-top: -400px;
    @media screen and (max-width: 768px) {
        margin-top: -50px;
        scroll-margin-top: -280px;
    }
    img.greekyogrt-bg{
        width: 100%;
    }
    .inner-480{
        margin-top: -100px;
        @media screen and (max-width: 768px) {
            margin: 0 auto;
            padding-top: 80px;
        }
    }
    h2{
        img.ttl-img{
            margin: 0 auto 40px 0;
        }
    }
    .txt-box{
        margin-top: -80px;
        .txt-img{
            width: 480px;
            @media screen and (max-width: 768px) {
                width: 100%;
            }
        }
    }
  }

  /* YOGIとは */
  #concept{
    background: url(../img/pc/img-greekyogrt_bg.png) no-repeat center;
    background-size: cover;
    padding: 100px 0;
    .txt-img{
        width: 480px;
        @media screen and (max-width: 768px) {
            width: 100%;
        }
    }
  }

  /* メリット */
  #merit{
    background-color: #B5C9CC;
    .merit-list{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin: 0 auto;
        max-width: 960px;
        width: 100%;
        @media screen and (max-width: 768px) {
            display: block;
        }
        .merit-item{
            margin: 0 auto;
            width: 300px;
            &:not(:last-child){
                margin-right: 24px;
            }
            @media screen and (max-width: 768px) {
                &:not(:last-child){
                    margin: 0 auto 32px auto;
                }
            }
        }
    }
    .min-txt{
        @media screen and (max-width: 768px) {
            max-width: 300px;
        }
    }
  }

  /* 出店形式 */
  #style{
    background: url(../img/pc/style_bg.png) no-repeat center;
    background-size: cover;
    padding: 100px 0;
    .style-list{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin: 0 auto;
        max-width: 960px;
        width: 100%;
        @media screen and (max-width: 768px) {
            display: block;
        }
        .style-item{
            margin: 0 auto;
            width: 300px;
            filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
            &:not(:last-child){
                margin-right: 24px;
            }
            @media screen and (max-width: 768px) {
                &:not(:last-child){
                    margin: 0 auto 32px auto;
                }
            }
        }
    }
  }

  /* サポート */
  #support{
    .support-list{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin: 0 auto;
        max-width: 830px;
        width: 100%;
        @media screen and (max-width: 768px) {
            display: block;
        }
        .support-item{
            width: 260px;
            margin-bottom: 40px;
            @media screen and (max-width: 768px) {
                margin: 0 auto;
                &:not(:last-child){
                    margin-bottom: 64px;
                }
            }
        }
    }
  }

  /* 月間PL */
  #monthly-pl{
    background-color: #F3F3F3;
    .txt-box{
        .pl-list{
            display: flex;
            justify-content: space-between;
            margin: 0 auto;
            max-width: 960px;
            width: 100%;
            @media screen and (max-width: 768px) {
                display: block;
            }
            .pl-item{
                margin: 0 auto;
                &:not(:last-child){
                    margin-right: 24px;
                }
                @media screen and (max-width: 768px) {
                    &:not(:last-child){
                        margin: 0 auto 32px auto;
                    }
                }
            }
        }
    }
  }

  /* 流れ */
  #flow{
    background-color: #E1EEF0;
  }

  /* よくあるご質問 */
  #qa{
    background: url(../img/pc/img-qa_bg.png) no-repeat center;
    background-size: cover;
    padding-bottom: 200px;
    @media screen and (max-width: 768px) {
        padding-bottom: 100px;
    }
  }

  /* 会社概要 */
  #company{
    margin-top: -100px;
    padding: 0 0 160px 0;
    h2{
        width: 100%;
    }
    @media screen and (max-width: 768px) {
        margin: 0;
        padding: 0 0 100px 0;
    }
  }

/* footer */
footer{
    background-color: #65939A;
    width: 100%;
    .min-txt{
        color: #fff;
        padding: 16px 0;
        font-size: 12px;
        text-align: center;
    }
}