/*========================
全体
========================*/
@media screen and (min-width: 640px){	
  .pc { display:block; }
  .sp { display:none; }
}
@media screen and (max-width: 640px){	
  .pc { display:none; }
  .sp { display:block; }
}

/*========================
header
========================*/
header {
  position: fixed;
  padding: 30px 37px;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  background-color: #ffffffb3;
  z-index: 20;
}

header .in {
  max-width: 100%;
  padding: 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
}

header .logo {
  width: 65px;
  position: relative;
  z-index: 30;
}
@media only screen and (max-width: 640px) {
    header{
        padding: 10px 20px;
    }
  header .logo {
    width: 50px;
    /*margin: auto;*/
  }
}

/* PCの通常グローバルメニュー */
header .glo_navi {
  width: calc(100% - 230px);
  position: relative;
  z-index: 21;
}
@media only screen and (max-width: 640px) {
  header .glo_navi {
    position: fixed;
    width: 3rem;
    background-color: rgba(26, 26, 26, 0.88);
    height: 100dvh;
    top: 0;
    right: -100vw;
    z-index: 30;
    transition: all 0.3s;
  }
  header .glo_navi.active {
    right: 0;
  }
}

header .glo_navi .list {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
@media only screen and (max-width: 640px) {
  header .glo_navi .list {
    display: block;
    width: 70%;
    margin: auto;
    padding-top: 0.40rem;
  }
}

header .glo_navi .list .link {
  padding-right: 40px;
}
@media only screen and (max-width: 640px) {
  header .glo_navi .list .link {
    padding-right: 0;
    padding-bottom: 0.30rem;
  }
}

header .glo_navi .list .link a {
  font-size: 14px;
  font-family: "times-new-roman", sans-serif;
  font-weight: 400;
  color: #323232;
  position: relative;
}
@media only screen and (max-width: 640px) {
  header .glo_navi .list .link a {
    color: #FFF;
  }
}

header .glo_navi .list .link a::after {
  position: absolute;
  bottom: -5px;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: #323232;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform .3s;
}
@media only screen and (max-width: 640px) {
  header .glo_navi .list .link a::after {
    background: #FFF;
  }
}

header .glo_navi .list .link a:hover::after {
  transform-origin: left top;
  transform: scale(1, 1);
}

header .glo_navi .list .contact {
  width: 140px;
}
@media only screen and (max-width: 640px) {
  header .glo_navi .list .contact {
    width: 100%;
  }
}

header .glo_navi .list .contact a {
  display: block;
  text-align: center;
  font-size: 14px;
  font-family: "times-new-roman", sans-serif;
  font-weight: 400;
  color: #323232;
  padding: 7px 0;
  border: 1px solid #323232;
  border-radius: 40px;
}
@media only screen and (max-width: 640px) {
  header .glo_navi .list .contact a {
    color: #FFF;
    border: 1px solid #FFF;
  }
}

header .glo_navi .list .contact a:hover {
  background-color: #323232;
  color: #FFF;
}
@media only screen and (max-width: 640px) {
  header .glo_navi .list .contact a:hover {
    background-color: transparent;
  }
}

/* PC用ハンバーガー */
header .pc_menu_btn {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  position: relative;
  z-index: 35;
}
@media only screen and (max-width: 640px) {
  header .pc_menu_btn {
    display: none;
  }
}

header .pc_menu_btn .menu_btn {
  width: 60px;
  height: 60px;
  position: relative;
  cursor: pointer;
}

header .pc_menu_btn .menu_btn span {
  display: block;
  width: 30px;
  height: 1px;
  background-color: #323232;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s;
}

header .pc_menu_btn .menu_btn span:nth-of-type(1) {
  top: calc(50% - 3px);
}
header .pc_menu_btn .menu_btn span:nth-of-type(2) {
  top: calc(50% + 3px);
}

header .pc_menu_btn .menu_btn.active span:nth-of-type(1) {
  transform: translateX(-50%) rotate(45deg);
  top: 50%;
  background-color: #fff;
}
header .pc_menu_btn .menu_btn.active span:nth-of-type(2) {
  transform: translateX(-50%) rotate(-45deg);
  top: 50%;
  background-color: #fff;
}

/* PC用開閉メニュー */
header .pc_glo_navi {
  position: fixed;
  width: 340px;
  height: 100vh;
  top: 0;
  right: -340px;
  background-color: rgba(26, 26, 26, 0.92);
  box-sizing: border-box;
  padding-top: 120px;
  z-index: 32;
  transition: right 0.3s ease;
}

header .pc_glo_navi.active {
  right: 0;
}

header .pc_glo_navi .list {
  width: 70%;
  margin: 0 auto;
}

header .pc_glo_navi .list .link {
  padding-bottom: 30px;
}

header .pc_glo_navi .list .link a {
  font-size: 14px;
  font-family: "times-new-roman", sans-serif;
  font-weight: 400;
  color: #FFF;
  position: relative;
}

header .pc_glo_navi .list .link a::after {
  position: absolute;
  bottom: -5px;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: #FFF;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform .3s;
}

header .pc_glo_navi .list .link a:hover::after {
  transform-origin: left top;
  transform: scale(1, 1);
}

header .pc_glo_navi .list .contact {
  width: 100%;
}

header .pc_glo_navi .list .contact a {
  display: block;
  text-align: center;
  font-size: 14px;
  font-family: "times-new-roman", sans-serif;
  font-weight: 400;
  color: #FFF;
  padding: 7px 0;
  border: 1px solid #FFF;
  border-radius: 40px;
}

header .pc_glo_navi .list .contact a:hover {
  background-color: transparent;
}

/* PC overlay */
header .pc_nav_overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 31;
}

