@charset "UTF-8";
:root {
  --main-fontfamily: "フォーク R", Arial, sans-serif;
  --rank-color: #777777;
  --h2-size: 24px;
  --disp-width: 1024px;
  --rank-padding: 10px;
  --side-padding: 10px;
}

.fa-solid {
  font-family: "Font Awesome 6 Free" !important;
}

img {
  max-width: 100%;
}

@media (min-width: 769px) {
  .is-sp {
    display: none;
  }
}

@media (max-width: 768px) {
  .is-pc {
    display: none;
  }
}

#service-content {
  margin: 0 0 0px;
  padding: 80px 0 0;
}
@media screen and (min-width: 481px) {
  #service-content {
    width: var(--disp-width);
    margin: auto;
  }
  #service-content article {
    margin: 0 auto 60px;
    width: 100% !important;
  }
}
@media (max-width: 768px) {
  #service-content {
    padding-top: 0;
  }
}

@media (min-width: 769px) {
  #mainbox {
    padding-left: 3rem;
  }
}
@media (max-width: 768px) {
  #mainbox {
    padding-top: 0px !important;
  }
}
#mainbox *,
#mainbox *::before,
#mainbox *::after {
  box-sizing: border-box;
}

.p-button {
  font-family: var(--main-fontfamily);
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex: 1 1 0;
  width: 100%;
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1), 0px 3px 15px 0px rgba(0, 0, 0, 0.08), 0px 5px 28px 0px rgba(0, 0, 0, 0.06);
  font-size: 20px;
  letter-spacing: 1.5px;
  padding: 10px 16px;
  transition: filter 0.3s ease, transform 0.2s ease;
  color: #FFF;
  background-color: #8C6C5F;
}
@media (min-width: 769px) {
  .p-button {
    max-width: 280px;
  }
}
.p-button:after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-style: normal;
  content: "\f0da";
  margin-left: 10px;
}
.p-button:visited, .p-button:hover {
  color: #FFF;
}
.p-button.-round {
  border-radius: 50px;
}
.p-button.-square {
  border-radius: 1px;
}

