@charset "utf-8";
/* CSS Document */
/*===============================================

●共通設定 & リセット

===============================================*/
#saiyou *, *::before, *::after {
  box-sizing: border-box;
}
#saiyou img {
  width: 100%;
  height: auto;
}
#saiyou article {
  width: 100%;
  margin: 0;
}
#saiyou .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
@media screen and (min-width: 737px) {
  #contents {
    background-color: #f8f8f8;
  }
}
@media screen and (max-width:736px) {
  #contents {
    background-color: #f8f8f8;
  }
  .ly-btn-pagetop {
    background: #fff;
  }
  footer {
    background: #fff;
    z-index: -2;
  }
}
.green {
  color: #008431;
}
.blue {
  color: #0077B8;
}
.green_bg {
  background-color: #008431;
}
.blue_bg {
  background-color: #0077B8;
}
#saiyou .lead p {
  max-width: 1000px;
  margin: 0 auto;
  font-size: clamp(0.9rem, 0.345rem + 1.21vw, 1.25rem);
  line-height: 1.8;
}
/* ==================================
   statement
   ================================== */
/* 3つの要素を横並びにする親枠 */
#saiyou .statement-wrapper {
  display: flex;
  justify-content: center; /* 左右中央揃え */
  align-items: center; /* 上下中央揃え（テキストと画像の高さを合わせる） */
  gap: 40px; /* 画像とテキストの隙間（お好みで調整） */
  max-width: 1200px;
  margin: 2rem auto 0; /* 元々 .statement にあった上の余白をこちらに移動 */
}
/* 左右の画像エリア */
#saiyou .statement-img {
  flex-shrink: 0; /* テキストが長くなっても画像が潰れないようにする */
  width: 200px;
}
#saiyou .statement-img img {
  width: 100%;
  height: auto;
  display: block;
}
/* 既存のテキストセクション（一部修正） */
#saiyou .statement {
  width: fit-content;
  text-align: left;
  margin: 0; /* 親のFlexboxで中央寄せされるため margin: 0 auto; は不要になります */
}
/* ↓ 既存のpタグ設定等はそのままキープでOKです ↓ */
#saiyou .statement p {
  margin: 0 auto 1rem;
  font-size: clamp(1rem, 0.303rem + 1.52vw, 1.25rem);
  line-height: 2;
}
#saiyou .statement .sta_tit {
  margin: 0 auto 1rem;
  font-size: clamp(1.3rem, 0.507rem + 1.72vw, 1.8rem);
  font-weight: 700;
  line-height: 2;
}
#saiyou .statement .sta_tit > span {
  font-size: clamp(2rem, 0.885rem + 2.42vw, 2.4rem);
  color: #00a33e;
}
/* ==================================
   SP用 (736px以下)
   ================================== */
@media screen and (max-width:736px) {
  #saiyou .statement-wrapper {
    flex-wrap: wrap; /* 横幅が足りない時は折り返す */
    gap: 15px; /* スマホ時の画像同士の隙間 */
    margin: 0rem 1rem 0; /* スマホ画面端の余白 */
  }
  /* テキストを一番上に持ってくる */
  #saiyou .statement {
    order: 1; /* 表示順を1番目にする */
    width: 100%; /* 横幅いっぱいに広げる */
    margin: 0;
  }
  /* 左画像をテキストの下に */
  #saiyou .statement-img.img-left {
    order: 2; /* 表示順を2番目にする */
  }
  /* 右画像をさらにその横（または下）に */
  #saiyou .statement-img.img-right {
    order: 3; /* 表示順を3番目にする */
  }
  /* スマホでの画像のサイズ調整（2枚を横並びに配置） */
  #saiyou .statement-img {
    /* 画面が狭い端末（iPhone SE等）でもはみ出さないよう、50%から隙間分を引いて計算 */
    width: calc(50% - 7.5px);
    max-width: 140px;
  }
}
/* ==================================
   募集サイトのリンクカードレイアウト (Grid)
   ================================== */
.category-list {
  display: grid;
  grid-template-columns: 1fr; /* SP: 1カラム */
  gap: 20px; /* カード同士の余白 */
  padding: 0;
  margin: 0;
  list-style: none;
}
/* PC: 737px以上で 3カラム */
@media screen and (min-width: 737px) {
  .category-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 15px; /* 縦30px、横15pxの隙間 */
  }
}
/* ==================================
   カード全体 (aタグ)
   ================================== */
