@charset "UTF-8";
/*
Theme Name: 合同会社Happiness
Description: 合同会社Happiness（精神特化型 訪問看護ステーション Happiness）オリジナルテーマ
Author: peees
Version: 1.0.0
Text Domain: happiness
*/

/* ==========================================================================
   共通：デザイントークン / 基本 / 装飾 / ヘッダー / ナビ / 見出し / フッター
   モバイルファースト（SP基準 → 769px / 1025px / 1441px で拡張）
   ========================================================================== */
:root {
  --sky: #4aa8e0;
  --sky-deep: #2e7fc0;
  --sky-navy: #1c5a94;
  --sky-pale: #e9f5fd;
  --sky-mist: #f5fbff;
  --sun: #ffd35e;
  --heart: #ff8fb1;
  --heart-soft: #ffe4ec;
  --ink: #2a3b49;
  --gray: #6a7a88;
  --white: #ffffff;
  --radius: 20px;
  --shadow: 0 12px 40px rgba(46, 127, 192, .14);
  --shadow-sm: 0 6px 20px rgba(46, 127, 192, .10);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.en {
  font-family: "Poppins", sans-serif;
  letter-spacing: .06em;
}

/* ===== ふわふわ雲・花びら ===== */
.cloud {
  position: absolute;
  background: #fff;
  border-radius: 100px;
  opacity: .85;
  pointer-events: none;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 50%;
}

.c1 {
  width: 120px;
  height: 36px;
  top: 22%;
  left: -140px;
  animation: drift 26s linear infinite;
}

.c1::before {
  width: 50px;
  height: 50px;
  top: -22px;
  left: 22px;
}

.c1::after {
  width: 36px;
  height: 36px;
  top: -14px;
  left: 64px;
}

.c2 {
  width: 90px;
  height: 28px;
  top: 44%;
  left: -120px;
  opacity: .7;
  animation: drift 34s linear infinite 4s;
}

.c2::before {
  width: 40px;
  height: 40px;
  top: -18px;
  left: 16px;
}

.c2::after {
  width: 28px;
  height: 28px;
  top: -10px;
  left: 50px;
}

@keyframes drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(100vw + 300px));
  }
}

.petals {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 3;
}

.petal {
  position: absolute;
  top: -30px;
  width: 16px;
  height: 15px;
  opacity: 0;
  animation: petalFall linear infinite;
}

.petal::before,
.petal::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 12px;
  background: var(--heart);
  border-radius: 8px 8px 0 0;
  top: 0;
  opacity: .75;
}

.petal::before {
  left: 8px;
  transform: rotate(-45deg);
  transform-origin: 0 100%;
}

.petal::after {
  left: 0;
  transform: rotate(45deg);
  transform-origin: 100% 100%;
}

.petal.white::before,
.petal.white::after {
  background: #fff;
  opacity: .9;
}

.petal.sun::before,
.petal.sun::after {
  background: var(--sun);
}

@keyframes petalFall {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 0;
  }
  8% {
    opacity: .9;
  }
  50% {
    transform: translate(-40px, 45vh) rotate(160deg) scale(.9);
  }
  100% {
    transform: translate(30px, 105vh) rotate(340deg) scale(.8);
    opacity: 0;
  }
}

/* ===== ローディング ===== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(160deg, #bfe3f7, #e9f5fd);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  transition: opacity .8s ease, visibility .8s;
}

.loader.hide {
  opacity: 0;
  visibility: hidden;
}

/* 会社名。ふわっと上下 */
.loader-text {
  position: relative;
  z-index: 2;
  letter-spacing: .12em;
  color: var(--sky-deep);
  font-size: clamp(1rem, 4.4vw, 1.35rem);
  font-weight: 700;
  opacity: .9;
  text-align: center;
  padding: 0 24px;
  animation: floatUp 2.4s ease-in-out infinite;
}

@keyframes floatUp {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* 下から立ちのぼるシャボン玉 */
.loader-bubbles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.lb {
  position: absolute;
  bottom: -90px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .95) 0 10%, rgba(255, 255, 255, .35) 16%, transparent 38%),
    linear-gradient(150deg, rgba(255, 214, 236, .55), rgba(203, 231, 255, .5) 55%, rgba(214, 255, 235, .5));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .7),
    0 6px 18px rgba(107, 154, 201, .18);
  animation: bubbleRise 7s ease-in infinite;
}

.lb-1 { left: 8%; width: 34px; height: 34px; animation-duration: 6.5s; animation-delay: -.2s; }
.lb-2 { left: 26%; width: 18px; height: 18px; animation-duration: 5.2s; animation-delay: -2.4s; }
.lb-3 { left: 44%; width: 52px; height: 52px; animation-duration: 8.4s; animation-delay: -4.1s; }
.lb-4 { left: 62%; width: 26px; height: 26px; animation-duration: 6s; animation-delay: -1.2s; }
.lb-5 { left: 78%; width: 40px; height: 40px; animation-duration: 7.6s; animation-delay: -3.3s; }
.lb-6 { left: 92%; width: 14px; height: 14px; animation-duration: 4.8s; animation-delay: -.8s; }

@keyframes bubbleRise {
  0% {
    transform: translate(0, 0) scale(.85);
    opacity: 0;
  }
  12% {
    opacity: .95;
  }
  50% {
    transform: translate(14px, -50vh) scale(1);
  }
  85% {
    opacity: .75;
  }
  100% {
    transform: translate(-12px, -108vh) scale(1.08);
    opacity: 0;
  }
}

/* ぽんぽん跳ねる3つの点 */
.loader-dots {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 8px;
  margin-top: -6px;
}

.loader-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  animation: dotHop 1.2s ease-in-out infinite;
}

