@charset "UTF-8";
/* CSS Document */

/* リセット・共通設定 */
*, *::before, *::after {
    box-sizing: border-box; /* 全ての要素にbox-sizingを適用 */
}
/* 基本設定 */
body {
      font-family: 'Noto Sans JP', sans-serif !important;
    line-height: 1.8 !important;
    color: #333 !important;
    margin: 0 !important;    
    -webkit-font-smoothing: antialiased !important;
    background-color: #fcfcfc !important;
}

/* 全てのフォントサイズをリセット (common.cssとの干渉回避) */
body * {
    font-size: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

.txt14{
    font-size: 14px;
}

.pt30 {
    padding-top: 30px;
}
/* --- 改行の制御用クラス --- */
.pc {
    display: none; /* デフォルトでは非表示（スマホなどで改行しない） */
}
.sp {
    display: none; /* デフォルトでは非表示（PCなどで改行しない） */
}

/* PC表示時 (769px以上) */
@media (min-width: 769px) {
    .pc {
        display: block; /* PCでは改行として表示 */
    }
}

/* スマホ表示時 (768px以下) */
@media (max-width: 768px) {
    .sp {
        display: block; /* スマホでは改行として表示 */
    }
}

.jtj-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 25px;
    /* margin: 0 auto; は後続の特殊設定に任せるか、このまま維持 */
}


.jtj-section-padding {
    padding: 100px 0;
}


/*セクションのタイトルと罫線*/
.jtj-section-title {
    font-size: 2.85rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    color: #004381;
}

.jtj-section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background-color: #ff6600;
    margin: 20px auto 0;
    border-radius: 3px;
}
/*セクションタイトル*/

/*背景色をつける*/
.jtj-bg--blue {
    background-color: #004381;
    color: #fff;
}
.jtj-bg--light {
    background-color: #f0f5f9;
}

/* 各ボタン */
.jtj-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 35px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.jtj-btn--primary {
    background-color: #ff6600;
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.4);
}
.jtj-btn--primary:hover {
    background-color: #e65c00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.5);
}

.jtj-btn--secondary {
    background-color: #fff;
    color: #004381 !important;
    border: 2px solid #004381;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.jtj-btn--secondary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
/*チャンネル登録ボタン*/
.jtj-btn--youtube {
    background-color:#ff6600; /* YouTubeカラー */
    color: #fff !important;
    width: 450px;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: 700;
    display: inline-flex; /* inline-blockから変更し、アイコンとテキストの配置を調整しやすく */
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 50px;
}
.jtj-btn--youtube::before {
    content: "\f167"; /* Font Awesome YouTube icon */
    font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", "Font Awesome 6 Free", "Font Awesome 5 Free"; /* Font Awesomeのフォントファミリー。確実性を上げるため複数のフォントファミリーを記載 */
    font-weight: 400; /* Regular weight for brand icons */
    font-size: 1.2em; /* アイコンのサイズを調整 */
}
.jtj-btn--youtube:hover {
    background-color: #ff0000;
}
/*ここまでチャンネル登録ボタン*/

.jtj-fv .jtj-container {
    /*margin-top: -150px; /* 画像の高さに合わせて調整してください */
    position: relative; /* 重ね合わせの基準 */
    z-index: 10;       /* 他の要素より手前に表示 (前回の提案から) */
}

/* ファーストビュー YouTubeチャンネルふうに */
.jtj-fv {
    background-image: url("../img/ch-header-3.png"); 
    background-size: cover; /* contain から cover に変更 */
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 250px;
    position: relative;
    padding: 0; /* 不要なpaddingを削除 */
    margin-bottom: 50px
}

/* ファーストビュー 下白いカード YouTubeチャンネルふうに */
.jtj-fv__channel-info-box {
    /*background-color: #fff;*/
    background-color: #E3E3E3;
    color: #333;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    position: relative;
    max-width: 1200px;
    width: 100%;
    margin: -150px auto 50px;
    z-index: 1;
}
.jtj-fv__channel-header {
    display: flex; /* 横並びにする */
    align-items: center; /* 垂直方向の中央揃え */
    justify-content: center; /* 水平方向の中央揃え */
    text-align: left; /* 内部テキストは左寄せに戻す */
    margin-bottom: 20px;
}

.jtj-fv__channel-logo {
    margin-right: 0; /* タイトルとの間に隙間を作る */
    margin-bottom: 10px;
}
.jtj-fv__channel-logo img {
    width: 100px; /* ロゴのサイズ調整 */
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
}

.jtj-fv__channel-text {
    flex-grow: 1; /* 残りのスペースを占有 */
    text-align: left; /* テキストを左寄せ */
}

.jtj-fv__channel-name {
    font-size: 4.2rem;
    font-weight: 700;
    color: #555;
    margin: 0 15px 0;
    text-align: left;
}
.jtj-fv__channel-stats {
    font-size: 2.6rem;
    font-weight: 600;
    color: #555;
    margin-top: 5px;
    margin: 0 15px 0;
    text-align: left;
}
.jtj-fv__channel-desc,
.jtj-fv__channel-link {
    text-align: center; /* ロゴと横並びにした下の要素は中央揃えに戻す */
    margin: 0 0 0 30px;
    font-size: 1.8rem;
}
.jtj-fv__channel-link span {
    color: #00529B;
}
.jtj-fv__channel-buttons{
     text-align: center; /* チャンネル登録ボタン中央配置 */
    margin: 15px auto 0;
}


/*チラシ風　ポップ*/
.jtj-fv__achievement-ribbon {
    position: absolute;
    top: -30px; /* チラシに合わせて調整 */
    right:-10px;
    background-color: #ffdb58; /* 黄色 */
    color: #004381; /* 青 */
    padding: 10px 40px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 700;
    transform: rotate(5deg); /* チラシのリボンの角度 */
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    line-height: 1.3;
}
@media (max-width: 768px) {
    .jtj-fv__achievement-ribbon {
        top: -30px;
        right: 15px;
        font-size: 0.9em;
        padding: 8px 15px;
    }
}
/*ここまでチラシ風　ポップ*/

/*リードテキスト 成功チャンネル*/
.jtj-results__lead {
    font-size: 1.5em;
    font-weight: 600;
    text-align: center;
    margin: 50px auto 50px;
    color: #555;
}

/*You Tubeチャンネル風サムネ配置*/
.jtj-results__video-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 2frから1frに変更し、均等幅に調整 */
    gap: 30px;
    margin-top: 0;
}

