@charset "UTF-8";

/* branding.html 専用。共通フォント・色・サイズは main.css の変数を使用。 */

.p-brand {
  --branding-shadow: 0 3px 0 var(--mist);
}

.brand-hero {
  padding-block: 32px 24px;
  background: linear-gradient(125deg, #FCFCFD 30%, #F0F5FA 70%, #ECE8F3);
}

:where(.brand-hero) .grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 64px;
  padding-block: 32px 64px;
}

:where(.brand-hero) .body {
  min-width: 0;
}

:where(.brand-hero) .hero-heading {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

:where(.brand-hero) .hero-en {
  font-family: var(--font-en);
  font-weight: var(--fw-regular);
  line-height: 1.05;
  letter-spacing: -.03em;
}

:where(.brand-hero) .ja {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  letter-spacing: .12em;
  line-height: 1.8;
}

:where(.brand-hero) .catch {
  font-family: var(--font-ja);
  font-size: var(--h3-size);
  line-height: 1.8;
}

:where(.brand-hero) .hero-text {
  margin-block: 24px;
}


:where(.brand-hero) .foot {
  padding-top: 24px;
  border-top: 1px solid var(--mist);
  color: var(--ink);
  font-size: var(--text-xs);
  letter-spacing: .12em;
}

.brand-board {
  min-width: 0;
}

:where(.brand-board) .scene {
  container-type: inline-size;
  position: relative;
  aspect-ratio: 1 / 1.05;
}

:where(.brand-board) .scene::before {
  content: "";
  position: absolute;
  inset: 4% 0 2%;
  border: 1px solid var(--mist);
  border-radius: 50%;
}

:where(.brand-board) .web {
  position: absolute;
  top: 8%;
  left: 0;
  width: 88%;
  padding: 20px 24px 32px;
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: var(--radius-sm);
  box-shadow: var(--branding-shadow);
  transform: rotate(-3deg);
}

:where(.brand-board) .bar {
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
}

:where(.brand-board) .bar span {
  width: 5px;
  height: 5px;
  background: var(--mist);
  border-radius: 50%;
}

:where(.brand-board) .logo {
  width: 120px;
}

:where(.brand-board) .webbody {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: 28px;
}

:where(.brand-board) .webbody p {
  font-family: var(--font-ja);
  line-height: 1.8;
  white-space: nowrap;
}

:where(.brand-board) .webbody img {
  width: 30%;
}

:where(.brand-board) .line {
  display: block;
  height: 2px;
  background: var(--mist);
  width: 64%;
  margin-top: 10px;
}

:where(.brand-board) .line.is-short {
  width: 45%;
}

:where(.brand-board) .board-card {
  position: absolute;
  left: 2%;
  bottom: 8%;
  width: 60%;
  aspect-ratio: 1.65;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--mist);
  box-shadow: var(--branding-shadow);
  transform: rotate(-7deg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

:where(.brand-board) .board-card img {
  width: 70%;
}

:where(.brand-board) .board-card p {
  font-size: var(--text-xs);
  line-height: 1.6;
  letter-spacing: .12em;
  color: var(--ink);
}

:where(.brand-board) .social {
  position: absolute;
  right: 0;
  bottom: 18%;
  width: 37%;
  aspect-ratio: .82;
  padding: clamp(12px, 4cqi, 24px);
  background: var(--mist);
  border: 1px solid var(--mist);
  transform: rotate(5deg);
  box-shadow: var(--branding-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

:where(.brand-board) .social img {
  width: 48%;
  align-self: flex-end;
}

:where(.brand-board) .social p {
  font-family: var(--font-ja);
  line-height: 1.8;
}

:where(.brand-board) .swatches {
  position: absolute;
  display: flex;
  right: 4%;
  bottom: 4%;
  gap: 10px;
}

:where(.brand-board) .swatches span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue);
}

:where(.brand-board) .swatches span:nth-child(2) {
  background: var(--lavender);
}

:where(.brand-board) .swatches span:nth-child(3) {
  background: var(--ink);
}

:where(.brand-board) .caption {
  margin-top: 24px;
  font-size: var(--text-xs);
  color: var(--ink);
  text-align: center;
}

.brand-intro {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: start;
  column-gap: 64px;
}

:where(.brand-intro) .body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand-needs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: var(--space-xl);
  border-top: 1px solid var(--mist);
}

.brand-needs li {
  position: relative;
  padding: 28px 28px 0 15px;
}

.brand-needs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 41px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lavender);
}

