/*
Theme Name: MYEONG Corporate
Theme URI: https://myeongbond.com/
Author: Bond Systems
Author URI: https://myeongbond.com/
Description: 株式会社 明のコーポレートサイト用ワンページWordPressテーマ。
Version: 1.5.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: myeong-corporate
*/

:root {
  --mc-green: #0d2d26;
  --mc-green-2: #17483b;
  --mc-gold: #c7a35a;
  --mc-cream: #f7f4ed;
  --mc-white: #ffffff;
  --mc-text: #26332f;
  --mc-muted: #68736f;
  --mc-line: rgba(13, 45, 38, 0.14);
  --mc-shadow: 0 18px 50px rgba(10, 32, 27, 0.12);
  --mc-radius: 20px;
  --mc-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--mc-text);
  background: var(--mc-white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }

.mc-container {
  width: min(calc(100% - 40px), var(--mc-width));
  margin: 0 auto;
}
.mc-kicker {
  margin: 0 0 10px;
  color: var(--mc-gold);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .82rem;
}
.mc-section { padding: 104px 0; }
.mc-section--soft { background: var(--mc-cream); }
.mc-section-title {
  margin: 0 0 18px;
  color: var(--mc-green);
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.25;
  letter-spacing: .02em;
}
.mc-lead {
  max-width: 760px;
  margin: 0;
  color: var(--mc-muted);
  font-size: 1.05rem;
}

.mc-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  transition: background .3s ease, box-shadow .3s ease;
}
.mc-header.is-scrolled {
  background: rgba(13, 45, 38, .97);
  box-shadow: 0 8px 28px rgba(0,0,0,.14);
}
.mc-header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.mc-brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--mc-white);
}
.mc-brand strong {
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: 1.22rem;
  letter-spacing: .1em;
}
.mc-brand span {
  opacity: .72;
  font-size: .72rem;
  letter-spacing: .16em;
}
.mc-nav { display: flex; align-items: center; gap: 24px; }
.mc-nav a {
  color: var(--mc-white);
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .08em;
  opacity: .92;
}
.mc-nav a:hover { color: #f3d794; }
.mc-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 10px;
  background: transparent;
  color: var(--mc-white);
  cursor: pointer;
}

.mc-hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--mc-white);
  background: url("assets/images/hero-juso-original.jpg") center 58%/cover no-repeat;
}
.mc-hero.has-custom-image {
  background-image: var(--mc-hero-image);
  background-position: center 58%;
  background-size: cover;
  background-repeat: no-repeat;
}
.mc-hero::after {
  content: none;
}
.mc-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding-top: 90px;
}
.mc-hero-en {
  margin: 0 0 26px;
  color: #eedcae;
  letter-spacing: .24em;
  font-size: clamp(.9rem, 1.5vw, 1.1rem);
  font-weight: 700;
  text-transform: uppercase;
}
.mc-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: clamp(2.55rem, 6.2vw, 5.7rem);
  line-height: 1.25;
  letter-spacing: .035em;
  text-shadow: 0 3px 10px rgba(0,0,0,.85), 0 8px 26px rgba(0,0,0,.55);
}
.mc-hero-story {
  margin: 34px 0 0;
  max-width: 680px;
  font-size: clamp(1rem, 2vw, 1.28rem);
  letter-spacing: .08em;
  color: rgba(255,255,255,.9);
}
.mc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}
.mc-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: .06em;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.mc-button:hover { transform: translateY(-2px); }
.mc-button--gold { background: var(--mc-gold); color: #14271f; }
.mc-button--outline { border-color: rgba(255,255,255,.6); color: var(--mc-white); }
.mc-button--outline:hover { background: rgba(255,255,255,.1); }

.mc-about-grid,
.mc-facility-grid,
.mc-contact-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  align-items: center;
}
.mc-message-card {
  padding: 42px;
  background: var(--mc-green);
  color: var(--mc-white);
  border-radius: var(--mc-radius);
  box-shadow: var(--mc-shadow);
}
.mc-message-card strong {
  display: block;
  margin-bottom: 18px;
  color: #eedcae;
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: 1.5rem;
}
.mc-message-card p { margin: 0; color: rgba(255,255,255,.82); }

.mc-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.mc-card {
  min-height: 270px;
  padding: 36px;
  border: 1px solid var(--mc-line);
  border-radius: var(--mc-radius);
  background: var(--mc-white);
  box-shadow: 0 12px 34px rgba(13,45,38,.06);
}
.mc-card-number {
  color: var(--mc-gold);
  font-family: Georgia, serif;
  font-size: 1.05rem;
  letter-spacing: .1em;
}
.mc-card h3 {
  margin: 26px 0 14px;
  color: var(--mc-green);
  font-size: 1.45rem;
}
.mc-card p { margin: 0; color: var(--mc-muted); }

.mc-location-band {
  overflow: hidden;
  color: var(--mc-white);
  background:
    radial-gradient(circle at 80% 20%, rgba(199,163,90,.25), transparent 32%),
    linear-gradient(135deg, #0b2a23, #17483b);
}
.mc-location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.mc-location-band .mc-section-title { color: var(--mc-white); }
.mc-location-copy { color: rgba(255,255,255,.78); }
.mc-route-list {
  display: grid;
  gap: 14px;
}
.mc-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  background: rgba(255,255,255,.06);
}
.mc-route span:first-child { color: #eedcae; font-weight: 700; }
.mc-route span:last-child { color: rgba(255,255,255,.75); font-size: .94rem; }

.mc-facility-box {
  padding: 42px;
  border-radius: var(--mc-radius);
  background: var(--mc-cream);
  border: 1px solid rgba(13,45,38,.1);
}
.mc-facility-box h3 {
  margin: 0 0 18px;
  color: var(--mc-green);
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: 2rem;
}
.mc-facility-box p { margin: 8px 0; color: var(--mc-muted); }

.mc-company-table {
  margin-top: 42px;
  border-top: 1px solid var(--mc-line);
}
.mc-company-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--mc-line);
}
.mc-company-row dt { color: var(--mc-green); font-weight: 700; }
.mc-company-row dd { margin: 0; color: var(--mc-muted); }

