/* Per-page --tint is set via inline style on .page-content */

/* ==========================================================================
   1. CSS Custom Properties
   ========================================================================== */

:root {
  /* Colors */
  --accent: #635440;
  --ink: #2d2d2d;
  --btn-bg: #fd8bcb;
  --btn-text: #2d2d2d;
  --beige: #f0e8dc;
  --bg-page: #F6EFE2;
  --bg: #ffffff;
  --border: #e0d6ca;
  --tint-blue: #d9eef5;
  --cta-bg: #fceaef;

  /* Fonts */
  --font-main: 'M PLUS Rounded 1c', sans-serif;
  --font-weight-normal: 400;
  --font-weight-bold: 700;

  /* Font sizes */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 80px;
  --content-padding: 24px;

  /* Layout */
  --max-width: 1040px;
  --breakpoint: 600px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
}

/* ==========================================================================
   2. Reset / Base
   ========================================================================== */

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  font-weight: var(--font-weight-normal);
  color: var(--ink);
  background: var(--bg-page);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--btn-bg);
}

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   3. Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  color: var(--accent);
  line-height: 1.4;
}

p + p {
  margin-top: 1em;
}

/* ==========================================================================
   4. Layout
   ========================================================================== */

.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-content {
  flex: 1;
  width: 100%;
}

.inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--content-padding);
  padding-right: var(--content-padding);
}

/* ==========================================================================
   5. Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  gap: 16px;
}

/* Logo */
.header-logo {
  flex-shrink: 0;
  margin-right: auto;
}

.header-logo a {
  display: block;
}

.header-logo img {
  height: 48px;
  width: auto;
}

/* Right group (nav + sub-nav buttons) */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* Main nav (5 icon + text items) */
.main-nav {
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.main-nav li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.main-nav li a:hover {
  background: #fbf6ef;
}

.main-nav li a .nav-icon {
  height: 34px;
  width: auto;
  margin-bottom: 3px;
}

.main-nav li a .nav-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.3;
  white-space: nowrap;
}

/* Sub nav (FAQ / Contact pill buttons) */
.sub-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sub-nav a {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 20px;
  padding: 5px 18px;
  text-align: center;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  letter-spacing: 0.08em;
}

.sub-nav a:hover {
  background: var(--accent);
  color: var(--bg);
}

/* Hamburger (SP only) */
.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  position: absolute;
  left: 9px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger span:nth-child(1) { top: 12px; }
.hamburger span:nth-child(2) { top: 19px; }
.hamburger span:nth-child(3) { top: 26px; }

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay + slide panel */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 200;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: var(--bg);
  padding: 70px 20px 30px;
  overflow-y: auto;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

.mobile-nav-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--accent);
  line-height: 1;
}

.mobile-nav-list li {
  border-bottom: 1px solid var(--border);
}

.mobile-nav-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 8px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
}

.mobile-nav-list li a:hover {
  background: #fbf6ef;
}