.jtj-video-item {
    position: relative;
    border-radius: 8px; /* 角丸を親要素に適用 */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 10px;
}

/* リボン（黄色の帯）のスタイル */
.jtj-ribbon {
    position: absolute;
    top:-30px; /* 上からの位置 */
    left:-30px; /* 左からの位置 */
    background-color: #ffdb58; /* 黄色の背景色 */
    color: #333; /* テキスト色 */
    padding: 8px 15px;
    font-size: 1.2em;
    font-weight: 700;
    line-height: 1.3;
    border-radius: 3px;
    /* わずかに回転させてリボン感を出す */
    transform: rotate(-5deg); /* 斜めに回転 */
    transform-origin: top left;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 10; /* 画像より手前に表示 */
}
.jtj-ribbon span {
    display: block; /* テキストの改行を有効にする */
    white-space: nowrap; /* テキストが途中で改行されないように */
}
.jtj-video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* 青いカード　キャッチコピー */
.jtj-cta-message {
    padding: 0 10px; 
    z-index: 2; /* 他の要素より手前に表示 */
    position: relative;
    margin: 100px auto 80px; /* 中央寄せ */
}
.jtj-cta-area {
    background-color: #0d3257; /* 濃い青色 (メインカラーより少し濃くする) */
    color: #ffffff; /* 文字色を白に */
    padding: 50px 30px; /* 上下のパディングを確保 */
    border-radius: 10px; /* 角を丸く */
    text-align: center; /* テキストを中央寄せ */
    max-width: 1200px; /* 幅を制限 (PC表示の場合) */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* 影をつけて立体感を出す */
}

@media (max-width: 768px) {
    .jtj-cta-area{
        padding: 30px 30px;
    }
}

.jtj-cta-area__heading {
    font-size: 3.6rem; 
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}
.jtj-cta-area__heading strong {
    /* 『選ばれる工務店』の部分をオレンジ色に */
    color: #ff5722; /* オレンジ色 */
    font-size: 4rem; /* 大きく強調 */
    display: inline-block;
    padding: 0 5px;
}

.jtj-cta-area__sub {
   /* 「人気YouTubeチャンネルで集客しませんか?」 */
    font-size: 2.6rem; /* 大きく強調 */
    font-weight: 700;
    line-height: 1.4;
    margin-top: 0;
}