.p-info {
  display: flex;
  gap: 35px;
  margin-top: 30px;
}
@media (max-width: 768px) {
  .p-info {
    flex-direction: column;
    margin-top: 15px;
  }
}
@media (min-width: 769px) {
  .p-info__left {
    flex: none;
    width: 35%;
  }
}
.p-info__img {
  border-radius: 10px;
}
.p-info__text {
  line-height: 1.85em;
  text-align: left;
}
.p-info__text a {
  text-decoration: dashed;
  color: #366a9b;
}
.p-info__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 8px;
  gap: 4px;
}
@media (max-width: 768px) {
  .p-info__link {
    gap: 10px;
  }
}
.p-info__link.-bottom {
  margin-top: 3rem;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
@media (min-width: 768px) {
  .p-info__link.-bottom {
    flex-direction: row;
  }
  .p-info__link.-bottom .p-button {
    max-width: 50%;
  }
  .p-info__link.-bottom:has(.p-button + .p-button) .p-button {
    max-width: 100%;
  }
}
.p-info__tel {
  font-family: var(--main-fontfamily);
  position: relative;
  font-size: 26px;
  font-weight: 600;
  color: #8C6C5F;
}
@media (max-width: 768px) {
  .p-info__tel {
    text-align: center;
  }
}

.p-rankbox a {
  transition: all 0.2s ease-in-out;
}
.p-rankbox a:hover {
  filter: opacity(0.7);
  transform: translateX(2px);
  text-decoration: none !important;
}
.p-rankbox a:active {
  filter: brightness(0.9);
  transform: scale(0.95);
}
@media (max-width: 768px) {
  .p-rankbox {
    padding: var(--rank-padding);
    margin-bottom: 50px;
  }
}
.p-rankbox__title {
  height: auto !important;
  background-image: none !important;
  background-color: #8C6C5F !important;
  padding: 16px 20px !important;
  font-size: var(--h2-size) !important;
  font-weight: 600 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 15px !important;
}
.p-rankbox__title.-round {
  border-radius: 8px;
}
.p-rankbox__title.-square {
  border-radius: 1px;
}
@media (max-width: 768px) {
  .p-rankbox__title {
    font-size: var(--h2-size) !important;
  }
}
.p-rankbox__title i {
  flex-shrink: 0;
  color: #FFF;
}
@media (max-width: 768px) {
  .p-rankbox__title i {
    display: none;
  }
}
.p-rankbox__title p {
  text-align: left;
  color: #FFF;
  font-family: var(--main-fontfamily);
  line-height: 1.2em;
  margin-bottom: 0;
}
@media (min-width: 769px) {
  .p-rankbox__title p {
    font-size: var(--h2-size);
  }
}
@media (max-width: 768px) {
  .p-rankbox__title p {
    text-align: left;
    font-size: var(--h2-size);
  }
}
.p-rankbox__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
  list-style: none;
  margin-top: 60px;
}
@media (max-width: 768px) {
  .p-rankbox__list {
    margin-top: 30px;
  }
}
.p-rankbox__spttl {
  display: none;
  color: #555;
}
.p-rankbox__spttl i {
  color: #8C6C5F;
}
@media (max-width: 768px) {
  .p-rankbox__spttl {
    display: block;
    width: fit-content;
    margin: 90px auto 0;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    border-bottom: 2px dashed #8C6C5F;
    padding: 0 6px 6px;
  }
}
.p-rankbox__item a {
  display: flex;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px dashed #8C6C5F;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  gap: 1em;
}
@media (max-width: 768px) {
  .p-rankbox__item a {
    gap: 6px;
    margin-top: 8px;
  }
}
.p-rankbox__subject {
  font-family: var(--main-fontfamily);
  color: #231815;
  margin-bottom: 0;
}
.p-rankbox__excerpt {
  font-size: 14px;
  color: #555;
  text-align: left;
}
@media (max-width: 768px) {
  .p-rankbox__excerpt {
    display: none;
  }
}
.p-rankbox__excerpt > p {
  margin: 0;
}
.p-rankbox__rank {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: var(--rank-color);
  color: #FFF;
  flex: none;
  width: 28px;
  height: 28px;
  font-size: 15px;
  border-radius: 50px;
}
.p-rankbox__item--1 {
  --rank-color: #C2A815;
}
@media (min-width: 769px) {
  .p-rankbox__item--1 .p-rankbox__subject {
    border-bottom: 3px solid rgba(194, 168, 21, 0.4196078431);
  }
}
.p-rankbox__item--2 {
  --rank-color: #ACB9BF;
}
@media (min-width: 769px) {
  .p-rankbox__item--2 .p-rankbox__subject {
    border-bottom: 3px solid rgba(172, 185, 191, 0.4509803922);
  }
}
.p-rankbox__item--3 {
  --rank-color: #BFA38F;
}
@media (min-width: 769px) {
  .p-rankbox__item--3 .p-rankbox__subject {
    border-bottom: 3px solid rgba(191, 163, 143, 0.431372549);
  }
}
.p-rankbox__item--1 .p-rankbox__rank, .p-rankbox__item--2 .p-rankbox__rank, .p-rankbox__item--3 .p-rankbox__rank {
  position: relative;
  width: 36px;
  height: 36px;
  font-size: 20px;
  font-weight: 600;
  background-color: var(--rank-color);
  color: #fff;
}
.p-rankbox__item--1 .p-rankbox__rank::before, .p-rankbox__item--2 .p-rankbox__rank::before, .p-rankbox__item--3 .p-rankbox__rank::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-style: normal;
  content: "\f521";
  position: absolute;
  color: var(--rank-color);
  left: 50%;
  transform: translateX(-50%);
  top: -16px;
}
@media (min-width: 769px) {
  .p-rankbox__item--1 .p-rankbox__subject, .p-rankbox__item--2 .p-rankbox__subject, .p-rankbox__item--3 .p-rankbox__subject {
    text-align: left !important;
    padding-bottom: 6px;
    display: inline-block;
    font-family: var(--main-fontfamily) !important;
    margin: 0 0 0.3em !important;
    font-size: 24px !important;
    font-weight: 500 !important;
    line-height: 1.4em;
  }
}
@media (max-width: 768px) {
  .p-rankbox__item--1 .p-rankbox__subject, .p-rankbox__item--2 .p-rankbox__subject, .p-rankbox__item--3 .p-rankbox__subject {
    font-size: 16px !important;
  }
}
@media (max-width: 768px) {
  .p-rankbox__item--1 a, .p-rankbox__item--2 a, .p-rankbox__item--3 a {
    flex-direction: column;
  }
}

/* SP用 :: サイドバーのスタイル */
#side *,
#side *::before,
#side *::after {
  box-sizing: border-box;
}
@media (max-width: 768px) {
  #side {
    padding: var(--side-padding);
    /* カテゴリなどに装飾がある場合はON */
    /*
    >ul {
        margin-left: 1.5em;

        >li {
            list-style: disc;
        }
    }*/
  }
}