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

: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);
  --c-line-strong: rgba(58, 62, 66, 0.22);

  --font-jp: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --font-en: Jost, "Zen Kaku Gothic New", sans-serif;
  --font-script: Parisienne, cursive;

  --gutter: 44px;
  --wave-gradient: linear-gradient(
    90deg,
    #eef1f8 0%,
    #ebeef6 10%,
    #e2e7f3 20%,
    #dfe4f2 30%,
    #e3e7f3 40%,
    #e9ecf5 50%,
    #edf0f7 60%,
    #eef1f8 70%,
    #edeff6 80%,
    #eaeef6 90%,
    #ebeef7 100%
  );
}

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);
}

.page {
  position: relative;
  overflow-x: clip;
  background: linear-gradient(180deg, #fefefe 0%, #fcfcfb 60%, #fdfdfd 100%);
}

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

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 30px var(--gutter);
}

.logo {
  display: block;
  transition: color 260ms;
}

.logo__mark {
  font-family: var(--font-script);
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--c-heading);
}

.logo__sub {
  margin-top: 10px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--c-muted-2);
  text-align: center;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding: 18px 26px 18px 34px;
  border: 1px solid var(--c-line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 14px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: background 260ms, color 260ms, border-color 260ms;
}

.nav-pill:hover,
.nav-pill:focus-visible {
  background: var(--c-text);
  color: var(--c-bg);
  border-color: var(--c-text);
}

.nav-pill__lines {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}

.nav-pill__lines span {
  display: block;
  height: 1.5px;
  background: currentColor;
}

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

.hero {
  position: relative;
  min-height: 780px;
  padding: 210px var(--gutter) 120px;
  overflow: hidden;
}

.hero__deco--squiggle {
  top: 110px;
  left: 18px;
  width: 90px;
  opacity: 0.55;
}

.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: 120px var(--gutter) 180px;
  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);
}

/* ==========================================================================
   フッター
   ========================================================================== */

.site-footer {
  position: relative;
}

.site-footer__deco--sunburst {
  bottom: 46px;
  right: 120px;
  width: 130px;
  opacity: 0.55;
  z-index: 1;
}

.site-footer__deco--plane {
  top: -30px;
  right: 180px;
  width: 96px;
  z-index: 3;
  animation: floaty 8s ease-in-out infinite;
}

.site-footer__wave {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: clamp(64px, 10.36vw, 150px);
}

.site-footer__links {
  position: absolute;
  right: 5%;
  top: 62%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: #4a5055;
}

.site-footer__links a {
  transition: color 200ms;
}

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

.site-footer__sep {
  color: #b6bcc6;
}

.site-footer__copy {
  margin-left: 16px;
  font-family: var(--font-en);
  font-weight: 400;
  letter-spacing: 0.08em;
}

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

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

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

/* PC表示時のみAboutページを広くする */
@media (min-width: 1200px) {

    #contents {
        width: 1600px;
        max-width: calc(100% - 40px);
    }
}


@media (max-width: 960px) {
  :root {
    --gutter: 32px;
  }

  .hero {
    min-height: 0;
    padding-top: 190px;
    padding-bottom: 96px;
  }

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

  .hero__deco--squiggle {
    top: 96px;
  }

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

  .scroll-mark {
    display: none;
  }

  .profile {
    padding-bottom: 140px;
  }

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

  .profile__dots {
    right: 24px;
  }

  /* 波が低くなるぶん、紙飛行機がフッターの文言に重ならないよう逃がす */
  .site-footer__deco--plane {
    right: 40px;
  }

  .site-footer__deco--sunburst {
    right: 180px;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 22px;
  }

  .site-header {
    padding-top: 22px;
    padding-bottom: 22px;
    align-items: center;
  }

  .logo__mark {
    font-size: 32px;
  }

  .logo__sub {
    margin-top: 8px;
    font-size: 10px;
    letter-spacing: 0.24em;
  }

  .nav-pill {
    gap: 16px;
    padding: 13px 18px 13px 22px;
    font-size: 13px;
  }

  .nav-pill__lines {
    width: 18px;
    gap: 4px;
  }

  .hero {
    padding-top: 160px;
  }

  .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 {
    padding-top: 90px;
    padding-bottom: 110px;
  }

  .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;
  }

  .site-footer__deco--sunburst {
    right: 24px;
    width: 96px;
  }

  .site-footer__deco--plane {
    right: 32px;
    width: 72px;
  }

  /* 波の上に文字を重ねるには高さが足りないため、波の下に段組みし直す */
  .site-footer__links {
    position: static;
    transform: none;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 var(--gutter) 26px;
    margin-top: -1px;
    background: var(--wave-gradient);
    font-size: 12px;
  }

  .site-footer__copy {
    margin-left: 0;
  }
}