/*青いカード　ルームツアー動画制作サービス概要*/
/* --- サービス紹介セクション固有のスタイル --- */
.jtj-bg--dark-blue {
    background-color: #0d3257; /* 既存の.jtj-cta-areaと同じ濃い青色を使用 */
    color: #ffffff;
}

.jtj-service-intro {
    text-align: center;
}
.jtj-service-intro .jtj-fv__cta-heading {
    /* 既存の .jtj-fv__cta-heading は黄色 (#ffdb58) ですが、サービス名は白に戻します */
    color: #ffffff;
    font-size: 4.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}
.jtj-service-intro .jtj-fv__cta-sub {
    /* 既存の .jtj-fv__cta-sub (2.8em) を利用し、白背景に合うように調整 */
    color: #ffdb58; /* 黄色のアクセントカラーを使用 */
    font-size: 4rem; /* PCサイズでは大きく強調 */
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 5px;
}
.jtj-service-intro .jtj-fv__cta-sub span {
    /* 「(税別)」のスタイル */
    color: #ffffff;
    font-size: 0.6em; 
    vertical-align: super;
    font-weight: 400;
    margin-left: 5px;
}
/* 注意書き: ※現地までの交通費が別途かかります。 (p.jtj-fv__cta-note) */
.jtj-service-intro .jtj-fv__cta-note {
    font-size: 2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}
/* サービス内容のリスト (jtj-fv__cta-benefits) */
.jtj-service-intro .jtj-fv__cta-benefits {
    list-style: none;
    padding: 0;
    margin: 30px auto 40px;
    max-width: 550px; /* 既存のリスト制限幅に合わせて調整 */
    text-align: left;
}
.jtj-service-intro .jtj-fv__cta-benefits li {
    font-size: 1.4em;
    line-height: 1.8;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}
/* チェックマークのスタイル */
.jtj-service-intro .jtj-fv__cta-benefits .fas {
    color: #ffdb58; /* 既存のチェックマークの色に統一 */
    font-size: 1.2em;
    flex-shrink: 0; /* チェックマークが縮まないように */
}

/* CTAボタンエリア (jtj-fv__cta-buttons) */
.jtj-service-intro .jtj-fv__cta-buttons {
    margin-top: 40px;
}

   
.jtj-service-intro .jtj-fv__cta-buttons .jtj-btn {
    flex-basis: auto;
    width: auto;
    min-width: 250px;
}

.jtj-service-intro .jtj-btn--secondary {
    background-color: #ffffff;
    color: #004381 !important; /* 青の文字 */
    border: 2px solid #ffffff; /* 白の枠線 */
}
.jtj-service-intro .jtj-btn--secondary:hover {
    background-color: #f0f0f0;
}
/*CTAエリア*/
.jtj-fv__cta-buttons {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 25px;
}
/*ここまでサービス概要　service-intro */


/* 問題提起セクション */
.jtj-problem__list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 980px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}
.jtj-problem__list li {
    background-color: #fff;
    padding: 25px 30px;
    border-radius: 10px;
    font-size: 2.2rem;
    font-weight: 500;
    color: #555;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: relative;
    padding-left: 60px;
}

.jtj-problem__list li::before {
    content: '✖';
    font-size: 1.8em;
    color: #ff6600;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
}

/* 解決策セクション */
.jtj-solution {
    background-color: #004381;
    color: #fff;
    padding: 100px 0;
}

.jtj-solution .jtj-section-title {
    color: #fff;
}

.jtj-solution .jtj-section-title::after {
    background-color: #ff6600;
}

.jtj-solution__points {
    display: grid;
    /* PCでは2列表示だが、769px以下の場合は1列になるようminmaxの最小値を調整 */
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* minmaxを350pxに調整 */
    gap: 40px;
    margin-top: 60px;
}

.jtj-solution__point {
    background-color: #fff;
    color: #333;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.jtj-solution__point:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.jtj-solution__point-icon {
    width: 60px;
    height: 60px;
    background-color: #ff6600;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5em;
    margin: 0 auto 20px;
}

.jtj-solution__point-title {
    font-size: 2.0rem;
    font-weight: 700;
    color: #004381;
    margin-bottom: 20px;
    line-height: 1.4;
}

