/* ============================================================
   CSS Variables
   ============================================================ */
:root {
  --clr-dark:          #232323;
  --clr-primary:       #3d5d6e;
  --clr-primary-mid:   #43545d;
  --clr-primary-dark:  #374146;
  --clr-primary-light: #466b7f;
  --clr-white:         #ffffff;
  --clr-black:         #000000;
  --clr-bg:            #ffffff;
  --gradient-title: linear-gradient(72.17deg, #000000 16.485%, #78b8db 108.7%);
  --font-en:  'Futura PT', 'Century Gothic', 'Trebuchet MS', Arial, sans-serif;
  --font-jp:  'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --sidebar-left:  42px;
  --sidebar-w:     60px;
  --content-start: 157px;
}

/* ============================================================
   Base Reset
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--clr-bg);
  color: var(--clr-black);
  font-family: var(--font-jp);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================================
   Common / Shared
   ============================================================ */
.section-heading {
  font-family: var(--font-en);
  font-size: 79px;
  font-weight: 900;
  line-height: 1;
  background: var(--gradient-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 32px;
}

.section-body-text {
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 2.2;
}

.corner-logo {
  position: absolute;
  top: 25px;
  right: 20px;
  width: 71px;
  height: 62px;
  border-radius: 24px;
  overflow: hidden;
  z-index: 10;
}

.corner-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   Sidebar
   ============================================================ */
#sidebar {
  position: fixed;
  left: var(--sidebar-left);
  top: 0;
  width: var(--sidebar-w);
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 200;
  pointer-events: none;
}

.sidebar-logo {
  width: 60px;
  height: 60px;
  margin-top: 30px;
  flex-shrink: 0;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

.sidebar-logo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.sidebar-track {
  flex: 1;
  width: var(--sidebar-w);
  position: relative;
  display: flex;
  justify-content: center;
  margin: 8px 0;
}

.sidebar-track-bar {
  width: var(--sidebar-w);
  height: 100%;
  background: var(--clr-dark);
  border-radius: 100px;
  position: absolute;
  top: 0;
  left: 0;
}

.sidebar-indicator {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 60px;
  transition: top 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 3;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.sidebar-indicator-dot {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--clr-bg);
  border: 4px solid var(--clr-dark);
  transition: border-radius 0.3s ease;
  flex-shrink: 0;
}

.sidebar-indicator.is-wobbling .sidebar-indicator-dot {
  animation: blob-wobble 0.7s ease-in-out;
}

.sidebar-label {
  color: var(--clr-white);
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
  pointer-events: none;
  text-align: center;
  mix-blend-mode: difference;
  min-height: 14px;
}

.sidebar-mail {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  flex-shrink: 0;
  position: relative;
  pointer-events: auto;
}

.sidebar-mail img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.sidebar-mail-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 37px;
  height: 37px;
}

@keyframes blob-wobble {
  0%   { border-radius: 50%; }
  20%  { border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%; }
  40%  { border-radius: 60% 40% 40% 60% / 40% 60% 40% 60%; }
  60%  { border-radius: 50% 50% 60% 40% / 55% 45% 55% 45%; }
  80%  { border-radius: 45% 55% 50% 50% / 50% 45% 55% 50%; }
  100% { border-radius: 50%; }
}

/* ============================================================
   Page Wrapper
   ============================================================ */
#page-wrapper {
  width: 100%;
  overflow-x: hidden;
}

/* All sections are position:relative so corner-logo is scoped */
.page-section {
  position: relative;
  min-height: 100vh;
  background: var(--clr-white);
  overflow: hidden;
}

/* ============================================================
   Section 1: Hero
   ============================================================ */
#hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 60px;
}

