@media screen and (max-width:1025px){
      /*画面幅が1025px以下の時*/

      #wrapper {
            max-width:100vw;
            min-width:fit-content;
        }
      #mainimage{
            background-size: 140vw;
            top:-3vw;     
            height:59vw;
      }
      #priceimage{
            background-size: 120vw;
            top:-3vw;     
            height:55vw;
      }
      
      #header  {
            height:55px;
      }
      #header #logo_href,#header #logo_href img {
            height:50px;
      }
        #mainimage_under {
            width:calc(100% - 16px);
            display: flex;
            flex-wrap: wrap;
            padding:8px;
            height:150vw;
        }
        #mainimage_under h3 {
            font-size:22pt;
        }
        #mainimage_under .right{
            width:100%;
            text-align: center;
        }
        #mainimage_under .right img{
            max-width:80vw;
            
            margin-top:-15vw;
        }
        .feature_container {
            display: flex;
            flex-wrap: wrap;
        }
        .feature_cell {
            grid-template-columns: 30vw auto;
            grid-template-rows:3em auto;
            width:90%;
            margin:auto;
            margin-bottom:5px;
        }
        .feature_cell .image img{
            max-width: 100%;
        }
        .nagare_cell {
            width:87vw;
            padding:25px 10px 10px;
            margin:auto;
            margin-bottom:5px;
            display: flex;
            flex-wrap: wrap;   
        }
        .nagare_cell .image {
            margin:auto;
        }
        .nagare_cell .image img{
            max-width: 80%;
        }
        .under_content {
              width:90%;
              margin:auto;
              margin-top:15px;
              padding:5px;
            }
            
      .under_content img{
            max-width: 100%;
      }
      .under_logo{
            max-width: 100vw;
      }
      .under_logo img{
            max-width: 100%;
      }
      footer .footer_menu {
            padding:0;
            width:100%;
            flex-wrap: wrap;
            font-size:4.6vw;  
      }
      footer .footer_menu li{
            width:42%;
            padding:3px;
      }
      footer .footer_menu li:nth-child(2n) {
            width:51%;
            padding:3px;
      }
      .main_full_price {
            height:53vw;
      }
      .price_table_out {
            width:100%;
      }
      table.price_table_out .kyuhu {
            display: flex;
            flex-wrap: wrap;
      }
      table.price_table_out .kyuhu .title,table.price_table_out .kyuhu .price {
            width:100%;
            padding:5px 2px;
      }
      table.price_table_in tr > td {
            padding-bottom: 5px;
      }
      .price_table_in .intable_ul {
            grid-template-columns: 1fr;
      }
      .main_full_price #top {
            height:auto;
      }
      .main_full_price #bottom {
            height:auto;
      }
      .price_container {
            display: flex;
            flex-wrap: wrap;
      }
      .faq_container {
            width:calc(100% - 20px);
            padding:10px;
      }
      .faq_container .faq_q {
            width:78vw;
            margin-left:auto;
            margin-right:auto;
		  	padding-right:40px;
      }
	.faq_container .faq_a{
            width:85vw;
            margin-left:auto;
            margin-right:auto;
      }
      /* ハンバーガーメニュー */
      .btn-gnavi {
            display: inherit;
        }
        #wrapper nav {
            position: fixed;
            top: 0;
            right: -300px;
            width: 300px;
            height: 100%;
            padding-top: 50px;
            background:aliceblue;
            font-size: 16px;
            box-sizing: border-box;
            z-index: 2
        }
        #wrapper nav ul li {
            display:block;
            padding: 20px 28px;
        }
        nav ul.nav {
            display: contents;
      }
      #wrapper nav ul.nav li:nth-child(4) {
            width:inherit;
            text-align-last: left;
      }
      nav ul.nav li:nth-child(5) {
            width:inherit;
      }
        #wrapper nav ul li a {
            text-decoration: none;
            color: #000000
        }
        #wrapper .btn-gnavi {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 30px;
            height: 24px;
            z-index: 3;
            box-sizing: border-box;
            cursor: pointer;
            -webkit-transition: all 400ms;
            transition: all 400ms
        }
        #wrapper .btn-gnavi span {
            position: absolute;
            width: 30px;
            height: 4px;
            background: #666;
            border-radius: 10px;
            -webkit-transition: all 400ms;
            transition: all 400ms
        }
        #wrapper .btn-gnavi span:nth-child(1) {
            top: 0
        }
        #wrapper .btn-gnavi span:nth-child(2) {
            top: 10px
        }
        #wrapper .btn-gnavi span:nth-child(3) {
            top: 20px
        }
        #wrapper .btn-gnavi.open span {
            /* background: #fff */
        }
        #wrapper .btn-gnavi.open span {
            width: 35px;
        }
        #wrapper .contents section p {
            position: absolute;
            top: 50%;
            width: 30%;
            line-height: 1.4;
            font-size: 20px;
            color: #fff;
        }
        #wrapper .contents section:nth-child(odd) p {
            left: 10%
        }
        #wrapper .contents section:nth-child(even) p {
            right: 10%
        }
        .login a {
            padding:20px 0 0 60px;
            width:100%;
            background-position: top left;
        }
	.ask_container .form,.ask_container .title {
		padding:5px;
	}
	.ask_container input:not([type='checkbox']),.ask_container textarea{
    	max-width: 42vw;	
	}
	.policy {
    max-width:80vw;
	}
	

        /* 再構築ロゴ */
.saikochiku {
      position: static;
      margin-top:5vw;
  }
}
    

