@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

body {
    font-family: 'Noto Sans JP', sans-serif;
    scroll-behavior: smooth;
}

/* ページ遷移アニメーション */
.fade-in {
    animation: fadeIn 0.7s ease-in-out forwards;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ナビゲーションの基本スタイル（初期状態から白背景） */
#navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* ナビゲーションリンクの色固定 */
.nav-link {
    color: #475569 !important;
}

/* ロゴのフィルタ無効化 */
#nav-logo-img {
    filter: none !important;
}

/* ヒーローエリアのスライドショー */
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 0;
    background-color: #fff;
}
.hero-slide.active {
    opacity: 1;
}

/* 背景画像の設定（スマホ：右下固定、拡大率1.3） */
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom right;
    transform: scale(1.6);
    transform-origin: bottom right;
}

@media (min-width: 768px) {
    .hero-slide img {
        object-fit: cover;
        transform: scale(1);
        object-position: center;
        transform-origin: center;
    }
}

/* ヒーロー底辺ボーダー */
.hero-section {
    border-bottom: 4px solid #4b6db4;
}

/* --- メインタイトルの白縁（アウトライン） --- */
.text-outline-white {
    /* 複数の影を重ねることで、どの方向にも均一な縁を作成します */
    text-shadow: 
        2px 2px 0 #fff,
        2px -2px 0 #fff,
        -2px 2px 0 #fff,
        -2px -2px 0 #fff,
        0 2px 0 #fff,
        0 -2px 0 #fff,
        2px 0 0 #fff,
        -2px 0 0 #fff,
        0 0 8px rgba(255, 255, 255, 0.5); /* わずかな光彩を追加して馴染ませる */
}

/* --- ファーストビュー・テキストボックスの透明度調整 --- */
.hero-glass-box {
    /* ここで透明度を調整してください。 
       0.85 = 85%不透明度。数値を小さくすると透けます（例：0.5）。 
       !important を付けて確実に上書きします。 */
    background-color: rgba(255, 255, 255, 0.5) !important;
    
    /* 背後のぼかし具合。大きくするとより曇りガラスのようになります。 */
    backdrop-filter: blur(4px);
}

/* --- Google reCAPTCHA バッジの非表示 --- */
.grecaptcha-badge { 
    visibility: hidden !important; 
}

/* サービスアイコン */
.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    font-weight: 900;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
    margin-bottom: 1.5rem;
}

/* プロフィールテーブル */
.profile-table th {
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 1.25rem 1rem;
    width: 30%;
    text-align: left;
    color: #1e293b;
}
.profile-table td {
    border-bottom: 1px solid #e2e8f0;
    padding: 1.25rem 1rem;
    color: #475569;
}

/* --- Contact Form 7 調整 --- */
.wpcf7-text, .wpcf7-textarea, .wpcf7-select {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 0.5rem !important;
    background-color: #f8fafc !important;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #1e293b;
}
.wpcf7-textarea {
    height: 150px;
}
.wpcf7-submit {
    background-color: #2563eb !important;
    color: white !important;
    font-weight: bold !important;
    padding: 1rem 3.5rem !important;
    border-radius: 9999px !important;
    cursor: pointer !important;
    border: none !important;
    transition: all 0.3s;
    display: block;
    margin: 2rem auto 0;
}
.wpcf7-submit:hover {
    background-color: #1d4ed8 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

/* モバイル対応の改行制御 */
.br-pc-only { display: block; }
@media (max-width: 768px) { .br-pc-only { display: none; } }

.br-sp-only { display: none; }
@media (max-width: 768px) { .br-sp-only { display: block; } }