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

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray-mid: #e5e5e5;
  --gray-text: #666666;
  --font: 'Noto Sans JP', 'Hiragino Sans', sans-serif;
  --font-en: 'Cormorant Garamond', Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  font-size: 15px;
  line-height: 1.8;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
}

.pc-only { display: inline; }

.label {
  font-size: 12px;
  letter-spacing: 0.25em;
  color: #333;
  margin-bottom: 8px;
  font-weight: 700;
  font-family: var(--font-en);
}

.section-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  margin-bottom: 48px;
  letter-spacing: 0.02em;
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn--outline {
  border: 1.5px solid var(--black);
  background: transparent;
  color: var(--black);
}
.btn--outline:hover {
  background: var(--black);
  color: var(--white);
}

.btn--outline-white {
  border-color: rgba(255,255,255,0.7);
  color: #ffffff;
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
}

.btn--black {
  background: var(--black);
  color: var(--white);
  border: 1.5px solid var(--black);
}
.btn--black:hover {
  background: #333;
}

/* ===========================
   LOGO TEXT
=========================== */
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-decoration: none;
  gap: 2px;
}
.logo-text__main {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--white);
}
.logo-text__sub {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.95);
  font-family: var(--font-en);
}
.logo-text--white .logo-text__main { color: #fff; }
.logo-text--white .logo-text__sub  { color: rgba(255,255,255,0.5); }

.logo-text--footer .logo-text__main { font-size: 16px; color: var(--black); }
.logo-text--footer .logo-text__sub  { font-size: 11px; color: #999; }
.logo-text--footer { margin-bottom: 14px; }

.logo-text--gate {
  align-items: center;
  margin: 0 auto 32px;
}
.logo-text--gate .logo-text__main { font-size: 20px; }
.logo-text--gate .logo-text__sub  { font-size: 12px; }

/* ===========================
   HEADER
=========================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid #222;
  height: 64px;
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.header__logo img {
  height: 36px;
  width: auto;
}

.header__nav { margin-left: auto; }
.header__nav ul {
  display: flex;
  gap: 32px;
}
.header__nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--white);
  transition: opacity 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.header__nav a span.nav-en {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #ffffff;
  font-family: var(--font-en);
  font-weight: 400;
}
.header__nav a:hover { opacity: 0.5; }

.header__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: var(--black);
  color: var(--white);
  padding: 0 24px;
  height: 64px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: background 0.2s;
  white-space: nowrap;
}
.header__cta:hover { background: #333; }
.header__cta-en {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #ffffff;
  font-family: var(--font-en);
  font-weight: 400;
}
.header__cta-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: invert(1);
}

.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ===========================
   HERO
=========================== */
.hero {
  min-height: 100vh;
  padding-top: 64px;
  position: relative;
  overflow: hidden;
  background-color: #f4f4f4;
  background-image: url('素材/Gemini.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  display: flex;
  align-items: center;
}

.hero__bg-img {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 1920px;
  height: 1080px;
  max-width: none;
  z-index: 0;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0;
  padding: 0 0 0 80px;
}

.hero__since {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #444;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
}

.hero__desc {
  font-size: 14px;
  color: #444;
  line-height: 1.9;
  margin-bottom: 48px;
  max-width: 520px;
}

/* ===========================
   SERVICE
=========================== */
.service {
  padding: 100px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-mid);
}

.service__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--gray-mid);
}

.service__card {
  padding: 48px 32px;
  border-right: 1px solid var(--gray-mid);
  text-align: left;
  transition: background 0.2s;
}
.service__card:last-child { border-right: none; }

.service__card img {
  width: 144px;
  height: 144px;
  object-fit: contain;
  margin-bottom: 24px;
}
.service__card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}
.service__card p {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.8;
}

/* ===========================
   ABOUT
=========================== */
.about {
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.about__inner {
  position: relative;
  z-index: 1;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__text {
  max-width: 520px;
}

.about__text .section-title { margin-bottom: 24px; }

.about__body {
  font-size: 14px;
  color: var(--black);
  line-height: 2;
  margin-bottom: 40px;
}

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

.about__image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
}

/* パターン＋写真 重ね合わせ */
.about__pattern {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
}

.about__pattern-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: auto;
}

.about__pattern-photo {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 72%;
  height: 88%;
  object-fit: cover;
  object-position: top;
  box-shadow: -8px -8px 0 0 #0a0a0a;
  aspect-ratio: auto;
}

