@charset "utf-8";
/* ===========================================================================
   キャスト詳細（staff.php?id=…）
   現行HP（aroma-poseidon.com/profile.php）の style.css の指定をそのまま持ってきている。
   フォント・文字サイズ・色・余白・切替点（1024 / 768 / 480px）も現行HPと同じ。
   site.css の後に読み込み（header.php の $pageCssAfter）、#contents_profile の中だけに効かせる。
   =========================================================================== */

/* ---------- 全体（現行HPの body の指定） ---------- */
#contents_profile {
  position: relative;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "Meiryo UI", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #000;
  text-align: center;
}
#contents_profile *,
#contents_profile *::before,
#contents_profile *::after {
  box-sizing: border-box;
}
#contents_profile p,
#contents_profile h2,
#contents_profile h3,
#contents_profile h4,
#contents_profile table,
#contents_profile th,
#contents_profile td {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-family: inherit;
  letter-spacing: normal;
}
#contents_profile a {
  text-decoration: none;
}
#contents_profile img {
  vertical-align: bottom;
}

/* ふわっと薄くする（現行HPの .link_act_01） */
#contents_profile .link_act_01 {
  opacity: 1;
  transition: 0.3s ease-in-out;
}
#contents_profile .link_act_01:hover {
  opacity: 0.7;
}

/* 土曜・日曜の色（現行HPの .atten_03 / .atten_04） */
#contents_profile .atten_03 { color: #68AFC1 !important; }
#contents_profile .atten_04 { color: #ff0000 !important; }

/* ---------- 一覧へ戻る・名前の見出し（こちらで足したもの。PCだけ出す） ---------- */
#contents_profile .profile_back {
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
  font-size: 14px;
}
#contents_profile .profile_back a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  padding: 2px 10px 2px 20px;
  background: #ff5c9d;
  color: #fff;
}
/* 左向きの矢印（Web予約ボタンの矢印を反転したもの） */
#contents_profile .profile_back a::before {
  content: "";
  position: absolute;
  left: 12px;
  width: 6px;
  height: 6px;
  border-bottom: solid 1px #fff;
  border-left: solid 1px #fff;
  transform: rotate(45deg);
}
#contents_profile .profile_name_title {
  margin: 30px 0 0;
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 0.05em;
  line-height: 1.4;
}
#contents_profile .profile_name_title span {
  margin-left: 4px;
  font-size: 18px;
  font-weight: normal;
}

/* ---------- 外枠 ---------- */
#contents_profile .other_page {
  position: relative;
  padding: 30px 0 60px;
}
#contents_profile .inner {
  max-width: 1200px;
  margin: auto;
}
/* 左右の float を section の中で閉じる */
#contents_profile .other_page section > .inner::after {
  content: "";
  display: block;
  clear: both;
}

/* ---------- 小見出し（現行HPの .subtitle） ---------- */
#contents_profile .subtitle {
  width: 80%;
  margin: 10px auto;
  padding: 10px;
  color: #b7ad79;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.15em;
  line-height: 10px;
}
#contents_profile .sp_schedule_title {
  display: none;
}
/* スケジュールの見出し（現行HPの .subtitle_04） */
#contents_profile .subtitle_04 {
  display: block;
  width: 100%;
  padding: 10px 0;
  position: relative;
  color: #000;
  font-size: 28px;
  font-weight: normal;
  letter-spacing: 0.05em;
  line-height: 25px;
}
#contents_profile .subtitle_04 span {
  font-size: 18px;
  color: #000;
}

/* ---------- 右側の白いボックス ---------- */
#contents_profile .profile_box_right {
  float: right;
  width: 58%;
  margin-top: 10px;
  margin-bottom: 20px;
  padding: 15px;
  color: #000;
  background: #fff;
  border: solid 1px #ddd;
  font-size: 14px;
  transition: 0.3s ease-in-out;
}
#contents_profile .txt_box_03 {
  margin-bottom: 10px;
  padding: 0 20px;
  text-align: left;
  word-break: break-word;
}
#contents_profile .txt_box_03.widget_area {
  max-width: 440px;
  margin: 0 auto;
}
/* 02の中身は Shadow DOM の中に描画される（max-width:400px・左寄せ）ので、土台を同じ幅にして中央に置く */
#contents_profile .widget_area .sns-embed-timeline-container {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
#contents_profile .txt_box_04 {
  width: 90%;
  margin: 0 auto;
  padding: 10px 0;
  text-align: left;
  line-height: normal;
  word-break: break-word;
}

