/* リセット・ベース */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background-color: #f5f5f0;
  color: #111111;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}

a {
  color: #111111;
  text-decoration: none;
}

a:hover {
  opacity: 0.6;
}

.wp-block-cover {
  margin-top: 0 !important;
}

.hero-video {
  display: none;
}

section {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 5rem !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 4px !important;
  color: #111111 !important;
  text-align: center;
}

.section-subtitle {
  font-size: 0.75rem;
  color: #999;
  letter-spacing: 0.15em;
  margin-bottom: 56px !important;
  text-align: center;
  display: block;
}

.section-news,
.section-x,
.section-movie,
.section-solutions,
.section-supreme {
  border-top: 1px solid #e0e0e0;
}

/* NEWS */
#note-feed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.news-card-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-card-main img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  background: #ddd;
}

.news-card-main-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 8px;
  color: #111111;
}

.news-card-main-body h3 a {
  color: #111111;
}

.news-card-main-body p {
  font-size: 0.75rem;
  color: #999;
}

.news-card-sub-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-card-sub {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 24px;
  border-bottom: 1px solid #e0e0e0;
}

.news-card-sub:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.news-card-sub img {
  width: 100px;
  height: 72px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  background: #ddd;
}

.news-card-sub-body h3 {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 6px;
  color: #111111;
}

.news-card-sub-body h3 a {
  color: #111111;
}

.news-card-sub-body p {
  font-size: 0.72rem;
  color: #999;
}

.section-more {
  text-align: center;
  margin-top: 56px;
}

.more-link {
  display: inline-block;
  padding: 12px 56px;
  border: 1px solid #111111;
  color: #111111 !important;
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  transition: background 0.2s, color 0.2s;
}

.more-link:hover {
  background: #111111;
  color: #ffffff !important;
  opacity: 1;
}

/* X Latest Posts */
.section-x {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.x-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  border-bottom: 1px solid #111111;
  padding-bottom: 12px;
}

.x-header .section-title {
  font-size: 3rem !important;
  text-align: left;
  margin-bottom: 0 !important;
}

