@charset "UTF-8";

/* --- 基本設定 (ブルー基調・スタイリッシュ配色) --- */
:root {
    --primary-color: #0f2a4a; /* 信頼感と重厚感のあるディープネイビー */
    --secondary-color: #f0f4f8; /* 爽快感のある極薄いブルーグレー（背景用） */
    --tertiary-color: #0ba4eb; /* 爽快感のある極薄いブルーグレー（背景用） */
    --accent-color: #0056b3; /* 視線を惹きつける鮮やかなブルー（ボタン・強調用） */
    --text-color-top: #ffffff;
    --text-color: #333333;
    --text-color-light: #596b7d; /* テキストも少し青みを持たせたグレー */
    --white: #ffffff;
    --border-color: #d2dce5; /* クリーンな印象のボーダー色 */
    --font-main: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
}

body {
    font-family: var(--font-main);
    line-height: 1.8;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: var(--white);
    letter-spacing: 0.03em;
}

h1, h2, h3, p, ul { margin: 0; padding: 0; }
img, video { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 0;

}

/* --- 見出しデザイン --- */
.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 60px;
    color: var(--primary-color);
    letter-spacing: 0.1em;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 70%;
    height: 2px;
    background-color: var(--accent-color); /* アクセントのブルーを使用 */
    margin: 20px auto 0;
}

/* --- ボタンデザイン (シャープ＆フラット) --- */
.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.1em;
    padding: 20px 60px;
    border: 1px solid var(--accent-color);
    transition: all 0.3s ease;
    cursor: pointer;
}
.btn:hover {
    background-color: var(--white);
    color: var(--accent-color);
}

/* --- スクロールアニメーション用設定 --- */
.js-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.js-fade.is-active {
    opacity: 1;
    transform: translateY(0);
}

/* --- 1. ファーストビュー (Hero) --- */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    color: var(--white);
    display: flex;
    align-items: center;
    text-align: center;
    background-color: var(--primary-color);
}

.hero .topview_text{
    color: var(--text-color-top);
	text-shadow: 0px 5px 20px #000;
}

.hero .topview_subtext{
    display: inline-block;
    color: var(--text-color-light); 
   	text-shadow: 0px 0px 10px #fff;
    matgin: 0 auto;
    width: 70%;
    background-color: rgb(255, 255, 255,0.75); 
    padding: 20px 40px;
    border: 0px solid var(--accent-color);
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 動画の上にネイビーの半透明フィルターをかけ、青みを強調 */
    background-color: rgba(107, 107, 107, 0.5); 
    z-index: 2;
}
.hero h1 {
    font-size: 42px;
    line-height: 1.5;
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: 0.05em;
}
.hero h1 span {
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 5px;
}
.hero p {
    font-size: 18px;
    margin-bottom: 50px;
    opacity: 0.9;
    font-weight: 300;
}

/* --- 2. 導入・共感 (Troubles) --- */
.troubles { background-color: var(--secondary-color); }
.troubles-list {
    background: var(--white);
    padding: 50px;
    max-width: 800px;
    margin: 0 auto 40px;
    border: 1px solid var(--border-color);
}
.troubles-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--text-color);
}
.troubles-list li::before {
    font-family: serif;
    content: "☑";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 18px;
}
.troubles-solution {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 40px;
}

/* --- 3. サービス内容 (Services) --- */
.service-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}
.service-card {
    flex: 1;
    min-width: 320px;
    background: var(--white);
    padding: 50px 40px;
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
    border-top: 4px solid var(--primary-color); /* 上部にネイビーのラインで引き締め */
}
.service-card:hover {
    background-color: var(--secondary-color);
}
.service-card h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}
.service-card-icon {
    font-size: 24px;
    margin-right: 15px;
    color: var(--accent-color); /* アイコンをブルーに */
}
.service-card p {
    font-size: 15px;
    color: var(--text-color-light);
    margin-bottom: 25px;
}
.service-card ul li {
    margin-bottom: 15px;
    font-size: 14px;
    padding-left: 15px;
    position: relative;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}
.service-card ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.service-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
}

/* --- 4. 制作実績 (Portfolio) --- */
.portfolio { background-color: var(--secondary-color); }
.portfolio-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.portfolio-item {
    flex: 1;
    min-width: 250px;
    background: var(--white);
    border: 1px solid var(--border-color);
}

.portfolio-item2 {
    flex: 1;
    min-width: 250px;
    /* background: var(--white);*/
    /*border: 1px solid var(--border-color);*/
}

.portfolio-item3 {
    flex: 1;
    min-width: 250px;
    /* background: var(--white);*/
    /*border: 1px solid var(--border-color);*/
}

