/* ===== モダンリセット ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

:root {
  --color-primary-start: #63D98A;
  --color-primary-end: #6DD5FA;
  --color-primary-gradient: linear-gradient(135deg,
      var(--color-primary-start),
      var(--color-primary-end));

  --color-background: #F5FBFA;
  --color-surface: #FFFFFF;

  /* ロゴの文字色に合わせたブラウン */
  --color-text: #554029;
  --color-text-secondary: #5F6B70;
  --color-text-muted: #8A959A;

  --color-border: #E7ECEF;
  --color-danger: #EF4444;
}

body {
  background: var(--color-background);
  color: var(--color-text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.7;

  /* コンテンツが少ないページでもフッターを最下部に固定する（sticky footer） */
  min-height: 100dvh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
}

/* 見出しの既定マージンを正規化（カード先頭の過剰な余白を防ぐ）。
   必要な余白は個別クラス側で付与する。 */
h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.4;
}

/* カード先頭要素の既定マージンを消す */
.app-card > :first-child {
  margin-top: 0;
}

 /* 全幅の区切りリスト。各行が左右の余白を持ち、区切り線はカード端まで伸ばす */
 .med-item {
   padding: 12px 24px;
   border-bottom: 1px solid #eee;
 }

 /* リスト末尾の項目は下線を消す */
 .med-item:last-child {
   border-bottom: none;
 }

.med-time {
  font-weight: 700;
  color: var(--color-text);
  min-width: 60px;
}

.med-target {
  padding: 3px 10px;
  border-radius: 999px;
  background: #eef5f1;
  color: #555;
  font-size: 0.9rem;
}

 .done {
   color: #2f8f5b;
   font-weight: 700;
 }

 .top-header {
   padding: 8px 12px;
   border-bottom: 1px solid #ddd;
 }

 .header-row {
   display: flex;
   justify-content: space-between;
   align-items: center;
 }

 .welcome-message {
   margin-top: 8px;
   color: #555;
 }

.invite-page {
  max-width: 420px;
  margin: 60px auto;
  padding: 24px;
  text-align: center;
}

.invite-note {
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}

summary {
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  font-size: 20px;
  color: var(--color-text-secondary);
  text-decoration: none;
}

.header-spacer {
  width: 40px;
}

.about-logo {
  text-align: center;
  margin: 24px 0;
}

.about-logo picture,
.lp-logo picture {
  display: inline-block;
  width: min(100%, 350px);
}

.about-logo picture {
  width: min(100%, 280px);
}

.about-logo img {
  width: 100%;
  height: auto;
}

.about-hero + .app-card,
.about-section + .app-card {
  margin-top: 20px;
}

.about-lead {
  margin-top: 24px;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.8;
  text-align: center;
  text-wrap: balance;
}

.about-lead-seg {
  display: inline-block;
}

.about-section p {
  line-height: 1.8;
}

.about-feature-list {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-feature-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: start;
  column-gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--color-border);
}

.about-feature-item:last-child {
  border-bottom: none;
}

.about-feature-icon {
  font-size: 28px;
  line-height: 1;
  text-align: center;
}

.about-feature-body h3 {
  font-size: 1rem;
}

.about-feature-body p {
  margin-top: 8px;
  color: var(--color-text-secondary);
}

.about-return-link {
  margin-top: 20px;
}

.lp-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 16px;
}

.logo {
  text-align: center;
  margin: 24px 0 8px;
}

.lp-logo img {
  width: 100%;
  height: auto;
}

/* ロゴ下のキャッチコピー（画像内のタグラインをテキスト化） */
.lp-tagline {
  margin-block-start: 12px;
  text-align: center;
  /* 32px前後。狭い画面では自動で少し縮めて横あふれを防ぐ */
  font-size: clamp(28px, 8vw, 32px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--color-text);
  text-wrap: balance;
}

/* フレーズ単位で扱い、文の途中では改行しない */
.lp-tagline-seg {
  display: inline-block;
}

