@charset "UTF-8";

/* ////////////////////////////////////////////////////////////////////
about
//////////////////////////////////////////////////////////////////// */


/* ==================================================
共通
================================================== */

.section-philosophy .inner,
.section-guideline .inner,
.section-representative .inner,
.section-message .inner,
.section-overview .inner,
.section-access .inner,
.section-cta .inner {
  width: min(var(--inner), calc(100% - 48px));
  margin: 0 auto;
}


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

.section-about-title {
  position: relative;

  margin: 0 0 48px;
  padding-bottom: 20px;

  color: var(--color-main);

  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.5;

  text-align: center;

  letter-spacing: 0.04em;
}

.section-about-title::after {
  content: "";

  position: absolute;

  left: 50%;
  bottom: 0;

  width: 52px;
  height: 3px;

  background: var(--color-main);

  transform: translateX(-50%);
}


/* 左寄せ見出し */

.section-about-title-left {
  text-align: left;
}

.section-about-title-left::after {
  left: 0;

  transform: none;
}


/* ==================================================
hero-about
================================================== */

.hero-about {
  position: relative;

  width: 100%;
  height: clamp(460px, 46vw, 660px);

  overflow: hidden;

  background: #f4f4f4;
}


/* --------------------------
hero image
-------------------------- */

.hero-about-image {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;
}

.hero-about-image::after {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.88) 0%,
      rgba(255, 255, 255, 0.68) 32%,
      rgba(255, 255, 255, 0.14) 62%,
      rgba(255, 255, 255, 0) 100%
    );
}

.hero-about-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center center;
}


/* --------------------------
hero content
-------------------------- */

.hero-about-content {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  justify-content: center;

  width: min(var(--inner), calc(100% - 48px));
  height: 100%;

  margin: 0 auto;
}


/* --------------------------
hero title
-------------------------- */

.hero-about-title {
  margin: 0 0 28px;

  color: var(--color-main);

  /* font-size: clamp(2.5rem, 4.5vw, 4.25rem); */
  font-size: clamp(2rem, 4vw, 3.5rem);

  font-weight: 700;
  line-height: 1.4;

  letter-spacing: 0.04em;

  text-shadow:
    0 0 4px rgba(255, 255, 255, 1),
    0 0 10px rgba(255, 255, 255, 0.9),
    0 0 18px rgba(255, 255, 255, 0.7);
}

/* --------------------------
hero text
-------------------------- */

.hero-about-text {
  margin: 0;

  color: var(--color-text);

  font-size: 1.25rem;
  font-weight: 700;
  line-height: 2;

  letter-spacing: 0.03em;

  text-shadow:
    0 0 4px rgba(255, 255, 255, 1),
    0 0 10px rgba(255, 255, 255, 0.9),
    0 0 18px rgba(255, 255, 255, 0.7);
}


/* ==================================================
経営理念
================================================== */

.section-philosophy {
  padding: 110px 0;

  background: var(--color-white);
}

.section-philosophy-content {
  max-width: 980px;

  margin: 0 auto;

  text-align: center;
}


/* --------------------------
理念リード
-------------------------- */

.section-philosophy-lead {
  margin: 0 0 40px;

  color: var(--color-main);

  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.7;

  letter-spacing: 0.04em;
}


/* --------------------------
理念本文
-------------------------- */

.section-philosophy-text {
  color: var(--color-text);

  font-size: 1rem;
  line-height: 2.15;

  text-align: center;
}

.section-philosophy-text p {
  margin: 0 0 28px;
}

.section-philosophy-text p:last-child {
  margin-bottom: 0;
}


/* ==================================================
行動指針
================================================== */

.section-guideline {
  padding: 100px 0;

  background: var(--color-brighter);
}

.section-guideline-content {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);

  align-items: center;

  gap: 64px;
}


/* --------------------------
image
-------------------------- */

.section-guideline-image {
  overflow: hidden;
  border-radius: 16px;
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.06);
}

/* .section-guideline-image img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
} */

/* 写真引きで */
.section-guideline-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* .section-guideline-image img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 6 / 5;
  object-fit: cover;
  object-position: center center;
} */

/* --------------------------
body
-------------------------- */

.section-guideline-body {
  min-width: 0;
}


/* --------------------------
list
-------------------------- */

.section-guideline-list {
  margin: 0;
  padding: 0;

  list-style: none;

  counter-reset: guideline;
}

.section-guideline-list li {
  position: relative;

  margin-bottom: 22px;
  padding-left: 52px;

  color: var(--color-text);

  font-size: 1rem;
  font-weight: 500;
  line-height: 1.9;

  counter-increment: guideline;
}

.section-guideline-list li::before {
  content: counter(guideline, decimal-leading-zero);

  position: absolute;

  top: 0;
  left: 0;

  color: var(--color-main);

  font-size: 1.125rem;
  font-weight: 700;
}

