/* ==========================================================================
   CASA Trust — テーマスタイル
   live_site/index.html + live_site/style.css のデザインシステムを移植。
   すべてのコンポーネントは body.casa-theme 配下にスコープしています
   （汎用クラス名 .card / .wrap / .menu などが他プラグインへ漏れないようにするため）。
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. デザイントークン
   -------------------------------------------------------------------------- */
:root {
  --casa-cream: #FBF5EF;
  --casa-cream2: #F4E9DE;
  --casa-coral: #8E4A5C;
  --casa-coral-d: #6E3A48;
  --casa-coral-l: #A9657A;
  --casa-gold: #B8894A;
  --casa-ink: #2B2926;
  --casa-ink-d: #26231F;
  --casa-muted: #6E665E;
  --casa-line: #EADFD3;
  --casa-white: #fff;
  --casa-sage: #7C9A80;
  --casa-body: #453E38;
  --casa-body-2: #4E4740;

  --casa-wrap: 1120px;
  --casa-gutter: 28px;
  --casa-radius: 20px;
  --casa-radius-sm: 14px;

  --casa-font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Noto Sans CJK JP", "Yu Gothic", Meiryo, sans-serif;

  --casa-shadow-card: 0 1px 2px rgba(51, 48, 44, .03), 0 14px 34px -22px rgba(120, 70, 40, .22);
  --casa-shadow-card-h: 0 2px 4px rgba(51, 48, 44, .04), 0 26px 46px -22px rgba(120, 70, 40, .32);
  --casa-shadow-photo: 0 30px 60px -24px rgba(120, 70, 40, .4);

  /* live_site 互換エイリアス（HTML ウィジェットに旧マークアップを貼り付けた場合用） */
  --cream: var(--casa-cream);
  --cream2: var(--casa-cream2);
  --coral: var(--casa-coral);
  --coral-d: var(--casa-coral-d);
  --gold: var(--casa-gold);
  --ink: var(--casa-ink);
  --muted: var(--casa-muted);
  --line: var(--casa-line);
  --white: var(--casa-white);
  --sage: var(--casa-sage);
}

/* --------------------------------------------------------------------------
   2. ベース
   -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body.casa-theme {
  margin: 0;
  font-family: var(--casa-font);
  color: var(--casa-ink);
  background: var(--casa-cream);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

body.casa-theme.home {
  line-height: 1.8;
}

body.casa-theme *,
body.casa-theme *::before,
body.casa-theme *::after {
  box-sizing: border-box;
}

body.casa-theme img,
body.casa-theme svg,
body.casa-theme video {
  max-width: 100%;
  height: auto;
}

body.casa-theme a {
  color: inherit;
  text-decoration: none;
}

body.casa-theme a:focus-visible,
body.casa-theme button:focus-visible,
body.casa-theme input:focus-visible,
body.casa-theme select:focus-visible,
body.casa-theme textarea:focus-visible {
  outline: 2px solid var(--casa-coral);
  outline-offset: 2px;
}

body.casa-theme ::selection {
  background: #EBD9DF;
}

body.casa-theme h1,
body.casa-theme h2,
body.casa-theme h3,
body.casa-theme h4,
body.casa-theme h5,
body.casa-theme h6 {
  margin: 0;
  font-weight: 900;
}

body.casa-theme p,
body.casa-theme ul,
body.casa-theme ol,
body.casa-theme figure {
  margin: 0;
}

/* --------------------------------------------------------------------------
   3. レイアウト
   -------------------------------------------------------------------------- */
.casa-theme .wrap {
  max-width: var(--casa-wrap);
  margin: 0 auto;
  padding: 0 var(--casa-gutter);
}

.casa-theme section.pad {
  padding: 76px 0;
}

.casa-theme.home section.pad {
  padding: 88px 0;
}

.casa-theme section.pad.pad-b0 {
  padding-bottom: 0;
}

.casa-theme section.pad--sm {
  padding: 56px 0;
}

.casa-theme .casa-bg-cream2 {
  background: var(--casa-cream2);
}

.casa-theme .casa-main {
  display: block;
}

/* --------------------------------------------------------------------------
   4. タイポグラフィ補助
   -------------------------------------------------------------------------- */
.casa-theme .disp {
  letter-spacing: .02em;
}

.casa-theme .badge {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--casa-coral-d);
  font-weight: 700;
}

.casa-theme .ey {
  text-align: center;
  margin-bottom: 52px;
  margin-top: 45px;
}

.casa-theme .ey .badge {
  margin-bottom: 8px;
}

.casa-theme .ey h2 {
  font-size: 31px;
  font-weight: 900;
  letter-spacing: .03em;
}

.casa-theme.home .ey h2 {
  font-size: 34px;
}

.casa-theme .ey h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--casa-coral), var(--casa-gold));
  margin: 14px auto 0;
}

.casa-theme .ey p {
  color: var(--casa-muted);
  margin-top: 10px;
  font-size: 14.5px;
}

.casa-theme.home .ey p {
  margin-top: 12px;
  font-size: 15px;
}

.casa-theme .ey--left {
  text-align: left;
}

.casa-theme .ey--left h2::after {
  margin-left: 0;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   5. ヘッダー / グローバルナビ
   -------------------------------------------------------------------------- */
.casa-theme .casa-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--casa-coral);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
  font-size: 14px;
  font-weight: 700;
}

.casa-theme .casa-skip-link:focus {
  left: 0;
}

.casa-theme .casa-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--casa-cream);
  border-bottom: 1px solid var(--casa-line);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .casa-theme .casa-header {
    background: rgba(251, 245, 239, .97);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
}

.admin-bar .casa-theme .casa-header,
body.admin-bar.casa-theme .casa-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar.casa-theme .casa-header {
    top: 46px;
  }
}

.casa-theme .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 18px;
}

.casa-theme .logo {
  display: flex;
  align-items: center;
  gap: 11px;
}

.casa-theme .logo .mk {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--casa-coral), var(--casa-gold));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 19px;
  flex-shrink: 0;
}

.casa-theme .logo b {
  display: block;
  font-size: 15.5px;
  letter-spacing: .02em;
  font-weight: 900;
}

.casa-theme .logo small {
  display: block;
  white-space: nowrap;
  font-size: 10.5px;
  letter-spacing: .22em;
  color: var(--casa-muted);
  font-weight: 500;
  margin-top: 1px;
}

/* ロゴを <a> で包んでいるぶんの行間を殺す。
   これが無いと SVG が live_site より 4px ほど上にずれる。 */
.casa-theme .logo-link {
  display: flex;
  align-items: center;
  line-height: 0;
}

.casa-theme .logo img {
  max-height: 44px;
  width: auto;
}

.casa-theme .casa-gnav {
  display: flex;
  align-items: center;
  min-width: 0;
}

.casa-theme .menu {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  font-weight: 500;
  list-style: none;
  margin: 0;
  padding: 0;
}

.casa-theme .menu li {
  position: relative;
  list-style: none;
}

.casa-theme .menu a {
  display: block;
  position: relative;
  padding: 4px 0;
  color: #453E38;
  white-space: nowrap;
  transition: color .2s;
}

.casa-theme .menu a:hover {
  color: var(--casa-coral-d);
}

.casa-theme .menu .current-menu-item > a,
.casa-theme .menu .current_page_item > a,
.casa-theme .menu .current-menu-ancestor > a,
.casa-theme .menu a.on {
  color: var(--casa-coral-d);
  border-bottom: 2px solid var(--casa-coral);
}

/* サブメニュー */
.casa-theme .menu .sub-menu {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--casa-line);
  border-radius: 12px;
  box-shadow: 0 22px 40px -24px rgba(120, 70, 40, .45);
  padding: 8px 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}

.casa-theme .menu li:hover > .sub-menu,
.casa-theme .menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.casa-theme .menu .sub-menu a {
  padding: 9px 18px;
  border-bottom: 0;
  white-space: normal;
}

.casa-theme .menu .sub-menu a:hover {
  background: var(--casa-cream);
}

/* ハンバーガー */
.casa-theme .navtoggle {
  display: none;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border: 0;
  background: transparent;
  padding: 9px;
  cursor: pointer;
  border-radius: 10px;
}

.casa-theme .navtoggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--casa-coral-d);
  transition: transform .25s ease, opacity .18s ease;
}

.casa-theme .navtoggle span + span {
  margin-top: 5px;
}

