@charset "EUC-JP";

:root {
  --base-dark: #111827;
  --accent: #F59E0B;
  --text-main: #1F2937;
  --bg-light: #FFFFFF;
  --bg-gray: #F3F4F6;
}
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: 'Outfit', 'Noto Sans JP', sans-serif, 'メイリオ', 'Meiryo'!important;
  color: var(--text-main);
  line-height: 1.6 !important;
  overflow-x: hidden;
}

.font-serif {
  font-family: 'Noto Serif JP', serif !important;
  font-weight: 900 !important;
}
.ekkyoec h1 {
  font-weight: 900 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
}
.ekkyoec h1, h2, h3 {
  line-height: 1.6 !important;
  letter-spacing: -0.02em;
  font-weight: 700!important;
}
.ekkyoec h1 span.phrase {
  font-weight: 900 !important;
}

.ekkyoec.nav-wrap h1 {
  font-weight: inherit!important;
  line-height: 1.8 !important;
  letter-spacing: 0 !important;
}
.ekkyoec.nav-wrap h1, h2, h3 {
  line-height: 1.8 !important;
  letter-spacing: 0;
  font-weight: inherit!important;
}

.dropdown-title-wrapper,
.dropdown-section-title {
  font-weight: 500 !important;
}
.nav-wrap .secondary-accordion-content {
  letter-spacing: -0.5px;
}

.font-light {
  font-weight: 400 !important;
}

.section-dark {
  background-color: var(--base-dark);
  color: #FFFFFF;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.text-accent { color: var(--accent); }
.bg-accent { background-color: var(--accent); }

.slant-border {
  clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
}

.highlight-box {
  border-left: 8px solid var(--accent);
  padding-left: 1.5rem;
}

.btn-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.4);
}

.icon-box {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 12px;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

.leading-extra-loose {
  line-height: 2.5 !important;
}

.logo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.overlay-strong {
  background-image: linear-gradient(rgba(17, 24, 39, 0.85), rgba(17, 24, 39, 0.85));
}

.image-card {
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.image-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.95) 20%, rgba(17, 24, 39, 0.4) 100%);
  z-index: 1;
}

.image-card-content {
  position: relative;
  z-index: 2;
}

.phrase {
  display: inline-block;
}

.font-mono {
  font-weight: 800 !important;
}

.container a:hover {
  color: rgb(17 24 39 / var(--tw-text-opacity, 1)) !important;
}

.support-tel-box dl dt {
  font-size: 13px!important;
}
.support-tel-box dl dd a {
  font-size: 32px!important;
  font-family: 'Outfit', 'Noto Sans JP', sans-serif, 'メイリオ', 'Meiryo'!important;
  font-weight: 500!important;
}

.image-card {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  z-index: 1;
}

.image-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
}

.image-card::before {
  transition: transform 0.6s ease;
}

.image-card:hover::before {
  transform: scale(1.05);
}

.image-card:hover h3 {
  color: var(--accent) !important;
  transition: color 0.3s ease;
}
.font-bold {
  font-weight: 700!important;
}
section {
  margin: 0 auto!important;
}

h3.footer-nav-heading a {
  font-weight: 700!important;
}
.footer-grid {
  line-height: 2.2 !important;
}

@media (max-width: 768px) {
  .phrase {
    display: inline-block;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
}