/* ============================================
   BE LEGACY - TOP Page Styles
   - 1440px PC基準
   - SP/Tabletはカラム落ちで対応（カンプ無）
   ============================================ */

:root {
  --color-bg: #f8f8f8;
  --color-text: #000;
  --color-line: #000;
  --color-overlay-bg: #f6f6f2;

  --font-jp: "Zen Old Mincho", "Yu Mincho", "游明朝", serif;
  --font-en: "Libre Caslon Text", "Cormorant Garamond", serif;
}

/* ---------- TOP Body Override ---------- */
body {
  /* body.is-top { */
  background: var(--color-bg);
  font-family: var(--font-jp);
  color: var(--color-text);
  letter-spacing: 0.05em;
  line-height: 1.5;
}

/* ---------- Common Inner（共通コンテンツ幅） ----------
*/

.is-pc {
  @media (max-width: 767px) {
    display: none !important;
  }
}

.is-sp {
  @media (min-width: 768px) {
    display: none !important;
  }
}

.c-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: min(calc(120 / 1440 * 100vw), 120px);
  margin: 0 auto;
  @media (max-width: 767px) {
    padding-inline: 24px;
  }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 9;
  width: 100%;
  background: #fff;
  padding-block: 20px;
  padding-inline: 8px 40px;
}

.header-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 8px;
}

.header__logo-img {
  height: 48px;
  width: auto;
  display: block;

  @media (max-width: 767px) {
    height: 32px;
  }
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 40px;

  @media (max-width: 767px) {
    gap: 16px;
  }
}

.header__nav-link {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 400;
  color: #000;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-decoration: none;
  transition: opacity 0.3s;

  @media (max-width: 767px) {
    font-size: 13px;
  }
}

.header__nav-link:hover {
  opacity: 0.7;
}

.header__youtube {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header__youtube img,
.header__youtube svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  width: 100%;
  @media (max-width: 767px) {
    padding-top: 40px;
  }
}

.hero-inner {
  display: flex;
  justify-content: space-between;
  gap: min(calc(100 / 1440 * 100vw), 100px);
  position: relative;
  @media (max-width: 767px) {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
}

.hero__slide {
  width: min((600 / 1440 * 100vw), 600px);
  overflow: hidden;
  flex-shrink: 0;
  margin: 0;
  @media (max-width: 767px) {
    width: 100%;
  }
}

.hero__slide img {
  width: 100%;
  height: 100%;
  aspect-ratio: 600 / 790;
  object-fit: cover;
  display: block;
}

/* 縦書きテキスト群（右上から左に向かって配置） */
.hero__content {
  width: 100%;
  margin-top: min(calc(100 / 1440 * 100vw), 100px);
  @media (max-width: 767px) {
    margin-top: 0;
  }
}

.hero__wrap {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  gap: 32px;
  @media (max-width: 767px) {
    flex-direction: row;
    gap: 0;
  }
}

.hero__tate {
  font-family: var(--font-jp);
  writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  color: #000;

  @media (max-width: 767px) {
    position: static;
    writing-mode: horizontal-tb;
    flex-direction: column;
    gap: 16px;
    line-height: 1.8;
  }
}

.hero__tate--lead {
  font-size: 28px;
  letter-spacing: 0.1em;
  line-height: 1.9;
  margin-right: 24px;

  @media (max-width: 767px) {
    font-size: 22px;
  }
}

.hero__tate--lead p {
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  margin: 0;
}

.hero__tate--body {
  font-size: 15px;
  letter-spacing: 0.05em;
  line-height: 2;
  margin-top: 64px;

  @media (max-width: 767px) {
    font-size: 14px;
    margin-top: 0;
  }
}

.hero__photo {
  width: min((480 / 1440 * 100vw), 480px);
  margin-top: 32px;
  @media (max-width: 767px) {
    width: 100%;
    margin-top: 16px;
  }
}

.hero__photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 480 / 220;
  object-fit: cover;
  display: block;
}

