/*
Theme Name: panwyz
Theme URI: https://panwyz.co.jp
Author: Panwyz Co., Ltd.
Author URI: https://panwyz.co.jp
Description: 株式会社パンワイズ コーポレートサイトテーマ
Version: 1.0
License: GPL v2 or later
Text Domain: panwyz
*/

/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    line-height: 1.8;
}

/* ヘッダー */
.site-header {
    background-color: #494949;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* ヘッダーのスクロールアニメーション */
.site-header.scrolled {
    background-color: rgba(73, 73, 73, 0.3) !important; /* 30%の不透明度（70%透明） */
    backdrop-filter: blur(5px) !important; /* 軽いブラー効果を追加 */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important; /* 薄い影を追加 */
}


.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-navigation {
    align-self: flex-end; /* メニューだけを下付きに */
    padding-bottom: 5px; /* 必要に応じて下の余白を調整 */
}

.site-logo img {
    height: 40px;
    width: auto;
    transition: height 0.3s ease;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-navigation a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 16px;
    font-weight: 500;
}

.main-navigation a:hover {
    color: #4A90E2;
}

/* ハンバーガーメニュー */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    position: relative;
    align-self: flex-end;
    margin-bottom: 5px;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) {
    top: 6px;
}

.menu-toggle span:nth-child(2) {
    top: 14px;
}

.menu-toggle span:nth-child(3) {
    bottom: 6px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 14px;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 14px;
}

/* キービジュアル */
.key-visual {
    margin-top: 80px;
    width: 100%;
    height: 600px;
    overflow: hidden;
    position: relative;
    background-color: #000;
}

.key-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: fadeIn 1s ease-in-out;
}

/* KV動画スタイル */
.kv-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.kv-video-wrapper video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

/* KVプレースホルダー */
.kv-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.kv-text,
.kv-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    font-size: 48px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    z-index: 2;
    white-space: pre-wrap; /* 改行を保持 */
    line-height: 0.8; /* 1.4から1.6に変更して行間を広げる */
    width: 90%; /* 横幅を指定 */
    max-width: 1000px; /* 最大幅を設定 */
}

.kv-placeholder .kv-text {
    color: #333;
    text-shadow: none;
}

/* KV動画のオーバーレイ（任意） */
.kv-video-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* セクション共通 */
.section {
    padding: 80px 0;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
}

.section-title-ja {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.section-title-en {
    font-size: 18px;
    color: #666;
    letter-spacing: 2px;
}

/* 事業内容 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}


.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.service-content {
    padding: 30px;
}

.service-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #4A90E2;
}

.service-description {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
}

.service-description p {
    margin-bottom: 1em;
}

.service-description p:last-child {
    margin-bottom: 0;
}

/* 会社概要 */
.company-info {
    background: #f5f5f5;
}

.company-table {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
}

.company-table tr {
    border-bottom: 1px solid #ddd;
}

.company-table th,
.company-table td {
    padding: 15px 20px;
    text-align: left;
}

.company-table th {
    width: 150px;
    font-weight: normal;
    color: #666;
    white-space: nowrap;
    text-align: right;
}

.company-table td {
    padding-left: 30px;
}

/* 区切り画像 */
.divider-section {
    padding: 0;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.divider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.divider-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.divider-video-wrapper video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

/* お問い合わせ */
.contact-section {
    background: #f5f5f5;
}

.contact-section .section-title {
    text-align: left; /* 中央寄せから左寄せに変更 */
    max-width: 600px; /* コンテンツ幅を制限 */
    margin: 0 auto 60px; /* 中央配置は維持しつつ左寄せ */
}

.contact-section .section-title-en {
    margin-bottom: 40px; /* 追加：英語タイトルの下に余白 */
}

/* お問い合わせの説明文 */
.contact-intro {
    text-align: left;
    max-width: 600px;
    margin: 0 auto 40px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    opacity: 0;
    transform: translateY(30px);
}

.contact-intro p:first-child {
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.contact-intro ul {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.contact-intro li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    line-height: 1.8;
    color: #666;
}

.contact-intro li::before {
    content: "・";
    position: absolute;
    left: 0;
}

.contact-intro a {
    color: #4A90E2;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.contact-intro a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4A90E2, #357ABD);
    transition: width 0.3s ease;
}

.contact-intro a:hover {
    color: #357ABD;
    transform: translateY(-1px);
}

.contact-intro a:hover::before {
    width: 100%;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
}

/* Contact Form 7 カスタマイズ */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: #4A90E2;
}

.wpcf7 input[type="submit"],
.wpcf7-form-control.wpcf7-submit {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%) !important;
    color: #fff !important;
    padding: 15px 50px !important;
    border: none !important;
    border-radius: 30px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: block !important;
    margin: 0 auto !important;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1) !important;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.2) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7-form-control.wpcf7-submit:hover {
    background: linear-gradient(135deg, #357ABD 0%, #2968A3 100%) !important;
    box-shadow: 0 8px 30px rgba(74, 144, 226, 0.4), 0 0 0 1px rgba(74, 144, 226, 0.3) !important;
    transform: translateY(-2px) !important;
}

.wpcf7 input[type="submit"]:active {
    transform: translateY(0) !important;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3) !important;
}
/* 必須項目のアスタリスク */
.required {
    color: #e74c3c;
    font-weight: bold;
    margin-left: 2px;
}