.loader-dots i:nth-child(1) { background: #8ecbf0; }
.loader-dots i:nth-child(2) { background: #f7b9cf; animation-delay: .16s; }
.loader-dots i:nth-child(3) { background: #ffd98a; animation-delay: .32s; }

@keyframes dotHop {
  0%, 70%, 100% {
    transform: translateY(0);
    opacity: .55;
  }
  35% {
    transform: translateY(-9px);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loader-text,
  .lb,
  .loader-dots i {
    animation: none;
  }
}

/* ===== ヘッダー ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: .4s;
}

.header.scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(46, 127, 192, .08);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--sky-navy);
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--sky), var(--sky-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 4px 12px rgba(46, 127, 192, .3);
}

.logo-mark svg {
  width: 22px;
  height: 22px;
}

.logo-txt {
  line-height: 1.25;
}

.logo-txt small {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: .62rem;
  letter-spacing: .12em;
  color: var(--sky);
  font-weight: 500;
  line-height: 1;
}

/* 会社名の説明部分（日本語）。英字の小見出しより字間を詰める */
.logo-txt .logo-sub {
  font-family: inherit;
  font-size: .58rem;
  letter-spacing: .02em;
  line-height: 1.3;
  margin-top: 3px;
  white-space: nowrap;
}

/* 英字ブランド名を切り出せなかったときは、会社名を1行で収める */
.logo-txt--solo {
  font-size: .92rem;
  line-height: 1.35;
  max-width: 54vw;
}

/* ===== PC用グローバルナビ（1025px以上で表示） ===== */
.gnav {
  display: none;
  align-items: center;
  gap: 4px;
}

.gnav a {
  position: relative;
  padding: 10px 16px;
  font-size: .92rem;
  font-weight: 700;
  color: var(--sky-navy);
  line-height: 1.3;
  text-align: center;
  text-shadow: 0 1px 3px rgba(255, 255, 255, .8);
  transition: .25s;
}

.gnav a small {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: .56rem;
  letter-spacing: .16em;
  color: var(--sky);
  font-weight: 500;
  margin-top: 2px;
}

.gnav a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--sky);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s;
}

.gnav a:hover::after {
  transform: scaleX(1);
}

/* お問い合わせ：目を引くグラデーションボタン（ナビ内で唯一のボタン） */
.gnav .gnav-btn--fancy {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
  padding: 14px 26px;
  border-radius: 100px;
  text-shadow: none;
  line-height: 1.2;
  background: linear-gradient(115deg, var(--sky), var(--sky-deep) 60%, var(--sky-navy));
  color: #fff;
  font-weight: 900;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(46, 127, 192, .32);
  transition: .3s;
}

.gnav .gnav-btn--fancy svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.gnav .gnav-btn--fancy::after {
  display: none;
}

/* ホバーで光沢が横切る */
.gnav .gnav-btn--fancy::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-18deg);
  transition: left .55s ease;
}

.gnav .gnav-btn--fancy:hover::before {
  left: 120%;
}

.gnav .gnav-btn--fancy:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(28, 90, 148, .42);
}

.nav-toggle {
  width: 48px;
  height: 48px;
  border: none;
  background: linear-gradient(140deg, var(--sky), var(--sky-deep));
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  z-index: 1100;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: .3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== ドロワーナビ ===== */
.nav-menu {
  position: fixed;
  inset: 0;
  background: linear-gradient(165deg, var(--sky-deep), var(--sky-navy));
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: .5s;
  overflow-y: auto;
}

.nav-menu.open {
  opacity: 1;
  visibility: visible;
}

.nav-menu-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* 閉じるボタン */
.nav-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  cursor: pointer;
  transition: .25s;
  padding: 0;
}

.nav-close svg {
  width: 20px;
  height: 20px;
}

.nav-close span {
  font-family: "Poppins", sans-serif;
  font-size: .48rem;
  letter-spacing: .12em;
  opacity: .8;
}

.nav-close:hover {
  background: rgba(255, 255, 255, .26);
  transform: rotate(90deg);
}

.nav-menu a {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 14px 40px;
  position: relative;
  transform: translateY(20px);
  opacity: 0;
  transition: .5s;
  text-align: center;
}

.nav-menu.open a {
  transform: translateY(0);
  opacity: 1;
}

.nav-menu.open .nav-menu-list a:nth-child(1) {
  transition-delay: .1s;
}

.nav-menu.open .nav-menu-list a:nth-child(2) {
  transition-delay: .16s;
}

.nav-menu.open .nav-menu-list a:nth-child(3) {
  transition-delay: .22s;
}

.nav-menu.open .nav-menu-list a:nth-child(4) {
  transition-delay: .28s;
}

.nav-menu.open .nav-menu-list a:nth-child(5) {
  transition-delay: .34s;
}

.nav-menu a small {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: .6rem;
  letter-spacing: .2em;
  opacity: .6;
  text-align: center;
  font-weight: 400;
}

/* ===== ボタン ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 100px;
  font-weight: 700;
  font-size: .95rem;
  transition: .3s;
  box-shadow: var(--shadow-sm);
  line-height: 1.5;
}

.btn-primary {
  background: var(--sky-deep);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(46, 127, 192, .3);
}

.btn-ghost {
  background: #fff;
  color: var(--sky-deep);
  border: 1.5px solid var(--sky);
}

.btn-ghost:hover {
  background: var(--sky-pale);
  transform: translateY(-3px);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

/* ===== セクション共通 ===== */
.section {
  padding: 80px 24px;
  position: relative;
}

.section--mist {
  background: var(--sky-mist);
}

.section--pale {
  background: var(--sky-pale);
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-inner--narrow {
  max-width: 780px;
}

.sec-head {
  text-align: center;
  margin-bottom: 52px;
}

.sec-en {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: .8rem;
  letter-spacing: .28em;
  color: var(--sky);
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.sec-title {
  font-size: clamp(1.7rem, 6.5vw, 2.5rem);
  font-weight: 900;
  line-height: 1.4;
  color: var(--sky-navy);
}

.sec-lead {
  margin-top: 18px;
  color: var(--gray);
  font-size: .95rem;
  line-height: 2.1;
}

/* 見出しバリエーション：ゴースト英字＋左寄せ */
.sec-head--left {
  text-align: left;
  position: relative;
  padding-top: 30px;
}

.sec-ghost {
  position: absolute;
  top: -12px;
  left: -6px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: clamp(3rem, 13vw, 6rem);
  color: var(--sky-deep);
  opacity: .07;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
  pointer-events: none;
  white-space: nowrap;
}

/* 見出しバリエーション：マーカーアクセント */
.marker-acc {
  font-family: "Yusei Magic", sans-serif;
  font-weight: 400;
  color: var(--sky);
}

.sec-title--marker {
  font-family: "Yusei Magic", sans-serif;
  font-weight: 400;
}

.sec-title--marker .q {
  color: var(--heart);
}

/* 見出しバリエーション：マスキングテープ風 */
.sec-head--tape {
  position: relative;
}

.sec-head--tape .sec-title {
  position: relative;
  display: inline-block;
  padding: 8px 30px;
  background: linear-gradient(100deg, rgba(255, 211, 94, .5), rgba(255, 228, 150, .35));
  border-radius: 6px;
}

.sec-head--tape .sec-title::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -14px;
  width: 36px;
  height: 18px;
  background: rgba(255, 255, 255, .6);
  transform: rotate(-38deg);
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(28, 90, 148, .08);
}

.sec-head--tape .sec-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  right: -14px;
  width: 36px;
  height: 18px;
  background: rgba(255, 255, 255, .6);
  transform: rotate(-38deg);
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(28, 90, 148, .08);
}

