/* =============================================
   IVY Holdings テーマ CSS
   TailwindCSS → バニラCSS 完全変換
   ============================================= */

/* ── リセット & ベース ─────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ── フォント ────────────────────────────── */
.playfair {
    font-family: 'Playfair Display', serif;
}

/* ── ユーティリティ ───────────────────────── */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-narrow {
    max-width: 896px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-form {
    max-width: 672px;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-center {
    text-align: center;
}

.bg-white {
    background-color: #ffffff;
}

.bg-gray {
    background-color: #f9fafb;
}

.pt-32 {
    padding-top: 8rem;
}

.pb-24 {
    padding-bottom: 6rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.section {
    padding: 6rem 0;
}

/* ── セクションヘッダー ───────────────────── */
.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.title-bar {
    width: 5rem;
    height: 0.25rem;
    background-color: #111827;
    margin-bottom: 3rem;
}

.title-bar.center {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
}

.section-header-centered {
    max-width: 896px;
    margin: 0 auto;
    text-align: center;
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.section-lead {
    font-size: 1.125rem;
    color: #374151;
    line-height: 1.75;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #4b5563;
    max-width: 672px;
    margin: 0 auto;
}

/* ── ボタン ──────────────────────────────── */
.btn {
    display: inline-block;
    padding: 1rem 3rem;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #111827;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #1f2937;
}

.btn-outline {
    border: 2px solid #111827;
    color: #111827;
    background: transparent;
}

.btn-outline:hover {
    background-color: #111827;
    color: #ffffff;
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
}

.btn-hover-scale:hover {
    transform: scale(1.05);
}

/* ── ヘッダー ────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

/* WP管理バー表示時のヘッダー位置調整 */
.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
}

.logo-link {
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #111827;
    transition: color 0.3s ease;
}

.header-nav {
    display: none;
    gap: 3rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #374151;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: #111827;
}

.nav-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.nav-link:hover .nav-underline,
.nav-link.active .nav-underline {
    width: 100%;
}

.mobile-menu-toggle {
    display: block;
}

.menu-btn {
    color: #374151;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.menu-btn:hover {
    color: #111827;
}

/* モバイルメニュー */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 60;
}

.mobile-menu.is-open {
    display: block;
}

.mobile-menu-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.mobile-menu-panel {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 280px;
    background-color: #ffffff;
    padding: 2rem;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: #374151;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 4rem;
}

.mobile-nav-link {
    font-size: 1.125rem;
    font-weight: 500;
    color: #111827;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

/* ── ヒーローセクション ───────────────────── */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    display: flex;
}

.hero-bg-left {
    width: 50%;
    background-color: #ffffff;
}

.hero-bg-right {
    width: 50%;
    position: relative;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-text-wrap {
    max-width: 896px;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    line-height: 1.25;
    white-space: nowrap;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 1rem 2rem;
    display: inline-block;
}

.hero-desc {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 1.5rem 2rem;
}

.hero-desc p {
    font-size: 1rem;
    color: #374151;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.hero-desc p:last-child {
    margin-bottom: 0;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 1s infinite;
}

.hero-scroll-indicator i {
    font-size: 1.875rem;
    color: #9ca3af;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ── 事業ドメイン ────────────────────────── */
.domain-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.domain-card {
    background-color: #ffffff;
    padding: 2.5rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.domain-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-color: #111827;
}

.domain-icon {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background-color: #111827;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.domain-card:hover .domain-icon {
    transform: scale(1.1);
}

.domain-icon i {
    font-size: 1.875rem;
}

.domain-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.domain-desc {
    color: #4b5563;
    line-height: 1.75;
}

/* ── グループ会社 ────────────────────────── */
.company-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.company-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.company-card:hover {
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.18);
    border-color: #111827;
}

.company-card-circle {
    position: absolute;
    top: 0;
    right: 0;
    width: 8rem;
    height: 8rem;
    background-color: rgba(0, 0, 0, 0.02);
    border-radius: 50%;
    margin-right: -4rem;
    margin-top: -4rem;
    transition: transform 0.5s ease;
}

.company-card:hover .company-card-circle {
    transform: scale(1.5);
}

.company-card-content {
    position: relative;
    z-index: 10;
}

.company-logo-wrap {
    width: 100%;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo {
    max-width: 140px;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.company-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.company-desc {
    color: #4b5563;
    line-height: 1.75;
    font-size: 0.875rem;
}

/* ── 会社概要 ────────────────────────────── */
.company-overview {
    max-width: 896px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 3rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.overview-row {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.overview-row.no-border {
    border-bottom: none;
    margin-bottom: 0;
}

.overview-label {
    width: 10rem;
    flex-shrink: 0;
    font-weight: 600;
    color: #111827;
}

.overview-value {
    flex: 1;
    color: #374151;
}

.overview-access {
    margin-top: 3rem;
}

.access-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
}

.access-desc {
    color: #374151;
    margin-bottom: 1.5rem;
}

.map-container {
    width: 100%;
    height: 24rem;
    background-color: #e5e7eb;
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

.overview-buttons {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ── ニュースセクション ─────────────────── */
.view-all-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #111827;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.view-all-link:hover {
    color: #4b5563;
}

.view-all-link:hover i {
    transform: translateX(4px);
}

.view-all-link i {
    transition: transform 0.3s ease;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.news-card,
.news-card-archive {
    display: block;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.news-card:hover,
.news-card-archive:hover {
    border-color: #111827;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.news-card-archive {
    border-radius: 0.5rem;
    overflow: hidden;
}

.news-card-inner {
    padding: 2rem;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.news-date {
    font-size: 0.875rem;
    color: #6b7280;
}

.news-category,
.news-category-badge {
    padding: 0.25rem 0.75rem;
    background-color: #f3f4f6;
    color: #374151;
    font-size: 0.75rem;
    font-weight: 500;
}

.news-category-badge {
    border-radius: 9999px;
    color: #111827;
}

.news-title-card {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card:hover .news-title-card {
    color: #4b5563;
}

.news-title-archive {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    color: #4b5563;
    font-size: 0.875rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-more {
    display: flex;
    align-items: center;
    color: #4b5563;
    transition: color 0.3s ease;
    margin-top: 1rem;
}

.news-card:hover .news-more,
.news-card-archive:hover .news-more {
    color: #111827;
}

.news-more span {
    font-size: 0.875rem;
}

.news-more i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.news-card:hover .news-more i,
.news-card-archive:hover .news-more i {
    transform: translateX(4px);
}

/* ── お知らせリスト（リスト型） ──────────── */
.news-list {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 2rem;
}

.news-list-item {
    display: block;
    padding: 2rem 0;
    border-bottom: 1px solid #e5e7eb;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.news-list-item:last-child {
    border-bottom: none;
}

.news-list-item:hover {
    opacity: 0.7;
}

.news-list-date {
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
    letter-spacing: 0.025em;
}

.news-list-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.6;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.news-list-item:hover .news-list-title {
    color: #4b5563;
}

.news-list-bar {
    width: 3rem;
    height: 2px;
    background-color: #111827;
}

/* ── ページネーション ────────────────────── */
.pagination-wrapper {
    margin-top: 3rem;
}

.pagination-wrapper .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.pagination-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
    color: #374151;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.pagination-wrapper .page-numbers:hover {
    background-color: #f9fafb;
}

.pagination-wrapper .page-numbers.current {
    background-color: #111827;
    color: #ffffff;
    border-color: #111827;
}

.pagination-wrapper .page-numbers.dots {
    border: none;
}

/* ── CTA セクション ────────────────────── */
.cta-container {
    max-width: 896px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.cta-text {
    font-size: 1.125rem;
    color: #374151;
    margin-bottom: 3rem;
    line-height: 1.75;
}

/* ── 投稿詳細 ────────────────────────────── */
.breadcrumb {
    margin-bottom: 2rem;
}

.breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.breadcrumb-link {
    color: #6b7280;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #111827;
}

.breadcrumb-current {
    color: #111827;
}

.single-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 2rem;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.article-content {
    max-width: none;
}

.article-lead {
    background-color: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.article-lead p {
    font-size: 1.125rem;
    color: #374151;
    line-height: 1.75;
}

.article-body {
    line-height: 1.875;
}

.article-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-body p {
    margin-bottom: 1rem;
    color: #374151;
}

.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.article-contact-box {
    background-color: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.contact-box-title {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.contact-box-text {
    color: #4b5563;
    margin-bottom: 1rem;
}

.contact-box-email {
    font-size: 0.875rem;
    color: #6b7280;
}

.back-to-list {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: #111827;
    font-weight: 600;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #374151;
}

.back-link i {
    margin-right: 0.5rem;
}

/* ── お問い合わせフォーム ──────────────────── */
.contact-form {
    max-width: 576px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.required {
    color: #ef4444;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background-color: #ffffff;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #111827;
    box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.2);
}

.form-textarea {
    resize: vertical;
}

.char-count {
    text-align: right;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.form-submit {
    text-align: center;
    padding-top: 1.5rem;
}

.form-privacy-note {
    font-size: 0.875rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.form-error {
    text-align: center;
    color: #dc2626;
    margin-top: 1rem;
}

/* 送信完了 */
.contact-success {
    max-width: 576px;
    margin: 0 auto;
}

.success-icon {
    width: 4rem;
    height: 4rem;
    background-color: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-icon i {
    font-size: 1.5rem;
    color: #111827;
}

.success-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.success-text {
    font-size: 1.125rem;
    color: #4b5563;
    margin-bottom: 2rem;
}

.success-receipt {
    background-color: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.success-receipt p {
    font-size: 0.875rem;
    color: #4b5563;
}

/* ── 404 ページ ───────────────────────────── */
.error-404 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    padding: 0 1rem;
}

.error-code {
    font-size: 5rem;
    font-weight: 600;
    color: #f3f4f6;
}

.error-message {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.5rem;
}

.error-desc {
    margin-top: 1rem;
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

/* ── フッター ────────────────────────────── */
.site-footer {
    background: linear-gradient(to bottom right, #111827, #1f2937, #000000);
    color: #ffffff;
}

.site-footer .container {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
}

.footer-main {
    flex: 1;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
}

.footer-label {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    color: #9ca3af;
}

.footer-group-links {
    display: flex;
    flex-wrap: wrap;
    column-gap: 2rem;
    row-gap: 0.5rem;
}

.footer-link {
    display: block;
    font-size: 0.875rem;
    color: #d1d5db;
    transition: color 0.3s ease;
    position: relative;
    width: fit-content;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-link-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.footer-link:hover .footer-link-line {
    width: 100%;
}

.footer-site-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #374151;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.copyright {
    font-size: 0.875rem;
    color: #9ca3af;
}

/* ── ページコンテンツ(汎用) ──────────────── */
.page-content {
    line-height: 1.875;
}

.page-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.page-content p {
    margin-bottom: 1rem;
    color: #374151;
}

.no-posts {
    text-align: center;
    color: #6b7280;
    padding: 2rem 0;
}

/* ── WordPress デフォルト対応 ─────────────── */
.wp-block-image img {
    border-radius: 0.5rem;
}

.aligncenter {
    text-align: center;
}

.alignleft {
    float: left;
    margin-right: 1rem;
}

.alignright {
    float: right;
    margin-left: 1rem;
}

/* screen-reader-text (アクセシビリティ) */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* =============================================
   レスポンシブ
   ============================================= */

/* タブレット (768px以上) */
@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .container-narrow,
    .container-form {
        padding: 0 1.5rem;
    }

    .header-nav {
        display: flex;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .section-title {
        font-size: 3rem;
    }

    .hero-title {
        font-size: 3.75rem;
    }

    .single-title {
        font-size: 3rem;
    }

    .domain-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .company-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .overview-buttons {
        flex-direction: row;
    }

    .overview-buttons .btn {
        flex: 1;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* デスクトップ (1024px以上) */
@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .container-narrow,
    .container-form {
        padding: 0 2rem;
    }

    .company-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* スマホ (768px未満) */
@media (max-width: 767px) {
    .hero-bg-right {
        display: none;
    }

    .hero-bg-left {
        width: 100%;
    }

    .hero-title {
        white-space: normal;
        padding: 0.75rem 1rem;
    }

    .hero-desc {
        padding: 1rem;
    }

    .section-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .overview-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .overview-label {
        width: auto;
    }

    .company-overview {
        padding: 1.5rem;
    }

    .footer-inner {
        flex-direction: column;
    }
}