/* --- Philosophy ページ基本思想 --- */
.colorresta-philosophy {
  font-family: "Zen Maru Gothic", sans-serif;
  color: #333;
  line-height: 2.2;
  letter-spacing: 0.05em;
}

.container-1200 { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.container-1100 { max-width: 1100px; margin: 0 auto; padding: 0 20px; }


.ph-page-title {
  font-size: 38px;
  font-weight: 500;
  display: flex;
  align-items: center;
}
.ph-sub { font-size: 14px; margin-left: 15px; font-weight: 400; color: #666; }

/* MISSION / VISION / VALUE */
.ph-core-section { padding: 0px 0 80px; text-align: center; }
.ph-concept-block { padding: 50px 0; }
.ph-label { display: block; font-size: 18px; color: #dbc6c9; letter-spacing: 0.1em; margin-bottom: 10px; font-weight: 700;}
.ph-concept-lead { font-size: 28px; font-weight: 700; line-height: 1.6; margin-bottom: 0px; font-family: serif; letter-spacing: 5px;}

.ph-vertical-line {
  width: 2px;
  height: 100px;
  background-color: #212121;
  margin: 0 auto;
}

.ph-vision-list-wrap {
  max-width: 600px;
  margin: 80px auto 0;
  text-align: left;
}
.ph-vision-item {
  display: flex;
  margin-bottom: 50px;
  gap: 10px;
}
.ph-vision-num {
  font-size: 30px;
  color: #dbc6c9;
  font-weight: 700;
  line-height: 1.5;
  flex-shrink: 0;
  width: 40px;
}
.ph-vision-body h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.ph-vision-body p { font-size: 18px; color: #444; }

/* VALUE テキストエリア */
.ph-value-text-area{ padding-top: 80px; font-size: 18px;}
.ph-value-text-area p { margin-bottom: 30px; }

/* 行動指針（画像に忠実なリスト形式） */
.ph-guideline-section {
  background-color: #f4f8f9;
  padding: 120px 0;
}
.ph-section-heading {
  text-align: center;
  font-size: 24px;
  margin-bottom: 80px;
  font-weight: 700;
}
.ph-guide-list {
  max-width: 600px;
  margin: 0 auto;
}
.ph-guide-row {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 60px;
}
.ph-guide-icon {
  width: 80px;
  flex-shrink: 0;
}
.ph-guide-icon img { width: 100%; height: auto; opacity: 0.8; }
.ph-guide-content h3 {
  font-size: 20px;
  color: #b1b48d;
  font-weight: 700;
  margin-bottom: 12px;
}
.ph-guide-content p { font-size: 16.5px; line-height: 1.8; }

/* スマホ対応 */
@media (max-width: 768px) {
  .ph-concept-lead{font-size: 25px;}
  .ph-guide-row { flex-direction: column; align-items: center; text-align: center; }
  .ph-vision-item { gap: 15px; }
}

/* Philosophy ヘッダーエリア */
.ph-page-header {
  width: 100%;
  height: 480px; 
  background: url('../img/sky-image.jpg') no-repeat center center / cover;
  display: flex;
  align-items: flex-start; /* 上寄せ */
  padding-top: 100px;
  font-family: "Zen Maru Gothic", sans-serif;
}

.ph-page-header-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.ph-page-title-wrap {
  display: flex;
  align-items: center; /* 縦方向中央揃えでラインと並べる */
  gap: 20px;
}

.ph-page-title {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #333;
  margin: 0;
}

.ph-page-subtitle {
  font-size: 13px;
  color: #333;
  font-weight: 400;
  white-space: nowrap;
  margin-left: 10px;
}

/* タイトル横のライン */
.ph-page-title-line {
  height: 1px;
  background-color: #333;
  flex-grow: 1;
  margin-top: 8px;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .ph-guideline-section{
    padding: 100px 0;
  }
  .ph-page-header {
    height: 300px;
    padding-top: 60px;
  }
  .ph-page-title {
    font-size: 32px;
  }
  .ph-page-title-line {
    /* モバイルではラインを短くするか非表示にする場合はここで調整 */
  }
}

/* ロゴStoryから下の専用スタイル */
.ph-page-bottom {
    font-family: "Zen Maru Gothic", sans-serif;
    color: #333;
    line-height: 2.3;
    letter-spacing: 0.05em;
}

.container-1100 {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Logo Story --- */
.ph-logo-story {
    background-color: #fff;
    padding: 100px 0;
    text-align: center;
}

.ph-logo-visual {
    margin-bottom: 40px;
}

.ph-logo-visual img {
    width: 150px;
    height: auto;
    margin-bottom: 10px;
}

.ph-logo-name {
    font-size: 18px;
    color: #888;
    letter-spacing: 0.2em;
}

.ph-logo-title-area {
    max-width: 520px;
    margin: 0 auto 60px;
    text-align: left;
}

.ph-logo-content{
    text-align: left;
    max-width: 520px;
    margin: auto;
}

.ph-logo-en {
    font-size: 36px;
    font-weight: 700;
    color: #b2c0be;
    display: inline-block;
    margin-right: 15px;
}

.ph-logo-jp {
    font-size: 14px;
    color: #333;
}

.ph-logo-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 40px;
    font-family: sans-serif;
}

.ph-logo-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* --- Company (背景薄グレー) --- */
.ph-company {
    background-color: #f4f8f9;
    padding: 120px 0 150px;
}

.ph-company-title-area {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
}

.ph-company-en {
    font-size: 38px;
    font-weight: 500;
    margin: 0;
}

.ph-company-jp {
    font-size: 14px;
    margin: 10px 30px 0;
    white-space: nowrap;
}

.ph-company-line {
    height: 1px;
    background-color: #333;
    max-width: 150px;
    width: 100%;
}

/* Table Design */
.ph-company-table-wrap table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

.ph-company-table-wrap th {
    width: 20%;
    text-align: left;
    padding: 25px 0;
    border-top: 1px solid #000;
    font-size: 16px;
    font-weight: 700;
    vertical-align: top;
}

.ph-company-table-wrap td {
    padding: 25px 0;
    border-top: 1px solid #000;
    font-size: 15px;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .ph-company{
    padding: 100px 0;
  }
    .ph-company-title-area {
        flex-direction: column;
        align-items: flex-start;
    }
    .ph-company-line { display: none; }
    .ph-company-table-wrap th { width: 25%; }
}


/* --- 沿革セクション専用スタイル --- */
.ph-history-section {
    padding: 100px 0;
    background-color: #fff;
    font-family: "Zen Maru Gothic", sans-serif;
}

.ph-section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 80px;
    text-align: left; /* 画像に合わせて左寄せ */
}

.ph-history-list {
    max-width: 900px;
    margin: 0 auto;
}

.ph-history-row {
    display: flex;
    position: relative;
    margin-bottom: 100px; /* 各年ごとの余白 */
    align-items: flex-start;
}

/* 左側の大きな背景年数 */
.ph-history-year-bg {
    font-size: 100px;
    font-weight: 700;
    color: #ebecf6;
    line-height: 1;
    position: absolute;
    left: -50px;
    top: 0px;
    z-index: 1;
    letter-spacing: 0.05em;
    user-select: none;
    /* 縦書きのようなニュアンスを出す場合はここを調整 */
    writing-mode: vertical-rl;
    transform: rotate(0deg);
    opacity: 0.8;
}

.ph-history-content {
    position: relative;
    z-index: 2;
    padding-left: 100px; /* 背景年数との重なりを調整 */
}

.ph-history-year-label {
    display: block;
    font-size: 24px;
    color: #57777d;
    font-weight: 700;
    margin-bottom: 10px;
}

.ph-history-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #57777d; 
    margin-bottom: 15px;
}

.ph-history-content p {
    font-size: 14.5px;
    line-height: 2;
    color: #333;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .ph-history-year-bg {
        font-size: 60px;
        left: -20px;
    }
    .ph-history-content {
        padding-left: 60px;
    }
    .ph-history-row {
        margin-bottom: 60px;
    }
    .ph-history-year-label{
      line-height: 20px;
    }
}

/* ベース：Zen Maru Gothic */
.member-intro-section {
  font-family: "Zen Maru Gothic", sans-serif;
  color: #333;
  padding: 100px 0;
  line-height: 1.8;
}

.container-1200 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ヘッダータイトル：横棒付き */
.member-header-title {
  display: flex;
  align-items: end;
  margin-bottom: 80px;
}
.member-header-title .en { font-size: 38px; font-weight: 500; margin: 0; line-height: 1;}
.member-header-title .jp { font-size: 14px; margin: 0 20px; white-space: nowrap; }
.member-header-title .header-line { height: 1px; background-color: #333; margin-bottom: 10px; max-width: 150px; width: 100%;}

/* メンバー行のレイアウト */
.member-item-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 150px;
  gap: 60px;
  align-items: flex-start;
  margin-top: 210px;
}
.member-item-row.is-reverse { flex-direction: row-reverse; }
.member-photo-col { width: 40%; }
.member-photo-col img { width: 100%; height: auto; border-radius: 15px; }
.member-profile-col { width: 55%; }

/* 名前エリア：縦並びを画像通りに再現 */
.member-name-block {
  margin-bottom: 60px;
  margin-top: -170px;
}
.member-name-block .role {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}
.member-name-block .name {
  font-size: 32px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.15em;
  display: flex;
  flex-direction: column; /* 縦並びにする */
  line-height: 1.2;
}
.member-name-block .en-name {
  font-size: 14px;
  color: #71888a; /* 拡大画像のオリーブグレー */
  font-weight: 700;
  margin-top: 8px; /* 日本語との間隔 */
  letter-spacing: 0.05em;
}

/* タイムライン：二重ドットと縦ラインの連結 */
.timeline-container {
  position: relative;
  padding-left: 120px; /* 西暦の表示幅 */
}

/* 縦のメインライン */
.timeline-container::before {
  content: "";
  position: absolute;
  left: 137px; /* 西暦幅120px + 二重円の中心位置 */
  top: 15px;
  bottom: 73px;
  width: 2px;
  background-color: #71888a;
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
}

/* 西暦：ドットの真横 */
.timeline-item .year {
  position: absolute;
  left: -120px;
  width: 100px;
  font-size: 24px; /* 拡大画像サイズ */
  color: #71888a;
  font-weight: 500;
  text-align: right;
  top: -4px;
  letter-spacing: 0;
}

/* 外側の薄い大きな円 (◯) */
.timeline-item::before {
  content: "";
  position: absolute;
  left: 6px; 
  top: 6px;
  width: 18px;
  height: 18px;
  background-color: rgba(113, 136, 138, 0.25); /* 透明度のある薄いグレー */
  border-radius: 50%;
  z-index: 1;
  transform: translateX(3px); /* ラインに中心を合わせる */
}

/* 内側の濃い小さな点 (●) */
.timeline-item::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  width: 10px;
  height: 10px;
  background-color: #71888a;
  border-radius: 50%;
  z-index: 2;
  transform: translateX(3px);
}

