@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;500;600&family=Zen+Kaku+Gothic+New:wght@400&display=swap');

/* ==================
   VARIABLES
================== */
:root {
  --black: #000000;
  --white: #ffffff;
  --border-gray: #828282;
  --back-gray: #f1f1f1;
  --gray-text: #4e4e4e;
  --text-muted: #555555;
  --font-serif: 'Noto Serif JP', 'Georgia', serif;
  --font-gothic: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  --header-height: 153px;
  --container: 1200px;
}

/* ==================
   RESET
================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

/* ==================
   BASE
================== */
body {
  font-family: var(--font-gothic);
  color: var(--black);
  background: var(--white);
  padding-top: var(--header-height);
}

body.page-top {
  padding-top: 0;
}

/* ==================
   HEADER
================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 0.5px solid var(--border-gray);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
}

.header-logo {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 48px;
  color: var(--black);
  text-decoration: none;
  line-height: 1;
}

.header-nav {
  display: flex;
  gap: 100px;
  align-items: center;
}

.header-nav a {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--black);
  text-decoration: none;
  line-height: 1;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);
  transition: opacity 0.2s;
}

.header-nav a:hover {
  opacity: 0.6;
}

/* ==================
   FOOTER
================== */
.site-footer {
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  overflow: hidden;
}

.footer-inner {
  width: 1100px;
  display: flex;
  flex-direction: column;
  gap: 80px;
  align-items: flex-start;
  padding: 40px 0;
}

.footer-logo {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 48px;
  color: var(--white);
  align-self: flex-start;
  line-height: 1.3;
}

.footer-nav {
  display: flex;
  gap: 70px;
  align-self: center;
  margin-left: 130px;
}

.footer-nav a {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-nav a:hover {
  opacity: 0.6;
}

.footer-copyright {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--white);
  align-self: center;
}

/* ==================
   COMMON SECTIONS
================== */
.section {
  padding: 100px 0;
  width: 100%;
}

.section--gray {
  background: var(--back-gray);
}

.section--white {
  background: var(--white);
}

.section-inner {
  margin: 0 134px;
  padding: 0;
}

.section-heading {
  display: flex;
  flex-direction: column;
  margin-bottom: 50px;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 96px;
  line-height: 1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
  color: var(--black);
}

.section-subtitle {
  font-family: var(--font-gothic);
  font-size: 20px;
  color: var(--gray-text);
  margin-top: 10px;
}

/* ==================
   BUTTONS & LINKS
================== */

/* Gray pill button with arrow */
.btn-gray {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 170px;
  background: #828282;
  color: var(--white);
  padding: 6px 10px 6px 20px;
  border-radius: 100px;
  font-family: var(--font-gothic);
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-gray .arrow-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 100px;
  padding: 4px 20px;
  height: 28px;
}

.btn-gray .arrow-pill svg {
  color: var(--black);
}

/* Black arrow pill (for news items) */
.arrow-pill-black {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--black);
  border-radius: 100px;
  padding: 4px 16px;
  height: 24px;
  flex-shrink: 0;
}

/* Text link with bottom border */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--black);
  border-bottom: 1px solid var(--black);
  padding: 5px 10px;
  text-decoration: none;
}

/* Contact button */
.btn-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 600px;
  height: 150px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 40px;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  border: 1px solid var(--black);
  transition: opacity 0.2s;
}

.btn-contact:hover {
  opacity: 0.8;
}

