@charset "UTF-8";
/* CSS Document */

html {
  scroll-behavior: smooth;
}
html,
body {
    width: 100%;
    overflow-x: clip;
}
section[id] {
  scroll-margin-top: calc(var(--header-height, 64px) - 1px);
}

:root {
  --bg-main: #050607;
  --bg-elevated: #101214;
  --text-main: #f5f5f5;
  --text-sub: #cccccc;
  --accent: #d0d0d0;
  --border: #333333;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
               "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  background: radial-gradient(circle at top, #20232a 0%, #050607 55%, #000000 100%);
  color: var(--text-main);
  line-height: 1.8;
  letter-spacing: 0.04em;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.nav-links a:hover { text-decoration: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 110;
    width: 100%;
    background: rgba(5, 6, 7, 0.96);
    border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav-logo {
  font-size: 18px;
  font-weight: 600;
    height: 40px;
}
/* HEADER LOGO ICON */

.nav-logo a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}

.nav-logo-icon {
    display: block;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-logo span {
    line-height: 1;
}

@media (max-width: 991px) {
    .nav-logo-icon {
        width: 40px;
        height: 40px;
    }

    .nav-logo a {
        gap: 10px;
    }
}
.nav-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.nav-links a {
  position: relative;
  padding-bottom: 3px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width .2s ease;
}

.nav-links a:hover::after { width: 100%; }

/* MOBILE MENU */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  margin: 6px auto;
  background: var(--text-main);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.nav-overlay {
    display: none;
    padding: 0;
    border: 0;
    cursor: default;
}

@media (max-width: 991px) {
    .site-header,
    .nav {
        width: 100%;
        max-width: 100%;
    }
    .nav {
        display: flex;
        min-height: 64px;
        align-items: center;
        padding: 10px 15px;
    }

    .nav-logo {
        position: relative;
        z-index: 70;
        font-size: 17px;
        flex-shrink: 0;
    }

    .menu-toggle {
        position: relative;
        z-index: 130;
        display: block;
        flex-shrink: 0;
        margin-left: auto;
    }

    .nav-links {
        position: fixed;
        z-index: 120;
        top: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: min(82vw, 340px);
        max-width: 100%;
        height: 100dvh;
        padding: 88px 28px 32px;
        overflow-y: auto;
        background: #0b0d0f;
        box-shadow: -12px 0 32px rgba(0, 0, 0, 0.45);
        transform: translateX(100%);
        visibility: hidden;
        transition:
          transform 0.3s ease,
          visibility 0.3s ease;
        overscroll-behavior: contain;
    }

  .nav-links a {
    display: block;
    margin: 0;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    text-align: left;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-overlay {
    position: fixed;
      display: block;
    z-index: 100;
    inset: 0;
    width: 100%;
    height: 100dvh;
    padding: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    cursor: pointer;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
    touch-action: none;
    overscroll-behavior: contain;
  }

  body.menu-open .nav-links {
    transform: translateX(0);
    visibility: visible;
  }

  body.menu-open .nav-overlay {
    opacity: 1;
    visibility: visible;
      pointer-events: auto;
  }
/* メニュー表示中はヘッダー部分のクリックを下のオーバーレイへ通す */
    body.menu-open .site-header {
        pointer-events: none;
    }

/* メニューと閉じるボタンは操作可能なままにする */
    body.menu-open .nav-links,
    body.menu-open .menu-toggle {
        pointer-events: auto;
    }

  body.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-toggle span,
  .nav-links,
  .nav-overlay {
    transition: none;
  }
}

/* HERO */
.hero {
  padding: 72px 0;
  text-align: center;
}

.hero-logo {
  width: 200px;
  height: 200px;
  margin: 0 auto 32px;
  border-radius: 50%;
  border: none;
  background: radial-gradient(circle at 30% 0%, #3a3a3a, #050607 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(0,0,0,.7);
}

.hero-logo img { width: 90%; }

.hero-copy-main {
  font-family: "Hiragino Mincho ProN","Yu Mincho","Noto Serif JP",serif;
  font-size: 26px;
  margin-bottom: 16px;
}

.hero-copy-main span { display: block; }

.hero-copy-sub {
  font-size: 13px;
  color: var(--text-sub);
  max-width: 870px;
  margin: 0 auto;
}

.hero-tag {
  margin-top: 24px;
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--text-sub);
}

.hero-motto {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  margin: 28px auto 50px;
  color: #f5f5f5;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.08em;
}

.hero-motto span {
  color: #f5f5f5;
  font-weight: 600;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.hero-copy-sub p {
  margin: 0;
}

.hero-copy-sub p + p {
  margin-top: 12px;
}

.hero-business-copy {
  margin-bottom: 20px !important;
  color: #e8e8e8;
  font-size: 18px;
  line-height: 1.9;
}

.hero-business-copy strong {
  color: #fff;
  font-weight: 600;
}

@media (max-width: 767px) {
  .hero-motto {
    display: block;
    margin: 22px auto 20px;
    font-size: 13px;
  }

  .hero-motto span {
    display: block;
    margin-bottom: 3px;
  }

  .hero-business-copy {
    font-size: 16px;
  }
}

/* SECTION COMMON */
section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
  background: linear-gradient(to bottom, rgba(255,255,255,.01), rgba(0,0,0,.5));
}

section:nth-of-type(even) {
  background: radial-gradient(circle at top, #15181b 0%, #050607 55%);
}

.section-title-en {
  font-size: 14px;
  letter-spacing: .28em;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.section-title-ja {
  font-family: "Hiragino Mincho ProN","Yu Mincho","Noto Serif JP",serif;
  font-size: 22px;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 14px;
  color: var(--text-sub);
  max-width: 820px;
}

/* PHILOSOPHY */
.philosophy-inner { max-width: 780px; margin: 0 auto; text-align: center; }

.philosophy-main {
  font-family: "Hiragino Mincho ProN","Yu Mincho","Noto Serif JP",serif;
  font-size: 22px;
  margin: 24px 0;
}

.divider {
  border-top: 1px solid var(--border);
  max-width: 260px;
  margin: 24px auto;
}

/* MESSAGE */
.message-label {
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--text-sub);
}

.message-name { font-size: 18px; margin-bottom: 12px; }

.message-word {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  margin-bottom: 16px;
}

.message-main {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 16px;
}

/* BUSINESS */
.business-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 24px;
  margin-top: 32px;
}

.business-card {
  background: rgba(12,14,16,.95);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.05);
  box-shadow: 0 10px 24px rgba(0,0,0,.6);
}

.business-card-title {
  font-family: "Hiragino Mincho ProN","Yu Mincho","Noto Serif JP",serif;
  font-size: 15px;
    margin: 0 0 6px;
}

.business-tag {
  font-size: 11px;
  color: var(--text-sub);
  margin-bottom: 12px;
}

.business-card p {
  font-size: 13px;
  color: var(--text-sub);
}

/* FOOTER */
footer {
  background: #020203;
  border-top: 1px solid var(--border);
  padding: 18px 0 30px;
  font-size: 11px;
  color: #777;
}

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

@media (max-width: 560px) {
  .business-grid { grid-template-columns: 1fr; }
  .hero-logo { width: 170px; height: 170px; }
  .hero-copy-main { font-size: 21px; }
}


/*****************************************
追加CSS
*****************************************/
.nav-logo a {
  color: inherit;
  text-decoration: none;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav li:not(:last-child)::after {
  content: " / ";
  margin: 0 6px;
  color: #777;
}

@media (max-width: 767px) {
  .footer-inner {
    display: block;
  }

  .footer-nav {
    margin-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .menu-toggle span,
  .nav-links,
  .nav-overlay {
    transition: none;
  }
}

@media (max-width: 991px) {
  .nav-links a[aria-current] {
    padding-left: 12px;
    border-left: 2px solid #2a4268;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
  }
}

/* SUBPAGE */
.subpage-main {
  min-height: 70vh;
}

.breadcrumb {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-sub);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li:not(:last-child)::after {
  content: ">";
  margin-left: 8px;
  color: #777;
}

.breadcrumb a {
  color: var(--text-sub);
}

.subpage-hero {
  padding: 72px 0 56px;
}

.subpage-title {
  margin: 0 0 16px;
  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "Noto Serif JP",
    serif;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.subpage-lead {
  max-width: 760px;
  margin: 0;
  color: var(--text-sub);
  font-size: 14px;
}

@media (max-width: 767px) {
  .breadcrumb {
    padding: 12px 0;
  }

  .subpage-hero {
    padding: 48px 0 40px;
  }

}

/* FAQ CATEGORY NAV */
.faq-category-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.faq-category-nav a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 94px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-main);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.faq-category-nav a:hover {
  border-color: #666;
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transform: translateY(-2px);
}

.faq-category-nav span {
  display: block;
  margin-top: 6px;
  color: var(--text-sub);
  font-size: 11px;
}

/* FAQ CATEGORY */
.faq-category {
  scroll-margin-top: var(--header-height, 64px);
}

.faq-category-title {
  margin: 0;
  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "Noto Serif JP",
    serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 500;
}

.faq-category-count {
  margin: 6px 0 28px;
  color: var(--text-sub);
  font-size: 12px;
}

/* FAQ ITEM */
.faq-item {
  border-top: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 52px 24px 8px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 24px;
  right: 12px;
  color: var(--text-sub);
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-mark {
  flex: 0 0 52px;
  color: var(--text-main);
  font-family: Georgia, serif;
  font-size: 18px;
  line-height: 1.6;
}

.faq-question {
  color: var(--text-main);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
}

.faq-answer {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 0 52px 28px 8px;
  color: var(--text-sub);
}

.faq-answer .faq-mark {
  color: #e38989;
}

.faq-answer-body {
  min-width: 0;
  font-size: 14px;
  line-height: 2;
}

.faq-answer-body p {
  margin: 0 0 1.4em;
}

.faq-answer-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .faq-category-nav {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .faq-category-nav {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .faq-category-nav a {
    min-height: auto;
    padding: 14px 18px;
    text-align: left;
  }

  .faq-category-nav span {
    margin-top: 2px;
  }

  .faq-item summary {
    gap: 12px;
    padding: 20px 42px 20px 0;
  }

  .faq-answer {
    gap: 12px;
    padding: 0px 42px 20px 0;
  }

  .faq-question,
  .faq-answer-body {
    font-size: 13px;
  }
}

/* カテゴリごとに番号をリセット */
.faq-category {
  counter-reset: faq-number;
}

/* Q&Aごとに番号を1つ進める */
.faq-item {
  counter-increment: faq-number;
}

/* Q1. Q2. ...を自動表示 */
.faq-number::before {
  content: "Q" counter(faq-number) ".";
}

.faq-number {
  flex: 0 0 52px;
  color: #8fbee1;
  font-family: Georgia, serif;
  font-size: 18px;
  line-height: 1.7;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .faq-number {
    flex-basis: 44px;
    font-size: 15px;
  }
    .faq-mark {
      flex-basis: 44px;
    font-size: 15px;
    }
}

.nav-links a[aria-current]::after {
  width: 100%;
}
@media (max-width: 991px) {
  .nav-links a[aria-current] {
    padding-left: 12px;
    border-left: 2px solid var(--text-main);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
  }
}

.footer-nav a[aria-current="page"] {
  color: var(--text-main);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* PRIVACY POLICY */
.privacy-content {
  padding: 64px 0 96px;
}

.privacy-body {
  max-width: 860px;
  margin: 0 auto;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 2;
}

.privacy-body > p:first-child {
  margin-top: 0;
}

.privacy-body h2 {
  margin: 56px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text-main);
  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "Noto Serif JP",
    serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
}

.privacy-body h2:first-child {
  margin-top: 0;
}

.privacy-body h3 {
  margin: 32px 0 12px;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 500;
}

.privacy-body p {
  margin: 0 0 20px;
}

.privacy-body ul,
.privacy-body ol {
  margin: 0 0 24px;
  padding-left: 1.5em;
}

.privacy-body li {
  margin-bottom: 8px;
}

.privacy-body a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 767px) {
  .privacy-content {
    padding: 48px 0 72px;
  }

  .privacy-body {
    font-size: 13px;
  }

  .privacy-body h2 {
    margin-top: 44px;
    font-size: 18px;
  }
}

.privacy-contact {
  color: var(--text-sub);
  font-style: normal;
}

.privacy-contact > p {
  color: var(--text-main);
  font-weight: 500;
}

.privacy-contact dl {
  margin: 24px 0 0;
}

.privacy-contact dl > div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}

.privacy-contact dl > div:last-child {
  border-bottom: 1px solid var(--border);
}

.privacy-contact dt {
  color: var(--text-sub);
}

.privacy-contact dd {
  min-width: 0;
  margin: 0;
}

.privacy-contact a {
  overflow-wrap: anywhere;
}

@media (max-width: 560px) {
  .privacy-contact dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}



/* FOOTER MEDIA */
.footer-media {
  padding: 8px 0 22px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.footer-media-label {
  margin: 0 0 12px;
  color: #777;
  font-size: 10px;
  letter-spacing: 0.24em;
}

.footer-media-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-media-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 150px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-sub);
  font-size: 12px;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.footer-media-link:hover {
  border-color: #666;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  text-decoration: none;
}

.footer-media-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.footer-media-arrow {
  margin-left: auto;
  color: #777;
}

@media (max-width: 560px) {
  .footer-media-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .footer-media-link {
    min-width: 0;
  }
}

/* ========================================
   LARGE FOOTER
======================================== */

.site-footer {
    min-height: clamp(460px, 55svh, 680px);
    padding: 72px 0 44px;
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(255, 255, 255, 0.045),
            transparent 32%
        ),
        #020203;
    border-top: 1px solid var(--border);
}

/* 公式メディアと関連リンクの共通余白 */
.footer-media,
.footer-related {
    margin-bottom: 48px;
}

/* RELATED LINKS見出し */
.footer-group-title {
    margin: 0 0 18px;
    color: #777;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.24em;
}

/* 関連リンク一覧 */
.footer-related-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 関連リンクカード */
.footer-related-list a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 112px;
    padding: 28px 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.012)
        );
    color: var(--text-main);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition:
        border-color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}

