@charset "UTF-8";

/* top.css */
/*----------------------------------
  FV ＋ お悩み
-----------------------------------*/
.p-top-hero {
  position: relative;
  isolation: isolate;
  padding-block-end: 4rem;
  background-color: #ffffff;
}

@media (min-width: 768px) {
  .p-top-hero {
    padding-block-end: 8.75rem;
  }
}

.p-top-fv::before,
.p-top-issues::before {
  content: "";
  position: absolute;
  z-index: -1;
  background: url(https://p-magenta.jp/system_panel/uploads/images/bg-blur.jpg) center/cover no-repeat;
  filter: blur(12px);
  opacity: 0.4;
  clip-path: inset(2.5rem);
  pointer-events: none;
}

.p-top-fv::before {
  inset: -2.5rem;
}

.p-top-issues::before {
  top: -7rem;
  right: -2.5rem;
  bottom: -6.5rem;
  left: -2.5rem;
}

@media (min-width: 768px) {
  .p-top-issues::before {
    top: -8.25rem;
    bottom: -11.25rem;
  }
}

/*----------------------------------
  FV
-----------------------------------*/
.p-top-fv {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-block-start: -5.25rem;
  padding-block-start: 7.75rem;
}

@media (min-width: 768px) {
  .p-top-fv {
    display: block;
    height: 48rem;
    margin-block-start: -9.345rem;
    padding-block-start: 0;
  }
}

@media (min-width: 1024px) {
  .p-top-fv {
    margin-block-start: -6.6875rem;
  }
}

.p-top-fv__container {
  --fv-visual: clamp(17.5rem, 66vw, 26.25rem);
  position: relative;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

@media (min-width: 768px) {
  .p-top-fv__container {
    display: block;
    max-width: 85.375rem;
    height: 100%;
    margin-inline: auto;
  }
}

.p-top-fv__panel {
  position: absolute;
  top: -7.75rem;
  right: 0;
  z-index: -1;
  width: 72%;
  height: calc(31.5rem + var(--fv-visual) - 17.5rem);
  overflow: hidden;
  pointer-events: none;
}

@media (min-width: 768px) {
  .p-top-fv__panel {
    top: 0;
    right: min(0px, (85.375rem - 100vw) / 2);
    width: 50vw;
    height: 48rem;
  }
}

.p-top-fv__panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(17px);
  scale: 1.1;
}

.p-top-fv__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.p-top-fv__inner {
  order: 2;
}

.p-top-fv__body {
  width: min(100%, var(--fv-visual) + 3.75rem);
  margin-block-start: 3rem;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .p-top-fv__body {
    width: auto;
    margin-block-start: 0;
    margin-inline: 0;
    padding-block-start: 14.875rem;
  }
}

.p-top-fv__ttl {
  color: #3a3a3a;
  font-size: max(1.875rem, 24px);
  font-weight: 500;
  line-height: 1.6666666667;
  line-height: 1.45;
  letter-spacing: 0.04em;
}

@media (min-width: 0px) {
  .p-top-fv__ttl {
    font-size: 1.875rem;
  }
}

@media (min-width: 0px) {
  .p-top-fv__ttl {
    font-size: clamp(2.25rem, 10.5vw, 3.25rem);
  }
}

@media (min-width: 768px) {
  .p-top-fv__ttl {
    font-size: max(2.5rem, 10px);
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: normal;
  }
}

.p-top-fv__ttl span {
  display: inline;
  color: #d00168;
}

.p-top-fv__text {
  margin-block-start: 1.5rem;
  color: #645a63;
  font-size: max(0.875rem, 11.2px);
  font-weight: 460;
  line-height: 2;
}

@media (min-width: 0px) {
  .p-top-fv__text {
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .p-top-fv__text {
    margin-block-start: 2.125rem;
    font-size: max(0.875rem, 10px);
    font-weight: 460;
    line-height: 2;
  }
}

.p-top-fv__btn {
  display: flex;
  justify-content: flex-end;
  margin-block-start: 2rem;
}

@media (min-width: 768px) {
  .p-top-fv__btn {
    justify-content: flex-start;
    margin-block-start: 2.5rem;
  }
}

.p-top-fv__link {
  display: flex;
  justify-content: flex-end;
  margin-block-start: 1rem;
}

@media (min-width: 768px) {
  .p-top-fv__link {
    justify-content: flex-start;
    margin-block-start: 1.125rem;
    padding-inline-start: 1.75rem;
  }
}

.p-top-fv__visual {
  position: relative;
  order: 1;
  width: var(--fv-visual);
  margin-inline: auto;
}

@media (min-width: 768px) {
  .p-top-fv__visual {
    position: absolute;
    top: 12rem;
    left: 35.1875rem;
    width: 31.25rem;
    margin: 0;
  }
}

.p-top-fv__img {
  aspect-ratio: 1/1;
  border-radius: 0.875rem;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 0.875rem 1.5rem #ebe2d6;
}

@media (min-width: 768px) {
  .p-top-fv__img {
    border-radius: 1.25rem;
  }
}

.p-top-fv__swiper {
  height: 100%;
}

.p-top-fv__slide {
  overflow: hidden;
  background-color: #ffffff;
  transition-timing-function: cubic-bezier(0.45, 0, 0.25, 1);
}

.p-top-fv__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

html:not(.is-js) .p-top-fv__img {
  aspect-ratio: auto;
  overflow: visible;
  box-shadow: none;
}

.p-top-fv__bracket {
  position: absolute;
  width: 2.25rem;
  height: auto;
  aspect-ratio: 65/267.5;
  pointer-events: none;
}

@media (min-width: 768px) {
  .p-top-fv__bracket {
    width: 4.0625rem;
  }
}

.p-top-fv__bracket--top {
  top: -0.5625rem;
  right: -0.8125rem;
}

@media (min-width: 768px) {
  .p-top-fv__bracket--top {
    top: -1rem;
    right: -1.3125rem;
  }
}

.p-top-fv__bracket--bottom {
  bottom: -0.5625rem;
  left: -0.8125rem;
  rotate: 180deg;
}

@media (min-width: 768px) {
  .p-top-fv__bracket--bottom {
    bottom: -1rem;
    left: -1.5rem;
  }
}

.p-top-fv__vertical {
  position: absolute;
  font-family: "M PLUS 1", sans-serif;
  color: #d00168;
  white-space: nowrap;
  writing-mode: vertical-rl;
  font-size: max(0.6875rem, 8.8px);
  font-weight: 460;
  line-height: 1.8181818182;
  letter-spacing: 0.1em;
}

@media (min-width: 0px) {
  .p-top-fv__vertical {
    font-size: 0.6875rem;
  }
}

@media (min-width: 768px) {
  .p-top-fv__vertical {
    font-size: max(0.875rem, 10px);
    font-weight: 460;
    line-height: 2;
    letter-spacing: 0.1em;
  }
}

.p-top-fv__vertical--right {
  top: 0.25rem;
  right: -2.375rem;
}

@media (min-width: 768px) {
  .p-top-fv__vertical--right {
    top: 0.5rem;
    right: -3.5rem;
  }
}

.p-top-fv__vertical--left {
  bottom: -1.5rem;
  left: -2.375rem;
  rotate: 180deg;
}

@media (min-width: 768px) {
  .p-top-fv__vertical--left {
    bottom: -1.5rem;
    left: -3.5rem;
  }
}

.p-top-fv__scroll {
  display: none;
}

@media (min-width: 768px) {
  .p-top-fv__scroll {
    position: absolute;
    top: 37.75rem;
    left: 74.1875rem;
    display: grid;
    place-items: center;
    width: 8.5rem;
    height: 8.4375rem;
  }
}

.p-top-fv__scroll-text {
  grid-area: 1/1;
  width: 100%;
  height: auto;
  aspect-ratio: 136/135;
}

.p-top-fv__scroll-arrow {
  grid-area: 1/1;
  width: 1.375rem;
  height: auto;
  aspect-ratio: 21.98/23.06;
}

/*----------------------------------
  お悩み（ISSUES）
-----------------------------------*/
.p-top-issues {
  position: relative;
  margin-block-start: 4.5rem;
}

@media (min-width: 768px) {
  .p-top-issues {
    margin-block-start: 5.75rem;
  }
}

@media (min-width: 768px) {
  .p-top-issues .c-section-head {
    grid-template-columns: 1fr 21.9375rem;
    align-items: center;
  }
}

.p-top-issues__slider {
  position: relative;
  width: min(100% - 3.5rem, 25rem);
  margin-block-start: 2rem;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .p-top-issues__slider {
    width: auto;
    margin-block-start: 3.3125rem;
    margin-inline: 0;
  }
}

.p-top-issues__line {
  height: 1px;
  background-color: #bdb39d;
}

.p-top-issues__swiper {
  position: relative;
  margin-inline-start: -1px;
  overflow: hidden;
}

.p-top-issues__swiper::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 1px;
  background-color: #bdb39d;
  pointer-events: none;
}

.p-top-issues__swiper .swiper-wrapper {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: auto;
  grid-template-rows: repeat(3, auto);
}

html.js-anim .p-top-issues__swiper:not(.swiper-initialized) {
  visibility: hidden;
}

.p-top-issues__item {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  align-content: start;
  row-gap: 0;
  height: auto;
  padding: 1.5rem 1rem 1.75rem;
  border-left: 1px solid #bdb39d;
}

@media (min-width: 768px) {
  .p-top-issues__item {
    padding: 1.625rem 0.875rem 2rem 1rem;
  }
}

.p-top-issues__item-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  height: 3.75rem;
}