/* ==================
   SVG ARROW ICON
================== */
.arrow-icon {
  display: block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.arrow-icon-lg {
  display: block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* ==================
   TOP PAGE - HERO
================== */
.hero {
  position: relative;
  height: 688px;
  overflow: hidden;
  /* Pull up behind the fixed header */
  margin-top: calc(-1 * var(--header-height));
  background: url('../images/top.jpg') center / cover no-repeat;
}

.hero-text-area {
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text {
  font-family: var(--font-gothic);
  font-style: normal;
  font-size: 48px;
  color: var(--white);
  text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

/* ==================
   TOP PAGE - TAGLINE
================== */
.tagline {
  padding: 50px 134px;
  background: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
}

.tagline p {
  font-family: var(--font-gothic);
  font-style: normal;
  font-size: 24px;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
  line-height: 1.7;
}

/* ==================
   TOP PAGE - ABOUT SECTION
================== */
.top-about {
  background: var(--back-gray);
  padding: 100px 0;
}

.top-about .section-inner {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.top-about .section-body {
  font-family: var(--font-gothic);
  font-style: normal;
  font-size: 20px;
  line-height: 1.8;
  color: var(--black);
}

.top-about .section-link-row {
  display: flex;
  justify-content: flex-end;
}

/* ==================
   TOP PAGE - SERVICE SECTION
================== */
.top-service {
  background: var(--white);
  padding: 100px 0;
}

.top-service .section-inner {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.service-cards {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.service-card {
  background: var(--white);
  border: 0.5px solid var(--border-gray);
  border-radius: 100px;
  padding: 50px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
}

.service-card-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
}

.service-card-text-area {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: calc(100% - 370px);
}

.service-card-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 64px;
  line-height: 1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
  color: var(--black);
}

.service-tagline {
  font-family: var(--font-gothic);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--black);
  margin-top: 20px;
}

.service-desc {
  font-family: var(--font-gothic);
  font-size: 16px;
  line-height: 1.9;
  color: var(--black);
}

.service-card-image {
  width: 400px;
  height: 400px;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-image--phone {
  width: 350px;
  height: 400px;
  border-radius: 40px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-image--phone img {
  width: 204px;
  height: 400px;
  object-fit: cover;
  border-radius: 40px;
}

.service-card-image--rect {
  width: 380px;
  height: 380px;
  border-radius: 40px;
}

.service-card-image--rect img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 40px;
}

/* ==================
   TOP PAGE - NEWS SECTION
================== */
.top-news {
  background: var(--back-gray);
  padding: 100px 0;
  overflow: hidden;
}

.top-news .section-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-list-box {
  background: var(--white);
  padding: 50px;
  border-radius: 10px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 0.5px solid var(--black);
  cursor: pointer;
  text-decoration: none;
  color: var(--black);
  transition: opacity 0.2s;
}

.news-item:hover {
  opacity: 0.7;
}

.news-item-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.news-item-date {
  font-family: var(--font-gothic);
  font-style: normal;
  font-size: 16px;
  color: var(--text-muted);
}

.news-item-title {
  font-family: var(--font-gothic);
  font-style: normal;
  font-size: 20px;
  color: var(--black);
}

.news-list-footer {
  display: flex;
  justify-content: flex-end;
  padding: 20px 0 0;
}

/* ==================
   TOP PAGE - CONTACT BANNER
================== */
.contact-banner {
  background: var(--white);
  padding: 50px 134px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.contact-banner-text {
  font-family: var(--font-gothic);
  font-style: normal;
  font-size: 24px;
  color: var(--black);
  white-space: nowrap;
}

/* ==================
   SUB-PAGE COMMON
================== */

/*
 * Section title straddles the white/gray boundary:
 *   - 150px white gap after the fixed header
 *   - Title starts at 150px → section's padding-top = 150 + 80 = 230px
 *   - Gray body starts at padding-top = 230px
 *   - Title (≈160px tall) starts at 150px → overlaps 80px into gray
 */
.sub-page-section {
  position: relative;
  background: var(--white);
  padding-top: 250px;
  /* 170px gap + 80px title-over-gray overlap */
}

.sub-page-section__title-area {
  position: absolute;
  top: 180px;
  left: 134px;
  z-index: 2;
}

.sub-page-section__body {
  background: var(--back-gray);
  padding: 180px 0 120px;
}

/* ==================
   ABOUT PAGE
================== */
.about-intro {
  max-width: 1100px;
  margin: 0 0 0 134px;
  padding: 0 0 100px;
}

.about-intro-headline {
  font-family: var(--font-gothic);
  font-style: normal;
  font-size: 32px;
  letter-spacing: 3.52px;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25);
  margin-bottom: 50px;
  color: var(--black);
}

.about-intro-text {
  font-family: var(--font-gothic);
  font-style: normal;
  font-size: 20px;
  line-height: 1.9;
  color: var(--black);
  white-space: pre-line;
}

/*
 * Panel uses absolute positioning to match Figma coordinates exactly:
 *   image: left=-38px, width=630, height=550  (top=(700-550)/2=75px)
 *   card:  left=672px,  width=690, height=550
 */
.about-panel {
  width: 100%;
  height: 700px;
  background: var(--white);
  overflow: hidden;
  position: relative;
}

.about-panel-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.about-panel-image {
  position: absolute;
  left: -38px;
  top: 75px;
  width: 40%;
  height: 550px;
  overflow: hidden;
}

.about-panel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-panel-card {
  position: absolute;
  left: calc(40% + 0px);
  right: 20px;
  top: 75px;
  height: 550px;
  background: var(--white);
  border-radius: 20px;
  padding: 50px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 50px;
}

.about-panel-card__title {
  font-family: var(--font-gothic);
  font-size: 36px;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25);
  color: var(--black);
  line-height: 1.4;
}

.about-panel-card__text {
  font-family: var(--font-gothic);
  font-size: 20px;
  line-height: 1.4;
  color: var(--black);
  white-space: pre-line;
}

/* Problem section (gray bg, text left, image right) */
.about-problem {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: var(--back-gray);
}

.about-problem-inner {
  width: 100%;
  display: flex;
  align-items: stretch;
  /* image stretches to match text height */
  min-height: 500px;
  padding: 50px 0;
}

.about-problem-text {
  width: 48%;
  flex-shrink: 0;
  margin-left: 134px;
  margin-right: 60px;
  display: flex;
  flex-direction: column;
  gap: 50px;
  justify-content: center;
}

.about-problem-text h2 {
  font-family: var(--font-gothic);
  font-size: 36px;
  font-weight: 400;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25);
  color: var(--black);
  line-height: 1.4;
}

.about-problem-text p {
  font-family: var(--font-gothic);
  font-size: 20px;
  line-height: 1.4;
  color: var(--black);
  white-space: pre-line;
}

.about-problem-image {
  flex: 1;
  overflow: hidden;
  margin-right: -113px;
  /* Intentional bleed */
}

.about-problem-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==================
   NEWS LIST PAGE
================== */
.news-page-list-box {
  background: var(--white);
  padding: 50px;
  border-radius: 10px;
  margin: 0 134px;
}

/* ==================
   NEWS DETAIL PAGE
================== */
.news-detail-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0;
}

.news-detail-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
}

.news-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-detail-title {
  font-family: var(--font-gothic);
  font-style: normal;
  font-size: 24px;
  line-height: 1.5;
  color: var(--black);
  margin-top: 20px;
}

.news-detail-body {
  font-family: var(--font-gothic);
  font-style: normal;
  font-size: 20px;
  line-height: 1.9;
  color: var(--black);
  white-space: pre-line;
  margin-top: 20px;
}

.news-detail-date {
  font-family: var(--font-gothic);
  font-size: 16px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ==================
   CONTACT PAGE
================== */
.contact-page-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 200px;
}

.contact-form-container {
  background: var(--white);
  border-radius: 10px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-form-title {
  font-family: var(--font-gothic);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--black);
}

/* Google Form iframe placeholder */
.contact-form-embed {
  width: 100%;
  border: none;
  border-radius: 4px;
}

/* ==================
   COMPANY PAGE
================== */
.company-table-wrap {
  background: var(--white);
  border-radius: 10px;
  padding: 20px 60px;
  overflow: hidden;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table tr {
  border-bottom: 1px solid var(--border-gray);
}

.company-table tr:last-child {
  border-bottom: none;
}

.company-table th {
  font-family: var(--font-gothic);
  font-size: 20px;
  font-weight: 400;
  color: var(--black);
  text-align: center;
  width: 200px;
  height: 100px;
  vertical-align: middle;
  white-space: nowrap;
}

.company-table td {
  font-family: var(--font-gothic);
  font-size: 20px;
  font-weight: 400;
  color: var(--black);
  padding: 0 20px;
  vertical-align: middle;
  line-height: 1.7;
}

/* ==================
   SERVICE PAGE
================== */
.service-page-cards {
  display: flex;
  flex-direction: column;
  gap: 100px;
  margin: 0 134px;
}

/* ==================
   SERVICE DETAIL PAGES
================== */
.service-detail-intro {
  margin: 0 134px;
  padding: 0 0 80px;
}

.service-detail-intro__name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 64px;
  line-height: 1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
  color: var(--black);
  margin-bottom: 20px;
}

.service-detail-intro__tagline {
  font-family: var(--font-gothic);
  font-size: 28px;
  line-height: 1.5;
  color: var(--black);
  margin-bottom: 40px;
}

.service-detail-intro__body {
  font-family: var(--font-gothic);
  font-size: 20px;
  line-height: 1.9;
  color: var(--black);
  white-space: pre-line;
}

/* Hero image (full-bleed) */
.service-detail-hero {
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.service-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero with overlapping images (ArtSync) */
.service-detail-hero-stack {
  margin: 0 134px;
  height: 500px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-detail-hero-stack .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-hero-stack .hero-phone {
  position: relative;
  z-index: 1;
  width: 204px;
  height: 400px;
  object-fit: cover;
  border-radius: 40px;
  box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.35);
}

/* Feature panel — image left, text right (white bg) */
.service-feature {
  width: 100%;
  overflow: hidden;
  background: var(--white);
}

.service-feature--gray {
  background: var(--back-gray);
}

.service-feature-inner {
  display: flex;
  align-items: stretch;
  min-height: 480px;
  margin: 0 134px;
}

.service-feature-inner--reverse {
  flex-direction: row-reverse;
}

.service-feature__image {
  width: 580px;
  flex-shrink: 0;
  overflow: hidden;
}

.service-feature__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-feature__text {
  flex: 1;
  padding: 80px 80px 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
}

.service-feature__title {
  font-family: var(--font-gothic);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--black);
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15);
}