/* 見出しバリエーション：手書き波線 */
.sec-title--wave {
  position: relative;
  display: inline-block;
}

.sec-title--wave::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: -14px;
  height: 10px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 10' preserveAspectRatio='none'><path d='M0 5 Q7.5 0 15 5 T30 5 T45 5 T60 5' fill='none' stroke='%234aa8e0' stroke-width='2.5' stroke-linecap='round'/></svg>") repeat-x;
  background-size: 44px 10px;
}

/* 英字ラベルを出さない見出し（ゴースト英字と重複する場合）。
   ラベルぶんの高さを padding で補い、タイトル位置を揃える。 */
.sec-head--noen {
  padding-top: 58px;
}

.sec-head--mind {
  margin-bottom: 28px;
}

.sec-head--recruit {
  text-align: left;
  margin-bottom: 0;
}

/* ===== 下層サブヒーロー ===== */
.sub-hero {
  position: relative;
  padding: 130px 24px 54px;
  background: linear-gradient(165deg, #cfe4f4, #f5fbff);
  text-align: center;
  overflow: hidden;
}

.sub-title {
  font-family: "Yusei Magic", sans-serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 6vw, 2.3rem);
  color: var(--sky-deep);
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.sub-title .q {
  color: var(--heart);
}

.crumbs {
  margin-top: 12px;
  font-size: .7rem;
  color: var(--gray);
  letter-spacing: .05em;
  position: relative;
  z-index: 2;
}

.crumbs a {
  color: var(--gray);
  transition: .3s;
}

.crumbs a:hover {
  color: var(--sky-deep);
}

.crumbs b {
  color: var(--sky-deep);
}

/* ===== 共通パーツ ===== */
.spec {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.spec th,
.spec td {
  padding: 16px 18px;
  font-size: .9rem;
  text-align: left;
  border-bottom: 1px solid var(--sky-pale);
  line-height: 1.9;
}

.spec th {
  width: 32%;
  background: var(--sky-mist);
  color: var(--sky-deep);
  font-weight: 700;
  vertical-align: top;
}

.spec tr:last-child th,
.spec tr:last-child td {
  border-bottom: none;
}

.spec td a {
  color: var(--sky-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.spec td a:hover {
  color: var(--sky);
}

.note {
  font-size: .76rem;
  color: var(--gray);
  margin-top: 12px;
  line-height: 1.9;
}

.note a {
  color: var(--sky-deep);
  font-weight: 700;
}

.badge-tmp {
  display: inline-block;
  background: var(--heart-soft);
  color: #c9537a;
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.svc-sub-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.svc-sub-list--mt {
  margin-top: 16px;
}

.svc-sub {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--sky-pale);
  padding: 12px 16px;
  border-radius: 12px;
  font-size: .86rem;
  font-weight: 700;
  color: var(--sky-navy);
}

.svc-sub i {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--heart);
  font-size: .9rem;
  font-style: normal;
}

/* ===== スクロール発火 ===== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: .9s cubic-bezier(.16, 1, .3, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal.d1 {
  transition-delay: .12s;
}

.reveal.d2 {
  transition-delay: .24s;
}

.reveal.d3 {
  transition-delay: .36s;
}

/* ===== フッター ===== */
.footer {
  position: relative;
  background: linear-gradient(170deg, var(--sky-deep), var(--sky-navy));
  color: #fff;
  padding: 76px 24px 120px;
  border-radius: 36px 36px 0 0;
  overflow: hidden;
  margin-top: 28px;
}

.footer::after {
  content: "Happiness";
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: clamp(4.4rem, 17vw, 11rem);
  line-height: 1;
  color: rgba(255, 255, 255, .05);
  white-space: nowrap;
  pointer-events: none;
}

.footer .cloud {
  opacity: .08;
}

.footer-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  z-index: 2;
}

.footer-msg {
  font-family: "Yusei Magic", sans-serif;
  font-size: clamp(1.05rem, 4vw, 1.4rem);
  margin-bottom: 28px;
}

.footer-msg span {
  color: var(--sun);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo .logo-mark {
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, .14);
  box-shadow: none;
}

.footer-logo b {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: .02em;
}

.footer-logo small {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: .6rem;
  letter-spacing: .16em;
  opacity: .65;
  font-weight: 500;
}

.footer-info {
  font-size: .84rem;
  line-height: 2.1;
  opacity: .85;
  margin-top: 16px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  align-content: start;
}

.footer-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  font-weight: 700;
  padding: 12px 16px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  transition: .25s;
}

.footer-nav a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sun);
  flex-shrink: 0;
}

.footer-nav a:hover {
  background: rgba(255, 255, 255, .18);
  transform: translateY(-2px);
}

.footer-tel {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  padding: 16px 24px;
  border-radius: 16px;
  margin-top: 18px;
  transition: .25s;
}

.footer-tel:hover {
  background: rgba(255, 255, 255, .18);
}

.footer-tel small {
  font-size: .68rem;
  letter-spacing: .1em;
  opacity: .75;
  font-weight: 700;
}

.footer-tel strong {
  font-family: "Poppins", sans-serif;
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.footer-tel span {
  font-size: .72rem;
  opacity: .7;
}

.footer-copy {
  margin-top: 38px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 20px;
  font-family: "Poppins", sans-serif;
  font-size: .7rem;
  opacity: .55;
  letter-spacing: .08em;
}

/* ===== ページトップ（フッターから独立した追従ボタン・右下） ===== */
.pagetop {
  position: fixed;
  right: 16px;
  bottom: 78px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--sky), var(--sky-deep));
  border: 2px solid rgba(255, 255, 255, .9);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  z-index: 890;
  box-shadow: 0 8px 22px rgba(28, 90, 148, .28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: .35s;
}