/* ---------- Section Title (共通) ---------- */
.c-title {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.c-title__en {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: capitalize;
  margin: 0;
}

.c-title__ja {
  font-family: var(--font-jp);
  font-size: 40px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin: 0;

  @media (max-width: 767px) {
    font-size: 32px;
  }
}

/* ---------- Tag (rounded pill) ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #000;
  border-radius: 999px;
  padding: 4px 8px;
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 400;
  color: #000;
  letter-spacing: 0.05em;
  line-height: 1;
  white-space: nowrap;
}

/* ---------- Latest Section ---------- */
.latest {
  width: 100%;
  padding: 80px 0;

  @media (max-width: 767px) {
    padding: 64px 0;
  }
}

.latest-inner {
  display: flex;
  align-items: stretch;
  gap: 40px;

  @media (max-width: 767px) {
    flex-direction: column;
    gap: 32px;
  }
}

.latest__title-area {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding-left: 12px;
  flex-shrink: 0;

  @media (max-width: 767px) {
    padding-left: 0;
  }
}

.latest__title-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;

  @media (max-width: 767px) {
    width: 100%;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }
}

.latest__title-group {
  @media (max-width: 767px) {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
}

.latest__title-ja {
  font-family: var(--font-jp);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.1;
  writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  margin: 0;
  color: #000;

  @media (max-width: 767px) {
    writing-mode: horizontal-tb;
    font-size: 32px;
  }
}

.latest__more {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
  padding: 0 16px;
  border-left: 1px solid #000;
  text-decoration: none;
  transition: opacity 0.3s;
  @media (any-hover: hover) {
    &:hover {
      opacity: 0.7;
    }
  } 

  @media (max-width: 767px) {
    flex-direction: row;
    border-left: none;
    padding: 0;
    align-items: center;
    gap: 8px;
  }
}

.latest__more-text {
  writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  font-family: var(--font-jp);
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 1.1;
  color: #000;
  margin: 0;

  @media (max-width: 767px) {
    writing-mode: horizontal-tb;
  }
}

.latest__more-icon {
  width: 16px;
  height: 16px;
  display: block;
}

.latest__title-en {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: capitalize;
  color: #000;
  writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  margin: 0;
  white-space: nowrap;

  @media (max-width: 767px) {
    writing-mode: horizontal-tb;
  }
}

.latest__cards {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;

  @media (max-width: 767px) {
    grid-template-columns: 1fr;
  }
}

/* ---------- Card (Latest 3-col) ---------- */
.card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border: 1px solid #000;
  background: transparent;
  text-decoration: none;
  transition: opacity 0.3s;
  @media (max-width: 767px) {
    padding: 16px;
  }
}

.card + .card {
  margin-left: -1px; /* 罫線重ね */

  @media (max-width: 767px) {
    margin-left: 0;
    margin-top: -1px;
  }
}

.card:hover {
  opacity: 0.7;
}

.card__head {
  display: flex;
  /* align-items: center; */
  justify-content: space-between;
  gap: 8px;
}

.card__date {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.05em;
  line-height: 1;
  color: #000;
  white-space: nowrap;
  margin-top: 10px;
}

.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1 0 0;
}

.card__photo {
  width: 100%;
}

.card__photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 288 / 171;
  object-fit: cover;
  display: block;
}

.card__company {
  font-family: var(--font-jp);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.4;
  color: #000;
  margin: 0;
}

.card__name {
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.4;
  color: #000;
  margin: 0;
}

.card__catch {
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: #000;
  margin: 0;
}

/* ---------- Featured Section ---------- */
.featured {
  width: 100%;
  padding: 80px 0;

  @media (max-width: 767px) {
    padding: 64px 0;
  }
}