@media (min-width: 768px) {
  .p-top-issues__item-head {
    height: 5.25rem;
  }
}

.p-top-issues__item-head img {
  width: auto;
  height: 3rem;
}

@media (min-width: 768px) {
  .p-top-issues__item-head img {
    height: 3.5rem;
  }
}

.p-top-issues__num {
  font-family: "M PLUS 1", sans-serif;
  color: #645a63;
  font-size: max(0.875rem, 11.2px);
  font-weight: 460;
  line-height: 2;
  letter-spacing: 0.1em;
}

@media (min-width: 0px) {
  .p-top-issues__num {
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .p-top-issues__num {
    font-size: max(0.875rem, 10px);
    font-weight: 460;
    line-height: 2;
    letter-spacing: 0.1em;
  }
}

.p-top-issues__ttl {
  color: #645a63;
  font-size: max(1rem, 12.8px);
  font-weight: 500;
  line-height: 1.75;
}

@media (min-width: 0px) {
  .p-top-issues__ttl {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .p-top-issues__ttl {
    font-size: max(1rem, 10px);
    font-weight: 500;
    line-height: 1.75;
  }
}

.p-top-issues__text {
  margin-block-start: 0.875rem;
  color: #645a63;
  font-size: max(0.8125rem, 10.4px);
  font-weight: 460;
  line-height: 2;
}

@media (min-width: 0px) {
  .p-top-issues__text {
    font-size: 0.8125rem;
  }
}

@media (min-width: 768px) {
  .p-top-issues__text {
    font-size: max(0.8125rem, 10px);
    font-weight: 460;
    line-height: 2;
  }
}

.p-top-issues__arrow {
  cursor: pointer;
  position: absolute;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 4rem;
  background-color: #d00168;
  translate: 0 -50%;
  transition: background-color 0.3s ease;
}

@media (min-width: 768px) {
  .p-top-issues__arrow {
    width: 2.3125rem;
    height: 5.375rem;
  }
}

.p-top-issues__arrow img {
  width: 0.625rem;
  height: auto;
  aspect-ratio: 10.348/10.89;
}

@media (any-hover: hover) {
  .p-top-issues__arrow:hover {
    background-color: #b1045a;
  }
}

.p-top-issues__arrow:focus-visible {
  outline: 2px solid #b1045a;
  outline-offset: 2px;
}

.p-top-issues__arrow--prev {
  left: -1.75rem;
}

@media (min-width: 768px) {
  .p-top-issues__arrow--prev {
    left: -3.0625rem;
  }
}

.p-top-issues__arrow--prev img {
  scale: -1 1;
}

.p-top-issues__arrow--next {
  right: -1.75rem;
}

@media (min-width: 768px) {
  .p-top-issues__arrow--next {
    right: -3.0625rem;
  }
}

html:not(.is-js) .p-top-issues__slider:has(.swiper:not(.swiper-initialized)) .p-top-issues__arrow {
  display: none;
}

/*----------------------------------
  私にご相談ください
-----------------------------------*/
.p-top-consult {
  background-color: #ffffff;
}

@media (min-width: 768px) {
  .p-top-consult {
    padding-block: 7.5rem 5.9375rem;
  }
}

.p-top-consult__contents {
  display: grid;
  row-gap: 2.5rem;
}

@media (min-width: 768px) {
  .p-top-consult__contents {
    grid-template-columns: 31.4375rem 35.75rem;
    justify-content: space-between;
    align-items: center;
  }
}

.p-top-consult__text {
  margin-block-start: 1.5rem;
  color: #645a63;
  font-size: max(0.875rem, 11.2px);
  font-weight: 460;
  line-height: 2;
}

@media (min-width: 0px) {
  .p-top-consult__text {
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .p-top-consult__text {
    margin-block-start: 3.125rem;
    font-size: max(0.875rem, 10px);
    font-weight: 460;
    line-height: 2;
  }
}

.p-top-consult__text+.p-top-consult__text {
  margin-block-start: 1.25rem;
}

@media (min-width: 768px) {
  .p-top-consult__text+.p-top-consult__text {
    margin-block-start: 1.625rem;
  }
}

.p-top-consult__diagram {
  padding: 1.75rem 1rem 2rem;
  border-radius: 1rem;
  background-color: #d00168;
}

@media (min-width: 768px) {
  .p-top-consult__diagram {
    padding: 2.5625rem 2.0625rem 2.375rem 2.125rem;
    border-radius: 1.25rem;
  }
}

.p-top-consult__diagram-ttl {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 17.5rem);
  min-height: 6rem;
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 0.625rem;
  background-color: #b1045a;
}

@media (min-width: 768px) {
  .p-top-consult__diagram-ttl {
    width: 22.5rem;
    min-height: 8rem;
  }
}

.p-top-consult__diagram-ttl p {
  color: #ffffff;
  text-align: center;
  font-size: max(1.25rem, 16px);
  font-weight: 460;
  line-height: 1.5;
}

@media (min-width: 0px) {
  .p-top-consult__diagram-ttl p {
    font-size: 1.25rem;
  }
}

@media (min-width: 768px) {
  .p-top-consult__diagram-ttl p {
    font-size: max(1.625rem, 10px);
    font-weight: 460;
    line-height: 1.4615384615;
  }
}

.p-top-consult__diagram-ttl::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1px;
  height: 1.375rem;
  background-color: #ffffff;
  clip-path: inset(0 0 calc((1 - var(--line-ttl, 1)) * 100%) 0);
  pointer-events: none;
}

.p-top-consult__diagram-ttl::before {
  content: "";
  position: absolute;
  top: calc(100% + 1.0625rem);
  left: 50%;
  z-index: 1;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: #fb8ec5;
  translate: -50% 0;
  scale: var(--dot-ttl, 1);
  pointer-events: none;
}

/*
  図の線を引くアニメーション（animation.js の .js-diagram）
  線は疑似要素のため、CSS変数（0〜1）で引いた長さを決める。
  変数がない状態（CMS管理画面・JS 無効）は 1＝線が引かれた状態で表示される
    --line-ttl      見出しから下へのびる線
    --dot-ttl       見出しの下の点
    --line-branch-x 分岐線の横線（中央から左右へ）
    --line-branch-y 分岐線の縦線（上から下へ）
    --line-merge    合流線（上から下へ）
    --line-goal     合流点からゴールへの線
    --dot-goal      合流点
*/
.p-top-consult__diagram-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 0.625rem;
  margin-block-start: 3.375rem;
}