/* カード右側の薄い装飾 */
.footer-related-list a::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -38px;
    width: 116px;
    height: 116px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    transform: translateY(-50%);
    transition:
        right 0.3s ease,
        border-color 0.3s ease;
}

/* テキストと矢印を装飾より前へ */
.footer-related-list a > span {
    position: relative;
    z-index: 1;
}

.footer-related-list a > span:last-child {
    flex: 0 0 auto;
    color: #888;
    font-size: 17px;
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

/* PCのホバー表現 */
@media (hover: hover) {
    .footer-related-list a:hover {
        border-color: rgba(255, 255, 255, 0.32);
        background-color: rgba(255, 255, 255, 0.035);
        text-decoration: none;
        transform: translateY(-2px);
    }

    .footer-related-list a:hover::before {
        right: -28px;
        border-color: rgba(255, 255, 255, 0.14);
    }

    .footer-related-list a:hover > span:last-child {
        color: #464646;
        transform: translate(3px, -3px);
    }
}

/* フッター最下段 */
.footer-inner {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

/* ページ内リンクの停止位置 */
section[id] {
    scroll-margin-top: calc(var(--header-height, 64px) - 1px);
}

/* ========================================
   TABLET / SMARTPHONE
======================================== */

@media (max-width: 767px) {
    .site-footer {
        min-height: 520px;
        padding: 56px 0 36px;
    }

    .footer-media,
    .footer-related {
        margin-bottom: 40px;
    }

    .footer-related-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .footer-related-list a {
        min-height: 92px;
        padding: 22px 24px;
        font-size: 13px;
    }

    .footer-related-list a::before {
        right: -48px;
        width: 104px;
        height: 104px;
    }

    .footer-inner {
        padding-top: 28px;
    }
}

/* ========================================
   OFFICIAL MEDIA LARGE CARDS
======================================== */

.footer-media-label {
    margin: 0 0 18px;
    color: #777;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.24em;
}

.footer-media-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.footer-media-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 112px;
    padding: 28px 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.012)
        );
    color: var(--text-main);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition:
        border-color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}

