@charset "utf-8";

/* ↓↓↓ common ↓↓↓ */
:root {
  --hiragino-w3: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro";
  --hiragino-w6: "ヒラギノ角ゴ Pro W6", "Hiragino Kaku Gothic Pro";
  --udshingo-el: "UD Shin Go Conde90 EL";
  --udShingo-l: "UD新ゴ コンデンス90 L";
  --udShingo-r: "UD新ゴ コンデンス90 R", "UD Shin Go Conde90 R";
  --udShingo-m: "UD新ゴ コンデンス90 M", "UD Shin Go Conde90 M";
  --main-red: #ED4F44;
}

.wb {
  display: inline-block;
}

.-sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .-pc {
    display: none;
  }

  .-sp {
    display: block;
  }
}

body.noscroll {
  overflow: clip;
}

/* ↑↑↑ common ↑↑↑ */

/* ↓↓↓ header ↓↓↓ */
header {
  position: fixed;
  width: 100vw;
  top: 0;
  left: 0;
  container-type: inline-size;
  z-index: 15;
}

header .inner {
  position: relative;
  height: 65px;
}

@container (max-width: 1000px) {
  header .inner {
    height: 80px;
  }
}

header .block {
  position: relative;
  height: 100%;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  gap: clamp(5px, 10/1280*100vw, 10px);
  border-bottom: 1px solid #E5E5E5;
  padding: 0 0 0 2.657%;
}

@media screen and (max-width: 810px) {
  header .block {
    padding: 0 8px 0 12px;
  }
}

header .block .logo {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 6px 16px;
  padding: 15px 0;
}

header .block .logo .-change {
  color: #ED4F44;
}

@container (max-width: 1000px) {
  header .block .logo {
    flex-direction: column;
    align-items: start;
    padding: 8px 0 0;
  }
  header .block .logo .range{
    display: none;
  }
}

@media (max-width: 768px) {
  header .block .logo {
    flex-direction: unset;
    align-items: center;
    gap: 6px 10px;
  }
  header .block .logo .range {
    display: block;
  }
}

header .block .logo img {
  width: 113px;
  height: max-content;
}

header .block .logo h1 {
  font-size: 1.2rem;
  height: max-content;
  letter-spacing: -0.01em;
}

header .block .toggleBtn {
  position: relative;
  height: 100%;
  aspect-ratio: 1/1;
  display: none;
  cursor: pointer;
}

@media screen and (max-width: 810px) {
  header .block .toggleBtn {
    display: block;
  }
}

header .block .toggleBtn span {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background-color: var(--main-red);
  left: 20px;
  transition: rotate ease .3s, top ease .3s;
}

header .block .toggleBtn span:first-of-type {
  top: 24px;
}

header .block .toggleBtn span:nth-of-type(2) {
  top: 38px;
}

header .block .toggleBtn span:last-of-type {
  top: 53px;
}

header .block .toggleBtn.active span:first-of-type,
header .block .toggleBtn.active span:last-of-type {
  top: 38px;
  rotate: 135deg;
}

header .block .toggleBtn.active span:nth-of-type(2) {
  rotate: -135deg;
}

header .block nav {
  position: relative;
  height: 100%;
}

@media screen and (max-width: 810px) {
  header .block nav {
    display: none;
    position: fixed;
    width: 100vw;
    height: calc(100vh - 80px);
    background-color: #fff;
    top: 80px;
    left: 0;
    overflow-x: scroll;
  }
}