.jtj-solution__point p {
    font-size: 1.2em;
    line-height: 1.7;
    color: #555;
    text-align: left;
}

/* サービス内容・料金プラン */
.jtj-service__content {
    max-width: 900px;
    margin: 0 auto;
}

.jtj-service__content h4 {
    font-size: 1.8em;
    color: #004381;
    margin-top: 50px;
    margin-bottom: 30px;
    text-align: center;
}

.jtj-service__flow {
    list-style: none;
    padding: 0;
    /* grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); */
    /* 3列表示を維持しつつ、スマホで1列になるように調整 */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 30px;
    counter-reset: flow-step;
}

.jtj-service__flow li {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    position: relative;
    text-align: left;
    padding-top: 60px;
    font-size: 1.2em;
    font-weight: 500;
    color: #444;
    counter-increment: flow-step; /* ← ここに記述を追加 */
}

.jtj-service__flow li::before {
    content: "STEP " counter(flow-step);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 1.2em;
    font-weight: 700;
    color: #ff6600;
    background-color: #ffe6d9;
    padding: 10px 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.jtj-service__flow li strong {
    font-size: 1.15em;
    display: block;
    margin-bottom: 5px;
}

.jtj-price {
    background-color: #004381;
    color: #fff;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin-top: 60px;
    box-shadow: 0 8px 25px rgba(0,67,129,0.3);
}

.jtj-price h4 {
    color: #fff;
    font-size: 2.6rem;
    margin-bottom: 20px;
}
.jtj-price p {
    color: #fff;
    font-size: 2rem;
}

.jtj-price h4 span {
    display: block;
    font-size: 3.5em;
    font-weight: 700;
    color: #ffdb58;
}

.jtj-price__list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: inline-block;
    text-align: left;
}

.jtj-price__list li {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 10px;
    /*position: relative;
    padding-left: 25px;*/
    display: flex;
    align-items: center;
    gap: 10px;

}

/*.jtj-price__list li::before {
    content: '✔';
    color: #ffdb58;
    position: absolute;
    left: 0;
    font-weight: 700;
    z-index: 2;
}*/
.jtj-price__list li .fas{
    color: #ffdb58; /* 黄色のチェックマーク */
    font-size: 1.2em;
}

/* お客様の声 */
.jtj-testimonials__list {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
    /* 3列表示を維持しつつ、スマホで1列になるように調整 */
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 30px;
}

.jtj-testimonials__item {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.jtj-testimonials__item:hover {
    transform: translateY(-5px);
}

.jtj-testimonials__header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.jtj-client-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid #ff6600;
}

.jtj-client-info {
    font-size: 1.1em;
    font-weight: 600;
    color: #004381;
}

.jtj-testimonial__comment {
    font-size: 1.1em;
    line-height: 1.7;
    color: #444;
    font-style: italic;
    position: relative;
    padding: 15px 10px; /* 引用符のためのパディングを調整 */
}

.jtj-testimonial__comment::before,
.jtj-testimonial__comment::after {
    font-family: 'Times New Roman', serif;
    font-size: 3em;
    color: #ff6600;
    position: absolute;
    line-height: 1;
}

.jtj-testimonial__comment::before {
    content: '“';
    top: -10px;
    left: -10px;
}
.jtj-testimonial__comment::after {
    content: '”';
    bottom: -10px;
    right: -10px;
}


/* FAQ */
.jtj-faq__item {
    background-color: #fff;
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.jtj-faq__q {
    font-size: 1.2em;
    font-weight: 600;
    color: #004381;
    margin-bottom: 10px;
    position: relative;
    padding-left: 35px;
}

.jtj-faq__q::before {
    content: 'Q.';
    font-size: 1.4em;
    color: #ff6600;
    font-weight: 700;
    position: absolute;
    left: 0;
}

.jtj-faq__a {
    font-size: 1.2em;
    line-height: 1.7;
    color: #555;
    padding-left: 35px;
}

/* 問い合わせセクション */
.jtj-contact {
    text-align: center;
    padding: 80px 0;
}

.jtj-contact .jtj-section-title {
    color: #fff;
    margin-bottom: 40px;
}

.jtj-contact .jtj-section-title::after {
    background-color: #fff;
}


.jtj-contact__title {
    font-size: 2.5em;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.2);
}

.jtj-contact__text {
    font-size: 1.3em;
    color: #fff;
    margin-bottom: 40px;
}