/* 右端の薄い円 */
.footer-media-link::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -38px;
    width: 116px;
    height: 116px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    transform: translateY(-50%);
    transition:
        right 0.3s ease,
        border-color 0.3s ease;
}

/* メディアアイコン */
.footer-media-icon {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    width: 25px;
    height: 25px;
    color: #aaa;
}

/* メディア名 */
.footer-media-link > span:not(.footer-media-arrow) {
    position: relative;
    z-index: 1;
}

/* 外部リンク矢印 */
.footer-media-arrow {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    margin-left: auto;
    color: #888;
    font-size: 17px;
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

@media (hover: hover) {
    .footer-media-link:hover {
        border-color: rgba(255, 255, 255, 0.32);
        background-color: rgba(255, 255, 255, 0.035);
        text-decoration: none;
        transform: translateY(-2px);
    }

    .footer-media-link:hover::before {
        right: -28px;
        border-color: rgba(255, 255, 255, 0.14);
    }

    .footer-media-link:hover .footer-media-icon {
        color: var(--text-main);
    }

    .footer-media-link:hover .footer-media-arrow {
        color: var(--text-main);
        transform: translate(3px, -3px);
    }
}

/* ========================================
   SMARTPHONE
======================================== */

@media (max-width: 767px) {
    .footer-media-links {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .footer-media-link {
        min-height: 92px;
        padding: 22px 24px;
        font-size: 13px;
    }

    .footer-media-link::before {
        right: -48px;
        width: 104px;
        height: 104px;
    }

    .footer-media-icon {
        width: 23px;
        height: 23px;
    }
}

/* ========================================
   CONTACT
======================================== */

.contact-section {
    position: relative;
    padding: 104px 0;
    overflow: hidden;
    border-top: 1px solid var(--border);
    background:
        radial-gradient(
            circle at 85% 50%,
            rgba(255, 255, 255, 0.07),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #111417 0%,
            #070809 60%,
            #030405 100%
        );
}

.contact-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
    align-items: center;
    gap: 64px;
    min-height: 300px;
    padding: 64px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 18px;
    background: rgba(7, 9, 10, 0.82);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

/* 右側の薄い円形装飾 */
.contact-panel::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -150px;
    width: 390px;
    height: 390px;
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.contact-panel::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -80px;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.contact-content,
.contact-action {
    position: relative;
    z-index: 1;
}

.contact-section .section-title-en {
    margin: 0 0 16px;
}

.contact-section .section-title-ja {
    margin: 0 0 24px;
    font-size: clamp(26px, 3vw, 36px);
}
.contact-section #faq-contact-title,
.contact-section #structure-contact-title {
    font-size: 30px;
    letter-spacing: 0;
}

.contact-lead {
    margin: 0;
    color: var(--text-sub);
    font-size: 14px;
    line-height: 2;
}

.contact-note {
    position: relative;
    margin: 24px 0 0;
    padding-left: 20px;
    color: #999;
    font-size: 12px;
}

.contact-note::before {
    content: "";
    position: absolute;
    top: 0.85em;
    left: 0;
    width: 10px;
    height: 1px;
    background: #777;
}

/* メールボタン */
.contact-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    min-height: 82px;
    padding: 24px 28px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.contact-button-arrow {
    flex: 0 0 auto;
    color: #999;
    font-size: 20px;
    transition: transform 0.25s ease;
}

.contact-mail-note {
    margin: 12px 0 0;
    color: #777;
    font-size: 10px;
    text-align: center;
    letter-spacing: 0.08em;
}
@media (max-width: 767px) {
    .contact-lead {
        font-size: 12px;
        line-height: 1.7;
        letter-spacing: 0;
    }
}
@media (hover: hover) {
    .contact-button:hover {
        border-color: var(--text-main);
        background: var(--text-main);
        color: #08090a;
        text-decoration: none;
        transform: translateY(-2px);
    }

    .contact-button:hover .contact-button-arrow {
        transform: translateX(4px);
    }
}

/* ========================================
   CONTACT TABLET / SMARTPHONE
======================================== */

@media (max-width: 767px) {
    .contact-section {
        padding: 72px 0;
    }

    .contact-panel {
        grid-template-columns: 1fr;
        gap: 36px;
        min-height: auto;
        padding: 40px 28px;
        border-radius: 14px;
    }

    .contact-panel::before {
        top: auto;
        right: -130px;
        bottom: -180px;
        width: 340px;
        height: 340px;
        transform: none;
    }

    .contact-panel::after {
        display: none;
    }

    .contact-section .section-title-ja {
        margin-bottom: 20px;
    }
    .contact-section #faq-contact-title,
    .contact-section #structure-contact-title {
        font-size: 18px;
        letter-spacing: 0;
    }

    .contact-lead br {
        display: none;
    }

    .contact-button {
        min-height: 74px;
        padding: 22px;
    }
}

