﻿@charset "utf-8";
/* CSS Document */

/* ============================
   Header Base
============================ */
.site-header {
  position: fixed;
	width: 100%;
	height: 50px;
  z-index: 1000;
  background: #000;
  border-bottom: 1px solid rgba(215, 25, 92, 0.35);
}

.site-header__inner {
  height: 56px;
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__logo img {
  height: 26px;
  display: block;
}

/* ============================
   Hamburger Button
============================ */
.hamburger {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-content: center;
  gap: 6px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.hamburger__bar {
  width: 24px;
  height: 2px;
  background: #ccc;
  display: block;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

.hamburger.is-active .hamburger__bar:nth-child(1) {
  transform: translateY(1px) rotate(45deg);
}

.hamburger.is-active .hamburger__bar:nth-child(2) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============================
   Global Menu Overlay
============================ */
.global-menu {
  position: fixed;
  top: 80px;
	right: 0;
  z-index: 1100;
  background: #000;
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  will-change: transform;
}

.global-menu[aria-hidden="false"] {
  transform: translateY(0);
}

.global-menu__inner {
	min-width: 55dvw;
  min-height: 65dvh;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

/* ============================
   Close Button (X)
============================ */
.global-menu__close {
  align-self: flex-end;
  width: 44px;
  height: 44px;
  position: relative;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.global-menu__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 2px;
  background: #ccc;
  transform-origin: center;
}

.global-menu__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.global-menu__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ============================
   Menu Grid Layout
============================ */
.global-menu__grid {
  margin-top: 24px;
  display: grid;
  gap: 48px;
  grid-template-columns: repeat(2,1fr);
}

/* ============================
   Menu Headings
============================ */
.header--ourservice{
	margin-top: -70px;
}

.header__archive-game{
	margin-top: 15px;
}

.global-menu__heading {
  font-size: 24px;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
  display: flex;
	flex-direction: column;
  align-items: baseline;
	font-family: Arial, Helvetica, "sans-serif";
	font-weight: bold;
}

.global-menu__heading a {
  color: #fff;
  text-decoration: none;
  position: relative;
}

.global-menu__heading small {
  font-size: 10px;
}

/* ============================
   List Links
============================ */
.global-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.global-menu__list li + li {
  margin-top: 12px;
}

.global-menu__list a {
  color: #fff;
  text-decoration: none;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  position: relative;
}

.global-menu__list a::before {
  content: "—";
  color: #aaa;
  margin-right: 0.6em;
}

.global-menu__list a:hover {
  opacity: 0.85;
}

/* ============================
   Footer (Logo & SNS)
============================ */
.global-menu__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 190px;
  padding-top: 24px;
}

.global-menu__sns{
	display: flex;
	gap: 30px;
}

.global-menu__brand img {
  height: 28px;
  display: block;
}

.header__SNS{
	margin-top: 5px;
	display: flex;
	gap: 15px;
}

/* ============================
   Scrim (背景ぼかし層)
============================ */
.menu-scrim[hidden] {
  display: none;
}

.menu-scrim {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.menu-scrim.is-show {
  opacity: 1;
}

/* ============================
   Scroll Lock
============================ */
html.is-menu-open,
body.is-menu-open {
  overflow: hidden;
}


@media screen and (max-width:600px) {

/* ============================
   Global Menu Overlay
============================ */
.global-menu {
  position: fixed;
  top: 45px;           /* ヘッダーの高さに合わせる */
  right: 0;
  bottom: 0;
  z-index: 1100;
  background: #000;
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  will-change: transform;
	/*height: 70%;*/
}

.global-menu[aria-hidden="false"] {
  transform: translateX(0);
}

.global-menu__inner {
  min-width: 55dvw;
  height: 100%;
  padding: 15px!important;
  display: flex;
  flex-direction: column;
}

/* ============================
   Menu Grid Layout（COMPANY / OUR SERVICE & RECRUIT / CONTACT+SNS）
============================ */
.global-menu__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 20px;
  column-gap: 40px;
  margin-top: 0;
}

/* 1段目：COMPANY（2列ぶち抜き） */
.global-menu__col--company {
  grid-column: 1 / 3;
}

/* 2段目：OUR SERVICE（左）、RECRUIT（右） */
.global-menu__col--service {
  grid-column: 1 / 2;
}

.global-menu__col--recruit {
  grid-column: 2 / 3;
}

/* 3段目：CONTACT + SNS（2列ぶち抜き） */
.global-menu__col--contact {
  grid-column: 1 / 3;
}

/* CONTACTとSNSを横並びに */
.global-menu__contact-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
}

.global-menu__contact-text {
  flex: 0 0 auto;
}

/* ============================
   Headings
============================ */
.global-menu__heading {
  font-size: 20px;
  letter-spacing: 0.16em;
  margin: 0 0 8px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: Arial, Helvetica, "sans-serif";
  font-weight: 700;
	white-space: nowrap;
}

.global-menu__heading small {
  font-size: 10px;
  margin-top: 6px;
}

/* ============================
   List Links
============================ */
.global-menu__list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.global-menu__list li {
  position: relative;
  /*padding-left: 1.4em;*/
  font-size: 14px;
  letter-spacing: 0.08em;
}

.global-menu__list li + li {
  margin-top: 18px;
}

.global-menu__list a {
  color: #fff;
  text-decoration: none;
	font-size: 14px;
	white-space: nowrap;
}

.global-menu__list a:hover {
  opacity: 0.85;
}

/* 「制作ゲーム一覧」行 */
.header__archive-game {
  margin-top: 24px;
  /*padding-left: 1.4em;*/
  font-size: 16px;
  letter-spacing: 0.08em;
}

.header__archive-game a {
  color: #fff;
  text-decoration: none;
}

/* ============================
   CONTACT横のSNS
============================ */
.global-menu__sns {
  display: flex;
  gap: 48px;
}

.global-menu__sns--in-contact {
  align-items: flex-start;
}

.header__official span,
.header__game span {
  font-size: 12px;
  letter-spacing: 0.12em;
}

.header__SNS {
  margin-top: 10px;
  display: flex;
  gap: 20px;
}

/* ============================
   Footer（ロゴのみ）
============================ */
.global-menu__footer {
  margin: 35px 0;
	gap: 30px;
  /*padding-top: 48px;*/
	padding: 0;
}

.global-menu__brand img {
	width: 171px;
  height: 50px;
  display: block;
}
	
	.global-menu__footer-sns{
		display: flex;
		gap: 30px;
	}
	
	.global-menu__list a::before{
		font-size: 10px;
	}

}