@charset "UTF-8";

/* ====================================
   Variables & Common Settings
   ==================================== */
:root {
  --color-text: #333;
  --color-green-marker: #4a8b42; /* アーカイブページ等の緑色 */
  --color-bg-gray: #3c4649;      /* 写真後ろの濃いグレー */
  --font-brush: "Brush Script MT", cursive; /* 筆記体フォント */
  --font-serif: "YuMincho", "Hiragino Mincho ProN", serif; /* 署名用明朝体 */
}

.inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  box-sizing: border-box;
}

/* ====================================
   Main Visual (Hero)
   ==================================== */
.p-company-mv {
  width: 100%;
  margin-bottom: 0;
  line-height: 0;
}

.p-company-mv__img img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

/* ====================================
   Header Area (Title & Breadcrumb)
   ==================================== */
.p-company-header-area {
  padding-top: 20px;
  margin-bottom: 60px;
}

.p-company-title {
  display: inline-block;
  margin-top: -50px; /* 画像に被せる */
  position: relative;
  z-index: 10;
  margin-bottom: 20px;
}

.p-company-title .en {
  display: block;
  font-family: var(--font-brush);
  font-size: 4rem; /* 64px相当 */
  line-height: 0.8;
  color: #000;
  font-weight: normal;
  
  /* 左寄せの緑マーカー */
  background: linear-gradient(to top, var(--color-green-marker) 40%, transparent 40%);
  display: inline;
  padding: 0 5px;
  box-decoration-break: clone;
}

.p-company-title .jp {
  display: block;
  font-size: 0.875rem; /* 14px */
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-top: 15px;
  color: #000;
  margin-left: 5px;
}

.p-company-breadcrumb {
  font-size: 12px;
  color: #333;
}
.p-company-breadcrumb a {
  text-decoration: none;
  color: #333;
}

/* ====================================
   Greeting Section
   ==================================== */
.p-greeting {
  position: relative;
  padding-bottom: 120px; /* 背景画像エリア確保 */
  overflow: hidden; /* はみ出した背景画像をカット */
}

/* --- 背景装飾画像 --- */
.p-greeting__bg-left,
.p-greeting__bg-right {
  position: absolute;
  z-index: -1; /* コンテンツの下 */
  pointer-events: none; /* クリックを邪魔しない */
  opacity: 0.6; /* 薄くしたい場合調整 */
}

.p-greeting__bg-left {
  bottom: 0;
  left: 0;
  width: 25%; /* 画面幅に応じたサイズ感 */
  max-width: 300px;
}

.p-greeting__bg-right {
  bottom: 0;
  right: 0;
  width: 30%; /* 少し大きめ */
  max-width: 400px;
}

.p-greeting__bg-left img,
.p-greeting__bg-right img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- 見出し --- */
.p-section-heading {
  text-align: center;
  margin-bottom: 60px;
}

.p-section-heading__title .en {
  font-family: var(--font-brush);
  font-size: 3rem;
  color: #000;
  line-height: 1;
  font-weight: normal;
  
  /* 中央マーカー */
  background: linear-gradient(to top, var(--color-green-marker) 40%, transparent 40%);
  display: inline;
  padding: 0 10px;
}

.p-section-heading__title .jp {
  display: block;
  font-size: 0.875rem;
  font-weight: bold;
  margin-top: 10px;
  letter-spacing: 0.1em;
}

/* --- レイアウト (Flex) --- */
.p-greeting__content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

/* --- テキストエリア --- */
.p-greeting__text-area {
  flex: 1;
  padding-top: 10px;
}

.p-greeting__text {
  font-size: 1rem;
  line-height: 2.2; /* 行間広め */
  margin-bottom: 30px;
  text-align: justify;
  font-weight: 500;
}

/* 署名 */
.p-greeting__sign {
  margin-top: 60px;
  text-align: right; /* 画像のレイアウトに合わせて右寄せ、または中央 */
  font-family: var(--font-serif);
  padding-right: 20px;
}

.p-greeting__sign .job {
  font-size: 1rem;
  margin-right: 15px;
  vertical-align: middle;
}

.p-greeting__sign .name {
  font-size: 2rem; /* 名前を大きく */
  font-weight: bold;
  vertical-align: middle;
  /* 手書き風フォントがあればここで指定 */
}