@media (min-width: 768px) {
  .p-top-consult__diagram-grid {
    gap: 0.9375rem 0.875rem;
    margin-block-start: 3.375rem;
  }
}

.p-top-consult__diagram-grid::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 25%;
  width: 50%;
  height: 1.9375rem;
  border: 1px solid #ffffff;
  border-bottom: none;
  clip-path: inset(0 calc((1 - var(--line-branch-x, 1)) * 50%) calc((1 - var(--line-branch-y, 1)) * 100%) calc((1 - var(--line-branch-x, 1)) * 50%));
  pointer-events: none;
}

.p-top-consult__diagram-grid::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 25%;
  width: 50%;
  height: 0.9375rem;
  border: 1px solid #ffffff;
  border-top: none;
  clip-path: inset(0 0 calc((1 - var(--line-merge, 1)) * 100%) 0);
  pointer-events: none;
}

.p-top-consult__diagram-item {
  display: grid;
  grid-template-columns: 2rem 1fr;
  align-items: center;
  min-height: 4.375rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 0.625rem;
  background-color: #d31d78;
}

@media (min-width: 768px) {
  .p-top-consult__diagram-item {
    grid-template-columns: 2.6875rem 1fr;
    min-height: 5.1875rem;
  }
}

.p-top-consult__diagram-num {
  align-self: stretch;
  display: grid;
  place-items: center;
  border-right: 1px solid #ffffff;
  font-family: "M PLUS 1", sans-serif;
  color: #ffffff;
  font-size: max(0.75rem, 9.6px);
  font-weight: 460;
  line-height: 1.6666666667;
  letter-spacing: 0.1em;
}

