@charset "UTF-8";

/* --------------------------------------
header
-------------------------------------- */
#mobile_button,
.mobile_menu,
.sp_fix_bnr,
.header_contact_sp {
  display: none;
}

/* drawer内のメニュー */
.drawer .mobile_menu {
  display: block;
}

.sp-tell,
.sp-mail {
  display: none !important;
}

/* drawer コンテナ
.drawer {
  display: block;
}

.drawer__input {
  display: none !important;
}


.drawer__open {
  display: block;
  cursor: pointer;
  position: relative;
  z-index: 1001;
  padding: 5px 10px;
}


.drawer__open .lineswrap {
  width: 30px;
  height: 24px;
  display: inline-block;
  position: relative;
  vertical-align: middle;
}

.drawer__open .lines {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background: #333;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

.drawer__open .lines::before {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background: #333;
  top: -10px;
  left: 0;
  transition: all 0.3s ease;
}

.drawer__open .lines::after {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background: #333;
  top: 10px;
  left: 0;
  transition: all 0.3s ease;
}

.drawer__open .menutxt {
  font-size: 10px;
  margin-left: 0;
  vertical-align: middle;
}


.drawer__close {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 1001;
}

.drawer__close span {
  display: block;
  width: 100%;
  height: 2px;
  background: #333;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.drawer__close span::before,
.drawer__close span::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: #333;
  position: absolute;
}

.drawer__close span::before {
  top: -8px;
  transform: rotate(45deg);
  transform-origin: center center;
}

.drawer__close span::after {
  top: 8px;
  transform: rotate(-45deg);
  transform-origin: center center;
}

.drawer__overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

.nav__drawers {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: white;
  transition: right 0.3s ease;
  z-index: 999;
  overflow-y: auto;
}

.drawer__input:checked~.drawer__overlay {
  display: block;
}

.drawer__input:checked~.nav__drawers {
  right: 0;
}

.drawer__input:checked~.drawer__close {
  display: block;
}


@media (min-width: 1000px) {
  .drawer {
    display: none;
  }
}


@media (max-width: 999px) {
  #header .header_r {
    width: 100%;
    text-align: right;
  }

  #header .header_contact {
    margin-bottom: 15px;
  }

  .drawer {
    display: flex;
    flex-direction: column;
    width: 50px;
    height: 50px;
    position: absolute;
    right: 0;
    top: 0;
  }
}
*/
header {
  width: 100%;
  transition: 0.1s;
  font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, 'メイリオ', 'Staatliches', sans-serif;
  position: sticky;
  top: 0;
  left: 0;
  color: #333;
  font-weight: bold;
  background: #fff;
  z-index: 100000;
}

header.is_fixed {
  border-bottom: 1px solid #dcdada;
}

#header p {
  margin: 0;
}

#header {
  width: 100%;
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  table-layout: fixed;
  justify-content: space-between;
  align-items: end;
  position: relative;
}

#header .header_l img,
#header .header_l a {
  display: block;
}

#header .header_l h1.catch,
#header .header_l p.catch {
  font-size: 13px;
  margin-top: 5px;
  margin-bottom: 10px;
  font-weight: normal;
}

#header .header_r,
#header .header_l {
  display: table-cell;
  vertical-align: middle;
}

#header .header_l {
  width: calc(100% - 340px);
  position: relative;
  display: block;
}

#header .header_r .tel2 img {
  position: relative;
  top: -6px;
  margin: 0 2px 0 0;
}

.anniversary {
  margin-right: 30px;
  display: flex;
  align-items: center;
  position: absolute;
  right: 0;
  top: auto;
  transition: .3s;
  bottom: 2px;
}

.header_l .anniversary img {
  display: inline-block;
  width: 60px;
  height: 60px;
  margin: 0;
}

.anniversary p {
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  margin-left: 10px;
  line-height: 1.3;
}

#header .header_r {
  width: 338px;
  text-align: right;
  padding-bottom: 3px;
}

.header_contact {
  display: flex;
  flex-wrap: wrap;
}

.header_tel_btn a {
  background: #ff4800;
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
}

#header .header_r .tel {
  font-size: 14px;
  padding: 0;
  margin: 7px 0 -3px;
  font-weight: bold;
  text-align: right;
  letter-spacing: 0.5px;
}

#header .header_r .tel2 {
  font-size: 23px;
  color: #ff4800;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: -1px;
  display: inline-block;
  width: auto;
  height: 28px;
  line-height: 30px;
  background-size: 21px 27px;
  padding-left: 26px;
  margin-left: auto;
  position: relative;
  top: 2px;
}