/* RELATED LINK LOGOS */

.footer-related-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 20px;
}

.footer-related-logo {
    display: block;
    flex: 0 0 auto;
    width: auto;
    max-width: 116px;
    height: 42px;
    object-fit: contain;
    object-position: left center;
}

/* ブランドロゴ */
.footer-related-logo-torori {
    max-width: 118px;
    opacity: 0.82;
}

.footer-related-name {
    min-width: 0;
    color: var(--text-main);
    font-size: 13px;
    line-height: 1.6;
}

.footer-related-arrow {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    margin-left: auto;
    color: #888;
    font-size: 17px;
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

@media (hover: hover) {
    .footer-related-list a:hover .footer-related-logo {
        opacity: 1;
    }

    .footer-related-list a:hover .footer-related-arrow {
        color: var(--text-main);
        transform: translate(3px, -3px);
    }
}

@media (max-width: 767px) {
    .footer-related-content {
        gap: 16px;
    }

    .footer-related-logo {
        max-width: 96px;
        height: 36px;
    }

    .footer-related-logo-samurai {
        max-width: 88px;
    }

    .footer-related-logo-torori {
        max-width: 100px;
    }

    .footer-related-name {
        font-size: 12px;
    }
}
/* ========================================
   TOP CONTACT WATERMARK
======================================== */

.contact-panel::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -120px;
    bottom: auto;
    width: 360px;
    height: 360px;
    border: 0;
    border-radius: 0;
    background:
        url("../images/ksy_icon.png")
        center / contain
        no-repeat;
    opacity: 0.045;
    filter: grayscale(1);
    transform: translateY(-50%);
    pointer-events: none;
}

