/* ============================================================
   mission/index.php
   ============================================================ */

.aboutas-section {
  background: #f6f9ff;
}


/* ── Page title ── */
.msn-page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 12px 0 16px;
}

.msn-page-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin: 0;
  line-height: 1.8;
}


/* ── Section wrapper ── */
.msn-section {
  padding: 88px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.msn-section::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(35%, -50%);
  width: min(900px, 65%);
  aspect-ratio: 1;
  background: #e8eef8;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}


/* ── Philosophy rows ── */
.msn-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.msn-row:last-child {
  margin-bottom: 0;
}

.msn-row--principles {
  align-items: start;
}

/* ── Circle label ── */
.msn-row-label {
  width: 210px;
  height: 190px;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  margin: 0 auto;
  flex-shrink: 0;
  position: relative;
  overflow: visible;
}

.msn-row-label::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  height: 260px;
  background: url('../images/ref_msn.png') center / contain no-repeat;
  z-index: 0;
  pointer-events: none;
  opacity: .6;
}

.msn-row-en {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.msn-row-jp {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

/* ── Content blob ── */
.msn-row-content {
  border-radius: 50%;
  /* oval for wide elements */
  padding: 48px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.msn-row--principles .msn-row-content {
  border-radius: 48px;
  padding: 40px 52px;
  gap: 28px;
}

.msn-row-text {
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 700;
  font-family: "Shippori Mincho", serif;
  color: var(--navy);
  line-height: 1.7;
  margin: 0;

}


/* ── Principles table ── */
.msn-principles-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.msn-principles-table tr {
  border-bottom: 1px solid #c8d2e8;
}

.msn-principles-table th {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 14px;
  white-space: nowrap;
  vertical-align: middle;
  text-align: center;
}

.msn-principles-table td {
  padding: 10px 16px;
  color: var(--text);
  vertical-align: middle;
  line-height: 1.6;
}


/* ── Vision section ── */
.msn-vision-section {
  padding: 80px 0 88px;
  position: relative;
}

.msn-vision-section::before {
  content: '';
  position: absolute;
  inset: 0;
  /*background: rgba(10, 20, 60, 0.38);*/
  z-index: 0;
  width: 100%;
  height: 50%;
  background: url('../images/mission_bg.jpg')no-repeat bottom center / cover;
}

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

.msn-vision-top {
  margin-bottom: 48px;
}

/* 見出し（白い■付き） */
.msn-vision-heading {
  font-size: clamp(1.4rem, 2.6vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.55;
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.msn-vision-heading::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background: var(--yellow);
  flex-shrink: 0;
  margin-top: 0.68em;
}

.msn-vision-desc {
  font-size: clamp(1rem, 1.5vw, 1.75rem);
  font-family: "Shippori Mincho", serif;
  line-height: 2.1;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}

/* ── 行動宣言カード（白） ── */
.msn-declaration {
  background: var(--light-yellow);
  padding: 52px 60px 56px;
}

.msn-declaration-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 36px;
  letter-spacing: .06em;
}

.msn-declaration-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(6, auto);
  grid-auto-flow: column;
  gap: 0 64px;
  counter-reset: declaration;
}

.msn-declaration-list li {
  counter-increment: declaration;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #dde4f0;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.65;
  color: var(--text);
}

.msn-declaration-list li:nth-child(6),
.msn-declaration-list li:nth-child(12) {
  border-bottom: none;
}

.msn-declaration-list li::before {
  content: counter(declaration, decimal-leading-zero);
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
  line-height: 1;
}


/* ── Responsive ── */
@media (max-width: 991px) {
  .msn-section {
    padding: 56px 0;
  }

  .msn-row {
    grid-template-columns: 200px 1fr;
    gap: 16px;
    margin-bottom: 32px;
  }

  .msn-row-label {
    width: 210px;
    height: auto;
  }

  .msn-row-label::before {
    width: 220px;
    height: 220px;
  }

  .msn-row-content {
    padding: 36px 40px;
  }

  .msn-row--principles .msn-row-content {
    padding: 32px 36px;
  }
}

@media (max-width: 767px) {
  .msn-section {
    padding: 44px 0;
  }

  .msn-row {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 20px;
    margin-bottom: 36px;
  }

  .msn-row-content {
    width: 100%;
    border-radius: 32px;
    padding: 28px 28px;
  }

  .msn-row--principles .msn-row-content {
    border-radius: 32px;
    padding: 28px 24px;
  }

  .msn-vision-section {
    padding: 44px 0;
  }

  .msn-vision-top {
    margin-bottom: 36px;
  }

  .msn-declaration {
    padding: 36px 28px 40px;
  }

  .msn-declaration-list {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-auto-flow: row;
    gap: 0;
  }

  .msn-declaration-list li:nth-child(6) {
    border-bottom: 1px solid #dde4f0;
  }

  .msn-declaration-list li:nth-child(12) {
    border-bottom: none;
  }
}