@charset "utf-8";

html, body {
    margin: 0 auto;
    padding: 0 auto;
}
   

body {
    font-size: 1em;
    color: #333333;
    line-height:1.8em;
    background-color: whitesmoke;
    background-image: url(yamazakipan/back_dot.png);

    font-family:"ヒラギノ丸ゴ Pro";
    font-weight: bold;
}

p {
    margin: 0px;
}

#container{
    margin: 0px;
    width: 100%;
    height: 100%;
    max-width :390px;
    background-image: url(yamazakipan/wwwwwhaikei.svg);
    /*background-size: contain;*/
    text-align: left;
    margin-left: 0px;
}
.header {    
    width: 100%;
    height: 131px;
    max-width: 350px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*align-items: center;*/
    /*padding: 0 20px;*/
    background-image: url(yamazakipan/maku.png);
    position: fixed;
    padding: 20px;
    padding-top: 0;
    padding-bottom: 0;
  }
  
  .logo {
    font-size: 24px;
  }
  
  /* ここから下がハンバーガーメニューに関するCSS */
    
  /* チェックボックスを非表示にする */
  .drawer_hidden {
    display: none;
  }
  
  /* ハンバーガーアイコンの設置スペース */
  .drawer_open {
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;/* 重なり順を一番上にする */
    cursor: pointer;
  }
  
  /* ハンバーガーメニューのアイコン */
  .drawer_open span,
  .drawer_open span:before,
  .drawer_open span:after {
    content: '';
    display: block;
    height: 5px;
    width: 50px;
    border-radius: 5px;
    background: white;
    transition: 0.5s;
    position: absolute;
  }
  
  /* 三本線の一番上の棒の位置調整 */
  .drawer_open span:before {
    bottom: 20px;
  }
  
  /* 三本線の一番下の棒の位置調整 */
  .drawer_open span:after {
    top: 20px;
  }
  
  /* アイコンがクリックされたら真ん中の線を透明にする */
  #drawer_input:checked ~ .drawer_open span {
    background: rgba(255, 255, 255, 0);
  }
  
  /* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
  #drawer_input:checked ~ .drawer_open span::before {
    bottom: 0;
    transform: rotate(45deg);
  }
  
  #drawer_input:checked ~ .drawer_open span::after {
    top: 0;
    transform: rotate(-45deg);
  }
    
  /* メニューのデザイン*/
  .nav_content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%; /* メニューを画面の外に飛ばす */
    z-index: 99;
    background-image: url(yamazakipan/hamburger.svg);
    transition: .5s;

  }
  
  /* メニュー黒ポチを消す */
  .nav_list {
    max-width: 240px;
    max-height: 569px;
    margin-top: 275px;
    margin-left: 150px;

    text-align: center;
    list-style: none;

  }
  .nav_item{
    font-size: 25px;
    line-height: 70px;
    color: #745030;
  }
  
  /* アイコンがクリックされたらメニューを表示 */
  #drawer_input:checked ~ .nav_content {
    left: 0;/* メニューを画面に入れる */
  }

#visual1{
    width: 100%;
    height: 100%;
    max-width :390px;
    background-image: url(yamazakipan/mokomoko.svg);
    /*background-size:cover;*/
    background-position-y: 300px;
    /*margin-top: 238px;*/
    background-repeat: no-repeat;
}

#toptitle{
    width: 100%;
    max-width: 260px;
    /*text-align: center;*/
    padding-top: 580px;
    padding-left: 130px;
    margin-top: 0px;
 }

#maintxt{
    width: 178px;
    height: 145px;
    margin-left: 175px;
    text-align: left;
    padding-top: 70px;
    padding-bottom: 150px;
    font-size: 14px;
    line-height: 30px;
    color: #745030;
    text-shadow: 0px 4px 5px #808080;
}

#smilegallery{
    width: 100%;
    height: 100%;
    max-width :390px;
    background-image: url(yamazakipan/smilehaikei.svg);
    background-size:cover;
   /* margin-top: 50px;*/
    padding-top: 150px;
}