.service-feature__body {
  font-family: var(--font-gothic);
  font-size: 20px;
  line-height: 1.9;
  color: var(--black);
  white-space: pre-line;
}

/* ==================
   ARTSYNC DETAIL PAGE
================== */

/* Intro: text left, phone image right */
.artsync-intro {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 0 134px 60px;
}

.artsync-intro__text {
  flex: 1;
}

.artsync-intro__heading {
  font-family: var(--font-gothic);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--black);
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25);
  margin-bottom: 20px;
}

.artsync-intro__subheading {
  font-family: var(--font-gothic);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--black);
  margin-top: 30px;
  margin-bottom: 10px;
}

.artsync-intro__body {
  font-family: var(--font-gothic);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  white-space: pre-line;
}

.artsync-intro__note {
  font-family: var(--font-gothic);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  margin-top: 20px;
}

.artsync-intro__image {
  width: 245px;
  flex-shrink: 0;
  position: relative;
  height: 400px;
}

.artsync-phone-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 130px;
  height: 270px;
  object-fit: cover;
  border-radius: 20px;
  filter: drop-shadow(4px 4px 12px rgba(0, 0, 0, 0.2));
}

.artsync-phone-front {
  position: absolute;
  top: 60px;
  right: 0;
  width: 140px;
  height: 290px;
  object-fit: cover;
  border-radius: 20px;
  filter: drop-shadow(4px 4px 12px rgba(0, 0, 0, 0.2));
  z-index: 1;
}