.pagetop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pagetop:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(28, 90, 148, .36);
}

.pagetop svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  margin-bottom: -2px;
}

.pagetop span {
  font-family: "Poppins", sans-serif;
  font-size: .5rem;
  letter-spacing: .1em;
  font-weight: 600;
  opacity: .9;
}

/* ===== 追従CTA（SPのみ） ===== */
.float-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  display: flex;
  background: #fff;
  box-shadow: 0 -4px 20px rgba(46, 127, 192, .14);
  transform: translateY(100%);
  transition: .4s;
}

.float-cta.show {
  transform: translateY(0);
}

.float-cta a {
  flex: 1;
  padding: 15px 8px;
  text-align: center;
  font-weight: 700;
  font-size: .88rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  line-height: 1.4;
}

.float-cta a svg {
  width: 20px;
  height: 20px;
}

.float-cta .fc-tel {
  background: var(--sky-deep);
  color: #fff;
}

.float-cta .fc-contact {
  background: var(--sun);
  color: var(--sky-navy);
}

.float-cta .fc-recruit {
  background: var(--heart);
  color: #fff;
}

/* ===== ページャー（WP-PageNavi） ===== */
.navigation {
  margin-top: 40px;
  text-align: center;
}

.wp-pagenavi {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-family: "Poppins", sans-serif;
  font-size: .85rem;
}

.wp-pagenavi a,
.wp-pagenavi span {
  border: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  background: var(--sky-pale);
  color: var(--sky-deep);
  font-weight: 600;
  transition: .3s;
}

.wp-pagenavi a:hover {
  background: var(--sky);
  color: #fff;
}

.wp-pagenavi span.current {
  background: var(--sky-deep);
  color: #fff;
}

/* ===== 769px 以上 ===== */
@media screen and (min-width: 769px) {
  .section {
    padding: 100px 40px;
  }
  .svc-sub-list {
    grid-template-columns: 1fr 1fr;
  }
  .btn-center {
    flex-direction: row;
    justify-content: center;
  }
  .float-cta {
    display: none;
  }
  /* 追従CTAが消えるぶんページトップを下げる */
  .pagetop {
    right: 24px;
    bottom: 24px;
    width: 58px;
    height: 58px;
  }
  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  .footer-nav {
    min-width: 360px;
  }
  .sub-hero {
    padding: 170px 40px 70px;
  }
}

/* ===== 1025px 以上（PCはグローバルナビ、ハンバーガーは非表示） ===== */
@media screen and (min-width: 1025px) {
  .section {
    padding: 120px 40px;
  }
  .header {
    padding: 16px 32px;
  }
  .gnav {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  .logo {
    font-size: 1.15rem;
  }
  .logo-txt .logo-sub {
    font-size: .66rem;
  }
  .logo-txt--solo {
    font-size: 1.05rem;
    max-width: none;
  }
  .logo-mark {
    width: 44px;
    height: 44px;
  }
  .logo-mark svg {
    width: 26px;
    height: 26px;
  }
}

/* ===== 1441px 以上 ===== */
@media screen and (min-width: 1441px) {
  .section-inner {
    max-width: 1180px;
  }
  .section-inner--narrow {
    max-width: 820px;
  }
}
/* ==========================================================================
   TOPページ：ヒーロー / 写真ストリップ / コンセプト / サービス / 想い / CTA
   ========================================================================== */

/* ===== ヒーロー ===== */
.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0;
}

/* スマホ用画像（--hero-sp）があればそれを、無ければPC用（--hero-pc）を使う */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: var(--hero-sp, var(--hero-pc));
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

@media screen and (min-width: 769px) {
  .hero-bg {
    background-image: var(--hero-pc, var(--hero-sp));
  }
}

