/* =========================================================
   まめ訪問看護ステーション LP
   参考構造: yuzuki-kango.com（やさしい・あかるい・イラスト調）
   配色: まめピンク × 若葉グリーン × ひよこイエロー × そらブルー
   ========================================================= */
:root {
  --pink: #E9668A;
  --pink-d: #D94A72;
  --pink-l: #FDE9EF;
  --green: #6DBE45;
  --green-d: #5FAE3B;
  --green-l: #EEF7E4;
  --mint: #F3FAEC;
  --yellow: #F9D85B;
  --yellow-d: #E8BF2A;
  --cream: #FFF8E1;
  --blue: #4EA6DC;
  --blue-l: #E3F2FB;
  --sky: #CDEBFB;
  --line: #06C755;
  --line-d: #05A847;
  --text: #3E3A39;
  --muted: #7A756F;
  --border: #E6E1D6;
  --white: #fff;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(62, 58, 57, .08);
  --shadow-s: 0 4px 14px rgba(62, 58, 57, .08);
  --font-round: "M PLUS Rounded 1c", "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-en: "Quicksand", "M PLUS Rounded 1c", sans-serif;
  --header-h: 82px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: .02em;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-round); font-weight: 800; line-height: 1.45; }
p { margin: 0; }
table { border-collapse: collapse; width: 100%; }
svg { display: block; }
.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--fill { fill: currentColor; stroke: none; }
.sp { display: none; }
.nw { white-space: nowrap; }
.container { width: min(1100px, 92%); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.9em; border-radius: 999px;
  font-family: var(--font-round); font-weight: 800; font-size: 1rem; line-height: 1.2;
  color: #fff; box-shadow: 0 6px 0 rgba(0,0,0,.12);
  transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 4px 0 rgba(0,0,0,.12); }