.section-guideline-list li:last-child {
  margin-bottom: 0;
}


/* --------------------------
text
-------------------------- */

.section-guideline-text {
  margin: 38px 0 0;
  padding-top: 28px;

  color: var(--color-text);

  font-size: 1rem;
  line-height: 1.9;

  border-top: 1px solid rgba(103, 142, 124, 0.25);
}


/* ==================================================
代表社労士・略歴
================================================== */

.section-representative {
  padding: 110px 0;

  background: var(--color-white);
}

.section-representative-content {
  display: grid;

  grid-template-columns:
    minmax(0, 1.2fr)
    minmax(320px, 0.8fr);

  align-items: start;

  gap: 64px;
}


/* --------------------------
body
-------------------------- */

.section-representative-body {
  min-width: 0;
}


/* --------------------------
label
-------------------------- */

.section-representative-label {
  margin: 0 0 10px;

  color: var(--color-main);

  font-size: 1rem;
  font-weight: 700;

  letter-spacing: 0.08em;
}


/* --------------------------
name
-------------------------- */

.section-representative-name {
  margin: 0 0 38px;

  color: var(--color-text);

  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.4;

  letter-spacing: 0.08em;
}


/* --------------------------
略歴見出し
-------------------------- */

.section-representative-subtitle {
  margin: 0 0 24px;

  color: var(--color-main);

  font-size: 1.25rem;
  font-weight: 700;
}


/* --------------------------
career
-------------------------- */

.career-list {
  display: grid;

  grid-template-columns: 7rem minmax(0, 1fr);

  margin: 0;

  row-gap: 20px;

  line-height: 1.8;
}

.career-list dt,
.career-list dd {
  margin: 0;
}

.career-list dt {
  color: var(--color-main);

  font-weight: 700;

  white-space: nowrap;
}

.career-list dd {
  color: var(--color-text);
}

.career-list dd span {
  display: block;

  margin-top: 3px;

  color: #555;

  font-size: 0.9375rem;
}


/* --------------------------
代表画像
-------------------------- */

.section-representative-image {
  overflow: hidden;

  border-radius: 16px;

  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.06);
}

.section-representative-image img {
  display: block;

  width: 100%;
  height: auto;

  object-fit: cover;
}


/* ==================================================
ご挨拶
================================================== */

.section-message {
  padding: 110px 0;

  background: #f7f9f8;
}


.section-message-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: var(--color-text);
  font-size: 1rem;
  line-height: 2.1;
}

.section-message-content p {
  margin: 0 0 30px;
}

.section-message-content p:last-child {
  margin-bottom: 0;
}


/* --------------------------
署名
-------------------------- */

.section-message-signature {
  margin-top: 52px !important;

  font-weight: 500;

  text-align: right;
}


/* ==================================================
事務所概要
================================================== */

.section-overview {
  padding: 110px 0;

  background: var(--color-white);
}

.overview-list {
  display: grid;

  grid-template-columns: 180px minmax(0, 1fr);

  max-width: 980px;

  margin: 0 auto;

  border-top: 1px solid var(--color-line);
}

.overview-list dt,
.overview-list dd {
  margin: 0;

  padding: 24px 18px;

  border-bottom: 1px solid var(--color-line);
}

.overview-list dt {
  color: var(--color-main);

  font-weight: 700;
}

.overview-list dd {
  color: var(--color-text);

  line-height: 1.9;
}


/* --------------------------
note
-------------------------- */

.overview-note {
  display: block;

  margin-top: 8px;

  color: #666;

  font-size: 0.875rem;
  line-height: 1.8;
}


/* ==================================================
アクセス
================================================== */

.section-access {
  padding: 110px 0;

  background: var(--color-brighter);
}

.section-access-text {
  margin: -18px 0 40px;

  color: var(--color-text);

  font-size: 1rem;
  line-height: 1.9;

  text-align: center;
}


/* --------------------------
map
-------------------------- */

.section-access-map {
  overflow: hidden;

  max-width: 1080px;

  margin: 0 auto;

  background: var(--color-white);

  border-radius: 16px;

  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.06);
}

.section-access-map iframe {
  display: block;

  width: 100%;
}



/* ####################################################################
responsive
#################################################################### */


/* ==================================================
1000px以下
================================================== */

@media screen and (max-width: 1000px) {

  /* --------------------------
  hero
  -------------------------- */

  .hero-about {
    height: 540px;
  }

  .hero-about-title {
    font-size: 3rem;
  }

  .hero-about-text {
    font-size: 1.125rem;
  }


  /* --------------------------
  section
  -------------------------- */

  .section-philosophy,
  .section-guideline,
  .section-representative,
  .section-message,
  .section-overview,
  .section-access,
  .section-cta {
    padding: 80px 0;
  }


  /* --------------------------
  guideline
  -------------------------- */

  .section-guideline-content {
    gap: 40px;
  }


  /* --------------------------
  representative
  -------------------------- */

  .section-representative-content {
    grid-template-columns:
      minmax(0, 1.3fr)
      minmax(280px, 0.7fr);

    gap: 40px;
  }

}