.casa-theme .navtoggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.casa-theme .navtoggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.casa-theme .navtoggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   6. ボタン
   -------------------------------------------------------------------------- */
.casa-theme .cta,
.casa-theme .btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--casa-coral-l), var(--casa-coral) 45%, var(--casa-coral-d));
  color: #fff !important;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .22s, box-shadow .22s;
}

.casa-theme .cta {
  padding: 10px 18px;
  flex-shrink: 0;
  font-size: 13.5px;
  box-shadow: 0 8px 18px -8px var(--casa-coral);
}

.casa-theme .btn-primary {
  padding: 15px 30px;
  font-size: 15px;
  box-shadow: 0 14px 26px -12px var(--casa-coral);
}

.casa-theme .cta:hover,
.casa-theme .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(199, 91, 67, .55);
}

.casa-theme .btn-ghost {
  display: inline-block;
  border: 1.5px solid var(--casa-coral);
  color: var(--casa-coral-d);
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: background .22s, color .22s, border-color .22s;
}

.casa-theme .btn-ghost:hover {
  background: var(--casa-coral);
  color: #fff;
  border-color: var(--casa-coral);
}

.casa-theme .btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* --------------------------------------------------------------------------
   7. トップヒーロー
   -------------------------------------------------------------------------- */
.casa-theme .hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 84px;
}

.casa-theme .hero::before {
  content: "";
  position: absolute;
  right: -160px;
  top: -120px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #E9D6DA, #DBBCC3 55%, #CBA6B0);
  opacity: .6;
  filter: blur(2px);
}

.casa-theme .hero::after {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -200px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, #DCE7D8, #C9DAC6);
  opacity: .4;
  z-index: 1;
  pointer-events: none;
  filter: blur(2px);
}

.casa-theme .hero .hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center;
  z-index: 2;
}

.casa-theme .hero .xline {
  margin-top: 14px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--casa-coral-d);
  letter-spacing: .02em;
}

.casa-theme .hero h1 {
  font-size: 38px;
  line-height: 1.5;
  font-weight: 900;
  letter-spacing: .01em;
}

.casa-theme .hero h1 .hl {
  color: var(--casa-coral-d);
  position: relative;
  z-index: 0;
}

.casa-theme .hero h1 .hl::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 12px;
  background: #E7CBD2;
  opacity: .55;
  z-index: -1;
  border-radius: 3px;
}

.casa-theme .hero p.lead {
  margin-top: 22px;
  font-size: 16.5px;
  color: var(--casa-body);
  max-width: 460px;
}

