/*
 * custom-pages.css
 *
 * Page-specific styles for the Ahiru Block theme.
 * Add .ahiru-* scoped rules here for individual pages
 * (e.g. links, inquiry, privacy, etc.).
 *
 * Loaded on the frontend only via wp_enqueue_style().
 */
.ahiru-link-category {
  display: block;
  padding: 1rem 1.25rem;
  background: linear-gradient(to bottom, #f8fbfc 0%, #e8f3f6 100%);
  border: 1px solid #b7d1d8;
  border-radius: 4px;
  color: #004d66;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.5;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.ahiru-point-box {
  background: #ffffff;
  border: 1px solid #e2e5ea;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  padding: 32px 36px;
}

.ahiru-point-box-inner {
  display: block;
}

.ahiru-point-content {
  width: 100%;
}

.ahiru-point-title {
  margin: 0 0 24px;
  color: #f08b1d;
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.ahiru-point-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ahiru-point-item {
  position: relative;
  padding-left: 22px;
}

.ahiru-point-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 7px;
  height: 7px;
  background: #1a56db;
  border-radius: 50%;
}

.ahiru-point-item-title {
  margin: 0 0 8px;
  color: #1e88e5;
  font-size: 1.1rem;
  line-height: 1.45;
  font-weight: 700;
}

.ahiru-point-item-text {
  margin: 0;
  color: #334155;
  font-size: 0.9rem;
  line-height: 1.9;
}

/* --- News list (shared style for front page & info page) --- */
.wp-block-latest-posts.ahiru-news-section,
.wp-block-query.ahiru-news-section .wp-block-post-template {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 2px solid #3a6da0;
  border-left: 1px solid #e2e5ea;
  border-right: 1px solid #e2e5ea;
  background: #fff;
}

.wp-block-latest-posts.ahiru-news-section li,
.wp-block-query.ahiru-news-section .wp-block-post-template li {
  padding: 14px 16px;
  border-bottom: 1px solid #e2e5ea;
  font-size: 0.9rem;
  line-height: 1.6;
}

.wp-block-latest-posts.ahiru-news-section .wp-block-latest-posts__post-date {
  flex-shrink: 0;
  color: #64748b;
  font-size: 0.82rem;
  white-space: nowrap;
}

.wp-block-latest-posts.ahiru-news-section li a,
.wp-block-query.ahiru-news-section .wp-block-post-title a {
  color: #1e293b;
  text-decoration: none;
}

.wp-block-latest-posts.ahiru-news-section li a:hover,
.wp-block-query.ahiru-news-section .wp-block-post-title a:hover {
  color: #1a56db;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .wp-block-latest-posts.ahiru-news-section li,
  .wp-block-query.ahiru-news-section .wp-block-post-template li .wp-block-group {
    flex-direction: column;
    gap: 4px;
  }
}

/* --- Link page accordion --- */
.ahiru-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 2px solid #3a6da0;
}

.ahiru-accordion details {
  border-bottom: 1px solid #e2e5ea;
  border-left: 1px solid #e2e5ea;
  border-right: 1px solid #e2e5ea;
  background: #fff;
}

.ahiru-accordion summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  color: #004d66;
  background: linear-gradient(to bottom, #f8fbfc 0%, #e8f3f6 100%);
  list-style: none;
  user-select: none;
}

.ahiru-accordion summary::-webkit-details-marker {
  display: none;
}

.ahiru-accordion summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: 1px solid #b7d1d8;
  border-radius: 3px;
  background: #fff;
  color: #3a6da0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.ahiru-accordion details[open] > summary::before {
  content: "\2212";
}

