@import url("fonts.css");

/*
  ABOUT page styles.
  Sections: hero, intro, profile, message, office/map, contact CTA.
*/

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "NotoSansJP-VariableFont_wght", "ZenKakuGothicNew-Regular", sans-serif;
  color: #ffffff;
  background-color: #00193b;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

/* Page hero. */
.about-hero {
  min-height: 420px;
  margin-top: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
  background:
    linear-gradient(rgba(0, 25, 59, 0.52), rgba(0, 25, 59, 0.7)),
    url("image/ミーティング.jpg") center center / cover no-repeat;
}

.about-hero-text .eyebrow {
  margin: 0 0 14px;
  font-family: "Montserrat", "Oswald-VariableFont_wght", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.24em;
}

.about-hero-text h1 {
  margin: 0 0 14px;
  font-family: "Playfair Display", "ShipporiMincho-Bold", serif;
  font-size: clamp(2.1rem, 6.4vw, 2.8rem);
  line-height: 1.25;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
}

.about-hero-text p {
  margin: 0;
  font-family: "ShipporiMincho-Medium", "NotoSansJP-VariableFont_wght", serif;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
}

.about-hero-text .hero-subtitle {
  font-size: 1rem;
  letter-spacing: 0.18em;
}

/* Two-column content sections. */
.intro-section,
.profile-section,
.message-section,
.office-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 32px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
}

.intro-section-light,
.message-section {
  max-width: none;
  padding-left: max(32px, calc((100vw - 1180px) / 2 + 32px));
  padding-right: max(32px, calc((100vw - 1180px) / 2 + 32px));
  background-color: #ffffff;
  color: #00193b;
}

.message-section {
  padding-bottom: 56px;
}

.office-section {
  color: #ffffff;
}

/* Shared headings and body text within ABOUT. */
.section-heading p {
  margin: 0 0 8px;
  font-family: "Montserrat", "Oswald-VariableFont_wght", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #b9c8dd;
}

.intro-section-light .section-heading p,
.message-section .section-heading p {
  color: #557095;
}

.section-heading h2,
.contact-section h2 {
  margin: 0;
  font-family: "Playfair Display", "ShipporiMincho-Bold", serif;
  font-size: 2rem;
  letter-spacing: 0.06em;
}

.section-body h3 {
  margin: 0 0 20px;
  font-size: 1.35rem;
  line-height: 1.7;
}

.section-body p,
.profile-basic,
.profile-block li,
.contact-section p,
.office-list dd {
  line-height: 1.9;
}

.section-body p {
  margin: 0 0 16px;
  font-size: 1rem;
}

.section-body p:last-child {
  margin-bottom: 0;
}

.profile-section {
  align-items: start;
}

/* Profile photo and biography blocks. */
.profile-wrapper {
  display: block;
}

.profile-photo {
  max-width: 220px;
  margin-top: 26px;
  overflow: hidden;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.profile-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.profile-label {
  margin: 0 0 8px;
  color: #b9c8dd;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.profile-name {
  margin: 0 0 18px;
  font-family: "ShipporiMincho-Bold", "NotoSansJP-VariableFont_wght", serif;
  font-size: 2.1rem;
  letter-spacing: 0.08em;
}

.profile-name span {
  display: inline-block;
  margin-left: 14px;
  font-family: "Montserrat", "Oswald-VariableFont_wght", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #b9c8dd;
  text-transform: uppercase;
  vertical-align: middle;
}

.profile-basic {
  margin: 0 0 26px;
  color: #d7e1ef;
}

.profile-block {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.profile-block + .profile-block {
  margin-top: 22px;
}

.profile-block h4 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.profile-block ul {
  margin: 0;
  padding-left: 1.2em;
}

.profile-block li {
  margin-bottom: 6px;
}

.profile-block a {
  display: inline-block;
  margin-right: 0.5em;
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.profile-block a[target="_blank"]::after {
  content: "";
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  margin-left: 0.3em;
  background: url("image/新しいウィンドウで開くボタンアイコン_white.png") center / contain no-repeat;
  vertical-align: -0.08em;
}

.profile-block a:hover {
  color: #b9c8dd;
}

.career-list {
  margin: 0;
}

.career-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.career-list div:first-child {
  padding-top: 0;
}

.career-list dt {
  color: #b9c8dd;
  font-weight: 700;
  white-space: nowrap;
}

.career-list dd {
  margin: 0;
  line-height: 1.8;
}

/* Office information and Google Map area. */
.office-content {
  display: block;
}

.office-list {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.office-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.office-list dt {
  color: #b9c8dd;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.office-list dd {
  margin: 0;
}

.office-list a {
  color: #ffffff;
  text-decoration: none;
}

.office-list a:hover {
  text-decoration: underline;
}

.office-list .map-row {
  grid-template-columns: 120px 1fr;
  align-items: start;
}

.office-list .map-row dd {
  min-width: 0;
  width: 100%;
}

.map-wrapper {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background-color: #ffffff;
}

.map-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-section {
  padding: 76px 24px;
  text-align: center;
  background-color: #f4f7fb;
  color: #00193b;
}

.contact-section p {
  max-width: 720px;
  margin: 18px auto 0;
}

.contact-button {
  display: inline-block;
  margin-top: 28px;
  padding: 12px 36px;
  border-radius: 999px;
  background-color: #00193b;
  color: #ffffff;
  text-decoration: none;
  font-family: "Montserrat", "Oswald-VariableFont_wght", sans-serif;
  font-weight: 700;
  letter-spacing: 0.14em;
  transition: transform 0.3s, opacity 0.3s;
}

.contact-button:hover {
  opacity: 0.84;
  transform: translateY(-2px);
}

/* Tablet: stack section heading and content columns. */
@media (max-width: 1180px) {
.about-hero {
    margin-top: 0;
  }

  .intro-section,
  .profile-section,
  .message-section,
  .office-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 58px 24px;
  }

  .profile-wrapper {
    display: block;
  }

  .profile-photo {
    max-width: 200px;
  }

  .office-content {
    grid-template-columns: 1fr;
  }
}

/* Smartphone. */
@media (max-width: 560px) {
.about-hero {
    min-height: 340px;
    padding: 64px 18px;
  }

  .section-heading h2,
  .contact-section h2 {
    font-size: 1.65rem;
  }

  .section-body h3 {
    font-size: 1.12rem;
  }

  .profile-name {
    font-size: 1.75rem;
  }

  .office-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .career-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .map-wrapper {
    height: 320px;
  }
}

/* Narrow smartphone. */
@media (max-width: 420px) {
  .intro-section,
  .profile-section,
  .message-section,
  .office-section {
    padding: 48px 18px;
  }

  .about-hero {
    min-height: 300px;
  }

  .about-hero-text .eyebrow,
  .about-hero-text .hero-subtitle {
    letter-spacing: 0.12em;
  }

  .profile-photo {
    max-width: 180px;
  }

  .profile-name span {
    display: block;
    margin: 6px 0 0;
  }

  .contact-button {
    width: 100%;
  }
}