.casa-theme .hero .btns {
  position: relative;
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.casa-theme .hero .btns .mizu {
  position: absolute;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  left: -34px;
  top: -26px;
  background: radial-gradient(circle at 32% 32%, #D8ECF6, #9CC7DC);
  pointer-events: none;
}

.casa-theme .hero .btns a {
  position: relative;
}

.casa-theme .hero-visual {
  position: relative;
  height: 430px;
}

.casa-theme .photo {
  position: absolute;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--casa-shadow-photo);
  border: 6px solid #fff;
  background-size: cover;
  background-position: center;
}

.casa-theme .photo.p1 {
  inset: 0 40px 90px 0;
  background-color: #A96A79;
  background-image: linear-gradient(160deg, #D3A8B3, #A96A79);
}

.casa-theme .photo.p2 {
  width: 200px;
  height: 150px;
  right: 0;
  bottom: 24px;
  background-color: #DFA25C;
  background-image: linear-gradient(160deg, #F3D9A9, #DFA25C);
}

.casa-theme .photo.p3 {
  width: 150px;
  height: 150px;
  left: 6px;
  bottom: 0;
  border-radius: 50%;
  background-color: #8FB08C;
  background-image: linear-gradient(160deg, #CFE0CB, #8FB08C);
}

.casa-theme .photo.has-img {
  background-image: none;
}

.casa-theme .photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.casa-theme .photo.p1 img {
  object-position: 50% 20%;
}

.casa-theme .photo .lab {
  position: absolute;
  left: 12px;
  bottom: 10px;
  color: #fff;
  font-size: 11px;
  letter-spacing: .08em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}

/* p1 の左下には円形の p3 が重なるため、キャプションだけ上へ逃がす。
   下に置いたままだと「ケアビューティの様子」が円に隠れて読めない。 */
.casa-theme .photo.p1 .lab {
  top: 10px;
  bottom: auto;
  left: auto;
  right: 14px;
}

.casa-theme .photo img + .lab,
.casa-theme .imgbox img + .lab,
.casa-theme .bcard .th img + .lab {
  background: rgba(40, 30, 28, .45);
  padding: 2px 8px;
  border-radius: 999px;
  text-shadow: none;
}

.casa-theme .ppl {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: .9;
}

/* 下層ページヒーロー */
.casa-theme .phero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 56px;
  text-align: center;
}

.casa-theme .phero::before {
  content: "";
  position: absolute;
  right: -160px;
  top: -160px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #E9D6DA, #CBA6B0);
  opacity: .45;
  z-index: 0;
  pointer-events: none;
  filter: blur(2px);
}

.casa-theme .phero::after {
  content: "";
  position: absolute;
  left: -110px;
  bottom: -180px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, #DCE7D8, #C9DAC6);
  opacity: .45;
  z-index: 0;
  pointer-events: none;
  filter: blur(2px);
}

.casa-theme .phero .wrap {
  position: relative;
}

.casa-theme .phero .badge {
  margin-bottom: 10px;
}

.casa-theme .phero h1 {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: .02em;
}

.casa-theme .phero p {
  color: var(--casa-body-2);
  margin-top: 12px;
  font-size: 15.5px;
}

.casa-theme .crumb {
  font-size: 12px;
  color: var(--casa-muted);
  margin-top: 16px;
}

.casa-theme .crumb a:hover {
  color: var(--casa-coral-d);
}

/* --------------------------------------------------------------------------
   8. 実績ストリップ
   -------------------------------------------------------------------------- */
.casa-theme .strip {
  background: var(--casa-ink);
  color: #fff;
}

.casa-theme .strip .strip-inner {
  display: flex;
  justify-content: space-around;
  padding: 24px 0;
  gap: 20px;
  flex-wrap: wrap;
  text-align: center;
}

.casa-theme .strip b {
  display: block;
  font-size: 30px;
  color: var(--casa-gold);
  white-space: nowrap; /* 「One-Stop」がハイフンで 2 行に割れないように */
}

.casa-theme .strip small {
  display: block;
  font-size: 12.5px;
  color: #D6C9B8;
  letter-spacing: .05em;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   9. カード / 選ばれる理由
   -------------------------------------------------------------------------- */
.casa-theme .feat {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.casa-theme .feat.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.casa-theme .feat.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.casa-theme .card {
  background: #fff;
  border-radius: var(--casa-radius);
  padding: 38px 30px;
  border: 1px solid var(--casa-line);
  position: relative;
  box-shadow: var(--casa-shadow-card);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.casa-theme .card:hover {
  transform: translateY(-6px);
  border-color: #E7CDBA;
  box-shadow: var(--casa-shadow-card-h);
}

.casa-theme .card .no {
  position: absolute;
  top: 22px;
  right: 26px;
  font-size: 40px;
  color: var(--casa-cream2);
  font-weight: 900;
}

.casa-theme .card .no::before {
  content: attr(data-no);
}

.casa-theme .card .yr {
  font-size: 30px;
  color: var(--casa-coral-d);
  font-weight: 700;
}

.casa-theme .card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  text-wrap: balance;
}

.casa-theme .card p {
  font-size: 14.5px;
  color: var(--casa-body-2);
}

.casa-theme .ic {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, #F1E2E6, #E6CFD5);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .65), 0 8px 16px -10px rgba(224, 122, 95, .55);
  flex-shrink: 0;
}

.casa-theme .ic svg {
  display: block;
}

@media (min-width: 769px) {
  .casa-theme .card h3 {
    word-break: auto-phrase;
  }
}

/* --------------------------------------------------------------------------
   10. サービスグリッド
   -------------------------------------------------------------------------- */
.casa-theme .svc {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}

.casa-theme .svc.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.casa-theme .svc.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.casa-theme .svc .s {
  background: #fff;
  border-radius: 18px;
  padding: 30px 22px;
  text-align: center;
  border: 1px solid var(--casa-line);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  box-shadow: 0 1px 2px rgba(51, 48, 44, .03), 0 12px 30px -22px rgba(120, 70, 40, .2);
}

.casa-theme .svc .s:hover {
  transform: translateY(-4px);
  border-color: #E7CDBA;
  box-shadow: 0 22px 40px -22px rgba(120, 70, 40, .32);
}

.casa-theme .svc .s .ic {
  margin: 0 auto 16px;
}

.casa-theme .svc .s h3,
.casa-theme .svc .s h4 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 7px;
}

.casa-theme .svc .s p {
  font-size: 13.5px;
  color: var(--casa-body-2);
  line-height: 1.7;
}

/* 強調はホバー時のみ。live_site ではケアビューティのカードだけ常時濃色だったが、
   1 枚だけ選択済みのように見えるため、全カード共通でホバー時に色が変わる挙動へ変更。
   アイコンの stroke は PHP 側で属性指定しているが、CSS のほうが優先されるため
   ここで上書きしている（属性のままだと白背景に白アイコンで消えてしまう）。 */
.casa-theme .svc .s {
  transition: transform .25s, box-shadow .25s, border-color .25s, background .25s, color .25s;
}

.casa-theme .svc .s .ic svg {
  stroke: var(--casa-coral-d);
  transition: stroke .25s;
}

.casa-theme .svc .s .ic {
  transition: background .25s;
}

.casa-theme .svc .s:hover,
.casa-theme .svc .s:focus-within {
  background: linear-gradient(160deg, var(--casa-coral), var(--casa-coral-d));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 20px 40px -20px rgba(199, 91, 67, .55);
}

.casa-theme .svc .s:hover .ic,
.casa-theme .svc .s:focus-within .ic {
  background: rgba(255, 255, 255, .22);
}

.casa-theme .svc .s:hover .ic svg,
.casa-theme .svc .s:focus-within .ic svg {
  stroke: #fff;
}

.casa-theme .svc .s:hover p,
.casa-theme .svc .s:focus-within p {
  color: #f5e4e9;
}

/* 左寄せ 3 カラム（サービス詳細） */
.casa-theme .svc3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.casa-theme .svc3 .card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.casa-theme .svc3 .card p {
  font-size: 13.5px;
  color: var(--casa-body-2);
}

/* 強調バナー（ケアビューティ） */
.casa-theme .svc-hl {
  margin-top: 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  background: linear-gradient(160deg, var(--casa-coral), var(--casa-coral-d));
  color: #fff;
  border-radius: var(--casa-radius);
  padding: 34px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 48px -24px rgba(199, 91, 67, .55);
}

.casa-theme .svc-hl::before {
  content: "";
  position: absolute;
  left: -70px;
  top: -90px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 70%);
  pointer-events: none;
}

.casa-theme .svc-hl::after {
  content: "CASA";
  font-family: Georgia, serif;
  letter-spacing: .1em;
  position: absolute;
  right: 10px;
  bottom: -40px;
  font-size: 150px;
  font-weight: bold;
  color: rgba(255, 255, 255, .06);
  line-height: 1;
  pointer-events: none;
}

.casa-theme .svc-hl > * {
  position: relative;
  z-index: 1;
}

.casa-theme .svc-hl .ic {
  background: rgba(255, 255, 255, .22);
  margin: 0;
}

.casa-theme .svc-hl .tagline {
  display: block;
  font-size: 11.5px;
  letter-spacing: .14em;
  font-weight: 700;
  color: #ffd9c8;
  margin-bottom: 6px;
}

.casa-theme .svc-hl h3 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 9px;
}

.casa-theme .svc-hl p {
  color: #f5e4e9;
  font-size: 14.5px;
  max-width: 660px;
}

/* --------------------------------------------------------------------------
   11. 2 カラム（ケアビューティ / 代表 / 挨拶）
   -------------------------------------------------------------------------- */
.casa-theme .cb {
  background: linear-gradient(135deg, #E6CFD5, #C797A4);
  position: relative;
  overflow: hidden;
}

.casa-theme .cb .split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 78px 0;
}

.casa-theme .cb .badge {
  color: #5C3040;
}

.casa-theme .cb h2 {
  font-size: 28px;
  font-weight: 900;
  margin: 10px 0 16px;
  line-height: 1.5;
}

.casa-theme .cb p {
  color: #4E313B;
  font-size: 15.5px;
  max-width: 440px;
}

.casa-theme .imgbox {
  height: 300px;
  border-radius: 24px;
  background: linear-gradient(160deg, #fff6ef, #e8d5da);
  box-shadow: 0 30px 60px -28px rgba(120, 50, 30, .5);
  border: 6px solid #fff;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.casa-theme .imgbox img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  display: block;
}

.casa-theme .imgbox .lab {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-size: 11px;
  color: #8A5F6E;
  letter-spacing: .08em;
}

.casa-theme .imgbox img + .lab {
  color: #fff;
}

.casa-theme .rep .split {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 44px;
  align-items: center;
}

.casa-theme .rep h2 {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 18px;
}

.casa-theme .rep .q,
.casa-theme .greet .q {
  font-size: 18px;
  color: var(--casa-coral-d);
  margin-bottom: 14px;
}

.casa-theme .rep p {
  color: var(--casa-body-2);
  font-size: 15px;
  margin-bottom: 12px;
}

.casa-theme .sign {
  margin-top: 20px;
  font-size: 14px;
  color: var(--casa-muted);
}

.casa-theme .sign b {
  font-size: 18px;
  color: var(--casa-ink);
}

.casa-theme.home .sign b {
  font-size: 17px;
}

.casa-theme .ph {
  border-radius: 22px;
  border: 6px solid #fff;
  box-shadow: 0 26px 50px -26px rgba(120, 70, 40, .45);
  background: linear-gradient(160deg, #EAD0BE, #CE9C7C);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 360px;
}

.casa-theme .ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 16px;
  display: block;
}

.casa-theme .greet .ph img {
  object-position: center 30%;
  border-radius: 14px;
}

.casa-theme .ph .lab {
  position: absolute;
  bottom: 10px;
  left: 12px;
  color: #fff;
  font-size: 11px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}

.casa-theme .greet {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 44px;
  align-items: start;
}

.casa-theme .greet .ph {
  min-height: 440px;
}

.casa-theme .greet h2 {
  font-size: 28px;
  margin: 8px 0 18px;
}

.casa-theme .greet p {
  color: var(--casa-body);
  font-size: 14.5px;
  margin-bottom: 13px;
}

.casa-theme .greet .sign {
  text-align: right;
}

.casa-theme .career {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 44px;
}

.casa-theme .career .card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.casa-theme .career .card p {
  font-size: 13.5px;
}

/* --------------------------------------------------------------------------
   12. 新着情報リスト
   -------------------------------------------------------------------------- */
.casa-theme .news .news-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
}

.casa-theme .news .head h2 {
  font-size: 30px;
  font-weight: 900;
}

.casa-theme .news .head .badge {
  margin-bottom: 6px;
}

.casa-theme .news .head .more {
  display: inline-block;
  margin-top: 18px;
  color: var(--casa-coral-d);
  font-weight: 700;
  font-size: 14px;
  border-bottom: 1.5px solid var(--casa-coral);
}

.casa-theme .nlist {
  display: flex;
  flex-direction: column;
}

.casa-theme .nrow {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 20px 12px;
  margin: 0 -12px;
  border-bottom: 1px solid var(--casa-line);
  border-radius: 12px;
  transition: background .2s;
}

.casa-theme .nrow:hover {
  background: #fff;
}

.casa-theme .nrow .th {
  width: 96px;
  height: 66px;
  border-radius: 12px;
  flex-shrink: 0;
  overflow: hidden;
  background: linear-gradient(160deg, #E8D3DA, #C89AA6);
}

.casa-theme .nrow .th.b2 {
  background: linear-gradient(160deg, #CFE0CB, #93B291);
}

.casa-theme .nrow .th.b3 {
  background: linear-gradient(160deg, #F3E0B4, #DDB268);
}

.casa-theme .nrow .th img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.casa-theme .nrow time {
  font-size: 12px;
  color: var(--casa-muted);
  letter-spacing: .05em;
}

.casa-theme .nrow h4 {
  font-size: 15.5px;
  font-weight: 700;
  margin-top: 5px;
}

.casa-theme .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  margin-left: 8px;
  background: #F0DFE5;
  color: var(--casa-coral-d);
}

.casa-theme .tag.btoc,
.casa-theme .tag.is-sage {
  background: #DBE7D6;
  color: #4f7052;
}

/* --------------------------------------------------------------------------
   13. CTA バンド
   -------------------------------------------------------------------------- */
.casa-theme .ctaband {
  background: var(--casa-ink);
  color: #fff;
  text-align: center;
  padding: 64px 0;
}

.casa-theme.home .ctaband {
  padding: 74px 0;
}

.casa-theme .ctaband h2 {
  font-size: 27px;
  font-weight: 900;
  margin-bottom: 10px;
}

.casa-theme.home .ctaband h2 {
  font-size: 30px;
  margin-bottom: 12px;
}

.casa-theme .ctaband .disp,
.casa-theme .ctaband .hl {
  color: var(--casa-gold);
}

.casa-theme .ctaband p {
  color: #D2C5B5;
  margin-bottom: 26px;
  font-size: 14.5px;
}

.casa-theme.home .ctaband p {
  margin-bottom: 28px;
  font-size: 16px;
}

.casa-theme .legal .entry-content .date,
.casa-theme .casa-article .date {
  text-align: right;
  font-size: 12.5px;
  color: var(--casa-muted);
  margin-top: 30px;
}

/* --------------------------------------------------------------------------
   14. フッター
   -------------------------------------------------------------------------- */
.casa-theme .casa-footer {
  background: var(--casa-ink-d);
  color: #BEB4A8;
  padding: 52px 0 26px;
  font-size: 13px;
}

.casa-theme .fgrid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 30px;
  border-bottom: 1px solid #3a352f;
}

.casa-theme .casa-footer .logo b {
  color: #fff;
}

.casa-theme .casa-footer .logo small {
  color: #968c81; /* 背景 #26231f に対してコントラスト 4.7:1（11.5px の文字のため 4.5:1 以上） */
}

/* フッターの列見出し。見出しの階層を飛ばさないよう h2（見た目は小さな見出し）。h5 は旧マークアップ用。 */
.casa-theme .casa-footer .fh,
.casa-theme .casa-footer h5 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: .05em;
}

.casa-theme .casa-footer .fdesc {
  margin-top: 16px;
  max-width: 300px;
  color: #A79D93;
}

.casa-theme .casa-footer .flicense {
  margin-top: 12px;
  font-size: 12px;
  color: #A79D93;
  line-height: 1.9;
}

.casa-theme .casa-footer ul,
.casa-theme .casa-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.casa-theme .casa-footer li {
  list-style: none;
}

.casa-theme .casa-footer a {
  display: block;
  color: #BEB4A8;
  padding: 5px 0;
  transition: color .2s;
}

.casa-theme .casa-footer a:hover {
  color: var(--casa-gold);
}

.casa-theme .copy {
  text-align: center;
  padding-top: 22px;
  /* 背景 #26231f に対してコントラスト 4.9:1（WCAG AA）。以前の #7d7368 は 3.4:1 で読みにくかった */
  color: #9a8f84;
  font-size: 12px;
}

.casa-theme .copy a {
  display: inline;
  color: #BEB4A8;
}

.casa-theme .casa-legal {
  display: inline-flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  vertical-align: middle;
}

.casa-theme .casa-legal li + li::before {
  content: "／";
  margin-right: 10px;
  color: #5b534a;
}

.casa-theme .casa-legal li {
  display: flex;
  align-items: center;
}

/* タップしやすいよう、リンクの当たり判定を上下に広げる（見た目の行間は変えない）。 */
.casa-theme .casa-legal a {
  display: inline-block;
  padding: 6px 0;
  margin: -6px 0;
}

.casa-theme .copy a:hover {
  color: var(--casa-gold);
}

/* --------------------------------------------------------------------------
   15. Q&A（お悩み解決）
   -------------------------------------------------------------------------- */
.casa-theme .qa {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 860px;
  margin: 20px auto;
}

.casa-theme .qcard {
  background: #fff;
  border: 1px solid var(--casa-line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--casa-shadow-card);
}

.casa-theme .qcard .qh {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 22px 26px;
  background: var(--casa-cream2);
}

.casa-theme .qcard .qh .m,
.casa-theme .qcard .ab .m {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  text-align: center;
  line-height: 38px;
}

.casa-theme .qcard .qh .m {
  background: var(--casa-coral);
  font-size: 17px;
}

/* 見出しの階層を飛ばさないようタグを変更（2026/10）。旧タグのセレクタも残し、見た目は同じ。 */
.casa-theme .qcard .qh h2,
.casa-theme .qcard .qh h3 {
  font-size: 16.5px;
  font-weight: 700;
  padding-top: 5px;
}

.casa-theme .qcard .ab {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px 26px;
}

.casa-theme .qcard .ab .m {
  background: var(--casa-sage);
  font-size: 15px;
}

.casa-theme .qcard .ab p {
  font-size: 14px;
  color: var(--casa-body);
  padding-top: 5px;
}

/* --------------------------------------------------------------------------
   16. 導入フロー
   -------------------------------------------------------------------------- */
.casa-theme .flow {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

.casa-theme .flow::before {
  content: "";
  position: absolute;
  left: 40px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: var(--casa-line);
}

.casa-theme .frow {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 10px 0;
  position: relative;
}

.casa-theme .frow .c {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--casa-coral), var(--casa-coral-d));
  box-shadow: 0 8px 14px -8px rgba(199, 91, 67, .6);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  line-height: 40px;
  z-index: 2;
}

.casa-theme .frow .tx {
  padding-top: 6px;
}

.casa-theme .frow h3,
.casa-theme .frow h4 {
  font-size: 14.5px;
  font-weight: 700;
}

.casa-theme .frow .d {
  display: inline-block;
  font-size: 12px;
  color: var(--casa-coral-d);
  font-weight: 700;
  margin-left: 8px;
  white-space: nowrap; /* 「1〜2か／月」のように期間が割れないように */
}

.casa-theme .note-p {
  max-width: 760px;
  margin: 26px auto 0;
  background: #fff;
  border: 1px solid var(--casa-line);
  border-left: 3px solid var(--casa-gold);
  border-radius: var(--casa-radius-sm);
  padding: 18px 22px;
  font-size: 13.5px;
  color: var(--casa-body);
  margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   17. 10 項目の義務的支援
   -------------------------------------------------------------------------- */
.casa-theme .oblig {
  background: #fff;
  border: 1px solid var(--casa-line);
  border-radius: 16px;
  padding: 4px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 44px;
}

.casa-theme .orow {
  display: flex;
  gap: 12px;
  padding: 14px 12px;
  margin: 0 -12px;
  border-bottom: 1px solid var(--casa-line);
  border-radius: 10px;
  transition: background .2s;
}

.casa-theme .orow:hover {
  background: var(--casa-cream);
}

.casa-theme .oblig .orow:nth-last-child(-n+2) {
  border-bottom: none;
}

.casa-theme .orow .n {
  flex-shrink: 0;
  width: 23px;
  height: 23px;
  border-radius: 7px;
  background: var(--casa-cream2);
  color: var(--casa-coral-d);
  font-weight: 900;
  font-size: 11.5px;
  text-align: center;
  line-height: 23px;
  margin-top: 3px;
}

.casa-theme .orow h3,
.casa-theme .orow h4 {
  font-size: 14px;
  font-weight: 700;
}

.casa-theme .orow p {
  font-size: 12.5px;
  color: #7c746b;
  line-height: 1.6;
  margin-top: 1px;
}

/* --------------------------------------------------------------------------
   18. テーブル
   -------------------------------------------------------------------------- */
.casa-theme table.simple {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  background: #fff;
  border-radius: var(--casa-radius-sm);
  border: 2px solid var(--casa-line);
  overflow: hidden;
  box-shadow: 0 10px 30px -22px rgba(120, 70, 40, .25);
}

.casa-theme table.simple td,
.casa-theme table.simple th {
  border: 2px solid var(--casa-line);
  padding: 15px 18px;
  vertical-align: top;
  text-align: left;
}

.casa-theme table.simple td.k,
.casa-theme table.simple th.k {
  background: var(--casa-cream2);
  font-weight: 700;
  width: 170px;
}

.casa-theme table.simple .note {
  font-size: 12px;
  color: var(--casa-muted);
}

.casa-theme table.simple .nw {
  display: inline-block;
}

/* --------------------------------------------------------------------------
   19. ブログ一覧
   -------------------------------------------------------------------------- */
.casa-theme .tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 38px;
  flex-wrap: wrap;
}

.casa-theme .tab {
  padding: 9px 22px;
  border-radius: 999px;
  border: 1px solid var(--casa-line);
  background: #fff;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--casa-body-2);
  transition: background .2s, color .2s, border-color .2s;
}

.casa-theme .tab:hover {
  border-color: var(--casa-coral);
  color: var(--casa-coral-d);
}

.casa-theme .tab.on {
  background: var(--casa-coral);
  border-color: var(--casa-coral);
  color: #fff;
}

.casa-theme .bgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.casa-theme .bcard {
  background: #fff;
  border: 1px solid var(--casa-line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--casa-shadow-card);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.casa-theme .bcard:hover {
  transform: translateY(-4px);
  border-color: #E7CDBA;
  box-shadow: var(--casa-shadow-card-h);
}

.casa-theme .bcard .th {
  height: 150px;
  background: linear-gradient(150deg, #EFCDB8, #D9A183);
  position: relative;
  overflow: hidden;
}

.casa-theme .bcard .th.g {
  background: linear-gradient(150deg, #D9E4D5, #AFC6AB);
}

.casa-theme .bcard .th.y {
  background: linear-gradient(150deg, #F0DCB4, #D9B979);
}

.casa-theme .bcard .th img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.casa-theme .bcard .th .lab {
  position: absolute;
  bottom: 8px;
  left: 12px;
  color: #fff;
  font-size: 10.5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}

.casa-theme .bcard-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.casa-theme .bcard .bd {
  padding: 18px 20px 22px;
  flex: 1;
}

.casa-theme .bcard .meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 11.5px;
  color: var(--casa-muted);
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.casa-theme .bcard .cat {
  background: var(--casa-cream2);
  color: var(--casa-coral-d);
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
}

.casa-theme .bcard .cat.g {
  color: #5d7a61;
}

.casa-theme .bcard h3 {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.6;
}

.casa-theme .bcard p {
  font-size: 12px;
  color: var(--casa-body-2);
  margin-top: 8px;
}

/* ページネーション */
/* --------------------------------------------------------------------------
   送信完了カード（live_site の thanks.html の .tk）
   -------------------------------------------------------------------------- */
.casa-theme .tk {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid var(--casa-line);
  border-radius: 22px;
  padding: 56px 48px;
}

.casa-theme .tk .ic2 {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F1E2E6, #E6CFD5);
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.casa-theme .tk h2 {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 14px;
}

.casa-theme .tk p {
  font-size: 14px;
  color: var(--casa-body-2);
}

.casa-theme .tk .btns {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* live_site ではこの 2 つだけ一回り小さい（padding:13px 28px / font-size:14px）。 */
.casa-theme .tk .btns .btn-ghost,
.casa-theme .tk .btns .btn-primary {
  padding: 13px 28px;
  font-size: 14px;
}

.casa-theme .pager {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.casa-theme .pager .page-numbers {
  display: block;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--casa-line);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: var(--casa-body-2);
  text-align: center;
  line-height: 34px;
  transition: background .2s, color .2s, border-color .2s;
}

.casa-theme .pager .page-numbers:hover {
  border-color: var(--casa-coral);
  color: var(--casa-coral-d);
}

.casa-theme .pager .page-numbers.current {
  background: var(--casa-coral);
  border-color: var(--casa-coral);
  color: #fff;
}

.casa-theme .pager .dots {
  border-color: transparent;
  background: transparent;
}

/* --------------------------------------------------------------------------
   20. 求人情報
   -------------------------------------------------------------------------- */
.casa-theme .jlist {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}

.casa-theme .jcard {
  background: #fff;
  border: 1px solid var(--casa-line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--casa-shadow-card);
}

.casa-theme .jcard .jh {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 26px;
  background: var(--casa-cream2);
}

.casa-theme .jcard .jh h2,
.casa-theme .jcard .jh h3 {
  font-size: 17px;
  font-weight: 700;
}

.casa-theme .jcard .jh .st {
  background: var(--casa-coral);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.casa-theme .jcard .jh .st.c {
  /* 白文字とのコントラスト 5.6:1（以前の #a9a099 は 2.6:1） */
  background: #6e665e;
}

.casa-theme .jtable {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.casa-theme .jtable td,
.casa-theme .jtable th {
  border-top: 1px solid var(--casa-line);
  padding: 13px 26px;
  vertical-align: top;
  text-align: left;
}

.casa-theme .jtable td.k,
.casa-theme .jtable th.k {
  width: 150px;
  background: #FBF8F4;
  font-weight: 700;
  color: var(--casa-body-2);
}

.casa-theme .japply {
  padding: 18px 26px;
  border-top: 1px solid var(--casa-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.casa-theme .japply span {
  font-size: 12px;
  color: var(--casa-muted);
}

.casa-theme .japply .japply-btn {
  background: var(--casa-coral);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 999px;
  transition: background .2s;
}

.casa-theme .japply .japply-btn:hover {
  background: var(--casa-coral-d);
}

.casa-theme .jnote {
  max-width: 880px;
  margin: 30px auto 0;
  background: #fff;
  border: 1px solid var(--casa-line);
  border-radius: var(--casa-radius-sm);
  padding: 18px 22px;
  font-size: 13px;
  color: var(--casa-body);
}

/* --------------------------------------------------------------------------
   21. フォーム（Contact Form 7 / 素の form 共通）
   -------------------------------------------------------------------------- */
.casa-theme .casa-form {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--casa-line);
  border-radius: var(--casa-radius);
  padding: 44px 48px;
  box-shadow: var(--casa-shadow-card);
}

.casa-theme .casa-form .fld,
.casa-theme .casa-form p {
  margin-bottom: 22px;
}

.casa-theme .casa-form label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* 「施設名・法人名」の補足（求人への応募者は入力不要）。 */
.casa-theme .casa-form label .opt-note {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 400;
  color: var(--casa-muted);
}

/* 企業・施設の方／求職者の方 のタブ（お問い合わせページ） */
.casa-theme .casa-form-tabs {
  display: flex;
  gap: 6px;
  margin: -8px 0 30px;
  padding: 5px;
  border-radius: 999px;
  background: var(--casa-cream);
  border: 1px solid var(--casa-line);
}

.casa-theme .casa-form-tab {
  flex: 1 1 0;
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--casa-muted);
  cursor: pointer;
  transition: background .2s, color .2s;
}

.casa-theme .casa-form-tab[aria-selected="true"] {
  background: var(--casa-coral);
  color: #fff;
  box-shadow: 0 6px 14px -8px rgba(110, 58, 72, .6);
}

.casa-theme .casa-form-tab:hover:not([aria-selected="true"]) {
  color: var(--casa-coral-d);
}

.casa-theme .casa-form-panel[hidden],
.casa-theme .casa-form .casa-topic-other[hidden] {
  display: none;
}

/* 「その他」の自由記入欄は JS が状態を決めるまで出さない（読み込み直後に一瞬見えるのを防ぐ）。
   JS が無効なときは noscript のスタイルで表示される。 */
.casa-theme .casa-form .casa-topic-other:not(.is-ready) {
  display: none;
}

/* 求人ページから応募リンク経由で来たときに出す案内。 */
.casa-theme .casa-job-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  margin-bottom: 28px;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid var(--casa-line);
  border-left: 3px solid var(--casa-coral);
  background: var(--casa-cream);
}

.casa-theme .casa-job-notice__label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--casa-coral-d);
}

.casa-theme .casa-job-notice__title {
  flex: 1 1 100%;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.6;
}

.casa-theme .casa-job-notice__link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--casa-coral-d);
  border-bottom: 1px solid var(--casa-coral);
}

/* Contact Form 7 は input を <label> の内側に出力するため、
   ラベル文字と入力欄の間隔は控えめのラッパー側で作る。 */
.casa-theme .casa-form .wpcf7-form-control-wrap {
  display: block;
  margin-top: 10px;
}

.casa-theme .req {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  color: #fff;
  background: var(--casa-coral);
  border-radius: 4px;
  padding: 1px 8px;
  margin-left: 8px;
  vertical-align: middle;
}

.casa-theme .any {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--casa-muted);
  background: var(--casa-cream2);
  border-radius: 4px;
  padding: 1px 8px;
  margin-left: 8px;
  vertical-align: middle;
}

.casa-theme input[type="text"],
.casa-theme input[type="email"],
.casa-theme input[type="tel"],
.casa-theme input[type="url"],
.casa-theme input[type="number"],
.casa-theme input[type="date"],
.casa-theme input[type="search"],
.casa-theme input[type="password"],
.casa-theme select,
.casa-theme textarea {
  width: 100%;
  border: 1.5px solid var(--casa-line);
  border-radius: 10px;
  background: var(--casa-cream);
  padding: 12px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--casa-ink);
  line-height: 1.6;
  transition: border-color .2s, background .2s;
}

/* TOP のメインコピーはスマートフォン幅で「を。」だけが次の行に落ちたり、
   「イベント不/足も」のように語の途中で折れたりするため、読点・空白でだけ改行する。 */
@media (max-width: 767px) {
  .casa-theme .hero h1 {
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
}

/* iPhone（Safari）は 16px 未満の入力欄にフォーカスすると画面を自動拡大するため、
   スマートフォン幅と、タッチ操作の端末（横向きの iPhone・iPad など幅 768px 以上）では
   入力欄だけ 16px にする。 */
@media (max-width: 767px), (pointer: coarse) {
  .casa-theme input[type="text"],
  .casa-theme input[type="email"],
  .casa-theme input[type="tel"],
  .casa-theme input[type="url"],
  .casa-theme input[type="number"],
  .casa-theme input[type="date"],
  .casa-theme input[type="search"],
  .casa-theme input[type="password"],
  .casa-theme select,
  .casa-theme textarea {
    font-size: 16px;
  }
}

.casa-theme input[type="text"],
.casa-theme input[type="email"],
.casa-theme input[type="tel"],
.casa-theme input[type="url"],
.casa-theme select {
  height: 48px;
}

.casa-theme textarea {
  min-height: 140px;
  resize: vertical;
}

.casa-theme input:focus,
.casa-theme select:focus,
.casa-theme textarea:focus {
  border-color: var(--casa-coral);
  background: #fff;
  outline: none;
}

.casa-theme input[type="submit"],
.casa-theme button[type="submit"],
.casa-theme .wpcf7-submit {
  display: block;
  width: 100%;
  height: auto;
  background: linear-gradient(135deg, var(--casa-coral-l), var(--casa-coral) 45%, var(--casa-coral-d));
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 15px 30px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 26px -12px var(--casa-coral);
  transition: transform .22s, box-shadow .22s;
}

.casa-theme input[type="submit"]:hover,
.casa-theme button[type="submit"]:hover,
.casa-theme .wpcf7-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(199, 91, 67, .55);
}

.casa-theme .search-form label {
  display: block;
}

.casa-theme .search-form .search-submit {
  margin-top: 22px;
}

/* CF7 のメッセージ */
.casa-theme .wpcf7 form .wpcf7-response-output {
  border-radius: 12px;
  border-width: 1.5px;
  padding: 14px 18px;
  font-size: 13.5px;
  margin: 18px 0 0;
}

.casa-theme .wpcf7-not-valid-tip {
  color: var(--casa-coral-d);
  font-size: 12.5px;
  font-weight: 700;
  margin-top: 6px;
}

.casa-theme .wpcf7-spinner {
  margin: 12px auto 0;
  display: block;
}

.casa-theme .casa-form .wpcf7-list-item {
  margin: 0 18px 0 0;
}

.casa-theme .alt {
  max-width: 720px;
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.casa-theme .alt .card {
  text-align: center;
  padding: 26px 20px;
}

.casa-theme .alt .card .ic {
  margin: 0 auto 4px;
}

.casa-theme .alt .card h2,
.casa-theme .alt .card h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 10px 0 4px;
}

.casa-theme .alt .card p {
  font-size: 12.5px;
  color: var(--casa-body-2);
}

.casa-theme .priv {
  max-width: 720px;
  margin: 22px auto 0;
  font-size: 12px;
  color: var(--casa-muted);
  text-align: center;
}

.casa-theme .priv a {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   22. 記事本文 / エディタ出力
   -------------------------------------------------------------------------- */
.casa-theme .casa-article {
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--casa-line);
  border-radius: var(--casa-radius);
  padding: 46px 52px;
  box-shadow: var(--casa-shadow-card);
}

.casa-theme .casa-article.legal {
  max-width: 800px;
  padding: 44px 48px;
}

.casa-theme .legal .entry-content h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--casa-ink);
  line-height: inherit;
  margin: 30px 0 10px;
}