@media (min-width: 0px) {
  .p-top-consult__diagram-num {
    font-size: 0.75rem;
  }
}

@media (min-width: 768px) {
  .p-top-consult__diagram-num {
    font-size: max(0.875rem, 10px);
    font-weight: 460;
    line-height: 2;
    letter-spacing: 0.1em;
  }
}

.p-top-consult__diagram-label {
  padding: 0.375rem 0.5rem;
  color: #ffffff;
  font-size: max(0.8125rem, 10.4px);
  font-weight: 460;
  line-height: 1.5384615385;
}

@media (min-width: 0px) {
  .p-top-consult__diagram-label {
    font-size: 0.8125rem;
  }
}

@media (min-width: 768px) {
  .p-top-consult__diagram-label {
    padding: 0.375rem 0.25rem 0.375rem 0.625rem;
    letter-spacing: -0.02em;
    font-size: max(0.875rem, 10px);
    font-weight: 460;
    line-height: 1.4285714286;
  }
}

.p-top-consult__diagram-label span {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: max(0.625rem, 8px);
  font-weight: 460;
  line-height: 1.6;
}

@media (min-width: 0px) {
  .p-top-consult__diagram-label span {
    font-size: 0.625rem;
  }
}

@media (min-width: 1024px) {
  .p-top-consult__diagram-label span {
    display: inline;
    margin-inline-start: 0.125rem;
  }
}