header .block .page-list {
  position: relative;
  width: clamp(578px, 688/1280*100vw, 688px);
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

@media screen and (max-width: 810px) {
  header .block .page-list {
    width: 100%;
    flex-direction: column;
    align-items: start;
    justify-content: flex-start;
  }
}

header .block .page-list .page-item {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  transition: background-color ease .3s;
}

header .block .page-list .header-foot {
  position: relative;
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  display: none;
  flex-direction: column;
  row-gap: 20px;
  padding: 22px 40px;
  z-index: 1;
}

@media screen and (max-width: 810px) {
  header .block .page-list .page-item {
    width: 100%;
    flex: none;
    height: auto;
    display: block;
    border-bottom: 1px solid #E5E5E5;
  }

  header .block .page-list .header-foot {
    display: flex;
  }
}

@media screen and (min-width: 811px) {
  header .block .page-list .page-item:hover {
    background-color: var(--main-red);
  }
}

@media screen and (max-width: 810px) {
  header .block .page-list .page-item.parent::before {
    content: '';
    position: absolute;
    right: 56px;
    top: 22px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 16px;
    border-color: transparent transparent transparent var(--main-red);
    transition: transform ease .3s, border-color ease .3s;
  }
}

header .block .page-list .page-item.parent.active::before {
  transform: rotate(90deg);
}

@media screen and (min-width: 769px) {
  header .block .page-list .page-item.parent:hover::before {
    transform: rotate(90deg);
  }
}

@media screen and (min-width: 811px) {
  header .block .page-list .page-item:hover::before {
    border-color: transparent transparent transparent #fff;
  }
}

header .block .page-list .page-item.current {
  color: var(--main-red);
}

@media screen and (min-width: 811px) {
  header .block .page-list .page-item.current {
    border-bottom: 1px solid var(--main-red);
  }
}

header .block .page-item .page {
  width: max-content;
  font-size: 1.4rem;
  font-family: var(--udShingo-m);
  font-weight: 500;
  transition: color ease .3s;
}

@media screen and (min-width: 811px) {
  header .block .page-item a.page {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  header .block .page-item:hover .page {
    color: #fff;
  }
}

header .block .page-item.parent .page {
  position: relative;
  padding-left: 10px;
}

@media screen and (max-width: 810px) {

  header .block .page-item .page,
  header .block .page-item.parent .page {
    font-size: 2.1rem;
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 40px;
  }
}

header .block .page-item.parent .page::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 3px 0 3px 6px;
  border-color: transparent transparent transparent var(--main-red);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

@media screen and (max-width: 810px) {
  header .block .page-item.parent .page::before {
    content: unset;
  }
}

@media screen and (min-width: 769px) {
  header .block .page-item.active .page::before {
    border-color: transparent transparent transparent #fff;
    transform: rotate(90deg);
  }

  header .block .page-item:hover .page::before {
    border-color: transparent transparent transparent #fff;
  }
}

header .block .insta {
  position: relative;
  height: 100%;
}

header .block .insta::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url(/img/common/Instagram_hover.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0;
  top: 0;
  left: 0;
  transition: opacity 0.3s ease;
}

@media screen and (min-width: 811px) {
  header .block .insta:hover::before {
    opacity: 1;
  }
}

@media screen and (max-width: 810px) {
  header .block .insta {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: flex-end;
    padding-right: 16px;
    margin-top: -90px;
  }
}

header .block .instagram {
  position: relative;
  width: clamp(58px, 64/1280*100vw, 64px);
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
}

@media screen and (max-width: 810px) {
  header .block .instagram {
    height: auto;
    aspect-ratio: 1/1;
  }
}

@media screen and (min-width: 769px) and (max-width: 810px) {
  header .block .instagram:hover {
    opacity: 0.7;
    transition: opacity 0.3s ease;
  }
}

header .block .instagram::before {
  content: '';
  position: absolute;
  width: 25px;
  aspect-ratio: 1/1;
  background-image: url(/img/common/Instagram.png);
  background-repeat: no-repeat;
  background-size: contain;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  transition: background-image 0.3s ease;
}

@media screen and (min-width: 811px) {
  header .block .instagram:hover::before {
    background-image: url(/img/common/Instagram_white.png);
  }
}

@media screen and (max-width: 810px) {
  header .block .instagram::before {
    width: 32px;
  }
}

header .group-inner {
  position: absolute;
  width: max-content;
  display: none;
  border: solid #E5E5E5;
  border-width: 1px 1px 0 1px;
  transform: translateY(100%);
  bottom: 0;
}

header :is(.service) .group-inner {
  left: 0;
}

header :is(.contact, .recruit) .group-inner {
  right: 0;
}

@media screen and (max-width: 810px) {
  header .group-inner {
    position: initial;
    transform: unset;
    width: 100%;
  }
}

header .group-inner .wrap {
  display: flex;
  flex-direction: column;
}

header .group-inner .detail-page {
  min-height: 34px;
  font-size: 1.4rem;
  color: #333333;
  background-color: #fff;
  border-bottom: 1px solid #E5E5E5;
  padding: 6px 15px;
  transition: background-color ease .3s, color ease .3s;
}

@media screen and (max-width: 810px) {
  header .group-inner .detail-page {
    min-height: 42px;
    font-size: 1.6rem;
    color: #fff;
    background-color: var(--main-red);
    padding: 12px 55px 12px 72px;
  }
}

@media screen and (min-width: 769px) {
  header .group-inner .detail-page:hover {
    color: #fff;
    background-color: var(--main-red);
  }
}

header .group-inner .detail-page:last-of-type {
  border-right: 1px solid #E5E5E5;
}

header .group-inner.-center .detail-page {
  width: 183px;
}

header .group-inner.-right .detail-page {
  width: 255px;
}

/* ↑↑↑ header ↑↑↑ */

/* ↓↓↓ footer ↓↓↓ */
footer {
  position: relative;
  overflow: hidden;
  padding-bottom: 74px;
  z-index: 12;
}

@media screen and (max-width: 768px) {
  footer {
    padding-bottom: 140px;
  }
}

footer .gotop {
  position: absolute;
  width: 58px;
  bottom: 130px;
  right: 30px;
  transition: opacity 0.3s ease;
}

@media screen and (min-width: 769px) {
  footer .gotop:hover {
    opacity: 0.7;
    transition: opacity 0.3s ease;
  }
}

@media screen and (max-width: 768px) {
  footer .gotop {
    top: initial;
    bottom: 30px;
    right: 10px;
    width: 40px;
    z-index: 1;
  }
}

footer .inner {
  margin-bottom: 60px;
}

footer .logo {
  width: 264px;
  margin: 0 auto;
}

footer .flex-block {
  max-width: 940px;
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: #707070;
  display: flex;
  gap: 35px 40px;
  padding: 0 30px;
  margin: 38px auto 0;
}

@media screen and (max-width: 768px) {
  footer .flex-block {
    flex-direction: column;
    padding: 0 25px;
  }
}

footer .flex-block .txt-group {
  flex: 1;
  display: flex;
  letter-spacing: 0;
}

footer .flex-block .txt-group .txt {
  text-align: justify;
}

footer .flex-block .place-box {
  letter-spacing: 0;
  flex: 1;
}

footer .flex-block .place-box .blql-logo {
  width: 226px;
}

footer .flex-block .place-box .txt {
  margin-top: 12px;
}

footer .flex-block .place-box .txt+.txt {
  margin-top: 0;
}

@media screen and (max-width: 768px) {
  footer .flex-block .place-box .txt+.txt {
    margin-top: 4px;
  }
}

footer .link-group {
  display: flex;
  align-items: center;
  max-width: calc(1120px + 30px * 2);
  padding: 0 115px 0 30px;
  margin: 60px auto 0;
}

@media screen and (max-width: 768px) {
  footer .link-group {
    display: block;
    border-top: 1px solid #E5E5E5;
    padding: 40px 15px 0;
    margin: 40px auto 0;
  }
}

footer .link-group .manager-btn {
  position: relative;
  width: 290px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  letter-spacing: 0.2em;
  background-color: #707070;
  transition: opacity 0.3s ease;
}

@media screen and (min-width: 769px) {
  footer .link-group .manager-btn:hover {
    opacity: 0.5;
    transition: opacity 0.3s ease;
  }
}

@media screen and (max-width: 768px) {
  footer .link-group .manager-btn {
    margin: 0 auto;
  }
}

footer .link-group .manager-btn::before {
  content: '';
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
  right: 16px;
  width: 7px;
  height: 11px;
  background: url(../img/common/btn-angle_white.svg) no-repeat;
  background-size: cover;
}

footer .link-group .list {
  display: flex;
  margin-left: 32px;
}

@media screen and (max-width: 768px) {
  footer .link-group .list {
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px auto 0;
  }
}

footer .link-group .list .item {
  width: max-content;
  font-size: 1.2rem;
}

footer .link-group .list .item a {
  transition: opacity 0.3s ease;
}

@media screen and (min-width: 769px) {
  footer .link-group .list .item a:hover {
    opacity: 0.5;
    transition: opacity 0.3s ease;
  }
}

footer .link-group .list .item.copyright {
  margin-left: 30px;
}

@media screen and (max-width: 768px) {
  footer .link-group .list .item.copyright {
    width: 100%;
    text-align: center;
    margin: 10px auto 0;
  }
}

footer .fixed-block {
  position: relative;
  transform: unset;
  z-index: 2;
}

@media screen and (max-width: 768px) {
  footer .fixed-block {
    position: fixed;
    width: 100vw;
    height: 100px;
    bottom: 0;
    left: 0;
  }
}

footer .contact-group {
  position: fixed;
  display: flex;
  bottom: 50px;
  width: 100%;
}

@media screen and (max-width: 768px) {
  footer .contact-group {
    position: initial;
  }
}

footer .contact-group .btn {
  width: 50%;
  height: 60px;
  display: grid;
  align-items: center;
  justify-items: center;
  container-type: inline-size;
}

footer .contact-group .btn.document {
  position: relative;
  background-color: #63381E;
}

footer .contact-group .btn.document::after {
  content: '';
  position: absolute;
  width: 29px;
  height: 37px;
  background: url(../img/common/contact01.svg) no-repeat;
  translate: 0 -50%;
  top: 50%;
  right: 4.375%;
}



@media screen and (max-width: 768px) {
  footer .contact-group .btn.document::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 20px;
    background: url(../img/common/contact01.svg) no-repeat;
    translate: 0 -50%;
    top: 50%;
    right: 20px;
  }
}

footer .contact-group .btn.layout {
  position: relative;
  background-color: var(--main-red);
}

footer .contact-group .btn.layout::after {
  content: '';
  position: absolute;
  width: 29px;
  height: 37px;
  background: url(../img/common/contact02.svg) no-repeat;
  translate: 0 -50%;
  top: 50%;
  right: 4.375%;
}

@media screen and (max-width: 768px) {
  footer .contact-group .btn.layout::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: url(../img/common/contact02.svg) no-repeat;
    translate: 0 -50%;
    top: 50%;
    right: 15px;
  }
}