.casa-theme .legal .entry-content h2:first-child {
  margin-top: 0;
}

/* 利用規約の「以下の事由」など、番号付きの項目の中にある箇条書き */
.casa-theme .legal .entry-content li > ul {
  margin-top: .4em;
}

.casa-theme .legal .entry-content p,
.casa-theme .legal .entry-content li {
  font-size: 13.5px;
  color: #453E38;
  line-height: 1.9;
}

.casa-theme .casa-article .casa-thumb {
  border-radius: var(--casa-radius-sm);
  overflow: hidden;
  margin-bottom: 28px;
}

.casa-theme .entry-content {
  font-size: 15.5px;
  color: var(--casa-body);
}

.casa-theme .entry-content > * + * {
  margin-top: 1.4em;
}

.casa-theme .entry-content h2 {
  font-size: 24px;
  margin-top: 2em;
  padding-left: 14px;
  border-left: 4px solid var(--casa-coral);
  line-height: 1.6;
}

.casa-theme .entry-content h3 {
  font-size: 19px;
  margin-top: 1.8em;
  font-weight: 700;
}

.casa-theme .entry-content h4 {
  font-size: 16.5px;
  margin-top: 1.6em;
  font-weight: 700;
}

.casa-theme .entry-content a {
  color: var(--casa-coral-d);
  text-decoration: underline;
}

