@charset "UTF-8";
/* top.css — 大阪オフィスLP TOPページ固有スタイル */

/* ---------- 0. TOP共通パーツ（複数のセクションで使う） ---------- */
.p-top-lead {
  font-size: min(32px, 2.7vw);
  font-weight: 500;
  line-height: 1.6;
}
@media screen and (max-width: 768px) {
  .p-top-lead {
    font-size: 18px;
  }
}
.p-top-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-m);
}
.p-top-photo > img {
  position: absolute;
  top: var(--photo-y, 0);
  left: var(--photo-x, 0);
  width: var(--photo-w, 100%);
  max-width: none;
  height: var(--photo-h, 100%);
  object-fit: cover;
}
.p-top-dot-list {
  --dot-size: 16px;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  font-weight: 500;
  line-height: 1.6;
}
.p-top-dot-list > li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.p-top-dot-list > li::before {
  content: "";
  flex: none;
  width: var(--dot-size);
  height: var(--dot-size);
  margin-top: calc((1.6em - var(--dot-size)) / 2);
  border-radius: 50%;
  background: var(--grad-heading-initial);
}
.p-top-br-wide {
  display: inline;
}
@media screen and (max-width: 1199px) {
  .p-top-br-wide {
    display: none;
  }
}

/* ---------- 1. KV（ファーストビュー） ---------- */
.p-top-kv {
  color: var(--color-white);
}
.p-top-kv__inner {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1420 / 798;
}
.p-top-kv__inner::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: max(37.594%, 100% - (100svh - var(--header-h)) + 300px);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6) min(100%, 300px));
  pointer-events: none;
}
.p-top-kv__slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
}
.p-top-kv__slides {
  position: absolute;
  inset: 0;
}
.p-top-kv__slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.p-top-kv__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}
.p-top-kv__slider:not(.is-ready) .p-top-kv__slide:first-child {
  opacity: 1;
}
.p-top-kv__slide.is-prev {
  z-index: 1;
  opacity: 1;
}
.p-top-kv__slide.is-active {
  z-index: 2;
  opacity: 1;
}
.p-top-kv__copy {
  position: absolute;
  bottom: max(5.0125%, 100% - (100svh - var(--header-h)) + 40px);
  left: max(4.9296%, 50% - 640px);
  z-index: 2;
  font-size: min(60px, (100vw - 20px) * 0.042254);
  font-weight: 700;
  line-height: 1.5;
}
@media screen and (max-width: 768px) {
  .p-top-kv {
    padding: 100px 20px 76px;
    background-color: #000;
    background-image:
      linear-gradient(var(--overlay-mid), var(--overlay-mid)),
      url("../img/common/img_kv.webp");
    background-position: 50% 29.2%;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .p-top-kv__inner {
    position: static;
    isolation: auto;
    aspect-ratio: auto;
  }
  .p-top-kv__inner::after {
    content: none;
  }
  .p-top-kv__slider {
    position: relative;
    inset: auto;
    z-index: auto;
    aspect-ratio: 315 / 268;
    border-radius: var(--radius-m);
  }
  .p-top-kv__slide--pc-only {
    display: none;
  }
  .p-top-kv__slider:not(.is-ready) .p-top-kv__slide:not(.p-top-kv__slide--pc-only) {
    opacity: 1;
  }
  .p-top-kv__slider:not(.is-ready) .p-top-kv__slide:not(.p-top-kv__slide--pc-only) ~ .p-top-kv__slide {
    opacity: 0;
  }
  .p-top-kv__copy {
    position: static;
    margin-top: 20px;
    font-size: min(28px, 7.4667vw);
  }
}

/* ---------- 2. ABOUT US（id="about"） ---------- */
.p-top-about__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.p-top-about__text {
  flex: 1 1 0;
  min-width: 0;
  max-width: 640px;
}
.p-top-about__body {
  margin-top: 30px;
}
.p-top-about__photos {
  flex: none;
  width: min(410px, 34.1667%);
  max-width: 100%;
}
.p-top-about__photo1 {
  width: 80.4878%;
  aspect-ratio: 330 / 480;
  --photo-w: 188%;
  --photo-h: 132.64%;
  --photo-x: -22.3%;
  --photo-y: -32.58%;
}
.p-top-about__photo2 {
  width: 68.2927%;
  margin: -9.7561% 0 0 31.7073%;
  aspect-ratio: 280 / 180;
  --photo-w: 105.09%;
  --photo-h: 109%;
  --photo-x: -2.55%;
  --photo-y: -4.5%;
}
@media screen and (max-width: 1023px) {
  .p-top-about__inner {
    display: block;
  }
  .p-top-about__text {
    max-width: none;
  }
  .p-top-about__photos {
    width: 410px;
    margin-top: 60px;
  }
}
@media screen and (max-width: 768px) {
  .p-top-about__body {
    margin-top: 20px;
  }
  .p-top-about__photos {
    width: 230px;
    margin-top: 40px;
  }
  .p-top-about__photo1 {
    width: 165px;
    aspect-ratio: 165 / 240;
  }
  .p-top-about__photo2 {
    width: 140px;
    margin: -28px 0 0 90px;
    aspect-ratio: 140 / 90;
  }
}

/* ---------- 3. BUSINESS（id="business"） ---------- */
.p-top-business__body {
  margin-top: 30px;
}
.p-top-business__diagram {
  margin-top: 60px;
}
.p-top-business__diagram img {
  width: 100%;
}
.p-top-business__roles {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(450px, 40%, 480px);
  align-items: start;
  gap: 40px;
  margin-top: 60px;
}
.p-top-business__photo {
  aspect-ratio: 680 / 383;
  --photo-w: 109.96%;
  --photo-h: 130.17%;
  --photo-x: 0.04%;
  --photo-y: -26.52%;
}
.p-top-business__panel {
  padding: 30px 40px;
  border-radius: var(--radius-m);
  background: var(--panel-glass);
}
.p-top-business__panel-title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.6;
}
.p-top-business__list {
  --dot-size: 20px;
  row-gap: 15.2px;
  margin-top: 30px;
  font-size: 18px;
}
@media screen and (max-width: 1023px) {
  .p-top-business__roles {
    grid-template-columns: none;
    align-items: normal;
  }
}
@media screen and (max-width: 768px) {
  .p-top-business__body {
    margin-top: 20px;
  }
  .p-top-business__diagram {
    margin-top: 40px;
  }
  .p-top-business__roles {
    gap: 20px;
    margin-top: 40px;
  }
  .p-top-business__photo {
    aspect-ratio: 315 / 177;
  }
  .p-top-business__panel {
    padding: 20px;
  }
  .p-top-business__panel-title {
    font-size: 16px;
  }
  .p-top-business__list {
    --dot-size: 16px;
    row-gap: 15px;
    margin-top: 20px;
    font-size: 14px;
  }
}