.hero-bg.is-placeholder {
  background: linear-gradient(155deg, #f6f1e8 0%, #eef2ef 35%, #dcebf6 70%, #cfe4f4 100%);
}

.hero-inner {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 100px 28px 96px;
  display: flex;
  justify-content: flex-end;
}

.hero-copy {
  font-family: "Yusei Magic", sans-serif;
  font-size: clamp(1.6rem, 6.8vw, 3rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--sky);
  letter-spacing: .04em;
  text-shadow: 0 2px 0 rgba(255, 255, 255, .8);
  margin-right: 4vw;
}

.hero-copy .q {
  color: var(--sky-deep);
}

.hero-copy .small {
  display: block;
  font-family: "Yusei Magic", sans-serif;
  font-size: clamp(.88rem, 3.2vw, 1.25rem);
  margin-top: 12px;
  margin-left: 3.4em;
  color: var(--sky-deep);
  opacity: .85;
}

/* このサイトで唯一の「斜め」要素：階段状にズラすヒーローコピー */
.hero-copy .step-line {
  display: block;
  transform: rotate(-4deg);
  transform-origin: left center;
}

.hero-copy .step-line + .step-line {
  margin-top: .4em;
  margin-left: 1.8em;
}

/* ===== 1024px 以下：コピーを縦中央に置いて、写真の人物と重ならないように ===== */
@media screen and (max-width: 1024px) {
  .hero {
    align-items: center;
  }
  .hero-inner {
    padding: 80px 24px;
  }
  .hero-copy {
    margin-right: 0;
  }
}

/* ===== 写真ストリップ ===== */
.photo-strip {
  background: #fff;
  padding: 20px 16px 0;
}

.photo-strip-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.ps-item {
  aspect-ratio: 4/3;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  transition: .4s;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
}

.ps-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

/* ループ用の複製はPCでは出さない */
.ps-dup {
  display: none;
}

/* ===== 768px 以下：写真ストリップを自動で流れる帯にする ===== */
@media screen and (max-width: 768px) {
  .photo-strip {
    padding: 20px 0 0;
    overflow: hidden;
  }
  .photo-strip-inner {
    display: flex;
    width: max-content;
    max-width: none;
    gap: 0;
    animation: strip-marquee 34s linear infinite;
  }
  .photo-strip:hover .photo-strip-inner,
  .photo-strip:active .photo-strip-inner {
    animation-play-state: paused;
  }
  /* 隙間は margin で持たせる（gap だと1周の折り返しでズレるため） */
  .photo-strip-inner .ps-item {
    width: 210px;
    margin-right: 12px;
    /* 流れて出入りするので、スクロール連動のフェードインは使わない */
    opacity: 1;
    transform: none;
  }
  .photo-strip-inner .ps-item:hover {
    transform: none;
  }
  .ps-dup {
    display: flex;
  }
}

/* 動きを控える設定のときは、指で送れる横スクロールに切り替える */
@media screen and (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .photo-strip {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .photo-strip-inner {
    animation: none;
  }
  .photo-strip-inner .ps-item {
    scroll-snap-align: center;
  }
}

@keyframes strip-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* 写真未設定時のプレースホルダー配色。
   background ショートハンドだと .ps-item の cover / center が
   リセットされてしまうため、background-image のみを上書きする。 */
.ps-1 {
  background-image: linear-gradient(150deg, #fdf0e4, #f7ddc8);
  color: #c99a6b;
}

.ps-2 {
  background-image: linear-gradient(150deg, #e4f2fd, #c8def7);
  color: #6b9ac9;
}

.ps-3 {
  background-image: linear-gradient(150deg, #fdeef2, #f7cdd9);
  color: #c96b8c;
}

.ps-4 {
  background-image: linear-gradient(150deg, #eef8ec, #d5edd0);
  color: #7cab6e;
}

/* ===== コンセプト ===== */
.concept {
  background: linear-gradient(180deg, var(--sky-mist), #fff);
  text-align: center;
  overflow: hidden;
}

.concept-copy {
  font-size: clamp(1.5rem, 6vw, 2.4rem);
  font-weight: 700;
  line-height: 1.9;
  color: var(--sky-navy);
  margin-bottom: 28px;
}

.concept-copy .accent {
  color: var(--sky);
}

.concept-text {
  max-width: 640px;
  margin: 0 auto;
  color: var(--gray);
  font-size: .96rem;
  line-height: 2.2;
}

/* ===== セクションに散らすシャボン玉写真 ===== */
/* コンセプト：シャボン玉の中に写真。左右に1枚ずつ */
.concept-bubbles {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(12px, 4vw, 60px);
  margin: 44px auto 0;
  max-width: 860px;
}

/* 3つの玉は大きさ・高さ・ゆれの周期をそれぞれずらす */
.concept-bubbles .bubble-photo--1 {
  width: clamp(100px, 27vw, 200px);
}

.concept-bubbles .bubble-photo--2 {
  width: clamp(84px, 22vw, 150px);
}

.concept-bubbles .bubble-photo--3 {
  width: clamp(92px, 24vw, 172px);
  margin-top: 14px;
}

.bubble-photo {
  position: relative;
  flex: 0 0 auto;
  width: clamp(118px, 33vw, 200px);
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* しゃぼん玉の膜：白いふち＋虹色のにじみ＋やわらかい影 */
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, .75),
    0 0 0 7px rgba(203, 231, 255, .35),
    0 0 22px 6px rgba(255, 214, 236, .35),
    0 14px 30px rgba(107, 154, 201, .22);
  animation: bubble-float 7s ease-in-out infinite;
}

/* 玉の表面のツヤ（左上の光と右下の小さな反射） */
.bubble-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .9) 0 5%, rgba(255, 255, 255, .32) 9%, transparent 24%),
    radial-gradient(circle at 74% 78%, rgba(255, 255, 255, .55) 0 3%, transparent 12%),
    linear-gradient(145deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0) 42%, rgba(186, 225, 255, .28) 100%);
}

.bubble-photo .ph {
  position: relative;
  z-index: 2;
  font-size: .66rem;
  font-weight: 700;
  padding: 8px;
}

/* 2つ目・3つ目は高さとゆれの周期をずらして、同じ動きに見えないように */
.bubble-photo--2 {
  margin-top: 34px;
  animation-duration: 8.5s;
  animation-delay: -2.5s;
}

.bubble-photo--3 {
  animation-duration: 9.5s;
  animation-delay: -5s;
}

.bubble-photo--1.is-placeholder {
  background-image: linear-gradient(150deg, #e4f2fd, #c8def7);
  color: #6b9ac9;
}

.bubble-photo--2.is-placeholder {
  background-image: linear-gradient(150deg, #fdeef2, #f7cdd9);
  color: #c96b8c;
}

.bubble-photo--3.is-placeholder {
  background-image: linear-gradient(150deg, #fdf6e4, #f7e6c8);
  color: #c9a06b;
}

@keyframes bubble-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bubble-photo {
    animation: none;
  }
}

/* 求人：コピーの横にシャボン玉2つ（SPでは下に回り込む） */
.recruit-bubbles {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(16px, 5vw, 32px);
  margin: 34px auto 0;
}

/* 黄色い背景に合わせて、膜の色みを白〜あめ色寄りに */
.recruit-bubbles .bubble-photo {
  width: clamp(110px, 30vw, 140px);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, .85),
    0 0 0 7px rgba(255, 255, 255, .3),
    0 0 22px 6px rgba(255, 255, 255, .4),
    0 14px 30px rgba(150, 116, 26, .2);
}

.recruit-bubbles .bubble-photo--1.is-placeholder {
  background-image: linear-gradient(150deg, #fffaf0, #ffe9b8);
  color: #b08b34;
}

.recruit-bubbles .bubble-photo--2.is-placeholder {
  background-image: linear-gradient(150deg, #eef8ec, #d5edd0);
  color: #7cab6e;
}

/* ===== サービス3カード ===== */
.service {
  background: var(--sky-pale);
}

.svc-grid {
  display: grid;
  gap: 20px;
}

.svc-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 26px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: .4s;
}

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.svc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--sky), var(--sky-deep));
}

.svc-num {
  font-family: "Poppins", sans-serif;
  font-size: .72rem;
  letter-spacing: .2em;
  color: var(--sky);
  font-weight: 600;
}

.svc-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(140deg, var(--sky-pale), #d5ecfb);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 14px 0 18px;
}

.svc-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--sky-deep);
}

.svc-card h3 {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--sky-navy);
  margin-bottom: 12px;
}

.svc-card p {
  color: var(--gray);
  font-size: .9rem;
  line-height: 2;
}