.portfolio-item4 {
    flex: 1;
    min-width: 250px;
    /* background: var(--white);*/
    /*border: 1px solid var(--border-color);*/
}

.portfolio-thumb {
    width: 100%;
    height: 180px;
    background-color: #e2e8f0; /* 少し青みがかったグレー */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8898aa;
    font-size: 13px;
    letter-spacing: 0.05em;
}
.portfolio-item-content { padding: 25px; }
.portfolio-item-content h3 { font-size: 16px; margin-bottom: 10px; color: var(--primary-color); }
.portfolio-item-content p { font-size: 13px; color: var(--text-color-light); }

/* --- 5. 選ばれる理由 (Strengths) --- */
.strength-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.strength-item {
    padding: 0 20px;
    text-align: center;
}
.strength-icon {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 20px;
}
.strength-item h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    display: inline-block;
    padding-bottom: 10px;
}
.strength-item p {
    font-size: 15px;
    color: var(--text-color-light);
    text-align: left;
    margin-top: 15px;
}

/* --- 6. 制作の流れ (Flow) --- */
.flow { background-color: var(--secondary-color); }
.flow-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    background: var(--white);
    padding: 40px;
    border: 1px solid var(--border-color);
    border-left: 6px solid var(--primary-color); /* 左側にネイビーの太線 */
}
.step-number {
    color: var(--accent-color); /* 数字をブルーに */
    font-size: 24px;
    font-weight: bold;
    width: 60px;
    flex-shrink: 0;
    font-family: Georgia, serif;
    font-style: italic;
}
.step-content h3 { margin-bottom: 5px; font-size: 18px; color: var(--primary-color); }
.step-content p { font-size: 15px; color: var(--text-color-light); }

/* --- 7. お問い合わせ (CTA) --- */
.cta {
    text-align: center;
    background-color: var(--tertiary-color); /* 背景を薄いブルー調 */
    color: var(--white);
    padding: 0px 0;
}
.cta h2 { font-size: 32px; margin-bottom: 30px; line-height: 1.5; letter-spacing: 0.05em; }
.cta p { margin-bottom: 50px; font-size: 16px; opacity: 0.8; max-width: 900px; margin-left: auto; margin-right: auto; }
.cta .btn {
    background-color: var(--accent-color);
    color: var(--white);
    border: 1px solid var(--accent-color);
}
.cta .btn:hover {
    background-color: var(--white);
    color: var(--accent-color);
}
.contact-info { margin-top: 30px; font-size: 15px; opacity: 0.9; letter-spacing: 0.1em; }
.contact-info strong { font-size: 24px; font-weight: normal; margin-left: 10px;}

/* --- フッター --- */
footer {
    text-align: center;
    padding: 60px 20px;
    background: #fff; /* ホワイト */
    color: var(--white);
    font-size: 14px;
}
.footer-logo { width: 20%; margin:auto ; font-size: 20px; font-weight: bold; margin-bottom: 20px; letter-spacing: 0.1em; color: var(--white); }
.footer-info { color: #30373d; font-size: 13px; margin-bottom: 30px; line-height: 2; }
.copyright { color: #596b7d; font-size: 12px; letter-spacing: 0.05em; }

/* --- レスポンシブ対応 --- */
@media (max-width: 992px) {
    .hero h1 { font-size: 32px; }
    .section-title { font-size: 26px; }
    .footer-logo { width: 20%; margin:auto ; font-size: 20px; font-weight: bold; margin-bottom: 20px; letter-spacing: 0.1em; color: var(--white); }
}
@media (max-width: 768px) {
    .container { padding: 60px 0; }
    .hero h1 { font-size: 24px; }
    .hero p { font-size: 15px; }
    .btn { padding: 15px 30px; font-size: 14px; width: 100%; box-sizing: border-box; text-align: center; }
    .troubles-list { padding: 30px 20px; }
    .service-card { padding: 30px 20px; border-top: none; border-left: 4px solid var(--primary-color); }
    .strength-grid { grid-template-columns: 1fr; }
    .flow-step { flex-direction: column; padding: 30px 20px; }
    .step-number { margin-bottom: 15px; }
    .footer-logo { width: 25%; margin:auto ; font-size: 20px; font-weight: bold; margin-bottom: 20px; letter-spacing: 0.1em; color: var(--white); }
}

/* --- セキュリティ対策によるCSS追記 (インラインスタイルの代替) --- */

/* ヒーローセクション内のコンテンツの重なり順調整 */
.hero-content {
    position: relative;
    z-index: 10;
}

/* サービス内容の画像スタイル */
.content-img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* 強みセクションの画像スタイル (シャドウ付き) */
.content-img-shadow {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* フッターの住所表記の斜体解除 */
.footer-info {
    font-style: normal;
}