/*
Theme Name: MemberPortalTheme
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: 高級感ある会員制ポータル学習サイト用WordPressテーマ
Version: 2.0
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Playfair+Display:wght@600&display=swap');

/* ================================
  共通設定
================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  background: url('https://clm-official.com/wp-content/uploads/2025/09/名称未設定のデザイン-40.png') no-repeat center center fixed;
  background-size: cover;
  color: #333;
  line-height: 1.8;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: #0073aa;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ================================
  レイアウト
================================= */
.wrapper {
  max-width: 960px;
  margin: 60px auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* ================================
  ヘッダー
================================= */
header {
  background: none;
  padding: 20px 0;
  text-align: center;
}



/* ================================
  ナビゲーション（省略可）
================================= */
nav {
  background: none !important;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
}

nav a {
  color: #fff;
  font-weight: bold;
}

/* ================================
  セクション
================================= */
section {
  margin-bottom: 60px;
}

.clm-title {
  font-family: "Noto Serif JP", serif; /* 明朝体 */
  font-size: 36px;                     /* 大きめに */
  font-weight: bold;
  text-align: center;                  /* 中央寄せ */
  margin-bottom: 20px;
  color: #222;
}


h2 {
  font-size: 22px;
  color: #002040;
  margin-bottom: 16px;
  text-align: center;   /* 中央寄せ */
  position: relative;
  padding-left: 0;      /* 左余白をリセット */
}

/* 丸を消す */
h2::before {
  content: none;
}


/* ================================
  受講生の声（カルーセル）
================================= */
#voices {
  text-align: center;
}

.carousel-voices {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.voice-card {
  flex: 0 0 280px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.06);
  scroll-snap-align: start;
  text-align: center;
  transition: transform 0.3s ease;
}

.voice-card:hover {
  transform: translateY(-4px);
}

.voice-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 12px;
  object-fit: cover;
}

.voice-card p {
  font-size: 14px;
  color: #444;
}

/* ================================
  ログインフォーム
================================= */
.login-form,
#login form {
  max-width: 420px;
  margin: 0 auto;
  background: #fefefe;
  padding: 24px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

#login input[type="text"],
#login input[type="password"],
#login input[type="submit"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 14px;
  border-radius: 6px;
  border: 1px solid #bbb;
  font-size: 16px;
}

#login input[type="submit"] {
  background-color: #002040;
  color: #fff;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

#login input[type="submit"]:hover {
  background-color: #003366;
}

/* ================================
  会社概要
================================= */
#company p {
  font-size: 15px;
  line-height: 1.6;
}

#company a {
  color: #002080;
  text-decoration: underline;
}

#company a:hover {
  text-decoration: none;
}

/* ================================
  フッター
================================= */
footer{
  background: transparent;   /* ← #222 などを無効化 */
  color: #eaeaea;            /* 背景画像の上で読める色に */
  text-align: center;
  padding: 28px 0;
  border: 0;
  box-shadow: none;
}
footer .wrapper{
  background: transparent;   /* 万一、枠や白ボックスがあれば無効化 */
  box-shadow: none;
  border-radius: 0;
  padding: 0 20px;
}
