/* ==========================================================
   株式会社フジワラ — いぶき野福祉センター
   theme: sky-blue pamphlet palette × playful rounded design
   ========================================================== */

:root {
  /* Izumifuchu pamphlet palette (pink x cream x pastel rainbow) */
  --c-sky: #e766a8;
  --c-sky-deep: #cc4390;
  --c-sky-light: #fdeef6;
  --c-mint: #fdf3e2;
  --c-teal: #a678d8;
  --c-pink: #f29a3d;
  --c-orange: #f08437;
  --c-yellow: #f5d93f;
  --c-purple: #9b7ede;
  --c-green: #7dc855;
  --c-text: #5c4552;
  --c-heading: #7c2b55;
  --font-maru: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-maru);
  font-weight: 500;
  color: var(--c-text);
  background: #fff;
  line-height: 1.9;
  letter-spacing: .04em;
}

img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; }

/* ===== Header (floating white pill) ===== */
.l-header {
  position: fixed;
  top: 14px; left: 14px; right: 14px;
  z-index: 100;
}
.p-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--header-h);
  padding: 0 10px 0 24px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(34,81,95,.14);
}
.p-header__logo { flex: none; }
.p-header__logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c-heading);
}
.p-logo__mark { width: 40px; height: 40px; color: var(--c-sky); }
.p-logo__text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .08em;
  white-space: nowrap;
}
.p-global-nav { margin-left: auto; }
.p-global-nav__list {
  display: flex;
  align-items: center;
  height: var(--header-h);
}
.p-global-nav__item { position: relative; }
.p-global-nav__item > a {
  display: flex;
  align-items: center;
  height: var(--header-h);
  padding: 0 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--c-heading);
  border-radius: 999px;
  transition: color .3s;
}
.p-global-nav__item > a:hover { color: var(--c-sky-deep); }
.p-global-nav__sub {
  position: absolute;
  top: calc(100% + 6px); left: 0;
  min-width: 270px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(34,81,95,.16);
  padding: 10px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s;
}
.p-global-nav__item:hover .p-global-nav__sub { visibility: visible; opacity: 1; }
.p-global-nav__sub a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 12px;
  color: var(--c-heading);
}
.p-global-nav__sub a:hover { background: var(--c-sky-light); color: var(--c-sky-deep); }

/* header CTA (darenocountry-style) */
.p-header__cta {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 26px;
  background: var(--c-orange);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  border-radius: 999px;
  box-shadow: 0 3px 0 rgba(0,0,0,.12);
  transition: transform .2s, box-shadow .2s;
}
.p-header__cta:hover { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0,0,0,.12); }
.p-header__hamburger { display: none; }

/* ===== 利用者募集 floating button (always visible) ===== */
.p-recruit-fab {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  background: var(--c-pink);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(232,82,152,.45);
  animation: fab-bob 2.6s ease-in-out infinite;
  border: 3px solid #fff;
}
.p-recruit-fab:hover { animation-play-state: paused; background: #f06aa8; }
.p-recruit-fab__main { font-size: 15px; line-height: 1.35; letter-spacing: .04em; }
.p-recruit-fab__sub { font-size: 10px; letter-spacing: .1em; margin-top: 3px; opacity: .9; }
@keyframes fab-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===== Buttons ===== */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 260px;
  min-height: 58px;
  margin: 0 auto;
  padding: 0 34px;
  font-family: var(--font-maru);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: center;
  border-radius: 999px;
  transition: transform .2s, opacity .2s;
  cursor: pointer;
}
.c-btn::after { content: "→"; font-size: 16px; }
.c-btn:hover { transform: translateY(-2px); opacity: .88; }
.c-btn--white { background: #fff; color: var(--c-sky-deep); box-shadow: 0 4px 14px rgba(34,81,95,.18); }
.c-btn--black { background: var(--c-sky-deep); color: #fff; box-shadow: 0 3px 0 rgba(0,0,0,.1); }

/* ===== Hero (sky / logo) ===== */
.p-hero {
  position: relative;
  background: linear-gradient(180deg, var(--c-sky) 0%, #f4a7cf 100%);
  padding: 170px 20px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  overflow: hidden;
}
.p-hero__mark { width: 250px; height: 250px; position: relative; z-index: 2; }
.p-hero .c-btn { position: relative; z-index: 2; }

/* clouds */
.c-cloud {
  position: absolute;
  background: rgba(255,255,255,.9);
  border-radius: 999px;
}
.c-cloud::before, .c-cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
}
.c-cloud--1 { width: 220px; height: 64px; top: 120px; left: 6%; }
.c-cloud--1::before { width: 90px; height: 90px; top: -44px; left: 34px; }
.c-cloud--1::after { width: 64px; height: 64px; top: -28px; left: 110px; }
.c-cloud--2 { width: 170px; height: 52px; bottom: 90px; right: 8%; }
.c-cloud--2::before { width: 70px; height: 70px; top: -34px; left: 26px; }
.c-cloud--2::after { width: 50px; height: 50px; top: -22px; left: 86px; }
.c-cloud--3 { width: 140px; height: 44px; top: 40%; right: 20%; opacity: .7; }
.c-cloud--3::before { width: 56px; height: 56px; top: -28px; left: 22px; }
.c-cloud--3::after { width: 40px; height: 40px; top: -18px; left: 70px; }

/* ===== Main visual (rounded wave, doodle shapes) ===== */
.p-mainvisual {
  position: relative;
  background: linear-gradient(180deg, #f4a7cf 0%, var(--c-sky) 60%, #d64f96 100%);
  padding: 90px 20px 130px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.p-mainvisual__body { position: relative; z-index: 2; }
.p-mainvisual__sub {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--c-sky-deep);
  background: #fff;
  border-radius: 999px;
  padding: 6px 26px;
  margin-bottom: 26px;
}
.p-mainvisual__catch {
  font-size: 50px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .06em;
  text-shadow: 0 3px 14px rgba(24,109,140,.35);
}
.p-mainvisual__catch .is-gold { color: var(--c-yellow); }
.p-mainvisual__torn { display: none; }

/* doodle shapes with faces */
.p-doodle { position: absolute; z-index: 1; animation: doodle-float 4.5s ease-in-out infinite; }
.p-doodle--1 { width: 280px; top: 10px; left: 1%; animation-delay: 0s; }
.p-doodle--2 { width: 210px; bottom: 30px; left: 13%; animation-delay: 1.2s; }
.p-doodle--3 { width: 330px; top: 20px; right: 1%; animation-delay: .6s; }
.p-doodle--4 { width: 200px; bottom: 20px; right: 14%; animation-delay: 1.8s; }
.p-doodle--5 { width: 150px; top: 46%; left: 20%; animation-delay: 2.4s; }
.p-doodle--6 { width: 170px; top: 40%; right: 21%; animation-delay: 3s; }
.p-doodle { opacity: .95; }
@keyframes doodle-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(4deg); }
}

/* rounded wave bottom */
.p-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  z-index: 2;
  height: 60px;
  background: #fff;
  clip-path: ellipse(75% 100% at 50% 100%);
}

