

/* パンくず */
.c-breadcrumb {
  font-weight: bold;
  font-size: 12px;
  max-width: 920px;
  margin: 20px auto;
}

.c-breadcrumb a {
  color: #000;
}







@media screen and (max-width:900px) {
    
.c-breadcrumb {
    padding-left: 10px;
}
}





















/* 会社情報 */

/* --- コンテンツ全体のレイアウト（ブロック間の余白管理） --- */
.p-company-content {
  max-width: 1000px;
  margin: 0 auto;
}

@media screen and (max-width: 1024px) {
  .p-company-content {
    max-width: 800px;
  }
}


@media screen and (max-width: 768px) {
  .p-company-content {
    max-width: 90%;
  }
}

.p-company .c-heading-md {
  text-align: left;
  margin-bottom: 30px;
  color: #08192D;
}


/* =========================================
   Mission
   ========================================= */



.p-company-mission {
  margin-top: 80px;
  margin-bottom: 60px;
}

.p-company-mission__heading {
  font-size: 48px;
  margin-bottom: 30px;
  line-height: 1.5;
  font-weight: 400;
}

.p-company-mission__text {
  font-size: 16px;
  line-height: 2;
  /* max-width: 800px; ← コンテナ幅いっぱい使うなら不要ですが、読みやすさ重視なら残す */
}

@media screen and (max-width: 768px) {
  .p-company-mission__heading {
    font-size: 24px;
  }
}


/* =========================================
   代表紹介 (そのまま利用)
   ========================================= */
.p-company-ceo__inner {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  align-items: flex-start;
}

.p-company-ceo__img {
  width: 22%;
  flex-shrink: 0;
}

.p-company-ceo__img img {
  width: 100%;
  height: auto;
  aspect-ratio: 198 / 282;
  object-fit: cover;
  /* 角丸などがデザインにあれば追加 */
  /* border-radius: 4px; */
}

.p-company-ceo__body {
  width: 70%;
}

.p-company-ceo__name {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  display: flex;
  align-items: baseline;
  gap: 15px;
}

.p-company-ceo__name .en {
  font-size: 14px;
  color: #666;
  font-weight: normal;
}

.p-company-ceo__text p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 1em;
}

@media screen and (max-width: 768px) {
  .p-company-ceo__inner {
    flex-direction: column;
    gap: 30px;
  }
  .p-company-ceo__img {
    width: 50%;
    margin: 0 auto;
  }
  .p-company-ceo__body {
    width: 100%;
  }
}


/* =========================================
   会社情報（テーブルリスト） (そのまま利用)
   ========================================= */
.p-company-list {
  border-top: 2px solid #2B2B2B;
  margin-top: 40px;
}

.p-company-list__row {
  display: flex;
  border-bottom: 2px solid #2B2B2B;
}

.p-company-list__row dt {
  width: 25%;
  padding: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.p-company-list__row dd {
  width: 75%;
  padding: 20px;
  font-size: 15px;
  line-height: 1.8;
}

.p-company-list__bullet {
  list-style: disc;
  padding-left: 1.5em;
}

@media screen and (max-width: 768px) {
  .p-company-list__row {
    flex-direction: column;
  }
  .p-company-list__row dt {
    width: 100%;
    padding: 10px;
  }
  .p-company-list__row dd {
    width: 100%;
    padding: 10px;
    margin-left: 0;
  }
}




/* =========================================
   事業内容リンク (修正・レイアウト調整)
   ========================================= */
.p-company-business__lead {
  margin: 20px 0 40px;
  font-size: 16px;
}

.p-company-business__grid {
  margin-bottom: 170px;
}


@media screen and (max-width: 768px) {
  .p-company-business__grid {
    margin-bottom: 100px;
  }
}

/* カードスタイル */
.p-business-card {
  display: flex;
  width: 100%;
  height: 200px;
  text-decoration: none;
  overflow: hidden;
  background-color: #08192D; /* ベース色 */
  transition: opacity 0.3s;
}


.p-business-card:nth-child(1) {
  margin-bottom: 30px;

}

.p-business-card:hover {
  opacity: 0.8;
}

.p-business-card__content {
  width: 38%;
  background-color: #08192D;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.p-business-card__title {
  font-size: 24px;
  text-align: center;
  font-weight: 400;
}

.p-business-card__img {
  width: 62%;
  position: relative;
}

.p-business-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* 画像下の隙間消し */
}

@media screen and (max-width: 768px) {
  .p-business-card {
    height: auto;
    flex-direction: column-reverse; /* 画像を上に、テキストを下に */
  }
  .p-business-card__content {
    width: 100%;
    padding: 30px 20px;
    min-height: 100px;
  }
  .p-business-card__img {
    width: 100%;
    height: 180px;
  }
}