.mobile-nav-list li a .mob-icon {
  width: 40px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.mobile-nav-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.mobile-nav-buttons a {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 20px;
  padding: 10px 18px;
  text-align: center;
}

/* Header responsive: 1000px breakpoint (header-specific / 2026-09-03 900→1000, 改修#18ナビ6項目化) */
@media (max-width: 1000px) {
  .header-right { display: none; }
  .hamburger { display: block; }
}

@media (min-width: 1001px) {
  .mobile-nav { display: none; }
}

/* --- Simple header (for faq, contact, news) --- */
.simple-header {
  text-align: center;
  padding: var(--space-xl) var(--content-padding) var(--space-lg);
  background: var(--bg-page);
}

.simple-header__breadcrumb {
  font-size: var(--fs-sm);
  color: var(--accent);
  margin-bottom: var(--space-xs);
}

.simple-header__title {
  font-size: var(--fs-xl);
  font-weight: var(--font-weight-bold);
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.simple-header__lead {
  font-size: var(--fs-base);
  color: var(--ink);
  max-width: 600px;
  margin: 0 auto;
}

.simple-header__date {
  font-size: var(--fs-base);
  color: var(--ink);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   7. Section Common
   ========================================================================== */

.sec {
  padding: var(--space-lg) 0;
}

.sec--tint {
  background: var(--tint, var(--beige));
}

.sec--beige {
  background: var(--beige);
}

.sec__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 50px 60px;
  background: var(--bg);
  border-radius: var(--radius-md);
}

/* Section label (h2 equivalent with leaf icon) */
.sec-label {
  display: flex;
  align-items: center;
gap: 12px;
  font-size: var(--fs-xl);
  font-weight: var(--font-weight-bold);
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.sec-label__icon {
  xwidth: 34px;                    /* ← 24px から変更 */
  height: 46px;                   /* ← 24px から変更 */
  flex-shrink: 0;
}

/* ==========================================================================
   8. Components
   ========================================================================== */

/* --- Card grid --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.card-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.card__photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__body {
  padding: var(--space-sm);
}

.card__title {
  font-size: var(--fs-lg);
  font-weight: var(--font-weight-bold);
  color: var(--accent);
  margin-bottom: var(--space-xs);
}

.card__text {
  font-size: var(--fs-base);
  color: var(--ink);
}

@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
  .card-grid--2col {
    grid-template-columns: 1fr;
  }
  .card__title {
    font-size: var(--fs-base);
  }
}

/* --- Top page: News list --- */
.news-list {
  border-top: 1px solid var(--border);
}

.news-list__item {
  border-bottom: 1px solid var(--border);
}

.news-list__item a {
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  color: var(--ink);
  transition: color 0.2s;
}

.news-list__item a:hover {
  color: var(--btn-bg);
}

.news-list__date {
  flex-shrink: 0;
  font-size: var(--fs-sm);
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.news-list__title {
  font-size: var(--fs-base);
  font-weight: var(--font-weight-bold);
}

@media (max-width: 600px) {
  .news-list__item a {
    flex-direction: column;
    gap: 4px;
  }
}

/* --- Card horizontal (photo + text, alternating) --- */
.card-h-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg) var(--space-md);
}

.card-h {
  --ch-radius-lg: 30px;
  --ch-radius-md: 20px;
  --ch-radius-sm: 10px;
  display: flex;
  gap: var(--space-sm);
  background: transparent;
  border-radius: 0;
}

.card-h__photo {
  flex: 0 0 216px;
  aspect-ratio: 1 / 1;
  border-radius: var(--ch-radius-lg);
  overflow: hidden;
}

.card-h__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-h__body {
  flex: 1 1 0;
  min-width: 0;
  background: var(--tint);
  border-radius: var(--ch-radius-sm) var(--ch-radius-lg) var(--ch-radius-sm) var(--ch-radius-lg);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-h__title {
  font-size: var(--fs-lg);
  font-weight: var(--font-weight-bold);
  color: var(--accent);
  margin-bottom: var(--space-xs);
}

.card-h__text {
  font-size: var(--fs-base);
  color: var(--ink);
}

@media (max-width: 600px) {
  .card-h-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .card-h {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    background: var(--tint);
    padding: var(--space-sm);
    min-height: 175px;
    border-radius: var(--ch-radius-lg) var(--ch-radius-lg) var(--ch-radius-sm) var(--ch-radius-lg);
  }

  .card-h:nth-child(even) {
    flex-direction: row-reverse;
    border-radius: var(--ch-radius-lg) var(--ch-radius-lg) var(--ch-radius-lg) var(--ch-radius-sm);
  }

  .card-h__photo {
    flex: 0 0 120px;
    aspect-ratio: 1 / 1;
    border-radius: var(--ch-radius-md);
  }

  .card-h__body {
    background: none;
    padding: 0;
    border-radius: 0;
  }

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

  .card-h__text {
    line-height: 1.6;
  }
}

/* --- Care item (childcare support card) --- */
.care-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.care-item {
  background: var(--tint, var(--beige));
  padding: var(--space-md);
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

/* Uneven border-radius: odd and even alternate */
.care-item:nth-child(odd) {
  border-radius: 32px 8px 32px 8px;
}

.care-item:nth-child(even) {
  border-radius: 8px 32px 8px 32px;
}

.care-item__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.care-item__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.care-item__body {
  flex: 1;
}

.care-item__title {
  font-size: var(--fs-lg);
  font-weight: var(--font-weight-bold);
  color: var(--accent);
  margin-bottom: var(--space-xs);
}

.care-item__text {
  font-size: var(--fs-base);
  color: var(--ink);
}

@media (max-width: 600px) {
  .care-grid {
    grid-template-columns: 1fr;
  }
  .care-item__title {
    font-size: var(--fs-base);
  }
}

/* --- CTA box --- */
.cta-box {
  background: var(--cta-bg);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.cta-box:not(:first-child) {
  margin-top: var(--space-lg);
}

.cta-box__elephant {
  flex: 0 0 30%;
  display: flex;
  justify-content: center;
}

.cta-box__elephant-img {
  max-width: 100%;
  height: auto;
}

.cta-box__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-box__title {
  font-size: var(--fs-lg);
  font-weight: var(--font-weight-bold);
  color: var(--accent);
  margin-bottom: var(--space-xs);
}

.cta-box__text {
  font-size: var(--fs-base);
  margin-bottom: var(--space-md);
}

.cta-box__tel {
  font-size: var(--fs-base);
  color: var(--ink);
  opacity: 0.7;
  margin-top: var(--space-sm);
}

.cta-box__tel a {
  text-decoration: none;
  color: inherit;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-size: var(--fs-base);
  font-weight: var(--font-weight-bold);
  border-radius: var(--radius-pill);
  text-align: center;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.85;
  color: var(--btn-text);
}

.cta-box .btn {
  font-size: var(--fs-base);
}

/* --- Utilities --- */
.u-mt-md {
  margin-top: var(--space-md);
}

.u-center {
  text-align: center;
}

/* --- Form section (CF7 wrapper) --- */
.form-section {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
}

.form-section:not(:first-child) {
  margin-top: var(--space-lg);
}

.form-section__title {
  font-size: var(--fs-lg);
  font-weight: var(--font-weight-bold);
  color: var(--accent);
  margin-bottom: var(--space-md);
  text-align: center;
}

.form-section__body input[type="text"],
.form-section__body input[type="email"],
.form-section__body input[type="tel"],
.form-section__body input[type="date"],
.form-section__body textarea,
.form-section__body select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: var(--fs-base);
  background: var(--bg);
  color: var(--ink);
}

.form-section__body input:focus,
.form-section__body textarea:focus,
.form-section__body select:focus {
  outline: 2px solid var(--btn-bg);
  outline-offset: 1px;
  border-color: var(--btn-bg);
}

.form-section__body .form-field {
  margin-bottom: var(--space-md);
}

.form-section__body .form-label {
  font-size: var(--fs-sm);
  color: var(--ink);
  margin-bottom: 6px;
}

.form-section__body .required {
  font-size: var(--fs-xs);
  background: var(--btn-bg);
  color: var(--btn-text);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  margin-right: var(--space-xs);
}

.form-section__body .radio-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-section__body .wpcf7-submit {
  display: block;
  margin: var(--space-md) auto 0;
  padding: 14px 48px;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-size: var(--fs-base);
  font-weight: var(--font-weight-bold);
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: opacity 0.2s;
}

.form-section__body .wpcf7-submit:hover {
  opacity: 0.85;
}

.form-section__placeholder {
  text-align: center;
  color: var(--accent);
}

/* ==========================================================================
   9. Footer
   ========================================================================== */

.site-footer {
  background: var(--bg-page);
  padding: var(--space-xl) 0 0;
}

.site-footer__catch .footer-catch-break{ display: none; }

.site-footer__elephant{
  display: block;
  width: 120px;
  height: auto;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-footer__body{
  background: var(--bg);
  margin-top: calc(-1 * var(--space-lg));
  padding: var(--space-xl) 0 var(--space-md);
}

.site-footer__catch {
  text-align: center;
  font-size: var(--fs-md);
  font-weight: var(--font-weight-bold);
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.site-footer__info {
  text-align: center;
  margin-bottom: var(--space-md);
}

.site-footer__name {
  font-size: var(--fs-base);
  font-weight: var(--font-weight-bold);
  color: var(--accent);
  margin-bottom: var(--space-xs);
}

.site-footer__address {
  font-size: var(--fs-sm);
  color: var(--ink);
  line-height: 1.6;
}

.site-footer__nav {
  margin-bottom: var(--space-md);
}

/* PC: separator-joined single line */
.footer-nav-main,
.footer-nav-sub {
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--accent);
  line-height: 2.2;
}

.footer-nav-main a,
.footer-nav-sub a {
  color: var(--accent);
}

.footer-nav-main a:hover,
.footer-nav-sub a:hover {
  color: var(--btn-bg);
}

.footer-nav-main a:not(:last-child)::after,
.footer-nav-sub a:not(:last-child)::after {
  content: '|';
  color: var(--border);
  margin: 0 10px;
}

.site-footer__divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--space-sm) auto;
  max-width: var(--max-width);
  display: none;
}

.site-footer__divider--sub {
  margin: var(--space-xs) auto;
  max-width: 400px;
  display: none;
}

.site-footer__copy {
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--accent);
  opacity: 0.6;
}







/* ==========================================================================
   11. Media queries (SP overrides)
   ========================================================================== */

@media (max-width: 600px) {
  /* Spacing adjustments */
  .sec {
    /* 外周：ベージュ地〜白ブロック間。--space-smと値は一致するが意味が異なるため直値 */
    padding: var(--space-md) 8px;
  }

  .sec__inner {
    padding: 30px 20px;
  }

  .sec-label {
    font-size: var(--fs-lg);
  }

  /* Footer SP */
  .site-footer{ padding-top: var(--space-lg); }
  .site-footer__catch .footer-catch-break{ display: inline; }
  .site-footer__elephant{ width: 80px; }
  .site-footer__body{
    margin-top: calc(-1 * var(--space-md));
    padding-top: calc(var(--space-md) * 2);
  }

  .site-footer__address br.footer-address-break {
    display: none;
  }

  .footer-nav-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xs);
  }

  .footer-nav-main a {
    display: block;
    padding: var(--space-xs) var(--space-xs);
    background: var(--beige);
    border-radius: var(--radius-sm);
    line-height: 1.4;
  }

  .footer-nav-main a:not(:last-child)::after {
    content: none;
  }

  .footer-nav-sub {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    font-size: var(--fs-xs);
    margin-top: var(--space-sm);
  }

  /* CTA SP */
  .cta-box {
    max-width: none;
    flex-direction: column;
  }

  .cta-box__elephant {
    flex: 0 0 auto;
  }

  .cta-box__elephant-img {
    max-width: 120px;
  }

  /* Simple header SP */
  .simple-header {
    padding: var(--space-lg) var(--content-padding) var(--space-md);
  }

}
/*モーダル*/
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.5);
  align-items: center;
  justify-content: center;
}
.modal-overlay.is-open {
  display: flex;
}
.modal {
  background: #fff;
  padding: 24px;
  max-width: 560px;
  width: 90%;
  border-radius: 12px;
}