/* Contact Form 7のラベル全体のスタイル（オプション） */
.wpcf7 label {
    display: block;
    text-align: left; 
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

/* フッター */
.site-footer {
    background-color: #494949;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-nav {
    text-align: center;
    margin-bottom: 30px;
}

.footer-nav ul,
.footer-menu {  /* WordPressのメニュークラスも含める */
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center;
    list-style: none !important;
    gap: 30px;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    display: inline-block; /* リストアイテムも念のため横並びに */
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #4A90E2;
}

.copyright {
    text-align: center;
    font-size: 12px;
    color: #999;
    padding-top: 20px;
    border-top: 1px solid #666;
}

.copyright p {
    margin-bottom: 8px;
}

.copyright .recaptcha-notice {
    font-size: 11px;
    color: #777;
    margin-bottom: 0;
}

.copyright .recaptcha-notice a {
    color: #4A90E2;
    text-decoration: none;
}

.copyright .recaptcha-notice a:hover {
    text-decoration: underline;
}

/* トップへ戻るボタン */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    
    /* フェードイン用の初期状態 */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

#back-to-top:hover {
    background: linear-gradient(135deg, #357ABD 0%, #2968A3 100%);
    box-shadow: 0 8px 30px rgba(74, 144, 226, 0.5), 0 0 0 2px rgba(74, 144, 226, 0.3);
    transform: translateY(-3px);
    opacity: 1;
}

#back-to-top:active {
    transform: translateY(-1px);
}

/* showクラスが付いた時の状態 */
#back-to-top.show {
    opacity: 0.4;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
}

#back-to-top.show:hover {
    opacity: 1;
    background: linear-gradient(135deg, #357ABD 0%, #2968A3 100%);
    box-shadow: 0 8px 30px rgba(74, 144, 226, 0.5), 0 0 0 2px rgba(74, 144, 226, 0.3);
    transform: translateY(-3px);
}

/* showクラスがない時は、ホバー状態でも非表示を優先 */
#back-to-top:not(.show) {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(20px) !important;
    pointer-events: none; /* マウスイベントを無効化 */
}

/* アニメーションクラス - 基本 */
.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 個性的な表示アニメーション */

/* サービスカード - 下から順番にスライドアップ */
.service-card:nth-child(1) {
    transition-delay: 0.1s;
}
.service-card:nth-child(2) {
    transition-delay: 0.25s;
}
.service-card:nth-child(3) {
    transition-delay: 0.4s;
}
.service-card.fade-in {
    transform: translateY(0) scale(1) !important;
}
.service-card {
    transform: translateY(50px) scale(0.95);
}

