/* ============================================================
   subpage.css — 城東ウォーリアーズ サブページ共通スタイル
   about.html / membership.html / privacy.html で使用
   ============================================================ */


/* ==========================================================
   コンテンツエリア共通
   ========================================================== */
.content-section { padding: 80px 0; background-color: var(--bg-white); }

/* about-block: 見出し＋本文の繰り返し単位 */
.about-block { margin-bottom: 60px; }
.about-block:last-child { margin-bottom: 0; }

.about-block h2 {
  font-size: 24px;
  color: var(--primary-dark);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  position: relative;
}
.about-block h2::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 60px; height: 2px;
  background-color: var(--primary);
}
.about-block h3 { font-size: 18px; color: var(--primary); margin: 24px 0 12px; }
.about-block p  { font-size: 15px; color: var(--text-mid); margin-bottom: 16px; }


/* ==========================================================
   情報パネル
   ========================================================== */
.info-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}
.info-panel h4 { font-size: 16px; color: var(--text-dark); margin-bottom: 12px; }
.info-panel p  { margin-bottom: 0; }

/* マージンなし variant（Inサークルグリッド内で使用） */
.info-panel--flat { margin-bottom: 0; }


/* ==========================================================
   参加費画像ラッパー
   ========================================================== */
.price-image-wrapper {
  margin: 32px 0;
  box-shadow: var(--shadow);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}


/* ==========================================================
   会員規約リスト
   ========================================================== */
.rule-list { margin-top: 24px; }
.rule-list > li {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--border);
}
.rule-list > li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.rule-title {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 16px;
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.rule-title span { color: var(--primary); font-family: 'Zen Kaku Gothic New', sans-serif; }
.rule-desc { font-size: 15px; color: var(--text-mid); padding-left: 28px; }


/* ==========================================================
   ビジョンリスト（membership.html）
   ========================================================== */
.vision-list {
  padding-left: 1.5em;
  list-style: decimal;
  color: var(--text-mid);
  font-size: 15px;
  line-height: 2;
}

/* 入会の流れリスト */
.flow-list {
  padding-left: 1.5em;
  list-style: decimal;
  color: var(--text-mid);
  font-size: 15px;
  line-height: 2.2;
}


/* ==========================================================
   Inサークルグリッド（membership.html）
   ========================================================== */
.incircle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.incircle-note {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 16px;
  text-align: center;
}


/* ==========================================================
   お問い合わせボタングループ（membership.html）
   ========================================================== */
.contact-btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}


/* ==========================================================
   クロージングセクション（membership.html）
   ========================================================== */
.closing-section {
  text-align: center;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.closing-message {
  font-size: 18px;
  font-weight: bold;
  color: var(--primary-dark);
  margin-bottom: 24px;
}
.closing-date {
  font-size: 15px;
  color: var(--text-mid);
  margin-bottom: 8px;
}
.closing-address {
  font-style: normal;
  background: var(--bg);
  padding: 32px;
  border-radius: var(--radius);
  display: inline-block;
  text-align: left;
  margin-top: 24px;
}
.closing-address h4 {
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--primary-dark);
}
.closing-address p {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 4px;
}


/* ==========================================================
   about ページ 強みカード
   ========================================================== */
.strength-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}
.strength-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.strength-card h3 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.strength-card p { font-size: 15px; margin-bottom: 0; }


/* ==========================================================
   about ページ 運営団体情報
   ========================================================== */
.org-info {
  background: var(--bg);
  padding: 40px;
  border-radius: var(--radius);
  margin-top: 80px;
  text-align: center;
  font-style: normal; /* address要素のデフォルトイタリック体を解除 */
}
.org-info h3 { font-size: 20px; color: var(--text-dark); margin-bottom: 20px; }
.org-info p  { margin-bottom: 8px; color: var(--text-mid); font-size: 15px; }
.org-info .org-name {
  font-size: 18px;
  font-weight: bold;
  color: var(--primary-dark);
  margin-bottom: 16px;
}


/* ==========================================================
   外部リンクバナー（about ページ）
   ========================================================== */