/* スマホでは「家族も、ペットも、」/「やさしく見守る。」で改行する */
@media (width <= 600px) {
  .lp-tagline-seg {
    display: block;
  }
}

.lp-actions {
  text-align: center;
  margin-top: 32px;
}

.lp-values {
  margin-top: 24px;
}

.lp-values p {
  line-height: 1.8;
}

.value-list {
  display: grid;
  gap: 16px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  line-height: 1.8;
}

.value-icon {
  flex-shrink: 0;
  margin-top: 4px;
  color: #e08aa2;
}

.detail-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.detail-actions form {
  align-self: flex-end;
}

.page-container {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 20px;
}

/* BOT未連携の注意喚起バナー（ホーム） */
.bot-alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 16px 0 24px;
  padding: 16px;
  border: 1px solid #f0d9a8;
  border-radius: 16px;
  background: #fff8e8;
}

.bot-alert-icon {
  font-size: 22px;
  line-height: 1.4;
  flex-shrink: 0;
}

.bot-alert-body {
  min-width: 0;
}

.bot-alert-title {
  margin: 0 0 4px;
  font-weight: 700;
  color: #7a5c00;
}

.bot-alert-text {
  margin: 0 0 12px;
  color: #6b5a2e;
  font-size: 14px;
  line-height: 1.6;
}

.bot-alert .app-button {
  display: inline-block;
  width: auto;
  margin: 0;
}

/* フラッシュメッセージ（成功/エラー） */
.flash {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 640px;
  margin: 16px auto 0;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}

.flash-icon {
  flex-shrink: 0;
}

.flash-notice {
  background: #e7f7ee;
  border: 1px solid #b6e2c6;
  color: #1f7a4d;

  /* コンテンツに重ねて表示するトースト。クリックは背後に通す。 */
  position: absolute;
  top: 72px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: calc(100% - 32px);
  margin: 0;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(47, 58, 63, 0.12);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* 自動フェードアウト時 */
.flash-notice.flash--hide {
  opacity: 0;
  transform: translate(-50%, -8px);
}

.flash-alert {
  background: #fdecec;
  border: 1px solid #f3c0c0;
  color: #b3261e;
}

/* 利用規約・プライバシーポリシーなどの長文ページ */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px;
  line-height: 1.8;
}

/* ページ見出し（コンテンツ内の h1） */
.page-title {
  margin: 0 0 24px;
  font-size: 24px;
}

/* リセットで消えた本文の段落・リスト間隔を付け直す */
.legal-page p,
.legal-page ol {
  margin-block: 0 1em;
}

.legal-page ol {
  padding-inline-start: 1.5em;
}

.legal-page h3 {
  margin-block-start: 32px;
}

.legal-page hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 8px 0 16px;
}

/* ボタン体系:
   - .app-button                = secondary（白背景・枠線）。画面遷移などの副次アクション用。
   - .app-button + .app-button-primary = primary（グラデ）。DBに保存する主要アクション用。
   - 削除系（.schedule-delete-button 等） = danger（控えめな赤）。
   横幅はバナー化を防ぐため最大幅を設けて中央寄せする。 */
.app-button {
  display: block;
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  padding: 12px 16px;

  border: 1px solid #b7d8cc;
  border-radius: 16px;

  background: var(--color-surface);
  color: var(--color-text);

  font: inherit;
  font-size: 16px;
  line-height: 1.4;

  text-align: center;
  text-decoration: none;

  box-sizing: border-box;
  appearance: none;
  cursor: pointer;
}

.detail-actions form {
  margin: 0;
}

.form-submit {
  margin-top: 24px;
}