/* ---------- 4. PROJECT（id="project"） ---------- */
.p-top-project__visual img {
  width: 100%;
}
.p-top-project__list {
  --dot-size: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 15.4px;
  margin-top: 60px;
  padding: 39px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
  font-size: 16px;
}
@media screen and (max-width: 1199px) {
  .p-top-project__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media screen and (max-width: 768px) {
  .p-top-project__list {
    --dot-size: 16px;
    display: flex;
    column-gap: normal;
    row-gap: 9.6px;
    margin-top: 20px;
    padding: 19px;
    font-size: 14px;
  }
}

/* ---------- 5. 見出し＋右側の説明文（MEMBER / DATA 共通） ---------- */
.p-top-sechead {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
.p-top-sechead .c-heading {
  flex: none;
  margin-bottom: 0;
}
.p-top-sechead__text {
  flex: 0 1 760px;
  min-width: 0;
  margin: 30px 0 0 auto;
  line-height: 1.6;
}
@media screen and (max-width: 1023px) {
  .p-top-sechead {
    display: block;
  }
  .p-top-sechead .c-heading {
    margin-bottom: 30px;
  }
  .p-top-sechead__text {
    margin: 0;
  }
}
@media screen and (max-width: 768px) {
  .p-top-sechead .c-heading {
    margin-bottom: var(--heading-mb);
  }
  .p-top-sechead__text {
    line-height: inherit;
  }
}

/* ---------- 6. RECRUIT（id="recruit"） ---------- */
.p-top-recruit__body {
  display: grid;
  grid-template-columns: minmax(0, 560fr) minmax(0, 580fr);
  grid-template-rows: auto auto 1fr;
  grid-template-areas:
    "lead   figure"
    "text   figure"
    "button figure";
  column-gap: 60px;
}
.p-top-recruit__lead {
  grid-area: lead;
}
.p-top-recruit__text {
  grid-area: text;
  margin-top: 30px;
}
.p-top-recruit__figure {
  grid-area: figure;
  margin-top: 6px;
}
.p-top-recruit__photo {
  aspect-ratio: 580 / 383;
  --photo-w: 128.96%;
  --photo-h: 130.21%;
  --photo-x: -12.59%;
  --photo-y: -9.39%;
}
.p-top-recruit__sign {
  margin-top: 20px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.6;
  text-align: right;
}
.p-top-recruit__sign-role {
  font-size: 16px;
}
.p-top-recruit__btn {
  grid-area: button;
  align-self: start;
  margin-top: 40px;
}
@media screen and (max-width: 1023px) {
  .p-top-recruit__body {
    display: block;
  }
  .p-top-recruit__figure {
    margin-top: 60px;
  }
}
@media screen and (max-width: 768px) {
  .p-top-recruit__text {
    margin-top: 20px;
  }
  .p-top-recruit__figure {
    margin-top: 40px;
  }
  .p-top-recruit__sign {
    margin-top: 10px;
    font-size: 18px;
  }
  .p-top-recruit__sign-role {
    font-size: 12px;
  }
  .p-top-recruit__btn .c-btn {
    width: 100%;
  }
}

/* ---------- 7. MEMBER（id="member"） ---------- */
.p-top-member__list {
  margin-top: 60px;
}
.p-top-member__more {
  display: flex;
  justify-content: flex-end;
  margin-top: 40px;
}
@media screen and (min-width: 769px) and (max-width: 1023px) {
  .p-top-member__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .p-top-member__list .c-member-card {
    padding: 19px;
  }
}
@media screen and (max-width: 768px) {
  .p-top-member__list {
    margin-top: 40px;
  }
  .p-top-member__more {
    display: block;
  }
  .p-top-member__more .c-btn {
    width: 100%;
  }
}

/* ---------- 8. DATA（id="data"） ---------- */
.p-top-data__list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 60px 30px;
  margin-top: 60px;
}
.p-top-data__item {
  grid-column: span 2;
}
.p-top-data__item--wide {
  grid-column: span 3;
}
.p-top-data__item img {
  width: 100%;
}
@media screen and (max-width: 1023px) {
  .p-top-data__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .p-top-data__item {
    grid-column: auto;
  }
  .p-top-data__item--wide {
    grid-column: 1 / -1;
  }
}
@media screen and (max-width: 768px) {
  .p-top-data__list {
    grid-template-columns: none;
    gap: 40px;
    margin-top: 40px;
  }
  .p-top-data__item--wide {
    grid-column: auto;
  }
}

/* ---------- 9. PROFILE（id="profile"） ---------- */
.p-top-profile__table {
  border-top: 1px solid var(--color-border);
  line-height: 1.6;
}
.p-top-profile__row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  column-gap: clamp(40px, 8.3333%, 100px);
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}
.p-top-profile__label {
  font-weight: 700;
}
.p-top-profile__link {
  color: var(--color-red);
}
.p-top-profile__map {
  max-width: 600px;
  margin-top: 20px;
}
.p-top-profile__map iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 600 / 338;
  border: 0;
}
.p-top-profile__access {
  margin-top: 20px;
}
.p-top-profile__photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 20px;
}
.p-top-profile__photo {
  aspect-ratio: 394 / 222;
}
.p-top-profile__photo--02 {
  --photo-w: 130.14%;
  --photo-h: 154%;
  --photo-x: -17.18%;
  --photo-y: -24.72%;
}
.p-top-profile__photo--03 {
  --photo-w: 113.24%;
  --photo-h: 134%;
  --photo-x: 0.02%;
  --photo-y: -33.94%;
}
@media screen and (max-width: 768px) {
  .p-top-profile__table {
    line-height: calc(22 / 14);
  }
  .p-top-profile__row {
    display: block;
    padding: 10px 0;
  }
  .p-top-profile__value {
    margin-top: 5px;
  }
  .p-top-profile__map {
    max-width: none;
    margin-top: 10px;
  }
  .p-top-profile__map iframe {
    aspect-ratio: 315 / 178;
  }
  .p-top-profile__access {
    margin-top: 10px;
  }
  .p-top-profile__photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }
  .p-top-profile__photo {
    aspect-ratio: 155 / 87;
  }
  .p-top-profile__photo--main {
    grid-column: 1 / -1;
    aspect-ratio: 315 / 178;
  }
}

/* ---------- 10. 見出しのタイピング演出（.jsTypingAnimate） ---------- */
.is-typing-enabled .jsTypingAnimate:not(.is-typing):not(.is-typed) > [aria-hidden="true"],
.jsTypingAnimate.is-typing-wait > [aria-hidden="true"] {
  visibility: hidden;
}
.jsTypingAnimate__cursor {
  display: inline-block;
  position: relative;
  bottom: 0.08em;
  width: 2px;
  height: 0.75em;
  margin-right: -4px;
  margin-left: 2px;
  background: currentColor;
  vertical-align: middle;
  animation: typingCursor 1s linear infinite;
}
@keyframes typingCursor {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}
@media print {
  .is-typing-enabled .jsTypingAnimate:not(.is-typing):not(.is-typed) > [aria-hidden="true"],
  .jsTypingAnimate.is-typing-wait > [aria-hidden="true"] {
    visibility: visible;
  }
  .jsTypingAnimate__cursor {
    display: none;
  }
}
