/* ==========================================================================
   about.css — 会社概要ページ（ABOUT US）

   ※ 下の :root ブロックは全ページ共通の設計トークンです。
      home.css にも同じ定義があるため、いずれ base.css へ移し、
      このファイルからは削除してください（重複定義の解消）。
   ========================================================================== */

:root {
  /* --- 色 --- */
  --c-bg: #fefefe;
  --c-text: #3a3e42;
  --c-heading: #2f3337;
  --c-muted: #5a6065;
  --c-muted-2: #7f868c;
  --c-link-hover: #8c9ba8;
  --c-line: rgba(58, 62, 66, 0.09);

  /* --- フォント --- */
  --font-jp: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --font-en: Jost, "Zen Kaku Gothic New", sans-serif;

  /* --- 余白（ここだけ触ればページ全体のリズムが変わる） --- */
  --gutter: 44px;
  --sec-pt: 60px;
  --sec-pb: 120px;
}

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-jp);
  font-weight: 400;
}

::selection {
  background: #e3eaf3;
}

a:hover {
  color: var(--c-link-hover);
}

/* ==========================================================================
   ヒーロー
   ========================================================================== */

.hero {
  position: relative;
  padding: var(--sec-pt) var(--gutter) var(--sec-pb);
  overflow: hidden;
}

.hero__deco--dots {
  top: 100px;
  left: 46%;
  width: 26px;
  opacity: 0.9;
}

.hero__deco--wave {
  bottom: 190px;
  left: 33%;
  width: 70px;
  opacity: 0.85;
  animation: floaty 9s ease-in-out infinite;
}

/* --- 静物のコンポジット（620×620 を基準に % 配置＝そのまま可変） --- */

.hero__art {
  position: absolute;
  top: 60px;
  right: -40px;
  width: 620px;
  aspect-ratio: 1 / 1;
  pointer-events: none;
}

.hero__art img {
  position: absolute;
}

.hero__art .art--blob-gray {
  top: 3.226%;
  left: 3.226%;
  width: 48.387%;
  opacity: 0.65;
}

.hero__art .art--blob-yellow {
  top: 9.677%;
  left: 20.968%;
  width: 51.613%;
  opacity: 0.75;
  animation: drift 19s ease-in-out infinite;
}

.hero__art .art--blob-mint {
  bottom: 9.677%;
  left: 0;
  width: 48.387%;
  opacity: 0.7;
  animation: drift 24s ease-in-out infinite;
}

.hero__art .art--dotgrid {
  bottom: 17.742%;
  left: 40.323%;
  width: 17.742%;
  opacity: 0.75;
}

.hero__art .art--vase {
  top: 24.194%;
  left: 30.645%;
  width: 26.613%;
}

.hero__art .art--basket {
  top: 15.323%;
  left: 45.968%;
  width: 34.677%;
}

.hero__art .art--dispenser {
  top: 34.677%;
  left: 68.548%;
  width: 20.968%;
}

/* --- コピー --- */

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
}

.hero__title {
  font-family: var(--font-en);
  font-weight: 200;
  font-size: 82px;
  line-height: 1;
  letter-spacing: 0.14em;
  color: var(--c-heading);
}

.hero__tagline {
  display: inline-block;
  margin-top: 48px;
  padding-bottom: 10px;
  font-size: 20px;
  letter-spacing: 0.1em;
  color: var(--c-text);
  background-image: linear-gradient(
    90deg,
    #c9e4d8 0%,
    #dce4f2 35%,
    #f3d9ce 70%,
    #f6e7c8 100%
  );
  background-repeat: no-repeat;
  background-size: 100% 2px;
  background-position: 0 100%;
}

.hero__lead {
  margin-top: 44px;
  font-size: 15px;
  line-height: 2.5;
  letter-spacing: 0.06em;
  color: var(--c-muted);
}

/* --- スクロールマーク --- */

.scroll-mark {
  position: absolute;
  left: 50%;
  bottom: 46px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 3;
}

.scroll-mark__label {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.26em;
  color: #8a9095;
}

.scroll-mark__rail {
  position: relative;
  display: block;
  width: 1px;
  height: 58px;
  background: rgba(58, 62, 66, 0.16);
  overflow: hidden;
}

.scroll-mark__rail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-text);
  animation: scrolldot 2.4s ease-in-out infinite;
}

/* ==========================================================================
   COMPANY PROFILE
   ========================================================================== */