.a_num {
  font-size: 1.5em;
  color: #ff4800;
}





/* --------------------------------------
groval navi
-------------------------------------- */


nav .mainpc-nav {
  box-sizing: border-box;
  margin-top: 5px;
  width: 100%;
}

nav .mainpc-nav>ul {
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  width: 1000px;
  margin: auto;
  list-style: none;
}

nav .mainpc-nav ul li a {
  color: #3e3f41;
}

nav .mainpc-nav>ul>li {
  border-left: 1px solid #dcdada;
  text-align: center;
  box-sizing: border-box;
  position: relative;
}

nav .mainpc-nav>ul>li:last-child {
  border-right: 1px solid #dcdada;
}

nav .mainpc-nav ul>li>a {
  display: block;
  width: 100%;
  text-decoration: none;
  font-feature-settings: "palt";
  box-sizing: border-box;
}

/*メニューの矢印*/
nav .mainpc-nav ul>li.menu-item-has-children>a:after,
nav .mainpc-nav ul>li.menu-item-has-children>a:before {
  content: "";
  display: inline-block;
  position: absolute;
  bottom: 7px;
  background: #222;
  height: 2px;
  width: 8px;
  transition: all .4s ease-out;
}

nav .mainpc-nav ul>li.menu-item-has-children>a:after {
  transform: rotate(135deg);
  left: calc(50% - 1px);
  border-radius: 0 1000px 1000px 0;
}

nav .mainpc-nav ul>li.menu-item-has-children>a:before {
  transform: rotate(45deg);
  left: calc(50% - 6px);
  border-radius: 0 1000px 1000px 0;
}

nav .mainpc-nav ul>li.menu-item-has-children>a:hover:after {
  width: 25px;
  transform: rotate(180deg);
}

nav .mainpc-nav ul>li.menu-item-has-children>a:hover:before {
  width: 20px;
  transform: rotate(0);
  left: calc(50% - 20px);
}

nav .mainpc-nav>ul>li.menu-item-has-children a {
  padding-bottom: 20px;
}

nav .mainpc-nav ul>li>ul>li>a:after,
nav .mainpc-nav ul>li>ul>li>a:before {
  display: none;
}

/*メニューの幅が変わる場合は以下を編集する*/
nav .mainpc-nav>ul>li,
nav .mainpc-nav>ul>li a {
  width: 100%;
}


/*ドロップダウンメニュー*/
nav .mainpc-nav ul.sub-menu {
  box-sizing: border-box;
  display: none;
  list-style: none;
  font-size: 15px;
  letter-spacing: 0;
}

nav .mainpc-nav ul>li:hover>ul.sub-menu {
  box-sizing: border-box;
  display: block;
  position: absolute;
  background: rgba(247, 247, 247, .98);
  width: 300px;
  top: 44px;
  left: 0px;
  z-index: 100;
  padding: 10px;
}

nav .mainpc-nav ul>li>ul.sub-menu>li>a {
  box-sizing: border-box;
  display: block;
  text-align: left;
  height: auto;
  padding: 10px 0px;
  transition: 0.3s;
}

nav .mainpc-nav ul>li>ul.sub-menu>li>a:hover {
  padding-left: 10px;
}

/* --------------------------------------
footer
-------------------------------------- */
footer,
footer.v2 {
  width: 100%;
  font-family: "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
  font-size: 15px;
  border-top: 1px solid #4485e9;
  padding: 60px 0 0;
  background: #fff;
}

#footer,
.v2 #footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1000px;
  margin: auto;
}

#footer ul.top_logo {
  margin: 0;
  width: auto;
}

#footer ul.top_logo li:nth-child(1) {
  padding: 38px 20px 0px 0px;
}

#footer ul.top_logo li a::after {
  content: none;
}

#footer ul.top_logo li a {
  margin: 0;
  padding: 0;
}

#footer ul {
  width: 100%;
  max-width: 1000px;
  margin: 34px auto;
  display: table;
  table-layout: fixed;
}

#footer ul li {
  margin: auto;
  display: table-cell;
  vertical-align: top;
}

#footer ul li a {
  padding-left: 14px;
  margin: 17px auto 0;
  display: block;
  position: relative;
  text-decoration: none;
}

#footer ul li a::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 6px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent #ababab;
}

#footer .f_logo {
  width: 100%;
  margin: 0 0 40px;
}

#footer ul.f_menu {
  width: auto;
  max-width: 50%;
  margin: 0;
  display: block;
  table-layout: auto;
}