.featured__main {
  display: flex;
  gap: 40px;
  align-items: stretch;
  transition: opacity 0.3s;
  @media (any-hover: hover) {
    &:hover {
      opacity: 0.7;
    }
  }

  @media (max-width: 767px) {
    flex-direction: column;
    gap: 32px;
    margin-top: 32px;
  }
}

.featured__photo {
  width: 815px;
  flex-shrink: 0;
  aspect-ratio: 815 / 460;
  overflow: hidden;
  position: relative;
  /* 図形カット用マスク：左上を斜めに削る - シンプルにアスペクト維持 */

  @media (max-width: 1280px) {
    width: 50%;
  }

  @media (max-width: 767px) {
    width: 100%;
  }
}

.featured__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured__info {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 64px;
  justify-content: center;
}

.featured__heading {
  @media (max-width: 767px) {
    gap: 8px;
  }
}

.featured__info-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.featured__company {
  font-family: var(--font-jp);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin: 0;
}

.featured__name {
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin: 0;
}

.featured__catch {
  font-family: var(--font-jp);
  font-size: 14px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin: 0;
}

.featured__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.featured__sub {
  /* display: flex; */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 40px;

  @media (max-width: 767px) {
    /* flex-direction: column; */
    grid-template-columns: repeat(1, 1fr);
  }
}

.featured-card {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  text-decoration: none;
  align-items: flex-start;
  transition: opacity 0.3s;
}

.featured-card:hover {
  opacity: 0.7;
}

.featured-card__media {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.featured-card__photo {
  width: 100%;
  aspect-ratio: 261 / 147;
  overflow: hidden;
}

.featured-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.featured-card__body {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #000;
}

.featured-card__company {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin: 0;
}

.featured-card__name {
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin: 0;
}

.featured-card__catch {
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin: 0;
}

/* ---------- Legacy Section ---------- */
.legacy {
  width: 100%;
  padding: 80px 0;

  @media (max-width: 767px) {
    padding: 64px 0;
  }
}

.legacy-inner {
  display: flex;
  gap: 24px;

  @media (max-width: 767px) {
    flex-direction: column;
    align-items: stretch;
  }
}

.legacy__intro {
  width: min(calc(384 / 1440 * 100vw), 384px);
  height: fit-content;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  padding-block: 24px;

  @media (max-width: 767px) {
    width: 100%;
    height: auto;
  }
}
.legacy__intro-title {
  align-items: center;
  text-align: center;
  width: 100%;
}

.legacy__intro-lead {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-align: center;
  margin: 0;
}

.legacy__intro-body {
  font-family: var(--font-jp);
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin: 0;
  text-align: justify;
}

.legacy-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  @media (max-width: 600px) {
    grid-template-columns: 1fr;
  }
}

.legacy-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border: 1px solid #000;
  background: transparent;

  @media (max-width: 767px) {
    width: 100%;
  }
}

.legacy-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.legacy-card__title {
  font-family: var(--font-jp);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1;
  margin: 0;
}

.legacy-card__num {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  width: 32px;
}

.legacy-card__num-text {
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
  margin: 0;
}

.legacy-card__num-line {
  width: 100%;
  height: 1px;
  background: #000;
}

.legacy-card__photo {
  height: 171px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.legacy-card__photo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.legacy-card__body {
  font-family: var(--font-jp);
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin: 0;
}

/* ---------- Audience Section ---------- */
.audience {
  width: 100%;
  padding: 80px 0;

  @media (max-width: 767px) {
    padding: 64px 0;
  }
}

.audience__head {
  width: 100%;
  padding-top: 40px;
  border-top: 1px solid #000;
  text-align: center;
}

.audience__lead {
  font-family: var(--font-jp);
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-align: center;
  margin-top: 32px;
}

.audience__cards {
  width: 100%;
  display: flex;
  gap: 24px;
  align-items: stretch;
  margin-top: 32px;

  @media (max-width: 767px) {
    flex-direction: column;
  }
}

.audience-card {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid #000;
  padding: 4px;
  background: transparent;
}

.audience-card__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border: 3px solid #000;
}

