/* =======================
   彼女プロフィール page
   ======================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Noto Sans JP", sans-serif;
  color: #145087;
}

/* 背景より前に出す＆高さ確保 */
.page-content {
  position: relative;
  z-index: 10;
  min-height: 100vh;
}

/* コンテンツ幅（SP） */
.main {
  max-width: 85%;
  margin: 0 auto;
  padding: 0 16px 40px;
}

.section {
  margin-top: 32px;
}

.section__inner {
  max-width: 480px;
  margin: 0 auto;
}

/* 見出しカード（共通っぽく） */
.page-heading {
  background: #ffffffee;
  border-radius: 20px;
  padding: 14px 10px 10px;
  text-align: center;
  border: 1px solid #e2f1ff;
  box-shadow: 0 4px 10px rgba(13, 71, 125, 0.08);
  margin-top: 24px;
  margin-bottom: 18px;
}

.page-heading__title {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.28em;
  color: #145087;
}

.page-heading__subtitle {
  margin: 4px 0 0;
  font-size: 11px;
  color: #6a7c93;
}

/* =======================
   プロフィールメイン
   ======================= */

.profile-main-card {
  margin-top: 8px;
}

/* 写真部分 */
.profile-photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
}

.profile-photo-frame {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  padding: 6px;
  border: 2px solid #f5d45d;
  background: #f7fbff;
  box-shadow: 0 6px 18px rgba(13, 71, 125, 0.12);
  position: relative; /* タップエリア用 */
}

.profile-photo-inner {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  background: #e2e2e2;
  overflow: hidden;
}

/* 左右タップエリア */
.profile-photo-hit {
  position: absolute;
  inset: 0;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.profile-photo-hit--left {
  right: 50%;
}

.profile-photo-hit--right {
  left: 50%;
}

/* 画像を入れるとき */
.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-photo-dots {
  margin-top: 8px;
  text-align: center;
}

.photo-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #d5e6ff;
  margin: 0 3px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.photo-dot.is-active {
  width: 10px;
  background: #1c63d2;
}

/* 名前＋SNS */
.profile-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.profile-name-block {
  flex: 1;
}

.profile-name-ja {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.18em;
}

.profile-name-kana {
  margin: 4px 0 0;
  font-size: 11px;
  color: #6a7c93;
}

/* SNSボタン */
.profile-sns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-sns__btn {
  width: auto;
  height: auto;
  border: none;
  background: none;
  padding: 0;
}

.profile-sns__icon {
  width: 30px;  /* 好きなサイズに変更OK */
  height: 30px;
  border-radius: 0; /* 必要なら丸めたい場合は 50% に */
}

/* 必要なら個別色 */
.profile-sns__btn--line {
  border-color: #00c300;
}

.profile-sns__btn--x {
  border-color: #1c63d2;
}

/* =======================
   基本情報テーブル
   ======================= */

.profile-table {
  margin: 0 0 18px;
  padding: 14px 14px 10px;
  border-radius: 18px;
  background: #ffffffee;
  border: 1px solid #e2f1ff;
  box-shadow: 0 4px 12px rgba(13, 71, 125, 0.08);
}

.profile-table__row {
  display: grid;
  grid-template-columns: 88px 1fr;
  column-gap: 8px;
  padding: 6px 0;
  font-size: 12px;
  line-height: 1.8;
  color: #34536f;
  position: relative;
}

/* 行の区切り（黄色のラインをうすく） */
.profile-table__row::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  border-bottom: 1px dashed #ffe6a3;
}

.profile-table__row:last-child::after {
  display: none;
}

.profile-table dt {
  font-weight: 600;
  color: #145087;
}

.profile-table dd {
  margin: 0;
}

/* オプション行だけ行間少し広め */
.profile-table__row--options {
  align-items: flex-start;
}

.profile-tag {
  display: inline-block;
  padding: 2px 8px 3px;
  border-radius: 999px;
  border: 1px solid #f5d45d;
  font-size: 10px;
  color: #145087;
  background: #fffdf4;
  margin-right: 6px;
  margin-bottom: 4px;
}

/* =======================
   メッセージカード
   ======================= */

.profile-message-card {
  margin-top: 6px;
  padding: 14px 14px 16px;
  border-radius: 18px;
  border: 1px solid #9ccfff;
  background: #f4fbff;
  box-shadow: 0 4px 10px rgba(13, 71, 125, 0.06);
  font-size: 12px;
  color: #34536f;
  line-height: 1.9;
}

.profile-message-card__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #6a7c93;
  margin-bottom: 6px;
}

/* =======================
   スケジュール
   ======================= */

.section-schedule {
  margin-top: 40px;
}

