@charset "UTF-8";
/* ==========================================================================
   クラベル体操 (kravel-taiso.com) サブページ用リデザイン
   対象: 学校ページ / 検索・一覧 / 申込・問い合わせフォーム / 静的ページ
   方針: 承認済みモックのデザイン言語（水色×ピンク・四角中心）を、
         既存テンプレートの class への上書きのみで適用する。
         トップページは redesign.css が担当するため本ファイルは読み込まない。
   ========================================================================== */

:root {
  color-scheme: light;
  --primary: #01b4ed;
  --primary-d: #0284ae;
  --primary-dd: #016483;
  --primary-l: #ddf3fd;
  --primary-xl: #ecf9fe;
  --accent: #ea609e;
  --accent-d: #bc3879;
  --ink: #1c2b33;
  --body: #3d4f59;
  --muted: #6b7d86;
  --bg: #f8fcfe;
  --line: #cbe9f6;
  --line-d: #8fcbe8;
  --r-lg: 4px;
  --r-md: 3px;
  --r-sm: 2px;
  --shadow-s: 0 2px 8px rgba(1, 180, 237, 0.07);
}

/* ------------------------------------------------------------------ */
/* 共通ベース                                                          */
/* ------------------------------------------------------------------ */
body {
  background: var(--bg);
  color: var(--body);
}
a { color: var(--primary-d); }
a:hover { color: var(--primary-dd); }
#main img { border-radius: var(--r-sm); }

/* ------------------------------------------------------------------ */
/* ヘッダー / グローバルナビ（トップ以外の共通部品）                    */
/* ------------------------------------------------------------------ */
#header {
  background: #fff;
  border-bottom: 3px solid var(--primary);
}
#header .wrap { padding: 10px 0; }
#header img { max-width: 62vw; height: auto; }

#navi {
  background: var(--primary-xl);
  border-bottom: 1px solid var(--line);
}
#navi ul li a {
  color: var(--primary-dd);
  font-weight: 600;
  padding: 10px 12px;
  border-radius: var(--r-sm);
}
#navi ul li a:hover {
  background: var(--primary-l);
  color: var(--primary-dd);
  text-decoration: none;
}

/* パンくず */
#topics {
  color: var(--muted);
  font-size: 12px;
  padding: 8px 0;
}
#topics a { color: var(--muted); }

