@charset "utf-8";

/* ==================================================
   基本設定
================================================== */

:root {
  --green: #4f7d32;
  --green-dark: #315e24;
  --green-pale: #f4f8ee;
  --brown: #382319;
  --orange: #eb7216;
  --blue: #1671b8;
  --border: #d9dfcd;
  --paper: #fffdfa;
  --text: #332a25;
  --sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: var(--serif);
  line-height: 1.8;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}


/* ==================================================
   ヘッダー
================================================== */

.site-header {
  position: relative;
  z-index: 20;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid #eeeae4;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(1440px, calc(100% - 48px));
  min-height: 88px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: 52px;
  height: 54px;
}

.brand-mark span {
  position: absolute;
  bottom: 5px;
  width: 28px;
  height: 44px;
  border-radius: 100% 0 100% 0;
  transform-origin: bottom center;
}

.brand-mark span:first-child {
  left: 1px;
  background: linear-gradient(145deg, #5aa2c8, #3e8ab6);
  transform: rotate(-31deg);
}

.brand-mark span:last-child {
  right: 1px;
  background: linear-gradient(145deg, #83ab4c, #3f7a2f);
  transform: rotate(31deg) scaleX(-1);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.brand-text strong {
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  letter-spacing: .08em;
}

.brand-text small {
  font-size: .72rem;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 52px);
  font-family: var(--sans);
  font-weight: 700;
}

.global-nav a {
  position: relative;
  text-decoration: none;
  white-space: nowrap;
}

.global-nav a.current::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -17px;
  left: 0;
  height: 2px;
  background: var(--green);
}

.global-nav .contact-button {
  padding: 12px 22px;
  border-radius: 5px;
  background: linear-gradient(180deg, #5f8d3f, #47752e);
  color: #fff;
  font-size: 1.05rem;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 30px;
  height: 2px;
  margin: 7px auto;
  background: var(--green-dark);
  transition: transform .25s ease, opacity .25s ease;
}


/* ==================================================
   ファーストビュー
================================================== */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 32%) minmax(0, 68%);
  align-items: stretch;
  overflow: hidden;
  background:
    radial-gradient(circle at 3% 10%, rgba(157, 190, 104, .19), transparent 18%),
    radial-gradient(circle at 98% 15%, rgba(157, 190, 104, .18), transparent 18%),
    linear-gradient(90deg, #fffdfa 0%, #fff 48%, #fbfdf8 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(115, 161, 65, .12), transparent 68%);
  pointer-events: none;
}

.hero::before {
  top: -45px;
  left: -55px;
}

.hero::after {
  right: -45px;
  bottom: -60px;
}

.hero-copy {
  position: relative;
  z-index: 4;
  align-self: center;
  justify-self: end;
  width: min(100%, 560px);
  padding: 70px 22px 50px;
}

.hero-small {
  margin: 0;
  color: var(--brown);
  font-size: clamp(2rem, 2.8vw, 3.3rem);
  line-height: 1.2;
  letter-spacing: .08em;
}

.hero h1 {
  margin: 5px 0 0;
  color: var(--green);
  font-size: clamp(3rem, 4.5vw, 4rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: .05em;
}

.hero-rule {
  width: min(300px, 70%);
  height: 2px;
  margin: 20px 0 22px;
  background: #8da86b;
}

.hero-lead {
  margin: 0 0 26px;
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  font-weight: 600;
  letter-spacing: .08em;
}

.guardian-card {
  width: min(100%, 470px);
  padding: 20px 22px 18px;
  border: 1px solid #ddd6cb;
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 24px rgba(67, 55, 45, .04);
}

.guardian-card h2 {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 1.45rem;
}

.guardian-card p {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-size: .93rem;
  line-height: 1.75;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.primary-button,
.secondary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 11px 16px;
  border-radius: 5px;
  color: #fff;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 700;
  text-align: center;
}

.primary-button {
  background: linear-gradient(180deg, #659643, #4b7c31);
}

.secondary-button {
  border: 1px solid var(--orange);
  background: linear-gradient(180deg, #f58d31, #e66c10);
  box-shadow: 0 8px 18px rgba(229, 108, 16, .16);
}

.primary-button span,
.secondary-button span {
  font-size: 1.7rem;
  line-height: .7;
}

.hero-visual {
  position: relative;
  z-index: 2;
  min-width: 0;
  aspect-ratio: 1537 / 1023;
  overflow: hidden;
  background: linear-gradient(90deg, #ffffff 0%, #eaf3e1 100%);
}

.hero-slideshow {
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 14px 30px rgba(74, 96, 48, .08));
  transition: opacity 1.2s ease;
}

.hero-slide.is-active {
  opacity: 1;
}


/* ==================================================
   共通見出し
================================================== */

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 12px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
  letter-spacing: .08em;
}

.leaf {
  flex: 0 0 auto;
  color: #73a141;
  transform: rotate(45deg);
}


/* ==================================================
   不安セクション
================================================== */

.concern-section {
  padding: 50px max(5vw, 28px) 56px;
  background:
    linear-gradient(rgba(255, 253, 250, .96), rgba(255, 253, 250, .96)),
    radial-gradient(circle at 92% 12%, rgba(115, 161, 65, .12), transparent 22%);
}

.concern-inner {
  display: grid;
  grid-template-columns: minmax(280px, 60%) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  width: min(1280px, 100%);
  margin: 28px auto 0;
}

.concern-visual {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 14px;
  background: var(--green-pale);
  box-shadow: 0 10px 28px rgba(70, 94, 52, .08);
}

.concern-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.concern-slide.is-active {
  opacity: 1;
}

.concern-lead {
  margin: 0 0 20px;
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.85;
}

.concern-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.concern-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fbfdf8;
}

.concern-list strong {
  color: var(--green-dark);
  font-size: 1.02rem;
}

.concern-list span {
  font-family: var(--sans);
  font-size: .88rem;
  line-height: 1.75;
}


/* ==================================================
   サービス
================================================== */

.support-section {
  padding: 28px max(5vw, 28px) 40px;
  background:
    linear-gradient(rgba(247, 250, 242, .88), rgba(247, 250, 242, .88)),
    url("assets/reason-bg.png");
  background-size: cover;
  background-position: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(1380px, 100%);
  margin: 24px auto 0;
}

.service-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  min-height: 188px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fbfdf8;
}

.service-card.realestate {
  border-color: #bad4e8;
  background: #f6fbff;
}

.service-card.consulting {
  border-color: #efc59d;
  background: #fffaf6;
}

.service-card img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  border-radius: 5px;
}