/* 会社概要 - 横からスライド */
.company-table.fade-in {
    transform: translateX(0) !important;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.company-table {
    transform: translateX(-30px);
}

/* お問い合わせ - ズームイン */
.contact-intro.fade-in,
.contact-form.fade-in {
    transform: scale(1) translateY(0) !important;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.contact-intro,
.contact-form {
    transform: scale(0.95) translateY(20px);
}
.contact-form.fade-in {
    transition-delay: 0.2s;
}

/* 固定ページのスタイル */
.page-wrapper {
    padding: 100px 20px 40px 20px; /* 上部余白を調整 */
    min-height: 70vh;
}

/* 404ページ用の中央配置 */
.error404 .page-wrapper {
    padding: 100px 20px 40px 20px;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-header {
    padding: 40px 0 20px 0;
    text-align: center;
}

.page-title {
    font-size: 2.5em;
    font-weight: 700;
    margin: 0;
    color: #333;
}

.page-content-wrapper {
    padding: 20px 0;
    line-height: 1.5;
}

.page-content-wrapper h1,
.page-content-wrapper h2,
.page-content-wrapper h3 {
    color: #333;
    margin-top: 1.2em;
    margin-bottom: 0.5em;
}

.page-content-wrapper h1 {
    font-size: 2em;
    border-bottom: 3px solid #666666;
    padding-bottom: 10px;
}

.page-content-wrapper h2 {
    font-size: 1.6em;
}

.page-content-wrapper h3 {
    font-size: 1.3em;
    color: #333333;
}

.page-content-wrapper p {
    margin-bottom: 1em;
}

.page-content-wrapper ul,
.page-content-wrapper ol {
    margin-bottom: 1.5em;
    padding-left: 2em;
}

.page-content-wrapper li {
    margin-bottom: 0.5em;
}

.page-content-wrapper a {
    color: #4A90E2;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.page-content-wrapper a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4A90E2, #357ABD);
    transition: width 0.3s ease;
}

.page-content-wrapper a:hover {
    color: #357ABD;
    transform: translateY(-1px);
}

.page-content-wrapper a:hover::before {
    width: 100%;
}

.page-links {
    margin-top: 2em;
    padding-top: 2em;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.page-links a {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.page-links a:hover {
    background: linear-gradient(135deg, #357ABD 0%, #2968A3 100%);
    box-shadow: 0 6px 25px rgba(74, 144, 226, 0.4), 0 0 0 1px rgba(74, 144, 226, 0.3);
    transform: translateY(-1px);
}

.page-links a:active {
    transform: translateY(0);
}

/* 戻るボタン */
.page-back-button {
    margin-top: 40px;
    text-align: center;
    padding-top: 30px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.back-button:hover {
    background: linear-gradient(135deg, #357ABD 0%, #2968A3 100%);
    box-shadow: 0 8px 30px rgba(74, 144, 226, 0.4), 0 0 0 1px rgba(74, 144, 226, 0.3);
    transform: translateY(-2px);
    color: white;
}

.back-button:active {
    transform: translateY(0);
}

.back-button i {
    font-size: 14px;
}

.no-content {
    text-align: center;
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
}

/* 404ページ用の調整 */
.error404 .no-content {
    padding: 40px 20px 30px 20px;
    margin-bottom: 20px;
}

.error404 .page-back-button {
    margin-top: 0;
    padding-top: 0;
}

.no-content h1,
.no-content h2 {
    color: #666666;
    margin-bottom: 1em;
}

.no-content h1 {
    font-size: 2.5em;
    font-weight: 700;
}

.no-content p {
    margin-bottom: 1.5em;
    line-height: 1.6;
    color: #555;
}

.no-content a {
    color: #4A90E2;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.no-content a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4A90E2, #357ABD);
    transition: width 0.3s ease;
}

.no-content a:hover {
    color: #357ABD;
    transform: translateY(-1px);
}

.no-content a:hover::before {
    width: 100%;
}

/* 一般的なコンテンツ内のリンク（ヘッダー・フッターメニュー以外） */
.section a:not(.nav-menu a):not(.footer-menu a):not(.site-logo a):not(.back-button):not(.page-links a) {
    color: #4A90E2;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.section a:not(.nav-menu a):not(.footer-menu a):not(.site-logo a):not(.back-button):not(.page-links a)::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4A90E2, #357ABD);
    transition: width 0.3s ease;
}

.section a:not(.nav-menu a):not(.footer-menu a):not(.site-logo a):not(.back-button):not(.page-links a):hover {
    color: #357ABD;
    transform: translateY(-1px);
}

.section a:not(.nav-menu a):not(.footer-menu a):not(.site-logo a):not(.back-button):not(.page-links a):hover::before {
    width: 100%;
}

/* レスポンシブ */
@media (max-width: 768px) {
    /* ハンバーガーメニュー表示 */
    .menu-toggle {
        display: block;
    }
    
    /* 固定ページのレスポンシブ */
    .page-wrapper {
        padding: 90px 10px 20px 10px; /* モバイルでもヘッダー分の余白を確保 */
    }
    
    /* 404ページのレスポンシブ */
    .error404 .page-wrapper {
        padding: 90px 10px 20px 10px;
        min-height: 70vh;
    }
    
    .error404 .no-content {
        padding: 30px 10px 20px 10px;
    }
    
    .page-header {
        padding: 50px 0 10px 0;
    }
    
    .page-title {
        font-size: 2em;
    }
    
    .page-content-wrapper {
        padding: 10px 0;
    }
    
    /* 戻るボタンのレスポンシブ */
    .page-back-button {
        margin-top: 30px;
        padding-top: 20px;
    }
    
    .back-button {
        padding: 10px 20px;
        font-size: 14px;
        letter-spacing: 0.5px;
    }
    
    /* トップに戻るボタンのレスポンシブ */
    #back-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .page-content-wrapper h1 {
        font-size: 1.6em;
    }
    
    .page-content-wrapper h2 {
        font-size: 1.4em;
    }
    
    .page-content-wrapper h3 {
        font-size: 1.2em;
    }
    
    .main-navigation {
        position: fixed;
        top: 120px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 120px);
        background-color: #494949;
        transition: left 0.3s ease;
    }
    
    .main-navigation.active {
        left: 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
        padding: 30px;
        gap: 0;
    }
    
    .main-navigation li {
        border-bottom: 1px solid #666;
    }
    
    .main-navigation a {
        display: block;
        padding: 15px 0;
        font-size: 16px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .kv-text,
    .kv-overlay-text {
        font-size: 28px;
        line-height: 0.8; /* スマホでの行間 */
        width: 95%; /* スマホでは横幅を95%に */
        padding: 0 10px; /* 左右に少しパディング */
    }
    
    /* モバイルでの動画最適化 */
    .kv-video-wrapper video {
        object-fit: cover;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title-ja {
        font-size: 24px;
    }
    
    .company-table {
        max-width: 100%;
    }
    
    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
        padding-left: 20px;
    }
    
    .company-table th {
        width: 100%;
        border-bottom: none;
        padding-bottom: 5px;
        color: #999;
        font-size: 14px;
        text-align: left;
    }
    
    .company-table td {
        padding-top: 5px;
        padding-bottom: 20px;
        font-size: 16px;
    }
    .divider-section {
        height: 250px !important;
    }

    .divider-image {
        width: 100%;
        height: 100%;
        overflow: hidden; /* はみ出す部分を隠す */
    }
    
    .divider-image img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* 画像を切り取って表示 */
        object-position: center bottom; /* 切り取り位置（中央） */
    }

    .divider-video-wrapper video {
        display: none;
    }
    
    .divider-video-wrapper {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }


    .contact-section .section-title {
        text-align: center;
    }
    
    /* お問い合わせの説明文ボックスは左寄せのまま維持 */
    .contact-intro {
        text-align: left;
    }

    
    .footer-nav ul {
        flex-direction: column;
        gap: 15px;
    }
}