.brand-scope {
  background: var(--mist);
}

:where(.brand-scope) .list {
  margin-top: var(--space-xl);
}

:where(.brand-scope) .row {
  display: grid;
  grid-template-columns: 50px .9fr 1.1fr;
  gap: 32px;
  padding-block: 36px;
  border-top: 1px solid var(--mist);
}

:where(.brand-scope) .num {
  font-family: var(--font-en);
  font-size: var(--text-num);
  color: var(--accent);
  line-height: 1;
}

:where(.brand-scope) .title {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

:where(.brand-scope) .title span {
  font-family: var(--font-en);
  line-height: 1.2;
  font-weight: var(--fw-regular);
}

:where(.brand-scope) .items {
  margin-top: 16px;
  color: var(--ink);
}

:where(.brand-scope) .scope-note {
  max-width: var(--reading);
  margin-top: 24px;
}

.brand-examples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 48px;
}

.brand-example {
  padding-top: 28px;
  border-top: 2px solid var(--blue);
}

.brand-example:nth-child(2) {
  border-color: var(--lavender);
}

.brand-example:nth-child(3) {
  border-color: var(--ink);
}

:where(.brand-example) .label {
  font-size: var(--text-xs);
  letter-spacing: .14em;
  color: var(--accent);
}

:where(.brand-example) .title {
  margin-top: 18px;
}

:where(.brand-example) .list {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--mist);
  color: var(--ink);
}

:where(.brand-example) .list li + li {
  margin-top: 8px;
}

.brand-process {
  background: var(--mist);
}

:where(.brand-process) .list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: var(--space-xl);
}

:where(.brand-process) .list li {
  padding-top: 24px;
  border-top: 1px solid var(--mist);
}

:where(.brand-process) .num {
  font-family: var(--font-en);
  font-size: var(--text-num);
  line-height: 1;
  color: var(--accent);
}

:where(.brand-process) .list h3 {
  margin-top: 16px;
}

:where(.brand-process) .list p {
  color: var(--ink);
}

.brand-consult {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.consult-text {
  margin-bottom: 24px;
}

:where(.brand-consult) .actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 32px;
  border-left: 1px solid var(--mist);
}

:where(.brand-consult) .actions .btn {
  padding-inline: 24px;
}


@media (max-width: 760px) {


  .brand-hero {
    padding-top: 16px;
  }

  :where(.brand-hero) .grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-block: 24px 40px;
  }

  :where(.brand-hero) .hero-en br {
    display: none;
  }

  :where(.brand-hero) .hero-en {
    line-height: 1.05;
  }

  :where(.brand-hero) .foot {
    line-height: 1.8;
  }

  .brand-board {
    width: 100%;
    max-width: 420px;
    justify-self: center;
  }

  :where(.brand-board) .web {
    padding: 16px 20px 20px;
  }

  :where(.brand-board) .bar {
    margin-bottom: 12px;
  }

  :where(.brand-board) .webbody {
    padding-block: 18px;
    gap: 12px;
  }

  :where(.brand-board) .logo {
    width: 90px;
  }

  :where(.brand-board) .board-card {
    padding: 16px;
  }

  :where(.brand-board) .swatches span {
    width: 24px;
    height: 24px;
  }

  :where(.brand-board) .caption {
    margin-top: 12px;
  }

  .brand-intro {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 32px;
  }

  .brand-consult {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .brand-needs,
  .brand-examples {
    grid-template-columns: minmax(0, 1fr);
  }

  .brand-needs li {
    padding-right: 0;
  }

  :where(.brand-scope) .row {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 20px;
    padding-block: 28px;
  }

  :where(.brand-scope) .body {
    grid-column: 2;
  }

  :where(.brand-scope) .title span {
    overflow-wrap: anywhere;
  }

  :where(.brand-process) .list {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  :where(.brand-consult) .actions {
    border-left: 0;
    border-top: 1px solid var(--mist);
    padding: 32px 0 0;
  }

  :where(.brand-consult) .actions .btn {
    width: 100%;
    justify-content: space-between;
    padding-inline: 18px;
  }
}
@container (max-width: 320px) {
  :where(.brand-board) .social p,
  :where(.brand-board) .webbody p { font-size: var(--text-sm); }
}

:where(.brand-scope) .row > h3 {
  margin-bottom: 0;
}
@media (max-width: 760px) {
  :where(.brand-scope) .row {
    row-gap: var(--h3-after);
  }
}