.svc-card.wide {
  grid-column: 1/-1;
  background: linear-gradient(140deg, #fff, var(--sky-mist));
}

/* ===== 想い ===== */
.mind {
  background: linear-gradient(180deg, #fff, #fdf3f6 40%, var(--sky-mist));
  position: relative;
  overflow: hidden;
  text-align: center;
}

.mind-copy {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: clamp(1.4rem, 5.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.9;
  margin-bottom: 26px;
  position: relative;
  z-index: 2;
  color: var(--sky-navy);
}

.mind-copy .accent {
  color: var(--sky);
}

.mind-text {
  max-width: 600px;
  margin: 0 auto;
  font-size: .95rem;
  line-height: 2.3;
  color: var(--gray);
  position: relative;
  z-index: 2;
}

.mind-circles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 44px auto 0;
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.mc {
  aspect-ratio: 1/1;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  position: relative;
  transition: .4s;
}

.mc:hover {
  transform: translateY(-6px) scale(1.03);
}

.mc-1 {
  background: radial-gradient(circle at 30% 25%, #fff, #dff0fc 70%);
  box-shadow: 0 12px 30px rgba(74, 168, 224, .22);
}

.mc-2 {
  background: radial-gradient(circle at 30% 25%, #fff, #ffe9f0 70%);
  box-shadow: 0 12px 30px rgba(255, 143, 177, .25);
}

.mc-3 {
  background: radial-gradient(circle at 30% 25%, #fff, #fff3d6 70%);
  box-shadow: 0 12px 30px rgba(255, 211, 94, .3);
}

.mc b {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: clamp(1.05rem, 4.2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.2;
}

.mc-1 b {
  color: var(--sky-deep);
}

.mc-2 b {
  color: #e0698f;
}

.mc-3 b {
  color: #d8a018;
}

.mc small {
  font-size: clamp(.56rem, 2.2vw, .74rem);
  color: var(--gray);
  line-height: 1.6;
  font-weight: 500;
}

.mc-heart {
  position: absolute;
  top: 6%;
  right: 10%;
  width: 18px;
  height: 17px;
}

.mc-heart::before,
.mc-heart::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 13px;
  border-radius: 9px 9px 0 0;
  top: 0;
  opacity: .85;
}

.mc-heart::before {
  left: 9px;
  transform: rotate(-45deg);
  transform-origin: 0 100%;
}

.mc-heart::after {
  left: 0;
  transform: rotate(45deg);
  transform-origin: 100% 100%;
}

.mc-1 .mc-heart::before,
.mc-1 .mc-heart::after {
  background: var(--sky);
}

.mc-2 .mc-heart::before,
.mc-2 .mc-heart::after {
  background: var(--heart);
}

.mc-3 .mc-heart::before,
.mc-3 .mc-heart::after {
  background: var(--sun);
}

/* ===== CTA ===== */
.cta {
  background: linear-gradient(170deg, #7ec2ec, #a9d8f2);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta .cloud {
  opacity: .7;
}

.cta-inner {
  position: relative;
  z-index: 2;
}

.cta-copy {
  font-family: "Yusei Magic", sans-serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  color: #fff;
  text-shadow: 0 3px 16px rgba(28, 90, 148, .25);
  line-height: 1.7;
  margin-bottom: 16px;
}

.cta-lead {
  color: #fff;
  font-size: .95rem;
  margin-bottom: 32px;
  text-shadow: 0 2px 10px rgba(28, 90, 148, .2);
}

.cta-tel {
  display: inline-block;
  background: #fff;
  border-radius: 20px;
  padding: 22px 40px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  transition: .3s;
}

.cta-tel:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 46px rgba(28, 90, 148, .22);
}

.cta-tel small {
  display: block;
  font-size: .72rem;
  color: var(--sky);
  font-weight: 700;
  letter-spacing: .1em;
}

.cta-tel strong {
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  color: var(--sky-navy);
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.3;
}

.cta-hours {
  color: #fff;
  font-size: .82rem;
  margin-top: 6px;
}

/* ===== 769px 以上 ===== */
@media screen and (min-width: 769px) {
  .hero-inner {
    padding: 100px 48px;
    max-width: none;
    justify-content: flex-start;
  }
  .hero-copy {
    margin-right: 0;
    margin-left: 2vw;
  }
  .photo-strip {
    padding: 28px 40px 0;
  }
  .concept-bubbles {
    justify-content: space-between;
    gap: 32px;
  }
  .concept-bubbles .bubble-photo--2 {
    margin-top: 56px;
  }
  .concept-bubbles .bubble-photo--3 {
    margin-top: 20px;
  }
  .recruit-inner--photo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: center;
    gap: 48px;
  }
  .recruit-bubbles {
    margin: 0;
  }
  .photo-strip-inner {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .svc-grid {
    grid-template-columns: 1fr 1fr;
  }
  .mind-circles {
    gap: 24px;
  }
}

/* ===== 1025px 以上 ===== */
@media screen and (min-width: 1025px) {
  .hero-copy {
    font-size: 3rem;
  }
}

/* ===== 1441px 以上 ===== */
@media screen and (min-width: 1441px) {
  .hero-copy {
    font-size: 3.4rem;
  }
  .hero-copy .small {
    font-size: 1.35rem;
  }
}
/* ==========================================================================
   会社情報：代表あいさつ / 会社概要 / マップ
   ========================================================================== */
/* 写真なしの1枚カード。右上に空色のにじみを置いて余白を持たせる */
.rep-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.rep-card::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(190, 226, 248, .55), rgba(190, 226, 248, 0) 70%);
  pointer-events: none;
}

.rep-body {
  position: relative;
  z-index: 2;
  padding: 36px 26px;
}

.rep-role {
  font-family: "Poppins", sans-serif;
  font-size: .72rem;
  letter-spacing: .2em;
  color: var(--sky);
  font-weight: 600;
}

.rep-name {
  font-size: 2rem;
  font-weight: 900;
  color: var(--sky-navy);
  margin: 8px 0 4px;
  line-height: 1.4;
}

.rep-name small {
  font-size: .8rem;
  color: var(--gray);
  font-weight: 500;
  margin-left: 10px;
  letter-spacing: .1em;
}

.rep-msg {
  margin-top: 20px;
  color: var(--gray);
  font-size: .94rem;
  line-height: 2.2;
}

.rep-msg p + p {
  margin-top: 1.2em;
}

.rep-sign {
  margin-top: 22px;
  font-weight: 900;
  color: var(--sky-navy);
  font-size: 1.1rem;
  text-align: right;
}

.rep-sign small {
  display: block;
  font-size: .7rem;
  color: var(--sky);
  font-family: "Poppins", sans-serif;
  letter-spacing: .15em;
  text-align: right;
  font-weight: 500;
}

/* ===== マップ ===== */
.map-wrap {
  margin-top: 24px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
}

.map-ph {
  aspect-ratio: 16/9;
  background: linear-gradient(150deg, #e4f2fd, #cfe4f4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b9ac9;
  font-weight: 700;
  font-size: .8rem;
}

/* ===== 769px 以上 ===== */
@media screen and (min-width: 769px) {
  .rep-body {
    padding: 56px 56px 48px;
  }
  .rep-msg {
    font-size: 1rem;
  }
}
/* ==========================================================================
   事業内容：3ブロック（訪問看護 / 計画相談支援 / シェアハウス・生活支援）
   ========================================================================== */
.sv-block {
  margin-bottom: 56px;
}

.sv-block:last-child {
  margin-bottom: 0;
}

/* ===== 見出し＋写真（PCは横並び、02は写真を左に） ===== */
.sv-intro {
  display: grid;
  gap: 22px;
  margin-bottom: 28px;
}

.sv-photo {
  aspect-ratio: 4/3;
  border-radius: 20px;
  overflow: hidden;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sv-photo .ph {
  font-size: .78rem;
  font-weight: 700;
  padding: 16px;
}

.sv-photo--1.is-placeholder {
  background-image: linear-gradient(150deg, #e4f2fd, #c8def7);
  color: #6b9ac9;
}

.sv-photo--2.is-placeholder {
  background-image: linear-gradient(150deg, #fdeef2, #f7cdd9);
  color: #c96b8c;
}

.sv-photo--3.is-placeholder {
  background-image: linear-gradient(150deg, #eef8ec, #d5edd0);
  color: #7cab6e;
}

/* ブロック内の小見出しと本文 */
.sv-sub-title {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--sky-navy);
  margin: 28px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--sky);
  line-height: 1.6;
}

.sv-text {
  color: var(--gray);
  font-size: .94rem;
  line-height: 2.1;
}
/* ===== 強み（番号つきカード） ===== */
.sv-points {
  display: grid;
  gap: 14px;
}

.sv-point {
  background: #fff;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: .4s;
}

.sv-point:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.sv-point-num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--sky), var(--sky-deep));
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sv-point-txt strong {
  display: block;
  color: var(--sky-navy);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.6;
  margin-bottom: 4px;
}

.sv-point-txt span {
  display: block;
  color: var(--gray);
  font-size: .88rem;
  line-height: 1.9;
}
/* ===== こんな方へ（チェックリスト） ===== */
.chk {
  list-style: none;
  display: grid;
  gap: 12px;
}

.chk li {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px 14px 48px;
  position: relative;
  font-size: .9rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  line-height: 1.8;
}

.chk li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sky);
  color: #fff;
  font-size: .7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== ご相談の流れ ===== */
.flow {
  display: grid;
  gap: 14px;
  counter-reset: fl;
  list-style: none;
}

.flow li {
  background: #fff;
  border-radius: 14px;
  padding: 18px 18px 18px 64px;
  position: relative;
  box-shadow: var(--shadow-sm);
  font-size: .9rem;
  color: var(--gray);
  line-height: 1.9;
}

.flow li::before {
  counter-increment: fl;
  content: counter(fl, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 16px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: var(--sky);
  font-size: 1.1rem;
}

.flow li b {
  display: block;
  color: var(--sky-navy);
  margin-bottom: 4px;
}

/* ===== 拠点カード ===== */
.house-grid {
  display: grid;
  gap: 16px;
}

.house-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--sky);
  transition: .4s;
}

.house-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.house-card h4 {
  color: var(--sky-navy);
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
}

.house-card h4 i {
  color: var(--heart);
  font-style: normal;
}

.house-card p {
  font-size: .84rem;
  color: var(--gray);
  line-height: 1.9;
}

/* ===== 769px 以上 ===== */
@media screen and (min-width: 769px) {
  .sv-block {
    margin-bottom: 80px;
  }
  .sv-intro {
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 44px;
    margin-bottom: 36px;
  }
  .sv-intro--rev .sec-head {
    order: 2;
  }
  .sv-intro--rev .sv-photo {
    order: 1;
  }
  .sv-text {
    font-size: 1rem;
  }
  .sv-points {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .sv-point {
    flex-direction: column;
    gap: 12px;
  }
  .chk {
    grid-template-columns: 1fr 1fr;
  }
  .house-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* ==========================================================================
   求人：黄グラデの求人コピーセクション（TOP・求人ページ共通）＋魅力ポイント
   ========================================================================== */
.recruit {
  background: linear-gradient(165deg, #ffe9a8, #ffd35e);
  position: relative;
  overflow: hidden;
}

.recruit::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
}

.recruit-inner {
  position: relative;
  z-index: 2;
}

.recruit-badge {
  display: inline-block;
  background: var(--sky-navy);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 100px;
  letter-spacing: .08em;
  margin-bottom: 20px;
  transform: rotate(-2deg);
}

.recruit-badge.reveal {
  transform: translateY(36px) rotate(-2deg);
}

.recruit-badge.reveal.in {
  transform: translateY(0) rotate(-2deg);
}

.recruit-copy {
  font-size: clamp(1.8rem, 7vw, 3rem);
  font-weight: 900;
  line-height: 1.4;
  color: var(--sky-navy);
  margin-bottom: 20px;
}

.recruit-copy .accent {
  font-family: "Yusei Magic", sans-serif;
  font-weight: 400;
  color: var(--sky-deep);
}

.recruit-lead {
  color: #7a6320;
  font-size: .96rem;
  line-height: 2.1;
  max-width: 560px;
  font-weight: 500;
}

.recruit-points {
  display: grid;
  gap: 14px;
  margin: 32px 0 0;
}

.rp {
  background: rgba(255, 255, 255, .7);
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.rp-ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sky-navy);
  color: var(--sun);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 900;
  font-size: 1.1rem;
}

.rp-txt strong {
  display: block;
  color: var(--sky-navy);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.6;
}

.rp-txt span {
  font-size: .82rem;
  color: #7a6320;
  line-height: 1.8;
}

.recruit .btn-primary {
  background: var(--sky-navy);
  color: #fff;
  margin-top: 32px;
}

.recruit .btn-primary:hover {
  background: var(--sky-deep);
}

/* ===== 769px 以上 ===== */
@media screen and (min-width: 769px) {
  .recruit-points {
    grid-template-columns: 1fr 1fr;
  }
}
/* ==========================================================================
   お問い合わせ：電話カード / フォーム（Contact Form 7）
   ========================================================================== */
.contact-head {
  text-align: center;
  margin-bottom: 36px;
}

.contact-lead {
  color: var(--gray);
  font-size: .95rem;
  line-height: 2.1;
  max-width: 640px;
  margin: 0 auto 24px;
}

.contact-head .note {
  margin-top: 4px;
}

.form-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 30px 22px;
  max-width: 720px;
  margin: 0 auto;
}

.form-card--thanks {
  text-align: center;
}

.form-card .thanks {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sky-navy);
  line-height: 2;
}

/* ===== フォーム部品（CF7の出力に合わせる） ===== */
.form-card label {
  display: block;
  font-size: .84rem;
  font-weight: 700;
  color: var(--sky-navy);
  margin-bottom: 18px;
}

.form-card label .red,
.form-card label .blue {
  display: inline-block;
  font-size: .62rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  margin-left: 8px;
  vertical-align: middle;
}

.form-card label .red {
  background: var(--heart);
  color: #fff;
}

.form-card label .blue {
  background: var(--sky-pale);
  color: var(--sky-deep);
}

.form-card input[type="text"],
.form-card input[type="tel"],
.form-card input[type="email"],
.form-card select,
.form-card textarea {
  width: 100%;
  border: 1.5px solid #d8e8f4;
  border-radius: 12px;
  padding: 13px 14px;
  font-size: .92rem;
  font-family: inherit;
  background: var(--sky-mist);
  color: var(--ink);
  margin-top: 8px;
  transition: .25s;
}

.form-card input[type="text"]:focus,
.form-card input[type="tel"]:focus,
.form-card input[type="email"]:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: none;
  border-color: var(--sky);
  background: #fff;
}

.form-card textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.9;
}