.hero-image-wrap {
  position: absolute;
  top: 30px;
  left: 141px;
  right: 0;
  height: 557px;
  border-radius: 30px 33px 0 30px;
  overflow: hidden;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-bubble {
  position: absolute;
  bottom: 30px;
  right: 0;
  width: 594px;
  height: 190px;
  border-radius: 30px 0 30px 30px;
  overflow: hidden;
}

.hero-bubble img {
  width: 200%;
  height: 400%;
  object-fit: cover;
  margin-left: -90%;
  margin-top: -290%;
}

.hero-text {
  position: relative;
  z-index: 5;
  padding-left: var(--content-start);
  padding-top: 590px;
}

.hero-jp {
  font-family: var(--font-jp);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 5px;
  color: var(--clr-black);
  margin-bottom: 8px;
}

.hero-en {
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 700;
  color: var(--clr-black);
  margin-bottom: 6px;
}

.hero-logo-text {
  font-family: var(--font-en);
  font-size: 79px;
  font-weight: 900;
  background: var(--gradient-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hero-logo-text span {
  font-size: 32px;
}

/* ============================================================
   Section 2: Our Policy
   ============================================================ */
#policy {
  padding-left: var(--content-start);
  padding-top: 234px;
  padding-right: 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.policy-exclamation {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 412px;
  width: auto;
}

.policy-text {
  max-width: 848px;
  font-size: 20px;
  font-weight: 700;
  line-height: 2.2;
  margin-top: 32px;
}

/* ============================================================
   Section 3: Services
   ============================================================ */
#service {
  padding-left: var(--content-start);
  padding-top: 97px;
  padding-right: 80px;
}

.service-desc {
  font-size: 15px;
  line-height: 1.8;
  max-width: 1002px;
  margin-bottom: 48px;
  font-family: var(--font-jp);
}

.service-layout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.service-left {
  flex: 0 0 494px;
}

.service-right {
  flex: 0 0 494px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card {
  border-radius: 30px;
  padding: 24px 28px;
  color: var(--clr-white);
  position: relative;
  min-height: 122px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card--event  { background: var(--clr-black); min-height: 179px; }
.service-card--balloon { background: var(--clr-primary-dark); }
.service-card--goods  { background: var(--clr-primary-mid); }
.service-card--stage  { background: var(--clr-primary-light); }

.service-card-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  position: absolute;
  top: 16px;
  left: 16px;
}

.service-card-dot img {
  width: 100%;
  height: 100%;
}

.service-card-title {
  font-family: var(--font-jp);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  padding-left: 44px;
}

.service-card-body {
  font-family: var(--font-jp);
  font-size: 12px;
  line-height: 1.8;
}

/* ============================================================
   Section 4: Works
   ============================================================ */
#works {
  padding-left: var(--content-start);
  padding-top: 37px;
  padding-right: 30px;
}

.works-caption {
  max-width: 852px;
  margin-bottom: 24px;
}

.works-caption p:first-child {
  font-size: 15px;
}

.works-caption p:last-child {
  font-size: 12px;
  color: #555;
}

.works-grid {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.works-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.works-col--offset {
  margin-top: 38px;
}

.works-item {
  border-radius: 30px;
  overflow: hidden;
  height: 260px;
  background: #d9d9d9;
}

.works-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

/* ============================================================
   Section 5: Company
   ============================================================ */
#company {
  padding-left: var(--content-start);
  padding-top: 101px;
  padding-right: 80px;
}

.company-inner {
  display: flex;
  gap: 56px;
  align-items: flex-start;
  margin-top: 16px;
}

.company-left {
  flex: 0 0 502px;
}

.company-right {
  flex: 1;
}

.company-text {
  font-size: 15px;
  line-height: 2.0;
}

.company-image {
  border-radius: 30px;
  overflow: hidden;
  height: 559px;
}

.company-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   Section 6: Recruit
   ============================================================ */
#recruit {
  padding-left: var(--content-start);
  padding-top: 30px;
  padding-right: 80px;
}

.recruit-intro {
  max-width: 1032px;
  font-size: 15px;
  line-height: 2.0;
  margin-top: 24px;
  margin-bottom: 60px;
}

.recruit-intro p:last-child,
.recruit-intro p:nth-last-child(2) {
  font-size: 12px;
}

.recruit-jobs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 709px;
  margin-left: calc(486px - var(--content-start));
  margin-bottom: 40px;
}

.recruit-job {
  border-radius: 30px;
  height: 97px;
  position: relative;
  overflow: hidden;
}

.recruit-job-bg {
  position: absolute;
  inset: 0;
  background: rgba(158, 158, 158, 0.5);
  z-index: 1;
}

.recruit-job-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.recruit-job-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recruit-job-content {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}

.recruit-job-en {
  font-family: var(--font-en);
  font-size: 40px;
  font-weight: 900;
  color: var(--clr-black);
  width: 219px;
  text-align: right;
  padding-right: 16px;
  flex-shrink: 0;
}

.recruit-job-jp {
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-black);
}

.recruit-cta {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.recruit-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 271px;
  height: 64px;
  border: 3px solid var(--clr-primary);
  border-radius: 30px;
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-primary);
  background: var(--clr-white);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.recruit-cta-btn:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
}

/* ============================================================
   Section 7: Access
   ============================================================ */
#access {
  padding-left: var(--content-start);
  padding-top: 87px;
  padding-right: 40px;
}