@media (min-width: 768px) {
  .p-top-consult__diagram-label span {
    font-size: max(0.6875rem, 10px);
    font-weight: 460;
    line-height: 1.8181818182;
  }
}

.p-top-consult__diagram-goal {
  position: relative;
  margin-block-start: 2.375rem;
  padding: 0.5625rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 5rem;
  background-color: #b1045a;
}

@media (min-width: 768px) {
  .p-top-consult__diagram-goal {
    margin-block-start: 2.375rem;
    padding: 0.5625rem 1rem;
  }
}

.p-top-consult__diagram-goal p {
  color: #ffffff;
  text-align: center;
  font-size: max(0.8125rem, 10.4px);
  font-weight: 460;
  line-height: 1.5384615385;
}

@media (min-width: 0px) {
  .p-top-consult__diagram-goal p {
    font-size: 0.8125rem;
  }
}

@media (min-width: 768px) {
  .p-top-consult__diagram-goal p {
    font-size: max(0.875rem, 10px);
    font-weight: 460;
    line-height: 1.4285714286;
  }
}

.p-top-consult__diagram-goal::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 1px;
  height: 1.4375rem;
  background-color: #ffffff;
  clip-path: inset(0 0 calc((1 - var(--line-goal, 1)) * 100%) 0);
  pointer-events: none;
}