.profile {
  position: relative;
  padding: var(--sec-pt) var(--gutter) calc(var(--sec-pb) * 1.5);
  overflow: hidden;
}

.profile__deco--leaf {
  top: 240px;
  left: -30px;
  width: 210px;
  opacity: 0.95;
}

.profile__deco--dotgrid {
  top: 200px;
  left: -14px;
  width: 130px;
  opacity: 0.7;
}

.profile__deco--blob {
  bottom: 40px;
  right: -70px;
  width: 340px;
  opacity: 0.55;
}

.profile__dots {
  position: absolute;
  top: 20px;
  right: 78px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  pointer-events: none;
}

.profile__dots span {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c7cdd2;
}

.profile__dots span:nth-child(2) {
  background: #f0c6b4;
}

.profile__dots span:nth-child(3) {
  background: #bedcd3;
}

.profile__inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.section-head__title {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 28px;
  letter-spacing: 0.24em;
  color: var(--c-heading);
}

.section-head__rule {
  width: 42px;
  opacity: 0.8;
}

/* --- 会社概要テーブル --- */

.profile-table {
  margin-top: 56px;
  border: 1px solid rgba(58, 62, 66, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  overflow: hidden;
}

.profile-table__row {
  display: grid;
  grid-template-columns: 250px 1fr;
  border-bottom: 1px solid var(--c-line);
  transition: background 260ms;
}

.profile-table__row:hover {
  background: rgba(240, 244, 248, 0.5);
}

.profile-table__label {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 30px 34px;
  border-right: 1px solid var(--c-line);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.profile-table__icon {
  flex: none;
  width: 26px;
  height: 26px;
  color: #4a5055;
}

.profile-table__value {
  display: flex;
  align-items: center;
  padding: 30px 36px;
  font-size: 15px;
  letter-spacing: 0.05em;
  color: #4a5055;
  line-height: 2.1;
}

.profile-table__value > * {
  white-space: pre-line;
}

.profile-table__value a:hover {
  color: var(--c-link-hover);
}

/* ==========================================================================
   レスポンシブ
   ========================================================================== */

/* PC表示時のみコンテンツ幅を広げる */
@media (min-width: 1200px) {
  #contents {
    width: 1600px;
    max-width: calc(100% - 40px);
  }
}

@media (max-width: 1240px) {
  .hero__art {
    width: min(52vw, 620px);
    top: 90px;
    right: -20px;
  }

  .hero__title {
    font-size: clamp(56px, 6.4vw, 82px);
  }
}

@media (max-width: 1180px) {
  :root {
    --gutter: 36px;
  }
}

@media (max-width: 960px) {
  :root {
    --gutter: 32px;
    --sec-pt: 48px;
    --sec-pb: 56px;
  }

  /* 静物コンポジットはコピーの下に回り込ませる */
  .hero__art {
    position: relative;
    top: auto;
    right: auto;
    width: min(520px, 100%);
    margin: 40px auto 0;
  }

  .hero__deco--wave {
    bottom: auto;
    top: 120px;
    left: auto;
    right: 6%;
  }

  .scroll-mark {
    display: none;
  }

  .profile__deco--leaf,
  .profile__deco--dotgrid {
    left: -70px;
    opacity: 0.5;
  }

  .profile__dots {
    right: 24px;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 22px;
    --sec-pt: 32px;
    --sec-pb: 40px;
  }

  .hero__title {
    font-size: clamp(42px, 11vw, 60px);
    letter-spacing: 0.1em;
  }

  .hero__tagline {
    margin-top: 36px;
    font-size: 17px;
    letter-spacing: 0.06em;
  }

  .hero__lead {
    margin-top: 32px;
    font-size: 14px;
    line-height: 2.3;
  }

  /* 狭い画面では改行位置をブラウザに任せる */
  .hero__lead br {
    display: none;
  }

  .profile__dots {
    display: none;
  }

  .section-head__title {
    font-size: 22px;
    letter-spacing: 0.2em;
  }

  .profile-table {
    margin-top: 40px;
  }

  .profile-table__row {
    grid-template-columns: 1fr;
  }

  .profile-table__label {
    gap: 16px;
    padding: 22px 24px 0;
    border-right: 0;
    font-size: 14px;
  }

  .profile-table__icon {
    width: 22px;
    height: 22px;
  }

  .profile-table__value {
    padding: 10px 24px 24px 62px;
    font-size: 14px;
    line-height: 1.95;
  }
}
