@charset "UTF-8";

/* =========================================================
   稲垣建装  会社概要・FAQ ページ専用スタイル
   ========================================================= */

/* 会社概要テーブル */
.company__inner { max-width: 880px; margin-inline: auto; }
.company__table {
  margin: 0;
  border-top: 1px solid var(--line);
}
.company__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid var(--line);
}
.company__row dt {
  padding: 22px 24px;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  background: var(--teal-soft);
  letter-spacing: 0.04em;
}
.company__row dd {
  padding: 22px 24px;
  margin: 0;
  color: var(--text);
  line-height: 1.9;
}
.company__row dd a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.company__row dd a:hover { color: var(--teal-dark); }

/* お問い合わせ方法 */
.company-contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-method {
  position: relative;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 28px 34px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-method--primary {
  border-color: var(--teal);
  box-shadow: 0 18px 40px -22px rgba(0, 139, 139, 0.5);
}
.contact-method__rank {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 18px;
  border-radius: 999px;
}
.contact-method__icon {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  margin-bottom: 18px;
}
.contact-method__icon svg { width: 32px; height: 32px; }
.contact-method h3 { font-size: 1.24rem; margin-bottom: 12px; }
.contact-method p { font-size: 0.9rem; margin-bottom: 22px; flex-grow: 1; }
.contact-method .btn { width: 100%; }
.contact-method__pending {
  display: inline-block;
  width: 100%;
  padding: 13px;
  border: 1.5px dashed var(--line);
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.9rem;
}

/* FAQ（このページ専用に内包） */
.faq__inner { max-width: 860px; margin-inline: auto; }
.faq__list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 60px 22px 26px;
  position: relative;
  font-weight: 700;
  color: var(--ink);
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q";
  font-family: var(--serif);
  color: var(--teal);
  margin-right: 14px;
  font-size: 1.05rem;
}
.faq-item__icon {
  position: absolute;
  top: 50%; right: 24px;
  width: 16px; height: 16px;
  transform: translateY(-50%);
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 2px;
  background: var(--teal);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease);
}
.faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-item__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-item__body {
  padding: 0 26px 24px 56px;
  color: var(--text);
  font-size: 0.94rem;
}

@media (max-width: 860px) {
  .company-contact__grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
}
@media (max-width: 600px) {
  .company__row { grid-template-columns: 1fr; }
  .company__row dt { padding: 16px 20px 8px; background: #fff; }
  .company__row dd { padding: 0 20px 18px; }
}