/* 詳細ページの定義リスト（dt=項目名 / dd=内容） */
.detail-row {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.detail-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.family-member {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.family-member form {
  margin: 0;
}

.family-link-delete-button {
  white-space: nowrap;
}

.app-button-primary {
  background: var(--color-primary-gradient);
  /* 淡いグラデ背景では白文字はコントラスト不足(約1.7:1)のため、濃い緑の文字で
     可読性を確保(約5.7:1)しつつ、やわらかい世界観のグラデーションは維持する。 */
  color: #134a30;
  border: none;
  font-weight: 700;

  box-shadow: 0 6px 18px rgba(99, 217, 138, 0.2);
}

.app-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(47, 58, 63, 0.06);
  /* カードヘッダー帯の角をカードの丸みに合わせて収める */
  overflow: hidden;
}

.lp-description {
  margin-top: 32px;
  line-height: 1.8;
}

.lp-description p:first-child {
  margin-top: 0;
}

.lp-description p:last-child {
  margin-bottom: 0;
}

.lp-section-title {
  margin: 40px 0 16px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
}

/* 「おくすリングでできること」の3枚のカード。PCでは横並び、スマホでは縦積み */
.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  list-style: none;
  padding: 0;
}

@media (width >= 768px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* グリッド内はカード間の余白を gap に任せる。
   .app-card+.app-card の margin-top がグリッド項目の高さを崩すため、
   詳細度を上げて確実に打ち消す。 */
.feature-grid .app-card,
.feature-grid .app-card + .app-card {
  margin-top: 0;
}

.feature-card {
  text-align: center;
}

.feature-icon {
  font-size: 32px;
  line-height: 1;
}

.feature-card h3 {
  margin: 8px 0;
  font-size: 16px;
}

.feature-card p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.lp-login-note {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}

.app-card+.app-card {
  margin-top: 24px;
}

.home-action {
  margin: 24px 0;
}

.med-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.med-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* 「飲んだよ」は服薬をDBに記録する主要アクション。色は app-button-primary に任せ、
   ここではサイズ（内容ぶんの横幅）だけを制御する。 */
.med-action .app-button {
  width: auto;
  min-width: 96px;
  margin: 0;
  padding: 10px 18px;
  border-radius: 14px;
  white-space: nowrap;
}

.med-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.med-meta form {
  margin: 0;
}

.med-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  white-space: nowrap;
}

.status-icon {
  flex-shrink: 0;
}

.med-status.done {
  color: #2f8f5b;
}

.med-status.pending {
  color: #8a959a;
  font-weight: 600;
}

/* 「済」の取り消し（誤操作からの復帰）。控えめなテキストボタン。 */
.undo-button {
  padding: 4px 8px;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}

.readonly {
  color: #888;
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
}

.med-item a {
  color: #2f7bff;
  text-decoration: none;
  font-weight: 600;
}

.med-title {
  font-weight: 600;
  color: #3d6fd6;
  text-decoration: none;
}

.med-title:hover {
  text-decoration: underline;
}

.detail-label {
  font-size: 0.9rem;
  color: var(--color-text);
  font-weight: 600;
  margin-bottom: 6px;
}

.detail-value {
  font-size: 1.15rem;
  font-weight: 500;
}

.detail-time-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.detail-time-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: solid 1px #ccc;
  background: #f5fbfa;
  padding: 4px 12px;
  border-radius: 8px;
}

.detail-time {
  font-weight: 600;
}

.detail-status {
  color: #2f8f5b;
  font-weight: 600;
}

.detail-status.pending {
  color: #777;
  font-weight: 500;
}

.detail-status.done {
  color: #2f8f5b;
  font-weight: 600;
}