.service-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.service-body h3 {
  margin: 0 0 6px;
  color: var(--green);
  font-size: 1.5rem;
  line-height: 1.45;
}

.realestate h3 {
  color: var(--blue);
}

.consulting h3 {
  color: var(--orange);
}

.service-body p {
  margin: 0 0 12px;
  font-family: var(--sans);
  font-size: .9rem;
  line-height: 1.7;
}

.service-body a {
  margin-top: auto;
  padding: 7px 14px;
  border: 1px solid currentColor;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 700;
}

.guardian .service-body a {
  color: var(--green);
}

.realestate .service-body a {
  color: var(--blue);
}

.consulting .service-body a {
  color: var(--orange);
}


/* ==================================================
   選ばれる理由
================================================== */

.reason-section,
.flow-section,
.expert-section {
  padding: 62px max(5vw, 28px);
}

.reason-section {
  background: #fff;
}

.reason-grid,
.flow-grid,
.expert-grid {
  width: min(1280px, 100%);
  margin: 28px auto 0;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.reason-card {
  position: relative;
  padding: 30px 24px 26px;
  border: 1px solid #dce5d1;
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  text-align: center;
  box-shadow: 0 10px 28px rgba(70, 94, 52, .06);
}

.reason-number {
  position: absolute;
  top: 6px;
  right: 14px;
  color: #a8ba96;
  opacity: .55;
  font-family: var(--sans);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1;
}

.reason-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--green);
  font-size: 2.2rem;
}

.reason-card h3,
.flow-step h3 {
  margin: 0 0 9px;
  color: var(--green-dark);
  font-size: 1.25rem;
}

.reason-card p,
.flow-step p,
.expert-card p,
.contact-cta p {
  margin: 0;
  font-family: var(--sans);
  font-size: .92rem;
  line-height: 1.8;
}


/* ==================================================
   ご相談の流れ
================================================== */