.mc-map {
  width: 100%;
  min-height: 430px;
  border: 0;
  border-radius: var(--mc-radius);
  box-shadow: var(--mc-shadow);
}
.mc-contact-panel {
  padding: 44px;
  border-radius: var(--mc-radius);
  background: var(--mc-green);
  color: var(--mc-white);
}
.mc-contact-panel h3 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: 2rem;
}
.mc-contact-panel p { color: rgba(255,255,255,.74); }
.mc-contact-links {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.mc-contact-links a {
  display: block;
  padding: 17px 18px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  color: var(--mc-white);
}
.mc-contact-links small {
  display: block;
  color: #eedcae;
  letter-spacing: .1em;
  font-size: .7rem;
}

.mc-footer {
  padding: 46px 0;
  background: #071f1a;
  color: rgba(255,255,255,.72);
}
.mc-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
}
.mc-footer strong {
  display: block;
  color: var(--mc-white);
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: 1.35rem;
}
.mc-footer em {
  display: block;
  margin-top: 6px;
  color: #d8bf82;
  font-style: normal;
  letter-spacing: .14em;
  font-size: .78rem;
}
.mc-footer small { font-size: .76rem; }

@media (max-width: 900px) {
  .mc-menu-button { display: inline-flex; align-items: center; justify-content: center; }
  .mc-nav {
    display: none;
    position: absolute;
    top: 62px;
    left: 20px;
    right: 20px;
    padding: 18px;
    border-radius: 14px;
    background: rgba(7,31,26,.98);
    box-shadow: var(--mc-shadow);
    flex-direction: column;
    align-items: stretch;
  }
  .mc-nav.is-open { display: flex; }
  .mc-nav a { padding: 8px 6px; }
  .mc-about-grid,
  .mc-facility-grid,
  .mc-contact-grid,
  .mc-location-grid { grid-template-columns: 1fr; gap: 42px; }
  .mc-card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .mc-container { width: min(calc(100% - 28px), var(--mc-width)); }
  .mc-section { padding: 76px 0; }
  .mc-header-inner { min-height: 58px; }
  .mc-brand span { display: none; }
  .mc-hero { min-height: 88vh; }
  .mc-hero-content { padding-top: 82px; }
  .mc-hero-actions { align-items: stretch; }
  .mc-button { width: 100%; }
  .mc-message-card,
  .mc-card,
  .mc-facility-box,
  .mc-contact-panel { padding: 28px; }
  .mc-company-row { grid-template-columns: 1fr; gap: 5px; padding: 18px 0; }
  .mc-footer-inner { align-items: flex-start; flex-direction: column; }
}


/* Ver.1.1 Footer */
.mc-footer-main {
  display: grid;
  gap: 7px;
}
.mc-footer-info {
  margin-top: 16px;
  color: rgba(255,255,255,.62);
  font-size: .82rem;
  line-height: 1.7;
}
.mc-footer-copy {
  text-align: right;
}
@media (max-width: 640px) {
  .mc-footer-copy { text-align: left; }
}


/* Ver.1.2 Hero adjustments */
.mc-hero-en,
.mc-hero-story {
  text-shadow: 0 2px 8px rgba(0,0,0,.9);
}
.mc-hero-content {
  padding-top: 138px;
  padding-bottom: 70px;
}
.mc-hero-line {
  display: block;
}

@media (max-width: 640px) {
  .mc-hero {
    min-height: 92vh;
    background-position: 62% 78%;
  }
  .mc-hero.has-custom-image {
    background-position: 62% 78%;
  }
  .mc-hero-content {
    padding-top: 132px;
    padding-bottom: 48px;
  }
  .mc-hero h1 {
    font-size: clamp(1.9rem, 8.2vw, 2.45rem);
    line-height: 1.42;
  }
  .mc-hero-actions {
    justify-content: center;
  }
  .mc-hero .mc-button {
    width: 85%;
  }
}


/* Ver.1.3 Mobile headline: keep exactly two lines */
@media (max-width: 640px) {
  .mc-hero h1 {
    font-size: clamp(1.15rem, 5.8vw, 1.5rem);
    line-height: 1.55;
    letter-spacing: 0.015em;
  }
  .mc-hero-line {
    white-space: nowrap;
  }
}


/* Ver.1.4 Original Juso view */
.mc-hero h1,
.mc-hero-en,
.mc-hero-story {
  text-shadow:
    0 2px 8px rgba(0,0,0,.86),
    0 8px 28px rgba(0,0,0,.48);
}

@media (max-width: 640px) {
  .mc-hero {
    background-position: 47% 54%;
  }
  .mc-hero.has-custom-image {
    background-position: 47% 54%;
  }
  .mc-hero-content {
    padding-top: 146px;
  }
}


/* Ver1.5 LOCATION title */
.mc-location-band .mc-section-title{
  line-height:1.45;
  letter-spacing:.03em;
}
