/*
Theme Name: Hestia Child
Theme URI: https://www.themeisle.com/
Description: This is a custom child theme I have created.
Author: ThemeIsle
URI: https://www.themeisle.com/
Template: hestia
Version: 0.1
*/

:root {
  --mi-ink: #101828;
  --mi-text: #344054;
  --mi-muted: #667085;
  --mi-line: #e4e7ec;
  --mi-surface: #f8fafc;
  --mi-surface-2: #eef2ff;
  --mi-brand: #1d4ed8;
  --mi-brand-dark: #173ea6;
  --mi-accent: #0f766e;
  --mi-white: #ffffff;
  --mi-shadow: 0 16px 40px rgba(16, 24, 40, 0.08);
  --mi-radius: 20px;
}

body.home {
  color: var(--mi-text);
  background: #f5f7fb;
}

body.home .main.main-raised {
  margin-top: -64px;
  border-radius: 28px 28px 0 0;
  box-shadow: none;
  background: transparent;
}

body.home .navbar {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
}

body.home .navbar .navbar-brand,
body.home .navbar .navbar-nav > li > a {
  color: var(--mi-ink) !important;
  font-weight: 600;
  letter-spacing: 0.01em;
}

body.home li#menu-item-227,
body.home li#menu-item-239,
body.home section#features,
body.home section#blog {
  display: none !important;
}

body.home .page-header {
  min-height: 82vh;
}

body.home .header-filter {
  background:
    linear-gradient(135deg, rgba(10, 23, 70, 0.74), rgba(16, 24, 40, 0.56)),
    url("http://mediainnovations.jp/wp-content/uploads/2019/05/MIYA2018102DSCF8768_TP_V.jpg") center/cover no-repeat !important;
}

body.home .hestia-big-title-content {
  padding-top: 7.5rem;
  padding-bottom: 5rem;
}

body.home .hestia-title,
body.home h1,
body.home h2,
body.home h3,
body.home h4 {
  color: var(--mi-ink);
  letter-spacing: -0.02em;
}

body.home .page-header .hestia-title {
  color: var(--mi-white);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.05;
  font-weight: 700;
  max-width: 12ch;
}

body.home .page-header .sub-title {
  display: block;
  margin-top: 1rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  max-width: 48rem;
}

body.home .page-header .sub-title::after {
  content: "広告運用・メディア運営・SEO支援を通じて、事業成長に必要な実務を整えます。";
  display: block;
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.84);
}

body.home section {
  padding: 88px 0;
}

body.home .hestia-about .container,
body.home .hestia-contact .container {
  background: var(--mi-white);
  border: 1px solid rgba(228, 231, 236, 0.9);
  border-radius: var(--mi-radius);
  box-shadow: var(--mi-shadow);
  padding: 56px 48px;
}

body.home .hestia-about {
  background: transparent !important;
}

body.home .hestia-about.section-image::before {
  display: none;
}

body.home .hestia-about-content {
  color: var(--mi-text);
}

body.home .mi-eyebrow {
  margin: 0 0 10px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mi-brand);
}

body.home .mi-section-heading {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  color: var(--mi-ink);
}

body.home .mi-lead {
  margin: 0 0 32px;
  font-size: 1.05rem;
  line-height: 1.95;
  color: var(--mi-text);
}

body.home .mi-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 36px;
}

body.home .mi-service-card {
  padding: 24px 22px;
  background: var(--mi-surface);
  border: 1px solid var(--mi-line);
  border-radius: 18px;
}

body.home .mi-service-card h4 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: var(--mi-ink);
}

body.home .mi-service-card p {
  margin: 0;
  line-height: 1.85;
  color: var(--mi-text);
}

body.home .mi-company-table {
  margin-top: 1.5rem;
  border-radius: 16px;
  overflow: hidden;
  background: #fcfcfd;
}

body.home .mi-company-table td,
body.home .mi-company-table th {
  border-color: var(--mi-line) !important;
  padding: 16px 18px !important;
  vertical-align: top;
}

body.home .mi-company-table th {
  width: 180px;
  color: var(--mi-ink);
  font-weight: 700;
  background: #f8fafc;
}

body.home .mi-partners {
  margin-top: 24px;
  padding: 22px 24px;
  background: var(--mi-surface);
  border: 1px solid var(--mi-line);
  border-radius: 16px;
}

body.home .mi-partners p:last-child {
  margin-bottom: 0;
}

body.home .hestia-contact {
  background: transparent !important;
}

body.home .hestia-contact-title-area {
  margin-bottom: 2rem;
}

body.home .hestia-contact-title-area .description {
  color: var(--mi-muted);
}

body.home .hestia-contact .hestia-description a {
  color: var(--mi-brand) !important;
  font-weight: 600;
}

body.home .card.card-contact {
  border-radius: 20px;
  box-shadow: none;
  border: 1px solid var(--mi-line);
}

body.home .card.card-contact .header-primary {
  background: linear-gradient(135deg, var(--mi-brand), var(--mi-accent));
}

body.home .wpforms-field input,
body.home .wpforms-field textarea {
  border-radius: 12px !important;
  border: 1px solid #d0d5dd !important;
  box-shadow: none !important;
  padding: 12px 14px !important;
}

body.home .wpforms-submit {
  border-radius: 999px !important;
  background: var(--mi-brand) !important;
  border: 0 !important;
  min-width: 180px;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
}

body.home .wpforms-submit:hover {
  background: var(--mi-brand-dark) !important;
}

body.home .footer.footer-black {
  background: #0f172a;
}

body.home .footer.footer-black,
body.home .footer.footer-black a,
body.home .footer.footer-black .copyright {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 991px) {
  body.home .main.main-raised {
    margin-top: -32px;
    border-radius: 20px 20px 0 0;
  }

  body.home .hestia-about .container,
  body.home .hestia-contact .container {
    padding: 36px 24px;
  }

  body.home .page-header {
    min-height: 72vh;
  }

  body.home .mi-service-grid {
    grid-template-columns: 1fr;
  }

  body.home .mi-company-table th {
    width: 120px;
  }
}
