
/* clearfix */
.clearfix {
  *zoom: 1;
}
.clearfix:before, .clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}

.sp_only,
.tab_only,
.tab_sp {
  display: none;
}

/*layout*/
/*----------------------------------------------------
	 <= 1280px
----------------------------------------------------*/
@media (max-width: 1280px) {
  .container_w {
    padding-right: 2% !important;
    padding-left: 2% !important;
  }

  header .container_w .nav .contact {
    padding-right: 0;
  }
  header .container_w .nav .contact div:first-child {
    width: 8em;
  }
}
/*----------------------------------------------------
	 <= 1000px
----------------------------------------------------*/
@media (max-width: 1000px) {
  .container {
    padding-right: 2% !important;
    padding-left: 2% !important;
  }

  header .container_w .logo {
    padding-top: 10px;
  }
  header .container_w .nav {
    display: none;
  }
  header .container_w .header_menu {
    display: block;
  }

  footer .logo {
    text-align: center;
  }
  footer .logo img {
    /*width: 50%;*/
  }
  footer .copy {
    text-align: center;
  }
}
/*----------------------------------------------------
	phone - tablet <= 767px
----------------------------------------------------*/
@media (max-width: 767px) {
  .pc_only {
    display: none;
  }

  .tab_only,
  .tab_sp {
    display: block;
  }

  #main {
    /*マルチカラム*/
  }
  #main .tit_main {
    padding: 0 5%;
  }
  #main .gnav_tit {
    font-size: 22px;
    margin-bottom: 40px;
  }
  #main .tit_ja {
    font-size: 20px;
    margin-bottom: 40px;
  }
  #main .tit_desc {
    margin-bottom: 50px;
    margin-top: -18px;
  }
  #main .col3 li {
    width: 100%;
    margin-bottom: 40px;
  }
  #main .col3.col3_txt li h3 {
    font-size: 16px;
    margin-bottom: 10px;
  }
  #main .tab2 li a {
    font-size: 14px;
  }
  #main .tab3 li a {
    font-size: 14px;
  }
  #main .tab6,
  #main .tab5,
  #main .tab7{
    margin-bottom: 40px;
  }
  #main .tab6 li a,
  #main .tab5 li a,
  #main .tab7 li a{
    border-bottom: 1px solid #747374;
    font-weight: bold;
    color: #171c61;
  }
  #main .tab6 li.active a,
  #main .tab5 li.active a,
  #main .tab7 li.active a{
    border-bottom: 1px solid #ad0012;
  }
  #main .tab7 li {
    width: 32%;
  }
  #main .tab6 li {
    width: 32%;
  }
  #main .tab5 li {
    width: 32%;
  }
  #main .tab5 li:nth-child(4), #main .tab5 li:nth-child(5) {
    width: 49%;
  }
  #main .mcol04 .item {
    width: 48% !important;
  }
}
/*----------------------------------------------------
	phone <= 480px
----------------------------------------------------*/
@media (max-width: 480px) {
  .pc_tab,
  .tab_only {
    display: none;
  }

  .sp_only {
    display: block;
  }

  #main {
    /*マルチカラム*/
  }
  #main .tab2.sp_only {
    display: -webkit-flex;
    display: flex;
  }
  #main .tab3 {
    margin-bottom: 60px;
  }
  #main .tab3 li {
    width: 50%;
  }
  #main .tab3 li a {
    font-family: "游明朝", "YuMincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    display: block;
    padding: 14px 0.5em;
    text-align: center;
    text-decoration: none;
    color: #2a7380;
    font-size: 12px;
  }
  #main .tab3 li a:hover {
    background: #2a7380;
    color: #fff;
  }
  #main .tab3 li:nth-child(1), #main .tab3 li:nth-child(2) {
    border-bottom: none;
  }
  #main .tab3 li:nth-child(2), #main .tab3 li:nth-child(5) {
    border-left: none;
    border-right: none;
  }
  #main .tab3 li:nth-child(odd) {
    border-right: 1px solid #2a7380;
  }
  #main .tab3 li:nth-child(3), #main .tab3 li:nth-child(4) {
    border-top: 1px solid #2a7380;
    border-bottom: 1px solid #2a7380;
  }
  #main .tab3.sp_only {
    display: -webkit-flex;
    display: flex;
  }
  #main .tab6 li a,
  #main .tab5 li a {
    font-size: 10px;
  }
  #main .tab6.sp_only,
  #main .tab5.sp_only {
    display: -webkit-flex;
    display: flex;
  }
  #main .contact_bana .box .row {
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    justify-content: center;
  }
  #main .contact_bana .box .row .logo,
  #main .contact_bana .box .row .txt,
  #main .contact_bana .box .row .tel {
    text-align: center;
    width: 100%;
    margin-bottom: 6px;
  }
  #main .contact_bana02 {
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  #main .contact_bana02 .boxleft,
  #main .contact_bana02 .boxright {
    width: 100%;
    margin-bottom: 12px;
  }
  #main .contact_bana02 .boxleft .row,
  #main .contact_bana02 .boxright .row {
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    justify-content: center;
  }
  #main .contact_bana02 .boxleft .row .logo,
  #main .contact_bana02 .boxleft .row .txt,
  #main .contact_bana02 .boxleft .row .tel,
  #main .contact_bana02 .boxright .row .logo,
  #main .contact_bana02 .boxright .row .txt,
  #main .contact_bana02 .boxright .row .tel {
    text-align: center;
    width: 100%;
    margin-bottom: 6px;
  }
  #main .mcol02,
  #main .mcol03,
  #main .mcol04 {
    padding: 0 4%;
  }
  #main .mcol02 .item,
  #main .mcol03 .item,
  #main .mcol04 .item {
    width: 100% !important;
    margin-bottom: 30px;
  }
}
/*page*/
/*----------------------------------------------------
	 <= 1280px
----------------------------------------------------*/
/*----------------------------------------------------
	 <= 1000px
----------------------------------------------------*/
/*----------------------------------------------------
	phone - tablet <= 767px
----------------------------------------------------*/
@media (max-width: 767px) {
  /*index*/
  #mainimg {
    height: 500px;
  }
  #mainimg .wrap .bg {
    background: url(../image/mainimg.jpg) repeat-x left center;
    animation: none;
  }
  #mainimg h2 {
    text-align: center;
    padding-top: 200px;
    padding-right: 4%;
    padding-left: 4%;
  }

  #mainimg_full h2 {
    padding-right: 4%;
    padding-left: 4%;
  }

  #main #news .flex {
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  #main #news .flex .pic {
    width: 100%;
    margin-bottom: 20px;
  }
  #main #news .flex .newslist {
    width: 100%;
    background: url(../image/line_grade.png) no-repeat center top;
  }
  #main #news .flex .newslist .inner dl,
  #main #news .flex .newslist .inner .pageListTitle {
    padding-right: 0;
  }
  #main #news .flex .newslist .viewall {
    background: url(../image/line_grade.png) no-repeat center bottom;
  }
  #main #news .container p {
    display: none;
  }

  /*propertylist*/
  #propertylist .col3_cam {
    padding: 0 4%;
  }
  #propertylist .col3_cam li {
    width: 100%;
    margin-bottom: 20px;
  }
  #propertylist .property_item .gaiyo {
    margin-bottom: 20px;
    padding: 0 5%;
  }
  #propertylist .property_item .gaiyo .txt {
    width: 100%;
  }
  #propertylist .property_item .gaiyo .btn {
    width: 100%;
  }
  #propertylist .property_item .detail01 .pic {
    width: 100%;
    margin-bottom: 8px;
    text-align: center;
  }
  #propertylist .property_item .detail01 .info {
    width: 100%;
  }
  #propertylist .property_item .detail02 li {
    width: 100%;
    margin-bottom: 50px;
  }
  #propertylist .property_item .detail02 li .pic {
    text-align: center;
  }
  #propertylist .property_item .detail03 li {
    width: 100%;
    margin-bottom: 50px;
  }
  #propertylist .property_item .detail03 li .pic {
    text-align: center;
  }
  #propertylist #catch {
    padding: 0 0 200px;
  }
  #propertylist #catch .bg_w {
    padding: 40px 0 20px;
  }
  #propertylist #catch .bg_w h4 {
    font-size: 18px;
  }
  #propertylist .tokucho .desc {
    font-size: 12px;
  }
  #propertylist .tokucho ul li {
    width: 100%;
    margin-bottom: 10px;
  }

  /*page_detail*/
  #page_detail .bukken_tit {
    margin-top: -40px;
    font-size: 20px;
  }
  #page_detail #catch {
    min-height: auto;
    margin-bottom: 60px;
  }
  #page_detail #catch .container .txt {
    background: RGBa(255, 255, 255, 0.7);
    padding: 20px 5%;
    color: #333;
  }
  #page_detail #catch .container .txt h3 {
    font-size: 20px;
  }
  #page_detail #catch .container .txt .desc01 {
    font-size: 15px;
    line-height: 1.7;
  }
  #page_detail #catch .container .txt .desc02 {
    font-size: 13px;
    line-height: 1.7;
  }
  #page_detail #catch .container .txt.txt_right {
    padding-left: 5%;
  }
  #page_detail #catch .container .txt.txt_left {
    padding-right: 5%;
  }
  #page_detail #catch.shinmachi_c {
    background: url(../image/shinmachi_c_catch.png) no-repeat center top;
    background-size: contain;
  }
  #page_detail #reason ul li {
    width: 48%;
  }
  #page_detail #gaiyo .flex .pic {
    width: 100% !important;
    margin-bottom: 20px;
  }
  #page_detail #gaiyo .flex .info {
    width: 100% !important;
  }
  #page_detail #facility .setsubi_t {
    font-size: 12px;
  }
  #page_detail #access .flex {
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  #page_detail #access .flex div {
    width: 100% !important;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ddd;
    margin-bottom: 10px;
  }
  #page_detail #guide .flex div {
    width: 100% !important;
    text-align: center;
  }
  #page_detail #guide .flex li {
    width: 100%;
    text-align: center;
  }
  #page_detail #tenant .mcol04 {
    -webkit-justify-content: space-between;
    justify-content: space-between;
  }
  #page_detail #tenant .mcol04 .item {
    width: 48% !important;
    margin-right: 0;
    margin-bottom: 10px;
  }
  #page_detail #tenant .mcol04 .item h5 {
    font-size: 14px;
  }
  #page_detail .brownbox .mokuteki li {
    width: 100%;
  }
  #page_detail .brownbox .mokuteki li .tit {
    font-size: 16px;
  }

  /*kodawari*/
  .kodawari_list li {
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .kodawari_list li .pic {
    width: 100%;
    margin-bottom: 10px;
  }
  .kodawari_list li .info {
    width: 100%;
  }
  .kodawari_list li .info h5 {
    font-size: 24px;
  }
  .kodawari_list li:nth-child(even) .pic {
    -webkit-order: 0;
    order: 0;
  }

  /*company*/
  #company .tit_ja {
    font-size: 22px;
  }
  #company .com_table {
    border-left: 1px solid #2a7380;
    line-height: 2;
  }
  #company .com_table tr th {
    display: block;
    width: 100%;
    font-weight: bold;
    text-decoration: underline;
    padding: 0 1.5em 0 1.5em;
  }
  #company .com_table tr td {
    display: block;
    width: 100%;
    padding: 0 1.5em 20px;
  }
  #company .greet .txt {
    width: 100%;
    margin-bottom: 20px;
  }
  #company .greet .person {
    width: 100%;
    text-align: center;
  }
  #company .greet .person .pic {
    margin-bottom: 20px;
  }
  #company .greet .person .name {
    font-family: "游明朝", "YuMincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    color: #2a7380;
    font-size: 18px;
  }

  /*about*/
  #about .tit_ja {
    font-size: 22px;
  }
  #about h3 .tit_s {
    font-size: 12px;
  }
  #about h3 .tit_l {
    font-size: 18px;
  }
  #about h4 .tit_s {
    font-size: 12px;
  }
  #about h4 .tit_l {
    font-size: 18px;
  }
  #about .yurai .pic {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
  #about .yurai .txt {
    width: 100%;
    font-size: 14px;
  }
  #about .history li {
    width: 100%;
  }
  #about .history li .pic {
    margin-bottom: 10px;
    text-align: center;
  }
  #about .history li:nth-child(2) {
    border-left: none;
    border-right: none;
  }

  /*service*/
  #service .brownbox .mokuteki li {
    width: 100%;
  }
  #service .brownbox .mokuteki li .tit {
    font-size: 16px;
  }
  #service h3 .tit_s {
    font-size: 12px;
  }
  #service h3 .tit_l {
    font-size: 20px;
  }
  #service #catch .bg_w {
    padding: 20px 0 20px;
  }
  #service #catch .bg_w h4 {
    font-size: 16px;
  }
  #service .merit {
    padding: 0 4%;
  }
  #service .merit li {
    width: 100%;
    padding-bottom: 20px;
    border-bottom: 1px dashed #ddd;
    margin-bottom: 20px;
  }
  #service .merit li:nth-child(2):before, #service .merit li:nth-child(2):after {
    display: none;
  }
  #service .voice_list {
    padding: 0 4%;
  }
  #service .voice_list li {
    width: 100%;
    border-bottom: 1px solid #2a7380;
  }
  #service .voice_list li:nth-child(1), #service .voice_list li:nth-child(3) {
    border-right: none;
  }
  #service .bukken_list {
    padding: 0 4%;
  }
  #service .bukken_list li {
    width: 100%;
    padding-bottom: 20px;
    border-bottom: 1px dashed #ddd;
    margin-bottom: 20px;
  }
  #service #tokucho .desc {
    font-size: 12px;
  }
  #service #tokucho ul li, #service #tokucho ul .item, #service #tokucho .flex li, #service #tokucho .flex .item {
    width: 100%;
    margin-bottom: 10px;
  }

  /* 事業内容　下層 */
  #main #business_sub #bizsub_catch .pic {
    width: 100%;
    margin-bottom: 20px;
  }
  #main #business_sub #bizsub_catch .txt {
    position: static;
    width: 100%;
  }
  #main #business_sub .bizsub_sec01 .flex .txt {
    width: 100%;
    margin-bottom: 14px;
  }
  #main #business_sub .bizsub_sec01 .flex .pic {
    width: 100%;
  }
  #main #business_sub .bizsub_sec02 .flex .txt {
    width: 100%;
    margin-bottom: 20px;
  }
  #main #business_sub .bizsub_sec02 .flex .pic {
    width: 100%;
    text-align: center;
  }
}
/*----------------------------------------------------
	phone <= 480px
----------------------------------------------------*/
@media (max-width: 480px) {
  /*index*/
  #mainimg {
    height: 400px;
  }
  #mainimg .wrap .bg {
    background: url(../image/mainimg.jpg) repeat-x left center;
  }
  #mainimg h2 {
    text-align: center;
    padding-top: 180px;
  }

  /*page_detail*/
  #page_detail .tab2 li small {
    display: block;
  }
  #page_detail #reason .reason_box div {
    width: 100% !important;
    margin-bottom: 10px;
  }
  #page_detail #reason .reason_box div h5 {
    font-size: 15px;
  }
  #page_detail #reason .reason_box div p {
    font-size: 12px;
  }
  #page_detail #reason ul li {
    width: 100%;
    margin-bottom: 10px;
  }
  #page_detail #reason ul li h5 {
    font-size: 15px;
  }
  #page_detail #reason ul li p {
    font-size: 12px;
  }
  #page_detail #facility .facility04,
  #page_detail #facility .facility03,
  #page_detail #facility .facility02 {
    padding: 0 4%;
  }
  #page_detail #facility .facility04 .item,
  #page_detail #facility .facility03 .item,
  #page_detail #facility .facility02 .item {
    width: 100% !important;
    margin-bottom: 20px;
  }
  #page_detail #facility .facility04 .item h5,
  #page_detail #facility .facility03 .item h5,
  #page_detail #facility .facility02 .item h5 {
    font-size: 16px;
  }
  #page_detail #aki .mcol02 .item dl dt {
    width: 100%;
    float: none;
  }
  #page_detail #aki .mcol02 .item dl dd {
    padding: 0 0 0 0;
    margin-bottom: 10px;
    font-weight: bold;
  }
  #page_detail #tenant .mcol04 .item {
    width: 48% !important;
    margin-right: 0;
    margin-bottom: 10px;
  }

  /*service*/
  #service .tab2 li small {
    display: block;
  }
  #service h3 .tit_s {
    font-size: 11px;
  }
  #service h3 .tit_l {
    font-size: 17px;
  }
  #service .std_col04 li {
    width: 48%;
    margin-bottom: 10px;
  }
  #service .std_col03 li {
    width: 48%;
    margin-bottom: 10px;
  }
  #service .student_tel .waku {
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 16px 2%;
  }
  #service .student_tel .waku .txt {
    width: 100%;
    padding: 10px 1em;
  }
  #service .student_tel .waku .telnum {
    width: 100%;
    text-align: center;
  }
  #service .flow_list li {
    width: 50%;
  }

  #main fieldset legend.title {
    float: none;
    font-weight: bold;
    width: 100%;
  }
  #main fieldset div.content {
    width: 100%;
  }

  /*ブログ*/
  #main .pageListItemBlock {
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0 4%;
  }
  #main .pageListItemBlock .pageListItemBlock-type03 {
    width: 100% !important;
    height: auto !important;
    padding-bottom: 20px;
    border-bottom: 1px dashed #eee;
    margin: 0 0 20px 0;
  }

  /* 事業内容　下層 */
  #main #business_sub h4.obi {
    text-align: left;
    font-size: 16px;
  }
  #main #business_sub #bizsub_catch .txt {
    font-size: 15px;
  }
  #main #business_sub .bizsub_sec01 .flex .txt {
    font-size: 15px;
  }
  #main #business_sub .bizsub_sec01 .flex .item img {
    width: 100%;
  }
  #main #business_sub .bizsub_sec02 .flex .txt {
    font-size: 15px;
  }
}

.no-wrap{
    display:inline-block;
}
@media screen and (max-width:480px){
    .bp480-off{
        display:none;
    }
}

/*----------------------------------------------------
	契約書雛型ダウンロード
----------------------------------------------------*/
@media screen and (max-width:480px){
    .contract_button .text{
        display: block;
        padding: 15px 30px;
    }
    .sp_fix_button{
        display:block;
        position: fixed;
        bottom: 0;
        left: 0;
        z-index:999;
        width:100%;
        margin-bottom:0;
    }
    .sp_fix_button h3{
        color:#f89406;
        border:1px solid #f89406;
        background-color:#fff;
    }
    .sp_fix_button img{
        width:30px;
    }
}