.x-account-link {
  font-size: 0.8rem;
  color: #111111;
  text-decoration: none;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.x-account-link:hover {
  opacity: 0.6;
}

.x-timeline-wrap {
  background: #f5f5f0;
  border: none;
  overflow: hidden;
}

.x-timeline-wrap iframe {
  width: 100% !important;
  background: transparent !important;
}

/* MOVIE */
.section-movie {
  background-color: #111111;
  max-width: 100%;
  padding: 100px 40px;
}

.section-movie .section-title {
  color: #ffffff !important;
}

.section-movie .section-subtitle {
  color: #666 !important;
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.movie-card iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
}

.movie-placeholder {
  grid-column: 1 / -1;
  height: 200px;
  background: #222222;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #666;
  letter-spacing: 0.1em;
}

/* SOLUTIONS */
.section-solutions {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.solutions-header {
  margin-bottom: 56px;
}

.solutions-title {
  font-size: 5rem;
  font-weight: 700;
  color: #e6390b;
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 4px;
}

.solutions-subtitle {
  font-size: 0.75rem;
  color: #999;
  letter-spacing: 0.15em;
}

.solutions-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.solution-main {
  display: flex;
  flex-direction: column;
}

.solution-main-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.solution-category {
  font-size: 0.7rem;
  color: #e6390b;
  letter-spacing: 0.15em;
  font-weight: 600;
}

.solution-main-name {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  color: #111111;
}

.solution-main-name sup {
  font-size: 1rem;
}

.solution-main-desc {
  font-size: 0.85rem;
  line-height: 1.8;
  color: #666;
}

.supreme-flow {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.supreme-flow span {
  font-size: 0.82rem;
  font-weight: 600;
  color: #111111;
}

.supreme-flow .arrow {
  color: #e6390b;
  font-weight: 400;
}

.solution-link {
  font-size: 0.78rem;
  color: #111111;
  letter-spacing: 0.05em;
  text-decoration: none;
  display: inline-block;
}

.solution-link:hover {
  opacity: 0.6;
}

.solution-sub-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.solution-sub {
  padding: 28px 0;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.solution-sub:first-child {
  border-top: 1px solid #e0e0e0;
}

.solution-sub-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.solution-sub-name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: #111111;
}

.solution-sub-desc {
  font-size: 0.8rem;
  line-height: 1.7;
  color: #666;
}

/* 至高の経営計画（赤背景） */
.section-supreme {
  background-color: #e6390b;
  max-width: 100%;
  padding: 100px 40px;
  border-top: none !important;
}

.supreme-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.supreme-tag {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.15em;
  font-weight: 600;
}

.supreme-title {
  font-size: 5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
  line-height: 1;
}

.supreme-title sup {
  font-size: 2rem;
}

.supreme-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
}

.supreme-flow-dark {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.supreme-flow-dark span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
}

.arrow-white {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}

.supreme-btn {
  display: inline-block;
  padding: 14px 56px;
  border: 1px solid #ffffff;
  color: #ffffff !important;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-decoration: none;
  width: fit-content;
  transition: background 0.2s, color 0.2s;
}

.supreme-btn:hover {
  background: #ffffff;
  color: #e6390b !important;
  opacity: 1;
}

/* レスポンシブ */
@media (max-width: 768px) {
  section {
    padding: 60px 20px;
  }

  .section-title {
    font-size: 3rem !important;
  }

  #note-feed {
    grid-template-columns: 1fr;
  }

  .movie-grid {
    grid-template-columns: 1fr;
  }

  .x-header {
    flex-direction: column;
    gap: 8px;
  }

  .x-header .section-title {
    font-size: 2rem !important;
  }

  .solutions-title {
    font-size: 3rem;
  }

  .solutions-body {
    grid-template-columns: 1fr;
  }

  .supreme-title {
    font-size: 3rem;
  }
}

/* MEMBERS */
.section-members {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid #e0e0e0;
}

.members-header {
  margin-bottom: 56px;
}

.members-title {
  font-size: 5rem;
  font-weight: 700;
  color: #111111;
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 4px;
}

.members-subtitle {
  font-size: 0.75rem;
  color: #999;
  letter-spacing: 0.15em;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.member-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.member-photo {
  width: 100%;
  aspect-ratio: 1/1;
  background: #ddd;
  overflow: hidden;
  margin-bottom: 4px;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.member-photo img:hover {
  filter: grayscale(0%);
}

.member-role {
  font-size: 0.7rem;
  color: #999;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.member-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #111111;
  letter-spacing: 0.05em;
}

.member-bio {
  font-size: 0.78rem;
  line-height: 1.8;
  color: #666;
}

.members-divider {
  margin: 72px 0 56px;
  border-top: 1px solid #e0e0e0;
  padding-top: 48px;
}

.members-advisor-label {
  font-size: 0.75rem;
  color: #999;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .members-title {
    font-size: 3rem;
  }

  .members-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 0.5px solid #e0e0e0;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.header-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.header-nav ul li a {
  font-size: 0.78rem;
  color: #111111;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: opacity 0.2s;
}

.header-nav ul li a:hover {
  opacity: 0.5;
}

.header-contact {
  padding: 8px 20px;
  border: 1px solid #111111;
  font-size: 0.75rem !important;
  letter-spacing: 0.1em !important;
  transition: background 0.2s, color 0.2s !important;
}

.header-contact:hover {
  background: #111111;
  color: #ffffff !important;
  opacity: 1 !important;
}

/* ハンバーガーメニュー（SP用） */
.header-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header-menu-btn span {
  display: block;
  width: 24px;
  height: 1px;
  background: #111111;
  transition: 0.3s;
}

/* ヘッダー分のオフセット */
body {
  padding-top: 64px;
}

/* SP */
@media (max-width: 768px) {
  .header-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 0.5px solid #e0e0e0;
    padding: 24px 40px;
  }

  .header-nav.is-open {
    display: block;
  }

  .header-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .header-menu-btn {
    display: flex;
  }
}

/* FOOTER */
.site-footer {
  background: #111111;
  color: #ffffff;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding-bottom: 64px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.15);
}

.footer-logo-img {
  height: 32px;
  width: auto;
  display: block;
  margin-bottom: 24px;
  filter: brightness(0) invert(1);
}

.footer-company {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.footer-address,
.footer-rep {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.footer-sns {
  display: flex;
  gap: 24px;
  margin-top: 24px;
}

.footer-sns-link {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-sns-link:hover {
  color: #ffffff;
  opacity: 1;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-nav ul li a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav ul li a:hover {
  color: #ffffff;
  opacity: 1;
}

.footer-bottom {
  padding-top: 32px;
  text-align: center;
}

.footer-copy {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1em;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}