.casa-theme .entry-content ul,
.casa-theme .entry-content ol {
  padding-left: 1.5em;
}

.casa-theme .entry-content li {
  margin-bottom: .4em;
}

.casa-theme .entry-content blockquote {
  border-left: 3px solid var(--casa-gold);
  background: var(--casa-cream);
  border-radius: 0 12px 12px 0;
  padding: 16px 22px;
  color: var(--casa-body-2);
}

.casa-theme .entry-content img {
  border-radius: var(--casa-radius-sm);
}

.casa-theme .entry-content code {
  background: var(--casa-cream2);
  border-radius: 5px;
  padding: 2px 6px;
  font-size: .92em;
}

.casa-theme .entry-content pre {
  background: var(--casa-ink);
  color: #F4E9DE;
  border-radius: 12px;
  padding: 18px 20px;
  overflow-x: auto;
}

.casa-theme .entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.casa-theme .entry-content th,
.casa-theme .entry-content td {
  border: 1px solid var(--casa-line);
  padding: 12px 14px;
  text-align: left;
}

.casa-theme .entry-content th {
  background: var(--casa-cream2);
}

.casa-theme .casa-post-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--casa-muted);
  margin-bottom: 14px;
}

.casa-theme .casa-post-nav {
  max-width: 780px;
  margin: 30px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13.5px;
  font-weight: 700;
}

