/**
 * mobile.css — SP差分（max-width: 768px でのみ読み込まれる）
 *
 * PC基準（common.css）の上書きのみを書く。
 * SPモックアップは無いため my-web-style 規約の標準リズムで構成。
 */

.pc-only {
  display: none;
}


.sp-only {
  display: block;
}


/* SPでは電話発信を有効に戻す（PC側の無効化は common.css） */
a[href^="tel:"] {
  pointer-events: auto;
}


/* ── ヘッダー ─────────────────────────────────────────────── */

.site-header__inner {
  width: 100%;
  height: var(--header-sp);
  padding: 0 16.5px;
  box-sizing: border-box;
}


.site-header__logo img {
  height: var(--logo-sp);
}


.site-header__contact,
.site-header .btn-mail {
  display: none;
}


.global-nav {
  display: none;
}


.nav-toggle {
  display: flex;
  background-color: var(--color-primary);
}


/* パネルを開いている間はヘッダーを最前面に固定して見せ続ける。
   .mobile-panel はDOM上ヘッダーより後ろにあるため、:has() で body から辿る。
   fixed化で消える分の高さは body 側の padding で埋め、閉じたときのガタつきを防ぐ */
body:has(.mobile-panel.active) {
  padding-top: var(--header-sp);
}


body:has(.mobile-panel.active) .site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-nav);
  width: 100%;
}


/* ── ヒーロー ─────────────────────────────────────────────── */

/* SPはグローバルナビ帯が無いのでヘッダーぶんだけ差し引く */
.hero .slideshow-list li img {
  height: calc(100dvh - var(--header-sp));
}


.hero__copy {
  left: 22px;
  right: 22px;
  bottom: 44px;
}


.hero__catch {
  font-size: var(--fs-xl);
}


.hero__sub {
  font-size: var(--fs-base);
}


/* ── 共通部品 ─────────────────────────────────────────────── */

.section-title {
  width: auto;
  margin-bottom: 44px;
  font-size: var(--fs-lg);
}


.front-service .section-title,
.front-medical .section-title {
  margin-bottom: 44px;
}


.btn-mail--large {
  width: 100%;
  max-width: 352px;
}


/* ── 桃寿苑について ───────────────────────────────────────── */

.front-about {
  padding: 66px 0;
}


.front-about__deco {
  display: none;
}


.front-about__inner {
  width: auto;
  padding: 0 22px;
  flex-direction: column;
}


.front-about__text {
  margin-left: 0;
}


.front-about__title {
  font-size: var(--fs-xl);
  line-height: 1.5;
}


.front-about__text p {
  line-height: 2;
}


.front-about .btn-fill {
  margin-top: 33px;
}


.front-about__photo {
  display: none;
}


/* ── サービス案内 ─────────────────────────────────────────── */

.front-service {
  padding: 66px 0;
}


.front-service__list {
  width: auto;
  padding: 0 22px;
  flex-direction: column;
  gap: var(--gap-mobile);
}


.front-service__list li {
  width: 100%;
}


.front-service__thumb img {
  aspect-ratio: 1 / 1;
  object-position: 50% 0%;
}


.front-service__name {
  margin-top: 11px;
  font-size: var(--fs-md);
}


.front-service .btn-center {
  margin-top: 44px;
}


/* ── 医療・透析連携について ───────────────────────────────── */

.front-medical {
  padding: 66px 0;
}


/* imgは max-width:100% が自身のmarginを含まないため、width:auto だと左右marginぶん溢れる */
.front-medical__photo {
  width: calc(100% - 44px);
  margin: 0 22px;
  aspect-ratio: 3 / 2;
}


.front-medical__list {
  width: auto;
  margin: 77px 22px 0;
  flex-direction: column;
  gap: 77px;
}


.front-medical__list li {
  width: 100%;
}


.front-medical__list h3 {
  font-size: var(--fs-md);
}


.front-medical .btn-center {
  margin-top: 44px;
}


/* ── 広報誌「桃だより」 ───────────────────────────────────── */

.front-momo {
  padding: 66px 0 0;
}


.front-momo__box {
  width: auto;
  margin: 0 22px;
  padding: 44px 22px;
  border-radius: 22px;
}


.front-momo__desc {
  margin-bottom: 33px;
  text-align: left;
}


.front-momo__list {
  flex-direction: column;
  align-items: center;
  gap: 44px;
}


.front-momo .btn-center {
  margin-top: 44px;
}


/* ── お知らせ ─────────────────────────────────────────────── */

.front-news {
  padding: 66px 0;
}


.front-news__list {
  width: auto;
  margin: 0 22px;
}


.front-news__list a {
  flex-direction: column;
  align-items: flex-start;
  gap: 5.5px;
  padding: 16.5px 11px;
}


.front-news__list time {
  width: auto;
}


.front-news .btn-center {
  margin-top: 44px;
}


/* ── 交通アクセス ─────────────────────────────────────────── */

.front-access {
  padding: 66px 0;
}