.form-card .wpcf7-form-control-wrap {
  display: block;
}

/* CF7 がラベル直後に出力する br は行間が二重になるので消す */
.form-card label > br {
  display: none;
}

/* プライバシーポリシー同意（左揃え） */
.form-card label.policy {
  text-align: left;
  margin: 26px 0 18px;
}

.form-card label.policy .wpcf7-form-control-wrap {
  margin-top: 0;
}

.form-card .wpcf7-checkbox .wpcf7-list-item {
  display: flex;
  align-items: center;
}

.form-card .wpcf7-checkbox label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0;
  cursor: pointer;
}

.form-card .wpcf7-checkbox .wpcf7-list-item {
  margin: 0;
}

.form-card .wpcf7-checkbox .wpcf7-list-item-label {
  font-weight: 700;
  color: var(--sky-navy);
  font-size: .88rem;
}

.form-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--sky-deep);
  margin-right: 8px;
  vertical-align: -3px;
}

/* 送信・確認ボタン */
.form-card input[type="submit"],
.form-card button[type="submit"],
.form-card .wpcf7-previous {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 30px;
  border: none;
  border-radius: 100px;
  background: var(--sky-deep);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: .3s;
  margin-top: 8px;
}

.form-card input[type="submit"]:hover,
.form-card button[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(46, 127, 192, .3);
}