.casa-theme .casa-post-nav a {
  color: var(--casa-coral-d);
}

.casa-theme .casa-empty {
  text-align: center;
  color: var(--casa-muted);
  padding: 60px 0;
}

/* WordPress コアクラス */
.casa-theme .alignleft {
  float: left;
  margin: 0 1.5em 1em 0;
}

.casa-theme .alignright {
  float: right;
  margin: 0 0 1em 1.5em;
}

.casa-theme .aligncenter {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.casa-theme .wp-caption-text,
.casa-theme figcaption {
  font-size: 12.5px;
  color: var(--casa-muted);
  text-align: center;
  margin-top: 8px;
}

.casa-theme .screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.casa-theme .sticky,
.casa-theme .gallery-caption,
.casa-theme .bypostauthor {
  display: block;
}

/* --------------------------------------------------------------------------
   23. Elementor 連携調整
   -------------------------------------------------------------------------- */
.casa-theme .elementor-widget-container > .casa-widget {
  display: block;
}

/* 全幅コンテナを本当に全幅にする。
   Elementor は素の状態だと .e-con にも max-width: min(100%, var(--container-max-width))
   を掛けるため、「全幅」を選んでもキット設定の 1120px で頭打ちになる。
   ヒーロー・実績ストリップ・CTA バンドなどは live_site と同じく画面いっぱいに
   敷き、内側の .wrap が 1120px に収める構造なので、ここで上限を解除する。 */
.casa-theme .elementor-element.e-con-full {
  max-width: 100%;
  width: 100%;
}

/* Elementor 編集画面でヘッダーが被らないように */
.elementor-editor-active.casa-theme .casa-header {
  position: relative;
}

/* --------------------------------------------------------------------------
   24. レスポンシブ
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .casa-theme .navtoggle {
    display: block;
  }

  .casa-theme .casa-header .wrap {
    padding: 0 16px;
  }

  .casa-theme .casa-header .logo small {
    display: none;
  }

  .casa-theme .casa-header .logo b {
    font-size: 12px;
  }

  /* メニューを包む <nav> はフレックスアイテムとして gap を 1 つ余分に消費し、
     そのぶん社名が狭くなって折り返してしまう（live_site は logo / toggle / cta の
     3 つだけで gap は 2 つ）。display:contents で中の <ul> を直接の子にすると、
     モバイルでは <ul> が absolute なのでフローから外れ、gap が元の 2 つに戻る。 */
  .casa-theme .casa-gnav {
    display: contents;
  }

  .casa-theme .casa-header .logo svg {
    width: 38px;
    height: 32px;
    flex-shrink: 0;
  }

  .casa-theme .casa-header .logo-link {
    flex-shrink: 0;
  }

  .casa-theme .casa-header .cta {
    padding: 8px 14px;
    font-size: 12px;
  }

  .casa-theme .menu {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    gap: 0;
    background: var(--casa-cream);
    border-bottom: 1px solid var(--casa-line);
    box-shadow: 0 20px 34px -20px rgba(80, 40, 50, .38);
    padding: 2px 20px 10px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height .28s ease, opacity .2s ease, visibility .2s;
  }

  .casa-theme .menu.open {
    max-height: 76vh;
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    z-index: 999;
    /* 開くときは visibility を即座に visible にする（アニメーション中は hidden のままで、
       キーボードで開いたときに最初のリンクへフォーカスを移せないことがあるため）。
       閉じるときは上のルールの visibility .2s でフェードアウトを待つ。 */
    transition: max-height .28s ease, opacity .2s ease, visibility 0s;
  }

  .casa-theme .menu > li > a {
    display: block;
    padding: 14px 4px;
    font-size: 15px;
    font-weight: 700;
    white-space: normal;
    border-bottom: 1px solid var(--casa-line);
  }

  .casa-theme .menu > li:last-child > a {
    border-bottom: 0;
  }

  .casa-theme .menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0 0 6px 14px;
    min-width: 0;
  }

  .casa-theme .menu .sub-menu a {
    font-size: 13.5px;
    padding: 8px 4px;
  }

  .casa-theme section.pad {
    padding: 56px 0;
  }

  .casa-theme .phero h1 {
    font-size: 28px;
  }

  .casa-theme .svc3,
  .casa-theme .oblig,
  .casa-theme .career,
  .casa-theme .alt {
    grid-template-columns: 1fr;
  }

  .casa-theme .oblig .orow:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--casa-line);
  }

  .casa-theme .oblig .orow:last-child {
    border-bottom: none;
  }

  .casa-theme .svc-hl {
    grid-template-columns: 1fr;
  }

  .casa-theme .fgrid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .casa-theme .casa-article {
    padding: 32px 24px;
  }

  .casa-theme .casa-form {
    padding: 32px 24px;
  }
}