/* VALUES */
.values {
  background: var(--black);
  padding: 80px 0;
  margin-top: 0;
}

.values__title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--white);
  text-align: center;
  margin-bottom: 56px;
  letter-spacing: 0.05em;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.values__item {
  text-align: left;
}

.values__item img {
  width: 108px;
  height: 108px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: invert(1);
}

.values__item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.values__item p {
  font-size: 13px;
  color: #aaa;
  line-height: 1.8;
}

/* ===========================
   FAQ
=========================== */
.faq {
  padding: 100px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-mid);
}

.faq__layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

.faq__item {
  border-bottom: 1px solid var(--gray-mid);
}

.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  gap: 16px;
  transition: opacity 0.2s;
  letter-spacing: 0.02em;
}
.faq__q:hover { opacity: 0.6; }

.faq__icon {
  font-size: 20px;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--black);
}
.faq__q[aria-expanded="true"] .faq__icon {
  transform: rotate(45deg);
}

.faq__a {
  display: none;
  padding: 0 0 20px 0;
}
.faq__a.open { display: block; }
.faq__a p {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.9;
}

.faq__more {
  margin-top: 40px;
}

.faq__contact-card {
  background-image: url('素材/toi.png');
  background-size: cover;
  background-position: center;
  padding: 36px 28px;
  border: 1px solid #999;
}
.faq__contact-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
.faq__contact-card p {
  font-size: 13px;
  color: var(--black);
  line-height: 1.9;
  margin-bottom: 28px;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--white);
  border-top: 1px solid var(--gray-mid);
  padding: 64px 0 40px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 64px;
  align-items: start;
}

.footer__logo {
  height: 32px;
  width: auto;
  margin-bottom: 16px;
}

.footer__tagline {
  font-size: 12px;
  color: var(--gray-text);
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer__copy {
  font-size: 11px;
  color: #aaa;
  margin-top: 24px;
}

.footer__nav {
  display: flex;
  gap: 48px;
}

.footer__nav-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  color: var(--black);
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__nav a {
  font-size: 12px;
  color: var(--gray-text);
  transition: color 0.2s;
}
.footer__nav a:hover { color: var(--black); }

.footer__social {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.footer__social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gray-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.footer__social a:hover { background: var(--gray-light); }
.footer__social img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.footer__social svg {
  width: 20px;
  height: 20px;
}

/* ===========================
   MOBILE MENU OVERLAY
=========================== */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.nav-overlay.open { display: flex; }
.nav-overlay a {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 960px) {
  .service__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service__card:nth-child(2) { border-right: none; }
  .service__card:nth-child(1),
  .service__card:nth-child(2) {
    border-bottom: 1px solid var(--gray-mid);
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 64px 40px;
  }
  .about__image { order: -1; }

  .faq__layout {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer__social {
    flex-direction: row;
  }
}

@media (max-width: 768px) {
  .pc-only { display: none; }

  .header__nav,
  .header__cta { display: none; }
  .header__hamburger { display: flex; }

  .hero__content { padding: 40px 24px; }
  .hero__bg { width: 100%; opacity: 0.3; }
  .hero {
    min-height: 70vh;
    background-size: cover;
    background-position: center center;
  }
  .hero__title { font-size: 28px; }
  .hero__desc { font-size: 13px; }

  .container { padding: 0 24px; }

  .service { padding: 48px 0; }
  .service__grid {
    grid-template-columns: 1fr 1fr;
    border: none;
    gap: 1px;
    background: var(--gray-mid);
  }
  .service__card {
    border-right: none;
    background: var(--white);
  }
  .service__card h3 { font-size: 13px; }

  .about img { height: 480px !important; }

  .values { padding: 56px 0; }
  .values__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .values__item {
    text-align: center;
  }
  .values__item img {
    margin-left: auto;
    margin-right: auto;
  }

  .faq { padding: 48px 0; }

  .footer { padding: 40px 0 28px; }
}

@media (max-width: 480px) {
  .service__grid { grid-template-columns: 1fr 1fr; }
  .service__card { background: var(--white); padding: 20px 12px; }
  .service__card img { width: 64px; height: 64px; margin-bottom: 12px; }
  .service__card h3 { font-size: 12px; margin-bottom: 6px; }
  .service__card p { font-size: 11px; }
}