/* 名前・サイズ・タイプ */
#contents_profile .profile_box_right .txt_area {
  position: relative;
}
#contents_profile .profile_box_right .name {
  padding: 0 20px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}
#contents_profile .profile_box_right .name span {
  font-size: 14px;
  font-weight: normal;
}
#contents_profile .profile_box_right .size {
  margin-bottom: 5px;
  font-size: 14px;
  text-align: center;
}
/* タイプ。現行HPはアイコン画像（1枚140px以上のグリッド）なので、同じグリッドに文字のバッジを並べる */
#contents_profile .profile_box_right .icon_check {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 4px;
  margin: 10px auto 0;
}
#contents_profile .profile_box_right .icon_check span {
  display: block;
  /* 現行HPのアイコン画像（白地・ピンクの枠と文字）と同じ見た目 */
  padding: 1px 4px;
  border: solid 1px #e8467c;
  background: #fff;
  color: #e8467c;
  font-size: 20px;
  font-weight: normal;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- 左側の写真 ---------- */
#contents_profile .profile_box_left {
  float: left;
  width: 40%;
  transition: 0.3s ease-in-out;
}
#contents_profile .profile_box_left .img_box {
  position: relative;
  width: 100%;
  max-width: 335px;
  margin: 10px auto;
  text-align: center;
}
#contents_profile .profile_box_left .img_box img {
  width: 100%;
  max-width: 335px;
  max-height: 503px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
/* 新人（現行HPと同じ images/icon_new.png を右上に重ねる） */
#contents_profile .profile_box_left .icon_new {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 20%;
  max-width: 48px;
  line-height: 0;
}
/* 上の .img_box img（写真用の比率・最大サイズ）が掛からないよう打ち消す */
#contents_profile .profile_box_left .img_box .icon_new img {
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
  aspect-ratio: auto;
  object-fit: initial;
}
/* サムネイル（現行HPと同じ 60×90） */
#contents_profile .cast_thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  max-width: 335px;
  margin: 0 auto;
}
/* 現行HPと同じく、選んでいないサムネイルも薄くしない */
#contents_profile .cast_thumb {
  display: block;
}
#contents_profile .cast_thumb img {
  width: 60px;
  height: 90px;
  object-fit: cover;
}

/* ---------- Q&A（現行HPの .table_01 / .qa_box） ---------- */
#contents_profile .table_01 {
  width: 100%;
  margin-bottom: 20px;
  border-spacing: 0;
  border-collapse: collapse;
  text-align: left;
  color: #3c3c3c;
}
#contents_profile .qa_box table tr {
  border-bottom: 1px solid #ddd;
}
#contents_profile .table_01 th,
#contents_profile .table_01 td {
  display: block;
  color: #000;
  background: none;
  vertical-align: middle;
  text-indent: -1.4em;
  margin-left: 1.4em;
}
#contents_profile .qa_box table th {
  padding: 5px 5px 0 10px;
  font-weight: bold;
}
#contents_profile .qa_box table td {
  padding: 0 5px 5px 10px;
}

/* ---------- 料金
   現行HPはランクごとの料金画像（images_topics/images/PREMIUM_2604.png など）。
   こちらは金額を pricing.php から出すので、同じ見た目の表にしている：
   青い説明文 → 左グレー／右白の2列の表（枠の端まで）→ 赤い注意書き ---------- */