.jtj-contact .jtj-fv__cta-buttons {
    margin-top: 0;
}

.jtj-contact .jtj-btn--secondary {
    color: #004381;
    border-color: #fff;
}

.jtj-contact .jtj-btn--secondary:hover {
    background-color: #f0f0f0;
}



/* PC用スクロール追従フローティングボタン群をグループ化 */
.jtj-pc-floating-group {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
}

/* スクロールで表示するためのクラス */
.jtj-pc-floating-group.is-visible {
    position: fixed;
    right: 30px;
    bottom: 30px;
    xindex: 9999;
    opacity: 1;
    visibility: visible;
}

/* グループ内のボタン位置をリセット */
.jtj-floating-cta {
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    border-radius: 8px;
    padding: 18px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center; /* ← ここを追加：中央揃え */
}
.jtj-floating-cta .fas {
    font-size: 1.1em;
}

/* ページトップに戻るボタンのスタイルを削除（jtj-btnを適用するため） */
.jtj-back-to-top {
    /* jtj-btnを適用するため、専用スタイルを削除しjtj-btnクラスのみにする */
    /* jtj-btn、jtj-btn--primary、jtj-floating-cta クラスがHTML側で適用されている前提 */
}


/* スマートフォン用フッター固定ナビゲーション デフォルト非表示*/
.jtj-sp-footer-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 1000;
    justify-content: space-between;
}





/* レスポンシブ対応 共通 */
@media (max-width: 768px) {
     body {
        padding-bottom: 50px;
    }
    .jtj-container {
    margin: 0 10px 0;
    padding: 0;
    }
    .jtj-btn--youtube {
        font-size: 1em;
        width: 100%; /* ボタン幅を100%に */
        height: auto; /* 高さを自動調整 */
        padding: 15px 20px;
    }
  
    .jtj-section-padding {
        padding: 60px 0;
    }

    .jtj-section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .jtj-btn {
        width: 100%;
        padding: 15px 20px;
        font-size: 1em;
    }
}

