
@charset "utf-8";


/* ===== Section base ===== */
.sl-company-section{ padding: 44px 0; }
.sl-company-head{
  position: relative;
  text-align: center;
  margin-bottom: 18px;
  z-index: 0;
  box-shadow: none;
  left: auto; right: auto; top: auto;
}
.sl-company-head__title{
  margin:0;
  font-size: 22px;
  font-weight: 900;
  color:#0f2f6b;
  letter-spacing:.08em;
  position:relative;
  display:inline-block;
  padding-bottom: 10px;
}
.sl-company-head__title:after{
  content:"";
  position:absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 220px;
  height: 2px;
  background:#0f2f6b;
  opacity:.7;
}


/* =================================
  共通：セクション見出し（中央＋ライン）
================================= */
.sl-section-title{
  margin: 0;
  text-align: center;
  font-weight: 900;
  letter-spacing: .08em;
  color: #0f2f6b;
  /*font-size: 20px;*/
  font-size: 3.5rem;
}
.sl-section-line{
  width: min(640px, 92%);
  height: 2px;
  margin: 12px auto 22px;
  background: #0f2f6b;
  opacity: .85;
}


/* =========================
  代表メッセージ（添付風）
========================= */
.sl-company-message{
  padding: 40px 0 20px;
  background: #f3f4f6; /* 周囲の薄グレー */
}

.sl-company-message__inner{
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}

/* 2カラム */
.sl-company-message__grid{
  display: grid;
  grid-template-columns: 420px 1fr;
  align-items: stretch;
  gap: 0;
}

/* 左：写真側（左の縦ラインを含む） */
.sl-company-message__photoWrap{
  position: relative;
  padding-left: 18px; /* 左ラインの余白 */
}

/* 写真フレーム（白背景＋影） */
.sl-company-message__photoFrame{
  position: relative;
  background: #fff;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  width: 100%;
  max-width: 360px;

  /* ここがポイント：右の青パネルに“被せる” */
  z-index: 2;
  margin-top: 70px;          /* 上から少し下げる */
  margin-right: -70px;       /* 右へはみ出して重ねる */
}

/* 写真 */
.sl-company-message__photo{
  display:block;
  width: 100%;
  height: auto;
}

/* 右：ネイビーパネル */
.sl-company-message__panel{
  position: relative;
  background: #1f3f7a;
  color: #fff;
  padding: 48px 44px 34px;
  min-height: 360px;

  /* 写真より奥に */
  z-index: 1;
}

/* タイトル */
.sl-company-message__title{
  margin: 0 0 18px;
  text-align: center;
  font-weight: 900;
  letter-spacing: .08em;
  font-size: 28px;
}

/* 本文 */
.sl-company-message__text{
  font-size: 14px;
  line-height: 2.0;
  font-weight: 600;
  opacity: .95;
}
.sl-company-message__text p{
  margin: 0 0 14px;
}

/* 署名 */
.sl-company-message__sign{
  margin-top: 26px;
  text-align: right;
  font-weight: 800;
}
.sl-company-message__signSmall{
  font-size: 13px;
  opacity: .95;
}
.sl-company-message__signName{
  margin-top: 8px;
  font-size: 22px;
  letter-spacing: .10em;
}

/* =========================
  SP（1カラム＋重なり最小）
========================= */
@media (max-width: 768px){
  .sl-company-message__inner{
    width: min(1100px, calc(100% - 28px));
  }

  .sl-company-message__grid{
    grid-template-columns: 1fr;
  }

  .sl-company-message__photoWrap{
    padding-left: 14px;
  }

  .sl-company-message__photoFrame{
    max-width: 92%;
    margin: 16px 0 -26px; /* 下へ少し被せる */
    margin-right: 0;
  }

  .sl-company-message__panel{
    padding: 42px 18px 26px;
  }

  .sl-company-message__title{
    font-size: 22px;
  }

  .sl-company-message__text{
    font-size: 14px;
    line-height: 1.9;
  }
}



/* ===== 会社情報（背景：水色） ===== */
/* =========================
  会社情報セクション
========================= */
.sl-company-info{
  background: #bcd8ea; /* 添付の薄い水色に寄せる */
  padding: 42px 0 46px;
}

.sl-company-info__inner{
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
}

