/* 土屋ケアカレッジ：新しいヘッダー・フッター（SWELLのページ用）
   トップ・/about/ の static/top.css と同じ見た目。SWELLとぶつからないよう、名前はすべて tcc- で始める */

/* ---------- SWELLのヘッダー・フッターを隠す ----------
   このファイルは新しいヘッダー・フッターを使うときだけ読み込まれるので、条件なしで隠す
   （このサイトの header.php は body_class を <body> ではなく #body_wrap に付けているため） */
#header,
.l-header,
#fix_header,
.l-fixHeader,
#sp_menu,
.p-spMenu,
#footer,
.l-footer,
#fix_bottom_menu,
.l-fixBottom{display:none!important}
#body_wrap{padding-top:0!important}

/* ---------- 色と文字（このヘッダー・フッターの中だけ） ---------- */
.tcc-hd,.tcc-drawer,.tcc-ft,.tcc-fixbar{
  --tcc-paper:#FCF8EC;
  --tcc-band:#F9EFE4;
  --tcc-plate:#FFFFFF;
  --tcc-frame:#F3F4EE;
  --tcc-ink:#3E3A39;
  --tcc-head:#4A3426;
  --tcc-sub:#6B625B;
  --tcc-line:#EADFD0;
  --tcc-brand:#E37A12;
  --tcc-brand-dk:#B85F0B;
  --tcc-green:#06C755;
  --tcc-shadow:0 4px 18px rgba(74,52,38,.08);
  --tcc-disp:"Zen Maru Gothic","Hiragino Maru Gothic ProN","Noto Sans JP",sans-serif;
  --tcc-body:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;
  font-family:var(--tcc-body);color:var(--tcc-ink);line-height:1.85;letter-spacing:.03em;box-sizing:border-box;
}
.tcc-hd *,.tcc-drawer *,.tcc-ft *,.tcc-fixbar *{box-sizing:border-box}
.tcc-hd a,.tcc-drawer a,.tcc-ft a,.tcc-fixbar a{color:inherit}
.tcc-hd img,.tcc-drawer img,.tcc-ft img{max-width:100%;height:auto;display:block}
.tcc-wrap{max-width:1280px;margin:0 auto;padding-inline:24px}

