@charset "utf-8";

@media screen and (max-width: 767px) {
  #contents {
    padding-top: var(--sp-header-height);
  }
}

/* --------------------------------------------------------------- */
/* topicpath 共通 */
/* --------------------------------------------------------------- */

.topicpath {
  display: flex;
  align-items: center;
}

.topicpath li:first-child::before {
  content: '';
  display: block;
  margin-right: 5px;
  width: 12px;
  height: 13px;
  background-image: url(../../../../../../../junbi/index.html);
  background-size: contain;
  background-repeat: no-repeat;
}

.topicpath li {
  display: flex;
  align-items: center;
  font-family: YuGothic, "Yu Gothic Medium", "Yu Gothic", 'Noto Sans JP', sans-serif;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--theme-color01);
}

.topicpath li:last-child {
  font-family: YuGothic, "Yu Gothic Medium", "Yu Gothic", 'Noto Sans JP', sans-serif;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #333;
}

.topicpath li::after {
  content: '';
  display: block;
  margin-right: 10px;
  margin-left: 10px;
  width: 6px;
  height: 6px;
  border-top: solid 1px #D5D5D5;
  border-right: solid 1px #D5D5D5;
  transform: rotate(45deg);
}

.topicpath li:last-child::after {
  display: none;
}

.topicpath li a {
  color: var(--theme-color01);
}

.topicpath li a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------- */
/* mainvisual */
/* --------------------------------------------------------------- */

.common-mainvisual {
  --mainvisual-text-area-width: 840;
  --mainvisual-pht-height: 760;
  --mainvisual-height: 580;
}

@media screen and (max-width: 1080px) {
  .common-mainvisual {
    margin-top: calc(var(--sp-header-height) + 50px);
  }
}

@media screen and (max-width: 767px) {
  .common-mainvisual {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    margin-bottom: 30px;
    height: auto;
  }
}

.common-mainvisual .text-area {
  position: relative;
  padding-top: 60px;
  padding-bottom: 60px;
  padding-left: 80px;
  height: 100%;
}

@media screen and (max-width: 1120px) {
  .common-mainvisual .text-area {
    padding-left: 0;
  }
}

@media screen and (max-width: 1080px) {
  .common-mainvisual .text-area {
    margin-top: 50px;
  }
}

@media screen and (max-width: 767px) {
  .common-mainvisual .text-area {
    margin-top: 0;
    padding-top: 30px;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 12px;
    height: auto;
  }
}

.common-mainvisual .text-area .text-area-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.common-mainvisual .topicpath {
  position: absolute;
  top: -42px;
  left: 120px
}

@media screen and (max-width: 1080px) {
  .common-mainvisual .topicpath {
    top: auto;
    bottom: -26px;
    left: 12px;
  }
}

.common-mainvisual .handwriting {
  position: absolute;
  object-fit: contain;
}

@media screen and (max-width: 767px) {
  .common-mainvisual .handwriting {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding-right: 20px;
    width: 100%;
    height: calc(100% + 30px);
  }

  .common-mainvisual .handwriting img {
    object-fit: contain;
    object-position: bottom right;
  }
}

.common-mainvisual .text-area .title {
  position: relative;
  z-index: 1;
  font-family: YuGothic, "Yu Gothic", 'Noto Sans JP', sans-serif;
  font-weight: bold;
  font-size: calc(58 * var(--px));
  line-height: calc(80 * var(--px));
  color: #fff;
}

@media screen and (max-width: 767px) {
  .common-mainvisual .text-area .title {
    font-size: max(22px, calc(36 * var(--px)));
    line-height: max(26px, calc(48 * var(--px)));
  }
}

.common-mainvisual .text-area .text {
  /* margin-top: 102px; */
  margin-top: 5.45vh;
  font-family: YuGothic, "Yu Gothic", 'Noto Sans JP', sans-serif;
  font-weight: bold;
  font-size: calc(26 * var(--px));
  line-height: calc(46 * var(--px));
  color: #fff;
}

@media screen and (max-width: 767px) {
  .common-mainvisual .text-area .text {
    margin-top: 10px;
    font-weight: 500;
    font-size: max(14px, calc(20 * var(--px)));
    line-height: max(24px, calc(36 * var(--px)));
  }
}

@media screen and (max-width: 1080px) {
  .common-mainvisual .pht-area {
    top: -50px;
  }
}

@media screen and (max-width: 767px) {
  .common-mainvisual .pht-area {
    padding-top: 30px;
    padding-left: 12px;
  }
}

@media screen and (max-width: 767px) {
  .common-mainvisual .pht-area img {
    border-top-left-radius: 50px;
  }
}