/* 以前の2つ目の円形装飾を非表示 */
.contact-panel::after {
    display: none;
}

/* テキストとボタンをアイコンより前へ */
.contact-content,
.contact-action {
    position: relative;
    z-index: 1;
}

@media (max-width: 767px) {
    .contact-panel::before {
        top: auto;
        right: -65px;
        bottom: -10px;
        width: 230px;
        height: 230px;
        transform: none;
        opacity: 0.04;
    }
}
/* ========================================
   RELATED LINKS：WHITE CARD
======================================== */

.footer-related-list a {
    border-color: rgba(255, 255, 255, 0.85);
    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f3f2ef 100%
        );
    color: #171717;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

/* 白いカード内の円形装飾 */
.footer-related-list a::before {
    border-color: rgba(0, 0, 0, 0.07);
}

/* ロゴを元のカラーで表示 */
.footer-related-logo,
.footer-related-logo-samurai,
.footer-related-logo-torori {
    filter: none;
    opacity: 1;
}
/*.footer-related-logo-samurai {
    position: relative;
    top: -4px;
}*/
/* リンク名 */
.footer-related-name {
    color: #171717;
}

/* 外部リンク矢印 */
.footer-related-arrow {
    color: #555;
}

/* ホバー */
@media (hover: hover) {
    .footer-related-list a:hover {
        border-color: #ffffff;
        background:
            linear-gradient(
                135deg,
                #ffffff 0%,
                #e7e5e0 100%
            );
        color: #000;
        box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32);
        transform: translateY(-3px);
    }

    .footer-related-list a:hover::before {
        border-color: rgba(0, 0, 0, 0.14);
    }

    .footer-related-list a:hover .footer-related-arrow {
        color: #111;
        transform: translate(3px, -3px);
    }
}

/* ========================================
   OFFICIAL MEDIA ICON COLORS
======================================== */

.footer-media-icon {
    width: 36px;
    height: 36px;
    padding: 7px;
    border-radius: 9px;
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}

/* YouTube */
.footer-media-link-youtube .footer-media-icon {
    color: #ff0033;
    background: rgba(255, 0, 51, 0.1);
}

/* アメブロ */
.footer-media-link-ameblo .footer-media-icon {
    color: #39a85a;
    background: rgba(57, 168, 90, 0.1);
}

/* サービス名を少し大きくする */
.footer-media-link > span:not(.footer-media-arrow) {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.08em;
}

/* ホバー */
@media (hover: hover) {
    .footer-media-link-youtube:hover .footer-media-icon {
        color: #fff;
        background: #ff0033;
        transform: scale(1.06);
    }

    .footer-media-link-ameblo:hover .footer-media-icon {
        color: #fff;
        background: #39a85a;
        transform: scale(1.06);
    }
}

