/* センリョク会員サイト - 共通スタイル */
/* ==================== Layout ==================== */
.container {
  max-width: 1091px;
  margin: 0 auto;
  padding: 0 2rem;
}
.container-wide {
  max-width: 1512px;
  margin: 0 auto;
  padding: 0 2rem;
}
/* ==================== Header ==================== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
}
.header-container {
  max-width: 1512px;
  margin: 0 auto;
  padding: 0 2rem;
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
}
.logo {
  flex-shrink: 0;
}
.logo img {
  height: 1.5rem;
  width: auto;
  object-fit: contain;
}
.nav-desktop {
  display: none;
  flex: 1;
  margin-left: 2rem;
}
.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}
.nav-desktop a {
  font-weight: var(--font-weight-medium);
  font-size: 14px;
  color: var(--foreground);
  white-space: nowrap;
  padding-bottom: 0.125rem;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.nav-desktop a:hover {
  border-bottom-color: rgba(31, 42, 55, 0.4);
}
.nav-desktop a.active {
  border-bottom-color: var(--foreground);
}
.cta-button {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  height: 3rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-weight: var(--font-weight-medium);
  font-size: 14px;
  border-radius: var(--radius);
  transition: opacity 0.2s;
}
.cta-button:hover {
  opacity: 0.95;
}
.hamburger-button {
  display: block;
  background: none;
  border: none;
  color: var(--foreground);
  padding: 0;
  cursor: pointer;
  transition: opacity 0.2s;
}
.hamburger-button:hover {
  opacity: 0.8;
}
.hamburger-button svg {
  width: 24px;
  height: 24px;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 3.5rem;
  right: 0;
  width: 280px;
  height: calc(100vh - 3.5rem);
  background-color: var(--background);
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
  z-index: 50;
  overflow-y: auto;
}
.mobile-menu.active {
  display: block;
}
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(31, 42, 55, 0.5);
  z-index: 40;
}
.mobile-overlay.active {
  display: block;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
}
.mobile-menu ul {
  padding: 1.5rem 0;
  list-style: none;
}
.mobile-menu ul li a {
  display: block;
  padding: 1rem 2rem;
  color: var(--foreground);
  border-bottom: 1px solid rgba(229, 231, 235, 0.2);
  transition: background-color 0.2s;
}
.mobile-menu ul li a:hover {
  background-color: var(--muted);
}
.mobile-menu .mobile-cta {
  padding: 0 1.5rem 1.5rem;
}
.mobile-menu .mobile-cta a {
  display: block;
  width: 100%;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: var(--radius-button);
  text-align: center;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}
.mobile-menu .mobile-cta a:hover {
  opacity: 0.9;
}
/* ==================== Footer ==================== */
footer {
  width: 100%;
  background-color: var(--primary);
  color: white;
}
.footer-container {
  max-width: 1091px;
  margin: 0 auto;
  padding: 3rem 2rem;
}
.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.footer-logo img {
  height: 1.75rem;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.footer-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  letter-spacing: 0.05em;
}
.footer-section h3 {
  margin-bottom: 0.5rem;
  font-weight: 700;
  font-size: 14px;
}
.footer-section a,
.footer-section p {
  font-size: 14px;
  transition: opacity 0.2s;
}
.footer-section a:hover {
  opacity: 0.8;
}
/* ==================== Page Banner ==================== */
.page-banner {
  width: 100%;
  padding: 2rem 0;
  background-color: var(--muted);
}
.page-banner h1 {
  text-align: center;
  color: var(--foreground);
  letter-spacing: 0.05em;
  line-height: 100%;
  font-weight: var(--font-weight-bold);
}
/* ==================== Cards ==================== */
.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  transition: box-shadow 0.3s;
}
.card:hover {
  box-shadow: var(--elevation-sm);
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--card);
  border: 2px solid #88B096;
  border-radius: var(--radius);
  padding: 2.5rem;
  height: 280px;
  transition: box-shadow 0.3s;
}
.service-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.service-card .icon {
  margin-bottom: 2rem;
  height: 4rem;
  width: 4rem;
}
.service-card .icon img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0.7;
}
.service-card h2 {
  margin-bottom: 1.5rem;
  text-align: center;
  white-space: pre-wrap;
  font-weight: var(--font-weight-bold);
  font-size: var(--text-lg);
}
.service-card p {
  text-align: center;
  color: #2a313c;
  letter-spacing: 0.04em;
  white-space: pre-wrap;
  max-width: 240px;
  line-height: 1.6;
  font-size: var(--text-sm);
}
.service-card .arrow {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 3rem;
  height: 3rem;
}
/* ==================== Buttons ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: var(--radius-button);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
  cursor: pointer;
  border: none;
}
.btn:hover { opacity: 0.9; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}
.btn-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  border: 2px solid var(--border);
}
.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
/* ==================== Forms ==================== */
.form-group { margin-bottom: 1.5rem; }
.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.04em;
}
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--input-background);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  letter-spacing: 0.05em;
  transition: border-color 0.2s;
}
.form-input:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 2px rgba(47, 74, 63, 0.1);
}
.form-error {
  margin-top: 0.5rem;
  font-size: var(--text-sm);
  color: var(--destructive);
  letter-spacing: 0.04em;
}
.form-success {
  margin-top: 0.5rem;
  font-size: var(--text-sm);
  color: var(--primary);
  letter-spacing: 0.04em;
}
/* ==================== Accordion (FAQ) ==================== */
.accordion {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-header {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s;
}
.accordion-header:hover {
  background-color: rgba(107, 114, 128, 0.05);
}
.accordion-icon {
  flex-shrink: 0;
  margin-top: 0.25rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: white;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
}
.accordion-icon.answer { background-color: #88B096; }
.accordion-question {
  flex: 1;
  color: var(--foreground);
  letter-spacing: 0.05em;
  font-weight: var(--font-weight-bold);
}
.accordion-toggle {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--muted-foreground);
  transition: transform 0.2s;
}
.accordion-toggle.active { transform: rotate(180deg); }
.accordion-body {
  display: none;
  padding: 0 1.5rem 1.5rem 1.5rem;
}
.accordion-body.active { display: block; }
.accordion-answer {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.accordion-answer-text {
  flex: 1;
  color: var(--foreground);
  letter-spacing: 0.05em;
  font-size: var(--text-base);
  line-height: 1.75;
}
/* ==================== Grid Layout ==================== */
.grid {
  display: grid;
  gap: 2rem;
}
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* ==================== Responsive Design ==================== */
@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .cta-button { display: flex; }
  .hamburger-button { display: none; }
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    gap: 4rem;
  }
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/* ==================== Utility Classes ==================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-12 > * + * { margin-top: 3rem; }
.space-y-16 > * + * { margin-top: 4rem; }
.hidden { display: none; }
/* ==================== Single Post ==================== */
.single-post-date {
  color: var(--muted-foreground);
  font-size: var(--text-sm);
  margin-bottom: 0.75rem;
}
.single-post-title {
  font-size: 28px;
  font-weight: var(--font-weight-bold);
  line-height: 1.4;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.single-post-content {
  color: var(--foreground);
  line-height: 1.8;
  font-size: var(--text-base);
}
.single-post-content p { margin-bottom: 1.25rem; }
.single-post-content a {
  color: var(--primary);
  text-decoration: underline;
}
.single-post-content img {
  max-width: 100%;
  height: auto;
}
.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
  font-weight: var(--font-weight-bold);
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}
.single-post-content h2 { font-size: 22px; }
.single-post-content h3 { font-size: 18px; }
.single-post-content h4 { font-size: 16px; }
.single-post-content ul,
.single-post-content ol {
  margin: 1rem 0 1.25rem 1.5rem;
}
.single-post-content ul { list-style: disc; }
.single-post-content ol { list-style: decimal; }
/* ==================== Banner Card ==================== */
.banner-card {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: auto;
  transition: box-shadow 0.3s;
  border: 2px solid #88B096;
}
.banner-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.banner-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  position: static;
}
@media (min-width: 900px) {
  .banner-card {
    height: 280px;
  }
  .banner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
  }
}