/* ==============================================================================
   1. ABOUT US タブ：全体・イントロ
   ============================================================================== */
.p-aboutus-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  font-family:
    "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #333;
  text-align: left;
}

.p-aboutus-section {
  margin-bottom: 60px;
}

.p-aboutus-section--border {
  border-top: 1px solid #ddd;
  padding-top: 40px;
}

.p-aboutus-main-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 5px;
  letter-spacing: 0.05em;
}

.p-aboutus-sub-title {
  font-size: 1rem;
  color: #666;
  margin-top: 0;
  margin-bottom: 30px;
}

.p-aboutus-section-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.p-aboutus-intro-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 20px;
}

.p-aboutus-intro-text p {
  margin-bottom: 20px;
}

.p-aboutus-intro-text p:last-child {
  margin-bottom: 0;
}

/* ==============================================================================
   2. ABOUT US タブ：Mission / Vision / Value エリア
   ============================================================================== */
.p-aboutus-section--mvv {
  background: #f9f9f9;
  padding: 50px 20px;
  border-radius: 8px;
}

.p-aboutus-mvv-box {
  margin-bottom: 50px;
  text-align: left;
}

.p-aboutus-mvv-box:last-child {
  margin-bottom: 0;
}

.p-aboutus-mvv-box--border {
  border-top: 1px dashed #ccc;
  padding-top: 40px;
}

.p-aboutus-mvv-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  border-bottom: 2px solid #333;
  display: block;
  padding-bottom: 5px;
  letter-spacing: 0.05em;
}

.p-aboutus-mvv-sub {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0;
  margin-bottom: 15px;
}

.p-aboutus-mvv-lead {
  line-height: 1.7;
  font-size: 1.05rem;
  font-weight: bold;
  color: #111;
  text-align: left;
  max-width: 800px;
  margin: 0 0 15px 0;
}

.p-aboutus-mvv-note {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
  max-width: 750px;
  margin: 0 auto;
  text-align: left;
  background: #fff;
  padding: 12px 20px;
  border-radius: 4px;
  border-left: 4px solid #00b09b;
}

.p-aboutus-mvv-desc {
  line-height: 1.8;
  font-size: 1rem;
  color: #444;
  max-width: 750px;
  margin: 0 auto;
  text-align: left;
}

.p-aboutus-value-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  text-align: left;
}

.p-aboutus-value-card {
  flex: 1;
  min-width: 260px;
  background: #fff;
  padding: 25px 20px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.p-aboutus-value-card-ttl {
  display: block;
  font-size: 1rem;
  color: #00b09b;
  margin-bottom: 12px;
  font-weight: bold;
  border-left: 3px solid #00b09b;
  padding-left: 8px;
}

.p-aboutus-value-card-txt {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
  margin: 0;
}

/* ==============================================================================
   3. ABOUT US タブ：ロゴマークエリア
   ============================================================================== */
.p-aboutus-logo-flex {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}

.p-aboutus-logo-visual {
  width: 120px;
  height: 120px;
  background: #00b09b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 2rem;
  border-radius: 8px;
}

.p-aboutus-logo-desc {
  flex: 1;
  min-width: 280px;
  line-height: 1.8;
}

/* ==============================================================================
   4. ABOUT US タブ：社長メッセージエリア
   ============================================================================== */
.p-aboutus-section--president {
  padding-top: 40px;
  margin-top: 20px;
}

.p-aboutus-president-card {
  background: #fdfdfd;
  padding: 40px 20px;
  border-radius: 12px;
  border: 1px solid #ebe6dd;
  box-shadow: 0 10px 30px rgba(20, 47, 64, 0.03);
  box-sizing: border-box;
  width: 100%;
}

.p-aboutus-president-title {
  font-size: 1.6rem;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 40px;
  color: #142f40;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 15px;
  text-align: center;
}

.p-aboutus-president-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background-color: #00b09b;
}

.p-aboutus-president-flex {
  display: flex;
  gap: 40px;
  flex-direction: column-reverse;
  align-items: center;
  width: 100%;
}

.p-aboutus-president-body {
  width: 100%;
  line-height: 2;
  color: #444444;
  font-size: 0.95rem;
  box-sizing: border-box;
}

.p-aboutus-president-text {
  margin-top: 0;
  margin-bottom: 1.5rem;
  text-align: justify;
}

/* 
   スローガン＆行動基準をまとめたクォートエリア 
   ★左の縦線を無くし、左右対称の美しいボックス形状に変更
*/
.p-aboutus-president-quote-area {
  margin: 2rem 0;
  padding: 25px 15px; /* スマホ用に左右余白を最適化 */
  background: #f4f8f7;
  border-left: none; /* 左の線は不要 */
  border-radius: 8px; /* 角丸を左右対称に */
  box-sizing: border-box;
  width: 100%;
  box-shadow: none;
  text-align: center;
}