/* ===== Yellow band → sky band ===== */
.p-yellow-band { display: none; }

/* ===== Content blocks ===== */
.p-cb { padding: 100px 20px; background: #fff; }
.p-cb--gray { background: var(--c-sky-light); padding: 100px 20px; }
.p-cb__inner { max-width: 1160px; margin: 0 auto; text-align: center; }

.p-section-headline {
  position: relative;
  display: table;
  margin: 0 auto 56px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--c-heading);
  padding: 0 70px;
}
.p-section-headline::before,
.p-section-headline::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 48px;
  border-top: 3px dashed var(--c-sky);
}
.p-section-headline::before { left: 0; }
.p-section-headline::after { right: 0; }
.p-section-headline--lg { font-size: 34px; }
.p-section-headline__en {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3em;
  color: var(--c-pink);
  margin-top: 8px;
  text-transform: uppercase;
}
.u-center { text-align: center !important; }

.p-cb__card {
  background: #fff;
  border-radius: 28px;
  padding: 66px 8%;
  margin-bottom: 54px;
  text-align: center;
  box-shadow: 0 6px 24px rgba(34,81,95,.08);
}
.p-cb--gray .p-cb__card { box-shadow: 0 6px 24px rgba(34,81,95,.1); }
.p-cb .p-cb__card { border: 2px solid var(--c-sky-light); }
.p-cb__card-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: .12em;
  margin-bottom: 36px;
  color: var(--c-heading);
}
.p-cb__card-title-en {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3em;
  color: var(--c-pink);
  margin-top: 8px;
  text-transform: uppercase;
}
.p-cb__card-text {
  max-width: 860px;
  margin: 0 auto 24px;
  text-align: left;
  font-size: 15px;
  line-height: 2.2;
}
.p-cb__card-text:last-child { margin-bottom: 0; }
.p-cb__card--empty {
  min-height: 240px;
  background:
    radial-gradient(circle at 50% 50%, var(--c-sky-light) 0 12px, transparent 13px),
    #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* service pills (pamphlet badges) */
.p-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 14px;
  max-width: 860px;
  margin: 0 auto;
}
.p-pill {
  display: inline-block;
  padding: 7px 22px;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
}
.p-pill--pink { background: var(--c-pink); }
.p-pill--green { background: var(--c-green); }
.p-pill--yellow { background: var(--c-yellow); color: #6b5b00; }
.p-pill--blue { background: var(--c-sky); }
.p-pill--orange { background: var(--c-orange); }
.p-pill--purple { background: var(--c-purple); }
.p-pill--teal { background: var(--c-teal); }

/* ===== Sub page title ===== */
.p-page-title {
  position: relative;
  margin-top: 0;
  background: linear-gradient(180deg, var(--c-sky) 0%, #f4a7cf 100%);
  color: #fff;
  text-align: center;
  padding: 170px 20px 90px;
  overflow: hidden;
}
.p-page-title__jp {
  position: relative;
  z-index: 2;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: .16em;
}
.p-page-title__en {
  position: relative;
  z-index: 2;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3em;
  color: #fffbe0;
  text-transform: uppercase;
}

/* ===== 施設概要 table ===== */
.p-outline-table {
  width: 100%;
  max-width: 820px;
  margin: 0 auto 54px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(34,81,95,.08);
}
.p-outline-table th,
.p-outline-table td {
  border-bottom: 2px solid var(--c-sky-light);
  padding: 18px 26px;
  font-size: 15px;
  text-align: left;
}
.p-outline-table tr:last-child th,
.p-outline-table tr:last-child td { border-bottom: none; }
.p-outline-table th {
  width: 200px;
  background: var(--c-sky-light);
  text-align: center;
  letter-spacing: .16em;
  color: var(--c-heading);
}

/* ===== Service ===== */
.p-service { padding: 100px 20px; }
.p-service__lead { font-size: 16px; line-height: 2.2; margin-bottom: 56px; }
.p-service__list {
  text-align: left;
  max-width: 960px;
  margin: 0 auto 56px;
}
.p-service__item {
  background: #fff;
  border-radius: 24px;
  padding: 44px 6% 40px;
  margin-bottom: 28px;
  box-shadow: 0 6px 22px rgba(34,81,95,.09);
  position: relative;
}
.p-service__num {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: var(--c-sky);
  border-radius: 999px;
  padding: 8px 16px;
  margin-bottom: 14px;
}
.p-service__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--c-heading);
  letter-spacing: .08em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.p-service__text { font-size: 15px; line-height: 2.1; margin-bottom: 12px; }
.p-service__text:last-child { margin-bottom: 0; }

/* ===== 経営理念 ===== */
.p-company__lead { font-size: 16px; line-height: 2.2; margin-bottom: 48px; }
.p-philosophy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 860px;
  margin: 0 auto 100px;
}
.p-philosophy__card {
  background: #fff;
  border: 3px solid var(--c-sky-light);
  border-radius: 24px;
  padding: 42px 28px;
  box-shadow: 0 6px 18px rgba(34,81,95,.07);
}
.p-philosophy__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-sky-deep);
  letter-spacing: .12em;
  margin-bottom: 14px;
}
.p-philosophy__text { font-size: 14px; line-height: 2; }
.p-philosophy--three { grid-template-columns: repeat(3, 1fr); max-width: 1060px; margin-bottom: 0; }

