@charset "UTF-8";
/* =====================================================
   ケアセンターさいさい浦和美園 サイト共通スタイル
   style_hpr.css ―― ヘッダー・フッター・ボタン・変数など
   複数ページで共有するスタイルをここにまとめる。
   ページ固有のスタイルは各ページの ○○_hpr.css 側に置く。
===================================================== */

:root{
  /* --- ブランドカラー（指示書準拠 + 温かみのある拡張） --- */
  --hpr-color-main: #C25276;        /* メインピンク */
  --hpr-color-main-dark: #A63D60;
  --hpr-color-main-light: #E58BA8;  /* 明るいピンク */
  --hpr-color-warm: #F4A15B;        /* あたたかいアプリコット（アクセント） */
  --hpr-color-warm-soft: #FBD9A8;
  --hpr-color-accent: #5FA684;      /* 地域・安心・子育ての緑 */
  --hpr-color-accent-soft: #E4F1EA;

  --hpr-color-text: #5B3944;        /* 濃い文字 */
  --hpr-color-text-soft: #8A6a74;
  --hpr-color-base: #FFFFFF;
  --hpr-color-cream: #FFF9F5;       /* 温かいクリーム地 */
  --hpr-color-bg-soft: #FDEDF2;     /* 淡いピンク背景 */
  --hpr-color-bg-warm: #FFF3EA;     /* 淡いアプリコット背景 */
  --hpr-color-line: #F3D8E1;

  --hpr-color-cream2: #fff9f5;      /* 暖かいクリーム */
  --hpr-color-pink: #fdedf2;      /* 淡いピンク背景 */
  --hpr-color-green: #e1f1dd;      /* 薄いグリーン背景 */
  --hpr-color-kiiro: #fff8ec;      /* 薄い黄色背景 */


  /* グラデーション */
  --hpr-grad-main: linear-gradient(135deg, #E58BA8 0%, #C25276 100%);
  --hpr-grad-warm: linear-gradient(135deg, #F7B77E 0%, #EE7FA0 100%);
  --hpr-grad-soft: linear-gradient(180deg, #FFF9F5 0%, #FDEDF2 100%);

  --hpr-grad-warm2: linear-gradient(135deg, #f8a039 0%, #ec850c 100%);


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

  --hpr-radius-s: 12px;
  --hpr-radius-m: 20px;
  --hpr-radius-l: 32px;
  --hpr-radius-xl: 44px;

  --hpr-shadow-s: 0 4px 16px rgba(194, 82, 118, 0.08);
  --hpr-shadow-m: 0 14px 36px rgba(194, 82, 118, 0.14);
  --hpr-shadow-warm: 0 18px 40px rgba(244, 161, 91, 0.20);

  --hpr-space-section: clamp(56px, 8vw, 128px);
  --hpr-container-w: min(1180px, 92vw);

  --hpr-header-h: clamp(60px, 9vw, 84px);
}



/* 背景色の整理 */

/* 淡いピンク背景 */
.hpr-section--bg1{
  background: var(--hpr-color-pink);
}

/* 薄いグリーン背景 */
.hpr-section--bg2{
  background: var(--hpr-color-green);
}

/* 薄い黄色背景 */
.hpr-section--bg3{
  background: var(--hpr-color-kiiro);
}



/*  google  ----------------------------------------------*/
.grecaptcha-badge { visibility: hidden; }
/* -----------------------------------------------------------------------------  google --- */


/* ---------- リセット / ベース ---------- */
*, *::before, *::after{ box-sizing: border-box; }
/* html / body の両方に overflow-x: hidden と max-width: 100% を
   明示し、どこかの要素が画面幅をはみ出しても横スクロールが
   発生しないようにしている（.hpr-header は position: fixed
   のためこの設定の影響は受けない）。 */
html{
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}
html.hpr-noscroll{ overflow: hidden; }

body.hpr-body{
  margin: 0;
  font-family: var(--hpr-font-body);
  color: var(--hpr-color-text);
  background: var(--hpr-color-cream);
  line-height: 1.9;
  font-size: clamp(15px, 1.4vw, 17px);
  -webkit-text-size-adjust: 100%;
  padding-top: var(--hpr-header-h);
  padding-bottom: env(safe-area-inset-bottom, 0);
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

.hpr-body img{ max-width: 100%; display: block; height: auto; }
.hpr-body a{ color: inherit; text-decoration: none; }
.hpr-body ul{ margin: 0; padding: 0; list-style: none; }
.hpr-body button{ font-family: inherit; }

.hpr-container{
  width: var(--hpr-container-w);
  max-width: 1180px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.hpr-section{
  padding-block: var(--hpr-space-section);
  position: relative;
}
.hpr-section--soft{
  background: var(--hpr-grad-soft);
}
.hpr-section--warm{
  background: linear-gradient(180deg, #FFF9F5 0%, #FFF3EA 100%);
}

/* セクション見出し（各ページ共通コンポーネント） */
.hpr-section__head{
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 60px);
}
.hpr-section__icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(58px, 9vw, 72px);
  height: clamp(58px, 9vw, 72px);
  border-radius: 24px;
  background: var(--hpr-grad-main);
  color: #fff;
  box-shadow: var(--hpr-shadow-m);
  margin-bottom: 1rem;
  transform: rotate(-4deg);
}

.hpr-section__icon svg{ width: 54%; height: 54%; }
.hpr-section__icon--warm{ background: var(--hpr-grad-warm); box-shadow: var(--hpr-shadow-warm); }
.hpr-section__icon--accent{ background: linear-gradient(135deg, #7CC0A0 0%, #5FA684 100%); box-shadow: 0 14px 30px rgba(95,166,132,.24); }


.hpr-section__icon img{
width: 60%;
height: auto;
}


.hpr-section__eyebrow{
  display: inline-flex;
  align-items: center;
  gap: .5em;
  color: var(--hpr-color-main);
  font-weight: 800;
  letter-spacing: .12em;
  font-size: clamp(.72rem, 1vw, .85rem);
  margin-bottom: .7em;
}
.hpr-section__eyebrow::before,
.hpr-section__eyebrow::after{
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--hpr-color-main-light);
  opacity: .7;
}

.hpr-section__eyebrow2{
  display: inline-flex;
  align-items: center;
  gap: .5em;
  color: var(--hpr-color-main);
  font-weight: 800;
  letter-spacing: .12em;
  font-size: clamp(.72rem, 1vw, 1rem);
  margin-bottom: .7em;
}

.hpr-section__eyebrow2::before,
.hpr-section__eyebrow2::after{
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--hpr-color-main-light);
  opacity: .7;
}

.hpr-section__title{
  font-size: clamp(1.55rem, 3.6vw, 2.4rem);
  font-weight: 800;
  color: var(--hpr-color-text);
  margin: 0 0 .5em;
  line-height: 1.5;
  letter-spacing: .01em;
}
.hpr-section__title .hpr-accent{ color: var(--hpr-color-main); }
.hpr-section__lead{
  margin: 0 auto;
  max-width: 54em;
  color: var(--hpr-color-text);
  opacity: .92;
}

/* 装飾：ふわっとした背景ブロブ（各ページ共通で使用可） */
.hpr-blob{
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  opacity: .55;
  z-index: 0;
  pointer-events: none;
}
.hpr-blob--pink{ background: radial-gradient(circle at 30% 30%, #FBD3E0, transparent 70%); }
.hpr-blob--warm{ background: radial-gradient(circle at 30% 30%, #FCE1C4, transparent 70%); }
.hpr-blob--green{ background: radial-gradient(circle at 30% 30%, #D5EDE0, transparent 70%); }

/* ---------- スキップリンク ---------- */
.hpr-skip{
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--hpr-color-main);
  color: #fff;
  padding: .6em 1em;
  z-index: 200;
  border-radius: 0 0 var(--hpr-radius-s) 0;
}
.hpr-skip:focus{ left: 0; }

/* ---------- ヘッダー ---------- */
/* position: sticky はモバイルブラウザのアドレスバー表示/非表示の
   アニメーションと干渉し、下スクロール中に消えて上スクロールで
   戻るという不具合が起きることがあるため、position: fixed で
   常にビューポート最上部に固定表示する。
   fixed にすると本文がヘッダーの下に潜り込むため、
   body 側に高さ分の padding-top を確保している。 */
.hpr-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 100;
  border-bottom: 1px solid rgba(243, 216, 225, .8);
  transform: none;
  transition: none;
  animation: none;
}
.hpr-header::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255,253,251,.88);
  backdrop-filter: saturate(160%) blur(10px);
}
.hpr-header__inner{
  width: var(--hpr-container-w);
  max-width: 1280px;
  margin-inline: auto;
  height: var(--hpr-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.hpr-header__brand{
  display: flex;
  align-items: center;
  gap: .7em;
  line-height: 1.25;
}


.hpr-header__logo_ex{
flex: none;
width: 352px;
height: 46px;
display: inline-block;
margin: 0px;
padding: 0px;
box-sizing: border-box;
}

.hpr-header__logo_ex img {
width: 352px;
height: 46px;
}

@media (max-width: 900px) {

.hpr-header__logo_ex{
flex: none;
width: 260px;
height: 34px;
display: inline-block;
margin: 0px;
padding: 0px;
box-sizing: border-box;
}

.hpr-header__logo_ex img {
width: 260px;
height: 34px;
}

}





.hpr-header__logo{
  flex: none;
  width: clamp(38px, 6vw, 46px);
  height: clamp(38px, 6vw, 46px);
  border-radius: 14px;
  background: var(--hpr-grad-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--hpr-shadow-s);
}



.hpr-header__logo svg{ width: 58%; height: 58%; }
.hpr-header__brand-text{ display: flex; flex-direction: column; }
.hpr-header__brand-main{
  font-weight: 800;
  color: var(--hpr-color-main);
  font-size: clamp(.95rem, 1.6vw, 1.15rem);
}
.hpr-header__brand-sub{
  font-size: clamp(.6rem, 1vw, .72rem);
  color: var(--hpr-color-text);
  opacity: .72;
  letter-spacing: .02em;
}

.hpr-header__tel{ display: none; }

.hpr-nav-toggle{
  appearance: none;
  border: none;
  background: transparent;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  z-index: 110;
}
/* 3本の線はすべて left:50% + translateX(-50%) で水平位置を明示し、
   中央の線だけ横にずれる不具合（絶対配置された要素の static position を
   justify-content で決めようとする挙動がモバイルSafari等で不安定なこと
   が原因）を回避する。 */
.hpr-nav-toggle__bar,
.hpr-nav-toggle__bar::before,
.hpr-nav-toggle__bar::after{
  content: "";
  position: absolute;
  left: 50%;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--hpr-color-main);
  transition: transform .25s ease, opacity .25s ease, top .25s ease;
}
.hpr-nav-toggle__bar{ top: 50%; transform: translate(-50%, -50%); }
.hpr-nav-toggle__bar::before{ top: -8px; transform: translateX(-50%); }
.hpr-nav-toggle__bar::after{ top: 8px; transform: translateX(-50%); }
.hpr-nav-toggle[aria-expanded="true"] .hpr-nav-toggle__bar{ background: transparent; }
.hpr-nav-toggle[aria-expanded="true"] .hpr-nav-toggle__bar::before{ top: 0; transform: translateX(-50%) rotate(45deg); }
.hpr-nav-toggle[aria-expanded="true"] .hpr-nav-toggle__bar::after{ top: 0; transform: translateX(-50%) rotate(-45deg); }

/* モバイルメニューは transform: translateX(100%) で画面外へ
   スライドさせていたが、position: fixed + inset で作られた
   「画面幅ぴったりの箱」を横方向に丸ごと移動させる方式のため、
   閉じている間もその箱がビューポート幅の2倍の位置まで存在し続け、
   スマートフォンでその分の横スクロールが発生する不具合の原因になっていた。
   横方向には一切移動させず、opacity・visibility・pointer-events
   だけで開閉する方式に変更し、箱を常にビューポート幅に収める。 */
.hpr-gnav{
  position: fixed;
  inset: var(--hpr-header-h) 0 0 0;
  background: var(--hpr-grad-soft);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 2rem 6vw 3rem;
  z-index: 105;
}
.hpr-gnav.is-open{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity .25s ease, transform .25s ease;
}
.hpr-gnav__list{
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.hpr-gnav__list a{
  display: block;
  padding: .7em .2em;
  border-bottom: 1px solid var(--hpr-color-line);
  font-weight: 700;
}
.hpr-gnav__cta{
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

/* ---------- ボタン共通 ---------- */
.hpr-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 1em 2.1em;
  border-radius: 999px;
  font-weight: 800;
  font-size: clamp(.9rem, 1.2vw, 1rem);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, filter .2s ease;
  white-space: nowrap;
  letter-spacing: .02em;
}
.hpr-btn svg{ width: 1.2em; height: 1.2em; flex: none; }
.hpr-btn--primary{
  background: var(--hpr-grad-main);
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(194,82,118,.28);
}
.hpr-btn--outline{
  background: #fff;
  color: var(--hpr-color-main);
  border-color: var(--hpr-color-main-light);
}

.hpr-btn--outline2{
  background: #fff;
  color: var(--hpr-color-main);
  border-color: var(--hpr-color-main-light);
  box-shadow: var(--hpr-shadow-s);  
}


.hpr-btn--accent{
  background: linear-gradient(135deg, #7CC0A0, #5FA684);
  color: #fff;
  box-shadow: 0 10px 22px rgba(95,166,132,.26);
}

.hpr-btn--warm{
  background: var(--hpr-grad-warm);
  color: #fff;
  box-shadow: var(--hpr-shadow-warm);
}

.hpr-btn--ghost{
  background: rgba(255,255,255,.95);
  color: var(--hpr-color-main);
  box-shadow: var(--hpr-shadow-s);
}

.hpr-btn--ghost2{
  background: rgba(255,255,255,1);
  color: var(--hpr-color-main);
  border-color: var(--hpr-color-main-light);
  box-shadow: var(--hpr-shadow-s);
}

.hpr-btn--ghost3{
  background: rgba(255,255,255,1);
  color: var(--hpr-color-main) !important;
  border-color: var(--hpr-color-main-light);
  box-shadow: var(--hpr-shadow-s);
}

.hpr-btn--ghost4{
  background: var(--hpr-grad-warm2);
  color: #fff !important;
  box-shadow: var(--hpr-shadow-warm);
}


.hpr-btn--none{
display: none !important;
}

@media (max-width: 900px) {

.hpr-btn--none{
display: inline-flex !important;
}

}


.hpr-btn--block{ width: 100%; }

@media (hover: hover){
  .hpr-btn--primary:hover{ transform: translateY(-3px); box-shadow: 0 16px 30px rgba(194,82,118,.36); filter: brightness(1.04); }
  .hpr-btn--outline:hover{ background: var(--hpr-color-main); color: #fff; border-color: var(--hpr-color-main); transform: translateY(-3px); }

   .hpr-btn--outline2:hover{ background: #fff; transform: translateY(-3px); box-shadow: var(--hpr-shadow-m); }

  .hpr-btn--accent:hover{ filter: brightness(1.06); transform: translateY(-3px); }
  .hpr-btn--warm:hover{ filter: brightness(1.05); transform: translateY(-3px); }

  .hpr-btn--ghost:hover{ background: #fff; transform: translateY(-3px); box-shadow: var(--hpr-shadow-m); }
  .hpr-btn--ghost2:hover{ background: #fff; transform: translateY(-3px); box-shadow: var(--hpr-shadow-m); }
  .hpr-btn--ghost3:hover{ background: #fff; transform: translateY(-3px); box-shadow: var(--hpr-shadow-m); }
  .hpr-btn--ghost4:hover{ filter: brightness(1.05); transform: translateY(-3px); }

  .hpr-gnav__list a:hover{ color: var(--hpr-color-main); }
}

/* ---------- フッター ---------- */
.hpr-footer{
  background: linear-gradient(135deg, #6B4550, #5B3944);
  color: #fff;
  padding-block: clamp(2.2rem, 5vw, 3.2rem);
  text-align: center;
  padding-bottom: calc(clamp(2.2rem, 5vw, 3.2rem) + 64px);
}
.hpr-footer__brand{ font-weight: 800; margin-bottom: .5em; font-size: 1.05rem; }
.hpr-footer__small{ font-size: .82rem; opacity: .72; margin: .2em 0; }
.hpr-footer__small em{
margin: 0px;
padding: 0px 0px 0px 1em;
box-sizing: border-box;
font-style: normal;
display: inline;
}

.hpr-footer__small br{
display: none;
}


@media (max-width: 900px) {

.hpr-footer__small em{
margin: 0px;
padding: 0px 0px 0px 0px;
box-sizing: border-box;
font-style: normal;
display: inline;
}

.hpr-footer__small br{
display: inline;
}

}



/* ---------- モバイル固定CTAバー ---------- */
.hpr-fixed-cta{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 -6px 20px rgba(194,82,118,.20);
}
.hpr-fixed-cta a{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 1.05em 0;
  font-weight: 800;
  font-size: .95rem;
  color: #fff;
}
.hpr-fixed-cta a svg{ width: 1.15em; height: 1.15em; }
.hpr-fixed-cta a:first-child{ background: linear-gradient(135deg,#7CC0A0,#5FA684); }
.hpr-fixed-cta a:last-child{ background: var(--hpr-grad-main); }

/* ---------- スクロール・リビール（モダンな演出） ---------- */
.hpr-reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.hpr-reveal.is-visible{
  opacity: 1;
  transform: none;
}

/* =====================================================
   デスクトップ (1024px〜) : PCナビ表示（共通ヘッダー・フッター）
===================================================== */
@media screen and (min-width: 1024px){
  .hpr-nav-toggle{ display: none; }
  .hpr-header__tel{
    display: inline-flex;
    align-items: center;
    gap: .45em;
    font-weight: 800;
    color: var(--hpr-color-main);
    font-size: 1.08rem;
    padding: .5em 1.1em;
    border-radius: 999px;
    background: var(--hpr-color-bg-soft);
  }
  .hpr-header__tel svg{ width: 1.1em; height: 1.1em; }
  .hpr-gnav{
    position: static;
    inset: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    background: none;
    padding: 0;
    overflow: visible;
    z-index: auto;
  }
  .hpr-gnav__list{
    flex-direction: row;
    gap: clamp(1rem, 2vw, 2.2rem);
    align-items: center;
  }
  .hpr-gnav__list a{
    border-bottom: none;
    padding: .3em 0;
    font-size: .95rem;
    position: relative;
  }
  .hpr-gnav__list a::after{
    content: "";
    position: absolute;
    left: 0; bottom: -2px;
    width: 0; height: 2px;
    border-radius: 2px;
    background: var(--hpr-color-main);
    transition: width .25s ease;
  }
  .hpr-gnav__list a:hover::after{ width: 100%; }
  .hpr-gnav__cta{ display: none; }
  .hpr-header__inner{ gap: 2rem; }
  .hpr-fixed-cta{ display: none; }
  .hpr-footer{ padding-bottom: clamp(2.2rem, 5vw, 3.2rem); }
}

@media screen and (min-width: 1600px){
  body.hpr-body{ font-size: 17px; }
}

/* ---------- ユーティリティ ---------- */
.hpr-only-sp{ display: inline; }
@media screen and (min-width: 768px){
  .hpr-only-sp{ display: none; }
}

/* =====================================================
   スマートフォン（1023px以下）では演出系の動きを完全にオフにする。
   OS側の「視差効果を減らす」設定に関係なく、フェードイン演出・
   メニューの開閉トランジション・ハンバーガーアイコンの変形アニメ
   などをすべて即時切り替えにし、余計な動きによる見た目の乱れを防ぐ。
===================================================== */
@media screen and (max-width: 1023.98px){
  .hpr-header{
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .hpr-reveal{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }
  .hpr-gnav,
  .hpr-gnav.is-open{
    transition: none !important;
  }
  .hpr-nav-toggle__bar,
  .hpr-nav-toggle__bar::before,
  .hpr-nav-toggle__bar::after{
    transition: none !important;
  }
  .hpr-btn,
  .hpr-service-card,
  .hpr-value-card,
  .hpr-recruit-banner{
    transition: none !important;
  }
}

/* ---------- モーション配慮 ---------- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .hpr-gnav,
  .hpr-faq-item__a,
  .hpr-btn{ transition: none; }
  .hpr-reveal{ opacity: 1; transform: none; transition: none; }
}