.category-card {
  display: flex;
  flex-direction: column;
  height: 100%; /* 高さを揃える */
  background: #fff;
  border: solid 2px #ddd;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  box-sizing: border-box;
  text-decoration: none;
  color: #333;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden; /* 角丸から画像がはみ出すのを防ぐ */
}
/* ホバーアクション (ふわっと浮いて影がつく) */
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: #0078c8; /* ホバー時に枠線をテーマカラーに */
  text-decoration: none;
}
/* アクセシビリティ：キーボードフォーカス時 */
.category-card:focus-visible {
  outline: 3px solid #faba00;
  outline-offset: 2px;
}
/* ==================================
   カード内の要素
   ================================== */
/* 画像エリア */
.category-card .card-img {
  width: 100%;
  aspect-ratio: 2 / 1; /* 画像の比率を固定（適宜変更してください） */
  background-color: #f5f5f5; /* 画像読み込み前のダミー背景 */
  overflow: hidden;
}
.category-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
/* ホバー時に画像を少し拡大（お好みで） */
.category-card:hover .card-img img {
  transform: scale(1.05);
}
/* テキストエリア */
.category-card .card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* 高さが足りない場合に余白を埋める */
  padding: 20px 15px;
}
/* タイトルとアイコンの並び */
.category-card .card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
/* h3: 新卒採用サイトなど */
.category-card .card-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: bold;
  color: #0078c8;
  line-height: 1.4;
}
/* 対象者エリア (背景色付き) */
.category-card .target-badge {
  display: inline-block;
  align-self: flex-start; /* 左寄せにして幅を文字数に合わせる */
  background-color: #008533; /* 薄い青系の背景色 */
  color: #fff;
  font-size: 0.85rem;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 50px;
  margin: 0 0 12px 0;
}
/* 説明テキスト */
.category-card .card-desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}
/* ==================================
   遷移アイコン (CSSで簡易描画)
   ※デザインがあれば画像やアイコンフォントに差し替えてください
   ================================== */
.category-card .icon-link {
  display: inline-block;
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0; /* タイトルが長くなってもアイコンが潰れないようにする */
  margin-top: 2px;
}
/* 内部遷移（右矢印） */
.category-card .icon-link.is-internal::after {
  position: absolute;
  content: "\e903";
  top: 50%;
  right: 0%;
  color: #0078c8;
  font-size: 1.2rem;
  font-family: "icn_font";
  line-height: 0;
  transform: translateX(-50%) translateY(-50%);
}
/* 外部遷移（別ウィンドウアイコン） */
.category-card .icon-link.is-external::after {
  position: absolute;
  content: "\e905";
  top: 50%;
  right: 0%;
  color: #0078c8;
  font-size: 1.2rem;
  font-family: "icn_font";
  line-height: 0;
  transform: translateX(-50%) translateY(-50%);
}
/*===============================================
h3エリア
===============================================*/
#saiyou .white_box {
  background-color: #fff;
  border-radius: 20px;
  padding: 3rem;
}
@media screen and (max-width:736px) {
  #saiyou .white_box {
    border-radius: 14px;
    padding: 20px 12px;
  }
}
#saiyou .w_box p {
  max-width: 1000px;
  margin: .5rem auto 0;
  font-size: clamp(0.9rem, 0.662rem + 0.52vw, 1.05rem);
  line-height: 1.6;
}
.tit_h3-01, .tit_h3-02, .tit_h3-03 {
  font-size: 1.6rem;
  font-weight: 700;
}
.tit_h3-01::before {
  content: '';
  display: inline-block;
  width: 55px; /*画像の幅*/
  height: 55px; /*画像の高さ*/
  background-image: url("t-shirt.svg");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin: 0 10px 0 0;
}
.tit_h3-02::before {
  content: '';
  display: inline-block;
  width: 65px; /*画像の幅*/
  height: 55px; /*画像の高さ*/
  background-image: url("famima-code_logo.svg");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin: 0 10px 0 0;
}
.tit_h3-03::before {
  content: '';
  display: inline-block;
  width: 55px; /*画像の幅*/
  height: 55px; /*画像の高さ*/
  background-image: url("/content/dam/family/goods/cw/img_thumb_cw.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin: 0 10px 0 0;
}
@media screen and (max-width:736px) {
  .tit_h3-01, .tit_h3-02, .tit_h3-03 {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    font-feature-settings: "palt"1;
  }
  .tit_h3-01::before {
    content: '';
    display: block;
    width: 45px; /*画像の幅*/
    height: 45px; /*画像の高さ*/
    background-image: url("t-shirt.svg");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin: 0 auto;
  }
  .tit_h3-02::before {
    content: '';
    display: block;
    width: 55px; /*画像の幅*/
    height: 55px; /*画像の高さ*/
    background-image: url("famima-code_logo.svg");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin: 0 auto;
  }
  .tit_h3-03::before {
    content: '';
    display: block;
    width: 45px; /*画像の幅*/
    height: 45px; /*画像の高さ*/
    background-image: url("/content/dam/family/goods/cw/img_thumb_cw.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin: 0 auto 1rem;
  }
}
/* ==================================
   特徴レイアウト (Grid)
   ================================== */
.features-list {
  display: grid;
  grid-template-columns: 1fr;
  /* grid-auto-rows: 1fr; */
  gap: 15px;
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
}
/* PC: 737px以上で 3カラム */
@media screen and (min-width: 737px) {
  .features-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 2rem;
    /* grid-auto-rows: 1fr; はスマホ用から引き継がれるのでここには不要です */
  }
}
/* ==================================
   カード全体のスタイル
   ================================== */
/* ▼ #saiyou を頭につけて優先度（詳細度）を上げる */
#saiyou .feature-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 15px; /* これでしっかり効くようになります！ */
  border-top-left-radius: 40px;
  box-sizing: border-box;
  color: #222;
}
/* ==================================
   カード内の要素
   ================================== */