/* ===== ごあいさつ ===== */
.p-greeting__sign {
  margin-top: 38px;
  text-align: right;
  font-size: 15px;
  font-weight: 700;
  line-height: 2;
  color: var(--c-heading);
}

/* ===== 沿革 ===== */
.p-history-table {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(34,81,95,.08);
}
.p-history-table th,
.p-history-table td {
  border-bottom: 2px dashed var(--c-sky-light);
  padding: 20px 24px;
  font-size: 15px;
  text-align: left;
  vertical-align: top;
}
.p-history-table tr:last-child th,
.p-history-table tr:last-child td { border-bottom: none; }
.p-history-table th { width: 170px; white-space: nowrap; color: var(--c-sky-deep); font-weight: 700; }

/* ===== NEWS ===== */
.p-news { padding: 100px 20px; }
.p-news__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
  text-align: left;
}
.p-news__item {
  background: #fff;
  border-radius: 20px;
  padding: 22px 22px 26px;
  box-shadow: 0 6px 18px rgba(34,81,95,.09);
  transition: transform .25s;
}
.p-news__item:hover { transform: translateY(-6px); }
.p-news__date { text-align: center; margin-bottom: 14px; height: 84px; }
.p-news__day {
  display: block;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-sky-deep);
}
.p-news__my {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--c-pink);
  white-space: pre-line;
}
.p-news__thumb {
  aspect-ratio: 4 / 3;
  background: var(--c-sky-light);
  border-radius: 14px;
  margin-bottom: 16px;
}
.p-news__item .p-news__thumb.is-empty,
.p-news__item.is-empty .p-news__thumb {
  background:
    radial-gradient(circle at 50% 46%, #fff 0 18px, transparent 19px),
    radial-gradient(circle at 38% 52%, #fff 0 14px, transparent 15px),
    radial-gradient(circle at 62% 52%, #fff 0 14px, transparent 15px),
    var(--c-sky-light);
}
.p-news__title { font-size: 15px; font-weight: 700; line-height: 1.9; min-height: 3.8em; color: var(--c-heading); }
.p-news__cat { font-size: 12px; color: var(--c-pink); letter-spacing: .1em; margin-top: 10px; font-weight: 700; }

/* ===== YouTube ===== */
.p-youtube {
  background: linear-gradient(135deg, #ffd9ea 0%, #ffeccd 30%, #fdffd9 55%, #d9f4ff 80%, #e9ddff 100%);
  border-radius: 40px 40px 0 0;
  padding: 100px 20px 110px;
  text-align: center;
}
.p-youtube__headline {
  position: relative;
  display: table;
  margin: 0 auto 56px;
  color: var(--c-heading);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .14em;
  padding: 0 70px;
}
.p-youtube__headline::before,
.p-youtube__headline::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 48px;
  border-top: 3px dashed var(--c-sky);
}
.p-youtube__headline::before { left: 0; }
.p-youtube__headline::after { right: 0; }
.p-youtube__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 1160px;
  margin: 0 auto;
}
.p-youtube__frame {
  aspect-ratio: 16 / 9;
  background: rgba(255,255,255,.6);
  border: 2px dashed var(--c-sky);
  border-radius: 18px;
}

/* ===== 施設一覧 ===== */
.p-facility { padding: 110px 20px; background: #fff; }
.p-facility__unit { max-width: 1160px; margin: 0 auto 80px; }
.p-facility__photo {
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 7;
  background: var(--c-sky-light);
  border-radius: 24px 24px 0 0;
}
.p-facility__photo.is-empty {
  background:
    radial-gradient(circle at 50% 44%, #fff 0 26px, transparent 27px),
    radial-gradient(circle at 42% 52%, #fff 0 20px, transparent 21px),
    radial-gradient(circle at 58% 52%, #fff 0 20px, transparent 21px),
    var(--c-sky-light);
}
.p-facility__bar {
  max-width: 960px;
  margin: 0 auto;
  background: var(--c-sky);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 14px 24px;
  text-align: left;
  border-radius: 0 0 24px 24px;
}
.p-facility__thumbs {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--c-sky-deep);
  padding: 12px 60px 12px 12px;
  border-radius: 0 0 24px 24px;
}
.p-facility__thumb {
  width: 100px;
  height: 56px;
  background: rgba(255,255,255,.3);
  border-radius: 10px;
  flex: none;
}
.p-facility__arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--c-sky-deep);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.p-facility > .c-btn { margin-top: 10px; }
.p-facility__detail {
  max-width: 960px;
  margin: 30px auto 0;
  text-align: left;
}
.p-facility__desc { font-size: 15px; line-height: 2.1; margin-bottom: 22px; }
.p-facility__table {
  width: 100%;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(34,81,95,.08);
}
.p-facility__table th,
.p-facility__table td {
  border-bottom: 2px solid var(--c-sky-light);
  padding: 13px 18px;
  font-size: 14px;
  text-align: left;
}
.p-facility__table tr:last-child th,
.p-facility__table tr:last-child td { border-bottom: none; }
.p-facility__table th {
  width: 170px;
  background: var(--c-sky-light);
  text-align: center;
  letter-spacing: .1em;
  color: var(--c-heading);
  white-space: nowrap;
}
.p-facility__policy {
  margin-top: 26px;
  background: var(--c-mint);
  padding: 32px 5%;
  border-radius: 20px;
}
.p-facility__policy-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-teal);
  letter-spacing: .1em;
  margin: 24px 0 8px;
}
.p-facility__policy-title:first-child { margin-top: 0; }
.p-facility__policy p { font-size: 14px; line-height: 2.1; margin-bottom: 8px; }

/* ===== Blog category ===== */
.p-blog-cat {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  margin-bottom: 56px;
}
.p-blog-cat li {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 8px 20px;
  border: 2px solid var(--c-sky);
  border-radius: 999px;
  background: #fff;
  color: var(--c-sky-deep);
}
.p-blog-cat li.is-active { background: var(--c-sky); color: #fff; }

/* ===== Form ===== */
.p-form {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
  background: #fff;
  padding: 50px 6% 56px;
  border-radius: 28px;
  box-shadow: 0 6px 24px rgba(34,81,95,.1);
}
.p-form__row {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 2px dashed var(--c-sky-light);
  padding: 18px 0;
}
.p-form__row dt {
  width: 230px;
  flex: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-heading);
}
.p-form__req {
  display: inline-block;
  margin-left: 10px;
  background: var(--c-pink);
  color: #fff;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 999px;
  letter-spacing: .1em;
}
.p-form__row dd { flex: 1; }
.p-form input[type="text"],
.p-form input[type="tel"],
.p-form input[type="email"],
.p-form textarea {
  width: 100%;
  border: 2px solid var(--c-sky-light);
  background: #f7fcfe;
  padding: 10px 14px;
  border-radius: 12px;
  font-family: var(--font-maru);
  font-size: 15px;
}
.p-form input:focus, .p-form textarea:focus { outline: 2px solid var(--c-sky); }
.p-form__zip input { width: 90px !important; }
.p-form textarea { resize: vertical; }
.p-form .c-btn { margin-top: 40px; border: none; display: flex; }

/* ===== お問い合わせ ===== */
.p-contact { padding: 100px 20px; }
.p-contact__lead { font-size: 16px; line-height: 2.3; margin-bottom: 48px; }
.p-contact__tel-box {
  max-width: 620px;
  margin: 0 auto 48px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 6px 24px rgba(34,81,95,.1);
  padding: 42px 30px;
}
.p-contact__tel-label {
  display: table;
  margin: 0 auto 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #fff;
  background: var(--c-teal);
  border-radius: 999px;
  padding: 4px 22px;
}
.p-contact__tel { font-size: 42px; font-weight: 700; letter-spacing: .04em; color: var(--c-sky-deep); line-height: 1.3; }
.p-contact__hours { font-size: 13px; color: var(--c-text); margin-top: 8px; }

/* ===== ACCESS ===== */
.p-access { background: var(--c-mint); border-radius: 40px 40px 0 0; padding: 110px 20px 120px; }
.p-access__inner { max-width: 1160px; margin: 0 auto; text-align: center; }
.p-access__headline {
  position: relative;
  display: table;
  margin: 0 auto 44px;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--c-teal);
  padding: 0 70px;
}
.p-access__headline::before,
.p-access__headline::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 48px;
  border-top: 3px dashed var(--c-teal);
}
.p-access__headline::before { left: 0; }
.p-access__headline::after { right: 0; }
.p-access__office { font-size: 17px; font-weight: 700; color: var(--c-heading); margin: 40px 0 10px; }
.p-access__line { font-size: 15px; margin-bottom: 8px; }