#footer ul.f_menu li {
  margin: 0;
  display: block;
}

#footer ul.f_menu li a {
  margin: 10px auto 0;
  font-weight: normal;
  font-size: 14px;
  color: #333;
  position: relative;
}

#footer ul.f_menu li a:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 1px;
  border: none;
  border-bottom: 1px solid #000;
}

#footer ul.f_menu li.mt a {
  font-weight: bold;
  padding-left: 0;
}

#footer ul.f_menu li.mt a:after {
  content: none;
}

.f_bottom_wrap {
  background: #f7faff;
  padding: 50px 0;
  margin: 50px 0 0;
}

.f_bottom {
  width: 1000px;
  margin: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  word-break: keep-all;
}

.rinya_logo {
  font-size: 13px;
  font-weight: bold;
}

.rinya_logo img {
  display: block;
}

.f_bottom .address {
  width: auto;
  background: #f7faff;
  color: #333;
  padding: 0;
}

.copyright {
  font-size: 12px;
}

.pagetop {
  position: fixed;
  right: 5%;
  bottom: 10%;
  z-index: 1000;
}

.pagetop a {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #4f8ee3;
  opacity: 0.6;
  text-decoration: none;
}

.pagetop a::before {
  content: '';
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20id%3D%22%E3%83%AC%E3%82%A4%E3%83%A4%E3%83%BC_1%22%20data-name%3D%22%E3%83%AC%E3%82%A4%E3%83%A4%E3%83%BC%201%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2050%2050%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A%23fff%3B%7D.cls-2%7Bfill%3Anone%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M366.81%2C224.26l-13.18-13.18a2.68%2C2.68%2C0%2C0%2C0-3.78%2C0l-13.18%2C13.18a2.68%2C2.68%2C0%2C0%2C0%2C0%2C3.78l1.89%2C1.88a2.68%2C2.68%2C0%2C0%2C0%2C3.78%2C0l9.4-9.4%2C9.4%2C9.4a2.68%2C2.68%2C0%2C0%2C0%2C3.78%2C0l1.89-1.88A2.68%2C2.68%2C0%2C0%2C0%2C366.81%2C224.26Z%22%20transform%3D%22translate(-326.74%20-196.49)%22%2F%3E%3Crect%20class%3D%22cls-2%22%20width%3D%2250%22%20height%3D%2250%22%2F%3E%3C%2Fsvg%3E');
  color: #fff;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

.pagetop:hover {
  text-decoration: none;
  filter: alpha(opacity=50);
  -moz-opacity: 0.5;
  opacity: 0.5;
}

@media screen and (max-width: 1000px) {

  nav .mainpc-nav,
  .header_contact,
  #header .header_r .tel {
    display: none;
  }

  .drawer {
    display: block;
  }

  #mobile_button {
    position: absolute;
    top: auto;
    right: 0;
    bottom: 5px;
    background-color: transparent;
    padding: 0;
    text-align: center;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  span.menutxt {
    font-weight: normal !important;
    color: #aaa;
    margin-top: 6px;
    font-family: "MS PGothic", Arial, "Hiragino Kaku Gothic ProN", "Osaka", sans-serif !important;
    font-size: 10px;
  }

  #mobile_button .menutxt svg {
    width: 28px;
    height: auto;
  }

  #mobile_button .menutxt svg path {
    fill: gray;
  }

  .lineswrap {
    height: 20px;
  }

  #mobile_button .lines {
    background: #434547;
    display: inline-block;
    width: 28px;
    height: 3px;
    position: relative;
    transition: 0.3s;
    -o-transition: 0.3s;
    -ms-transition: 0.3s;
    -moz-transition: 0.3s;
    -webkit-transition: 0.3s;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
  }

  #mobile_button .lines::after,
  #mobile_button .lines::before {
    background: #434547;
    position: absolute;
    display: inline-block;
    width: 28px;
    height: 3px;
    content: '';
    transition: 0.3s;
    -o-transition: 0.3s;
    -ms-transition: 0.3s;
    -moz-transition: 0.3s;
    -webkit-transition: 0.3s;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
  }

  #mobile_button .lines::before {
    top: 8px;
    right: 0;
  }

  #mobile_button .lines::after {
    top: -8px;
    right: 0;
  }

  #mobile_button a.xclose {
    display: block;
    height: auto;
    padding: 0;
    margin-top: 0;
    position: fixed;
    top: 10px;
    right: 260px;
    background: #fffd;
    cursor: pointer;
    z-index: 1000000;
  }

  #mobile_button .xclose .menutxt {
    display: none;
  }

  #mobile_button .xclose .lines {
    right: 0;
    z-index: 100;
    display: block;
    width: 50px;
    height: 50px;
    background: none;
  }

  .xclose .lineswrap {
    height: auto;
  }

  #mobile_button .xclose .lines::before {
    -webkit-transform: translateY(20px) rotate(-315deg);
    transform: translateY(20px) rotate(-315deg);
    top: 4px;
    right: 8px;
  }

  #mobile_button .xclose .lines::after {
    -webkit-transform: translateY(-20px) rotate(315deg);
    transform: translateY(-20px) rotate(315deg);
    top: 44px;
    right: 8px;
  }

  a#sidr-menu-button {
    display: block;
    height: auto;
    text-decoration: none;
  }

  #mobile_main {
    display: inline-block;
  }

  #mobile_main img {
    max-width: 100%;
  }


  #header.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #dcdada;
    z-index: 1000;
  }

  .admin-bar #header.fixed {
    top: 32px;
  }

  #header .header_l {
    display: block;
    position: relative;
    width: calc(100% - 150px);
    height: 100%;
  }

  #header .header_l h1.catch,
  #header p.catch {
    font-size: 9px;
    margin: 2px 0 0 9px;
  }

  #header .header_l img#logom {
    margin: 4px 0 0 10px;
    width: 140px;
    height: auto;
  }

  #header .header_l img#logom2 {
    margin: 0 0 0 10px;
    width: 140px;
    height: auto;
  }

  .anniversary {
    margin-right: 0;
    right: 0;
    top: 15px;
    bottom: auto;
  }

  .header_l .anniversary img {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin: 0 5px 0 0;
  }

  #header .header_r {
    width: 150px;
    display: flex;
    justify-content: flex-start;
    padding-bottom: 10px;
  }

  .header_contact_sp {
    display: flex;
    gap: 10px;
    margin: 0 0 0 10px;
  }

  .header_contact_sp a {
    width: 40px;
    height: 40px;
    border-radius: 6px;
  }

  .header_contact_sp a.contact_sp-mail {
    background: #ff4800 url(https://cms-professional.net/wp-content/themes/cmspro/img/icon_mail.png.webp) no-repeat center center;
  }

  .header_contact_sp a.contact_sp-tell {
    background: #ff4800 url(https://cms-professional.net/wp-content/themes/cmspro/img/icon_tel.png.webp) no-repeat center center;
  }

  /* drawer メニュー
  .drawer__input {
    display: none;
  }

  .drawer__overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
  }

  .nav__drawers {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    transition: right 0.3s ease;
    z-index: 999;
    overflow-y: auto;
  }

  .drawer__input:checked~.drawer__overlay {
    display: block;
  }

  .drawer__input:checked~.nav__drawers {
    right: 0;
    text-align: left;
  }

  .drawer__close {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1000;
  }

  .drawer__input:checked~.drawer__close {
    display: block;
  }*/

  footer.v2 {
    padding: 60px 0 0;
  }

  .v2 #footer {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 0 20px;
  }

  #footer ul.top_logo {
    margin: 0px auto;
  }

  #footer ul.top_logo li {
    margin: auto;
    display: table;
  }

  #footer ul.top_logo li:nth-child(1) {
    padding: 0px 0px 15px 0px;
  }

  #footer .f_logo {
    text-align: center;
  }

  .f_bottom_wrap {
    margin: 30px 0 0;
  }

  #footer ul.f_menu {
    width: calc(100% / 3);
    margin: 0 0 20px;
  }

  .f_bottom {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .rinya_logo img {
    margin: auto;
  }
}

@media screen and (max-width: 599px) {
  #header .header_l {
    width: calc(100% - 50px);
  }

  .header_contact_sp {
    display: none;
  }

  .v2 #footer {
    justify-content: space-between;
  }

  #footer ul.f_menu {
    width: calc((100% - 15px) / 2);

  }

  #footer ul.f_menu li {
    width: 100%;
  }

  .f_bottom_wrap {
    padding: 50px 0 25vw;
  }

  .home .f_bottom_wrap {
    padding: 50px 0;
  }

  .sp_fix_bnr {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 5px;
    position: fixed;
    bottom: 0;
    z-index: 100000;
  }

  .sp_fix_bnr:after {
    content: none !important;
  }

  .sp_fix_bnr div {
    width: 49%;
  }

  .sp_fix_bnr div img {
    width: 100%;
  }

  .sp-tell {
    display: none !important;
  }

  .sp-mail {
    display: none !important;
  }
}

/**/