@charset "UTF-8";

/* ==========================================================================
   会員専用ページ用固有スタイル (page-member-only.css)
   ========================================================================== */

.sub-main {
  width: 100%;
  background-color: #fff;
  padding-bottom: 120px;
}

.sub-fv {
  width: 100%;
  background: linear-gradient(135deg, #0098ff 0%, #0056b3 100%);
  padding: 80px 0;
  text-align: center;
}

.sub-fv-container {
  max-width: 1200px;
  margin: 0 auto;
}

.sub-fv-title-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sub-fv-eng {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  opacity: 0.8;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sub-fv-jp {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  margin: 0;
}

.breadcrumb-container {
  margin: 0 auto;
  padding: 50px 200px;
}

.breadcrumbs {
  max-width: 1200px;
  font-size: 0.85rem;
  color: #888888;
}

.breadcrumbs a {
  color: #00031e;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: #0098ff;
}

.breadcrumbs span {
  color: #888888;
  font-weight: 500;
}

.sub-section {
  width: 100%;
  padding: 50px 200px;
  background-color: #fff;
}

.sub-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ==========================================================================
   パスワード入力フォームのスタイル (WordPress標準フォームの装飾)
   ========================================================================== */
.post-password-form {
  max-width: 600px;
  margin: 40px auto;
  padding: 40px;
  background-color: #fcfdfe;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  text-align: center;
}

.post-password-form p {
  font-size: 1rem;
  color: #00031e;
  line-height: 1.8;
  margin-bottom: 20px;
}

.post-password-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 15px;
}

.post-password-form input[type="password"] {
  width: 100%;
  max-width: 320px;
  padding: 12px 16px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font-size: 1rem;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.post-password-form input[type="password"]:focus {
  outline: none;
  border-color: #0098ff;
  box-shadow: 0 0 0 3px rgba(0, 152, 255, 0.1);
}

.post-password-form input[type="submit"] {
  display: inline-block;
  background-color: #0098ff;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  padding: 12px 48px;
  border-radius: 25px;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: background-color 0.2s;
}

.post-password-form input[type="submit"]:hover {
  background-color: #0077c7;
}

/* ==========================================================================
   会員限定コンテンツ（ログイン後）
   ========================================================================== */

/* 警告文・注意書き */
.member-warning-box {
  background-color: #fff9f9;
  border: 1px solid #ffccd0;
  border-radius: 6px;
  padding: 24px 30px;
  margin-bottom: 60px;
}

.warning-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ff3b30;
  margin: 0 0 8px 0;
}

.warning-text {
  font-size: 0.95rem;
  color: #00031e;
  line-height: 1.8;
  margin: 0;
}

/* カテゴリごとのブロック設定 */
.member-cat-section {
  margin-bottom: 50px;
}

.member-cat-section:last-child {
  margin-bottom: 0;
}

/* カテゴリの見出し（左側に青いアクセント線） */
.member-cat-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #00031e;
  margin: 0 0 20px 0;
  padding-left: 12px;
  border-left: 4px solid #0098ff;
  line-height: 1.4;
}

/* ニュース風リスト */
.member-news-list {
  border-top: 1px solid #e0e0e0;
}

.member-news-item {
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  padding: 24px 0;
  gap: 24px;
}

/* 種別バッジ */

.member-news-title {
  font-size: 1rem;
  font-weight: 400;
  margin: 0;
  line-height: 1.6;
}

.member-pdf-link {
  color: #00031e;
  text-decoration: none;
  transition: color 0.2s;
}

.member-pdf-link:hover {
  color: #0098ff;
  text-decoration: underline;
}

/* PDFアイコン付与 */
.member-pdf-link::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 8px;
  vertical-align: -2px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230098ff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/><polyline points='7 10 12 15 17 10'/><line x1='12' y1='15' x2='12' y2='3'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}

.member-empty {
  font-size: 0.95rem;
  color: #888888;
  padding: 20px 0;
  margin: 0;
  border-bottom: 1px solid #e0e0e0;
}

/* ==========================================================================
   会員専用ページ レスポンシブ (page-member-only.css 末尾用)
   ========================================================================== */

@media (max-width: 768px) {
  /* 左右200pxの余白をスマホ用に20pxへリセット */
  .breadcrumb-container,
  .sub-section {
    padding: 30px 20px !important;
  }

  /* WordPress標準のパスワード保護フォーム */
  .post-password-form {
    padding: 25px 20px;
  }

  .post-password-form input[type="password"] {
    max-width: 100%;
    margin-bottom: 15px;
  }

  .post-password-form input[type="submit"] {
    width: 100%;
    padding: 12px 0;
  }

  /* 【ご利用上の注意】ボックス */
  .member-warning-box {
    padding: 15px 20px;
    margin-bottom: 40px;
  }

  .warning-title {
    font-size: 0.95rem;
  }

  .warning-text {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  /* カテゴリ見出し */
  .member-cat-title {
    font-size: 1.15rem;
    margin-bottom: 15px;
  }

  /* 資料リストアイテムを縦並びに調整 */
  .member-news-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 0;
  }

  .member-news-title,
  .member-pdf-link {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}