/* --- 画像エリア --- */
.p-greeting__img-area {
  flex: 0 0 380px;
  position: relative;
  /* 影がはみ出す分の余白 */
  padding-right: 30px; 
  padding-bottom: 30px;
}

.p-greeting__img-wrap {
  position: relative;
  z-index: 2;
}

.p-greeting__img-wrap img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* 画像右下の濃いグレーの背景 */
.p-greeting__img-wrap::after {
  content: "";
  position: absolute;
  top: 60px;
  left: 60px;
  width: 100%;
  height: 100%;
  background-color: var(--color-bg-gray);
  border-radius: 12px;
  z-index: -1;
}

/* ====================================
   Responsive (SP)
   ==================================== */
@media (max-width: 768px) {
  .p-company-title .en {
    font-size: 3rem;
  }
  
  .p-greeting__content {
    flex-direction: column-reverse; /* 画像上、テキスト下 */
    gap: 50px;
  }

  .p-greeting__img-area {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    flex: auto;
    padding-right: 20px; /* SP時の影スペース調整 */
  }
  
  .p-greeting__img-wrap::after {
    top: 30px;
    left: 30px;
  }

  .p-greeting__text {
    font-size: 0.95rem;
  }

  .p-greeting__sign {
    text-align: center;
    margin-top: 40px;
    padding-right: 0;
  }

  /* SPでの背景画像調整 */
  .p-greeting__bg-left,
  .p-greeting__bg-right {
    opacity: 0.3; /* 文字と被る場合は薄くする */
  }
}

/* ====================================
   Outline
   ==================================== */

/* ====================================
   Outline Section
   ==================================== */
.p-outline {
  background-color: #eaeaea; /* デザインに合わせた薄いグレー */
  padding-top: 60px;
  padding-bottom: 80px;
  width: 100%;
}

/* テーブル全体のスタイル */
.p-outline__table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid #ccc; /* 上の線 */
  font-size: 0.95rem;
}

.p-outline__table th,
.p-outline__table td {
  padding: 24px 20px; /* セルの余白 */
  border-bottom: 1px solid #ccc; /* 下の線 */
  text-align: left;
  line-height: 1.6;
}

/* 見出しセル（左側） */
.p-outline__table th {
  width: 25%; /* 幅の目安 */
  min-width: 120px;
  font-weight: bold;
  vertical-align: top; /* 上揃え */
  color: #333;
}

/* データセル（右側） */
.p-outline__table td {
  width: 75%;
  color: #333;
  font-weight: 500;
}

.p-outline__table .tel-num {
  font-family: inherit; /* 数字フォント指定があればここへ */
}


/* ====================================
   Responsive (SP)
   ==================================== */
@media (max-width: 768px) {
  .p-outline {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  /* SP時は縦積みに変更する場合 */
  .p-outline__table th,
  .p-outline__table td {
    display: block;
    width: 100%;
    border-bottom: none; /* 縦積みの中間の線は消す */
    padding: 10px 15px;
  }

  .p-outline__table th {
    padding-top: 20px;
    padding-bottom: 5px;
    background-color: transparent;
  }
  
  .p-outline__table td {
    padding-top: 0;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc; /* 区切りの線 */
  }
  
  /* 最初のボーダー調整 */
  .p-outline__table tr:first-child th {
    border-top: none;
  }
}





/* ====================================
   Certification
   ==================================== */
/* ====================================
   Certification Section
   ==================================== */
.p-certification {
  background-color: #fff;
  padding-bottom: 80px;
}

.p-certification__list {
  display: flex;
  justify-content: center;
  gap: 30px; /* PCでのカラム間隔 */
}

.p-certification__item {
  flex: 1; /* 3等分 */
  border: 1px solid #ccc; /* グレーの枠線 */
  border-radius: 6px;
  padding: 40px 20px 30px; /* 上余白を多めにとってタイトルと被らないように調整 */
  position: relative;
  text-align: center;
  background-color: #fff;
  box-sizing: border-box;
  margin-top: 20px; /* タイトルがはみ出す分の余白確保 */
}

/* 枠線に乗るタイトル */
.p-certification__item-title {
  position: absolute;
  top: -18px; /* 枠線より上にずらす */
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff; /* 背景を白にして枠線を隠す */
  padding: 0 15px; /* 文字左右の余白（枠線を隠す幅） */
  
  color: #f6a313; /* オレンジ色（既存のテーマカラーに合わせて調整） */
  font-size: 1.25rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  white-space: nowrap;
  line-height: 1.2;
}

/* リスト部分 */
.p-certification__item-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left; /* テキストは左揃え */
}

