@charset "UTF-8";

/* =========================================================
   [ About Page ] Hero Section
========================================================= */
.about-hero-section {
  background-color: #ffffff;
  padding: 110px 0 150px; 
  display: flex;
  justify-content: center;
  width: 100%;
}

.about-hero-inner {
  width: 90%;
  max-width: 912px; /* 画像の最大幅（Figma指定）に合わせる */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- ヘッダー（タイトル） --- */
.about-hero-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  margin-bottom: 95px; /* 画像までの余白 */
}

.about-hero-title {
  color: #1F1F1F;
  font-family: 'Marcellus', serif;
  font-size: 69px;
  font-weight: 400;
  margin: 0;
  line-height: 1;
}

.about-hero-subtitle {
  color: #1F1F1F;
  font-family: 'Zen Old Mincho', serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.8; /* 45px / 25px */
  margin: 0;
  text-align: center;
}

/* --- メイン画像 --- */
.about-hero-image {
  width: 100%;
  margin-bottom: 63px; /* テキストまでの余白 */
}

.about-hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 912 / 370; /* Figmaの比率を維持 */
  object-fit: cover;
}

/* --- リードテキスト --- */
.about-hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  width: 100%;
  max-width: 728px;
}

.about-hero-text p {
  color: #1F1F1F;
  font-family: 'Zen Old Mincho', serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 2.125; /* 34px / 16px */
  text-align: center;
  margin: 0;
}


/* =========================================================
   [ スマホ対応 ] レスポンシブ調整
========================================================= */
@media (max-width: 768px) {
  .about-hero-section {
    padding: 80px 0 100px;
  }
  
  .about-hero-header {
    gap: 30px;
    margin-bottom: 50px;
  }
  
  .about-hero-title {
    font-size: 40px;
  }
  
  .about-hero-subtitle {
    font-size: 18px;
  }
  
  .about-hero-image {
    margin-bottom: 40px;
  }

  .about-hero-image img {
    aspect-ratio: 16 / 9; /* スマホでは細くなりすぎないよう比率を調整 */
  }
  
  .about-hero-text {
    gap: 24px;
  }
  
  .about-hero-text p {
    font-size: 14px;
    line-height: 2;
    text-align: left; /* スマホの狭い画面では左揃えの方が見やすいため調整 */
  }
}


/* =========================================================
   [ About Page ] Story Sections
========================================================= */
.about-story-section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 100px 0; 
  background-color: #ffffff;
  overflow: hidden; /* 装飾がはみ出ないようにする */
}