/* ===== Footer ===== */
.p-footer-hero {
  background: linear-gradient(180deg, var(--c-sky) 0%, var(--c-sky-deep) 100%);
  color: #fff;
  text-align: center;
  padding: 110px 20px;
  position: relative;
  overflow: hidden;
}
.p-footer-hero__brand {
  display: table;
  margin: 0 auto 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .26em;
  color: var(--c-sky-deep);
  background: #fff;
  border-radius: 999px;
  padding: 5px 24px;
}
.p-footer-hero__copy {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .12em;
  position: relative;
  z-index: 2;
}
.p-footer-hero__addr {
  margin-top: 30px;
  font-size: 13px;
  line-height: 2;
  color: #eafaff;
  letter-spacing: .08em;
}
.p-footer-nav { background: #fff; padding: 26px 20px; }
.p-footer-nav__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.p-footer-nav__list li {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 0 16px;
  border-right: 2px solid var(--c-sky-light);
}
.p-footer-nav__list li:last-child { border-right: none; }
.p-footer-nav__list a:hover { color: var(--c-sky-deep); }
.p-copyright {
  background: var(--c-sky-deep);
  color: #fff;
  text-align: center;
  font-size: 12px;
  letter-spacing: .1em;
  padding: 16px 10px;
}

/* ===== Page top ===== */
.p-pagetop {
  position: fixed;
  right: 30px;
  bottom: 150px;
  width: 52px; height: 52px;
  background: #fff;
  color: var(--c-sky-deep);
  border: 2px solid var(--c-sky);
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s;
  z-index: 90;
  box-shadow: 0 4px 12px rgba(34,81,95,.16);
}
.p-pagetop.is-visible { opacity: 1; visibility: visible; }

/* ===== Responsive ===== */
@media (max-width: 1180px) {
  .p-logo__text { font-size: 15px; }
  .p-global-nav__item > a { padding: 0 10px; font-size: 13px; }
  .p-header__cta { padding: 0 16px; font-size: 12px; }
}
@media (max-width: 900px) {
  .l-header { top: 10px; left: 10px; right: 10px; }
  .p-header__inner { height: 60px; padding: 0 8px 0 18px; }
  .p-global-nav {
    position: fixed;
    top: 80px; left: 10px; right: 10px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 28px rgba(34,81,95,.2);
    padding: 12px;
    display: none;
    max-height: 70vh;
    overflow-y: auto;
  }
  .l-header.is-open .p-global-nav { display: block; }
  .p-global-nav__list { flex-direction: column; height: auto; align-items: stretch; }
  .p-global-nav__item > a { height: 52px; border-radius: 14px; }
  .p-global-nav__item > a:hover { background: var(--c-sky-light); }
  .p-global-nav__sub { position: static; visibility: visible; opacity: 1; box-shadow: none; padding: 0 0 6px 16px; }
  .p-header__cta { display: none; }
  .p-header__hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    background: var(--c-sky);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 0 12px;
    flex: none;
  }
  .p-header__hamburger span { display: block; height: 2px; background: #fff; border-radius: 2px; }
  .p-recruit-fab { width: 92px; height: 92px; right: 12px; bottom: 16px; }
  .p-recruit-fab__main { font-size: 13px; }
  .p-pagetop { right: 20px; bottom: 130px; }
  .p-hero { padding: 120px 20px 70px; gap: 36px; }
  .p-hero__mark { width: 170px; height: 170px; }
  .p-mainvisual { padding: 60px 16px 100px; }
  .p-mainvisual__catch { font-size: 27px; }
  .p-mainvisual__sub { font-size: 12px; }
  .p-doodle--1 { width: 130px; top: 6px; left: -4%; }
  .p-doodle--2 { width: 96px; bottom: 24px; left: 4%; }
  .p-doodle--3 { width: 150px; top: 10px; right: -5%; }
  .p-doodle--4 { width: 92px; bottom: 16px; right: 4%; }
  .p-doodle--5 { display: none; }
  .p-doodle--6 { width: 70px; top: 8%; right: 34%; }
  .p-cb, .p-cb--gray, .p-news, .p-facility, .p-contact, .p-access, .p-service { padding: 64px 16px; }
  .p-cb__card { padding: 40px 6%; border-radius: 22px; }
  .p-cb__card-title { font-size: 22px; }
  .p-section-headline { font-size: 21px; padding: 0 54px; }
  .p-section-headline::before, .p-section-headline::after { width: 36px; }
  .p-section-headline--lg { font-size: 24px; }
  .p-page-title { padding: 120px 16px 60px; }
  .p-page-title__jp { font-size: 25px; }
  .p-news__list { grid-template-columns: 1fr 1fr; gap: 18px; }
  .p-youtube { padding: 64px 16px; border-radius: 26px 26px 0 0; }
  .p-youtube__headline { font-size: 21px; padding: 0 54px; }
  .p-youtube__list { grid-template-columns: 1fr; }
  .p-outline-table th { width: 110px; padding: 12px; font-size: 13px; }
  .p-outline-table td { padding: 12px; font-size: 13px; }
  .p-history-table th { width: 105px; padding: 13px; font-size: 13px; }
  .p-history-table td { padding: 13px; font-size: 13px; }
  .p-facility__table th { width: 96px; padding: 9px; font-size: 12px; white-space: normal; }
  .p-facility__table td { padding: 9px; font-size: 12px; }
  .p-philosophy { grid-template-columns: 1fr; margin-bottom: 60px; }
  .p-philosophy--three { grid-template-columns: 1fr; margin-bottom: 0; }
  .p-service__title { font-size: 18px; }
  .p-contact__tel { font-size: 28px; }
  .p-access { border-radius: 26px 26px 0 0; }
  .p-access__headline { font-size: 24px; padding: 0 54px; }
  .p-footer-hero { padding: 70px 20px; }
  .p-footer-hero__copy { font-size: 17px; }
  .p-form__row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .p-form__row dt { width: auto; }
  .p-form__row dd { width: 100%; }
  .c-btn { min-width: 230px; min-height: 52px; font-size: 14px; }
  .c-cloud--1 { transform: scale(.6); left: -4%; }
  .c-cloud--2 { transform: scale(.6); right: -4%; }
  .c-cloud--3 { display: none; }
}

/* ===== Instagram embeds ===== */
.p-insta__lead {
  font-size: 16px;
  font-weight: 700;
  margin: -30px 0 44px;
}
.p-youtube.p-insta .p-insta__lead { color: inherit; }
.p-insta__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  gap: 30px;
  max-width: 1160px;
  margin: 0 auto 50px;
}
.p-insta__list--single { grid-template-columns: minmax(0, 460px); }
.p-insta__item iframe {
  width: 100%;
  height: 560px;
  border: none;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(0,0,0,.12);
}
.p-insta__name {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
}
@media (max-width: 900px) {
  .p-insta__list, .p-insta__list--single { grid-template-columns: 1fr; }
  .p-insta__item iframe { height: 480px; }
  .p-insta__lead { margin: -16px 0 30px; font-size: 14px; }
}

