/* ===== 不要なテーマ要素を非表示 ===== */
header,
.site-header,
#masthead,
.entry-header,
h1.entry-title,
.page-title {
  display: none !important;
}

/* 管理バー（ログイン時） */
#wpadminbar {
  display: none !important;
}

/* 上の水色バー */
.mysticky-bar,
#my-sticky-bar,
.top-bar,
.notice-bar,
.wpfront-notification-bar {
  display: none !important;
}

/* ===== 全体 ===== */
html, body {
  margin: 0;
  padding: 0;
  background: #f5f5f3;
}

body {
  color: #222222;
  font-family:
    "Hiragino Sans",
    "Noto Sans JP",
    -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    Arial,
    sans-serif;
  line-height: 1.7;
}

.mg-home {
  min-height: 100vh;
}

/* ===== レイアウト ===== */
.mg-wrap {
  width: min(1280px, 94%);
  margin: 0 auto;
  padding: 0 20px;
}

.mg-wrap.narrow {
  width: min(760px, 92%);
}

/* ===== ヘッダー ===== */
.mg-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0 18px;
}

.mg-logo {
  font-size: 15px;
  letter-spacing: 0.04em;
}

.mg-nav {
  display: flex;
  gap: 18px;
}

.mg-nav a {
  text-decoration: none;
  color: #222;
}

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

/* ===== HERO ===== */
.mg-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 20px 0 60px;
}

.mg-title-en {
  font-size: clamp(44px, 6.2vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 400;
  max-width: 900px;
  margin: 0 0 28px;
}

.mg-title-ja {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.5;
  font-weight: 400;
  margin: 0 0 26px;
}

.mg-lead {
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.7;
  color: #555;
  max-width: 760px;
  margin: 0;
}

/* ===== Sub text ===== */
.mg-subtext {
  padding: 100px 0;
  border-top: 1px solid #e5e5e0;
}

.mg-statement-en {
  font-size: clamp(26px, 3vw, 38px);
  margin: 0 0 24px;
}

.mg-statement-ja {
  font-size: clamp(18px, 2vw, 26px);
  color: #444;
}

/* ===== Concept ===== */
.mg-concept {
  padding: 100px 0;
  background: #eeeeea;
}

.mg-concept h3 {
  font-size: 13px;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.mg-concept-en {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 20px;
}

.mg-concept-ja {
  font-size: clamp(18px, 2vw, 26px);
  color: #444;
}

/* ===== 3カラム ===== */
.mg-do {
  padding: 100px 0;
}

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

.mg-card {
  border-top: 1px solid #ddd;
  padding-top: 15px;
}

.mg-card h4 {
  font-size: 20px;
  margin-bottom: 10px;
}

/* ===== Video ===== */
.mg-video {
  padding: 80px 0;
}

.mg-video-box {
  position: relative;
  padding-top: 56.25%;
}

.mg-video-box iframe {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* ===== Writing ===== */
.mg-writing {
  padding: 80px 0;
}

.mg-writing-item {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid #ddd;
  color: #222;
  text-decoration: none;
}

.mg-writing-item:hover {
  opacity: 0.6;
}

/* ===== Footer ===== */
.mg-footer {
  padding: 60px 0;
  border-top: 1px solid #ddd;
}

/* ===== モバイル ===== */
@media (max-width: 768px) {
  .mg-grid-3 {
    grid-template-columns: 1fr;
  }

  .mg-hero {
    min-height: auto;
    padding: 60px 0;
  }
	.mg-subtext {
  padding: 140px 0;
}

.mg-concept {
  padding: 160px 0;
}

.mg-do {
  padding: 140px 0;
}
	.mg-concept {
  background: #f3f3ef;
}
	.mg-card {
  border-top: 1px solid #ccc;
  padding-top: 20px;
}

.mg-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.mg-video {
  padding: 120px 0;
}
	.mg-footer {
  padding: 80px 0;
  border-top: 1px solid #ddd;
  font-size: 14px;
  color: #666;
}
	.mg-profile-page {
  background: #f5f5f3;
  color: #222222;
  font-family:
    "Hiragino Sans",
    "Noto Sans JP",
    -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    Arial,
    sans-serif;
  line-height: 1.8;
}
.mg-profile-page {
  background: #f8f7f4;
  color: #1f1f1f;
}

.mg-profile-wrap {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.mg-profile-hero {
  padding: 72px 0 28px;
}

.mg-profile-eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8e8a83;
}

.mg-profile-title {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.mg-person-card {
  padding: 48px 0 72px;
  border-top: 1px solid #dedad2;
}

.mg-person-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.mg-person-image img {
  width: 100% !important;
  max-width: 320px !important;
  height: auto !important;
  display: block;
  border-radius: 14px;
  object-fit: cover;
}

.mg-person-content {
  max-width: 720px;
}

.mg-person-label {
  margin: 0 0 18px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a857d;
}

.mg-person-name-ja {
  margin: 0;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.mg-person-name-en {
  margin: 10px 0 28px;
  font-size: 18px;
  font-weight: 400;
  color: #6f6a63;
  letter-spacing: 0.04em;
}

.mg-person-lang p {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 2;
}

.mg-person-ja {
  color: #222;
}

.mg-person-divider {
  width: 100%;
  height: 1px;
  margin: 32px 0 28px;
  background: #ddd7ce;
}

.mg-person-en-block {
  color: #6f6a63;
}

.mg-lang-title {
  margin: 0 0 16px !important;
  font-size: 12px !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9a948c;
}

.mg-person-en-block p {
  font-size: 15px;
  line-height: 1.95;
}

.mg-onirico-link a {
  color: #1f1f1f;
  text-decoration: none;
  border-bottom: 1px solid #bbb;
  padding-bottom: 2px;
}

.mg-onirico-link a:hover {
  opacity: 0.7;
}

@media (max-width: 900px) {
  .mg-person-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mg-person-image img {
    max-width: 260px !important;
  }

  .mg-person-card {
    padding: 36px 0 56px;
  }
}