.detail-memo {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

.detail-empty {
  color: #999;
}

/* フォームの項目グループ */
.field {
  margin-bottom: 24px;
}

/* fieldset の既定枠を消して他の項目と揃える */
.time-fieldset {
  border: 0;
  padding: 0;
  min-inline-size: 0;
}

/* 項目名（label / legend 共通） */
.field-label {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
}

.form-note {
  margin-top: 8px;
  color: #777;
  font-size: 0.9rem;
  line-height: 1.6;
}

.form-target-tag {
  color: #3f5f52;
  font-weight: 600;
}

input[type="text"],
input[type="time"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8e2dc;
  border-radius: 10px;
  font-size: 1rem;
  box-sizing: border-box;
}

textarea {
  width: 100%;
  min-height: 100px;
  padding: 12px 14px;
  border: 1px solid #d8e2dc;
  border-radius: 10px;
  font-size: 1rem;
  line-height: 1.5;
  box-sizing: border-box;
  resize: vertical;
}

.time-field {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.time-add-button {
  padding: 10px 14px;
  border: 1px solid #63D98A;
  border-radius: 12px;
  background: #F5FBFA;
  color: #2f8f5b;
  font-weight: 600;
}

.time-remove-button {
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  color: #777;
  font-size: 0.85rem;
  white-space: nowrap;
}

.family-member {
  padding: 16px;
  border: 1px solid #cfe1d8;
  box-shadow: 0 4px 12px rgba(99, 217, 138, 0.08);
  border-radius: 14px;
}

.family-member-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.family-member-name {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.family-member-actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.family-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #eef5f1;
  font-size: 1.4rem;
}

.family-status {
  margin-left: auto;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 88px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef5f1;
  color: #3f5f52;
  font-size: 0.85rem;
  font-weight: 600;
}

.family-link-delete-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 88px;
  padding: 5px 10px;
  border: 1px solid #f0b6b6;
  border-radius: 8px;
  background: white;
  color: #d44;
  font-size: 0.75rem;
  font-weight: 600;
}

.invite-link-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid #cfe1d8;
  border-radius: 14px;
  background: #fff;
}

.invite-link-icon {
  flex-shrink: 0;
  color: #5b7a6a;
}

input.invite-url-field {
  border: none;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.invite-url-field:focus {
  outline: none;
}

.copy-button {
  flex-shrink: 0;
  padding: 8px 10px;
  border: 1px solid #63D98A;
  border-radius: 10px;
  background: #F5FBFA;
  color: #2f8f5b;
  font-weight: 600;
  width: 84px;
  user-select: none;
    -webkit-user-select: none;
}

.app-card>ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.copy-message {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #cfe1d8;
  border-radius: 10px;
  background: #f5fbfa;
  color: #2f8f5b;
  font-size: 0.9rem;
  font-weight: 600;
}

.notification-submit .app-button {
  padding: 10px 16px;
}

.status-message {
  line-height: 1.7;
}

.status-message.connected {
  color: #2f5f47;
  font-weight: 600;
}

.status-message.warning {
  padding: 16px;
  border: 1px solid #f0d9a8;
  border-radius: 16px;
  background: #fff8e8;
  color: #665000;
  font-weight: 600;
}

.setting-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.setting-field {
  margin-top: 16px;
}

/* 再通知が無効のときは「再通知までの時間」をグレーアウト */
.setting-field.is-disabled {
  opacity: 0.5;
}

.setting-select:disabled {
  cursor: not-allowed;
  background: #f2f4f5;
}

.setting-field label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

.setting-select {
  width: 100%;
  padding: 10px 40px 10px 12px;
  border: 1px solid #b8ddd0;
  border-radius: 12px;
  background: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23554029' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 7.5l5 5 5-5'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px 16px;
  color: var(--color-text);
  font: inherit;
  appearance: none;
}

.setting-select:focus {
  outline: none;
  border-color: #7ddfbc;
  box-shadow: 0 0 0 3px rgba(125, 223, 188, 0.2);
}

.app-button-small {
  padding: 8px 14px;
  font-size: 14px;
}

.invite-page .app-card {
  padding: 18px 20px;
}

.invite-page h1 {
  font-size: 36px;
  line-height: 1.3;
  margin: 0 0 24px;
}

.invite-page h2 {
  margin-bottom: 20px;
}

.invite-page p {
  word-break: keep-all;
  line-break: strict;
}

.invite-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.invite-summary {
  font-size: 16px;
}

.invite-summary strong {
  font-size: 18px;
}

.invite-help-text {
  color: #5f6b66;
}

.text-link {
  color: #3f8f73;
  font-weight: 600;
}

.invite-action-card p {
  margin: 10px 0;
}

.invite-action-card h2 {
  margin-bottom: 18px;
}

.invite-action-card .app-button {
  margin-top: 8px;
}

.hamburger-menu {
  position: relative;
}

.hamburger-menu summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  font-size: 24px;
  line-height: 1;
  list-style: none;
  cursor: pointer;
}