/* Instagram: latest 3 posts */
.p-insta__list--posts { grid-template-columns: repeat(3, minmax(0, 380px)); }
.p-insta__list--posts .p-insta__item iframe { height: 620px; }
@media (max-width: 900px) {
  .p-insta__list--posts { grid-template-columns: 1fr; }
  .p-insta__list--posts .p-insta__item iframe { height: 560px; }
}

/* ===== Hero illustrated scene ===== */
.p-hero { padding-bottom: 150px; }
.p-hero__scene {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: 46%;
  z-index: 1;
  pointer-events: none;
}
.p-hero__mark, .p-hero .c-btn { position: relative; z-index: 2; }
@media (max-width: 900px) {
  .p-hero { padding-bottom: 110px; }
  .p-hero__scene { height: 36%; }
}

/* ===== Hero background photo ===== */
.p-hero { padding: 170px 20px 110px; }
.p-hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%;
  z-index: 0;
}
.p-hero__overlay { position: absolute; inset: 0; z-index: 1; }
.p-hero .c-cloud { z-index: 2; }
.p-hero__mark, .p-hero .c-btn { position: relative; z-index: 3; }
@media (max-width: 900px) { .p-hero { padding: 130px 20px 80px; } }

.p-hero__overlay {
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(204,67,144,.2) 85%, rgba(204,67,144,.4) 100%);
}