/* ArtSyncでできること section (gray bg) */
.artsync-features {
  background: var(--back-gray);
  padding: 60px 134px;
}

.artsync-section-heading {
  font-family: var(--font-gothic);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--black);
  margin-bottom: 30px;
}

.artsync-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.artsync-feature-item__image {
  width: 100px;
  height: 80px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 4px;
}

.artsync-feature-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artsync-feature-item__title {
  font-family: var(--font-gothic);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--black);
  margin-bottom: 10px;
}

.artsync-feature-item__body {
  font-family: var(--font-gothic);
  font-size: 14px;
  line-height: 1.5;
  color: var(--black);
  white-space: pre-line;
}

/* 今後のビジョン section (white bg) */
.artsync-vision {
  background: var(--white);
  padding: 60px 134px;
}

.artsync-vision-item {
  margin-bottom: 30px;
}

.artsync-vision-item__title {
  font-family: var(--font-gothic);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--black);
  margin-bottom: 8px;
}

.artsync-vision-item__body {
  font-family: var(--font-gothic);
  font-size: 14px;
  line-height: 1.5;
  color: var(--black);
  white-space: pre-line;
}

/* ArtSyncへ CTA */
.artsync-cta {
  background: var(--white);
  padding: 40px 0 80px;
  display: flex;
  justify-content: center;
}