.audience-card__title {
  font-family: var(--font-jp);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin: 0;
  min-height: 70px;
}

.audience-card__photo {
  height: 171px;
  width: 100%;
  overflow: hidden;
}

.audience-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.audience-card__lead {
  font-family: var(--font-jp);
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin: 0;
}

.audience-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.audience-card__item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.audience-card__check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.audience-card__check svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: none;
  stroke: #000;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.audience-card__item-text {
  flex: 1;
  font-family: var(--font-jp);
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin: 0;
}

/* ---------- About Us Section ---------- */
.about {
  width: 100%;
  padding: 80px 0;

  @media (max-width: 767px) {
    padding: 64px 0;
  }
}

.about-inner {
  position: relative;
  width: calc(100% - 120px * 2);
  max-width: calc(1440px - 120px * 2);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-end;
  padding: 64px;
  border: 3px solid #000;

  @media (max-width: 1280px) {
    width: calc(100% - 40px * 2);
  }

  @media (max-width: 767px) {
    width: calc(100% - 24px * 2);
    padding: 32px;
    gap: 32px;
  }
}

.about__tab {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  background: var(--color-overlay-bg);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;

  @media (max-width: 767px) {
    display: block;
    top: 0;
    left: 70px;
  }
}

.about__tab-text {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: capitalize;
  writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  margin: 0;
  white-space: nowrap;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  @media (max-width: 767px) {
    writing-mode: horizontal-tb;
  }
}

.about__main {
  width: 100%;
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;

  @media (max-width: 767px) {
    flex-direction: column;
    gap: 32px;
  }
}

