@charset "utf-8";
/*
Theme Name: IBC Create Theme
Description: IBCクリエイトのオリジナルテーマ
Version: 1.0
Author: IBCクリエイト
*/


/* リセット・基本設定 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif; color: #333; line-height: 1.8; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }

/* 共通レイアウト */
.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; text-align: center; }
.section-gray { background-color: #fafafa; }
.section-title { font-size: 1.5rem; font-weight: bold; margin-bottom: 40px; position: relative; }
.section-title::after { content: ''; display: block; width: 40px; height: 2px; background: #1764ED; margin: 15px auto 0; }

/* First View (1920 x 750) */
/* First View (画面いっぱいに広げる設定) */
.fv {
    position: relative;
    width: 100%;
    /* height: 750px;  ←固定サイズをやめて以下に変更 */
    height: 100vh;     /* ブラウザの高さ100%にする */
    min-height: 600px; /* あまりに高さが低いブラウザでも崩れないよう最小値を設定 */
    
    background: url('img/fv_pc.jpg') no-repeat center center / cover;
    color: #fff;
    display: flex;
    flex-direction: column;
}

/* 中央のコンテンツをより目立たせる調整 */
.fv-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 垂直方向の中央 */
    align-items: center;     /* 水平方向の中央 */
    text-align: center;
    padding-bottom: 50px;    /* ヘッダーとのバランスを見て少し下に重心を置く */
}

.header { width: 100%; padding: 20px 0; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; }
/* --- ロゴ周りの修正 --- */
.logo {
    display: block;
    line-height: 0; /* 余計な隙間を排除 */
}

.logo img {
    height: 50px;    /* 画像の高さを固定 */
    width: auto;     /* 横幅はアスペクト比を維持 */
    display: block;

}

/* ヘッダー全体のレイアウト調整（すでにCSSがある場合は適宜統合してください） */
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.nav ul {
    display: flex;
    align-items: center; /* 縦方向の中央揃え */
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav ul li {
    margin-left: 30px; /* メニューの間隔 */
}

.nav ul li a {
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav ul li a:hover {
    color: #004bb1; /* ホバー時の文字色 */
}

/* ★ヘッダーの「お問い合わせ」ボタンデザイン */
.nav ul li a.header-btn-contact {
    display: inline-block;
    background-color: #004bb1; /* ボタンの背景色（コーポレートカラー） */
    color: #ffffff; /* ボタンの文字色 */
    padding: 10px 24px; /* ボタンの上下左右の余白 */
    border-radius: 4px; /* 角丸 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* マウスを乗せた（ホバー）ときの動き */
.nav ul li a.header-btn-contact:hover {
    background-color: #003380; /* 少し濃い青になります */
    color: #ffffff; /* 文字色は白のまま */
    transform: translateY(-1px); /* 少し上に浮き上がります */
    text-decoration: none;
}


/* ヘッダー全体の高さ調整 */
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
}

/* スマホ版での調整 (メディアクエリ内) */
@media (max-width: 768px) {
    .logo img {
        height: 40px; /* スマホでは少し小さく */
    }
}
.nav ul { 
    display: flex; gap: 25px;
}
.nav a {
    font-size: 16px;
    font-weight: bold;
}

.fv-content { flex: 1; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center; }
    
.fv-title { 
    font-size: 2.8rem; 
    font-weight: bold; 
    margin-bottom: 20px; 
    line-height: 1.4; 

}

.fv-subtitle { font-size: 1.1rem; margin-bottom: 40px; font-weight: 400; }
.btn-contact {
    display: inline-block;
    background: #0B2A67;
    color: #fff;
    padding: 12px 60px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: bold;
    transition: opacity 0.3s;
}

/* カードスタイル */
.white-card { background: #fff; padding: 50px; border: 2px solid #eee; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 2fr); gap: 20px; }
.blue-card { background: #eef7ff; padding: 30px 20px; border-radius: 4px; }
.blue-card h4 { color: #1764ED; font-size: 1rem; margin-bottom: 15px; border-bottom: 2px solid #cce5ff; padding-bottom: 10px; }
.blue-card p { font-size: 0.95rem; text-align: left; }

/* 強み (チェックリスト) */
.strength-list { display: inline-block; text-align: left; margin: 0 auto; }
.strength-list li {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    padding-left: 50px;
    margin-bottom: 20px;
    background: url('img/check_ic.png') no-repeat left center / 25px;
}

/* 実績 */
.result-item {
    background: #fff;
    margin-bottom: 20px;
    text-align: left;
    padding: 25px;
    border-left: 8px solid #1764ED;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.result-item h4 { font-size: 1.1rem; margin-bottom: 5px; }

.result-item p{
    font-weight: 450;
}

/* パートナー支援 */
.partner-text { color: #1764ED; font-weight: bold; font-size: 1.1rem; margin-bottom: 20px; }
.dot-list {
    background-color: #eef7ff;
    width: o auto;
    height: 100%;
    padding: 20px;
}
.dot-list li { 
    font-size: 1.1rem;
    position: relative; 
    font-weight: bold; 
    margin-bottom: 10px; 
    display: inline-block; 
    width: 100%; 
    text-align: center;
}

.dot-list li::before { content: '・'; }

/* お問い合わせ・フッター */
.contact-section { background: #327de4; color: #fff; padding: 60px 0; text-align: center; }
.contact-section .section-title::after { background: #fff; }
.contact-box { display: flex; justify-content: center; align-items: center; gap: 60px; margin-top: 30px; }
.contact-logo img { height: 50px; }
.contact-info { text-align: left; }
.company-name { font-size: 1.3rem; font-weight: bold; margin-top: 10px; }
.rep-name { margin-bottom: 15px; }
.contact-title { font-size: 1rem; font-weight: bold; text-align: left;}
.email { font-size: 1.1rem; font-weight: bold; text-align: left;}
.tel { font-size: 2rem; font-weight: bold; text-align: left;}


.footer { background: #0B2A67; color: #fff; text-align: center; padding: 15px; font-size: 11px; }


/* --- お問い合わせセクション全体の調整 --- */
.contact-section {
    text-align: center;
    padding: 15px;
}

.contact-text {
    font-size: 0.8rem;
    margin-bottom: 10px;

}

.btn-contact-wrapper {
    display: flex;
    justify-content: center;
}

.btn-contact-page {
    display: inline-block;
    background-color: #004bb1;
    color: #ffffff;
    padding: 16px 35px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-contact-page:hover {
    background-color: #003380;
    transform: translateY(-2px);
    text-decoration: none;
}

/* --- お問い合わせページ (固定ページ) 用の設定 --- */
.contact-page-main {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.page-title {
    text-align: center;
    font-size: 2rem;
    color: #004bb1;
    margin-bottom: 10px;
}

.page-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}



.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-form-wrapper p{
	color:black;
}
	

/* --- Contact Form 7 共通整形 --- */

/* コンテナ全体のフォント色を黒系に統一 */
.wpcf7 dl dt,
.wpcf7 dl dd {
    color: #333333;
}

/* ラベル（項目名） */
.wpcf7 dl dt {
    margin-bottom: 8px;
    font-weight: bold;
}

.wpcf7 dl dd {
    margin-bottom: 25px;
    margin-left: 0;
}

/* 入力欄（テキスト・メール・テキストエリア） */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    display: block;
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1rem;
    color: #333333;
}

.wpcf7 textarea {
    height: 180px;
}

/* --- [confirm] スラッグ（確認画面）専用のスタイル --- */
/* bodyにスラッグ名「confirm」のクラスがついている場合に適用 */
.page-confirm .wpcf7 dl dd {
    padding: 10px;
    background: #f0f4f9; /* 確認画面用の背景色 */
    border-radius: 4px;
    min-height: 1.5em;
    color: #333333;
}

/* --- ボタンエリアの調整 --- */
/* ボタンを囲む親要素 */
.form-buttons {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
	margin:30px auto 0;
}

/* CF7が勝手に生成するPタグを無視させる */
.form-buttons p {
    display: contents !important; /* 子要素を親のflexに直接参加させる魔法の1行 */
}

/* 各ボタンの調整 */
.wpcf7-previous,
.wpcf7-submit {
    flex: 0 1 auto !important;
    white-space: nowrap; /* 文字の折り返し防止 */
}

/* 送信・確認ボタン */
.wpcf7 input[type="submit"] {
    background-color: #004bb1;
    color: #ffffff !important;
    padding: 15px 60px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s;
    -webkit-appearance: none; /* iOSのデフォルトスタイル解除 */
}

.wpcf7 input[type="submit"]:hover {
    background-color: #003380;
    color: #ffffff !important;
}

/* 戻るボタン（previousタグ） */
.wpcf7-previous {
    background-color: #999 !important; /* 戻るボタンはグレー */
    color: #fff !important;
    padding: 15px 60px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
}

/* --- エラーメッセージ（バリデーション） --- */
.wpcf7 .wpcf7-not-valid-tip {
    color: #d32f2f;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}


/* 邪魔なスピナー（span）をレイアウトから浮かせる */
.wpcf7-spinner {
    position: absolute; /* 位置を浮かせる */
}

.wpcf7-response-output {
	    color: #d32f2f;
}

/* --- レスポンシブ設定 --- */
@media screen and (max-width: 768px) {
	
	.fv { height: 680px; background-image: url('img/fv_sp.jpg'); }
    .fv-title { font-size: 1.8rem; }
    .header-inner {
        flex-direction: column !important;
        align-items: center !important;
        padding: 15px 0 !important;
    }
    .logo { margin-bottom: 15px !important; }
    .nav ul {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 15px !important;
    }
    .nav ul li { margin: 0 !important; }
    .nav ul li:last-child {
        width: 100% !important;
        text-align: center !important;
        margin-top: 15px !important;
    }
    .nav ul li a.header-btn-contact {
        padding: 10px 30px !important;
    }
	
	    .grid-3 { grid-template-columns: 2fr; }
    .contact-box { flex-direction: column; gap: 30px; }
    .contact-info { text-align: center; }
    
    /* スマホではボタンを縦並びに */
    .form-buttons {
        flex-direction: column;
    }
	
	/* Turnstile（Cloudflare）を右にずらして入力欄と揃える */
.wpcf7-turnstile {
    margin-left: 5px !important; /* ここの数字で微調整してください */
    margin-bottom: 20px;
}

/* スマホ版で幅が気になる場合 */
@media screen and (max-width: 768px) {
    .wpcf7-turnstile {
        transform: scale(0.85); /* 少し大きいと感じる場合はここで縮小 */
        transform-origin: left;
    }
}