/* スマートフォン */
@media (max-width: 767px) {
    .footer-media-icon {
        width: 34px;
        height: 34px;
        padding: 7px;
    }

    .footer-media-link > span:not(.footer-media-arrow) {
        font-size: 14px;
    }
}

/* ========================================
   OFFICIAL MEDIA TITLES
======================================== */

.footer-media-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    gap: 3px;
}

.footer-media-service {
    color: #888;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-media-title {
    color: var(--text-main);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.08em;
}

/* 以前の直接のspan指定を打ち消す */
.footer-media-link > .footer-media-content {
    font-size: inherit;
    letter-spacing: normal;
}

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

    .footer-media-service {
        font-size: 9px;
    }
}

/* 馬場電機ロゴ */
.footer-related-logo-babadenki {
    width: auto;
    max-width: 122px;
    height: 34px;
    filter: none;
    opacity: 1;
}

/* タブレット */
@media (max-width: 991px) {
    .footer-related-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* スマートフォン */
@media (max-width: 767px) {
    .footer-related-list {
        grid-template-columns: 1fr;
    }

    .footer-related-logo-babadenki {
        max-width: 108px;
        height: 30px;
    }
}

/* ========================================
   TOP PAGE MODERNIZE
======================================== */

/* セクション全体の余白 */
main > section:not(.hero):not(.contact-section) {
    padding-top: clamp(96px, 10vw, 144px);
    padding-bottom: clamp(96px, 10vw, 144px);
}

/* 英語見出し */
.section-title-en {
    margin: 0 0 20px;
    color: #8d9094;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.32em;
}

/* 日本語見出し */
.section-title-ja {
    margin: 0 0 28px;
    font-family:
        "Hiragino Mincho ProN",
        "Yu Mincho",
        "Noto Serif JP",
        serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0.08em;
}

/* セクション導入文 */
.section-lead {
    max-width: 820px;
    margin: 0;
    color: var(--text-sub);
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 2.1;
}

/* ========================================
   HERO
======================================== */

.hero {
    display: grid;
    align-items: center;
    min-height: calc(100svh - var(--header-height, 64px));
    padding: clamp(88px, 10vw, 132px) 0;
    text-align: center;
}

.hero-logo {
    width: clamp(190px, 20vw, 240px);
    height: clamp(190px, 20vw, 240px);
    margin: 0 auto clamp(36px, 5vw, 56px);
    box-shadow:
        0 0 80px rgba(0, 0, 0, 0.75),
        0 0 130px rgba(255, 255, 255, 0.025);
}

.hero-copy-main {
    margin: 0 0 28px;
    font-family:
        "Hiragino Mincho ProN",
        "Yu Mincho",
        "Noto Serif JP",
        serif;
    font-size: clamp(26px, 5vw, 54px);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.08em;
}

.hero-copy-sub {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-sub);
    font-size: clamp(14px, 1.6vw, 16px);
    line-height: 2.15;
}

.hero-tag {
    margin-top: 38px;
    color: #85888c;
    font-size: 10px;
    line-height: 1.8;
    letter-spacing: 0.3em;
}

/* ========================================
   PHILOSOPHY
======================================== */

.philosophy-inner {
    max-width: 900px;
}

.philosophy-main {
    margin: 38px 0;
    font-size: clamp(30px, 4.5vw, 48px);
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: 1px;
}

.philosophy-inner .section-lead {
    margin-right: auto;
    margin-left: auto;
}

.divider {
    max-width: 80px;
    margin: 28px auto 38px;
    border-color: rgba(255, 255, 255, 0.28);
}

/* ========================================
   MESSAGE：SINGLE COLUMN
======================================== */

.message-heading,
.message-panel {
    max-width: 920px;
    margin-right: auto;
    margin-left: auto;
}

.message-panel {
    margin-top: 38px;
    padding: clamp(34px, 5vw, 52px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.04),
            rgba(255, 255, 255, 0.01)
        );
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.22);
}