@media screen and (min-width: 769px) {
  footer .contact-group .btn:hover {
    opacity: 0.8;
    transition: opacity .3s ease;
  }
}

@media screen and (max-width: 768px) {
  footer .contact-group .btn {
    aspect-ratio: unset;
    height: 50px;
    font-size: 1.2rem;
    gap: 10px;
    flex-direction: row;
    border-radius: unset;
    flex: 1;
  }
}

footer .contact-group .btn img {
  width: 30px;
}

@media screen and (max-width: 768px) {
  footer .contact-group .btn img {
    width: 20px;
  }
}

footer .contact-group .btn .txt-wrap {
  display: flex;
  column-gap: 15px;
  align-items: center;
}

@media screen and (max-width: 768px){
  footer .contact-group .btn .txt-wrap {
    column-gap: 4px;
  }
}

footer .contact-group .btn .free-txt {
  font-size: 2.0rem;
  color: var(--main-red);
  font-family: var(--udShingo-m);
  background-color: #ffffff;
  padding: 4px 15px 2px;
  border-radius: 3px;
}

footer .contact-group .btn .txt01,
footer .contact-group .btn .txt02 {
  line-height: 1.33;
  text-align: center;
  color: #ffffff;
  font-size: 2.4rem;
  font-family: var(--udShingo-m);
}