#gallerygaiyou{
    width: 100%;
    height: 100%;
    max-width :390px;
    margin-top:200px;
}
#smilephoto{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.btncopy{
    width: 250px;
    margin-left: 140px;
    text-align: center;
    line-height: 20px;
    padding-top: 50px;
    padding-bottom: 75px;
    /*padding-left: 65px;*/
    
    line-height: 35px;
    color: #745030;
    text-shadow: 0px 4px 5px #808080;


}
.top_btn_block{
    padding-bottom: 65px;
    color: #745030;
    text-shadow: 0px 4px 5px #808080;
    line-height: 52px;
    text-decoration: none;
}

#product{
    width: 100%;
    height: 1601px;
    max-width :390px;
    background-image: url(yamazakipan/producthaikeinew.svg);
    background-size:cover;
    margin-top:-70px;
}
#ribon1{
    width: 100%;
    height: 53px;
    max-width :390px;
    background-image: url(yamazakipan/ribon.svg);
    /*background-size:cover;*/
    /*margin-left: 105px;*/
    font-size: 25px;
    font-weight: bold;
    color: white;
    background-repeat: no-repeat;
    background-position: right;
}
.h2txt1{
    font-size: 25px;
    font-weight: bold;
    margin:auto;
    padding-left: 155px;
    padding-top: 10px;
}

#smilephoto{
    margin-top: 10px;
}
.smilephoto1{
    width: 100%;
    height: 100%;
    max-width :360px;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 30px;

}
.smilephoto2{
    width: 100%;
    height: 100%;
    max-width :360px;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 30px;

}
.smilephoto3{
    width: 100%;
    height: 100%;
    max-width :360px;
    padding-top: 30px;
    padding-bottom: 20px;
    padding-left: 30px;

}
.btn_motto{
    width: 100%;
    height: 100%;
    text-align: center;
    max-width :390px;
    font-size: 30px;


}

#ster{
    width: 100%;
    height: 100%;
    max-width :350px;
    /*background-size:cover;*/
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 14px;
    color: white;
}
.h2txt2{
    background-image: url(yamazakipan/ribon.svg);
    background-repeat: no-repeat;
    width: 100%;
    height: 100px;
    max-width: 175px;
    max-height: 53px;
    font-size: 30px;
    font-weight: bold;
    color: white;
    display: flex;
    background-position: right;
    background-size: 70%;
    padding-left: 215px;
    /*margin-left: 105px;*/
    padding-top: 20px;
    
}

#talks{
    padding-left: 20px;
}
.talk{
    width: 100%;
    height: 107px;
    max-width :358px;
    background-image: url(yamazakipan/hukidasiset2.svg);
    /*background-size:cover;*/
    padding-left: 12px; 
    padding-top: 25px;
    margin-bottom: 40px;
    font-size: 16px;
    background-repeat: no-repeat;
}
.h2txt3{
    font-size: 30px;
    font-weight: bold;
    color: white;
    text-align: center;
    padding-top: 50px;
    margin-bottom: 30px;
    
}

#flexzyouhou{
    width: 220px;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    font-size: 20px;
    line-height: 70px;
    padding-left: 73px;
    padding-right: 60px;
    margin-bottom: 30px;
    column-gap: 20px;

}

#maintxt2{
    line-height: 30px;
    margin-bottom: 50px;
}




#container_smile{
    background-color: bisque;
    margin: 0 auto;
    width: 100%;
    max-width :390px;
    background-image: url(yamazakipan/smilehaikeiwwwww.svg);
    text-align: left;
}
#infomation{
    font-size: 14px;
    line-height: 11px;
    margin-top: 50px;
    text-align: center;
    color: white;
}

#infomation_img{
display: flex;
flex-wrap: wrap;
padding: 42px;
row-gap: 15px;
column-gap: 15px;
padding-top: 0px;
padding-bottom: 20px;

}
.btn1{
    width: 145px;
    height: 50px;
    margin-bottom: 0px;
}
.midasi1{
    font-size: 20px;
    line-height: 80px;

}
.midasi2{
    font-size: 20px;
    line-height: 80px;
}

.btn_info2{
    color: white;
    line-height: 20px;
    margin-bottom: 20px;

}
.btn_info3{
    color: white;
    line-height: 16px;
    margin-bottom: 20px;
}
.btn_info3-2{
    color: white;
    line-height: 16px;
    margin-top: 40px;
    margin-bottom: 50px;
    font-size: 16px;

}
.btn2{
    text-decoration: none;
}