/* ▼ 追加：バッジと小見出しを横並びにする設定 ▼ */
#saiyou .feature-item .feature-head {
  display: flex; /* これで中の要素が横並びになります */
  align-items: center; /* 2行になっても上下の中央がピタッと揃います */
  gap: 12px; /* バッジとテキストの間の隙間 */
  margin-bottom: 12px; /* 下の説明テキストとの隙間 */
}
@media screen and (max-width:736px) {
  #saiyou .feature-item .feature-head {
    align-items: flex-start;
  }
}
#saiyou .feature-item .number-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: #fff;
  border-radius: 50px;
  font-size: 1.5rem;
  flex-shrink: 0; /* ★重要：見出しが長くなってもバッジが潰れないようにする */
  line-height: 0;
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}
@media screen and (max-width:736px) {
  #saiyou .feature-item .number-badge {
    font-size: 1.4rem;
    width: 35px;
    height: 35px;
  }
}
#saiyou .feature-item .feature-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: bold;
  line-height: 1.4;
}
/* 特徴テキスト */
#saiyou .feature-item .feature-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 500;
}
/* ==================================
   背景色 (1〜6)
   ================================== */
.card-01 {
  background-color: rgba(177, 127, 183, 0.3);
}
.card-02 {
  background-color: rgba(249, 114, 154, 0.3);
}
.card-03 {
  background-color: rgba(236, 113, 12, 0.3);
}
.card-04 {
  background-color: rgba(224, 251, 34, 0.3);
}
.card-05 {
  background-color: rgba(0, 163, 62, 0.3);
}
.card-06 {
  background-color: rgba(0, 143, 219, 0.3);
}
/* ==================================
   共通 h4 タイトル
   ================================== */
#saiyou .section-h4-title {
  color: #fff;
  font-size: clamp(1.1rem, 0.862rem + 0.52vw, 1.25rem);
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 508px;
  margin-bottom: 24px;
  text-align: center;
}
/* ==================================
   マイスタイル（わたしらしさ）
   ================================== */
#saiyou .mystyle-section {
  margin: 30px 0 60px 0;
}
#saiyou .mystyle-list {
  display: grid;
  grid-template-columns: 1fr; /* SP: 1カラム */
  gap: 15px;
}
/* PC: 737px以上で 3カラム */
@media screen and (min-width: 737px) {
  #saiyou .mystyle-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}
#saiyou .mystyle-card {
  display: flex;
  align-items: center; /* 画像とテキストを上下中央揃え */
  gap: 12px; /* 画像とテキストの隙間 */
  background-color: #f8f8f8;
  padding: 15px;
  border-radius: 12px;
  box-sizing: border-box;
}
/* 左側の丸い画像 */
#saiyou .mystyle-img {
  width: 80px;
  height: 80px;
  flex-shrink: 0; /* スマホでテキストが増えても画像が潰れないようにする */
  border-radius: 50%; /* 丸く切り抜き */
  overflow: hidden;
  background-color: #fff; /* 画像読み込み前の白背景 */
}
#saiyou .mystyle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 丸枠に合わせて画像をトリミング */
}
/* 右側のテキストエリア */
#saiyou .mystyle-title {
  margin: 0 0 4px 0;
  font-size: 1.1rem;
  font-weight: bold;
  color: #0077B8;
}
#saiyou .mystyle-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
}
/* ==================================
   マナー（土台）
   ================================== */