.btn-artsync {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 40px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 20px;
  text-decoration: none;
  border-radius: 4px;
  transition: opacity 0.2s;
}

.btn-artsync:hover {
  opacity: 0.8;
}

/* ==================
   CONSULTING DETAIL PAGE
================== */

/* Intro: text left, image right */
.consulting-intro {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 0 134px 0px;
  margin-top: -60px;
}

.consulting-intro__text {
  flex: 1;
}

.consulting-intro__heading {
  font-family: var(--font-gothic);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--black);
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25);
  margin-bottom: 20px;
}

.consulting-intro__body {
  font-family: var(--font-gothic);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  white-space: pre-line;
}

.consulting-intro__image {
  width: 340px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  margin-bottom: -120px;
  overflow: hidden;
  border-radius: 8px;
}

.consulting-intro__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 主な支援領域 */
.consulting-domains {
  padding: 60px 134px;
  background: var(--white);
}

.consulting-section-heading {
  font-family: var(--font-gothic);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--black);
  margin-bottom: 30px;
}

.consulting-section-heading--large {
  font-size: 28px;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25);
}

.consulting-domain-item {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  margin-bottom: 40px;
}

.consulting-domain-item:last-child {
  margin-bottom: 0;
}

.consulting-domain-item__image {
  width: 340px;
  height: 260px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 4px;
}

.consulting-domain-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.consulting-domain-item__title {
  font-family: var(--font-gothic);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--black);
  margin-bottom: 10px;
}

.consulting-domain-item__sub-title {
  font-family: var(--font-gothic);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--black);
  margin-top: 16px;
  margin-bottom: 4px;
}

.consulting-domain-item__body {
  font-family: var(--font-gothic);
  font-size: 14px;
  line-height: 1.6;
  color: var(--black);
  white-space: pre-line;
}

/* CVI section */
.consulting-cvi {
  padding: 60px 134px;
  background: var(--back-gray);
}

.consulting-cvi__body {
  font-family: var(--font-gothic);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  margin-bottom: 16px;
}

/* Mission section */
.consulting-mission {
  padding: 60px 134px 30px;
  background: var(--back-gray);
}

.consulting-mission__body {
  font-family: var(--font-gothic);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  white-space: pre-line;
  margin-bottom: 16px;
}

/* Contact CTA */
.consulting-contact {
  background: var(--white);
  padding: 60px 134px;
  text-align: center;
}

