/* 基本設定 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Noto Sans JP', sans-serif; color: #333; line-height: 1.6; overflow-x: hidden; }

/* 固定ロゴ */
.fixed-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 20px 40px 10px 40px; /* 上下の余白を少し詰めるとスタイリッシュになります */
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center; /* 垂直方向の中央揃え */
}
.logo { font-family: 'Oswald', sans-serif; font-size: 1.5rem; color: #1a365d; letter-spacing: 2px; }

.logo img {
    /* ↓↓↓ ここでサイズを調整します ↓↓↓ */
    height: 40px;      /* 高さを指定（推奨） */
    width: auto;       /* 横幅は自動計算させて比率を維持 */
    display: block;
    transition: opacity 0.3s ease;
}
.logo a:hover img {
    opacity: 0.7;      /* ホバー時に少し透明にしてリンクであることを演出 */
}

/* スマホ表示の時のサイズ調整 */
@media (max-width: 900px) {
    .fixed-header {
        padding: 10px 20px;
    }
    .logo img {
        height: 30px;  /* スマホでは少し小さくする */
    }
}

.product-desc {
    font-size: 1.8rem; /* 文字を大きく設定（元は約1.0rem） */
    font-weight: 700;
    margin-top: 20px;
    display: inline-block; /* ハイライトの幅を文字に合わせるために必要 */
    padding: 0 10px;
    
    /* --- ハイライト効果（蛍光ペン風） --- */
    background: linear-gradient(transparent 0%, rgba(27, 26, 105, 0.6) 0%);
    
    /* --- もし文字自体を光らせるようなDX感を出すならこちらを追加 --- */
    text-shadow: 0 0 15px rgba(99, 179, 237, 0.8);
}

/* スマホでのサイズ調整 */
@media (max-width: 900px) {
    .product-desc {
        font-size: 1.2rem;
    }
}

/* アニメーション */
.reveal { opacity: 0; transform: translateY(40px); transition: all 1s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ヒーローセクション */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
	background-image: linear-gradient(rgba(26, 54, 93, 0.1), rgba(26, 54, 93, 0.1)), url('images/hero-bg.png'); 
    background-attachment: fixed; /* パララックス効果 */
    background-position: center;
    background-size: cover;
    color: #fff;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin: 20px 0;
    font-weight: 700;
    /* 左右に0px、下に2px、ぼかし10pxで黒い影（透明度0.7）をつける */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.4);
    /* 2段階で影を重ねるとより立体的でくっきりします */
}

.hero-content h1 { font-size: 3.5rem; margin: 20px 0; }
.brand-name { font-size: 5rem; font-weight: 700; color: #FFFFFF; }


/* 課題解決セクション (旧デザイン) */
.problem-section {
    padding: 100px 20px;
    text-align: center;
    background: #f7fafc;
}

.container-narrow { max-width: 900px; margin: 0 auto; }
.highlight {
	color: #3182ce;
	font-weight: bold;
	border-bottom: 3px solid #63b3ed;
}
.highlight2 {
	color: #f5ed55;
	font-weight: bold;
	border-bottom: 3px solid #f5ed55;
}
.problem-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 50px 0;
    align-items: stretch; /* 高さを揃える */
}
.problem-item {
    flex: 1;
    padding: 30px 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: left; /* リストを見やすくするため左寄せ */
    display: flex;
    flex-direction: column;
}

.problem-title {
    font-weight: bold;
    font-size: 1.8rem;
    color: #1a365d;
    margin-bottom: 15px;
    text-align: center; /* タイトルだけ中央 */
    border-bottom: 2px solid #edf2f7;
    padding-bottom: 10px;
}

.problem-sub-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.problem-sub-list li {
    font-size: 1.3rem;
    color: #4a5568;
    line-height: 2;
    white-space: nowrap; /* 折り返しを防いでスッキリ見せる */
}

/* モバイル対応の調整 */
@media (max-width: 900px) {
    .problem-grid {
        flex-direction: column;
        gap: 15px;
    }
    .problem-item {
        text-align: center;
    }
    .problem-sub-list {
        display: inline-block;
        text-align: left; /* スマホでもチェック項目は左寄せで揃える */
        margin: 0 auto;
    }
}



/* お悩み導入部分 */
.problem-intro {
    margin-bottom: 40px;
    margin-top: 70px;
}
.problem-sub-title {
    color: #3182ce;
    font-weight: bold;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
}
.main-problem-title {
    font-size: 2.5rem;
    color: #1a365d;
    position: relative;
    display: inline-block;
}