#saiyou .manner-list {
  /* リスト全体の枠線（上下のみ） */
  /* border-top: 1px dashed #00a33e;
  border-bottom: 1px dashed #00a33e;*/
}
#saiyou .manner-item {
  display: flex;
  flex-direction: column; /* SPは縦並びベース */
  gap: 10px;
  padding: 20px 0;
  border-bottom: 1px dashed #00a33e; /* 各アイテム間の破線 */
}
/* 最後のアイテムの下線はリスト全体のborder-bottomと被るため消す */
#saiyou .manner-item:last-child {
  border-bottom: none;
}
/* 左側：番号とタイトルのグループ */
#saiyou .manner-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
/* 丸い番号 */
#saiyou .manner-num {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  background-color: #008431; /* 薄い緑色の背景 */
  color: #fff; /* 緑色の文字 */
  font-size: 1.1rem;
  border-radius: 50%;
  flex-shrink: 0;
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}
#saiyou .manner-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: bold;
  color: #008431;
}
/* 右側：説明テキスト */
#saiyou .manner-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}
/* ▼ PC時のレイアウト (マナー部分を横並びに) ▼ */
@media screen and (min-width: 737px) {
  #saiyou .manner-item {
    flex-direction: row; /* PCは左に見出し、右にテキストの横並び */
    align-items: center;
    gap: 30px;
  }
  #saiyou .manner-head {
    width: 16%; /* 左側の幅を固定（お好みで調整してください） */
    flex-shrink: 0;
  }
}
.tit_h4_img {
  width: 30%;
  margin: 1rem auto 0;
}
/*===============================================
CWについて
===============================================*/
/* --- プロフィール詳細（横並びレイアウト） --- */
#saiyou .profile-area {
  width: 80%;
  display: flex;
  gap: 15px; /* 画像とテキストの間隔 */
  align-items: flex-start;
  /* border-top: 1px solid #555; コメントとの境界線 */
  float: left;
  margin: 1rem 10%;
}
@media screen and (max-width: 736px) {
  #saiyou .profile-area {
    width: 100%;
    margin: 1rem auto;
  }
}
#saiyou .profile-img {
  width: 180px; /* 画像の横幅を固定 */
  flex-shrink: 0; /* 画像が潰れないように固定 */
}
#saiyou .profile-img img {
  width: 100%;
  height: auto;
  /* 画像を円形にしたい場合は以下を追加 */
  /* border-radius: 50%; */
}
#saiyou .profile-text {
  flex: 1;
}
#saiyou .logo-text {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 2rem;
}
#saiyou .profile-text h4 {
  font-size: 1.1rem;
  margin: 10px 0 3px;
  font-weight: 600;
}
#saiyou .profile-text h4 span {
  font-size: 0.85rem;
  font-weight: 600;
  margin-right: 5px;
}
#saiyou .profile-text p {
  font-size: 0.85rem; /* プロフィール文は少し小さめに */
  line-height: 1.5rem;
}
/*===============================================
●pc.css
===============================================*/
@media screen and (min-width: 737px) {
  #saiyou {
    width: calc(100vw - 0%);
    margin: 0 calc(50% - 50vw);
    padding: 0;
  }
  #saiyou section {
    max-width: 1220px;
    width: 100%;
    margin: 3rem auto;
    padding: 0 10px;
  }
  /* ==================================
   KVエリア
   ================================== */
  #saiyou .kv_area {
    position: relative;
    width: 100%;
    margin: 0 auto;
    background-image: linear-gradient(90deg, rgba(26, 146, 62, 1), rgba(19, 133, 191, 1));
    /* aspect-ratioは削除。中身の画像の高さに合わせて自動で伸び縮みさせます */
    overflow: hidden; /* 念のための横揺れ・はみ出し防止 */
  }
  /* 画像を絶対配置から外し、通常の配置にする */
  #saiyou .tit_h1_img {
    display: block;
    width: 73%; /* 1920px中の1400px ≒ 約73% */
    margin-left: 15%; /* left: 15% の代わり */
  }
  #saiyou .tit_h1_img img {
    width: 100%;
    height: auto; /* 高さを自動調整してアスペクト比を保つ */
    display: block; /* 画像の下にできる余分な隙間を消す */
  }
  /* テキストは absolute のまま、レスポンシブに縮小させる */
  #saiyou .tit_h1 {
    position: absolute;
    top: 56%;
    right: 16%;
    margin: 0;
    padding: 0;
    /* clamp(最小サイズ, 推奨サイズ, 最大サイズ) で画面に合わせて文字を可変に */
    font-size: clamp(2rem, 4vw, 5rem);
    color: #fff;
    /*text-shadow: 4px 3px 0px #000;*/
    text-shadow: 3px 3px 3px #00214f, -3px -3px 3px #00214f, -3px 3px 3px #00214f, 3px -3px 3px #00214f, 3px 0px 3px #00214f, -3px -0px 3px #00214f, 0px 3px 3px #00214f, 0px -3px 3px #00214f;
    transform: translateY(-50%); /*font-weight: 600; 上下の中央をピタッと揃えるハック */
    /*background-color: rgba(255,255,255,0.8);*/
  }
  #saiyou .tit_h1_sub {
    position: absolute;
    top: 73%;
    right: 16%;
    margin: 0;
    font-size: clamp(1rem, 1.5vw, 2rem);
    color: #fff;
    text-shadow: 3px 2px 0px #00214f;
    font-weight: 500;
    transform: translateY(-50%);
  }
  /*============title=============*/
  .ttl_center {
    font-weight: bold;
    font-size: 1.8rem;
    padding-bottom: 0.5em;
    text-align: center;
    position: relative;
    margin-top: 4rem;
  }
  .ttl_center::before, .ttl_center::after {
    content: '';
    position: absolute;
    margin: auto;
    left: 0;
    bottom: 0;
    width: 2em;
    background-color: #00a33e;
    height: 7px;
    right: 2em;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
  }
  .ttl_center::before {
    background-color: #008cd6;
    left: 2em;
    width: 4em;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
  }
  .ttl_center01 {
    font-weight: bold;
    font-size: 2.2rem;
    padding-bottom: 0.5em;
    text-align: center;
    position: relative;
  }
  .ttl_center01::before, .ttl_center01::after {
    content: '';
    position: absolute;
    margin: auto;
    left: 0;
    bottom: 0;
    width: 2em;
    background-color: #00a33e;
    height: 5px;
    right: 2em;
  }
  .ttl_center01::before {
    background-color: #008cd6;
    left: 2em;
    width: 4em;
  }
  .w80 {
    width: 80%;
    margin: 0 auto;
  }
  .gray_blue {
    background-color: #f2f9fd;
    margin: 4rem 0 0;
    padding: 3rem 0 4rem;
  }
  #saiyou .flex_box {
    display: flex;
  }
  #saiyou .flex_box img {
    width: 40%;
    height: auto;
    margin-right: 1rem;
    border: solid 1px #eee;
  }
  #saiyou .flex_box p {
    font-size: clamp(0.9rem, 0.662rem + 0.52vw, 1.05rem);
    line-height: 1.9rem;
    margin-top: 1rem;
  }
}
/*===============================================
●sp.css 画面の横幅が737px以上
===============================================*/
@media screen and (max-width:736px) {
  #saiyou {
    margin: 0 calc(50% - 50vw);
    padding: 0;
    /*margin-top: -10px;*/
  }
  #saiyou section {
    max-width: 100%;
    margin: 1.5rem 10px 0;
    padding: 0;
  }
  .w80 {
    width: 100%;
    margin: 0 auto;
  }
  .gray_blue {
    background-color: #f2f9fd;
    margin: 3rem 0 0;
    padding: 2rem 0 3rem;
  }
  #saiyou .flex_box {
    display: block;
  }
  #saiyou .flex_box img {
    width: 80%;
    height: auto;
    margin: 0 10%;
    border: solid 1px #eee;
  }
  #saiyou .flex_box p {
    line-height: 1.6rem;
    margin: 1rem .5rem;
  }
  /* ==================================
   KVエリア
   ================================== */
  #saiyou .kv_area {
    position: relative;
    width: 100%;
    margin: 0 auto;
    background-image: linear-gradient(90deg, rgba(26, 146, 62, 1), rgba(19, 133, 191, 1));
    overflow: hidden;
  }
  #saiyou .tit_h1_img {
    width: 100%; /* SPは画像を幅いっぱいに広げる（お好みで調整） */
    margin-left: 0;
  }
  #saiyou .tit_h1_img img {
    width: 100%;
    height: auto; /* 高さを自動調整してアスペクト比を保つ */
    display: block; /* 画像の下にできる余分な隙間を消す */
  }
  /* テキストは absolute のまま、レスポンシブに縮小させる */
  #saiyou .tit_h1 {
    position: absolute;
    bottom: 13%;
    right: 8%;
    margin: 0;
    padding: 0;
    /* clamp(最小サイズ, 推奨サイズ, 最大サイズ) で画面に合わせて文字を可変に */
    font-size: clamp(2rem, 4vw, 5rem);
    color: #fff;
    /*text-shadow: 4px 3px 0px #000;*/
    text-shadow: 3px 3px 3px #00214f, -3px -3px 3px #00214f, -3px 3px 3px #00214f, 3px -3px 3px #00214f, 3px 0px 3px #00214f, -3px -0px 3px #00214f, 0px 3px 3px #00214f, 0px -3px 3px #00214f;
    transform: translateY(-50%); /*font-weight: 600; 上下の中央をピタッと揃えるハック */
    /*background-color: rgba(255,255,255,0.8);*/
  }
  #saiyou .tit_h1_sub {
    position: absolute;
    bottom: 10%;
    right: 8%;
    margin: 0;
    font-size: clamp(1rem, 1.5vw, 2rem);
    color: #fff;
    text-shadow: 3px 2px 0px #00214f;
    font-weight: 500;
    transform: translateY(-50%);
  }
  /*============title=============*/
  .ttl_center {
    font-weight: bold;
    font-size: 1.3rem;
    padding-bottom: 0.6em;
    text-align: center;
    position: relative;
    margin-top: 3rem;
  }
  .ttl_center::before, .ttl_center::after {
    content: '';
    position: absolute;
    margin: auto;
    left: 0;
    bottom: 0;
    width: 2em;
    background-color: #00a33e;
    height: 6px;
    right: 2em;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
  }
  .ttl_center::before {
    background-color: #008cd6;
    left: 2em;
    width: 4em;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
  }
  .ttl_center01 {
    font-weight: bold;
    font-size: 1.8rem;
    padding-bottom: 0.6em;
    text-align: center;
    position: relative;
  }
  .ttl_center01::before, .ttl_center01::after {
    content: '';
    position: absolute;
    margin: auto;
    left: 0;
    bottom: 0;
    width: 2em;
    background-color: #00a33e;
    height: 6px;
    right: 2em;
  }
  .ttl_center01::before {
    background-color: #008cd6;
    left: 2em;
    width: 4em;
  }
  /*===============================================
CWについて
===============================================*/
  /* --- プロフィール詳細 --- */
  #saiyou .profile-area {
    gap: 15px; /* 画像とテキストの間隔 */
    align-items: flex-start;
    padding-top: 1rem;
    flex-direction: column; /* 上下並びに変更 */
    padding-top: 0rem;
  }
  #saiyou .profile-img {
    width: 180px; /* スマホでは少し小さく */
    margin: 0 auto; /* 中央寄せにしたい場合 */
  }
  #saiyou.profile-img img {
    width: 100%;
    height: auto;
    /* 画像を円形にしたい場合は以下を追加 */
    /* border-radius: 50%; */
  }
  #saiyou .profile-text {
    flex: 1;
  }
  #saiyou .profile-text h3 {
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 500;
  }
  #saiyou .profile-text h3 span {
    font-size: 0.85rem;
    font-weight: normal;
    margin-left: 5px;
    opacity: 0.8;
  }
  #saiyou.profile-text h4 {
    font-size: 1rem;
    margin: 10px 0 3px;
    font-weight: 500;
  }
  #saiyou.profile-text p {
    font-size: 0.95rem; /* プロフィール文は少し小さめに */
    line-height: 1.5rem;
  }
}
/*===============================================
SE対応
===============================================*/
@media screen and (max-width:640px) {
  #saiyou .statement p {
    font-size: 0.95rem;
  }
  #saiyou .statement .sta_tit {
    font-size: 1.15rem;
    margin-top: 1rem;
  }
  #saiyou .statement .sta_tit > span {
    font-size: 1.6rem;
  }
  #saiyou .tit_h3-01, .tit_h3-02, .tit_h3-03 {
    font-size: 1.1rem;
  }
}