/* 導入の「AI時代において〜」 */
.p-aboutus-president-slogan-intro {
  margin: 0 0 12px 0;
  color: #555555;
  font-size: 0.85rem;
  line-height: 1.6;
  font-weight: normal;
  text-align: center;
}

/* スローガン外枠 */
.p-aboutus-president-slogan {
  background: transparent;
  padding: 0;
  margin: 0 0 15px 0;
  box-shadow: none;
  width: 100%;
  text-align: center;
}

/* スローガンテキスト「私がガンバレば〜」 
   ★不要なクォーテーションを廃止し、フォントサイズと行間をスッキリ読みやすく調整
*/
.p-aboutus-president-slogan,
.p-aboutus-president-slogan p {
  font-size: 1.05rem;
  font-weight: bold;
  color: #142f40;
  line-height: 1.7; /* 行間を広げて視認性をアップ */
  letter-spacing: 0.04em;
  margin: 0;
  display: inline-block;
  word-break: keep-all; /* 文脈の途中で中途半端に改行されるのを抑止 */
  overflow-wrap: anywhere;
}

/* 行動基準「私たちはこの行動基準を〜」 */
.p-aboutus-president-footer {
  margin: 0;
  font-weight: bold;
  color: #222222;
  font-size: 0.85rem;
  line-height: 1.6;
  text-align: center;
  letter-spacing: 0.02em;
}

/* 最後の結びの挨拶「皆様のご理解と〜」 */
.p-aboutus-president-after {
  margin-top: 1.5rem;
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 2;
  font-weight: normal;
  color: #444444;
  text-align: left;
}
/* 写真・署名エリア */
.p-aboutus-president-figure {
  width: 100%;
  max-width: 160px;
  margin-bottom: 20px;
  flex-shrink: 0;
}

/* 枠を 160px × 200px 固定にし、画像を引き伸ばさない */
.p-aboutus-president-photo {
  width: 160px;
  height: 200px;
  margin: 0 auto;
  background: #eae5dc;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid #dfd8cb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

/* 枠内の画像調整 */
.p-aboutus-president-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.p-aboutus-president-meta {
  margin-top: 15px;
  text-align: center;
}

.p-aboutus-president-role {
  font-size: 0.8rem;
  color: #666;
  display: block;
  margin-bottom: 4px;
}

.p-aboutus-president-name {
  font-size: 1.2rem;
  color: #142f40;
  letter-spacing: 0.1em;
  font-weight: bold;
}

/* ==============================================================================
   5. メディアクエリ（レスポンシブ対応）
   ============================================================================== */
@media screen and (max-height: 500px) and (orientation: landscape) {
  /* スマホ横向き用の調整があればここに追記 */
}

@media screen and (min-width: 768px) and (min-height: 501px) {
  .p-aboutus-section--mvv {
    padding: 50px 40px;
  }

  .p-aboutus-mvv-box {
    text-align: center;
  }

  .p-aboutus-mvv-title {
    display: inline-block;
  }

  .p-aboutus-mvv-sub {
    margin-top: -10px;
    margin-bottom: 20px;
  }

  .p-aboutus-mvv-lead {
    font-size: 1.2rem;
    line-height: 2;
    margin: 0 auto 15px auto;
  }

  .p-aboutus-president-card {
    padding: 60px 50px;
  }

  .p-aboutus-president-flex {
    flex-direction: row;
    align-items: flex-start;
    gap: 50px;
  }

  .p-aboutus-president-body {
    flex: 1;
  }

  /* PCやタブレット幅になっても写真エリアを160pxに保つ */
  .p-aboutus-president-figure {
    width: 160px;
    max-width: 160px;
    margin-bottom: 0;
    /* position: sticky; */
    top: 20px;
  }

  /* 縦横比を歪ませないように高さを 200px に固定 */
  .p-aboutus-president-photo {
    width: 160px;
    height: 200px;
  }

  /* PC環境ではスローガンをダイナミックかつ綺麗に1行表示させる */
  .p-aboutus-president-quote-area {
    padding: 35px 30px;
  }

  .p-aboutus-president-slogan-intro {
    font-size: 0.95rem;
  }

  .p-aboutus-president-slogan,
  .p-aboutus-president-slogan p {
    font-size: 1.35rem;
    line-height: 1.6;
  }

  .p-aboutus-president-footer {
    font-size: 1rem;
  }
}

@media screen and (min-width: 1024px) and (min-height: 501px) {
  .p-aboutus-president-flex {
    gap: 60px;
  }
}
