@charset "utf-8";

/*------------------------------------------

 Body

------------------------------------------*/

:root {
  --color-primary: #E03B57;
}

#specialist .specialist-heading {
  margin-bottom: 24px;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}

#specialist #receptionist .cm-intro-sec .cm-intro-sec-block:nth-child(odd) {
  background: #fff;
}

#specialist #receptionist .cm-intro-sec .cm-intro-sec-block:nth-child(even) {
  background: #f6f6f6;
}

#specialist .cm-intro-sec-block:nth-child(even) .cm-intro-sec-block-item .cm-intro-sec-block-item__image {
  order: 2;
}

#specialist .cm-intro-sec-block:nth-child(even) .cm-intro-sec-block-item .cm-intro-sec-block-item__text {
  order: 1;
}

#specialist .environment-sec-block01 {
  margin-top: 48px !important;
}



@media all and (max-width: 768px) {
  #specialist .specialist-heading {
    margin: -30px 0 0px;
    font-size: 18px;
  }

  #specialist .cm-intro-sec-block:nth-child(even) .cm-intro-sec-block__sub-title {
    order: 3;
  }
  
  #specialist .cm-intro-sec-block:nth-child(even) .cm-intro-sec-block-item .cm-intro-sec-block-item__text {
    order: 4;
  }

  #specialist .environment-sec-block01 {
    margin-top: 32px !important;
  }
}


/*------------------------------------------

 Specialist Body

------------------------------------------*/

.specialist-body {
  margin: 0 auto;
  padding: 10rem 20rem;
}

.specialist-body__inner {
  max-width: 880px;
  margin: 0 auto;
}

.specialist-body p,
.specialist-body li {
  font-size: 16px;
  line-height: 1.8;
}

.specialist-body p:not(:first-child) {
  margin-top: 16px;
}

.specialist-body__problem-list {
  margin: 24px 0;
}

.specialist-body__problem-list li {
  padding-left: 18px;
  font-weight: 600;
  position: relative;
}

.specialist-body__problem-list li:not(:first-child) {
  margin-top: 6px;
}

.specialist-body__problem-list li::before {
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 100%;
  content: "";
  display: block;
  position: absolute;
  top: 10px;
  left: 0;
}


.specialist-body__features {
  margin: 24px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.specialist-body__features > div {
  padding: 20px 24px;
  border: 2px solid #eee;
  border-radius: 5px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.specialist-body__features > div::before {
  width: 80px;
  height: 5px;
  background: var(--color-primary);
  border-radius: 0 0 5px 5px;
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.specialist-body__features p {
  font-weight: 600;
}



@media all and (max-width: 768px) {
  .specialist-body {
    padding: 5.625rem 1.6rem;
  }

  .specialist-body p,
  .specialist-body li {
    font-size: 14px;
  }

  .specialist-body__problem-list {
    margin: 20px 0;
  }

  .specialist-body__features {
    margin: 20px 0;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .specialist-body__features > div {
    padding: 16px;
  }
}


/*------------------------------------------

 Specialist Items

------------------------------------------*/

body.is-modal-active {
  height: 100vh;
  position: fixed;
  overflow: hidden;
}

.specialist-items {
  padding: 10rem 20rem;
  background: #f6f6f6;
}

.specialist-items__ttl {
  margin-bottom: 56px;
  font-size: 30px;
  font-weight: 700;
  text-align: center;
}

.specialist-items__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.specialist-item__filter {
  background: rgba(0, 0, 0, 0.7);
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity .2s;
}

.specialist-item__filter.is-modal-active {
  opacity: 1;
  z-index: 100;
}



/*------------------------------------------
 Specialist Item
------------------------------------------*/

.specialist-item {
  background: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, .035);
}

.specialist-item__inner {
  padding: 24px;
}

.specialist-item__thumb {
  overflow: hidden;
}

.specialist-item__thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: .2s;
}

.specialist-item__thumb img:is(.specialist-item__inner:hover *) {
  transform: scale(1.1);
}

.specialist-item__ttl {
  margin-top: 18px;
  font-size: 19px;
  font-weight: 700;
  text-align: center;
  transition: .2s;
}

.specialist-item__ttl:is(.specialist-item__inner:hover *) {
  color: var(--color-primary);
  letter-spacing: 0.04em;
}


/*------------------------------------------
 Specialist Item Contents
------------------------------------------*/

.specialist-item-contents {
  height: 0;
  opacity: 0;
  overflow: hidden;
  visibility: hidden;
  z-index: -1;
  transition: opacity .3s;
}

.specialist-item-contents:is(.is-active *) {
  position: fixed;
  inset: 0;
  z-index: 10000;
  height: auto;
  opacity: 1;
  visibility: visible;
  display: flex;
  justify-content: center;
  align-items: center;
}

.specialist-item-contents__box {
  width: 640px;
  height: 80%;
  max-height: 90vh;
  padding: 48px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  position: fixed;
  z-index: 10000;
}

.specialist-item-contents__box-inner {
  height: 100%;
  overflow-y: auto;
}

.specialist-item-contents__close-header {
  width: 40px;
  height: 40px;
  background: #000;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: -10px;
  right: -10px;
  cursor: pointer;
}

.specialist-item-contents__close-header::before {
  content: "✕";
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-2px);
}

.specialist-item-contents__heading h3 {
  color: var(--color-primary);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
}

.specialist-item-contents__heading p {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

.specialist-item-contents__body {
  margin-top: 24px;
}

.specialist-item-contents__body p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.8;
}

.specialist-item-contents__body p:not(:first-child) {
  margin-top: 16px;
}

.specialist-item-contents__btn {
  margin-top: 24px;
}

.specialist-item-contents__btn a {
  width: 100%;
  height: 68px;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: .2s;
}

.specialist-item-contents__btn a:hover {
  color: var(--color-primary);
  background: #fff;
}

.specialist-item-contents__close-btn {
  width: 100%;
  height: 52px;
  margin-top: 16px;
  color: #888;
  font-size: 15px;
  border: 1px solid #e0e0e0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: .2s;
}

.specialist-item-contents__close-btn:hover {
  opacity: .6;
}



@media all and (max-width: 1280px) {
  .specialist-items {
    padding: 10rem;
  }

  .specialist-items__inner {
    gap: 20px;
  }

  .specialist-item__inner {
    padding: 16px 16px 24px;
  }

  .specialist-item__ttl {
    font-size: 18px;
  }
}



@media all and (max-width: 768px) {
  .specialist-items {
    padding: 5.625rem 1.6rem;
  }

  .specialist-items__ttl {
    margin-bottom: 3rem;
    font-size: 2rem;
  }

  .specialist-items__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .specialist-item__inner {
    padding: 10px 10px 20px;
  }

  .specialist-item__thumb img {
    aspect-ratio: 3 / 2;
  }

  .specialist-item__ttl {
    margin-top: 14px;
    font-size: 15px;
  }

  .specialist-item-contents__box {
    width: calc(100% - 32px);
    max-height: 90svh;
    height: 96svh;
    padding: 24px 16px;
  }

  .specialist-item-contents__heading h3 {
    font-size: 20px;
  }

  .specialist-item-contents__heading p {
    margin-top: 10px;
    font-size: 16.5px;
  }

  .specialist-item-contents__body {
    margin-top: 20px;
  }

  .specialist-item-contents__body p {
    margin-top: 14px;
    font-size: 14px;
  }

  .specialist-item-contents__btn a {
    height: 64px;
    font-size: 16px;
  }

  .specialist-item-contents__close-btn {
    height: 40px;
    font-size: 14px;
  }
}