#final{
    width: 100%;
    height: 100%;
    max-width :330px;
    font-size: 14px;
    line-height: 24px;
    padding: 30px;
    row-gap: 20px;
    column-gap: 20px;
    display: flex;
    flex-wrap: wrap; 
    margin-bottom: 15px;
    background-image: url(yamazakipan/finalwhite.svg);
    justify-content: center;

}
.btn_final{
    color: black;

}
.btn6{
    text-decoration: none;
}

#logo{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}

#copywritted{
    font-size: 12px;
    padding-bottom: 10px;
    color: white;
    display: flex;
    justify-content: center;
}

#smilegallery2{
    margin: 0px;
    width: 100%;
    height: 100%;
    max-width :390px;
    background-image: url(yamazakipan/smilehaikei2.svg);
    /*background-size: contain;*/
    text-align: left;
    margin-left: 0px;
    font-weight: bold;
}

#smileribon{
    width: 100%;
    height: 100%;
    max-width :390px;
    text-align: left;
    padding-top: 150px;
}
.smileribon{
    width: 100%;
    height: 75px;
    max-width :390px;
    background-image: url(yamazakipan/smileribon.svg);
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
    font-size: 25px;
    color: #ffffff;
    padding-top: 20px;
}

.gaiyou{
    width: 100%;
    height: 100%;
    max-width :390px;
    text-align: center;
    font-size: 20px;
    color: #745030;
    line-height: 50px;
    padding-bottom: 30px;
    text-shadow: 0px 4px 4px #808080;

}

#toukoudai{
    width: 100%;
    height: 100%;
    max-width :390px;

    padding-bottom: 30px;
    font-weight: bold;
}
.toukoudai{
    width: 100%;
    height: 100%;
    max-width :390px;
    display: flex;
    justify-content: center;
    padding-top: 30px;
}
.kyapusyon{
    width: 100%;
    height: 100%;
    max-width :390px;
    text-align: center;
    font-size: 20px;
    color: #745030;
    justify-content: center;
    padding-top: 20px;
    padding-bottom: 20px;

}

.gallerytalk{
    width: 100%;
    height: 109px;
    max-width :355px;
    background-image: url(yamazakipan/staff.svg);
    background-repeat: no-repeat;
    background-position: center;
    padding-left: 35px;
    padding-top: 25px;
}

#kako{
    width: 100%;
    height: 100%;
    max-width :390px; 
    text-align: center;
    font-size: 25px;
    color: #745030;
    font-weight: bold;
    text-shadow: 0px 4px 4px #808080;
}


.toukousyou{
    width: 100%;
    height: 100%;
    max-width :390px;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    

}
.setumei{
    width: 100%;
    height: 100%;
    max-width :390px;
    text-align: center;
    font-size: 20px;
    color: #745030;
    text-shadow: none;
    padding-top: 15px;
}

.cp_box2 {
    width: auto;
    margin: 30px auto;
  }
  .cp_box2 input {
    display: none;
  }
  /*続きを読むボタン*/
  .cp_box2 label {
    font-weight: bold;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 80%;
    margin: auto;
    padding: 0.3em 1em;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
  
  }
 
  .cp_box2 label:hover::after {
    color: #ffffff;
  }
  /*hover*/
  .cp_box2 label:hover {
    transition: all 0.3s;

  }
  .cp_box2 label:hover::after {
    background: #ffffff;
  }

  /*hover*/
  .cp_box2 input:checked ~ label:hover::after {
    background: #ffffff;
  }
  .cp_box2 div.cp_container2 {
    position: relative;
    z-index: 10;
    overflow: hidden;
    height: 0;
    margin-top: -1px;
  }
  .cp_box2 input:checked ~ div.cp_container2 {
    transition: height 0.5s ease-in-out;
  }
  /* 高さを設定 */
  .cp_box2 input:checked ~ div.cp_container2 {
    height: auto;
  }

  .cp_container2{
    width: 100%;
    height: 100%;
    max-width :390px; 
    padding-top: 100px;
    font-size: 14px;
    text-shadow: none;

  }