.timeline-item .content {
  padding-left: 45px;
}

.history-title {
  font-size: 18px;
  font-weight: 700;
  color: #71888a;
  margin: 0 0 10px;
}

.history-desc {
  font-size: 14px;
  color: #444;
  margin: 0;
  line-height: 1.8;
}

/* レスポンシブ */
@media (max-width: 960px) {
  .member-item-row, .member-item-row.is-reverse {
    flex-direction: column;
    gap: 40px;
  }
  .member-item-row{
    margin-top: 100px;
    margin-bottom: 50px;
  }
  .member-photo-col, .member-profile-col { width: 100%; }
  .member-profile-col { padding-left: 0; }
  .member-name-block{padding-left: 10px;filter: drop-shadow(3px 4px 1px #fff);}
  .timeline-container { padding-left: 70px; }
  .timeline-container.staff1::before { left: 87px; bottom: 133px;}
  .timeline-container.staff2::before { left: 87px; bottom: 163px;}
  .timeline-item .year { left: -100px; width: 80px; font-size: 18px; }
}

/* --- Message全体の設計 --- */
.ph-message-full {
    width: 100%;
    font-family: "Zen Maru Gothic", sans-serif;
    color: #333;
}

.container-1200 { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.container-1100 { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* 1. 背景画像エリア（画面100%） */
.ph-message-mv-bg {
    width: 100%;
    height: 750px; /* 画像の高さ。人物の頭が切れないよう調整 */
    background-image: url('../img/message-bg.jpg'); 
    background-size: cover;
    background-position: center; /* 必要に応じて left center 等に調整 */
    background-repeat: no-repeat;
    position: relative;
    padding-top: 220px; /* タイトルの上余白 */
}

/* 2. タイトルの右側に線を引く（Flexbox） */
.ph-message-header {
    display: flex;
    align-items: center; 
    width: 100%;
}

.ph-title-group {
    display: flex;
    align-items: baseline; /* アルファベットと日本語の底を揃える */
    flex-shrink: 0;
    align-items: center;
}

.ph-page-title {
    font-size: 42px;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.02em;
}

.ph-page-subtitle {
font-size: 16px;
    margin-top: 10px;
    margin-left: 20px;
    white-space: nowrap;
}

/* ここが右に伸びるライン */
.ph-page-title-line {
    height: 1px;
    background-color: #333;
    flex-grow: 1; /* 残りの右側スペースを全て線にする */
    margin-left: 30px;
    margin-top: 4px; /* ベースラインに合わせる微調整 */
}

/* 3. 背景の上のテキスト位置調整 */
.ph-message-overlay-content {
    max-width: 500px;
    margin-left: 50%; /* 人物を避けて右側に寄せる（アセット6準拠） */
    text-align: left;
}

.ph-message-overlay-content .catch-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 35px;
    letter-spacing: 0.1em;
}

.ph-message-overlay-content .catch-text {
    font-size: 18px;
    line-height: 2.2;
    font-weight: 800;
}

/* 4. 本文エリアの「間」の再現 */
.ph-message-body-wrap {
    padding: 120px 0;
    text-align: center;
}

.body-lead {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 80px;
}

.body-text-content p {
    font-size: 18px;
    line-height: 2.2;
    margin-bottom: 50px;
}

.body-highlight { font-weight: 700; }

.ph-message-signature { font-size: 12px; margin-top: 100px; }
.ph-message-signature .name {  font-weight: 700;}

/* スマホ対応：重なりを解消 */
@media (max-width: 960px) {
  .container-1200 {
    padding: 0 30px;
  }
  .ph-message-overlay-content .catch-title{
    font-size: 25px;
  }
  .ph-message-overlay-content .ph-page-title{
    font-size: 35px;
  }
    .ph-message-mv-bg { height: auto; padding-bottom: 60px; background-position: -80vw bottom;}
    .ph-message-overlay-content {
        margin-left: 0;
        max-width: 100%;
        background: rgba(255,255,255,0.8); /* 可読性確保 */
        padding: 40px 20px;
        margin-top: 50px;
    }
    .ph-page-title-line { display: none; }
    .body-lead {font-size: 19px;}
    .ph-message-signature {
      font-size: 16px;
      margin-top: 80px;
    }
}