/* ------------------------------------------------------------------ */
/* 見出し                                                              */
/* ------------------------------------------------------------------ */
h1.title_01 {
  color: var(--ink);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.35;
  padding: 6px 0 10px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--primary);
  background: none;
}
h2.title_01 {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  background: var(--primary-xl);
  border-left: 4px solid var(--primary);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  margin: 26px 0 14px;
}
h3.tit {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* ------------------------------------------------------------------ */
/* パネル / テーブル                                                   */
/* ------------------------------------------------------------------ */
.box,
.detail_box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-s);
  padding: 16px;
  margin-bottom: 18px;
}
.tb {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
}
.tb th,
.tb td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  line-height: 1.6;
}
.tb th {
  background: var(--primary-xl);
  color: var(--primary-dd);
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

/* ------------------------------------------------------------------ */
/* 学校ページ                                                          */
/* ------------------------------------------------------------------ */
.detail_option_link {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 10px 14px;
  margin-bottom: 16px;
}
.review_count { color: var(--body); font-weight: 600; }
.review_count a { color: var(--accent-d); font-weight: 800; }
.add_contact {
  display: inline-block;
  border: 1px solid var(--accent);
  color: var(--accent-d);
  background: #fff;
  border-radius: var(--r-sm);
  padding: 4px 10px;
  font-weight: 700;
}
.add_contact:hover { background: #fdeef5; text-decoration: none; }
.tel a {
  color: var(--primary-dd);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.num {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border-radius: var(--r-sm);
  padding: 1px 8px;
}
.school_link_wrap { margin: 14px 0; }
.school_link_wrap img {
  border-radius: var(--r-md);
  max-width: 100%;
  height: auto;
}
.school_news .item,
.review_list .item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 14px;
  margin-bottom: 10px;
}
.school_news .update,
.review_list .update { color: var(--muted); font-size: 12px; }
.school_news .title { color: var(--ink); font-weight: 700; }
.review_list .user { color: var(--primary-dd); font-weight: 700; }
.school_access .map { border: 1px solid var(--line); border-radius: var(--r-md); }
.error,
.comment_err { color: #c81e3a; font-weight: 600; }

/* ------------------------------------------------------------------ */
/* 検索・一覧ページ                                                    */
/* ------------------------------------------------------------------ */
.search_form {
  background: var(--primary-xl);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  margin-bottom: 18px;
}
.search_form .text {
  border: 1px solid var(--line-d);
  border-radius: var(--r-sm);
  padding: 8px 10px;
  background: #fff;
}
.result_num { color: var(--ink); font-weight: 700; margin-bottom: 12px; }
.result_num .num { font-size: 15px; }
.search_result .item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-s);
  padding: 14px 16px;
  margin-bottom: 12px;
  overflow: hidden;
}
.search_result .item .area,
.search_result .item .update { color: var(--muted); font-size: 12px; }
.search_result .item .desc { color: var(--body); line-height: 1.6; }
.paging { margin: 18px 0; }
.paging a,
.paging .num {
  display: inline-block;
  border: 1px solid var(--line-d);
  background: #fff;
  color: var(--primary-dd);
  border-radius: var(--r-sm);
  padding: 5px 11px;
  margin-right: 4px;
  font-weight: 600;
}
.paging .num { background: var(--primary); border-color: var(--primary); color: #fff; }
.paging a:hover { background: var(--primary-l); text-decoration: none; }
.btn,
.btn_01 {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  border: none;
  border-radius: var(--r-sm);
  padding: 9px 20px;
  cursor: pointer;
}
.btn:hover,
.btn_01:hover { background: var(--accent-d); text-decoration: none; }

/* ------------------------------------------------------------------ */
/* 申込・問い合わせフォーム                                            */
/* ------------------------------------------------------------------ */
.form .tb th .em,
.form .em { color: var(--accent-d); font-weight: 800; }
.form .note,
.note { color: var(--muted); font-size: 12px; line-height: 1.6; }
.form input.txt_w80p,
.form textarea.textarea_w80p,
.form select,
input.txt_w80p,
textarea.textarea_w80p {
  border: 1px solid var(--line-d);
  border-radius: var(--r-sm);
  background: #fff;
  padding: 8px 10px;
  font-size: 15px;
  color: var(--ink);
  box-sizing: border-box;
}
.form input.txt_w80p:focus,
.form textarea.textarea_w80p:focus,
.form select:focus,
input.txt_w80p:focus,
textarea.textarea_w80p:focus {
  border-color: var(--primary);
  outline: 2px solid var(--primary-l);
}
.policy {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 14px;
  line-height: 1.7;
}
.contact_content .form { margin-top: 6px; }

/* ------------------------------------------------------------------ */
/* 静的ページ（会社概要・補償制度など、class を持たない本文）           */
/* ------------------------------------------------------------------ */
#main p,
#contents p { line-height: 1.8; }
#main li,
#contents li { line-height: 1.7; }
#main table,
#contents table { border-collapse: collapse; }
#main th,
#main td,
#contents th,
#contents td { line-height: 1.6; }
#contents h2 {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  background: var(--primary-xl);
  border-left: 4px solid var(--primary);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  margin: 26px 0 14px;
}
#contents h3 { color: var(--ink); font-size: 16px; font-weight: 700; margin: 20px 0 8px; }

/* サイドバー */
.view_history { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px; }
.bnr img { border-radius: var(--r-md); max-width: 100%; height: auto; }

/* ------------------------------------------------------------------ */
/* モバイル                                                            */
/* ------------------------------------------------------------------ */
@media screen and (max-width: 768px) {
  h1.title_01 { font-size: 21px; }
  h2.title_01 { font-size: 16px; margin-top: 20px; }
  .tb th,
  .tb td { padding: 8px; }
  .tb th { white-space: normal; }
  .form input.txt_w80p,
  .form textarea.textarea_w80p,
  .form select,
  input.txt_w80p,
  textarea.textarea_w80p { width: 100%; }
  .tel a { font-size: 18px; }
  .box,
  .detail_box { padding: 12px; }
}


/* ==========================================================================
   学校詳細ページ：申込・問い合わせボタンのCSS化（Phase 1 作業2）
   ========================================================================== */
.school_link_wrap {
  display: flex !important;
  gap: 16px !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 28px 0 !important;
  flex-wrap: wrap !important;
}

.school_link_wrap a.school_btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 1 280px !important;
  max-width: 380px !important;
  min-height: 52px !important;
  padding: 14px 24px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  text-align: center !important;
  text-decoration: none !important;
  border-radius: 4px !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
  letter-spacing: 0.02em !important;
}

/* 体験練習の申込はこちら（アクセント #ea609e の塗り） */
.school_link_wrap a.btn_school_apply {
  background-color: #ea609e !important;
  color: #ffffff !important;
  border: 2px solid #ea609e !important;
  box-shadow: 0 4px 12px rgba(234, 96, 158, 0.25) !important;
}

.school_link_wrap a.btn_school_apply:hover {
  background-color: #bc3879 !important;
  border-color: #bc3879 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(234, 96, 158, 0.35) !important;
}

/* お問い合わせはこちら（プライマリ #01b4ed の枠＋白地） */
.school_link_wrap a.btn_school_contact {
  background-color: #ffffff !important;
  color: #01b4ed !important;
  border: 2px solid #01b4ed !important;
  box-shadow: 0 2px 8px rgba(1, 180, 237, 0.12) !important;
}

.school_link_wrap a.btn_school_contact:hover {
  background-color: #ecf9fe !important;
  color: #0284ae !important;
  border-color: #0284ae !important;
}

@media (max-width: 640px) {
  .school_link_wrap {
    flex-direction: column !important;
    gap: 12px !important;
  }
  .school_link_wrap a.school_btn {
    width: 100% !important;
    max-width: 100% !important;
  }
}