#contents_profile .rank_box {
  padding: 10px 0 0;
}
#contents_profile .rank_box .subtitle {
  line-height: 18px;
}
#contents_profile .price_box {
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
}
#contents_profile .price_note {
  padding: 0 20px 10px;
  color: #0068d9;
  font-size: 22px;
  line-height: 1.4;
}
#contents_profile .price_table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid #ccc;
}
#contents_profile .price_table tr {
  border-bottom: 1px solid #ccc;
}
#contents_profile .price_table th,
#contents_profile .price_table td {
  padding: 12px 6px;
  color: #000;
  text-align: center;
  vertical-align: middle;
  line-height: 1.3;
}
#contents_profile .price_table th {
  width: 36%;
  background: #f2f2f2;
  font-size: 22px;
  font-weight: normal;
}
#contents_profile .price_table td {
  background: #fff;
  font-size: 26px;
  letter-spacing: 0.05em;
}
#contents_profile .price_table .recommend {
  margin-right: 4px;
  color: #e60012;
  font-size: 13px;
  vertical-align: 2px;
}
#contents_profile .price_table .course_sub {
  display: block;
  font-size: 13px;
}
/* 指名料の本文は小さめの2行（画像と同じく左揃え） */
#contents_profile .price_table tr.is-nominate td {
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: normal;
  text-align: left;
}
#contents_profile .price_caution {
  padding: 8px 10px;
  color: #e60012;
  font-size: 16px;
  line-height: 1.4;
}

/* ---------- 電話予約・Web予約（こちらで足したもの。スケジュールの Web予約 と同じ形） ---------- */
#contents_profile .profile_cta {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
#contents_profile .profile_btn,
#contents_profile .profile_box_schedule .profile_sch_box a.reserve {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  margin-inline: auto;
  margin-top: 5px;
  background: #ff5c9d;
  color: #fff;
}
#contents_profile .profile_btn {
  width: 200px;
  margin: 0;
  padding: 8px 20px;
}
#contents_profile .profile_btn::after,
#contents_profile .profile_box_schedule .profile_sch_box a.reserve::after {
  content: "";
  position: absolute;
  display: block;
  width: 6px;
  height: 6px;
  border-top: solid 1px #fff;
  border-right: solid 1px #fff;
  transform: rotate(45deg);
  right: 10px;
}

/* ---------- スケジュール（現行HPの .profile_box_schedule） ---------- */
#contents_profile .profile_box_schedule {
  clear: both;
}
#contents_profile .profile_box_schedule .profile_sch_box {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  background: #fff;
  border: 1px solid #ddd;
}
#contents_profile .profile_box_schedule .profile_sch_variable .profile_sch_date {
  padding: 5px;
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
  border-bottom: solid 1px #ddd;
}
#contents_profile .profile_box_schedule .profile_sch_variable .profile_sch_check {
  display: grid;
  align-content: center;
  align-items: center;
  min-height: 65px;
  padding: 5px;
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
}
/* 予約満了は赤（キャスト一覧の .cast-card-time.is-soldout と同じ色） */
#contents_profile .profile_sch_variable.is-soldout .time {
  color: #d81414;
  font-weight: bold;
}
#contents_profile .profile_box_schedule .profile_sch_check .room {
  width: 120px;
  margin: 0 auto;
  border: solid 1px #000;
  line-height: 1.4;
}

/* ===========================================================================
   1024px以下：1カラム（現行HPと同じ切替点）
   =========================================================================== */
@media screen and (max-width: 1024px) {
  #contents_profile .txt_box_04 {
    width: 94%;
    padding: 10px 0 20px;
  }
  #contents_profile .profile_box_right {
    width: 100%;
    float: none;
    padding: 0;
    margin-bottom: 0;
    background: #fff;
  }
  #contents_profile .profile_box_right.sp_profile_info {
    border-bottom: 0;
  }
  #contents_profile .profile_box_right.sp_profile_info .txt_box_03,
  #contents_profile .profile_box_right.sp_profile_info .size {
    margin-bottom: 0;
  }
  #contents_profile .profile_box_left {
    width: 100%;
    float: none;
    margin-bottom: 10px;
    padding: 10px 0 20px;
    background: #fff;
    border: solid 1px #ddd;
    border-top: 0;
  }
  #contents_profile .profile_box_left .img_box {
    max-width: 300px;
    margin-top: 0;
  }
  #contents_profile .profile_box_left .img_box img {
    max-width: 300px;
  }
  #contents_profile .profile_cta {
    padding: 15px;
  }
}