.message-profile {
    display: flex;
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.message-label {
    margin: 0 0 4px;
    color: #888c90;
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: 0.24em;
}

.message-name {
    margin: 0;
    font-family:
        "Hiragino Mincho ProN",
        "Yu Mincho",
        "Noto Serif JP",
        serif;
    font-size: clamp(21px, 2.5vw, 26px);
    line-height: 1.5;
    letter-spacing: 0.12em;
}

.message-word {
    flex: 0 0 auto;
    margin: 0;
    padding: 5px 13px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: var(--text-sub);
    font-size: 10px;
    line-height: 1.6;
    letter-spacing: 0.14em;
    position: relative;
    top: -4px;
}

.message-body {
    max-width: 760px;
}

.message-main {
    margin: 0 0 22px;
    color: var(--text-sub);
    font-size: clamp(12px, 1.3vw, 15px);
    line-height: 2.05;
    letter-spacing: 0.1em;
}
.message-main:last-child {
    margin-bottom: 0;
}

.message-main strong {
    color: var(--text-main);
    font-weight: 600;
}

@media (max-width: 767px) {
    .message-panel {
        margin-top: 30px;
        padding: 30px 24px;
        border-radius: 13px;
    }
    .message-profile {
        align-items: flex-start;
        margin-bottom: 30px;
        padding-bottom: 24px;
    }
    .message-main {
        line-height: 1.7;
    }
    .message-main br {
        display: none;
    }
    .message-main:last-child {
        margin-bottom: 0;
    }
}

/* ========================================
   BUSINESS
======================================== */

.business-grid {
    gap: 24px;
    margin-top: 48px;
}

.business-card {
    position: relative;
    min-height: 220px;
    padding: clamp(30px, 4vw, 42px);
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    background:
        linear-gradient(
            145deg,
            rgba(20, 23, 26, 0.98),
            rgba(8, 10, 11, 0.98)
        );
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
    transition:
        border-color 0.25s ease,
        transform 0.25s ease;
}

.business-card::after {
    content: "";
    position: absolute;
    right: -26px;
    bottom: -30px;
    width: 150px;
    height: 150px;
    border: 0;
    border-radius: 0;
    background:
        url("../images/ksy_icon.png")
        center / contain
        no-repeat;
    opacity: 0.035;
    filter: grayscale(1);
    pointer-events: none;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

/* 文章をアイコンより前に表示 */
.business-card-title,
.business-tag,
.business-card p {
    position: relative;
    z-index: 1;
}

@media (hover: hover) {
    .business-card:hover::after {
        opacity: 0.065;
        transform: scale(1.04);
    }
}

@media (max-width: 767px) {
    .business-card::after {
        right: -22px;
        bottom: -24px;
        width: 125px;
        height: 125px;
        opacity: 0.03;
    }
}

.business-card-title {
    position: relative;
    z-index: 1;
    margin-bottom: 6px;
    font-size: clamp(19px, 2.2vw, 24px);
    line-height: 1.6;
    letter-spacing: 0.08em;
}

.business-tag {
    position: relative;
    z-index: 1;
    margin-bottom: 28px;
    color: #83878b;
    font-size: 10px;
    letter-spacing: 0.24em;
}

.business-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--text-sub);
    font-size: 14px;
    line-height: 2;
}

@media (hover: hover) {
    .business-card:hover {
        border-color: rgba(255, 255, 255, 0.2);
        transform: translateY(-4px);
    }
}

/* BUSINESS：講演・セミナー */

.business-seminar {
  position: relative;
  margin-top: 28px;
  padding: clamp(38px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(
      135deg,
      rgba(24, 27, 30, 0.98),
      rgba(10, 12, 14, 0.98)
    );
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.38);
}

/* 背景のKSYアイコン */

.business-seminar::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -75px;
  width: 280px;
  height: 280px;
  background:
    url("../images/ksy_icon.png")
    center / contain no-repeat;
  opacity: 0.035;
  filter: grayscale(1);
  pointer-events: none;
}

.business-seminar-heading,
.business-seminar-themes,
.business-seminar-note {
  position: relative;
  z-index: 1;
}

/* 上段 */

.business-seminar-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
}

.business-seminar-intro {
  max-width: 720px;
}

.business-seminar-label {
  margin: 0 0 12px;
  color: #83878b;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.24em;
}

.business-seminar-title {
  margin: 0 0 20px;
  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "Noto Serif JP",
    serif;
  color: var(--text-main);
  font-size: clamp(23px, 3vw, 32px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.business-seminar-lead {
  margin: 0;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 2;
}

/* 講演テーマ */

.business-seminar-themes {
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.business-seminar-themes-title {
  margin: 0 0 18px;
  color: #f1f1f1;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.business-seminar-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.business-seminar-list li {
  position: relative;
  padding: 10px 12px 10px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: #d4d4d4;
  font-size: 13px;
  line-height: 1.7;
}

.business-seminar-list li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 5px;
  width: 6px;
  height: 6px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
}

/* 補足文章 */

.business-seminar-note {
  max-width: 880px;
  margin: 28px 0 0;
  color: #aeb0b2;
  font-size: 13px;
  line-height: 2;
    letter-spacing: 0;
}

/* ボタン */

.business-seminar-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 310px;
  padding: 17px 20px 17px 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #f5f5f5;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  transition:
    color 0.25s,
    background-color 0.25s,
    border-color 0.25s,
    transform 0.25s;
}

.business-seminar-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  font-size: 16px;
  transition:
    color 0.25s,
    background-color 0.25s,
    transform 0.25s;
}

@media (hover: hover) {
  .business-seminar-button:hover {
    border-color: #f5f5f5;
    background: #f5f5f5;
    color: #111315;
    text-decoration: none;
    transform: translateY(-2px);
  }

  .business-seminar-button:hover .business-seminar-arrow {
    background: #111315;
    color: #f5f5f5;
    transform: translateX(2px);
  }
}

/* タブレット・スマホ */