/* ===== Policy pages ===== */
.p-policy { text-align: left; max-width: 900px; margin: 0 auto; }
.p-policy__intro { font-size: 15px; line-height: 2.1; margin-bottom: 30px; }
.p-policy__list { counter-reset: none; }
.p-policy__item { margin-bottom: 22px; padding-bottom: 20px; border-bottom: 2px dashed var(--c-sky-light); }
.p-policy__item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.p-policy__item h3 { font-size: 17px; font-weight: 700; color: var(--c-heading); letter-spacing: .06em; margin-bottom: 8px; }
.p-policy__item p { font-size: 15px; line-height: 2; }
.p-policy__sign { margin-top: 34px; text-align: right; font-size: 15px; font-weight: 700; line-height: 2; color: var(--c-heading); }

/* ===== 施設カード4コマグリッド ===== */
.p-fgrid {
  list-style: none;
  max-width: 1160px;
  margin: 0 auto 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
/* 4列。枚数が4の倍数でないとき、余りは中央に寄る */
.p-fgrid__item { width: calc((100% - 24px) / 2); }
.p-fgrid__link {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  transition: transform .25s, box-shadow .25s;
}
.p-fgrid__link:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(0,0,0,.13); }
.p-fgrid__photo {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--c-sky-light);
  background-size: cover;
  background-position: center;
}
.p-fgrid__photo.is-empty {
  background:
    radial-gradient(circle at 50% 44%, #fff 0 20px, transparent 21px),
    radial-gradient(circle at 40% 53%, #fff 0 15px, transparent 16px),
    radial-gradient(circle at 60% 53%, #fff 0 15px, transparent 16px),
    var(--c-sky-light);
}
.p-fgrid__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 66px;
  background: var(--c-sky);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .04em;
  padding: 12px 14px 12px 16px;
  text-align: left;
  transition: background .25s;
}
.p-fgrid__link:hover .p-fgrid__bar { background: var(--c-sky-deep); }
.p-fgrid__arrow {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #fff;
  color: var(--c-sky-deep);
  font-size: 15px;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
}
@media (max-width: 900px) {
  .p-fgrid { gap: 18px; }
  .p-fgrid__item { width: calc((100% - 18px) / 2); }
}
@media (max-width: 560px) {
  .p-fgrid { gap: 16px; }
  .p-fgrid__item { width: 100%; }
  .p-fgrid__bar { min-height: 0; font-size: 15px; }
}

/* 固定ヘッダー分だけアンカー位置をずらす */
.p-facility__unit,
[id^="f-"] { scroll-margin-top: 110px; }

/* 施設写真(実写真: 全体を切らずに表示) */
.p-facility__pic {
  display: block;
  max-width: 960px;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  margin: 0 auto;
  border-radius: 24px 24px 0 0;
}

/* Googleフォーム埋め込み */
.p-gform { max-width: 760px; margin: 0 auto; }
.p-gform iframe { width: 100%; height: 1350px; border: 0; display: block; }
@media (max-width: 560px){ .p-gform iframe { height: 1500px; } }

/* 採用: トップの求人一覧 */
.p-recruit-list { list-style: none; max-width: 860px; margin: 0 auto 48px; display: flex; flex-direction: column; gap: 16px; }
.p-recruit-list__item {
  display: flex; align-items: center; gap: 18px;
  background: #fff; border: 2px solid var(--c-sky-light); border-radius: 18px;
  padding: 20px 24px; box-shadow: 0 4px 16px rgba(34,81,95,.06);
  transition: transform .2s, box-shadow .2s, border-color .2s; text-align: left;
}
a.p-recruit-list__item:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(34,81,95,.12); border-color: var(--c-sky); }
.p-recruit-list__tags { flex: none; display: flex; flex-direction: column; gap: 6px; }
.p-recruit-list__tags .p-pill { font-size: 12px; padding: 5px 14px; }
.p-recruit-list__body { flex: 1 1 auto; min-width: 0; }
.p-recruit-list__title { display: block; font-size: 18px; font-weight: 700; color: var(--c-heading); letter-spacing: .04em; }
.p-recruit-list__meta { display: block; font-size: 13px; line-height: 1.8; margin-top: 4px; }
.p-recruit-list__arrow { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--c-sky-light); color: var(--c-sky-deep); font-size: 17px; font-weight: 700; line-height: 30px; text-align: center; }
a.p-recruit-list__item:hover .p-recruit-list__arrow { background: var(--c-sky-deep); color: #fff; }
.p-recruit-list__item--empty { justify-content: center; color: var(--c-text); font-weight: 700; }
@media (max-width: 560px){
  .p-recruit-list__item { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; }
  .p-recruit-list__tags { flex-direction: row; flex-wrap: wrap; }
  .p-recruit-list__arrow { display: none; }
}

/* 採用: 求人カード（いぶき野より移植） */
.p-jobs { max-width: 980px; margin: 0 auto 54px; display: flex; flex-direction: column; gap: 40px; }
.p-job { background:#fff; border:2px solid var(--c-sky-light); border-radius:28px; padding:44px 5% 40px; box-shadow:0 6px 24px rgba(34,81,95,.08); text-align:center; }
.p-job__head { margin-bottom:18px; }
.p-job__title { font-size:26px; font-weight:700; letter-spacing:.08em; color:var(--c-heading); margin-bottom:14px; }
.p-job__tags { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; }
.p-job__tags .p-pill { font-size:13px; padding:6px 18px; }
.p-job__salary { display:inline-flex; align-items:baseline; gap:10px; background:var(--c-sky-light); color:var(--c-sky-deep); font-size:24px; font-weight:700; letter-spacing:.06em; border-radius:999px; padding:10px 30px; margin-bottom:28px; }
.p-job__salary-label { font-size:13px; color:#fff; background:var(--c-sky-deep); border-radius:999px; padding:3px 14px; letter-spacing:.1em; }
.p-job__table { margin-bottom:30px; text-align:left; }
.p-job__table td { line-height:2; }
@media (max-width:560px){
  .p-job { padding:34px 6% 30px; }
  .p-job__title { font-size:21px; }
  .p-job__salary { font-size:19px; padding:9px 20px; }
}

/* hero を大きく（背景画像を大きく見せる） */
.p-hero { min-height: 78vh; }
@media (max-width: 900px){ .p-hero { min-height: 60vh; } }

/* ===== メインビジュアルを新ヒーロー化（写真ヒーロー廃止に伴い） ===== */
.p-mainvisual {
  min-height: 88vh;
  padding-top: 170px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 900px){
  .p-mainvisual { min-height: 74vh; padding-top: 120px; }
}
/* 追加ドゥードル */
.p-doodle--7 { width: 130px; top: 30%; left: 5%; animation-delay: 1.5s; }
.p-doodle--8 { width: 120px; bottom: 14%; left: 40%; animation-delay: 2.1s; }
@media (max-width: 900px){ .p-doodle--7, .p-doodle--8 { display: none; } }
/* キラキラ装飾 */
.p-spark { position: absolute; z-index: 1; fill: #fff; opacity: .9; filter: drop-shadow(0 2px 6px rgba(0,0,0,.12)); animation: spark-tw 2.6s ease-in-out infinite; pointer-events: none; }
@keyframes spark-tw { 0%,100%{ transform: scale(1) rotate(0deg); opacity:.9 } 50%{ transform: scale(1.4) rotate(20deg); opacity:.35 } }
.p-spark--1 { width: 28px; top: 20%; left: 28%; animation-delay: 0s; }
.p-spark--2 { width: 20px; top: 27%; right: 26%; animation-delay: .5s; }
.p-spark--3 { width: 24px; bottom: 24%; left: 22%; animation-delay: 1s; }
.p-spark--4 { width: 18px; bottom: 30%; right: 28%; animation-delay: 1.5s; }
.p-spark--5 { width: 32px; top: 42%; left: 14%; animation-delay: .8s; }
.p-spark--6 { width: 22px; top: 46%; right: 15%; animation-delay: 1.3s; }
@media (max-width: 900px){ .p-spark--5, .p-spark--6 { display: none; } }

/* ===== ヒーロー: 文字を大きく＆読みやすく ===== */
.p-mainvisual { align-items: center; }
.p-mainvisual__body { max-width: 100%; }
.p-mainvisual__catch {
  font-size: 48px;
  line-height: 1.5;
  letter-spacing: .02em;
  text-shadow: 0 2px 6px rgba(0,0,0,.34), 0 6px 22px rgba(0,0,0,.26);
}
.p-mainvisual__sub { font-size: 16px; }
@media (min-width: 1100px){
  .p-mainvisual__catch { font-size: 54px; }
}
@media (max-width: 900px){
  .p-mainvisual__catch { font-size: 30px; }
  .p-mainvisual__sub { font-size: 12px; }
}
/* 装飾: 中央（文字）を避けて配置・重なり解消 */
@media (min-width: 901px){
  .p-doodle--1 { width: 250px; top: 3%;  left: 0%;  }
  .p-doodle--2 { width: 185px; bottom: 5%; left: 3%; }
  .p-doodle--3 { width: 290px; top: 5%;  right: 0%; }
  .p-doodle--4 { width: 185px; bottom: 4%; right: 3%; }
  .p-doodle--5 { width: 140px; top: 8%;  left: 26%; }
  .p-doodle--6 { width: 150px; top: 10%; right: 26%; }
}
.p-spark--7  { width: 18px; top: 13%; left: 43%; animation-delay: .3s; }
.p-spark--8  { width: 24px; bottom: 13%; left: 45%; animation-delay: 1.1s; }
.p-spark--9  { width: 16px; top: 30%; left: 15%; animation-delay: .7s; }
.p-spark--10 { width: 20px; bottom: 30%; right: 16%; animation-delay: 1.6s; }
@media (max-width: 900px){
  .p-spark--7, .p-spark--8, .p-spark--9, .p-spark--10 { display: none; }
}