.sl-company-info__title{
  margin: 0;
  text-align: center;
  font-weight: 900;
  letter-spacing: .08em;
  color: #0f2f6b;
  font-size: 20px; /* 少し大きめ */
}

.sl-company-info__line{
  width: min(640px, 92%);
  height: 2px;
  margin: 12px auto 22px;
  background: #0f2f6b;
  opacity: .85;
}

.sl-company-table-wrap{
  background: transparent;
}

.sl-company-table{
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
  color: #111827;
}
.sl-company-table__row{
  border-bottom: 1px solid rgba(15, 23, 42, .28);
}

.sl-company-table__th,
.sl-company-table__td{
  padding: 18px 12px;
  vertical-align: middle;
  font-size: 1.5rem;
  text-align: left;
}

.sl-company-table__th{
  width: 160px;
  font-weight: 800;
  color: #111827;
  white-space: nowrap;
}

.sl-company-table__td{
  font-weight: 700;
  color: #111827;
  line-height: 1.9;
}

/* SP最適化（崩れ防止） */
@media (max-width: 768px){
  .sl-company-info{ padding: 34px 0 38px; }
  .sl-company-info__inner{ width: min(980px, calc(100% - 28px)); }

  .sl-company-table{
    font-size: 15px; /* SPで読めるように少し上げる */
  }

  .sl-company-table__th{
    width: 120px;
    font-size: 13px;
    white-space: normal;
    line-height: 1.4;
  }

  .sl-company-table__th,
  .sl-company-table__td{
    padding: 12px 10px;
  }
}



/* =================================
  アクセス
================================= */
.sl-company-access{
  background: #ffffff;
  padding: 46px 0 56px;
}
.sl-company-access__inner{
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
}

/* 地図：添付の「大きいグレー枠」 */
.sl-company-access__map{
  background: #e5e7eb;
  padding: 0;              /* 余白を消して枠いっぱいに */
  border-radius: 0;        /* 角丸なし */
  overflow: hidden;
}
.sl-company-access__map iframe{
  display: block;
  width: 100% !important;
  height: 320px !important;
  border: 0 !important;
}

/* 住所：左寄せ */
.sl-company-access__address{
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  text-align: left;
}

/* =================================
  SP
================================= */
@media (max-width: 768px){
  .sl-company-info{ padding: 34px 0 38px; }
  .sl-company-access{ padding: 38px 0 44px; }

  .sl-company-info__inner,
  .sl-company-access__inner{
    width: min(980px, calc(100% - 28px));
  }

  .sl-company-table{
    font-size: 15px;
  }
  .sl-company-table__th{
    width: 120px;
    font-size: 13px;
    white-space: normal;
    line-height: 1.4;
  }
  .sl-company-table__th,
  .sl-company-table__td{
    padding: 14px 10px;
  }

  .sl-company-access__map iframe{
    height: 240px !important;
  }
}



/* ===== 沿革（背景：水色） ===== */
/* =========================
  沿革セクション
========================= */
.sl-company-history{
  background: #bcd8ea; /* 添付の水色 */
  padding: 44px 0 52px;
}

.sl-company-history__inner{
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
}

.sl-company-history__title{
  margin: 0;
  text-align: center;
  font-weight: 900;
  letter-spacing: .08em;
  color: #0f2f6b;
  font-size: 20px;
}

.sl-company-history__line{
  width: min(640px, 92%);
  height: 2px;
  margin: 12px auto 26px;
  background: #0f2f6b;
  opacity: .85;
}

/* タイムライン */
.sl-history{
  position: relative;
  padding-left: 56px;  /* dot + 余白（見た目安定） */
}

/* 各アイテム */
.sl-history__item{
  position: relative;
  padding: 10px 0 18px; /* 下に少し余白 */
}

/* dot */
.sl-history__dot{
  position: absolute;
  left: 12px;          /* dot位置 */
  top: 18px;           /* dotの縦位置 */
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0f2f6b;
  z-index: 2;
}

/* dotとdotを繋ぐ縦線（アイテムごと） */
.sl-history__item::before{
  content:"";
  position:absolute;
  left: 20px;          /* dot中心 = 12px + 9px */
  top: 18px;           /* dotの上端と揃える */
  bottom: -18px;       /* 次のアイテムへ繋ぐ */
  width: 2px;
  background: rgba(15,47,107,.95);
  z-index: 1;
}

