@charset "UTF-8";

/* ============================================================
   p4-bottom.css
   Board of Directors / Company / Contact セクション
   ============================================================ */


/* ----------------------------------------------------------
   People — 「経営メンバー」
   ---------------------------------------------------------- */

.people-section {
  background: var(--bg-white);
}

.people-grid {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.person-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: center;
  max-width: 920px;
  width: 100%;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 48px 56px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.person-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 50%;
  background: var(--bg-light);
  position: relative;
}

.person-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 6px solid #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
  pointer-events: none;
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.person-name {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.person-name-jp {
  font-family: var(--font-jp);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: .1em;
  color: var(--text-dark);
  line-height: 1.3;
}

.person-bio {
  color: var(--text-muted-light);
  font-size: 14px;
  line-height: 1.95;
  margin: 0;
}


/* ----------------------------------------------------------
   Company — 「会社概要」
   ---------------------------------------------------------- */

.company-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 1px 1px, rgba(0, 139, 150, 0.10) 1px, transparent 1.4px) 0 0 / 14px 14px,
    var(--bg-light);
}

.cityscape-deco {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  max-width: 720px;
  height: 70%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

.cityscape-deco svg {
  width: 100%;
  height: 100%;
  display: block;
}

#company .container {
  position: relative;
  z-index: 1;
}

.company-table {
  max-width: 760px;
  margin: 30px auto 0;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.company-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  padding: 22px 32px;
  border-bottom: 1px solid var(--border-light);
  align-items: baseline;
}

.company-row:last-child {
  border-bottom: none;
}

.company-row dt {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
  letter-spacing: 0.04em;
  position: relative;
  padding-left: 14px;
}

.company-row dt::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 1px;
}

.company-row dd {
  color: var(--text-muted-light);
  font-size: 14.5px;
  line-height: 1.8;
  margin: 0;
}


/* ----------------------------------------------------------
   Contact — 「お問い合わせ」(ティール背景 + 白フォームカード)
   ---------------------------------------------------------- */

.contact-section {
  position: relative;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.10) 1px, transparent 1.4px);
  background-size: 14px 14px;
  pointer-events: none;
}

.contact-section .container {
  position: relative;
  z-index: 1;
}

.contact-lead {
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.9;
  margin: -50px auto 40px;
  max-width: 640px;
}

.contact-card {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  padding: 56px 56px 48px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
  color: var(--text-dark);
}

.contact-form {
  margin: 0;
  max-width: none;
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: .05em;
  font-family: var(--font-jp);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-light);
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--text-dark);
  font-size: 15px;
  font-family: var(--font-jp);
  transition: border-color 0.3s, background 0.3s;
  box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(31, 31, 31, 0.35);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 160px;
}

.btn-submit {
  display: block;
  margin: 20px auto 0;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 16px 64px;
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 139, 150, 0.35);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.btn-submit:hover {
  background: #007880;
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(0, 139, 150, 0.42);
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-message {
  margin: 16px 0;
  padding: 14px 20px;
  font-size: 14px;
  border-radius: 6px;
  text-align: center;
}

.form-message.success {
  background: rgba(0, 139, 150, 0.12);
  color: var(--primary);
  border: 1px solid rgba(0, 139, 150, 0.25);
}

.form-message.error {
  background: rgba(200, 50, 50, 0.10);
  color: #c83232;
  border: 1px solid rgba(200, 50, 50, 0.25);
}


/* ----------------------------------------------------------
   Responsive – 1024px 以下
   ---------------------------------------------------------- */

@media (max-width: 1024px) {
  .person-card {
    grid-template-columns: 220px 1fr;
    gap: 40px;
    padding: 40px 44px;
  }

  .contact-card {
    padding: 48px 40px 40px;
  }
}


/* ----------------------------------------------------------
   Responsive – 768px 以下
   ---------------------------------------------------------- */

@media (max-width: 768px) {
  /* People */
  .person-card {
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: center;
    padding: 32px 24px 36px;
  }

  .person-photo {
    max-width: 240px;
    width: 100%;
  }

  .person-info {
    width: 100%;
    text-align: center;
  }

  .person-name {
    align-items: center;
    text-align: center;
  }

  .person-bio {
    text-align: left;
  }

  /* Company */
  .cityscape-deco {
    width: 100%;
    opacity: 0.35;
  }

  .company-table {
    margin-top: 20px;
  }

  .company-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 22px;
  }

  /* Contact */
  .contact-lead {
    margin-top: -30px;
    margin-bottom: 32px;
    font-size: 14px;
  }

  .contact-card {
    padding: 36px 24px 32px;
  }

  .btn-submit {
    width: 100%;
    padding: 16px 32px;
  }
}