/* レスポンシブ対応 (ファーストビューのみ) */
@media (max-width: 768px) {
     .jtj-fv {
        min-height: 250px; 
        padding: 0;
        background-size: cover;
        margin-bottom: 0; 
    }
    .jtj-fv__channel-info-box {
        margin: -50px auto 30px; /* 下のマージンも減らす */
        padding: 20px;
    }
    .jtj-fv__channel-header {
        text-align: left;
    }
    .jtj-fv__channel-logo {
        margin-top: -30px;
        margin-bottom: 10px; /* ロゴの下に隙間 */
        margin-left: 0;
    }
    
    .jtj-fv__channel-logo img {
        width: 60px;
        height: 60px;
         margin-bottom: 5px;
    }
    .jtj-fv__channel-text {
        text-align: left; /* 中央寄せに戻す */
    }
    .jtj-fv__channel-name {
        font-size: 1.8rem;
        text-align: left;
    }
    .jtj-fv__channel-name span {
        font-size: 1.2rem;
        text-align: left;
    }
    
    .jtj-fv__channel-stats {
        font-size: 0.9em;
        text-align: left;
        margin: 0;
    }
    .jtj-fv__channel-desc,
    .jtj-fv__channel-link {
    text-align: left; /* ロゴと横並びにした下の要素は中央揃えに戻す */
    margin: 0;
    font-size: 1.4rem
}
    .jtj-fv__achievement-text, .jtj-btn--youtube {
        font-size: 1em;
        width: 100%; /* ボタン幅を100%に */
        height: auto; /* 高さを自動調整 */
        padding: 15px 20px;
    }
@media (max-width: 768px) {
    .jtj-fv__achievement-text, .jtj-btn--youtube {
        padding: 10px 20px;
    }
 }    
    
    .jtj-fv__cta-area {
        padding: 25px 15px;
    }
    
    .jtj-cta-area__heading {
    font-size: 2rem; 
}
.jtj-cta-area__heading strong {
    /* 『選ばれる工務店』の部分をオレンジ色に */
    font-size: 2.1rem; /* 大きく強調 */
    padding: 0;
}
    .jtj-cta-area__sub{
    font-size: 2rem; 
}
    .jtj-fv__cta-sub {
        font-size: 2em;
    }
    
    .jtj-service-intro .jtj-fv__cta-benefits li {
    font-size: 1.1em;
    line-height: 1.8;
    padding:0 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
    .jtj-fv__cta-buttons {
        flex-direction: column; /* スマホでは縦に並べる */
        gap: 10px;
    }
     .jtj-service-intro .jtj-fv__cta-note {
    font-size: 0.9em;
    }
}

/* --- 青いカード（ サービス概要）-- */
@media (max-width: 768px) {
    .jtj-service-intro .jtj-fv__cta-heading {
        font-size: 2.2rem;
    }

    .jtj-service-intro .jtj-fv__cta-sub {
        font-size: 2.5rem;
    }
    
    .jtj-service-intro .jtj-fv__cta-sub span {
        font-size: 0.6em;
    }

    .jtj-service-intro .jtj-fv__cta-buttons {
        flex-direction: column; /* スマホでは縦に並べる */
        gap: 10px;
    }
    .jtj-service-intro .jtj-fv__cta-buttons .jtj-btn {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
   /* You Tubeチャンネル風にサムネ配置 */ 
    .jtj-results__lead {
    font-size: 1.1em;
    font-weight: 600;
    text-align: center;
    margin: 50px auto 50px;
    color: #555;
}
    .jtj-results__video-thumbnails {
        /*grid-template-columns: repeat(2, 1fr); /* スマホでは2列表示 */
        grid-template-columns:  1fr;/* スマホでは1列表示 */
        gap: 20px;/* 縦の余白を調整 */
    }
       
    .jtj-video-item--special {
        /* grid-column: auto;
        grid-row: auto; を削除し、1列表示に合わせる */
        grid-column: 1 / -1; /* 1行全体を占める */
        grid-row: auto;
    }

    .jtj-ribbon {
        font-size: 0.75em;
        padding: 6px 10px;
        top: -30px;
        left: -12px;
    }
}

@media (max-width: 768px) {
    /* 悩み　*/
    .jtj-problem__list li {
        font-size: 1em;
    }
    
    /*　ソリューション */
    .jtj-solution__points {
        grid-template-columns: 1fr;
    }
    .jtj-solution__point-title {
        font-size: 1.6rem;
    }
    .jtj-solution__point p {
        text-align: left;
    }
    
/* お客様の声 */
    .jtj-testimonials__list {
        grid-template-columns: 1fr;
    }

/* サービス　- プライス */    
    .jtj-price h4 {
        font-size: 1.8em;
    }
    .jtj-price h4 span {
        font-size: 2em;
    }
    .jtj-price__list li {
        font-size: 1em;
    }    
    /* FAQ */
    .jtj-faq__item {
    background-color: #fff;
    padding: 25px 20px; /* 左右のパディングを適度に調整 */
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    .jtj-faq__q {
    font-size: 1em;
    }
    
     /* フッター上　- CTAエリア */       
    .jtj-contact__title {
        font-size: 1.6em;
    }
    .jtj-contact__text {
        font-size: 1.1em;
    }
}

 @media (max-width: 768px) {
   /* フッター */
.jtj-footer {
    background-color: #004381;
    color: #fff;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
    margin-top: 0 !important;    
}
     
 /* スマートフォン用フッター固定ナビゲーション */
.jtj-sp-footer-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 1000;
    justify-content: space-between;
}

.jtj-sp-footer-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    color: #fff!important;
    text-decoration: none;
    padding: 5px 0;
    font-size: 0.7em;
    transition: background-color 0.3s;
    background-color: #002C55; /* メインの背景色に設定 */
      border-right: 1px solid rgba(255, 255, 255, 0.2); /* ← ここを追加 */
}


.jtj-sp-footer-nav__item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.jtj-sp-footer-nav__item .icon {
    font-size: 1.5em;
    margin-bottom: 3px;
}

.jtj-sp-footer-nav__item--back-to-top {
    background-color: #002C55;
}

.jtj-sp-footer-nav__item--back-to-top:hover {
    background-color: #002C55;
}
         
     


/* jtj-back-to-topにjtj-btn--primaryを適用することを想定し、hoverを調整 */
.jtj-back-to-top:hover {
    background-color: #e65c00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.5);
}
     /* スマホではPC版のボタン群を非表示にし、スマホ用ナビゲーションを表示 */
    .jtj-pc-floating-group {
        display: none;
    }
    .jtj-sp-footer-nav {
        display: flex;
        height: 50px;
    }
}