.ahiru-accordion summary:hover {
  background: linear-gradient(to bottom, #edf4f7 0%, #d8eaef 100%);
}

.ahiru-accordion .ahiru-accordion-body {
  padding: 16px 20px 20px;
  font-size: 0.88rem;
  line-height: 1.8;
  color: #334155;
  border-top: 1px solid #e2e5ea;
}

.ahiru-accordion .ahiru-accordion-body p {
  margin: 0 0 12px;
}

.ahiru-accordion .ahiru-accordion-body p:last-child {
  margin-bottom: 0;
}

.ahiru-accordion .ahiru-link-office {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #d0d5dd;
}

.ahiru-accordion .ahiru-link-office:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.ahiru-accordion .ahiru-link-office-name {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
}

.ahiru-accordion .ahiru-link-office-desc {
  margin: 0 0 8px;
  font-size: 0.85rem;
  color: #64748b;
}

.ahiru-accordion .ahiru-link-office-info {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.7;
  color: #334155;
}

/* --- Contact telephone banner --- */
.ahiru-contact-tel {
  background: #e2eef6;
  border: 1px solid #c8dce8;
  border-radius: 8px;
  padding: 20px 24px;
  text-align: center;
}

.ahiru-contact-tel-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #334155;
}

.ahiru-contact-tel-number {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #1e293b;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}

.ahiru-contact-tel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(180deg, #e8f4fc 0%, #b0d4ec 100%);
  border: 1px solid #8cbdd8;
  border-radius: 50%;
  flex-shrink: 0;
}

.ahiru-contact-tel-icon svg {
  width: 18px;
  height: 18px;
  fill: #2a7ab5;
}

/* --- Senior Life Salon banner (front page) --- */
.ahiru-salon-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 680px;
  margin: 0 auto;
  padding: 24px 28px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1px solid #fed7aa;
  border-left: 5px solid #f7941d;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.15s;
}

.ahiru-salon-banner:hover {
  box-shadow: 0 6px 20px rgba(247, 148, 29, 0.18);
  transform: translateY(-2px);
}

.ahiru-salon-banner-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
}

.ahiru-salon-banner-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ahiru-salon-banner-body {
  flex: 1;
  min-width: 0;
}

.ahiru-salon-banner-title {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #c2410c;
  line-height: 1.4;
}

.ahiru-salon-banner-desc {
  margin: 0 0 10px;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.6;
}

.ahiru-salon-banner-cta {
  display: inline-block;
  padding: 6px 20px;
  background: #f7941d;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 20px;
  line-height: 1;
}

.ahiru-salon-banner:hover .ahiru-salon-banner-cta {
  background: #e8850a;
}

@media (max-width: 480px) {
  .ahiru-salon-banner {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 16px;
  }
}

