@charset "UTF-8";

/* =========================================
   独自デザイン用スタイル (home-style.css)
   ========================================= */

/* ★修正ポイント：
   「body.home」を削除し、このファイルが読み込まれたページなら
   無条件でヘッダーやサイドバーを消すように変更しました。
*/

#header, 
.header-container, 
.mobile-header, 
.sidebar, 
#sidebar, 
.widget-area, 
.entry-title, 
.breadcrumb, 
#footer { 
    display: none !important; 
}

html { 
    margin-top: 0 !important; 
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

/* コンテンツ幅の強制リセット（サイドバーのスペースを消す） */
.content, 
.main, 
.wrap { 
    width: 100% !important; 
    max-width: 100% !important; 
    padding: 0 !important; 
    margin: 0 !important; 
    border: none !important; 
    background-color: #fff !important; 
    float: none !important; /* 回り込み解除 */
}

/* 親テーマのレイアウト崩れ防止 */
.body-main {
    width: 100% !important;
    float: none !important;
}

/* --- 独自デザインエリアのラッパー --- */
.custom-home-wrapper { 
    width: 100%; 
    overflow-x: hidden; 
    font-family: "Meiryo", "メイリオ", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif; 
    color: #333; 
    padding-top: 80px;
    line-height: 1.8;
}

/* フォント定義 */
.font-mincho { font-family: "BIZ UDPMincho", "BIZ UDP明朝", "Yu Mincho", serif; }
.font-gothic { font-family: "Meiryo", "メイリオ", sans-serif; }

.inner { max-width: 1000px; margin: 0 auto; padding: 0 20px; position: relative; }
.custom-home-wrapper img { max-width: 100%; height: auto; vertical-align: bottom; }
.custom-home-wrapper a { text-decoration: none; }
.custom-home-wrapper * { box-sizing: border-box; }

/* ▼ カスタムヘッダー */
.custom-header {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 80px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 999;
    display: flex; align-items: center;
}
.header-inner {
    width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px;
    display: flex; justify-content: space-between; align-items: center;
}
.header-logo img { height: 50px; width: auto; display: block; }
.header-right-group { display: flex; align-items: center; gap: 30px; }

/* ヘッダーナビ */
.header-nav ul { display: flex; list-style: none; margin: 0; padding: 0; align-items: center; gap: 0; }
.header-nav li { display: flex; align-items: center; }
.header-nav li:not(:last-child)::after {
    content: "|"; margin: 0 15px; color: #ccc; font-size: 0.8rem; font-weight: normal;
}
.header-nav a {
    color: #333; font-size: 0.9rem; font-weight: 500; transition: 0.3s; position: relative;
    white-space: nowrap; font-family: "Meiryo", "メイリオ", sans-serif;
}
.header-nav a:hover { color: #E06A8F; }

/* ヘッダーボタン */
.header-buttons { display: flex; align-items: center; gap: 15px; }
.header-btn {
    display: inline-block; background-color: #E06A8F; color: #fff; padding: 10px 20px;
    border-radius: 4px; font-weight: bold; font-size: 0.9rem; transition: 0.3s; white-space: nowrap;
    font-family: "Meiryo", "メイリオ", sans-serif;
}
.header-btn:hover { background-color: #c94e73; color: #fff; opacity: 0.9; }
.header-login-btn {
    display: inline-block; background-color: #fff; color: #E06A8F; border: 1px solid #E06A8F;
    padding: 9px 20px; border-radius: 4px; font-weight: bold; font-size: 0.9rem; transition: 0.3s; white-space: nowrap;
    font-family: "Meiryo", "メイリオ", sans-serif;
}
.header-login-btn:hover { background-color: #fff0f5; color: #c94e73; }

/* 1. FV */
.fv-section {
    height: 80vh; min-height: 600px;
    background: url('http://impba.jp/wp-content/uploads/2026/01/top.jpg') center top/cover no-repeat;
    display: flex; align-items: center; justify-content: center; text-align: center; position: relative;
}
.fv-content { 
    z-index: 2; background: rgba(255,255,255,0.15); padding: 40px; border-radius: 10px; backdrop-filter: blur(2px);
}
.fv-logo-img { width: 300px; margin-bottom: 20px; display: block; margin-left: auto; margin-right: auto; }
.fv-copy {
    font-family: "BIZ UDPMincho", "BIZ UDP明朝", "Yu Mincho", serif;
    font-size: 2.8rem; color: #fff; margin-bottom: 30px; 
    text-shadow: 0 2px 10px rgba(0,0,0,0.3); letter-spacing: 0.1em; font-weight: normal;
}
.btn-main { 
    display: inline-block; background-color: #E06A8F; color: #fff; padding: 15px 60px; 
    border-radius: 4px; font-weight: bold; font-size: 1.2rem; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: 0.3s; font-family: "Meiryo", "メイリオ", sans-serif;
}
.btn-main:hover { background-color: #c94e73; color: #fff; transform: translateY(2px); text-decoration: none; }

/* 代表メッセージエリア */
.message-section { padding: 100px 0; background-color: #fff;  text-align: center; }
.message-title { 
    text-align: center; font-size: 1.8rem; letter-spacing: 0.1em; color: #999;
    font-family: "BIZ UDPMincho", "BIZ UDP明朝", serif;
    font-size: 2.5rem; color: #333; margin-bottom: 15px; letter-spacing: 0.2em; font-weight: normal;
}
.message-lead {
    text-align: center; font-family: "BIZ UDPMincho", "BIZ UDP明朝", serif;
    font-size: 1.4rem; color: #333; margin-bottom: 60px; line-height: 2; font-weight: normal;
}

p.message--lead\" {
    margin-bottom: 20px;
}

.message-body { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.message-jp { 
    width: 48%; font-size: 1.1rem; line-height: 2.2; letter-spacing: 0.05em; text-align: left;
    font-family: "BIZ UDPMincho", "BIZ UDP明朝", serif; 
}
.message-en { 
    width: 45%; font-size: 0.9rem; line-height: 1.8; color: #777; 
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; margin-top: 10px; 
}
.message-highlight { margin-top: 30px; font-size: 1.3rem; font-weight: bold; display: block; }


/* 2. MBIとは */
.concept-section { padding: 80px 0 100px; text-align: center; }
.concept-title { 
    font-family: "BIZ UDPMincho", "BIZ UDP明朝", serif;
    font-size: 2.5rem; color: #333; margin-bottom: 20px; letter-spacing: 0.2em; font-weight: normal;
}
.concept-lead {
    font-family: "BIZ UDPMincho", "BIZ UDP明朝", serif;
    font-size: 1.4rem; color: #333; margin-bottom: 60px; line-height: 2; font-weight: normal;
}
.concept-body {
    font-family: "Meiryo", "メイリオ", sans-serif;
    line-height: 2.2; font-size: 1rem; color: #555; max-width: 800px; margin: 0 auto; text-align: left;
}
.concept-body p { margin-bottom: 2em; }

/* 3. 活動内容 */
.wave-container { position: relative; width: 100%; margin-top: 50px; }
.wave-top svg, .wave-bottom svg { display: block; width: 100%; height: auto; }
.wave-bottom { margin-top: -1px; }
.activity-section { background-color: #E06A8F; color: #fff; text-align: center; padding: 0 0 80px; }
.activity-title { 
    font-family: "BIZ UDPMincho", "BIZ UDP明朝", serif;
    font-size: 2.5rem; margin-bottom: 50px; font-weight: normal; letter-spacing: 0.1em; 
}
.activity-chart-wrapper { max-width: 800px; margin: 0 auto 50px; padding: 0 20px; }
.text-columns { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.text-item { width: 280px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.act-ja { 
    font-family: "BIZ UDPMincho", "BIZ UDP明朝", serif;
    font-size: 1.5rem; font-weight: normal; margin-bottom: 5px; letter-spacing: 0.1em;
}
.act-en-sub { 
    font-family: "Times New Roman", "Yu Mincho", serif;
    font-size: 1.1rem; margin-bottom: 20px; letter-spacing: 0.05em; opacity: 0.9; font-style: italic; 
}
.act-desc { 
    font-family: "Meiryo", "メイリオ", sans-serif;
    font-size: 0.95rem; line-height: 1.8; opacity: 0.95; text-align: left; 
}

/* 4. サービス */
.service-section { padding: 100px 0; text-align: center; }
.service-title { 
    font-family: "BIZ UDPMincho", "BIZ UDP明朝", serif;
    font-size: 2.5rem; color: #333; margin-bottom: 20px; font-weight: normal; 
}
.service-sub { 
    font-family: "BIZ UDPMincho", "BIZ UDP明朝", serif;
    margin-bottom: 30px; font-size: 1.1rem; color: #333; 
}
.service-desc {
    font-family: "Meiryo", "メイリオ", sans-serif;
    font-size: 1rem; line-height: 2; color: #555; margin-bottom: 60px;
}

/* ▼ サービス画像の調整（修正版：PCも縦並び） */
.service-list {
    display: flex;
    flex-direction: column; /* ★縦並びに指定 */
    gap: 30px; /* 画像と画像の間の隙間 */
    align-items: center; /* 中央揃え */
    width: 100%;
    margin-bottom: 50px;
}

.service-list picture {
    width: 100%;
    max-width: 900px; /* ★PCでデカくなりすぎないよう制限（元のデザインに合わせました） */
    display: block;
}

.service-list picture img {
    width: 100%;
    height: auto;
    display: block;
}

/* 5. 挨拶・フッター */
.greeting-section { background: #E06A8F; color: #fff; padding: 80px 0; text-align: center; }
.greeting-title {
    font-family: "BIZ UDPMincho", "BIZ UDP明朝", serif;
    font-size: 2.2rem; margin-bottom: 40px; font-weight: normal;
}
.greeting-body {
    font-family: "Meiryo", "メイリオ", sans-serif;
    line-height: 2; text-align: left;
}

/* ▼ カスタムフッター調整 */
.custom-footer { padding: 40px 0; text-align: center; background: #fff; border-top: 1px solid #eee; color: #666; font-family: "Meiryo", "メイリオ", sans-serif; }
.footer-links {
    display: flex; justify-content: center; gap: 20px; list-style: none; margin: 0 0 20px 0; padding: 0;
}
.footer-links li a { color: #666; font-size: 0.9rem; transition: 0.3s; }
.footer-links li a:hover { color: #E06A8F; }
.footer-logo { width: 250px; margin-bottom: 20px; }

/* スマホ対応 */
@media screen and (max-width: 900px) {
    .header-nav { display: none; } 
}
@media screen and (max-width: 768px) {
    .custom-home-wrapper { padding-top: 60px; }
    .custom-header { height: 60px; }
    .header-logo img { height: 35px; }
    .header-btn, .header-login-btn { padding: 6px 10px; font-size: 0.75rem; }
    .header-buttons { gap: 8px; }
    
    .fv-copy { font-size: 1.8rem; }
    
    /* メッセージエリアのスマホ対応 */
    .message-body { flex-direction: column; gap: 30px; }
    .message-jp, .message-en { width: 100%; text-align: center; }

    .concept-title { font-size: 1.8rem; }
    .concept-lead { font-size: 1rem; text-align: left; }
    .concept-body { text-align: left; }
    
    .text-columns { flex-direction: column; align-items: center; gap: 40px; }
    .act-desc { text-align: left; }
    
    /* サービス画像のスマホ対応（修正済み） */
    .service-list picture {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .footer-links { flex-direction: column; gap: 10px; } /* スマホは縦並び */
}