.external-link-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #f0f7f3;
  border: 1px solid #cce5d6;
  padding: 16px 24px;
  border-radius: 8px;
  margin: 24px 0;
  color: var(--primary-dark);
  font-weight: bold;
  transition: background-color 0.3s;
}
.external-link-banner:hover { background-color: #e3f2e8; }
.external-link-banner svg { fill: var(--primary); flex-shrink: 0; }


/* ==========================================================
   プライバシーポリシーページ
   ========================================================== */
.policy-intro {
  font-size: 15px;
  color: var(--text-mid);
  margin-bottom: 40px;
  padding: 24px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.policy-intro h2 {
  font-size: 18px;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.policy-intro p { margin-bottom: 8px; }
.policy-intro p:last-child { margin-bottom: 0; }

.policy-block { margin-bottom: 48px; }
.policy-block:last-child { margin-bottom: 0; }
.policy-block h2 {
  font-size: 20px;
  color: var(--primary-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.policy-block h2 span {
  font-size: 24px;
  color: var(--primary);
  font-weight: 900;
  font-family: 'Zen Kaku Gothic New', sans-serif;
}
.policy-block p { font-size: 15px; color: var(--text-mid); margin-bottom: 12px; }

.policy-list { margin-top: 12px; margin-bottom: 16px; padding-left: 20px; }
.policy-list li {
  font-size: 15px;
  color: var(--text-mid);
  margin-bottom: 8px;
  position: relative;
  padding-left: 8px;
}

.contact-info-block {
  background: var(--bg);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-top: 60px;
}
.contact-info-block > p:first-of-type {
  margin-bottom: 24px;
  color: var(--text-dark);
}
.contact-info-block h3 { font-size: 18px; color: var(--primary-dark); margin-bottom: 16px; }
.contact-info-block p  { font-size: 15px; color: var(--text-mid); margin-bottom: 8px; }

.date-info {
  text-align: right;
  margin-top: 40px;
  font-size: 15px;
  color: var(--text-mid);
  font-weight: 500;
}


/* ============================================================
   ニュース一覧ページ専用スタイル (news.html)
   ============================================================ */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.news-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.news-item:first-child {
  border-top: 1px solid var(--border);
}
.news-meta {
  flex-shrink: 0;
  width: 130px;
  padding-top: 2px;
}
.news-date {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
}
.news-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}
.news-tag--new     { background: #e8f7ee; color: var(--primary); border: 1px solid #b5ddc4; }
.news-tag--event   { background: #fff8e8; color: #9a6b00; border: 1px solid #f0d070; }
.news-tag--web     { background: #e8f0ff; color: #2255bb; border: 1px solid #b0c8ff; }
.news-tag--feature { background: #f4eeff; color: #6633bb; border: 1px solid #c8aaee; }
.news-body { flex: 1; }
.news-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.5;
}
.news-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 14px;
}
.news-desc:last-child { margin-bottom: 0; }
.news-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.news-link:hover { border-bottom-color: var(--primary); }
.news-link svg { flex-shrink: 0; }

@media (max-width: 600px) {
  .news-item {
    flex-direction: column;
    gap: 10px;
    padding: 24px 0;
  }
  .news-meta {
    width: auto;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .news-date { margin-bottom: 0; }
}

/* ============================================================
   お問い合わせページ専用スタイル (contact.html)
   ============================================================ */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.contact-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: box-shadow 0.2s;
}
.contact-card:hover { box-shadow: 0 4px 20px rgba(26,107,60,.12); }
.contact-card__icon  { font-size: 36px; margin-bottom: 12px; }
.contact-card__title { font-size: 17px; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.contact-card__desc  { font-size: 14px; color: var(--text-mid); margin-bottom: 20px; line-height: 1.7; }
.contact-card .btn-primary {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
  transition: background 0.2s;
}
.contact-card .btn-primary:hover { background: var(--primary-dark); }
.contact-card .btn-outline {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  transition: all 0.2s;
}
.contact-card .btn-outline:hover { background: var(--primary); color: #fff; }
.contact-form-section {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 48px;
}

/* Google Forms 埋め込みラッパー */
.form-embed-wrapper {
  position: relative;
  width: 100%;
  /* Google Forms の最低必要高さを確保しつつ、内容に応じて伸びる */
  padding-bottom: 0;
  margin-top: 24px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.form-embed-wrapper iframe {
  display: block;
  width: 100%;
  height: 900px;   /* PC: フォーム全体が収まる高さ */
  border: none;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .form-embed-wrapper iframe {
    height: 1100px; /* スマホ: 縦積みになるため高め */
  }
}
@media (max-width: 600px) {
  .contact-form-section { padding: 24px 20px; }
  .form-embed-wrapper iframe {
    height: 1200px;
  }
}

/* ============================================================
   会員専用ページ ログイン画面スタイル (members.html)
   ============================================================ */
#login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 24px;
}
.login-box {
  background: #fff;
  border-radius: 20px;
  padding: 48px 40px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.login-logo { font-size: 48px; margin-bottom: 16px; }
.login-box h2,
.login-box__title {
  font-size: 20px;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.login-box p {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 32px;
  line-height: 1.7;
}
.login-input-wrap {
  position: relative;
  margin-bottom: 16px;
}
.login-input-wrap input {
  width: 100%;
  padding: 14px 50px 14px 18px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.login-input-wrap input:focus { border-color: var(--primary); }
.login-toggle-pw {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--text-light);
  padding: 0;
  line-height: 1;
}
.login-btn {
  width: 100%;
  padding: 16px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 12px;
}
.login-btn:hover { background: var(--primary-dark); }
.login-error {
  color: #c0392b;
  font-size: 13px;
  margin-top: 8px;
  display: none;
}
.login-note {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 20px;
  line-height: 1.6;
}
@media (max-width: 480px) {
  .login-box { padding: 36px 24px; }
}