.p-top-consult__diagram-goal::after {
  content: "";
  position: absolute;
  bottom: calc(100% + 1.0625rem);
  left: 50%;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: #fb8ec5;
  translate: -50% 0;
  scale: var(--dot-goal, 1);
  pointer-events: none;
}

/*----------------------------------
  構造設計プロデュース
-----------------------------------*/
.p-top-produce {
  background-color: #faf6f8;
}

@media (min-width: 768px) {
  .p-top-produce {
    padding-block: 6.9375rem 8.75rem;
  }
}

@media (min-width: 768px) {
  .p-top-produce .c-section-head {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

@media (min-width: 768px) {
  .p-top-produce .c-lead {
    padding-block-start: 0.8125rem;
    white-space: nowrap;
  }
}

.p-top-produce__list {
  display: grid;
  row-gap: 3.5rem;
  margin-block-start: 2.5rem;
}

@media (min-width: 768px) {
  .p-top-produce__list {
    grid-template-columns: repeat(2, 32.3125rem);
    justify-content: space-between;
    margin-block-start: 3rem;
  }
}

.p-top-produce__item {
  position: relative;
}

@media (min-width: 768px) {
  .p-top-produce__item:first-child::after {
    content: "";
    position: absolute;
    top: 0;
    right: -3.3125rem;
    width: 1px;
    height: 37.5625rem;
    background-color: #bdb39d;
    pointer-events: none;
  }
}

.p-top-produce__visual {
  position: relative;
  padding-inline-start: 1.25rem;
  padding-block-end: 1.5rem;
}

@media (min-width: 768px) {
  .p-top-produce__visual {
    padding-inline-start: 1.6875rem;
    padding-block-end: 1.5rem;
  }
}

.p-top-produce__img {
  aspect-ratio: 490/299;
  border-radius: 1rem;
}

@media (min-width: 768px) {
  .p-top-produce__img {
    border-radius: 1.25rem;
  }
}

.p-top-produce__icon {
  position: absolute;
  left: 0;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 4.75rem;
  height: 4.625rem;
  border-radius: 1rem;
  background-color: #ffffff;
}

@media (min-width: 768px) {
  .p-top-produce__icon {
    width: 5.9375rem;
    height: 5.75rem;
    border-radius: 1.25rem;
  }
}

.p-top-produce__icon img {
  width: 62%;
  height: auto;
}

.p-top-produce__tag {
  margin-block-start: 1.75rem;
}

@media (min-width: 768px) {
  .p-top-produce__tag {
    margin-block-start: 1.875rem;
  }
}

.p-top-produce__ttl {
  margin-block-start: 0.375rem;
  color: #3a3a3a;
  font-size: max(1.375rem, 17.6px);
  font-weight: 500;
  line-height: 1.8181818182;
}

@media (min-width: 0px) {
  .p-top-produce__ttl {
    font-size: 1.375rem;
  }
}

@media (min-width: 768px) {
  .p-top-produce__ttl {
    margin-block-start: 0.3125rem;
    font-size: max(1.5rem, 10px);
    font-weight: 500;
    line-height: 2;
  }
}

.p-top-produce__text {
  margin-block-start: 0.625rem;
  color: #645a63;
  font-size: max(0.875rem, 11.2px);
  font-weight: 460;
  line-height: 2;
}

@media (min-width: 0px) {
  .p-top-produce__text {
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .p-top-produce__text {
    margin-block-start: 0.875rem;
    font-size: max(0.875rem, 10px);
    font-weight: 460;
    line-height: 2;
  }
}

.p-top-produce__btn {
  display: flex;
  justify-content: flex-end;
  margin-block-start: 1.75rem;
}

@media (min-width: 1024px) {
  .p-top-produce__btn {
    justify-content: flex-start;
  }
}

@media (min-width: 768px) {
  .p-top-produce__btn {
    margin-block-start: 3rem;
  }
}

@media (min-width: 1024px) {
  .p-top-produce__btn .c-btn {
    width: 100%;
  }
}

/*----------------------------------
  プロフィール・主な経歴
-----------------------------------*/
.p-top-profile {
  background-color: #ffffff;
}

@media (min-width: 768px) {
  .p-top-profile {
    padding-block: 7.5rem 8.125rem;
  }
}

.p-top-profile__contents {
  display: grid;
  row-gap: 2.25rem;
}

@media (min-width: 768px) {
  .p-top-profile__contents {
    grid-template-columns: 31.4375rem 33.5rem;
    justify-content: space-between;
    align-items: start;
  }
}

.p-top-profile__tag {
  margin-block-start: 1rem;
}

@media (min-width: 768px) {
  .p-top-profile__tag {
    margin-block-start: 1.0625rem;
  }
}

.p-top-profile__name {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 1rem;
  margin-block-start: 0.25rem;
}

@media (min-width: 768px) {
  .p-top-profile__name {
    column-gap: 1.25rem;
  }
}

.p-top-profile__name-ja {
  color: #3a3a3a;
  font-size: max(1.75rem, 22.4px);
  font-weight: 500;
  line-height: 1.5714285714;
}

@media (min-width: 0px) {
  .p-top-profile__name-ja {
    font-size: 1.75rem;
  }
}

@media (min-width: 768px) {
  .p-top-profile__name-ja {
    font-size: max(2rem, 10px);
    font-weight: 500;
    line-height: 1.5;
  }
}

.p-top-profile__name-kana {
  color: #645a63;
  font-size: max(0.75rem, 9.6px);
  font-weight: 460;
  line-height: 2.3333333333;
}

@media (min-width: 0px) {
  .p-top-profile__name-kana {
    font-size: 0.75rem;
  }
}

@media (min-width: 768px) {
  .p-top-profile__name-kana {
    font-size: max(0.75rem, 10px);
    font-weight: 460;
    line-height: 2.3333333333;
  }
}

.p-top-profile__text {
  margin-block-start: 1.25rem;
  color: #645a63;
  font-size: max(0.875rem, 11.2px);
  font-weight: 460;
  line-height: 2;
}

@media (min-width: 0px) {
  .p-top-profile__text {
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .p-top-profile__text {
    margin-block-start: 2.625rem;
    font-size: max(0.875rem, 10px);
    font-weight: 460;
    line-height: 2;
  }
}

.p-top-profile__text+.p-top-profile__text {
  margin-block-start: 1.25rem;
}

@media (min-width: 768px) {
  .p-top-profile__text+.p-top-profile__text {
    margin-block-start: 1.625rem;
  }
}

.p-top-profile__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem 0.75rem;
  margin-block-start: 1.75rem;
}

@media (min-width: 768px) {
  .p-top-profile__skills {
    gap: 0.8125rem;
    margin-block-start: 3.1875rem;
  }
}

.p-top-profile__skills p {
  min-width: 5.5625rem;
  padding: 0.3125rem 1.125rem;
  border-radius: 3.125rem;
  background-color: #ed9cc5;
  color: #ffffff;
  text-align: center;
  font-size: max(0.75rem, 9.6px);
  font-weight: 460;
  line-height: 1.6666666667;
  letter-spacing: 0.1em;
}

@media (min-width: 0px) {
  .p-top-profile__skills p {
    font-size: 0.75rem;
  }
}

@media (min-width: 768px) {
  .p-top-profile__skills p {
    font-size: max(0.75rem, 10px);
    font-weight: 460;
    line-height: 1.6666666667;
    letter-spacing: 0.1em;
  }
}

.p-top-profile__img {
  aspect-ratio: 536/351;
  border-radius: 1rem;
  box-shadow: 0 0.875rem 1.5rem #ebe2d6;
}

@media (min-width: 768px) {
  .p-top-profile__img {
    border-radius: 1.25rem;
  }
}

.p-top-career {
  margin-block-start: 4.5rem;
}

@media (min-width: 768px) {
  .p-top-career {
    margin-block-start: 4.375rem;
    padding-inline-start: 0.375rem;
  }
}

.p-top-career__table {
  margin-block-start: 1.75rem;
  border-top: 1px solid #bdb39d;
}

@media (min-width: 768px) {
  .p-top-career__table {
    margin-block-start: 3rem;
    margin-inline-start: -0.375rem;
  }
}

.p-top-career__row {
  display: grid;
  row-gap: 0.125rem;
  padding: 0.875rem 0.75rem;
  border-bottom: 1px solid #bdb39d;
}

@media (min-width: 768px) {
  .p-top-career__row {
    grid-template-columns: 20.6875rem 1fr;
    align-items: center;
    min-height: 3.75rem;
    padding: 1rem 1.25rem;
  }
}

.p-top-career__row p {
  color: #645a63;
  font-size: max(0.875rem, 11.2px);
  font-weight: 460;
  line-height: 1.8571428571;
}

@media (min-width: 0px) {
  .p-top-career__row p {
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .p-top-career__row p {
    font-size: max(0.875rem, 10px);
    font-weight: 460;
    line-height: 2;
  }
}

.p-top-career__row p:first-child {
  color: #d00168;
}

.p-top-career__row--head {
  display: none;
}

@media (min-width: 768px) {
  .p-top-career__row--head {
    display: grid;
    min-height: 3.125rem;
    padding-block: 0.6875rem;
    background-color: #faf6f8;
  }
}

.p-top-career__row--head p:first-child {
  color: #645a63;
}

/*----------------------------------
  一文字落ち対策（字間の調整）
  主要な画面幅（375・390・414・768・820px）で、最後の1文字だけが改行されないよう字間を調整する。
  画面幅によって改行位置が変わるため、範囲ごとに値を持たせる（1024px 以上はカンプどおり）
-----------------------------------*/
.p-top-issues__item {
  padding-inline: 0.75rem;
}

@media (min-width: 390px) {
  .p-top-issues__item {
    padding-inline: 1rem;
  }
}

@media (min-width: 768px) {
  .p-top-issues__item {
    padding-inline: 1rem 0.875rem;
  }
}

@media (min-width: 390px) {
  .p-top-issues__text {
    letter-spacing: 0.02em;
  }
}

@media (min-width: 414px) {
  .p-top-issues__text {
    letter-spacing: 0.01em;
  }
}

@media (min-width: 768px) {
  .p-top-issues__text {
    letter-spacing: normal;
  }
}

@media (min-width: 820px) {
  .p-top-issues__text {
    letter-spacing: 0.03em;
  }
}

@media (min-width: 1024px) {
  .p-top-issues__text {
    letter-spacing: normal;
  }
}

.p-top-profile__text {
  letter-spacing: -0.01em;
}

@media (min-width: 390px) {
  .p-top-profile__text {
    letter-spacing: 0.01em;
  }
}

@media (min-width: 414px) {
  .p-top-profile__text {
    letter-spacing: normal;
  }
}

.p-top-career__row p {
  letter-spacing: -0.04em;
}

@media (min-width: 390px) {
  .p-top-career__row p {
    letter-spacing: normal;
  }
}

@media (min-width: 768px) {
  .p-top-career__row p {
    letter-spacing: -0.02em;
  }
}

@media (min-width: 820px) {
  .p-top-career__row p {
    letter-spacing: normal;
  }
}

@media (min-width: 390px) {
  .p-top-consult__text {
    letter-spacing: 0.01em;
  }
}

@media (min-width: 414px) {
  .p-top-consult__text {
    letter-spacing: normal;
  }
}

@media (min-width: 414px) {
  .p-top-produce__text {
    letter-spacing: -0.01em;
  }
}

@media (min-width: 768px) {
  .p-top-produce__text {
    letter-spacing: normal;
  }
}

/*----------------------------------
  見出しとして使う p：約物の空きを詰めて字間のバランスを整える（palt）
-----------------------------------*/
.p-top-consult__diagram-ttl p,
.p-top-consult__diagram-label,
.p-top-consult__diagram-goal p {
  font-feature-settings: "palt";
}