.front-access__address {
  margin-bottom: 22px;
  padding: 0 22px;
}


.front-access__routes {
  width: auto;
  margin: 0 22px;
  gap: 22px;
}


.front-access__route {
  flex-wrap: wrap;
}


.front-access__map {
  width: auto;
  margin: 33px 22px 0;
}


.front-access__map iframe {
  height: 300px;
  border-radius: 22px;
}


.front-access__photos {
  width: auto;
  margin: 22px 22px 0;
  flex-direction: column;
  gap: 22px;
}


.front-access__photos>* {
  width: 100%;
}


/* ── お問い合わせCTA ──────────────────────────────────────── */

.front-cta {
  padding: 44px 22px;
}


.front-cta__tel {
  font-size: var(--fs-2xl);
}


.front-cta__tel .icon-tel {
  width: 38.5px;
  height: 38.5px;
}


/* ── フッター ─────────────────────────────────────────────── */

.footer-inner {
  width: auto;
  padding: 0 22px;
}


.footer-logo img {
  height: 55px;
}


.footer-nav ul {
  gap: 11px 22px;
}


.footer-bottom {
  margin-top: 33px;
  flex-direction: column;
  gap: 11px;
}


.footer-privacy {
  position: relative;
  /* staticにすると::afterの下線が.footer-bottom基準になるためrelative */
  order: -1;
  /* モックアップ準拠でリンクを上、©を下に */
}


/* ── Back to Top ──────────────────────────────────────────── */

/* jQueryのfadeIn/fadeOutがインラインstyleでdisplayを書き換えるため !important で打ち消す */
.back-to-top {
  display: none !important;
}


/* ── 下層ページ共通 ───────────────────────────────────────── */

.page-header {
  height: 154px;
}


.page-header__title {
  width: auto;
  margin: 0;
  padding: 0 22px;
  font-size: var(--fs-lg);
}


.breadcrumb {
  width: auto;
  margin: 16.5px 22px 0;
  flex-wrap: wrap;
}


/* ── 桃寿苑について ───────────────────────────────────────── */

.about-greeting {
  width: auto;
  padding: 33px 22px 66px;
}


.greeting-title {
  margin-bottom: 33px;
  font-size: var(--fs-lg);
}


.about-greeting__photo {
  aspect-ratio: 3 / 2;
}


.about-greeting__body {
  padding: 22px 0 0;
}


.staff-sign img {
  width: 121px;
}


.greeting-card {
  margin-top: 44px;
  padding: 33px 22px;
  border-radius: 22px;
}


.greeting-card__title {
  margin-bottom: 22px;
  font-size: var(--fs-md);
}


.about-dept {
  padding: 66px 0;
}


.about-dept__list {
  width: auto;
  padding: 0 22px;
}


.about-dept__item {
  flex-direction: column;
  gap: 16.5px;
  padding: 33px 0;
}


.about-dept__item img {
  width: 100%;
}


.about-dept__text h3 {
  font-size: var(--fs-md);
}


.about-philosophy {
  padding: 66px 0;
}


.about-philosophy .section-title {
  margin-bottom: 44px;
}


.about-philosophy__block {
  width: auto;
  margin: 44px 22px 0;
}


.about-philosophy__block h3 {
  font-size: var(--fs-md);
}


.santei-table {
  min-width: 840px;
}


.about-lower {
  padding: 66px 0;
}


.about-overview__table {
  width: auto;
  margin: 0 22px;
}


.about-overview__table>div {
  flex-direction: column;
  padding: 11px 0;
}


.about-overview__table dt {
  width: auto;
  color: var(--color-primary);
}


.about-related {
  margin-top: 66px;
}


.about-related__card {
  width: auto;
  margin: 0 22px;
  padding: 33px 22px;
  border-radius: 22px;
}


.about-related__body {
  flex-direction: column;
  gap: 22px;
}


.about-related__body img {
  width: 100%;
}


.about-related__text p {
  font-size: var(--fs-md);
}


/* ── サービス案内 ─────────────────────────────────────────── */

.service-intro {
  width: auto;
  padding: 33px 22px 44px;
  gap: 22px;
}


.service-intro__text {
  font-size: var(--fs-md);
}


.service-block {
  width: auto;
  margin: 0 22px 44px;
  padding: 27.5px 22px 33px;
  border-radius: 22px;
}


.service-block__head {
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}


.service-block__head h2 {
  font-size: var(--fs-lg);
}


.service-block__tag {
  font-size: var(--fs-sm);
}


.service-block__photos {
  flex-direction: column;
  gap: 16.5px;
}


.service-block__photos img {
  width: 100%;
}


.service-block__lead {
  margin-top: 22px;
  font-size: var(--fs-md);
}


.service-guide {
  padding: 66px 0;
}


.service-guide__inner {
  width: auto;
  padding: 0 22px;
}


.service-guide h3,
.service-flow h3,
.service-fees h3 {
  font-size: var(--fs-md);
}


.service-guide__list li {
  padding: 16.5px 22px;
  border-radius: 33px;
}