@media (max-width: 900px) {
  .casa-theme .hero .hero-inner,
  .casa-theme .cb .split,
  .casa-theme .rep .split,
  .casa-theme .news .news-inner,
  .casa-theme .greet {
    grid-template-columns: 1fr;
  }

  .casa-theme .feat,
  .casa-theme .feat.cols-4,
  .casa-theme .svc,
  .casa-theme .svc.cols-3,
  .casa-theme .bgrid {
    grid-template-columns: 1fr 1fr;
  }

  .casa-theme .hero h1 {
    font-size: 30px;
  }

  .casa-theme .hero-visual {
    height: 320px;
  }

  .casa-theme .ey h2 {
    font-size: 27px;
  }

  /* TOP だけ PC で 34px にしている指定（.home）が優先されてスマートフォンでも 34px のままになり、
     「ワンストップサービ／ス」のように 1 語が 1 行に収まらなかったため、TOP にも縮小を効かせる。 */
  .casa-theme.home .ey h2 {
    font-size: 29px;
  }

  .casa-theme .cb .split {
    padding: 56px 0;
  }

  .casa-theme .greet .ph,
  .casa-theme .ph {
    min-height: 0;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 4 / 5;
    margin: 0 auto;
  }

  .casa-theme .photo.p1 img {
    object-position: 50% 10%;
  }
}

@media (max-width: 600px) {
  :root {
    --casa-gutter: 20px;
  }

  .casa-theme .feat,
  .casa-theme .feat.cols-2,
  .casa-theme .feat.cols-4,
  .casa-theme .svc,
  .casa-theme .svc.cols-2,
  .casa-theme .svc.cols-3,
  .casa-theme .bgrid,
  .casa-theme .career {
    grid-template-columns: 1fr;
  }

  .casa-theme .hero h1 {
    font-size: 26px;
  }

  .casa-theme .hero p.lead,
  .casa-theme .hero .btns .mizu {
    max-width: none;
  }

  .casa-theme .hero .btns .mizu {
    display: none;
  }

  .casa-theme .btn-primary,
  .casa-theme .btn-ghost {
    width: 100%;
    text-align: center;
  }

  .casa-theme .strip .strip-inner {
    gap: 18px 12px;
  }

  .casa-theme .strip > .wrap > .strip-inner > div {
    flex: 0 0 calc(50% - 12px);
  }

  .casa-theme .phero h1 {
    font-size: 24px;
  }

  .casa-theme .ey h2 {
    font-size: 23px;
    margin: 45px auto 0;
  }

  .casa-theme.home .ey h2 {
    font-size: 25px;
  }

  .casa-theme .ctaband h2 {
    font-size: 22px;
  }

  .casa-theme .card {
    padding: 28px 22px;
  }

  .casa-theme .svc-hl {
    padding: 26px 22px;
  }

  .casa-theme .qcard .qh,
  .casa-theme .qcard .ab {
    padding: 18px 18px;
  }

  .casa-theme .jtable td,
  .casa-theme .jtable th {
    padding: 12px 18px;
  }

  .casa-theme .jtable td.k,
  .casa-theme .jtable th.k {
    width: 110px;
  }

  .casa-theme .jcard .jh {
    padding: 16px 18px;
    flex-direction: column;
    align-items: flex-start;
  }

  .casa-theme table.simple,
  .casa-theme table.simple tbody,
  .casa-theme table.simple tr,
  .casa-theme table.simple td,
  .casa-theme table.simple th {
    display: block;
    width: auto;
  }

  .casa-theme table.simple tr + tr {
    border-top: 2px solid var(--casa-line);
  }

  .casa-theme table.simple td,
  .casa-theme table.simple th {
    border: 0;
    padding: 12px 16px 14px;
  }

  .casa-theme table.simple td.k,
  .casa-theme table.simple th.k {
    width: auto;
    padding: 9px 16px;
    font-size: 13px;
  }

  .casa-theme .news .news-inner {
    gap: 28px;
  }

  .casa-theme .nrow .th {
    width: 72px;
    height: 54px;
  }
}

.casa-theme .casa-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 420px) {
  .casa-theme .casa-header .wrap {
    padding: 0 12px;
    gap: 8px;
  }

  .casa-theme .logo {
    gap: 8px;
  }

  .casa-theme .casa-header .logo b {
    font-size: 13px;
    white-space: nowrap;
  }

  .casa-theme .casa-header .cta {
    padding: 8px 11px;
    font-size: 12px;
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  /* 日本語フォント（Noto Sans JP）の読み込み中は端末のフォントで表示され、少し幅が広い。
     320px 幅でその間だけ「お問い合わせ」ボタンが 4px はみ出していたため、間隔を詰めておく。 */
  .casa-theme .casa-header .wrap {
    padding: 0 10px;
    gap: 4px;
  }

  .casa-theme .logo {
    gap: 6px;
  }

  .casa-theme .casa-header .logo svg {
    width: 34px;
    height: 29px;
  }

  .casa-theme .casa-header .logo b {
    font-size: 11.5px;
  }

  .casa-theme .casa-header .cta {
    padding: 7px 8px;
    font-size: 12px;
  }
}

/* 折りたたみスマートフォンの外画面（幅 280px 前後）でも「お問い合わせ」が切れないように、
   マークを外して社名とボタンだけにする。 */
@media (max-width: 300px) {
  .casa-theme .casa-header .logo-link {
    display: none;
  }

  .casa-theme .casa-header .logo b {
    font-size: 11px;
  }

  .casa-theme .casa-header .cta {
    padding: 7px 8px;
    font-size: 11px;
  }
}

/* -------------------------------------------------------------------------
 * 比較表（他の登録支援機関・監理団体との違い）— 2026/09/16 追加
 * ---------------------------------------------------------------------- */

.casa-theme .cmp-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.casa-theme .cmp-table {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--casa-line);
  border-radius: 16px;
  overflow: hidden;
  font-size: 15px;
}