@media (max-width: 900px) {
  .business-seminar-heading {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .business-seminar-action {
    width: 100%;
  }

  .business-seminar-button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 767px) {
  .business-seminar {
    margin-top: 22px;
    padding: 32px 24px;
    border-radius: 16px;
  }

  .business-seminar::after {
    right: -45px;
    bottom: -45px;
    width: 190px;
    height: 190px;
  }

  .business-seminar-title {
    margin-bottom: 16px;
    font-size: 22px;
  }

  .business-seminar-lead {
    font-size: 13px;
    line-height: 1.9;
  }

  .business-seminar-themes {
    margin-top: 30px;
    padding-top: 26px;
  }

  .business-seminar-list {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .business-seminar-list li {
    padding-top: 11px;
    padding-bottom: 11px;
  }

  .business-seminar-note {
    margin-top: 24px;
    font-size: 12px;
    line-height: 1.9;
  }

  .business-seminar-button {
    gap: 15px;
    padding: 14px 15px 14px 19px;
    font-size: 12px;
  }

  .business-seminar-arrow {
    width: 32px;
    height: 32px;
  }
}

/* ========================================
   COMPANY TABLE
======================================== */

.company-table {
    margin: 52px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.company-row {
    display: grid;
    grid-template-columns: minmax(160px, 0.42fr) minmax(0, 1fr);
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
    transition: background-color 0.2s ease;
}

.company-row dt,
.company-row dd {
    margin: 0;
    padding: 26px 30px;
    font-size: 14px;
    line-height: 1.9;
}

.company-row dt {
    display: flex;
    align-items: center;
    color: #92969a;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
}

.company-row dd {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    letter-spacing: 0.06em;
}

@media (hover: hover) {
    .company-row:hover {
        background: rgba(255, 255, 255, 0.025);
    }
}

/* ========================================
   TABLET / SMARTPHONE
======================================== */
@media (max-width: 767px) {
    main > section:not(.hero):not(.contact-section) {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .hero {
        min-height: auto;
        padding: 76px 0 88px;
    }

    .hero-copy-main {
        margin-bottom: 24px;
    }

    .business-grid {
        grid-template-columns: 1fr;
        margin-top: 36px;
    }

    .business-card {
        min-height: auto;
        padding: 30px 26px;
    }

    .company-table {
        margin-top: 38px;
    }

    .company-row {
        display: block;
        padding: 22px 4px;
    }

    .company-row dt,
    .company-row dd {
        padding: 0;
    }

    .company-row dt {
        margin-bottom: 8px;
        font-size: 11px;
    }

    .company-row dd {
        border-left: 0;
        font-size: 14px;
    }
    .company-row dd span {
        display: inline-block;
    }
}

/* ========================================
   TOP PAGE SIZE REBALANCE
======================================== */

/* セクション余白 */
main > section:not(.hero):not(.contact-section) {
    padding-top: clamp(80px, 8vw, 112px);
    padding-bottom: clamp(80px, 8vw, 112px);
}

/* 日本語見出し */
.section-title-ja {
    margin-bottom: 24px;
    font-size: clamp(26px, 3.2vw, 34px);
}

/* 導入文 */
.section-lead {
    font-size: clamp(12px, 1.3vw, 15px);
    line-height: 2;
}

/* ファーストビュー */
.hero {
    min-height: auto;
    padding: clamp(76px, 8vw, 104px) 0;
}

.hero-logo {
    width: clamp(180px, 18vw, 215px);
    height: clamp(180px, 18vw, 215px);
    margin-bottom: 38px;
}

.hero-copy-main {
    margin-bottom: 22px;
    font-size: clamp(26px, 4.2vw, 43px);
    line-height: 1.55;
}

.hero-copy-sub {
    max-width: 850px;
    font-size: clamp(12px, 1.3vw, 15px);
    line-height: 2;
}

/* 理念 */
.philosophy-main {
    margin: 32px 0;
    font-size: clamp(27px, 3.7vw, 38px);
}

/* 事業カード */
.business-grid {
    margin-top: 40px;
}

.business-card {
    min-height: 190px;
    padding: clamp(28px, 3.5vw, 36px);
}

.business-card-title {
    font-size: clamp(18px, 2vw, 21px);
}

.business-tag {
    margin-bottom: 22px;
}

.business-card p {
    font-size: 13px;
    line-height: 1.9;
}

/* 会社概要 */
.company-table {
    margin-top: 42px;
}

.company-row dt,
.company-row dd {
    padding: 22px 26px;
}

@media (max-width: 767px) {
    main > section:not(.hero):not(.contact-section) {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .hero {
        padding: 68px 0 78px;
    }

    .business-card {
        min-height: auto;
    }
    .company-row dt {
        padding: 0px 26px;
    }
    .company-row dd {
        padding: 0px 26px 0px;
        margin: 0;
    }
}

/* COMPANY EXTERNAL LINKS */

.company-external-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-main);
    text-decoration: none;
    transition:
        color 0.2s ease,
        border-color 0.2s ease;
    line-height: 1.5;
}

.company-external-link span {
    color: #85888c;
    font-size: 11px;
    text-decoration: none;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.company-separator {
    display: inline-block;
    margin: 0 10px;
    color: #666;
}
@media (max-width: 767px) {
    .company-separator {
        margin: 0 10px 10px;
    }
}
@media (hover: hover) {
    .company-external-link:hover {
        border-color: #fff;
        color: #fff;
        text-decoration: none;
    }

    .company-external-link:hover span {
        color: #fff;
        transform: translate(2px, -2px);
    }
}

/* OFFICIAL MEDIA：3 ITEMS */

.footer-media-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 991px) {
    .footer-media-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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