/* --- Senior Life Salon page --- */
.ahiru-salon {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.ahiru-salon-header {
  background: linear-gradient(135deg, #f7941d 0%, #e8650a 100%);
  border-radius: 12px;
  padding: 28px 24px 20px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.ahiru-salon-badge {
  display: inline-block;
  background: #d32f2f;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.ahiru-salon-subtitle {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.ahiru-salon-title {
  margin: 0;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1.3;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.15);
}

.ahiru-salon-title small {
  font-size: 1.1rem;
  font-weight: 700;
}

.ahiru-salon-lead {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 28px;
}

.ahiru-salon-tags {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}

.ahiru-salon-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.3;
}

/* Row 1: light gray-green → green → green */
.ahiru-salon-tag.c01 { background: #a8b88e; }
.ahiru-salon-tag.c02 { background: #4caf50; }
.ahiru-salon-tag.c03 { background: #43a047; }
/* Row 2: green → green → yellow-green */
.ahiru-salon-tag.c04 { background: #66bb6a; }
.ahiru-salon-tag.c05 { background: #2e7d32; }
.ahiru-salon-tag.c06 { background: #8bc34a; color: #1e293b; }
/* Row 3: light green → yellow-green */
.ahiru-salon-tag.c07 { background: #81c784; }
.ahiru-salon-tag.c08 { background: #cddc39; color: #1e293b; }
/* Row 4: green → yellow */
.ahiru-salon-tag.c09 { background: #66bb6a; }
.ahiru-salon-tag.c10 { background: #c6d44a; color: #1e293b; }
/* Row 5: green-cyan → yellow-green */
.ahiru-salon-tag.c11 { background: #4db6ac; }
.ahiru-salon-tag.c12 { background: #d4e157; color: #1e293b; }
/* Center left: cyan → blue */
.ahiru-salon-tag.c13 { background: #26c6da; }
.ahiru-salon-tag.c14 { background: #42a5f5; }
/* Center right: orange → orange */
.ahiru-salon-tag.c15 { background: #ffa726; color: #1e293b; }
.ahiru-salon-tag.c16 { background: #ff9800; color: #1e293b; }
/* Left: blue → purple */
.ahiru-salon-tag.c17 { background: #5c6bc0; }
.ahiru-salon-tag.c18 { background: #9575cd; }
/* Right: orange-deep → pink */
.ahiru-salon-tag.c19 { background: #ef6c00; }
.ahiru-salon-tag.c20 { background: #f48fb1; }
/* Bottom row 1: purple → green → salmon */
.ahiru-salon-tag.c21 { background: #7e57c2; }
.ahiru-salon-tag.c22 { background: #66bb6a; }
.ahiru-salon-tag.c23 { background: #e57373; }
/* Bottom row 2: magenta → magenta → pink */
.ahiru-salon-tag.c24 { background: #ab47bc; }
.ahiru-salon-tag.c25 { background: #ec407a; }
.ahiru-salon-tag.c26 { background: #ef5350; }
.ahiru-salon-tag.c27 { background: #ff7043; }

.ahiru-salon-center {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
}

.ahiru-salon-center-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ahiru-salon-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 180px;
}

.ahiru-salon-logo img {
  width: 140px;
  height: auto;
}

.ahiru-salon-company {
  font-size: 0.78rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.ahiru-salon-company strong {
  display: block;
  font-size: 0.88rem;
  color: #1e293b;
  margin-bottom: 2px;
}

@media (max-width: 480px) {
  .ahiru-salon-tags {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .ahiru-salon-tag {
    font-size: 0.8rem;
    padding: 8px 6px;
  }

  .ahiru-salon-center {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ahiru-salon-center-side {
    flex-direction: row;
    justify-content: center;
    gap: 8px;
  }

  .ahiru-salon-center-side .ahiru-salon-tag {
    flex: 1;
  }

  .ahiru-salon-logo {
    margin: 8px auto;
  }

  .ahiru-salon-title {
    font-size: 1.4rem;
  }
}

/* --- Senior Life Salon Nishioka — contact form section --- */
.ahiru-salon-section-title {
  position: relative;
  max-width: 700px;
  margin: 0 auto 16px;
  padding-left: 16px;
  font-size: 1.35rem;
  font-weight: 700;
  color: #c2410c;
  line-height: 1.4;
  text-align: left;
}

.ahiru-salon-section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  bottom: 0.25em;
  width: 5px;
  background: linear-gradient(180deg, #f7941d 0%, #e8650a 100%);
  border-radius: 3px;
}

.ahiru-salon-form {
  max-width: 700px;
  margin: 24px auto 0;
  padding: 28px 24px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border-radius: 12px;
  border: 1px solid #fed7aa;
  text-align: left;
}

.ahiru-salon-form .wpcf7 {
  max-width: 640px;
  margin: 0 auto;
}

.ahiru-salon-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #c2410c;
  margin-bottom: 4px;
}

.ahiru-salon-form input[type="text"],
.ahiru-salon-form input[type="email"],
.ahiru-salon-form input[type="tel"],
.ahiru-salon-form select,
.ahiru-salon-form textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 0.95rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
}

.ahiru-salon-form input:focus,
.ahiru-salon-form select:focus,
.ahiru-salon-form textarea:focus {
  outline: none;
  border-color: #f7941d;
  box-shadow: 0 0 0 3px rgba(247, 148, 29, 0.2);
}

.ahiru-salon-form .wpcf7-submit {
  display: inline-block;
  width: auto;
  padding: 12px 40px;
  background: #e8650a;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s;
}

.ahiru-salon-form .wpcf7-submit:hover {
  background: #c2410c;
}

@media (max-width: 900px) {
  .ahiru-point-box {
    padding: 24px 20px;
  }

  .ahiru-point-list {
    gap: 20px;
  }

  .ahiru-point-item {
    padding-left: 18px;
  }
}

/* --- Life Support Salon banner (front page) --- */
.ahiru-lifesupport-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 680px;
  margin: 0 auto;
  padding: 24px 28px;
  background: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%);
  border: 1px solid #a5f3fc;
  border-left: 5px solid #0ea5b5;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.15s;
}

.ahiru-lifesupport-banner:hover {
  box-shadow: 0 6px 20px rgba(14, 165, 181, 0.18);
  transform: translateY(-2px);
}

.ahiru-lifesupport-banner-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(14, 165, 181, 0.12);
}

.ahiru-lifesupport-banner-icon svg {
  width: 44px;
  height: 44px;
  fill: #0ea5b5;
}

.ahiru-lifesupport-banner-body {
  flex: 1;
  min-width: 0;
}

.ahiru-lifesupport-banner-title {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #0e7490;
  line-height: 1.4;
}

.ahiru-lifesupport-banner-desc {
  margin: 0 0 10px;
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.6;
}

.ahiru-lifesupport-banner-cta {
  display: inline-block;
  padding: 6px 20px;
  background: #0ea5b5;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 20px;
  line-height: 1;
}

.ahiru-lifesupport-banner:hover .ahiru-lifesupport-banner-cta {
  background: #0c8ea0;
}

@media (max-width: 480px) {
  .ahiru-lifesupport-banner {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 16px;
  }
}

/* --- Life Support Salon page --- */
.ahiru-lifesupport {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.ahiru-lifesupport-hero {
  text-align: center;
  padding: 48px 24px;
  margin-bottom: 48px;
  background: linear-gradient(135deg, #ecfeff 0%, #cffafe 60%, #bae6fd 100%);
  border-radius: 16px;
}

.ahiru-lifesupport-hero-badge {
  display: inline-block;
  padding: 4px 14px;
  background: #0ea5b5;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 999px;
  margin-bottom: 16px;
}

.ahiru-lifesupport-hero-title {
  margin: 0 0 12px;
  font-size: 2rem;
  font-weight: 800;
  color: #0e7490;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.ahiru-lifesupport-hero-tagline {
  margin: 0;
  font-size: 1.05rem;
  color: #155e75;
  line-height: 1.8;
  font-weight: 500;
}

.ahiru-lifesupport-section {
  margin-bottom: 48px;
}

.ahiru-lifesupport-section-title {
  position: relative;
  margin: 0 0 20px;
  padding-left: 16px;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0e7490;
  line-height: 1.4;
}

.ahiru-lifesupport-section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  bottom: 0.25em;
  width: 5px;
  background: linear-gradient(180deg, #0ea5b5 0%, #22d3ee 100%);
  border-radius: 3px;
}

.ahiru-lifesupport-section p {
  margin: 0 0 14px;
  font-size: 0.98rem;
  line-height: 1.9;
  color: #334155;
}

.ahiru-lifesupport-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.ahiru-lifesupport-pillar {
  padding: 20px 18px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-top: 4px solid #0ea5b5;
  border-radius: 10px;
}

.ahiru-lifesupport-pillar-title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #0e7490;
}

.ahiru-lifesupport-pillar-desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: #475569;
}

.ahiru-lifesupport-profile {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: #f8fafc;
  border-radius: 12px;
  border-left: 4px solid #0ea5b5;
}

.ahiru-lifesupport-profile-body {
  flex: 1;
}

.ahiru-lifesupport-profile-body p {
  margin: 0 0 12px;
}

.ahiru-lifesupport-profile-body p:last-child {
  margin-bottom: 0;
}

.ahiru-lifesupport-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.ahiru-lifesupport-tag {
  display: inline-block;
  padding: 4px 12px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 999px;
}

/* Event list (within page) */
.ahiru-lifesupport-events .wp-block-post-template {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.ahiru-lifesupport-events .wp-block-post-template > li {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #0ea5b5;
  border-radius: 10px;
  transition: box-shadow 0.15s, transform 0.15s;
}

.ahiru-lifesupport-events .wp-block-post-template > li:hover {
  box-shadow: 0 4px 14px rgba(14, 165, 181, 0.12);
  transform: translateY(-1px);
}

.ahiru-lifesupport-events .wp-block-post-title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
}

.ahiru-lifesupport-events .wp-block-post-title a {
  color: #0e7490;
  text-decoration: none;
}

.ahiru-lifesupport-events .wp-block-post-title a:hover {
  text-decoration: underline;
}

.ahiru-lifesupport-events .wp-block-post-date {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 6px;
}

.ahiru-lifesupport-events .wp-block-post-excerpt {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #475569;
  margin: 0;
}

.ahiru-lifesupport-events-empty {
  padding: 24px;
  text-align: center;
  background: #f8fafc;
  border-radius: 10px;
  color: #64748b;
  font-size: 0.92rem;
}

/* Form area */
.ahiru-lifesupport-form {
  padding: 28px 24px;
  background: linear-gradient(135deg, #f0f9ff 0%, #ecfeff 100%);
  border-radius: 12px;
  border: 1px solid #bae6fd;
}

.ahiru-lifesupport-form .wpcf7 {
  max-width: 640px;
  margin: 0 auto;
}

.ahiru-lifesupport-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0e7490;
  margin-bottom: 4px;
}

.ahiru-lifesupport-form input[type="text"],
.ahiru-lifesupport-form input[type="email"],
.ahiru-lifesupport-form input[type="tel"],
.ahiru-lifesupport-form select,
.ahiru-lifesupport-form textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 0.95rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
}

.ahiru-lifesupport-form input:focus,
.ahiru-lifesupport-form select:focus,
.ahiru-lifesupport-form textarea:focus {
  outline: none;
  border-color: #0ea5b5;
  box-shadow: 0 0 0 3px rgba(14, 165, 181, 0.15);
}

.ahiru-lifesupport-form .wpcf7-submit {
  display: inline-block;
  width: auto;
  padding: 12px 40px;
  background: #0ea5b5;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s;
}

.ahiru-lifesupport-form .wpcf7-submit:hover {
  background: #0c8ea0;
}

@media (max-width: 640px) {
  .ahiru-lifesupport-pillars {
    grid-template-columns: 1fr;
  }

  .ahiru-lifesupport-hero-title {
    font-size: 1.5rem;
  }

  .ahiru-lifesupport-profile {
    padding: 18px;
  }
}

/* --- 会社概要: 取り扱い商品グリッド --- */
.ahiru-sec-title {
  position: relative;
  margin: 40px 0 20px;
  padding-left: 14px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e3a5f;
  line-height: 1.5;
}

.ahiru-sec-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 4px;
  background: #2a7ab5;
  border-radius: 2px;
}

.ahiru-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.ahiru-product-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  padding: 14px 12px;
  background: linear-gradient(180deg, #f0f7fc 0%, #e1eef9 100%);
  border: 1px solid #c7def0;
  border-radius: 8px;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e3a5f;
  line-height: 1.45;
  box-sizing: border-box;
}

@media (max-width: 720px) {
  .ahiru-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {
  .ahiru-products-grid {
    grid-template-columns: 1fr;
  }

  .ahiru-product-item {
    min-height: 56px;
  }
}