.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}
.modal__title {
  font-size: var(--fs-lg);
  font-weight: var(--font-weight-bold);
  color: var(--ink);
  margin: 0;
}
.modal__count {
  font-size: var(--fs-sm);
  color: var(--accent);
  margin: 4px 0 0;
}
.modal__close {
  border: 1px solid var(--border);
  background: var(--beige);
  color: var(--ink);
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  font: inherit;
  cursor: pointer;
}
.modal__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.modal__voice {
  border-left: 2px solid var(--border);
  padding-left: var(--space-sm);
}
.modal__voice blockquote {
  margin: 0;
}
.voice-text {
  font-style: italic;
  font-size: var(--fs-base);
  line-height: 1.9;
  color: var(--ink);
  margin: 0 0 var(--space-xs);
}
.voice-attr {
  font-size: var(--fs-sm);
  color: var(--accent);
}
/* ==========================================================================
   Back to Top button (spec 5.16)
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 150;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  box-shadow: 0 4px 16px rgba(99, 84, 64, .3);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
  cursor: pointer;
}

.back-to-top::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  transform: translate(-50%, -35%) rotate(-45deg);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top.is-visible:hover {
  opacity: .85;
}

@media (max-width: 600px) {
  .back-to-top {
    right: 16px;
    bottom: 16px;
  }
}
/* reCAPTCHA v3 バッジを back-to-top の上へ退避（5.16参照） */
.grecaptcha-badge {
  bottom: 80px !important;
}
@media (max-width: 600px) {
  .grecaptcha-badge {
    bottom: 72px !important;
  }
}