/* ========================================
   COMPANY PAGE
======================================== */

.company-page {
  --company-green: #42B88E;
  --company-green-light: #EAF8F3;
  --company-yellow: #FFE9A0;
  --company-pink: #F8B2B4;
  --company-orange: #FFCCA8;
  --company-ink: #222;
  color: var(--company-ink);
  overflow: clip;
}

.company-container {
  width: min(1200px, calc(100% - 80px));
  margin-inline: auto;
}

/* ========================================
   PAGE HERO
======================================== */

.company-hero {
  position: relative;
  min-height: 440px;
  padding-top: 100px;
  background: #fff;
  overflow: hidden;
  isolation: isolate;
}

.company-hero__inner {
  position: relative;
  z-index: 2;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.company-hero__eyebrow {
  display: block;
  margin-bottom: 15px;
  color: #319F79;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
}

.company-hero__title {
  margin: 0;
  font-size: clamp(64px, 10vw, 82px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
	font-family: lexend-deca, sans-serif;
}

.company-hero__subtitle {
  margin: 20px 0 0;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--company-green);
}

.company-breadcrumb {
  position: absolute;
  right: 0;
  bottom: 25px;
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 12px;
}

.company-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

/* ========================================
   COMPANY HERO - SVG DECORATIONS
======================================== */

.company-hero__shape {
    position: absolute;
    z-index: 0;
    width: 150px;
    aspect-ratio: 1;
    border-radius: 0;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    pointer-events: none;

    animation: company-float 8s ease-in-out infinite alternate;
}

/* SVG 01：右側の大きな装飾 */
.company-hero__shape--01 {
    width: 350px;
    top: -5%;
    right: 8%;
    background-image: url('../img/common/page_hed_circle01.svg');
}

/* SVG 02：右下 */
.company-hero__shape--02 {
    width: 300px;
    right: 20%;
    bottom: 0;
    background-image: url('../img/common/page_hed_circle03.svg');
    animation-delay: -2s;
}

/* SVG 03：右端 */
.company-hero__shape--03 {
    width: 200px;
    right: -3%;
    bottom: 22px;
    background-image: url('../img/common/page_hed_circle02.svg');
    animation-delay: -4s;
}

/* SVG 04：中央寄りの小さな装飾 */
.company-hero__shape--04 {
    width: 75px;
    top: 17%;
    right: 39%;
    background-image: url('../img/common/page_hed_circle04.svg');
    animation-delay: -1s;
}

/* SVG 05：左下のアクセント */
.company-hero__shape--05 {
    width: 90px;
    bottom: 5%;
    left: 3%;
    background-image: url('../img/common/page_hed_circle05.svg');
    animation-delay: -3s;
}

/* ========================================
   RESPONSIVE
======================================== */

@media screen and (max-width: 900px) {

    .company-hero__shape--01 {
        width: 230px;
        right: -35px;
    }

    .company-hero__shape--02 {
        width: 150px;
        right: 20%;
    }

    .company-hero__shape--03 {
        width: 100px;
    }

    .company-hero__shape--04 {
        width: 55px;
    }

    .company-hero__shape--05 {
        width: 65px;
    }
}

@media screen and (max-width: 767px) {

    .company-hero__shape--01 {
        width: 175px;
        top: 15%;
        right: -65px;
    }

    .company-hero__shape--02 {
        width: 105px;
        right: 13%;
        bottom: -40px;
    }

    .company-hero__shape--03 {
        width: 70px;
        right: -20px;
        bottom: 20px;
    }

    .company-hero__shape--04 {
        width: 40px;
        top: 14%;
        right: 37%;
    }

    .company-hero__shape--05 {
        width: 55px;
        left: -15px;
        bottom: -15px;
    }
}

@keyframes company-float {
  from { transform: translateY(0); }
  to { transform: translateY(-24px); }
}

/* ========================================
   SECTION HEADING
======================================== */

.company-section-heading {
  margin-bottom: 55px;
}

.company-section-heading__en {
  display: block;
  font-size: clamp(48px, 7vw, 58px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
	font-family: lexend-deca, sans-serif;
}

.company-section-heading__ja {
  margin: 2px 0 20px;
  font-size: 1.4rem;
    color: var(--color-text-sub);
    letter-spacing: 0.05em;
}

.company-section-heading__line {
  display: block;
  width: 72px;
  height: 6px;
  border-radius: 10px;
  background: var(--company-green);
}

.company-section-heading__line--pink {
  background: var(--company-pink);
}

/* ========================================
   PROFILE
======================================== */

.company-profile {
  padding: 80px 0 120px;
  background: #fff;
}

.company-profile__table {
  /*border-top: 2px solid var(--company-ink);*/
}

.company-profile__row {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 30px;
  padding: 29px 25px;
  border-bottom: 1px solid #E6E6E6;
}

.company-profile__row dt {
  font-weight: 700;
  font-size: 15px;
}

.company-profile__row dd {
  margin: 0;
  line-height: 2;
  font-size: 15px;
}

.company-profile__row a {
  color: inherit;
}

.company-profile__services {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ========================================
   ACCESS
======================================== */

.company-access {
  position: relative;
  padding: 120px 0 120px;
  background: var(--color-bg-hero);
}

.company-access__layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 65px;
  align-items: center;
}

.company-access__label {
  color: var(--company-green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;	
    font-family: lexend-deca, sans-serif;
}

.company-access__details h3 {
  margin: 18px 0 25px;
  font-size: clamp(22px, 2.5vw, 30px);
}

.company-access__details p {
  font-size: 16px;
  line-height: 2;
}

.company-access__button {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
  padding: 17px 28px;
  border-radius: 100px;
  background: var(--company-green);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform .3s ease, background .3s ease;
}

.company-access__button:hover {
  transform: translateY(-3px);
  background: #319F79;
}

.company-access__map {
  height: 410px;
  overflow: hidden;
  border-radius: 25px;
  background: #E8E8E8;
}

.company-access__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========================================
   REVEAL ANIMATION
======================================== */

.company-reveal {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity .8s ease,
    transform .8s cubic-bezier(.22, 1, .36, 1);
}

.company-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE
======================================== */

@media screen and (max-width: 900px) {
  .company-container {
    width: calc(100% - 40px);
  }

  .company-hero {
    padding-top: 80px;
    min-height: 350px;
  }

  .company-hero__inner {
    min-height: 270px;
  }

  .company-access__layout {
    gap: 30px;
  }
}

@media screen and (max-width: 767px) {
  .company-hero {
    padding-top: 72px;
    min-height: 330px;
  }

  .company-hero__inner {
    min-height: 258px;
  }

  .company-hero__title {
    font-size: clamp(45px, 11vw, 75px);
  }

  .company-hero__subtitle {
    font-size: 18px;
  }

  .company-breadcrumb {
    bottom: 15px;
    font-size: 11px;
  }

  .company-profile,
  .company-access {
    padding: 80px 0 90px;
  }

  .company-section-heading {
    margin-bottom: 35px;
  }

  .company-section-heading__en {
    font-size: 48px;
  }

  .company-profile__row {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 22px 5px;
  }

  .company-profile__row dt {
    font-size: 14px;
  }

  .company-profile__row dd {
    font-size: 14px;
  }

  .company-access__layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .company-access__map {
    height: 300px;
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .company-hero__shape {
    animation: none;
  }

  .company-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}