.hamburger-menu summary::-webkit-details-marker {
  display: none;
}

.hamburger-menu ul {
  position: absolute;
  top: 36px;
  right: 0;
  z-index: 20;
  width: 220px;
  margin: 0;
  padding: 10px;
  list-style: none;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(47, 58, 63, 0.12);
}

.hamburger-menu a,
.hamburger-menu .logout-btn {
  display: block;
  width: 100%;
  padding: 8px 10px;
  color: var(--color-text);
  text-decoration: none;
  background: transparent;
  border: none;
  font: inherit;
  text-align: left;
}

.logout-btn {
  cursor: pointer;
}

.hamburger-menu details[open] summary {
  font-size: 0;
}

.hamburger-menu details[open] summary::after {
  content: "×";
  font-size: 28px;
}

.site-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #3f5f52;
  margin: 0;
}

/* ヘッダーのおくすリングのワードマーク画像 */
.site-logo {
  display: block;
  height: 24px;
  width: auto;
}

.home-greeting {
  margin: 0 0 16px;
  font-size: 16px;
}

.home-greeting strong {
  font-weight: 700;
}

.home-page h1 {
  margin-top: 0;
}

/* 日付(日めくりカレンダー)＋タイトルの横並び */
.home-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}

.home-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.home-title-icon {
  font-size: 28px;
}

/* 日めくりカレンダー風の日付 */
.daily-calendar {
  flex-shrink: 0;
  width: 56px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: 0 2px 6px rgba(47, 58, 63, 0.1);
  text-align: center;
  line-height: 1;
}

.daily-calendar-month {
  display: block;
  padding: 3px 0;
  background: #ec6a6a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.daily-calendar-day {
  display: block;
  padding: 2px 0 1px;
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text);
}

.daily-calendar-weekday {
  display: block;
  padding-bottom: 4px;
  font-size: 10px;
  color: var(--color-text-secondary);
}

/* カードヘッダー：下線付きの全幅の帯 */
.card-header {
  margin: 0;
  padding: 12px 24px;
  border-bottom: 1px solid var(--color-border);
  font-size: 18px;
}

/* パディングを持つ本文ラッパー（プロース用。リストには使わない） */
.app-card__body {
  padding: 16px 24px;
}

.app-card__body > * + * {
  margin-block-start: 16px;
}

/* カード内のリストは既定のマーカー・字下げを消す */
.app-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

a,
button,
summary {
  transition: transform 0.15s ease;
}

a:active,
button:active,
summary:active,
input[type="submit"]:active {
  transform: scale(0.98);
}

@media (hover: hover) {
  a:hover,
  button:hover,
  summary:hover,
  input[type="submit"]:hover {
    opacity: 0.8;
  }
}

@media (min-width: 768px) {
  .family-member-row {
    width: 100%;
  }

  .family-member-actions {
    margin-left: auto;
    align-items: flex-end;
  }
}

.site-footer {
  margin: 40px auto 24px;
  padding: 0 20px;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 13px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.footer-nav a {
  color: var(--color-text-secondary);
  text-decoration: none;
}

.footer-copy {
  margin: 0;
}

.schedule-delete-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text-secondary);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.logo-tagline {
  color: #5a4436;
  font-weight: 600;
  text-align: center;
  margin: 0 0 40px;
}

.paw {
  margin-left: 2px;
  font-size: 1.1em;
  color: #5a4436;
}