.about-story-inner {
  width: 90%;
  max-width: 1300px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* 左右の配置切り替え用クラス */
.about-story-inner.layout-text-left {
  flex-direction: row;
}
.about-story-inner.layout-text-right {
  flex-direction: row-reverse;
}

/* --- 十字（クロス）装飾 --- */
.story-cross {
  position: absolute;
  width: 132px;
  height: 58px;
  z-index: 1;
  pointer-events: none;
}

.story-cross::before, 
.story-cross::after {
  content: ""; 
  position: absolute; 
  background-color: #A9A9A9;
}

/* 十字の横線（共通） */
.story-cross::before { 
  top: 29px; 
  left: 0; 
  width: 100%; 
  height: 1px; 
}

/* 十字の縦線（共通の高さ指定） */
.story-cross::after { 
  top: 0; 
  width: 1px; 
  height: 100%; 
}

/* 上下の配置（コンテナの上下の角に配置） */
.cross-top {
  top: -30px; 
}
.cross-bottom {
  bottom: -30px;
}

/* --- テキスト左配置（layout-text-left）の時の装飾と余白 --- */
.layout-text-left .story-cross {
  left: -40px; /* 左の外側に少し出す */
}
.layout-text-left .story-cross::after {
  left: 29px; /* 縦線を左から29pxに */
}
.layout-text-left .story-text-area {
  padding-left: 80px; 
  padding-right: 0;
}

/* --- テキスト右配置（layout-text-right）の時の装飾と余白 --- */
.layout-text-right .story-cross {
  right: -40px; /* 右の外側に少し出す */
}
.layout-text-right .story-cross::after {
  right: 29px; /* 縦線を右から29pxに（左右反転） */
  left: auto;
}
.layout-text-right .story-text-area {
  padding-right: 80px;
  padding-left: 0;
}

/* --- テキストエリア共通 --- */
.story-text-area {
  flex: 1;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.story-text {
  color: #1F1F1F;
  font-family: 'Zen Old Mincho', serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 2.125;
  margin: 0;
}

/* --- 画像エリア --- */
.story-image-area {
  flex: 1;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.story-image-area img {
  width: 100%;
  max-width: 455px; /* Figmaの画像幅 */
  height: auto;
  object-fit: cover;
  padding: 10px; /* Figmaで指定されていた余白 */
}


/* =========================================================
   [ スマホ対応 ] レスポンシブ調整（Story Section）
========================================================= */
@media (max-width: 768px) {
  .about-story-section {
    padding: 30px 0;
  }

  /* --- コンテナの並び順と余白調整 --- */
  .about-story-inner,
  .about-story-inner.layout-text-left,
  .about-story-inner.layout-text-right {
    /* flex-direction: column-reverse で「画像が上・テキストが下」に入れ替えます */
    flex-direction: column-reverse;
    gap: 40px;
    /* 十字装飾を非表示にしたため、装飾回避用の余白(旧80px)は撤去 */
    padding: 0; 
  }

  /* --- 十字（クロス）装飾：スマホでは非表示（代わりに会社概要との境界線を使用）--- */
  .story-cross {
    display: none;
  }
  
  /* 1つ目・3つ目（左配置） */
  .layout-text-left .story-cross {
    left: 10px; 
    right: auto;
  }
  .layout-text-left .story-cross::after {
    left: 29px; 
    right: auto;
  }

  /* 2つ目（右配置） */
  .layout-text-right .story-cross {
    right: 10px; /* スマホ画面の右端に配置 */
    left: auto;
  }
  .layout-text-right .story-cross::after {
    right: 29px; /* 縦線の位置も右基準に反転 */
    left: auto;
  }

  .cross-top {
    top: 0; 
  }

  .cross-bottom {
    bottom: 0; 
  }
  /* --- テキストエリア --- */
  .layout-text-left .story-text-area,
  .layout-text-right .story-text-area {
    padding-left: 0; 
    padding-right: 0;
    width: 100%;
  }

  /* Story本文はスマホで14px（先方指示） */
  .story-text {
    font-size: 14px;
  }

  /* --- 画像エリア --- */
  .story-image-area {
    width: 100%;
  }

  .story-image-area img {
    max-width: 100%; 
    padding: 0;
  }
}


/* =========================================================
   [ About Page ] Company Profile Section
========================================================= */
.company-profile-section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 100px 0 150px 0; /* 下に余裕を持たせる */
  background-color: #ffffff;
}

.company-profile-inner {
  width: 90%;
  max-width: 1000px; /* Figma指定の最大幅 */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- ヘッダー（タイトル） --- */
.company-profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 85px;
}

.company-title-en {
  color: #1F1F1F;
  font-family: 'Marcellus', serif;
  font-size: 40px;
  font-weight: 400;
  margin: 0;
  line-height: 1;
}

.company-title-ja {
  color: #737373; /* Figma指定のやや薄いグレー */
  font-family: 'Zen Old Mincho', serif;
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}

/* --- リスト（表）部分 --- */
.company-list {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.company-row {
  width: 100%;
  display: flex;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid #D9D9D9;
  gap: 40px;
}

.company-row dt {
  width: 190px;
  flex-shrink: 0; /* 左側が縮まないように固定 */
  color: #1F1F1F;
  font-family: 'Zen Old Mincho', serif;
  font-size: 14px;
  font-weight: 500; /* 見出しは太字 */
  line-height: 1.9;
  margin: 0;
}

.company-row dd {
  flex: 1; /* 残りの幅をすべて使う */
  color: #1F1F1F;
  font-family: 'Zen Old Mincho', serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
  margin: 0;
}

/* リンクテキストのスタイル */
.company-link {
  color: #1F1F1F;
  text-decoration: underline;
  text-underline-offset: 3px; /* 下線と文字の隙間を少し開ける */
  transition: opacity 0.3s ease;
}

.company-link:hover {
  opacity: 0.6;
}


/* =========================================================
   [ スマホ対応 ] レスポンシブ調整（Company Profile）
========================================================= */
@media (max-width: 768px) {
  .company-profile-section {
    padding: 80px 0 100px 0;
    border-top: 1px solid #E5E5E5; /* スマホ時：Storyと会社概要の境界線（十字装飾の代替）*/
  }

  .company-profile-header {
    margin-bottom: 50px;
  }

  .company-title-en {
    font-size: 32px; /* スマホ用に縮小 */
  }

  .company-title-ja {
    font-size: 14px;
  }

  /* 行を縦積みに変更 */
  .company-row {
    flex-direction: column;
    gap: 8px; /* 見出しと内容の隙間を詰める */
    padding: 20px 0;
  }

  .company-row dt,
  .company-row dd {
    width: 100%; /* 横幅いっぱいに広げる */
  }

  .company-row dt {
    color: #737373; /* スマホ時は見出しの色を少し薄くしてメリハリをつける */
  }
}

/* ※ Story本文リビールは common.css の汎用 .js-reveal-lines に統合済み */