.about__text {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about__heading {
  @media (max-width: 767px) {
    font-size: 28px;
  }
}

.about__body {
  font-family: var(--font-jp);
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin: 0;
}

.about__photo {
  width: min(calc(560 / 1440 * 100vw), 560px);
  /* height: 560px; */
  aspect-ratio: 560 / 560;
  flex-shrink: 0;
  overflow: hidden;

  @media (max-width: 767px) {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.about__stats {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 31px;
  padding-top: 40px;
  border-top: 1px solid #000;
  align-items: center;
}

.about__stats-lead {
  font-family: var(--font-jp);
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-align: center;
  margin: 0;
  @media (max-width: 767px) {
    text-align: left;
  }
}

.about__stats-list {
  display: flex;
  justify-content: center;
  gap: min(calc(80 / 1440 * 100vw), 80px);
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;

  @media (max-width: 767px) {
    flex-direction: column;
    gap: 32px 16px;
  }
}

.about__stat {
  /* flex: 1 0 0; */
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  @media (max-width: 767px) {
    flex: 1 1 calc(50% - 16px);
  }
}

.about__stat-label {
  font-family: var(--font-jp);
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 34px;
  margin: 0;
}

.about__stat-num {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 36px;
  letter-spacing: 0.05em;
  line-height: 32px;
  margin: 0;
}

.about__stat-unit {
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 0.05em;
  line-height: 32px;
}

/* ---------- Contact Section ---------- */
.contact {
  position: relative;
  width: 100%;
  padding: 120px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;

  @media (max-width: 767px) {
    padding: 64px 0;
  }
}

.contact__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: blur(2px) brightness(0.8);
}

/* .contact__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
} */

.contact-inner {
  position: relative;
  z-index: 1;
  width: calc(100% - 120px * 2);
  max-width: calc(1440px - 120px * 2);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 80px;

  @media (max-width: 1280px) {
    width: calc(100% - 40px * 2);
  }

  @media (max-width: 767px) {
    width: calc(100% - 24px * 2);
    flex-direction: column;
    gap: 32px;
    align-items: center;
    text-align: center;
  }
}

.contact__copy {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  /* align-items: center; */
  flex-direction: column;
  gap: 20px;
  color: #fff;

  @media (max-width: 767px) {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
  }
}

.contact__title {
  flex-shrink: 0;
  color: #fff;
}

.contact__title-ja {
  font-weight: 500;
}

.contact__desc {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin: 0;
  white-space: nowrap;

  @media (max-width: 767px) {
    white-space: normal;
  }
}

.contact__btn {
  height: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 24px 40px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-family: var(--font-jp);
  font-size: 20px;
  letter-spacing: 0.05em;
  line-height: 1;
  text-decoration: none;
  transition:
    background 0.3s,
    color 0.3s;
  /* align-self: stretch; */
}

.contact__btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.contact__btn svg {
  width: 24px;
  height: 24px;
  display: block;
  fill: currentColor;
}

/* ---------- Footer ---------- */
.footer {
  background: #fff;
  width: 100%;
  padding: 40px 0;

  @media (max-width: 767px) {
    padding: 24px 0;
  }
}

.footer-inner {
  width: calc(100% - 40px * 2);
  max-width: calc(1440px - 40px * 2);
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  padding-top: 40px;
  border-top: 1px solid #000;

  @media (max-width: 767px) {
    width: calc(100% - 24px * 2);
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
}

.footer__brand {
  width: 430px;
  display: flex;
  flex-direction: column;
  gap: 16px;

  @media (max-width: 767px) {
    width: 100%;
  }
}

.footer__logo {
  display: block;
  width: 109px;
}

.footer__address {
  font-family: var(--font-jp);
  font-size: 14px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin: 0;
}

.footer__right {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;

  @media (max-width: 767px) {
    align-items: flex-start;
    gap: 24px;
  }
}

.footer__nav {
  display: flex;
  align-items: center;
  gap: 40px;

  @media (max-width: 767px) {
    flex-wrap: wrap;
    gap: 16px 24px;
  }
}

.footer__nav-link {
  font-family: var(--font-jp);
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: #000;
  text-decoration: none;
  transition: opacity 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 16px;

  @media (max-width: 767px) {
    font-size: 14px;
  }
}

.footer__nav-link:hover {
  opacity: 0.7;
}

.footer__nav-link svg {
  width: 24px;
  height: 24px;
  display: block;
  fill: currentColor;
}

.footer__sns {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer__sns svg {
  width: 100%;
  height: 100%;
  fill: #000;
}

.footer__copy {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: #a2a2a2;
  margin: 0;
}

/* ---------- Kotobito Banner ---------- */
.kotobito {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 24px;
  /* background: #f7f0e6; */
  overflow: hidden;
}

.kotobito__inner {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  /* align-items: stretch; */
  /* justify-content: space-between; */
  /* gap: min(calc(130 / 1440 * 100vw), 130px); */
  gap: 32px;
  /* padding: 0 120px; */
  /* overflow: hidden; */
  @media (max-width: 767px) {
    flex-direction: column;
    width: calc(100% - 24px * 2);
    height: 100%;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    text-align: center;
    padding: 32px 0;
  }
}

.kotobito__copy {
  width: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  flex-shrink: 0;
  @media (max-width: 767px) {
    width: 100%;
    align-items: center;
  }
}

.kotobito__text {
  font-family: "Zen Old Mincho", "Yu Mincho", "游明朝", serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: #000;
  margin: 0;
  @media (max-width: 767px) {
    font-size: 14px;
  }
}

.kotobito__btn {
  max-width: 320px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border: 1px solid #000;
  background: transparent;
  color: #000;
  font-family: "Zen Old Mincho", "Yu Mincho", "游明朝", serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition:
    background 0.3s,
    color 0.3s;
}

.kotobito__btn:hover {
  background: #000;
  color: #f7f0e6;
}

.kotobito__btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.kotobito__media {
  position: relative;
  /* width: 600px; */
  width: min(100%, 415px);
  height: 100%;
  @media (max-width: 767px) {
    width: 100vw;
    margin-inline: -24px;
  }
}

.kotobito__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