.casa-theme .cmp-table th,
.casa-theme .cmp-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--casa-line);
  text-align: left;
  vertical-align: top;
  line-height: 1.8;
}

.casa-theme .cmp-table thead th {
  background: var(--casa-cream2);
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--casa-muted);
}

.casa-theme .cmp-table tbody th {
  width: 26%;
  font-weight: 700;
  color: var(--casa-ink);
  background: #FCF8F4;
}

.casa-theme .cmp-table .ours {
  background: rgba(142, 74, 92, .06);
  color: var(--casa-coral-d);
  font-weight: 700;
}

.casa-theme .cmp-table thead th.ours {
  background: var(--casa-coral);
  color: #fff;
}

.casa-theme .cmp-table tr:last-child th,
.casa-theme .cmp-table tr:last-child td {
  border-bottom: 0;
}

/* TOP から比較表への導線 */
.casa-theme .feat-more {
  margin-top: 26px;
  text-align: center;
}

.casa-theme .feat-more a {
  display: inline-block;
  font-weight: 700;
  color: var(--casa-coral-d);
  border-bottom: 1px solid rgba(110, 58, 72, .35);
  padding-bottom: 3px;
}

/* お悩み解決：回答内の箇条書き（試験の内訳など） */
.casa-theme .qcard .a-body {
  flex: 1;
}

.casa-theme .qcard .exam {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.casa-theme .qcard .exam li {
  position: relative;
  padding: 0 0 0 18px;
  margin-bottom: 12px;
  font-size: 14.5px;
  line-height: 1.9;
  color: #453E38;
}

.casa-theme .qcard .exam li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--casa-coral);
  opacity: .55;
}

.casa-theme .qcard .exam li b {
  color: var(--casa-coral-d);
}

.casa-theme .qcard .exam-sub {
  margin: 8px 0 0;
  padding: 0 0 0 14px;
  list-style: none;
}

.casa-theme .qcard .exam-sub li {
  position: relative;
  padding: 0 0 0 14px;
  margin-bottom: 6px;
  font-size: 14px;
}

.casa-theme .qcard .exam-sub li:before {
  content: "";
  top: 12px;
  width: 6px;
  height: 1.5px;
  border-radius: 0;
  background: var(--casa-muted);
  opacity: .7;
}

@media (max-width: 700px) {
  /* スマートフォンでは横スクロールを避け、項目ごとのカードにする */
  .casa-theme .cmp-wrap {
    overflow: visible;
  }

  .casa-theme .cmp-table,
  .casa-theme .cmp-table tbody,
  .casa-theme .cmp-table tr,
  .casa-theme .cmp-table th,
  .casa-theme .cmp-table td {
    display: block;
    width: auto;
  }

  .casa-theme .cmp-table {
    min-width: 0;
    border: 0;
    background: transparent;
    font-size: 14.5px;
  }

  .casa-theme .cmp-table thead {
    display: none;
  }

  .casa-theme .cmp-table tr {
    background: #fff;
    border: 1px solid var(--casa-line);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 14px;
  }

  .casa-theme .cmp-table tbody th {
    width: auto;
    background: var(--casa-cream2);
    font-size: 15px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--casa-line);
  }

  .casa-theme .cmp-table td {
    padding: 12px 16px;
  }

  .casa-theme .cmp-table td:before {
    content: attr(data-h);
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--casa-muted);
    margin-bottom: 4px;
  }

  .casa-theme .cmp-table td.ours:before {
    color: var(--casa-coral-d);
  }
}

/* 代表挨拶の見出し: 幅 320–400px では 28px だと「受け入れたいけれど、」が 1 行に収まらず、
   「、」が次の行頭に落ちるため少し小さくする。 */
@media (max-width: 400px) {
  .casa-theme .greet h2 {
    font-size: 26px;
  }
}

/* --------------------------------------------------------------------------
   全端末監査（2026/09/23・127 画面サイズ × 9 ページ）で見つかった点
   -------------------------------------------------------------------------- */

/* パンくずの「TOP」などは 12px の文字だと指で押せる高さ（24px）に届かない。
   見た目の位置は変えずに、押せる範囲だけを広げる。 */
.casa-theme .crumb a {
  display: inline-block;
  padding: 6px 4px;
  margin: -6px -4px;
}

/* ロゴ下の英字と「必須」ラベル: 10.5px は読みにくい（主な読み手は施設の経営層）。 */
.casa-theme .logo small {
  font-size: 11.5px;
}

.casa-theme .req {
  font-size: 11.5px;
}

/* 横向きのスマートフォンなど高さの低い画面では、固定ヘッダーが画面の 1/4 を占めてしまう。
   高さ 480px 以下ではヘッダーを固定しない。 */
@media (max-height: 480px) and (orientation: landscape) {
  .casa-theme .casa-header {
    position: relative;
  }
}

/* 幅 300px 以下（折りたたみ端末の外側画面など）: 長い見出しが 1 文字だけ次の行に落ちたり、
   「、」が行頭に来たりするため、見出しを一段小さくする。 */
@media (max-width: 300px) {
  .casa-theme .phero h1 {
    font-size: 21px;
  }

  .casa-theme .ey h2,
  .casa-theme.home .ey h2 {
    font-size: 20px;
  }

  .casa-theme .greet h2 {
    font-size: 22px;
  }

  .casa-theme .card h3 {
    font-size: 17px;
  }

  .casa-theme .casa-article.legal h2 {
    font-size: 15.5px;
  }
}

/* ロゴのマークは縮めない（フッターで英字が長いと、幅 280px 前後でマークが 11px まで潰れていた）。 */
.casa-theme .logo-link {
  flex-shrink: 0;
}

/* 幅の狭い画面では、ロゴ下の英字を折り返せるようにする（1 行に収まらないため）。 */
@media (max-width: 360px) {
  .casa-theme .casa-footer .logo small {
    white-space: normal;
    letter-spacing: .12em;
  }
}

/* お問い合わせページ右側の案内（SNS・資料請求）: リンクを設定したときの見た目。 */
.casa-theme .alt .card h2 a,
.casa-theme .alt .card h4 a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.casa-theme .alt .card h2 a:hover,
.casa-theme .alt .card h4 a:hover {
  color: var(--casa-coral-d);
}

/* ページ内リンク（例: TOP →「/services/#difference」）で移動したとき、固定ヘッダーに見出しが隠れないようにする。 */
html {
  scroll-padding-top: 88px;
}

@media (max-height: 480px) and (orientation: landscape) {
  html {
    scroll-padding-top: 0;
  }
}

/* ログイン中は管理バーのぶんヘッダーが下がるので、ページ内リンクの着地点もずらす。 */
html:has(body.admin-bar) {
  scroll-padding-top: 120px;
}

@media (max-width: 782px) {
  html:has(body.admin-bar) {
    scroll-padding-top: 134px;
  }
}

@media (max-height: 480px) and (orientation: landscape) {
  html:has(body.admin-bar) {
    scroll-padding-top: 0;
  }
}

/* 「本文へスキップ」で main にフォーカスを移したとき、枠線は出さない（tabindex="-1" のため） */
.casa-theme .casa-main:focus {
  outline: none;
}

/* フッターの電話番号（カスタマイザーで入力したときだけ表示） */
.casa-theme .casa-footer .ftel {
  margin: 8px 0 0;
  font-size: 14px;
  color: #BEB4A8;
}

.casa-theme .casa-footer .ftel a {
  display: inline; /* フッターのリンクは縦並び（display:block）だが、番号は「TEL：」と同じ行に */
  padding: 0;
  color: inherit;
  text-decoration: none;
}