.schedule-card {
  border-radius: 24px;
  background: #ffffffee;
  border: 1px solid #e2f1ff;
  box-shadow: 0 6px 16px rgba(13, 71, 125, 0.12);
  padding: 18px 16px 18px;
  max-width: 540px;  /* ←幅広くしたい場合ここだけ調整 */
  margin: 0 auto;
}

.schedule-title {
  text-align: center;
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: 0.22em;
  color: #145087;
}

.schedule-title__sub {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #6a7c93;
  letter-spacing: 0.08em;
}

/* 凡例 */
.schedule-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: 11px;
  color: #6a7c93;
  margin-bottom: 6px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #9ccfff;
}

.schedule-calendar {
  margin-top: 4px;
}

.schedule-month {
  font-size: 13px;
  margin-bottom: 8px;
}

/* =======================
   カレンダー本体（均等幅）
   ======================= */

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 11px;
  table-layout: fixed; /* ←均等幅に重要 */
}

.schedule-table th,
.schedule-table td {
  width: calc(100% / 7); /* 7列を均等に */
  padding: 6px 0;
  color: #34536f;
}

/* 曜日（上） */
.schedule-table th {
  font-weight: 500;
  color: #6a7c93;
  padding-bottom: 6px;
}

/* 日付セル */
.schedule-table td {
  position: relative;
  height: 28px;
}

/* デート可能日（数字の下に丸） */
.schedule-table td.is-available {
  position: relative;
  color: #145087;
  font-weight: 600;
  z-index: 1;
}

.schedule-table td.is-available::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;      /* ★大きさ（調整OK） */
  height: 22px;
  border-radius: 999px;
  background: #9ccfff80; /* 半透明の水色 */
  transform: translate(-50%, -50%);
  z-index: -1;      /* ★数字の後ろに回す */
}

/* MORE → */
.schedule-more {
  text-align: right;
  margin-top: 10px;
}

.schedule-more a {
  font-size: 11px;
  text-decoration: none;
  color: #145087;
  letter-spacing: 0.12em;
}

/* PC向け（必要なら調整） */
@media (min-width: 768px) {
  .section-schedule {
    margin-top: 56px;
  }

  .schedule-card {
    max-width: 600px; /* PC時の幅 */
    padding: 24px 28px 20px;
  }

  .schedule-month {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .schedule-table th,
  .schedule-table td {
    font-size: 12px;
  }
}




/* =======================
   BLOG 共通ブロック
   ======================= */

.blog-heading {
  text-align: center;
  margin-bottom: 20px;
}

.blog-heading__title {
  margin: 0;
  font-size: 15px;
  letter-spacing: 0.16em;
  color: #145087;
}

/* 一覧レイアウト */
.blog-list {
  display: grid;
  gap: 40px;
}

/* 各記事カード */
.blog-card {
  position: relative;
}

/* サムネ（縦長） */
.blog-card__thumb {
  width: 70%;
  height: 260px;
  background: #dcdcdc;
  margin: 0 auto 18px;
  display: block;
}

.blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 枠＋テキスト部分 */
.blog-card__frame {
  position: relative;
  padding: 0 4px 26px;
}

/* 下の青い横線（全幅） */
.blog-card__frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #145087;
}

/* 右側の縦線（半分くらい） */
.blog-card__frame::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 1px;
  height: 100px;
  background: #145087;
}

/* 日付＋ラベル */
.blog-card__meta {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: #6a7c93;
}

.blog-card__date {
  margin-right: 8px;
}

.blog-card__label {
  color: #f5a400;
  font-style: italic;
}

/* タイトル＆本文 */
.blog-card__title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: #145087;
}

.blog-card__excerpt {
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
  color: #44566b;
}

/* MORE → （枠の内側・右下） */
.blog-card__more {
  position: absolute;
  right: 8px;
  bottom: 8px;
  font-size: 12px;
  text-decoration: none;
  color: #145087;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

/* 画面が小さいときの高さ調整 */
@media (max-width: 360px) {
  .blog-card__thumb {
    height: 230px;
  }
}

/* PC幅のときだけ、サムネを少し大きく */
@media (min-width: 768px) {
  .blog-list {
    gap: 48px;
  }

  .blog-card__thumb {
    height: 320px;
  }
}

/* =======================
   PC向けレイアウト
   ======================= */

@media (min-width: 768px) {
  .main,
  .section__inner {
    max-width: 960px;
  }

  .section {
    margin-top: 48px;
  }

  .page-heading {
    margin-top: 32px;
    margin-bottom: 24px;
  }

  .profile-main-card {
    display: grid;
    grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
    column-gap: 32px;
    align-items: flex-start;
  }

  .profile-photo-wrap {
    margin-bottom: 0;
  }

  .profile-header {
    margin-top: 4px;
  }

  .profile-message-card {
    margin-top: 10px;
  }

  .section-schedule {
    margin-top: 56px;
  }

  .section-girl-blog {
    margin-top: 56px;
  }
}