.flow-section {
  background: #fff;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.flow-step {
  position: relative;
  padding: 66px 22px 24px;
  border: 1px solid #ded8cd;
  border-radius: 12px;
  background: #fffdfa;
  text-align: center;
}

.flow-step:not(:last-child)::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: -15px;
  z-index: 2;
  transform: translate(50%, -50%);
  color: #9aad83;
  font-family: sans-serif;
  font-size: 2rem;
}

.flow-no {
  position: absolute;
  top: 16px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--sans);
  font-weight: 700;
}
.flow-step p {
  text-align: left;
}


/* ==================================================
   専門家
================================================== */

.expert-section {
  background: #f8f5ef;
}

.expert-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.expert-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 28px;
  border: 1px solid #e1dbd1;
  border-radius: 14px;
  background: #fff;
}

.expert-photo {
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  overflow: hidden;
}

.expert-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.expert-photo.lawyer {
  background: linear-gradient(145deg, #6f8e5a, #3e6d34);
}

.expert-photo.doctor {
  background: linear-gradient(145deg, #6da1bd, #3e758f);
}

.expert-role {
  margin: 0 0 4px !important;
  color: var(--green);
  font-size: .78rem !important;
  font-weight: 700;
  letter-spacing: .15em;
}

.expert-card h3 {
  margin: 0 0 8px;
  color: var(--brown);
  font-size: 1.2rem;
  line-height: 1.6;
}


/* ==================================================
   お問い合わせCTA
================================================== */

.contact-cta {
  padding: 55px max(5vw, 28px);
  background:
    linear-gradient(90deg, rgba(70, 116, 43, .94), rgba(90, 135, 62, .9)),
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .18), transparent 24%);
  color: #fff;
}

.contact-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, .8fr);
  gap: 40px;
  align-items: center;
  width: min(1260px, 100%);
  margin: 0 auto;
}

.contact-kicker {
  margin-bottom: 4px !important;
  color: #eaf2df;
  font-weight: 700;
}

.contact-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 1.5;
}

.contact-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  text-align: center;
}

.cta-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 14px 20px;
  border-radius: 6px;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(47, 41, 26, .18);
}

.cta-phone {
  color: #fff;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.contact-cta-actions small {
  font-family: var(--sans);
}


/* ==================================================
   信頼バー
================================================== */

.trust-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1100px, calc(100% - 10vw));
  margin: 42px auto;
  overflow: hidden;
  border: 1px solid #d5dfc9;
  border-radius: 8px;
}

.trust-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 20px 24px;
  border-right: 1px solid #d5dfc9;
}

.trust-item:last-child {
  border-right: 0;
}

.trust-icon {
  color: var(--green);
  font-size: 2.3rem;
  line-height: 1;
}

.trust-item h3 {
  margin: 0;
  color: var(--green);
  font-size: 1.05rem;
}

.trust-item p {
  margin: 2px 0 0;
  font-family: var(--sans);
  font-size: .78rem;
  line-height: 1.55;
}


/* ==================================================
   固定お問い合わせボタン
================================================== */

.floating-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f58c27, #e56208);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.25;
  box-shadow: 0 12px 30px rgba(128, 62, 0, .22);
}

.floating-contact .mail-icon {
  font-size: 1.7rem;
}

.floating-contact b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  color: var(--orange);
  font-size: 1.5rem;
  line-height: 1;
}


/* ==================================================
   ホバー・アニメーション
================================================== */

.primary-button,
.secondary-button,
.service-body a,
.global-nav .contact-button,
.cta-form {
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    filter .25s ease;
}