@media screen and (max-width: 850px) {
  footer .contact-group .btn .free-txt {
    font-size: 4.70588cqw;
  }
  footer .contact-group .btn .txt01 {
    font-size: 5.64706cqw;
  }
}

@media screen and (max-width: 1000px) {
  footer .contact-group .btn .txt02 {
    font-size: 4.8cqw;
  }
}


@media screen and (max-width: 768px) {
  footer .contact-group .btn .txt01 {
    flex: 1;
    text-align: center;
    font-size: 1.6rem;
    padding-right: 5px;
  }
  footer .contact-group .btn .txt02 {
    flex: 1;
    text-align: center;
    font-size: 1.3rem;
  }
  footer .contact-group .btn .txt-wrap .txt02 {
    margin-right: 34px;
  }
}

@media screen and (max-width: 768px) {
  footer .contact-group .btn .free-txt {
    font-size: 1.2rem;
    padding: 2px 6px 0px;
  }
  footer .contact-group .btn .txt-wrap .free-txt {
    margin-left: 15px;
    display: grid;
    justify-content: center;
  }
}

footer .info-group {
  position: fixed;
  width: 100%;
  min-height: 50px;
  background-color: #F5F5F5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  bottom: 0;
  left: 0;
}

@media screen and (max-width: 768px) {
  footer .info-group {
    position: initial;
    padding: 0 clamp(10px, 15/768*100vw, 15px);
  }
}

