/* ========================================
   zenshiii株式会社 コーポレートサイト
   ======================================== */

/* ========================================
   共通・最小限のリセット
   ======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: .06em;
}

h1,
h2,
p,
dl,
dd,
ul {
  margin: 0;
}

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

a {
  color: #333;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity .2s;
}

a:hover {
  opacity: .6;
}

a:focus-visible {
  outline: 2px solid currentColor;
}

/* ========================================
   メインビジュアル
   ======================================== */
.p-mv {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  height: 100svh;
  background: #fff;
}

.p-mv__logo img {
  width: clamp(200px, 36vw, 420px);
  height: auto;
}

.p-mv__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  width: 1px;
  height: 56px;
  color: rgba(30, 30, 30, .6);
  transform: translateX(-50%);
}

.p-mv__scroll::before {
  content: "";
  display: block;
  width: 1px;
  height: 56px;
  background: rgba(30, 30, 30, .6);
  transform-origin: top;
  animation: scroll-line 2.4s infinite;
}

@keyframes scroll-line {
  0% {
    transform: translateY(0) scaleY(0);
    opacity: 0;
  }
  40% {
    transform: translateY(0) scaleY(1);
    opacity: 1;
  }
  100% {
    transform: translateY(56px) scaleY(0);
    opacity: 0;
  }
}

/* ========================================
   代表挨拶
   ======================================== */
.p-message {
  padding: 120px 20px;
  background: #f5f5f5;
  color: #333;
}

.p-message__body {
  max-width: 720px;
  margin: 0 auto;
  line-height: 2;
}

.p-message__body p + p {
  margin-top: 1.2em;
}

.p-message__body .p-message__sign {
  margin-top: 2.4em;
  text-align: right;
  line-height: 1.8;
}

.p-message__company {
  display: block;
}

.p-message__name {
  display: inline-block;
  width: auto;
  height: 28px;
  margin-top: 8px;
  vertical-align: top;
}

/* ========================================
   会社情報
   ======================================== */
.p-company {
  padding: 120px 20px;
  background: #fff;
  color: #333;
}

.c-heading {
  margin-bottom: 60px;
  text-align: center;
}

.c-heading__en {
  display: block;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: .08em;
}

.c-heading__ja {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 400;
}

.p-company__list {
  max-width: 720px;
  margin: 0 auto;
}

.p-company__row {
  display: flex;
  border-top: 1px solid #eaeaea;
  padding: 24px 0;
}

.p-company__row:last-child {
  border-bottom: 1px solid #eaeaea;
}

.p-company__row dt {
  flex: 0 0 160px;
  font-weight: 700;
}

.p-company__row dd {
  flex: 1;
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

/* 代表者の氏名は画像（検索に拾わせないため）。本文1行と同じ高さで並べる */
.p-company__name {
  display: inline-block;
  width: auto;
  height: 1.8em;
  vertical-align: top;
}

.p-company__list ul {
  list-style: none;
  padding: 0;
}

.p-company__list li {
  padding-left: 1em;
  text-indent: -1em;
}

.p-company__list li::before {
  content: "・";
}

/* ========================================
   フッター
   ======================================== */
.l-footer {
  padding: 24px 20px;
  background: #1e1e1e;
  color: rgba(255, 255, 255, .7);
  font-size: 12px;
  text-align: center;
}

.l-footer small {
  font-size: inherit;
}

/* ========================================
   スマートフォン
   ======================================== */
@media (max-width: 767px) {
  body {
    font-size: 14px;
  }

  .p-message {
    padding: 80px max(20px, 5.33vw);
  }

  .p-message__name {
    height: 24px;
  }

  /* 代表挨拶の文末改行は PC 用。SP は自然に折り返す */
  .p-message__body br {
    display: none;
  }

  .p-company {
    padding: 80px max(20px, 5.33vw);
  }

  .c-heading {
    margin-bottom: 48px;
  }

  .c-heading__en {
    font-size: 30px;
  }

  .c-heading__ja {
    font-size: 12px;
  }

  .p-company__row {
    flex-direction: column;
    gap: 8px;
    padding: 20px 0;
  }

  .p-company__row dt {
    flex: 0 0 auto;
  }
}

/* ========================================
   動きを抑える設定への対応
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .p-mv__scroll::before {
    animation: none;
  }
}