header .pc_nav_overlay.active {
  opacity: 1;
  visibility: visible;
}

@media only screen and (max-width: 640px) {
  header .pc_glo_navi,
  header .pc_nav_overlay {
    display: none;
  }
}

/* SPメニュー */
/*header .sp_bottom_menu_wrap {
  width: 100%;
  height: 60px;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}*/

header .sp_bottom_menu_wrap .top_link_wrap {
  width: calc(100% - 60px);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

header .sp_bottom_menu_wrap .top_link_wrap .top_link {
  width: 25%;
  height: 100%;
  position: relative;
}

header .sp_bottom_menu_wrap .top_link_wrap .top_link a {
  display: block;
  width: 100%;
  height: 100%;
  background-color: #F5F5F5;
  box-sizing: border-box;
}

header .sp_bottom_menu_wrap .top_link_wrap .top_link:nth-of-type(2) a {
  border-left: 1px solid #FFF;
  border-right: 1px solid #FFF;
}

header .sp_bottom_menu_wrap .top_link_wrap .top_link a span {
  display: block;
  width: 100%;
  font-size: 12px;
  font-family: "times-new-roman", sans-serif;
  font-weight: 400;
  color: #323232;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  text-align: center;
}

/* 右下ボタンを最前面に */
header .sp_bottom_menu_wrap .menu_btn {
  width: 60px;
  height: 60px;
  background-color: #323232;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 50;
  cursor: pointer;
}

header .sp_bottom_menu_wrap .menu_btn span {
  display: block;
  width: 30px;
  height: 1px;
  background-color: #FFF;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s;
}

header .sp_bottom_menu_wrap .menu_btn span:nth-of-type(1) {
  top: calc(50% - 3px);
}
header .sp_bottom_menu_wrap .menu_btn span:nth-of-type(2) {
  top: calc(50% + 3px);
}

header .sp_bottom_menu_wrap .menu_btn.active span:nth-of-type(1) {
  transform: translateX(-50%) rotate(45deg);
  top: 50%;
}
header .sp_bottom_menu_wrap .menu_btn.active span:nth-of-type(2) {
  transform: translateX(-50%) rotate(-45deg);
  top: 50%;
}

/*========================
PC通常グローバルナビ SERVICEドロップダウン
========================*/
header .glo_navi.pc_only .list .service_parent {
  position: relative;
  padding-right: 40px;
}

header .glo_navi.pc_only .list .service_parent > a {
  font-size: 14px;
  font-family: "times-new-roman", sans-serif;
  font-weight: 400;
  color: #323232;
  position: relative;
  display: inline-block;
}

header .glo_navi.pc_only .list .service_parent > a::after {
  position: absolute;
  bottom: -5px;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: #323232;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform .3s;
}

header .glo_navi.pc_only .list .service_parent:hover > a::after,
header .glo_navi.pc_only .list .service_parent.active > a::after {
  transform-origin: left top;
  transform: scale(1, 1);
}

header .glo_navi.pc_only .service_submenu {
  margin: 0;
  padding: 0;
  list-style: none;
}

@media screen and (min-width: 641px) {
  header .glo_navi.pc_only .service_submenu {
    position: absolute;
    top: calc(100% + 24px);
    left: 30%;
    transform: translateX(-50%);
    width: 170px;
    background: #f5f5f5;
    padding: 5px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: 50;
  }

  header .glo_navi.pc_only .service_parent:hover .service_submenu,
  header .glo_navi.pc_only .service_parent.active .service_submenu {
    opacity: 1;
    visibility: visible;
  }

  header .glo_navi.pc_only .service_submenu::before {
    content: "";
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-bottom: 16px solid #f5f5f5;
  }

  header .glo_navi.pc_only .service_submenu li {
    border-bottom: 1px solid #d9d9d9;
  }

  header .glo_navi.pc_only .service_submenu li:last-child {
    border-bottom: 0;
  }

  header .glo_navi.pc_only .service_submenu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px;
    color: #646464;
    font-size: 14px;
    font-family: "times-new-roman", sans-serif;
    transition: all 0.3s;
  }

  header .glo_navi.pc_only .service_submenu li a:hover {
    background: #7a7a7a;
    color: #fff;
  }
}

/* SERVICEの文字色を通常リンクと揃える */
header .glo_navi.pc_only .list .service_parent > a,
header .glo_navi.pc_only .list .service_parent > a span {
  color: inherit;
}

header .glo_navi.pc_only .list .service_parent > a {
  color: #323232;
}

