/* =============================================================================
   Component
   ============================================================================= */


/* --------------------------------------------------
   c-header
   -------------------------------------------------- */

.c-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.c-header--scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.c-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.c-header__logo-area {
  display: flex;
  align-items: center;
}

.c-header__logo-link {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.c-header__logo {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-accent);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.c-header--scrolled .c-header__logo {
  color: inherit;
  text-shadow: none;
}

.c-header__tagline {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.3;
  display: none;
}

@media (min-width: 768px) {
  .c-header__tagline {
    display: block;
  }
}

.c-header__logo-img {
  max-height: 36px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .c-header__logo-img {
    max-height: 28px;
  }
}

.c-header__icon {
  font-size: 1.5rem;
  color: var(--color-accent);
}

.c-header__nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.c-header__tel {
  display: none;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  color: inherit;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
  .c-header__tel {
    display: flex;
  }
}

.c-header--scrolled .c-header__tel {
  color: inherit;
  text-shadow: none;
}

.c-header__tel-icon {
  margin-right: 0.5rem;
  color: var(--color-accent);
}

/* WordPress カスタムロゴ（クラス名は WordPress が自動生成） */
.custom-logo-link {
  display: flex;
  align-items: center;
}

.custom-logo-link img,
.custom-logo {
  max-height: 48px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .custom-logo-link img,
  .custom-logo {
    max-height: 36px;
  }
}


/* --------------------------------------------------
   c-btn
   -------------------------------------------------- */

.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
  cursor: pointer;
  border: none;
}

.c-btn--primary {
  background-color: var(--color-accent);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.c-btn--primary:hover {
  opacity: 0.9;
}

.c-btn--tel {
  padding: 1.25rem 3rem;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  background-color: var(--color-accent);
  color: #fff;
}

.c-btn--tel:hover {
  transform: scale(1.05);
}

.c-btn--tel-icon {
  margin-right: 0.75rem;
}

.c-btn--outline {
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  font-size: 1.125rem;
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  margin-top: 1rem;
}

.c-btn--outline:hover {
  transform: scale(1.05);
}

.c-btn--outline-icon {
  margin-right: 0.75rem;
}

.c-btn--tel-pink {
  background-color: #f2a2c0;
  color: #fff;
  padding: 1.5rem;
  border-radius: 9999px;
  font-size: 1.5rem;
  font-weight: 900;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  width: 100%;
}

.c-btn--tel-pink:hover {
  transform: scale(1.05);
}

.c-btn--tel-pink-icon {
  margin-right: 1rem;
}

/* シャインアニメーション修飾子 */
.c-btn--shine {
  position: relative;
  overflow: hidden;
}

.c-btn--shine::before {
  content: "";
  position: absolute;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.85));
  width: 40px;
  height: 40px;
  top: -50px;
  left: -50px;
  animation: shine-run 5s ease-in infinite;
}

@keyframes shine-run {
  0% {
    transform: scale(0) rotate(50deg);
    opacity: 0;
  }
  40% {
    transform: scale(1) rotate(50deg);
    opacity: 1;
  }
  100% {
    transform: scale(220) rotate(50deg);
    opacity: 0;
  }
}


/* --------------------------------------------------
   c-icon
   -------------------------------------------------- */

.c-icon--shimmer {
  animation: icon-pulse 3.6s ease-in-out infinite;
}

.c-icon--shimmer-delay1 {
  animation-delay: 1.2s;
}

.c-icon--shimmer-delay2 {
  animation-delay: 2.4s;
}

@keyframes icon-pulse {
  0%, 60%, 100% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.15);
  }
}


/* --------------------------------------------------
   c-float-tel
   -------------------------------------------------- */

.c-float-tel {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 50;
}

@media (min-width: 768px) {
  .c-float-tel {
    display: none;
  }
}

.c-float-tel__btn {
  width: 4rem;
  height: 4rem;
  background-color: var(--color-accent);
  color: #fff;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  font-size: 1.5rem;
  text-decoration: none;
  animation: float-bounce 1s infinite;
}

@keyframes float-bounce {
  0%, 100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: none;
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}


/* --------------------------------------------------
   c-article（index.php）
   -------------------------------------------------- */

.c-article {
  margin-bottom: 2rem;
}

.c-article__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.c-article__date {
  font-size: 0.875rem;
  color: #9ca3af;
  margin-bottom: 1rem;
}

.c-article__thumbnail {
  margin-bottom: 2rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.c-article__thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

.c-article__body {
  line-height: 1.875;
  color: var(--color-text);
}

.c-article__body p {
  margin-bottom: 1.5rem;
}

.c-article__body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.c-article__body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.c-article__body img {
  max-width: 100%;
  height: auto;
}

.c-article__body ul,
.c-article__body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.c-article__body li {
  margin-bottom: 0.5rem;
}