/* ===========================================================================
   768px以下：スマホ（現行HPの「プロフィールページSP版」）
   =========================================================================== */
@media screen and (max-width: 768px) {
  #contents_profile .sp_mb_30 {
    margin-bottom: 30px !important;
  }
  #contents_profile .sp_profile_inner {
    width: 95%;
    margin: 0 auto;
  }
  #contents_profile .other_page {
    padding: 10px 0 30px;
  }
  /* 名前はプロフィール欄に出ているので、上の見出しは出さない */
  #contents_profile .profile_name_title {
    display: none;
  }
  #contents_profile .profile_back {
    margin-top: 10px;
  }
  /* 見出しは灰色の帯 */
  #contents_profile .subtitle {
    width: 100%;
    margin-top: 0;
    color: #000;
    background: #efefef;
  }
  #contents_profile .rank_box .subtitle {
    margin-bottom: 0;
  }
  /* スケジュールの見出しは SP 用に切り替える */
  #contents_profile .subtitle_04 {
    display: none;
  }
  #contents_profile .sp_schedule_title {
    display: block;
    margin: 0;
    border: solid 1px #ddd;
    border-bottom: 0;
  }
  #contents_profile .profile_box_left .img_box,
  #contents_profile .profile_box_left .img_box img {
    max-width: 312px !important;
    max-height: 468px !important;
  }
  /* Q&A */
  #contents_profile .table_01 {
    width: calc(100% - 20px);
    margin: 0 10px 10px;
    color: #000;
  }
  #contents_profile .table_01 tr:last-child {
    border-bottom: 0;
  }
  /* 料金表（画像が縮んだときと同じくらいの文字サイズ） */
  #contents_profile .price_note {
    padding: 8px 10px;
    font-size: 14px;
  }
  #contents_profile .price_table th,
  #contents_profile .price_table td {
    padding: 10px 4px;
  }
  #contents_profile .price_table th {
    font-size: 17px;
  }
  #contents_profile .price_table td {
    font-size: 19px;
  }
  #contents_profile .price_table .recommend,
  #contents_profile .price_table .course_sub {
    font-size: 11px;
  }
  #contents_profile .price_table tr.is-nominate td {
    padding-left: 10px;
    font-size: 11px;
  }
  #contents_profile .price_caution {
    font-size: 12px;
  }
  /* 02 はトップ（.widget_wrap）と同じく左右に指を置ける余白を作る */
  #contents_profile .txt_box_03.widget_area {
    width: 86%;
    padding: 10px 0;
  }

  /* スケジュールは1日1行。日付を左、中身を右（50% : 50%） */
  #contents_profile .profile_box_schedule .profile_sch_box {
    display: block;
  }
  #contents_profile .profile_box_schedule .profile_sch_box .profile_sch_variable {
    display: flex;
  }
  #contents_profile .profile_box_schedule .profile_sch_variable .profile_sch_date {
    flex-basis: 50%;
    padding: 11px 0;
  }
  #contents_profile .profile_box_schedule .profile_sch_variable .profile_sch_check {
    flex-basis: 50%;
    padding: 10px 0;
    border-bottom: solid 1px #ddd;
    min-height: auto;
  }
  #contents_profile .profile_box_schedule .profile_sch_variable:last-child .profile_sch_date,
  #contents_profile .profile_box_schedule .profile_sch_variable:last-child .profile_sch_check {
    border-bottom: 0;
  }
}

/* 詳細ではヘッダー帯（PROFILE の画像）を現行HPと同じく 768px 以下で消す */
@media screen and (max-width: 768px) {
  .page_top_outer {
    display: none !important;
  }
}

/* ===========================================================================
   480px以下
   =========================================================================== */
@media screen and (max-width: 480px) {
  #contents_profile .profile_box_left .img_box,
  #contents_profile .profile_box_left .img_box img {
    max-width: 200px;
  }
}