/* ボタン */
.tcc-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:0 28px;border-radius:999px;font-weight:700;font-size:18px;text-decoration:none!important;border:2px solid transparent;transition:background .2s,color .2s,border-color .2s;white-space:nowrap;line-height:1.4}
.tcc-btn--main{background:var(--tcc-brand);color:#fff!important}
.tcc-btn--main:hover{background:var(--tcc-brand-dk)}
.tcc-btn--ghost{background:var(--tcc-plate);color:var(--tcc-ink)!important;border-color:var(--tcc-ink)}
.tcc-btn--ghost:hover{background:var(--tcc-ink);color:#fff!important}
.tcc-btn--line{background:var(--tcc-green);color:#fff!important}

/* ---------- ヘッダー ---------- */
.tcc-hd{position:sticky;top:0;z-index:100;background:var(--tcc-frame);box-shadow:0 1px 0 var(--tcc-line)}
body:has(#wpadminbar) .tcc-hd{top:32px}
@media (max-width:782px){body:has(#wpadminbar) .tcc-hd{top:46px}}
@media (max-width:600px){body:has(#wpadminbar) .tcc-hd{top:0}}
.tcc-hd__in{max-width:1440px;margin:0 auto;padding:0 24px;height:84px;display:flex;align-items:center;gap:28px}
.tcc-hd__logo{display:block;flex-shrink:0}
.tcc-hd__logo img{height:58px;width:auto}
.tcc-hd__nav{display:flex;gap:4px;margin-left:auto}
.tcc-hd__nav a{white-space:nowrap;padding:10px 12px;font-weight:700;font-size:17px;text-decoration:none;border-radius:8px;color:var(--tcc-ink)}
.tcc-hd__nav a:hover{background:var(--tcc-band)}
.tcc-hd__tel{text-align:right;line-height:1.3;flex-shrink:0}
.tcc-hd__tel a{font-family:var(--tcc-disp);font-weight:700;font-size:24px;text-decoration:none;letter-spacing:.04em;color:var(--tcc-head)}
.tcc-hd__tel small{display:block;font-size:13px;color:var(--tcc-sub)}
.tcc-hd__cta{display:flex;gap:10px;flex-shrink:0}
.tcc-hd__cta .tcc-btn{min-height:50px;padding:0 20px;font-size:17px}
.tcc-hd__menu{display:none;margin-left:auto;width:52px;height:52px;border:0;border-radius:12px;background:var(--tcc-band);cursor:pointer;font:700 12px var(--tcc-body);color:var(--tcc-ink);padding:0}
.tcc-hd__menu i{display:block;width:22px;height:2px;background:var(--tcc-ink);margin:4px auto}
@media (max-width:1380px){.tcc-hd__tel{display:none}}
@media (max-width:1240px){
  .tcc-hd__nav,.tcc-hd__cta{display:none}
  .tcc-hd__menu{display:block}
  .tcc-hd__in{height:70px}
  .tcc-hd__logo img{height:46px}
}

/* スマホのメニュー */
.tcc-drawer{position:fixed;inset:0;z-index:1000;background:var(--tcc-paper);overflow-y:auto;padding:24px 24px calc(120px + env(safe-area-inset-bottom,0px))}
.tcc-drawer[hidden]{display:none!important}
.tcc-drawer__top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}
.tcc-drawer__close{width:52px;height:52px;border:0;border-radius:12px;background:var(--tcc-band);font-size:28px;cursor:pointer;color:var(--tcc-ink);padding:0}
.tcc-drawer ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.tcc-drawer li{margin:0;padding:0}
.tcc-drawer li::before{display:none}
.tcc-drawer li a{display:block;padding:16px 20px;background:var(--tcc-plate);border-radius:12px;box-shadow:var(--tcc-shadow);font-weight:700;font-size:19px;text-decoration:none;color:var(--tcc-ink)}
.tcc-drawer__cta{display:grid;gap:10px;margin-top:20px}

/* ---------- フッター ---------- */
.tcc-ft{background:var(--tcc-frame);padding-block:64px calc(40px + env(safe-area-inset-bottom,0px))}
.tcc-ft__in{display:grid;grid-template-columns:1.2fr 2fr;gap:40px}
.tcc-ft__logo{width:200px;height:auto}
.tcc-ft__brand p{margin:14px 0 0;font-size:16px;line-height:1.8;color:var(--tcc-sub)}
.tcc-ft__cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.tcc-ft__cols h3{font-family:var(--tcc-body);font-size:15px;font-weight:700;letter-spacing:.12em;color:var(--tcc-sub);margin:0 0 10px;padding:0;border:0;background:none}
.tcc-ft__cols h3::before,.tcc-ft__cols h3::after{display:none}
.tcc-ft__cols ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.tcc-ft__cols li{margin:0;padding:0}
.tcc-ft__cols li::before{display:none}
.tcc-ft__cols a{text-decoration:none;font-size:16px;color:var(--tcc-ink)}
.tcc-ft__cols a:hover{text-decoration:underline}
.tcc-ft__bottom{margin-top:40px;padding-top:24px;border-top:1px solid var(--tcc-line);display:flex;flex-wrap:wrap;gap:12px 24px;justify-content:space-between;font-size:14px;color:var(--tcc-sub)}
.tcc-ft__bottom a{color:var(--tcc-sub)}
@media (max-width:900px){.tcc-ft__in{grid-template-columns:1fr}.tcc-ft__cols{grid-template-columns:1fr 1fr}}

/* ---------- スマホの下に固定するボタン ---------- */
.tcc-fixbar{display:none}
@media (max-width:760px){
  body{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
  .tcc-fixbar{display:grid;grid-template-columns:repeat(3,1fr);position:fixed;left:0;right:0;bottom:0;z-index:99;background:var(--tcc-plate);box-shadow:0 -2px 12px rgba(0,0,0,.1);padding:8px 8px calc(8px + env(safe-area-inset-bottom,0px));gap:6px}
  .tcc-fixbar a{display:grid;place-items:center;min-height:58px;border-radius:12px;text-decoration:none;font-weight:700;font-size:15px;line-height:1.3;text-align:center;color:var(--tcc-ink)}
  .tcc-fixbar a:nth-child(1){background:var(--tcc-band)}
  .tcc-fixbar a:nth-child(2){background:var(--tcc-plate);border:2px solid var(--tcc-ink)}
  .tcc-fixbar a:nth-child(3){background:var(--tcc-brand);color:#fff}
  .tcc-wrap{padding-inline:16px}
  .tcc-btn{white-space:normal;text-align:center}
}

/* フッターの公式LINE（フッターからの友だち追加が多いため） */
.tcc-ft__line{margin-top:24px;max-width:340px;background:var(--tcc-plate);border:2px solid var(--tcc-green);border-radius:18px;padding:18px 20px 20px}
.tcc-ft .tcc-ft__line-ttl{margin:0;font-weight:700;font-size:17px;color:var(--tcc-head)}
.tcc-ft__line-ttl::before{content:"";display:inline-block;width:10px;height:10px;border-radius:50%;background:var(--tcc-green);margin-right:8px;vertical-align:.1em}
.tcc-ft .tcc-ft__line-txt{margin:6px 0 12px;font-size:15px;line-height:1.7;color:var(--tcc-ink)}
.tcc-ft__line-bn{display:block;border-radius:10px;overflow:hidden;transition:opacity .2s}
.tcc-ft__line-bn:hover{opacity:.85}
.tcc-ft .tcc-ft__line-bn img{width:100%;height:auto;display:block}
@media (max-width:900px){.tcc-ft__line{max-width:none}}

/* 支払い方法（ヘッダーはカード、フッターはカードとPayPay） */
.tcc-hd .tcc-hd__cards{display:block;height:22px;width:auto;margin:0 0 4px auto}
.tcc-ft__pay{margin-top:22px;max-width:340px}
.tcc-ft .tcc-ft__pay-ttl{margin:0 0 8px;font-weight:700;font-size:15px;color:var(--tcc-head)}
.tcc-ft .tcc-ft__pay-cards{width:100%;height:auto;display:block;background:#fff;border-radius:6px}
.tcc-ft .tcc-ft__pay-pp{width:62%;height:auto;display:block;margin-top:10px}
.tcc-drawer__pay{margin-top:20px;padding:16px;background:var(--tcc-plate);border-radius:12px}
.tcc-drawer .tcc-drawer__pay p{margin:0 0 8px;font-weight:700;font-size:15px}
.tcc-drawer .tcc-drawer__pay img{display:block;width:100%;height:auto}
.tcc-drawer .tcc-drawer__pay img+img{width:55%;margin-top:8px}
/* フッター下段：SNS・規約類 */
.tcc-ft__bottom{flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:16px}
.tcc-ft__sns{display:flex;gap:14px;justify-content:center}
.tcc-ft__sns a{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--tcc-plate);color:var(--tcc-head)!important;text-decoration:none;transition:background .2s,color .2s}
.tcc-ft__sns a:hover{background:var(--tcc-brand);color:#fff!important}
.tcc-ft__sns svg{display:block}
.tcc-ft__links{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 0}
.tcc-ft__links a{padding:0 14px;border-left:1px solid var(--tcc-line);line-height:1.4;font-size:14px;color:var(--tcc-ink)!important;text-decoration:none}
.tcc-ft__links a:first-child{border-left:0}
.tcc-ft__links a:hover{text-decoration:underline}
@media (max-width:900px){.tcc-ft__pay{max-width:none}.tcc-ft .tcc-ft__pay-cards{max-width:420px}.tcc-ft .tcc-ft__pay-pp{max-width:240px}}
.tcc-ft .nw,.tcc-drawer .nw{display:inline-block}

/* フッター：公式LINEを5列目（一番右）に */
.tcc-ft__in{grid-template-columns:minmax(0,1.15fr) minmax(0,2.3fr) minmax(0,1fr);gap:40px}
.tcc-ft__in > .tcc-ft__line{margin-top:0;max-width:none;align-self:start}
@media (max-width:1100px){.tcc-ft__in{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}.tcc-ft__in > .tcc-ft__line{grid-column:1/-1;max-width:420px}}
@media (max-width:900px){.tcc-ft__in{grid-template-columns:1fr}.tcc-ft__in > .tcc-ft__line{max-width:none}}

@media (min-width:1101px){
  .tcc-ft__in{grid-template-columns:300px minmax(0,1fr) 260px;gap:36px}
  .tcc-ft__cols{gap:16px}
  .tcc-ft__cols a{font-size:15px;letter-spacing:.02em}
}
.tcc-ft .tcc-ft__brand .nw{display:inline-block}