/* =========================================
   プライバシーポリシー (page-privacy.php)
   ========================================= */

.p-privacy-content {
  max-width: 900px;
  width: 100%;
  margin: 0 auto; /* 中央寄せ */
}

.p-privacy-item {
  padding: 40px 0;
}

.p-privacy-item dt {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #08192D;
  padding: 0;
}

.p-privacy-item dd {
  font-size: 15px;
  line-height: 2;
  width: 100%;
  padding: 0;
  background: transparent;
}

@media screen and (max-width: 768px) {
  .p-privacy-content {
    max-width: 90%;;
  }
  .p-privacy-item {
    padding: 30px 0;
  }
  .p-privacy-item dt {
    font-size: 18px;
    margin-bottom: 15px;
  }
  .p-privacy-item dd {
    font-size: 14px;
    margin-left: 0;
  }
}















/* =========================================
   お問い合わせページ (page-contact.php)
   ========================================= */

.p-contact .l-section{
      padding-bottom: 50px;
}

.p-contact-content {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding-top: 100px;
}

.p-contact-item {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
}
.p-contact-item:has(textarea), 
.p-contact-item:has(select) {
    align-items: flex-start;
}

.p-contact-item:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

/* ラベル部分 */
.p-contact-item__head {
  width: 240px;
  flex-shrink: 0;
  font-weight: bold;
  padding-top: 10px; /* 微調整 */
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap; /* スマホで崩れないように */
}

/* 必須ラベル */
.p-contact-item__head .required {
  background-color: #cc0000;
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 2px;
}

/* 任意ラベル（追加） */
.p-contact-item__head .any {
  background-color: #999;
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 2px;
}

/* 入力エリア */
.p-contact-item__body {
  flex-grow: 1;
  width: 100%; /* SP対応のため */
}

/* テキスト・セレクト共通 */
.c-form-text,
.c-form-select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  font-size: 16px;
  appearance: none;
}

/* テキストエリア */
.c-form-textarea {
  width: 100%;
  height: 200px;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  font-size: 16px;
  resize: vertical;
}

.c-form-text:focus,
.c-form-select:focus,
.c-form-textarea:focus {
  border-color: #08192D;
  outline: none;
}

/* セレクトボックス（プルダウン）のデザイン */
.c-form-select {
  /* 1. ブラウザ標準の矢印やスタイルを消す */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* 2. ベースのスタイル（テキスト入力欄と合わせる） */
  width: 100%;
  padding: 12px 15px;
  padding-right: 45px; /* 右側に矢印が入るので、文字が被らないよう右余白を多めに */
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  font-size: 16px;
  color: #333;
  cursor: pointer; /* マウスを乗せた時に指マークにする */

  /* 3. 矢印アイコンを背景画像として設定（SVGデータURI） */
  /* 「く」の字型の矢印アイコンを表示させます */
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2724%27%20height%3D%2724%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23333333%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpolyline%20points%3D%276%209%2012%2015%2018%209%27%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center; /* 右端から15pxの位置に配置 */
  background-size: 16px; /* アイコンのサイズ */
}

/* IE11など古いブラウザ用の矢印消し（念のため） */
.c-form-select::-ms-expand {
  display: none;
}

/* フォーカス時のスタイル（青枠など） */
.c-form-select:focus {
  border-color: #08192D;
  outline: none;
}


/* プライバシーポリシー同意エリア */
.p-contact-privacy {
  text-align: center;
  margin-bottom: 30px;
}

/* Contact Form 7のチェックボックス調整 */
.wpcf7-list-item {
    margin: 0;
}
.wpcf7-list-item-label {
    cursor: pointer;
}

/* 送信ボタンエリア */
.p-contact-submit {
  text-align: center;
}

.c-btn-submit {
  background-color: #08192D;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  padding: 15px 80px;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s;
}

.c-btn-submit:hover {
  opacity: 0.8;
}

/* reCAPTCHAテキスト */
.p-contact-recaptcha-text {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-top: 20px;
    line-height: 1.5;
}
.p-contact-recaptcha-text a {
    text-decoration: underline;
    color: #0000ee;
}

/* =========================================
   SP対応 (768px以下)
   ========================================= */
@media screen and (max-width: 768px) {

.p-contact-content {
  max-width: 90%;
  margin: 0 auto;
}

  .p-contact-item {
    display: block;
    margin-bottom: 20px;
  }

  .p-contact-item__head {
    width: 100%;
    margin-bottom: 10px;
    padding-top: 0;
  }
  
  .c-form-textarea {
    height: 150px;
  }

  .c-btn-submit {
    width: 100%;
    padding: 15px 0;
  }
}









.privacy-policy ol {
  margin-left: 20px;

}