.p-certification__item-list li {
  border-bottom: 1px solid #ddd;
  padding: 12px 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

/* 最後の線は消す場合 */
/* .p-certification__item-list li:last-child {
  border-bottom: none;
} */


/* ====================================
   Responsive (SP)
   ==================================== */
@media (max-width: 768px) {
  .p-certification__list {
    flex-direction: column; /* 縦積み */
    gap: 40px;
  }
  
  .p-certification__item {
    width: 100%;
    max-width: 400px; /* 見やすさのため幅制限 */
    margin: 20px auto 0; /* 中央寄せ */
  }
}





/* ====================================
   Area Section
   ==================================== */
/* ====================================
   Area Section
   ==================================== */
.p-area {
  background-color: #eaeaea; /* 薄いグレー背景 */
  padding-top: 60px;
  padding-bottom: 80px;
  text-align: center;
}

.p-area__content {
  max-width: 800px;
  margin: 0 auto;
}

/* 説明文 */
.p-area__desc {
  font-size: 1rem;
  line-height: 1.8;
  font-weight: bold;
  margin-bottom: 40px;
  color: #333;
}

/* マップ画像エリア */
.p-area__map {
  margin-bottom: 30px;
  /* 画像自体に少し影をつける場合（デザインによる） */
  filter: drop-shadow(0 5px 15px rgba(0,0,0,0.05));
}

.p-area__map img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto; /* 中央寄せ */
}

/* 注釈 */
.p-area__note {
  font-size: 0.85rem;
  font-weight: bold;
  color: #333;
  margin-top: 20px;
}

/* ====================================
   Responsive (SP)
   ==================================== */
@media (max-width: 768px) {
  .p-area {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .p-area__desc {
    font-size: 0.9rem;
    text-align: left; /* スマホでは左揃えの方が見やすい場合がある */
    padding: 0 10px;
  }
  
  .p-area__desc br {
    display: none; /* スマホでは改行を無効化 */
  }

  .p-area__note {
    font-size: 0.75rem;
    text-align: left;
    padding: 0 10px;
  }
}




/* ====================================
   Responsive (SP)
   ==================================== */
@media (max-width: 768px) {
  .p-area {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .p-area__desc {
    font-size: 0.9rem;
    text-align: left; /* SPでは左揃えの方が読みやすい場合が多い */
  }

  .p-area__note {
    font-size: 0.75rem;
    text-align: left;
  }
}






/* ====================================
   Staff
   ==================================== */
/* ====================================
   Staff Section
   ==================================== */
.p-staff {
  background-color: #fff; /* 背景白 */
  padding-bottom: 80px;
  text-align: center;
}

/* 説明文 */
.p-staff__desc {
  font-size: 1rem;
  line-height: 2;
  font-weight: bold;
  margin-bottom: 50px;
  color: #333;
}

/* スタッフリスト (Flex) */
.p-staff__list {
  display: flex;
  justify-content: center;
  gap: 40px; /* 画像間の余白 */
}

/* 各スタッフ項目 */
.p-staff__item {
  width: 300px; /* 画像サイズに合わせた幅 */
  text-align: center;
}

/* スタッフ画像 */
.p-staff__img {
  margin-bottom: 20px;
}

.p-staff__img img {
  width: 100%;
  height: auto;
  border-radius: 10px; /* 角丸 */
  display: block;
  /* 画像のアスペクト比を揃えるなら以下を追加 */
  aspect-ratio: 4 / 2.5; 
  object-fit: cover;
}

/* 名前 */
.p-staff__name {
  font-size: 1.125rem; /* 18px */
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

/* 肩書き */
.p-staff__role {
  font-size: 0.9rem;
  font-weight: bold;
  color: #333;
}

/* ====================================
   Responsive (SP)
   ==================================== */
@media (max-width: 768px) {
  .p-staff__desc {
    font-size: 0.9rem;
    text-align: left; /* スマホでは左揃えで読みやすく */
    margin-bottom: 40px;
  }
  
  .p-staff__desc br {
    display: none; /* 改行無効化 */
  }

  .p-staff__list {
    flex-direction: column; /* 縦積み */
    align-items: center;
    gap: 40px;
  }

  .p-staff__item {
    width: 100%;
    max-width: 340px;
  }
}