header.scroll .glo_navi.pc_only .list .service_parent > a {
  color: #323232;
}

header .glo_navi.pc_only .list .service_parent > a::after {
  background: #323232;
}

/* PC通常グローバルナビ Instagram */
header .glo_navi.pc_only .list .instagram {
  width: 56px;
  padding-left: 20px;
  flex-shrink: 0;
}

header .glo_navi.pc_only .list .instagram a {
  width: 56px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #323232;
  border-radius: 50%;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

header .glo_navi.pc_only .list .instagram a img {
  display: block;
  width: 24px;
  height: 24px;
}

header .glo_navi.pc_only .list .instagram a .icon_wh {
  display: none;
}

@media only screen and (max-width: 640px) {
  header .glo_navi.pc_only .list .instagram {
    display: none;
  }
}

/* PC通常グローバルナビ Instagram 外枠なし */
header .glo_navi.pc_only .list .instagram a {
  border: none;
  border-radius: 0;
  background: transparent;
}

header .glo_navi.pc_only .list .instagram a:hover {
  background: transparent;
}

/* Instagram ホバー時の色反転を無効化 */
header .glo_navi.pc_only .list .instagram a:hover .icon_bk {
  display: block;
}

header .glo_navi.pc_only .list .instagram a:hover .icon_wh {
  display: none;
}

/*========================
footer
========================*/
footer {
  padding-top: 120px;
}
@media only screen and (max-width: 640px) {
  footer {
    padding-top: 30px;
  }
}

footer .in {
  border-top: 1px solid #828282;
  padding: 60px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
@media only screen and (max-width: 640px) {
  footer .in {
    border-top: 0;
    padding-bottom: 120px;
  }
}

footer .in .info_wrap {
  width: 100%;
  max-width: 300px;
}

footer .in .info_wrap .logo {
  width: 150px;
  padding-bottom: 90px;
}
@media only screen and (max-width: 640px) {
  footer .in .info_wrap .logo {
    margin: auto;
    padding-bottom: 20px;
    width: 150px;
  }
}

footer .in .info_wrap .office_wrap {
  flex-wrap: wrap;
  justify-content: space-between;
}
@media only screen and (max-width: 640px) {
  footer .in .info_wrap .office_wrap {
    display: none;
  }
}

footer .in .info_wrap .office_tit {
  font-family: "times-new-roman", sans-serif;
  font-size: 18px;
  font-weight: 400;
  padding-bottom: 15px;
}

footer .in .info_wrap .address {
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  padding-bottom: 10px;
}

footer .in .info_wrap .tel_num {
  font-size: 21px;
  font-family: "times-new-roman", sans-serif;
  font-weight: 400;
}

footer .in .info_wrap .tel_num a {
  color: #969696;
}

footer .in .link_wrap {
  width: 100%;
  max-width: 550px;
}
@media only screen and (max-width: 640px) {
  footer .in .link_wrap {
    display: none;
  }
}

footer .in .link_wrap .list {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
}

footer .in .link_wrap .list .link {
  padding-left: 28px;
  padding-bottom: 20px;
}

footer .in .link_wrap .list .link a {
  font-size: 14px;
  font-family: "times-new-roman", sans-serif;
  font-weight: 400;
  color: #323232;
  position: relative;
}

footer .in .link_wrap .list .link a::after {
	position: absolute;
	bottom: -5px;
	left: 0;
	content: '';
	width: 100%;
	height: 1px;
	background: #323232;
	transform: scale(0, 1);
	transform-origin: right top;
	transition: transform .3s;
}

footer .in .link_wrap .list .link a:hover::after {
	transform-origin: left top;
	transform: scale(1, 1);
}

footer .in .bottom_wrap {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  align-items: center;
  padding-top: 18px;
}
@media only screen and (max-width: 640px) {
  footer .in .bottom_wrap {
    padding-top: 0;
  }
}

footer .in .bottom_wrap .sns_wrap {
  width: 66px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
@media only screen and (max-width: 640px) {
  footer .in .bottom_wrap .sns_wrap {
    display: none;
  }
}

footer .in .bottom_wrap .sns_wrap a {
  width: 28px;
}

footer .in .bottom_wrap .sns_wrap a:hover {
  opacity: 0.7;
}

footer .in .bottom_wrap .sns_wrap a img {
  display: block;
}

footer .in .bottom_wrap .copyright {
  font-size: 10px;
  font-family: "times-new-roman", sans-serif;
  font-weight: 400;
}
@media only screen and (max-width: 640px) {
  footer .in .bottom_wrap .copyright {
    width: 100%;
    text-align: center;
  }
}

#included-files-fie-on-wp-footer {
  display: none;
}

.bottom_wrap_right{
    display: flex;
}

.bottom_wrap_right .online_btn{
    display: flex;
    gap: 10px;
    margin-right: 30px;
}

.bottom_wrap_right .online_btn a.footer-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 140px;
    height: 30px;
    border: 1px solid #323232;
    border-radius: 9999px;
    color: #323232;
    font-size: 12px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

@media only screen and (max-width: 640px) {
  .bottom_wrap_right .online_btn {
    display: none;
  }
}