.primary-button:hover,
.secondary-button:hover,
.service-body a:hover,
.global-nav .contact-button:hover,
.cta-form:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.secondary-button:hover {
  box-shadow: 0 12px 24px rgba(229, 108, 16, .22);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:nth-child(2),
.reason-card:nth-child(2),
.flow-step:nth-child(2),
.expert-card:nth-child(2) {
  transition-delay: .1s;
}

.service-card:nth-child(3),
.reason-card:nth-child(3),
.flow-step:nth-child(3) {
  transition-delay: .2s;
}

.flow-step:nth-child(4) {
  transition-delay: .3s;
}


/* ==================================================
   タブレット
================================================== */

@media (max-width: 1100px) {
  .global-nav {
    gap: 22px;
    font-size: .88rem;
  }

  .hero {
    grid-template-columns: 42% 58%;
  }

  .hero-copy {
    width: 100%;
    padding-right: 20px;
  }

  .service-card {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .trust-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-item:nth-child(1),
  .trust-item:nth-child(2) {
    border-bottom: 1px solid #d5dfc9;
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(3) {
    grid-column: span 2;
    border-right: 0;
  }
}

@media (max-width: 900px) {
  .concern-inner,
  .hero-actions,
  .reason-grid,
  .expert-grid {
    grid-template-columns: 1fr;
  }

  .flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-step::after {
    display: none;
  }

  .contact-cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}


/* ==================================================
   スマートフォン
================================================== */

@media (max-width: 820px) {
  .header-inner {
    width: calc(100% - 28px);
    min-height: 76px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .global-nav {
    position: absolute;
    top: 76px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px;
    border: 1px solid #d9dfcd;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .1);
  }

  .global-nav.open {
    display: flex;
  }

  .global-nav a {
    padding: 13px 10px;
  }

  .global-nav a.current::after {
    display: none;
  }

  .global-nav .contact-button {
    margin-top: 8px;
    text-align: center;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    align-self: auto;
    justify-self: stretch;
    width: 100%;
    padding: 42px 24px 30px;
    transform: none;
  }

  .hero-visual {
    min-height: 0;
    aspect-ratio: 16 / 11;
  }

  .hero-slide {
    object-position: center;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand-text small {
    display: none;
  }

  .brand-mark {
    width: 42px;
    height: 44px;
  }

  .hero-small {
    font-size: 1.8rem;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .hero-lead br {
    display: none;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 10px;
  }

  .service-card {
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 12px;
  }

  .service-body h3 {
    font-size: 1.2rem;
  }

  .reason-section,
  .flow-section,
  .expert-section {
    padding: 45px 20px;
  }

  .flow-grid {
    grid-template-columns: 1fr;
  }

  .expert-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .expert-photo {
    margin: 0 auto;
  }

  .contact-cta {
    padding: 44px 20px 120px;
  }

  .cta-phone {
    font-size: 1.55rem;
  }

  .trust-bar {
    grid-template-columns: 1fr;
    width: calc(100% - 40px);
  }

  .trust-item {
    grid-column: auto;
    border-right: 0;
    border-bottom: 1px solid #d5dfc9;
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .floating-contact {
    right: 12px;
    bottom: 12px;
    width: 96px;
    height: 96px;
    font-size: .8rem;
  }
}


/* ==================================================
   動きを抑える設定
================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-slide,
  .concern-slide,
  .reveal,
  .primary-button,
  .secondary-button,
  .service-body a,
  .global-nav .contact-button,
  .cta-form {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* ==================================================
   会社案内ページ
================================================== */

.page-title {
  padding: 56px max(5vw, 28px) 20px;
  text-align: center;
  background:
    linear-gradient(rgba(255, 253, 250, .96), rgba(255, 253, 250, .96)),
    radial-gradient(circle at 15% 20%, rgba(115, 161, 65, .14), transparent 20%);
}

.page-title h1 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  letter-spacing: .08em;
}

.page-title-lead {
  margin: 14px auto 0;
  max-width: 560px;
  font-family: var(--sans);
  font-size: .92rem;
  line-height: 1.85;
  color: var(--text);
}

.company-section {
  padding: 48px max(5vw, 28px) 72px;
  background: #fff;
}

.company-inner {
  width: min(880px, 100%);
  margin: 0 auto;
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  font-family: var(--sans);
  font-size: .92rem;
  line-height: 1.8;
}

.profile-table th,
.profile-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.profile-table tr:last-child th,
.profile-table tr:last-child td {
  border-bottom: 0;
}

.profile-table th {
  width: 9em;
  color: var(--green-dark);
  background: var(--green-pale);
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .profile-table,
  .profile-table tbody,
  .profile-table tr,
  .profile-table th,
  .profile-table td {
    display: block;
    width: auto;
  }

  .profile-table th {
    border-bottom: 0;
    padding-bottom: 6px;
  }

  .profile-table td {
    padding-top: 0;
  }
}


/* ==================================================
   会社案内：担当者紹介
================================================== */

.staff-section {
  padding: 8px max(5vw, 28px) 72px;
  background: #fff;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: min(1000px, 100%);
  margin: 28px auto 0;
}

.staff-card {
  padding: 32px 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fbfdf8;
  text-align: center;
  box-shadow: 0 10px 28px rgba(70, 94, 52, .06);
}

.staff-photo {
  display: grid;
  place-items: center;
  width: 276px;
  height: 276px;
  margin: 0 auto 16px;
  border-radius: 12px;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  overflow: hidden;
}

.staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.staff-photo.guardian {
  background: linear-gradient(145deg, #6f8e5a, #3e6d34);
}

.staff-photo.consulting {
  background: linear-gradient(145deg, #c98a4b, #a8622a);
}

.staff-photo.realestate {
  background: linear-gradient(145deg, #6da1bd, #3e758f);
}

.staff-role {
  margin: 0 0 4px;
  color: var(--green);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
}

.staff-card h3 {
  margin: 0 0 10px;
  color: var(--brown);
  font-size: 1.05rem;
}

.staff-card p:not(.staff-role) {
  font-family: var(--sans);
  font-size: .86rem;
  line-height: 1.75;
}

@media (max-width: 820px) {
  .staff-grid {
    grid-template-columns: 1fr;
  }
}


/* ==================================================
   お問い合わせフォーム
================================================== */

.contact-form-section {
  padding: 24px max(5vw, 28px) 80px;
  background: #fff;
}

.contact-form-inner {
  width: min(680px, 100%);
  margin: 0 auto;
}

.form-notice {
  margin: 0 0 24px;
  padding: 14px 18px;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: .88rem;
  line-height: 1.7;
}

.form-notice--error {
  border: 1px solid #e2b4a8;
  background: #fdf3f0;
  color: #a8402a;
}

.contact-form {
  display: grid;
  gap: 22px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 700;
  color: var(--brown);
}

.form-row .required {
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 4px;
  background: #e07a4f;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  vertical-align: middle;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fbfdf8;
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--text);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
}

.form-row textarea {
  resize: vertical;
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-privacy-note {
  margin: 0;
  font-family: var(--sans);
  font-size: .8rem;
  color: #7a8a70;
  line-height: 1.7;
}

.form-submit {
  justify-self: center;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
}


/* ==================================================
   選ばれる理由 と ご相談の流れ の間の画像バナー
================================================== */

.anshin-banner {
  line-height: 0;
}

.anshin-banner img {
  display: block;
  width: 100%;
  height: auto;
}


/* ==================================================
   スマートフォン表示の調整（2026-10）
   お問い合わせ無料・対応エリア・サポート体制の崩れを修正
================================================== */
@media (max-width: 820px) {
  .trust-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: calc(100% - 32px);
    margin: 28px auto 36px;
  }

  .trust-item,
  .trust-item:nth-child(1),
  .trust-item:nth-child(2),
  .trust-item:nth-child(3) {
    display: flex;
    grid-column: auto;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-width: 0;
    padding: 16px 18px;
    border-right: 0;
    border-bottom: 1px solid #d5dfc9;
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .trust-icon {
    flex: 0 0 34px;
    width: 34px;
    text-align: center;
    font-size: 2rem;
  }

  .trust-item > div {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
  }

  .trust-item h3 {
    font-size: 1rem;
    line-height: 1.6;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .trust-item p {
    font-size: .82rem;
    line-height: 1.7;
    overflow-wrap: anywhere;
  }

  .floating-contact {
    right: 10px;
    bottom: 10px;
    width: 72px;
    height: 72px;
    padding: 5px;
    font-size: .68rem;
    line-height: 1.2;
    box-shadow: 0 5px 16px rgba(128, 62, 0, .2);
  }

  .floating-contact .mail-icon {
    font-size: 1.2rem;
    line-height: 1;
  }

  .floating-contact b {
    width: 18px;
    height: 18px;
    font-size: 1.1rem;
  }
}

@media (max-width: 380px) {
  .trust-bar {
    width: calc(100% - 24px);
  }

  .trust-item {
    padding: 14px 12px;
    gap: 10px;
  }

  .floating-contact {
    width: 66px;
    height: 66px;
    font-size: .62rem;
  }
}