.access-locations {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.access-location {
  flex: 0 0 auto;
}

.access-location-name {
  font-family: var(--font-jp);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.access-location-addr {
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 700;
  line-height: 36px;
}

.access-map {
  width: 281px;
  height: 159px;
  object-fit: cover;
  border-radius: 0;
}

.access-map--wide {
  width: 280px;
}

.access-btns {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.access-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: 30px;
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}

.access-btn--primary {
  background: var(--clr-primary);
  color: var(--clr-white);
  width: 100%;
}

.access-btn--outline {
  background: var(--clr-white);
  color: var(--clr-primary);
  border: 2px solid var(--clr-primary);
  min-width: 135px;
}

.access-offices {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.access-office {
  flex: 0 0 auto;
}

.access-office-name {
  font-size: 24px;
  font-weight: 700;
}

.access-office-addr {
  font-size: 12px;
  font-weight: 700;
  line-height: 36px;
}

/* ============================================================
   Section 8: Contact
   ============================================================ */
#contact {
  padding-left: var(--content-start);
  padding-top: 115px;
  padding-right: 80px;
}

.contact-note {
  font-size: 15px;
  line-height: 2.2;
  margin-top: 24px;
  margin-bottom: 48px;
}

.contact-form {
  display: grid;
  grid-template-columns: 151px 1fr;
  gap: 0;
  max-width: 600px;
  margin-left: calc(550px - var(--content-start));
}

.contact-label {
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 700;
  text-align: right;
  padding-right: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 49px;
}

.contact-label .required {
  color: red;
  margin-left: 2px;
}

.contact-input {
  height: 49px;
  background: #fafafa;
  border: none;
  border-bottom: 1px solid var(--clr-dark);
  font-family: var(--font-jp);
  font-size: 15px;
  padding: 0 12px;
  outline: none;
  width: 100%;
}

.contact-textarea {
  height: 123px;
  background: #fafafa;
  border: none;
  border-bottom: 1px solid var(--clr-dark);
  font-family: var(--font-jp);
  font-size: 15px;
  padding: 12px;
  outline: none;
  width: 100%;
  resize: none;
}

.contact-label--tall {
  height: 123px;
  align-items: flex-start;
  padding-top: 16px;
}

.contact-submit-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.contact-submit {
  width: 448px;
  height: 64px;
  background: var(--clr-primary);
  color: var(--clr-white);
  border: none;
  border-radius: 30px;
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}

.contact-submit:hover {
  opacity: 0.85;
}

/* ============================================================
   Footer
   ============================================================ */
#site-footer {
  background: var(--clr-dark);
  color: var(--clr-white);
  min-height: 271px;
  padding: 40px 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 0 calc(50% - 470px);
}

.footer-info p {
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 2.0;
}

.footer-company {
  font-weight: 500;
}

.footer-logo-wrap {
  flex-shrink: 0;
}

.footer-logo {
  width: 84px;
  height: 88px;
  object-fit: cover;
}

.footer-copyright {
  font-family: var(--font-jp);
  font-size: 10px;
  text-align: center;
  color: var(--clr-white);
  padding: 20px 0 8px;
}

/* ============================================================
   Responsive – SP (768px以下)
   ============================================================ */
@media (max-width: 768px) {
  /* Sidebar非表示 */
  #sidebar {
    display: none;
  }

  :root {
    --content-start: 20px;
  }

  .section-heading {
    font-size: 42px;
  }

  .page-section {
    min-height: auto;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  /* Hero */
  #hero {
    padding-bottom: 40px;
    min-height: 100svh;
  }

  .hero-image-wrap {
    left: 16px;
    right: 0;
    top: 20px;
    height: 55vw;
    max-height: 360px;
    border-radius: 20px;
  }

  .hero-text {
    padding-left: 20px;
    padding-top: calc(55vw + 40px);
  }

  .hero-jp {
    font-size: 16px;
    letter-spacing: 3px;
  }

  .hero-en {
    font-size: 14px;
  }

  .hero-logo-text {
    font-size: 44px;
  }

  .hero-logo-text span {
    font-size: 22px;
  }

  .hero-bubble {
    display: none;
  }

  .corner-logo {
    width: 50px;
    height: 43px;
  }

  /* Policy */
  #policy {
    padding: 60px 20px;
    display: block;
  }

  .policy-exclamation {
    display: none;
  }

  .policy-text {
    font-size: 15px;
  }

  /* Service */
  #service {
    padding: 60px 20px;
  }

  .service-layout {
    flex-direction: column;
  }

  .service-left,
  .service-right {
    flex: 1 1 auto;
    width: 100%;
  }

  /* Works */
  #works {
    padding: 60px 16px;
  }

  .works-grid {
    gap: 8px;
    flex-wrap: wrap;
  }

  .works-col {
    flex: 0 0 calc(33.333% - 6px);
  }

  .works-col--offset {
    margin-top: 0;
  }

  .works-item {
    height: 120px;
  }

  /* Company */
  #company {
    padding: 60px 20px;
  }

  .company-inner {
    flex-direction: column;
  }

  .company-left,
  .company-right {
    flex: 1 1 auto;
    width: 100%;
  }

  .company-image {
    height: 260px;
  }

  /* Recruit */
  #recruit {
    padding: 60px 20px;
  }

  .recruit-jobs {
    margin-left: 0;
  }

  .recruit-cta {
    justify-content: center;
  }

  /* Access */
  #access {
    padding: 60px 20px;
  }

  .access-locations {
    flex-direction: column;
    gap: 32px;
  }

  .access-map {
    width: 100%;
    height: 160px;
  }

  /* Contact */
  #contact {
    padding: 60px 20px;
  }

  .contact-form {
    margin-left: 0;
    grid-template-columns: 1fr;
  }

  .contact-label {
    justify-content: flex-start;
    height: auto;
    padding: 12px 0 4px;
  }

  .contact-submit-row {
    justify-content: center;
  }

  .contact-submit {
    width: 100%;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    gap: 16px;
    padding: 0 20px;
  }
}