/* スタイリッシュな箇条書きリスト */
.problem-list-box {
    background: #ffffff;
    border-left: 8px solid #2b6cb0; /* 左側に太いライン */
    padding: 40px 40px 20px 40px;
    margin: 30px auto 60px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 0 15px 15px 0;
}

.styled-check-list {
    list-style: none;
    padding: 0;
}

.styled-check-list li {
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 20px;
    padding-left: 35px;
    position: relative;
    font-weight: 600;
}

/* チェックマークの装飾 */
.styled-check-list li::before {
    content: "!"; /* 悩みなので！マークに */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: #e53e3e; /* 注意を引く赤系 */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

/* 区切り線 */
.problem-divider {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, transparent, #cbd5e0, transparent);
    margin: 100px 0px 100px 0px;
}

.solution-heading {
    font-size: 2rem;
    margin-bottom: 40px;
    line-height: 1.5;
}

/* スマホ調整 */
@media (max-width: 768px) {
    .main-problem-title { font-size: 1.8rem; }
    .problem-list-box { padding: 25px 20px; }
    .styled-check-list li { font-size: 1.5rem; font-style:bold; }
}


.intro-text { font-size: 1.1rem; line-height: 2; }

.intro-main_text { 
	font-size: 1.3rem;
	line-height: 2;
    margin-top: 20px;
    text-align: left;
}

/* サービス詳細セクション (左右交互) */
.service-section { padding: 120px 0; }
.bg-light { background-color: #f7fafc; }
.container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 80px; padding: 0 20px; }
.flex-row-reverse { flex-direction: row-reverse; }

.text-box { flex: 1; }
.image-box {
    flex: 1.2;
    height: 400px;
    border-radius: 20px;
    box-shadow: 0 30px 60px -12px rgba(0,0,0,0.25);
}

/* 画像パララックス */
.parallax-img {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}
.img-01 { background-image: url('images/img01.png'); }
.img-02 { background-image: url('images/img02.png'); }
.img-03 { background-image: url('images/img03.png'); }
.img-04 { background-image: url('images/img04.png'); }

.service-num { font-family: 'Oswald', sans-serif; font-size: 4rem; color: #3182ce; opacity: 0.2; }
h3 { font-size: 2.2rem; color: #1a365d; margin-bottom: 20px; }
.catchphrase { font-weight: bold; color: #2b6cb0; font-size: 1.1rem; }
.feature-list { list-style: none; margin-top: 25px; }
.feature-list li { margin-bottom: 12px; padding-left: 30px; position: relative; }
.feature-list li::before { content: "✔"; position: absolute; left: 0; color: #3182ce; font-weight: bold; }

/* お問い合わせバナー */
.floating-banner {
    position: fixed;
    right: 40px; bottom: 40px;
    z-index: 2000;
    background: #ed8936;
    color: #fff;
    text-decoration: none;
    padding: 18px 30px;
    border-radius: 50px;
    box-shadow: 0 15px 30px rgba(237, 137, 54, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.floating-banner:hover { transform: scale(1.1) translateY(-10px); background: #f6ad55; }
.banner-text { font-weight: bold; }

footer { padding: 50px; text-align: center; background: #1a202c; color: #718096; }

/* レスポンシブ */
@media (max-width: 900px) {
    .container, .flex-row-reverse { flex-direction: column !important; }
    .image-box { width: 100%; height: 320px; background-attachment: scroll; }
    .hero-content h1 { font-size: 2.2rem; }
    .brand-name { font-size: 3.5rem; }
    .problem-grid { flex-direction: column; }
    .floating-banner { right: 20px; bottom: 20px; padding: 12px 20px; }
}
/* 関連画像グリッドのコンテナ */
.sub-grid-container {
    margin-top: 40px !important; /* 上のメインエリアとの間隔 */
    padding-bottom: 40px;
}

.sub-image-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.sub-item {
    flex: 1;
    text-align: center;
}

.sub-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    object-fit: cover;
    aspect-ratio: 16 / 9; /* 画像の比率を統一 */
}

.sub-item img:hover {
    transform: translateY(-5px);
}

.sub-item p {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: bold;
}

/* レスポンシブ設定（既存の @media 内に追加） */
@media (max-width: 900px) {
    /* 既存の設定... */
    
    .sub-image-grid {
        flex-direction: column; /* スマホで縦並びにする */
        gap: 30px;
    }
    
    .sub-item {
        width: 100%;
    }
}