.consulting-contact__text {
  font-family: var(--font-gothic);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  margin-bottom: 12px;
}

.btn-consulting-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 50px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 20px;
  text-decoration: none;
  border: 1px solid var(--black);
  margin-top: 20px;
  transition: opacity 0.2s;
}

.btn-consulting-contact:hover {
  opacity: 0.8;
}

/* ==================
   LOADING STATE
================== */
.loading {
  text-align: center;
  padding: 40px;
  font-family: var(--font-gothic);
  font-size: 16px;
  color: var(--gray-text);
}

/* ==================
   HAMBURGER BUTTON (mobile only)
================== */
.header-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.header-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.header-menu-btn.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.header-menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}
.header-menu-btn.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==================
   RESPONSIVE (≤768px)
================== */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  /* --- Header --- */
  .site-header {
    padding: 0 20px;
  }

  .header-logo {
    font-size: 28px;
  }

  .header-menu-btn {
    display: flex;
  }

  .header-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    flex-direction: column;
    gap: 0;
    padding: 10px 0 20px;
    border-bottom: 1px solid var(--border-gray);
    z-index: 99;
  }

  .header-nav.is-open {
    display: flex;
  }

  .header-nav a {
    font-size: 18px;
    padding: 14px 30px;
  }

  /* --- Footer --- */
  .footer-inner {
    width: 100%;
    padding: 40px 24px;
    gap: 40px;
  }

  .footer-logo {
    font-size: 32px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 20px;
    margin-left: 0;
    align-self: flex-start;
  }

  .footer-nav a {
    font-size: 16px;
  }

  .footer-copyright {
    font-size: 14px;
  }

  /* --- Common sections --- */
  .section {
    padding: 60px 0;
  }

  .section-inner {
    margin: 0 20px;
  }

  .section-title {
    font-size: 52px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  /* --- Hero --- */
  .hero {
    height: 360px;
  }

  .hero-text {
    font-size: 24px;
    white-space: normal;
    text-align: center;
    padding: 0 24px;
    line-height: 1.5;
  }

  /* --- Tagline --- */
  .tagline {
    padding: 40px 24px;
  }

  .tagline p {
    font-size: 18px;
  }

  /* --- Contact banner --- */
  .contact-banner {
    padding: 50px 24px;
  }

  .contact-banner-text {
    font-size: 18px;
    white-space: normal;
    text-align: center;
  }

  .btn-contact {
    width: 100%;
    max-width: 400px;
    height: 100px;
    font-size: 28px;
  }

  /* --- Service cards (top & service page) --- */
  .service-cards,
  .service-page-cards {
    gap: 60px;
  }

  .service-page-cards {
    margin: 0 20px;
  }

  .service-card {
    border-radius: 40px;
    padding: 30px 24px;
    overflow: hidden;
  }

  .service-card-inner {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .service-card-text-area {
    width: 100%;
  }

  .service-name {
    font-size: 44px;
  }

  .service-tagline {
    font-size: 18px;
  }

  .service-card-image {
    width: 100%;
    height: 220px;
  }

  .service-card-image--phone {
    width: 100%;
    height: 220px;
  }

  .service-card-image--phone img {
    width: 100%;
    height: 220px;
    object-fit: contain;
  }

  .service-card-image--rect {
    width: 100%;
    height: 220px;
  }

  /* --- Sub-page common --- */
  .sub-page-section {
    padding-top: 160px;
  }

  .sub-page-section__title-area {
    top: 100px;
    left: 20px;
  }

  .sub-page-section__body {
    padding: 120px 0 80px;
  }

  /* --- About page --- */
  .about-intro {
    margin: 0 20px;
    padding: 0 0 60px;
  }

  .about-intro-headline {
    font-size: 22px;
    letter-spacing: 1px;
  }

  .about-intro-text {
    font-size: 16px;
  }

  .about-panel {
    height: auto;
  }

  .about-panel-inner {
    position: static;
    display: flex;
    flex-direction: column;
  }

  .about-panel-image {
    position: static;
    width: 100%;
    height: 240px;
  }

  .about-panel-card {
    position: static;
    height: auto;
    padding: 30px 24px;
    gap: 20px;
  }

  .about-panel-card__title {
    font-size: 22px;
  }

  .about-panel-card__text {
    font-size: 16px;
  }

  .about-problem-inner {
    flex-direction: column;
    padding: 40px 0;
  }

  .about-problem-text {
    width: auto;
    margin-left: 24px;
    margin-right: 24px;
    gap: 30px;
  }

  .about-problem-text h2 {
    font-size: 22px;
  }

  .about-problem-text p {
    font-size: 16px;
  }

  .about-problem-image {
    margin-right: 0;
    height: 240px;
  }

  /* --- News --- */
  .news-list-box {
    padding: 30px 20px;
  }

  .news-page-list-box {
    margin: 0 20px;
    padding: 30px 20px;
  }

  .news-item-title {
    font-size: 16px;
  }

  /* --- News detail --- */
  .news-detail-container {
    padding: 0 20px;
  }

  .news-detail-image {
    height: 240px;
  }

  .news-detail-title {
    font-size: 20px;
  }

  .news-detail-body {
    font-size: 16px;
  }

  /* --- Contact page --- */
  .contact-page-inner {
    padding: 0 20px;
  }

  /* --- Company page --- */
  .company-table-wrap {
    padding: 10px 0;
    overflow-x: auto;
  }

  .company-table th {
    font-size: 14px;
    width: 90px;
    height: auto;
    padding: 12px 8px;
    white-space: nowrap;
  }

  .company-table td {
    font-size: 14px;
    padding: 12px 8px;
  }

  /* --- Service detail pages --- */
  .service-detail-intro {
    margin: 0 20px;
    padding: 0 0 50px;
  }

  .service-detail-intro__name {
    font-size: 44px;
  }

  .service-detail-intro__tagline {
    font-size: 20px;
  }

  .service-detail-intro__body {
    font-size: 16px;
  }

  .service-detail-hero {
    height: 220px;
  }

  .service-detail-hero-stack {
    margin: 0 20px;
    height: 260px;
  }

  .service-feature-inner {
    flex-direction: column;
    margin: 0;
    min-height: auto;
  }

  .service-feature-inner--reverse {
    flex-direction: column;
  }

  .service-feature__image {
    width: 100%;
    height: 240px;
  }

  .service-feature__text {
    padding: 40px 24px;
    gap: 20px;
  }

  .service-feature__title {
    font-size: 24px;
  }

  .service-feature__body {
    font-size: 16px;
  }

  /* --- ArtSync detail --- */
  .artsync-intro {
    flex-direction: column;
    padding: 0 24px 40px;
  }

  .artsync-intro__image {
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .artsync-phone-back {
    position: absolute;
    left: calc(50% - 120px);
    top: 0;
  }

  .artsync-phone-front {
    position: absolute;
    right: calc(50% - 120px);
    top: 60px;
  }

  .artsync-features {
    padding: 40px 24px;
  }

  .artsync-vision {
    padding: 40px 24px;
  }

  /* --- Consulting detail --- */
  .consulting-intro {
    flex-direction: column;
    padding: 0 24px 40px;
    margin-top: 0;
    gap: 30px;
  }

  .consulting-intro__image {
    width: 100%;
    margin-bottom: 0;
  }

  .consulting-domains {
    padding: 40px 24px;
  }

  .consulting-domain-item {
    flex-direction: column;
    gap: 20px;
  }

  .consulting-domain-item__image {
    width: 100%;
    height: 200px;
  }

  .consulting-cvi {
    padding: 40px 24px;
  }

  .consulting-mission {
    padding: 40px 24px 20px;
  }

  .consulting-contact {
    padding: 40px 24px;
  }
}