.form-card .wpcf7-previous {
  background: #fff;
  color: var(--sky-deep);
  border: 1.5px solid var(--sky);
  margin-bottom: 12px;
}

.form-card .wpcf7-previous:hover {
  background: var(--sky-pale);
}

/* バリデーション・レスポンス */
.form-card .wpcf7-not-valid-tip {
  color: #d8436b;
  font-size: .76rem;
  font-weight: 700;
  margin-top: 6px;
}

.form-card .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--sky-pale) !important;
  background: var(--sky-mist);
  font-size: .84rem;
  line-height: 1.8;
}

.form-card .wpcf7-spinner {
  display: block;
  margin: 12px auto 0;
}

/* 確認画面（multiform は値の表示のみ） */
.form-card--confirm label {
  border-bottom: 1px dashed #cfe4f4;
  padding-bottom: 14px;
}

.form-card--confirm .wpcf7-form-control-wrap {
  margin-top: 6px;
  font-weight: 400;
  color: var(--ink);
  font-size: .92rem;
}

.form-card--confirm .btn-center,
.form-card--thanks .btn-center {
  margin-top: 24px;
}

.form-card--thanks .cta-tel {
  margin-top: 20px;
}

/* ===== 769px 以上 ===== */
@media screen and (min-width: 769px) {
  .form-card {
    padding: 44px;
  }
  .form-card input[type="submit"],
  .form-card button[type="submit"],
  .form-card .wpcf7-previous {
    width: auto;
    min-width: 280px;
  }
  .form-card .wpcf7-form > p:last-of-type {
    text-align: center;
  }
}
/* ==========================================================================
   プライバシーポリシー
   ========================================================================== */
.policy_contents {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 30px 22px;
}

.policy_contents h2 {
  font-size: 1rem;
  font-weight: 900;
  color: var(--sky-navy);
  line-height: 1.7;
  margin-bottom: 10px;
}

.policy_contents h2:not(:first-child) {
  margin-top: 2.4em;
}

.policy_contents p {
  font-size: .86rem;
  color: var(--gray);
  line-height: 2.1;
  margin-bottom: 0;
}

.policy_intro {
  padding-bottom: 1.6em;
  margin-bottom: .4em;
  border-bottom: 1px dashed #cfe4f4;
}

.policy_spec {
  margin-top: 16px;
  box-shadow: none;
  border: 1px solid var(--sky-pale);
}

.policy_spec a {
  color: var(--sky-deep);
  font-weight: 700;
}

/* ===== 769px 以上 ===== */
@media screen and (min-width: 769px) {
  .policy_contents {
    padding: 48px 44px;
  }
  .policy_contents h2 {
    font-size: 1.1rem;
  }
  .policy_contents p {
    font-size: .9rem;
  }
}