.btn:active { transform: translateY(5px); box-shadow: 0 1px 0 rgba(0,0,0,.12); }
.btn--green { background: var(--green); box-shadow: 0 6px 0 var(--green-d); }
.btn--green:hover { box-shadow: 0 4px 0 var(--green-d); background: #78C853; }
.btn--pink { background: var(--pink); box-shadow: 0 6px 0 var(--pink-d); }
.btn--pink:hover { box-shadow: 0 4px 0 var(--pink-d); background: #EE7A9A; }
.btn--line { background: var(--line); box-shadow: 0 6px 0 var(--line-d); }
.btn--line:hover { box-shadow: 0 4px 0 var(--line-d); background: #22D269; }
.btn--lg { padding: 1.05em 2.2em; font-size: 1.15rem; }

.tag { display: inline-block; white-space: nowrap; padding: .1em .8em; border-radius: 999px; font-family: var(--font-round); font-weight: 800; font-size: .8em; color: #fff; margin-right: .6em; }
.tag--pink { background: var(--pink); }
.tag--green { background: var(--green); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,.04);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(62,58,57,.08); }
.header__inner { width: min(1240px, 94%); margin-inline: auto; height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 54px; height: auto; flex: none; }
.logo__txt { height: 40px; width: auto; }

.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: 4px; }
.gnav a {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 14px; border-radius: 14px; transition: background .2s, color .2s;
  font-family: var(--font-round); font-weight: 700;
}
.gnav a:hover, .gnav a.is-current { background: var(--green-l); color: var(--green-d); }
.gnav__icon { width: 24px; height: 24px; }
.gnav__icon svg { width: 100%; height: 100%; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gnav__jp { font-size: .9rem; line-height: 1.2; }
.gnav__en { font-family: var(--font-en); font-size: .62rem; letter-spacing: .12em; color: var(--muted); line-height: 1; }
.header__cta { padding: .8em 1.6em; font-size: .95rem; }
.gnav__contact { display: none; }

.menu-btn { display: none; width: 48px; height: 48px; border: 0; background: var(--green); border-radius: 14px; cursor: pointer; position: relative; margin-left: auto; }
.menu-btn span { position: absolute; left: 13px; width: 22px; height: 2.5px; background: #fff; border-radius: 2px; transition: .3s; }
.menu-btn span:nth-child(1) { top: 15px; }
.menu-btn span:nth-child(2) { top: 23px; }
.menu-btn span:nth-child(3) { top: 31px; }
.is-menu-open .menu-btn span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.is-menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.is-menu-open .menu-btn span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

/* ---------- Hero（画像バナー: image/mame_homecare_hero_logo.png） ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); border: 0; white-space: nowrap; }
.hero { position: relative; background: #EAF7E3; padding: 0; }
.hero__pic { display: block; line-height: 0; }
.hero__img { width: 100%; height: auto; display: block; }

/* ---------- 導入帯（ヒーロー直下: バッジ／難病帯／NEWS） ---------- */
.intro-band {
  position: relative;
  background: linear-gradient(180deg, #F2F9EA 0%, #FAFDF6 100%);
  padding: 0 0 72px;
  overflow: hidden;
}
.intro-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(233,102,138,.10), transparent 32%),
    radial-gradient(circle at 88% 26%, rgba(78,166,220,.12), transparent 34%),
    radial-gradient(circle at 50% 100%, rgba(109,190,69,.14), transparent 45%);
}
.intro-band::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -60px; height: 90px;
  background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.intro-band > * { position: relative; z-index: 1; }


/* ---------- 3 Badges ---------- */
.badges { position: relative; z-index: 3; margin-top: 0; padding: 56px 0 20px; }
.badges__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 860px; margin-inline: auto; }
.badge {
  position: relative; aspect-ratio: 1; border-radius: 50%; color: #fff; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 18px; box-shadow: 0 14px 30px rgba(62,58,57,.14), inset 0 -8px 0 rgba(0,0,0,.08);
  font-family: var(--font-round);
}
.badge::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.55); }
.badge--pink { background: radial-gradient(circle at 30% 25%, #F18AA7, var(--pink) 70%); }
.badge--green { background: radial-gradient(circle at 30% 25%, #8ED26A, var(--green) 70%); }
.badge--blue { background: radial-gradient(circle at 30% 25%, #7BC1EA, var(--blue) 70%); }
.badge__ico { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.badge strong { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 900; line-height: 1.15; letter-spacing: .02em; text-shadow: 0 2px 0 rgba(0,0,0,.1); }
.badge span { font-size: .85rem; font-weight: 700; line-height: 1.4; }
.badges__ribbon {
  margin: 34px auto 0; max-width: 860px; text-align: center; position: relative;
  background: var(--yellow); color: var(--text); font-family: var(--font-round); font-weight: 800;
  font-size: clamp(1.05rem, 2.2vw, 1.45rem); padding: 14px 28px; border-radius: 14px; letter-spacing: .04em;
  box-shadow: 0 6px 0 var(--yellow-d);
}
.badges__ribbon span { color: var(--pink-d); font-size: 1.15em; }

/* ---------- News bar ---------- */
.news-bar { padding: 14px 0; }
.news-bar__inner { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 26px; background: #fff; border: 2px solid #F7C6D4; border-radius: 999px; padding: 12px 24px; }
.news-bar__label { font-family: var(--font-en); font-weight: 700; color: var(--pink); letter-spacing: .18em; font-size: .9rem; background: #fff; padding: .2em 1em; border-radius: 999px; }
.news-bar__item { font-family: var(--font-round); font-weight: 700; display: inline-flex; align-items: center; transition: color .2s; }
.news-bar__item:hover { color: var(--pink-d); }

/* ---------- Sections ---------- */
.section { padding: 90px 0; position: relative; }
.section--mint { background: var(--mint); }
.section--cream { background: var(--cream); }
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head__mark { display: block; width: 84px; height: 84px; margin: 0 auto 8px; }
.sec-head__mark img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(62,58,57,.12)); }
.sec-head__en { display: block; font-family: var(--font-en); font-weight: 700; letter-spacing: .22em; color: var(--green-d); font-size: .95rem; }
.sec-head__jp { font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: .06em; color: var(--text); margin-top: 4px; }
.sec-head__lead { margin-top: 16px; font-weight: 500; }
.sec-head--light .sec-head__en, .sec-head--light .sec-head__jp, .sec-head--light .sec-head__lead { color: #fff; }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease var(--d, 0s), transform .8s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; }  }

/* ---------- About ---------- */
.about-card { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; background: #fff; border: 3px solid var(--green-l); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.about-card__img { background: var(--green-l); border-radius: 50%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 30px; }
.about-card__img img { width: 85%; }
.about-card__body h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--pink); margin-bottom: 14px; }
.about-card__body p + p { margin-top: 12px; }
.about-card__body strong { color: var(--green-d); }
.about-card__points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.about-card__points li span { display: inline-block; background: var(--green-l); color: var(--green-d); font-family: var(--font-round); font-weight: 800; padding: .35em 1em; border-radius: 999px; font-size: .92rem; }


/* ---------- 基本理念・名前の由来・目指す姿 ---------- */
.philo { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; margin-top: 28px; align-items: stretch; }
.philo__col { display: grid; gap: 28px; align-content: start; }
.philo-card { position: relative; background: #fff; border: 3px solid var(--green-l); border-radius: var(--radius); padding: 34px 36px; box-shadow: var(--shadow-s); }
.philo-card--mint { background: var(--mint); }
.philo-card--pink { background: #FFF6F8; border-color: var(--pink-l); }
.philo-card__title { font-size: 1.3rem; color: var(--green-d); display: flex; flex-direction: column; margin-bottom: 14px; }
.philo-card--pink .philo-card__title { color: var(--pink-d); }
.philo-card__en { font-family: var(--font-en); font-weight: 700; font-size: .78rem; letter-spacing: .2em; color: var(--muted); margin-bottom: 2px; }
.philo-card__quote { font-family: var(--font-round); font-weight: 900; font-size: clamp(1.15rem, 1.8vw, 1.45rem); color: var(--green-d); line-height: 1.5; margin-bottom: 12px; letter-spacing: .03em; }
.philo-card__quote--pink { color: var(--pink); }
.philo-card p + p { margin-top: 10px; }
.philo-card p { font-size: .97rem; }
.philo-card--name { padding-top: 40px; }
.philo-card__chara { position: absolute; top: -26px; right: 22px; width: 84px; height: 84px; filter: drop-shadow(0 4px 6px rgba(62,58,57,.12)); }
.philo-card__intro { font-family: var(--font-round); font-weight: 800; color: var(--text); }
.philo-card__list { margin: 12px 0 14px; display: grid; gap: 8px; }
.philo-card__list li { position: relative; padding: 8px 14px 8px 40px; background: var(--mint); border-radius: 12px; font-family: var(--font-round); font-weight: 700; font-size: .97rem; }
.philo-card__list li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 18px; height: 18px; border-radius: 50%; background: var(--green); transform: translateY(-50%); }
.philo-card__list li::after { content: ""; position: absolute; left: 17px; top: calc(50% - 1px); width: 7px; height: 4px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: translateY(-50%) rotate(-45deg); }

/* ---------- Feature ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.feature { background: #fff; border-radius: var(--radius); padding: 36px 32px; border: 3px solid var(--green-l); box-shadow: var(--shadow-s); transition: transform .3s, box-shadow .3s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__ico { width: 110px; height: 110px; margin: 0 auto 16px; }
.feature__ico img { width: 100%; height: 100%; object-fit: contain; }

.feature h3 { text-align: center; font-size: 1.25rem; color: var(--green-d); margin-bottom: 12px; }
.feature p { font-size: .97rem; }
.feature strong { color: var(--pink-d); }

/* ---------- Service ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { background: #fff; border: 3px solid var(--green-l); border-radius: var(--radius); padding: 34px 28px; box-shadow: var(--shadow-s); }
.service__ico { width: 90px; height: 90px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; border: 3px solid currentColor; }
.service__ico svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service__ico--green { color: var(--green); background: var(--green-l); }
.service__ico--pink { color: var(--pink); background: var(--pink-l); }
.service__ico--blue { color: var(--blue); background: var(--blue-l); }
.service h3 { text-align: center; font-size: 1.2rem; margin-bottom: 16px; color: var(--text); }
.check-list li { position: relative; padding-left: 30px; font-size: .97rem; font-weight: 500; }
.check-list li + li { margin-top: 6px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 20px; height: 20px; border-radius: 50%; background: var(--green); }
.check-list li::after { content: ""; position: absolute; left: 6px; top: calc(.45em + 5px); width: 8px; height: 5px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg); }
.check-list--pink li::before { background: var(--pink); }
.area { text-align: center; }
.area__main, .area__sub { display: flex; flex-direction: column; align-items: center; border-radius: 14px; padding: 12px; }
.area__main { background: var(--pink-l); }
.area__sub { background: var(--green-l); margin-top: 10px; }
.area small { font-family: var(--font-round); font-weight: 700; color: var(--muted); font-size: .8rem; }
.area strong { font-family: var(--font-round); font-weight: 900; font-size: 1.35rem; color: var(--text); line-height: 1.3; }
.area__note { margin-top: 12px; font-size: .88rem; color: var(--muted); }
.service-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.service-extra__item { display: flex; gap: 16px; align-items: center; background: var(--cream); border-radius: 18px; padding: 20px 24px; }
.service-extra__ico { flex: none; width: 54px; height: 54px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; }
.service-extra__ico svg { width: 28px; height: 28px; fill: none; stroke: var(--yellow-d); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-extra__item p { font-size: .95rem; }

/* ---------- Topics ---------- */
.topics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.topic { position: relative; background: #fff; border-radius: var(--radius); padding: 44px 34px 34px; box-shadow: var(--shadow); text-align: center; border: 3px solid transparent; }
.topic--pink { border-color: #F7C6D4; }
.topic--green { border-color: #CFEBBE; }
.topic__badge { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: var(--pink); color: #fff; font-family: var(--font-en); font-weight: 700; letter-spacing: .14em; padding: .3em 1.3em; border-radius: 999px; box-shadow: var(--shadow-s); font-size: .9rem; }
.topic__badge--green { background: var(--green); font-family: var(--font-round); letter-spacing: .06em; }
.topic__date { display: inline-flex; align-items: baseline; gap: 6px; font-family: var(--font-en); font-weight: 700; color: var(--pink); line-height: 1; margin-bottom: 10px; }
.topic__y { font-size: 1.6rem; }
.topic__m { font-size: 3.6rem; font-family: var(--font-round); font-weight: 900; }
.topic__m small { font-size: 1.2rem; margin-left: 2px; }
.topic__ico { width: 72px; height: 72px; margin: 4px auto 14px; border-radius: 50%; background: var(--green-l); display: flex; align-items: center; justify-content: center; }
.topic__ico svg { width: 38px; height: 38px; fill: none; stroke: var(--green-d); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.topic h3 { font-size: 1.35rem; margin-bottom: 12px; }
.topic--pink h3 { color: var(--pink-d); } .topic--green h3 { color: var(--green-d); }
.topic p { text-align: left; font-size: .97rem; }
.topic .btn { margin-top: 20px; }

/* ---------- X（旧Twitter）最新投稿 / Elfsight ---------- */
.topics-x { margin-top: 64px; text-align: center; }
.topics-x__title { display: flex; align-items: center; justify-content: center; gap: .5em; font-size: 1.3rem; font-weight: 800; color: var(--text); }
.topics-x__ico { width: 1em; height: 1em; fill: currentColor; }
.topics-x__lead { margin: 8px 0 24px; font-size: .95rem; color: var(--muted); }
.topics-x .elfsight-app-37a36808-d898-400a-9dc7-7c46cc6ffc5f,
.topics-x .elfsight-app-57b89255-98d6-4192-a474-0b098bc8da01 { max-width: 1000px; margin-inline: auto; text-align: left; }
/* SP（600px以下）は2列×3段に。Elfsightは幅600px未満だと1列になるため、
   Shuffle.js の絶対配置を打ち消して CSS Grid で2列に組み替える */
@media (max-width: 600px) {
  .topics-x .eapps-twitter-feed-posts-inner {
    height: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 10px !important;
    overflow: visible !important;
  }
  .topics-x .eapps-twitter-feed-posts-item {
    position: relative !important; top: auto !important; left: auto !important;
    transform: none !important; width: auto !important; min-width: 0 !important;
    max-width: none !important; margin: 0 !important;
    visibility: visible !important; opacity: 1 !important; overflow: hidden !important;
  }
  .topics-x .eapps-twitter-feed-posts-item * { min-width: 0 !important; }
  .topics-x .eapps-twitter-feed-posts-item-text,
  .topics-x .eapps-twitter-feed-posts-item-text * {
    overflow-wrap: anywhere !important; word-break: break-word !important; font-size: 13px !important;
  }
  .topics-x .eapps-twitter-feed-posts-item-media-container,
  .topics-x .eapps-twitter-feed-posts-item-media { max-height: 150px !important; }
  .topics-x .eapps-twitter-feed-posts-item-media img,
  .topics-x .eapps-twitter-feed-posts-item-media-item { max-height: 150px !important; object-fit: cover !important; }
  .topics-x [class*="actions-item-share"] .eapps-twitter-feed-posts-item-actions-item-text { display: none !important; }
  .topics-x .eapps-twitter-feed-posts-item-actions { padding-top: 4px !important; }
}
.btn--dark { background: #1D1F23; box-shadow: 0 6px 0 #000; }
.btn--dark:hover { background: #2F3238; box-shadow: 0 4px 0 #000; }

/* ---------- Message ---------- */
.message-card { max-width: 880px; margin-inline: auto; background: #fff; border-radius: var(--radius); padding: 44px 48px; border: 3px solid var(--pink-l); box-shadow: var(--shadow); }
.message-card + .message-card { margin-top: 28px; }
.message-card__title { text-align: center; font-size: 1.4rem; color: var(--pink); margin-bottom: 22px; }
.message-card__grid { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: start; }
.message-card__photo { margin: 0; text-align: center; }
.message-card__photo img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: 18px; border: 4px solid var(--pink-l); box-shadow: var(--shadow-s); background: var(--mint); }
.message-card__photo figcaption { display: flex; flex-direction: column; margin-top: 12px; font-family: var(--font-round); line-height: 1.3; }
.message-card__photo small { font-size: .8rem; color: var(--muted); font-weight: 700; }
.message-card__photo strong { font-size: 1.15rem; color: var(--text); }
.message-card__body p + p { margin-top: 14px; }
.message-card__quote { font-family: var(--font-round); font-weight: 800; font-size: 1.08rem; color: var(--green-d); background: var(--mint); border-left: 5px solid var(--green); border-radius: 0 12px 12px 0; padding: 14px 18px; margin-top: 16px !important; line-height: 1.8; }
.message-card__sign { text-align: right; margin-top: 24px !important; display: flex; flex-direction: column; align-items: flex-end; }
.message-card__sign small { font-size: .85rem; color: var(--muted); }
.message-card__sign strong { font-family: var(--font-round); font-size: 1.3rem; }

/* ---------- Access ---------- */
.access { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.access__table th, .access__table td { padding: 14px 10px; border-bottom: 1px dashed var(--border); text-align: left; vertical-align: top; font-size: .95rem; }
.access__table th { width: 8.5em; color: var(--green-d); font-family: var(--font-round); font-weight: 800; white-space: nowrap; }
.access__table tr:last-child th, .access__table tr:last-child td { border-bottom: 0; }
.access__tel { font-family: var(--font-round); font-weight: 900; font-size: 1.3rem; color: var(--pink); }
.access__links { display: flex; gap: 10px; }
.sq { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-en); font-weight: 700; font-size: .8rem; transition: transform .2s; }
.sq:hover { transform: translateY(-2px); }
.sq svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sq--green { background: var(--green); } .sq--line { background: var(--line); }
.access__map { min-height: 380px; border-radius: 16px; overflow: hidden; background: var(--green-l); }
.access__map iframe { width: 100%; height: 100%; min-height: 380px; }
.access__table--company { max-width: 760px; margin-inline: auto; }

/* ---------- Flow ---------- */
.flow { max-width: 880px; margin-inline: auto; display: grid; gap: 20px; }
.flow__step { position: relative; display: flex; gap: 22px; align-items: flex-start; background: #fff; border: 3px solid var(--green-l); border-radius: var(--radius); padding: 26px 30px; box-shadow: var(--shadow-s); }
.flow__step:not(:last-child)::after { content: ""; position: absolute; left: 44px; bottom: -22px; border: 12px solid transparent; border-top: 12px solid var(--green); border-bottom: 0; z-index: 1; }
.flow__num { flex: none; width: 60px; height: 60px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--font-en); font-weight: 700; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 -4px 0 rgba(0,0,0,.1); }
.flow__body h3 { font-size: 1.2rem; color: var(--green-d); margin-bottom: 6px; }
.flow__body p { font-size: .97rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin-inline: auto; display: grid; gap: 14px; }
.faq__item { background: #fff; border-radius: 18px; border: 2px solid var(--green-l); box-shadow: var(--shadow-s); overflow: hidden; }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 18px 56px 18px 20px; font-family: var(--font-round); font-weight: 800; font-size: 1.05rem; position: relative; transition: background .2s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { background: var(--mint); }
.faq__item summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: translateY(-70%) rotate(45deg); transition: transform .3s; }
.faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__q, .faq__a-mark { flex: none; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-en); font-weight: 700; }
.faq__q { background: var(--green); } .faq__a-mark { background: var(--pink); }
.faq__a { display: flex; gap: 14px; padding: 4px 20px 20px; border-top: 1px dashed var(--border); margin: 0 20px; padding-top: 16px; }
.faq__a p { font-size: .97rem; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(160deg, var(--green) 0%, #5FB53E 100%); overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 10% 20%, rgba(255,255,255,.18), transparent 35%), radial-gradient(circle at 90% 80%, rgba(255,255,255,.14), transparent 35%); pointer-events: none; }
.contact .container { position: relative; z-index: 2; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 900px; margin-inline: auto; }
.contact__card { background: #fff; border-radius: var(--radius); padding: 34px 28px; text-align: center; box-shadow: var(--shadow); }
.contact__label { font-family: var(--font-round); font-weight: 800; color: var(--green-d); font-size: 1.05rem; margin-bottom: 8px; }
.contact__tel { display: inline-flex; align-items: center; gap: .3em; font-family: var(--font-round); font-weight: 900; font-size: clamp(1.8rem, 3.6vw, 2.5rem); color: var(--pink); line-height: 1.2; letter-spacing: .02em; }
.contact__tel .ico { width: 1em; height: 1em; }
.contact__note { font-size: .9rem; color: var(--muted); margin-top: 6px; }
.mail-form { display: grid; gap: 14px; }
.mail-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mail-form__field { display: flex; flex-direction: column; gap: 6px; }
.mail-form__label { font-family: var(--font-round); font-weight: 800; font-size: .95rem; color: var(--green-d); display: flex; align-items: center; gap: 8px; }
.mail-form__label em { font-style: normal; font-size: .75rem; color: #fff; background: var(--green); padding: .15em .8em; border-radius: 4px; }
.mail-form__label small { font-size: .75rem; color: #fff; background: #6B6560; padding: .15em .8em; border-radius: 4px; }
.mail-form input, .mail-form textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: #fff; border: 2px solid var(--border); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, background .2s; }
.mail-form input:focus, .mail-form textarea:focus { outline: none; border-color: var(--green); background: #fff; }
.mail-form textarea { resize: vertical; min-height: 150px; line-height: 1.7; }
.mail-form input.is-invalid, .mail-form textarea.is-invalid { border-color: var(--pink); background: var(--pink-l); }
.mail-form__error { color: var(--pink-d); font-weight: 700; font-size: .92rem; text-align: center; }
.mail-form__error--info { color: var(--muted); }
.mail-form__error--success { color: var(--green-d); }
.mail-form__submit { justify-self: center; min-width: 260px; border: 0; cursor: pointer; margin-top: 6px; }
.mail-form .contact__note { text-align: center; }
.mail-form .contact__note a { color: var(--green-d); text-decoration: underline; }
.contact__qr { width: 180px; height: 180px; margin: 6px auto 16px; border-radius: 14px; border: 3px solid var(--green-l); }
.contact__card--line .btn { width: 100%; }
.contact__chara { position: absolute; right: 2%; bottom: -10px; width: 200px; opacity: .95; z-index: 1; filter: drop-shadow(0 8px 12px rgba(0,0,0,.12)); }


/* ---------- 問い合わせボタン（電話／メール） ---------- */
.contact__btns { display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.contact__btns--row { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: stretch; max-width: 1000px; margin: 28px auto 0; }
.contact__btns--row .cbtn { flex: 1 1 300px; max-width: 360px; }
.contact__btns--row .cbtn__tel { font-size: clamp(1.5rem, 2.1vw, 1.9rem); white-space: nowrap; }
.cbtn { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-radius: 14px; padding: 16px 20px; min-height: 108px; transition: transform .2s, box-shadow .2s, background .2s; box-shadow: var(--shadow-s); font-family: var(--font-round); }
.cbtn:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cbtn--tel { background: var(--green); color: #fff; border: 3px solid #fff; outline: 3px solid var(--green); }
.cbtn__label { font-size: .88rem; font-weight: 800; letter-spacing: .06em; line-height: 1.3; }
.cbtn__tel { display: inline-flex; align-items: center; gap: .15em; font-weight: 900; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.2; letter-spacing: .02em; margin-top: 2px; }
.cbtn__telico { width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cbtn--mail, .cbtn--line { flex-direction: row; gap: 12px; background: #fff; border: 3px solid var(--green); color: var(--green-d); }
.cbtn--mail:hover, .cbtn--line:hover { background: var(--mint); }
.cbtn--line { border-color: var(--line); color: var(--line-d); }
.cbtn__mailico { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; }
.cbtn__mailico svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cbtn__mailico--line { background: var(--line); }
.cbtn__mailico--line svg { fill: #fff; stroke: none; }
.cbtn__mailtxt { font-size: 1.15rem; font-weight: 800; letter-spacing: .04em; }
.cbtn--sm { min-height: 84px; padding: 12px 18px; box-shadow: none; }
.cbtn--sm .cbtn__tel { font-size: 1.6rem; }
.cbtn--sm .cbtn__label { font-size: .78rem; }
.cbtn--sm .cbtn__mailico { width: 38px; height: 38px; }
.cbtn--sm .cbtn__mailico svg { width: 22px; height: 22px; }
.cbtn--sm .cbtn__mailtxt { font-size: 1rem; }
.footer__btns { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; max-width: 320px; }

/* ---------- 下層ページ（お問い合わせ） ---------- */
.page-title { background: linear-gradient(160deg, var(--green) 0%, #5FB53E 100%); color: #fff; text-align: center; padding: 56px 0; }
.page-title__en { font-family: var(--font-en); font-weight: 700; letter-spacing: .22em; font-size: .95rem; opacity: .9; }
.page-title__jp { font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: .08em; margin-top: 4px; }
.page-lead { padding: 56px 0 64px; }
.page-lead__text { text-align: center; font-weight: 500; }
.company-page { padding-bottom: 80px; }
.company-card { max-width: 880px; margin: 28px auto 0; background: #fff; border: 3px solid var(--green-l); border-radius: var(--radius); padding: 32px 40px; box-shadow: var(--shadow); }
.company-card__title { text-align: center; font-size: 1.35rem; color: var(--green-d); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px dashed var(--green-l); }
.company-card__map { margin-top: 20px; height: 320px; border-radius: 14px; overflow: hidden; background: var(--green-l); }
.company-card__map iframe { width: 100%; height: 100%; }
.company-page__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 36px; }
.form-card { max-width: 880px; margin-inline: auto; background: #fff; border: 3px solid var(--green-l); border-radius: var(--radius); padding: 44px 48px; box-shadow: var(--shadow); }
.form-card .mail-form { gap: 18px; }
.form-card .mail-form__submit { min-width: 240px; }

/* ---------- グループホームページ ---------- */

.gh-about { max-width: 820px; margin-inline: auto; background: #fff; border-radius: var(--radius); padding: 34px 40px; box-shadow: var(--shadow-s); }
.gh-about p + p { margin-top: 14px; }

.gh-plan { max-width: 820px; margin-inline: auto; background: #fff; border-radius: var(--radius); padding: 34px 40px; box-shadow: var(--shadow-s); }
.gh-plan p + p { margin-top: 14px; }
.gh-plan__lead { font-family: var(--font-round); font-weight: 800; font-size: 1.1rem; color: var(--green-d); }

.topics-x--page { margin-top: 0; }
.page .section:first-of-type { padding-top: 56px; }

.gh-cta { max-width: 900px; margin-inline: auto; background: #fff; border: 3px solid var(--pink-l); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); text-align: center; }
.gh-cta__title { font-size: clamp(1.3rem, 2.6vw, 1.7rem); color: var(--pink); margin-bottom: 12px; }
.gh-cta__text { margin-bottom: 8px; }
.gh-cta__note { margin-top: 18px; font-size: .88rem; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: #fff; padding: 56px 0 100px; border-top: 4px solid var(--green-l); }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__addr { font-size: .88rem; color: var(--muted); margin-top: 14px; line-height: 1.8; }
.footer__nav ul { display: grid; grid-auto-flow: column; grid-template-rows: repeat(9, auto); grid-template-columns: auto auto; justify-content: start; gap: 6px 36px; }
.footer__nav a { font-family: var(--font-round); font-weight: 700; font-size: .95rem; display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.footer__nav a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.footer__nav a:hover { color: var(--green-d); }
.footer__copy { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 40px; }

/* ---------- SP fixed CTA / pagetop ---------- */
.sp-cta { display: none; }
.pagetop { position: fixed; right: 20px; bottom: 24px; width: 50px; height: 50px; border-radius: 50%; background: var(--pink); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s; z-index: 90; }
.pagetop.is-show { opacity: 1; visibility: visible; transform: none; }
.pagetop svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .gnav a { padding: 8px 10px; }
  .gnav__jp { font-size: .82rem; }
}
@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .logo__mark { width: 44px; }
  .logo__txt { height: 32px; }
  .header__cta { display: none; }
  .menu-btn { display: block; }
  .header { backdrop-filter: none; background: rgba(255,255,255,.97); }
  .gnav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: #fff; margin: 0; padding: 20px 6%; transform: translateX(100%); visibility: hidden; transition: none; overflow-y: auto; z-index: 99; }
  .menu-ready .gnav { transition: transform .35s cubic-bezier(.2,.7,.2,1), visibility 0s .35s; }
  .is-menu-open .gnav { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.2,.7,.2,1), visibility 0s; }
  .gnav ul { flex-direction: column; gap: 4px; }
  .gnav a { flex-direction: row; justify-content: flex-start; gap: 14px; padding: 14px 16px; border-bottom: 1px dashed var(--border); border-radius: 0; }
  .gnav__jp { font-size: 1.05rem; }
  .gnav__en { margin-left: auto; }
  .gnav__contact { display: block; margin-top: 18px; }
  .gnav__contact a { justify-content: center; border: 0; border-radius: 999px; background: var(--green); color: #fff; font-size: 1.05rem; box-shadow: 0 5px 0 var(--green-d); }
  .gnav__contact a:hover { background: var(--green); color: #fff; }


  .feature-grid, .service-grid, .service-extra, .topics-grid, .access, .contact__grid { grid-template-columns: 1fr; }
  .about-card { grid-template-columns: 1fr; text-align: center; padding: 30px 24px; }
  .about-card__img { width: 220px; margin-inline: auto; }
  .about-card__points { justify-content: center; }
  .philo { grid-template-columns: 1fr; gap: 20px; }
  .philo__col { gap: 20px; }
  .philo-card { padding: 28px 22px; }
  .philo-card--name { padding-top: 36px; }
  .philo-card__chara { width: 68px; height: 68px; top: -22px; right: 16px; }
  .section { padding: 64px 0; }
  .message-card { padding: 30px 24px; }
  .message-card__quote { font-size: 1rem; padding: 12px 14px; }
  .message-card__grid { grid-template-columns: 1fr; gap: 20px; }
  .message-card__photo { width: min(60%, 220px); margin-inline: auto; }
  .contact__chara { width: 130px; right: 0; bottom: -6px; }
}
@media (max-width: 600px) {
  .sp { display: inline; }
  body { font-size: 15px; }
  .btn--lg { padding: .95em 1.6em; font-size: 1rem; }
  .badges { margin-top: 0; padding-top: 32px; }
  .intro-band { padding-bottom: 48px; }
  .intro-band::after { bottom: -40px; height: 60px; }
  .badges__list { gap: 10px; }
  .badge { padding: 8px; }
  .badge::before { inset: 5px; }
  .badge__ico { width: 22px; height: 22px; }
  .badge strong { font-size: 1.05rem; }
  .badge span { font-size: .62rem; line-height: 1.3; }
  .badges__ribbon { font-size: 1rem; padding: 12px 16px; }
  .news-bar__inner { border-radius: 18px; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 16px; }
  .news-bar__item { font-size: .93rem; }
  .sec-head { margin-bottom: 30px; }
  .feature, .service, .topic { padding: 28px 20px; }
  .topic { padding-top: 36px; }
  .access { padding: 18px; }
  .access__table th { width: 6.5em; font-size: .88rem; padding: 12px 6px; }
  .access__table td { font-size: .9rem; padding: 12px 6px; }
  .access__map, .access__map iframe { min-height: 280px; }
  .flow__step { padding: 20px 18px; gap: 14px; }
  .flow__num { width: 46px; height: 46px; font-size: 1.05rem; }
  .flow__step:not(:last-child)::after { left: 34px; }
  .faq__item summary { font-size: .98rem; padding: 16px 44px 16px 14px; }
  .faq__a { margin: 0 14px; padding: 14px 4px 16px; }
  .contact__card { padding: 26px 18px; }
  .mail-form__row { grid-template-columns: 1fr; }
  .mail-form__submit { width: 100%; min-width: 0; }
  .form-card { padding: 26px 18px; }
  .company-card { padding: 22px 16px; }
      .gh-about, .gh-plan { padding: 24px 18px; }
  .gh-cta { padding: 28px 18px; }
  .company-card__map { height: 240px; }
  .company-page__btns .btn { width: 100%; }
  .contact__btns--row { gap: 12px; }
  .contact__btns--row .cbtn { max-width: none; }
  .cbtn { min-height: 92px; }
  .page-title { padding: 36px 0; }
  .page-lead { padding: 36px 0 44px; }
  .footer__btns { max-width: none; }
  .contact__chara { display: none; }
  .footer { padding-bottom: 110px; }
  .footer__nav ul { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: 1fr; }
  .sp-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.95); backdrop-filter: blur(8px); box-shadow: 0 -6px 20px rgba(62,58,57,.1); }
  .sp-cta__btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: 14px 8px; border-radius: 14px; color: #fff; font-family: var(--font-round); font-weight: 800; font-size: 1rem; }
  .sp-cta__btn--tel { background: var(--pink); box-shadow: 0 4px 0 var(--pink-d); }
  .sp-cta__btn--line { background: var(--line); box-shadow: 0 4px 0 var(--line-d); }
  .pagetop { bottom: 84px; right: 12px; width: 44px; height: 44px; }
}