footer .info-group::before {
  content: '';
  position: absolute;
  transform: translateX(-100%);
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-color: #F5F5F5;
}

footer .info-group .reception-lead {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 2.1rem;
  font-family: var(--udShingo-m);
  font-weight: 500;
  line-height: 1;
  color: var(--main-red);
}

@media screen and (max-width: 768px) {
  footer .info-group .reception-lead {
    font-size: clamp(1.2rem, 14/768*100vw, 1.4rem);
    flex-direction: column;
    align-items: flex-start;
    padding-left: 35px;
  }
}

@media screen and (max-width: 745px) {
  footer .info-group .reception-lead {
    letter-spacing: 0;
    padding-left: clamp(32px, 35/768*100vw, 35px);
  }
}

footer .info-group .reception-lead img {
  width: 25px;
  margin-left: 8px;
}

@media screen and (max-width: 768px) {
  footer .info-group .reception-lead img {
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
    left: 0;
    margin-left: unset;
  }
}

footer .info-group .reception-tel {
  font-size: 2.6rem;
  font-family: var(--udShingo-r);
  font-weight: 400;
  line-height: 1;
  color: var(--main-red);
  margin-left: 15px;
}

@media screen and (max-width: 768px) {
  footer .info-group .reception-tel {
    font-size: clamp(1.4rem, 18/768*100vw, 1.8rem);
    margin: 4px 0 0;
  }
}

footer .info-group .reception-tel {
  transition: opacity ease .3s;
}

@media screen and (min-width: 769px) {
  footer .info-group .reception-tel:hover {
    opacity: .7;
  }
}

footer .info-group .reception-tel rt {
  font-size: 0.9rem;
}

@media screen and (max-width: 768px) {
  footer .info-group .reception-tel rt {
    display: none;
  }
}

footer .info-group .reception-time {
  font-size: 2rem;
  font-family: var(--udShingo-r);
  font-weight: 400;
  color: var(--main-red);
  margin-top: 10px;
  margin-left: 20px;
}

@media screen and (max-width: 1000px) {
  footer .info-group .reception-time {
    margin-top: unset;
    margin-left: 10px;
  }
}

@media screen and (max-width: 768px) {
  footer .info-group .reception-time {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 745px) {
  footer .info-group .reception-time {
    letter-spacing: 0;
    margin-left: clamp(5px, 10/445*100vw, 10px);
  }
}

footer .info-group .reception-time .attention {
  font-size: 1.6rem;
}

@media screen and (max-width: 768px) {
  footer .info-group .reception-time .attention {
    font-size: 1rem;
  }
}

footer .info-group .balquline {
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
  right: 5px;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.1em;
  color: var(--main-red);
}

@media screen and (max-width: 1000px) {
  footer .info-group .balquline {
    position: initial;
    transform: initial;
    display: block;
    font-size: 0.9rem;
  }

  footer .info-group .balquline br {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  footer .info-group .balquline {
    margin-top: 2px;
  }
}

@media screen and (max-width: 745px) {
  footer .info-group .balquline {
    letter-spacing: 0;
  }
}

footer .info-group .balquline .sub {
  font-size: 1.2rem;
}