.service-guide__name {
  font-size: var(--fs-md);
}


.service-flow {
  padding: 66px 0;
}


.service-flow__inner {
  width: auto;
  padding: 0 22px;
}


.flow-step {
  gap: 22px;
  padding: 22px;
  border-radius: 22px;
}


.flow-step__num {
  font-size: var(--fs-4xl);
}


.flow-step__body {
  padding-top: 0;
}


.flow-arrow {
  width: 44px;
  height: 24.75px;
  margin: 5.5px auto;
}


.service-fees {
  padding: 66px 0;
}


.service-fees__inner {
  width: auto;
  padding: 0 22px;
}


.fee-title {
  margin-top: 66px;
  flex-direction: column;
  align-items: flex-start;
  gap: 5.5px;
}


.fee-title p {
  font-size: var(--fs-md);
}


.addon-tables {
  flex-direction: column;
  gap: 22px;
}


.addon-table {
  width: 100%;
}


/* ── 医療・透析連携 ───────────────────────────────────────── */

.medical-intro {
  width: auto;
  padding: 33px 22px 44px;
  gap: 22px;
}


.medical-intro__text h2 {
  font-size: var(--fs-lg);
}


.medical-intro__text p {
  font-size: var(--fs-md);
}


.medical-intro__photo {
  width: 100%;
}


.medical-sec {
  padding: 66px 0;
}


.medical-sec__inner {
  width: auto;
  padding: 0 22px;
}


.medical-sec__row {
  margin-bottom: 44px;
  gap: 22px;
}


.medical-sec__row h3 {
  font-size: var(--fs-md);
}


.medical-sec--pink .medical-sec__deco,
.medical-sec--green .medical-sec__deco {
  width: 220px;
}


.medical-cards h4 {
  font-size: var(--fs-md);
}


.medical-support {
  padding: 66px 0;
}


.medical-support__inner {
  width: auto;
  padding: 0 22px;
}


.medical-support__lead {
  margin-top: 33px;
  font-size: var(--fs-md);
}


.medical-support__text {
  text-align: left;
}


.medical-closing {
  padding: 66px 22px;
}


.medical-closing p {
  font-size: var(--fs-md);
  text-align: left;
}


/* ── 年間行事計画 ─────────────────────────────────────────── */

.page-events .breadcrumb,
.page-news .breadcrumb,
.page-momo .breadcrumb {
  margin-top: 16.5px;
}


/* ── お知らせ ─────────────────────────────────────────────── */

.news-archive {
  padding: 33px 0 66px;
}


.news-archive .section-title {
  margin-bottom: 44px;
}


.news-archive__nav {
  margin-top: 44px;
}


.nav-links {
  gap: 5.5px;
}


.nav-links .page-numbers {
  width: 38.5px;
  height: 38.5px;
}


/* ── 広報誌「桃だより」一覧 ───────────────────────────────── */

.momo-archive {
  padding: 33px 0 66px;
}


.momo-archive__desc {
  width: auto;
  margin: 0 22px 44px;
  text-align: left;
}


.momo-archive__list {
  width: auto;
  margin: 0 22px;
  gap: 44px 22px;
}


.momo-archive__list .momo-item {
  width: calc((100% - 22px) / 2);
}


.news-single {
  width: auto;
  padding: 33px 22px 66px;
}


/* ── プライバシーポリシー ─────────────────────────────────── */

.privacy-body {
  width: auto;
  padding: 0 22px 66px;
}


.privacy-body .greeting-title {
  margin: 33px 0;
}


/* ── お問い合わせ・送信完了 ───────────────────────────────── */

.page-contact .breadcrumb {
  margin-top: 16.5px;
}


.page-contact .greeting-title {
  margin: 33px 0;
}


.contact-intro {
  width: auto;
  padding: 0 22px;
}


.contact-box {
  width: auto;
  margin: 33px 22px 66px;
  padding: 33px 22px;
  border-radius: 22px;
}


.contact-box form {
  width: 100%;
  gap: 22px;
}


.form-row {
  flex-direction: column;
  align-items: flex-start;
  gap: 5.5px;
}


.form-row__label {
  width: auto;
}


.form-row--textarea .form-row__label {
  padding-top: 0;
}


.contact-thanks {
  width: auto;
  padding: 0 22px 66px;
}


.contact-thanks p {
  text-align: left;
}


.events-list {
  width: auto;
  padding: 33px 22px 0;
}


.events-list__lead {
  margin-bottom: 44px;
  font-size: var(--fs-md);
  text-align: left;
}


.events-list__grid {
  width: auto;
  gap: 44px;
}


.events-list__grid>li {
  width: 100%;
}


.events-list__grid h2 {
  font-size: var(--fs-md);
}


.events-community {
  width: auto;
  padding: 66px 22px;
}


.events-community h2 {
  font-size: var(--fs-md);
}


.events-community__row {
  flex-direction: column;
  gap: 22px;
}


.events-community__row img {
  width: 100%;
}