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

  /* ポップアップ */
  #pop-up {
    position: fixed;
    /* top: 30%;
    right: 4%;
    left: 4%;
    font-size: 1.2rem;
    width: 92%; */
  }

  #pop-up.off {
    display: none;
  }

.content img {
  max-width:100%;
  /* max-height:30vh; */
  display:block;
  margin-right: auto;
  margin-left: auto;
}

#close {
  position: absolute;
  /* bottom: 2vh; */
  right: 4px;
  top: 3px;
}
.close_circle {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(0,0,0,.1);
  cursor: pointer;
  border-radius: 50px;
  background-color: #fff;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}
.close_circle span::before,
.close_circle span::after {
  display: block;
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 84%;
  height: 16%;
  margin: -8% 0 0 -42%;
  background: rgb(0, 0, 0);
}
.close_circle span::before {
  transform: rotate(-45deg);
}
.close_circle span::after {
  transform: rotate(45deg);
}

.popup {
  display: none;
  /* height: 100vh; */
  width: 100%;
  /* background: #2d2d2d;
  background: rgba(0,0,0,0.6); */
  position: fixed;
  bottom: 0;
  left: 0;
  z-index:1000;
  justify-content: center;
  align-items: center;
  display: flex;
}
.content{
  /* padding: 30px; */
  width: 100%;
  position:relative;
  color:#2d2d2d;
}

.content img {
  max-width:100%;
  /* max-height:30vh; */
  display:block;
  margin-right: auto;
  margin-left: auto;
}

  .content_wrap section {
    width:100%;
  }
  .content_wrap section .inner_wrap {
    max-width:768px;
    margin-right: auto;
    margin-left: auto;
    /* background:#2d2d2d; */
  }
  h1{
    text-indent: -9999px;
  }
  .inner_wrap {
    padding-top: 6vh;
    padding-bottom: 6vh;
  }

  .inner_wrap h2{
    font-size: 1.6rem;
    margin-bottom: 2em;
  }
  .inner_wrap h3{
    font-size: 1.3rem;
    font-weight: 500;
  }
  .top_img {

  }
  .top_img .inner_wrap {
    height:30vh;
  }
    .top_img .inner_wrap.topImg{
      background-image: url(/assets/img/top/liberta_main_trm.jpg);
      background-position: center center;
      background-size: cover;
      background-position: top;
      height: 70vh;
    }

  .personalize_flow .inner_wrap {
    padding-left:10vw;
    padding-right:10vw;
    padding-top: 1vh;
    padding-bottom: 1vh;
    background:#ece7d7;
    color:#2d2d2d;
    width:100%;
    text-align: center;
    font-size:1.2rem;
  }
  .personalize_flow.second_flow .inner_wrap {
    background:white;
  }
  .personalize_flow .inner_wrap span:nth-child(3){
    font-size: 1.6rem;
  }
  .brand_philosophy .inner_wrap {
    padding-left:10vw;
    padding-right:10vw;
  }

  .brand_philosophy h3 {
    padding-bottom:5vh;
    font-size:1.4rem;
    font-weight:normal;
    color:#2d2d2d;
    font-family:'Sawarabi Mincho';
    line-height: 1.6em;
    letter-spacing: 0.8px;
  }
  .sentences {
    font-size:1.2rem;
    letter-spacing: 0.8px;
    line-height: 2em;
  }
  .sentences p{
    margin-bottom:2vh;
  }
  .information {
    background:#ece7d7;
    color:#2d2d2d;
  }
  .information .inner_wrap {
    padding-left:15vw;
    padding-Right:15vw;
    padding-top: 10vh;
    padding-bottom: 10vh;
  }
  .information h2 {
    /* text-align: center; */
    color:#999999;
    font-size:2.0rem;
    padding-bottom:1vh;
  }
  .information li{

    padding-top:1.5vh;
    padding-bottom:1.5vh;
    font-size:1.2rem;
    line-height:2.5rem;
  }
  .information li:first-child{
    border-bottom:solid 1px #2d2d2d;
  }
  .information_link,
  .information_link a:visited,
  .information_link a:link {
    /* color:#C3C3C3 !important; */
    text-align: right;
    font-size:1.2rem;
  }
  .how_to_buy .inner_wrap {
    padding-left:5vw;
    padding-Right:5vw;
    padding-top: 0 !important;
  }
  .how_to_buy .inner_wrap h2,
  .how_to_buy .inner_wrap h3 {
    padding-left:5vw;
  }
  /*LIBERTAが届くまでの横スライド機能*/
  .slider_section {
    width:100%;
    height:46vh;
    margin-right: auto;
    margin-left: auto;
    margin-top: 3vh;
    padding-top:3vh;
    padding-bottom:3vh;
    background:#f0f3f5;
  }
  .step_title {
    color:#999999;
    text-align: center;
    font-size:1.6rem;
    line-height:4.5vh;
    font-weight: bold;
  }
  .slide_img_box {
    /* text-align: center; */
    margin-top: 1.5em;
  }
  .slide_img {
    width:60%;
    margin-right: auto;
    margin-left: auto;
  }
  .pc_howToBuy{
    display: none;
  }
  .under_slide_text {
    padding-left:10%;
    padding-Right:10%;
    margin-top: 3.5vh;
    font-size:1.2rem;
    letter-spacing: 0.8px;
    line-height: 1.8em;
  }
  .slider_button_section {
    margin-top: 4vh;
    display:flex;
    justify-content: space-around;
  }
  .arrow_button_box {
    background:#2d2d2d;
    width:10vw;
    height:10vw;
    max-width:40px;
    max-height:40px;
    display: flex;
    justify-content: center;
    align-items: center;

  }
  .slider_index {
    width:70%;
    display:flex;
    justify-content: center;
    align-items: center;
  }
  .arrow_button_box img{
    width:3vw;
    max-width:10px;
  }
  .circle {
    border:solid 1vw #2d2d2d;
    border-radius: 50% 50%;
    width:0;
    margin-right: 2vw;
    margin-left: 2vw;
    transition: all 100ms ease;
  }
  .circle.now {
    border:solid 1px #2d2d2d;
    width:4vw;
    height:4vw;
    max-width:25px;
    max-height:25px;
  }
    .our_product {

    }
  .our_product .inner_wrap {
    padding-left:10vw;
    padding-Right:10vw;
  }
  .product_img {
    height:30vh;
    background-image: url(/assets/img/top/productcut-3.jpg);
    background-position: center center;
    background-size: cover;
    background-position: center;
  }
    .our_product h3 {
    text-align: center;
margin-top: 2em;
  }
  .personalize_link {
    /* border-top:solid 1px #2d2d2d;
    border-bottom:solid 1px #2d2d2d; */
    position: relative;
    top: -4vh;
  }
  .personalize_link .inner_wrap {
    display:flex;
    position:relative;
    padding:1vh 0;
  }
  .personalize_link .inner_wrap .choices{
    font-size:1.2rem;
    line-height:5vh;
    vertical-align: middle;
    width:50%;
    text-align: center;
    font-weight:bold;
    cursor: pointer;
  }
  .gift_popup_wrap {
    min-width:100vw;
    min-height:100vh;
    position:fixed;
    top:0;
    background:rgba(100,100,100,0.7);
    display:flex;
    align-items: center;
    justify-content: center;
    transition: all 300ms ease;
  }
  .gift_popup_wrap.off {
    display:none;
  }
  /* .gift_popup_wrap.off .gift_white_box {
  opacity:0;
  transition: all 300ms ease;
  } */
  .gift_white_box {
    background:white;
    height:50vh;
    width:95vw !important;
    padding:4vw 4vw;
    border-radius: 3vw 3vw;
    opacity:1;
    animation:show 100ms ease 0s
  }
  @keyframes show{
    from{
      opacity: 0;
    }
    to{
      opacity: 1;
    }
  }
  .gift_batsu_box{
    text-align: right;
  }
  .gift_batsu {
    width:4vw;
  }
  .gift_title{

  }
  .gift_popup_wrap h2 {
    text-align: center;
    margin-top: 5vh;
    font-size: 1.4rem;
    letter-spacing: 0.8px;
  }
  .gift_flex {
    display:flex;
    justify-content: space-around;
    font-size: 1.2rem;
  }
  .gift_flex #giftecard,
  .gift_flex #giftproduct {
    width:50%;
    text-align: center;
    padding-top:5vh;
  }
  .gift_choices_img {
    width:60%;
    cursor: pointer;
  }
  .section_title .inner_wrap {
    padding-left: 10vw;
    padding-right: 10vw;
    padding-bottom: 2vh !important;
  }
  .choices {
    color: #e99d3d;
  }
  .choices div {
    width:80%;
    margin-right: auto;
    margin-left: auto;
    border-radius: 8vw 8vw 8vw 8vw;
    border:solid 1px #e99d3d;
  }
  .users_voices {
    background: #ece7d7;
  }
  .users_voices .inner_wrap {
    padding-left: 10vw;
    padding-Right: 10vw;

  }
  .users_voices .inner_wrap article {
    font-size: 1.2rem;
    letter-spacing: 0.8px;
    line-height: 1.8em;
        margin-bottom: 5vh;
  }
  .users_voices .inner_wrap article:first-child {
    margin-bottom: 3vh;
  }
  .users_voices .inner_wrap article span {
    font-size:70px;
    line-height:20px;
    display:block;
    color:#999999;
  }
  .users_voices .inner_wrap article .first {
    line-height:20px;
    margin-left: -3vw;
  }
  .users_voices .inner_wrap article .last {
    margin-top: 3rem;
    line-height:20px;
    text-align: right;
    margin-right: -3vw;
  }
  .event .inner_wrap {
    padding-left: 10vw;
    padding-Right: 10vw;
  }
  .event h2 {
    padding-bottom:0vh;
  }
  .event .event_img {
    height:30vh;
    overflow: hidden;
        margin-bottom: 2em;
  }
  .event .event_img img {
    width: 100%;
    height: auto;
    position: relative;
    transform: translate(0%,-15%);
  }
  .event_sentence {
    font-size:1.2rem;
    letter-spacing: 0.8px;
    line-height: 2em;
  }
  .event a {
    display:block;
    width:100%;
  }
  .instagram .inner_wrap {
    padding-left: 5vw;
    padding-Right: 5vw;
    padding-top: 0;
    padding-bottom: 0;
  }
  .insta_flex {
    display:flex;
    flex-wrap:wrap;
    justify-content: space-between;
    align-content:space-between;
    height:90vw;
  }
  .insta_img {
    width:42.5vw;
    height:42.5vw;
    overflow: hidden;
    background-color: #ddd;
  }
  .insta_img img{
    width: 100%;
  }
  .top_img .inner_wrap.first {
    background-image: url(/assets/img/top/liberta_main_trm.jpg);
    background-position: center center;
    background-size: cover;
    background-position: center;
    height: 70vh;
  }
  .inner_wrap.image_02 {
     background-image: url(/assets/img/top/philosophy_02.jpg);
     background-position: center center;
     background-size: cover;
     background-position: center;
   }
   .inner_wrap.image_03 {
      background-image: url(/assets/img/top/philosophy_03.jpg);
      background-position: center center;
      background-size: cover;
      background-position: center;
    }
    .inner_wrap.image_04 {
       background-image: url(/assets/img/top/philosophy_04.jpg);
       background-position: center center;
       background-size: cover;
       background-position: center;
     }
 .inner_wrap.image_05 {
    background-image: url(/assets/img/new_materials/liberta_symbolcut.jpg);
    background-position: center center;
    background-size: cover;
    background-position: center;
  }

}
@media screen and (min-width:768px){
  /* ポップアップ */
  #pop-up {

    right: 0%;
    left: 0%;
    font-size: 1.1rem;
    width: 100%;
  }
  #pop-up a {
    padding: 4vh 2vw;
  }

  .content img {

  }

  .content{
    /* padding: 30px; */
    width: 25%;
  }

  #close {
    position:absolute;
    /* bottom:2vh; */
    right: 4px;
    top: 32px;
  }

  h1{
    text-indent: -9999px;
background-image: url(/assets/img/top/liberta_logo_white.svg);
background-size: 65vh;
background-position: center;
height: 64vh;
  }
  .top_img .inner_wrap.topImg{
  background-image: url(/assets/img/top/liberta_main.jpg);
  background-position: center;
  }
  .inner_wrap h2{
    font-size: 2.3rem;
  }
  .top_img .inner_wrap {
    height:70vh;
  }
  .brand_philosophy h3 {
    padding-bottom:6vh;
    font-size:2.4rem;
  }
    .top_img .inner_wrap.first {
      max-width: 100% !important;
    }
    .top_img.odd_img .inner_wrap {
      margin-right: 0;
      margin-left: auto;
      width: 60%;
    }
    .odd .inner_wrap {
      margin-right: auto;
      margin-left: 0 !important;
      padding-left: 15vw !important;
      margin-bottom: -25vh;
    }
    .top_img.even_img .inner_wrap {
      margin-right: auto;
      margin-left: 0;
      width: 60%;
    }

    .even .inner_wrap {
      margin-right: 0 !important;
      margin-left: auto;
      padding-left: 30vw !important;
     margin-bottom: -25vh;
    }
  .circle {
    border:solid 5px #2d2d2d;
  }
  .content_wrap section .inner_wrap {
    max-width:76%;
    margin-right: auto;
    margin-left: auto;
    /* background:#2d2d2d; */
  }
  .content_wrap section .inner_wrap.topImg{
    max-width: 100% !important;
  }
  .event .event_img {
    height:60vh;
  }
  .product_img {
    height:60vh;
  }
  .event .event_img img {
    width: 100%;
height: auto;
  }
  .our_product h3 {
margin-top: 5em;
}
  .personalize_flow .inner_wrap {
    margin-top: 5vh;
  }
  .brand_philosophy .inner_wrap, .our_product .inner_wrap, .event .inner_wrap{
    padding-top: 18vh;
    padding-bottom: 14vh;
  }
  .how_to_buy .inner_wrap{
    max-width: 100% !important;
    padding-top: 0 !important;
  }
  .sp_howToBuy{
    display: none;
  }
  .pc_howToBuy{
    display: block;
  }
  ul.pc_slider{
    width: 100%;
    display: flex;
  }
  ul.pc_slider li {
    text-align: center;
    width: 25vw;
    height: auto;
    background-color: #f0f3f5;
    flex: auto;
    margin: 0 1vw;
    padding: 2em 1.5em 3em;
  }
  .slide_img{
    width: 70%;
  }
  .step_title{
    font-size: 1.3rem;
  }
  .under_slide_text{
    font-size: 1rem;
  }
  .section_title .inner_wrap{
    padding-top: 12vh;
    padding-bottom: 6vh !important;
  }
  .users_voices .inner_wrap{
    width: 70%;
    padding-top: 10vh;
    padding-bottom: 10vh;
  }
  .insta_flex {
    height: auto;
  }
  .instagram .inner_wrap{
    max-width: 100% !important;
  }
  .insta_img {
    width: 20vw;
    height: 20vw;
  }
  .gift_white_box {
    height: 70vh;
    width: 60vw !important;
    padding: 1vw 1vw;
    border-radius: 1vw 1vw;
    opacity: 1;
    animation: show 100ms ease 0s;
  }
  .gift_batsu {
    width: 1vw;
  }
  .gift_choices_img {
    width: 50%;
  }
  .gift_flex #giftecard,
  .gift_flex #giftproduct {
    padding-top:8vh;
  }

  .gift_choices_img {
    width: 30%;
  }

  .gift_batsu {
    width: 1vw;
  }

  .gift_flex #giftecard,
  .gift_flex #giftproduct {
    width:40%;
  }

  .popup {
    display: none;
    /* height: 100vh; */
    width: 100%;
    /* background: #2d2d2d;
    background: rgba(0,0,0,0.6); */
    position: fixed;
    bottom: 0;
    left: 0;
    z-index:1000;
    justify-content: flex-end;
    align-items: center;
    display: flex;
  }

}