/* 最後の要素だけ、下への縦線を止める */
.sl-history__item:last-child::before{
  bottom: 18px; /* dotの下端付近で止める */
}

/* コンテンツ位置 */
.sl-history__content{
  margin-left: 3em;
}

.sl-history__year{
  font-weight: 900;
  /*font-size: 18px;*/
  font-size: 3.25rem;
  color: #ff7a00;
  line-height: 1.2;
  margin-bottom: 4px;
}

.sl-history__text{
  font-weight: 700;
  font-size: 13px;
  line-height: 1.9;
  color: #111827;
}

/* SP */
@media (max-width: 768px){
  .sl-history{ padding-left: 48px; }

  .sl-history__dot{
    left: 10px;
    top: 18px;
    width: 16px;
    height: 16px;
  }

  .sl-history__item::before{
    left: 18px;  /* dot中心 = 10px + 8px */
    top: 18px;
  }

  .sl-history__year{ font-size: 17px; }
  .sl-history__text{ font-size: 14px; }
}




/* =========================
  COMPANY / 資格・許可証明（添付寄せ）
========================= */
.sl-company-license{
  background:#f3f4f6;
  padding: 46px 0 56px;
}

/* 見出し（中央） */
.sl-company-license .sl-company-head{
  margin: 0 0 16px;
  text-align:center;
}
.sl-company-license .sl-company-head__title{
  margin:0;
  font-weight:900;
  letter-spacing:.08em;
  color:#0f2f6b;
  font-size:22px;
}

/* タイトル直下の長いライン（添付っぽく） */
.sl-company-license .sl-company-head{
  position:relative;
  padding-bottom: 18px;
}

/* 白い箱は使わない（背景と一体化） */
.sl-company-license__box{
  max-width: 920px;
  margin: 0 auto;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

/* リード文（中央寄せ） */
.sl-company-license__lead{
  margin: 22px 0 26px;
  text-align:center;
  /*font-size: 15px;*/
  font-size: 1.5rem;
  font-weight: 800;
  color:#111827;
  line-height: 1.9;
}

/* ラベル＋内容（2カラム、全体は中央ブロック） */
.sl-company-license__text{
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr;
  column-gap: 26px;
  row-gap: 18px;
  align-items: start;
  border-top: none;
  padding-top: 0;
}

/* 左ラベル：濃い青＋太字（添付寄せ） */
.sl-company-license__label{
  font-weight: 900;
  color:#0f2f6b;
  /*font-size: 18px;*/
  font-size: 2rem;
  line-height: 1.6;
  white-space: nowrap;
}

/* 右本文：濃い青＋太字（添付寄せ） */
.sl-company-license__detail{
  font-weight: 900;
  color:#0f2f6b;
  /*font-size: 18px;*/
  font-size: 2rem;
  line-height: 1.7;
}

/* wpautop の余白は消す（行間が広がりすぎるのを防ぐ） */
.sl-company-license__detail p{
  margin: 0;
  font-size: 2rem;
}

/* SP：縦積みにして読みやすく */
@media (max-width: 768px){
  .sl-company-license{
    padding: 40px 0 48px;
  }

  .sl-company-license__lead{
    font-size: 15px;
    margin: 18px 0 22px;
  }

  .sl-company-license__text{
    grid-template-columns: 1fr;
    row-gap: 10px;
  }

  .sl-company-license__label,
  .sl-company-license__detail{
    font-size: 17px;
    white-space: normal;
  }
}



/* ===== Responsive ===== */
@media (max-width: 768px){
  .sl-company-container{ width:min(1040px, calc(100% - 28px)); }
  .sl-company-hero{ height: 200px; }
  .sl-company-hero__big{ font-size: 34px; }

  .sl-company-message__box{ flex-direction:column; }
  .sl-company-message__left{ width: 100%; justify-content:flex-start; }
  .sl-company-message__right{ padding: 18px 16px; }

  .sl-company-table th{ width: 120px; }
  .sl-company-table th, .sl-company-table td{ font-size: 13px; padding: 10px 10px; }

  .sl-company-map{ aspect-ratio: 16 / 10; }
}

