@charset "UTF-8";
* {
  color: #353434;
  font-family: YuGothic,'Yu Gothic','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','メイリオ', Meiryo,'ヒラギノ角ゴシック','Hiragino Sans',sans-serif;
}

.color_m {
  color: #f39700;
  font-weight: bold;
}

@media screen and (min-width: 768px) {
  .sp {
    display: none;
  }

  .w_set {
    width: 1000px;
    margin: 0 auto;
  }

  body {
    position: relative;
  }

  .h1_wrapper {
    position: absolute;
    bottom: 532px;
    right: 0;
    width: 100%;
    font-size: 13px;
    line-height: 1.5;
  }
  .h1_wrapper .in_box {
    width: 1000px;
    margin: 0 auto;
  }
  .h1_wrapper h1 {
    width: 640px;
    margin: 0 40px 0 auto;
  }
  .h1_wrapper h1 span {
    display: block;
    margin: 0 0 3px;
    font-size: 17px;
    font-weight: bold;
  }

  header {
    width: 100%;
    height: 87px;
    position: fixed;
    background-color: #fff;
    top: 0;
    left: 0;
    z-index: 1000;
  }
  header li a {
    display: block;
  }
  header a {
    color: #383434;
  }
  header a:hover {
    opacity: 0.6;
  }
  header .header_box {
    position: relative;
  }
  header .logo_box {
    width: 180px;
    padding: 15px 0 0;
  }
  header .logo_box a {
    padding: 57px 0 0;
    background: url(../images/common_template/logo.png);
    display: block;
    height: 0;
    overflow: hidden;
    background-repeat: no-repeat;
    line-height: 20px;
  }
  header .contact_menu {
    display: flex;
    justify-content: flex-end;
    position: absolute;
    top: 0;
    right: 0;
  }
  header .contact_menu li {
    display: flex;
    padding-right: 10px;
    margin-top: 3px;
  }
  header .contact_menu li a {
    width: 170px;
    padding: 43px 0 0;
    background: url(../images/common_template/tell_oosaka.png);
    background-repeat: no-repeat !important;
    display: block;
    height: 0;
    overflow: hidden;
    background-repeat: no-repeat;
    line-height: 20px;
  }
  header .contact_menu li .access_icon {
    width: 16px;
    margin: 11px 0 0 5px;
    padding: 20px 0 0;
    background: url(../images/common_template/access_icon.png);
    line-height: 20px;
  }
  header .contact_menu .tokyo .tel {
    background: url(../images/common_template/tell_tokyo.png);
    line-height: 20px;
  }
  header .contact_menu .recruit_btn {
    margin-top: 11px;
    padding: 0 34px;
  }

  header .contact_menu .recruit_btn a {
    width: 95px;
    padding: 9px 0;
    background: url(../images/common_template/h_recruit_btn.png) no-repeat;
    line-height: 40;
  }
  header .contact_menu .contact_btn {
    margin: 0;
    padding: 0;
  }
  header .contact_menu .contact_btn a {
    width: 186px;
    padding: 40px 0 0;
    background: url(../images/common_template/header_contact_btn.png);
    line-height: 20px;
  }
  header .nav {
    display: flex;
    justify-content: flex-end;
    position: absolute;
    top: 48px;
    right: 0;
  }
  header .nav li {
    padding: 10px 60px 10px 0;
    position: relative;
  }
  header .nav li:last-child {
    padding-right: 0px;
  }
  header .nav li a {
    font-size: 16px;
    color: #333;
    text-decoration: none;
  }
  header .nav li a:hover {
    color: #f39700;
    opacity: 1;
  }
  header .nav li a:hover:before {
    content: url(../images/common_template/hover_icon.png);
    position: absolute;
    top: 6px;
    left: -20px;
    line-height: 20px;
  }

  #pankuzu {
    width: 100%;
    background: #f5f5f4;
    padding: 6px 0 10px;
    margin-top: 87px;
  }
  #pankuzu ul {
    width: 1000px;
    margin: 0 auto;
  }
  #pankuzu ul li {
    font-size: 12px;
    display: inline;
  }
  #pankuzu ul li a {
    color: #353434;
    text-decoration: none;
    padding: 0 18px 0 0;
    display: inline;
  }
  #pankuzu ul li:not(:last-of-type):after {
    content: '>';
    padding-right: 15px;
  }

  footer {
    padding-top: 55px;
    min-width: 1000px;
  }
  footer li a {
    display: block;
  }
  footer a {
    color: #383434;
  }
  footer a:hover {
    opacity: 0.6;
  }
  footer .footer_logo {
    width: 820px;
    padding: 57px 0 0;
    margin: 0 auto 50px;
    background: url(../images/common_template/logo.png);
    display: block;
    height: 0;
    overflow: hidden;
    background-repeat: no-repeat;
    line-height: 20px;
  }
  footer .office {
    display: flex;
    justify-content: space-between;
    padding-bottom: 70px;
  }
  footer .office p {
    font-size: 13px;
    line-height: 1.7;
  }
  footer .office a.map{
    font-weight: bold;
    text-decoration: none;
  }
  footer .office a.map:hover{
    text-decoration: underline;
  }
  footer .office .map img{
    transform: translate(2px,2px);
  }
  footer .office > div {
    width: 340px;
    padding: 5px 0 0 50px;
    border-right: 1px dotted #8d8d8d;
  }
  footer .office > div h3 {
    margin: 0 0 3px;
    padding: 25px 0 25px 45px;
    background: url(../images/common_template/osaka_icon.png) no-repeat left center;
    background-size: 28px;
    font-weight: bold;
    line-height: 20px;
  }
  footer .office .oosaka {
    width: 370px;
    padding-left: 0;
  }
  footer .office .shiga {
    width: 310px;
    border: none;
  }
  footer .office .tokyo h3 {
    background: url(../images/common_template/tokyo_icon.png) no-repeat left center;
    background-size: 28px;
    line-height: 20px;
  }
  footer .office .shiga h3 {
    background: url(../images/common_template/shiga_icon.png) no-repeat left center;
    background-size: 24px;
  }
  footer .office.sp {
    display: none;
  }
  footer .site_map {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 15px;
    padding: 0 0 45px;
  }
  footer .site_map a {
    text-decoration: none;
    margin-bottom: 25px;
    font-weight: bold;
  }
  footer .site_map .sub_ul {
    font-weight: normal;
    font-size: 13px;
  }
  footer .site_map .sub_ul a {
    display: inline-block;
    margin-bottom: 17px;
    font-weight: normal;
  }
  footer .site_map .f_contact li {
    display: flex;
    margin-top: 3px;
  }
  footer .site_map .f_contact li a {
    width: 147px;
    padding: 15px 0 0;
    margin: 0 0 13px;
    background: url(../images/common_template/f_oosaka.png);
    background-repeat: no-repeat !important;
    display: block;
    height: 0;
    overflow: hidden;
    background-repeat: no-repeat;
    line-height: 20px;
  }
  footer .site_map .f_contact li .access_icon {
    width: 14px;
    margin: -2px 0 0 5px;
    padding: 20px 0 0;
    background: url(../images/common_template/f_access_icon.png);
    line-height: 20px;
  }
  footer .site_map .f_contact .tokyo .tel {
    background: url(../images/common_template/f_tokyo.png);
    line-height: 20px;
  }
  footer .site_map .f_contact .shiga .tel {
    background: url(../images/common_template/f_shiga.png?id=20230510);
    line-height: 20px;
  }
  footer .site_map .f_contact .contact_btn {
    margin: 0;
    padding: 0;
  }
  footer .site_map .f_contact .contact_btn a {
    width: 164px;
    padding: 40px 0 0;
    background: url(../images/common_template/f_contact_btn.png);
    line-height: 20px;
  }
  footer .site_map .f_contact .recruit_btn {
    margin: 0;
    padding: 0;
  }

  footer .site_map .f_contact .recruit_btn a {
    width: 164px;
    padding: 20px 0;
    background: url(../images/common_template/f_recruit_btn.png) no-repeat;
    line-height: 55px;
  }
  footer .footer_foot {
    background: #353434;
    padding: 5px 0;
  }
  footer .footer_foot .w_set {
    display: flex;
    justify-content: flex-end;
  }
  footer .footer_foot ul {
    display: flex;
  }
  footer .footer_foot ul li {
    padding-right: 15px;
  }
  footer .footer_foot .copyrights {
    color: #fff;
    font-size: 13px;
    line-height: 1.7;
  }

  #pageTop a {
    background-size: 100%;
    position: fixed;
    bottom: 50px;
    right: 50px;
    display: block;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    z-index: 120;
    background: url(../images/common_template/pagetop.png) no-repeat;
    line-height: 20px;
    height: 0;
    overflow: hidden;
    padding: 65px 0 0;
  }
  #pageTop a:hover {
    background: url(../images/common_template/pagetop_hover.png) no-repeat;
  }
  #pageTop a:hover img {
    opacity: 0;
  }
  #pageTop img {
    widows: 100%;
  }
}
@media screen and (max-width: 767px) {
  * {
    box-sizing: border-box;
  }

  .pc {
    display: none;
  }

  img {
    width: 100%;
  }

  body {
    position: relative;
  }

  .h1_wrapper {
    position: absolute;
    top: 1000px;
    right: 0;
    width: 100%;
    font-size: 13px;
    line-height: 1.5;
  }
  .h1_wrapper .in_box {
    margin: 0 4%;
  }
  .h1_wrapper h1 {
    margin: 0 auto;
  }

  #pankuzu {
    width: 100%;
    background: #f5f5f4;
    padding: 4px 0 6px 2%;
  }
  #pankuzu ul li {
    font-size: 12px;
    display: inline;
  }
  #pankuzu ul li a {
    color: #353434;
    text-decoration: none;
    padding: 0 18px 0 0;
    display: inline;
  }
  #pankuzu ul li:not(:last-of-type):after {
    content: '>';
    padding-right: 15px;
  }
}
/* @media screen and (max-width: 767px) and (max-width: 414px) {
  footer .footer_logo {
    padding: 17% 0 0;
    margin: 0 auto 150px;
  }
}
@media screen and (max-width: 700px) and (min-width: 431px) {
  .h1_wrapper {
    bottom: 4%;
  }
}
@media screen and (max-width: 630px) and (min-width: 421px) {
  .h1_wrapper {
    bottom: 4.4%;
  }
}
@media screen and (max-width: 520px) and (min-width: 491px) {
  .h1_wrapper {
    bottom: 4.9%;
  }
}
@media screen and (max-width: 490px) and (min-width: 451px) {
  .h1_wrapper {
    bottom: 5.2%;
  }
}
@media screen and (max-width: 450px) and (min-width: 415px) {
  .h1_wrapper {
    bottom: 6%;
  }
}
@media screen and (max-width: 414px) and (min-width: 396px) {
  .h1_wrapper {
    bottom: 6.5%;
  }
}
@media screen and (max-width: 395px) and (min-width: 376px) {
  .h1_wrapper {
    bottom: 7.2%;
  }
}
@media screen and (max-width: 375px) and (min-width: 361px) {
  .h1_wrapper {
    bottom: 7.6%;
  }
}
@media screen and (max-width: 360px) and (min-width: 321px) {
  .h1_wrapper {
    bottom: 8.1%;
  }
}
@media screen and (max-width: 320px) and (min-width: 300px) {
  .h1_wrapper {
    bottom: 8.9%;
  }
}
@media screen and (max-width: 319px){
  .h1_wrapper {
    bottom: 232vw;
  }
}
@media screen and (max-width: 250px){
  .h1_wrapper {
    bottom: 252vw;
  }
} */
@media screen and (max-width: 767px) {
  .w_set {
    padding: 0 4%;
  }

  header {
    width: 100%;
    height: 70px;
    border-bottom: solid 2px #f9f9f9;
    background-color: #fff;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
  }
  header .header_box {
    display: flex;
    justify-content: space-between;
    padding: 3%;
  }
  header .header_box .logo_box {
    width: 35%;
  }
  header .header_box .logo_box a {
    padding: 33% 0 0;
    background: url(../images/common_template/logo.png);
    background-size: 100%;
    display: block;
    height: 0;
    overflow: hidden;
    background-repeat: no-repeat;
  }
  header .menu {
    position: relative;
    height: 45px;
    width: 45px;
    margin-left: 10px;
    display: block;
  }
  header .menu div {
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
    height: 4px;
    width: 35px;
    background-color: #f39700;
    border-radius: 2px;
    display: inline-block;
    box-sizing: border-box;
    transform-origin: center center;
    transition: 0.3s;
  }
  header .menu div:nth-of-type(1) {
    top: 10px;
  }
  header .menu div:nth-of-type(2) {
    top: 20px;
  }
  header .menu div:nth-of-type(3) {
    bottom: 10px;
  }
  header .menu.open div:nth-of-type(1) {
    transform: translate3d(0, 10px, 0) rotate(45deg);
  }
  header .menu.open div:nth-of-type(2) {
    opacity: 0;
  }
  header .menu.open div:nth-of-type(3) {
    transform: translate3d(0, -11px, 0) rotate(-45deg);
  }
  header #gnav_sp {
    width: 100%;
    height: calc(100vh - 70px);
    overflow-y: scroll;
    padding: 0 0 30px 0;
    border-bottom: solid 2px #f39700;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    z-index: 30;
    background-color: #fff;
    display: none;
  }
  header #gnav_sp .nav li {
    border-bottom: 1px solid #f9f9f9;
    position: relative;
  }
  header #gnav_sp .nav li a {
    display: block;
    text-decoration: none;
    padding: 15px 20px;
  }
  header #gnav_sp .nav li:before {
    content: "";
    background: url("../images/sp/common_template/icon_arrow.png") no-repeat;
    background-size: 53%;
    position: absolute;
    top: 15px;
    right: 17px;
    width: 20px;
    height: 20px;
  }
  header #gnav_sp .nav li.gnav_open {
    position: relative;
  }
  header #gnav_sp .nav li.gnav_open:before {
    display: none;
  }
  header #gnav_sp .nav li.gnav_open ul {
    width: 100%;
    display: none;
  }
  header #gnav_sp .nav li.gnav_open.open {
    position: relative;
  }
  header #gnav_sp .nav li.gnav_open.open > a:before {
    content: "";
    background: url("../images/sp/common_template/icon_minus.png") no-repeat;
    background-size: 100%;
    position: absolute;
    top: 22px;
    right: 25px;
    width: 20px;
    height: 20px;
  }
  header #gnav_sp .nav li.gnav_open.open ul {
    display: block;
  }
  header #gnav_sp .nav li.gnav_open.open ul li {
    position: relative;
    border: none;
    padding: 3px 20px;
  }
  header #gnav_sp .nav li.gnav_open.open ul li:last-of-type {
    padding-bottom: 10px;
  }
  header #gnav_sp .nav li.gnav_open.open ul li:before {
    content: "";
    background: #ccc;
    position: absolute;
    top: 25px;
    left: 20px;
    width: 8px;
    height: 1px;
  }
  header #gnav_sp .nav li.gnav_open > a:before {
    content: "";
    background: url("../images/sp/common_template/icon_plus.png") no-repeat;
    background-size: 100%;
    position: absolute;
    top: 15px;
    right: 25px;
    width: 20px;
    height: 20px;
  }
  header #gnav_sp .sub_nav {
    display: flex;
    justify-content: space-between;
    padding: 25px 20px 5px;
  }
  header #gnav_sp .sub_nav ul {
    width: calc(98%/2);
  }
  header #gnav_sp .sub_nav ul li a {
    display: block;
    padding: 10px 0 10px 20px;
    text-decoration: none;
    font-size: 12px;
    position: relative;
  }
  header #gnav_sp .sub_nav ul li a:before {
    content: "";
    background: url(../images/sp/common_template/icon_arrow_02.png) no-repeat;
    background-size: 70%;
    position: absolute;
    width: 10px;
    height: 15px;
    top: 14px;
    left: 0px;
  }
  header #gnav_sp .nav_contact {
    background: #f3f3f3;
    padding: 15px;
    margin: 20px 20px 50px;
  }
  header #gnav_sp .nav_contact .contact_ttl {
    text-align: center;
    width: 39%;
    margin: 10px auto 20px;
    display: block;
  }
  header #gnav_sp .nav_contact .gnav_contact {
    margin-top: 20px;
  }
  header #gnav_sp .nav_contact .gnav_recruit {
    width: 66.66667vw;
    margin: 4vw auto 0;
  }
  header #gnav_sp .nav_contact .tel_wrap .tel {
    width: 86%;
    display: inline-block;
  }
  header #gnav_sp .nav_contact .tel_wrap .access_icon {
    width: 10%;
  }

  footer {
    background: #fbfbfb;
    padding-top: 60px;
  }
  footer .footer_wrap.w_set {
    border-bottom: 1px dotted #c7c7c7;
    padding-bottom: 26px;
    margin-bottom: 10px;
  }
  footer .footer_txt h2 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 90px;
  }
  footer .footer_txt p {
    line-height: 1.6;
    font-size: 14px;
  }
  footer .footer_logo {
    padding: 17% 0 0;
    margin: 0 auto 170px;
    background: url(../images/common_template/logo.png) center center;
    background-size: 50%;
    display: block;
    height: 0;
    overflow: hidden;
    background-repeat: no-repeat;
  }
  footer .office {
    padding: 25px 0 60px;
    border-top: 1px dotted #c7c7c7;
  }
  footer .office p {
    font-size: 13px;
    line-height: 1.6;
    width: 80%;
  }
  footer .office p {
    font-size: 13px;
    line-height: 1.7;
  }
  footer .office a.map{
    font-weight: bold;
    text-decoration: none;
  }
  footer .office a.map:hover{
    text-decoration: underline;
  }
  footer .office .map img{
    display: inline;
    width: auto;
    transform: translate(2px,2px);
  }
  footer .office > div {
    margin: 0 0 25px;
    padding: 10px 0 0 60px;
    background: url(../images/common_template/osaka_icon.png) no-repeat 10px 0;
    background-size: 30px;
  }
  footer .office > div h3 {
    margin: 0 0 5px;
    font-weight: bold;
  }
  footer .office .oosaka span {
    font-size: 16px;
    font-weight: bold;
  }
  footer .office .tokyo {
    background: url(../images/common_template/tokyo_icon.png) no-repeat 10px 0;
    background-size: 33px;
  }
  footer .office .shiga {
    background: url(../images/common_template/shiga_icon.png) no-repeat 15px 0;
    background-size: 24px;
  }
  footer .office .tokyo span {
    font-size: 16px;
    font-weight: bold;
  }
  footer .footer_foot {
    background: #353434;
    padding: 5px 0;
  }
  footer .footer_foot .w_set {
    display: flex;
    justify-content: flex-end;
  }
  footer .footer_foot ul {
    display: flex;
  }
  footer .footer_foot ul li {
    padding-right: 15px;
  }
  footer .footer_foot .copyrights {
    color: #fff;
    font-size: 13px;
  }

  #pageTop a {
    background-size: 100%;
    position: fixed;
    bottom: 50px;
    right: 10px;
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    z-index: 120;
    background: url(../images/common_template/pagetop.png) no-repeat;
    height: 0;
    overflow: hidden;
    padding: 65px 0 0;
  }
  #pageTop a:hover {
    background: url(../images/common_template/pagetop_hover.png) no-repeat;
  }
  #pageTop a:hover img {
    opacity: 0;
  }
}