/* ==================================================
777px以下
================================================== */

@media screen and (max-width: 777px) {

  /* --------------------------
  inner
  -------------------------- */

  .section-philosophy .inner,
  .section-guideline .inner,
  .section-representative .inner,
  .section-message .inner,
  .section-overview .inner,
  .section-access .inner,
  .section-cta .inner {
    width: min(var(--inner), calc(100% - 32px));
  }


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

  .section-about-title {
    margin-bottom: 34px;
    padding-bottom: 16px;

    font-size: 1.65rem;
  }

  .section-about-title::after {
    width: 42px;
    height: 2px;
  }


  /* 左寄せ見出しもスマホでは中央 */

  .section-about-title-left {
    text-align: center;
  }

  .section-about-title-left::after {
    left: 50%;

    transform: translateX(-50%);
  }


  /* ==================================================
  hero
  ================================================== */

  .hero-about {
    height: auto;

    background: var(--color-white);
  }

  .hero-about-image {
    position: relative;

    width: 100%;
    height: 58vw;

    min-height: 280px;
    max-height: 420px;
  }

  .hero-about-image::after {
    background:
      linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.30) 0%,
        rgba(255, 255, 255, 0.05) 45%,
        rgba(255, 255, 255, 0) 100%
      );
  }

  .hero-about-content {
    width: calc(100% - 32px);
    height: auto;

    padding: 34px 0 44px;

    text-align: center;
  }

  .hero-about-title {
    margin-bottom: 18px;

    font-size: 2rem;
    line-height: 1.5;
  }

  .hero-about-text {
    font-size: 0.9375rem;
    line-height: 1.9;
  }


  /* ==================================================
  sections
  ================================================== */

  .section-philosophy,
  .section-guideline,
  .section-representative,
  .section-message,
  .section-overview,
  .section-access,
  .section-cta {
    padding: 64px 0;
  }


  /* ==================================================
  経営理念
  ================================================== */

  .section-philosophy-lead {
    margin-bottom: 30px;

    font-size: 1.35rem;
    line-height: 1.7;
  }

  .section-philosophy-text {
    font-size: 0.9375rem;
    line-height: 1.95;

    text-align: left;
  }

  .section-philosophy-text p {
    margin-bottom: 24px;
  }


  /* ==================================================
  行動指針
  ================================================== */

  .section-guideline-content {
    grid-template-columns: 1fr;

    gap: 34px;
  }

  .section-guideline-image {
    border-radius: 12px;
  }

  .section-guideline-list li {
    margin-bottom: 20px;
    padding-left: 46px;

    font-size: 0.9375rem;
    line-height: 1.8;
  }

  .section-guideline-list li::before {
    font-size: 1rem;
  }

  .section-guideline-text {
    margin-top: 30px;
    padding-top: 24px;

    font-size: 0.9375rem;
    line-height: 1.8;
  }


  /* ==================================================
  代表社労士
  ================================================== */

  .section-representative-content {
    grid-template-columns: 1fr;

    gap: 34px;
  }

  .section-representative-image {
    grid-row: 1;

    width: 78%;

    margin: 0 auto;

    border-radius: 12px;
  }

  .section-representative-body {
    grid-row: 2;
  }

  .section-representative-label {
    text-align: center;
  }

  .section-representative-name {
    margin-bottom: 34px;

    font-size: 2rem;

    text-align: center;
  }

  .section-representative-subtitle {
    text-align: center;
  }


  /* --------------------------
  career
  -------------------------- */

  .career-list {
    grid-template-columns: 6rem minmax(0, 1fr);

    row-gap: 18px;

    font-size: 0.9375rem;
  }

  .career-list dd span {
    font-size: 0.875rem;
  }


  /* ==================================================
  ご挨拶
  ================================================== */

  .section-message-content {
    font-size: 0.9375rem;
    line-height: 1.95;
    /* 中央揃えから左揃えへ */
    text-align: left;
  }

  .section-message-content p {
    margin-bottom: 24px;
  }

  .section-message-signature {
    margin-top: 38px !important;
  }


  /* ==================================================
  事務所概要
  ================================================== */

  .overview-list {
    grid-template-columns: 1fr;
  }

  .overview-list dt {
    padding: 20px 16px 8px;

    border-bottom: none;
  }

  .overview-list dd {
    padding: 0 16px 20px;

    font-size: 0.9375rem;
  }

  .overview-note {
    font-size: 0.8125rem;
  }


  /* ==================================================
  アクセス
  ================================================== */

  .section-access-text {
    margin: -8px 0 30px;

    font-size: 0.9375rem;
  }

  .section-access-map {
    border-radius: 12px;
  }

  .section-access-map iframe {
    height: 360px;
  }

}