@charset "UTF-8";

/* 印刷用 */
@media only print{
  /*
    A4 847 * 595 px
    A3 1191 * 842 px
    B5 729 * 516 px
  */
  body{
    width: 1000px;
    overflow: hidden;
    /*zoom: 0.9;*/
  }
  .container{
    width: 100%;
  }
  
}

@media only screen and (max-width:1220px){
  .container{
    width: 100%;
  }
}

@media only screen and (max-width:1023px){
  .contact_form th {
    width: 250px;
  }
  .contact_form td .wpcf7-text{
    width: 100%;
  }
  .contact_form td [name="zipcode"]{
    width: 150px;
  }
  
  .contents_frame .header{
    width: 180px;
  }
  .contents_frame .side{
    width: 150px;
  }
  .contents_frame .main{
    width: calc(100% - 180px - 150px);
  }
}

@media only screen and (max-width:767px){
  
  body{
    font-size: 14px;
    padding-bottom: 60px;
  }
  
  .contents_frame .header{
    padding: 0;
  }
  
  hdr_logo{
    padding: 0;
  }
  header .hdr1 .hdr_logo,
  header .hdr1 .hdr_contact{
    float: none;
    width: 100%;
    text-align: center;
    margin: 5px 0;
  }
  header .hdr_logo .logo{
    padding: 30px 30px 20px;
    /*padding-top: 35px;*/
  }
  
  
  
  footer .ftr2 .container{
    flex-wrap: wrap;
  }
  footer .ftr2 .box1,
  footer .ftr2 .box2{
    width: 100%;
    text-align: center;
  }
  footer .ftr2 .box2{
    margin-top: 10px;
  }
  
  footer .copy{
    font-size: 16px;
  }
  
  .footer_fix{
    display: block;
  }
  
  .contents_frame{
    flex-wrap: wrap;
    align-content: flex-start;
    /*min-height: 0;*/
  }
  .contents_frame .header{
    width: 100%;
    text-align: center;
  }
  .contents_frame .main{
    width: 100%;
  }
  .contents_frame .main .main_top{
    height: auto;
  }
  .contents_frame .main .main_btm,
  body.home .contents_frame .main .main_btm{
    height: auto;
    padding: 0 10px 20px;
    margin-top: 40px;
  }
  body.home .contents_frame .main .main_btm{
    padding-bottom: 10px;
  }
  
  .contents_frame .main .main_btm img{
    width: 90%;
  }
  .contents_frame .main .main_btm p{
    font-size: 17px;
    /*font-weight: bold;*/
    margin-top: 15px;
  }
  .contents_frame .side{
    width: 0;
    padding: 0;
    position: static;
  }
  .contents_frame .side h4{
    display: none;
  }
  
  .logo img{
    height: 100px;
  }
  
  .hdr_nav_sp{
    display: block;
  }
  .hdr_nav_sp ul{
    display: flex;
    flex-wrap: wrap;
    font-size: 16px;
    font-weight: bold;
    font-family: sans-serif;
    
    border-bottom: 2px solid #595959;
  }
  .hdr_nav_sp li{
    width: 50%;
    text-align: left;
    border-top: 2px solid #595959;
  }
  .hdr_nav_sp li:nth-child(2n){
    border-left:  2px solid #595959;
  }
  .hdr_nav_sp li:nth-child(2n+1):last-child{
    width: 100%;
  }
  .hdr_nav_sp li a{
    display: block;
    padding: 10px 10px 10px 25px;
    background-image: url('/img/nav_sp_bg.png');
    background-repeat: no-repeat;
    background-position: left 10px center;
    background-size: 5px auto;
  }
  
  
  .ftr_nav_sp{
    display: block;
    margin-top: 15px;
  }
  .ftr_nav_sp ul{
    display: flex;
    flex-wrap: wrap;
    font-size: 24px;
    font-weight: bold;
    font-family: "IrisUPC", sans-serif;
    line-height: 1;
    letter-spacing: 0.05em;
    /*border-bottom: 2px solid #595959;*/
  }
  .ftr_nav_sp li{
    width: 50%;
    text-align: left;
    /*border-top: 2px solid #595959;*/
  }
  .ftr_nav_sp li:nth-child(2n){
    border-left:  2px solid #000000;
  }
  .ftr_nav_sp li:nth-child(2n+1):last-child{
    width: 100%;
  }
  .ftr_nav_sp li a{
    display: block;
    padding: 10px 10px ;
    background-image: -moz-linear-gradient(top,rgba(0,0,0,1) 0%,rgba(128,128,128,1) 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,1)),color-stop(1,rgba(128,128,128,1)),to(rgba(128,128,128,1)));
    border-color: rgba(0,0,0,1);
    position: relative;
  }
  .ftr_nav_sp li a:after{
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 15px 15px;
    border-color: transparent transparent #d00e31 transparent;
    position: absolute;
    bottom: 5px;
    right: 5px;
  }
  
  .gnav{
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFF;
    padding: 0;
    z-index: 5;
    overflow-y: scroll;

    transition: all 0.2s;
    transform: translateX(100%);
    padding: 10px 15px;
  }
  .gnav.active{
    transform: translateX(0%);
  }
  .gnav > ul{
    display: block;
  }
  .gnav > ul > li{
    width: 100%;
    padding: 5px 0;
    border-bottom: 1px dashed #CCC;
  }
  .gnav li a{
    padding: 12px 5px;
  }
  .gnav .children, .gnav .sub-menu{
    display: block;
    position: static;
    background: #EEE;
  }
  
  
  .pg_home{
    height: auto;
  }
  
  .post_items{
    
  }
  .post_items .item{
    flex-wrap: wrap;
  }
  .post_items .item .title{
    width: 100%;
  }
  
  .pagination .nav-posts .page-next a, 
  .pagination .nav-posts .page-prev a,
  .pagination .nav-posts .page-archive a{
    padding: 10px 10px;
    font-size: 11px;
  }
  
  .contact_info{
    padding: 10px;
  }
  .contact_info .box1{
    font-size: 13px;
  }
  .contact_info .box2{
    margin-top: 10px;
  }
  .contact_info .box2 .icon{
    font-size: 15px;
  }
  .contact_info .box2 .tel{
    font-size: 24px;
  }
  .contact_info .box2 .txt{
    width: 100%;
    margin: 10px 0 0 0;
  }
  
  .contact_form th,
  .contact_form td{
    display: block;
    width: 100%;
    padding: 10px 10px;
  }
  .contact_form th{
    /*padding-bottom: 5px;*/
  }
  .contact_form td{
    /*padding-top: 0;*/
  }
  .contact_form td [name="zipcode"]{
    width: 100px;
  }
  .contact_form dl.date dt{
    width: 100%;
  }
  .contact_form dl.date dt.wide{
    width: 100%;
  }
  
  .contact_form td .wpcf7-text,
  .contact_form td .wpcf7-textarea,
  .contact_form td .wpcf7-select{
    width: 100%;
  }
  
  .contact_form_btns input[type="submit"], 
  .contact_form_btns input[type="button"]{
    width: 35%;
  }
  
  
  
  /* サイトマップ */
  .sitemap_items .item{
    width: 100%;
    margin-bottom: 15px;
  }
  .sitemap_items .item h4 a{
    padding: 10px 10px;
  }
  
  /* プライバシーポリシー */
  .privacy_tt{
    font-size: 18px;
  }
  .privacy_tt br{
    display: inline;
  }
}


@media (max-width:374px){
  .contents_frame .main .main_btm p{
    font-size: 16px;
  }
}
@media (max-width:359px){
  .contents_frame .main .main_btm p{
    font-size: 14px;
  }
}